.country-game{padding-top:30px;padding-bottom:90px;min-width:0}
.country-game [hidden]{display:none!important}
.game-shell{border-radius:34px;padding:27px 30px 22px;min-width:0}
.game-round-note{font-size:14px;line-height:1.6;color:var(--subtle);flex:1;min-width:140px}
.game-toolbar{display:flex;align-items:center;gap:18px;min-width:0;margin-bottom:18px}
.game-new{margin-left:auto;border-radius:16px;font-size:14px;padding:11px 17px;min-height:44px;line-height:1.4;color:var(--blue);white-space:nowrap}
.game-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:30px;align-items:start}
.game-world{min-width:0;position:relative}
.game-world-stage{position:relative;aspect-ratio:1;width:100%;isolation:isolate}
.game-world-stage:after{content:"";position:absolute;z-index:-1;left:20%;right:20%;bottom:1%;height:7%;background:radial-gradient(ellipse,rgba(84,129,164,.2),transparent 68%);filter:blur(9px)}
.game-globe{display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab;filter:drop-shadow(0 12px 16px rgba(45,88,126,.08));outline-offset:-4px}
.game-globe.dragging{cursor:grabbing}
.game-flat{position:absolute;left:0;top:20%;width:100%;height:auto;border-radius:18px;border:1px solid var(--edge)}
.game-zoom{position:absolute;right:0;bottom:0;display:flex;border-radius:15px;padding:4px;gap:2px}
.game-zoom button{height:38px;width:38px;border-radius:11px;background:transparent;color:var(--blue);font-size:23px;line-height:1}
.game-zoom button:last-child{font-size:21px}
.game-zoom button:hover{background:var(--pill)}
.game-flat-mode .game-zoom{display:none}
.game-colour-scale{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:22px;line-height:1.4}
.game-colour-scale>i{height:9px;flex:1;max-width:150px;min-width:65px;border-radius:9px;background:linear-gradient(90deg,#f0d9be,#eab087,#e78752,#da582f,#be3229,#991f31,#711b35);box-shadow:inset 0 0 0 1px rgba(85,61,61,.12)}
.game-found-key{display:inline-flex;align-items:center;gap:6px;margin-left:5px}
.game-found-key b{height:9px;width:9px;border-radius:50%;background:#299b72}
.game-map-hint{font-size:12px;text-align:center;margin-top:13px;color:var(--subtle)}
.game-play{padding:14px 0 0;min-width:0}
.game-metrics{display:grid;grid-template-columns:.7fr 1.3fr;gap:16px;margin:0 0 25px}
.game-metrics>div{min-width:0}
.game-metrics>div+div{border-left:1px solid var(--line);padding-left:22px}
.game-metrics dt{color:var(--subtle);font-size:13px;line-height:1.6}
.game-metrics dd{margin:5px 0 0;font-size:27px;font-weight:500;letter-spacing:-.045em;line-height:1.35;overflow-wrap:anywhere}
.game-metrics [data-game-best-name]{display:block;font-size:12px;line-height:1.5;color:var(--subtle);min-height:18px;margin-top:3px}
.game-form{position:relative;z-index:3}
.game-form>label{display:block;font-size:14px;font-weight:500;margin-bottom:9px;line-height:1.5}
.game-input-row{display:flex;gap:9px;align-items:stretch;min-width:0}
.game-input-wrap{position:relative;flex:1;min-width:0}
.game-input-wrap input{display:block;width:100%;min-width:0;min-height:50px;padding:12px 15px;border:1px solid var(--edge);border-radius:16px;font:inherit;font-size:16px;color:var(--ink);background:var(--lg-control-fill),var(--lg-clear);box-shadow:inset 0 1px 1px var(--lg-rim-light);outline:none;line-height:1.5}
.game-input-wrap input::placeholder{color:var(--subtle);opacity:.85}
.game-input-wrap input:focus{border-color:var(--lg-focus);box-shadow:0 0 0 3px var(--pill),var(--lg-rim)}
.game-input-wrap input[aria-invalid=true]{border-color:#bb624c}
.game-input-row>.button{border-radius:16px;padding:12px 17px;font-size:14px;white-space:nowrap;min-height:50px}
.game-input-message{margin:9px 2px 0;font-size:13px;color:#a33f34;line-height:1.6}
html[data-theme=dark] .game-input-message{color:#ffb0a5}
html[data-theme] .game-suggestions.glass{position:absolute;top:calc(100% + 8px);left:0;width:max(100%,240px);max-width:min(390px,calc(100vw - 64px));max-height:285px;overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:0;padding:7px;border-radius:18px;z-index:5;background:var(--lg-control-fill),rgba(244,249,255,.83);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 14px 38px rgba(24,48,74,.15),var(--lg-rim)}
html[data-theme=dark] .game-suggestions.glass{background:var(--lg-control-fill),rgba(18,29,43,.9);box-shadow:0 14px 38px rgba(0,4,11,.4),var(--lg-rim)}
.game-suggestions [role=option]{padding:10px 12px;border-radius:11px;min-height:44px;font-size:14px;line-height:1.6;color:var(--ink);cursor:pointer;overflow-wrap:anywhere}
.game-suggestions [role=option]:hover,.game-suggestions [aria-selected=true]{background:var(--pill);color:var(--blue)}
.game-no-match{padding:12px;font-size:14px;color:var(--muted)}
.game-feedback{margin:20px 0 22px;padding:0 0 0 13px;border-left:2px solid var(--blue);min-height:54px}
.game-feedback>strong{display:block;font-weight:500;font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.game-feedback>p{font-size:13px;line-height:1.65;margin-top:3px}
.game-won .game-feedback{border-color:#299b72}
.game-won .game-feedback>strong{color:#217953}
html[data-theme=dark] .game-won .game-feedback>strong{color:#77dfb6}
.game-retry{margin-bottom:20px}
.game-history-heading{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin-bottom:13px}
.game-history-heading h3{font-size:16px;font-weight:500;letter-spacing:-.015em;line-height:1.5;white-space:nowrap}

.game-empty{border-top:1px solid var(--line);padding:18px 0;font-size:14px;line-height:1.7;color:var(--subtle)}
.game-history{list-style:none;margin:0;padding:0;max-height:258px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.game-guess{display:flex;align-items:center;gap:11px;width:100%;min-height:65px;text-align:left;border-top:1px solid var(--line);padding:11px 3px;background:transparent;color:var(--ink)}
.game-guess:hover,.game-guess:focus-visible{background:var(--pill);border-radius:11px}
.game-guess-order{color:var(--subtle);font-size:12px;font-variant-numeric:tabular-nums;min-width:18px}
.game-guess-swatch{height:20px;width:20px;border-radius:7px;border:1px solid rgba(109,89,79,.16);flex-shrink:0}
.game-guess-name{flex:1;min-width:0}
.game-guess-name strong{font-size:14px;line-height:1.5;display:block;font-weight:500;overflow-wrap:anywhere}
.game-guess-name small{font-size:12px;display:block;color:var(--subtle);line-height:1.5;margin-top:2px}
.game-guess-distance{font-size:13px;color:var(--muted);text-align:right;max-width:105px;line-height:1.6;font-variant-numeric:tabular-nums}
.game-bottom{border-top:1px solid var(--line);margin-top:26px;padding-top:17px;display:flex;align-items:flex-start;justify-content:space-between;gap:25px;line-height:1.7}
.game-bottom>p{font-size:12px;color:var(--subtle);max-width:540px}


.country-game button:disabled,.country-game input:disabled{opacity:.48;cursor:default}
@media(max-width:1000px){.game-layout{gap:22px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.game-shell{padding:23px}.game-input-row{flex-wrap:wrap}.game-input-wrap{flex-basis:100%}.game-input-row>.button{width:100%}.game-history-heading{display:block}}
@media(max-width:700px){
 .country-game{padding-top:18px;padding-bottom:60px}.game-shell{border-radius:27px;padding:16px}
 .game-toolbar{gap:10px;flex-wrap:wrap;margin-bottom:5px}.game-new{margin:0 0 0 auto;padding:10px 12px}
 .game-layout{grid-template-columns:minmax(0,1fr);gap:18px}.game-world{width:min(460px,100%);margin:auto}.game-world-stage{max-height:410px}.game-zoom button{width:42px;height:42px}.game-colour-scale{gap:8px;margin-top:17px;font-size:12px}.game-map-hint{margin-top:10px}
 .game-play{padding:5px 0 0}.game-metrics{margin-bottom:20px}.game-metrics dd{font-size:26px}.game-input-row{flex-wrap:nowrap}.game-input-wrap{flex:1}.game-input-row>.button{width:auto;padding-inline:14px}.game-input-wrap input{padding-inline:12px}.game-feedback{margin-bottom:22px}
 .game-history-heading{display:flex}.game-history{max-height:264px}.game-guess{gap:9px}.game-guess-distance{max-width:95px;font-size:12px}.game-bottom{margin-top:22px;display:block}
}
@media(max-width:380px){.game-shell{padding:13px}.game-history-heading{display:block}.game-input-row{flex-wrap:wrap}.game-input-wrap{flex-basis:100%}.game-input-row>.button{width:100%}.game-guess{gap:7px}.game-guess-order{min-width:16px}.game-guess-swatch{width:17px;height:17px}}
@media(forced-colors:active){.game-input-wrap input,.game-guess-swatch{border:1px solid CanvasText}.game-suggestions [aria-selected=true]{outline:1px solid Highlight}.game-input-message,.game-won .game-feedback>strong{color:CanvasText}}
