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



#hb-stage{
  --paper: #f4f6f8;
  --paper-2: #eaeef2;
  --surface: #ffffff;
  --line: #dfe5ea;
  --line-2: #eef2f5;
  --ink: #10202e;
  --ink-2: #35485a;
  --mut: #61738333;
  --muted: #5f7183;
  --felt: #0f7a63;
  --felt-d: #0a5c4a;
  --felt-l: #e6f4f0;
  --amber: #a35a08;
  --amber-l: #fdf3e6;
  --red: #b3202f;
  --ok: #1a7f4b;

  --r: 12px;
  --r-lg: 18px;
  --sh: 0 1px 2px rgba(16, 32, 46, .06), 0 4px 14px rgba(16, 32, 46, .05);
  --sh-2: 0 2px 6px rgba(16, 32, 46, .08), 0 14px 34px rgba(16, 32, 46, .09);
  --wrap: 1080px;
  --fs: 16px;
}


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

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

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

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

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


}


#hb-stage{
  margin: 0;
  font-family: var(--hb-font), "Tahoma", system-ui, sans-serif;
  font-size: var(--fs);
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  background-image:
    linear-gradient(to left, rgba(16, 32, 46, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 32, 46, .035) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
}


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

#hb-stage h1{ font-size: clamp(1.65rem, 5vw, 2.5rem); }

#hb-stage h2{ font-size: clamp(1.3rem, 3.6vw, 1.75rem); }

#hb-stage h3{ font-size: 1.12rem; }

#hb-stage h4{ font-size: 1rem; }

#hb-stage p{ margin: 0 0 1rem; }

#hb-stage ul, #hb-stage ol{ margin: 0 0 1rem; padding-inline-start: 1.3rem; }

#hb-stage li{ margin-bottom: .35rem; }

#hb-stage a{ color: var(--felt-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }

#hb-stage a:hover{ color: var(--felt); }

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

#hb-stage small, #hb-stage .sm{ font-size: .87rem; }

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

#hb-stage .unset{ color: var(--muted); font-size: .87em; font-style: normal; }

#hb-stage strong, #hb-stage b{ font-weight: 800; }

#hb-stage code, #hb-stage .tnum{ font-variant-numeric: tabular-nums; }


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



#hb-stage .skip{
  position: absolute; inset-inline-start: 0; top: -60px; z-index: 99;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r) 0;
}

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

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


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

#hb-stage .sec{ margin-block: 2.6rem; }

#hb-stage .mt{ margin-top: 1rem; }

#hb-stage .mb0{ margin-bottom: 0; }

#hb-stage .row{ display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }



#hb-stage .hd{
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(1.6) blur(8px);
  border-bottom: 1px solid var(--line);
}

#hb-stage .hd-in{ display: flex; align-items: center; gap: .8rem; min-height: 62px; }

#hb-stage .brand{ display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }

#hb-stage .brand img{ width: 40px; height: 40px; }

#hb-stage .brand-txt{ display: grid; line-height: 1.25; }

#hb-stage .brand-txt b{ font-size: 1.02rem; font-weight: 800; }

#hb-stage .brand-txt i{ font-style: normal; font-size: .74rem; color: var(--muted); }

#hb-stage .hd-nav{ display: none; margin-inline-start: auto; gap: .15rem; }

#hb-stage .hd-nav a{
  color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 600;
  padding: .45rem .6rem; border-radius: 8px;
}

#hb-stage .hd-nav a:hover{ background: var(--felt-l); color: var(--felt-d); }

#hb-stage .hd-nav a[aria-current="page"]{ color: var(--felt-d); background: var(--felt-l); }


#hb-stage .hd .hd-cta{ display: none; }

#hb-stage .hd-tog{
  margin-inline-start: auto; width: 42px; height: 42px; display: grid; place-content: center; gap: 4px;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}

#hb-stage .hd-tog span{ display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

#hb-stage .drawer{ border-top: 1px solid var(--line); background: #fff; }

#hb-stage .drawer ul{ list-style: none; margin: 0; padding: .5rem 0 1rem; display: grid; gap: .1rem; }

#hb-stage .drawer a{
  display: block; padding: .65rem .4rem; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-2); font-weight: 600;
}

#hb-stage .drawer a[aria-current="page"]{ color: var(--felt-d); }


@media (min-width: 900px){

  #hb-stage .hd-nav{ display: flex; }

  #hb-stage .hd .hd-cta{ display: inline-flex; }

  #hb-stage .hd-tog{ display: none; }

  #hb-stage .drawer{ display: none !important; }


}



#hb-stage .trail{ border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .6); }

#hb-stage .trail ol{ list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: .5rem 0; font-size: .82rem; }

#hb-stage .trail li + li::before{ content: "‹"; color: var(--muted); margin-inline-end: .35rem; }

