.game-shell,.welcome-screen{--walnut:#3b2a1c;--wood:#6b4a2f;--brass:#b8905a;--gilt:#d9b98a;--paper:#f2e9d6;--paper-edge:#e0d2b6;--ink:#2d2a26;--muted:#665642;color:var(--ink);font-size:16px}.game-shell h1,.game-shell h2,.game-shell h3,.welcome-screen h1,.welcome-screen h2{font-family:EB Garamond,Georgia,serif;font-weight:400}.game-shell h1,.welcome-screen h1{margin:8px 0 16px;font-size:48px}.game-shell h2{margin:0 0 16px;font-size:28px;line-height:1.15}.game-shell h3{margin:22px 0 8px;font-size:25px}.game-shell button,.welcome-screen button{touch-action:manipulation;min-width:44px;min-height:44px;padding:8px 12px}.game-shell button:focus-visible,.game-shell input:focus-visible,.game-shell select:focus-visible{outline-offset:3px;outline:3px solid #ffdb87}button.primary,button.secondary{border:2px solid #8f6b40;border-radius:9px;box-shadow:inset 0 0 0 1px #d9b98a,inset 0 3px 4px #fff1ce26,0 2px 3px #21160f55}button.primary{color:#fff9ed;background:linear-gradient(#825032,#66351f);font-weight:600}button.primary:hover{background:#65321a}button.secondary{color:#2d2a26;background:#e5d7bd}button:disabled{cursor:not-allowed;opacity:1}.game-icon{vertical-align:middle;flex:none;width:26px;height:26px;display:inline-block}.welcome-screen{background:radial-gradient(at 50% 30%,#4d8995,#285d6c);height:100%;padding:32px 16px;overflow:auto}.welcome-card{background:var(--paper);border:6px double var(--brass);border-radius:10px;max-width:490px;margin:auto;padding:30px;box-shadow:0 18px 60px #183f4955}.welcome-card h1{font-size:64px;line-height:1}.welcome-card p{line-height:1.5}.eyebrow{color:var(--muted);margin:0;font-size:15px}.quiet{color:var(--muted);text-align:center;font-size:15px}.welcome-card>.primary{width:100%;margin-top:18px}.form-pair{grid-template-columns:1fr 1fr;gap:14px;margin:18px 0;display:grid}.form-pair label{flex-direction:column;gap:6px;display:flex}.welcome-card input,.welcome-card select,.game-sheet input,.game-sheet select{min-width:0;min-height:44px;font:inherit;color:var(--ink);background:#fffaf0;border:1px solid #a08a67;border-radius:6px;padding:8px}.welcome-card input,.welcome-card select{width:100%}.name-field{grid-template-columns:34px 95px 1fr;align-items:center;gap:8px;margin:10px 0;font-size:15px;display:grid}.house-mark{background:#ede8de;border:1px solid #73634f;flex:none;justify-content:center;align-items:center;width:34px;height:36px;font-weight:700;display:inline-flex}.house-mark.red{color:#fff;clip-path:polygon(50% 0,100% 25%,100% 100%,0 100%,0 25%);background:#c4342b}.house-mark.blue{color:#fff;background:#2e6da4;border-radius:9px 9px 3px 3px}.house-mark.yellow{background:#e0a82e;border-radius:50% 50% 5px 5px}.house-mark.white{border-radius:0}.game-shell{height:100dvh;padding:max(5px,env(safe-area-inset-top)) max(5px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));background:var(--walnut);overscroll-behavior:none;grid-template:"header header header"56px"players board actions"minmax(0,1fr)"dock dock dock"150px/250px minmax(0,1fr) 260px;gap:5px;display:grid;overflow:hidden}.game-shell:before{content:"";pointer-events:none;z-index:60;background:linear-gradient(135deg,#d9b98a 0 2px,#0000 2px 7px,#b8905a 7px 9px,#0000 9px) 0 0/24px 24px no-repeat,linear-gradient(225deg,#d9b98a 0 2px,#0000 2px 7px,#b8905a 7px 9px,#0000 9px) 100% 0/24px 24px no-repeat,linear-gradient(45deg,#d9b98a 0 2px,#0000 2px 7px,#b8905a 7px 9px,#0000 9px) 0 100%/24px 24px no-repeat,linear-gradient(315deg,#d9b98a 0 2px,#0000 2px 7px,#b8905a 7px 9px,#0000 9px) 100% 100%/24px 24px no-repeat;border:1px solid #92754b;position:fixed;inset:2px}.game-header,.player-rail,.game-dock{color:var(--paper);background:linear-gradient(#302319ed,#302319ed),url(/assets/ui/wood.png) 50%/256px;border:1px solid #92754b;box-shadow:inset 0 0 0 3px #281e15,inset 0 0 0 4px #7b603e}.game-header{z-index:5;border-radius:7px;grid-area:header;align-items:center;gap:18px;padding:0 16px;display:flex}.game-wordmark{letter-spacing:.02em;color:#ead4a4;align-items:center;gap:12px;font-family:EB Garamond,Georgia,serif;font-size:37px;display:flex}.game-wordmark>.game-icon{width:37px;height:42px;color:var(--gilt);filter:drop-shadow(0 2px 1px #130d09)}.island-name{text-align:center;letter-spacing:.03em;flex:1;font-family:EB Garamond,Georgia,serif;font-size:25px}.island-name:before,.island-name:after{content:"✥";color:var(--brass);margin:0 22px;font-size:18px}.header-actions{align-items:center;gap:7px;display:flex}.header-actions button{color:var(--paper);background:#443021;border:1px solid #a38355;align-items:center;gap:7px;display:flex;box-shadow:inset 0 0 0 2px #2d2016,inset 0 0 0 3px #785a38}.header-actions button:hover{background:#6b4a2f}.header-actions .settings-toggle{border-radius:50%;justify-content:center;width:44px;padding:0;font-size:24px}.header-actions .debug-toggle{font-size:15px}.player-rail{border-radius:5px;flex-direction:column;grid-area:players;min-height:0;padding:17px 13px 12px;display:flex;overflow:auto}.player-rail>h2{text-align:center;border-bottom:1px solid #756040;margin:0;padding:0 0 14px;font-size:25px}.player-list{flex-direction:column;flex:1;min-height:0;display:flex}.player-card{border-bottom:1px solid #655236;flex:1;min-height:108px;position:relative}.player-open{text-align:left;width:100%;height:100%;color:var(--paper);border:1px solid #0000;border-radius:3px;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:6px 10px;display:grid}.player-open:hover{background:#4b3927}.player-card.active .player-open{background:linear-gradient(90deg,#60492b,#3e2e20);border-color:#ad8a53;box-shadow:inset 3px 0 #d9b98a}.portrait-frame{background:repeating-conic-gradient(#6b4a2f 0deg 12deg,#bd965f 12deg 20deg,#e4cba0 20deg 24deg);border:2px solid #d9b98a;border-radius:50%;flex:none;width:62px;height:74px;padding:4px;display:inline-flex;overflow:hidden;box-shadow:0 2px 4px #100b08,inset 0 0 0 2px #654524}.portrait-frame img{object-fit:cover;object-position:50% 30%;border:1px solid #50361f;border-radius:50%;width:100%;height:100%}.portrait-frame.red img{outline-offset:-2px;outline:2px solid #a3503e}.portrait-frame.blue img{outline-offset:-2px;outline:2px solid #48647b}.portrait-frame.yellow img{outline-offset:-2px;outline:2px solid #b8984e}.portrait-frame.white img{outline-offset:-2px;outline:2px solid #d3c9b2}.portrait-frame.large{width:100px;height:122px;padding:6px}.player-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.player-copy strong{overflow-wrap:anywhere;font-family:EB Garamond,Georgia,serif;font-size:25px;font-weight:400;line-height:1.1}.house-label{text-transform:uppercase;letter-spacing:.075em;color:#ddc69e;font-size:15px}.player-score{color:#eadbbf;align-items:center;gap:5px;font-size:15px;display:flex}.player-score .game-icon{width:20px;height:20px;color:var(--gilt)}.player-footer{color:#d9c9ae;grid-column:1/-1;justify-content:space-between;font-size:15px;display:flex}.mobile-score{display:none}.player-bonuses{color:#f0d69d;flex-wrap:wrap;gap:5px;font-size:15px;display:flex;position:absolute;bottom:2px;left:11px;right:11px}.player-bonuses:empty{display:none}.player-bonuses .game-icon{width:16px;height:16px}.player-card:has(.player-bonuses span) .player-open{padding-bottom:24px}.bonus-slots{flex:none;padding-top:10px}.bonus-slot{align-items:center;gap:10px;padding:10px 4px;display:flex}.bonus-slot+.bonus-slot{border-top:1px solid #655236}.bonus-slot>.game-icon{color:#cfad70;width:36px;height:36px}.bonus-slot>div{flex-direction:column;gap:3px;display:flex}.bonus-slot strong{font-family:EB Garamond,Georgia,serif;font-size:23px;font-weight:400}.bonus-slot span{color:#dcc9a7;font-size:15px}.bonus-slot.claimed{background:#48351f}.board-stage{border:2px solid #a58b54;border-radius:4px;grid-area:board;min-width:0;min-height:0;position:relative;overflow:hidden;box-shadow:inset 0 0 0 2px #235560,0 0 0 1px #162e31}.game-shell .camera-toolbar{color:#f2e9d6;background:#3b3020;border:1px solid #bd9c67;border-radius:4px;justify-content:flex-start;gap:0;max-width:calc(100% - 20px);padding:2px;top:10px;left:10px;right:auto;box-shadow:inset 0 0 0 2px #695030}.game-shell .camera-toolbar button{color:#f2e9d6;border-radius:3px;padding:4px}.game-shell .camera-toolbar button:hover,.game-shell .camera-toolbar button.selected{background:#6b5132}.game-shell .camera-toolbar input{accent-color:#d9b98a;width:clamp(28px,4vw,74px)}.game-shell .zoom-controls output{width:47px}.game-shell .toolbar-divider{background:#987846;margin:0}.game-shell .presets{background:#3b3020;border:1px solid #bd9c67;border-radius:4px;gap:2px;padding:2px;top:72px;right:10px}.game-shell .presets button{color:var(--paper);background:#3b3020;border-radius:3px}.game-camera-diagnostics{color:#f2e9d6;pointer-events:none;background:#30281e;border-radius:4px;padding:7px 10px;font-size:13px;position:absolute;bottom:12px;left:10px}.action-rail{background:radial-gradient(ellipse at center,#f5eddd,var(--paper) 65%,#dfcdaa);border:1px solid #a58b54;border-radius:5px;flex-direction:column;grid-area:actions;min-height:0;padding:17px 14px;display:flex;overflow:auto;box-shadow:inset 0 0 0 3px #e4d5b7,inset 0 0 0 4px #a98e5e}.action-vignette{text-align:center;flex:none}.panel-compass{color:#624626;background:#dfcfac;border:3px double #8b6540;border-radius:50%;place-items:center;width:36px;height:36px;margin:0 auto 8px;font-size:24px;display:grid}.action-vignette h2{margin-bottom:8px;font-size:29px}.action-vignette>img{object-fit:contain;mix-blend-mode:multiply;width:100%;max-height:195px;display:block}.vignette-caption{color:var(--muted);margin:4px 0 12px;font-size:15px}.phase-prompt{margin:0 0 14px;font-family:EB Garamond,Georgia,serif;font-size:29px;line-height:1.1}.action-guidance{margin:0 0 16px;font-family:EB Garamond,Georgia,serif;font-size:21px;line-height:1.2}.turn-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.session-actions{flex:none}.action-rail>.session-actions{border-bottom:1px solid #bda77f;flex-direction:column;gap:7px;margin-bottom:15px;padding-bottom:15px}.action-rail>.session-actions>button{width:100%;font-family:EB Garamond,Georgia,serif;font-size:22px}.action-rail .build-trigger{background:#e8dcc3;border:1px solid #b29a72}.chronicle{flex-direction:column;flex:1;min-height:100px;display:flex}.chronicle h2{text-align:center;border-bottom:1px solid #c7b797;margin-bottom:0;padding-bottom:10px;font-size:26px}.chronicle ol{margin:0;padding:0;list-style:none;overflow:auto}.chronicle li{border-bottom:1px solid #d8c8a9;align-items:flex-start;gap:9px;padding:13px 1px;font-size:15px;line-height:1.4;display:flex}.chronicle li>.game-icon{color:#846033;width:26px;height:29px;margin-top:3px}.chronicle-illustration{object-fit:cover;mix-blend-mode:multiply;width:28px;height:35px}.turn-label{color:var(--muted);margin-top:5px;font-size:15px;display:block}.game-dock{z-index:5;border-radius:5px;grid-area:dock;grid-template-columns:minmax(300px,1fr) 156px minmax(365px,1.1fr);gap:12px;padding:8px 14px 22px;display:grid;position:relative}.game-dock>.phase-line{z-index:8;pointer-events:none;position:absolute;bottom:158px;right:270px}.game-dock>.phase-line>strong{display:none}.dice-result{color:#f2e9d6;font-variant-numeric:tabular-nums;white-space:nowrap;background:#352a1e;border:1px solid #b8905a;border-radius:5px;padding:8px 12px;font-size:16px;display:block}.resource-tray{scrollbar-width:thin;scrollbar-color:#9b7846 transparent;grid-area:1/1;gap:7px;min-width:0;display:flex;overflow-x:auto}.resource-card{background:var(--paper);min-width:52px;height:118px;color:var(--ink);text-align:center;border:2px solid #bd9c67;border-radius:3px;flex:1;position:relative;overflow:hidden;box-shadow:0 2px 2px #110b0766}.resource-card>img{object-fit:fill;width:100%;height:100%;position:absolute;inset:0}.resource-card>span{z-index:1;font-family:EB Garamond,Georgia,serif;font-size:22px;line-height:1;position:absolute;top:2px;left:1px;right:1px}.resource-card strong{z-index:1;font-variant-numeric:tabular-nums;background:#f2e9d6;border:1px solid #9d8759;border-radius:50%;place-items:center;min-width:24px;height:25px;padding:0 3px;font-family:EB Garamond,Georgia,serif;font-size:23px;font-weight:400;line-height:1;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.development-slot{text-align:center;border:1px solid #82643d;border-radius:4px;grid-area:1/2;padding:0 4px;position:relative}.development-slot>button{width:100%;height:94px;color:var(--paper);flex-direction:column-reverse;align-items:center;gap:5px;padding:5px 0;font-family:EB Garamond,Georgia,serif;font-size:18px;display:flex}.development-slot>button:hover{background:#4d3825}.development-slot img{object-fit:cover;border:1px solid #b8905a;width:42px;height:52px}.development-slot p{color:#dcc9a7;margin:2px 0;font-size:15px}.desktop-builds{grid-area:1/3;gap:8px;min-width:0;display:flex}.build-cards{flex:3;gap:8px;min-width:0;display:flex}.build-cards>button,.desktop-builds>.buy-development{min-width:0;color:var(--ink);text-align:center;background:linear-gradient(#e8dcc5,#d9c8a6);border:4px double #a08355;border-radius:7px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;padding:5px 3px;display:flex;position:relative}.build-cards>button:hover,.desktop-builds>.buy-development:hover{background:#f2e9d6}.build-cards>button:disabled,.desktop-builds>.buy-development:disabled{color:#3f382e;background:#bbad94}.build-cards>button:disabled>.game-icon,.desktop-builds>.buy-development:disabled>.game-icon{opacity:.55}.build-cards strong,.buy-development>strong{font-family:EB Garamond,Georgia,serif;font-size:21px;font-weight:400;line-height:1}.desktop-builds>.buy-development>strong{order:1;font-size:18px}.desktop-builds>.buy-development>.game-icon{order:0}.desktop-builds>.buy-development>.cost-icons{order:2}.desktop-builds>.buy-development>small{order:3;font-size:15px}.cost-icons{justify-content:center;align-items:center;gap:2px;min-height:28px;display:flex}.cost-item{border:1px solid #0000;border-radius:3px;align-items:center;display:flex;position:relative}.cost-item>img{object-fit:cover;mix-blend-mode:multiply;width:19px;height:25px}.cost-item>span{font-size:15px}.cost-item.missing{border-color:#923629;box-shadow:0 0 0 1px #b25746}.build-reason{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dock-caption{text-align:center;color:#dac7a4;margin:0;font-size:15px;line-height:18px;position:absolute;bottom:1px;left:18px;right:18px}.dock-caption>span{font-size:15px;position:absolute;right:0}.game-dock>.game-error,.game-dock>.private-card-note,.game-dock>.robber-instruction{color:#7c211b;z-index:8;background:#f2e9d6;border:1px solid #b8905a;border-radius:4px;margin:0;padding:8px 12px;font-size:15px;position:absolute;bottom:158px;left:20%;right:20%}.game-dock>.private-card-note{color:#4d3924;bottom:204px}.robber-instruction>p{margin:0}.privacy-gate,.victory-card{z-index:100;color:var(--ink);text-align:center;background:linear-gradient(#302319ef,#302319ef),url(/assets/ui/wood.png) 50%/256px;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.privacy-gate>div,.victory-card>div{background:#f2e9d6;border:6px double #b8905a;border-radius:12px;max-width:460px;padding:30px;box-shadow:0 15px 70px #100a08}.privacy-gate .primary,.victory-card .primary{min-width:220px;margin-top:16px}.privacy-gate p{font-size:17px;line-height:1.5}.sheet-scrim{z-index:30;background:#172c3822;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.game-sheet{color:#2d2a26;overscroll-behavior:contain;background:#f2e9d6;border:3px double #9c7c4a;border-bottom:0;border-radius:12px 12px 0 0;width:min(700px,100%);max-height:65dvh;padding:22px;overflow:auto;box-shadow:0 -5px 28px #271a1144}.game-sheet>button:first-child{float:right;border:1px solid #b29a72;margin-bottom:12px}.game-sheet button{color:#2d2a26}.game-sheet button.primary{color:#fff9ed}.game-sheet button:not(.primary):not(:disabled):hover{background:#e0d2b6}.game-sheet button:disabled{color:#73634f;background:#e1d5bd}.game-sheet h2{clear:both}.sheet-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;display:flex}.sheet-heading h2{margin:0}.game-sheet .build-cards{flex-direction:column}.game-sheet .build-cards>button{text-align:left;grid-template-columns:38px 1fr auto;justify-items:start;gap:8px;min-height:76px;padding:10px;display:grid}.game-sheet .build-reason{clip-path:none;white-space:normal;color:#7c211b;grid-column:2/-1;width:auto;height:auto;margin:0;font-size:15px;position:static;overflow:visible}.log-sheet{height:90dvh;max-height:90dvh}.log-sheet .chronicle{height:calc(100% - 60px)}.rules-content p{font-size:16px;line-height:1.55}.rules-content dl,.player-details dl{margin:12px 0}.rules-content dl>div,.player-details dl>div{border-bottom:1px solid #c8b692;justify-content:space-between;gap:18px;padding:10px 0;display:flex}.rules-content dt,.player-details dt{font-weight:600}.rules-content dd,.player-details dd{text-align:right;margin:0}.player-details{text-align:center}.player-details>.house-label{color:#73634f}.player-details h2{margin:10px 0 4px}.rule-flow{background:#f6f1e6;border:1px solid #b8905a;border-radius:6px;padding:12px}.resource-steppers{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.resource-steppers label{flex:1;gap:4px;min-width:60px;display:grid}.resource-steppers input{width:100%;min-height:44px}.trade-sheet,.resolution-sheet{z-index:30;width:min(650px,100% - 24px);max-height:65dvh;position:fixed;bottom:0;right:0}.trade-sheet button{margin:4px}.trade-sheet select,.trade-sheet input{min-height:44px}.trade-responses article{border-bottom:1px solid #b8905a;padding:8px 0}.development-cards{flex-wrap:wrap;gap:8px;display:flex}.development-cards article{border:1px solid #b8905a;flex:1;min-width:150px;padding:10px}.placement-explanation{z-index:10;color:#7c211b;background:#f6f1e6;border:1px solid #c4342b;border-radius:5px;padding:10px;position:absolute;top:140px;left:20px;right:20px}.event-notice{z-index:90;color:#2d2a26;background:#f6f1e6;border:2px double #b8905a;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;width:min(540px,100% - 40px);padding:12px;display:flex;position:fixed;top:70px;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #30201044}.event-progress{transform-origin:0;background:#7a3e22;height:3px;position:absolute;bottom:0;left:0;right:0}@media (width>=900px) and (width<=1199px){.game-shell{grid-template-columns:210px minmax(0,1fr) 210px}.player-rail,.action-rail{padding:15px 10px}.player-open{grid-template-columns:52px minmax(0,1fr);gap:6px;padding:8px 5px!important}.portrait-frame{width:52px;height:66px}.player-copy strong{font-size:22px}.game-dock{grid-template-columns:minmax(275px,1fr) 133px minmax(365px,1.1fr);gap:7px;padding-inline:8px}.game-shell .zoom-controls input,.game-shell .zoom-controls output,.game-shell .toolbar-divider{display:none}.island-name:before,.island-name:after{margin:0 10px}.dock-caption>span{display:none}}@media (width<=899px) and (orientation:portrait){.game-shell{padding:0;display:block;position:relative}.game-shell:before{border-width:2px;inset:0}.game-header{z-index:6;top:calc(72px + env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));height:44px;box-shadow:none;pointer-events:none;background:0 0;border:0;padding:0;position:absolute}.game-wordmark,.island-name{display:none}.header-actions{pointer-events:auto;justify-content:flex-end;gap:4px;width:100%}.header-actions .debug-toggle{display:none}.header-actions button{background:#3b2a1c;padding:6px 8px;font-size:15px}.header-actions .game-icon{width:21px;height:21px}.player-rail{top:env(safe-area-inset-top);z-index:7;border-radius:0;height:64px;padding:2px 5px;position:absolute;left:0;right:0;overflow:visible}.player-rail>h2,.bonus-slots{display:none}.player-list{flex-direction:row;gap:3px}.player-card{border-bottom:0;flex:1;min-width:0;min-height:0}.player-open{border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:0;height:60px;display:flex;padding:2px 1px!important}.portrait-frame{border-width:1px;width:36px;height:36px;padding:2px}.player-card.active .portrait-frame{width:40px;height:40px}.player-copy,.player-footer,.player-bonuses{display:none}.mobile-score{white-space:nowrap;font-size:15px;line-height:17px;display:block}.player-card.active .player-open{box-shadow:inset 0 -2px #d9b98a}.board-stage{border:0;border-radius:0;position:absolute;inset:0}.game-shell .camera-toolbar{top:calc(123px + env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));justify-content:center;max-width:none}.game-shell .zoom-controls input{width:clamp(28px,6vw,48px)}.game-shell .zoom-controls output{width:43px;font-size:15px}.game-shell .presets{top:43%;right:max(8px,env(safe-area-inset-right));background:0 0;border:0;flex-direction:column;gap:6px;padding:0;transform:translateY(-50%)}.game-shell .presets button{border:1px solid #b8905a;border-radius:5px;width:58px;min-height:58px;padding:5px 3px;font-size:15px;box-shadow:0 2px 5px #15100a66}.action-rail{display:none}.game-dock{padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-radius:0;flex-direction:column;gap:6px;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:inset 0 3px #92754b,0 -12px 30px #183c4044}.game-dock>.phase-line{pointer-events:auto;justify-content:space-between;align-items:center;gap:7px;min-height:22px;display:flex;position:static}.game-dock>.phase-line>strong{font-family:EB Garamond,Georgia,serif;font-size:22px;font-weight:400;line-height:1.1;display:block}.dice-result{padding:3px 7px;font-size:15px}.session-actions{flex-wrap:wrap;gap:5px}.session-actions .primary{flex:1}.session-actions>button{white-space:nowrap;color:#f2e9d6;padding:7px 10px}.session-actions>button.secondary{color:#2d2a26}.session-actions>button:not(.primary):not(.secondary){background:#453121;border:1px solid #a38355}.chronicle-ticker{color:#2d2a26;text-align:left;background:#f2e9d6;border:1px solid #92754b;border-radius:0;align-items:center;gap:8px;width:100%;min-height:44px;display:flex;position:absolute;bottom:100%;left:0;right:0;box-shadow:0 -10px 22px #183c4033;padding:7px 10px!important}.chronicle-ticker>.game-icon{width:24px;height:24px}.chronicle-ticker>span:first-of-type{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:15px;overflow:hidden}.chronicle-ticker>span:last-child{font-size:24px}.resource-tray{flex:none;gap:6px;min-height:94px;padding-bottom:2px}.resource-card{flex:1 0 66px;min-width:66px;max-width:84px;height:94px}.resource-card>span{font-size:20px}.resource-card strong{min-width:23px;height:23px;font-size:22px;bottom:3px}.mobile-card-actions{gap:6px;display:flex}.mobile-card-actions>button{color:#f2e9d6;background:#493321;border:1px solid #a38355;flex:1;padding:6px;font-size:15px}.mobile-card-actions>.buy-development{display:block}.mobile-card-actions>.buy-development>strong{font:inherit}.mobile-card-actions>.buy-development>.game-icon,.mobile-card-actions>.buy-development>.cost-icons{display:none}.mobile-card-actions>button:disabled{color:#ddceb6;background:#3b3024}.dock-caption{display:none}.game-dock>.game-error,.game-dock>.private-card-note,.game-dock>.robber-instruction{background:#f2e9d6;padding:7px;font-size:15px;position:static}.game-dock>.private-card-note{max-height:60px;overflow:auto}.game-camera-diagnostics{font-size:12px;top:185px;bottom:auto}.game-sheet{padding:18px 12px max(18px,env(safe-area-inset-bottom))}.trade-sheet,.resolution-sheet{width:100%;right:0}.log-sheet{max-height:90dvh}.privacy-gate,.victory-card{padding:18px}.privacy-gate>div,.victory-card>div{padding:25px 18px}.event-notice{top:calc(70px + env(safe-area-inset-top))}}@media (width<=359px) and (orientation:portrait){.welcome-card{padding:22px 16px}.name-field{grid-template-columns:28px 80px 1fr;gap:6px}.game-shell .zoom-controls input,.game-shell .zoom-controls output,.game-shell .toolbar-divider{display:none}.game-shell .zoom-controls{flex-basis:auto}.game-shell .camera-toolbar{flex-wrap:nowrap}.mobile-score{font-size:15px}.mobile-card-actions{gap:3px}.mobile-card-actions>button{padding:5px 3px}}@media (width<=899px) and (orientation:landscape){.game-shell{grid-template-rows:48px minmax(0,1fr) 114px;grid-template-columns:180px minmax(0,1fr) 180px;gap:3px;padding:3px;display:grid}.game-header{gap:8px;padding:0 8px}.game-wordmark{gap:7px;font-size:27px}.game-wordmark>.game-icon{width:26px;height:33px}.island-name{font-size:21px}.island-name:before,.island-name:after{display:none}.header-actions{gap:4px}.header-actions .debug-toggle{display:none}.player-rail{padding:6px}.player-rail>h2,.bonus-slots,.player-footer,.player-bonuses,.house-label{display:none}.player-card{min-height:54px}.player-open{grid-template-columns:38px 1fr;gap:6px;padding:3px!important}.portrait-frame{border-width:1px;width:35px;height:42px;padding:2px}.player-copy{gap:0}.player-copy strong{font-size:19px}.player-score{font-size:15px}.player-score .game-icon{width:16px;height:16px}.action-rail{padding:10px;display:flex}.action-vignette .panel-compass,.action-vignette img,.vignette-caption,.action-guidance,.action-rail>.chronicle{display:none}.action-vignette h2{margin-bottom:8px;font-size:22px}.phase-prompt{font-size:22px}.action-rail>.session-actions{border:0;gap:5px;margin:0;padding:0}.action-rail>.session-actions>button{padding:4px 8px;font-size:19px}.game-dock{grid-template-columns:minmax(240px,1fr) 130px minmax(335px,1fr);gap:6px;padding:5px 7px}.resource-card{height:100px}.resource-card>span{font-size:19px}.development-slot>button{height:78px;font-size:17px}.development-slot img{width:31px;height:39px}.development-slot p{font-size:15px}.build-cards strong,.buy-development>strong{font-size:18px}.build-cards>.game-icon{width:22px}.cost-item>img{width:14px;height:20px}.dock-caption{display:none}.game-shell .camera-toolbar{max-width:none;padding:0;top:5px;left:3px;right:3px}.game-shell .zoom-controls input,.game-shell .zoom-controls output,.game-shell .toolbar-divider{display:none}.game-shell .presets{background:0 0;border:0;flex-direction:column;gap:3px;padding:0;top:54px;right:4px;transform:none}.game-shell .presets button{width:58px;min-height:44px;padding:4px;font-size:15px}.game-dock>.phase-line{bottom:119px;right:187px}.game-dock>.game-error,.game-dock>.private-card-note,.game-dock>.robber-instruction{bottom:120px;left:185px;right:185px}.event-notice{top:54px}}@media (width>=900px) and (height<=800px){.action-vignette>img{max-height:120px}.action-guidance{font-size:19px}.player-card{min-height:94px}.bonus-slot{padding:6px 3px}.player-rail{padding-top:10px}.action-rail{padding-top:12px}}@media (prefers-reduced-motion:reduce){.game-shell *,.game-shell :before,.game-shell :after{scroll-behavior:auto!important;transition-duration:80ms!important;animation-duration:80ms!important}}.world-controls{z-index:3;flex-direction:column;gap:5px;width:113px;display:flex;position:absolute;top:10px;right:10px}.world-controls button{color:#f2e9d6;background:#3b3020;border:1px solid #bd9c67;border-radius:4px;padding:5px 7px;font-size:15px;box-shadow:inset 0 0 0 2px #695030}.world-controls button:hover{background:#59422c}.world-controls button:disabled{color:#dfd0b8;background:#3b3020}.tour-motion-note{clip-path:inset(50%);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.board-status{z-index:2;pointer-events:none;flex-direction:column;align-items:center;gap:5px;display:flex;position:absolute;bottom:8px;left:10px;right:10px}.board-status>span{color:#f2e9d6;text-align:center;background:#30281e;border:1px solid #92754b;border-radius:4px;padding:5px 9px;font-size:15px}.board-hint{max-width:100%}.board-round{font-family:EB Garamond,Georgia,serif}.game-shell .presets{top:68px;left:10px;right:auto}.game-shell .zoom-controls input{min-width:44px}.game-camera-diagnostics{z-index:3;bottom:88px}.action-vignette>img{-webkit-mask-image:radial-gradient(at 50% 53%,#000 50%,#000b 64%,#0000 76%);mask-image:radial-gradient(at 50% 53%,#000 50%,#000b 64%,#0000 76%)}.mobile-score>.game-icon{width:14px;height:14px;margin-left:2px}.cost-icons{flex-wrap:wrap;max-width:100%}.desktop-builds>button>.game-icon,.desktop-builds .build-cards>button>.game-icon{width:24px;height:24px}.vignette-caption,.turn-label{color:var(--muted)}.camera-expand,.game-shell .presets .mobile-reset{display:none}.game-shell{touch-action:manipulation}.game-sheet{padding:22px max(22px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left))}.game-sheet button:disabled{color:var(--muted)}.privacy-gate,.victory-card{padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}.action-rail{padding-top:12px;overflow:hidden}.action-vignette>img{max-height:142px}.action-vignette h2{margin-bottom:3px}.panel-compass{width:30px;height:30px;margin-bottom:4px;font-size:20px}.vignette-caption{margin:2px 0 9px}.phase-prompt{margin-bottom:10px;font-size:27px}.action-guidance{margin-bottom:12px;font-size:19px}.action-rail>.session-actions{gap:5px;margin-bottom:10px;padding-bottom:10px}.action-rail>.session-actions>button{min-height:44px;padding:5px 8px;font-size:21px}.chronicle h2{padding-bottom:7px;font-size:25px}.chronicle li{padding:10px 1px}@media (width>=900px) and (width<=1199px){.game-shell .camera-toolbar{flex-wrap:wrap;max-width:calc(100% - 134px)}.game-shell .presets{top:108px}.board-hint{display:none}}@media (width<=899px) and (orientation:portrait){.world-controls{top:calc(72px + env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));z-index:7;flex-direction:row;gap:4px;width:calc(100% - 156px);max-width:206px;right:auto}.world-controls button{flex:1;min-width:44px;padding:3px 1px;line-height:18px}.world-controls .camera-expand{flex:0 0 44px;font-size:26px;display:block}.game-shell .camera-toolbar{z-index:5;display:none}.board-stage[data-camera-open=true] .camera-toolbar,.game-shell .presets .mobile-reset{display:flex}.game-shell .presets{top:43%;left:auto;right:max(8px,env(safe-area-inset-right))}.board-status,.board-hint{display:none}.board-round{padding:4px 8px!important;font-size:15px!important}.game-camera-diagnostics{top:211px;bottom:auto}.mobile-score{justify-content:center;align-items:center;display:flex}.player-card.active .portrait-frame{width:38px;height:38px}.action-rail{display:none}}@media (width<=899px) and (orientation:landscape){.game-shell{padding:max(3px,env(safe-area-inset-top)) max(3px,env(safe-area-inset-right)) max(3px,env(safe-area-inset-bottom)) max(3px,env(safe-area-inset-left))}.world-controls{gap:3px;width:100px;top:5px;left:4px;right:auto}.world-controls .camera-expand{font-size:26px;display:block}.game-shell .camera-toolbar{display:none}.board-stage[data-camera-open=true] .camera-toolbar{z-index:5;flex-wrap:wrap;display:flex;left:109px;right:3px}.game-shell .presets{top:5px;left:auto;right:4px}.board-stage[data-camera-open=true] .presets{top:106px}.board-hint,.board-status{display:none}.game-camera-diagnostics{font-size:11px;bottom:32px;left:4px}.game-dock{grid-template-columns:minmax(220px,1fr) 110px minmax(290px,1fr)}.desktop-builds,.build-cards{gap:4px}.cost-item{gap:0}.cost-item>img{width:12px}.cost-item>span{font-size:15px}.desktop-builds>.buy-development>strong{font-size:16px}.desktop-builds>button>.game-icon,.desktop-builds .build-cards>button>.game-icon{display:none}.action-rail{padding:5px 8px;overflow:auto}.action-vignette h2{margin:0 0 3px;font-size:20px}.phase-prompt{margin:0 0 5px;font-size:20px}.action-rail>.session-actions{gap:3px;margin:0;padding:0}.action-rail>.session-actions>button{padding:2px 5px;font-size:18px}.game-shell .presets .mobile-reset{display:none}}@media (width<=800px) and (orientation:landscape){.build-cards strong{font-size:15px}}.effects-overlay{pointer-events:none;z-index:75;width:100vw;height:100dvh;position:fixed;inset:0}.speed-suggestion{z-index:34;background:#f2e9d6;border:2px solid #b8905a;border-radius:8px;width:min(320px,100vw - 40px);padding:14px;position:fixed;top:80px;right:20px;box-shadow:0 5px 18px #3b2a1c44}.speed-suggestion p{margin:0 0 8px}.speed-suggestion button{min-height:44px;margin-right:6px}.idle-nudge{animation:1.2s ease-in-out 3 idle-primary}@keyframes idle-primary{50%{filter:brightness(1.12);box-shadow:0 0 0 6px #b8905a55}}@media (prefers-reduced-motion:reduce){.idle-nudge{animation:none}}.discard-fan{flex-wrap:wrap;justify-content:center;gap:6px;max-height:42dvh;padding:30px 8px 12px;display:flex;overflow:auto}.discard-fan button{width:60px;height:86px;transform:rotate(var(--fan-angle));animation:.3s both fan-enter;animation-delay:var(--fan-delay);padding:0;transition:transform .18s,box-shadow .18s;position:relative}.discard-fan img{object-fit:cover;border-radius:5px;width:100%;height:100%}.discard-fan button[aria-pressed=true]{outline:3px solid #a01e19;transform:translateY(-24px)rotate(0);box-shadow:0 12px 16px #3b2a1c44}.discard-confirm:enabled{background-image:linear-gradient(100deg,#7a3e22 50%,#b8905a 50%);background-size:200% 100%;animation:.3s both confirm-fill}.discard-confirm{z-index:2;width:100%;position:sticky;bottom:0;box-shadow:0 -8px 12px #f6f1e6}.rule-flow .resource-steppers{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.rule-flow .resource-steppers label{min-width:0;font-size:15px}.rule-flow .resource-steppers input{width:100%;padding:6px}.rule-flow .discard-fan{max-height:24dvh}@keyframes fan-enter{0%{opacity:0;translate:0 45px}to{opacity:1;translate:0}}@keyframes confirm-fill{0%{background-position:100%}to{background-position:0}}@keyframes resource-error{0%,to{translate:0}20%,60%{translate:-4px}40%,80%{translate:4px}}.build-cards button[aria-disabled=true]{filter:saturate(.4);opacity:.75}.build-cards button.rejected{animation:.3s resource-error}.resource-card.missing-flash{outline:3px solid #a01e19}@media (prefers-reduced-motion:reduce){.discard-fan button,.discard-confirm:enabled{transition-duration:80ms;animation-duration:80ms;animation-delay:0s}}.cpu-seats{border:1px solid var(--brass,#b8905a);grid-template-columns:1fr 1fr;gap:4px;margin:12px 0;display:grid}.cpu-seats label,.pattern-option{align-items:center;gap:8px;min-height:44px;display:flex}.cpu-seats input,.pattern-option input{flex:0 0 24px;width:24px;height:24px}.resume-card{border:1px solid #b8905a;margin-bottom:16px;padding:12px}.save-error{z-index:100;color:#8b1919;background:#f2e9d6;padding:12px;position:fixed;top:70px;left:10%;right:10%}.victory-card>div{width:90vw;max-width:580px;max-height:90dvh;overflow:auto}.victory-breakdown>div{justify-content:space-between;gap:20px;display:flex}.victory-breakdown dd{margin:0}.victory-card ol{text-align:left}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.rules-content input{width:100%;min-height:44px}.rules-content section{margin-block:20px}@font-face{font-family:EB Garamond;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/eb-garamond-latin-400-normal-BCNrxLz_.woff2)format("woff2"),url(/assets/eb-garamond-latin-400-normal-maQnHeKB.woff)format("woff")}:root{--safe-left:env(safe-area-inset-left,0px);--safe-bottom:env(safe-area-inset-bottom,0px);color:#f6f1e6;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#3e7c8c;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{overscroll-behavior:none;width:100%;height:100%;margin:0;overflow:hidden}button,input{font:inherit}button{color:#2d2a26;cursor:pointer;background:0 0;border:0;border-radius:7px;min-width:44px;min-height:44px}button:hover{background:#e0d2b6}button:active{background:#d4c4a5}button.selected{background:#d8c5a0;box-shadow:inset 0 0 0 1px #8c7959}button:focus-visible,input:focus-visible,canvas:focus-visible{outline-offset:3px;outline:3px solid #ffdb87}.island{touch-action:none;width:100%;height:100dvh;position:relative;overflow:hidden}.world{position:absolute;inset:0}.world canvas{touch-action:none;display:block}.label-layer{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.masthead{top:max(20px, env(safe-area-inset-top));left:max(28px, env(safe-area-inset-left));right:max(28px, env(safe-area-inset-right));pointer-events:none;text-shadow:0 1px 2px #255361;align-items:center;gap:20px;display:flex;position:absolute}.wordmark{letter-spacing:.025em;align-items:center;gap:20px;font-family:EB Garamond,Georgia,serif;font-size:38px;line-height:1;display:flex}.wordmark-rule{opacity:.6;background:#a1c2c9;width:1px;height:25px}.board-caption{font-size:15px}.caption-dot{padding:0 9px}.debug-button{pointer-events:auto;background:#f2e9d6;margin-left:auto;padding:0 15px;box-shadow:0 3px 10px #183e4a22}.camera-toolbar{left:max(28px, env(safe-area-inset-left));top:calc(max(20px, env(safe-area-inset-top)) + 58px);color:#2d2a26;background:#f2e9d6;border:1px solid #c2b18f;border-radius:11px;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;box-shadow:0 4px 14px #183e4a20}.zoom-controls{align-items:center;display:flex}.zoom-controls button{font-size:24px}.zoom-controls input{accent-color:#7a3e22;cursor:pointer;width:104px;height:44px;margin:0}.zoom-controls output{text-align:center;font-variant-numeric:tabular-nums;width:53px;font-size:15px}.toolbar-divider{background:#c2b18f;width:1px;height:22px;margin:0 4px}.camera-toolbar>button{font-size:22px}.camera-toolbar>button:first-of-type{font-size:15px}.presets{right:max(28px, env(safe-area-inset-right));background:#f2e9d6;border:1px solid #c2b18f;border-radius:11px;gap:4px;padding:4px;display:flex;position:absolute;top:78px;box-shadow:0 4px 14px #183e4a20}.presets button{align-items:center;gap:8px;padding:0 12px;font-size:15px;display:flex}.preset-symbol{font-size:24px;line-height:1}.table-symbol{display:inline-block;transform:scaleY(.55)}.board-footer{bottom:max(24px, env(safe-area-inset-bottom));left:max(20px, env(safe-area-inset-left));right:max(20px, env(safe-area-inset-right));text-align:center;pointer-events:none;color:#fffaf1;font-size:15px;line-height:1.5;position:absolute}.board-footer>span,.debug-status{background:#245460;border-radius:10px;padding:9px 16px;display:inline-block}.board-footer .touch-hint{display:none}.debug-status{font-variant-numeric:tabular-nums}.debug-status output{font-size:13px;display:block}.fallback{color:#2d2a26;text-align:center;background:#f2e9d6;border-radius:12px;padding:24px;position:absolute;inset:40% 10% auto}@media (width<=899px){.masthead{top:max(16px, env(safe-area-inset-top));left:max(20px, env(safe-area-inset-left));right:max(20px, env(safe-area-inset-right));gap:12px}.wordmark{font-size:32px}.wordmark-rule{display:none}.board-caption{max-width:130px;font-size:15px}.caption-dot{padding:0 4px}.debug-button{min-height:44px;padding:0 10px;font-size:15px}.camera-toolbar{top:calc(max(16px, env(safe-area-inset-top)) + 56px);left:max(12px, env(safe-area-inset-left));right:max(12px, env(safe-area-inset-right));justify-content:center;gap:0;padding:2px}.zoom-controls input{width:clamp(35px,10vw,90px)}.zoom-controls output{width:47px;font-size:15px}.toolbar-divider{margin:0 2px}.camera-toolbar>button{min-width:44px}.presets{top:50%;right:max(10px, env(safe-area-inset-right));box-shadow:none;background:0 0;border:0;flex-direction:column;gap:6px;padding:3px;transform:translateY(-50%)}.presets button{background:#f2e9d6;border:1px solid #c2b18f;flex-direction:column;justify-content:center;gap:3px;width:58px;min-height:76px;padding:6px 2px;font-size:15px;box-shadow:0 3px 10px #183e4a25}.presets button:hover{background:#e0d2b6}.board-footer{bottom:max(20px, env(safe-area-inset-bottom));font-size:15px;left:12px;right:12px}.board-footer .desktop-hint{display:none}.board-footer .touch-hint{display:inline-block}.debug-status{font-size:12px}}@media (width<=359px){.board-caption{max-width:95px;font-size:15px}.zoom-controls{flex-basis:100%;justify-content:center}.zoom-controls input{width:104px}.zoom-controls output{width:48px;font-size:15px}.camera-toolbar{flex-wrap:wrap;left:12px;right:12px}.toolbar-divider{display:none}}@media (height<=499px){.board-footer{bottom:max(6px, env(safe-area-inset-bottom))}.board-footer>span{padding:4px 12px}.board-footer .touch-hint br{display:inline}.board-footer .touch-hint br:after{content:" · "}.presets{right:max(8px, env(safe-area-inset-right))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}}.world:after{content:"";pointer-events:none;z-index:1;background:radial-gradient(at 50% 45%,#0000 54%,#11232129 100%);position:absolute;inset:0}.world-loading{color:#2d2a26;text-align:center;background:#f2e9d6;border:2px solid #b8905a;gap:12px;min-width:220px;padding:20px;display:grid;box-shadow:0 4px 18px #30201044}.world-loading strong{font:24px EB Garamond,serif}.world-loading progress{accent-color:#7a3e22;width:100%}
