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




#jb-stage{
  /* رنگ پایه */
  --paper: #fbf8f3;
  --paper-2: #f4efe6;
  --surface: #ffffff;
  --ink: #191512;
  --ink-2: #4a423b;
  --ink-3: #7a6f65;
  --line: #e2d9cb;
  --line-2: #cfc3b1;

  /* لهجه */
  --green: #0b5d46;
  --green-dark: #084535;
  --green-soft: #e6f1ec;
  --brass: #a9762b;
  --brass-soft: #f7eede;

  /* معنایی */
  --player: #2c5f8d;
  --banker: #a32d33;
  --tie: #0f7a5a;
  --pos: #12704f;
  --neg: #b0322f;
  --warn-bg: #fdf3e0;
  --warn-line: #e6c98a;
  --warn-ink: #7a5514;

  /* تایپوگرافی */
  --f-xs: 0.78rem;
  --f-sm: 0.875rem;
  --f-base: 1rem;
  --f-lg: 1.125rem;
  --f-xl: 1.375rem;
  --f-2xl: 1.75rem;
  --f-3xl: 2.25rem;

  /* شکل */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --sh-1: 0 1px 2px rgba(25, 21, 18, 0.06), 0 2px 8px rgba(25, 21, 18, 0.05);
  --sh-2: 0 6px 24px rgba(25, 21, 18, 0.1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* چیدمان */
  --wrap: 1140px;
  --wrap-narrow: 760px;
  --gutter: 1.15rem;
}



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

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

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

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

  #jb-stage,#jb-stage *, #jb-stage *::before, #jb-stage *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }


}

#jb-stage{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--hb-font), system-ui, "Segoe UI", Tahoma, sans-serif;
  font-size: var(--f-base);
  line-height: 1.85;
  font-feature-settings: "ss01";
  overflow-x: hidden;
}

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

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

#jb-stage h1{ font-size: var(--f-3xl); line-height: 1.25; }

#jb-stage h2{ font-size: var(--f-2xl); line-height: 1.3; }

#jb-stage h3{ font-size: var(--f-xl); }

#jb-stage h4{ font-size: var(--f-lg); }

#jb-stage p{ margin: 0 0 1em; }

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

#jb-stage a:hover{ color: var(--green-dark); }

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

#jb-stage li{ margin-bottom: 0.4em; }

#jb-stage hr{ border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

#jb-stage small{ font-size: var(--f-sm); }

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

#jb-stage figure{ margin: 0; }


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



#jb-stage :target, #jb-stage h1, #jb-stage h2, #jb-stage h3, #jb-stage h4, #jb-stage section[id], #jb-stage [id]{
  scroll-margin-top: 92px;
}



#jb-stage .wrap{
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

#jb-stage .wrap--narrow{ max-width: var(--wrap-narrow); }

#jb-stage .section{ padding-block: 3rem; }

#jb-stage .section--tight{ padding-block: 1.75rem; }

#jb-stage .section--alt{ background: var(--paper-2); }

#jb-stage .section--ink{ background: #14110f; color: #f4efe6; }

#jb-stage .section--ink h2, #jb-stage .section--ink h3{ color: #fff; }

#jb-stage .section--ink a{ color: #e8c98d; }

#jb-stage .muted{ color: var(--ink-3); }

#jb-stage .small{ font-size: var(--f-sm); }

#jb-stage .center{ text-align: center; }

#jb-stage .mt-0{ margin-top: 0; }

#jb-stage .mb-0{ margin-bottom: 0; }


#jb-stage .sr-only, #jb-stage .hp-field{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}



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


#jb-stage .skip-link{
  position: absolute;
  top: 0;
  inset-inline-start: 1rem;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.15s var(--ease);
}

#jb-stage .skip-link:focus{
  transform: translateY(0);
}


#jb-stage .lede{
  font-size: var(--f-lg);
  color: var(--ink-2);
  max-width: 62ch;
}

#jb-stage .eyebrow{
  display: inline-block;
  font-size: var(--f-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 0.3em 0.9em;
  margin-bottom: 0.9rem;
}

#jb-stage .section-head{ max-width: 68ch; margin-bottom: 1.6rem; }

#jb-stage .section-head h2{ margin-bottom: 0.35em; }

#jb-stage .section-head p{ margin-bottom: 0; color: var(--ink-2); }



#jb-stage .btn{
  --btn-bg: var(--green);
  --btn-fg: #fff;
  --btn-line: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.62em 1.4em;
  border-radius: 999px;
  border: 1.5px solid var(--btn-line);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 800;
  font-size: var(--f-sm);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s var(--ease), box-shadow 0.14s var(--ease), background 0.14s;
  box-shadow: var(--sh-1);
}

#jb-stage .btn:hover:not(:disabled){ transform: translateY(-1px); box-shadow: var(--sh-2); color: var(--btn-fg); }

#jb-stage .btn:active:not(:disabled){ transform: translateY(0); }

#jb-stage .btn:disabled{ opacity: 0.5; cursor: not-allowed; box-shadow: none; }

#jb-stage .btn--lg{ min-height: 54px; font-size: var(--f-base); padding-inline: 1.9em; }

#jb-stage .btn--brass{ --btn-bg: var(--brass); }

#jb-stage .btn--ghost{
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-line: var(--line-2);
  box-shadow: none;
}

#jb-stage .btn--ghost:hover:not(:disabled){ --btn-bg: var(--surface); }

#jb-stage .btn--light{ --btn-bg: #fff; --btn-fg: var(--ink); --btn-line: var(--line); }

#jb-stage .btn--block{ width: 100%; }

#jb-stage .btn-row{ display: flex; flex-wrap: wrap; gap: 0.7rem; }



