/* poop — استایل بازی، محدودشده به #tk-stage
   تولید خودکار توسط tools/build-kit.mjs — دستی ویرایش نکنید. */
#tk-stage{font-family:var(--hb-font)}




#tk-stage{
  --bg: #0a0b12;
  --bg-2: #0e1019;
  --surface: #14172440;
  --card: #161a29;
  --card-2: #1c2033;
  --stroke: #272c42;
  --stroke-2: #343a55;

  --text: #eef0f8;
  --muted: #a4abc4;
  --faint: #737a94;

  --violet: #7c5cff;
  --violet-2: #9d86ff;
  --lime: #c6ff3d;
  --fire: #ff5a2d;
  --safe: #2ee6a8;
  --gold: #ffc53d;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow: 0 12px 40px -18px rgba(0, 0, 0, .9);
  --glow-violet: 0 0 0 1px rgba(124, 92, 255, .35), 0 10px 40px -12px rgba(124, 92, 255, .55);
  --glow-lime: 0 0 0 1px rgba(198, 255, 61, .3), 0 8px 30px -10px rgba(198, 255, 61, .35);

  --wrap: 1160px;
  --gap: clamp(16px, 3vw, 28px);
}


#tk-stage,#tk-stage *, #tk-stage *::before, #tk-stage *::after{ box-sizing: border-box; }

#tk-stage{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){

  #tk-stage{ scroll-behavior: auto; }

  #tk-stage,#tk-stage *, #tk-stage *::before, #tk-stage *::after{ animation-duration: .001ms !important; transition-duration: .001ms !important; }


}


#tk-stage{
  margin: 0;
  background:
    radial-gradient(1100px 620px at 82% -6%, rgba(124, 92, 255, .20), transparent 62%),
    radial-gradient(760px 480px at 8% 2%, rgba(198, 255, 61, .08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--hb-font), system-ui, 'Segoe UI', Tahoma, sans-serif;
  font-size: 16.5px;
  line-height: 1.95;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#tk-stage body.nav-open, #tk-stage body.pg-noscroll{ overflow: hidden; }


#tk-stage img, #tk-stage svg, #tk-stage video{ max-width: 100%; height: auto; }

#tk-stage a{ color: var(--violet-2); text-decoration: none; }

#tk-stage a:hover{ text-decoration: underline; text-underline-offset: 4px; }

#tk-stage :focus-visible{ outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }


#tk-stage h1, #tk-stage h2, #tk-stage h3, #tk-stage h4{ line-height: 1.45; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }

#tk-stage h1{ font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3rem); }

#tk-stage h2{ font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2rem); }

#tk-stage h3{ font-size: clamp(1.1rem, .98rem + .6vw, 1.35rem); }

#tk-stage p{ margin: 0 0 1.1em; }

#tk-stage ul, #tk-stage ol{ padding-inline-start: 1.35em; margin: 0 0 1.2em; }

#tk-stage li{ margin-bottom: .5em; }

#tk-stage small{ font-size: .82rem; }

#tk-stage b, #tk-stage strong{ font-weight: 700; color: #fff; }



#tk-stage .ltr-nums{ direction: ltr; unicode-bidi: isolate; font-feature-settings: 'tnum' 1; }

#tk-stage .muted{ color: var(--muted); }

#tk-stage .faint{ color: var(--faint); }

#tk-stage .visually-hidden{
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

#tk-stage .skip-link{
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: #0a0b12; padding: 10px 18px; border-radius: 0 0 12px 12px;
  font-weight: 700; transition: top .2s;
}

#tk-stage .skip-link:focus{ top: 0; }


#tk-stage .wrap{ width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

#tk-stage .section{ padding-block: clamp(38px, 6vw, 72px); }

#tk-stage .section--tight{ padding-block: clamp(26px, 4vw, 48px); }

#tk-stage .lede{ font-size: 1.08rem; color: var(--muted); max-width: 68ch; }



#tk-stage .site-header{
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 11, 18, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
}

