/* YOLK: a dozen eggs on deep roast. ENAMEL plates (an enamel mug's sheen: a cream highlight on the top edge), a yolk-yellow sun,
   Lilita One for the big words, Nunito for text, JetBrains Mono for every number. Fixed slots everywhere: nothing moves. */
@font-face { font-family: 'Lilita One'; src: url('/fonts/LilitaOne.woff2') format('woff2'); font-display: block; }
@font-face { font-family: 'Nunito'; src: url('/fonts/Nunito.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/Geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }      /* (Vercel's Geist, SIL Open Font License: fonts/GEIST-LICENSE.txt) */
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/JetBrainsMono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --roast: #1b120a; --roast-2: #24180e; --roast-3: #33231a; --roast-4: #4a3423; --line: rgba(255, 233, 196, 0.12); --hi: rgba(255, 238, 205, 0.32);
  --cream: #fff3dc; --cream-2: #e9d8bb; --cream-3: #b39c7c; --cream-4: #85705a;
  --yolk: #ffb703; --yolk-2: #ffd055; --amber: #d98200; --amber-d: #a65f00; --sauce: #ff4d2e; --mint: #14f195; --sky: #78c8ff;
  --f-d: 'Lilita One', 'Arial Black', system-ui, sans-serif; --f-t: 'Geist', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; --f-m: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--roast); color: var(--cream); font: 600 15px/1.35 var(--f-t); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
kbd { font: 700 11px/1 var(--f-m); padding: 3px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.18); }
.mono { font-family: var(--f-m); font-variant-numeric: tabular-nums; }
.is-hidden, [hidden] { display: none !important; }
#game { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; outline: none; touch-action: none; }
#veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(27, 18, 10, 0.86) 0%, rgba(27, 18, 10, 0.55) 34%, rgba(27, 18, 10, 0) 58%), linear-gradient(0deg, rgba(27, 18, 10, 0.7) 0%, rgba(27, 18, 10, 0) 18%); }
body:not(.on-title) #veil { display: none; }