#hb-stage .trail a{ color: var(--muted); text-decoration: none; }

#hb-stage .trail a:hover{ color: var(--felt-d); text-decoration: underline; }

#hb-stage .trail [aria-current="page"]{ color: var(--ink); font-weight: 600; }



#hb-stage .btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: .55rem 1.1rem; border-radius: 10px;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s;
}

#hb-stage .btn:hover{ transform: translateY(-1px); }

#hb-stage .btn:active{ transform: none; }

#hb-stage .btn-go{ background: var(--felt); color: #fff; box-shadow: 0 2px 8px rgba(15, 122, 99, .3); }

#hb-stage .btn-go:hover{ background: var(--felt-d); color: #fff; }

#hb-stage .btn-line{ background: #fff; color: var(--ink); border-color: var(--line); }

#hb-stage .btn-line:hover{ border-color: var(--felt); color: var(--felt-d); }

#hb-stage .btn-amber{ background: var(--amber); color: #fff; }

#hb-stage .btn-amber:hover{ background: #8a4b06; color: #fff; }

#hb-stage .btn-sm{ min-height: 38px; padding: .35rem .8rem; font-size: .87rem; }

#hb-stage .btn-lg{ min-height: 52px; padding: .7rem 1.6rem; font-size: 1.05rem; }



#hb-stage .sec-h{ display: grid; gap: .1rem; margin-bottom: 1.1rem; }

#hb-stage .sec-kicker{
  display: block; font-size: .68rem; font-weight: 800; letter-spacing: .18em;
  color: var(--felt); text-transform: uppercase;
}

#hb-stage .lead{ font-size: 1.07rem; color: var(--ink-2); }



#hb-stage .box{
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.2rem; box-shadow: var(--sh);
}

#hb-stage .box + .box{ margin-top: 1rem; }

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

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

@media (min-width: 880px){

  #hb-stage .grid.g3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

  #hb-stage .grid.g4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }


}


#hb-stage .note{
  display: grid; gap: .2rem; padding: .85rem 1rem; border-radius: var(--r);
  background: var(--felt-l); border: 1px solid rgba(15, 122, 99, .28);
  border-inline-start: 4px solid var(--felt); margin: 1rem 0; font-size: .93rem;
}

#hb-stage .note b{ color: var(--felt-d); }

#hb-stage .note.warn{ background: var(--amber-l); border-color: rgba(163, 90, 8, .3); border-inline-start-color: var(--amber); }

#hb-stage .note.warn b{ color: var(--amber); }

#hb-stage .note.plain{ background: var(--paper-2); border-color: var(--line); border-inline-start-color: var(--muted); }

#hb-stage .note.plain b{ color: var(--ink); }



#hb-stage .rules{ display: grid; gap: .8rem; counter-reset: rc; }

#hb-stage .rule{
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1rem 1rem 1rem 1rem; padding-inline-start: 3.2rem;
}

#hb-stage .rule::before{
  counter-increment: rc; content: counter(rc);
  position: absolute; inset-inline-start: .9rem; top: 1rem;
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--felt); color: #fff; font-weight: 800; font-size: .85rem;
  font-variant-numeric: tabular-nums;
}

#hb-stage .rule h3{ margin-bottom: .25rem; font-size: 1.02rem; }

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



#hb-stage .byline{
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center;
  font-size: .82rem; color: var(--muted);
  border-block: 1px solid var(--line); padding: .6rem 0; margin: 0 0 1.4rem;
}

#hb-stage .byline .ed{ font-weight: 700; color: var(--ink-2); }



#hb-stage .art{ display: grid; gap: 1.6rem; margin-block: 1.8rem 2.6rem; }

@media (min-width: 940px){

  #hb-stage .art{ grid-template-columns: 250px minmax(0, 1fr); align-items: start; }

  #hb-stage .art > .toc{ position: sticky; top: 80px; }


}

#hb-stage .toc{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: .9rem 1rem; font-size: .9rem;
}

#hb-stage .toc h2{ font-size: .78rem; letter-spacing: .14em; color: var(--felt); text-transform: uppercase; margin-bottom: .5rem; }

#hb-stage .toc ol{ margin: 0; padding-inline-start: 1.1rem; }

#hb-stage .toc li{ margin-bottom: .3rem; }

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

#hb-stage .toc a:hover{ color: var(--felt-d); text-decoration: underline; }


#hb-stage .prose h2{ margin-top: 2rem; scroll-margin-top: 84px; }

#hb-stage .prose h2:first-child{ margin-top: 0; }

#hb-stage .prose h3{ margin-top: 1.4rem; scroll-margin-top: 84px; }

#hb-stage .prose > p:first-of-type{ font-size: 1.06rem; }