#tk-stage .header-in{ display: flex; align-items: center; gap: 14px; min-height: 68px; }

#tk-stage .logo{ display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 1.05rem; }

#tk-stage .logo:hover{ text-decoration: none; }

#tk-stage .logo img{ width: 38px; height: 38px; border-radius: 11px; }

#tk-stage .logo span small{ display: block; font-size: .68rem; color: var(--faint); font-weight: 400; line-height: 1.2; }


#tk-stage .nav-toggle{
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--stroke-2); color: var(--text);
  border-radius: 999px; padding: 9px 15px; font: inherit; font-size: .88rem; cursor: pointer;
}

#tk-stage .nav-toggle b{ font-size: 1rem; line-height: 1; }

@media (min-width: 1000px){
 #tk-stage .nav-toggle{ display: none; }
 
}


#tk-stage #site-nav{ margin-inline-start: auto; }

@media (min-width: 1000px){

  
  #tk-stage #site-nav{ display: flex; align-items: center; gap: 6px; }


}

#tk-stage #site-nav ul{ display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

#tk-stage #site-nav a{
  display: block; padding: 8px 11px; border-radius: 999px; color: var(--muted);
  font-size: .88rem; font-weight: 500; white-space: nowrap;
}

#tk-stage #site-nav a:hover{ background: var(--card); color: var(--text); text-decoration: none; }

#tk-stage #site-nav a[aria-current='page']{ background: rgba(124, 92, 255, .18); color: #fff; }

#tk-stage .nav-cta{ margin-inline-start: 8px; flex: none; }


#tk-stage #site-nav .nav-cta .btn{ color: #fff; padding: 9px 18px; }

#tk-stage #site-nav .nav-cta .btn:hover{ text-decoration: none; }

#tk-stage #site-nav .nav-cta .btn--lime{ color: #0a0b12; }

@media (max-width: 999px){

  #tk-stage #site-nav{
    position: fixed; inset: 68px 0 0; background: var(--bg-2); padding: 20px;
    overflow-y: auto; display: none; border-top: 1px solid var(--stroke);
  }

  #tk-stage #site-nav.is-open{ display: block; }

  #tk-stage #site-nav ul{ flex-direction: column; gap: 2px; }

  #tk-stage #site-nav a{ padding: 13px 16px; border-radius: var(--r-sm); font-size: 1rem; }

  #tk-stage .nav-cta{ margin: 16px 0 0; display: block; }

  #tk-stage .nav-cta .btn{ width: 100%; justify-content: center; }


}



#tk-stage .btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--violet), #5b3cf0);
  color: #fff; font: inherit; font-weight: 700; font-size: .96rem;
  box-shadow: var(--glow-violet); transition: transform .16s ease, box-shadow .16s ease;
  text-align: center;
}

#tk-stage .btn:hover{ transform: translateY(-2px); text-decoration: none; box-shadow: 0 0 0 1px rgba(124,92,255,.5), 0 16px 46px -12px rgba(124,92,255,.7); }

#tk-stage .btn--lime{ background: linear-gradient(135deg, var(--lime), #9ee01f); color: #0a0b12; box-shadow: var(--glow-lime); }

#tk-stage .btn--ghost{ background: transparent; border: 1px solid var(--stroke-2); color: var(--text); box-shadow: none; }

#tk-stage .btn--ghost:hover{ background: var(--card); box-shadow: none; }

#tk-stage .btn--sm{ padding: 8px 15px; font-size: .85rem; }

#tk-stage .btn--lg{ padding: 16px 34px; font-size: 1.05rem; }

#tk-stage .btn--block{ display: flex; width: 100%; }

#tk-stage .btn[disabled]{ opacity: .45; cursor: not-allowed; transform: none; }



#tk-stage .card{
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow);
}

#tk-stage .grid{ display: grid; gap: var(--gap); }

#tk-stage .grid--2{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

#tk-stage .grid--3{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

#tk-stage .grid--4{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }


#tk-stage .eyebrow{
  display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700;
  color: var(--lime); background: rgba(198, 255, 61, .10); border: 1px solid rgba(198, 255, 61, .25);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 14px; letter-spacing: .02em;
}

#tk-stage .eyebrow--violet{ color: var(--violet-2); background: rgba(124,92,255,.12); border-color: rgba(124,92,255,.3); }



#tk-stage .hero{ padding-block: clamp(30px, 5vw, 56px) 0; }

#tk-stage .hero-grid{ display: grid; gap: clamp(22px, 4vw, 40px); align-items: start; }

@media (min-width: 1020px){
 #tk-stage .hero-grid{ grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
 
}

#tk-stage .hero h1{ margin-bottom: .5em; }

#tk-stage .hero h1 em{ font-style: normal; color: var(--lime); }

#tk-stage .hero-actions{ display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }

#tk-stage .hero-facts{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; list-style: none; padding: 0; }

#tk-stage .hero-facts li{
  background: var(--card); border: 1px solid var(--stroke); border-radius: 999px;
  padding: 7px 15px; font-size: .84rem; color: var(--muted); margin: 0;
}

#tk-stage .hero-facts b{ color: var(--lime); }



#tk-stage .game-shell{
  background: linear-gradient(180deg, rgba(28, 32, 51, .9), rgba(18, 20, 33, .96));
  border: 1px solid var(--stroke-2); border-radius: var(--r-xl);
  padding: clamp(14px, 2.6vw, 24px);
  box-shadow: 0 40px 90px -50px rgba(124, 92, 255, .85), var(--shadow);
  position: relative; overflow: hidden;
}

#tk-stage .game-shell::before{
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 220px at 50% -10%, rgba(124, 92, 255, .22), transparent 70%);
}

#tk-stage .game-shell-head{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin-bottom: 16px; position: relative;
}

#tk-stage .game-shell-head h2{ margin: 0; font-size: 1.15rem; }

#tk-stage .game-badge{
  font-size: .74rem; font-weight: 700; color: var(--safe);
  background: rgba(46, 230, 168, .1); border: 1px solid rgba(46, 230, 168, .3);
  border-radius: 999px; padding: 5px 12px;
}



#tk-stage .pg{ display: flex; flex-direction: column; gap: 16px; position: relative; }

#tk-stage .pg-stats{ display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }

#tk-stage .pg-stat{
  background: rgba(10, 11, 18, .6); border: 1px solid var(--stroke);
  border-radius: var(--r-sm); padding: 9px 11px; display: flex; flex-direction: column; gap: 2px;
}

#tk-stage .pg-stat-label{ font-size: .68rem; color: var(--faint); }

#tk-stage .pg-stat-value{ font-size: 1.02rem; font-weight: 700; color: var(--text); }

#tk-stage .pg-stat--mult .pg-stat-value{ color: var(--safe); }

#tk-stage .pg-stat--win .pg-stat-value{ color: var(--lime); }

#tk-stage .pg-stat--balance .pg-stat-value{ color: var(--gold); }


#tk-stage .pg-board{ display: flex; flex-direction: column; gap: 7px; }

#tk-stage .pg-row{ display: flex; align-items: center; gap: 10px; }

#tk-stage .pg-mult{
  min-width: 58px; text-align: center; font-size: .8rem; font-weight: 700;
  padding: 5px 7px; border-radius: 8px; color: var(--faint);
  background: rgba(10, 11, 18, .5); border: 1px solid var(--stroke); flex: none;
}

#tk-stage .pg-mult.is-active{ color: #0a0b12; background: var(--lime); border-color: transparent; }

#tk-stage .pg-mult.is-past{ color: var(--safe); border-color: rgba(46, 230, 168, .4); }

#tk-stage .pg-tiles{ display: flex; gap: 7px; flex: 1; justify-content: center; }

#tk-stage .pg-tile{
  width: var(--pg-tile, 56px); height: var(--pg-tile, 56px); flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--card-2); border: 1px solid var(--stroke-2); border-radius: 14px;
  color: var(--faint); font: inherit; font-size: 1.15rem; font-weight: 700; cursor: default;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  padding: 0;
}

