:root{color-scheme:light}*{box-sizing:border-box}body{margin:0;background:#fdfaf4;color:#16283f;font:16px 'Work Sans',system-ui,sans-serif}.quiz-shell{max-width:1200px;margin:auto;padding:24px}.back-link{color:#a73449;text-decoration:none;font-weight:650;display:inline-block;margin-bottom:20px}header{display:flex;justify-content:space-between;gap:20px;align-items:center}h1{font:600 clamp(24px,4vw,34px) Georgia,serif;margin:0}h2{font-size:28px;margin:18px 0 12px}.intro{color:#5b6b78;line-height:1.6;margin:14px 0 24px}.quiz-layout{display:grid;grid-template-columns:300px 1fr;gap:24px}.quiz-panel,.map-panel{background:#fff;border:1px solid #ede2cd;border-radius:22px;padding:24px}.map-panel{padding:10px}.eyebrow{font-size:13px;font-weight:750;text-transform:uppercase;letter-spacing:.08em;color:#a73449}.code{display:inline-block;padding:6px 14px;background:#f7f0e4;font-size:28px;font-weight:800;border-radius:12px}.stats{display:flex;justify-content:space-between;margin-top:24px;font-weight:700}progress{width:100%;height:10px;accent-color:#d1495b}.timer{font-size:30px;font-variant-numeric:tabular-nums;margin-top:20px;font-weight:800}.small{font-size:13px;line-height:1.6;color:#5b6b78}.feedback{padding:14px 0;min-height:120px;line-height:1.6}.feedback[data-correct=true]{color:#147744}.feedback[data-correct=false]{color:#ad2536}button,.action{font:inherit;background:#d1495b;color:white;border:0;border-radius:12px;padding:12px 18px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}.secondary{background:#f7f0e4;color:#16283f}button:focus-visible,a:focus-visible{outline:3px solid #e9ab34;outline-offset:4px}button:hover,.action:hover{filter:brightness(.94)}[hidden]{display:none!important}svg{display:block;width:100%;height:auto;touch-action:manipulation}.department{fill:#cfdee5;stroke:white;stroke-width:1;vector-effect:non-scaling-stroke;cursor:pointer}.department:hover,.department:focus-visible{fill:#87b4cd;stroke:#16283f;stroke-width:2;outline:none}.department.region{fill:#e45656}.department.wrong{fill:#eda7a7}.department.correct{fill:#2eae6b;stroke:#12643c;stroke-width:2}.map-label{font:800 13px system-ui;paint-order:stroke;stroke:white;stroke-width:4;fill:#16283f;pointer-events:none}.region-label{font-size:16px;fill:#a51e2c}.inset-box{fill:#f8fafb;stroke:#d4dfe6}.inset-title{font:12px system-ui;fill:#5b6b78}.region-boundary{fill:none;stroke:white;stroke-width:1.3;pointer-events:none}.map-note{text-align:center;margin:8px;color:#5b6b78;font-size:12px}footer{max-width:1000px;margin:22px auto;text-align:center;padding:0 20px;font-size:12px;line-height:1.6;color:#5b6b78}footer a{color:inherit;text-decoration:underline}dialog{border:0;border-radius:26px;padding:0;width:min(460px,calc(100vw - 28px));max-height:90dvh;background:white;color:#16283f;box-shadow:0 20px 90px #16283f44;overflow:auto}dialog[open]{animation:pop-in .45s cubic-bezier(.15,.8,.25,1.3)}dialog::backdrop{background:#16283fb3;backdrop-filter:blur(4px)}.result-card{text-align:center;padding:38px 26px;position:relative;overflow:hidden}.result-close{position:absolute;right:12px;top:12px;background:#f7f0e4;color:#16283f;padding:6px 12px}.result-icon{font-size:48px;margin-bottom:12px}.result-score{font-size:64px;font-weight:850;color:#147744;line-height:1.2}.result-time{font-size:24px;font-weight:750;font-variant-numeric:tabular-nums;margin:18px 0}.result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.confetti{position:absolute;left:var(--x);top:-15px;width:9px;height:14px;background:var(--color);pointer-events:none;animation:confetti-fall 2.2s var(--delay) ease-in forwards}.review{margin-top:20px}.review li{margin:12px 0;font-size:14px}.result-summary{font-size:40px;font-weight:800;color:#147744}@keyframes pop-in{from{opacity:0;transform:scale(.75) translateY(35px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes confetti-fall{to{transform:translateY(530px) rotate(640deg);opacity:0}}@media(prefers-reduced-motion:reduce){dialog[open],.confetti{animation:none}.confetti{display:none}}@media(max-width:760px){.quiz-shell{padding:16px}.quiz-layout{grid-template-columns:1fr;gap:16px}.quiz-panel{padding:20px}.feedback{min-height:0}.timer{margin-top:12px}.stats{margin-top:16px}.intro{font-size:14px}header{align-items:flex-start}header button{font-size:13px;padding:10px}.result-score{font-size:54px}}
.monument-figure{margin:16px 0}.monument-photo{display:block;width:100%;height:235px;object-fit:contain;background:#f7f0e4;border-radius:14px}.photo-status{font-size:12px;color:#5b6b78;min-height:18px}.photo-credits{font-size:11px;line-height:1.6;color:#5b6b78;margin-top:6px}.photo-credits a{color:inherit;text-decoration:underline}.photo-credits summary{cursor:pointer}.photo-credits p{margin:6px 0}.photo-retry{padding:6px 12px;font-size:13px}.monument-game .quiz-layout{grid-template-columns:340px 1fr}.monument-game .feedback{min-height:95px}.monument-game .stats{margin-top:15px}.monument-game .timer{font-size:25px;margin-top:12px}.monument-game h2{font-size:24px;margin:12px 0}@media(max-width:760px){.monument-game .quiz-layout{grid-template-columns:1fr}.monument-photo{height:200px}.monument-game .quiz-panel{padding:16px}}
.river-land{fill:#e8edf0;stroke:#d4dfe5;stroke-width:.65;vector-effect:non-scaling-stroke;pointer-events:none}.river-halo{fill:none;stroke:white;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none}.river-line{fill:none;stroke:#267db8;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none}.river-line.hovered{stroke:#0e446f;stroke-width:4.5}.river-line.wrong{stroke:#d1495b;stroke-width:4.5}.river-line.correct{stroke:#159558;stroke-width:5}.river-hit{fill:none;stroke:transparent;stroke-width:15;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:stroke;cursor:pointer;outline:none}
.massif-zone{fill:#ceb38a;stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .12s}.massif-zone:hover,.massif-zone:focus-visible{fill:#aa8550;outline:none;stroke:#795425;stroke-width:2.5}.massif-zone.wrong{fill:#e59a9a}.massif-zone.correct{fill:#2eae6b;stroke:#12643c;stroke-width:2}.peak-marker{fill:#12643c;stroke:white;stroke-width:2;pointer-events:none}.mountain-kind{font-size:12px;font-weight:750;color:#795425;background:#f7f0e4;padding:6px 9px;border-radius:9px;margin:10px 0;display:inline-block}
.city-map-label{font:850 28px system-ui,sans-serif;fill:#10283f;stroke:#fff;stroke-width:6;stroke-linejoin:round;paint-order:stroke;pointer-events:none}.city-department-code{font-size:14px;font-weight:800}
.test-theme-badge{display:inline-block;margin:12px 0 0;padding:6px 10px;border-radius:9px;background:#fbe4e6;color:#a73449;font-size:13px;font-weight:800}.mixed-game[data-active-quiz="monuments"] .quiz-layout{grid-template-columns:340px 1fr}.mixed-game[data-active-quiz="monuments"] h2{font-size:24px}.mixed-game .mountain-kind{margin:10px 0 0}@media(max-width:760px){.mixed-game[data-active-quiz="monuments"] .quiz-layout{grid-template-columns:1fr}}

#quiz-map[data-mode=regions] .department:hover,#quiz-map[data-mode=regions] .department:focus-visible{fill:#cfdee5;stroke:none}#quiz-map[data-mode=regions] .department.region-hover{fill:#a4a9af}#quiz-map[data-mode=regions] .department.correct{fill:#2eae6b}#quiz-map[data-mode=regions] .department.wrong{fill:#eda7a7}
