header #settings-button { margin-left: auto; background: #fff; color: #204b38; }
header #settings-button:hover { background: #edf4eb; }
header #reset { margin-left: 0; }
.settings-dialog { width: min(440px, calc(100% - 28px)); max-height: 90vh; overflow: auto; padding: 0; border: 1px solid #d9e7d7; border-radius: 10px; background: #fffef9; color: #193d31; box-shadow: 0 22px 80px #0b271f55; }
.settings-dialog::backdrop { background: #102b23b8; }
.settings-body { position: relative; padding: 30px 34px; }
.settings-dismiss { position: absolute; top: 16px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #668670; font: 700 28px/1 Arial, sans-serif; cursor: pointer; }
.settings-dismiss:hover { background: #edf4eb; color: #204b38; }
.settings-body h2 { margin: 9px 0 22px; font-size: 30px; }
.settings-fields { display: grid; gap: 18px; }
.settings-fields label { display: block; margin-bottom: 7px; color: #42654c; letter-spacing: .08em; }
.settings-fields select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #c8d8c7; border-radius: 5px; background: white; color: #193d31; font: 600 15px 'DM Sans', sans-serif; }
#settings-language { appearance: none; -webkit-appearance: none; padding-right: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23193d31' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 14px 14px; }
#settings-close { margin-top: 25px; width: 100%; min-height: 45px; border: 0; border-radius: 5px; background: #204b38; color: white; font: 700 13px 'DM Sans', sans-serif; cursor: pointer; }
#settings-close:hover { background: #32674d; }
.settings-dialog :focus-visible { outline: 3px solid #df945d; outline-offset: 3px; }
@media (max-width: 500px) { header { gap: 8px; padding-inline: 4%; } header b { font-size: 12px; } header #settings-button, header #reset { padding: 9px 10px; font-size: 11px; white-space: nowrap; } .settings-body { padding: 24px; } }
.sound-control { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.sound-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #c8d8c7; border-radius: 8px; background: #fff; color: #204b38; cursor: pointer; }
.sound-icon:hover { background: #edf4eb; }
.sound-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-icon svg path:first-child { fill: currentColor; stroke: currentColor; }
.sound-mute-line { display: none; stroke-width: 2.3; }
.sound-control.is-muted .sound-waves { display: none; }
.sound-control.is-muted .sound-mute-line { display: block; }
.sound-control input[type="range"] { flex: 1; min-width: 0; accent-color: #204b38; cursor: pointer; }
.sound-level { width: 3.2em; text-align: right; color: #42654c; font: 700 13px 'DM Sans', sans-serif; font-variant-numeric: tabular-nums; }

.map-preferences{margin:12px 0 0;padding:12px;border:1px solid #cfdfce;border-radius:9px;display:grid;gap:8px}.map-preferences legend{padding:0 5px;color:#c67849;font-weight:800}.map-preferences label{color:#315841!important;letter-spacing:0!important;text-transform:none!important;font-size:14px!important}.map-preferences input[type=range]{width:100%;accent-color:#285c40}.map-preferences .map-preference-check{display:flex;align-items:center;gap:8px}.map-preferences .map-preference-check input{width:18px;height:18px;accent-color:#285c40}.map-preferences output{float:right}.geo-reduced-motion *, .geo-reduced-motion *::before,.geo-reduced-motion *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.geo-colorblind .fill-map-frame .fill-country.found{fill:#2875a3!important}.geo-colorblind .fill-map-frame .fill-country.missed{fill:#e9a43b!important}.geo-colorblind .fill-group li.is-found{background:#deeff8!important;border-color:#5596bc!important}.geo-colorblind .fill-group li.is-missed{background:#fff2d4!important;border-color:#d8a043!important}.geo-colorblind .country.correct{fill:#e9a43b!important}

.geo-magnify{position:absolute;bottom:10px;left:10px;z-index:3;border:1px solid #b7d1b6;border-radius:7px;padding:8px 10px;background:#fffdf7;color:#28543c;font:700 12px Arial,sans-serif;cursor:pointer}.geo-magnify[aria-pressed=true]{background:#245b3e;color:#fff}

.geo-colorblind .solo-answer-correct,.geo-colorblind .map-answer-correct{fill:#1475b0!important}.geo-colorblind .solo-answer-wrong,.geo-colorblind .map-answer-wrong{fill:#d77e00!important}.geo-colorblind .fill-small-country{stroke:#b46100!important}

.geo-colorblind .solo-answer-origin,.geo-colorblind .map-origin-pin{fill:#dc8100!important}.geo-colorblind .map-correct-pin{fill:#1675af!important}