#hb-stage .prose table{ width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .93rem; }

#hb-stage .prose th, #hb-stage .prose td{ border: 1px solid var(--line); padding: .55rem .7rem; text-align: start; }

#hb-stage .prose th{ background: var(--paper-2); font-weight: 700; }

#hb-stage .prose blockquote{
  margin: 1rem 0; padding: .2rem 1rem; border-inline-start: 3px solid var(--felt);
  color: var(--ink-2); background: var(--felt-l); border-radius: 0 var(--r) var(--r) 0;
}



#hb-stage .tw{ overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }

#hb-stage .tbl{
  width: 100%; min-width: 620px; border-collapse: collapse; background: var(--surface);
  font-size: .92rem; box-shadow: var(--sh); border-radius: var(--r-lg); overflow: hidden;
}

#hb-stage .tbl caption{ caption-side: bottom; text-align: start; padding: .6rem .2rem 0; font-size: .8rem; color: var(--muted); }

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

#hb-stage .tbl thead th{ background: var(--paper-2); font-size: .8rem; font-weight: 800; color: var(--ink-2); white-space: nowrap; border-bottom: 1px solid var(--line); }

#hb-stage .tbl tbody tr:last-child td{ border-bottom: 0; }

#hb-stage .tbl tbody tr:hover{ background: #fafcfd; }

#hb-stage .tbl .num{ width: 44px; }

#hb-stage .tbl .cw{ min-width: 190px; }

#hb-stage .rnk{
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
  background: var(--paper-2); color: var(--ink-2); font-weight: 800; font-size: .82rem;
  font-variant-numeric: tabular-nums;
}

#hb-stage tr:nth-child(1) .rnk{ background: var(--felt); color: #fff; }

#hb-stage tr:nth-child(2) .rnk, #hb-stage tr:nth-child(3) .rnk{ background: var(--felt-l); color: var(--felt-d); }

#hb-stage .bcell{ display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }

#hb-stage .bcell b{ font-size: .93rem; }

#hb-stage .sort-btn{ background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 0; display: inline-flex; gap: .25rem; align-items: center; }

#hb-stage .sort-btn:hover{ color: var(--felt-d); }


@media (max-width: 700px){

  #hb-stage .tbl{ min-width: 0; display: block; box-shadow: none; background: none; }

  #hb-stage .tbl thead{ display: none; }

  #hb-stage .tbl tbody, #hb-stage .tbl tr, #hb-stage .tbl td{ display: block; }

  #hb-stage .tbl tr{
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    margin-bottom: .7rem; padding: .7rem .85rem; box-shadow: var(--sh);
  }

  #hb-stage .tbl td{ border: 0; padding: .28rem 0; display: flex; justify-content: space-between; align-items: center; gap: .8rem; }

  #hb-stage .tbl td::before{ content: attr(data-th); font-size: .82rem; color: var(--muted); font-weight: 600; }

  #hb-stage .tbl td.cw, #hb-stage .tbl td.num{ display: inline-flex; }

  #hb-stage .tbl td.num{ padding-inline-end: .6rem; }

  #hb-stage .tbl td.cw::before, #hb-stage .tbl td.num::before{ content: none; }

  
  #hb-stage .tbl caption{ display: block; width: 100%; caption-side: top; padding: 0 0 .6rem; text-align: start; }


}



#hb-stage .logo{
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 66px; height: 40px; padding: 4px 6px;
  background: #16202b; border-radius: 8px; border: 1px solid #22303e;
}

#hb-stage .logo img{ max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

#hb-stage .logo.lg{ width: 108px; height: 62px; padding: 6px 9px; border-radius: 10px; }



#hb-stage .chip{
  display: inline-grid; place-items: center; line-height: 1.15;
  background: var(--felt); color: #fff; border-radius: 10px; padding: .3rem .55rem; min-width: 54px;
}

#hb-stage .chip b{ font-size: 1.12rem; font-weight: 800; font-variant-numeric: tabular-nums; }

#hb-stage .chip i{ font-style: normal; font-size: .6rem; opacity: .85; }

#hb-stage .chip.sm{ padding: .22rem .45rem; min-width: 46px; }

#hb-stage .chip.sm b{ font-size: .95rem; }

#hb-stage .chip.lg{ padding: .5rem .9rem; min-width: 76px; border-radius: 12px; }

#hb-stage .chip.lg b{ font-size: 1.7rem; }


#hb-stage .meter{ display: inline-flex; align-items: center; gap: .4rem; min-width: 92px; }

#hb-stage .meter .bar{ flex: 1; height: 6px; background: var(--paper-2); border-radius: 99px; overflow: hidden; min-width: 44px; }

#hb-stage .meter .bar > span{ display: block; height: 100%; background: var(--felt); border-radius: 99px; }

