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



#hb-stage{
  --ink: #12100e;
  --ink-2: #1a1713;
  --ink-3: #221d18;
  --line: #332b23;
  --cream: #f4ece0;
  --muted: #a89681;
  --amber: #e8b04b;
  --amber-2: #f6c96f;
  --teal: #35a79c;
  --rose: #e2694f;
  --ok: #6fbf73;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 20px;
  --wrap: 1120px;
  --fs-xs: 0.78rem;
  --fs-s: 0.9rem;
  --fs-b: 1.02rem;
  --fs-h3: 1.22rem;
  --fs-h2: 1.6rem;
  --fs-h1: clamp(1.85rem, 1.2rem + 2.6vw, 3rem);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --font: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Tahoma, "Iranian Sans", sans-serif;
}


#hb-stage,#hb-stage *{ box-sizing: border-box; }


#hb-stage [hidden]{ display: none !important; }

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

@media (prefers-reduced-motion: reduce){
 #hb-stage{ scroll-behavior: auto; }
 #hb-stage,#hb-stage *, #hb-stage *::before, #hb-stage *::after{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
 
}


#hb-stage{
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-size: var(--fs-b);
  line-height: 1.85;
  overflow-x: hidden;
}


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

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

#hb-stage a:hover{ text-decoration: underline; }

#hb-stage :focus-visible{ outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }


#hb-stage h1, #hb-stage h2, #hb-stage h3, #hb-stage h4{ line-height: 1.4; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.01em; }

#hb-stage h1{ font-size: var(--fs-h1); }

#hb-stage h2{ font-size: var(--fs-h2); }

#hb-stage h3{ font-size: var(--fs-h3); }

#hb-stage p{ margin: 0 0 1.05em; }

#hb-stage ul, #hb-stage ol{ padding-inline-start: 1.35rem; margin: 0 0 1.1em; }

#hb-stage li{ margin-bottom: 0.45em; }

#hb-stage small{ font-size: var(--fs-xs); }

#hb-stage code{ font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; background: var(--ink-3); padding: 0.1em 0.35em; border-radius: 5px; }

#hb-stage table{ border-collapse: collapse; width: 100%; }

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

#hb-stage .unk{ color: var(--muted); font-size: var(--fs-s); font-style: normal; }

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


#hb-stage .wrap{ max-width: var(--wrap); margin-inline: auto; padding-inline: 1rem; }

#hb-stage .skip{ position: absolute; inset-inline-start: -9999px; top: 0; background: var(--amber); color: #14100a; padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 var(--r-s) 0; }

#hb-stage .skip:focus{ inset-inline-start: 0; }



#hb-stage .site-head{
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 16, 14, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

#hb-stage .head-in{ display: flex; align-items: center; gap: 0.9rem; min-height: 64px; flex-wrap: wrap; }

#hb-stage .brand{ display: flex; align-items: center; gap: 0.55rem; color: var(--cream); text-decoration: none; flex: 0 0 auto; }

#hb-stage .brand:hover{ text-decoration: none; }

#hb-stage .brand-txt{ display: flex; flex-direction: column; line-height: 1.25; }

#hb-stage .brand-txt strong{ font-size: 1.06rem; letter-spacing: -0.02em; }

#hb-stage .brand-txt small{ color: var(--muted); font-size: 0.7rem; }

#hb-stage .logo-mark{ flex: 0 0 auto; }


#hb-stage .nav-toggle{
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--ink-3); color: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.45rem 0.85rem; font: inherit; font-size: var(--fs-s); cursor: pointer;
}

#hb-stage .nav-toggle span{ width: 15px; height: 2px; background: var(--amber); box-shadow: 0 5px 0 var(--amber), 0 -5px 0 var(--amber); }

#hb-stage .main-nav{ display: none; width: 100%; }

#hb-stage .main-nav.is-open{ display: block; }

#hb-stage .main-nav ul{ list-style: none; margin: 0.4rem 0 0.8rem; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }

#hb-stage .main-nav a{ display: block; padding: 0.55rem 0.7rem; border-radius: var(--r-s); color: var(--cream); font-size: var(--fs-s); }

