@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root{--paper:#f6f5ef;--ink:#24352c;--muted:#82867b;--line:#dddfd5;--red:#c64d37;--green:#47755b;--serif:'DM Serif Display',Georgia,serif;--sans:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible, circle:focus-visible{outline:2px solid var(--red);outline-offset:4px}button:disabled{cursor:default}button{touch-action:manipulation}a{color:inherit}.site-header{height:88px;max-width:1440px;margin:auto;padding:0 56px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:27px}.brand{text-decoration:none;font-family:var(--serif);font-size:43px;letter-spacing:-3px;position:relative;line-height:1}.brand>span{color:var(--red)}.header-caption{font-size:10px;font-weight:600;letter-spacing:2px;padding-left:26px;border-left:1px solid var(--line)}.text-button{border:0;background:none;padding:0;display:inline-flex;align-items:center;gap:8px}.text-button:hover{color:var(--red)}.how-button{margin-left:auto;font-size:12px}.question-icon{width:19px;height:19px;border:1px solid #92978b;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px}main{max-width:1440px;margin:auto;padding:48px 56px 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:36px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;display:flex;align-items:center;gap:10px}.flag{display:flex;flex-direction:column;width:21px;height:13px;overflow:hidden;border-radius:1px}.flag i{flex:1;background:#e7bb45}.flag i:nth-child(2){background:#4c7956}.flag i:nth-child(3){background:#b94f40}h1{font-family:var(--serif);font-weight:400;font-size:clamp(34px,3.8vw,56px);letter-spacing:-1.7px;line-height:1.15;margin:14px 0 12px}h1 em{color:var(--red);font-weight:400}.intro p{margin:0;color:#74796e;font-size:14px}.edition{display:flex;gap:14px;align-items:center;font-size:9px;letter-spacing:1.8px;line-height:2;color:#8a8e80}.edition-symbol{font-size:41px;font-weight:400;color:#7b8574}.edition strong{font-size:10px;font-weight:450;letter-spacing:1px}.game{display:grid;grid-template-columns:minmax(0,1fr) 342px;min-height:690px;border:1px solid #d4d9cd;border-radius:5px;overflow:hidden;background:#fafbf6}.map-panel{display:flex;flex-direction:column;min-width:0;background:#f0f3eb;position:relative}.map-topline,.map-bottomline{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:550;letter-spacing:1.2px;color:#7c8775;z-index:1}.map-topline{padding:24px 26px 0}.map-topline>span:first-child{display:flex;align-items:center;gap:7px}.live-dot{width:5px;height:5px;border-radius:50%;background:#71826b}.map-wrap{position:relative;flex:1;min-height:540px;display:flex;align-items:center;overflow:hidden}#map{width:100%;height:100%;position:absolute;inset:0;touch-action:none;user-select:none;cursor:grab}#map:active{cursor:grabbing}#map.is-placing{cursor:crosshair}.map-context text{font:9px var(--sans);fill:#a5ad9c;letter-spacing:3px;text-anchor:middle}.map-context .sea-label{font-size:11px;fill:#9dafa8;letter-spacing:5px}#land path{fill:#e2e9d9;stroke:#a6b49b;stroke-width:1.25;stroke-linejoin:round;vector-effect:non-scaling-stroke}.marker{fill:#fafbf6;stroke:#6f8164;stroke-width:1.4;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .18s,stroke .18s}.marker-hit{fill:transparent;cursor:pointer;outline:none}.city-marker:hover .marker,.city-marker:focus-within .marker{fill:#c6d2bc;stroke:#364d2f;stroke-width:2.4}.city-marker.found .marker{fill:var(--green);stroke:#f5f8ee;stroke-width:1.4}.city-marker.wrong .marker{fill:var(--red);stroke:var(--red)}.city-marker.hinted .marker{fill:#d99d48;stroke:#b87b27;animation:hint-pulse .7s ease-in-out infinite alternate}.placed-label{font:600 10px var(--sans);fill:#31553f;paint-order:stroke;stroke:#f0f3eb;stroke-width:3px;stroke-linejoin:round;pointer-events:none}.compass{position:absolute;right:29px;top:28px;display:flex;align-items:center;flex-direction:column;gap:7px;color:#7c8872;font-size:9px}.compass svg{width:19px;height:34px}.map-controls{position:absolute;bottom:22px;left:23px;display:flex;flex-direction:column;background:#fafbf7;border:1px solid #d4dacb;border-radius:4px;box-shadow:0 2px 5px #33452a05;overflow:hidden}.map-controls button{width:33px;height:32px;border:0;border-bottom:1px solid #e0e5d9;background:transparent;font-size:20px;line-height:1}.map-controls button:last-child{border:0;font-size:21px}.map-controls button:hover{background:#e5ebdd}.map-instruction{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);font:italic 15px var(--serif);color:#8a9480;white-space:nowrap;pointer-events:none}.map-bottomline{padding:13px 24px 18px;gap:12px;font-size:8px;letter-spacing:.7px}.map-bottomline>span:first-child{display:flex;align-items:center;gap:7px;text-transform:none;letter-spacing:0;font-size:10px}.legend-dot{width:6px;height:6px;border:1px solid #7f8b73;border-radius:50%;display:inline-block}.legend-dot.solved{background:var(--green);border-color:var(--green);margin-left:9px}.round-panel{border-left:1px solid #d4d9cd;padding:27px 25px 23px;display:flex;flex-direction:column}.round-heading{display:flex;justify-content:space-between;align-items:center}.round-heading .eyebrow{font-size:9px;letter-spacing:1.6px;color:#7a826e}.round-tag{font-size:8px;letter-spacing:1px;border:1px solid #dfe2d7;border-radius:3px;padding:4px 6px;color:#7c856e}h2{font:400 26px/1.2 var(--serif);letter-spacing:-.6px;margin:17px 0 9px}.round-description{font-size:12px;line-height:1.7;color:#85897d;margin:0 0 24px}.progress-heading{display:flex;justify-content:space-between;font-size:10px;align-items:center}.progress-heading>span{color:#818775}.progress-heading strong{font-size:12px;font-weight:600}.muted{color:#a4a897;font-weight:400}.progress-track{height:3px;background:#e6e8de;border-radius:5px;overflow:hidden;margin:10px 0 19px}.progress-track>div{height:100%;width:0;background:var(--green);transition:width .4s}.city-list-area{min-height:443px}.city-list{display:flex;flex-direction:column;gap:7px}.city-card{position:relative;width:100%;min-height:38px;display:flex;align-items:center;gap:11px;text-align:left;padding:8px 12px;border:1px solid #dce0d4;border-radius:4px;background:#fffefa;transition:background .15s,border-color .15s,transform .15s;touch-action:none;user-select:none;font-size:12px;cursor:grab}.city-card:hover{background:#f3f3e9;border-color:#aab69e;transform:translateX(-2px)}.city-card:active{cursor:grabbing}.grip{display:grid;grid-template-columns:repeat(2,2px);gap:2px;width:6px;flex-shrink:0}.grip i{width:2px;height:2px;background:#b3b8a8;border-radius:50%}.city-card .card-number{margin-left:auto;font-size:9px;color:#b4b9aa;font-variant-numeric:tabular-nums}.city-card.selected{background:#fff2e9;border-color:#c87a61;box-shadow:0 0 0 1px #c87a6120}.city-card.selected .grip i{background:var(--red)}.city-card.placed{background:#edf2e7;border-color:#dce4d3;color:#6c8164;cursor:default}.city-card.placed .card-number{color:var(--green);font-size:13px}.city-card.placed .grip{visibility:hidden}.city-card.placed:hover{transform:none}.round-actions{display:flex;align-items:center;justify-content:space-between;margin:19px 0 22px;gap:5px}.hint-button{font-size:12px;color:#707c63;gap:5px}.hint-button>span{font-size:10px}.hint-button:disabled{opacity:.4}.round-actions>span{font-size:9px;color:#999e8e}.new-round{display:flex;justify-content:space-between;align-items:center;background:var(--ink);color:#fffef6;width:100%;min-height:43px;padding:12px 15px;border:0;border-radius:4px;font-size:11px;transition:background .2s;margin-top:auto}.new-round:hover{background:#3c5745}.new-round>span{font-size:19px;line-height:1}.below-game{display:flex;justify-content:space-between;align-items:center;margin:18px 0 36px}.below-game p{font:italic 15px var(--serif);color:#8c8d7b;margin:0}.below-game p>span{font:20px var(--sans);margin-right:7px;color:var(--red)}.below-game>span{font-size:8px;letter-spacing:1.6px;color:#929683}footer{max-width:1440px;margin:auto;border-top:1px solid var(--line);padding:22px 56px;display:flex;justify-content:space-between;color:#96998b;font-size:10px}.footer-mark{font:22px var(--serif);color:#7c8573;margin-left:15px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);background:var(--ink);color:#fffef5;border-radius:6px;padding:13px 20px;font-size:13px;box-shadow:0 6px 30px #15281920;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;z-index:20;max-width:calc(100vw - 30px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.drag-ghost{position:fixed;left:0;top:0;z-index:30;pointer-events:none;border:1px solid #c87a61;background:#fff6ed;padding:12px 18px;border-radius:5px;box-shadow:0 7px 25px #24352c25;font-size:13px;color:var(--ink)}[hidden]{display:none!important}dialog{max-width:460px;width:calc(100% - 32px);padding:36px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);box-shadow:0 20px 100px #15281930}dialog::backdrop{background:#1e302950;backdrop-filter:blur(4px)}dialog h2{font-size:32px}dialog p,dialog li{font-size:13px;line-height:1.7;color:#737c6b}dialog ol{padding-left:18px}dialog li{margin:10px 0}dialog .data-credit{font-size:10px;margin:22px 0}.close-dialog{position:absolute;top:12px;right:15px;font-size:25px;border:0;background:none;color:#7a8470}.round-summary{padding:14px 0 2px;color:var(--green);font-size:12px;line-height:1.7}.round-summary strong{font-family:var(--serif);font-size:24px;display:block;font-weight:400}@keyframes hint-pulse{to{stroke-width:8;stroke-opacity:.35}}
@media(min-width:1500px){main{padding-top:60px}.game{min-height:750px}.city-list-area{min-height:483px}.city-card{min-height:42px}.round-panel{padding-top:32px}}
@media(max-width:1100px){.site-header{padding:0 30px}main{padding:35px 30px 0}.game{grid-template-columns:minmax(0,1fr) 300px}.round-panel{padding:23px 20px}.edition{display:none}.map-bottomline>span:last-child{display:none}.map-instruction{font-size:13px;left:57%}footer{padding:22px 30px}.map-topline{padding:22px 18px 0;font-size:8px;letter-spacing:.7px}}
@media(max-width:760px){.site-header{height:70px;padding:0 20px;gap:17px}.brand{font-size:36px}.header-caption{font-size:8px;letter-spacing:1px;padding-left:16px}.how-button{font-size:0;gap:0}.question-icon{font-size:11px}main{padding:28px 16px 0}.intro{margin-bottom:24px;padding:0 4px}h1{font-size:37px;letter-spacing:-1.3px}.intro p{font-size:12px}.eyebrow{font-size:9px}.game{grid-template-columns:1fr;min-height:0}.map-panel{min-height:440px}.map-wrap{min-height:370px}.map-topline{padding:18px 18px 0}.map-bottomline{padding:8px 18px 13px}.compass{right:18px;top:20px}.map-controls{left:14px;bottom:14px}.map-instruction{bottom:18px;left:54%;font-size:13px}.round-panel{border-left:0;border-top:1px solid #d4d9cd;padding:24px}.round-panel h2{margin-top:13px}.round-description{margin-bottom:18px}.round-description br{display:none}.city-list-area{min-height:247px}.city-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.city-card{min-height:43px;font-size:12px;padding:9px}.city-card .card-number{font-size:8px}.round-actions{margin:18px 0}.round-heading .eyebrow{font-size:10px}.below-game{margin:18px 4px 28px}.below-game>span{display:none}footer{padding:20px;font-size:9px;gap:20px}footer>span:last-child{font-size:0}.footer-mark{font-size:23px;margin:0}.toast{bottom:16px;font-size:12px}.round-summary{grid-column:1/-1}}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:24px}.header-actions .how-button{margin-left:0}.settings-button{font-size:12px;gap:7px}.settings-button>span{font-size:19px;line-height:1}.settings-popover{position:fixed;inset:78px max(20px,calc((100vw - 1328px)/2)) auto auto;margin:0;width:350px;max-width:calc(100vw - 32px);padding:24px;border:1px solid #d4d9cd;border-radius:7px;background:var(--paper);color:var(--ink);box-shadow:0 14px 50px #24352c24;overflow:visible}.settings-popover::backdrop{background:transparent}.settings-heading{display:flex;justify-content:space-between;align-items:center}.settings-heading .eyebrow{font-size:9px;color:#7a826e}.close-settings{border:0;background:none;font-size:23px;line-height:1;padding:0 0 0 10px;color:#7a8470}.settings-popover h2{margin-top:13px;font-size:28px}.settings-popover p{font-size:12px;line-height:1.7;color:#7d8474;margin:10px 0 22px}.rank-labels{display:flex;justify-content:space-between;font-size:10px;color:#828a78}.rank-labels output{font-size:13px;font-weight:650;color:var(--ink);margin-left:5px;font-variant-numeric:tabular-nums}.rank-slider{height:38px;position:relative;margin:7px 0 0;--range-start:0%;--range-end:100%}.rank-track{position:absolute;left:0;right:0;top:17px;height:4px;border-radius:4px;background:linear-gradient(to right,#dce1d3 0%,#dce1d3 var(--range-start),var(--green) var(--range-start),var(--green) var(--range-end),#dce1d3 var(--range-end),#dce1d3 100%)}.rank-slider input{position:absolute;inset:0;width:100%;height:38px;margin:0;background:transparent;appearance:none;-webkit-appearance:none;pointer-events:none;outline:none}.rank-slider input::-webkit-slider-runnable-track{height:4px;background:transparent}.rank-slider input::-moz-range-track{height:4px;background:transparent}.rank-slider input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;margin-top:-8px;border:2px solid var(--green);border-radius:50%;background:var(--paper);pointer-events:auto;cursor:ew-resize;box-shadow:0 1px 4px #24352c20}.rank-slider input::-moz-range-thumb{width:16px;height:16px;border:2px solid var(--green);border-radius:50%;background:var(--paper);pointer-events:auto;cursor:ew-resize;box-shadow:0 1px 4px #24352c20}.rank-slider input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--red);outline-offset:3px}.rank-slider input:focus-visible::-moz-range-thumb{outline:2px solid var(--red);outline-offset:3px}.rank-slider input:focus-visible{z-index:2}.rank-extremes{display:flex;justify-content:space-between;font-size:9px;color:#929984}.range-preview{display:flex;flex-direction:column;gap:5px;margin-top:20px;padding:13px;background:#eaf0e3;border-radius:4px;font-size:11px}.range-preview strong{font-weight:600}.range-preview>span{color:#7b866e;font-size:10px}.settings-popover .settings-note{font-size:10px;margin:16px 0}.settings-popover .new-round{margin-top:0}@media(max-width:760px){.header-actions{gap:16px}.settings-button{font-size:0;gap:0}.settings-button>span{font-size:22px}.settings-popover{top:62px;right:16px;padding:22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