#hb-stage .meter b{ font-size: .85rem; font-variant-numeric: tabular-nums; color: var(--ink-2); }


#hb-stage .stars{ color: var(--amber); letter-spacing: -1px; font-size: .95rem; white-space: nowrap; }

#hb-stage .stars .off{ color: #d6dde3; }



#hb-stage .bcard{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.1rem; box-shadow: var(--sh); display: grid; gap: .8rem;
}

#hb-stage .bcard-h{ display: grid; grid-template-columns: auto auto 1fr auto; gap: .7rem; align-items: center; }

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

#hb-stage .bcard-h h3 a{ text-decoration: none; color: var(--ink); }

#hb-stage .bcard-h h3 a:hover{ color: var(--felt-d); }

#hb-stage .bcard-h p{ margin: 0; font-size: .82rem; }

#hb-stage .bcard-n{
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: .88rem; font-variant-numeric: tabular-nums;
}

#hb-stage .bcard-m{ display: grid; gap: .35rem; padding: .6rem .7rem; background: var(--paper); border-radius: var(--r); }

#hb-stage .bcard-m > div{ display: grid; grid-template-columns: 8.5rem 1fr; gap: .5rem; align-items: center; font-size: .85rem; }

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

#hb-stage .bcard-v{ margin: 0; font-size: .93rem; color: var(--ink-2); }

@media (max-width: 520px){

  #hb-stage .bcard-h{ grid-template-columns: auto auto 1fr; }

  #hb-stage .bcard-h > .chip{ grid-column: 3; justify-self: end; }


}



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

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

#hb-stage .nextgrid a{
  display: grid; gap: .15rem; padding: .85rem 1rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .15s, transform .12s;
}

#hb-stage .nextgrid a:hover{ border-color: var(--felt); transform: translateY(-2px); }

#hb-stage .nextgrid b{ color: var(--ink); font-size: .98rem; }

#hb-stage .nextgrid span{ color: var(--muted); font-size: .85rem; }



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

#hb-stage .qa details{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}

#hb-stage .qa summary{
  cursor: pointer; padding: .85rem 1rem; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: .8rem;
}

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

#hb-stage .qa summary::after{ content: "+"; color: var(--felt); font-size: 1.3rem; font-weight: 400; line-height: 1; }

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

#hb-stage .qa .ans{ padding: 0 1rem 1rem; color: var(--ink-2); font-size: .95rem; }

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



#hb-stage .fields{ display: grid; gap: .9rem; margin-top: .9rem; }

@media (min-width: 620px){
 #hb-stage .fields{ grid-template-columns: 1fr 1fr; }
 #hb-stage .fields.one{ grid-template-columns: 1fr; }
 
}

#hb-stage .lb{ display: block; font-weight: 700; font-size: .88rem; margin-bottom: .3rem; }

#hb-stage .inp{
  width: 100%; font: inherit; font-size: .95rem; padding: .6rem .8rem; min-height: 44px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}

#hb-stage .inp:focus{ border-color: var(--felt); }

#hb-stage textarea.inp{ min-height: 120px; resize: vertical; line-height: 1.7; }

#hb-stage .hint{ font-size: .78rem; color: var(--muted); margin: .3rem 0 0; }

#hb-stage .rating-in{ display: flex; gap: .1rem; }

#hb-stage .rating-in .st{
  background: none; border: 0; cursor: pointer; font-size: 1.7rem; line-height: 1;
  color: #d6dde3; padding: .1rem .15rem; min-height: 44px;
}

#hb-stage .rating-in .st.on{ color: var(--amber); }

#hb-stage .formmsg{ margin-top: .8rem; padding: .7rem .9rem; border-radius: var(--r); font-size: .9rem; background: var(--amber-l); border: 1px solid rgba(163, 90, 8, .3); }

#hb-stage .formmsg.ok{ background: #e8f6ee; border-color: rgba(26, 127, 75, .3); color: #135c37; }



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

#hb-stage .op{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; }

#hb-stage .op-h{ display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; margin-bottom: .35rem; }

#hb-stage .op-h b{ font-size: .93rem; }

#hb-stage .op-h time{ color: var(--muted); margin-inline-start: auto; }

#hb-stage .op p{ margin: 0; font-size: .93rem; color: var(--ink-2); }

#hb-stage .hold{ background: var(--amber-l); color: var(--amber); border: 1px solid rgba(163, 90, 8, .3); border-radius: 99px; padding: .05rem .5rem; font-size: .74rem; font-weight: 700; }

#hb-stage .seedtag{ background: var(--paper-2); color: var(--muted); border-radius: 99px; padding: .05rem .5rem; font-size: .72rem; }