#jb-stage .site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

#jb-stage .header-bar{
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

#jb-stage .brand{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 900;
  flex-shrink: 0;
}

#jb-stage .brand__mark{
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--green), var(--green-dark));
  color: #f6e7c6;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1.5px rgba(233, 201, 141, 0.45);
  flex-shrink: 0;
}

#jb-stage .brand__text{ display: flex; flex-direction: column; line-height: 1.2; }

#jb-stage .brand__name{ font-size: 1.02rem; }

#jb-stage .brand__tag{ font-size: 0.68rem; font-weight: 600; color: var(--ink-3); }


#jb-stage .nav-toggle{
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 0.4em 0.9em;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: var(--f-sm);
  cursor: pointer;
}

#jb-stage .nav-toggle__bars{ display: inline-grid; gap: 3px; }

#jb-stage .nav-toggle__bars span{ display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }


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

#jb-stage .site-nav ul{
  list-style: none;
  display: flex;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

#jb-stage .site-nav a{
  display: block;
  padding: 0.45em 0.75em;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--f-sm);
  white-space: nowrap;
}

#jb-stage .site-nav a:hover{ background: var(--paper-2); color: var(--ink); }

#jb-stage .site-nav a[aria-current="page"]{ background: var(--green-soft); color: var(--green-dark); }

#jb-stage .site-nav a.is-play{
  background: var(--green);
  color: #fff;
}

#jb-stage .site-nav a.is-play:hover{ background: var(--green-dark); color: #fff; }


@media (max-width: 1023px){

  #jb-stage .site-nav{
    display: none;
    width: 100%;
    order: 3;
    padding-bottom: 0.9rem;
  }

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

  #jb-stage .site-nav ul{ flex-direction: column; gap: 0.15rem; }

  #jb-stage .site-nav a{ padding: 0.7em 0.9em; border-radius: var(--r-md); }

  #jb-stage .header-bar{ flex-wrap: wrap; }


}

@media (min-width: 1024px){

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


}



#jb-stage .crumbs{
  font-size: var(--f-sm);
  color: var(--ink-3);
  padding-block: 0.9rem 0;
}

#jb-stage .crumbs ol{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin: 0;
  padding: 0;
}

#jb-stage .crumbs li::after{ content: "‹"; margin-inline-start: 0.35em; color: var(--line-2); }

#jb-stage .crumbs li:last-child::after{ content: ""; }

#jb-stage .crumbs a{ color: var(--ink-3); text-decoration: none; }

#jb-stage .crumbs a:hover{ color: var(--green); text-decoration: underline; }

#jb-stage .crumbs [aria-current="page"]{ color: var(--ink-2); font-weight: 700; }



#jb-stage .hero{
  background:
    radial-gradient(90% 120% at 88% -10%, rgba(11, 93, 70, 0.1) 0%, transparent 62%),
    radial-gradient(70% 100% at 5% 0%, rgba(169, 118, 43, 0.09) 0%, transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

#jb-stage .hero__grid{
  display: grid;
  gap: 2rem;
  padding-block: 2.6rem 3rem;
}

@media (min-width: 900px){

  #jb-stage .hero__grid{ grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 3rem; }


}

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

#jb-stage .hero .lede{ margin-bottom: 1.4rem; }

#jb-stage .hero__points{
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.5rem;
  font-size: var(--f-sm);
}

#jb-stage .hero__points li{
  display: flex;
  gap: 0.55em;
  align-items: flex-start;
  color: var(--ink-2);
  margin: 0;
}

#jb-stage .hero__points li::before{
  content: "✓";
  color: var(--green);
  font-weight: 900;
  flex-shrink: 0;
}



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

#jb-stage .grid{ display: grid; gap: 1.1rem; }

#jb-stage .grid--2{ grid-template-columns: 1fr; }

#jb-stage .grid--3{ grid-template-columns: 1fr; }

#jb-stage .grid--4{ grid-template-columns: 1fr 1fr; }

@media (min-width: 640px){

  #jb-stage .grid--2{ grid-template-columns: repeat(2, 1fr); }

  #jb-stage .grid--3{ grid-template-columns: repeat(2, 1fr); }


}

@media (min-width: 940px){

  #jb-stage .grid--3{ grid-template-columns: repeat(3, 1fr); }

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


}


#jb-stage .feature{ display: grid; gap: 0.5rem; }

#jb-stage .feature__icon{
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

#jb-stage .feature h3{ font-size: var(--f-lg); margin: 0; }

#jb-stage .feature p{ margin: 0; color: var(--ink-2); font-size: var(--f-sm); }



#jb-stage .rank-list{ display: grid; gap: 1rem; }

#jb-stage .site-card{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
}

#jb-stage .site-card--top{ border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft), var(--sh-1); }

#jb-stage .site-card__ribbon{
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  background: var(--brass);
  color: #fff;
  font-size: var(--f-xs);
  font-weight: 800;
  padding: 0.28em 0.9em;
  border-end-end-radius: var(--r-md);
}

#jb-stage .site-card__body{
  display: grid;
  gap: 1rem;
  padding: 1.5rem 1.2rem 1.2rem;
}

@media (min-width: 820px){

  #jb-stage .site-card__body{
    grid-template-columns: 190px 1fr 190px;
    align-items: center;
    gap: 1.4rem;
  }


}

#jb-stage .site-card__id{ display: flex; align-items: center; gap: 0.8rem; }

#jb-stage .site-card__rank{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  display: grid; place-items: center;
  font-weight: 900;
  font-size: var(--f-sm);
  flex-shrink: 0;
}

#jb-stage .site-card--top .site-card__rank{ background: var(--brass); color: #fff; border-color: var(--brass); }