#hb-stage .main-nav a:hover{ background: var(--ink-3); text-decoration: none; }

#hb-stage .main-nav a[aria-current="page"]{ color: var(--amber-2); background: var(--ink-3); }

#hb-stage .main-nav .nav-play{ background: var(--amber); color: #14100a; font-weight: 800; text-align: center; }

#hb-stage .main-nav .nav-play:hover{ background: var(--amber-2); }


@media (min-width: 980px){

  #hb-stage .nav-toggle{ display: none; }

  #hb-stage .main-nav{ display: block !important; width: auto; margin-inline-start: auto; }

  #hb-stage .main-nav ul{ flex-direction: row; align-items: center; gap: 0.15rem; margin: 0; }

  #hb-stage .main-nav a{ padding: 0.4rem 0.6rem; font-size: 0.86rem; white-space: nowrap; }

  #hb-stage .main-nav .nav-play{ padding-inline: 1rem; border-radius: 999px; }


}



#hb-stage .crumbs{ border-bottom: 1px solid var(--line); background: var(--ink-2); }

#hb-stage .crumbs ol{ max-width: var(--wrap); margin-inline: auto; padding: 0.5rem 1rem; list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: var(--fs-xs); color: var(--muted); }

#hb-stage .crumbs li + li::before{ content: "‹"; margin-inline-end: 0.35rem; color: var(--line); }

#hb-stage .crumbs a{ color: var(--muted); }

#hb-stage .crumbs [aria-current] span{ color: var(--cream); }



#hb-stage .sec{ max-width: var(--wrap); margin: 0 auto; padding: 2.4rem 1rem; }

#hb-stage .sec + .sec{ padding-top: 0.6rem; }

#hb-stage .sec-lead{ color: var(--muted); max-width: 62ch; }

#hb-stage .prose{ max-width: 72ch; }

#hb-stage .prose h2{ margin-top: 1.9em; padding-top: 0.2em; border-top: 1px solid var(--line); }

#hb-stage .prose h3{ margin-top: 1.5em; color: var(--amber-2); }

#hb-stage .prose ul li::marker{ color: var(--amber); }



#hb-stage .hero{ background: radial-gradient(900px 420px at 80% -10%, rgba(232, 176, 75, 0.14), transparent 65%), var(--ink-2); border-bottom: 1px solid var(--line); }

#hb-stage .hero-in{ max-width: var(--wrap); margin-inline: auto; padding: 2.6rem 1rem 2.2rem; display: grid; gap: 2rem; }

#hb-stage .hero-eyebrow{ display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-xs); font-weight: 700; color: var(--teal); border: 1px solid rgba(53, 167, 156, 0.4); border-radius: 999px; padding: 0.25rem 0.7rem; margin-bottom: 0.9rem; }

#hb-stage .hero h1{ margin-bottom: 0.5em; }

#hb-stage .hero p.lead{ font-size: 1.08rem; color: #ddd0bd; max-width: 55ch; }

#hb-stage .hero-actions{ display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }

#hb-stage .hero-facts{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-top: 1.6rem; }

#hb-stage .hero-fact{ background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0.7rem 0.8rem; }

#hb-stage .hero-fact b{ display: block; font-size: 1.25rem; color: var(--amber-2); }

#hb-stage .hero-fact span{ font-size: var(--fs-xs); color: var(--muted); }

@media (min-width: 900px){

  #hb-stage .hero-in{ grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-block: 3.4rem 3rem; }

  #hb-stage .hero-facts{ grid-template-columns: repeat(4, 1fr); }


}



#hb-stage .reel-preview{ background: linear-gradient(180deg, #1b1610, #100d0a); border: 2px solid rgba(232, 176, 75, 0.35); border-radius: var(--r-l); padding: 0.7rem; box-shadow: var(--shadow); }

#hb-stage .reel-preview-grid{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.3rem; }

#hb-stage .reel-preview-col{ display: grid; gap: 0.3rem; background: #071c16; border-radius: var(--r-s); padding: 0.3rem; }

#hb-stage .rp-cell{ aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: clamp(1rem, 3.6vw, 1.5rem); font-weight: 800; background: rgba(255, 255, 255, 0.04); }

