/* Layout: FUEGO's game-world landing style. A sunset title screen with an RPG menu, a blue scoreboard
   panel, stage-select cards beside a sticky ticket panel, then the ticket log, host controls and
   house rules. One light visual world, matching dev.fuego.io. */
:root {
  color-scheme: light;
  --navy: #1A2140;
  --navy-2: #2B3456;
  --slate: #4D5672;
  --mist: #C9D0F0;
  --mist-2: #D7DDF6;
  --page: #F6F9FD;
  --paper: #FFFFFF;
  --bar: #FFEEE0;
  --cream: #FFF3E6;
  --sky: #DFF0FD;
  --slab: #CFE3F7;
  --rule: #DCE3EF;
  --orange: #FF5F05;
  --apricot: #FFB27A;
  --rust: #A83800;
  --blue-a: #2F3F9E;
  --blue-b: #1C2563;
  --cell: #222C78;
  --cell-line: #3D4CA8;
  --mint: #8EF0B8;
  --good: #16794A;
  --bad: #B42318;
  --sun-a: #FFF1B0;
  --sun-b: #FFC35A;
  --white: #FFFFFF;
  --panel: linear-gradient(var(--blue-a), var(--blue-b));
  --display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "DotGothic16", ui-monospace, Menlo, Consolas, monospace;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--navy); font-family: var(--display); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
:where(button, select, input, a):focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.inner {
  max-width: 1192px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Pixel bits shared everywhere */
.world { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 9px; background: var(--panel); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--navy); color: var(--white); font-family: var(--pixel); font-size: 15px; line-height: 1.2; white-space: nowrap; }
.world i { font-style: normal; color: var(--mist); }
.caret { flex: none; width: 0; height: 0; border-left: 8px solid var(--orange); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.gbtn { height: 42px; padding: 0 16px; border-radius: 999px; background: var(--panel); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--navy), 3px 4px 0 2px rgba(26, 33, 64, .25); color: var(--white); font-family: var(--pixel); font-size: 15px; letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
.gbtn.small { height: 38px; padding: 0 14px; font-size: 14px; }
.gbtn:disabled { opacity: .45; cursor: not-allowed; }
.cta { height: 48px; padding: 0 20px; border-radius: 999px; background: var(--orange); color: var(--navy); border: 2px solid var(--navy); box-shadow: 3px 3px 0 0 var(--navy); font-family: var(--display); font-weight: 650; font-size: 16px; cursor: pointer; white-space: nowrap; transition: transform .08s, box-shadow .08s; }
.cta:not(:disabled):active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 0 var(--navy); }
.cta:disabled { opacity: .5; cursor: not-allowed; }
.cta.small { height: 42px; padding: 0 16px; font-size: 15px; }
.linkbtn { padding: 3px 0; border: 0; background: none; color: var(--rust); font-family: var(--pixel); font-size: 13px; cursor: pointer; }
.linkbtn.light { color: var(--apricot); justify-self: start; }
.linkbtn:disabled { opacity: .5; cursor: not-allowed; }
.msg { margin: 0; font-size: 14px; }
.msg:empty { display: none; }
.msg[data-k="ok"] { color: var(--good); }
.msg[data-k="err"] { color: var(--bad); }
.av { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--av, var(--navy-2)); color: var(--white); font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.person { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.nm { font-weight: 600; overflow-wrap: anywhere; }

/* Company tiles with original pixel icons */
.tile { flex: none; display: inline-grid; place-items: center; background: var(--t); border: 2px solid var(--navy); }
.tile svg { display: block; }
.tile.xs { width: 24px; height: 24px; border-radius: 6px; border-width: 1.5px; }
.tile.xs svg { width: 16px; height: 16px; }
.tile.sm { width: 40px; height: 40px; border-radius: 10px; }
.tile.sm svg { width: 32px; height: 32px; }
.tile.md { width: 54px; height: 54px; border-radius: 14px; box-shadow: 2px 3px 0 0 var(--navy); }
.tile.md svg { width: 32px; height: 32px; }
.tile.lg { width: 84px; height: 84px; border-radius: 20px; box-shadow: 4px 5px 0 0 var(--navy); }
.tile.lg svg { width: 48px; height: 48px; }
.tile.xl { width: 76px; height: 76px; border-radius: 18px; box-shadow: 4px 5px 0 0 var(--navy); }
.tile.xl svg { width: 48px; height: 48px; }

/* Top bar */
.topbar { background: var(--bar); border-bottom: 2px solid var(--navy); }
.topbar .inner { display: flex; align-items: center; gap: 16px; padding-block: 11px; }
.logo { display: block; height: 28px; width: auto; }
.quest { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 9px; background: var(--panel); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--navy); color: var(--white); font-family: var(--pixel); font-size: 14px; white-space: nowrap; }
.quest .bar { width: 1px; height: 18px; background: rgba(255, 255, 255, .55); }
.quest .lampsq { width: 9px; height: 9px; background: var(--lampc, var(--mist)); }
.topbar .cta { margin-left: auto; }
@media (max-width: 600px) { .quest { display: none; } }