#jb-stage .site-card__logo{
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 5px;
  flex-shrink: 0;
}

#jb-stage .site-card__name{ font-size: var(--f-lg); font-weight: 900; line-height: 1.3; margin: 0; }

#jb-stage .site-card__name span{ display: block; font-size: var(--f-xs); font-weight: 600; color: var(--ink-3); }

#jb-stage .site-card__main p{ margin: 0 0 0.7rem; color: var(--ink-2); font-size: var(--f-sm); }

#jb-stage .site-card__meta{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

#jb-stage .site-card__meta li{ margin: 0; }

#jb-stage .site-card__side{ display: grid; gap: 0.55rem; align-content: start; }

#jb-stage .score-badge{
  display: grid;
  place-items: center;
  gap: 0.1rem;
  background: linear-gradient(160deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: var(--r-md);
  padding: 0.55rem 0.8rem;
}

#jb-stage .score-badge b{ font-size: var(--f-2xl); line-height: 1; font-weight: 900; }

#jb-stage .score-badge span{ font-size: var(--f-xs); opacity: 0.85; }

#jb-stage .site-card__foot{
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.7rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: var(--f-xs);
  color: var(--ink-3);
}



#jb-stage .chip-tag{
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22em 0.75em;
  font-size: var(--f-xs);
  font-weight: 700;
  color: var(--ink-2);
}

#jb-stage .chip-tag--yes{ background: var(--green-soft); border-color: #bfdccf; color: var(--green-dark); }

#jb-stage .chip-tag--no{ background: #fbeceb; border-color: #eeccc9; color: #8d2c29; }

#jb-stage .chip-tag--unknown{ background: var(--paper-2); color: var(--ink-3); }

#jb-stage .chip-tag--player{ background: #e8f0f8; border-color: #c3d8ea; color: #204a6e; }

#jb-stage .chip-tag--banker{ background: #fbeaea; border-color: #eccbcb; color: #8d2c29; }

#jb-stage .chip-tag--tie{ background: #e3f4ed; border-color: #bfe0d1; color: #0b5842; }



#jb-stage .table-scroll{
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

#jb-stage table.data{
  width: 100%;
  border-collapse: collapse;
  font-size: var(--f-sm);
  min-width: 620px;
}

#jb-stage table.data caption{
  caption-side: top;
  text-align: start;
  padding: 0.9rem 1rem 0.2rem;
  font-weight: 800;
  color: var(--ink);
}

#jb-stage table.data th, #jb-stage table.data td{
  padding: 0.75rem 0.9rem;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

#jb-stage table.data thead th{
  background: var(--paper-2);
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  position: sticky;
  top: 0;
}

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

#jb-stage table.data tbody tr:hover{ background: #fcfaf6; }

#jb-stage table.data .num{ font-variant-numeric: tabular-nums; font-weight: 700; }

#jb-stage .table-note{ font-size: var(--f-xs); color: var(--ink-3); margin-top: 0.6rem; }



#jb-stage .notice{
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
  font-size: var(--f-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

#jb-stage .notice__icon{ flex-shrink: 0; font-size: 1.1rem; line-height: 1.5; }

#jb-stage .notice p:last-child{ margin-bottom: 0; }

#jb-stage .notice--warn{ background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }

#jb-stage .notice--info{ background: var(--green-soft); border-color: #bfdccf; color: #12503d; }



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

#jb-stage .prose h2{ margin-top: 2.2rem; }

#jb-stage .prose h3{ margin-top: 1.7rem; }

#jb-stage .prose > :first-child{ margin-top: 0; }

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

#jb-stage .prose blockquote{
  margin: 1.4rem 0;
  padding: 0.2rem 1.1rem;
  border-inline-start: 3px solid var(--brass);
  color: var(--ink-2);
  background: var(--brass-soft);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

#jb-stage .prose blockquote p:last-child{ margin-bottom: 0; }


#jb-stage .toc{
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.3rem;
  margin-bottom: 2rem;
}

#jb-stage .toc h2{ font-size: var(--f-base); margin-bottom: 0.5rem; }

#jb-stage .toc ol{ margin: 0; padding-inline-start: 1.2em; font-size: var(--f-sm); }

#jb-stage .toc li{ margin-bottom: 0.25em; }



#jb-stage .layout{
  display: grid;
  gap: 2rem;
  align-items: start;
}


#jb-stage .layout > *, #jb-stage .grid > *{ min-width: 0; }

@media (min-width: 1000px){

  #jb-stage .layout{ grid-template-columns: minmax(0, 1fr) 300px; gap: 2.6rem; }


}

#jb-stage .sidebar{ display: grid; gap: 1.1rem; position: sticky; top: 88px; }

#jb-stage .sidebar .card{ padding: 1.1rem; }

#jb-stage .sidebar h3{ font-size: var(--f-base); }

#jb-stage .sidebar ul{ list-style: none; padding: 0; margin: 0; font-size: var(--f-sm); }

#jb-stage .sidebar li{ margin-bottom: 0.3em; }

#jb-stage .sidebar li a{ text-decoration: none; }

#jb-stage .sidebar li a:hover{ text-decoration: underline; }



#jb-stage .cta-band{
  background: linear-gradient(160deg, #0d4d3b, #0a3729);
  color: #f2ece1;
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem;
  text-align: center;
}

#jb-stage .cta-band h2{ color: #fff; margin-bottom: 0.4em; }

#jb-stage .cta-band p{ color: #cfded6; max-width: 56ch; margin-inline: auto; }

#jb-stage .cta-band .btn{ --btn-bg: #e8c98d; --btn-fg: #17130c; }


