:root { color-scheme: dark; --bg: #0d0d1a; --panel: #17182b; --line: #323652; --text: #f5f4ff; --muted: #abb2ca; --accent: #f7d77b; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 50% -20%, #24274c, var(--bg) 55%); color: var(--text); font-family: Raleway, Arial, sans-serif; }
a { color: var(--accent); }
main { width: min(100% - 32px, 760px); margin: 36px auto 72px; }
.back { display: inline-block; margin-bottom: 28px; text-decoration: none; font-size: 14px; font-weight: 700; }
.eyebrow { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 8px 0 12px; font-size: clamp(36px, 8vw, 62px); letter-spacing: -.04em; }
.intro { color: var(--muted); line-height: 1.5; margin-bottom: 26px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 4vw, 30px); }
.meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; font-weight: 700; }
#picture { display: grid; place-items: center; min-height: 275px; margin: 12px 0 18px; }
#picture svg { width: 100%; max-height: 310px; overflow: visible; }
body[data-game="warmer"] #picture { min-height: 280px; }
body[data-game="warmer"] #picture svg { max-height: 280px; }
form { display: flex; gap: 10px; }
input { width: 100%; min-width: 0; padding: 14px 16px; background: #0f1120; border: 1px solid #58617e; border-radius: 10px; color: white; font: inherit; }
button { padding: 12px 22px; border: 0; border-radius: 10px; background: var(--accent); color: #171622; font: inherit; font-weight: 800; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; }
#message { min-height: 24px; margin: 16px 0 0; color: var(--accent); font-weight: 700; line-height: 1.45; }
.new-game { margin-top: 8px; padding: 9px 13px; background: transparent; border: 1px solid var(--accent); color: var(--accent); font-size: 12px; }
.hint-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.hint-section > strong { display: block; margin-bottom: 12px; font-size: 14px; }
.hint-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hint-actions button { padding: 9px 12px; background: transparent; color: var(--accent); border: 1px solid var(--accent); font-size: 12px; }
#hints { margin: 12px 0 0; padding-left: 20px; color: var(--accent); font-size: 13px; line-height: 1.6; }
.heat-legend { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 800; margin: -10px 0 22px; }
.heat-legend div { height: 10px; flex: 1; border-radius: 99px; background: linear-gradient(90deg, #318ce9, #6f8ded, #d37bbe, #f45b65, #ff6939); }
h2 { margin-top: 32px; font-size: 17px; }
#history { list-style: none; padding: 0; display: grid; gap: 8px; }
#history li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #16192b; border: 1px solid var(--line); border-radius: 10px; }
#history span { color: var(--accent); text-align: right; }
footer { color: var(--muted); margin-top: 32px; font-size: 12px; line-height: 1.5; }
@media (max-width: 480px) { main { margin-top: 22px; } form { flex-direction: column; } #history li { font-size: 13px; } }
