:root{color:#332819;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--forest:#235c42;--deep-forest:#173d2c;--blue:#203f61;--red:#952e3b;--ink:#332819;--muted:#6b593d;--line:#cdb68a;--paper:#fbf0d2;--gold:#b38a3e;--display:"Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;background:#e7d7b1;font-family:Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 50% 10%,#fff6dd 0,#0000 70%),repeating-linear-gradient(0deg,#86632d05 0 1px,#0000 1px 4px),#e7d7b1;min-width:320px;margin:0}button,input,select,textarea{font:inherit}button,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}button,a,select,input,textarea,[tabindex]{outline-offset:4px}:focus-visible{outline:3px solid #236b9b}button{touch-action:manipulation}button,a{color:inherit}button svg{pointer-events:none}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}button{border:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.masthead{color:#fff1cb;border-top:4px solid var(--gold);border-bottom:4px solid var(--gold);background:repeating-linear-gradient(45deg,#e0bd6f08 0 1px,#0000 1px 16px),linear-gradient(110deg,#162d47,#264d72 65%,#203d5c);justify-content:space-between;align-items:center;gap:25px;min-height:108px;margin:auto;padding:24px max(42px,50vw - 750px);display:flex;box-shadow:inset 0 -3px #122b47,0 3px #f7e4b8,0 5px #b38a3e}.brand{flex-shrink:0;align-items:center;gap:13px;text-decoration:none;display:inline-flex}.brand-mark{background:var(--red);color:#edca7f;border:1px solid #c7a35c;border-radius:3px 3px 20px 20px;place-items:center;width:48px;height:57px;display:grid;box-shadow:0 0 0 3px #0e2942,0 0 0 4px #ae8840}.brand-mark svg{width:32px;height:39px}.brand-name{font:700 36px/1 var(--display);letter-spacing:.8px;font-variant:small-caps;text-shadow:0 2px #102439;display:block}.brand-tagline{color:#e5cba1;letter-spacing:.55px;margin-top:6px;font-size:10px;display:block}.header-center{letter-spacing:1.7px;white-space:nowrap;color:#ecd7ac;align-items:center;gap:9px;font-size:9px;font-weight:650;display:flex}.heraldic-diamond{background:#e2bb68;border:1px solid #fff0bd;width:7px;height:7px;margin-right:4px;transform:rotate(45deg)}.online-dot{background:var(--forest);border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block;box-shadow:0 0 0 3px #235c4212}.header-divider{color:#c2a364;padding:0 4px}.header-actions{align-items:center;gap:13px;display:flex}.button{border-radius:3px;justify-content:center;align-items:center;gap:12px;min-height:41px;padding:10px 16px;font-size:12px;font-weight:650;line-height:1.4;transition:background .15s,box-shadow .15s,transform .15s;display:inline-flex}.button:not(:disabled):active{transform:translateY(1px)}.button-primary{color:#fff3d7;background:linear-gradient(#a83c47,#862635);border:1px solid #7a2731;box-shadow:inset 0 0 0 1px #e6ba693b,0 3px #6a1f2926}.button-primary:hover:not(:disabled){background:#742130;box-shadow:inset 0 0 0 1px #e6ba6980,0 3px 5px #44201b25}.button-outline{color:var(--blue);background:#f8ebc9;border:1px solid #af8c50;box-shadow:inset 0 0 0 2px #fff6df80}.button-outline:hover:not(:disabled){background:#ecd5a5;border-color:#805e28}.button-quiet{color:var(--muted);background:0 0}.button-quiet:hover:not(:disabled){color:var(--ink);background:#d8be8c40}.header-actions .button-quiet{color:#f1d9a8}.header-actions .button-quiet:hover{color:#fff5d9;background:#ffffff12}.header-actions .button-outline{color:#fff1cf;background:#8c2d3b;border-color:#d2ad64;box-shadow:inset 0 0 0 2px #c48e4b21}.header-actions .button-outline:hover{background:#a63a47;border-color:#f0d18b}.masthead :focus-visible{outline-color:#ffe1a0}.button-full{width:100%}.question-icon{border:1.4px solid;border-radius:50%;place-items:center;width:16px;height:16px;font-size:11px;display:inline-grid}.text-button{color:var(--blue);text-underline-offset:4px;background:0 0;padding:5px 0;font-size:11px;font-weight:600}.text-button:hover:not(:disabled){color:var(--red);text-decoration:underline}main{max-width:1584px;margin:auto;padding:28px 42px 10px}.page-intro{border-bottom:1px solid var(--gold);justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:20px;display:flex;position:relative}.page-intro:after{content:"";background:var(--red);border:1px solid var(--gold);width:7px;height:7px;position:absolute;bottom:-4px;left:0;transform:rotate(45deg)}.eyebrow{letter-spacing:2px;color:var(--red);margin:0 0 9px;font-size:9px;font-weight:700}h1{font:500 clamp(26px, 2.6vw, 35px)/1.2 var(--display);letter-spacing:-.35px;color:var(--blue);margin:0}h1:first-letter{color:var(--red);font-weight:700}.save-status{color:var(--forest);white-space:nowrap;align-items:center;gap:8px;font-size:11px;display:inline-flex}.save-warning{color:#8a451c}.save-warning .online-dot{background:#8a451c}.workspace{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:24px;display:grid}.map-column{min-width:0}.board-panel{isolation:isolate;background-color:#e6d3a6;background-image:radial-gradient(circle,#93774445 .7px,#0000 1px),radial-gradient(at 50% 45%,#f5e9c6 0%,#d5be8b 100%);background-size:24px 24px,100% 100%;border:3px solid #916b31;border-radius:3px;height:clamp(450px,100dvh - 290px,740px);min-height:450px;position:relative;overflow:hidden;box-shadow:0 0 0 1px #e9ce91,0 0 0 2px #ae8b4b,0 8px 20px #60431f1a}.board-panel:after{pointer-events:none;content:"";z-index:1;background:linear-gradient(var(--red), var(--red)) left top / 21px 3px no-repeat, linear-gradient(var(--red), var(--red)) left top / 3px 21px no-repeat, linear-gradient(var(--blue), var(--blue)) right top / 21px 3px no-repeat, linear-gradient(var(--blue), var(--blue)) right top / 3px 21px no-repeat, linear-gradient(var(--blue), var(--blue)) left bottom / 21px 3px no-repeat, linear-gradient(var(--blue), var(--blue)) left bottom / 3px 21px no-repeat, linear-gradient(var(--red), var(--red)) right bottom / 21px 3px no-repeat, linear-gradient(var(--red), var(--red)) right bottom / 3px 21px no-repeat;border:1px solid #9d793c80;position:absolute;inset:5px;box-shadow:inset 0 0 65px #90672812}.board-stage{touch-action:none;cursor:grab;position:absolute;inset:0}.board-stage:active{cursor:grabbing}.board-stage:focus-visible{outline-offset:-10px;border-radius:3px;outline:3px solid #236b9b}.board-stage canvas{display:block}.board-topline{z-index:2;pointer-events:none;background:linear-gradient(#f2e2b9f5,#f2e2b900);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;padding:18px 21px;display:flex;position:absolute;top:0;left:0;right:0}.board-topline>div{align-items:center;gap:8px;display:flex}.board-topline strong{color:var(--ink);font-size:12px;font-weight:650}.turn-dot{border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 3px #fffcf440}.board-count{color:#5f4a2b;font-size:11px}.board-bottomline{z-index:2;pointer-events:none;justify-content:space-between;align-items:center;gap:12px;display:flex;position:absolute;bottom:16px;left:17px;right:20px}.map-tools{pointer-events:auto;background:#faf0d5f2;border:1px solid #aa8240;border-radius:3px;align-items:center;display:flex;overflow:hidden;box-shadow:0 2px 4px #6847201c}.map-tools button{min-width:36px;min-height:36px;color:var(--blue);background:0 0;padding:6px 11px;font-size:11px}.map-tools button:first-child,.map-tools button:last-child{font-size:20px}.map-tools button+button{border-left:1px solid var(--line)}.map-tools button:hover{background:#e9d2a0}.map-tools button:focus-visible{outline-offset:-4px}.board-hint{color:#5f4a2b;text-shadow:0 1px 2px #f5e6c5;font-size:10px}.board-hint span{margin:0 8px}.compass{color:var(--blue);opacity:.75;pointer-events:none;flex-direction:column;align-items:center;gap:5px;font-size:9px;font-weight:700;display:flex;position:absolute;top:66px;right:23px}.compass svg{width:42px;height:42px}.board-empty{text-align:center;pointer-events:none;color:var(--blue);flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:90px 30px}.board-empty>svg{opacity:.6;width:58px;height:58px;margin-bottom:22px}.board-empty p{max-width:290px;font:22px/1.4 Georgia,serif}.board-empty button{pointer-events:auto}.paper-card{--panel-accent:var(--gold);background:linear-gradient(115deg, #fff8e6, transparent 75%), var(--paper);border:1px solid #b79a60;border-top:4px solid var(--panel-accent);border-radius:3px;position:relative;box-shadow:0 3px 8px #65471e12}.paper-card:before{pointer-events:none;content:"";border:1px solid #bc984831;position:absolute;inset:5px}.paper-card:after{pointer-events:none;content:"";background:var(--panel-accent);border:1px solid #e1bd70;width:9px;height:9px;position:absolute;top:-6px;right:15px;transform:rotate(45deg)}.players-card{--panel-accent:var(--blue)}.turn-panel{--panel-accent:var(--red)}.inspector{--panel-accent:var(--forest)}.card-heading{justify-content:space-between;align-items:center;gap:7px;margin-bottom:17px;display:flex}.card-heading h2{font:600 20px/1.2 var(--display);letter-spacing:-.25px;color:var(--blue);margin:0}.tiny-label{letter-spacing:1px;color:var(--muted);white-space:nowrap;font-size:9px;font-weight:600}.sidebar{flex-direction:column;gap:18px;min-width:0;display:flex}.players-card{padding:19px 19px 11px}.players-card .card-heading{margin-bottom:10px}.player-row{align-items:center;gap:11px;padding:13px 0;display:flex;position:relative}.player-row+.player-row{border-top:1px solid #d8c6a1}.player-active:before{content:"";background:var(--player-color);border-radius:2px;width:3px;height:32px;position:absolute;left:-19px}.player-figure{color:var(--player-color);border:1px solid color-mix(in srgb, var(--player-color) 45%, var(--paper));background:color-mix(in srgb, var(--player-color) 12%, var(--paper));border-radius:2px 2px 13px 13px;flex-shrink:0;width:39px;height:45px;padding:7px;display:inline-flex}.player-figure svg{width:100%;height:100%}.player-info{flex:1;min-width:0}.player-name{white-space:nowrap;font-size:12px;font-weight:650}.player-name>span{color:var(--muted);letter-spacing:.7px;margin-left:4px;font-size:8px;font-weight:600}.reserve{color:var(--player-color);align-items:center;gap:2px;margin-top:7px;display:flex}.reserve>span:not(.reserve-count){width:9px;height:11px;display:inline-flex}.reserve svg{width:100%;height:100%}.reserve .meeple-used{opacity:.22!important}.reserve-count{color:var(--muted);white-space:nowrap;margin-left:4px;font-size:9px}.player-score{text-align:right;min-width:28px}.player-score output{font:600 26px/1 var(--display);color:var(--blue);display:block}.player-score>span{color:var(--muted);margin-top:4px;font-size:9px;display:block}.turn-panel{padding:20px}.turn-panel>h2{font:25px/1.3 var(--display)}.turn-badge{color:#762431;letter-spacing:1px;white-space:nowrap;background:#ecd7ad;border:1px solid #ad844440;border-radius:2px;padding:5px 7px;font-size:8px;font-weight:700}.drawn-tile-row{align-items:center;gap:16px;padding:5px 0 22px;display:flex}.tile-preview-frame{background:#d3b46a;border:1px solid #775521;border-radius:2px;flex-shrink:0;width:109px;height:109px;padding:3px;box-shadow:0 0 0 2px #eedbad,2px 4px 7px #5e411e29}.tile-preview{border-radius:1px;width:101px;height:101px;display:block}.drawn-tile-info{flex:1;min-width:0}.tile-id{letter-spacing:1.4px;color:var(--red);margin-bottom:8px;font-size:9px;font-weight:700;display:inline-block}.drawn-tile-info h3{font:600 19px/1.2 var(--display);letter-spacing:-.2px;color:var(--blue);margin:0 0 9px}.tile-subtitle{color:var(--muted);font-size:10px;line-height:1.6;display:block}.tile-stack-count{color:var(--muted);margin-top:7px;font-size:10px;line-height:1.5;display:block}.turn-steps{color:var(--muted);border-top:1px solid var(--line);align-items:center;gap:7px;padding-top:17px;font-size:10px;display:flex}.turn-steps>span{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.turn-steps b{border:1px solid #ae9362;border-radius:50%;place-items:center;width:17px;height:17px;font-size:8px;font-weight:600;display:grid}.turn-steps i{background:var(--line);flex-shrink:1;width:13px;height:1px}.turn-steps .step-current{color:var(--red);font-weight:650}.step-current b{background:var(--red);color:#fff2d4;border-color:var(--red)}.step-done b{color:var(--forest);background:#d8e2c4;border-color:#789168}.rotation-controls{justify-content:space-between;align-items:center;gap:10px;margin-top:18px;display:flex}.rotation-controls .button{width:43px;min-height:35px;padding:2px;font-family:Segoe UI Symbol,system-ui,sans-serif;font-size:24px;line-height:1}.rotation-controls>span{align-items:center;gap:7px;font-size:12px;font-weight:550;display:flex}.step-instruction{color:var(--muted);margin:16px 0;font-size:12px;line-height:1.75}.compact-label{color:var(--blue);justify-content:space-between;margin-bottom:7px;font-size:11px;font-weight:600;display:flex}.compact-label span{color:var(--muted);font-size:10px;font-weight:400}select,input:not([type=file]),textarea{color:var(--ink);background:#fff7e3;border:1px solid #b69a68;border-radius:3px;width:100%;min-height:40px;padding:11px 10px;font-size:12px}select{padding-right:24px}select:disabled{opacity:.6;cursor:not-allowed}.turn-panel select{min-height:37px;padding:9px 6px;font-size:10px}.confirm-button{min-height:42px;margin-top:13px;font-size:11px}.micro-hint{text-align:center;color:var(--muted);margin:11px 0 0;font-size:10px;line-height:1.65}kbd{min-width:16px;font:inherit;color:var(--blue);background:#f3e1bc;border:1px solid #bba376;border-bottom-width:2px;border-radius:2px;padding:0 4px;font-size:9px;line-height:1.5;display:inline-block}.feature-choices{flex-direction:column;gap:6px;display:flex}.feature-choice{text-align:left;min-height:38px;color:var(--ink);background:#faf0d5;border:1px solid #c2aa7b;border-radius:3px;align-items:center;gap:8px;padding:9px 10px;font-size:11px;line-height:1.4;display:flex}.feature-choice:hover{background:#f0dfb6;border-color:#8e6b30}.feature-selected{border-color:var(--forest);color:var(--deep-forest);box-shadow:inset 3px 0 0 var(--forest);background:#dce7cb}.feature-check{color:var(--forest);margin-left:auto;font-size:13px}.skip-button{margin-top:9px;font-size:11px}.terrain-dot{border:1px solid #33422a20;border-radius:2px;flex-shrink:0;width:9px;height:9px;display:inline-block}.road-dot{background:#d8ad54}.city-dot{background:#b7483c}.monastery-dot{background:#5479a6;border-radius:5px 5px 0 0}.field-dot{background:#4d8a4e}.thinking{border-top:1px solid var(--line);align-items:flex-start;gap:12px;padding-top:20px;display:flex}.thinking strong{color:var(--blue);font-size:12px;font-weight:600;line-height:1.6;display:block}.thinking p{color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.7}.thinking-spinner{border:2px solid #d8bc7f;border-top-color:var(--red);border-radius:50%;flex-shrink:0;width:19px;height:19px;margin-top:2px;animation:1.6s linear infinite turning}@keyframes turning{to{transform:rotate(360deg)}}.turn-description{color:var(--muted);font-size:12px;line-height:1.8}.data-tools{justify-content:center;align-items:center;gap:15px;margin-top:-3px;display:flex}.data-tools>span{color:#9b7c43;font-size:11px}.data-tools button{font-size:10px}.data-tools button span{padding-left:4px}.local-note{text-align:center;color:var(--muted);margin:-8px 0 0;font-size:10px;line-height:1.8}.board-details{grid-template-columns:1fr 1fr;gap:17px;margin-top:18px;display:grid}.board-details .paper-card{min-width:0;padding:17px 19px}.board-details .card-heading{margin-bottom:12px}.board-details .card-heading h2{font-size:17px}.inspection-empty{align-items:center;gap:12px;min-height:58px;display:flex}.notes-crest{width:29px;height:35px;color:var(--gold);flex-shrink:0}.notes-crest svg{width:100%;height:100%}.inspection-empty p{color:var(--ink);margin:0;font-size:11px;line-height:1.8}.inspection-empty p span{color:var(--muted);font-size:10px}.inspection-title{align-items:center;gap:8px;font-size:11px;display:flex}.inspection-title strong{font-weight:600}.inspection-points{color:#77501c;white-space:nowrap;margin-left:auto;font-size:11px}.inspection-owner{color:var(--muted);margin:8px 0;font-size:11px}.inspection-metrics{color:var(--muted);flex-wrap:wrap;gap:6px 12px;font-size:10px;display:flex}.inspection-metrics strong{color:var(--forest);font-weight:600}.complete-label{color:var(--forest)}.inspection-controls{gap:6px;margin-top:12px;display:flex}.inspection-controls select{background:#fff6dd;min-width:0;min-height:32px;padding:6px 3px;font-size:10px}.inspection-controls select:first-of-type{flex:1.1}.inspection-controls select:last-of-type{flex:1}.history-list{margin:0;padding:0;list-style:none}.history-list li{color:var(--muted);gap:9px;margin:6px 0 0;font-size:11px;line-height:1.6;display:flex}.history-marker{background:#a08a5d;flex-shrink:0;width:4px;height:4px;margin-top:6px;display:block;transform:rotate(45deg)}.history-latest{background:var(--red)}.history-list .history-intro{font:13px/1.8 var(--display);color:var(--muted);padding-top:5px}.page-footer{max-width:1584px;color:var(--muted);letter-spacing:1.1px;justify-content:space-between;gap:16px;margin:auto;padding:22px 42px;font-size:9px;line-height:1.8;display:flex}.page-footer>span>span{color:#99763a;padding:0 7px}.empty-copy{color:var(--muted);font-size:12px;line-height:1.8}.error-banner{color:#792c24;border:1px solid #af6849;border-left:4px solid var(--red);background:#fff0d6;border-radius:3px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding:14px 18px;font-size:12px;line-height:1.7;display:flex}.error-banner strong{font-weight:650}.error-banner p{margin:4px 0 0}.error-actions{flex-wrap:wrap;flex-shrink:0;gap:6px;display:flex}.error-actions .button{font-size:10px}.bot-error{color:#792c24;background:#fff0d6;border:1px solid #bb8a5a;border-radius:3px;padding:15px}.bot-error strong{font-size:12px}.bot-error p{overflow-wrap:anywhere;margin:9px 0 15px;font-size:11px;line-height:1.65}dialog{background:var(--paper);color:var(--ink);border:2px solid #aa823c;padding:0}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#142738bf}.game-dialog{border-top:5px solid var(--red);background:linear-gradient(125deg,#fff7e0,#f4e3bb);border-radius:3px;width:min(490px,100vw - 32px);max-height:calc(100dvh - 44px);padding:27px 32px 30px;overflow-y:auto;box-shadow:inset 0 0 0 4px #f6e5b9,inset 0 0 0 5px #c2a15b,0 28px 100px #10203070}.dialog-top{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.dialog-top .eyebrow{margin:0}.close-button{width:32px;min-height:32px;color:var(--blue);background:#ead5a9;border:1px solid #b2945c;border-radius:3px;place-items:center;padding:0;font-size:22px;display:grid}.close-button:hover{color:var(--red);background:#e1c68e}.dialog-emblem{background:var(--blue);color:#e8c77e;border:1px solid var(--gold);border-radius:3px 3px 23px 23px;width:57px;height:65px;margin-bottom:18px;padding:9px;box-shadow:0 0 0 3px #d7b87650}.dialog-emblem svg{width:100%;height:100%}.game-dialog h2{font:600 31px/1.15 var(--display);letter-spacing:-.6px;color:var(--blue);max-width:340px;margin-bottom:16px}.dialog-description{color:var(--muted);margin-bottom:24px;font-size:12px;line-height:1.8}.game-dialog label{color:var(--blue);margin:18px 0 8px;font-size:12px;font-weight:650;display:block}.label-optional{color:var(--muted);margin-left:6px;font-size:10px;font-weight:400;display:inline-block}.seed-input{gap:8px;display:flex}.seed-input input{min-width:0}.form-note{color:var(--muted);margin:17px 0;font-size:11px;line-height:1.8}.form-error{color:#922a31;overflow-wrap:anywhere;margin:12px 0;font-size:12px;line-height:1.6}.form-error:empty{display:none}input[type=file]{width:100%;color:var(--muted);background:#fff6df;border:1px dashed #ac8d54;border-radius:3px;padding:16px 9px;font-size:11px}input[type=file]::file-selector-button{color:var(--blue);font:inherit;cursor:pointer;background:#e9d4a5;border:1px solid #a9884c;border-radius:2px;margin-right:8px;padding:7px 10px}textarea{resize:vertical;min-height:120px;font-family:ui-monospace,monospace;font-size:10px;line-height:1.6}.rules-dialog{width:min(640px,100vw - 32px)}.rules-dialog h2{max-width:none}.rule-steps{flex-direction:column;gap:18px;margin:24px 0;display:flex}.rule-steps>div{padding-left:42px;position:relative}.rule-steps>div>span{background:var(--red);border:1px solid var(--gold);color:#fff0ca;width:27px;height:30px;font:16px var(--display);border-radius:2px 2px 10px 10px;place-items:center;display:grid;position:absolute;top:-2px;left:0}.rule-steps h3,.rules-dialog>h3{margin-bottom:8px;font-size:13px;font-weight:650}.rule-steps p{color:var(--muted);margin:0;font-size:12px;line-height:1.85}.rule-steps p strong{color:var(--ink);font-weight:600}.scoring-title{border-top:1px solid var(--line);padding-top:16px}.scoring-table{padding:5px 0}.scoring-table>div{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:10px;padding:10px 0;font-size:11px;line-height:1.7;display:flex}.scoring-table strong{color:var(--blue);min-width:65px;font-weight:600}.privacy-note{border-left:3px solid var(--forest);color:#3e5738;background:#e2e6ce;border-radius:2px;margin-bottom:0;padding:15px;font-size:11px;line-height:1.8}.full-history{color:var(--muted);padding-left:21px;font-size:12px;line-height:1.8}.full-history li{border-bottom:1px solid var(--line);padding:10px 0 10px 6px}.full-history li::marker{color:var(--red);font-size:11px}.final-ranking{margin:8px 0 24px;padding:0;list-style:none}.final-ranking li{border-bottom:1px solid var(--line);align-items:center;gap:13px;padding:15px 9px;display:flex}.final-ranking .ranking-first{background:#e9d39e;border:1px solid #ab8137;border-radius:2px}.rank-number{color:#7a5422;font:19px var(--display);text-align:center;width:16px}.rank-meeple{width:24px;height:28px;color:var(--player-color);flex-shrink:0}.rank-meeple svg{width:100%;height:100%}.final-ranking li>div{flex:1}.final-ranking strong{font-size:13px;font-weight:600;display:block}.final-ranking li>div>span{color:var(--muted);margin-top:4px;font-size:11px;display:block}.final-ranking li>b{font:26px/1 var(--display);color:var(--blue);text-align:right;padding-right:6px}.final-ranking small{color:var(--muted);margin-top:5px;font:10px/1.2 Segoe UI,sans-serif;display:block}.startup-error{max-width:660px;margin:10vh auto;line-height:1.8}.startup-error h1{margin-bottom:24px}@media (width>=1500px){.workspace{grid-template-columns:minmax(0,1fr) 330px;gap:28px}.players-card,.turn-panel{padding-left:23px;padding-right:23px}.player-active:before{left:-23px}}@media (width<=1100px){.masthead{padding:22px 25px}main{padding:25px 25px 8px}.page-footer{padding:20px 25px}.header-center{display:none}.workspace{grid-template-columns:minmax(0,1fr) 294px;gap:18px}.board-details{gap:12px}.board-details .paper-card{padding:15px 14px}.board-details .tiny-label{display:none}.board-details .card-heading h2{font-size:16px}.board-details .text-button,.board-count{font-size:9px}.board-topline{padding:17px 16px}.turn-panel{padding:18px}.tile-preview-frame{width:104px;height:104px}.tile-preview{width:96px;height:96px}.drawn-tile-row{gap:13px}.drawn-tile-info h3{font-size:17px}.inspection-controls{flex-direction:column}}@media (width<=820px){.masthead{min-height:84px;padding:19px 21px}.brand-name{font-size:29px}.brand-mark{width:39px;height:42px}.brand-tagline{font-size:9px}.header-actions{gap:5px}.header-actions .button{padding:9px 12px;font-size:11px}main{padding:24px 21px 8px}.page-intro{margin-bottom:20px}.save-status{font-size:9px}h1{font-size:26px}.workspace{grid-template-columns:minmax(0,1fr) 275px;gap:15px}.board-panel{height:490px}.board-count{display:block}.board-hint{display:none}.board-details{grid-template-columns:1fr}.board-details .tiny-label{display:inline}.board-details .journal{min-height:140px}.inspection-controls{flex-direction:row}.players-card{padding:17px 16px 7px}.player-active:before{left:-16px}.turn-panel{padding:17px 16px}.turn-panel .card-heading h2{font-size:17px}.turn-badge{padding:5px;font-size:6px}.drawn-tile-row{gap:12px}.tile-preview-frame{width:93px;height:93px}.tile-preview{width:85px;height:85px}.turn-steps{gap:6px;font-size:8px}.turn-steps i{width:10px}.player-row{gap:9px}.player-name{font-size:11px}.error-banner{flex-direction:column;align-items:flex-start}}@media (width<=640px){.masthead{flex-wrap:wrap;gap:10px;padding:17px 16px}.brand{gap:9px}.brand-name{font-size:24px}.brand-mark{width:35px;height:38px}.brand-mark svg{width:24px;height:24px}.brand-tagline{display:none}.header-actions{flex-wrap:wrap;gap:3px}.header-actions .button{white-space:nowrap;gap:5px;min-height:37px;padding:9px 10px;font-size:10px}.question-icon{display:none}main{padding:21px 15px 7px}.page-intro{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:17px}.page-intro h1{font-size:26px}.eyebrow{margin-bottom:8px;font-size:8px}.save-status{font-size:9px}.workspace{flex-direction:column;gap:17px;display:flex}.map-column{width:100%;display:contents}.board-panel{order:0;width:100%;height:48dvh;min-height:330px;max-height:510px}.board-count{font-size:8px;display:block}.board-topline{gap:7px;padding:14px 15px}.board-topline strong{font-size:10px}.compass{top:65px;right:16px}.board-bottomline{bottom:12px;left:12px;right:14px}.board-hint{font-size:8px;display:inline}.board-hint span{margin:0 3px}.map-tools button{min-width:40px;min-height:40px}.sidebar{order:1;gap:14px;width:100%}.turn-panel{order:0;padding:20px}.players-card{order:1;padding:19px 20px 9px}.data-tools{order:2;margin:2px 0 0}.local-note{order:3}.card-heading h2,.turn-panel .card-heading h2{font-size:20px}.turn-badge{padding:6px 9px;font-size:8px}.drawn-tile-row{gap:23px;padding:3px 0 20px}.tile-preview-frame{width:115px;height:115px}.tile-preview{width:107px;height:107px}.drawn-tile-info h3{max-width:170px;font-size:23px}.tile-subtitle{font-size:10px}.tile-id{font-size:9px}.turn-steps{justify-content:center;gap:14px;font-size:11px}.turn-steps b{width:20px;height:20px;font-size:10px}.turn-steps i{width:25px}.rotation-controls .button{width:56px;min-height:41px}.step-instruction{font-size:12px}.compact-label{font-size:11px}.turn-panel select{min-height:43px;padding:10px;font-size:12px}.confirm-button,.skip-button{min-height:45px;font-size:12px}.feature-choice{min-height:43px;font-size:12px}.micro-hint{font-size:10px}.player-row{gap:13px;padding:13px 0}.player-name{font-size:13px}.player-active:before{left:-20px}.reserve>span:not(.reserve-count){width:11px;height:13px}.reserve{gap:3px}.reserve-count{margin-left:7px;font-size:10px}.player-score output{font-size:27px}.player-score>span{font-size:9px}.board-details{order:2;gap:14px;width:100%;margin-top:4px}.board-details .paper-card{padding:20px}.board-details .card-heading h2{font-size:19px}.board-details .text-button{font-size:11px}.inspection-title{font-size:12px}.inspection-owner{font-size:11px}.inspection-metrics{font-size:10px}.inspection-controls select{min-height:38px;padding:8px 5px;font-size:10px}.history-list li{font-size:11px;line-height:1.8}.page-footer{flex-direction:column;gap:6px;padding:23px 17px;font-size:7px}.game-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:24px}.game-dialog h2{font-size:29px}.error-banner{padding:14px}}@media (width<=380px){.brand-mark{display:none}.brand-name{font-size:23px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