#tk-stage .pg-tile[data-state='hidden']{ cursor: pointer; border-color: rgba(124, 92, 255, .35); color: var(--violet-2); background: rgba(124, 92, 255, .07); }

#tk-stage .pg-tile[data-state='hidden']:hover{ transform: translateY(-3px); box-shadow: var(--glow-violet); border-color: var(--violet); }

#tk-stage .pg-tile[data-state='safe']{ background: rgba(46, 230, 168, .14); border-color: var(--safe); color: var(--safe); animation: pg-pop .3s ease; }

#tk-stage .pg-tile[data-state='poop']{ background: rgba(255, 90, 45, .16); border-color: var(--fire); animation: pg-shake .4s ease; }

#tk-stage .pg-tile[data-state='disabled']{ opacity: .38; }

@keyframes pg-pop{ from { transform: scale(.7); } to { transform: scale(1); } }

@keyframes pg-shake{ 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

#tk-stage .pg-row.is-active .pg-tiles{ filter: drop-shadow(0 0 16px rgba(124, 92, 255, .3)); }


#tk-stage .pg-coach{
  margin: 0; font-size: .87rem; color: var(--muted); background: rgba(10, 11, 18, .55);
  border: 1px solid var(--stroke); border-radius: var(--r-sm); padding: 11px 14px; line-height: 1.75;
}

#tk-stage .pg-controls{ display: flex; flex-direction: column; gap: 13px; }

#tk-stage .pg-chips{ display: flex; flex-direction: column; gap: 8px; }

#tk-stage .pg-chips-label{ font-size: .76rem; color: var(--faint); }

#tk-stage .pg-chip-row{ display: flex; gap: 7px; flex-wrap: wrap; }

#tk-stage .pg-chip{
  flex: 1 1 62px; min-width: 62px; height: 44px; border-radius: 12px;
  border: 1px solid var(--stroke-2); background: var(--card); color: var(--text);
  font: inherit; font-weight: 700; cursor: pointer; direction: ltr;
}

#tk-stage .pg-chip.is-active{ background: var(--violet); border-color: transparent; color: #fff; box-shadow: var(--glow-violet); }

#tk-stage .pg-chip[disabled]{ opacity: .4; cursor: not-allowed; }

#tk-stage .pg-chip-input{
  flex: 1 1 110px; min-width: 110px; height: 44px; border-radius: 12px; text-align: center;
  border: 1px solid var(--stroke-2); background: var(--card); color: var(--text); font: inherit; direction: ltr;
}

#tk-stage .pg-actions{ display: flex; gap: 9px; flex-wrap: wrap; }

#tk-stage .pg-btn{
  flex: 1 1 auto; padding: 13px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--violet), #5b3cf0); color: #fff;
  font: inherit; font-weight: 700; font-size: .95rem; box-shadow: var(--glow-violet);
}

#tk-stage .pg-btn--main{ flex: 2 1 200px; }

#tk-stage .pg-btn--ghost{ background: transparent; border: 1px solid var(--stroke-2); color: var(--muted); box-shadow: none; flex: 0 1 auto; }

#tk-stage .pg-btn[disabled]{ opacity: .45; cursor: not-allowed; }

#tk-stage .pg-note{ margin: 0; font-size: .76rem; color: var(--faint); text-align: center; line-height: 1.7; }


#tk-stage .pg-side{ display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

#tk-stage .pg-ladder, #tk-stage .pg-log, #tk-stage .pg-session{
  background: rgba(10, 11, 18, .5); border: 1px solid var(--stroke);
  border-radius: var(--r); padding: 14px 16px;
}

#tk-stage .pg-ladder-title, #tk-stage .pg-log-title, #tk-stage .pg-session-title{ font-size: .9rem; margin: 0 0 10px; }

#tk-stage .pg-ladder-track{ display: flex; flex-wrap: wrap; gap: 5px; }

