/* ============================================================
   GetLuck — home layout B (icon rail + tabs + featured game)
   v=20260831-b1 · applies only to body.layout-b (home page)
   Depends on styles.css tokens: --void --hairline --violet --gold …
   ============================================================ */

body.layout-b { --rail: 72px; }

/* legacy chrome off */
body.layout-b .app-topbar,
body.layout-b .ticker { display: none !important; }

/* ---------- icon rail ---------- */
.rail-b {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); z-index: 40;
  background: linear-gradient(#0a0a0b, #000);
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; align-items: center; padding: 14px 0;
}
.rail-b .rail-mark { width: 34px; height: auto; margin-bottom: 16px; display: block; }
.rail-b a.ri {
  width: 46px; height: 46px; border-radius: 10px;
  display: grid; place-items: center; color: var(--iron);
  position: relative; margin-bottom: 5px;
  transition: background .15s, color .15s;
}
.rail-b a.ri:hover { background: var(--surface-2); color: var(--white); }
.rail-b a.ri.on { background: rgba(146, 129, 247, .14); color: var(--violet-glow); }
.rail-b a.ri svg {
  width: 19px; height: 19px; stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.rail-b a.ri i.dot {
  position: absolute; top: 8px; right: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--green);
}
.rail-b .ri-tip {
  position: absolute; left: 56px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; background: #141517; border: 1px solid var(--hairline);
  border-radius: 6px; padding: 5px 9px; font: 400 12px/1 var(--font-ui);
  color: var(--bone); opacity: 0; pointer-events: none; transition: opacity .15s;
}
.rail-b a.ri:hover .ri-tip { opacity: 1; }
.rail-b .rail-sp { flex: 1; }

/* ---------- top bar: tabs + wallet ---------- */
.top-b {
  position: sticky; top: 0; z-index: 30;
  margin-left: var(--rail);
  display: flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(0, 0, 0, .85); backdrop-filter: blur(12px);
}
/* brand in top bar: desktop rail already shows G, so visible on mobile only */
.top-brand { display: none; align-items: center; gap: 8px; text-decoration: none; margin-right: 10px; }
.top-brand img { width: 26px; height: 26px; border-radius: 6px; }
.top-brand span { font-family: var(--font-display); font-size: 16px; color: var(--white); letter-spacing: .3px; }

.top-b .crumb-b { font-size: 14px; color: var(--white); font-weight: 500; }
.top-b .tabs-b { display: flex; gap: 4px; }
.top-b .tab-b {
  padding: 8px 14px; border-radius: 8px; font-size: 13.5px; color: var(--smoke);
  display: flex; align-items: center; gap: 7px; transition: .15s;
}
.top-b .tab-b:hover { background: var(--surface-2); color: var(--white); }
.top-b .tab-b.on { background: var(--surface-2); color: var(--white); font-weight: 500; }
.top-b .tab-b em {
  font-style: normal; font: 500 9.5px/1 var(--font-mono);
  padding: 3px 5px; border-radius: 4px;
  background: rgba(146, 129, 247, .18); color: var(--violet-glow);
}
.top-b .top-sp { flex: 1; }
.top-b .net-chip {
  font: 400 11px/1 var(--font-mono); color: var(--iron);
  border: 1px solid var(--hairline); padding: 7px 10px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 7px;
}
.top-b .net-chip::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}
/* wallet button reuses .wallet-btn from styles.css */