#hb-stage .pc{
  display: inline-grid; place-items: center; position: relative;
  width: 34px; height: 48px; border-radius: 6px; background: #fffdf6;
  border: 1px solid #d8cfb8; box-shadow: 0 1px 3px rgba(16, 32, 46, .18);
  color: #17140f; font-weight: 700; line-height: 1; vertical-align: middle; margin: 2px;
  font-variant-numeric: lining-nums;
}

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

#hb-stage .pc-c{ font-size: .82rem; }

#hb-stage .pc-s{ font-size: .82rem; }

#hb-stage .pc.pc-m{ width: 44px; height: 62px; }

#hb-stage .pc.pc-m .pc-c, #hb-stage .pc.pc-m .pc-s{ font-size: 1rem; }

#hb-stage .pc.pc-l{ width: 56px; height: 78px; }

#hb-stage .pc.pc-l .pc-c{ font-size: 1.15rem; }

#hb-stage .pc.pc-l .pc-s{ font-size: 1.3rem; }

#hb-stage .cardrow{ display: flex; flex-wrap: wrap; gap: .1rem; align-items: center; margin: .6rem 0; }



#hb-stage .ft{ margin-top: 3rem; background: #101d28; color: #c9d6e0; border-top: 4px solid var(--felt); }

#hb-stage .ft a{ color: #cfe3dc; text-decoration: none; }

#hb-stage .ft a:hover{ color: #fff; text-decoration: underline; }

#hb-stage .ft .brand{ color: #fff; }

#hb-stage .ft .brand-txt i{ color: #8fa5b5; }

#hb-stage .ft-grid{ display: grid; gap: 1.6rem; padding: 2.2rem 0 1.4rem; }

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

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

#hb-stage .ft-intro p{ font-size: .88rem; color: #93a8b8; margin-top: .7rem; }

#hb-stage .ft-col h2{ font-size: .82rem; letter-spacing: .1em; color: #fff; text-transform: uppercase; margin-bottom: .6rem; }

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

#hb-stage .ft-col li{ margin-bottom: .35rem; font-size: .87rem; }

#hb-stage .ft-warn{ display: flex; gap: .8rem; align-items: flex-start; border-top: 1px solid #1e2d3a; padding: 1rem 0; }

#hb-stage .ft-warn p{ margin: 0; font-size: .82rem; color: #8fa5b5; }

#hb-stage .age{ flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #c0524f; color: #e58d8a; font-weight: 800; font-size: .78rem; }

#hb-stage .ft-end{ display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; border-top: 1px solid #1e2d3a; padding: .9rem 0; font-size: .8rem; color: #7e93a3; }



#hb-stage .game{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); overflow: hidden; margin-block: 1.2rem;
}

#hb-stage .game-load{ padding: 2.4rem 1.2rem; text-align: center; }

#hb-stage .game-load p{ margin: 0 0 .4rem; }


#hb-stage .g-bar{
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--paper);
}

#hb-stage .g-bar .g-sp{ margin-inline-start: auto; }

#hb-stage .g-ib{
  min-width: 40px; min-height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer;
  font-size: 1rem; color: var(--ink-2);
}

#hb-stage .g-ib:hover{ border-color: var(--felt); color: var(--felt-d); }

#hb-stage .g-tag{
  display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem;
  background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: .25rem .7rem; color: var(--ink-2);
}

#hb-stage .g-tag b{ color: var(--felt-d); }


#hb-stage .g-score{ display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; padding: .7rem .9rem; background: var(--paper); border-bottom: 1px solid var(--line); }

#hb-stage .g-sc{ background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .45rem .6rem; text-align: center; }

#hb-stage .g-sc.ns{ border-color: rgba(15, 122, 99, .45); }

#hb-stage .g-sc.ew{ border-color: rgba(179, 32, 47, .35); }

#hb-stage .g-sc .l{ font-size: .7rem; color: var(--muted); display: block; }

#hb-stage .g-sc .v{ font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; display: block; line-height: 1.2; }

#hb-stage .g-sc .s{ font-size: .7rem; color: var(--ink-2); display: block; }

#hb-stage .g-sc.ns .v{ color: var(--felt-d); }

#hb-stage .g-sc.ew .v{ color: var(--red); }


#hb-stage .g-main{ display: grid; gap: 0; }

@media (min-width: 960px){
 #hb-stage .g-main{ grid-template-columns: minmax(0, 1fr) 240px; }
 
}


#hb-stage .g-felt{
  position: relative; padding: .8rem;
  background:
    radial-gradient(120% 90% at 50% 42%, #17997c 0%, #0f7a63 55%, #0a5c4a 100%);
  background-color: #0f7a63;
  display: grid; gap: .4rem;
  grid-template-columns: 1fr 1.5fr 1fr;
  grid-template-areas: ". n ." "w c e" ". s .";
  min-height: 330px;
}