#tk-stage .pg-ladder-step{
  font-size: .74rem; font-weight: 700; padding: 5px 9px; border-radius: 8px;
  background: var(--card-2); border: 1px solid var(--stroke); color: var(--faint);
}

#tk-stage .pg-ladder-step.is-done{ background: rgba(46, 230, 168, .14); border-color: var(--safe); color: var(--safe); }

#tk-stage .pg-ladder-step.is-next{ background: var(--lime); color: #0a0b12; border-color: transparent; }

#tk-stage .pg-ladder-note, #tk-stage .pg-log-note{ font-size: .74rem; color: var(--faint); margin: 10px 0 0; line-height: 1.7; }

#tk-stage .pg-log-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }

#tk-stage .pg-log-item{ display: flex; align-items: center; gap: 8px; font-size: .78rem; margin: 0; }

#tk-stage .pg-log-badge{ font-weight: 700; border-radius: 6px; padding: 2px 7px; font-size: .7rem; }

#tk-stage .pg-log-item.is-win .pg-log-badge{ background: rgba(46, 230, 168, .16); color: var(--safe); }

#tk-stage .pg-log-item.is-loss .pg-log-badge{ background: rgba(255, 90, 45, .16); color: var(--fire); }

#tk-stage .pg-log-amount{ margin-inline-start: auto; font-weight: 700; }

#tk-stage .pg-log-item.is-win .pg-log-amount{ color: var(--safe); }

#tk-stage .pg-log-item.is-loss .pg-log-amount{ color: var(--fire); }

#tk-stage .pg-log-empty{ color: var(--faint); font-size: .8rem; margin: 0; }

#tk-stage .pg-session-grid{ display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 0; font-size: .8rem; }

#tk-stage .pg-session-grid dt{ color: var(--faint); }

#tk-stage .pg-session-grid dd{ margin: 0; font-weight: 700; }



#tk-stage .pg-dialog{
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 6, 12, .78);
  display: flex; align-items: center; justify-content: center; padding: 18px;
  backdrop-filter: blur(6px);
}

#tk-stage .pg-dialog[hidden]{ display: none; }

#tk-stage .pg-dialog-card{
  background: var(--card); border: 1px solid var(--stroke-2); border-radius: var(--r-lg);
  padding: clamp(20px, 4vw, 30px); width: min(460px, 100%); text-align: center;
  box-shadow: 0 40px 90px -30px #000; max-height: 90vh; overflow-y: auto;
}

#tk-stage .pg-dialog-emoji{ font-size: 2.4rem; line-height: 1; margin-bottom: 8px; }

#tk-stage .pg-dialog-title{ font-size: 1.15rem; margin-bottom: .5em; }

#tk-stage .pg-dialog-text{ color: var(--muted); font-size: .9rem; margin: 0 0 1em; }

#tk-stage .pg-dialog-actions{ display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

#tk-stage .pg-dots{ display: flex; gap: 6px; justify-content: center; margin: 16px 0 0; }

#tk-stage .pg-dot{ width: 8px; height: 8px; border-radius: 999px; background: var(--stroke-2); }

#tk-stage .pg-dot.is-on{ width: 22px; background: var(--lime); }

#tk-stage .pg-result-grid{ display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 16px 0; text-align: start; font-size: .88rem; }

#tk-stage .pg-result-grid dt{ color: var(--muted); padding: 9px 0; border-bottom: 1px solid var(--stroke); }

#tk-stage .pg-result-grid dd{ margin: 0; font-weight: 700; padding: 9px 0; border-bottom: 1px solid var(--stroke); text-align: end; }


@media (max-width: 560px){

  #tk-stage .pg-tile{ --pg-tile: min(17vw, 56px) !important; border-radius: 11px; }

  #tk-stage .pg-tiles{ gap: 5px; }

  #tk-stage .pg-mult{ min-width: 48px; font-size: .72rem; padding: 4px; }

  #tk-stage .pg-row{ gap: 6px; }


}



#tk-stage .brand-strip{ display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

#tk-stage .brand-card{
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
}