/* enamel plates */
.enamel { background: rgba(27, 18, 10, 0.9); border-radius: var(--r); box-shadow: inset 0 1px 0 var(--hi), 0 14px 40px rgba(0, 0, 0, 0.45); border: 1px solid var(--line); }
.enamel.rim { box-shadow: inset 0 1px 0 var(--hi), inset 0 0 0 3px rgba(255, 183, 3, 0.85), 0 18px 50px rgba(0, 0, 0, 0.5); border-color: transparent; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 243, 220, 0.1); border: 1px solid var(--line); font: 800 13px/1 var(--f-t); color: var(--cream-2); white-space: nowrap; }
.btn-y { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font: 400 19px/1 var(--f-d); letter-spacing: 0.02em; color: #2a1600;
  background: radial-gradient(120% 140% at 50% 0%, #ffe08a 0%, var(--yolk) 46%, #f2a200 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 4px 0 var(--amber-d), 0 10px 24px rgba(255, 170, 0, 0.25); }
.btn-y:active { transform: translateY(2px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 2px 0 var(--amber-d); }
.btn-y kbd { background: rgba(80, 40, 0, 0.18); border-color: rgba(80, 40, 0, 0.25); color: #4a2a00; }
.btn-q { height: 40px; padding: 0 16px; border-radius: 999px; font: 800 14px/1 var(--f-t); color: var(--cream-2); background: rgba(255, 243, 220, 0.08); border: 1px solid var(--line); }
.btn-q:hover { background: rgba(255, 243, 220, 0.14); color: var(--cream); }

/* ---------------------------------------------------------------- the bar */
#bar { position: fixed; left: 0; right: 0; top: 0; height: 58px; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 0 22px; background: linear-gradient(180deg, rgba(27, 18, 10, 0.82), rgba(27, 18, 10, 0)); }
body:not(.on-title) #bar { display: none; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.mark { width: 34px; height: 34px; display: block; }
.mark svg, .mark-img { width: 34px; height: 34px; display: block; object-fit: contain; }
.word { font: 400 27px/1 var(--f-d); letter-spacing: 0.03em; color: var(--cream); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > * { height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; font: 800 14px/1 var(--f-t); color: var(--cream-2); white-space: nowrap; }
.nav > *:hover { background: rgba(255, 243, 220, 0.1); color: var(--cream); }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ticker { color: var(--yolk); border-color: rgba(255, 183, 3, 0.4); background: rgba(255, 183, 3, 0.1); font-family: var(--f-m); font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 7px; font: 800 13px/1 var(--f-t); color: var(--cream-2); white-space: nowrap; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.live b { font-family: var(--f-m); color: var(--cream); }
/* the kit's CA slot, in our colours */
.ca-pill { position: relative; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 5px 0 12px; border-radius: 999px; background: rgba(36, 24, 14, 0.92); border: 1px solid var(--line); min-width: 0; max-width: 520px; }
.ca-pill.is-live { border-color: rgba(255, 183, 3, 0.7); }
.ca-lab { font: 400 13px/1 var(--f-d); letter-spacing: 0.04em; color: var(--yolk); white-space: nowrap; }
.ca-addr { display: flex; align-items: center; gap: 8px; min-width: 0; height: 26px; padding: 0 2px; border-radius: 999px; font: 600 12px/1 var(--f-m); color: var(--cream); cursor: copy; user-select: text; -webkit-user-select: text; }
.ca-addr:disabled { cursor: default; color: var(--cream-3); font: 700 12px/1 var(--f-t); padding-right: 8px; }
.ca-addr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy { flex: none; font: 800 11px/1 var(--f-t); font-style: normal; padding: 6px 10px; border-radius: 999px; background: var(--yolk); color: #2a1600; min-width: 54px; text-align: center; }
.ca-link { flex: none; font: 800 11px/1 var(--f-t); padding: 7px 10px; border-radius: 999px; background: rgba(255, 243, 220, 0.1); color: var(--cream-2); white-space: nowrap; }
.ca-link:hover { background: rgba(255, 243, 220, 0.18); color: var(--cream); }
.x-link { color: var(--cream) !important; }

/* ---------------------------------------------------------------- the title */
/* the title is the lobby: one scroll, the first screen over the live match (the stage), then the sections */
#title { position: fixed; z-index: 10; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 233, 196, 0.25) transparent; }
body:not(.on-title) #title, body:not(.on-title) #strip { display: none; }
body.scrolled #bar { background: rgba(22, 14, 8, 0.96); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, 0.35); }
.lobby { position: relative; min-height: 100%; }
.stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 70px 44px 70px; }
.side { width: 600px; flex: none; display: flex; flex-direction: column; gap: 14px; }
.hero { width: 640px; flex: none; }
.hero h1 { font: 400 84px/0.94 var(--f-d); letter-spacing: 0.01em; color: var(--cream); text-shadow: 0 5px 0 rgba(0, 0, 0, 0.3), 0 20px 50px rgba(0, 0, 0, 0.4); }
.hero h1 span { display: block; }
.hero h1 .y { color: var(--yolk); }
.hero .sub { margin: 14px 0 18px; max-width: 560px; font: 700 18px/1.4 var(--f-t); color: var(--cream-2); }
.card { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.row2 { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 10px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > span { font: 800 12px/1 var(--f-t); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fld em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--cream-4); font-weight: 700; }
.fld input { height: 42px; padding: 0 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); font: 700 15px/1 var(--f-t); outline: none; min-width: 0; }
.fld input:focus { border-color: rgba(255, 183, 3, 0.7); background: rgba(0, 0, 0, 0.45); }
#t-addr, #m-addr { font: 600 13px/1 var(--f-m); }
.cls-head { display: flex; align-items: baseline; gap: 10px; font: 800 12px/1 var(--f-t); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-3); }
.cls-head > span { white-space: nowrap; flex: none; }
/* the mode chips: an icon, the name, how many are playing it */
.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.modes button { position: relative; height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border-radius: 11px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); color: var(--cream-2); min-width: 0; transition: background 0.12s, box-shadow 0.12s; }
.modes button svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--cream-3); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.modes button b { font: 800 12.5px/1 var(--f-t); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.modes button i { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--mint); flex: none; }
.modes button:hover { background: rgba(255, 243, 220, 0.06); }
.modes button.on { background: radial-gradient(120% 150% at 50% 0%, color-mix(in srgb, var(--c) 30%, transparent), rgba(0, 0, 0, 0.35)); border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 0 22px color-mix(in srgb, var(--c) 40%, transparent); color: var(--cream); }
.modes button.on svg { stroke: var(--c); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c) 70%, transparent)); }
.modes button.on i { color: var(--c); }
.modes button:not(.on) { opacity: 0.8; }
/* the chosen mode gives off its own light: a glint that runs round its edge */
@property --ga { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.modes button.on::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none; background: conic-gradient(from var(--ga), transparent 0 62%, color-mix(in srgb, var(--c) 90%, #fff) 76%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: glint 2.8s linear infinite; }
@keyframes glint { to { --ga: 360deg; } }
@media (prefers-reduced-motion: reduce) { .modes button.on::after { animation: none; } }
.cls-head b { font: 700 13px/1 var(--f-t); letter-spacing: 0; text-transform: none; color: var(--cream-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the class picker (his Inspiration #15: the chosen one swells and glows in its own colour, the rest stay dark) */
.cls { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.cls button { position: relative; height: 68px; border-radius: 12px; background: rgba(0, 0, 0, 0.32); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 2px 7px; gap: 4px; transition: transform 0.12s, background 0.12s, box-shadow 0.12s; --c: var(--yolk); }
.cls button svg { position: absolute; left: 50%; top: 7px; width: 70%; height: 30px; transform: translateX(-50%); fill: rgba(255, 243, 220, 0.5); transition: fill 0.12s; }
.cls button b { font: 400 13px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream-2); white-space: nowrap; }
.cls button i { font: 700 10px/1 var(--f-t); font-style: normal; color: var(--cream-4); white-space: nowrap; }
.cls button:hover { background: rgba(255, 243, 220, 0.06); }
.cls button.on { background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--c) 30%, transparent), rgba(0, 0, 0, 0.4)); border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 0 22px color-mix(in srgb, var(--c) 45%, transparent); transform: translateY(-2px); }
.cls button.on svg { fill: var(--c); }
.cls button.on b { color: var(--cream); }
.cls.small button { height: 56px; }
.cls.small button svg { height: 26px; top: 6px; }
.dress { display: flex; gap: 22px; }
.sw-row { display: flex; align-items: center; gap: 10px; font: 800 12px/1 var(--f-t); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-3); }
.sw { display: flex; gap: 6px; }
.sw button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.12); position: relative; }
.sw button.on { border-color: var(--cream); box-shadow: 0 0 0 2px var(--yolk); }
.sw.shell button { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; width: 22px; height: 28px; }
.go { display: flex; align-items: center; gap: 16px; margin-top: 2px; }
.sunny { position: relative; flex: none; width: 196px; height: 74px; border-radius: 40px; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 10px; background: radial-gradient(130% 160% at 40% 0%, #fffaf0 0%, #f6ead4 55%, #e5d3b4 100%); box-shadow: inset 0 2px 0 #fff, 0 5px 0 #b59a72, 0 14px 30px rgba(0, 0, 0, 0.35); color: #2a1600; }
.sunny .yk { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff1b8 0 12%, #ffc21a 34%, #f29a00 78%, #d57f00 100%); box-shadow: inset 0 -4px 8px rgba(160, 80, 0, 0.35), 0 2px 6px rgba(160, 90, 0, 0.35); flex: none; }
.sunny b { font: 400 30px/1 var(--f-d); letter-spacing: 0.03em; }
.sunny kbd { position: absolute; right: 14px; bottom: 8px; background: rgba(90, 60, 20, 0.1); border-color: rgba(90, 60, 20, 0.2); color: #6b5232; font-size: 10px; }
.sunny:hover .yk { filter: brightness(1.08); }
.sunny:active { transform: translateY(3px); box-shadow: inset 0 2px 0 #fff, 0 2px 0 #b59a72; }
.go-r { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.prize-now { display: flex; align-items: baseline; gap: 10px; font: 800 12px/1 var(--f-t); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-3); }
.prize-now { flex-wrap: wrap; row-gap: 5px; }
.prize-now b { font: 700 14px/1.2 var(--f-m); letter-spacing: 0; text-transform: none; color: var(--mint); }
.links { display: flex; gap: 4px; flex-wrap: wrap; }
.links button { height: 30px; padding: 0 10px; border-radius: 999px; font: 800 13px/1 var(--f-t); color: var(--cream-2); background: rgba(255, 243, 220, 0.07); }
.links button:hover { color: var(--cream); background: rgba(255, 243, 220, 0.14); }

/* the carton: the room's twelve seats as a 2x6 egg carton seen from above */
.carton-wrap { padding: 14px 16px 14px; }
.carton-wrap { background: rgba(27, 18, 10, 0.88); border-radius: 22px; box-shadow: inset 0 1px 0 var(--hi), 0 18px 50px rgba(0, 0, 0, 0.5); border: 1px solid var(--line); }
.cw-head, .cw-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cw-head b { font: 400 22px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-head span { font: 700 22px/1 var(--f-m); color: var(--yolk); min-width: 74px; text-align: right; }
.cw-head span.hot { color: var(--sauce); }
.cw-foot { margin-top: 10px; font: 700 13px/1.2 var(--f-t); color: var(--cream-3); }
.cw-foot button { height: 30px; padding: 0 12px; border-radius: 999px; font: 800 13px/1 var(--f-t); color: var(--cream-2); background: rgba(255, 243, 220, 0.08); white-space: nowrap; }
.carton { margin-top: 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 10px; border-radius: 16px; background: linear-gradient(180deg, #4b3624, #3a2919); box-shadow: inset 0 2px 0 rgba(255, 230, 190, 0.18), inset 0 -3px 0 rgba(0, 0, 0, 0.3); }
.cup { position: relative; height: 112px; border-radius: 18px 18px 22px 22px; background: radial-gradient(70% 62% at 50% 44%, #2a1b10 0%, #3d2a1b 64%, #533a26 100%); box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.5), inset 0 -2px 0 rgba(255, 220, 170, 0.08); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 3px 6px; overflow: hidden; }
.cup .egg { position: absolute; left: 50%; top: 17px; transform: translateX(-50%) scale(0.86); transform-origin: 50% 0; }      /* (under the place and the prize tag, never under them) */
.cup .nm { position: relative; max-width: 100%; font: 800 11.5px/1.15 var(--f-t); color: var(--cream-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.cup .kl { position: relative; font: 700 13px/1.1 var(--f-m); color: var(--cream); }
.cup .pl { position: absolute; left: 5px; top: 5px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--f-m); background: rgba(0, 0, 0, 0.45); color: var(--cream-3); }
.cup.top { box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.5), inset 0 0 0 2px #f5c242, 0 0 16px rgba(255, 190, 40, 0.18); }
.cup.top .pl { background: #f5c242; color: #2a1600; }
.cup .pay { position: absolute; right: 5px; top: 6px; font: 700 10px/1 var(--f-m); color: var(--mint); }
.cup.me .nm { color: var(--yolk); }
.cup.empty { justify-content: center; }
.cup.empty i { font: 800 11px/1.2 var(--f-t); font-style: normal; color: var(--cream-4); text-align: center; }
.carton.small .cup { height: 92px; }
.carton.small .cup .egg { top: 15px; transform: translateX(-50%) scale(0.74); transform-origin: 50% 0; }
/* an egg drawn in CSS: shell, a band in the player's colour, two eyes */
.egg { width: 38px; height: 50px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 34% 28%, #ffffff 0 14%, var(--sh, #f6eddc) 52%, var(--sh2, #d6c3a2) 100%); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35); }
.egg::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 7px; background: var(--band, #ffb703); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22); }
.egg::after { content: ''; position: absolute; left: 11px; top: 21px; width: 5px; height: 8px; border-radius: 50%; background: #1d140c; box-shadow: 11px 0 0 #1d140c; }
.egg.speck { background: radial-gradient(circle at 30% 60%, #b98f62 0 1.5px, transparent 2px), radial-gradient(circle at 70% 40%, #b98f62 0 1.5px, transparent 2px), radial-gradient(circle at 55% 80%, #a57c50 0 1.5px, transparent 2px), radial-gradient(circle at 34% 28%, #ffffff 0 14%, #f3e6cc 52%, #d2bd98 100%); }
.egg.brown { --sh: #d9a16b; --sh2: #a86b3c; }
.egg.dead { opacity: 0.45; filter: grayscale(0.6); }
.egg.dead::after { left: 10px; top: 22px; width: 7px; height: 2px; border-radius: 0; background: #1d140c; box-shadow: 11px 0 0 #1d140c; transform: rotate(45deg); }

#strip { position: fixed; left: 0; right: 0; bottom: 0; height: 46px; z-index: 10; display: flex; align-items: center; gap: 30px; padding: 0 26px; background: rgba(20, 13, 7, 0.94); border-top: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 238, 205, 0.08); }
#strip > span { display: inline-flex; align-items: baseline; gap: 9px; white-space: nowrap; min-width: 0; }
#strip i { font: 800 11px/1 var(--f-t); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-3); }
#strip b { font: 700 15px/1 var(--f-m); color: var(--cream); }
#strip b.mint { color: var(--mint); }
#strip .last { flex: 1; overflow: hidden; }
#strip .last b { font: 700 13px/1 var(--f-t); color: var(--cream-2); overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- the HUD */
#hud { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
body.spectating #h-meter, body.spectating #h-ammo, body.spectating #h-cross, body.spectating #h-chat, body.spectating #h-esc, body.spectating #h-streak, body.spectating #touch, body.spectating #h-scope { display: none !important; }
#hud button, #hud input { pointer-events: auto; }
#h-board { position: absolute; left: 14px; top: 14px; width: 232px; padding: 7px 7px 6px; display: flex; flex-direction: column; gap: 3px; }
.hb { display: grid; grid-template-columns: 20px 12px minmax(0, 1fr) 30px; align-items: center; gap: 6px; height: 22px; padding: 0 6px; border-radius: 7px; font: 800 13px/1 var(--f-t); color: var(--cream-2); }
.hb .p { font: 700 11px/1 var(--f-m); color: var(--cream-4); }
.hb .d { width: 10px; height: 13px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.hb .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb .k { font: 700 13px/1 var(--f-m); color: var(--cream); text-align: right; }
.hb.me { background: rgba(255, 183, 3, 0.18); color: var(--cream); }
.hb.paid .p { color: #f5c242; }
#h-streak { position: absolute; left: 16px; top: 184px; font: 400 18px/1 var(--f-d); color: var(--yolk); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); letter-spacing: 0.03em; }
#h-esc { position: absolute; left: 14px; bottom: 14px; background: rgba(27, 18, 10, 0.75); }
#h-clock { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
#h-clock .dial { width: 94px; height: 46px; border-radius: 30px; display: grid; place-items: center; background: radial-gradient(120% 140% at 50% 0%, #ffe08a, var(--yolk) 50%, #f0a000); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 3px 0 var(--amber-d), 0 8px 20px rgba(0, 0, 0, 0.35); }
#h-clock .dial b { font: 800 22px/1 var(--f-m); color: #2a1600; }
#h-clock.hot .dial { background: radial-gradient(120% 140% at 50% 0%, #ff9f8a, var(--sauce) 50%, #d6311a); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 3px 0 #8d1e0c, 0 0 26px rgba(255, 77, 46, 0.45); }
#h-clock.hot .dial b { color: #fff; }
#h-prize { font: 700 12px/1 var(--f-m); color: var(--cream-2); background: rgba(27, 18, 10, 0.78); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
#h-prize b { color: var(--mint); }
#h-feed { position: absolute; right: 14px; top: 14px; width: 380px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
/* the modes' HUD: only in their mode */
#h-teams, #h-rung, #h-pan, #h-panmark { display: none; }
body.mode-tdm #h-teams, body.mode-trench #h-teams, body.mode-gun #h-rung, body.mode-hill #h-pan { display: flex; }
#h-cut { position: absolute; left: 50%; top: 86px; transform: translateX(-50%); display: none; padding: 6px 13px; border-radius: 999px; background: rgba(27, 18, 10, 0.84); box-shadow: inset 0 1px 0 var(--hi); font: 700 12.5px/1 var(--f-m); color: var(--mint); white-space: nowrap; pointer-events: none; }
body.mode-trench #h-cut.on { display: block; }
#h-teams { position: absolute; left: 50%; top: 13px; transform: translateX(-50%); width: 360px; justify-content: space-between; pointer-events: none; }
#h-teams .tm { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 12px; background: rgba(27, 18, 10, 0.82); box-shadow: inset 0 1px 0 var(--hi); }
#h-teams .tm i { font: 800 11px/1 var(--f-t); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; }
#h-teams .tm b { font: 700 20px/1 var(--f-m); color: var(--cream); min-width: 26px; text-align: center; }
#h-teams .t0 i { color: #ffb84d; } #h-teams .t1 i { color: #7fbaff; }
#h-teams .t0 { box-shadow: inset 0 1px 0 var(--hi), inset 3px 0 0 #ffa31a; } #h-teams .t1 { box-shadow: inset 0 1px 0 var(--hi), inset -3px 0 0 #5aa9ff; }
#h-teams.me0 .t0, #h-teams.me1 .t1 { background: rgba(48, 32, 16, 0.92); }
#h-teams.lead0 .t0 b, #h-teams.lead1 .t1 b { color: var(--yolk); }
#h-rung { position: absolute; right: 16px; bottom: 132px; align-items: baseline; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(27, 18, 10, 0.8); box-shadow: inset 0 1px 0 var(--hi); }
#h-rung span { font: 800 10px/1 var(--f-t); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-3); }
#h-rung b { font: 700 16px/1 var(--f-m); color: var(--yolk); } #h-rung em { font: 400 15px/1 var(--f-d); font-style: normal; color: var(--cream); letter-spacing: 0.03em; } #h-rung small { font: 700 11px/1 var(--f-t); color: var(--cream-3); }
#h-pan { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(27, 18, 10, 0.8); box-shadow: inset 0 1px 0 var(--hi); white-space: nowrap; }
#h-pan b { font: 400 15px/1 var(--f-d); letter-spacing: 0.04em; color: var(--cream-2); } #h-pan.on b { color: #ff9a3c; text-shadow: 0 0 12px rgba(255, 120, 40, 0.6); }
#h-pan span { font-size: 12px; color: var(--cream); } #h-pan small { font-size: 11px; color: var(--cream-3); }
#h-panmark { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
body.mode-hill #h-panmark.on { display: block; }
#h-panmark i { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #ff8a2b; box-shadow: 0 0 14px rgba(255, 110, 30, 0.7), inset 0 0 8px rgba(255, 150, 60, 0.6); }
#h-panmark.edge i { border-radius: 4px 50% 50% 50%; transform: rotate(calc(var(--a, 0rad) + 2.356rad)); }
#h-panmark b { position: absolute; left: -40px; top: 19px; width: 80px; text-align: center; font-size: 11px; color: #ffd2a8; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); }
/* Gun game: the ladder picks the gun (no class picker on the cracked sheet) */
body.mode-gun #d-cls, body.mode-gun .panel.dead .cls-head { display: none; }
.kf { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 9px; background: rgba(27, 18, 10, 0.82); box-shadow: inset 0 1px 0 rgba(255, 238, 205, 0.15); font: 800 13px/1 var(--f-t); white-space: nowrap; max-width: 100%; animation: kf-in 0.18s ease-out; }
.kf .v { font: 400 13px/1 var(--f-d); letter-spacing: 0.04em; color: var(--cream-3); text-transform: uppercase; }
.kf.mine { box-shadow: inset 0 1px 0 rgba(255, 238, 205, 0.15), inset 0 0 0 2px var(--yolk); }
.kf.died { box-shadow: inset 0 1px 0 rgba(255, 238, 205, 0.15), inset 0 0 0 2px var(--sauce); }
@keyframes kf-in { from { transform: translateX(16px); opacity: 0; } to { transform: none; opacity: 1; } }
/* crosshair: four ticks that open with the cone, a dot; the shotgun's ring */
#h-cross { position: absolute; left: 50%; top: 50%; width: 0; height: 0; --g: 10px; }
#h-cross i { position: absolute; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55); border-radius: 1px; }
#h-cross .c-t, #h-cross .c-b { width: 2px; height: 9px; left: -1px; }
#h-cross .c-l, #h-cross .c-r { width: 9px; height: 2px; top: -1px; }
#h-cross .c-t { top: calc(-1 * var(--g) - 9px); } #h-cross .c-b { top: var(--g); } #h-cross .c-l { left: calc(-1 * var(--g) - 9px); } #h-cross .c-r { left: var(--g); }
#h-cross .c-dot { width: 4px; height: 4px; left: -2px; top: -2px; border-radius: 50%; }
#h-cross .c-ring { display: none; width: calc(var(--g) * 2); height: calc(var(--g) * 2); left: calc(-1 * var(--g)); top: calc(-1 * var(--g)); border-radius: 50%; background: none; border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4); }
#h-cross.ring .c-ring { display: block; } #h-cross.ring .c-t, #h-cross.ring .c-b, #h-cross.ring .c-l, #h-cross.ring .c-r { display: none; }
#h-cross.off { display: none; }
#h-cross.breaker i { background: #ff6a4d; }
#h-hit { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; opacity: 0; background: linear-gradient(45deg, transparent 44%, #fff 44% 56%, transparent 56%) center / 100% 100%, linear-gradient(-45deg, transparent 44%, #fff 44% 56%, transparent 56%) center / 100% 100%; -webkit-mask: radial-gradient(circle, transparent 0 7px, #000 7.5px); mask: radial-gradient(circle, transparent 0 7px, #000 7.5px); }
#h-hit.on { animation: hit 0.22s ease-out; }
#h-hit.crit { filter: drop-shadow(0 0 3px var(--yolk)) sepia(1) saturate(8) hue-rotate(-10deg); }
#h-hit.kill { filter: drop-shadow(0 0 4px var(--sauce)) sepia(1) saturate(9) hue-rotate(-40deg); }
@keyframes hit { 0% { opacity: 1; transform: scale(1.25); } 100% { opacity: 0; transform: scale(1); } }
#h-pop { position: absolute; left: 50%; top: calc(50% + 46px); transform: translateX(-50%); font: 400 22px/1 var(--f-d); letter-spacing: 0.04em; color: var(--cream); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.5); white-space: nowrap; opacity: 0; }
#h-pop.on { animation: pop 1.4s ease-out; }
#h-pop b { color: var(--yolk); }
@keyframes pop { 0% { opacity: 0; transform: translateX(-50%) scale(1.4); } 12% { opacity: 1; transform: translateX(-50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
#h-banner { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); font: 400 46px/1 var(--f-d); letter-spacing: 0.03em; color: var(--yolk); text-shadow: 0 4px 0 #6b3a00, 0 12px 30px rgba(0, 0, 0, 0.5); white-space: nowrap; opacity: 0; text-align: center; }
#h-banner small { display: block; margin-top: 8px; font: 800 16px/1 var(--f-t); letter-spacing: 0.02em; color: var(--cream); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6); }
#h-banner.on { animation: banner 2.4s ease-out; }
@keyframes banner { 0% { opacity: 0; transform: translateX(-50%) scale(0.7); } 10% { opacity: 1; transform: translateX(-50%) scale(1.06); } 18% { transform: translateX(-50%) scale(1); } 82% { opacity: 1; } 100% { opacity: 0; } }
/* the scope: black round a lens with a darker rim and a faint blue sheen, the reticle (posts, mil dots, a red dot) */
#h-scope { position: absolute; inset: 0; display: none; background: radial-gradient(circle at 50% 50%, transparent 0 calc(min(46vh, 46vw)), #070504 calc(min(46vh, 46vw) + 1px)); }
#h-scope.on { display: block; animation: scopein 0.12s ease-out; }
@keyframes scopein { from { opacity: 0; } to { opacity: 1; } }
#h-scope .lens { position: absolute; left: 50%; top: 50%; width: calc(min(92vh, 92vw)); height: calc(min(92vh, 92vw)); transform: translate(-50%, -50%); border-radius: 50%; box-shadow: inset 0 0 0 3px #050403, inset 0 0 70px 18px rgba(0, 0, 0, 0.62); background: radial-gradient(circle at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.18) 86%, rgba(0, 0, 0, 0.5) 100%), linear-gradient(135deg, rgba(150, 195, 255, 0.10), transparent 42%); }
#h-scope svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the game's edges a shade darker (a pseudo layer: nothing to click, nothing to overlap) */
#hud::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(25, 12, 0, 0.2) 100%); pointer-events: none; }
#h-dmg { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; background: radial-gradient(ellipse at var(--dx, 50%) var(--dy, 50%), rgba(255, 77, 46, 0.55), transparent 40%); }
#h-dmg.on { opacity: 1; transition: none; }
#h-meter { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: 76px; height: 92px; }
#h-meter svg { width: 76px; height: 92px; overflow: visible; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)); }
#h-meter .shell { fill: rgba(27, 18, 10, 0.85); }
#h-meter #h-yolk { fill: var(--yolk); transition: y 0.15s; }
#h-meter.low #h-yolk { fill: var(--sauce); }
#h-meter.over #h-yolk { fill: #ffe066; }
#h-meter .rim { fill: none; stroke: var(--cream); stroke-width: 3; }
#h-meter.shield .rim { stroke: var(--sky); stroke-width: 5; filter: drop-shadow(0 0 6px var(--sky)); }
#h-meter #h-cracks path { fill: none; stroke: #2a1600; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
#h-meter #h-cracks path.on { opacity: 0.85; }
#h-hp { position: absolute; left: 0; right: 0; top: 46px; text-align: center; font: 800 21px/1 var(--f-m); color: #2a1600; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35); }
#h-meter.low #h-hp, #h-meter.dark #h-hp { color: var(--cream); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); }
#h-ammo { position: absolute; right: 18px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#h-ammo .w { font: 400 18px/1 var(--f-d); letter-spacing: 0.03em; color: var(--cream-2); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); }
#h-ammo .n { display: flex; align-items: baseline; gap: 6px; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45); }
#h-ammo .n b { font: 800 50px/1 var(--f-m); color: var(--cream); min-width: 62px; text-align: right; }
#h-ammo .n i { font: 700 26px/1 var(--f-m); font-style: normal; color: var(--cream-3); }
#h-ammo .n span { font: 700 26px/1 var(--f-m); color: var(--cream-2); min-width: 48px; }
#h-ammo.empty .n b { color: var(--sauce); }
#h-nades { display: flex; gap: 5px; height: 20px; }
#h-nades i { width: 15px; height: 19px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: rgba(255, 243, 220, 0.15); border: 1.5px solid rgba(255, 243, 220, 0.3); }
#h-nades i.on { background: radial-gradient(circle at 35% 30%, #fff, #f2e4c8 60%, #cdb58c); border-color: transparent; }
#h-rel { width: 132px; height: 6px; border-radius: 3px; background: rgba(255, 243, 220, 0.12); overflow: hidden; visibility: hidden; }
#h-rel.on { visibility: visible; }
#h-rel i { display: block; height: 100%; width: 0; background: var(--yolk); }
#h-chat { position: absolute; left: 14px; bottom: 54px; width: 400px; display: flex; flex-direction: column; gap: 3px; }
#h-lines { display: flex; flex-direction: column; gap: 2px; }
.cl { font: 700 13px/1.3 var(--f-t); color: var(--cream); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9); animation: cl-out 12s linear forwards; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl b { font-weight: 900; }
.cl.sys { color: var(--cream-3); font-style: italic; }
@keyframes cl-out { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
#h-say { height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(27, 18, 10, 0.9); border: 1px solid rgba(255, 183, 3, 0.6); font: 700 14px/1 var(--f-t); outline: none; }
#spec { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 12; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 16px; border-radius: 999px; background: rgba(27, 18, 10, 0.88); box-shadow: inset 0 1px 0 var(--hi); font: 800 14px/1 var(--f-t); white-space: nowrap; }
#spec b { font: 400 16px/1 var(--f-d); color: var(--yolk); }
#spec em { font-style: normal; color: var(--cream-3); font-size: 12px; }
#spec button { height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 243, 220, 0.1); }
#reconnect { position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 40; padding: 18px 26px; border-radius: 18px; background: rgba(27, 18, 10, 0.94); box-shadow: inset 0 0 0 3px var(--yolk); font: 800 16px/1.3 var(--f-t); text-align: center; }
#reconnect b { display: block; font: 400 28px/1 var(--f-d); color: var(--yolk); margin-bottom: 6px; }

/* phone controls */
#touch { display: none; }
body.touch #touch { display: block; }
#tc-stick { position: absolute; left: 22px; bottom: 26px; width: 136px; height: 136px; border-radius: 50%; background: rgba(27, 18, 10, 0.4); border: 2px solid rgba(255, 243, 220, 0.2); pointer-events: auto; touch-action: none; }
#tc-stick i { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255, 243, 220, 0.35); }
#tc-stick.spr { border-color: rgba(255, 183, 3, 0.9); box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.3), 0 0 22px rgba(255, 183, 3, 0.45); }
#tc-stick.spr i { background: rgba(255, 196, 60, 0.75); }
#tc-look { position: absolute; left: 42%; right: 0; top: 64px; bottom: 0; pointer-events: auto; touch-action: none; }
#touch button { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: rgba(27, 18, 10, 0.55); border: 2px solid rgba(255, 243, 220, 0.3); font: 400 14px/1 var(--f-d); color: var(--cream); pointer-events: auto; touch-action: none; }
#touch button.on { background: rgba(255, 183, 3, 0.5); }
#tc-fire { right: 30px; bottom: 120px; width: 88px !important; height: 88px !important; background: rgba(255, 77, 46, 0.45) !important; font-size: 17px !important; }
#tc-jump { right: 132px; bottom: 30px; }
#tc-aim { right: 130px; bottom: 132px; }
#tc-nade { right: 30px; bottom: 30px; }
#tc-rel { right: 30px; bottom: 222px; width: 50px !important; height: 50px !important; }
#tc-swap { right: 90px; bottom: 228px; width: 50px !important; height: 50px !important; }
#tc-melee { right: 150px; bottom: 228px; width: 50px !important; height: 50px !important; }      /* (the small row: melee, swap, reload; clear of the stick) */
#tc-menu { right: 8px; top: 8px; width: 40px !important; height: 40px !important; font-size: 18px !important; }
/* the touch HUD: board top-left, clock centre with the prize under it, the menu top-right with the feed under it, the shell
   meter and the ammo above the stick; nothing on the thumbs' buttons */
body.touch #h-esc, body.touch #h-chat, body.touch #h-streak, body.touch kbd, body.touch #spec em { display: none; }
body.touch #h-board { left: 6px; top: 6px; width: 132px; padding: 4px; gap: 1px; }
body.touch #h-board .hb:nth-child(n+5):not(.me) { display: none; }
body.touch .hb { height: 17px; grid-template-columns: 14px 9px minmax(0, 1fr) 20px; gap: 4px; padding: 0 4px; font-size: 10.5px; }
body.touch .hb .k { font-size: 11px; } body.touch .hb .d { width: 8px; height: 10px; }
body.touch #h-clock { top: 6px; gap: 4px; } body.touch #h-clock .dial { width: 66px; height: 32px; } body.touch #h-clock .dial b { font-size: 16px; }
body.touch #h-prize { font-size: 9.5px; padding: 3px 7px; max-width: calc(100vw - 300px); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
body.touch #h-feed { top: 66px; right: 6px; width: 170px; gap: 3px; }
body.touch #h-feed .kf:nth-last-child(n+4) { display: none; }
body.touch .kf { font-size: 10px; height: 20px; padding: 0 7px; gap: 4px; } body.touch .kf .v { font-size: 10px; }
body.touch #h-meter { left: 14px; right: auto; bottom: 178px; top: auto; transform: none; width: 46px; height: 56px; }
body.touch #h-meter svg { width: 46px; height: 56px; } body.touch #h-hp { top: 27px; font-size: 13px; }
body.touch #h-ammo { left: 68px; right: auto; bottom: 180px; top: auto; align-items: flex-start; }
body.touch #h-ammo .w { font-size: 12px; } body.touch #h-ammo .n b { font-size: 26px; min-width: 0; text-align: left; } body.touch #h-ammo .n span, body.touch #h-ammo .n i { font-size: 14px; }
body.touch #h-nades { height: 14px; } body.touch #h-nades i { width: 11px; height: 14px; } body.touch #h-rel { width: 90px; }
@media (orientation: portrait) { body.touch #h-prize { max-width: 104px; } }
body.touch:not(.on-title) #toasts { top: 140px; width: calc(100vw - 24px); }
/* a phone held sideways: the feed keeps two lines under the menu button, above the small button row */
@media (orientation: landscape) and (max-height: 520px) { body.touch #h-feed { top: 54px; } body.touch #h-feed .kf:nth-last-child(n+3) { display: none; }
  body.touch:not(.on-title) #toasts { top: auto; bottom: 14px; } body.touch:not(.on-title) .toast-m { max-width: 440px; } }      /* (notes between the stick and the buttons: the middle is the pop's and the banner's) */
body.touch .toast-m { font-size: 13px; padding: 8px 12px; }

/* ---------------------------------------------------------------- sheets */
.sheet { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(12, 8, 4, 0.55); padding: 20px; }
.sheet.glassless { background: none; pointer-events: none; }
.sheet.glassless .panel { pointer-events: auto; }
.panel { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 24px 26px; }
.panel h2 { font: 400 34px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); margin-bottom: 14px; }
.panel .note { font: 700 14px/1.4 var(--f-t); color: var(--cream-3); }
.panel .x { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; font: 400 26px/1 var(--f-t); color: var(--cream-3); background: rgba(255, 243, 220, 0.06); }
.how .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.step { position: relative; padding: 14px 12px 12px; border-radius: 12px; background: rgba(255, 243, 220, 0.05); border: 1px solid var(--line); }
.step b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yolk); color: #2a1600; font: 400 18px/1 var(--f-d); margin-bottom: 8px; }
.step h3 { font: 400 18px/1.1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); margin-bottom: 6px; }
.step p { font: 700 13px/1.4 var(--f-t); color: var(--cream-2); }
.step .tp { display: none; } body.touch .step .tp { display: block; } body.touch .step .kb { display: none; }
/* the cracked sheet's panel (.panel.dead: a bare .dead would also catch the carton's cracked eggs and push them out of their cups) */
/* the players sheet: friends, the leaderboard, you */
.panel.social { width: min(720px, 100%); min-height: min(640px, calc(100vh - 40px)); display: flex; flex-direction: column; }
.so-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.so-tabs button, .so-tabs2 button { height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); font: 800 13px/1 var(--f-t); color: var(--cream-2); }
.so-tabs button.on, .so-tabs2 button.on { background: var(--yolk); border-color: var(--yolk); color: #1b120a; }
.so-tabs2 { display: flex; gap: 6px; flex-wrap: wrap; }
.so-tabs2 button { height: 28px; padding: 0 11px; font-size: 12px; }
.so-body { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.so-body h4 { margin-top: 8px; font: 800 12px/1 var(--f-t); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-3); }
.so-body h4 .mono { color: var(--cream-4); margin-left: 4px; }
.so-add { display: flex; gap: 8px; }
.so-add input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); font: 700 15px/1 var(--f-t); outline: none; }
.so-add input:focus { border-color: rgba(255, 183, 3, 0.7); }
.so-add .btn-y { height: 42px; padding: 0 18px; font-size: 15px; }
.so-code { font: 700 13px/1.4 var(--f-t); color: var(--cream-3); } .so-code b { color: var(--yolk); } .so-code .err { margin-left: 10px; color: var(--sauce); }
.so-row { display: grid; grid-template-columns: 10px minmax(0, auto) auto minmax(0, 1fr) auto 30px; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); }
.so-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cream-4); }
.so-row.on .dot { background: var(--mint); box-shadow: 0 0 8px var(--mint); } .so-row.play .dot { background: var(--yolk); box-shadow: 0 0 8px var(--yolk); }
.so-row b { font: 400 17px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-row .st { font: 700 12.5px/1 var(--f-t); color: var(--cream-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-row.play .st { color: var(--yolk); }
.so-row .sm { height: 30px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.so-row .x.sm { position: static; width: 28px; height: 28px; font-size: 18px; }
.so-row.wait { opacity: 0.7; }
.lv { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 5px; border-radius: 6px; background: linear-gradient(180deg, #ffd25a, #f2a516); color: #1b120a; font: 800 11px/1 var(--f-m); font-style: normal; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2); }
.so-sub { font-size: 12.5px !important; } .so-sub b { color: var(--yolk); }
.so-board { list-style: none; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; max-height: min(430px, calc(100vh - 290px)); padding-right: 4px; }
.so-board li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 34px auto; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.25); }
.so-board .rk { font: 800 13px/1 var(--f-m); color: var(--cream-3); text-align: right; }
.so-board b { font: 400 16px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-board .v { font-size: 13px; color: var(--mint); }
.so-board li.top .rk { color: var(--yolk); } .so-board li.me { background: rgba(255, 183, 3, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 183, 3, 0.5); }
.so-you { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); }
.so-lv { display: grid; place-items: center; width: 92px; height: 92px; flex: none; border-radius: 22px; background: radial-gradient(circle at 40% 30%, #ffe08a, #f2a516 60%, #c9761a); box-shadow: 0 8px 22px rgba(242, 165, 22, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.2); color: #1b120a; }
.so-lv .big { font: 400 46px/1 var(--f-d); margin-top: 8px; } .so-lv i { font: 800 10px/1 var(--f-t); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; margin-top: -14px; }
.so-xp { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.so-xp b { font: 400 26px/1 var(--f-d); color: var(--cream); }
.so-xp .bar, .r-xp .bar { height: 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.so-xp .bar i, .r-xp .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f2a516, #ffe08a); }
.so-xp .mono { font-size: 12px; color: var(--cream-3); }
.so-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.so-stats div { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); }
.so-stats i { font: 800 10.5px/1 var(--f-t); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-4); } .so-stats b { font-size: 18px; color: var(--cream); }
.cup .cup-lv { position: absolute; right: 4px; top: 4px; min-width: 20px; height: 16px; font-size: 9.5px; border-radius: 5px; } .cup .pay ~ .cup-lv { top: 21px; }
.badged { position: relative; } .badged[data-n]:not([data-n=''])::after { content: attr(data-n); position: absolute; top: -2px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--sauce); color: #fff; font: 800 10px/17px var(--f-m); text-align: center; }
.r-xp { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 2px 0 10px; min-height: 22px; }
.r-xp b { font-size: 16px; color: var(--yolk); } .r-xp .lvb { font: 800 12px/1 var(--f-t); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-3); } .r-xp.up .lvb { color: var(--mint); }
/* the armory: guns down the left, the turntable, the finish and its price, every finish below */
.panel.armory { width: min(1180px, 100%); padding: 22px 24px 18px; }
.ar-head { display: flex; align-items: center; gap: 16px; padding-right: 46px; }
.ar-head h2 { margin: 0; }
.ar-head .note { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-wallet { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); font: 800 13px/1 var(--f-t); color: var(--cream-2); }
.ar-wallet.on { border-color: var(--mint); color: var(--mint); font-family: var(--f-m); }
.ar-main { display: grid; grid-template-columns: 196px minmax(0, 1fr) 272px; gap: 14px; margin-top: 14px; height: 340px; }
.ar-guns { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; padding-right: 4px; min-height: 0; }
.ar-guns button { flex: none; display: grid; grid-template-columns: 52px minmax(0, 1fr) 10px; align-items: center; gap: 8px; height: 25px; padding: 0 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.28); border: 1px solid transparent; color: var(--cream-2); text-align: left; }
.ar-guns button svg { width: 52px; height: 18px; fill: rgba(255, 243, 220, 0.5); }
.ar-guns button b { font: 400 13px/1 var(--f-d); letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-guns button:hover { background: rgba(255, 243, 220, 0.06); }
.ar-guns button.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, rgba(0, 0, 0, 0.4)); color: var(--cream); }
.ar-guns button.on svg { fill: var(--c); }
.ar-guns .dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 6px currentColor; }
.ar-stage { position: relative; min-height: 0; border-radius: 16px; background: radial-gradient(70% 75% at 50% 42%, rgba(255, 214, 140, 0.18), rgba(0, 0, 0, 0.5)); border: 1px solid var(--line); overflow: hidden; }
.ar-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.ar-stage canvas:active { cursor: grabbing; }
.ar-gname { position: absolute; left: 16px; top: 14px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.ar-gname b { font: 400 24px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4); }
.ar-gname i { font: 700 12px/1 var(--f-t); font-style: normal; color: var(--cream-3); }
.ar-hint { position: absolute; right: 14px; bottom: 12px; font: 700 11px/1 var(--f-t); color: var(--cream-4); pointer-events: none; }
.ar-detail { display: flex; flex-direction: column; gap: 9px; padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); min-width: 0; }
.ar-tier { align-self: flex-start; padding: 5px 10px; border-radius: 999px; font: 800 11px/1 var(--f-t); letter-spacing: 0.08em; text-transform: uppercase; color: #1b120a; background: var(--t, #b9ad99); }
.ar-detail h3 { font: 400 30px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); }
.ar-detail .note { font-size: 13px; }
.ar-price { display: flex; flex-direction: column; gap: 5px; margin-top: auto; }
.ar-price b { font: 700 22px/1 var(--f-m); color: var(--mint); }
.ar-price span { font: 700 12px/1.35 var(--f-t); color: var(--cream-3); }
#ar-go { height: 46px; font-size: 16px; justify-content: center; }
#ar-go:disabled { opacity: 0.55; cursor: default; }
.ar-msg { min-height: 34px; font: 700 12.5px/1.35 var(--f-t); color: var(--cream-3); }
.ar-msg.good { color: var(--mint); } .ar-msg.bad { color: var(--sauce); } .ar-msg a { color: var(--yolk); text-decoration: underline; }
.ar-skins { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.ar-skins button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 7px 7px 8px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); text-align: left; min-width: 0; transition: box-shadow 0.12s, border-color 0.12s; }
.ar-skins button:hover { background: rgba(255, 243, 220, 0.06); }
.ar-skins .sw { width: 100%; height: 34px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 -10px 16px rgba(0, 0, 0, 0.28); }
.ar-skins b { font: 400 13px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ar-skins i { font: 800 9px/1 var(--f-t); letter-spacing: 0.08em; text-transform: uppercase; font-style: normal; color: var(--t); }
.ar-skins em { font: 700 11px/1 var(--f-m); font-style: normal; color: var(--cream-3); white-space: nowrap; }
.ar-skins em.pr { color: var(--mint); } .ar-skins em.eq { color: var(--yolk); font-family: var(--f-t); font-weight: 800; }
.ar-skins button.on { border-color: var(--t); box-shadow: 0 0 0 1px var(--t), 0 0 18px color-mix(in srgb, var(--t) 40%, transparent); }
.ar-foot { margin-top: 12px; font-size: 12.5px !important; }
.ar-foot a, .lnk { color: var(--yolk); font: inherit; text-decoration: underline; background: none; padding: 0; }
.nav .hot, .links .hot { color: var(--yolk); }
.panel.dead { width: min(560px, 100%); text-align: center; margin-top: 30vh; background: rgba(27, 18, 10, 0.8); }
.panel.dead h2 { color: var(--sauce); margin-bottom: 6px; }
.panel.dead h2 b { color: var(--cream); }
.panel.dead #d-how { color: var(--cream-2); font-size: 13px; min-height: 18px; }
.d-back { margin: 10px 0 14px; display: flex; align-items: baseline; justify-content: center; gap: 10px; font: 800 14px/1 var(--f-t); color: var(--cream-3); }
.d-back b { font: 800 28px/1 var(--f-m); color: var(--yolk); min-width: 24px; }
.result { width: min(860px, 100%); text-align: center; }
.result h2 { font-size: 40px; margin-bottom: 4px; }
#r-sub { color: var(--cream-3); font-size: 13px; margin-bottom: 12px; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 12px; height: 230px; margin: 4px 0 10px; }
.pod { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.pod .egg { position: relative; transform: scale(1.3); margin-bottom: 14px; }
.pod .nm { font: 800 15px/1.1 var(--f-t); color: var(--cream); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .ks { font: 700 13px/1 var(--f-m); color: var(--cream-3); }
.pod .toast { width: 100%; border-radius: 14px 14px 6px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(180deg, #e2a35e, #b8733b); box-shadow: inset 0 2px 0 rgba(255, 230, 190, 0.6), inset 0 -4px 0 rgba(80, 40, 10, 0.4); }
.pod .toast b { font: 400 30px/1 var(--f-d); color: #3a1d06; }
.pod .toast i { font: 700 13px/1 var(--f-m); font-style: normal; color: #2a1600; }
.pod.p1 .toast { height: 110px; } .pod.p2 .toast { height: 80px; } .pod.p3 .toast { height: 60px; }
.pod.empty .nm { color: var(--cream-4); }
.r-me { min-height: 44px; margin: 6px 0 8px; font: 800 15px/1.35 var(--f-t); color: var(--cream-2); }
.r-me b { color: var(--yolk); } .r-me .sol { color: var(--mint); font-family: var(--f-m); }
.r-me a { color: var(--yolk); text-decoration: underline; }
.r-go { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
#r-in { color: var(--cream-3); font-size: 13px; min-width: 120px; white-space: nowrap; }
.tab { width: min(820px, 100%); }
.tab-h { display: flex; justify-content: space-between; font: 400 22px/1 var(--f-d); }
.tab-h span { font-size: 14px; color: var(--mint); }
.menu { width: min(560px, 100%); display: flex; flex-direction: column; gap: 14px; }
.menu h2 span { font-size: 14px; color: var(--cream-3); margin-left: 8px; }
.m-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font: 800 14px/1 var(--f-t); color: var(--cream-2); }
.m-row label { display: flex; align-items: center; gap: 10px; }
.m-row input[type=range] { width: 200px; accent-color: var(--yolk); }
.m-row .ck input { accent-color: var(--yolk); width: 16px; height: 16px; }
.m-acct { font: 700 13px/1.4 var(--f-t); color: var(--cream-3); }
.m-acct button { color: var(--yolk); text-decoration: underline; }
.m-go { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 4px; }
.rooms { width: min(720px, 100%); }
.ro-list { display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow: auto; margin-bottom: 14px; }
.ro { display: grid; grid-template-columns: minmax(0, 1fr) 90px 130px 120px 80px; align-items: center; gap: 10px; height: 48px; padding: 0 12px; border-radius: 12px; background: rgba(255, 243, 220, 0.05); border: 1px solid var(--line); font: 800 14px/1 var(--f-t); }
.ro .mono { font-size: 13px; color: var(--cream-2); } .ro .mint { color: var(--mint); }
.ro button { height: 32px; border-radius: 999px; background: rgba(255, 183, 3, 0.15); color: var(--yolk); font-weight: 900; }
.ro-own { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ro-own .code input { width: 110px; text-transform: uppercase; font-family: var(--f-m); letter-spacing: 0.2em; }
.acct { width: min(460px, 100%); display: flex; flex-direction: column; gap: 12px; }
.tabs { display: flex; gap: 6px; } .tabs button { height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 243, 220, 0.06); font-weight: 900; color: var(--cream-3); } .tabs button.on { background: rgba(255, 183, 3, 0.18); color: var(--yolk); }
.err { min-height: 18px; font: 800 13px/1.3 var(--f-t); color: var(--sauce); }
#toasts { position: fixed; left: 50%; top: 70px; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.toast-m { padding: 10px 16px; border-radius: 12px; background: rgba(27, 18, 10, 0.95); box-shadow: inset 0 1px 0 var(--hi), 0 10px 30px rgba(0, 0, 0, 0.45); font: 800 14px/1.3 var(--f-t); color: var(--cream); max-width: min(560px, 92vw); text-align: center; }
.toast-m.good { box-shadow: inset 0 0 0 2px var(--yolk), 0 10px 30px rgba(0, 0, 0, 0.45); } .toast-m.bad { box-shadow: inset 0 0 0 2px var(--sauce), 0 10px 30px rgba(0, 0, 0, 0.45); }
.toast-m b { color: var(--yolk); }

/* ---------------------------------------------------------------- narrower screens */
/* ---- the lobby below the stage */
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 800 13px/1 var(--f-t); letter-spacing: 0.04em; color: var(--cream-2); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }
.eyebrow b { color: var(--cream); } .eyebrow .sep { color: var(--cream-4); margin: 0 2px; }
.ldot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.6); animation: ldot 2s ease-out infinite; }
@keyframes ldot { 0% { box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(20, 241, 149, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 241, 149, 0); } }
.week { padding: 14px 16px; border-radius: 22px; }
.wk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wk-head b { font: 400 20px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); }
.wk-list, .lp-board { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.wk-list li, .lp-board li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 30px 92px; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border-radius: 9px; background: rgba(0, 0, 0, 0.25); }
.wk-list li.wk-empty, .lp-board li.wk-empty { display: flex; height: auto; padding: 10px 12px; font: 700 13px/1.35 var(--f-t); color: var(--cream-3); }
.wk-list .rk, .lp-board .rk { font: 800 12px/1 var(--f-m); color: var(--cream-3); text-align: right; }
.wk-list li:nth-child(-n+3) .rk, .lp-board li:nth-child(-n+3) .rk { color: var(--yolk); }
.wk-list b, .lp-board b { font: 400 15px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-list .v, .lp-board .v { font: 700 12.5px/1 var(--f-m); color: var(--mint); text-align: right; white-space: nowrap; }
.wk-list li.me, .lp-board li.me { background: rgba(255, 183, 3, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 183, 3, 0.5); }
.more-cue { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font: 800 12px/1 var(--f-t); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-3); background: none; }
.more-cue i { width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: cue 1.6s ease-in-out infinite; }
.more-cue:hover { color: var(--cream); }
@keyframes cue { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.6; } 50% { transform: translateY(5px) rotate(45deg); opacity: 1; } }
.l-sec { position: relative; padding: 72px 44px 76px; background: radial-gradient(90% 60% at 50% 0%, rgba(255, 183, 3, 0.06), transparent 70%), #1d140c; border-top: 1px solid var(--line); }
.l-sec:nth-of-type(odd) { background: radial-gradient(80% 60% at 15% 0%, rgba(255, 140, 40, 0.07), transparent 70%), #20160d; }
#l-modes { box-shadow: 0 -60px 80px 20px rgba(29, 20, 12, 0.85); }
.l-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: 1480px; margin: 0 auto 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.l-eye { font: 700 12px/1 var(--f-m); letter-spacing: 0.14em; text-transform: uppercase; color: var(--yolk); margin-bottom: 10px; }
.l-head h2 { font: 400 clamp(34px, 3.4vw, 52px)/1 var(--f-d); letter-spacing: 0.01em; color: var(--cream); }
.l-link { font: 800 14px/1 var(--f-t); color: var(--cream-2); background: none; padding: 8px 0; white-space: nowrap; border-bottom: 2px solid rgba(255, 183, 3, 0.5); }
.l-link:hover { color: var(--cream); border-color: var(--yolk); }
.l-note { max-width: 420px; font: 700 14px/1.45 var(--f-t); color: var(--cream-3); text-align: right; }
.l-modes, .l-arenas, .l-armory, .l-players, .l-steps, .l-tiles { max-width: 1480px; margin: 0 auto; }
.l-modes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lm-new { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 5px 8px; border-radius: 8px; background: var(--c); color: #161208; font: 800 10px/1 var(--f-m); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; }
.la-wide { grid-column: 1 / -1; aspect-ratio: 21 / 7; }
.la-wide h3 { font-size: 34px; } .la-wide p { max-width: 560px; font-size: 15px; }
.lm { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #2a1d12; box-shadow: inset 0 1px 0 var(--hi), 0 14px 40px rgba(0, 0, 0, 0.4); border: 1px solid var(--line); transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.18s; }
.lm::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); z-index: 2; }
.lm img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #3a2919; }
.lm-b { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 16px; flex: 1; }
.lm h3 { font: 400 26px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); }
.lm p { font: 700 14px/1.45 var(--f-t); color: var(--cream-2); flex: 1; }
.lm-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; font: 700 13px/1 var(--f-t); color: var(--cream-3); }
.lm-f b { color: var(--c); font-size: 15px; }
.lm .btn-q { height: 34px; }
.lm:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 var(--hi), 0 0 0 1px var(--c), 0 18px 46px rgba(0, 0, 0, 0.5), 0 0 34px color-mix(in srgb, var(--c) 25%, transparent); }
.l-arenas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.la { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #3a2919; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); border: 1px solid var(--line); }
.la img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.la:hover img { transform: scale(1.04); }
.la::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 13, 7, 0) 45%, rgba(20, 13, 7, 0.92) 100%); }
.la-b { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.la h3 { font: 400 28px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4); }
.la p { font: 700 14px/1.4 var(--f-t); color: var(--cream-2); }
.la-live { position: absolute; left: 14px; top: 14px; z-index: 1; display: none; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(20, 13, 7, 0.82); font: 800 11px/1 var(--f-t); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.la-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.la.live .la-live { display: inline-flex; }
.la.live { box-shadow: 0 0 0 2px var(--mint), 0 14px 40px rgba(0, 0, 0, 0.4); }
.l-armory { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 28px; align-items: stretch; }
.lar-copy { display: flex; flex-direction: column; gap: 14px; }
.lar-copy p { font: 700 16px/1.5 var(--f-t); color: var(--cream-2); }
.lar-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 4px; }
.lar-stats div, .l-tiles div { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); min-width: 0; }
.lar-stats i, .l-tiles i { font: 800 10.5px/1 var(--f-t); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lar-stats b, .l-tiles b { font-size: 20px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lar-copy .btn-y { align-self: flex-start; margin-top: auto; }
.lar-guns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lar-guns figure { position: relative; border-radius: 16px; overflow: hidden; background: radial-gradient(70% 75% at 50% 42%, rgba(255, 214, 140, 0.16), rgba(0, 0, 0, 0.5)), #24180e; border: 1px solid var(--line); }
.lar-guns img { width: 100%; aspect-ratio: 960 / 501; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lar-guns figure:hover img { transform: scale(1.05) rotate(-1deg); }
.lar-guns figcaption { position: absolute; left: 12px; bottom: 10px; display: flex; align-items: baseline; gap: 8px; }
.lar-guns figcaption b { font: 400 16px/1 var(--f-d); letter-spacing: 0.02em; color: var(--cream); text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); }
.lar-guns figcaption i { font: 800 9.5px/1 var(--f-t); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yolk); }
.l-players { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; max-width: 1240px; }
.lp-board li { grid-template-columns: 30px minmax(0, 1fr) 34px 110px 100px; } .lp-board .xp { font: 700 12.5px/1 var(--f-m); color: var(--cream-3); text-align: right; white-space: nowrap; }
.lp-board li { height: 38px; } .lp-board b { font-size: 17px; }
.lp-you { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 20px; }
.lp-lv { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; background: radial-gradient(circle at 40% 30%, #ffe08a, #f2a516 60%, #c9761a); box-shadow: 0 8px 22px rgba(242, 165, 22, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.2); color: #1b120a; }
.lp-lv .big { font: 400 42px/1 var(--f-d); margin-top: 8px; } .lp-lv i { font: 800 10px/1 var(--f-t); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; margin-top: -12px; }
.lp-xp { display: flex; flex-direction: column; gap: 8px; } .lp-xp b { font: 400 24px/1 var(--f-d); color: var(--cream); }
.lp-xp .bar { height: 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.lp-xp .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #f2a516, #ffe08a); transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lp-xp .mono { font-size: 12px; color: var(--cream-3); }
.lp-go { display: flex; gap: 8px; flex-wrap: wrap; }
.badged-n:not(:empty) { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 7px; padding: 0 5px; border-radius: 999px; background: var(--sauce); color: #fff; font: 800 10px/1 var(--f-m); }
.l-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ls { position: relative; padding: 22px 22px 22px 22px; border-radius: 20px; background: rgba(0, 0, 0, 0.26); border: 1px solid var(--line); }
.ls-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; background: radial-gradient(circle at 36% 30%, #fff1b8 0 12%, #ffc21a 40%, #f29a00 100%); color: #2a1600; font: 400 22px/1 var(--f-d); }
.ls h3 { font: 400 24px/1.05 var(--f-d); letter-spacing: 0.02em; color: var(--cream); margin-bottom: 8px; }
.ls p { font: 700 15px/1.5 var(--f-t); color: var(--cream-2); }
.ls p span { color: var(--yolk); font-family: var(--f-m); font-weight: 700; }
.l-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.l-tiles b { font-size: 24px; color: var(--mint); }
.l-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 44px 80px; background: #170f08; border-top: 1px solid var(--line); }
.l-foot p { max-width: 640px; font: 700 14px/1.5 var(--f-t); color: var(--cream-3); } .l-foot p b { color: var(--cream); }
.l-foot nav { display: flex; gap: 18px; flex-wrap: wrap; } .l-foot nav a, .l-foot nav button { font: 800 14px/1 var(--f-t); color: var(--cream-2); background: none; padding: 0; } .l-foot nav a:hover, .l-foot nav button:hover { color: var(--yolk); }
.l-sec .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 45ms); }
.l-sec .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .l-sec .reveal { opacity: 1; transform: none; transition: none; } .ldot, .more-cue i { animation: none; } }
/* the line over the headline: who is on, and the new mode */
.eyebrow-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.eyebrow-row .eyebrow { margin: 0; }
.promo { display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 12px 0 5px; border-radius: 999px; background: rgba(185, 196, 106, 0.12); border: 1px solid rgba(185, 196, 106, 0.38); font: 600 12.5px/1 var(--f-t); color: #e3e8b8; transition: background 0.15s, border-color 0.15s; }
.promo em { font: 800 9.5px/1 var(--f-m); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; padding: 5px 7px; border-radius: 999px; background: #b9c46a; color: #1a1c08; }
.promo i { width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; opacity: 0.7; }
.promo:hover { background: rgba(185, 196, 106, 0.2); border-color: rgba(185, 196, 106, 0.6); }
/* the cups: flatter, finer */
.cup { background: radial-gradient(80% 70% at 50% 40%, #2c1e13 0%, #34251a 70%, #3c2b1e 100%); box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 233, 196, 0.06); }
.carton { background: rgba(0, 0, 0, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 233, 196, 0.07); }
.cup .nm { font: 600 11.5px/1.1 var(--f-t); }
/* ================= THE STAGE, refined: quiet glass panels, micro labels in mono, the accent only where it acts ================= */
.hero .card.enamel.rim, .side .carton-wrap, .side .week { background: linear-gradient(180deg, rgba(26, 18, 11, 0.9), rgba(17, 12, 7, 0.93)); border: 1px solid rgba(255, 233, 196, 0.11); box-shadow: inset 0 1px 0 rgba(255, 238, 205, 0.09), 0 30px 80px rgba(0, 0, 0, 0.5); border-radius: 22px; }
.hero .card { padding: 20px 22px 18px; gap: 14px; }
.eyebrow { font: 600 12px/1 var(--f-m); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-2); }
.eyebrow b { color: var(--mint); } .eyebrow .sep { color: rgba(255, 233, 196, 0.3); }
.hero h1 { letter-spacing: 0.005em; }
.hero .sub { font: 500 18px/1.5 var(--f-t); color: rgba(255, 243, 220, 0.82); max-width: 540px; }
.fld > span, .cls-head, .sw-row, .prize-now { font: 600 11px/1 var(--f-m) !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: var(--cream-3); }
.cls-head b { font: 500 13px/1.2 var(--f-t) !important; letter-spacing: 0 !important; text-transform: none; color: var(--cream-2); }
.fld em { font: 500 11px/1 var(--f-t); letter-spacing: 0; text-transform: none; color: var(--cream-4); }
.fld input { height: 44px; border-radius: 12px; background: rgba(0, 0, 0, 0.38); border: 1px solid rgba(255, 233, 196, 0.12); font: 500 15px/1 var(--f-t); transition: border-color 0.15s, box-shadow 0.15s; }
.fld input:focus { border-color: rgba(255, 183, 3, 0.75); box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.16); }
#t-addr { font-family: var(--f-m); font-size: 13.5px; }
/* the modes: a card each with its own picture */
.modes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.modes button { height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-radius: 13px; overflow: hidden; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 233, 196, 0.1); opacity: 1 !important; }
.modes button .mth { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; filter: saturate(0.55) brightness(0.62); transition: filter 0.2s, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.modes button:hover .mth { filter: saturate(0.85) brightness(0.85); }
.modes button.on .mth { filter: none; }
.modes button .mlab { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; min-width: 0; }
.modes button .mlab svg { display: none; }
.modes button .mlab b { font: 650 12.5px/1 var(--f-t); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.modes button .mlab i { margin-left: auto; font-size: 10.5px; }
.modes button .mnew { position: absolute; right: 6px; top: 6px; padding: 3px 6px; border-radius: 6px; background: var(--c); color: #161208; font: 800 9px/1 var(--f-m); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.modes button.on { background: color-mix(in srgb, var(--c) 14%, rgba(0, 0, 0, 0.4)); }
/* the gun: one row of silhouettes, the chosen one in its colour; its name and what it does on the line above */
.hero .cls { grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 5px; }
.hero .cls button { height: 46px; padding: 0; border-radius: 11px; justify-content: center; }
.hero .cls button svg { position: static; transform: none; width: 82%; height: 24px; }
.hero .cls button b, .hero .cls button i { display: none; }
.hero .cls button.on { transform: none; }
.dress { gap: 28px; align-items: center; }
.sw button { transition: transform 0.12s; } .sw button:hover { transform: scale(1.12); }
/* PLAY: one wide, warm button; the prize under the line beside it */
.go { gap: 18px; margin-top: 4px; }
.sunny { width: 236px; height: 62px; border-radius: 18px; padding: 0 18px 0 14px; gap: 12px; background: linear-gradient(180deg, #ffd45e 0%, #ffb703 55%, #f29a00 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -3px 0 rgba(150, 70, 0, 0.35), 0 10px 30px rgba(255, 160, 0, 0.28), 0 2px 0 #a65f00; color: #2a1600; }
.sunny .yk { width: 34px; height: 34px; background: radial-gradient(circle at 46% 44%, #fff1b0 0 7%, #ffb21a 12%, #f08a00 27%, #fff6e4 31%, #fffdf7 70%, #f3e6cf 100%); box-shadow: 0 2px 4px rgba(120, 60, 0, 0.35), inset 0 -2px 3px rgba(150, 110, 60, 0.25); border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%; }      /* a fried egg */
.sunny b { font: 400 30px/1 var(--f-d); letter-spacing: 0.04em; color: #2a1600; }
.sunny kbd { position: static; margin-left: auto; background: rgba(42, 22, 0, 0.12); border-color: rgba(42, 22, 0, 0.2); color: #5a3a10; font-size: 10px; }
.sunny:hover { filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -3px 0 rgba(150, 70, 0, 0.35), 0 14px 38px rgba(255, 160, 0, 0.38), 0 2px 0 #a65f00; }
.sunny:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(150, 70, 0, 0.35), 0 4px 14px rgba(255, 160, 0, 0.25), 0 0 0 #a65f00; }
.prize-now b { font: 600 14px/1.2 var(--f-m) !important; letter-spacing: 0 !important; }
.links button { height: 28px; padding: 0 11px; font: 600 12.5px/1 var(--f-t); border-radius: 9px; background: rgba(255, 243, 220, 0.05); border: 1px solid rgba(255, 233, 196, 0.08); }
/* the panels at the side */
.cw-head b { font: 650 18px/1 var(--f-t); letter-spacing: -0.01em; }
.cw-head span { font: 600 20px/1 var(--f-m); }
.cw-foot { font: 500 12.5px/1.2 var(--f-t); }
.wk-head b { font: 650 16px/1 var(--f-t); letter-spacing: -0.01em; }
.wk-list b, .lp-board b { font: 600 14px/1 var(--f-t); letter-spacing: 0; }
.nav > * { font: 600 14px/1 var(--f-t); }
#strip i { font: 600 10.5px/1 var(--f-m); letter-spacing: 0.12em; }
.l-head h2 { letter-spacing: 0.005em; }
.lm h3, .la h3, .ls h3 { letter-spacing: 0.01em; }
.lm p, .la p, .ls p, .lar-copy p { font-weight: 500; }
@media (max-width: 1500px) { .l-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero h1 { font-size: 70px; } .hero { width: 590px; } .side { width: 520px; } .cup { height: 100px; } }
@media (max-width: 1280px) { .stage { padding-left: 26px; padding-right: 26px; gap: 22px; } .hero { width: 540px; } .hero h1 { font-size: 60px; } .hero .sub { font-size: 16px; margin: 10px 0 14px; } .side { width: 440px; } .cup { height: 92px; } .cup .egg { top: 15px; transform: translateX(-50%) scale(0.76); transform-origin: 50% 0; } .nav #n-rooms { display: none; } }
@media (max-height: 820px) and (min-width: 821px) { .hero h1 { font-size: 56px; } .hero .sub { margin: 8px 0 10px; font-size: 15px; } .card { padding: 14px; gap: 9px; } .cls button { height: 58px; } .cls button svg { height: 25px; top: 6px; } .cup { height: 88px; } .cup .egg { top: 14px; transform: translateX(-50%) scale(0.72); transform-origin: 50% 0; } .sunny { height: 54px; } .sunny .yk { width: 30px; height: 30px; } .hero .card { padding: 15px 16px 14px; gap: 10px; } .modes button .mlab { height: 26px; } .hero .cls button { height: 40px; } .fld input { height: 40px; } }
@media (max-width: 1100px) and (min-width: 821px) { .side { display: none; } .l-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .la-wide { aspect-ratio: 16 / 9; } .l-arenas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .l-armory, .l-players { grid-template-columns: minmax(0, 1fr); } }
/* a short window (a phone held sideways): the headline on one line, a compact card, and the title scrolls if it still does not fit */
@media (max-height: 560px) and (min-width: 821px) {
  #bar { height: 50px; gap: 14px; } .nav > * { height: 30px; padding: 0 10px; }
  .stage { align-items: flex-start; min-height: 0; padding: 56px 24px 14px; } .more-cue { display: none; }
  .hero h1 { font-size: 34px; line-height: 1; } .hero h1 span { display: inline; } .hero h1 .y { margin-left: 0.25em; } .hero .sub { display: none; }
  .card { margin-top: 8px; padding: 10px 12px; gap: 7px; } .fld { gap: 4px; } .fld input { height: 34px; font-size: 14px; }
  .cls button { height: 46px; padding-bottom: 5px; } .cls button svg { height: 20px; top: 5px; } .cls button i { display: none; }
  .sw button { width: 22px; height: 22px; } .sunny { height: 50px; width: 170px; } .sunny .yk { width: 36px; height: 36px; } .sunny b { font-size: 24px; } .sunny kbd { display: none; }
  .mode-head { display: none; } .modes button { height: 30px; } .modes button svg { display: none; } .modes button .mth, .modes button .mnew { display: none; } .modes button .mlab { height: 28px; }
  .hero .cls button { height: 40px; } .hero .cls button svg { height: 20px; }
  .ar-main { height: 230px; grid-template-columns: 170px minmax(0, 1fr) 240px; } .ar-skins { grid-template-columns: repeat(7, minmax(0, 1fr)); } .ar-detail { padding: 10px; gap: 6px; } .ar-detail h3 { font-size: 22px; } .ar-detail .note { display: none; }
  .hero { width: 100%; } .cls { grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; } .cls button b { font-size: 11px; } .cls.small { grid-template-columns: repeat(11, minmax(0, 1fr)); } .cls.small button { height: 40px; } .cls.small button b { display: none; } .cls.small button svg { height: 22px; top: 8px; }
  .hero h1, .eyebrow-row { display: none; } .card { margin-top: 2px; } #strip { display: none !important; }
}
@media (max-width: 820px) {
  #bar { height: 50px; padding: 0 10px; gap: 8px; }
  .word { font-size: 22px; } .nav { display: none; } .live { display: none; }
  .ca-pill { max-width: calc(100vw - 210px); } .ca-link { display: none; }
  .stage { flex-direction: column; justify-content: flex-start; align-items: stretch; min-height: 0; padding: 58px 10px 24px; gap: 14px; } .more-cue { display: none; }
  .hero { width: 100%; } .hero h1 { font-size: 44px; } .hero .sub { font-size: 14px; margin: 6px 0 10px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .cls { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; } .cls button { height: 42px; padding-bottom: 5px; } .cls button svg { height: 18px; top: 4px; } .cls button i { display: none; }
  .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; } .modes button .mth, .modes button .mnew, .modes button .mlab i { display: none; } .modes button .mlab { height: 32px; padding: 0 7px; } .modes button .mlab b { font-size: 12px; }
  .hero .cls { grid-template-columns: repeat(6, minmax(0, 1fr)); } .hero .cls button { height: 40px; } .hero .cls button svg { height: 20px; }
  .sunny { width: 100%; height: 58px; } .sunny kbd { display: none; } .sunny b { margin-right: auto; }
  .mode-head b { display: none; } .card { padding: 14px 13px 13px; gap: 9px; } .fld input { height: 38px; } .fld { gap: 5px; }
  .hero h1 { font-size: 40px; } .hero .sub { margin: 4px 0 8px; }
  .dress { flex-direction: column; gap: 10px; }
  .go { flex-direction: column; align-items: stretch; } .sunny { width: 100%; justify-content: center; } .sunny kbd { display: none; }
  .side { width: 100%; } .carton-wrap { padding: 10px; } .carton { gap: 5px; padding: 6px; } .cup { height: 84px; } .cup .egg { top: 9px; transform: translateX(-50%) scale(0.75); transform-origin: 50% 0; } .cup .nm { font-size: 10px; }
  #strip { display: none !important; }
  .eyebrow, .eyebrow-row, .hero .sub { display: none; }
  .l-sec { padding: 44px 12px 48px; } .l-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; } .l-note { text-align: left; }
  .l-modes { grid-template-columns: minmax(0, 1fr); } .l-arenas { grid-template-columns: minmax(0, 1fr); } .la-wide { aspect-ratio: 16 / 9; } .la-wide h3 { font-size: 26px; } .l-armory { grid-template-columns: minmax(0, 1fr); } .lar-guns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-players { grid-template-columns: minmax(0, 1fr); } .l-steps { grid-template-columns: minmax(0, 1fr); } .l-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .l-foot { flex-direction: column; align-items: flex-start; padding: 24px 12px 40px; }
  .wk-list li, .lp-board li { grid-template-columns: 22px minmax(0, 1fr) 28px 78px; gap: 8px; } .lp-board .xp { display: none; } .week { display: none; }
  .so-row { grid-template-columns: 10px minmax(0, 1fr) auto auto 28px; } .so-row .st { display: none; } .so-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .so-you { gap: 12px; } .so-lv { width: 70px; height: 70px; } .so-lv .big { font-size: 34px; }
  .panel.armory { padding: 16px 12px 14px; } .ar-head { flex-wrap: wrap; gap: 6px 12px; } .ar-head .note { order: 3; flex-basis: 100%; white-space: normal; }
  .ar-main { grid-template-columns: minmax(0, 1fr); height: auto; } .ar-guns { flex-direction: row; overflow-x: auto; padding: 0 0 4px; } .ar-guns button { grid-template-columns: 40px auto 8px; } .ar-guns button svg { width: 40px; }
  .ar-stage { height: 210px; } .ar-skins { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ar-detail h3 { font-size: 24px; }
  .how .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: 18px 16px; } .panel h2 { font-size: 28px; }
  .podium { height: 168px; gap: 6px; } .pod .egg { transform: scale(0.8); margin-bottom: 4px; } .pod .nm { font-size: 12px; } .pod .ks { font-size: 10px; }
  .pod .toast b { font-size: 22px; } .pod .toast i { font-size: 10px; } .pod.p1 .toast { height: 72px; } .pod.p2 .toast { height: 54px; } .pod.p3 .toast { height: 42px; }
  .r-me { font-size: 13px; margin: 10px 0 6px; } .carton .cup .pay { display: none; } .carton .cup .pl { width: 16px; height: 16px; font-size: 9px; left: 3px; top: 3px; }
  .ro { grid-template-columns: minmax(0, 1fr) 70px 90px 70px; } .ro .left { display: none; }
  /* a narrow window gets the phone's top row: the board small on the left, the clock with the first prize centred, the feed right */
  #h-board { left: 6px; top: 6px; width: 132px; padding: 4px; gap: 1px; } #h-board .hb:nth-child(n+5):not(.me) { display: none; }
  .hb { height: 17px; grid-template-columns: 14px 9px minmax(0, 1fr) 20px; gap: 4px; padding: 0 4px; font-size: 10.5px; } .hb .k { font-size: 11px; } .hb .d { width: 8px; height: 10px; } #h-streak { top: 112px; }
  #toasts { top: 140px; width: calc(100vw - 24px); }
  #h-cut { top: 66px; font-size: 10.5px; padding: 4px 9px; max-width: calc(100vw - 320px); overflow: hidden; text-overflow: ellipsis; }
  #h-clock { top: 6px; gap: 4px; } #h-clock .dial { width: 66px; height: 32px; } #h-clock .dial b { font-size: 16px; }
  #h-prize { font-size: 9.5px; padding: 3px 7px; max-width: calc(100vw - 300px); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  #h-feed { top: 66px; right: 6px; width: 170px; gap: 3px; } #h-feed .kf:nth-last-child(n+4) { display: none; } .kf { font-size: 10px; height: 20px; padding: 0 7px; gap: 4px; } .kf .v { font-size: 10px; }
}
/* a phone's title (narrow or held sideways): a note takes the bar's place for its seconds (the hero starts right under the bar) */
@media (max-width: 820px), (max-height: 560px) {
  body.on-title #toasts { top: 0; height: 50px; width: 100vw; justify-content: center; gap: 0; }
  body.on-title .toast-m { max-width: calc(100vw - 16px); padding: 7px 12px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.on-title .toast-m:not(:last-child) { display: none; }
  body.on-title.toasting #bar > * { visibility: hidden; }
}
@media (max-width: 820px) and (orientation: portrait) { #h-prize { max-width: 104px; } }