/* Title screen */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--navy);
  background: linear-gradient(#FFE4D1 0 16%, #FFD8BF 16% 30%, #FFCAA6 30% 44%, #FFBB8D 44% 58%, #FFA874 58% 72%, #FF9862 72% 86%, #FF8A55 86% 100%); }
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sun { position: absolute; left: 50%; bottom: 92px; width: min(660px, 94vw); aspect-ratio: 2 / 1; max-width: 100%; transform: translateX(-50%); border-radius: 999px 999px 0 0; background: linear-gradient(var(--sun-a), var(--sun-b));
  -webkit-mask-image: linear-gradient(#000 0 50%, transparent 50% 55%, #000 55% 65%, transparent 65% 71%, #000 71% 80%, transparent 80% 87%, #000 87% 100%);
          mask-image: linear-gradient(#000 0 50%, transparent 50% 55%, #000 55% 65%, transparent 65% 71%, #000 71% 80%, transparent 80% 87%, #000 87% 100%); }
.cloud { position: absolute; height: auto; }
.cloud.c1 { left: -34px; top: 34px; width: clamp(150px, 19vw, 280px); }
.cloud.c2 { right: 3%; top: 26px; width: clamp(120px, 15vw, 230px); }
.cloud.c3 { right: 17%; top: 330px; width: clamp(70px, 7vw, 116px); }
.cloud.c4 { left: 22%; top: 410px; width: clamp(60px, 6vw, 100px); }
.city { position: absolute; left: 0; right: 0; bottom: 0; height: 104px; }
.city svg { display: block; width: 100%; height: 100%; }
.floaters { position: absolute; inset: 0; display: none; }
.floater { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); animation: bob 4.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes bob { 50% { translate: 0 -9px; } }
@media (min-width: 1180px) { .floaters { display: block; } }
.hero-in { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 22px; padding-block: 60px 150px; }
.hero h1 { margin: 0; max-width: 11em; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7.4vw, 100px); line-height: .98; letter-spacing: -0.045em; color: var(--white);
  -webkit-text-stroke: 0.1em var(--navy); paint-order: stroke fill; text-shadow: 0 0.08em 0 var(--navy); text-wrap: balance; }
.lede { margin: 0; max-width: 34em; font-size: clamp(17px, 1.7vw, 20px); color: var(--navy-2); }
.menu { display: grid; gap: 2px; width: min(360px, 100%); padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--navy), 6px 8px 0 3px rgba(26, 33, 64, .28); text-align: left; }
.menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: var(--white); font-family: var(--pixel); font-size: 20px; cursor: pointer; }
.menu button .caret { visibility: hidden; }
.menu button:first-child .caret { visibility: visible; }
.menu:hover button .caret, .menu:focus-within button .caret { visibility: hidden; }
.menu button:hover .caret, .menu button:focus-visible .caret { visibility: visible; }
.menu button:focus-visible { outline: 2px solid var(--apricot); outline-offset: 0; }
.pixel-note { margin: 0; font-family: var(--pixel); font-size: 14px; color: var(--navy-2); }

/* Main column */
.main .inner { display: grid; gap: 64px; padding-block: 56px 72px; }
.sec-head { display: grid; justify-items: start; gap: 16px; margin-bottom: 26px; }
.sec-head h2 { margin: 0; font-weight: 650; font-size: clamp(30px, 4vw, 48px); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.sec-head p { margin: 0; max-width: 52ch; color: var(--slate); }
.banner { margin: 0; padding: 14px 18px; border: 2px solid var(--navy); border-radius: 14px; background: var(--cream); color: var(--rust); font-weight: 600; box-shadow: 4px 4px 0 0 var(--apricot); }

/* Scoreboard */
.panel { background: var(--panel); border: 3px solid var(--white); border-radius: 14px; box-shadow: 0 0 0 3px var(--navy), 6px 8px 0 3px rgba(26, 33, 64, .2); color: var(--white); }
.board { display: grid; gap: 16px; padding: 18px; }
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.stat { display: grid; gap: 5px; }
.stat-l { font-family: var(--pixel); font-size: 12px; letter-spacing: .14em; color: var(--mist); }
.stat-n { font-family: var(--pixel); font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.lamp { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--white); background: rgba(11, 15, 42, .35); font-family: var(--pixel); font-size: 14px; letter-spacing: .08em; white-space: nowrap; }
.lamp::before { content: ""; width: 10px; height: 10px; background: var(--lampc, var(--mist)); box-shadow: 0 0 8px var(--lampc, var(--mist)); }
[data-s="open"] { --lampc: var(--mint); }
[data-s="locked"] { --lampc: var(--apricot); }
[data-s="official"] { --lampc: var(--orange); }
.lamp[data-s="open"]::before { animation: blink 1.4s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.bgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--cell-line); border: 2px solid rgba(255, 255, 255, .5); border-radius: 10px; overflow: hidden; }
@media (min-width: 760px) { .bgrid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.bcell { display: grid; justify-items: start; gap: 8px; padding: 12px 10px 10px; min-width: 0; background: var(--cell); }
.bodds { font-family: var(--pixel); font-size: 24px; line-height: 1; color: var(--apricot); white-space: nowrap; }
.bodds.flash { animation: flash .9s ease-out; }
@keyframes flash { from { color: var(--white); text-shadow: 0 0 12px var(--apricot); } }
.bname { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--mist); }
.bcell.win { box-shadow: inset 0 0 0 3px var(--orange); }
.bcell.win .bname { color: var(--white); }
.bcell.lose .bodds { opacity: .35; }
.bnote { margin: 0; font-size: 13px; color: var(--mist); }

/* Layout grid */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
@media (min-width: 980px) {
  .grid { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "pick ticket" "log side"; column-gap: 40px; row-gap: 64px; align-items: start; }
  .pick { grid-area: pick; }
  #ticket { grid-area: ticket; position: sticky; top: 18px; }
  .log { grid-area: log; }
  .side { grid-area: side; }
}

/* Stage select cards */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { position: relative; display: grid; align-content: start; gap: 8px; padding: 16px; background: var(--paper); border: 2px solid var(--navy); border-radius: 16px; box-shadow: 6px 6px 0 0 var(--slab); cursor: pointer; transition: transform .14s ease, box-shadow .14s ease; }
.card:not(.off):hover { transform: translate(-1px, -2px); box-shadow: 7px 8px 0 0 var(--slab); }
.card.sel, .card.sel:hover { box-shadow: 6px 6px 0 0 var(--orange); }
.card.won { background: var(--cream); box-shadow: 6px 6px 0 0 var(--orange); }
.card.off { cursor: default; }
.card:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 4px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.card-odds { display: grid; justify-items: end; gap: 3px; }
.odds { font-family: var(--pixel); font-size: 26px; line-height: 1; white-space: nowrap; }
.odds-l { font-family: var(--pixel); font-size: 11px; letter-spacing: .14em; color: var(--slate); }
.card-name { font-weight: 650; font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; }
.card-blurb { font-size: 14.5px; line-height: 1.45; color: var(--slate); }
.card-foot { display: grid; gap: 6px; margin-top: 6px; }
.meter { display: block; height: 10px; border: 2px solid var(--navy); border-radius: 999px; background: var(--sky); overflow: hidden; }
.meter > i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .45s ease; }
.pool { font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.picked { position: absolute; top: -14px; right: 14px; display: none; align-items: center; gap: 7px; padding: 3px 10px 3px 8px; border-radius: 8px; background: var(--navy); color: var(--white); font-family: var(--pixel); font-size: 13px; }
.card.sel .picked { display: inline-flex; }

/* Ticket panel */
.ticket { display: grid; gap: 16px; padding: 18px; }
.slip-form { display: grid; gap: 14px; }
.t-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.t-title { margin: 0; font-family: var(--pixel); font-weight: 400; font-size: 19px; letter-spacing: .06em; }
.t-win { padding: 2px 8px; border-radius: 6px; background: var(--apricot); color: var(--navy); font-family: var(--pixel); font-size: 13px; letter-spacing: .08em; }
.t-pick { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.t-pick .pname { font-weight: 650; font-size: 20px; letter-spacing: -0.01em; }
.t-pick .pempty { color: var(--mist); font-size: 15px; }
.dots { border-top: 2px dotted rgba(255, 255, 255, .4); }
.amts { margin: 0; padding: 0; border: 0; min-width: 0; }
.amts legend { margin-bottom: 8px; padding: 0; font-family: var(--pixel); font-size: 13px; letter-spacing: .14em; color: var(--mist); }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 8px; }
.chip { height: 42px; border: 2px solid var(--white); border-radius: 9px; background: transparent; color: var(--white); font-family: var(--pixel); font-size: 16px; cursor: pointer; font-variant-numeric: tabular-nums; }
.chip:not(:disabled):hover { background: rgba(255, 255, 255, .12); }
.chip[aria-pressed="true"], .chip[aria-pressed="true"]:hover { background: var(--orange); color: var(--navy); }
.chip:disabled { opacity: .45; cursor: not-allowed; }
.custom { display: flex; align-items: center; gap: 2px; min-width: 0; height: 42px; padding: 0 10px; border: 2px solid var(--white); border-radius: 9px; background: var(--white); color: var(--navy); font-family: var(--pixel); font-size: 16px; }
.custom:focus-within { outline: 3px solid var(--apricot); outline-offset: 1px; }
.custom input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--navy); font-family: var(--pixel); font-size: 16px; appearance: textfield; -moz-appearance: textfield; }
.custom input::-webkit-inner-spin-button, .custom input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.custom:has(input:disabled) { opacity: .5; }
.proj { margin: 0; min-height: 44px; font-size: 14.5px; color: var(--mist-2); }
.proj strong { color: var(--white); font-variant-numeric: tabular-nums; }
.slip-form .cta { width: 100%; }
.ticket .msg[data-k="ok"] { color: var(--mint); }
.ticket .msg[data-k="err"] { color: var(--apricot); }
.ticket :focus-visible { outline-color: var(--apricot); }
.join { display: grid; gap: 8px; }
.tlabel { font-family: var(--pixel); font-size: 13px; letter-spacing: .14em; color: var(--mist); }
.tinput { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 2px solid var(--white); border-radius: 9px; background: var(--white); color: var(--navy); font-size: 15px; }
.tinput::placeholder { color: var(--slate); opacity: .75; }
.code-input { font-family: var(--pixel); letter-spacing: .06em; text-transform: uppercase; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.inline-form .tinput { flex: 1 1 170px; width: auto; }
.codebox, .whoami { display: grid; gap: 10px; padding-top: 14px; border-top: 2px dotted rgba(255, 255, 255, .4); }
.who-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 13.5px; color: var(--mist); }
.who-line .nm { color: var(--white); }
.hosttag { padding: 1px 6px; border-radius: 5px; background: var(--apricot); color: var(--navy); font-family: var(--pixel); font-size: 11px; letter-spacing: .1em; }
.who-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mycode { display: grid; gap: 8px; padding: 12px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 12px; background: rgba(11, 15, 42, .35); }
.code-note { margin: 0; font-size: 13.5px; color: var(--mist-2); }
.code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.code-row code { font-family: var(--pixel); font-size: 19px; letter-spacing: .08em; color: var(--white); overflow-wrap: anywhere; }