#tk-stage .brand-card.is-top{ border-color: rgba(198, 255, 61, .4); box-shadow: var(--glow-lime); }

#tk-stage .brand-card-rank{
  position: absolute; inset-block-start: 0; inset-inline-end: 0;
  background: var(--violet); color: #fff; font-weight: 700; font-size: .78rem;
  padding: 5px 14px; border-end-start-radius: 12px;
}

#tk-stage .brand-card.is-top .brand-card-rank{ background: var(--lime); color: #0a0b12; }

#tk-stage .brand-card-head{ display: flex; align-items: center; gap: 12px; }

#tk-stage .brand-card-head img{ width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 12px; padding: 5px; flex: none; }

#tk-stage .brand-card-head h3{ margin: 0; font-size: 1.05rem; }

#tk-stage .brand-card-head p{ margin: 0; font-size: .76rem; color: var(--faint); }

#tk-stage .score-big{ display: flex; align-items: baseline; gap: 5px; }

#tk-stage .score-big b{ font-size: 1.9rem; color: var(--lime); line-height: 1; }

#tk-stage .score-big span{ font-size: .78rem; color: var(--faint); }

#tk-stage .brand-card-body{ font-size: .87rem; color: var(--muted); margin: 0; flex: 1; }

#tk-stage .brand-card-actions{ display: flex; gap: 8px; flex-wrap: wrap; }

#tk-stage .brand-card-actions .btn{ flex: 1 1 auto; }


#tk-stage .scorebars{ display: grid; gap: 9px; margin: 0; }

#tk-stage .scorebar{ display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: .82rem; }

#tk-stage .scorebar-label{ color: var(--muted); }

#tk-stage .scorebar-track{ height: 8px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--stroke); overflow: hidden; }

#tk-stage .scorebar-fill{ display: block; height: 100%; width: var(--fill, 0%); border-radius: 999px; background: linear-gradient(90deg, var(--violet), var(--lime)); transition: width .7s ease; }

#tk-stage .scorebar-value{ font-weight: 700; }


#tk-stage .stars{ display: inline-flex; gap: 1px; }

#tk-stage .star{ color: var(--stroke-2); font-size: .95rem; }

#tk-stage .star.is-on{ color: var(--gold); }


#tk-stage .pill{ display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 700; }

#tk-stage .pill--unknown{ background: rgba(163, 171, 196, .12); color: var(--faint); border: 1px dashed var(--stroke-2); }

#tk-stage .pill--ok{ background: rgba(46, 230, 168, .14); color: var(--safe); }



#tk-stage .table-wrap{ overflow-x: auto; border: 1px solid var(--stroke); border-radius: var(--r-lg); background: var(--card); -webkit-overflow-scrolling: touch; }

#tk-stage table.data{ width: 100%; border-collapse: collapse; min-width: 720px; font-size: .88rem; }

#tk-stage table.data caption{ text-align: start; padding: 16px 18px 0; color: var(--faint); font-size: .8rem; }

#tk-stage table.data th, #tk-stage table.data td{ padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--stroke); vertical-align: middle; }

#tk-stage table.data thead th{ background: rgba(10, 11, 18, .6); color: var(--muted); font-size: .8rem; font-weight: 700; white-space: nowrap; position: sticky; top: 0; }

#tk-stage table.data th[data-sortkey]{ cursor: pointer; user-select: none; }

#tk-stage table.data th[data-sortkey]:hover{ color: var(--lime); }

#tk-stage table.data th[data-sortkey]::after{ content: ' ⇅'; opacity: .45; font-size: .8em; }

#tk-stage table.data tbody tr:hover{ background: rgba(124, 92, 255, .07); }

#tk-stage table.data tbody tr:last-child td{ border-bottom: 0; }

#tk-stage .c-brand a{ display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; }

#tk-stage .c-brand img{ width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; flex: none; }

#tk-stage .c-num{ text-align: center; white-space: nowrap; }

#tk-stage .c-num b{ color: var(--lime); font-size: 1rem; }