#jb-stage .cta-inline{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--green-soft);
  border: 1px solid #bfdccf;
  border-radius: var(--r-lg);
  padding: 1.1rem 1.3rem;
  margin: 2rem 0;
}

#jb-stage .cta-inline p{ margin: 0; font-weight: 700; color: #12503d; }

#jb-stage .cta-inline .btn{ flex-shrink: 0; }



#jb-stage .faq{ display: grid; gap: 0.6rem; }

#jb-stage .faq details{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 1.1rem;
  overflow: hidden;
}

#jb-stage .faq details[open]{ border-color: var(--line-2); }

#jb-stage .faq summary{
  cursor: pointer;
  font-weight: 800;
  padding: 0.95rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 48px;
}

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

#jb-stage .faq summary::after{
  content: "+";
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

#jb-stage .faq details[open] summary::after{ transform: rotate(45deg); }

#jb-stage .faq details > div{ padding-bottom: 1rem; color: var(--ink-2); font-size: var(--f-sm); }

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



#jb-stage .comments{ display: grid; gap: 1.1rem; }

#jb-stage .comment{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.2rem;
}

#jb-stage .comment__head{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

#jb-stage .comment__avatar{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid; place-items: center;
  font-weight: 900;
  flex-shrink: 0;
}

#jb-stage .comment__name{ font-weight: 800; }

#jb-stage .comment__date{ font-size: var(--f-xs); color: var(--ink-3); }

#jb-stage .comment__stars{ color: var(--brass); letter-spacing: 0.1em; font-size: var(--f-sm); }

#jb-stage .comment__body{ margin: 0; color: var(--ink-2); font-size: var(--f-sm); }

#jb-stage .comment__site{ font-size: var(--f-xs); color: var(--ink-3); margin-top: 0.5rem; }


#jb-stage .form-grid{ display: grid; gap: 0.9rem; }

@media (min-width: 640px){
 #jb-stage .form-grid--2{ grid-template-columns: 1fr 1fr; }
 
}

#jb-stage .field{ display: grid; gap: 0.3rem; }

#jb-stage .field label{ font-weight: 700; font-size: var(--f-sm); }

#jb-stage .field input, #jb-stage .field select, #jb-stage .field textarea{
  font: inherit;
  font-size: var(--f-sm);
  padding: 0.7em 0.9em;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  min-height: 48px;
  width: 100%;
}

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

#jb-stage .field input:focus, #jb-stage .field select:focus, #jb-stage .field textarea:focus{ border-color: var(--green); outline-offset: 1px; }

#jb-stage .field__hint{ font-size: var(--f-xs); color: var(--ink-3); }

#jb-stage .form-status{
  border-radius: var(--r-md);
  padding: 0.7rem 1rem;
  font-size: var(--f-sm);
  font-weight: 700;
}

#jb-stage .form-status--ok{ background: var(--green-soft); color: #12503d; }

#jb-stage .form-status--err{ background: #fbeceb; color: #8d2c29; }


#jb-stage .rating-input{ display: flex; gap: 0.4rem; flex-wrap: wrap; }

#jb-stage .rating-opt{
  position: relative;
  display: block;
  min-width: 48px;
  min-height: 48px;
}

#jb-stage .rating-opt input{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

#jb-stage .rating-opt > span{
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 48px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  font-weight: 800;
  pointer-events: none;
}

#jb-stage .rating-opt input:checked + span{
  background: var(--brass);
  border-color: var(--brass);
  color: #fff;
}

#jb-stage .rating-opt input:focus-visible + span{
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}



#jb-stage .linkgrid{ display: grid; gap: 0.7rem; }

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

@media (min-width: 960px){
 #jb-stage .linkgrid--3{ grid-template-columns: repeat(3, 1fr); }
 
}

#jb-stage .linkgrid a{
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.14s, transform 0.14s var(--ease);
}

#jb-stage .linkgrid a:hover{ border-color: var(--green); transform: translateY(-2px); }

#jb-stage .linkgrid strong{ display: block; font-size: var(--f-base); }

#jb-stage .linkgrid span{ display: block; font-size: var(--f-xs); color: var(--ink-3); }



#jb-stage .stat-row{ display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); }

@media (min-width: 760px){
 #jb-stage .stat-row{ grid-template-columns: repeat(4, 1fr); }
 
}

#jb-stage .stat{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.9rem 1rem;
  text-align: center;
}

#jb-stage .stat b{ display: block; font-size: var(--f-xl); font-weight: 900; color: var(--green-dark); font-variant-numeric: tabular-nums; }

#jb-stage .stat span{ font-size: var(--f-xs); color: var(--ink-3); }



#jb-stage .site-footer{
  background: #14110f;
  color: #cdc4b8;
  padding-block: 2.6rem 1.4rem;
  margin-top: 3rem;
  font-size: var(--f-sm);
}

#jb-stage .footer-grid{
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1000px){
 #jb-stage .footer-grid{ grid-template-columns: 1.5fr repeat(3, 1fr); }
 
}

#jb-stage .site-footer h3{ color: #fff; font-size: var(--f-base); margin-bottom: 0.7rem; }

#jb-stage .site-footer ul{ list-style: none; padding: 0; margin: 0; }

#jb-stage .site-footer li{ margin-bottom: 0.35em; }

#jb-stage .site-footer a{ color: #cdc4b8; text-decoration: none; }

#jb-stage .site-footer a:hover{ color: #e8c98d; text-decoration: underline; }

#jb-stage .site-footer .brand{ color: #fff; margin-bottom: 0.8rem; }

#jb-stage .site-footer .brand__tag{ color: #8d8378; }

#jb-stage .footer-about{ color: #a49a8e; max-width: 42ch; }