#hb-stage .g-felt::before{
  content: ""; position: absolute; inset: 8px; border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, .22); pointer-events: none;
}

#hb-stage .seat-n{ grid-area: n; }
 #hb-stage .seat-e{ grid-area: e; }
 #hb-stage .seat-w{ grid-area: w; }
 #hb-stage .seat-s{ grid-area: s; }

#hb-stage .g-center{ grid-area: c; display: grid; place-items: center; position: relative; min-height: 150px; }


@media (max-width: 620px){

  #hb-stage .g-felt{ grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "w n e" "c c c" "s s s"; min-height: 0; }


}


#hb-stage .seat{ display: grid; justify-items: center; gap: .25rem; align-content: center; }

#hb-stage .seat-tag{
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  background: rgba(6, 40, 32, .55); color: #eaf6f2; border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 99px; padding: .2rem .6rem; font-size: .76rem; font-weight: 700;
}

#hb-stage .seat-tag.ns{ border-color: rgba(190, 240, 220, .55); }

#hb-stage .seat-tag.ew{ border-color: rgba(255, 190, 190, .5); }

#hb-stage .seat-tag.turn{ box-shadow: 0 0 0 2px #ffd479; }

#hb-stage .crown{ color: #ffd479; }

#hb-stage .seat-n2{ font-size: .7rem; color: rgba(234, 246, 242, .8); min-height: 1em; }

#hb-stage .mini{ display: flex; }

#hb-stage .mini i{
  display: block; width: 20px; height: 29px; border-radius: 4px; margin-inline-start: -11px;
  background: linear-gradient(135deg, #0b3d2e, #072a20); border: 1px solid rgba(255, 212, 121, .5);
}

#hb-stage .mini i:first-child{ margin-inline-start: 0; }


#hb-stage .g-trick{ display: grid; grid-template-columns: repeat(3, 1fr); grid-template-areas: ". tn ." "tw . te" ". ts ."; gap: .15rem; place-items: center; }

#hb-stage .g-trick > div{ min-width: 40px; min-height: 56px; display: grid; place-items: center; }

#hb-stage .t-n{ grid-area: tn; }
 #hb-stage .t-e{ grid-area: te; }
 #hb-stage .t-s{ grid-area: ts; }
 #hb-stage .t-w{ grid-area: tw; }

#hb-stage .g-trump{
  position: absolute; top: -2px; inset-inline-end: -2px;
  background: rgba(6, 40, 32, .72); color: #ffe6a8; border: 1px solid rgba(255, 212, 121, .6);
  border-radius: 99px; padding: .15rem .6rem; font-size: .74rem; font-weight: 800;
}

#hb-stage .g-empty{ color: rgba(234, 246, 242, .75); font-size: .85rem; text-align: center; padding: 1rem .5rem; }



#hb-stage .g-side{ border-inline-start: 1px solid var(--line); background: var(--paper); padding: .8rem; display: grid; gap: .7rem; align-content: start; }

@media (max-width: 959px){
 #hb-stage .g-side{ border-inline-start: 0; border-top: 1px solid var(--line); }
 
}

#hb-stage .g-side h3{ font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--felt); margin: 0 0 .3rem; }

#hb-stage .g-log{ display: grid; gap: .25rem; max-height: 190px; overflow-y: auto; font-size: .8rem; }

#hb-stage .g-log div{ display: flex; gap: .4rem; align-items: center; padding: .25rem .4rem; background: #fff; border: 1px solid var(--line-2); border-radius: 7px; }

#hb-stage .g-log .w{ margin-inline-start: auto; font-weight: 700; color: var(--felt-d); font-size: .76rem; }

#hb-stage .g-side .kv{ display: flex; justify-content: space-between; font-size: .82rem; padding: .2rem 0; border-bottom: 1px dashed var(--line); }

#hb-stage .g-side .kv:last-child{ border-bottom: 0; }

#hb-stage .g-side .kv b{ font-variant-numeric: tabular-nums; }


#hb-stage .g-hand{ padding: .9rem; border-top: 1px solid var(--line); }

#hb-stage .g-msg{ text-align: center; font-weight: 700; min-height: 1.6em; margin: 0 0 .6rem; color: var(--ink); }

#hb-stage .g-msg.warn{ color: var(--red); font-weight: 600; font-size: .9rem; }

#hb-stage .g-cards{ display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; gap: .25rem; }

#hb-stage .g-cards.fan{ flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .5rem; }

#hb-stage .gc{
  position: relative; flex: 0 0 auto; width: 50px; height: 72px; border-radius: 8px;
  background: #fffdf6; border: 1px solid #d8cfb8; box-shadow: 0 2px 5px rgba(16, 32, 46, .2);
  display: grid; place-items: center; cursor: default; padding: 0;
  color: #17140f; font-family: inherit; font-weight: 700; line-height: 1;
  transition: transform .12s, box-shadow .12s;
}

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