#hb-stage .rp-cell.is-hot{ background: rgba(232, 176, 75, 0.18); box-shadow: inset 0 0 0 1px rgba(232, 176, 75, 0.5); }

#hb-stage .reel-preview-cap{ display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); margin-top: 0.6rem; }



#hb-stage .btn-primary, #hb-stage .btn-cta, #hb-stage .btn-ghost, #hb-stage .btn-line{
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  font: inherit; font-weight: 800; font-size: var(--fs-s); border-radius: 999px;
  padding: 0.62rem 1.25rem; cursor: pointer; border: 1px solid transparent; text-decoration: none;
}

#hb-stage .btn-primary, #hb-stage .btn-cta{ background: var(--amber); color: #16110a; }

#hb-stage .btn-primary:hover, #hb-stage .btn-cta:hover{ background: var(--amber-2); text-decoration: none; }

#hb-stage .btn-ghost{ background: transparent; color: var(--cream); border-color: var(--line); }

#hb-stage .btn-ghost:hover{ border-color: var(--amber); text-decoration: none; }

#hb-stage .btn-line{ background: var(--teal); color: #06201d; }

#hb-stage .btn-line:hover{ filter: brightness(1.1); text-decoration: none; }



#hb-stage .grid{ display: grid; gap: 1rem; }

@media (min-width: 700px){
 #hb-stage .grid.g2{ grid-template-columns: repeat(2, 1fr); }
 
}

@media (min-width: 1000px){
 #hb-stage .grid.g3{ grid-template-columns: repeat(3, 1fr); }
 #hb-stage .grid.g2{ grid-template-columns: repeat(2, 1fr); }
 
}


#hb-stage .cart{ background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }

#hb-stage .cart-top{ height: 5px; background: linear-gradient(90deg, var(--amber), var(--teal)); }

#hb-stage .cart-head{ display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1rem 0.4rem; }

#hb-stage .cart-head h3{ margin: 0; font-size: 1.05rem; }

#hb-stage .cart-head h3 a{ color: var(--cream); }

#hb-stage .cart-en{ margin: 0; font-size: var(--fs-xs); color: var(--muted); }

#hb-stage .cart-rank{ margin-inline-start: auto; font-size: var(--fs-xs); background: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.6rem; color: var(--muted); white-space: nowrap; }

#hb-stage .cart-score{ padding: 0 1rem; font-size: var(--fs-s); color: var(--muted); margin-bottom: 0.6rem; }

#hb-stage .cart-desc{ padding: 0 1rem; font-size: var(--fs-s); color: #cfc0ad; }

#hb-stage .cart-foot{ margin-top: auto; padding: 0.4rem 1rem 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

#hb-stage .brand-logo{ background: rgba(255, 255, 255, 0.92); border-radius: 10px; padding: 5px 7px; object-fit: contain; max-height: 46px; width: auto; }


#hb-stage .sc{ font-weight: 800; color: var(--amber-2); font-variant-numeric: tabular-nums; }

#hb-stage .sc small{ color: var(--muted); font-weight: 500; }

#hb-stage .stars{ color: var(--amber); letter-spacing: 2px; }



#hb-stage .bars{ padding: 0 1rem 0.5rem; display: grid; gap: 0.3rem; }

#hb-stage .bar-row{ display: grid; grid-template-columns: 8.5rem 1fr 2.4rem; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); }

#hb-stage .bar-l{ color: var(--muted); }

#hb-stage .bar{ height: 7px; background: var(--ink-3); border-radius: 999px; overflow: hidden; }

#hb-stage .bar i{ display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--amber)); border-radius: 999px; }

#hb-stage .bar-v{ text-align: end; font-variant-numeric: tabular-nums; color: var(--cream); font-weight: 700; }

@media (max-width: 420px){
 #hb-stage .bar-row{ grid-template-columns: 6.8rem 1fr 2.2rem; }
 
}



#hb-stage .picks{ list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; counter-reset: p; }

#hb-stage .pick{ display: grid; grid-template-columns: auto 1fr; gap: 0.7rem 0.9rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1rem; align-items: start; }

#hb-stage .pick-rank{ width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--amber); color: var(--amber-2); font-weight: 800; }

