:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --paper: #f5f0f8; --ink: #30233d; --muted: #63576d; --purple: #725096; --plum: #402c55; --line: #d7cadd; --white: #fff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
a { color: inherit; }
.skip { position: absolute; left: -9999px; top: 1rem; padding: .7rem 1rem; background: var(--white); color: var(--ink); border-radius: .5rem; z-index: 2; }
.skip:focus { left: 1rem; }
.color-header { width: min(100%, 52rem); margin: 0 auto; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; }
.color-brand { font-weight: 850; text-decoration: none; }
.color-home { min-height: 44px; display: inline-flex; align-items: center; padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; }
.color-home:hover, .color-home:focus-visible { border-color: var(--purple); color: var(--plum); }
.color-main { width: min(100%, 46rem); margin: auto; padding: 1.2rem 1.2rem 2rem; }
.color-intro { padding: .7rem 0 1.1rem; }
.color-kicker { margin: 0 0 .35rem; color: var(--purple); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.6rem, 9vw, 4rem); line-height: 1; letter-spacing: -.06em; }
.color-intro > p:last-child { max-width: 36rem; margin: .75rem 0 0; color: var(--muted); line-height: 1.55; }
.round-card { padding: clamp(1rem, 4vw, 1.65rem); border: 1px solid var(--line); border-radius: 1.25rem; background: var(--white); box-shadow: 0 12px 32px #402c5510; }
.round-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .85rem; font-weight: 700; }
.progress-track { height: .5rem; margin: .6rem 0 1.2rem; overflow: hidden; border-radius: 999px; background: #e7deec; }
.progress-track span { display: block; width: 20%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a27ac8, #725096); transition: width .2s ease; }
h2 { margin: 0 0 .9rem; font-size: clamp(1.1rem, 4vw, 1.4rem); line-height: 1.3; }
.target-wrap { width: min(100%, 24rem); margin: 0 auto 1.1rem; padding: .75rem; border: 1px solid var(--line); border-radius: 1rem; text-align: center; }
.target { height: clamp(7rem, 28vw, 10rem); border: 4px solid #fff; border-radius: .7rem; background: var(--shade, #777); box-shadow: 0 0 0 1px #8d7d95; }
.target-name { margin: .55rem 0 .1rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rgb { margin: 0; font: 700 .9rem/1.5 ui-monospace, Consolas, monospace; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.choice { min-height: 3.2rem; display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border: 1px solid #d2c5db; border-radius: .75rem; background: #fff; color: var(--ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.choice:hover:not(:disabled) { border-color: var(--purple); background: #f8f4fb; }
.choice:focus-visible, .next:focus-visible, .color-home:focus-visible { outline: 3px solid #4c2d6b; outline-offset: 3px; }
.choice:disabled { cursor: default; }
.choice.correct { border-color: #28774a; background: #e2f3e8; color: #174c2c; }
.choice.incorrect { border-color: #b64b50; background: #fff0ef; color: #762b32; }
.chip { width: 1.45rem; height: 1.45rem; flex: none; border: 2px solid #fff; border-radius: 50%; background: var(--shade); box-shadow: 0 0 0 1px #8d7d95; }
.feedback { margin: 1rem 0 .5rem; padding: .8rem; border-radius: .75rem; background: #f0e9f5; color: var(--plum); font-weight: 750; text-align: center; }
.next { min-height: 46px; margin-top: .75rem; padding: .65rem 1.1rem; border: 0; border-radius: 999px; background: var(--plum); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.next:hover { background: #593a77; }
.result-card { text-align: center; }
.result-score { margin: .5rem 0; color: var(--purple); font-size: clamp(3.5rem, 18vw, 5.5rem); line-height: 1; font-weight: 900; letter-spacing: -.06em; }
.result-note { color: var(--muted); }
.color-footer { width: min(100%, 52rem); margin: 1.5rem auto 0; padding: 1rem 1.2rem; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
[hidden] { display: none !important; }
@media (max-width: 24rem) { .choices { grid-template-columns: 1fr; } .round-card { border-radius: .85rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