/* Ticket log */
.logcard { background: var(--paper); border: 2px solid var(--navy); border-radius: 16px; box-shadow: 6px 6px 0 0 var(--slab); overflow: hidden; }
.tix { list-style: none; margin: 0; padding: 0; }
.tix li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 13px 16px; border-top: 2px dotted var(--rule); }
.tix li:first-child { border-top: 0; }
.tix .av { width: 34px; height: 34px; border: 2px solid var(--navy); font-size: 12px; }
.tw { display: grid; gap: 4px; min-width: 0; }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.you { padding: 1px 6px; border-radius: 5px; background: var(--navy); color: var(--white); font-family: var(--pixel); font-size: 11px; letter-spacing: .1em; }
.what { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 14px; color: var(--slate); }
.tmeta { display: grid; justify-items: end; gap: 2px; text-align: right; }
.tamt { font-family: var(--pixel); font-size: 19px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tmeta time { font-size: 12px; color: var(--slate); white-space: nowrap; }
.empty { margin: 0; padding: 22px 18px; color: var(--slate); }
.log .msg { margin-top: 12px; }

/* Results */
.results { overflow: hidden; background: var(--paper); border: 2px solid var(--navy); border-radius: 18px; box-shadow: 6px 8px 0 0 var(--orange); }
.res-top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; padding: 24px 22px; border-bottom: 2px solid var(--navy); background: linear-gradient(#FFE4D1 0 25%, #FFD8BF 25% 50%, #FFCAA6 50% 75%, #FFBB8D 75% 100%); }
.res-titles { display: grid; justify-items: start; gap: 12px; min-width: 0; flex: 1 1 280px; }
.clear { padding: 4px 12px; border-radius: 9px; background: var(--orange); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--navy); color: var(--navy); font-family: var(--pixel); font-size: 15px; letter-spacing: .06em; }
.res-titles h2 { margin: 0; font-weight: 700; font-size: clamp(30px, 4.6vw, 54px); line-height: 1; letter-spacing: -0.045em; color: var(--white); -webkit-text-stroke: 0.09em var(--navy); paint-order: stroke fill; text-shadow: 0 0.07em 0 var(--navy); text-wrap: balance; }
.res-body { display: grid; gap: 22px; padding: 22px; }
.res-sum { margin: 0; max-width: 65ch; color: var(--navy-2); }
.res-grid { display: grid; gap: 26px; }
@media (min-width: 840px) { .res-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.res-grid h3 { margin: 0 0 10px; font-family: var(--pixel); font-weight: 400; font-size: 14px; letter-spacing: .14em; color: var(--slate); }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { padding: 8px 10px; border-bottom: 2px solid var(--navy); text-align: left; font-family: var(--pixel); font-weight: 400; font-size: 12.5px; letter-spacing: .1em; color: var(--slate); white-space: nowrap; }
td { padding: 10px; border-bottom: 2px dotted var(--rule); }
.num { text-align: right; white-space: nowrap; }
.pos { color: var(--good); font-weight: 700; }
.neg { color: var(--bad); font-weight: 700; }
.settle { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.settle li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; padding: 10px 12px; border: 2px solid var(--navy); border-radius: 12px; background: var(--cream); }
.settle .pays { font-family: var(--pixel); font-size: 13px; color: var(--slate); }
.settle .amt { margin-left: auto; font-family: var(--pixel); font-size: 17px; }
.settle li.none { background: var(--paper); color: var(--slate); }
.copyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.settle-text { margin: 12px 0 0; padding: 12px; border-radius: 10px; background: var(--page); border: 2px dashed var(--rule); font-size: 13px; white-space: pre-wrap; overflow-x: auto; }

/* Side column */
.side { display: grid; gap: 40px; }
.host { display: grid; gap: 12px; padding: 18px; background: var(--paper); border: 2px dashed var(--navy); border-radius: 16px; }
.host-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.host h3, .host-login h3 { margin: 0; font-weight: 650; font-size: 20px; letter-spacing: -0.01em; }
.host-login { display: grid; gap: 12px; padding: 18px; background: var(--paper); border: 2px solid var(--navy); border-radius: 16px; box-shadow: 6px 6px 0 0 var(--slab); }
.host-login p { margin: 0; font-size: 14.5px; color: var(--slate); }
.host-login input { flex: 1 1 170px; min-width: 0; height: 42px; padding: 0 12px; border: 2px solid var(--navy); border-radius: 10px; background: var(--paper); color: var(--navy); font-size: 15px; }
.host-login input:disabled { opacity: .5; }
.host-chip { padding: 2px 8px; border-radius: 6px; background: var(--orange); color: var(--navy); font-family: var(--pixel); font-size: 12px; letter-spacing: .1em; }
.host p { margin: 0; font-size: 14.5px; color: var(--slate); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.st-locked { display: grid; gap: 12px; }
.flabel { font-family: var(--pixel); font-size: 13px; letter-spacing: .12em; color: var(--slate); }
select { flex: 1 1 170px; min-width: 0; height: 42px; padding: 0 10px; border: 2px solid var(--navy); border-radius: 10px; background: var(--paper); color: var(--navy); font-size: 15px; font-weight: 500; }
.confirm { display: grid; gap: 12px; padding: 14px; border: 2px solid var(--orange); border-radius: 12px; background: var(--cream); }
.confirm p { color: var(--navy); }
.rules-card { padding: 20px; background: var(--paper); border: 2px solid var(--navy); border-radius: 16px; box-shadow: 6px 6px 0 0 var(--slab); }
.rules-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.rules-card li { position: relative; padding-left: 20px; font-size: 15px; color: var(--navy-2); }
.rules-card li::before { content: ""; position: absolute; left: 1px; top: .5em; border-left: 8px solid var(--orange); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* Footer */
.foot { border-top: 2px solid var(--navy); background: var(--paper); }
.foot .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-block: 20px; }
.foot img { display: block; height: 22px; width: auto; }
.foot p { margin: 0; font-size: 13px; color: var(--slate); }
.foot .linkbtn { margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