#hb-stage .pick:first-child .pick-rank{ background: var(--amber); color: #16110a; }

#hb-stage .pick-logo{ grid-column: 2; }

#hb-stage .pick-body{ grid-column: 2; }

#hb-stage .pick-body h3{ margin: 0 0 0.2rem; font-size: 1.08rem; }

#hb-stage .pick-body h3 a{ color: var(--cream); }

#hb-stage .pick-scores{ display: flex; flex-wrap: wrap; gap: 0.8rem; font-size: var(--fs-xs); color: var(--muted); margin: 0 0 0.4rem; }

#hb-stage .pick-note{ font-size: var(--fs-s); margin: 0; color: #cfc0ad; }

#hb-stage .pick-cta{ grid-column: 2; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

#hb-stage .pick-review{ font-size: var(--fs-xs); color: var(--muted); }

@media (min-width: 800px){

  #hb-stage .pick{ grid-template-columns: auto 130px 1fr auto; align-items: center; }

  #hb-stage .pick-logo, #hb-stage .pick-body, #hb-stage .pick-cta{ grid-column: auto; }

  #hb-stage .pick-cta{ flex-direction: column; align-items: stretch; text-align: center; min-width: 160px; }


}



#hb-stage .tablewrap{ overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); }

#hb-stage .tbl{ font-size: var(--fs-s); min-width: 720px; }

#hb-stage .tbl th, #hb-stage .tbl td{ padding: 0.65rem 0.7rem; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }

#hb-stage .tbl thead th{ background: var(--ink-3); font-size: var(--fs-xs); color: var(--muted); font-weight: 700; position: sticky; top: 0; }

#hb-stage .tbl tbody tr:hover{ background: rgba(255, 255, 255, 0.02); }

#hb-stage .tbl td:first-child{ font-weight: 800; color: var(--amber-2); }



#hb-stage .qs{ display: grid; gap: 0.5rem; }

#hb-stage .q{ background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-m); }

#hb-stage .q summary{ cursor: pointer; padding: 0.85rem 1rem; list-style: none; display: flex; align-items: center; gap: 0.5rem; }

#hb-stage .q summary::-webkit-details-marker{ display: none; }

#hb-stage .q summary::after{ content: "+"; margin-inline-start: auto; color: var(--amber); font-weight: 800; font-size: 1.2rem; }

#hb-stage .q[open] summary::after{ content: "−"; }

#hb-stage .q summary h3{ margin: 0; font-size: var(--fs-b); font-weight: 700; }

#hb-stage .q .a{ padding: 0 1rem 1rem; color: #cfc0ad; font-size: var(--fs-s); }

#hb-stage .q .a p:last-child{ margin-bottom: 0; }



#hb-stage .rel-list{ list-style: none; padding: 0; display: grid; gap: 0.6rem; }

@media (min-width: 700px){
 #hb-stage .rel-list{ grid-template-columns: repeat(2, 1fr); }
 
}

#hb-stage .rel-list a{ display: block; background: var(--ink-2); border: 1px solid var(--line); border-inline-start: 3px solid var(--amber); border-radius: var(--r-s); padding: 0.75rem 0.9rem; color: var(--cream); }

#hb-stage .rel-list a:hover{ border-inline-start-color: var(--teal); text-decoration: none; background: var(--ink-3); }

#hb-stage .rel-list strong{ display: block; font-size: var(--fs-s); }

#hb-stage .rel-list span{ font-size: var(--fs-xs); color: var(--muted); }



#hb-stage .callout{ background: var(--ink-2); border: 1px solid var(--line); border-inline-start: 4px solid var(--teal); border-radius: var(--r-m); padding: 1rem 1.1rem; margin: 1.4rem 0; font-size: var(--fs-s); }

#hb-stage .callout h3{ margin-top: 0; font-size: var(--fs-b); color: var(--teal); }

#hb-stage .callout.warn{ border-inline-start-color: var(--rose); }

#hb-stage .callout.warn h3{ color: var(--rose); }

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



#hb-stage .comments{ max-width: 800px; }

#hb-stage .cmt{ background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0.85rem 1rem; margin-bottom: 0.6rem; }

