:root {
  color-scheme: dark;
  --bg: #06150f;
  --bg-deep: #03100b;
  --surface: #0b241a;
  --surface-2: #102e22;
  --line: rgba(201, 255, 226, .13);
  --line-strong: rgba(201, 255, 226, .24);
  --text: #effff5;
  --muted: #a9beb3;
  --subtle: #839f91;
  --lime: #9cf51c;
  --lime-soft: #c9ff72;
  --gold: #f2cf6b;
  --red: #ff745f;
  --blue: #71b7ff;
  --radius: 18px;
  --safe-top: 18px;
  --safe-bottom: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg-deep); }
body { margin: 0; min-height: 100vh; color: var(--text); background:
  radial-gradient(circle at 68% 22%, rgba(44, 122, 78, .22), transparent 28rem),
  linear-gradient(135deg, #04110c, #081c14 56%, #04110c); }
button, input { font: inherit; }
button { color: inherit; }
button:not(:disabled) { cursor: pointer; }
button:focus-visible, input:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; color: #07130d; background: var(--lime); border-radius: 10px; }
.skip-link:focus { top: 12px; }

.studio-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.studio-rail { position: sticky; top: 0; height: 100vh; padding: 30px 20px 22px; border-right: 1px solid var(--line); background: rgba(4, 17, 12, .82); backdrop-filter: blur(24px); overflow: auto; z-index: 4; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 38px; height: 38px; fill: var(--lime); }
.brand svg .brand-spade { fill: rgba(4, 22, 14, .8); transform: scale(.52); transform-origin: 24px 27px; }
.brand span { display: grid; line-height: 1.05; }
.brand b { font-size: 18px; letter-spacing: .04em; }
.brand small { margin-top: 7px; color: var(--muted); font-size: 9px; letter-spacing: .18em; }
.rail-kicker { margin: 38px 8px 12px; color: #587366; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.screen-nav { display: grid; gap: 4px; }
.nav-group { margin: 16px 8px 6px; color: #5f796c; font-size: 10px; letter-spacing: .12em; }
.screen-link { width: 100%; min-height: 44px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.screen-link:hover { background: rgba(255,255,255,.04); }
.screen-link.active { color: var(--lime-soft); background: linear-gradient(90deg, rgba(156,245,28,.13), rgba(156,245,28,.02)); }
.screen-link.active::before { content: ""; position: absolute; width: 3px; height: 20px; margin-left: -10px; border-radius: 99px; background: var(--lime); }
.screen-link b { font-weight: 600; font-size: 13px; }
.screen-link small { color: #668073; font-variant-numeric: tabular-nums; }
.screen-link .nav-icon { width: 22px; height: 22px; display: grid; place-items: center; color: #789588; font-size: 12px; border: 1px solid var(--line); border-radius: 50%; }
.source-legend { margin: 30px 8px 0; display: grid; gap: 9px; color: #789286; font-size: 10px; }
.source-legend span { display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--target { background: var(--lime); }
.dot--source { background: var(--gold); }
.dot--verified { background: var(--blue); }
.dot--later { border: 1px solid #9b84d4; }

.studio-main { min-width: 0; padding: 28px clamp(24px, 4vw, 64px) 54px; }
.studio-header { min-height: 82px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; color: #668376; font-size: 10px; letter-spacing: .18em; }
.studio-header h1 { margin: 0; font-size: clamp(26px, 3vw, 42px); font-weight: 520; letter-spacing: -.03em; }
.header-actions { display: flex; gap: 10px; }
.studio-button { min-height: 40px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.025); cursor: pointer; }
.studio-button:hover { border-color: rgba(156,245,28,.5); }
.studio-button--accent { color: #0c1b11; background: var(--lime); border-color: var(--lime); font-weight: 700; }
.workbench { min-height: calc(100vh - 170px); display: grid; grid-template-columns: minmax(430px, 1fr) minmax(260px, 340px); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 30px; }
.phone-stage { min-height: 900px; position: relative; display: grid; place-items: center; }
.phone-shadow { position: absolute; width: 360px; height: 690px; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(48px); transform: translateY(80px); }
.phone { position: relative; width: 390px; height: 844px; overflow: hidden; border: 1px solid rgba(218,255,234,.28); border-radius: 42px; background: #071b14; box-shadow: 0 34px 90px rgba(0,0,0,.48), inset 0 0 0 7px rgba(0,0,0,.34); transform: translateZ(0); }
.phone.show-grid::after { content: ""; position: absolute; inset: 0; z-index: 80; pointer-events: none; background-image: linear-gradient(rgba(255,70,70,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,70,70,.16) 1px, transparent 1px); background-size: 8px 8px; mix-blend-mode: screen; }
.device-notes { position: absolute; left: 50%; bottom: 0; width: 390px; display: flex; justify-content: space-between; transform: translateX(-50%); color: #476157; font-size: 9px; letter-spacing: .12em; }

.spec-panel { align-self: center; }
.status-tags { min-height: 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.status-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #99b5a8; font-size: 9px; letter-spacing: .08em; }
.status-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-tag.target { color: var(--lime-soft); }
.status-tag.source { color: var(--gold); }
.status-tag.verified { color: var(--blue); }
.status-tag.later { color: #b49eea; }
.status-tag.spec { color: #f0b8ff; }
.screen-index { margin: 32px 0 10px; color: #486359; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.spec-panel h2 { margin: 0; font-size: 32px; font-weight: 520; }
.spec-summary { min-height: 64px; margin: 15px 0 24px; color: #a4b9af; font-size: 14px; line-height: 1.7; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: #597469; font-size: 11px; }
.spec-list dd { margin: 0; color: #c7d8cf; font-size: 12px; line-height: 1.55; }
.acceptance { margin-top: 22px; }
.acceptance h3 { margin: 0 0 10px; color: #637e71; font-size: 10px; letter-spacing: .14em; font-weight: 600; }
.acceptance ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.acceptance li { padding-left: 18px; color: #a2b8ad; font-size: 11px; line-height: 1.5; }
.acceptance li::before { content: "✓"; float: left; margin-left: -18px; color: var(--lime); }
.scenario-controls { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.scenario-controls[hidden] { display: none; }
.scenario-controls > p { margin: 0 0 10px; color: #6c887b; font-size: 10px; letter-spacing: .12em; }
.scenario-options { display: flex; flex-wrap: wrap; gap: 7px; }
.scenario-options button { min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: #8fa99c; background: rgba(255,255,255,.02); font-size: 10px; cursor: pointer; }
.scenario-options button.active { border-color: rgba(156,245,28,.55); color: var(--lime-soft); background: rgba(156,245,28,.09); }
.timeline-controls { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.timeline-controls p { margin: 0 0 10px; color: #6c887b; font-size: 10px; letter-spacing: .12em; }
.timeline-row { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 8px; }
.timeline-row button { height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.timeline-row span { color: #d8e8df; font-size: 12px; text-align: center; }
.timeline-auto { width: 100%; margin-top: 10px; }

/* Mobile product canvas */
.mobile-screen { height: 100%; min-height: 0; position: relative; display: flex; flex-direction: column; overflow: hidden; color: var(--text); background:
  radial-gradient(circle at 80% 6%, rgba(46, 118, 79, .25), transparent 15rem),
  linear-gradient(180deg, #092218, #071a13 70%); }
.safe-header { padding: calc(var(--safe-top) + 14px) 22px 12px; display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.safe-header h2 { margin: 0; font-size: 18px; font-weight: 620; letter-spacing: -.02em; }
.safe-header .context { color: var(--muted); font-size: 11px; }
.header-spacer { width: 44px; height: 44px; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(0,0,0,.16); cursor: pointer; }
.text-button { min-height: 44px; padding: 0 4px; border: 0; color: var(--lime-soft); background: transparent; cursor: pointer; }
.mobile-content { flex: 1; min-height: 0; overflow: auto; padding: 8px 22px 136px; scroll-padding: 16px 0 136px; scrollbar-width: none; }
.mobile-content::-webkit-scrollbar { display: none; }
.hero-copy { margin: 22px 0 28px; }
.hero-copy .micro { color: var(--lime-soft); font-size: 10px; letter-spacing: .18em; }
.hero-copy h1 { max-width: 310px; margin: 12px 0 10px; font-size: 34px; line-height: 1.08; letter-spacing: -.045em; font-weight: 630; }
.hero-copy p { max-width: 320px; margin: 0; color: #8fa89c; font-size: 13px; line-height: 1.6; }
.task-intro { margin: 12px 0 22px; }
.task-intro .micro { color: var(--lime-soft); font-size: 11px; letter-spacing: .12em; }
.task-intro h1 { margin: 9px 0 8px; font-size: 28px; line-height: 1.12; letter-spacing: -.035em; }
.task-intro p { margin: 0; color: #9bb2a7; font-size: 13px; line-height: 1.55; }
.section-label { margin: 24px 0 12px; display: flex; justify-content: space-between; align-items: center; color: #718d80; font-size: 10px; letter-spacing: .12em; }
.section-label button { border: 0; color: var(--lime-soft); background: none; font-size: 11px; }
.primary-action, .secondary-action { width: 100%; min-height: 52px; border-radius: 15px; cursor: pointer; }
.primary-action { border: 0; color: #122009; background: var(--lime); font-weight: 760; box-shadow: 0 10px 30px rgba(156,245,28,.12); }
.secondary-action { border: 1px solid var(--line-strong); color: #d7e7de; background: rgba(255,255,255,.025); }
.primary-action:disabled, .secondary-action:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hairline { height: 1px; background: var(--line); }
.data-row { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.data-row span { color: #8da89b; font-size: 12px; }
.data-row strong { font-size: 13px; font-weight: 600; text-align: right; }
.data-row--button { width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: transparent; text-align: left; cursor: pointer; }
.muted { color: var(--muted); }
.lime { color: var(--lime-soft); }
.gold { color: var(--gold); }
.danger { color: var(--red); }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; color: #9eb7ab; font-size: 10px; }
.pill--live { border-color: rgba(156,245,28,.28); color: var(--lime-soft); }
.amount { font-variant-numeric: tabular-nums; }
.sticky-action { position: sticky; z-index: 4; bottom: -1px; margin-top: 14px; padding: 12px 0 calc(8px + var(--safe-bottom)); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(7,26,19,.97), #071a13); }

.state-notice { margin: 14px 0 18px; padding: 14px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); text-align: left; }
.state-notice__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--lime-soft); background: rgba(156,245,28,.09); font-size: 18px; font-weight: 800; }
.state-notice strong { display: block; margin: 1px 0 5px; font-size: 13px; }
.state-notice p { margin: 0; color: #9ab1a6; font-size: 12px; line-height: 1.55; }
.state-notice--warning { border-color: rgba(242,207,107,.22); background: rgba(242,207,107,.045); }
.state-notice--warning .state-notice__icon { color: var(--gold); background: rgba(242,207,107,.1); }
.state-notice--danger { border-color: rgba(255,116,95,.24); background: rgba(255,116,95,.045); }
.state-notice--danger .state-notice__icon { color: var(--red); background: rgba(255,116,95,.1); }

.result-layout { padding-top: 14px; }
.result-mark { width: 82px; height: 82px; margin: 22px auto 20px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 30px; }
.result-mark--success { border-color: rgba(156,245,28,.38); color: var(--lime-soft); background: rgba(156,245,28,.07); }
.result-mark--pending { border-color: rgba(242,207,107,.32); color: var(--gold); background: rgba(242,207,107,.06); }
.result-copy { margin: 8px 0 24px; text-align: center; }
.result-copy > span { color: #799588; font-size: 10px; letter-spacing: .1em; }
.result-copy h1 { margin: 10px 0 8px; font-size: 28px; letter-spacing: -.035em; }
.result-copy p { margin: 0 auto; max-width: 310px; color: #9bb2a7; font-size: 12px; line-height: 1.65; }

.handoff-banner { margin: 12px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.handoff-banner .micro { color: #f0b8ff; font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.handoff-banner h1 { margin: 10px 0 8px; font-size: 28px; line-height: 1.12; letter-spacing: -.035em; }
.handoff-banner p { margin: 0; color: #a7bdb2; font-size: 12px; line-height: 1.65; }
.handoff-package { display: grid; border-top: 1px solid var(--line); }
.handoff-package > div { min-height: 76px; padding: 13px 0; display: grid; grid-template-columns: 70px 1fr; align-content: center; column-gap: 12px; border-bottom: 1px solid var(--line); }
.handoff-package span { grid-row: 1 / 3; align-self: center; color: var(--lime-soft); font: 700 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.handoff-package strong { font-size: 13px; }
.handoff-package small { margin-top: 5px; color: #93aa9f; font-size: 10px; line-height: 1.45; }

.bottom-nav { position: absolute; z-index: 20; left: 12px; right: 12px; bottom: 10px; min-height: 75px; padding: 8px 8px calc(8px + var(--safe-bottom)); display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 24px; background: rgba(6, 24, 17, .94); backdrop-filter: blur(18px); box-shadow: 0 15px 44px rgba(0,0,0,.3); }
.bottom-nav button { min-height: 52px; display: grid; place-items: center; gap: 2px; border: 0; border-radius: 17px; color: #6e8a7d; background: transparent; font-size: 10px; cursor: pointer; }
.bottom-nav button b { font-size: 17px; line-height: 1; }
.bottom-nav button.active { color: var(--lime-soft); background: rgba(156,245,28,.09); }

.club-identity { margin: 5px 0 28px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px; }
.club-mark { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(156,245,28,.22); border-radius: 20px; color: #092014; background: linear-gradient(145deg, var(--lime), #52b91b); font-weight: 900; font-size: 20px; transform: rotate(-4deg); }
.club-identity h3 { margin: 0 0 5px; font-size: 18px; }
.club-identity p { margin: 0; color: var(--muted); font-size: 11px; }
.balance-strip { margin: 0 -22px 28px; padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; align-items: end; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(156,245,28,.06), transparent); }
.balance-strip span { color: #7b988a; font-size: 10px; letter-spacing: .12em; }
.balance-strip strong { display: block; margin-top: 8px; font-size: 30px; letter-spacing: -.03em; }
.balance-strip small { color: #6c887b; }
.room-list { display: grid; gap: 10px; }
.room-line { position: relative; width: 100%; min-height: 102px; padding: 16px 14px 14px 78px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); text-align: left; cursor: pointer; overflow: hidden; }
.room-line:hover { border-color: rgba(156,245,28,.34); }
.seat-ring { position: absolute; left: 15px; top: 17px; width: 49px; height: 49px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--lime) var(--fill), rgba(255,255,255,.08) 0); }
.seat-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #0b241a; }
.seat-ring b { z-index: 1; font-size: 11px; }
.room-line .room-top { display: flex; justify-content: space-between; color: #86a094; font-size: 10px; }
.room-line h4 { margin: 7px 0 6px; font-size: 19px; }
.room-line .room-meta { display: flex; gap: 10px; color: #6e8b7e; font-size: 10px; }

.invite-field { margin: 16px 0 18px; display: grid; grid-template-columns: 1fr 86px; gap: 8px; }
.invite-field input { min-width: 0; height: 54px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 16px; color: var(--text); background: rgba(0,0,0,.18); letter-spacing: .18em; }
.invite-field button { border: 0; border-radius: 16px; color: #112008; background: var(--lime); font-weight: 800; }
.field-help { margin: -8px 0 18px; color: #6e897c; font-size: 9px; line-height: 1.55; }
.status-band { width: 100%; min-height: 66px; margin: -8px 0 18px; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-block: 1px solid var(--line); color: inherit; background: transparent; text-align: left; }
.status-band span { display: grid; gap: 5px; }
.status-band small { color: var(--gold); font-size: 9px; letter-spacing: .08em; }
.status-band b { font-size: 12px; }
.status-band strong { color: var(--lime-soft); font-size: 10px; }
.resume-band { margin: 26px 0; padding: 20px; border-left: 3px solid var(--lime); background: linear-gradient(90deg, rgba(156,245,28,.09), transparent); }
.resume-band small { color: #769285; }
.resume-band h3 { margin: 8px 0 12px; font-size: 20px; }
.resume-band button { padding: 0; border: 0; color: var(--lime-soft); background: none; }

.profile-head { margin: 12px 0 30px; display: flex; align-items: center; gap: 15px; }
.avatar { width: 62px; height: 62px; display: grid; place-items: center; border: 2px solid rgba(156,245,28,.45); border-radius: 50%; background: linear-gradient(145deg, #2b7650, #143a29); font-size: 26px; }
.profile-head h3 { margin: 0 0 5px; font-size: 19px; }
.profile-head p { margin: 0; color: var(--muted); font-size: 11px; }
.stat-rings { height: 176px; display: grid; place-items: center; position: relative; }
.rings { width: 156px; height: 156px; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--lime) 0 40%, rgba(255,255,255,.05) 40% 100%); }
.rings::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: conic-gradient(var(--blue) 0 15%, rgba(255,255,255,.05) 15% 100%); }
.rings::after { content: ""; position: absolute; inset: 27px; border-radius: 50%; background: conic-gradient(var(--gold) 0 45%, rgba(255,255,255,.05) 45% 100%); box-shadow: inset 0 0 0 13px #0a2118; }
.rings-center { z-index: 2; text-align: center; }
.rings-center strong { display: block; font-size: 25px; }
.rings-center small { color: var(--muted); font-size: 9px; }
.ring-legend { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4px; text-align: center; }
.ring-legend span { color: #718d80; font-size: 9px; }
.ring-legend b { display: block; margin-top: 4px; color: var(--text); font-size: 13px; }

.room-hero { margin: 6px 0 18px; padding: 24px 0; border-block: 1px solid var(--line); }
.room-hero .micro { color: var(--lime-soft); font-size: 10px; letter-spacing: .15em; }
.room-hero h1 { margin: 10px 0 8px; font-size: 36px; letter-spacing: -.04em; }
.room-hero p { margin: 0; color: var(--muted); font-size: 12px; }
.fee-note { margin: 18px 0; padding: 14px 15px; border: 1px solid rgba(242,207,107,.18); border-radius: 14px; color: #cbbf92; background: rgba(242,207,107,.045); font-size: 11px; line-height: 1.6; }
.fee-disclosure { margin: 18px 0; padding: 0 15px 13px; border: 1px solid rgba(242,207,107,.22); border-radius: 16px; background: rgba(242,207,107,.04); }
.fee-disclosure__head { min-height: 46px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(242,207,107,.16); color: var(--gold); font-size: 11px; }
.fee-disclosure__head strong { font-size: 10px; font-weight: 600; }
.fee-disclosure > div:not(.fee-disclosure__head) { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); font-size: 11px; }
.fee-disclosure > div span { color: #9eb2a8; }
.fee-disclosure > div b { text-align: right; }
.fee-disclosure p { margin: 12px 0 0; color: #b9ae83; font-size: 11px; line-height: 1.55; }
.seat-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seat-picker button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 14px; color: #809b8e; background: rgba(255,255,255,.02); }
.seat-picker button.selected { border-color: var(--lime); color: var(--lime-soft); background: rgba(156,245,28,.08); }
.seat-picker button:disabled { opacity: .5; }
.reservation-meter { height: 3px; margin: -5px 0 12px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.reservation-meter span { display: block; width: var(--remaining); height: 100%; border-radius: inherit; background: var(--lime); transition: width .2s linear; }
.buy-amount { margin: 20px 0; }
.buy-amount label { display: flex; justify-content: space-between; color: #789487; font-size: 11px; }
.buy-amount strong { color: var(--text); font-size: 16px; }
.buy-amount input { width: 100%; margin: 20px 0 6px; accent-color: var(--lime); }
.range-labels { display: flex; justify-content: space-between; color: #607a6e; font-size: 10px; }
.template-option { width: 100%; min-height: 72px; margin-bottom: 9px; padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 16px; color: inherit; background: rgba(255,255,255,.02); text-align: left; }
.template-option.selected { border-color: rgba(156,245,28,.55); background: linear-gradient(90deg, rgba(156,245,28,.09), transparent); }
.template-option span { display: grid; gap: 5px; }
.template-option b { font-size: 13px; }
.template-option small { color: var(--muted); font-size: 10px; }
.template-option strong { color: var(--lime-soft); font-size: 9px; }
.member-search { height: 50px; margin: 5px 0 20px; padding: 0 15px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.14); }
.member-search span { color: var(--lime-soft); }
.member-search input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; }
.member-list { display: grid; }
.member-row { width: 100%; min-height: 64px; padding: 8px 0; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: transparent; text-align: left; }
.mini-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #10200c; background: var(--lime-soft); font-weight: 800; }
.member-row span:nth-child(2) { display: grid; gap: 4px; }
.member-row b { font-size: 12px; }
.member-row small { color: var(--muted); font-size: 9px; }
.member-row em { color: #789487; font-size: 10px; font-style: normal; }

/* Club invitation and membership states */
.invite-portrait { padding: 20px 0 26px; text-align: center; border-bottom: 1px solid var(--line); }
.invite-portrait .club-mark { margin: 0 auto 16px; }
.invite-portrait > span { color: var(--lime-soft); font-size: 9px; letter-spacing: .18em; }
.invite-portrait h1 { margin: 10px 0 6px; font-size: 30px; letter-spacing: -.04em; }
.invite-portrait p { margin: 0; color: var(--muted); font-size: 11px; }
.impact-note { margin: 22px 0 8px; padding-left: 15px; border-left: 3px solid var(--lime); }
.impact-note b { font-size: 12px; }
.impact-note p { margin: 7px 0 0; color: #91aa9e; font-size: 11px; line-height: 1.65; }
.quiet-action { width: 100%; min-height: 48px; border: 0; color: #7f9b8e; background: transparent; font-size: 10px; }
.application-state { text-align: center; }
.application-state > h1 { margin: 12px 0 10px; font-size: 28px; letter-spacing: -.035em; }
.application-state > p { margin: 0 auto 26px; max-width: 310px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.application-state .data-row, .application-state .fee-note { text-align: left; }
.state-orbit { width: 92px; height: 92px; margin: 38px auto 22px; display: grid; place-items: center; position: relative; border: 1px solid rgba(242,207,107,.32); border-radius: 50%; color: var(--gold); background: rgba(242,207,107,.05); }
.state-orbit::after { content: ""; position: absolute; inset: 9px; border: 1px dashed rgba(242,207,107,.2); border-radius: inherit; animation: orbit 10s linear infinite; }
.state-orbit.approved { border-color: rgba(156,245,28,.38); color: var(--lime-soft); background: rgba(156,245,28,.06); }
.state-orbit.rejected { border-color: rgba(255,116,95,.34); color: var(--red); background: rgba(255,116,95,.055); }
.state-orbit span { font-size: 29px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.status-track { margin: 0 0 20px; text-align: left; }
.status-track > div { min-height: 62px; display: grid; grid-template-columns: 22px 1fr; gap: 10px; position: relative; }
.status-track > div::after { content: ""; position: absolute; left: 6px; top: 19px; bottom: -3px; width: 1px; background: var(--line-strong); }
.status-track > div:last-child::after { display: none; }
.status-track i { width: 13px; height: 13px; margin-top: 2px; border: 2px solid #49675a; border-radius: 50%; }
.status-track .done i { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 0 4px rgba(156,245,28,.08); }
.status-track .current i { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,207,107,.08); }
.status-track span { display: grid; align-content: start; gap: 5px; }
.status-track b { font-size: 11px; }
.status-track small { color: #6f8b7e; font-size: 9px; }

/* Table */
.table-screen { background: #073423; }
.table-top { position: absolute; z-index: 8; top: 0; left: 0; right: 0; height: 84px; padding: 23px 14px 0; display: grid; grid-template-columns: 54px 1fr 54px; align-items: start; background: linear-gradient(#062a1d, transparent); }
.table-top button { width: 48px; height: 40px; border: 1px solid rgba(225,255,237,.12); border-radius: 22px; background: rgba(0,0,0,.16); font-size: 11px; }
.table-title { padding-top: 3px; text-align: center; }
.table-title strong { display: block; font-size: 12px; letter-spacing: .1em; }
.table-title span { display: block; margin-top: 5px; color: #8db19f; font-size: 9px; }
.felt { position: absolute; top: 72px; left: 13px; right: 13px; bottom: 146px; border: 1px solid rgba(197,255,220,.18); border-radius: 49% / 19%; background:
  radial-gradient(ellipse at center, rgba(25,114,75,.55), rgba(6,65,43,.88) 60%, #06422d 100%),
  repeating-radial-gradient(ellipse at center, transparent 0 17px, rgba(255,255,255,.018) 18px 19px); box-shadow: inset 0 0 0 9px rgba(0,24,15,.22), inset 0 0 80px rgba(0,0,0,.22); }
.felt::after { content: "STORM\A POKER"; white-space: pre; position: absolute; left: 50%; top: 37%; transform: translate(-50%,-50%); color: rgba(220,255,233,.045); font-size: 27px; font-weight: 900; letter-spacing: .22em; text-align: center; }
.pot { position: absolute; z-index: 2; left: 50%; top: 43%; transform: translate(-50%,-50%); text-align: center; }
.pot span { color: #b8d5c7; font-size: 9px; letter-spacing: .12em; }
.pot strong { display: block; margin-top: 3px; font-size: 20px; }
.board-cards { position: absolute; z-index: 3; left: 50%; top: 50%; display: flex; gap: 4px; transform: translate(-50%,-50%); }
.card { width: 34px; height: 48px; padding: 4px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 5px; color: #15271c; background: #f5f2e6; box-shadow: 0 3px 9px rgba(0,0,0,.25); font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.card.red { color: #d64444; }
.card.back { padding: 0; background: repeating-linear-gradient(45deg,#d73b58 0 3px,#7d1730 3px 6px); border: 2px solid #f0a2ae; }
.card.empty { background: rgba(0,31,20,.26); border: 1px solid rgba(210,255,229,.12); box-shadow: none; }
.seat { position: absolute; z-index: 4; width: 76px; transform: translate(-50%,-50%); text-align: center; }
.seat-avatar { width: 37px; height: 37px; margin: 0 auto -2px; display: grid; place-items: center; position: relative; border: 2px solid #76a38d; border-radius: 50%; background: #1f6346; font-size: 17px; }
.seat.current .seat-avatar { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(156,245,28,.12); }
.timer-ring { position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(var(--lime) var(--timer), transparent 0); -webkit-mask: radial-gradient(transparent 61%,#000 63%); mask: radial-gradient(transparent 61%,#000 63%); }
.seat-info { min-height: 30px; padding: 4px 5px; border-radius: 4px; background: rgba(1,31,20,.88); box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.seat-info b { display: block; overflow: hidden; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.seat-info span { color: #ccded4; font-size: 9px; font-variant-numeric: tabular-nums; }
.seat-action { min-height: 19px; margin: 3px auto 0; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 999px; color: #17230d; background: var(--lime-soft); font-size: 8px; font-weight: 800; white-space: nowrap; }
.seat-bet { position: absolute; z-index: 3; color: var(--gold); font-size: 9px; font-weight: 700; }
.dealer { position: absolute; right: -4px; bottom: -1px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #27350b; background: var(--gold); font-size: 8px; font-weight: 900; }
.hole { position: absolute; z-index: 5; left: 50%; bottom: 139px; display: flex; gap: 4px; transform: translateX(-50%); }
.hole .card { width: 39px; height: 54px; font-size: 14px; }
.street-label { position: absolute; z-index: 4; left: 50%; bottom: 140px; transform: translateX(-50%); color: #8fb3a1; font-size: 9px; white-space: nowrap; }
.table-tools { position: absolute; z-index: 9; left: 12px; right: 12px; bottom: 140px; display: flex; justify-content: space-between; pointer-events: none; }
.table-tools button { width: 43px; height: 43px; border: 0; border-radius: 50%; color: #d3e6dc; background: rgba(2,42,28,.84); pointer-events: auto; }
.action-dock { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; min-height: 137px; padding: 10px 12px calc(10px + var(--safe-bottom)); border-top: 1px solid rgba(229,255,239,.12); background: rgba(4,29,20,.97); }
.turn-prompt { height: 24px; color: #c8ded3; font-size: 10px; text-align: center; }
.quick-bets { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 7px; }
.quick-bets button { height: 34px; border: 1px solid var(--line); border-radius: 9px; color: #779487; background: rgba(255,255,255,.02); font-size: 9px; }
.table-actions { display: grid; grid-template-columns: .85fr 1fr 1.1fr; gap: 7px; }
.table-actions button { height: 48px; border: 1px solid var(--line); border-radius: 11px; background: #123d2b; font-size: 12px; }
.table-actions button:last-child { color: #102008; background: #66a93a; border-color: #66a93a; font-weight: 800; }
.table-actions button:disabled, .quick-bets button:disabled { opacity: .32; }
.event-flash { position: absolute; z-index: 15; left: 50%; top: 38%; min-width: 126px; padding: 9px 12px; border: 1px solid rgba(156,245,28,.3); border-radius: 999px; color: var(--lime-soft); background: rgba(2,27,18,.91); transform: translate(-50%,-50%); text-align: center; font-size: 10px; animation: flash-in .32s ease both; }
@keyframes flash-in { from { opacity: 0; transform: translate(-50%,-42%) scale(.92); } }

.sheet-mask { position: absolute; z-index: 30; inset: 0; display: flex; align-items: flex-end; background: rgba(0,7,4,.62); backdrop-filter: blur(5px); }
.sheet { width: 100%; max-height: 76%; overflow: auto; padding: 12px 22px calc(22px + var(--safe-bottom)); border-top: 1px solid var(--line-strong); border-radius: 28px 28px 0 0; background: #0c281d; animation: sheet-up .25s ease both; }
@keyframes sheet-up { from { transform: translateY(30px); opacity: .2; } }
.sheet-handle { width: 38px; height: 4px; margin: 2px auto 18px; border-radius: 999px; background: #365346; }
.sheet-title { display: flex; justify-content: space-between; align-items: center; }
.sheet-title h2 { margin: 0; font-size: 20px; }
.sheet-title button { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; }
.menu-grid { margin: 24px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.menu-grid button { min-height: 76px; padding: 8px; display: grid; place-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); color: #b8cdc3; font-size: 10px; }
.menu-grid b { color: var(--lime-soft); font-size: 18px; }
.menu-grid button.locked { opacity: .45; }
.rule-copy { color: #a6bbb1; font-size: 12px; line-height: 1.75; }
.rule-copy h3 { margin: 24px 0 8px; color: var(--text); font-size: 14px; }
.rule-copy ol { padding-left: 18px; }
.rule-copy li { margin: 8px 0; }
.chat-sheet { max-height: 80%; }
.chat-log { min-height: 220px; padding: 18px 0; display: grid; align-content: end; gap: 12px; }
.chat-log > div { max-width: 78%; }
.chat-log > div.mine { margin-left: auto; text-align: right; }
.chat-log b { color: #88a598; font-size: 9px; }
.chat-log p { margin: 4px 0; padding: 9px 12px; display: inline-block; border-radius: 5px 14px 14px 14px; color: #d9e9e1; background: #183d2d; font-size: 12px; }
.chat-log .mine p { color: #14200d; background: var(--lime-soft); border-radius: 14px 5px 14px 14px; }
.chat-log small { display: block; color: #597568; font-size: 8px; }
.quick-phrases { display: flex; gap: 6px; overflow: auto; }
.quick-phrases button { min-width: max-content; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: #96ada2; background: transparent; font-size: 9px; }
.chat-input { margin-top: 12px; display: grid; grid-template-columns: 42px 1fr 58px; gap: 7px; }
.chat-input button, .chat-input input { min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 13px; }
.chat-input input { padding: 0 12px; color: var(--text); background: rgba(0,0,0,.18); }
.chat-input button { color: var(--lime-soft); background: rgba(255,255,255,.03); font-size: 10px; }
.report-link { width: 100%; min-height: 44px; margin-top: 9px; border: 0; color: #a98b83; background: transparent; font-size: 10px; }
.exit-row { width: 100%; min-height: 70px; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: transparent; text-align: left; }
.exit-row span { display: grid; gap: 5px; }
.exit-row b { font-size: 13px; }
.exit-row small { color: var(--muted); font-size: 10px; }
.exit-row strong { color: var(--lime-soft); font-size: 20px; }
.settlement-summary { margin: 8px 0 18px; border-block: 1px solid var(--line); }
.settlement-summary > div { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); font-size: 12px; }
.settlement-summary > div:last-child { border-bottom: 0; }
.settlement-summary span { color: #8fa99c; }
.settlement-summary__total { min-height: 66px !important; }
.settlement-summary__total strong { color: var(--lime-soft); font-size: 18px; }
.record-summary { margin: 8px 0 24px; padding: 22px 0; display: grid; gap: 6px; border-block: 1px solid var(--line); }
.record-summary span { color: var(--muted); font-size: 10px; }
.record-summary strong { font-size: 32px; letter-spacing: -.04em; }
.record-summary small { color: #718d80; font-size: 9px; }
.record-row { width: 100%; min-height: 70px; padding: 11px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: transparent; text-align: left; }
.record-row span { display: grid; gap: 6px; }
.record-row b { font-size: 12px; }
.record-row small { color: var(--muted); font-size: 9px; }
.record-row strong { font-size: 13px; }
.ledger-row { min-height: 62px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.ledger-row i { width: 36px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: #85a094; font-size: 8px; font-style: normal; }
.ledger-row span { display: grid; gap: 4px; }
.ledger-row b { font-size: 11px; }
.ledger-row small, .ledger-row time { color: #668176; font-size: 8px; }

.history-hand { margin: 10px 0 20px; padding: 18px 0; border-block: 1px solid var(--line); }
.history-hand .board-cards { position: static; transform: none; margin: 16px 0; }
.history-result { display: flex; justify-content: space-between; align-items: end; }
.history-result strong { font-size: 28px; }
.event-list { margin: 0; padding: 0; list-style: none; }
.event-list li { min-height: 42px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; border-bottom: 1px solid var(--line); color: #9bb2a7; font-size: 11px; }
.event-list time { color: #526e61; font: 9px ui-monospace, monospace; }

.offline-state { flex: 1; display: grid; place-items: center; padding: 42px; text-align: center; }
.offline-state .signal { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 20px; border: 1px solid rgba(255,116,95,.3); border-radius: 50%; color: var(--red); font-size: 30px; background: rgba(255,116,95,.05); }
.offline-state h2 { margin: 0 0 10px; font-size: 24px; }
.offline-state p { margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.future-screen::before { content: "后续规则稿 · 非本期入口"; position: absolute; z-index: 3; top: 84px; right: -42px; width: 190px; padding: 7px 0; transform: rotate(34deg); color: #160f25; background: #b59aea; text-align: center; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.future-hero { margin: 20px 0 28px; }
.future-hero span { color: #b59aea; font-size: 10px; letter-spacing: .15em; }
.future-hero h1 { margin: 12px 0 10px; font-size: 31px; }
.future-hero p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.rule-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.rule-table th, .rule-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.rule-table th { color: #678477; font-weight: 500; }
.rule-table td:last-child { text-align: right; }
.source-proof { padding: 15px 0; border-bottom: 1px solid var(--line); }
.source-proof small { color: #678276; }
.source-proof strong { display: block; margin: 6px 0; font-size: 14px; }
.source-proof p { margin: 0; color: #99afa4; font-size: 11px; line-height: 1.55; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: #dff5e9; background: #113125; box-shadow: 0 12px 40px rgba(0,0,0,.38); transform: translate(-50%,20px); opacity: 0; pointer-events: none; transition: .22s ease; }
.toast.show { transform: translate(-50%,0); opacity: 1; }

/* P1 · visual hierarchy, interaction feedback and accessibility */
.sr-only { position: fixed; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mobile-screen { animation: screen-enter .2s cubic-bezier(.2,.75,.3,1) both; }
@keyframes screen-enter { from { opacity: .35; transform: translateY(5px); } }

.mobile-screen button { transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .12s ease, opacity .16s ease; }
.mobile-screen button:not(:disabled):active { transform: scale(.975); }
.mobile-screen button:disabled { cursor: not-allowed; }
.safe-header .context,
.section-label,
.balance-strip span,
.room-hero .micro,
.result-copy > span { color: var(--subtle); font-size: 11px; }
.section-label { letter-spacing: .08em; }
.hero-copy p,
.task-intro p,
.result-copy p,
.application-state > p,
.rule-copy { color: #b2c7bc; }
.data-row { min-height: 60px; }
.data-row span { color: #a6bcb1; font-size: 13px; }
.data-row strong { font-size: 14px; }
.pill { min-height: 28px; color: #acc3b7; font-size: 11px; }
.field-help { color: #93aa9f; font-size: 11px; line-height: 1.6; }
.primary-action,
.secondary-action { min-height: 54px; font-size: 14px; }
.primary-action:not(:disabled):hover { background: #b4ff43; box-shadow: 0 12px 34px rgba(156,245,28,.2); }
.secondary-action:not(:disabled):hover { border-color: rgba(156,245,28,.52); background: rgba(156,245,28,.06); }
.primary-action:disabled,
.secondary-action:disabled { opacity: .58; }

.state-notice { border-color: var(--line-strong); background: rgba(255,255,255,.035); }
.state-notice strong { font-size: 14px; }
.state-notice p { color: #b2c6bc; font-size: 12px; line-height: 1.62; }
.state-notice--warning { border-color: rgba(242,207,107,.34); background: rgba(242,207,107,.065); }
.state-notice--danger { border-color: rgba(255,116,95,.38); background: rgba(255,116,95,.065); }

.bottom-nav { border-color: rgba(201,255,226,.2); background: rgba(5,24,17,.97); }
.bottom-nav button { color: #91aa9e; font-size: 11px; }
.bottom-nav button.active { color: #d4ff91; background: rgba(156,245,28,.12); box-shadow: inset 0 0 0 1px rgba(156,245,28,.12); }
.bottom-nav button.active b { filter: drop-shadow(0 0 8px rgba(156,245,28,.3)); }

.club-identity p,
.profile-head p { color: #a4baaf; font-size: 12px; }
.balance-strip span { letter-spacing: .08em; }
.balance-strip small { color: #94aa9f; font-size: 11px; line-height: 1.55; }
.room-list { gap: 12px; }
.room-line { min-height: 108px; border-color: rgba(201,255,226,.17); background: rgba(255,255,255,.03); }
.room-line:hover,
.room-line:focus-visible { border-color: rgba(156,245,28,.52); background: rgba(156,245,28,.045); }
.room-line .room-top { color: #a3b9ae; font-size: 11px; }
.room-line .room-meta { flex-wrap: wrap; row-gap: 4px; color: #8ea89b; font-size: 11px; }
.seat-ring b { font-size: 12px; }
.status-band small { font-size: 10px; }
.status-band b { font-size: 13px; }
.status-band strong { font-size: 11px; }
.rings-center small,
.ring-legend span { color: #91aa9e; font-size: 11px; }
.ring-legend b { font-size: 14px; }
.fee-note,
.fee-disclosure__head,
.fee-disclosure > div:not(.fee-disclosure__head),
.fee-disclosure p { font-size: 12px; }
.fee-disclosure > div:not(.fee-disclosure__head) { min-height: 46px; }
.fee-disclosure > div span { color: #abc0b5; }

.seat-picker { gap: 10px; }
.seat-picker button { min-height: 74px; aspect-ratio: 1; display: grid; place-content: center; gap: 5px; border-color: rgba(201,255,226,.25); color: #d8e8df; background: rgba(255,255,255,.035); }
.seat-picker button b { font-size: 18px; line-height: 1; }
.seat-picker button small { color: #98b0a4; font-size: 10px; }
.seat-picker button:not(:disabled):hover { border-color: rgba(156,245,28,.55); background: rgba(156,245,28,.06); }
.seat-picker button.selected { border-color: var(--lime); color: var(--lime-soft); background: rgba(156,245,28,.12); box-shadow: inset 0 0 0 1px rgba(156,245,28,.24), 0 8px 24px rgba(0,0,0,.16); }
.seat-picker button.selected small { color: var(--lime-soft); }
.seat-picker button:disabled { opacity: 1; color: #70897d; border-style: dashed; border-color: rgba(201,255,226,.12); background: repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0 6px,transparent 6px 12px); }
.seat-picker button:disabled small { color: #657e72; }
.reservation-meter { height: 5px; background: rgba(255,255,255,.12); }
.buy-amount label { color: #a4baaf; font-size: 12px; }
.range-labels { color: #8da69a; font-size: 11px; }
.template-option { min-height: 78px; border-color: rgba(201,255,226,.2); }
.template-option small { color: #a2b8ad; font-size: 11px; }
.template-option strong { font-size: 10px; }
.member-row small,
.member-row em,
.invite-portrait > span,
.invite-portrait p,
.impact-note p,
.status-track small { color: #93aa9f; font-size: 10px; }

.table-title strong { font-size: 13px; }
.table-title span { color: #a5c0b2; font-size: 10px; }
.table-top button { height: 44px; }
.pot span { font-size: 10px; }
.pot strong { font-size: 22px; }
.seat-info { background: rgba(1,26,17,.94); }
.seat-info b,
.seat-info span { font-size: 10px; }
.seat-action { min-height: 20px; font-size: 9px; }
.seat.current .seat-avatar { box-shadow: 0 0 0 4px rgba(156,245,28,.18), 0 0 24px rgba(156,245,28,.18); }
.street-label { color: #a7c1b4; font-size: 10px; }
.action-dock { min-height: 151px; padding-top: 9px; border-top-color: rgba(201,255,226,.22); background: rgba(3,25,17,.985); }
.action-dock.is-active { box-shadow: 0 -16px 44px rgba(1,16,10,.36); }
.action-dock.is-active::before { content: ""; position: absolute; top: -1px; left: 18px; right: 18px; height: 2px; border-radius: 999px; background: var(--lime); box-shadow: 0 0 16px rgba(156,245,28,.4); }
.turn-prompt { height: 27px; color: #eafff2; font-size: 12px; font-weight: 650; }
.action-dock.is-waiting .turn-prompt { color: #91aa9e; font-weight: 500; }
.quick-bets button { height: 44px; color: #9bb3a7; font-size: 10px; }
.table-actions button { height: 50px; border-color: rgba(201,255,226,.2); background: #143f2e; font-size: 13px; font-weight: 650; }
.table-actions button:last-child { color: #d9ebe1; background: #174c36; border-color: rgba(201,255,226,.26); }
.table-actions button.action-call,
.table-actions button.action-check { color: #102008; background: var(--lime); border-color: var(--lime); font-weight: 800; }
.table-actions button.action-fold { color: #c4d7cd; background: #102f23; }
.table-actions button.action-raise,
.table-actions button.action-bet { color: #dcece4; border-color: rgba(156,245,28,.34); }
.table-actions button:disabled,
.quick-bets button:disabled { opacity: .46; }
.felt { bottom: 166px; }
.hole { bottom: 166px; }
.street-label,
.table-tools { bottom: 167px; }
.table-tools button { width: 44px; height: 44px; }
.event-flash { font-size: 11px; }

.sheet-mask { background: rgba(0,7,4,.72); }
.sheet { border-color: rgba(201,255,226,.28); background: #0c2a1f; box-shadow: 0 -24px 70px rgba(0,0,0,.46); }
.sheet-title { position: sticky; top: -12px; z-index: 2; padding-top: 12px; background: linear-gradient(#0c2a1f 78%,transparent); }
.sheet-title button { border-radius: 50%; }
.sheet-title button:hover { background: rgba(255,255,255,.06); }
.menu-grid { grid-template-columns: repeat(2,1fr); }
.menu-grid button { min-height: 70px; color: #c9dbd2; font-size: 12px; }
.menu-grid button:hover { border-color: rgba(156,245,28,.45); background: rgba(156,245,28,.06); }
.chat-log b { color: #a6bdb1; font-size: 10px; }
.chat-log small { color: #829d90; font-size: 10px; }
.quick-phrases button { min-height: 38px; color: #adc1b7; font-size: 10px; }

.screen-link[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(156,245,28,.08); }
.scenario-options button { min-height: 38px; font-size: 11px; }
.timeline-row button { width: 42px; min-height: 42px; }

@media (max-width: 360px) {
  .safe-header { padding-inline: 16px; }
  .mobile-content { padding-inline: 16px; }
  .balance-strip { margin-inline: -16px; padding-inline: 16px; }
  .room-line { padding-left: 72px; }
  .seat-picker { gap: 7px; }
  .seat-picker button { min-height: 66px; }
  .action-row { grid-template-columns: 1fr; }
}

body.standalone { min-height: 100dvh; overflow: hidden; background: #071b14; }
body.standalone .studio-shell { display: block; min-height: 100dvh; }
body.standalone .studio-rail,
body.standalone .studio-header,
body.standalone .spec-panel,
body.standalone .device-notes,
body.standalone .phone-shadow { display: none; }
body.standalone .studio-main,
body.standalone .workbench,
body.standalone .phone-stage { width: 100%; min-height: 0; height: 100dvh; padding: 0; display: block; }
body.standalone .phone { width: 100vw; height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }

@media (min-width: 431px) {
  body.standalone .phone-stage { display: grid; place-items: center; background: #03100b; }
  body.standalone .phone { width: 430px; margin: 0 auto; border-inline: 1px solid rgba(201,255,226,.14); }
}

@media (max-width: 1040px) {
  .studio-shell { grid-template-columns: 210px minmax(0,1fr); }
  .workbench { grid-template-columns: 1fr; }
  .spec-panel { max-width: 520px; margin: 0 auto; }
  .phone-stage { min-height: 880px; }
}

@media (max-width: 760px) {
  .studio-shell { display: block; }
  .studio-rail { position: relative; width: 100%; height: auto; padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand--studio, .rail-kicker, .source-legend { display: none; }
  .screen-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .screen-nav::-webkit-scrollbar { display: none; }
  .nav-group { display: none; }
  .screen-link { min-width: max-content; width: auto; grid-template-columns: 20px 1fr; padding: 7px 10px; }
  .screen-link small { display: none; }
  .studio-main { padding: 20px 14px 44px; }
  .studio-header { min-height: 76px; }
  .studio-header .eyebrow { display: none; }
  .header-actions button:first-child { display: none; }
  .workbench { padding-top: 18px; gap: 20px; }
  .phone-stage { min-height: auto; display: block; }
  .phone { width: min(390px, calc(100vw - 28px)); height: min(844px, calc((100vw - 28px) * 2.164)); min-height: 640px; margin: 0 auto; border-radius: 30px; }
  .device-notes, .phone-shadow { display: none; }
}

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

.baseline-banner{display:flex;gap:18px;justify-content:space-between;align-items:center;padding:12px 30px;border-bottom:1px solid #31513f;color:#a5b9aa;font:11px/1.7 system-ui}.baseline-banner a{color:#c9ff72;white-space:nowrap}.standalone .baseline-banner{display:none}@media(max-width:800px){.baseline-banner{padding:10px 14px;flex-wrap:wrap;gap:5px}.baseline-banner span{order:3;width:100%}}