#jb-stage .footer-bottom{
  border-top: 1px solid #2a2521;
  margin-top: 2rem;
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  color: #8d8378;
  font-size: var(--f-xs);
}

#jb-stage .age-badge{
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid #b0322f;
  color: #e08a87;
  font-weight: 900;
  font-size: var(--f-xs);
  flex-shrink: 0;
}

#jb-stage .footer-warn{
  display: flex;
  gap: 0.8rem;
  align-items: center;
  background: #1d1815;
  border: 1px solid #2f2925;
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  margin-top: 1.6rem;
  color: #b8ada0;
  font-size: var(--f-xs);
  line-height: 1.7;
}



#jb-stage .error-page{ text-align: center; padding-block: 4rem; }

#jb-stage .error-page .code{
  font-size: 5rem;
  font-weight: 900;
  color: var(--line-2);
  line-height: 1;
  margin-bottom: 0.5rem;
}





#jb-stage .play-intro{ padding-block: 0.75rem 0; }

#jb-stage .play-intro h1{ font-size: clamp(1.6rem, 4.4vw, 2.1rem); margin-bottom: 0.25em; }

#jb-stage .play-intro .lede{ font-size: var(--f-base); line-height: 1.7; margin-bottom: 0; max-width: 68ch; }

#jb-stage .play-stage{ padding-block: 1rem 1.75rem; }


#jb-stage .bp-stage{
  --felt: #103528;
  --felt-2: #0b2a20;
  --felt-3: #072019;
  --shell: #171a19;
  --shell-2: #1f2422;
  --edge: rgba(232, 201, 141, 0.22);
  --edge-strong: rgba(232, 201, 141, 0.5);
  --gold: #e8c98d;
  --gold-2: #c9a45e;
  --cream: #f3efe6;
  --cream-dim: #b9b2a5;
  --p-color: #6ea8de;
  --b-color: #e0827f;
  --t-color: #6fd0a8;

  background: linear-gradient(170deg, var(--shell-2), var(--shell));
  border: 1px solid #2c322f;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  padding: 0.9rem;
  color: var(--cream);
  max-width: 980px;
  margin-inline: auto;
  overflow: hidden;
}

@media (min-width: 640px){

  #jb-stage .bp-stage{ padding: 1.2rem; }


}



#jb-stage .bp-demo-flag{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.8rem;
  background: rgba(232, 201, 141, 0.1);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.9rem;
}

#jb-stage .bp-demo-flag__pill{
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--gold);
  color: #1d1710;
  font-weight: 900;
  font-size: var(--f-xs);
  border-radius: 999px;
  padding: 0.25em 0.8em;
  flex-shrink: 0;
}

#jb-stage .bp-demo-flag p{
  margin: 0;
  font-size: var(--f-xs);
  color: var(--cream-dim);
  line-height: 1.7;
}



#jb-stage .bp-topbar{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

#jb-stage .bp-purse{
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

#jb-stage .bp-purse__item{
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #333937;
  border-radius: var(--r-md);
  padding: 0.4rem 0.75rem;
  min-width: 96px;
}

#jb-stage .bp-purse__label{
  display: block;
  font-size: 0.68rem;
  color: var(--cream-dim);
  line-height: 1.5;
}

#jb-stage .bp-purse__value{
  display: block;
  font-size: var(--f-lg);
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

#jb-stage .bp-purse__item--muted .bp-purse__value{ color: var(--cream); font-size: var(--f-base); }


#jb-stage .bp-toggles{ display: flex; gap: 0.4rem; flex-wrap: wrap; }

#jb-stage .bp-toggle{
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 44px;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  border: 1px solid #3a403d;
  background: rgba(0, 0, 0, 0.28);
  color: var(--cream-dim);
  font: inherit;
  font-size: var(--f-xs);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.14s, color 0.14s, background 0.14s;
}

#jb-stage .bp-toggle:hover{ color: var(--cream); border-color: var(--edge); }

#jb-stage .bp-toggle.is-on{
  background: rgba(232, 201, 141, 0.15);
  border-color: var(--edge-strong);
  color: var(--gold);
}

#jb-stage .bp-toggle:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }



#jb-stage .bp-felt{
  position: relative;
  background:
    radial-gradient(115% 85% at 50% 0%, var(--felt) 0%, var(--felt-2) 48%, var(--felt-3) 100%);
  border: 2px solid var(--edge);
  border-radius: var(--r-lg);
  padding: 0.9rem 0.75rem 1rem;
  box-shadow: inset 0 2px 30px rgba(0, 0, 0, 0.45);
}

@media (min-width: 640px){

  #jb-stage .bp-felt{ padding: 1.1rem 1rem 1.2rem; }


}

#jb-stage .bp-felt::after{
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(232, 201, 141, 0.14);
  border-radius: calc(var(--r-lg) - 5px);
  pointer-events: none;
}



#jb-stage .bp-hands{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 640px){
 #jb-stage .bp-hands{ gap: 0.9rem; }
 
}


#jb-stage .bp-hand{
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top-width: 3px;
  border-radius: var(--r-md);
  padding: 0.6rem 0.4rem 0.5rem;
  text-align: center;
  transition: box-shadow 0.25s var(--ease);
}

#jb-stage .bp-hand--player{ border-top-color: var(--p-color); }

#jb-stage .bp-hand--banker{ border-top-color: var(--b-color); }

#jb-stage .bp-hand.is-winner{ box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(232, 201, 141, 0.3); }

#jb-stage .bp-hand.is-tie{ box-shadow: 0 0 0 2px var(--t-color); }


#jb-stage .bp-hand__head{
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

#jb-stage .bp-hand__name{
  font-size: var(--f-sm);
  font-weight: 800;
  margin: 0;
  color: var(--cream);
}