#hb-stage .cmt-head{ display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; font-size: var(--fs-s); }

#hb-stage .cmt-head strong{ color: var(--cream); }

#hb-stage .cmt-head time{ color: var(--muted); font-size: var(--fs-xs); margin-inline-start: auto; }

#hb-stage .cmt-topic{ font-size: var(--fs-xs); background: var(--ink-3); border-radius: 999px; padding: 0.1rem 0.55rem; color: var(--muted); }

#hb-stage .cmt-body{ margin: 0.35rem 0 0; font-size: var(--fs-s); color: #cfc0ad; }

#hb-stage .cmt.is-pending{ border-style: dashed; border-color: var(--teal); }

#hb-stage .cmt-pending{ font-size: var(--fs-xs); color: var(--teal); }

#hb-stage .cmt-brand{ font-size: var(--fs-xs); color: var(--muted); }

#hb-stage .cmt-form{ background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.1rem; margin-top: 1.4rem; }

#hb-stage .cmt-form h3{ margin-top: 0; }

#hb-stage .f-row{ display: grid; gap: 0.3rem; margin-bottom: 0.8rem; }

#hb-stage .f-row label{ font-size: var(--fs-s); font-weight: 700; }

#hb-stage .f-row input, #hb-stage .f-row select, #hb-stage .f-row textarea{
  font: inherit; font-size: var(--fs-s); background: var(--ink); color: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.55rem 0.7rem; width: 100%;
}

#hb-stage .f-row textarea{ resize: vertical; }

#hb-stage .f-msg{ font-size: var(--fs-s); margin: 0.6rem 0 0; min-height: 1.2em; color: var(--teal); }



#hb-stage .site-foot{ background: var(--ink-2); border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.2rem 0 1.5rem; }

#hb-stage .foot-grid{ display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }

@media (min-width: 780px){
 #hb-stage .foot-grid{ grid-template-columns: repeat(5, 1fr); }
 
}

#hb-stage .foot-col h2{ font-size: var(--fs-s); color: var(--amber-2); margin-bottom: 0.5rem; }

#hb-stage .foot-col ul{ list-style: none; padding: 0; margin: 0; }

#hb-stage .foot-col li{ margin-bottom: 0.3rem; }

#hb-stage .foot-col a{ color: var(--muted); font-size: var(--fs-xs); }

#hb-stage .foot-col a:hover{ color: var(--cream); }

#hb-stage .foot-note{ border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1.1rem; font-size: var(--fs-xs); color: var(--muted); }

#hb-stage .foot-note p{ margin-bottom: 0.5em; }

#hb-stage .foot-updated{ color: var(--line); }



#hb-stage .gloss{ display: grid; gap: 0.5rem; margin: 0; }

#hb-stage .gloss-item{ background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0.8rem 1rem; }

#hb-stage .gloss-item dt{ font-weight: 800; color: var(--amber-2); font-size: var(--fs-s); margin-bottom: 0.2rem; }

#hb-stage .gloss-item dd{ margin: 0; font-size: var(--fs-s); color: #cfc0ad; }

@media (min-width: 780px){
 #hb-stage .gloss{ grid-template-columns: repeat(2, 1fr); }
 
}



#hb-stage .author{ max-width: var(--wrap); margin: 1.4rem auto; padding: 1rem 1.1rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-m); font-size: var(--fs-xs); color: var(--muted); }

#hb-stage .author p{ margin-bottom: 0.35em; }

#hb-stage .author p:last-child{ margin-bottom: 0; }

@media (min-width: 1152px){
 #hb-stage .author{ margin-inline: auto; }
 
}



#hb-stage .e404{ text-align: center; padding: 4rem 1rem; }

#hb-stage .e404 .code{ font-size: 5rem; font-weight: 800; color: var(--amber); line-height: 1; }




#hb-stage .sg-root{ --cell: 74px; max-width: 980px; margin-inline: auto; }

@media (max-width: 520px){
 #hb-stage .sg-root{ --cell: 58px; }
 
}

@media (max-width: 360px){
 #hb-stage .sg-root{ --cell: 50px; }
 
}


#hb-stage .sg-live{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }



#hb-stage .sg-menu{ background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.4rem; text-align: center; }

#hb-stage .sg-menu-title{ margin: 0 0 0.3rem; font-size: 1.3rem; }

#hb-stage .sg-menu-sub{ color: var(--muted); font-size: var(--fs-s); max-width: 52ch; margin-inline: auto; }

#hb-stage .sg-menu-grid{ display: grid; gap: 0.8rem; margin-top: 1.2rem; }

@media (min-width: 720px){
 #hb-stage .sg-menu-grid{ grid-template-columns: repeat(2, 1fr); }
 
}

#hb-stage .sg-mode{
  display: grid; gap: 0.35rem; text-align: start; cursor: pointer; font: inherit;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 1.1rem; color: var(--cream);
}

#hb-stage .sg-mode:hover{ border-color: var(--amber); }

#hb-stage .sg-mode-tag{ font-size: var(--fs-xs); color: var(--teal); font-weight: 700; }

#hb-stage .sg-mode-name{ font-size: 1.12rem; font-weight: 800; color: var(--amber-2); }

#hb-stage .sg-mode-desc{ font-size: var(--fs-s); color: var(--muted); line-height: 1.75; }



#hb-stage .sg-status{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 0.8rem; }

@media (min-width: 640px){
 #hb-stage .sg-status{ grid-template-columns: repeat(4, 1fr); }
 
}

#hb-stage .sg-stat{ background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0.5rem 0.7rem; text-align: center; }

#hb-stage .sg-stat-l{ display: block; font-size: var(--fs-xs); color: var(--muted); }

#hb-stage .sg-stat-v{ display: block; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }

#hb-stage .sg-stat[data-k="balance"] .sg-stat-v{ color: var(--amber-2); }

#hb-stage .sg-stat[data-k="win"] .sg-stat-v{ color: var(--ok); }

#hb-stage .sg-stat[data-k="fs"] .sg-stat-v{ color: var(--teal); }



#hb-stage .sg-stage{ display: grid; gap: 1rem; }

#hb-stage .sg-cabinet{
  background: linear-gradient(180deg, #1a140d, #0d0b09);
  border: 2px solid rgba(232, 176, 75, 0.4);
  border-radius: var(--r-l); padding: 0.85rem;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6), var(--shadow);
  position: relative; overflow: hidden;
}

#hb-stage .sg-cabinet::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 200px at 50% 0%, rgba(232, 176, 75, 0.12), transparent 70%);
}

#hb-stage .sg-reels{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem; background: rgba(0, 0, 0, 0.4); border-radius: var(--r-m); padding: 0.35rem; }

#hb-stage .sg-reel{ position: relative; height: calc(3 * var(--cell)); overflow: hidden; border-radius: var(--r-s); background: #071c16; border: 1px solid rgba(255, 255, 255, 0.05); }

#hb-stage .sg-track{ display: flex; flex-direction: column; }

#hb-stage .sg-track.is-spinning{ animation: sg-scroll 0.28s linear infinite; will-change: transform; filter: blur(1px); }

@keyframes sg-scroll{ from { transform: translateY(0); } to { transform: translateY(calc(-1 * var(--cell))); } }

@media (prefers-reduced-motion: reduce){
 #hb-stage .sg-track.is-spinning{ animation: none; filter: none; opacity: 0.55; }
 
}


#hb-stage .sg-cell{ height: var(--cell); display: grid; place-items: center; transition: opacity 0.2s; }

#hb-stage .sg-cell.is-dim{ opacity: 0.3; }

#hb-stage .sg-cell.is-win .sg-symbol{ box-shadow: 0 0 0 2px var(--amber), 0 0 18px rgba(232, 176, 75, 0.5); }

#hb-stage .sg-symbol{
  width: 84%; height: 84%; border-radius: 12px; display: grid; place-items: center;
  font-size: clamp(1.2rem, 5.4vw, 1.95rem); font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

#hb-stage .sg-glyph-txt{ font-size: 0.55em; font-weight: 800; }


#hb-stage .sg-msg{ text-align: center; margin: 0.7rem 0 0.2rem; min-height: 1.6em; font-size: var(--fs-s); display: grid; gap: 0.2rem; }

