:root {
  color-scheme: dark;
  --bg: #08080c;
  --surface: rgba(21, 21, 29, .84);
  --surface-2: #1a1a23;
  --line: rgba(255,255,255,.095);
  --muted: #9998aa;
  --text: #f5f4fa;
  --accent: #8b5cf6;
  --accent-rgb: 139, 92, 246;
  --green: #38d996;
  --red: #ff6577;
  --radius: 20px;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh; margin: 0; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.ambient { position: fixed; z-index: -2; width: 620px; height: 620px; border-radius: 50%; filter: blur(130px); opacity: .13; pointer-events: none; }
.ambient-one { top: -320px; left: 18%; background: #7545ff; }
.ambient-two { right: -320px; bottom: -380px; background: #a226ff; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.shell-wide { width: min(1440px, calc(100% - 36px)); margin-inline: auto; }
.glass-card {
  background: linear-gradient(145deg, rgba(29,29,39,.9), rgba(17,17,24,.88));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); backdrop-filter: blur(18px);
}
.site-header {
  width: min(1440px, calc(100% - 40px)); min-height: 76px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { display: flex; align-items: center; gap: 11px; font: 700 21px "Space Grotesk", sans-serif; letter-spacing: -.5px; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 8px); gap: 3px; padding: 7px; border-radius: 9px; background: var(--accent); box-shadow: 0 0 28px rgba(var(--accent-rgb),.35); transform: rotate(-4deg); }
.brand-mark i { width: 8px; height: 8px; border-radius: 2px; background: white; opacity: .94; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-link:hover { color: white; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 11px;
  cursor: pointer; color: white; font-weight: 700; transition: .2s ease;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.button-primary { background: var(--accent); box-shadow: 0 10px 30px rgba(var(--accent-rgb),.2); }
.button-twitch { background: #9146ff; }
.button-quiet { background: rgba(255,255,255,.045); border-color: var(--line); }
.button-danger { background: rgba(255,101,119,.1); border-color: rgba(255,101,119,.3); color: #ff91a0; }
.button-large { min-height: 50px; padding: 0 24px; border-radius: 13px; }
.button-small { min-height: 36px; padding: 0 14px; font-size: 13px; }
.full { width: 100%; }
.eyebrow, .kicker { color: #b6a2ff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(56,217,150,.24); border-radius: 99px; color: #7beab8; background: rgba(56,217,150,.08); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-pill.ended { color: var(--muted); border-color: var(--line); background: rgba(255,255,255,.03); }
.status-pill.ended i { background: var(--muted); box-shadow: none; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.badge.success { background: rgba(56,217,150,.1); color: #75e8b4; }
.badge.danger { background: rgba(255,101,119,.1); color: #ff91a0; }
.muted { color: var(--muted); font-size: 13px; }
.toast-stack { position: fixed; z-index: 100; right: 20px; top: 88px; display: grid; gap: 10px; }
.toast { padding: 12px 16px; border: 1px solid var(--line); border-radius: 11px; background: #22212c; box-shadow: var(--shadow); }
.toast-success { border-color: rgba(56,217,150,.3); }
.toast-error { border-color: rgba(255,101,119,.35); }

/* Landing */
.hero { padding: 110px 0 72px; text-align: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.hero h1 { margin: 0; font: 700 clamp(48px, 7vw, 92px)/.98 "Space Grotesk", sans-serif; letter-spacing: -.062em; }
.hero h1 span { color: #a990ff; }
.hero-copy { max-width: 720px; margin: 28px auto 0; color: #aaa9b8; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; color: #737280; font-size: 12px; }
.product-preview { perspective: 1600px; }
.preview-window { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #111117; box-shadow: 0 50px 120px rgba(0,0,0,.55), 0 0 90px rgba(126,73,255,.09); transform: rotateX(2deg); }
.preview-topbar { min-height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); color: #a4a3b2; font-size: 12px; }
.preview-topbar .status-pill { justify-self: end; }
.preview-dots { display: flex; gap: 6px; }.preview-dots i { width: 8px; height: 8px; border-radius: 50%; background: #454452; }
.preview-body { min-height: 540px; display: grid; grid-template-columns: 190px 1fr 210px; }
.preview-sidebar { padding: 22px 14px; border-right: 1px solid var(--line); background: rgba(255,255,255,.012); }
.creator-chip { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; padding: 5px; }
.avatar-placeholder, .mini-avatar { display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg,#8757ff,#c55dff); color: white; font-weight: 800; }
.avatar-placeholder { width: 34px; height: 34px; font-size: 10px; }
.creator-chip div { display: grid; }.creator-chip strong { font-size: 12px; }.creator-chip small { color: var(--muted); font-size: 9px; }
.mini-nav { margin: 5px 0; padding: 10px 12px; border-radius: 9px; color: #777684; font-size: 11px; font-weight: 700; }
.mini-nav.active { background: rgba(139,92,246,.14); color: #c8b9ff; }
.preview-stage { padding: 28px; }
.preview-call { margin-bottom: 20px; display: flex; align-items: baseline; gap: 14px; }
.preview-call small { color: #9a8bcf; font-weight: 800; text-transform: uppercase; font-size: 9px; letter-spacing: .1em; }
.preview-call strong { font: 600 25px "Space Grotesk"; }.preview-call span { margin-left: auto; color: #6c6b78; font-size: 10px; }
.preview-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; }
.preview-grid div { min-height: 72px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: #1b1a22; color: #b9b8c4; font-size: 10px; text-align: center; }
.preview-grid div.hit { background: linear-gradient(145deg,#6741c7,#8a56ef); border-color: #a981ff; color: white; box-shadow: 0 6px 18px rgba(128,80,235,.22); }
.preview-rail { padding: 26px 18px; border-left: 1px solid var(--line); }.preview-rail > small { display: block; color: var(--muted); }.preview-rail > strong { display: block; margin: 4px 0 25px; font: 600 22px "Space Grotesk"; }
.rail-card { display: grid; gap: 7px; margin-bottom: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #18171f; }.rail-card b { font-size: 11px; }.rail-card span { color: var(--muted); font-size: 10px; }
.feature-section { padding: 140px 0; }
.section-heading { max-width: 700px; }.section-heading h2 { margin: 14px 0 42px; font: 700 clamp(36px,5vw,60px)/1.05 "Space Grotesk"; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { min-height: 255px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.022); }
.feature-number { color: #7e64d2; font: 600 12px "Space Grotesk"; }.feature-card h3 { margin: 58px 0 12px; font: 600 23px "Space Grotesk"; }.feature-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Shared app */
.centered-page { min-height: calc(100vh - 76px); display: grid; place-items: center; padding-block: 60px; }
.centered-card { max-width: 560px; margin-inline: auto; padding: 44px; text-align: center; }
.centered-card h1, .centered-card h2 { margin: 14px 0; font: 700 38px/1.1 "Space Grotesk"; letter-spacing: -.04em; }
.centered-card p { color: var(--muted); line-height: 1.65; }
.profile-avatar { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; background: var(--surface-2); }
.profile-avatar.large { width: 72px; height: 72px; margin-bottom: 22px; }
.dashboard { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 24px; padding: 30px 0 80px; }
.studio-sidebar { position: sticky; top: 24px; align-self: start; min-height: 560px; padding: 20px 14px; }
.creator-profile { display: flex; align-items: center; gap: 12px; }.creator-profile div { min-width: 0; display: grid; }.creator-profile strong { overflow: hidden; text-overflow: ellipsis; }.creator-profile span { color: var(--muted); font-size: 12px; }
.studio-sidebar .creator-profile { padding: 6px 8px 22px; border-bottom: 1px solid var(--line); }
.studio-sidebar nav { display: grid; gap: 5px; padding-top: 18px; }.studio-sidebar nav a { padding: 11px 12px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }.studio-sidebar nav a:hover,.studio-sidebar nav a.active { background: rgba(139,92,246,.12); color: #c6b5ff; }
.sidebar-foot { position: absolute; bottom: 22px; left: 24px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.studio-content { min-width: 0; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 16px 0 28px; }
.page-heading h1 { margin: 8px 0 4px; font: 700 clamp(34px,4vw,52px)/1.02 "Space Grotesk"; letter-spacing: -.05em; }.page-heading p { margin: 0; color: var(--muted); }
.active-game-card { display: grid; grid-template-columns: 1fr minmax(260px, .8fr); align-items: center; gap: 26px; margin-bottom: 20px; padding: 24px; border-color: rgba(56,217,150,.22); }.active-game-card h2 { margin: 11px 0 3px; font: 600 25px "Space Grotesk"; }.active-game-card p { margin: 0; color: var(--muted); }
.share-link { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 14px; border: 1px solid var(--line); border-radius: 11px; background: #0c0c11; }.share-link span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 12px; }.icon-button { margin-left: auto; padding: 7px 10px; border: 0; border-radius: 7px; background: var(--accent); color: white; cursor: pointer; font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.span-two { grid-column: span 2; }
.panel { padding: 24px; }.panel h2 { margin: 4px 0 18px; font: 600 23px "Space Grotesk"; letter-spacing: -.025em; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; }.panel-index { color: #484753; font: 500 11px "Space Grotesk"; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.field { display: grid; gap: 7px; min-width: 0; }.field > span { color: #b9b8c3; font-size: 12px; font-weight: 700; }
.field small { color: #777684; font-size: 11px; }
.field input:not([type=color]), .field select, .field textarea {
  width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none;
  background: #0e0e14; color: var(--text); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(139,92,246,.65); box-shadow: 0 0 0 3px rgba(139,92,246,.1); }
.field input[type=color] { width: 100%; height: 46px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #0e0e14; }
.check-field,.toggle-row { display: flex; align-items: center; gap: 10px; color: #bbb9c4; font-size: 13px; }.check-field input,.toggle-row input { accent-color: var(--accent); }
.toggle-row { justify-content: space-between; margin: 18px 0; }
.form-actions { display: flex; justify-content: flex-end; padding-top: 4px; }
.preset-list { display: grid; gap: 2px; }.preset-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }.preset-row div { display: grid; }.preset-row span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.text-button { padding: 4px; border: 0; background: transparent; color: #a791f7; cursor: pointer; font-weight: 700; font-size: 12px; }.text-button.danger { color: #ff7f90; }
.inline-editor { margin-top: 18px; }.inline-editor summary { cursor: pointer; color: #ad96ff; font-weight: 700; font-size: 13px; }.inline-editor form { display: grid; gap: 13px; margin-top: 16px; }
.appearance-preview { position: relative; min-height: 150px; display: flex; align-items: flex-end; margin-bottom: 18px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg,#23202e,#111116); background-size: cover; background-position: center; }.appearance-preview > span { position: absolute; width: 90px; height: 90px; right: -20px; top: -20px; border-radius: 50%; filter: blur(35px); }.appearance-preview strong { position: relative; font: 600 22px "Space Grotesk"; }
.panel form + form { margin-top: 14px; }.upload-form { padding-top: 14px; border-top: 1px solid var(--line); }
.history-panel { margin-top: 18px; }
.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th,td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }th { color: #777684; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }td { color: #b8b7c2; font-size: 13px; }td a { color: white; font-weight: 700; }code { padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.04); color: #b9a6ff; }
.empty-state { display: grid; place-items: center; min-height: 280px; text-align: center; }.empty-state.compact { min-height: 80px; }.empty-state h3 { margin-bottom: 0; }.empty-state p { color: var(--muted); }

/* Host */
.host-shell { padding: 32px 0 80px; }.host-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }.host-heading h1 { margin: 12px 0 4px; font: 700 clamp(34px,5vw,56px)/1 "Space Grotesk"; letter-spacing: -.045em; }.host-heading p { margin: 0; color: var(--muted); }.host-heading-actions { display: flex; align-items: center; gap: 10px; }
.host-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 18px; }.host-main,.host-rail { display: grid; align-content: start; gap: 18px; }
.latest-call { position: relative; overflow: hidden; padding: 28px; }.latest-call::after { content:""; position:absolute; width:180px; height:180px; right:-70px; top:-70px; border-radius:50%; background:var(--accent); filter:blur(60px); opacity:.3; }.latest-call span { display: block; color: #b8a4ff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }.latest-call strong { position:relative; display:block; margin:12px 0 4px; font:700 clamp(32px,5vw,56px)/1 "Space Grotesk"; }.latest-call small { color:var(--muted); }
.call-toolbar { display:flex; gap:10px; margin-bottom:25px; }.call-cloud { display:flex; flex-wrap:wrap; gap:8px; max-height:470px; overflow:auto; padding-right:5px; }.call-cloud button { padding:9px 11px; border:1px solid var(--line); border-radius:9px; background:#101016; color:#aaa9b6; cursor:pointer; font-size:12px; }.call-cloud button:hover { border-color:var(--accent); color:white; background:rgba(139,92,246,.09); }
.history-pills { display:flex; flex-wrap:wrap; gap:8px; }.history-pills span { padding:8px 10px; border:1px solid var(--line); border-radius:8px; color:#8c8b97; font-size:11px; }.history-pills span.newest { border-color:var(--accent); color:#d5caff; background:rgba(139,92,246,.1); }
.people-list { display:grid; gap:7px; }.person-row { display:flex; align-items:center; gap:10px; padding:9px; border-radius:10px; background:rgba(255,255,255,.025); }.person-row:hover { background:rgba(255,255,255,.05); }.person-row img,.mini-avatar { width:32px; height:32px; object-fit:cover; border-radius:50%; }.mini-avatar { font-size:9px; }.person-row div { min-width:0; display:grid; }.person-row strong { overflow:hidden; text-overflow:ellipsis; font-size:12px; }.person-row span { color:var(--muted); font-size:10px; }.watch-panel { border-color:rgba(56,217,150,.18); }

/* Player */
.player-body .site-header { position: relative; z-index: 2; }.player-background { position:fixed; inset:0; z-index:-3; background-size:cover; background-position:center; }.player-background::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 10%,rgba(139,92,246,.08),transparent 50%); }
.player-shell { padding:24px 0 70px; }.player-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }.player-heading h1 { margin:4px 0 0; font:600 clamp(24px,4vw,40px) "Space Grotesk"; letter-spacing:-.035em; }.player-status { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:12px; }
.join-gate { max-width:520px; margin:80px auto; padding:40px; }.join-gate .field { max-width:350px; margin:25px auto 12px; text-align:left; }.join-gate .button { margin-top:8px; }.form-error { min-height:20px; color:#ff8998 !important; }
.viewer-identity { display:flex; justify-content:center; align-items:center; gap:12px; margin:25px 0 10px; }.viewer-identity img { width:44px; height:44px; border-radius:50%; }.viewer-identity div { display:grid; text-align:left; }.viewer-identity span { color:var(--muted); font-size:11px; }
.player-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; align-items:start; gap:20px; }.card-column { min-width:0; }.card-meta { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }.card-meta > div { display:grid; }.card-meta span { font-weight:800; }.card-meta small { color:var(--muted); }
.bingo-card { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; padding:12px; border:1px solid var(--line); border-radius:22px; background:rgba(8,8,12,.72); box-shadow:var(--shadow); backdrop-filter:blur(14px); }
.bingo-cell { aspect-ratio:1.05; min-width:0; display:grid; place-items:center; padding:8px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:linear-gradient(145deg,rgba(39,38,49,.96),rgba(20,20,27,.96)); color:#e2e0e9; cursor:pointer; text-align:center; font-size:clamp(10px,1.25vw,15px); font-weight:650; line-height:1.2; transition:.18s ease; overflow-wrap:anywhere; }
.bingo-cell:hover { border-color:var(--game-accent,var(--accent)); transform:translateY(-1px); }.bingo-cell.marked { border-color:color-mix(in srgb,var(--game-accent,var(--accent)) 80%,white); background:linear-gradient(145deg,color-mix(in srgb,var(--game-accent,var(--accent)) 70%,#201b32),color-mix(in srgb,var(--game-accent,var(--accent)) 48%,#12121a)); box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 7px 20px rgba(0,0,0,.22); color:white; }.bingo-cell.free { font-family:"Space Grotesk"; letter-spacing:.08em; }
.calls-column { display:grid; gap:14px; }.latest-player-call,.prize-card,.history-card { padding:20px; }.latest-player-call span,.prize-card span { color:#ae9af4; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }.latest-player-call strong,.prize-card strong { display:block; margin:10px 0 4px; font:600 24px/1.1 "Space Grotesk"; }.latest-player-call small { color:var(--muted); }.prize-card { border-color:color-mix(in srgb,var(--game-accent,var(--accent)) 35%,transparent); }.history-card h3 { margin:0 0 14px; font:600 17px "Space Grotesk"; }.history-card ol { max-height:410px; margin:0; padding-left:25px; overflow:auto; }.history-card li { padding:8px 4px; border-bottom:1px solid var(--line); color:#aaa9b5; font-size:12px; }.history-card li:first-child { color:white; }
.modal-backdrop { position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:20px; background:rgba(3,3,6,.82); backdrop-filter:blur(10px); }.modal-card { width:min(480px,100%); padding:38px; border:1px solid var(--line); border-radius:24px; background:#17171f; box-shadow:0 35px 110px #000; text-align:center; }.modal-icon { width:54px; height:54px; display:grid; place-items:center; margin:0 auto 20px; border-radius:50%; background:rgba(139,92,246,.13); color:#bca8ff; font:700 24px "Space Grotesk"; }.modal-card h2 { margin:12px 0; font:700 32px/1.05 "Space Grotesk"; }.modal-card p { margin:0 0 24px; color:var(--muted); line-height:1.65; }

@media (min-width: 821px) {
  .player-layout {
    grid-template-columns: minmax(0, 800px) 310px;
    justify-content: center;
  }
  .card-column {
    width: min(100%, calc(100dvh - 240px), 800px);
    max-width: 800px;
    justify-self: center;
  }
  .bingo-cell {
    aspect-ratio: 1.16;
  }
}

/* Owner / verify */
.admin-page,.verify-page { padding:35px 0 80px; }.preapprove-panel { margin-bottom:18px; }.preapprove-form { display:grid; grid-template-columns:minmax(240px,520px) auto; align-items:end; gap:12px; }.preapprove-form .button { min-height:43px; }.table-user { display:flex; align-items:center; gap:9px; }.table-user img { width:34px; height:34px; border-radius:50%; }.table-user div { display:grid; }.table-user span { color:var(--muted); font-size:10px; }.inline-actions { display:flex; gap:9px; }
.verify-layout { display:grid; grid-template-columns:minmax(0,680px) 1fr; gap:20px; align-items:start; }.verify-card .bingo-cell { cursor:default; }.verify-card .bad-mark { background:#6c2531; border-color:#ff7082; }.verify-card .missed { background:#5d4622; border-color:#e7b65f; }.verify-summary h2 { font-size:30px; }.legend { display:grid; gap:10px; margin:22px 0; }.legend span { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:12px; }.legend i { width:12px; height:12px; border-radius:3px; }.legend-correct { background:var(--accent); }.legend-extra { background:#d04459; }.legend-missed { background:#d59b3b; }.success-copy { color:#7beab8; }

@media (max-width: 1050px) {
  .preview-body { grid-template-columns:160px 1fr; }.preview-rail { display:none; }
  .host-grid { grid-template-columns:1fr; }.host-rail { grid-template-columns:repeat(3,1fr); }.host-rail > article:first-child { grid-column:span 3; }
}
@media (max-width: 820px) {
  .site-header { min-height:64px; }.nav-link { display:none; }.shell,.shell-wide { width:min(100% - 24px,1160px); }
  .hero { padding:75px 0 50px; }.hero h1 { font-size:clamp(43px,12vw,70px); }.hero-actions { flex-direction:column; align-items:stretch; max-width:340px; margin-inline:auto; margin-top:28px; }
  .preview-sidebar { display:none; }.preview-body { grid-template-columns:1fr; min-height:420px; }.preview-stage { padding:18px; }.preview-grid div { min-height:56px; font-size:8px; }
  .feature-section { padding:90px 0; }.feature-grid { grid-template-columns:1fr; }.feature-card { min-height:210px; }.feature-card h3 { margin-top:40px; }
  .dashboard { grid-template-columns:1fr; }.studio-sidebar { position:static; min-height:0; }.studio-sidebar nav { display:flex; overflow:auto; }.studio-sidebar nav a { white-space:nowrap; }.sidebar-foot { display:none; }
  .dashboard-grid { grid-template-columns:1fr; }.span-two { grid-column:auto; }.active-game-card { grid-template-columns:1fr; }.page-heading { align-items:flex-start; flex-direction:column; }
  .player-layout { grid-template-columns:1fr; }.calls-column { grid-template-columns:repeat(2,1fr); }.history-card { grid-column:span 2; }
  .verify-layout { grid-template-columns:1fr; }
}
@media (max-width: 600px) {
  .header-actions .button { padding-inline:11px; font-size:11px; }.brand { font-size:18px; }
  .hero { padding-top:55px; }.hero-copy { font-size:16px; }.product-preview { width:calc(100% - 12px); }.preview-topbar { grid-template-columns:1fr 1fr; }.preview-topbar > span:nth-child(2) { display:none; }.preview-stage { padding:12px; }.preview-call strong { font-size:19px; }.preview-grid { gap:4px; }.preview-grid div { min-height:48px; padding:4px; border-radius:6px; font-size:7px; }
  .centered-card,.join-gate { padding:28px 20px; }.centered-card h1,.centered-card h2 { font-size:31px; }
  .form-grid { grid-template-columns:1fr; }.form-grid .span-two { grid-column:auto; }.panel { padding:19px; }.dashboard { padding-top:12px; }.page-heading h1 { font-size:36px; }
  .host-heading { align-items:flex-start; flex-direction:column; }.host-heading-actions { width:100%; flex-wrap:wrap; }.call-toolbar { flex-direction:column; }.host-rail { grid-template-columns:1fr; }.host-rail > article:first-child { grid-column:auto; }
  .player-heading { align-items:flex-start; gap:15px; }.player-status code { display:none; }.player-heading .profile-avatar { width:36px; height:36px; }.player-heading h1 { font-size:25px; }
  .bingo-card { gap:4px; padding:6px; border-radius:14px; }.bingo-cell { padding:3px; border-radius:7px; font-size:clamp(7px,2.3vw,11px); }
  .calls-column { grid-template-columns:1fr; }.history-card { grid-column:auto; }.latest-player-call strong,.prize-card strong { font-size:20px; }
  .modal-card { padding:30px 20px; }.modal-card h2 { font-size:28px; }
  .preapprove-form { grid-template-columns:1fr; }
}