#jb-stage .bp-hand--player .bp-hand__name{ color: var(--p-color); }

#jb-stage .bp-hand--banker .bp-hand__name{ color: var(--b-color); }

#jb-stage .bp-hand__score{
  font-size: var(--f-2xl);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

#jb-stage .bp-hand__cards{
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
  min-height: 82px;
  flex-wrap: wrap;
}

@media (min-width: 480px){
 #jb-stage .bp-hand__cards{ gap: 0.35rem; }
 
}

#jb-stage .bp-hand.is-winner .bp-hand__flag{ opacity: 1; }

#jb-stage .bp-hand__flag{
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0;
  min-height: 1.1em;
}



#jb-stage .bp-card{
  width: 50px;
  height: 72px;
  perspective: 700px;
  flex-shrink: 0;
}

@media (min-width: 480px){
 #jb-stage .bp-card{ width: 56px; height: 80px; }
 
}

#jb-stage .bp-card.is-anim{ animation: bp-deal 0.4s var(--ease) both; }

@keyframes bp-deal{
  from { opacity: 0; transform: translateY(-32px) rotate(-7deg) scale(0.9); }
  to { opacity: 1; transform: none; }
}

#jb-stage .bp-card__inner{
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
}

#jb-stage .bp-card__inner.is-down{ transform: rotateY(180deg); }

#jb-stage .bp-card__face{
  position: absolute;
  inset: 0;
  border-radius: 7px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: grid;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.45);
}

#jb-stage .bp-card__front{
  background: #f8f5ee;
  border: 1px solid #d9d0bb;
}

#jb-stage .bp-card__front.is-red{ color: #ab2b30; }

#jb-stage .bp-card__front.is-black{ color: #1b1917; }

#jb-stage .bp-card__back{
  transform: rotateY(180deg);
  background: linear-gradient(140deg, #5b1d26, #3a1119);
  border: 1px solid var(--gold-2);
  padding: 4px;
}

#jb-stage .bp-card__weave{
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 1px solid rgba(232, 201, 141, 0.45);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(232, 201, 141, 0.18) 0 4px,
    transparent 4px 8px
  );
}

#jb-stage .bp-card__corner{
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 800;
  line-height: 0.95;
  font-size: 0.78rem;
}

#jb-stage .bp-card__corner i{ font-style: normal; font-size: 0.68rem; }

#jb-stage .bp-card__corner.is-tl{ top: 4px; inset-inline-start: 4px; }

#jb-stage .bp-card__corner.is-br{ bottom: 4px; inset-inline-end: 4px; transform: rotate(180deg); }

#jb-stage .bp-card__pip{ place-self: center; font-size: 1.6rem; line-height: 1; }

@media (min-width: 480px){
 #jb-stage .bp-card__pip{ font-size: 1.85rem; }
 
}



#jb-stage .bp-areas{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

@media (min-width: 480px){
 #jb-stage .bp-areas{ gap: 0.55rem; }
 
}

#jb-stage .bp-pairs{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  margin-top: 0.4rem;
}

@media (min-width: 480px){
 #jb-stage .bp-pairs{ gap: 0.55rem; margin-top: 0.55rem; }
 
}


#jb-stage .bp-area{
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.1rem;
  min-height: 86px;
  padding: 0.55rem 0.3rem;
  border-radius: var(--r-md);
  border: 2px solid rgba(255, 255, 255, 0.13);
  background: rgba(0, 0, 0, 0.24);
  color: var(--cream);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform 0.12s var(--ease), border-color 0.15s, background 0.15s;
}

#jb-stage .bp-area:hover:not(:disabled){ transform: translateY(-2px); background: rgba(0, 0, 0, 0.34); }

#jb-stage .bp-area:disabled{ cursor: not-allowed; opacity: 0.72; }

#jb-stage .bp-area:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }

#jb-stage .bp-area--player{ border-color: rgba(110, 168, 222, 0.5); }

#jb-stage .bp-area--banker{ border-color: rgba(224, 130, 127, 0.5); }

#jb-stage .bp-area--tie{ border-color: rgba(111, 208, 168, 0.5); }


#jb-stage .bp-area__title{ font-weight: 900; font-size: 0.95rem; line-height: 1.3; }

@media (min-width: 480px){
 #jb-stage .bp-area__title{ font-size: var(--f-lg); }
 
}

#jb-stage .bp-area--player .bp-area__title{ color: var(--p-color); }

#jb-stage .bp-area--banker .bp-area__title{ color: var(--b-color); }

#jb-stage .bp-area--tie .bp-area__title{ color: var(--t-color); }

#jb-stage .bp-area__en{ font-size: 0.6rem; letter-spacing: 0.08em; color: var(--cream-dim); font-weight: 700; }

#jb-stage .bp-area__pay{ font-size: 0.68rem; color: var(--cream-dim); }

#jb-stage .bp-area__stake{
  min-height: 1.5em;
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}



#jb-stage .bp-area.is-staked{ box-shadow: inset 0 0 0 2px var(--gold); }

#jb-stage .bp-area.is-won{
  background: rgba(232, 201, 141, 0.18);
  border-color: var(--gold);
}

#jb-stage .bp-area.is-won::before{
  content: "★ برنده";
  position: absolute;
  top: -1px;
  inset-inline-start: -1px;
  background: var(--gold);
  color: #1d1710;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 0.1em 0.5em;
  border-start-start-radius: calc(var(--r-md) - 2px);
  border-end-end-radius: var(--r-sm);
}

#jb-stage .bp-area--small{ min-height: 62px; }

#jb-stage .bp-area--small .bp-area__title{ font-size: 0.8rem; }



#jb-stage .bp-chiprail{
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.85rem 0 0.7rem;
}