#hb-stage .sg-coach{ color: var(--teal); }

#hb-stage .sg-note{ color: var(--muted); }

#hb-stage .sg-note.is-win{ color: var(--ok); font-weight: 700; }



#hb-stage .sg-controls{ display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin-top: 0.9rem; align-items: center; }

@media (min-width: 640px){
 #hb-stage .sg-controls{ grid-template-columns: auto 1fr auto; }
 
}

#hb-stage .sg-bet{ display: flex; align-items: center; gap: 0.4rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem; }

#hb-stage .sg-betbtn{ width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-3); color: var(--cream); font-size: 1.3rem; font-weight: 800; cursor: pointer; }

#hb-stage .sg-betbtn:disabled{ opacity: 0.35; cursor: not-allowed; }

#hb-stage .sg-betval{ display: grid; text-align: center; min-width: 92px; line-height: 1.25; }

#hb-stage .sg-betval-l{ font-size: var(--fs-xs); color: var(--muted); }

#hb-stage .sg-betval strong{ font-size: 1.05rem; font-variant-numeric: tabular-nums; }

#hb-stage .sg-spin{
  font: inherit; font-weight: 800; font-size: 1.15rem; cursor: pointer;
  background: linear-gradient(180deg, var(--amber-2), var(--amber)); color: #16110a;
  border: none; border-radius: 999px; padding: 0.95rem 1.5rem; min-height: 56px;
  box-shadow: 0 6px 0 #a5762a, var(--shadow);
}

#hb-stage .sg-spin:active{ transform: translateY(3px); box-shadow: 0 3px 0 #a5762a; }

#hb-stage .sg-spin:disabled{ opacity: 0.5; box-shadow: none; cursor: progress; }

#hb-stage .sg-auto{ display: flex; justify-content: center; }

#hb-stage .sg-autobtn{ font: inherit; font-size: var(--fs-s); cursor: pointer; background: var(--ink-2); color: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 0.6rem 1.1rem; min-height: 44px; }

#hb-stage .sg-autobtn.is-on{ border-color: var(--rose); color: var(--rose); }

#hb-stage .sg-autobtn:disabled{ opacity: 0.4; }



#hb-stage .sg-toolbar{ display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 0.9rem; }

#hb-stage .sg-tool{ font: inherit; font-size: var(--fs-xs); cursor: pointer; background: var(--ink-2); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.85rem; min-height: 38px; }

#hb-stage .sg-tool:hover{ color: var(--cream); border-color: var(--amber); }

#hb-stage .sg-tool[aria-pressed="true"]{ color: var(--amber-2); border-color: var(--amber); }



#hb-stage .sg-panel{ margin-top: 1rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.1rem; }

#hb-stage .sg-panel-title{ margin-top: 0; font-size: 1.1rem; }

#hb-stage .sg-panel-note{ font-size: var(--fs-xs); color: var(--muted); }

#hb-stage .sg-panel-close{ display: block; margin: 0.8rem auto 0; font: inherit; font-size: var(--fs-s); background: var(--ink-3); color: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1.3rem; cursor: pointer; min-height: 42px; }

#hb-stage .sg-tablewrap{ overflow-x: auto; }

#hb-stage .sg-pt, #hb-stage .sg-hist{ font-size: var(--fs-s); min-width: 420px; }

#hb-stage .sg-pt th, #hb-stage .sg-pt td, #hb-stage .sg-hist th, #hb-stage .sg-hist td{ padding: 0.45rem 0.55rem; border-bottom: 1px solid var(--line); text-align: center; }

#hb-stage .sg-pt th[scope="row"]{ display: flex; align-items: center; gap: 0.5rem; text-align: start; font-weight: 700; }

#hb-stage .sg-pt-sym .sg-symbol{ width: 34px; height: 34px; font-size: 1.05rem; }

#hb-stage .sg-pt-sym .sg-glyph-txt{ font-size: 0.5em; }

#hb-stage .sg-pt small{ color: var(--muted); font-size: 0.72rem; }

#hb-stage .sg-pos{ color: var(--ok); font-weight: 700; }

#hb-stage .sg-rules{ font-size: var(--fs-s); color: #cfc0ad; }