#tk-stage .rank-pill{
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 9px; background: var(--card-2); border: 1px solid var(--stroke-2); font-weight: 700; font-size: .85rem;
}

#tk-stage tr:nth-child(1) .rank-pill{ background: var(--lime); color: #0a0b12; border-color: transparent; }

#tk-stage tr:nth-child(2) .rank-pill{ background: #cfd6e6; color: #0a0b12; border-color: transparent; }

#tk-stage tr:nth-child(3) .rank-pill{ background: #d9a05b; color: #0a0b12; border-color: transparent; }

#tk-stage .table-hint{ font-size: .78rem; color: var(--faint); margin: 10px 0 0; }



#tk-stage .crumbs{ font-size: .8rem; color: var(--faint); padding-block: 16px 0; }

#tk-stage .crumbs ol{ list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }

#tk-stage .crumbs li{ margin: 0; display: flex; gap: 6px; align-items: center; }

#tk-stage .crumbs li + li::before{ content: '‹'; color: var(--stroke-2); }

#tk-stage .crumbs a{ color: var(--faint); }

#tk-stage .crumbs [aria-current]{ color: var(--muted); }



#tk-stage .prose{ max-width: 74ch; }

#tk-stage .prose h2{ margin-top: 1.8em; }

#tk-stage .prose h3{ margin-top: 1.5em; }

#tk-stage .prose ul li::marker{ color: var(--violet-2); }

#tk-stage .callout{
  border: 1px solid var(--stroke-2); border-inline-start: 3px solid var(--lime);
  background: rgba(198, 255, 61, .05); border-radius: var(--r); padding: 16px 18px; margin: 1.6em 0;
}

#tk-stage .callout h3{ margin-top: 0; font-size: 1rem; }

#tk-stage .callout p:last-child{ margin-bottom: 0; }

#tk-stage .callout--warn{ border-inline-start-color: var(--fire); background: rgba(255, 90, 45, .06); }


#tk-stage .faq{ display: grid; gap: 9px; }

#tk-stage .faq details{
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r); overflow: hidden;
}

#tk-stage .faq summary{
  cursor: pointer; padding: 15px 18px; font-weight: 700; font-size: .95rem; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}

#tk-stage .faq summary::-webkit-details-marker{ display: none; }

#tk-stage .faq summary::after{ content: '+'; color: var(--lime); font-size: 1.3rem; flex: none; }

#tk-stage .faq details[open] summary::after{ content: '−'; }

#tk-stage .faq details > div{ padding: 0 18px 16px; color: var(--muted); font-size: .9rem; }

#tk-stage .faq details > div p:last-child{ margin-bottom: 0; }


#tk-stage .link-grid{ display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); list-style: none; padding: 0; margin: 0; }

#tk-stage .link-grid li{ margin: 0; }

#tk-stage .link-grid a{
  display: block; background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r);
  padding: 15px 17px; color: var(--text); height: 100%;
}

#tk-stage .link-grid a:hover{ border-color: var(--violet); text-decoration: none; transform: translateY(-2px); }

#tk-stage .link-grid strong{ display: block; margin-bottom: 4px; font-size: .95rem; }

#tk-stage .link-grid span{ font-size: .8rem; color: var(--faint); line-height: 1.6; display: block; }



#tk-stage .comments{ display: grid; gap: 16px; }

#tk-stage .comment-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

#tk-stage .comment{
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r); padding: 14px 17px; margin: 0;
}

#tk-stage .comment.is-pending{ border-style: dashed; border-color: var(--gold); background: rgba(255, 197, 61, .05); }

#tk-stage .comment-head{ display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }

#tk-stage .comment-name{ font-weight: 700; font-size: .9rem; }

#tk-stage .comment-head time{ font-size: .75rem; color: var(--faint); margin-inline-start: auto; }

#tk-stage .comment-status{ font-size: .72rem; color: var(--gold); background: rgba(255, 197, 61, .12); border-radius: 999px; padding: 2px 9px; margin-inline-start: auto; }