@media (min-width: 480px){
 #jb-stage .bp-chiprail{ gap: 0.5rem; }
 
}

#jb-stage .bp-chip{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  font: inherit;
  font-weight: 900;
  font-size: 0.7rem;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.12s var(--ease);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 480px){
 #jb-stage .bp-chip{ width: 56px; height: 56px; font-size: 0.75rem; }
 
}

#jb-stage .bp-chip:hover:not(:disabled){ transform: translateY(-3px); }

#jb-stage .bp-chip:disabled{ cursor: not-allowed; opacity: 0.55; }

#jb-stage .bp-chip:focus-visible{ outline: 3px solid var(--gold); outline-offset: 3px; }

#jb-stage .bp-chip.is-selected{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  transform: translateY(-3px) scale(1.04);
}

#jb-stage .bp-chip.is-selected::after{
  content: "";
  position: absolute;
}

#jb-stage .bp-chip--10{ background: radial-gradient(circle at 50% 32%, #4f7cae, #26496f); }

#jb-stage .bp-chip--50{ background: radial-gradient(circle at 50% 32%, #c95f5f, #8b2f2f); }

#jb-stage .bp-chip--100{ background: radial-gradient(circle at 50% 32%, #4b4b4b, #1b1b1b); }

#jb-stage .bp-chip--500{ background: radial-gradient(circle at 50% 32%, #6f4faa, #3c2870); }

#jb-stage .bp-chip--1000{ background: radial-gradient(circle at 50% 32%, #d3a340, #8a6c26); color: #221904; }



#jb-stage .bp-actions{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

@media (min-width: 560px){
 #jb-stage .bp-actions{ grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
 
}

#jb-stage .bp-btn{
  min-height: 46px;
  padding: 0.45em 0.6em;
  border-radius: var(--r-md);
  border: 1px solid #3d4441;
  background: rgba(0, 0, 0, 0.28);
  color: var(--cream);
  font: inherit;
  font-weight: 700;
  font-size: var(--f-xs);
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s, transform 0.12s var(--ease);
}

#jb-stage .bp-btn:hover:not(:disabled){ background: rgba(0, 0, 0, 0.42); border-color: var(--edge); transform: translateY(-1px); }

#jb-stage .bp-btn:disabled{ opacity: 0.45; cursor: not-allowed; }

#jb-stage .bp-btn:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }


#jb-stage .bp-deal{
  display: block;
  width: 100%;
  min-height: 56px;
  margin-top: 0.6rem;
  border: 0;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #1d1710;
  font: inherit;
  font-size: var(--f-lg);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232, 201, 141, 0.2);
  transition: transform 0.12s var(--ease), filter 0.14s;
}

#jb-stage .bp-deal:hover:not(:disabled){ transform: translateY(-1px); filter: brightness(1.05); }

#jb-stage .bp-deal:disabled{ opacity: 0.45; cursor: not-allowed; box-shadow: none; }

#jb-stage .bp-deal:focus-visible{ outline: 3px solid #fff; outline-offset: 3px; }



#jb-stage .bp-msg{
  margin-top: 0.75rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(232, 201, 141, 0.24);
  background: rgba(0, 0, 0, 0.32);
  padding: 0.7rem 0.9rem;
  text-align: center;
  min-height: 4.1rem;
  display: grid;
  align-content: center;
  gap: 0.15rem;
}

#jb-stage .bp-msg__main{ font-weight: 800; font-size: var(--f-base); line-height: 1.5; }

#jb-stage .bp-msg__main.is-win{ color: #86e0b6; }

#jb-stage .bp-msg__main.is-loss{ color: #f0a09d; }

#jb-stage .bp-msg__main.is-push{ color: var(--gold); }

#jb-stage .bp-msg__sub{ font-size: var(--f-xs); color: var(--cream-dim); line-height: 1.7; }



#jb-stage .bp-broke{
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  background: rgba(232, 201, 141, 0.12);
  border: 1px solid var(--edge-strong);
  border-radius: var(--r-md);
  padding: 0.8rem 1rem;
}

#jb-stage .bp-broke p{ margin: 0; font-size: var(--f-sm); font-weight: 700; color: var(--gold); }

#jb-stage .bp-broke .bp-btn{
  background: var(--gold);
  color: #1d1710;
  border-color: var(--gold);
  font-weight: 900;
  font-size: var(--f-sm);
  padding-inline: 1.2em;
}



#jb-stage .bp-side{
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

@media (min-width: 900px){

  #jb-stage .bp-body{ display: grid; grid-template-columns: minmax(0, 1fr) 246px; gap: 1rem; align-items: start; }

  #jb-stage .bp-body > *{ min-width: 0; }

  #jb-stage .bp-side{ margin-top: 0; }


}

#jb-stage .bp-panel{
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid #2f3533;
  border-radius: var(--r-md);
  padding: 0.85rem 0.9rem;
}

#jb-stage .bp-panel h3{
  font-size: var(--f-sm);
  font-weight: 800;
  color: var(--cream);
  margin: 0 0 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

#jb-stage .bp-panel__empty{ font-size: var(--f-xs); color: var(--cream-dim); margin: 0; }



#jb-stage .bp-road{
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

#jb-stage .bp-bead{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.35);
  font-family: system-ui, sans-serif;
}

#jb-stage .bp-bead.is-player{ background: #2c5f8d; }

#jb-stage .bp-bead.is-banker{ background: #a32d33; }

#jb-stage .bp-bead.is-tie{ background: #0f7a5a; }



#jb-stage .bp-stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }

#jb-stage .bp-stat{
  background: rgba(0, 0, 0, 0.24);
  border-radius: var(--r-sm);
  padding: 0.45rem 0.3rem;
  text-align: center;
}