#hb-stage .sg-lines{ display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 0.55rem; }

#hb-stage .sg-line{ margin: 0; text-align: center; }

#hb-stage .sg-linegrid{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--ink-3); padding: 4px; border-radius: 6px; }

#hb-stage .sg-linegrid i{ aspect-ratio: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.06); }

#hb-stage .sg-linegrid i.on{ background: var(--amber); }

#hb-stage .sg-line figcaption{ font-size: 0.7rem; color: var(--muted); margin-top: 0.25rem; }



#hb-stage .sg-side{ background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1rem; }

#hb-stage .sg-side-title{ margin-top: 0; font-size: var(--fs-b); }

#hb-stage .sg-side-list{ margin: 0; display: grid; gap: 0.2rem; font-size: var(--fs-xs); }

#hb-stage .sg-side-list > div{ display: flex; justify-content: space-between; gap: 0.6rem; border-bottom: 1px dashed var(--line); padding: 0.2rem 0; }

#hb-stage .sg-side-list dt{ color: var(--muted); margin: 0; }

#hb-stage .sg-side-list dd{ margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

#hb-stage .sg-side-meter{ margin-top: 0.8rem; }

#hb-stage .sg-side-meter-head{ display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 0.3rem; }

#hb-stage .sg-meter{ position: relative; height: 8px; background: var(--ink-3); border-radius: 999px; overflow: hidden; }

#hb-stage .sg-meter span{ display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--amber)); }

#hb-stage .sg-meter i{ position: absolute; top: -3px; width: 2px; height: 14px; background: var(--cream); }

#hb-stage .sg-side-hint{ font-size: 0.72rem; color: var(--muted); margin: 0.5rem 0 0; }



#hb-stage .sg-modal-layer{ position: fixed; inset: 0; z-index: 90; background: rgba(6, 5, 4, 0.78); display: grid; place-items: center; padding: 1rem; }

#hb-stage .sg-modal{ background: var(--ink-2); border: 1px solid var(--amber); border-radius: var(--r-l); max-width: 460px; width: 100%; box-shadow: var(--shadow); max-height: 86vh; overflow-y: auto; }

#hb-stage .sg-modal-body{ padding: 1.3rem; }

#hb-stage .sg-modal-title{ margin-top: 0; color: var(--amber-2); }

#hb-stage .sg-modal p{ font-size: var(--fs-s); color: #cfc0ad; }

#hb-stage .sg-modal-actions{ display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }

#hb-stage .sg-btn-primary, #hb-stage .sg-btn-ghost{ font: inherit; font-weight: 800; font-size: var(--fs-s); border-radius: 999px; padding: 0.6rem 1.2rem; cursor: pointer; min-height: 44px; }

#hb-stage .sg-btn-primary{ background: var(--amber); color: #16110a; border: none; }

#hb-stage .sg-btn-ghost{ background: transparent; color: var(--cream); border: 1px solid var(--line); }

#hb-stage .sg-auto-opts{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 0.8rem 0; }

#hb-stage .sg-auto-opt{ font: inherit; cursor: pointer; background: var(--ink-3); color: var(--cream); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.7rem; min-height: 46px; }

#hb-stage .sg-auto-opt:hover{ border-color: var(--amber); }

#hb-stage .sg-sum{ list-style: none; padding: 0; margin: 0.6rem 0; font-size: var(--fs-s); }

#hb-stage .sg-sum li{ display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 0.3rem 0; }

#hb-stage .sg-sum span{ color: var(--muted); }

#hb-stage .sg-sum strong{ font-variant-numeric: tabular-nums; }

#hb-stage .sg-sum-note{ font-size: var(--fs-xs); }

#hb-stage .sg-cta{ display: block; text-align: center; background: var(--teal); color: #06201d; font-weight: 800; border-radius: 999px; padding: 0.7rem 1.2rem; margin-top: 0.8rem; text-decoration: none; }

#hb-stage .sg-cta:hover{ filter: brightness(1.1); text-decoration: none; }

#hb-stage .sg-cta-note{ font-size: var(--fs-xs); color: var(--muted); text-align: center; margin: 0.4rem 0 0; }

