:root { color-scheme: dark; --cream: #fff1d5; --muted: #c6aeb0; --gold: #eec77e; --wine: #721f32; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 15% 30%, #78243866, transparent 55%), radial-gradient(ellipse at 90% 65%, #58263655, transparent 50%), #211721; color: var(--cream); font-family: "Segoe UI", sans-serif; min-height: 100vh; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .13; background-image: radial-gradient(#eec77e 1px, transparent 1px); background-size: 63px 63px; z-index: -1; }
main { max-width: 1140px; margin: auto; padding: 28px 40px 20px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 2px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 40px; background: var(--wine); border: 1px solid var(--gold); border-radius: 18px 18px 3px 3px; font: italic 25px Georgia, serif; color: var(--gold); }
.edition { color: var(--muted); font-size: 9px; letter-spacing: 2px; }
.intro { text-align: center; margin: 43px 0 34px; }
.eyebrow { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 2.3px; }
h1 { margin: 9px 0 12px; font: 64px/1.1 Georgia, serif; letter-spacing: -2px; }
h1 em { color: var(--gold); font-weight: normal; }
.subtitle { color: var(--muted); font-size: 15px; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 26px; align-items: start; }
.game-card { padding: 25px 35px 0; background: linear-gradient(140deg, #7f293c, #541d2e); border: 1px solid #bd73584d; border-radius: 20px; text-align: center; box-shadow: 0 24px 70px #0004; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pill { border: 1px solid #eccb8640; border-radius: 20px; padding: 7px 12px; font-size: 9px; letter-spacing: 1.5px; color: var(--gold); }
.mode { font-size: 9px; letter-spacing: 1.7px; color: #e2bdc0; }
.record-area { position: relative; width: 240px; margin: 23px auto 21px; }
.record { width: 200px; height: 200px; margin: auto; border-radius: 50%; background: repeating-radial-gradient(circle, #282329 0, #282329 2px, #18161c 3px, #18161c 5px); border: 6px solid #211b23; box-shadow: 0 14px 24px #200a2399; display: grid; place-items: center; }
.record-label { border: 2px solid #d6a966; border-radius: 50%; width: 100px; height: 100px; background: #d8b471; color: #672c36; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mitre { height: 64px; width: 58px; }
.record-label span { font-size: 6px; font-weight: bold; letter-spacing: 1px; }
.record.playing { animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
.record.normal.playing { animation-direction: reverse; }
.sparkle { position: absolute; font-size: 25px; color: var(--gold); }
.sparkle-one { top: 20px; right: 0; }.sparkle-two { bottom: 20px; left: 0; font-size: 34px; }
h2 { margin: 10px 0; font: 32px/1.2 Georgia, serif; overflow-wrap: anywhere; }
.hint { color: #e2bdc0; font-size: 12px; margin: 10px 0 24px; }
.clues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
button { font: inherit; cursor: pointer; transition: background .15s, border-color .15s; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible { outline: 3px solid var(--cream); outline-offset: 4px; }
.clue { background: #34172145; border: 1px solid #c685784f; border-radius: 9px; color: var(--cream); padding: 13px 7px; }
.clue span { display: block; font-size: 8px; letter-spacing: 1.7px; margin-bottom: 6px; color: #d5a7aa; }
.clue strong { font-size: 14px; font-weight: 600; }
.clue.selected { background: #eec77e1a; border-color: var(--gold); }.clue.selected span { color: var(--gold); }
.transport { display: flex; gap: 10px; margin-top: 18px; }
.button { border-radius: 9px; padding: 13px 17px; font-size: 12px; font-weight: 600; border: 1px solid transparent; }
.primary { background: var(--gold); color: #48222a; flex: 1; }.primary:hover:not(:disabled) { background: #ffdf9f; }
.primary span { margin-right: 7px; }
.secondary { background: transparent; border-color: #c685785e; color: var(--cream); }.secondary:hover:not(:disabled) { background: #eec77e15; }
.progress-track { height: 3px; background: #eec77e26; border-radius: 3px; margin-top: 17px; overflow: hidden; }
#progress { width: 0; height: 100%; background: var(--gold); }
.status { min-height: 17px; font-size: 11px; color: #dbb7bc; margin: 9px 0 17px; }
.status.error { color: #ffe6a9; font-weight: 600; }
.reveal { width: 100%; background: #361d29; border-color: #c685785e; color: var(--cream); }.reveal:hover:not(:disabled) { background: #291620; }.reveal span { color: var(--gold); margin-right: 8px; }
.navigation { margin-top: 24px; padding: 17px 0; border-top: 1px solid #c6857833; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.navigation button { background: none; border: none; color: #efc9c6; font-size: 11px; padding: 5px 0; }
#position { font-size: 10px; color: #cda0a7; white-space: nowrap; }
aside { padding-top: 12px; }.instructions h2 { font-size: 27px; margin-bottom: 25px; }
ol { padding: 0; list-style: none; }li { display: flex; gap: 14px; margin: 23px 0; }li > span { flex-shrink: 0; display: grid; place-items: center; border: 1px solid #eec77e40; border-radius: 50%; width: 29px; height: 29px; color: var(--gold); font-size: 10px; }
li strong { font-size: 13px; font-weight: 600; }li p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 6px 0 0; }
.music-bag { border: 1px solid #eec77e26; border-radius: 14px; background: #eec77e07; padding: 22px; margin-top: 32px; }
.bag-icon { font: 31px Georgia, serif; color: var(--gold); }h3 { font: 23px Georgia, serif; margin: 10px 0; }.music-bag p { color: var(--muted); font-size: 12px; line-height: 1.8; }.music-bag strong { color: var(--cream); font-weight: 500; }code { color: var(--gold); background: #eec77e12; padding: 2px 5px; border-radius: 4px; }.folder-help { margin: 16px 0; }.music-bag button { width: 100%; font-size: 11px; }
.aside-note { text-align: center; font: italic 17px/1.6 Georgia, serif; color: #bf999c; margin-top: 25px; }
footer { text-align: center; font-size: 8px; letter-spacing: 1.5px; color: #ac8c92; margin-top: 33px; line-height: 2; }footer span { color: var(--gold); padding: 0 12px; }
[hidden] { display: none !important; }
@media (max-width: 800px) { main { padding: 22px; }.game-layout { grid-template-columns: 1fr; max-width: 600px; margin: auto; }aside { padding: 10px; }.edition { display: none; }h1 { font-size: 48px; }.intro { margin-top: 35px; }.game-card { padding: 20px 22px 0; } }
@media (max-width: 400px) { main { padding: 15px; }h1 { font-size: 40px; }.game-card { padding: 18px 15px 0; }.mode { font-size: 8px; }.pill { font-size: 8px; }.clue strong { font-size: 12px; }.navigation button { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .record.playing { animation: none; } }