#jb-stage .bp-stat__value{
  display: block;
  font-weight: 900;
  font-size: var(--f-base);
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

#jb-stage .bp-stat__value.is-pos{ color: #86e0b6; }

#jb-stage .bp-stat__value.is-neg{ color: #f0a09d; }

#jb-stage .bp-stat__label{ display: block; font-size: 0.62rem; color: var(--cream-dim); }



#jb-stage .bp-hist{ list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; max-height: 230px; overflow-y: auto; }

#jb-stage .bp-hist__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.24);
  border-radius: var(--r-sm);
  padding: 0.35rem 0.55rem;
  font-size: var(--f-xs);
  margin: 0;
}

#jb-stage .bp-hist__left{ display: flex; align-items: center; gap: 0.45rem; }

#jb-stage .bp-hist__score{ color: var(--cream-dim); font-variant-numeric: tabular-nums; }

#jb-stage .bp-hist__net{ font-weight: 800; font-variant-numeric: tabular-nums; }

#jb-stage .bp-hist__net.is-pos{ color: #86e0b6; }

#jb-stage .bp-hist__net.is-neg{ color: #f0a09d; }

#jb-stage .bp-hist__net.is-zero{ color: var(--cream-dim); }

#jb-stage .bp-tag{
  display: inline-block;
  border-radius: 999px;
  padding: 0.1em 0.55em;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
}

#jb-stage .bp-tag.is-player{ background: #2c5f8d; }

#jb-stage .bp-tag.is-banker{ background: #a32d33; }

#jb-stage .bp-tag.is-tie{ background: #0f7a5a; }



#jb-stage .bp-toast{
  position: fixed;
  inset-inline: 0;
  bottom: 1.1rem;
  z-index: 160;
  margin-inline: auto;
  width: max-content;
  max-width: calc(100vw - 2rem);
  background: #2a1b1d;
  color: #f6ece0;
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-size: var(--f-sm);
  font-weight: 700;
  box-shadow: var(--sh-2);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}

#jb-stage .bp-toast.is-on{ opacity: 1; transform: none; }



#jb-stage .bp-footnote{
  margin-top: 0.85rem;
  font-size: var(--f-xs);
  color: var(--cream-dim);
  line-height: 1.75;
}

#jb-stage .bp-footnote p{ margin: 0 0 0.35em; }

#jb-stage .bp-footnote p:last-child{ margin-bottom: 0; }

#jb-stage .bp-footnote a{ color: var(--gold); }



#jb-stage .bp-noscript{
  background: rgba(232, 201, 141, 0.12);
  border: 1px solid var(--edge-strong);
  border-radius: var(--r-md);
  padding: 1rem;
  font-size: var(--f-sm);
  color: var(--gold);
}



#jb-stage .bp-guide{ display: grid; gap: 0.7rem; margin-top: 1.4rem; }

@media (min-width: 760px){
 #jb-stage .bp-guide{ grid-template-columns: repeat(3, 1fr); }
 
}

#jb-stage .bp-guide__item{
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 0.9rem 1rem;
}

#jb-stage .bp-guide__item--player{ border-inline-start-color: var(--player); }

#jb-stage .bp-guide__item--banker{ border-inline-start-color: var(--banker); }

#jb-stage .bp-guide__item--tie{ border-inline-start-color: var(--tie); }

#jb-stage .bp-guide__item h3{
  font-size: var(--f-base);
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#jb-stage .bp-guide__item h3 small{
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 700;
}

#jb-stage .bp-guide__item p{ margin: 0; font-size: var(--f-sm); color: var(--ink-2); }

#jb-stage .bp-guide__pay{
  display: inline-block;
  margin-top: 0.45rem;
  font-size: var(--f-xs);
  font-weight: 800;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 0.15em 0.7em;
}



#jb-stage .bp-preview{
  background: linear-gradient(165deg, #1c2321, #141817);
  border: 1px solid #2c322f;
  border-radius: var(--r-xl);
  padding: 1.1rem;
  color: #f3efe6;
  box-shadow: var(--sh-2);
}

#jb-stage .bp-preview__felt{
  background: radial-gradient(110% 90% at 50% 0%, #103528, #0a251c);
  border: 1px solid rgba(232, 201, 141, 0.2);
  border-radius: var(--r-lg);
  padding: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

#jb-stage .bp-preview__row{ display: flex; align-items: center; gap: 0.6rem; min-height: 78px; }

#jb-stage .bp-preview__who{
  font-size: var(--f-xs);
  font-weight: 800;
  color: #b9b2a5;
  width: 3.6em;
  flex-shrink: 0;
}

#jb-stage .bp-preview__cards{ display: flex; gap: 0.3rem; flex-wrap: wrap; }

#jb-stage .bp-preview__scores{
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
  font-size: var(--f-xs);
  color: #b9b2a5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.5rem;
}

#jb-stage .bp-preview__scores b{ color: #fff; font-size: var(--f-lg); font-variant-numeric: tabular-nums; }

#jb-stage .bp-preview__result{
  text-align: center;
  font-weight: 800;
  font-size: var(--f-sm);
  min-height: 1.6em;
  color: #b9b2a5;
}

#jb-stage .bp-preview__result.is-player{ color: #6ea8de; }

#jb-stage .bp-preview__result.is-banker{ color: #e0827f; }

#jb-stage .bp-preview__result.is-tie{ color: #6fd0a8; }

#jb-stage .bp-preview__foot{ display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }

#jb-stage .bp-preview__foot .bp-btn{ flex: 1 1 auto; min-width: 130px; }

#jb-stage .bp-preview__foot .btn{ flex: 1 1 auto; }