#hb-stage .gc .r{ font-size: 1rem; font-variant-numeric: lining-nums; }

#hb-stage .gc .s{ font-size: 1.15rem; }

#hb-stage .gc.play{ cursor: pointer; box-shadow: 0 0 0 2px rgba(15, 122, 99, .85), 0 3px 8px rgba(16, 32, 46, .25); }

#hb-stage .gc.play:hover{ transform: translateY(-9px); }

#hb-stage .gc.dim{ opacity: .42; cursor: not-allowed; filter: grayscale(.4); }

#hb-stage .gc.tr::after{ content: ""; position: absolute; inset: 0; border-radius: 8px; box-shadow: inset 0 0 0 2px #d9a441; pointer-events: none; }

#hb-stage .gc.sm{ width: 40px; height: 58px; }

#hb-stage .gc.sm .r{ font-size: .84rem; }
 #hb-stage .gc.sm .s{ font-size: .95rem; }

@media (max-width: 420px){
 #hb-stage .gc{ width: 44px; height: 64px; }
 
}


#hb-stage .trumpsel{ display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: .9rem; }

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

#hb-stage .tsel{
  display: grid; place-items: center; gap: .2rem; padding: .8rem .4rem; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); font: inherit; font-weight: 700;
  min-height: 44px; color: var(--ink);
}

#hb-stage .tsel:hover{ border-color: var(--felt); background: var(--felt-l); }

#hb-stage .tsel .sym{ font-size: 1.7rem; line-height: 1; }

#hb-stage .tsel.red .sym{ color: var(--red); }

#hb-stage .tsel .cnt{ font-size: .74rem; color: var(--muted); font-weight: 600; }


#hb-stage .g-menu{ padding: 1.1rem; display: grid; gap: .9rem; }

#hb-stage .g-modes{ display: grid; gap: .7rem; }

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

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

#hb-stage .g-mode:hover{ border-color: var(--felt); background: var(--felt-l); }

#hb-stage .g-mode b{ font-size: 1rem; }

#hb-stage .g-mode span{ font-size: .85rem; color: var(--muted); }

#hb-stage .g-opts{ display: grid; gap: .7rem; }

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

#hb-stage .g-opt{ display: grid; gap: .25rem; font-size: .85rem; }

#hb-stage .g-opt select{ font: inherit; font-size: .9rem; min-height: 44px; padding: .4rem .6rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); }



#hb-stage .g-modal{ position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1rem; background: rgba(16, 32, 46, .55); }

#hb-stage .g-modal-in{ background: #fff; border-radius: var(--r-lg); padding: 1.4rem; max-width: 420px; width: 100%; box-shadow: var(--sh-2); text-align: center; }

#hb-stage .g-modal h2{ margin-bottom: .3rem; }

#hb-stage .g-modal .res{ font-size: 2.2rem; line-height: 1; margin-bottom: .3rem; }



#hb-stage .tool{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; box-shadow: var(--sh); scroll-margin-top: 84px; }

#hb-stage .tool + .tool{ margin-top: 1.2rem; }

#hb-stage .tool h2{ display: flex; align-items: center; gap: .5rem; }

#hb-stage .tool .tno{
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  background: var(--felt); color: #fff; font-size: .85rem; font-weight: 800; font-variant-numeric: tabular-nums;
}



#hb-stage .sc-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0; }

#hb-stage .sc-team{ border: 1px solid var(--line); border-radius: var(--r); padding: .8rem; text-align: center; background: var(--paper); }

#hb-stage .sc-team.a{ border-color: rgba(15, 122, 99, .4); }

#hb-stage .sc-team.b{ border-color: rgba(179, 32, 47, .3); }

#hb-stage .sc-team .nm{ font-size: .85rem; color: var(--muted); }

#hb-stage .sc-team .pts{ font-size: 2.4rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }

#hb-stage .sc-team.a .pts{ color: var(--felt-d); }

#hb-stage .sc-team.b .pts{ color: var(--red); }

#hb-stage .sc-btns{ display: flex; gap: .35rem; justify-content: center; flex-wrap: wrap; margin-top: .5rem; }

#hb-stage .sc-hist{ display: grid; gap: .3rem; margin-top: .8rem; font-size: .85rem; max-height: 200px; overflow-y: auto; }

#hb-stage .sc-hist div{ display: flex; gap: .5rem; padding: .3rem .6rem; background: var(--paper); border-radius: 7px; }

#hb-stage .sc-hist .t{ margin-inline-start: auto; color: var(--muted); font-size: .8rem; }



