/* The Game Room: design mock-up styles */
:root {
  --ink: #14122b; --ink2: #2a2756; --muted: #5a5f73; --line: #dfe1ea; --bg: #f3f4f8; --card: #fff;
  --pri: #3a35b8; --pri-soft: #e9e8fb; --green: #1b7441; --green-soft: #e1f3e8; --neon: #7CFC6A; --amber: #f6a81f; --orange: #f07a1a;
  --red: #b3261e; --red-soft: #fbe6e4; --blue-soft: #e4eefb; --gray-soft: #eaecf2; --warn-soft: #fff4d6; --warn-ink: #7a4d00;
  --night: #0c0a1d; --night2: #17143a; --bar: 38px; --r: 12px; --shadow: 0 1px 2px rgba(20, 18, 43, .06), 0 4px 14px rgba(20, 18, 43, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--bar); background: var(--bg); color: var(--ink); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body.modal-open { overflow: hidden; }
h1, h2, h3, p { margin: 0; } h1 { font-size: 24px; line-height: 1.2; } h2 { font-size: 16px; margin-bottom: 10px; } h2.gap, .gap { margin-top: 18px; }
a { color: var(--pri); } small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #c3c7d4; border-radius: 8px; background: #fff; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--pri); flex: none; }
input[type=range] { padding: 0; border: 0; accent-color: var(--pri); } input[readonly] { background: var(--bg); }
:focus-visible { outline: 3px solid #1a5fb4; outline-offset: 2px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); } .small { font-size: 13px; } .num { text-align: right; } .dim { opacity: .72; }
.hint { color: var(--muted); font-size: 13px; margin-top: 10px; } .empty { color: var(--muted); padding: 14px 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

#demobar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar); display: flex; align-items: center; gap: 12px; padding: 0 12px; background: var(--warn-soft); border-bottom: 1px solid #ecd28b; color: var(--warn-ink); font-size: 13px; white-space: nowrap; overflow: hidden; }
#demobar .db-note { flex: 1; overflow: hidden; text-overflow: ellipsis; } #demobar label { display: flex; align-items: center; gap: 6px; }
#demobar select, #demobar button { width: auto; min-height: 28px; padding: 2px 8px; border: 1px solid #d9b95c; border-radius: 6px; background: #fff; color: var(--ink); font-size: 13px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid #c3c7d4; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: #f6f7fb; } .btn.primary { background: var(--pri); border-color: var(--pri); color: #fff; } .btn.primary:hover { background: #4a45cc; }
.btn.go { background: var(--green); border-color: var(--green); color: #fff; } .btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn.ghost { background: transparent; border-color: #7f83d6; color: #fff; } .btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.btn.xl { min-height: 54px; padding: 10px 22px; font-size: 17px; border-radius: 14px; } .btn.small { min-height: 32px; padding: 4px 10px; font-size: 13px; } .btn.wide { width: 100%; }
.btn[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; } .btn[disabled], .iconbtn[disabled] { opacity: .35; cursor: default; }
.iconbtn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; } .iconbtn:hover { background: var(--gray-soft); color: var(--ink); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--gray-soft); color: #3d4257; }
.p-online, .p-sent { background: var(--green-soft); color: #14592f; } .p-offline, .p-overdue { background: var(--red-soft); color: #8c1d18; }
.field { display: block; } .field > span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field.inline { display: flex; align-items: center; gap: 8px; } .field.inline > span { margin: 0; white-space: nowrap; } .field.inline select { width: auto; }
.stack { display: grid; gap: 14px; } form.inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } form.inline select { width: auto; flex: 1 1 200px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 14px; margin-bottom: 14px; align-items: end; } .form-grid.two { grid-template-columns: 1fr 1fr; margin: 0; } .span2 { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; } .tabs { margin-bottom: 16px; }
.chip { min-height: 34px; padding: 4px 12px; border: 1px solid #c3c7d4; border-radius: 99px; background: #fff; cursor: pointer; font-weight: 600; font-size: 13.5px; } .chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.switch { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; } .switch small { margin-top: 1px; }
fieldset.checks { margin: 12px 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; } fieldset.checks legend { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.checks-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; } .steps { margin: 12px 0; padding-left: 22px; display: grid; gap: 6px; }
.filebtn { position: relative; } .filebtn input { position: absolute; width: 1px; height: 1px; opacity: 0; min-height: 0; padding: 0; } .filebtn:focus-within { outline: 3px solid #1a5fb4; outline-offset: 2px; }
.code-in { font: 800 26px ui-monospace, Consolas, monospace; letter-spacing: .3em; text-transform: uppercase; text-align: center; }
.badge { margin-left: auto; min-width: 22px; padding: 0 6px; border-radius: 99px; background: var(--orange); color: #fff; font-size: 12px; text-align: center; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.card.flush { padding: 0; overflow: hidden; } .pad { padding: 16px 16px 12px; margin: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; } .card-head h2 { margin: 0; }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; } a.row:hover { background: #f7f8fc; }
.ev-admin { grid-template-columns: minmax(0, 1fr) auto auto; } .tk-row { padding-left: 0; padding-right: 0; }
.r-main { min-width: 0; } .r-main strong, .r-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .r-id { font-weight: 700; font-family: ui-monospace, Consolas, monospace; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; } .meter { margin-bottom: 10px; }
.bar { height: 10px; border-radius: 99px; background: var(--gray-soft); overflow: hidden; } .bar i { display: block; height: 100%; background: var(--ink2); border-radius: 99px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; } .page-head p { max-width: 720px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .backlink { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; font-weight: 600; text-decoration: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); } .stat span { color: var(--muted); font-size: 13px; font-weight: 600; } .stat strong { display: block; font-size: 26px; font-variant-numeric: tabular-nums; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; } .cols.wide-left { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
table { width: 100%; border-collapse: collapse; } th, td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; } th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } .rep-barcol { width: 40%; } .rep-bar { display: block; height: 12px; } .rep-bar i { display: block; height: 100%; background: var(--ink2); border-radius: 0 4px 4px 0; } .rep tbody tr:hover { background: #f7f8fc; }

/* start screen */
.start { min-height: calc(100dvh - var(--bar)); display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(circle at 30% 20%, #2a2380, var(--night) 70%); }
.start-card { width: 100%; max-width: 480px; padding: 26px; background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); display: grid; gap: 10px; } .start-logo { width: 190px; height: auto; margin: 0 auto 4px; }
.pickcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; } .pickcard:hover { border-color: var(--pri); background: var(--pri-soft); } .pickcard span { flex: 1; }

/* portal shell */
.office { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: calc(100dvh - var(--bar)); }
.side { position: sticky; top: var(--bar); height: calc(100dvh - var(--bar)); display: flex; flex-direction: column; padding: 16px 12px; background: var(--ink); color: #dfe1f5; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 2px 6px 16px; color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; } .side-brand img { width: 40px; height: 40px; image-rendering: pixelated; }
.side nav { display: grid; gap: 2px; overflow-y: auto; } .side nav a, .side-site { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; color: #c5c8ea; font-weight: 600; text-decoration: none; }
.side nav a:hover, .side-site:hover { background: rgba(255, 255, 255, .08); color: #fff; } .side nav a[aria-current] { background: var(--neon); color: var(--ink); }
.side-site { margin-top: auto; border: 1px solid rgba(255, 255, 255, .22); }
.main { width: 100%; max-width: 1280px; padding: 26px 28px 70px; } .botnav { display: none; }

/* modal, toast */
.modal-back { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(12, 10, 29, .6); }
.modal { position: relative; width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); overflow: auto; padding: 22px; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
.modal.wide { max-width: 640px; } .modal.full { max-width: min(1100px, 96vw); padding: 12px; background: #000; } .modal.full .modal-x { background: #fff; z-index: 2; }
.modal h2 { font-size: 19px; padding-right: 40px; } .modal-x { position: absolute; top: 12px; right: 12px; } .modal-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#toast { position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 20px); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; border: 1px solid rgba(255, 255, 255, .25); }
#toast.show { opacity: 1; transform: translate(-50%, 0); } #toast.has-undo { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; } #toast.show.has-undo { pointer-events: auto; }
#toast button { min-height: 40px; padding: 6px 16px; border: 0; border-radius: 9px; background: var(--neon); color: var(--ink); font-weight: 800; cursor: pointer; }

/* ---------- stages: what a TV shows. All sizes are in cqw (percent of the screen's width). ---------- */
.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; container-type: inline-size; overflow: hidden; background: var(--night); color: #fff; font-family: "Arial Black", "Segoe UI Black", "Segoe UI", system-ui, sans-serif; font-weight: 900; line-height: 1.2; }
.bd { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 2.2cqw 3cqw; }
.bd-h { display: flex; align-items: center; gap: 1.4cqw; margin-bottom: 1.5cqw; padding-bottom: 1cqw; border-bottom: .35cqw solid var(--pri); }
.bd-h img { height: 5cqw; image-rendering: pixelated; } .bd-h h1 { flex: 1; margin: 0; font-size: 3.5cqw; line-height: 1; text-transform: uppercase; letter-spacing: .04em; color: var(--neon); } .bd-h span { font-size: 1.6cqw; color: var(--amber); }
.bd-cols { flex: 1; min-height: 0; column-gap: 3.2cqw; overflow: hidden; } .bd-cols section { margin: 0 0 .9em; }
.bd-cols h2 { margin: 0 0 .3em; font-size: 1.4em; text-transform: uppercase; letter-spacing: .05em; color: var(--amber); break-after: avoid; }
.bd-note { margin: 0 0 .4em; font: 500 .68em/1.3 system-ui, sans-serif; color: #b9bdf0; }
.bd-i { margin-bottom: .36em; break-inside: avoid; } .bd-i > div { display: flex; align-items: baseline; gap: .4em; } .bd-i .n { text-transform: uppercase; } .bd-i .dots { flex: 1; min-width: 1em; border-bottom: .12em dotted #5a5f9a; transform: translateY(-.25em); } .bd-i .p { color: var(--neon); }
.bd-i small { display: block; font: 500 .56em/1.3 system-ui, sans-serif; color: #c9cdf5; } .bd-i.so .n { text-decoration: line-through; opacity: .5; } .bd-i.so .p { color: #ff8a8a; font-size: .68em; }
.bd-empty { margin: auto; font-size: 3cqw; opacity: .6; }
.ev-list { display: grid; gap: 1.1cqw; } .ev-row { display: grid; grid-template-columns: 17cqw 1fr auto; gap: 2cqw; align-items: baseline; padding: .9cqw 1.4cqw; border-radius: .8cqw; background: var(--night2); font-size: 2.5cqw; } .ev-row b { color: var(--amber); } .ev-row i { font-style: normal; color: var(--neon); }
.sp-list { display: grid; gap: 1.4cqw; } .sp-row { padding: 1.2cqw 1.8cqw; border-left: .6cqw solid var(--orange); border-radius: .6cqw; background: var(--night2); } .sp-row h2 { margin: 0; font-size: 3cqw; } .sp-row b { font-size: 2cqw; color: var(--amber); } .sp-row p { margin: .3cqw 0 0; font: 500 2cqw/1.3 system-ui, sans-serif; }
.od { flex-direction: row; gap: 3cqw; padding: 3cqw; } .od-col { flex: 1; padding: 2cqw; border-radius: 1.2cqw; background: var(--night2); } .od-col.ready { flex: 1.3; background: #0f3d1e; }
.od-col h1 { margin: 0 0 1.5cqw; font-size: 4cqw; text-transform: uppercase; color: var(--amber); } .od-col.ready h1 { color: var(--neon); } .od-col > div { display: flex; flex-wrap: wrap; gap: 1.4cqw; }
.od-col b { padding: .8cqw 1.6cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .1); font-size: 6cqw; line-height: 1; } .od-col b small { margin-top: .4cqw; font: 600 1.6cqw system-ui, sans-serif; color: #cfd3ff; } .od-col b.dim { opacity: .45; } .od-col em { font: 500 2cqw system-ui, sans-serif; opacity: .6; }
.sl { position: absolute; inset: 0; } .el { position: absolute; line-height: 1.05; white-space: pre-line; } .el img { display: block; width: 100%; height: auto; }
.el-robot img { image-rendering: pixelated; } .el-logo img { padding: 1cqw; border-radius: 1.2cqw; background: #fff; }
.el-price .tag { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; transform: rotate(-8deg); box-shadow: 0 .5cqw 0 rgba(0, 0, 0, .35); }
.el-item .it-n { display: block; text-transform: uppercase; } .el-item .it-p { display: inline-block; margin-top: .18em; padding: .06em .4em; border-radius: .2em; background: var(--orange); color: #fff; }
.pair { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.5cqw; padding: 4cqw; text-align: center; font: 500 2.2cqw/1.4 system-ui, sans-serif; }
.pair img { width: 9cqw; image-rendering: pixelated; } .pair h1 { font: 900 5cqw "Arial Black", system-ui, sans-serif; color: var(--neon); } .pair-code { display: flex; gap: 1cqw; } .pair-code b { padding: .6cqw 1.6cqw; border-radius: 1cqw; background: #fff; color: var(--ink); font: 900 7cqw "Arial Black", system-ui, sans-serif; }

/* TV view: the stage fills the screen */
body[data-area=tv] { padding: 0; background: #000; } body[data-area=tv] #demobar { display: none; }
.tvwrap { position: fixed; inset: 0; display: grid; place-items: center; background: #000; } .tvwrap .stage { width: min(100vw, 177.78vh); }
.tvwrap .stage[data-fresh] { animation: tvfade .6s ease-out; } @keyframes tvfade { from { opacity: 0; } }
.tv-chip { position: fixed; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; opacity: .75; } .tv-chip a { color: #fff; }

/* portal pieces */
.tv-grid, .bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; } .bd-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.tv-grid .card, .bd-grid .card { margin: 0; display: grid; gap: 10px; align-content: start; } .tv-frame { display: block; border: 5px solid var(--ink); border-radius: 8px; overflow: hidden; background: #000; } .tv-meta { display: flex; justify-content: space-between; align-items: center; }
.takeover { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; } .takeover h2 { margin-bottom: 2px; } .takeover.on { border-color: var(--orange); background: #fff7ee; }
.kitchen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; } .kcol h2 { display: flex; align-items: center; gap: 8px; } .kcol h2 span { padding: 0 9px; border-radius: 99px; background: var(--gray-soft); font-size: 13px; }
.kcard { margin-bottom: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--pri); border-radius: var(--r); box-shadow: var(--shadow); } .k-cooking .kcard { border-left-color: var(--orange); } .k-ready .kcard { border-left-color: var(--green); }
.kcard header { display: flex; align-items: baseline; gap: 10px; } .kcard header strong { font-size: 22px; } .kcard header small { margin-left: auto; } .kcard ul { margin: 8px 0; padding: 0; list-style: none; font-size: 16px; } .kcard .btn { margin-top: 8px; }
.jrow { display: grid; grid-template-columns: auto 112px minmax(0, 1fr) auto auto auto auto; gap: 8px; align-items: center; margin-bottom: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.jrow.over { outline: 2px dashed var(--pri); outline-offset: 1px; } .grip { color: var(--muted); cursor: grab; display: grid; } .jthumb { border-radius: 4px; overflow: hidden; } .jrow .r-main strong { white-space: normal; }
.secs { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); } .secs input { width: 66px; text-align: right; }
.mi-head, .mi { display: grid; grid-template-columns: minmax(130px, 1.2fr) 88px minmax(0, 2.4fr) 70px 36px; gap: 8px; align-items: center; } .mi { padding: 4px 0; }
.mi-head { padding-bottom: 6px; color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mi label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .mi-so { display: grid; place-items: center; } .mi.so input[data-f=name] { text-decoration: line-through; color: var(--muted); } .menu-sec .head-actions { margin-top: 10px; }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; } .ed-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .ed-side { margin: 0; display: grid; gap: 12px; } .ed-side h2 { margin: 0; }
.ed-stage { border-radius: 8px; box-shadow: 0 10px 30px rgba(20, 18, 43, .25); touch-action: none; user-select: none; -webkit-user-select: none; } .ed-stage .el { cursor: move; min-height: 2cqw; }
.ed-stage .el.sel { outline: .25cqw dashed #fff; outline-offset: .5cqw; box-shadow: 0 0 0 .9cqw rgba(58, 53, 184, .35); } .el-h { position: absolute; right: -1.3cqw; bottom: -1.3cqw; width: 2.2cqw; height: 2.2cqw; min-width: 14px; min-height: 14px; border: .3cqw solid var(--pri); border-radius: 50%; background: #fff; cursor: nwse-resize; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; } .swatch { width: 32px; height: 32px; border: 2px solid #b9bdc9; border-radius: 50%; cursor: pointer; } .swatch.on { outline: 3px solid var(--pri); outline-offset: 2px; }

/* ---------- the public website ---------- */
.site { min-height: calc(100dvh - var(--bar)); background: var(--night); color: #eef0ff; font-size: 16px; } .site a { color: #b8bcff; } .site h1, .site h2, .site h3 { color: #fff; }
.s-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.s-top { position: sticky; top: var(--bar); z-index: 20; background: rgba(20, 18, 43, .96); border-bottom: 1px solid #2f2c63; } .s-top .s-wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.s-logo img { display: block; height: 50px; width: auto; padding: 4px 8px; border-radius: 10px; background: #fff; }
.s-top nav { display: flex; flex: 1; flex-wrap: wrap; gap: 2px; } .s-top nav a { padding: 8px 10px; border-radius: 8px; color: #dfe1ff; font-weight: 700; text-decoration: none; } .s-top nav a:hover { background: rgba(255, 255, 255, .08); } .s-top nav a[aria-current] { color: var(--ink); background: var(--neon); }
.s-cart { border-radius: 99px; } .site .btn.primary { background: var(--neon); border-color: var(--neon); color: var(--ink); } .site .btn.primary:hover { background: #9dff8f; } .site .btn.ghost { color: #fff; }
.s-hero { padding: clamp(60px, 12vw, 130px) 0; background: linear-gradient(rgba(12, 10, 29, .35), rgba(12, 10, 29, .88)), url(img/hero.jpg) center / cover; } .s-hero h1 { max-width: 760px; font-size: clamp(30px, 5vw, 54px); line-height: 1.08; } .s-hero p { margin: 14px 0 24px; font-size: 20px; color: var(--neon); font-weight: 700; } .s-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.s-strip { background: var(--amber); color: var(--ink); } .s-strip .s-wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 12px; padding-bottom: 12px; } .s-strip b { text-transform: uppercase; letter-spacing: .06em; }
.s-sec { padding: 48px 0; } .s-sec.alt { background: #110f29; } .s-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; } .s-h h1, .s-h h2 { font-size: 30px; margin: 0; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .s-cards.two { grid-template-columns: 1fr 1fr; } .s-cards article { padding: 18px; border-radius: 16px; background: var(--night2); display: grid; gap: 10px; align-content: start; } .s-cards h2 { font-size: 20px; margin: 0; }
.s-pic { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #221f55; } .s-pic img { width: 100%; height: 100%; object-fit: cover; display: block; } .s-pic-robot { display: grid; place-items: center; } .s-pic-robot img { width: auto; height: 86%; image-rendering: pixelated; }
.s-ev { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid #2f2c63; } .s-ev-date b { display: block; color: var(--amber); font-size: 18px; } .s-ev h3 { font-size: 18px; } .s-ev-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; } .s-ev-act small { color: #cfd3ff; }
.s-beer { display: grid; grid-template-columns: 1fr 160px; gap: 24px; align-items: center; } .s-beer img { width: 100%; image-rendering: pixelated; } .s-beer h2 { font-size: 30px; }
.s-news { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; } .s-news form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 460px; } .s-news input { color: var(--ink); }
.s-foot { padding: 30px 0 50px; border-top: 1px solid #2f2c63; background: #080716; } .s-foot .s-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.s-order { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; } .s-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; } .s-jump a { padding: 6px 12px; border: 1px solid #4a4d9c; border-radius: 99px; color: #fff; font-weight: 700; text-decoration: none; }
.s-menu { margin-bottom: 30px; scroll-margin-top: 120px; } .s-menu h2 { font-size: 24px; color: var(--amber); text-transform: uppercase; letter-spacing: .04em; } .s-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; margin-top: 10px; }
.s-item { display: flex; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 12px; background: var(--night2); } .s-item h3 { font-size: 16px; text-transform: uppercase; } .s-item p { margin-top: 4px; font-size: 14px; color: #cfd3ff; } .s-item.so h3 { text-decoration: line-through; opacity: .6; }
.s-item-buy { display: grid; gap: 8px; justify-items: end; align-content: start; } .s-item-buy strong { color: var(--neon); font-size: 18px; }
.s-cartbox { position: sticky; top: calc(var(--bar) + 88px); padding: 18px; border-radius: 16px; background: #fff; color: var(--ink); display: grid; gap: 10px; scroll-margin-top: 120px; } .site .s-cartbox h2 { color: var(--ink); margin: 0; font-size: 18px; } .s-cartbox .dim { color: var(--muted); opacity: 1; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); } .cart-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 2px solid var(--ink); font-size: 18px; }
.stepper { display: flex; align-items: center; gap: 8px; } .stepper button { width: 36px; height: 36px; border: 1px solid #c3c7d4; border-radius: 8px; background: var(--gray-soft); color: var(--ink); font-size: 20px; font-weight: 700; cursor: pointer; }
.s-cartbar { display: none; } .s-track { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: var(--neon); color: var(--ink) !important; font-weight: 800; text-decoration: none; }
.pay-mock { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); } .pay-mock .dim { opacity: 1; color: var(--muted); }
.s-status { max-width: 620px; text-align: center; display: grid; gap: 14px; justify-items: center; } .s-num { padding: 6px 28px; border-radius: 18px; background: var(--night2); font: 900 clamp(54px, 14vw, 96px)/1.1 "Arial Black", system-ui, sans-serif; color: #fff; }
.s-status.is-ready .s-num { background: var(--neon); color: var(--ink); } .s-status.is-ready h1 { color: var(--neon); font-size: 34px; }
.s-steps { display: flex; gap: 8px; margin: 6px 0; padding: 0; list-style: none; width: 100%; } .s-steps li { flex: 1; display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px; background: var(--night2); color: #9a9fcb; font-weight: 700; } .s-steps li.done { color: var(--neon); } .s-steps li.now { background: var(--pri); color: #fff; }
.s-notify { width: 100%; padding: 14px; border-radius: 12px; background: var(--night2); display: grid; gap: 8px; justify-items: center; } .s-notify p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; } .s-lines { margin: 0; padding: 0; list-style: none; }
.s-ticket { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: center; max-width: 720px; margin-bottom: 20px; padding: 24px; border-radius: 18px; background: #fff; color: var(--ink); } .site .s-ticket h1 { color: var(--ink); font-size: 24px; margin: 4px 0 8px; } .s-ticket .dim { opacity: 1; color: var(--muted); } .s-ticket.used { opacity: .6; }
.s-code { margin-top: 12px; font: 800 28px ui-monospace, Consolas, monospace; letter-spacing: .08em; } .s-qr { display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; padding: 10px; border: 2px solid var(--ink); border-radius: 10px; } .s-qr i { aspect-ratio: 1; background: #fff; } .s-qr i.on { background: var(--ink); }

@media (max-width: 980px) { .stats { grid-template-columns: 1fr 1fr; } .cols, .cols.wide-left, .ed, .kitchen, .s-order { grid-template-columns: minmax(0, 1fr); } .s-cards { grid-template-columns: 1fr; } .s-cartbox { position: static; } }
@media (max-width: 860px) {
  #demobar .db-note { visibility: hidden; } #demobar strong { display: none; }
  .office { display: block; } .side { display: none; } .main { padding: 18px 14px 110px; }
  .botnav { position: fixed; inset: auto 0 0 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .botnav a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border-radius: 10px; color: var(--muted); font-size: 11.5px; font-weight: 700; text-decoration: none; white-space: nowrap; } .botnav a[aria-current] { color: var(--ink); background: var(--pri-soft); } .botnav .badge { position: absolute; top: 2px; right: 14%; }
  .mi-head { display: none; } .mi { grid-template-columns: 1fr 90px auto auto; gap: 6px 8px; padding: 10px 0; border-top: 1px solid var(--line); align-items: end; } .mi label > span { position: static; width: auto; height: auto; clip-path: none; display: block; font-size: 12px; color: var(--muted); font-weight: 600; } .mi .mi-desc { grid-column: 1 / -1; grid-row: 2; }
  .jrow { grid-template-columns: auto 80px minmax(0, 1fr) auto; } .jrow .secs { grid-column: 2 / 4; } .ev-admin { grid-template-columns: minmax(0, 1fr) auto; } .ev-admin > span:nth-child(2) { display: none; }
  .modal-back { place-items: end center; padding: 0; } .modal { border-radius: 18px 18px 0 0; max-height: calc(100dvh - var(--bar) - 20px); } .form-grid.two, fieldset.checks { grid-template-columns: 1fr; } .span2 { grid-column: auto; }
  .s-top .s-wrap { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 8px; } .s-top nav { order: 3; flex-basis: 100%; } .s-top nav a { padding: 6px 8px; font-size: 14px; } .s-logo { flex: 1; } .s-logo img { height: 40px; }
  .s-ev { grid-template-columns: 70px minmax(0, 1fr); } .s-ev-act { grid-column: 1 / -1; justify-content: flex-start; } .s-beer { grid-template-columns: 1fr; } .s-beer img { width: 120px; } .s-ticket { grid-template-columns: 1fr; } .s-qr { max-width: 190px; }
  .s-cartbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 14px; background: var(--neon); color: var(--ink) !important; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); } body[data-area=site] #toast { bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { .tvwrap .stage[data-fresh] { animation: none; } #toast { transition: none; } }
