:root { color-scheme: dark; --ink: #f4f1ea; --dim: rgba(244, 241, 234, 0.62); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0b0d0c; overflow: hidden; font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
#view { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
#prompt { position: absolute; left: 50%; bottom: 16%; transform: translateX(-50%); font-size: 15px; font-weight: 500; opacity: 0; transition: opacity 0.25s ease; white-space: nowrap; }
#prompt.on { opacity: 1; }
#prompt b { display: inline-block; margin-right: 8px; padding: 2px 9px; border: 1.5px solid var(--ink); border-radius: 6px; font-weight: 600; font-size: 13px; }
#cluster { position: absolute; right: 34px; bottom: 30px; text-align: right; opacity: 0; transition: opacity 0.4s ease; }
#cluster.on { opacity: 1; }
#speed { font-size: 54px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
#speed small { margin-left: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--dim); }
#gear { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--dim); }
#rpm { margin-top: 8px; margin-left: auto; width: 170px; height: 3px; background: rgba(255, 255, 255, 0.2); }
#rpm-bar { display: block; height: 100%; width: 0; background: var(--ink); }
#damage-note { position: absolute; left: 34px; bottom: 30px; font-size: 13px; color: var(--dim); }
#place { position: absolute; left: 34px; top: 28px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0; transition: opacity 1.6s ease; }
#place.on { opacity: 0.9; }
#radio { position: absolute; left: 50%; top: 34px; width: 620px; transform: translate(-50%, -10px); display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: 0; transition: opacity 0.35s ease, transform 0.35s ease; white-space: nowrap; }
#radio.on { opacity: 1; transform: translate(-50%, 0); }
#radio .rs-strip { position: relative; width: 100%; height: 156px; margin-bottom: 8px; }
#radio .rs-tile { position: absolute; left: 50%; top: 50%; width: 148px; height: 148px; border-radius: 22px; overflow: hidden; background: linear-gradient(145deg, #2a2d31, #121315); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.32s ease; display: grid; place-items: center; }
#radio .rs-tile.current { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(246, 241, 231, 0.9); }
#radio .rs-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
#radio .rs-tile.has-cover img { opacity: 1; }
#radio .rs-tile i { font-style: normal; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; text-align: center; white-space: normal; padding: 0 12px; line-height: 1.1; text-shadow: none; }
#radio .rs-tile.rs-off i { font-size: 26px; letter-spacing: 0.14em; color: var(--dim); }
#radio small { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #f2a23a; min-height: 14px; }
#radio b { font-size: 21px; font-weight: 650; letter-spacing: -0.01em; }
#radio span { font-size: 13px; color: var(--dim); min-height: 16px; }
