/* Tokene Visual Experience V1 — scoped to the homepage showcase.
   Preserve the all-black user theme and the existing market semantics. */
.tk5-dashboard.tkv1{
  --tkv1-ink:#f6f9ff;--tkv1-muted:#b1c0d1;--tkv1-accent:#83c9ff;
  --tkv1-edge:#243647;--tkv1-surface:#0c1016;
}
.tkv1.tk5-dashboard .tk5-shell{width:min(calc(100% - 40px),1404px);padding-top:29px}
.tkv1 .tk5-hero-grid{column-gap:22px}
.tkv1 .tk5-hero-copy{padding-inline:7px}
.tkv1 .tk5-hero-copy h1{font-weight:860;letter-spacing:-.047em;line-height:1.075;max-width:12.5em}
.tkv1 .tk5-hero-intro{font-size:clamp(14px,1.13vw,16px);line-height:1.7;color:#c1ccda;max-width:53ch}
.tkv1 .tk5-hero-actions{margin-bottom:17px}
.tkv1 .tk5-hero-copy .tk5-trust{font-size:11px;line-height:1.5;gap:11px;color:#b6c5d5}
.tkv1 .tk5-kicker{font-weight:750;letter-spacing:.045em}
.tkv1 .tk5-kicker .tk5-status-dot{flex:0 0 8px}

/* Three-step market journey: discovery > risk context > paper simulation. */
.tkv1-journey{margin-top:20px;padding-top:13px;border-top:1px solid rgba(121,159,195,.19)}
.tkv1-journey-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 9px;color:#a6b9ce;font-size:10px;line-height:1.5;font-weight:760;letter-spacing:.095em;text-transform:uppercase}
.tkv1-journey-heading::after{content:"";flex:1;height:1px;max-width:48px;background:linear-gradient(90deg,rgba(86,176,245,.58),transparent)}
.tkv1-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;list-style:none!important;margin:0!important;padding:0!important}
.tkv1-steps li{min-width:0;margin:0!important;padding:0!important}
.tkv1-steps a{position:relative;display:flex;gap:8px;align-items:flex-start;width:100%;min-width:0;min-height:79px;padding:12px 9px 13px;border:1px solid #2a394c;border-radius:13px;background:linear-gradient(155deg,#111820,#080b10);color:#f3f7fc!important;text-decoration:none!important;overflow:hidden;box-shadow:inset 0 1px 0 rgba(235,246,255,.035);transition:border-color .18s ease,background-color .18s ease,transform .18s ease}
.tkv1-steps a::after{content:"";position:absolute;inset:auto 10px 0;height:2px;background:linear-gradient(90deg,#268ae7,#78d5fa);transform:scaleX(0);transform-origin:left center;transition:transform .22s ease}
.tkv1-steps a:hover,.tkv1-steps a:focus-visible{border-color:#6bb3f6;transform:translateY(-2px);background:#121f2b}
.tkv1-steps a:hover::after,.tkv1-steps a:focus-visible::after{transform:scaleX(1)}
.tkv1-steps a:focus-visible{outline:2px solid #8ecbff!important;outline-offset:3px}
.tkv1-step-number{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:7px;background:rgba(64,153,237,.12);border:1px solid rgba(100,181,246,.36);color:#92d5ff;font-size:10px;font-weight:830;font-variant-numeric:tabular-nums}
.tkv1-step-text{display:block;min-width:0}
.tkv1-step-text strong{display:block;font-size:12px;font-weight:800;line-height:1.35;letter-spacing:-.01em;color:#f0f7ff}
.tkv1-step-text small{display:block;margin-top:3px;color:#adbed0;font-size:11px;line-height:1.35;white-space:normal}
.tkv1 .tk5-service-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:12px}
.tkv1 .tk5-service{min-height:112px;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.tkv1 .tk5-service strong{font-size:17px}
.tkv1 .tk5-service small{font-size:12px}
.tkv1 .tk5-panel-head h2{font-weight:800;letter-spacing:-.02em}
.tkv1 .tk5-big-cap{letter-spacing:-.045em}
.tkv1 .tk5-global-panel{border-radius:18px}
.tkv1 .tk5-token-card{border-radius:14px}
.tkv1 .tk5-panel{border-radius:15px}
.tkv1 .tk5-market-footer{line-height:1.6}

/* Crisp premium surfaces only in the established black theme. */
body.tk-flat-preview.tk-black .tk5-dashboard.tkv1 .tk5-global-panel,
body.tk-flat-preview.tk-black .tk5-dashboard.tkv1 .tk5-panel,
body.tk-flat-preview.tk-black .tk5-dashboard.tkv1 .tk5-token-card,
body.tk-flat-preview.tk-black .tk5-dashboard.tkv1 .tk5-service{
  background:#0b0e12!important;border-color:#28313b!important;
  box-shadow:inset 0 1px 0 rgba(180,210,238,.055)!important;
}
body.tk-flat-preview.tk-black .tk5-dashboard.tkv1 .tk5-service:hover,
body.tk-flat-preview.tk-black .tk5-dashboard.tkv1 .tk5-service:focus-visible{
  border-color:#5f9fe0!important;box-shadow:inset 0 1px 0 rgba(199,233,255,.11),0 9px 28px rgba(27,99,174,.14)!important;
}
body.tk-flat-preview.tk-black .tk5-dashboard.tkv1 .tk5-kicker{
  border-color:#34465a!important;background:#101720!important;
}
body.tk-flat-preview.tk-black .tk5-dashboard.tkv1 .tk5-global-panel{
  border-top-color:#3a5975!important;
}
body.tk-flat-preview.tk-black .tk5-dashboard.tkv1 .tk5-btn--primary{
  background:#2878d9!important;border-color:#478fe6!important;
}
@media(max-width:1240px){
  .tkv1 .tk5-hero-grid{column-gap:16px;row-gap:13px}
}
@media(max-width:760px){
  .tkv1.tk5-dashboard .tk5-shell{width:min(calc(100% - 28px),600px);padding-top:26px}
  .tkv1 .tk5-hero-grid{row-gap:11px}
  .tkv1 .tk5-hero-copy{padding:2px 0 8px}
  .tkv1 .tk5-hero-copy h1{font-size:clamp(32px,8.4vw,43px);line-height:1.12;letter-spacing:-.036em}
  .tkv1 .tk5-hero-intro{font-size:14px;line-height:1.65}
  .tkv1 .tk5-service-grid{grid-template-columns:minmax(0,1fr)}
  .tkv1 .tk5-service{min-height:90px}
}
@media(max-width:360px){
  .tkv1.tk5-dashboard .tk5-shell{width:calc(100% - 20px)}
  .tkv1-steps{grid-template-columns:minmax(0,1fr);gap:7px}
  .tkv1-steps a{padding:8px 11px;gap:10px;min-height:52px;align-items:center}
  .tkv1-step-number{flex-basis:23px;width:23px;height:23px;font-size:10px}
  .tkv1-step-text strong{font-size:12px}
  .tkv1-step-text small{display:block;font-size:11px;line-height:1.3;margin-top:1px}
}
@media(hover:none),(pointer:coarse){
  .tkv1-steps a:hover{transform:none}
  .tkv1 .tk5-service:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){
  .tkv1 *, .tkv1 *::before,.tkv1 *::after{transition:none!important;animation:none!important}
  .tkv1-steps a:hover{transform:none}
}

/* RTL desktop regression: the legacy full-bleed market table was translated
   left as if the document were LTR. Keep the table centered in either direction. */
@media (min-width:768px){
  html[dir="rtl"] body #coin-table-anchor.mkt-table-wrap{
    width:min(calc(100vw - 36px),1404px)!important;
    margin:0!important;
    transform:none!important;
    position:relative!important;
    inset-inline-start:calc((100% - min(calc(100vw - 36px),1404px))/2)!important;
    inset-inline-end:auto!important;
  }
}

/* V1 RTL mobile correction: legacy full-bleed table translated left in RTL
   and expanded the mobile layout viewport, clipping the whole page. */
@media (max-width:767px){
  html[dir="rtl"] body #coin-table-anchor.mkt-table-wrap{
    width:min(calc(100vw - 20px),100%)!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    left:auto!important;
    right:auto!important;
    position:relative!important;
    transform:none!important;
    inset-inline-start:auto!important;
    inset-inline-end:auto!important;
  }
}