#hb-stage .ord-suits{ display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .8rem; }

#hb-stage .ord-suits button{
  font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; min-height: 40px;
  padding: .35rem .8rem; border: 1px solid var(--line); background: #fff; border-radius: 99px; color: var(--ink);
}

#hb-stage .ord-suits button[aria-pressed="true"]{ background: var(--felt); color: #fff; border-color: var(--felt); }

#hb-stage .ord-suits button.red[aria-pressed="false"] .sy{ color: var(--red); }

#hb-stage .ord-line{ display: flex; flex-wrap: wrap; gap: .2rem; align-items: flex-end; }

#hb-stage .ord-card{ display: grid; justify-items: center; gap: .2rem; }

#hb-stage .ord-card .lbl{ font-size: .68rem; color: var(--muted); }

#hb-stage .ord-note{ margin-top: .8rem; }



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

@media (min-width: 760px){
 #hb-stage .rx{ grid-template-columns: 220px minmax(0, 1fr); }
 
}

#hb-stage .rx-nav{ display: grid; gap: .3rem; align-content: start; }

#hb-stage .rx-nav button{
  font: inherit; text-align: start; cursor: pointer; padding: .55rem .8rem; min-height: 44px;
  border: 1px solid var(--line); background: #fff; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--ink);
}

#hb-stage .rx-nav button[aria-selected="true"]{ background: var(--felt); color: #fff; border-color: var(--felt); }

#hb-stage .rx-body{ background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }

#hb-stage .rx-body h3{ margin-top: 0; }

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



#hb-stage .hero{ padding: 2rem 0 1rem; }

#hb-stage .hero-in{ display: grid; gap: 1.4rem; }

@media (min-width: 900px){
 #hb-stage .hero-in{ grid-template-columns: 1.05fr .95fr; align-items: center; }
 
}

#hb-stage .hero h1{ margin-bottom: .7rem; }

#hb-stage .hero p{ font-size: 1.05rem; color: var(--ink-2); }

#hb-stage .hero .row{ margin-top: 1.1rem; }

#hb-stage .kicker{
  display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; color: var(--felt-d); background: var(--felt-l);
  border: 1px solid rgba(15, 122, 99, .25); border-radius: 99px; padding: .25rem .8rem; margin-bottom: .8rem;
}

#hb-stage .facts{ display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.2rem; }

#hb-stage .fact{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .6rem; text-align: center; }

#hb-stage .fact b{ display: block; font-size: 1.35rem; font-weight: 800; color: var(--felt-d); font-variant-numeric: tabular-nums; }

#hb-stage .fact span{ font-size: .76rem; color: var(--muted); }


#hb-stage .hero-art{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.1rem; box-shadow: var(--sh-2);
}

#hb-stage .hero-art h2{ font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--felt); }



#hb-stage .pillrow{ display: flex; flex-wrap: wrap; gap: .4rem; }

#hb-stage .pill{ background: var(--paper-2); border-radius: 99px; padding: .2rem .7rem; font-size: .8rem; color: var(--ink-2); }

#hb-stage .pill.on{ background: var(--felt-l); color: var(--felt-d); }

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

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

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

#hb-stage .prosc li{ position: relative; padding-inline-start: 1.5rem; margin-bottom: .5rem; font-size: .93rem; }

#hb-stage .prosc li::before{ position: absolute; inset-inline-start: 0; font-weight: 800; }

#hb-stage .pro li::before{ content: "✓"; color: var(--ok); }

#hb-stage .con li::before{ content: "✕"; color: var(--red); }

#hb-stage .pro h3{ color: var(--ok); }

#hb-stage .con h3{ color: var(--red); }

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

#hb-stage .crit-row{ display: grid; grid-template-columns: 9.5rem 1fr auto; gap: .6rem; align-items: center; font-size: .9rem; }

#hb-stage .crit-row .w{ font-size: .76rem; color: var(--muted); }

@media (max-width: 480px){
 #hb-stage .crit-row{ grid-template-columns: 7.5rem 1fr auto; font-size: .84rem; }
 
}

#hb-stage .cta-band{
  background: linear-gradient(140deg, #0f7a63, #0a5c4a); color: #fff;
  border-radius: var(--r-lg); padding: 1.4rem; display: grid; gap: .8rem; margin-block: 2rem;
}

#hb-stage .cta-band h2{ color: #fff; margin: 0; }

#hb-stage .cta-band p{ margin: 0; color: #d6efe8; }

#hb-stage .cta-band .btn-line{ background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }

#hb-stage .cta-band .btn-line:hover{ background: rgba(255, 255, 255, .2); color: #fff; }

@media (min-width: 760px){
 #hb-stage .cta-band{ grid-template-columns: 1fr auto; align-items: center; }
 
}

