:root {
  --orange: #ff6a00; --orange2: #ff8c1a; --green: #0f8a3d; --green-d: #0a3d1d; --yellow: #ffd21f; --red: #d40000;
  --bg: #061a0c; --card: rgba(6, 26, 12, 0.88); --text: #fff7e8; --muted: #b9cbb0;
  --font-title: 'Bangers', Impact, sans-serif; --font: 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); overflow: hidden; }
#app { position: fixed; inset: 0; }
#app canvas { display: block; width: 100%; height: 100%; outline: none; }
.hidden { display: none !important; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--yellow); }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 50; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(2px); }
.overlay.show { display: flex; }
.panel { background: var(--card); border: 3px solid var(--orange); border-radius: 18px; padding: 18px 22px; width: min(92vw, 560px); max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.panel.wide { width: min(94vw, 820px); }
.panel-h { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-title); font-size: 30px; letter-spacing: 1px; color: var(--yellow); margin-bottom: 10px; }
.link { background: none; border: none; color: var(--yellow); text-decoration: underline; font-size: 15px; font-family: var(--font); }
.btn-x { width: 38px; height: 38px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 2px solid #7a0000; border-radius: 10px; background: #d61f26; color: #fff; font-size: 22px; font-weight: 900; line-height: 1; font-family: var(--font); box-shadow: 0 3px 0 #7a0000; }
.btn-x:hover { background: #ff2d36; }
.btn-x:active { transform: translateY(2px); box-shadow: 0 1px 0 #7a0000; }
.btn { background: linear-gradient(#1a6f36, #0d4a22); color: #fff; border: 2px solid #2fbb5c; border-radius: 12px; padding: 10px 18px; font-weight: 900; font-size: 16px; letter-spacing: 0.5px; transition: transform .08s, filter .1s; }
.btn:hover { filter: brightness(1.2); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(var(--orange2), #d85600); border-color: #ffb066; font-size: 20px; }
.btn.danger { background: linear-gradient(#a81d1d, #6d0e0e); border-color: #ff6a6a; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 15px; }
.row input[type=range] { width: 150px; accent-color: var(--orange); }
.row input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--orange); }

/* ---------- loading ---------- */
#loading { background: radial-gradient(circle at 50% 40%, #134d25, #061a0c 70%); z-index: 90; }
.load-box { text-align: center; }
.load-box img { width: 140px; animation: bob 1.4s ease-in-out infinite; }
.load-title { font-family: var(--font-title); font-size: 44px; color: var(--orange); letter-spacing: 2px; text-shadow: 3px 3px 0 #000; }
#load-text { color: var(--muted); margin: 6px 0 12px; }
.load-bar { width: 260px; height: 10px; background: #000; border-radius: 6px; margin: 0 auto; overflow: hidden; border: 1px solid #2fbb5c; }
#load-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--yellow)); transition: width .2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- main menu ---------- */
#menu { background: #000; }
.menu-bg { position: absolute; inset: 0; background: url(../assets/img/menu_bg_1600.jpg) center/cover no-repeat; opacity: 0.55; filter: saturate(1.1); }
.menu-card { position: relative; text-align: center; width: min(94vw, 640px); background: var(--card); border: 3px solid var(--orange); border-radius: 22px; padding: 22px 26px 16px; box-shadow: 0 30px 80px rgba(0,0,0,0.7); }
.menu-badge { width: 120px; margin-top: -70px; filter: drop-shadow(0 8px 12px rgba(0,0,0,0.6)); }
.title { font-family: var(--font-title); font-size: clamp(44px, 8vw, 74px); margin: 4px 0 0; line-height: 1; color: var(--orange); letter-spacing: 3px; text-shadow: 4px 4px 0 #000, 0 0 30px rgba(255,106,0,0.4); }
.title span { color: var(--yellow); }
.subtitle { color: var(--muted); margin: 6px 0 16px; font-weight: 700; }
.nick-row { display: flex; gap: 8px; justify-content: center; }
#nick { flex: 1; max-width: 320px; font-family: inherit; font-size: 20px; font-weight: 700; padding: 10px 14px; border-radius: 12px; border: 2px solid #2fbb5c; background: #0b2412; color: #fff; outline: none; }
#nick:focus { border-color: var(--yellow); }
.nick-error { color: #ff8a80; min-height: 20px; font-size: 14px; margin-top: 4px; font-weight: 700; }
.kylted-badge { background: rgba(255, 210, 31, 0.15); border: 1px solid var(--yellow); border-radius: 10px; padding: 8px; margin: 6px auto; display: inline-block; }
.menu-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 10px 0 8px; }
.his-scores { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 6px 0 10px; }
.his-card { background: rgba(0,0,0,0.35); border: 1px solid rgba(255,210,31,0.4); border-radius: 12px; padding: 8px 14px; min-width: 190px; text-align: left; }
.his-card .g { font-family: var(--font-title); font-size: 18px; color: var(--yellow); letter-spacing: 1px; }
.his-card .s { font-size: 24px; font-weight: 900; color: var(--orange); }
.his-card .m { color: var(--muted); font-size: 12px; }
.menu-footer { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* ---------- game select ---------- */
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .games { grid-template-columns: 1fr; } }
.game-card { background: rgba(0,0,0,0.4); border: 2px solid #2fbb5c; border-radius: 14px; padding: 14px; cursor: pointer; transition: transform .1s, border-color .1s; text-align: left; color: var(--text); font-family: var(--font); }
.game-card:hover { transform: translateY(-2px); border-color: var(--yellow); }
.game-card h3 { font-family: var(--font-title); font-size: 26px; margin: 0 0 4px; color: var(--orange); letter-spacing: 1px; }
.game-card p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.game-card .vs { display: flex; justify-content: space-between; font-size: 13px; }
.game-card .vs b { color: var(--yellow); }
.select-foot { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* ---------- high scores ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.tabs button { background: #0b2412; border: 2px solid #2fbb5c; color: #fff; border-radius: 10px; padding: 7px 14px; font-weight: 800; }
.tabs button.active { background: var(--orange); border-color: #ffb066; color: #000; }
.hs-kylted { background: rgba(255,210,31,0.12); border: 1px solid var(--yellow); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; font-size: 15px; }
.hs-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hs-table th { text-align: left; color: var(--muted); font-weight: 700; padding: 6px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.hs-table td { padding: 6px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hs-table tr.kylted td { color: var(--yellow); font-weight: 900; }
.hs-table tr.me td { color: var(--orange2); font-weight: 800; }
.hs-empty { color: var(--muted); padding: 14px; text-align: center; }

/* ---------- how to / credits ---------- */
.howto { font-size: 15px; line-height: 1.5; }
.howto h3 { font-family: var(--font-title); color: var(--orange); letter-spacing: 1px; font-size: 24px; margin: 10px 0 4px; }
.family-text { font-size: 16px; line-height: 1.45; margin: 4px 0 14px; opacity: 0.9; }
.controls-panel { width: min(92vw, 520px); }
.controls-grid { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; margin: 6px 0 12px; font-size: 17px; font-weight: 700; }
.controls-grid kbd { justify-self: end; background: #222; border: 1px solid #555; border-bottom-width: 3px; border-radius: 6px; padding: 3px 9px; font-family: inherit; font-weight: 800; color: var(--yellow); white-space: nowrap; }
.controls-note { font-size: 14px; opacity: 0.85; margin-bottom: 12px; }
.howto kbd { background: #222; border: 1px solid #555; border-bottom-width: 3px; border-radius: 5px; padding: 1px 6px; font-family: inherit; font-weight: 800; }
.howto ul { margin: 4px 0 8px 18px; padding: 0; }

/* ---------- pause / results ---------- */
.pause-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.results .pause-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.pause-note { color: var(--muted); font-size: 13px; text-align: center; margin-top: 8px; }
.res-score { font-family: var(--font-title); font-size: 64px; color: var(--orange); text-align: center; line-height: 1; text-shadow: 3px 3px 0 #000; }
.res-score small { font-size: 22px; color: var(--muted); }
.res-line { text-align: center; font-size: 18px; margin: 6px 0; }
.res-line.win { color: var(--yellow); font-weight: 900; font-size: 22px; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 12px 0; }
.res-cell { background: rgba(0,0,0,0.35); border-radius: 10px; padding: 8px; text-align: center; }
.res-cell .l { color: var(--muted); font-size: 12px; }
.res-cell .v { font-size: 20px; font-weight: 900; }
.res-banter { font-style: italic; color: var(--muted); text-align: center; margin: 8px 0; }

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 20; font-weight: 800; }
#hud-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hud-box { background: rgba(0,0,0,0.5); border: 2px solid rgba(255,106,0,0.6); border-radius: 12px; padding: 8px 12px; }
.hud-left { min-width: 170px; }
.hud-right { text-align: right; min-width: 150px; }
.hud-game { font-family: var(--font-title); font-size: 20px; color: var(--yellow); letter-spacing: 1px; }
.hud-timer { font-size: 26px; font-variant-numeric: tabular-nums; }
.hud-stat { color: var(--muted); font-size: 13px; }
.hud-score-label { color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.hud-score { font-size: 30px; color: var(--orange); font-variant-numeric: tabular-nums; line-height: 1; }
.hud-sub { color: var(--muted); font-size: 12px; }
.hud-center { width: min(46vw, 480px); }
.cmp-row { display: grid; grid-template-columns: 70px 1fr 64px; align-items: center; gap: 8px; font-size: 13px; }
.cmp-row.kylted { color: var(--yellow); }
.cmp-bar { position: relative; height: 12px; background: rgba(255,255,255,0.12); border-radius: 6px; overflow: hidden; }
.cmp-fill { height: 100%; width: 0; background: var(--orange); border-radius: 6px; transition: width .15s; }
.kylted .cmp-fill { background: var(--yellow); }
.cmp-pace { position: absolute; top: -2px; width: 3px; height: 16px; background: #fff; left: 0; display: none; }
.cmp-val { text-align: right; font-variant-numeric: tabular-nums; }
.cmp-note { color: var(--muted); font-size: 11px; text-align: center; min-height: 14px; }

#hud-height { position: absolute; right: 24px; top: 110px; bottom: 120px; width: 40px; display: flex; flex-direction: column; align-items: center; }
.hbar { position: relative; flex: 1; width: 14px; background: linear-gradient(#bfe3ff, #2d8a3e 55%, #4a2d12); border: 2px solid #000; border-radius: 8px; }
.hcloud { position: absolute; left: -4px; right: -4px; top: 18%; height: 2px; background: #fff; opacity: .7; }
.hmark { position: absolute; left: -10px; width: 30px; height: 6px; border-radius: 3px; transform: translateY(3px); }
.hmark.you { background: var(--orange); box-shadow: 0 0 8px var(--orange); z-index: 3; }
.hmark.k { background: var(--yellow); z-index: 2; }
.hmark.ghost { background: rgba(255,255,255,0.7); width: 20px; left: -5px; z-index: 1; }
.hlabel { font-size: 11px; color: #fff; margin-top: 4px; }

#hud-radar { position: absolute; right: 24px; top: 120px; text-align: center; }
.radar-ring { width: 74px; height: 74px; border-radius: 50%; border: 3px solid var(--yellow); background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; }
.radar-arrow { font-size: 34px; color: var(--yellow); transition: transform .08s linear; line-height: 1; }
.radar-dist { font-size: 13px; margin-top: 4px; }

#hud-charge { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); width: 260px; height: 18px; background: rgba(0,0,0,0.5); border: 2px solid #fff; border-radius: 10px; overflow: hidden; text-align: center; font-size: 11px; line-height: 14px; }
.charge-fill { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, #2fbb5c, var(--yellow), var(--red)); }
#hud-charge span { position: relative; }
#hud-stamina { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); width: 200px; height: 8px; background: rgba(0,0,0,0.5); border: 1px solid #fff; border-radius: 6px; overflow: hidden; }
.stam-fill { height: 100%; width: 100%; background: #4cd3ff; }
#hud-wind { position: absolute; left: 50%; top: 100px; transform: translateX(-50%); background: rgba(255,255,255,0.9); color: #000; border-radius: 10px; padding: 6px 14px; font-size: 20px; animation: pulse .5s infinite alternate; }
#hud-wind.warn { background: var(--yellow); }
@keyframes pulse { from { transform: translateX(-50%) scale(1); } to { transform: translateX(-50%) scale(1.08); } }
.hud-msg { position: absolute; left: 50%; top: 32%; transform: translateX(-50%); font-family: var(--font-title); font-size: 46px; color: var(--yellow); text-shadow: 3px 3px 0 #000; letter-spacing: 2px; opacity: 0; transition: opacity .3s; text-align: center; white-space: nowrap; }
.hud-msg.show { opacity: 1; }
.hud-banter { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); background: rgba(0,0,0,0.6); border-left: 4px solid var(--orange); padding: 6px 12px; border-radius: 6px; font-style: italic; font-size: 15px; max-width: 70vw; opacity: 0; transition: opacity .3s; text-align: center; }
.hud-banter.show { opacity: 1; }
.hud-hint { position: absolute; left: 12px; bottom: 12px; color: rgba(255,255,255,0.75); font-size: 12px; background: rgba(0,0,0,0.4); padding: 4px 8px; border-radius: 6px; }
#hud-sun { position: absolute; left: 50%; top: 86px; transform: translateX(-50%); background: rgba(0,0,0,0.45); border-radius: 8px; padding: 3px 10px; font-size: 13px; }
#hud-sun.late { background: rgba(212,0,0,0.6); animation: pulse .5s infinite alternate; }
#hud-hub { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(0,0,0,0.55); border-radius: 10px; padding: 8px 16px; font-size: 14px; white-space: nowrap; }
#hud-hub b { color: var(--yellow); }

#resume { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,0.35); cursor: pointer; font-family: var(--font-title); font-size: 36px; color: #fff; text-shadow: 2px 2px 0 #000; letter-spacing: 2px; }
#resume small { font-family: var(--font); font-size: 14px; letter-spacing: 0; }
#toast { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: #000; padding: 8px 16px; border-radius: 10px; font-weight: 900; opacity: 0; transition: opacity .3s; z-index: 100; pointer-events: none; }
#toast.show { opacity: 1; }
#desktop-warn { position: fixed; top: 0; left: 0; right: 0; z-index: 95; background: var(--red); color: #fff; padding: 10px; text-align: center; font-weight: 800; }

#hud-trip { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); background: #b050ff; color: #fff; border-radius: 10px; padding: 6px 16px; font-size: 20px; animation: trip-pulse .4s infinite alternate; }
@keyframes trip-pulse { from { transform: translateX(-50%) rotate(-3deg) scale(1); } to { transform: translateX(-50%) rotate(3deg) scale(1.08); } }
body.tripping #app { animation: trip-tint 1.6s linear infinite; }
@keyframes trip-tint { 0% { filter: hue-rotate(0deg) saturate(1.6); } 50% { filter: hue-rotate(180deg) saturate(2); } 100% { filter: hue-rotate(360deg) saturate(1.6); } }

/* ---------- Chair the advisor ---------- */
#chair { position: fixed; left: 14px; bottom: 44px; z-index: 25; display: flex; align-items: flex-end; gap: 10px; transform: translateX(-130%); transition: transform .45s cubic-bezier(.2,.9,.3,1.2); cursor: pointer; }
#chair.show { transform: translateX(0); }
/* the Duck Hunt dog: Kylted pops up from the bottom and laughs at you */
#laugh { position: fixed; left: 50%; bottom: 0; z-index: 30; pointer-events: none; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, 115%); }
#laugh.hidden { display: none; }
#laugh img { height: 46vh; width: auto; filter: drop-shadow(0 0 18px rgba(0,0,0,.45)); }
#laugh .laugh-bubble { background: #fff; color: #1a1a1a; font: 900 30px Bangers, Impact, sans-serif; letter-spacing: 1px; padding: 10px 22px; border-radius: 22px; border: 4px solid #1a1a1a; margin-bottom: 8px; position: relative; }
#laugh .laugh-bubble::after { content: ''; position: absolute; left: 50%; bottom: -16px; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 16px solid #1a1a1a; transform: translateX(-50%); }
#laugh.show { animation: laughRise 3.3s ease-out forwards; }
@keyframes laughRise { 0% { transform: translate(-50%, 115%); } 18% { transform: translate(-50%, 0) rotate(0deg); } 28% { transform: translate(-50%, 3%) rotate(-4deg); } 38% { transform: translate(-50%, 0) rotate(4deg); } 48% { transform: translate(-50%, 3%) rotate(-4deg); } 58% { transform: translate(-50%, 0) rotate(4deg); } 68% { transform: translate(-50%, 3%) rotate(-3deg); } 80% { transform: translate(-50%, 0) rotate(0deg); } 100% { transform: translate(-50%, 115%); } }
#chair img { height: 150px; width: auto; border: 3px solid var(--orange); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.6); background: #000; order: 0; }
.chair-bubble { order: 1; background: #fff7e8; color: #1a1a1a; border-radius: 14px; padding: 10px 14px; max-width: 360px; font-size: 15px; font-weight: 700; line-height: 1.35; position: relative; box-shadow: 0 8px 24px rgba(0,0,0,0.45); margin-bottom: 40px; }
.chair-bubble::after { content: ''; position: absolute; left: -12px; bottom: 16px; border: 8px solid transparent; border-right-color: #fff7e8; }
.chair-tag { font-size: 11px; color: #8a6a3a; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 3px; }
.chair-hint { font-size: 10px; color: #999; margin-top: 4px; font-weight: 500; }
#chair[data-mood="complaint"] .chair-bubble { background: #ffe1dc; }
#chair[data-mood="complaint"] .chair-bubble::after { border-right-color: #ffe1dc; }
#chair[data-mood="praise"] .chair-bubble { background: #fff3b0; }
#chair[data-mood="praise"] .chair-bubble::after { border-right-color: #fff3b0; }

#hud-weapon { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); background: rgba(0,0,0,0.6); border: 2px solid #4cd3ff; color: #4cd3ff; border-radius: 10px; padding: 5px 14px; font-size: 15px; white-space: nowrap; }
#crosshair { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); pointer-events: none; }
#crosshair::before, #crosshair::after { content: ''; position: absolute; background: #4cd3ff; box-shadow: 0 0 4px #000; }
#crosshair::before { left: 12px; top: 0; width: 2px; height: 26px; }
#crosshair::after { top: 12px; left: 0; height: 2px; width: 26px; }

#hud-cards { position: absolute; right: 24px; bottom: 60px; background: rgba(0,0,0,0.55); border: 2px solid #fff; border-radius: 10px; padding: 5px 12px; font-size: 13px; max-width: 320px; }
#trade-anim { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; z-index: 30; }
#trade-anim img { width: 260px; filter: drop-shadow(0 0 18px #ffd21f); background: #1f2442; border-radius: 24px; padding: 10px; }
.trade-hand { font-family: var(--font-title); font-size: 26px; color: #fff; text-shadow: 2px 2px 0 #000; letter-spacing: 2px; }
.trade-text { font-family: var(--font-title); font-size: 56px; color: var(--yellow); text-shadow: 3px 3px 0 #000; letter-spacing: 2px; }
#trade-anim.play { animation: trade-pop 2.6s ease-out forwards; }
#trade-anim.play img { animation: trade-spin 1.2s ease-in-out; }
@keyframes trade-pop { 0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0; } 15% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } 25% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -70%) scale(1.1); } }
@keyframes trade-spin { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(720deg); } }

#hud-power { position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%); width: 340px; height: 22px; background: rgba(0,0,0,0.55); border: 2px solid #fff; border-radius: 12px; overflow: hidden; text-align: center; font-size: 12px; line-height: 18px; }
.power-fill { position: absolute; inset: 0; width: 100%; background: #40ff80; transition: width .1s; }
#hud-power span { position: relative; text-shadow: 1px 1px 0 #000; }
#hud-power.sun { animation: pulse .4s infinite alternate; border-color: #ff3b3b; }

/* ---------- launch lock (main menu countdown until 2026-11-10 16:00 UTC) ---------- */
.launch-lock { margin: 4px 0 6px; }
.ll-kicker { font-weight: 900; letter-spacing: 3px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ll-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; margin: 0 auto; }
.ll-clock div { padding: 8px 4px 6px; border-radius: 12px; background: linear-gradient(#3b2410, #241505); border: 2px solid #8d6630; box-shadow: inset 0 -4px 0 rgba(0,0,0,.35); }
.ll-clock b { display: block; font-family: var(--font-title); font-weight: 400; font-size: 40px; line-height: 1; color: var(--yellow); text-shadow: 2px 2px 0 #000; font-variant-numeric: tabular-nums; }
.ll-clock small { font-size: 10px; font-weight: 900; letter-spacing: 2px; color: #e8c79a; }
.ll-when { margin-top: 8px; font-weight: 900; }
.ll-early { margin-top: 8px; color: var(--yellow); font-weight: 800; font-size: 14px; }

/* hub: hide the help bar while the camera frames a board up close (R) */
body.reading-board #hud-hub { display: none !important; }