/* ---------- shell grid ---------- */
body.layout-b .app-shell {
  margin: 0 auto;
  max-width: calc(1500px + var(--rail));
  padding: 18px 22px 56px;
  padding-left: calc(var(--rail) + 22px);
  display: grid; grid-template-columns: 1fr 316px; gap: 16px;
  align-items: start;
}
/* pages without a sidebar (rules etc.) keep the classic single column */
body.layout-b .app-shell.rules-shell {
  display: flex; flex-direction: column;
  max-width: calc(var(--page-max) + var(--rail));
  gap: var(--section-gap);
  padding: 28px 24px 72px;
  padding-left: calc(var(--rail) + 24px);
}
.home-main-b { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-side-b { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* ---------- featured game (wheel) ---------- */
.feat-b {
  border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden;
  background: linear-gradient(#0c0d0e, #000);
  display: flex; min-height: 264px;
}
.feat-b .feat-art {
  width: 290px; flex: 0 0 auto; display: grid; place-items: center;
  border-right: 1px solid var(--hairline); position: relative;
  background: radial-gradient(66% 74% at 50% 46%, rgba(146, 129, 247, .20), transparent 70%), #000;
  padding: 18px;
}
.feat-b .mini-wheel-wrap { margin: 0; }
.feat-b .feat-body { flex: 1; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.feat-b .feat-head { display: flex; align-items: center; gap: 10px; }
.feat-b .pill-live {
  font: 500 9.5px/1 var(--font-mono); letter-spacing: .13em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 5px;
  border: 1px solid rgba(58, 211, 137, .3); color: var(--green);
}
.feat-b .feat-timer { margin-left: auto; font: 500 22px/1 var(--font-mono); color: var(--white); letter-spacing: -.02em; }
.feat-b h1 { font: 400 32px/1.12 var(--font-serif); color: var(--white); }
.feat-b .feat-copy { font-size: 14px; color: var(--ash); max-width: 54ch; }
.feat-b .feat-stats {
  display: flex; gap: 26px; margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--hairline); align-items: flex-end; flex-wrap: wrap;
}
.feat-b .feat-stats > div { display: flex; flex-direction: column; gap: 4px; }
.feat-b .feat-stats b { font: 500 20px/1 var(--font-mono); color: var(--white); }
.feat-b .feat-stats b.g { color: var(--gold); }
.feat-b .feat-stats small {
  font: 400 10px/1 var(--font-mono); color: var(--charcoal);
  letter-spacing: .1em; text-transform: uppercase;
}
.feat-b .feat-cta {
  margin-left: auto; background: var(--violet); color: #0a0710;
  font: 500 14px/1 var(--font-ui); padding: 12px 22px; border-radius: 8px;
}
.feat-b .feat-cta:hover { background: var(--violet-glow); }

/* ---------- mini cards row ---------- */
.row2-b { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-b {
  border: 1px solid var(--hairline); border-radius: 13px;
  background: linear-gradient(#0b0c0d, #000);
  padding: 15px; display: flex; gap: 14px; align-items: center;
  transition: border-color .2s; min-width: 0;
}
.mini-b:hover { border-color: var(--hairline-strong); }
.mini-b > img { width: 76px; height: 76px; flex: 0 0 auto; }
.mini-b .mini-c { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mini-b h3 { font: 400 18px/1.2 var(--font-serif); color: var(--white); }
.mini-b p { font-size: 12.5px; color: var(--iron); line-height: 1.45; }
.mini-b .mini-m { display: flex; gap: 14px; margin-top: 3px; align-items: baseline; flex-wrap: wrap; }
.mini-b .mini-m b { font: 500 14px/1 var(--font-mono); color: var(--white); }
.mini-b .mini-m b.g { color: var(--gold); }
.mini-b .mini-m span {
  font: 400 10px/1 var(--font-mono); color: var(--charcoal);
  letter-spacing: .08em; text-transform: uppercase;
}
.mini-b .soon-tag {
  margin-left: auto; font: 500 9.5px/1 var(--font-mono); letter-spacing: .12em;
  text-transform: uppercase; padding: 5px 7px; border-radius: 5px;
  border: 1px solid rgba(255, 202, 22, .28); color: var(--gold); align-self: flex-start;
}

/* ---------- side panels ---------- */
.panel-b {
  border: 1px solid var(--hairline); border-radius: 13px;
  background: var(--surface-1); overflow: hidden;
}
.panel-b .ph-b {
  padding: 12px 14px; border-bottom: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 8px;
}
.panel-b .ph-b h4 {
  font: 500 11.5px/1 var(--font-mono); color: var(--smoke);
  letter-spacing: .13em; text-transform: uppercase;
}
.panel-b .ph-b .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.panel-b .ph-b a { margin-left: auto; font-size: 11.5px; color: var(--iron); }
.panel-b .ph-b a:hover { color: var(--white); }

/* winners list inside panel: reuse .winner-list rows from multipage.css,
   just tighten spacing */
.panel-b .winner-list { display: flex; flex-direction: column; }
.panel-b .winner-list > * { border-bottom: 1px solid #191b1d; padding: 10px 14px; }
.panel-b .winner-list > *:last-child { border-bottom: none; }

/* trust panel */
.trust-b { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.trust-b .tl { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ash); gap: 10px; }
.trust-b .tl b { font-family: var(--font-mono); color: var(--white); font-weight: 500; text-align: right; word-break: break-all; }
.trust-b .tl b.v { color: var(--violet-glow); }
.trust-b .tfoot {
  font-size: 12px; color: var(--iron);
  border-top: 1px solid var(--hairline); padding-top: 10px;
}
.trust-b .tfoot:hover { color: var(--white); }

/* how-it-works: one quiet line instead of a section */
.how-line-b {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--iron); padding: 2px 4px;
}
.how-line-b b { color: var(--smoke); font-weight: 500; }
.how-line-b .sep { color: var(--charcoal); }
.how-line-b a { color: var(--ash); text-decoration: underline; text-underline-offset: 3px; }
.how-line-b a:hover { color: var(--white); }

/* ---------- duels promo banner (vs scene) ---------- */
.promo-vs {
  position: relative;
  border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(52% 90% at 50% 50%, rgba(146, 129, 247, .16), transparent 72%),
    linear-gradient(#0b0b0d, #000);
  display: flex; align-items: center; gap: 24px;
  padding: 18px 26px;
}
.promo-vs .pv-art { flex: 0 0 auto; width: 300px; }
.promo-vs .pv-art img { width: 100%; height: auto; display: block; }
.promo-vs .pv-body { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.promo-vs .pv-kick {
  font: 500 9.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.promo-vs h2 { font: 400 26px/1.15 var(--font-serif); color: var(--white); }
.promo-vs p { font-size: 13.5px; color: var(--ash); max-width: 44ch; }
.promo-vs .pv-meta { display: flex; gap: 18px; margin-top: 4px; align-items: baseline; flex-wrap: wrap; }
.promo-vs .pv-meta b { font: 500 15px/1 var(--font-mono); color: var(--white); }
.promo-vs .pv-meta b.gr { color: var(--green); }
.promo-vs .pv-meta span {
  font: 400 10px/1 var(--font-mono); color: var(--charcoal);
  letter-spacing: .09em; text-transform: uppercase;
}
.promo-vs .pv-cta {
  flex: 0 0 auto; align-self: center;
  border: 1px solid var(--hairline-strong); color: var(--bone);
  font: 500 13.5px/1 var(--font-ui); padding: 12px 20px; border-radius: 8px;
  white-space: nowrap;
}
.promo-vs .pv-cta:hover { background: var(--surface-2); }

/* ---------- proof strip (numbers band) ---------- */
.strip-b { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip-b .si {
  border: 1px solid var(--hairline); border-radius: 12px; padding: 13px 15px;
  background: var(--surface-1); display: flex; flex-direction: column; gap: 6px;
}
.strip-b .si small {
  font: 400 9.5px/1 var(--font-mono); color: var(--charcoal);
  letter-spacing: .11em; text-transform: uppercase;
}
.strip-b .si b { font: 500 18px/1 var(--font-mono); color: var(--white); letter-spacing: -.01em; }
.strip-b .si b.v { color: var(--violet-glow); }
.strip-b .si b.g { color: var(--gold); }

@media (max-width: 900px) {
  .promo-vs { flex-direction: column; align-items: flex-start; }
  .promo-vs .pv-art { width: min(300px, 100%); }
  .promo-vs .pv-cta { align-self: stretch; text-align: center; }
  .strip-b { grid-template-columns: 1fr 1fr; }
}

/* ---------- i18n language switcher: reskin to theme ----------
   The switcher is runtime-injected by i18n-public-es.js (do NOT edit that file).
   It styles itself with an injected <style>; these overrides re-skin it to the
   layout-B chrome. !important is required to beat the injected sheet. */
body.layout-b .language-visual-trigger {
  background: #0a0a0b !important;
  border: 1px solid var(--hairline-strong) !important;
  border-radius: 7px !important;
  height: 36px !important;
  width: 92px !important;
  font: 500 12px/1 var(--font-ui) !important;
  color: var(--bone) !important;
}
body.layout-b .language-visual-overlay { width: 92px !important; }
body.layout-b .language-visual-menu {
  background: #0d0e10 !important;
  border: 1px solid var(--hairline-strong) !important;
  border-radius: 10px !important;
  width: 92px !important;
  top: 42px !important;
}
body.layout-b .language-visual-menu button {
  font: 500 12px/1 var(--font-ui) !important;
  color: var(--bone) !important;
}
body.layout-b .language-visual-menu button:hover { background: var(--surface-2) !important; }

/* ---------- wheel: depth, rounded sectors, history panel ---------- */
body.layout-b .game-wheel-stage { filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .6)); }
body.layout-b .game-wheel {
  border: none;
  box-shadow:
    inset 0 0 0 3px rgba(255, 202, 22, .28),
    inset 0 14px 34px rgba(255, 255, 255, .10),
    inset 0 -18px 40px rgba(0, 0, 0, .55);
}
/* объём: световая линза поверх секторов + мягкая кромка */
body.layout-b .game-wheel::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(105% 105% at 32% 22%, rgba(255, 255, 255, .16), transparent 46%),
    radial-gradient(120% 120% at 50% 118%, rgba(0, 0, 0, .38), transparent 55%);
  pointer-events: none;
}
body.layout-b .game-wheel-rim {
  inset: -16px;
  border: none;
  background:
    repeating-conic-gradient(var(--gold-soft) 0deg 1.6deg, transparent 1.6deg 30deg),
    radial-gradient(closest-side, transparent calc(100% - 16px), rgba(255, 202, 22, .12) calc(100% - 15px), rgba(255, 202, 22, .3));
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 15px), #000 calc(100% - 14px));
  mask: radial-gradient(closest-side, transparent calc(100% - 15px), #000 calc(100% - 14px));
}
body.layout-b .game-wheel-hub {
  border: 1px solid rgba(255, 202, 22, .35);
  background: radial-gradient(120% 120% at 50% 20%, #17181b, #000 70%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* история под колесом: тот же язык, что панели главной */
body.layout-b[data-page="wheel"] .game-stage {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.history-b { margin-top: 18px; width: 100%; max-width: 560px; }
.panel-b.history-b {
  border: 1px solid var(--hairline); border-radius: 14px;
  background: var(--surface-1); padding: 14px 16px;
}
.history-b .side-h {
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em;
  text-transform: uppercase; color: var(--charcoal); margin-bottom: 10px;
}
.history-b .winner-row {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid #17181a;
  font: 400 12.5px/1.4 var(--font-mono); color: var(--smoke);
}
.history-b .winner-row:last-child { border-bottom: none; }
.history-b .winner-row strong { color: var(--white); font-weight: 500; }
.history-b .feed-empty { font: 400 12.5px/1.5 var(--font-mono); color: var(--iron); padding: 6px 0; }

/* мини-колесо главной: объём вместо плоского конуса */
body.layout-b .mini-wheel-wrap { filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .55)); }
body.layout-b .mini-wheel-wrap .wheel {
  box-shadow:
    inset 0 0 0 2px rgba(255, 202, 22, .3),
    inset 0 9px 20px rgba(255, 255, 255, .10),
    inset 0 -12px 26px rgba(0, 0, 0, .55);
}
body.layout-b .mini-wheel-wrap .wheel::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(105% 105% at 32% 22%, rgba(255, 255, 255, .14), transparent 46%);
  pointer-events: none;
}
body.layout-b .wheel-center {
  border: 1px solid rgba(255, 202, 22, .3);
  background: radial-gradient(120% 120% at 50% 20%, #17181b, #000 70%);
}

/* ---------- player identity (generated avatar + nick) ---------- */
.player-identity {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.player-identity .pi-avatar svg { display: block; border-radius: 12px; }
.player-identity .pi-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.player-identity .pi-nick { font: 500 15px/1.2 var(--font-ui); color: var(--white); }
.player-identity .pi-addr { font: 400 11px/1 var(--font-mono); color: var(--iron); }

/* ---------- wallet status card: в тему (было бело-серое) ---------- */
body.layout-b .wallet-inline {
  border: 1px solid var(--hairline); border-radius: 14px;
  background: linear-gradient(120deg, rgba(146, 129, 247, .07), transparent 55%), var(--surface-1);
}
body.layout-b .wallet-inline .primary {
  background: var(--violet); color: #0a0710; border: none; border-radius: 8px;
}
body.layout-b .wallet-inline .primary:hover { background: var(--violet-glow); }


/* центрируем сцену по вертикали колонки — раньше билет висел маленьким
   пятном в пустоте */
body.layout-b[data-page="tickets"] .game-stage {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 22px; align-self: stretch;
}
.tstack { position: relative; width: min(560px, 100%); margin: 0 auto; }
.tk { border-radius: 14px; }
.tk-back {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #6b5618, #46390f);
  border: 1px solid rgba(255, 202, 22, .25);
}
.tk-b1 { transform: rotate(-5.5deg) translate(-10px, 6px); opacity: .55; }
.tk-b2 { transform: rotate(3.5deg) translate(12px, -4px); opacity: .75; }
.tk-main {
  position: relative; display: flex; overflow: hidden;
  background:
    radial-gradient(120% 160% at 8% 0%, #ffe38a 0%, #ffca16 38%, #e2a812 72%, #c98f0b 100%);
  border: 1px solid #8a6a08;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
/* shimmer sweep — билет "живой", ловит свет */
.tk-main::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .34) 46%, transparent 60%);
  transform: translateX(-120%);
  animation: tk-shine 5.5s ease-in-out infinite;
}
@keyframes tk-shine { 0%, 55% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .tk-main::after { animation: none; } }

.tk-body { flex: 1; padding: 26px 24px 22px; min-width: 0; }
.tk-brand {
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .34em; color: #5d4708;
  display: flex; align-items: center; gap: 6px;
}
.tk-star { color: #7a5c05; }
.tk-title {
  display: block; font: 400 40px/1.05 var(--font-serif); color: #241a03; margin: 12px 0 8px;
}
.tk-serial {
  font: 400 10px/1 var(--font-mono); letter-spacing: .14em; color: #6b5309;
  padding-bottom: 12px; border-bottom: 1px dashed rgba(93, 71, 8, .5); margin-bottom: 12px;
}
.tk-prize { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tk-prize span { font: 500 9.5px/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: #5d4708; }
.tk-prize b { font: 500 30px/1 var(--font-mono); color: #241a03; }
.tk-prize small { font: 400 10px/1.3 var(--font-mono); color: #6b5309; }

/* корешок с перфорацией */
.tk-stub {
  flex: 0 0 86px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 14px 0 12px;
  background: linear-gradient(180deg, #f7ce53, #dfa90f);
  border-left: 2px dashed rgba(93, 71, 8, .55);
}
.tk-hole {
  width: 14px; height: 14px; border-radius: 50%;
  background: #000; box-shadow: inset 0 1px 3px rgba(0,0,0,.8);
}
.tk-code {
  flex: 1; width: 44px; margin: 10px 0;
  background: repeating-linear-gradient(180deg, #241a03 0 2px, transparent 2px 5px, #241a03 5px 6px, transparent 6px 10px);
  opacity: .8;
}
.tk-price { font: 500 17px/1 var(--font-mono); color: #241a03; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tk-price small { font: 500 8.5px/1 var(--font-mono); letter-spacing: .18em; color: #5d4708; }

/* старую чёрную карточку глушим, если стили остались подключены */
body.layout-b .golden-ticket { display: none; }


/* ---------- Lucky alive ----------
   Урок: анимация ВСЕЙ фигуры (translateY/rotate) читается как левитация и
   «замах». Живость делаем внутри SVG (SMIL: крыло толкает, глаза моргают),
   CSS двигает только колесо. */
@keyframes wheel-idle-drift { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* сам барабан в ожидании медленно дрейфует — стол живой, страница не мертвая;
   prefers-reduced-motion уважаем */
body.layout-b .game-wheel { animation: wheel-idle-drift 56s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  body.layout-b .game-wheel { animation: none; }
}
body.layout-b .account-main {
  margin-left: auto; margin-right: auto;
  max-width: calc(var(--page-max) + var(--rail));
  padding-left: calc(var(--rail) + 24px);
}

body.layout-b .disconnected-orb {
  background: none; border: none; font-size: 0; width: auto; height: auto;
}
body.layout-b .disconnected-orb img { width: 92px; height: 92px; display: block; }

.stage-mascot {
  display: flex; justify-content: center; align-items: center;
  gap: 10px; margin-top: 16px; opacity: .92;
}
.stage-mascot img { width: 96px; height: 96px; }
.stage-mascot small {
  font: 400 11px/1.5 var(--font-mono); color: var(--charcoal); max-width: 20ch;
}

/* player-share fact chip */
.fact-zero { color: var(--green) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  body.layout-b .app-shell { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .feat-b { flex-direction: column; }
  .feat-b .feat-art { width: 100%; border-right: none; border-bottom: 1px solid var(--hairline); }
  .row2-b { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body.layout-b { --rail: 0px; }
  .rail-b { display: none; }           /* mobile-dock takes over */
  .top-brand { display: flex; }        /* rail is gone: logo must live here */
  .top-b .crumb-b { display: none; }   /* brand replaces the crumb on small screens */
  body.layout-b .account-main { margin-left: 0; }
  body.layout-b .app-shell { margin-left: 0; }
  .top-b {
    margin-left: 0; padding: 10px 14px;
    flex-wrap: wrap;
  }
  .top-b .tabs-b {
    order: 3; width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .top-b .tabs-b::-webkit-scrollbar { display: none; }
  .top-b .tab-b { white-space: nowrap; }
  .top-b .net-chip { display: none; }  /* contract addr lives in Verify panel */
  .top-b .top-sp { display: none; }
  .top-b .wallet-btn { margin-left: auto; }
  body.layout-b .app-shell { margin-left: 0; padding: 14px 14px 96px; }
  .feat-b .feat-cta { margin-left: 0; width: 100%; text-align: center; }
}