#tk-stage .comment-body{ margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.85; }


#tk-stage .comment-form{ display: grid; gap: 13px; }

#tk-stage .field{ display: grid; gap: 6px; }

#tk-stage .field label{ font-size: .84rem; color: var(--muted); font-weight: 500; }

#tk-stage .field input[type='text'], #tk-stage .field textarea{
  background: var(--bg-2); border: 1px solid var(--stroke-2); border-radius: var(--r-sm);
  padding: 12px 14px; color: var(--text); font: inherit; font-size: .92rem; width: 100%;
}

#tk-stage .field textarea{ min-height: 110px; resize: vertical; line-height: 1.8; }

#tk-stage .rating-input{ display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }

#tk-stage .rating-input input{ position: absolute; opacity: 0; width: 0; height: 0; }

#tk-stage .rating-input label{
  cursor: pointer; font-size: 1.6rem; color: var(--stroke-2); line-height: 1; padding: 2px;
  transition: color .15s, transform .15s;
}

#tk-stage .rating-input input:checked ~ label, #tk-stage .rating-input label:hover, #tk-stage .rating-input label:hover ~ label{ color: var(--gold); }

#tk-stage .rating-input input:focus-visible + label{ outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }

#tk-stage .form-status{ font-size: .85rem; margin: 0; padding: 10px 14px; border-radius: var(--r-sm); }

#tk-stage .form-status:empty{ display: none; }

#tk-stage .form-status.is-ok{ background: rgba(46, 230, 168, .12); color: var(--safe); }

#tk-stage .form-status.is-error{ background: rgba(255, 90, 45, .12); color: var(--fire); }

#tk-stage .form-note{ font-size: .76rem; color: var(--faint); margin: 0; line-height: 1.7; }



#tk-stage .site-footer{ border-top: 1px solid var(--stroke); background: rgba(6, 7, 12, .7); margin-top: clamp(40px, 6vw, 80px); }

#tk-stage .footer-top{ display: grid; gap: 28px; padding-block: clamp(30px, 5vw, 50px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

#tk-stage .footer-brand p{ font-size: .85rem; color: var(--faint); max-width: 34ch; }

#tk-stage .footer-col h3{ font-size: .88rem; margin-bottom: 12px; color: var(--text); }

#tk-stage .footer-col ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }

#tk-stage .footer-col li{ margin: 0; }

#tk-stage .footer-col a{ color: var(--faint); font-size: .85rem; }

#tk-stage .footer-col a:hover{ color: var(--lime); }

#tk-stage .footer-bottom{ border-top: 1px solid var(--stroke); padding-block: 18px; font-size: .78rem; color: var(--faint); display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between; }

#tk-stage .footer-disclaimer{ font-size: .76rem; color: var(--faint); line-height: 1.85; border-top: 1px solid var(--stroke); padding-block: 16px; }



#tk-stage .err{ text-align: center; padding-block: clamp(50px, 10vw, 110px); }

#tk-stage .err-code{ font-size: clamp(4rem, 16vw, 8rem); font-weight: 700; line-height: 1; color: var(--violet); margin: 0; }

#tk-stage .err .link-grid{ margin-top: 30px; text-align: start; }



#tk-stage .authorbox{
  display: flex; gap: 14px; align-items: flex-start; background: var(--card);
  border: 1px solid var(--stroke); border-radius: var(--r); padding: 16px 18px; margin-top: 2.2em;
}

#tk-stage .authorbox-avatar{
  width: 44px; height: 44px; border-radius: 12px; background: rgba(124, 92, 255, .15);
  border: 1px solid rgba(124, 92, 255, .35); display: grid; place-items: center; font-size: 1.3rem; flex: none;
}

#tk-stage .authorbox p{ margin: 0; font-size: .82rem; color: var(--faint); line-height: 1.8; }

#tk-stage .authorbox strong{ display: block; color: var(--text); font-size: .92rem; margin-bottom: 3px; }

#tk-stage .updated{ font-size: .78rem; color: var(--faint); }

