.language-button{color:#eee8d5;white-space:nowrap;background:#16383c;border:1px solid #a6b7b470;border-radius:6px;flex:none;min-width:42px;min-height:40px;padding:8px;font-size:12px}.language-button:hover{border-color:var(--gold);background:#29494a}html[lang=en] .header-right{gap:12px}html[lang=en] .lobby h1{letter-spacing:0;font-size:44px}html[lang=en] .turn-banner .phase,html[lang=en] .resource small{letter-spacing:0}html[lang=en] .honor-ribbon h3{letter-spacing:0;font-size:14px}html[lang=en] .honor-compact .honor-ribbon h3{font-size:11px}html[lang=en] .preview-resource{font-size:.33px}html[lang=en] .development-card p{font-size:11px;line-height:1.5}@media (width<=700px){header .brand{gap:5px;font-size:24px}header .brand span{letter-spacing:2px;font-size:15px}header .brand small{display:none}header .header-right,body[data-view=game] header .header-right{flex-wrap:nowrap;gap:4px;max-width:none}header .header-right .status{display:none}header .guide-button,header .home-button{letter-spacing:0;min-height:40px;padding:6px;font-size:10px}header .language-button{min-width:34px;padding:5px;font-size:11px}html[lang=en] .lobby h1{font-size:28px}html[lang=en] .turn-banner .phase{font-size:14px}html[lang=en] .build-button{white-space:normal;overflow-wrap:anywhere}html[lang=en] .player-meta{font-size:8px}}:root{color:#f1ecdc;font-synthesis:none;--gold:#d4bf80;--muted:#a6b7b4;--panel:#13292ced;--line:#dbd3b026;font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{background:#123c45;margin:0;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}#world,#vignette{position:fixed;inset:0}#world canvas{display:block}#vignette{pointer-events:none;background:linear-gradient(90deg,#071b1e52,#0000 38%),linear-gradient(#0000 75%,#04181c59)}header{z-index:3;background:linear-gradient(#091e21d1,#0000);justify-content:space-between;align-items:center;height:92px;padding:0 42px;display:flex;position:fixed;top:0;left:0;right:0}.brand{color:var(--gold);align-items:center;gap:13px;font-size:40px;text-decoration:none;display:flex}.brand span{letter-spacing:8px;color:#f1e4c4;font-family:Georgia,serif;font-size:26px}.brand small{letter-spacing:3.4px;color:#a9b8af;margin-top:5px;font:9px Arial;display:block}.header-right{align-items:center;gap:20px;display:flex}.status{color:var(--muted);font-size:12px}.status:before{content:"";background:#d59d68;border-radius:50%;width:6px;height:6px;margin-right:8px;display:inline-block}.status.online:before{background:#a5c9a8}.icon-button,.world-controls button{border:1px solid var(--line);color:#e6ddbf;background:#13292cb3;border-radius:50%;width:34px;height:34px}.eyebrow{letter-spacing:3px;color:var(--gold);margin:0 0 15px;font-size:10px;font-weight:600}.muted{color:var(--muted);font-size:12px;line-height:1.8}.lobby{z-index:2;width:360px;position:fixed;top:20%;left:6%}.lobby h1{letter-spacing:3px;margin:0 0 20px;font-family:Georgia,Songti SC,serif;font-size:48px;font-weight:400;line-height:1.3}.lobby .intro{color:#bccac2;max-width:305px;margin-bottom:32px;font-size:14px;line-height:1.9}.room-card{border:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#12282be6;border-radius:6px;padding:24px;box-shadow:0 15px 70px #09272b35}.tabs{border-bottom:1px solid var(--line);gap:22px;margin-bottom:22px;display:flex}.tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:0 0 12px;font-size:13px}.tabs button.active{color:var(--gold);border-bottom-color:var(--gold)}label{color:#bec8bd;margin:14px 0 7px;font-size:12px;display:block}input,select{color:#eee8d5;background:#0d262bd4;border:1px solid #54666470;border-radius:3px;width:100%;min-width:0;padding:11px 12px}input::placeholder{color:#677f7f}.primary{color:#25372f;background:#d4bf80;border:1px solid #d4bf80;border-radius:3px;padding:12px 16px;font-size:13px;font-weight:650}.primary:hover:not(:disabled){background:#e4d399}.secondary{color:#e7e2ce;background:#31505255;border:1px solid #81918a66;border-radius:3px;padding:10px 12px;font-size:12px}.secondary:hover:not(:disabled){background:#57746e55}.wide{width:100%;margin-top:18px}.room-note{color:#90a8a4;margin:15px 0 0;font-size:11px;line-height:1.7}.waiting{width:340px;position:fixed;top:17%;left:5%}.room-code{letter-spacing:8px;color:#f1dfad;margin:6px 0 14px;font:34px Georgia}.row{justify-content:space-between;align-items:center;gap:10px;display:flex}.seats{margin-top:22px}.seat{border-top:1px solid var(--line);align-items:center;gap:12px;padding:15px 0;font-size:13px;display:flex}.avatar{border:1px solid var(--player);width:33px;height:33px;color:var(--player);background:color-mix(in srgb,var(--player) 10%,transparent);border-radius:50%;place-items:center;font:16px Georgia;display:grid}.seat .name{flex:1}.seat small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.seat .empty{color:#6f8986}.link-button{color:#aebfb5;background:0 0;border:0;padding:4px;font-size:11px}.players-panel{width:214px;position:fixed;top:117px;left:28px}.panel-heading{letter-spacing:2px;color:var(--gold);margin-bottom:14px;font-size:10px}.player-card{border:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#11282bdb;border-radius:4px;margin-bottom:8px;padding:13px 12px}.player-card.active{border-color:var(--player);box-shadow:inset 3px 0 var(--player)}.player-card .row{font-size:12px}.score{color:#f0e6c9;font-family:Georgia;font-size:24px}.player-meta{color:#a3b7af;justify-content:space-between;margin-top:10px;font-size:10px;display:flex}.turn-banner{text-align:center;pointer-events:none;min-width:240px;position:fixed;top:100px;left:50%;transform:translate(-50%)}.turn-banner .phase{letter-spacing:2px;text-shadow:0 2px 15px #09262e;font:23px Georgia,Microsoft YaHei}.turn-banner small{color:#c5d0bb;margin-top:8px;font-size:11px;display:block}.actions-panel{scrollbar-width:thin;scrollbar-color:#5d766e transparent;width:278px;position:fixed;top:114px;bottom:109px;right:26px;overflow:auto}.action-card{background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:5px;margin-bottom:10px;padding:19px}.action-card h3{margin:0 0 10px;font-size:15px;font-weight:500}.action-card p{color:var(--muted);margin:8px 0;font-size:12px;line-height:1.8}.dice{align-items:center;gap:9px;margin:16px 0;display:flex}.die{color:#293d36;background:#e5dcc2;border-radius:6px;place-items:center;width:40px;height:40px;font:27px Georgia;display:grid;box-shadow:inset 0 -3px #b8ab8c}.dice .sum{color:var(--gold);margin-left:6px;font:23px Georgia}.build-button{border:1px solid var(--line);color:#ece5cf;text-align:left;background:#24424780;border-radius:3px;justify-content:space-between;align-items:center;width:100%;margin:8px 0;padding:11px;font-size:12px;display:flex}.build-button.selected{border-color:var(--gold);background:#d0b97918}.build-button small{color:#92aaa2;margin-top:4px;font-size:9px;display:block}.build-button .cost{color:#b9caba;letter-spacing:3px;font-size:11px}.action-caption{color:#bfcdbe;font-size:11px;line-height:1.7}.inventory{z-index:3;gap:7px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.resource{border:1px solid var(--line);border-top:2px solid var(--resource);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#132a2df0;border-radius:4px;width:83px;height:76px;padding:10px 11px}.resource .resource-top{justify-content:space-between;font-size:20px;display:flex}.resource strong{font:26px Georgia}.resource small{color:#afc2b9;letter-spacing:2px;margin-top:7px;font-size:10px;display:block}.world-controls{z-index:3;color:#94aaa6;align-items:center;gap:10px;font-size:10px;display:flex;position:fixed;bottom:28px;left:28px}.world-controls button:last-child{border-radius:4px;width:46px;font-size:10px}.trade-selects{grid-template-columns:1fr 1fr;gap:9px;display:grid}.trade-selects label{font-size:10px}.trade-selects select{padding:8px;font-size:11px}.log{border-top:1px solid var(--line);max-height:135px;margin-top:16px;padding-top:6px;overflow:auto}.log p{margin:6px 0;font-size:10px;line-height:1.5}.key-picker{color:var(--muted);margin:10px 0;font-size:10px}.key-picker select{margin-top:8px;padding:6px;font-size:11px}.discard-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.discard-grid input{padding:5px}.discard-grid label{font-size:10px}.notice{color:#dbc792;background:#ba954919;border:1px solid #af945143;margin-top:10px;padding:10px;font-size:11px;line-height:1.7}.victory{z-index:6;text-align:center;border:1px solid var(--gold);background:#19373bf5;border-radius:6px;width:400px;padding:40px;position:fixed;top:45%;left:50%;transform:translate(-50%,-50%);box-shadow:0 30px 140px #081c2fd0}.victory h2{color:#eddb9f;margin:15px 0;font:38px Georgia}.connection-block{z-index:10;background:#705637;border:1px solid #bc985f;border-radius:3px;padding:10px 20px;font-size:12px;position:fixed;top:90px;left:50%;transform:translate(-50%)}.mode-tag{letter-spacing:1px;color:#93afa4;margin-top:20px;font-size:10px}#load-progress{color:#aec1b7;font-size:11px;transition:opacity 1s;position:fixed;bottom:32px;right:30px}#load-progress.loaded{opacity:0;pointer-events:none}#toast{z-index:30;color:#253b33;opacity:0;pointer-events:none;background:#ebdfbd;border-radius:4px;max-width:80vw;padding:12px 20px;font-size:12px;transition:all .2s;position:fixed;bottom:124px;left:50%;transform:translate(-50%,15px)}#toast.show{opacity:1;transform:translate(-50%)}dialog{color:#e7e4d2;background:#19393e;border:1px solid #647f73;border-radius:6px;width:90vw;max-width:580px;padding:36px;line-height:1.9}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#09272ccc}dialog h2{font:25px/1.5 Georgia,Microsoft YaHei}dialog li{color:#bdcec3;margin:10px 0;font-size:12px}.dialog-close{color:#c8d3c2;background:0 0;border:0;font-size:26px;position:absolute;top:10px;right:15px}.lan-info{overflow-wrap:anywhere;color:#8da6a0;margin-top:12px;font-size:10px;line-height:1.8}.small-rule{border:0;border-top:1px solid var(--line);margin:12px 0}.dice-dock{z-index:4;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:linear-gradient(135deg,#193a3ef2,#102d32ed);border:1px solid #d4bf8059;border-radius:12px;align-items:center;gap:25px;min-width:300px;padding:14px 22px;display:flex;position:fixed;bottom:114px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #061e2b66,inset 0 1px #fff1cf12}.dice-dock[hidden],.dice-dock button[hidden],.online-play .lan-info{display:none}.development-error{color:#f0c3a4;background:#9e503d33;border:1px solid #d79877;border-radius:4px;padding:10px;font-size:12px}@media (width>=701px){.players-panel{scrollbar-width:thin;scrollbar-color:#5d766e transparent;max-height:calc(100vh - 170px);overflow-y:auto}}.award-cards{gap:8px;margin-top:16px;display:grid}.award-card{background:linear-gradient(135deg,#233e3df0,#142b30ed);border:1px solid #bdad7655;border-radius:5px;padding:12px}.award-card.claimed{border-color:var(--owner)}.award-title{color:#e6d6a4;justify-content:space-between;gap:8px;font-size:12px;display:flex}.award-title strong{color:#efd89b;font:23px Georgia}.award-card p{color:#bdcfc5;margin:6px 0;font-size:11px}.award-card small{color:#95afa7;font-size:9px;line-height:1.7}.player-development{color:#b0c1b1;border-top:1px solid var(--line);margin-top:7px;padding-top:7px;font-size:9px}#development-dialog{width:min(700px,94vw);max-width:700px;max-height:88vh;padding:28px;overflow:auto}#development-dialog h2{margin:8px 0 18px}#development-dialog .award-cards{grid-template-columns:1fr 1fr;margin:0 0 20px}.development-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.development-heading h3{margin:8px 0;font-size:16px}.development-heading>span{color:#a8bfb3;font-size:11px}.development-rule,.development-hint{color:#b0c5b8;font-size:11px;line-height:1.8}.development-hint{margin:8px 0}.development-hand{gap:10px;margin-top:20px;display:grid}.development-card{background:#102c30;border:1px solid #788b7a66;border-left:3px solid #b59a62;border-radius:6px;align-items:center;gap:13px;padding:14px;display:flex}.development-card>div{flex:1}.development-card h3{color:#f0dfb8;margin:0 0 4px;font-size:15px}.development-card p{color:#b6c8bb;margin:0;font-size:11px;line-height:1.7}.development-card small{color:#d2be83;font-size:10px}.development-icon{color:#d7bc7d;text-align:center;width:36px;font:35px Georgia}.type-knight{border-left-color:#af94ce}.type-victoryPoint{border-left-color:#dca25a}.development-drawn{color:#f0dfad;background:#d4bf8020;border:1px solid #d4bf8066;border-radius:5px;margin:12px 0;padding:11px 14px;font-size:13px}.development-empty{text-align:center;color:#b7c8ba;border:1px dashed #8eab8555;padding:24px 12px;font-size:12px}.development-card .secondary{flex-shrink:0}#development-choice{background:#284d45;border:1px solid #b8b88166;border-radius:5px;margin-top:16px;padding:16px}#development-choice h3{margin:0;font-size:15px}#development-choice .row{margin-top:15px}@media (width<=700px){.players-panel>.award-cards{display:none}.player-development{margin-top:4px;padding-top:4px;font-size:8px}.turn-banner{margin-top:14px}#development-dialog{padding:24px 15px}#development-dialog .award-card{padding:9px}.development-card{gap:8px;padding:10px}.development-icon{width:24px;font-size:26px}.development-card .secondary{padding:8px}.development-heading h3{font-size:14px}}.harvest-notice{z-index:5;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:linear-gradient(135deg,#254b4bf5,#142f34f5);border:1px solid #d4bf8080;border-radius:9px;width:max-content;min-width:300px;max-width:calc(100vw - 28px);padding:17px 34px 17px 18px;animation:.3s ease-out harvest-arrive;position:fixed;bottom:246px;left:50%;transform:translate(-50%);box-shadow:0 14px 40px #061e2b66}.harvest-notice[hidden],.harvest-recap[hidden]{display:none}.harvest-heading{color:#eddaa0;letter-spacing:1px;margin:0 0 11px;font-size:12px}.harvest-cards{flex-wrap:wrap;gap:8px;max-width:410px;display:flex}.harvest-card{border:1px solid color-mix(in srgb,var(--resource) 55%,transparent);border-top:2px solid var(--resource);background:#0f292d;border-radius:4px;align-items:center;gap:6px;padding:9px 10px;font-size:12px;display:flex}.harvest-card>span{color:var(--resource);font-size:18px}.harvest-card strong{color:#f6e5b6;font:20px Georgia}.harvest-empty,.harvest-note{color:#bed0c5;margin:0;font-size:12px;line-height:1.7}.harvest-note{margin-top:9px;font-size:10px}.harvest-close{color:#b7c9bc;background:0 0;border:0;font-size:22px;position:absolute;top:5px;right:7px}.harvest-recap{color:#d4bf80;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #d4bf8055;padding:2px 0;font-size:10px}.harvest-recap:hover{color:#fff0b9}@keyframes harvest-arrive{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.harvest-notice{animation:none}}@media (width<=700px){.harvest-notice{width:calc(100vw - 28px);min-width:0;padding:13px 30px 13px 14px;bottom:456px}.harvest-cards{gap:5px}.harvest-card{padding:6px;font-size:11px}.dice-dock{max-width:calc(100vw - 24px);bottom:327px}}.dice-pair{perspective:600px;align-items:center;gap:21px;padding:8px 4px;display:flex}.dice-hop{filter:drop-shadow(0 7px 3px #0005);width:43px;height:43px}.dice-view{width:100%;height:100%;transform-style:preserve-3d;transform:rotateX(-14deg)rotateY(-16deg)}.dice-cube{width:100%;height:100%;transform-style:preserve-3d;position:relative}.dice-face{backface-visibility:hidden;background:#f7eacd;border:1px solid #d0bc90;border-radius:7px;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:3px;padding:7px;display:grid;position:absolute;inset:0;box-shadow:inset 0 0 8px #c2a77855}.dice-face i{background:#253d40;border-radius:50%;box-shadow:inset 0 1px 2px #0006}.dice-face.face-1 i{background:#b34d30}.face-1{transform:translateZ(21.5px)}.face-2{background:#e5d4b0;transform:rotateY(90deg)translateZ(21.5px)}.face-3{background:#fff3d9;transform:rotateX(90deg)translateZ(21.5px)}.face-4{transform:rotateX(-90deg)translateZ(21.5px)}.face-5{background:#e5d4b0;transform:rotateY(-90deg)translateZ(21.5px)}.face-6{transform:rotateY(180deg)translateZ(21.5px)}.dice-readout{flex-direction:column;align-items:flex-start;gap:5px;min-width:121px;display:flex}.dice-caption{letter-spacing:2px;color:var(--muted);font-size:10px}.dice-total{color:#f1dfad;white-space:nowrap;font:22px Georgia,Microsoft YaHei,serif}.dice-readout .primary{margin-top:2px;padding:7px 19px;font-size:12px}.dice-dock:has(#roll:not([hidden])) .dice-total{display:none}.dice-dock.rolling{border-color:#e9d397}.dice-dock.rolling .dice-total{font:15px Microsoft YaHei,sans-serif}@media (width<=1000px){header{padding:0 22px}.lobby{width:320px;left:4%}.players-panel{width:175px;left:14px}.actions-panel{width:240px;right:14px}.resource{width:68px}.world-controls span{display:none}.dice-dock{gap:17px;min-width:270px;padding:12px 15px}}@media (width<=700px){header{height:74px;padding:0 16px}.brand span{font-size:20px}.brand{font-size:32px}.header-right{gap:9px}.status{font-size:10px}.lobby{width:calc(100% - 36px);max-width:380px;top:auto;bottom:70px;left:18px}.lobby h1{margin-bottom:8px;font-size:32px}.lobby .intro,.lobby .eyebrow{display:none}.room-card{padding:17px}.waiting{width:calc(100% - 36px);top:92px;left:18px}.players-panel{gap:5px;width:auto;display:flex;top:78px;left:10px;right:10px}.players-panel>.panel-heading{display:none}.player-card{flex:1;min-width:0;padding:7px}.player-card .avatar{display:none}.player-card .row{gap:2px;font-size:10px}.score{font-size:19px}.player-meta{font-size:8px}.turn-banner{width:90%;min-width:0;top:165px}.turn-banner .phase{font-size:18px}.actions-panel{width:auto;max-height:210px;inset:auto 10px 107px}.action-card{margin:0;padding:12px}.action-card .log{display:none}.action-card h3{font-size:13px}.build-button{vertical-align:top;width:31%;margin-right:1%;padding:7px;font-size:10px;display:inline-flex}.build-button .cost{display:none}.dice{float:left;margin:3px 13px 3px 0}.dice+.primary{margin:0}.inventory{gap:5px;width:calc(100% - 22px);bottom:27px}.resource{flex:1;min-width:0;height:65px;padding:7px}.resource strong{font-size:22px}.resource small{font-size:9px}.world-controls{gap:8px;bottom:4px;left:13px}.world-controls button{width:22px;height:22px;font-size:12px}.world-controls button:last-child{height:22px}.key-picker{width:65%;margin:3px;display:inline-block}.mode-tag{display:none}#load-progress{font-size:9px;bottom:8px;right:10px}.victory{width:90vw}.connection-block{text-align:center;width:90%;top:74px}.lan-info{display:none}}.bot-controls{justify-content:space-between;align-items:center;gap:12px;margin:14px 0 0;display:flex}.bot-controls>span{color:#b7c5b5;font-size:12px}.add-bot{border-style:dashed}.bot-caption{color:#b7c5b5;text-align:center;margin:7px 0 14px;font-size:11px}.bot-thinking{color:#ead79e}.dialog-window-controls{flex-shrink:0;align-items:center;gap:6px;margin-left:10px;display:flex}dialog .dialog-window-controls>button{color:#ecd8a0;cursor:pointer;background:#153339;border:1px solid #c4b58288;border-radius:50%;flex:0 0 44px;place-items:center;min-width:44px;padding:0;font-size:25px;display:grid;width:44px!important;height:44px!important;margin:0!important;position:static!important;inset:auto!important}.floating-window-controls{position:absolute;top:16px;right:16px}body dialog.has-dialog-minimize:not(#trade-dialog):not(#help)>h2{text-align:left;min-height:44px;padding-right:100px}body #resource-details.has-dialog-minimize>h2{padding-left:0}body #development-dialog.has-dialog-minimize>.eyebrow{padding-right:100px}.minimized-panels{z-index:24;pointer-events:none;flex-direction:column;gap:8px;width:240px;display:flex;position:fixed;top:96px;left:24px}.minimized-panels[hidden]{display:none}.minimized-panel{pointer-events:auto;background:#12333ef5;border:1px solid #bca776;border-radius:12px;align-items:center;min-width:0;display:flex;overflow:hidden;box-shadow:0 4px 20px #00172266}.minimized-panel button{color:#eadbb7;cursor:pointer;background:0 0;border:0;height:44px;font-size:13px}.panel-restore{text-align:left;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;padding:0 12px;overflow:hidden}.panel-dismiss{flex-shrink:0;width:44px;border-left:1px solid #bca77640!important;font-size:20px!important}.minimized-panel button:hover,.dialog-window-controls button:hover{background:#345753}.minimized-panel button:focus-visible,.dialog-window-controls button:focus-visible{outline-offset:-4px;outline:2px solid #e9d18f}@media (width<=1100px){.minimized-panels{top:calc(var(--compact-top,8px) + 72px);left:var(--compact-edge,8px);right:var(--compact-edge,8px);scrollbar-width:thin;z-index:18;flex-direction:row;width:auto;max-width:calc(100vw - 16px);padding-bottom:3px;overflow-x:auto}.minimized-panel{flex:none;max-width:230px}.panel-restore{max-width:186px}body.compact-mobile-hud dialog.has-dialog-minimize:not(#trade-dialog):not(#help)>h2{min-height:44px;padding-right:100px}body.compact-mobile-hud #resource-details.has-dialog-minimize>h2{padding-left:0}.trade-header>div:first-child,.guide-header>div:first-child{overflow-wrap:anywhere;min-width:0}}.ck-status{color:#ead59b;gap:6px;padding:10px 0;font-size:12px;display:grid}.ck-status>span{color:#b7cdca}.ck-track{gap:4px;display:flex}.ck-track i{background:#466568;border-radius:3px;flex:1;height:5px}.ck-track i.filled{background:#d89465}.ck-commodities{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0;display:grid}.ck-commodities>div{background:#0b282e;border:1px solid #7b86615c;border-radius:8px;grid-template-columns:1fr auto;align-items:center;padding:6px;font-size:12px;display:grid}.ck-commodities svg{grid-column:1/-1;justify-self:center;width:45px;height:42px}.ck-commodities b{color:#e9d291}#ck-dialog{color:#e7eadb;background:#102f34;border:1px solid #988957;border-radius:16px;width:min(720px,94vw);max-height:86dvh;padding:0;overflow:hidden}#ck-dialog::backdrop{background:#001b2580}.ck-header{border-bottom:1px solid #d9bc6638;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.ck-header h2{margin:0;font-size:24px}.ck-header .dialog-close{flex-shrink:0;position:static}.ck-body{scrollbar-color:#867e56 #183a3c;scrollbar-width:thin;max-height:calc(86dvh - 98px);padding:0 24px 24px;overflow:auto}.ck-development{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.ck-development article{border:1px solid var(--ck-color);background:#08272b;border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex}.ck-science{--ck-color:#71bc8b}.ck-trade{--ck-color:#dfbb60}.ck-politics{--ck-color:#83a7df}.ck-development article span,.ck-progress>span{color:var(--ck-color)}.ck-development small,.ck-caption{color:#afc6c0;font-size:11px}.ck-hand{flex-wrap:wrap;gap:10px;display:flex}.ck-progress{border:2px solid var(--ck-color);color:#f0ddb0;background:radial-gradient(at top,#59706b,#10282d 70%);border-radius:12px;flex-direction:column;align-items:center;gap:8px;min-width:105px;min-height:140px;padding:12px;display:flex}.ck-progress>span{font-size:38px}.ck-progress:disabled{opacity:.65}.ck-progress:not(:disabled):hover{box-shadow:0 0 18px color-mix(in srgb,var(--ck-color),transparent 45%);transform:translateY(-3px)}#ck-action-form{gap:10px;margin-top:16px;display:grid}#ck-action-form select{width:100%;min-width:0;font-size:14px}.ck-buttons{flex-wrap:wrap;gap:10px;display:flex}.ck-buttons button{flex:1}.ck-select-resources{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.ck-select-resources label{text-align:center;display:grid}.ck-select-resources svg{width:60px;height:55px;margin:auto}.ck-select-resources input{box-sizing:border-box;width:100%}.ck-rules{margin-top:24px;font-size:13px;line-height:1.8}.ck-rules summary{cursor:pointer;color:#e0cb8f}@media (width<=600px){.ck-header{padding:14px}.ck-header h2{font-size:20px}.ck-body{padding:0 14px 18px}.ck-development{gap:6px}.ck-development article{padding:8px}.ck-development small{font-size:10px}.ck-progress{min-width:86px;min-height:125px}.ck-buttons{flex-direction:column}}.ck-dice .dice-hop:first-child .dice-face{background:#ead08b}.ck-dice .dice-hop:nth-child(2) .dice-face{background:#b74838;border-color:#8c3329}.ck-dice .dice-hop:nth-child(2) .dice-face i{background:#fff0ce}.ck-action-tabs{flex-wrap:wrap;gap:6px;margin:14px 0;display:flex}.ck-action-tabs button{min-height:40px;padding:7px 10px;font-size:12px}.ck-action-tabs [aria-pressed=true]{color:#15383b;background:#d8c481;border-color:#f6e6b0}#ck-action-form[hidden]{display:none}.ck-card-description{background:#234247;border:1px solid #bfa46666;border-radius:10px;margin-top:14px;padding:14px;line-height:1.7}.ck-card-description p{margin:8px 0}.ck-card-description small{color:#c6d7cd}.ck-commodities small{color:#a8c4bc;grid-column:1/-1;font-size:11px}.ck-body details p{overflow-wrap:anywhere}.ck-body select{white-space:normal}@media (width<=600px){.ck-action-tabs{grid-template-columns:1fr 1fr;display:grid}.ck-action-tabs button{white-space:normal;overflow-wrap:anywhere;min-width:0}.ck-card-description{font-size:13px}.ck-select-resources{gap:5px}.ck-select-resources input{min-height:40px}}.seafarers-intro{background:linear-gradient(120deg,#244d55aa,#152f39);border:1px solid #94c4bb66;border-radius:5px;margin:12px 0;padding:13px 15px}.seafarers-intro strong{color:#e2ca88;font-size:14px}.seafarers-intro p{color:#c4d4c9;margin:8px 0;font-size:12px;line-height:1.7}.seafarers-intro small{color:#9eb8b3;font-size:10px}#game-expansion{font-size:12px}.sea-controls{border-block:1px solid #a5c8b433;margin:12px 0;padding:8px 0}.sea-controls .build-button{color:#e5d396;border-color:#afbe9955}.island-points{color:#dac68b;margin-top:6px;font-size:10px}@media (width<=700px){#game-expansion{font-size:14px}}.initiative{color:#dddfc8;border:1px solid #d5c48050;border-radius:10px;margin:12px 0;padding:10px;font-size:12px}.initiative summary{cursor:pointer;color:#e9d697}.initiative h4{margin:12px 0 6px}.initiative p{font-size:11px}.initiative-roll{border-top:1px solid #ffffff12;justify-content:space-between;align-items:center;gap:8px;padding:5px 0;display:flex}.initiative-roll>span:first-child{flex:1}.initiative-roll b{color:#f4e8c2;font-size:27px;font-weight:400}.initiative-roll strong{text-align:right;width:22px}.proposal-inbox{border-top:1px solid #d5c48060;margin-top:24px;padding-top:12px}.starting-recap{z-index:22;color:#ead79e;cursor:pointer;background:#133c40ef;border:1px solid #d5c48088;border-radius:20px;padding:8px 16px;position:fixed;bottom:140px;left:50%;transform:translate(-50%)}.victory{z-index:40;background:#17373b;max-height:calc(100dvh - 40px);top:50%;overflow:auto}.victory-total{color:#f2d788;margin:8px;font-size:40px}.victory-total small{font-size:14px}.victory-reveal>p:not(.victory-total){font-size:12px}.victory-reveal h3{font-size:14px}.victory-cards{flex-wrap:wrap;justify-content:center;gap:10px;margin:15px 0;display:flex}.victory-point-card{width:90px;animation:.6s both reveal-point;animation-delay:calc(var(--card-order)*.15s);background:linear-gradient(145deg,#344d51,#173033);border:2px solid #e6c774;border-radius:12px;flex-direction:column;align-items:center;padding:8px;display:flex;box-shadow:0 0 18px #dbb34b38}.victory-point-card svg{width:65px;height:65px}.victory-point-card strong{font-size:12px}.victory-point-card span{color:#ffe49f;font-size:20px}@keyframes reveal-point{0%{opacity:0;transform:rotateY(80deg)translateY(20px)}to{opacity:1;transform:none}}@media (width<=1000px){.starting-recap{bottom:calc(174px + env(safe-area-inset-bottom));font-size:11px}.victory{max-width:calc(100vw - 32px)}.victory-point-card{width:70px}.victory-point-card svg{width:48px;height:48px}}@media (prefers-reduced-motion:reduce){.victory-point-card{animation:none}}body:not([data-phase^=setup]) .starting-recap{display:none}@media (width<=700px) and (height>=501px),(width<=700px) and (orientation:portrait){body:has(.actions-panel.is-open) .starting-recap{display:none}body:has(.actions-panel.is-open) .harvest-notice{visibility:hidden}}@media (height<=500px) and (width<=1000px) and (orientation:landscape){.starting-recap{max-width:calc(100vw - 280px);bottom:35px;left:calc(50% - 130px)}}@media (width<=700px){.victory{padding:24px}.victory h2{font-size:30px}}.dice-dock:has(#roll:not([hidden])) .harvest-recap{font-size:9px;position:absolute;bottom:4px;left:14px}@media (height<=500px) and (width<=1000px) and (orientation:landscape){.dice-dock:has(#roll:not([hidden])) .harvest-recap{position:static}}.harvest-notice{pointer-events:none}.harvest-close{pointer-events:auto}.card-art{width:100%;height:100%;color:var(--card-accent,#d8bb78);filter:drop-shadow(0 5px 3px #0004);display:block}.inventory{perspective:900px;gap:9px;bottom:22px}.inventory:focus-within{z-index:7}.inventory:has(.resource:hover){z-index:7}.resource{background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--card-accent) 32%,#23393a),#172c2b 72%);transform-origin:50% 110%;-webkit-backdrop-filter:none;backdrop-filter:none;cursor:default;border:2px solid #a18c60;border-radius:12px 12px 7px 7px;width:86px;height:98px;padding:0;transition:transform .22s,box-shadow .22s,border-color .22s;position:relative;box-shadow:0 5px #0b2025,0 9px 18px #03171c88,inset 0 0 0 2px #ecd4a429}.resource:before{content:"";border:1px solid color-mix(in srgb,var(--card-accent) 65%,transparent);pointer-events:none;border-radius:8px 8px 4px 4px;position:absolute;inset:4px}.resource:first-child{transform:rotate(-5deg)translateY(4px)}.resource:nth-child(2){transform:rotate(-2.5deg)}.resource:nth-child(4){transform:rotate(2.5deg)}.resource:nth-child(5){transform:rotate(5deg)translateY(4px)}.resource:hover,.resource:focus-visible{box-shadow:0 4px 0 #243533,0 0 24px color-mix(in srgb,var(--card-accent) 45%,transparent),0 14px 25px #03171ca0;z-index:2;border-color:#f2d79a;outline:0;transform:translateY(-17px)rotate(0)scale(1.13)}.resource>.card-art{width:82%;height:75%;position:absolute;top:0;left:9%}.resource .resource-top{display:block;position:absolute;inset:0}.resource .resource-top>span{display:none}.resource strong{color:#fff0cc;text-shadow:0 2px #081f2b;background:linear-gradient(145deg,#345d5d,#132c34);border:2px solid #eed198;border-radius:10px 5px;place-items:center;width:32px;height:32px;font:700 22px Georgia;display:grid;position:absolute;top:-9px;right:-7px;box-shadow:0 3px 8px #0008}.resource small{color:#273b32;letter-spacing:2px;text-align:center;background:linear-gradient(90deg,#b29762,#f0d89e,#b29762);border-radius:2px;margin:0;padding:4px 0;font-size:11px;font-weight:650;position:absolute;bottom:7px;left:5px;right:5px;box-shadow:0 2px 4px #0005}.resource small span{display:none}.dice-dock{bottom:140px}.harvest-notice{border-color:#d4bf8099;border-radius:13px;padding:18px 25px 20px;bottom:267px}.harvest-heading{text-align:center;letter-spacing:2px;margin-bottom:17px}.harvest-cards{flex-wrap:nowrap;justify-content:center;gap:12px;max-width:none;padding:0 5px;display:flex}.harvest-card{background:radial-gradient(ellipse at 50% 25%,color-mix(in srgb,var(--card-accent) 38%,#233b3b),#122c31 80%);width:100px;min-width:0;height:137px;box-shadow:0 4px 0 #0b2529,inset 0 0 0 2px #ecd4a426,0 0 18px color-mix(in srgb,var(--card-accent) 20%,transparent);border:2px solid #d4b778;border-radius:15px 15px 8px 8px;flex-direction:column;flex:0 100px;gap:0;padding:5px;display:flex;position:relative}.harvest-card:before{content:"";pointer-events:none;border:1px solid #ead29255;border-radius:10px 10px 4px 4px;position:absolute;inset:4px}.harvest-art{flex:1;width:100%;min-height:0}.harvest-art .card-art{width:100%;height:100%}.harvest-card>.harvest-card-label{color:#263d35;text-align:center;letter-spacing:2px;background:linear-gradient(90deg,#b59a62,#f1dca3,#b59a62);border-radius:3px;align-self:stretch;padding:5px 0;font-size:12px;font-weight:650;display:block}.harvest-card strong{color:#fff0bf;letter-spacing:0;background:linear-gradient(145deg,#3f6960,#193943);border:2px solid #f0d599;border-radius:9px 5px;place-items:center;min-width:33px;height:30px;padding:0 4px;font:700 19px Georgia;display:grid;position:absolute;top:-10px;right:-8px;box-shadow:0 3px 9px #0006}.is-new-harvest .harvest-card{animation:.55s cubic-bezier(.2,.8,.3,1) both harvest-card-reveal;animation-delay:calc(var(--card-order)*90ms)}@keyframes harvest-card-reveal{0%{opacity:0;transform:translateY(22px)rotateY(-55deg)scale(.8)}to{opacity:1;transform:translateY(0)rotateY(0)scale(1)}}@media (width<=700px){.harvest-notice{padding:14px 15px 16px}.harvest-heading{margin-bottom:16px;font-size:11px}.harvest-cards{gap:7px;padding:0 3px}.harvest-card{border-radius:11px 11px 6px 6px;flex-basis:74px;width:74px;height:108px;padding:4px}.harvest-card>.harvest-card-label{letter-spacing:0;padding:4px 0;font-size:10px}.harvest-card strong{min-width:26px;height:25px;padding:0 3px;font-size:16px;top:-9px;right:-5px}}@media (prefers-reduced-motion:reduce){.is-new-harvest .harvest-card{animation:none}}#development-dialog{background:radial-gradient(at 50% 0,#385654,#152d32 70%);border:2px solid #b29967;border-radius:15px;box-shadow:0 0 0 4px #142a2c,0 0 0 5px #b2996755,0 30px 100px #06191ddd}#development-dialog .development-hand{perspective:1200px;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:18px;padding:12px 2px 18px;display:flex}.development-card{--card-accent:#d8bc78;background:radial-gradient(ellipse at 50% 20%,color-mix(in srgb,var(--card-accent) 32%,#2d3a3c),#162d31 65%);isolation:isolate;border:2px solid #b69b65;border-radius:26px 26px 12px 12px;flex-direction:column;flex:0 185px;gap:0;min-width:0;min-height:325px;padding:10px 12px 13px;transition:transform .22s,box-shadow .22s;display:flex;position:relative;box-shadow:0 5px #0c2024,0 10px 17px #0005,inset 0 0 0 3px #d5be8124}.development-card:before{content:"";pointer-events:none;z-index:-1;border:1px solid #d4bf8055;border-radius:20px 20px 8px 8px;position:absolute;inset:5px}.development-card:hover,.development-card:focus-within{box-shadow:0 5px 0 #0c2024,0 17px 28px #0006,0 0 18px color-mix(in srgb,var(--card-accent) 22%,transparent);transform:translateY(-6px)rotateX(3deg)}.development-card .card-seal{background:linear-gradient(140deg,var(--card-accent),#203c44);color:#fff3c5;z-index:1;border:2px solid #e1c791;border-radius:9px 50% 50%;place-items:center;width:34px;height:34px;font:700 16px Georgia;display:grid;position:absolute;top:10px;left:-8px;box-shadow:0 3px 7px #0008}.development-card>.card-illustration{border:2px solid color-mix(in srgb,var(--card-accent) 65%,#c5b882);background:radial-gradient(at 50% 35%,#62827e44,#071d2c88);border-radius:50% 50% 38% 38%;flex:0 0 118px;width:130px;height:118px;margin:2px auto 8px;overflow:hidden;box-shadow:inset 0 0 18px #05182299,0 3px #b0955655}.development-card>.card-body{text-align:center;flex-direction:column;flex:1;width:100%;display:flex}.development-card h3{letter-spacing:3px;color:#263d3b;background:linear-gradient(90deg,#baa06a,#efdba6,#baa06a);border:1px solid #d8bb7a;border-radius:3px;margin:0 -6px 9px;padding:5px 3px;font:600 17px Georgia,Microsoft YaHei,serif;box-shadow:0 3px 5px #0004}.development-card p{color:#dbdeca;flex:1;margin:0 0 10px;font-size:11px;line-height:1.7}.development-card small{color:#c4b989;margin-bottom:10px;font-size:10px;line-height:1.5}.development-card .secondary{border:1px solid color-mix(in srgb,var(--card-accent) 55%,#806f4b);color:#f5e7ba;background:linear-gradient(#34524c,#203d3b);border-radius:4px;width:100%;padding:7px 4px;font-size:11px}.development-card.is-playable{border-color:#b6e0af;box-shadow:0 5px #17302c,0 0 16px #96e5b031,inset 0 0 0 3px #d5be8124}.development-card.is-playable small{color:#b4efc4}.development-card.is-playable .secondary:hover{background:#45705a;box-shadow:0 0 14px #7fe7b255}.development-card.just-drawn{border-color:#f6d282;box-shadow:0 5px #443720,0 0 28px #f4cf7040}.card-passive{color:#e8ca85;letter-spacing:3px;padding:7px;font-size:11px}.award-card{border:1px solid #c5ad725c;border-radius:8px;position:relative;box-shadow:inset 0 0 0 3px #d4bf8008}.award-card.claimed{background:radial-gradient(ellipse at 80% 0,color-mix(in srgb,var(--owner) 22%,transparent),transparent 70%),#17343a;box-shadow:inset 0 0 0 3px #d4bf800c,0 0 16px color-mix(in srgb,var(--owner) 12%,transparent)}.card-effect{color:#fff0c4;pointer-events:none;z-index:100;perspective:900px;background:0 0;border:0;width:190px;height:270px;margin:0;padding:0;position:fixed;top:44%;left:50%;overflow:visible;transform:translate(-50%,-50%)}.card-effect::backdrop{pointer-events:none;background:0 0}.effect-card{transform-style:preserve-3d;animation:1.8s both card-cast;position:absolute;inset:0}.effect-draw .effect-card{animation:1.8s cubic-bezier(.22,.7,.3,1) both card-reveal}.effect-card-front,.effect-card-back{background:radial-gradient(ellipse at 50% 20%,color-mix(in srgb,var(--card-accent) 40%,#233b46),#112b35 78%);backface-visibility:hidden;box-shadow:inset 0 0 0 5px #d8bd6b44,0 0 38px color-mix(in srgb,var(--card-accent) 60%,transparent);border:3px solid #efcc83;border-radius:22px 22px 12px 12px;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.effect-card-front>.card-art{width:165px;height:175px}.effect-card-front>strong{letter-spacing:4px;color:#f9e2aa;font:24px Georgia,Microsoft YaHei}.effect-label{color:#e5d6ab;margin-top:12px;font-size:11px}.effect-card-back{color:#e5ce88;background:repeating-conic-gradient(from 45deg,#294d4e 0deg 45deg,#1e3b43 45deg 90deg);font:75px Georgia;transform:rotateY(180deg)}.effect-card-back>span{letter-spacing:8px;margin-left:8px;font:14px Georgia}.effect-rays{background:repeating-conic-gradient(from 0deg,transparent 0deg 19deg,color-mix(in srgb,var(--card-accent) 25%,transparent) 20deg 23deg,transparent 24deg 40deg);animation:1.8s both card-rays;position:absolute;inset:-95px;-webkit-mask-image:radial-gradient(#000 15%,#0000 67%);mask-image:radial-gradient(#000 15%,#0000 67%)}.effect-particles{position:absolute;inset:0}.effect-particles i{width:5px;height:5px;box-shadow:0 0 9px var(--card-accent);background:#fff0bd;border-radius:50%;animation:1.5s ease-out .2s both card-spark;position:absolute;top:50%;left:50%}.resource-flight{z-index:35;pointer-events:none;width:50px;height:70px;box-shadow:0 0 22px var(--card-accent);background:#1f3c3f;border:2px solid #dac28a;border-radius:8px;position:fixed}.resource-flight>.card-art{height:52px}.resource-flight>strong{color:#fff2ad;text-shadow:0 2px 4px #000;font:20px Georgia;position:absolute;bottom:0;right:-7px}@keyframes card-reveal{0%{opacity:0;transform:translateY(75px)rotateY(180deg)scale(.55)}18%{opacity:1;transform:translateY(0)rotateY(180deg)scale(.9)}52%,78%{opacity:1;transform:rotateY(0)scale(1)}to{opacity:0;transform:translateY(70px)scale(.7)}}@keyframes card-cast{0%{opacity:0;transform:translateY(70px)rotate(-8deg)scale(.65)}25%,65%{opacity:1;transform:translateY(0)rotate(0)scale(1)}to{opacity:0;transform:translateY(-35px)scale(1.15)}}@keyframes card-rays{0%{opacity:0;transform:rotate(-20deg)scale(.5)}40%{opacity:.9}to{opacity:0;transform:rotate(30deg)scale(1.2)}}@keyframes card-spark{0%{opacity:0;transform:rotate(var(--angle)) translateX(30px)}25%{opacity:1}to{opacity:0;transform:rotate(var(--angle)) translateX(var(--distance)) scale(.1)}}.card-effect.reduced-motion .effect-card{animation:none;transform:none}.card-effect.reduced-motion .effect-rays,.card-effect.reduced-motion .effect-particles{display:none}#development-dialog .award-card{padding:10px;line-height:1.25}#development-dialog .award-card p{margin:5px 0;line-height:1.4}#development-dialog .award-card small{line-height:1.5;display:block}#development-dialog .award-cards{margin-bottom:12px}#development-dialog .development-rule{margin:8px 0}#development-dialog .development-hand{margin-top:12px}.development-card{min-height:306px}@media (width<=1000px){.resource{width:70px}.inventory{gap:8px}}@media (width<=700px){.resource{border-radius:9px 9px 5px 5px;flex:1;min-width:0;height:78px}.resource strong{width:27px;height:27px;font-size:19px;top:-6px;right:-4px}.resource small{letter-spacing:1px;padding:3px 0;font-size:10px;bottom:5px}.inventory{gap:6px;bottom:27px}.resource:hover,.resource:focus-visible{transform:translateY(-10px)scale(1.06)}.dice-dock{bottom:327px}.harvest-notice{bottom:456px}#development-dialog .development-hand{gap:12px;padding:10px 0 14px}.development-card{border-radius:20px 20px 9px 9px;flex-basis:calc(50% - 6px);min-height:318px;padding:8px 9px 10px}.development-card>.card-illustration{flex-basis:100px;width:104px;height:100px}.development-card h3{letter-spacing:2px;margin-bottom:7px;font-size:15px}.development-card p{font-size:10px}.development-card small{font-size:9px}.development-card .card-seal{width:28px;height:28px;font-size:13px;left:-5px}.card-effect{width:160px;height:235px}.effect-card-front>.card-art{width:140px;height:150px}.effect-card-front>strong{font-size:21px}.effect-label{font-size:10px}}@media (prefers-reduced-motion:reduce){.resource,.development-card{transition:none}.resource:hover,.resource:focus-visible,.development-card:hover,.development-card:focus-within{transform:none}.card-effect .effect-card{animation:none}.card-effect .effect-rays,.card-effect .effect-particles{display:none}}#mobile-actions-toggle{display:none}.terrain-status{z-index:2;color:#e1d4a7;text-align:center;pointer-events:none;background:#15373eeb;border:1px solid #c8b47766;border-radius:7px;width:max-content;max-width:calc(100% - 20px);padding:8px 12px;font-size:11px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.terrain-status button{color:#24372f;pointer-events:auto;background:#d4bf80;border:0;border-radius:4px;margin:6px auto 0;padding:7px 12px;font-size:11px;display:block}body:has(.terrain-status) #load-progress{display:none}@media (width<=700px){body{--safe-bottom:env(safe-area-inset-bottom,0px)}header{height:54px;padding:0 12px}.brand{gap:8px;font-size:26px}.brand span{letter-spacing:5px;font-size:17px}.brand small{letter-spacing:2px;font-size:7px}.status{font-size:9px}.header-right{gap:6px}body[data-view=game] #world{top:170px;bottom:calc(235px + var(--safe-bottom));touch-action:none}body[data-phase^=setup] #world{bottom:calc(154px + var(--safe-bottom))}.players-panel{gap:4px;max-height:66px;top:58px;left:8px;right:8px;overflow:hidden}.players-panel>.room-note{display:none}.player-card{margin:0;padding:5px;overflow:hidden}.player-card .row>span:first-of-type{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.player-card .score{font-size:17px}.player-meta{gap:3px;margin-top:4px;font-size:8px}.player-meta>span:last-child{display:none}.player-development{white-space:nowrap;margin-top:3px;padding-top:3px;font-size:8px}.turn-banner{width:94%;margin:0;line-height:1.25;top:128px}.turn-banner .eyebrow{display:none}.turn-banner .phase{letter-spacing:1px;font-size:16px}.turn-banner small{margin-top:4px;font-size:10px}.actions-panel{z-index:8;bottom:calc(100px + var(--safe-bottom));width:auto;max-height:none;top:auto;left:10px;right:10px;overflow:visible}#mobile-actions-toggle{color:#efddb0;background:#193a3ef5;border:1px solid #ad986866;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:42px;padding:10px 14px;font-size:12px;display:flex}.actions-panel>.action-card{display:none}.actions-panel.is-open>.action-card{overscroll-behavior:contain;max-height:min(42dvh,340px);padding:14px;display:block;overflow-y:auto;box-shadow:0 -15px 40px #051d2b66}.actions-panel.is-open #mobile-actions-toggle{border-radius:8px 8px 0 0}.actions-panel .eyebrow{display:none}.actions-panel .wide{margin-top:10px}.actions-panel .key-picker{width:100%;margin:10px 0;display:block}.actions-panel .key-picker summary{padding:9px 0}.actions-panel .build-button{min-height:44px}.actions-panel input,.actions-panel select,.lobby input{font-size:16px}.dice-dock{bottom:calc(152px + var(--safe-bottom));gap:15px;min-width:260px;padding:7px 13px}.dice-pair{margin:0 -7px;padding:2px 0;transform:scale(.8)}.dice-total{font-size:18px}.dice-caption{font-size:9px}.dice-readout{gap:3px}.dice-readout .primary{min-height:35px}.dice-recap{font-size:10px}.inventory{bottom:calc(22px + var(--safe-bottom));width:calc(100% - 28px)}.resource{height:64px}.resource small{padding:2px 0;bottom:4px}.resource strong{width:25px;height:24px;font-size:17px}.world-controls{bottom:var(--safe-bottom);left:10px}.world-controls button{min-width:30px}.harvest-notice{bottom:calc(239px + var(--safe-bottom));z-index:9;max-height:calc(100dvh - 310px);overflow:auto}#toast{bottom:calc(150px + var(--safe-bottom))}.connection-block{top:54px}.victory{max-height:80dvh;overflow:auto}body[data-view=lobby] #world{top:54px;bottom:390px}.lobby{bottom:26px;left:18px}.lobby h1{margin-bottom:12px;font-size:25px;line-height:1.15}.lobby .room-card{padding:14px}.lobby .tabs{margin-bottom:12px}.lobby .room-note{margin-top:10px}.waiting{max-height:calc(100dvh - 93px);top:65px;bottom:28px;overflow:auto}}@media (height<=740px) and (width<=700px){.players-panel{max-height:49px}.player-development{display:none}.turn-banner{top:111px}.turn-banner .phase{font-size:14px}body[data-view=game] #world{top:149px}.lobby h1{display:none}}@media (height<=500px) and (width<=1000px) and (orientation:landscape){header{height:48px;padding:0 15px}.brand span{font-size:18px}.brand{font-size:26px}.brand small{display:none}body[data-view=game] #world,body[data-phase^=setup] #world{touch-action:none;top:96px;bottom:26px;right:260px}body[data-view=lobby] #world{top:48px;bottom:0}.players-panel{gap:5px;width:auto;max-height:45px;display:flex;top:49px;left:12px;right:270px;overflow:hidden}.players-panel>.panel-heading,.players-panel>.room-note,.players-panel>.award-cards,.player-development{display:none}.player-card{flex:1;min-width:0;margin:0;padding:4px}.player-card .avatar{display:none}.player-card .row{font-size:10px}.player-card .score{font-size:16px}.player-meta{margin-top:2px;font-size:8px}.player-meta>span:last-child{display:none}.turn-banner{width:240px;min-width:0;margin:0;top:55px;left:auto;right:10px;transform:none}.turn-banner .eyebrow{display:none}.turn-banner .phase{font-size:14px}.turn-banner small{margin-top:2px;font-size:9px}.actions-panel{width:240px;inset:187px 10px 87px auto;overflow:auto}.action-card{padding:10px}.action-card .eyebrow,.action-card .log{display:none}.action-card h3{font-size:13px}.action-card p{font-size:11px}.actions-panel .wide{margin-top:8px}#mobile-actions-toggle{display:none}.actions-panel>.action-card,.actions-panel.is-open>.action-card{max-height:none;box-shadow:none;display:block}body[data-phase^=setup] .actions-panel{top:100px}.dice-dock{gap:10px;width:240px;min-width:240px;padding:5px 10px;inset:101px 10px auto auto;transform:none}.dice-pair{margin:0 -10px;padding:0;transform:scale(.75)}.dice-readout{gap:2px;min-width:0}.dice-total{font-size:16px}.dice-caption{font-size:8px}.dice-readout .primary{padding:6px 12px}.inventory{gap:5px;width:240px;bottom:8px;left:auto;right:10px;transform:none}.resource{flex:1;width:44px;min-width:0;height:58px}.resource strong{width:22px;height:23px;font-size:15px;right:-4px}.resource small{letter-spacing:0;padding:2px 0;font-size:9px;bottom:3px}.harvest-notice{width:max-content;min-width:0;max-width:calc(100vw - 280px);max-height:calc(100dvh - 145px);bottom:35px;left:calc(50% - 130px);overflow:auto}.harvest-card{width:66px;height:100px}.harvest-cards{gap:7px}.harvest-heading{margin-bottom:12px}.world-controls{bottom:2px;left:12px}.world-controls button{height:23px}.waiting{width:340px;top:55px;bottom:10px;overflow:auto}.lobby{top:55px;bottom:10px;overflow:auto}.lobby h1,.lobby .intro,.lobby .eyebrow,.mode-tag{display:none}}.variant-description{color:#ccbd8e;margin:8px 0 14px;font-size:11px;line-height:1.7}#map-variant{padding:9px;font-size:12px}.lobby .room-card .variant-description{margin:7px 0 12px}@media (width>=1001px){body[data-variant=extended] .players-panel{scrollbar-width:thin;bottom:65px;overflow-y:auto}body[data-variant=extended] .player-card{margin-bottom:6px;padding:8px}body[data-variant=extended] .player-card .avatar{width:27px;height:27px}body[data-variant=extended] .player-card .score{font-size:23px}body[data-variant=extended] .player-meta{margin-top:4px}body[data-variant=extended] .player-development{margin-top:4px;padding-top:4px;font-size:8px}body[data-variant=extended] .player-card .voice-badge{margin-top:2px;font-size:8px}}@media (width<=700px){#map-variant{font-size:14px}.lobby{max-height:calc(100dvh - 95px);overflow-y:auto}body[data-variant=extended] .players-panel{scrollbar-width:thin;scrollbar-color:#918263 transparent;touch-action:pan-x;max-height:66px;padding-bottom:4px;display:flex;overflow:auto hidden}body[data-variant=extended] .players-panel>.panel-heading,body[data-variant=extended] .players-panel>.award-cards{display:none}body[data-variant=extended] .player-card{flex:0 0 116px;min-width:0}.trade-recipients{flex-wrap:wrap}.trade-recipients label{min-width:84px}}@media (height<=740px) and (width<=700px){body[data-variant=extended] .players-panel{max-height:49px}}@media (height<=500px) and (width<=1000px) and (orientation:landscape){body[data-variant=extended] .players-panel{scrollbar-width:thin;max-height:45px;overflow-x:auto}body[data-variant=extended] .player-card{flex:0 0 95px}.lobby,.waiting{max-height:none}}#map-mode{margin-bottom:10px;padding:9px;font-size:12px}.map-description{color:#ccbd8e;overflow-wrap:anywhere;font-size:11px;line-height:1.6}.map-description code{font-size:10px}@media (width<=700px){#map-mode{font-size:14px}}@media (width>=1001px),(width>=701px) and (height>=501px){.lobby{max-height:calc(80dvh - 90px);padding-right:8px;overflow-y:auto}.waiting{max-height:calc(83dvh - 90px);overflow-y:auto}}.map-preview{background:#0b2e33;border:1px solid #cbb87b50;border-radius:10px;margin:12px 0;padding:12px}.map-preview-heading{color:#eedca9;justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.map-preview-heading span{color:#c7d6c7;font-size:12px}.map-preview-heading #reroll-map{color:#f3dfaa;background:#d3bf8120;border-color:#cbb87b80;min-height:44px;padding:8px 12px;font-size:12px}.map-preview-heading #reroll-map:focus-visible{outline-offset:2px;outline:2px solid #f3dfaa}.map-preview svg{width:100%;max-height:265px;margin:12px auto 4px;display:block;overflow:visible}.map-preview svg text{text-anchor:middle;dominant-baseline:middle;pointer-events:none}.preview-resource{fill:#fff9e9;paint-order:stroke;stroke:#102e3444;stroke-width:.05px;font-size:.67px;font-weight:600}.preview-number{font:700 .79px Georgia,serif}.map-preview p{color:#b5c9c1;margin:8px 0 0;font-size:11px;line-height:1.6}.map-preview-status{color:#e6d39a;min-height:14px;margin-top:6px;font-size:10px;display:block}@media (width<=700px){.map-preview{padding:10px}.map-preview svg{max-height:clamp(130px,30dvh,245px)}.map-preview button{min-height:44px}}.map-labels{pointer-events:none;z-index:1;position:absolute;inset:0;overflow:hidden}.map-label{pointer-events:none;contain:layout style;display:block;position:absolute;top:0;left:0}.map-label svg{width:100%;height:100%;display:block}.map-label[hidden]{display:none}.map-label-links{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.map-label-links line{stroke:#d1bc83;stroke-width:1.5px;stroke-opacity:.85}.map-port-label{pointer-events:auto}.world-controls #camera-mode{white-space:nowrap;border-radius:5px;width:auto;min-width:46px;padding:0 8px;font-size:10px}.world-controls #camera-mode[aria-pressed=true]{color:#203a35;background:#d4bf80;border-color:#d4bf80}.world-controls #camera-mode[hidden]{display:none}#world>canvas:focus-visible{outline-offset:-3px;outline:2px solid #d4bf80}@media (width<=400px){.world-controls{gap:4px}.world-controls #camera-mode{min-width:34px;padding:0 4px}.world-controls #sound-button{width:36px}}.world-controls .view-switch{background:#123039ee;border:1px solid #c5b17c66;border-radius:6px;gap:2px;padding:2px;display:flex}.world-controls .view-switch button{color:#bacec9;background:0 0;border:0;border-radius:4px;width:34px;min-width:34px;height:28px;padding:0;font-size:11px;line-height:1}.world-controls .view-switch button[aria-pressed=true]{color:#203a35;background:#d4bf80;font-weight:700}@media (width<=700px){.world-controls .view-switch{padding:0}.world-controls .view-switch button{width:30px;min-width:30px;height:22px;font-size:10px}}@media (height<=500px) and (width<=1000px) and (orientation:landscape){.world-controls .view-switch{padding:0}.world-controls .view-switch button{height:22px}}#mobile-hd[hidden],#mobile-hd-hint[hidden]{display:none!important}.world-controls #mobile-hd{white-space:nowrap;border-radius:8px;width:auto;padding:5px 10px}.world-controls #mobile-hd[aria-pressed=true]{color:#203d3e;background:#d4bf80;border-color:#f2d89e}.world-controls #mobile-hd-hint{color:#b5c8c4;flex-basis:100%;font-size:11px;line-height:1.5}body:not(.compact-mobile-hud) #mobile-hd-hint{display:none}body.compact-mobile-hud .terrain-status{top:var(--turn-panel-bottom,84px);z-index:9;width:max-content;max-width:calc(100vw - 24px);position:fixed;bottom:auto;left:50%;right:auto;transform:translate(-50%)}body.compact-mobile-hud .terrain-status button{min-height:44px}.honor-gallery{perspective:1100px;grid-template-columns:1fr 1fr;gap:22px;display:grid}.honor-card{--honor:#eeb663;isolation:isolate;box-sizing:border-box;text-align:center;color:#ebd5a0;background:linear-gradient(135deg,#e2c28a,#4c3930 20%,#b39160 46%,#302b2d 67%,#cea870);border:3px solid #987146;border-radius:48% 48% 17px 17px/17% 17% 17px 17px;width:100%;min-width:0;max-width:265px;margin:auto;padding:11px 13px 14px;transition:transform .3s,filter .3s;position:relative;box-shadow:0 6px #302a2c,0 8px #997c50,0 16px 24px #03151c88,inset 0 0 0 2px #ffe4a888}.honor-card:before{content:"";border-radius:inherit;pointer-events:none;z-index:3;border:1px solid #e7c889a8;position:absolute;inset:5px}.honor-card:after{content:"◆";width:28px;color:var(--honor);text-shadow:0 2px 1px #050e1a,0 0 14px var(--honor);z-index:4;font-size:22px;position:absolute;bottom:-11px;left:calc(50% - 14px)}.honor-crown{width:40px;height:30px;color:var(--honor);text-shadow:0 0 13px var(--honor),2px 3px #322b37;z-index:5;font-size:29px;position:absolute;top:-14px;left:calc(50% - 20px)}.honor-points{z-index:5;color:#fff1bf;text-shadow:0 2px 2px #050b13;background:radial-gradient(circle at 35% 20%,#667b8c,#233141 60%,#0f1e2d);border:3px solid #eacb8a;border-radius:45% 45% 48% 48%;flex-direction:column;justify-content:center;align-items:center;width:51px;height:57px;font:700 26px Georgia;display:flex;position:absolute;top:36px;right:-8px;box-shadow:0 3px #463327,0 4px 10px #0008}.honor-points small{letter-spacing:1px;color:#e2c98d;font:8px Microsoft YaHei,sans-serif}.honor-portrait{background:#152d39;border:3px solid #372f30;border-radius:48% 48% 4px 4px/29% 29% 4px 4px;height:195px;overflow:hidden;box-shadow:0 0 0 2px #dfbd7b,inset 0 0 25px #080f26}.honor-art{object-fit:cover;filter:saturate(.92);width:100%;height:100%;transition:transform .55s,filter .55s;display:block}.honor-ribbon{z-index:4;clip-path:polygon(0 0,8% 8%,50% 0,92% 8%,100% 0,97% 50%,100% 100%,50% 91%,0 100%,3% 50%);background:linear-gradient(#f2d9a0,#b98c51 48%,#e3c28a 52%,#b7884b);border:1px solid #fee4a8;margin:-13px -11px 0;padding:7px 5px;position:relative;box-shadow:0 3px 7px #050b1799}.honor-card .honor-ribbon h3{color:#312d2d;letter-spacing:3px;text-shadow:0 1px #ffe7ad;margin:0;font:700 20px Georgia,Microsoft YaHei,serif}.honor-description{color:#49392f;background:radial-gradient(at 50% 20%,#f1dfb6,#c0a173);border:1px solid #a08050;border-radius:0 0 9px 9px;margin:-4px 0 0;padding:12px 8px 8px;box-shadow:inset 0 2px 9px #624b3777}.honor-rarity{letter-spacing:3px;color:#6d4a31;font-size:9px;font-weight:700}.honor-card .honor-rule{color:#4e3c2f;margin:8px 0 6px;font-size:12px;line-height:1.5}.honor-card .honor-owner{color:#573f30;overflow-wrap:anywhere;background:#46332b12;border-radius:3px;margin:6px 0;padding:5px 2px;font-size:11px;font-weight:650;line-height:1.5;display:block}.is-claimed .honor-owner{color:#f2e3bb;border-left:3px solid var(--owner);background:#22323e}.honor-progress{background:#705b4144;border-radius:2px;height:4px;margin:9px 6px 6px;overflow:hidden;box-shadow:inset 0 1px 1px #382b2944}.honor-progress span{background:linear-gradient(90deg,#776047,#e9af57);height:100%;display:block;box-shadow:0 0 8px #ffe2a1}.honor-card[data-honor=largestArmy] .honor-progress span{background:linear-gradient(90deg,#685475,#a789d5)}.honor-count,.honor-tie{color:#604934;font-size:10px;line-height:1.6;display:block}.honor-tie{color:#75614a;margin-top:5px;font-size:9px}.honor-shine{pointer-events:none;border-radius:inherit;z-index:6;position:absolute;inset:0;overflow:hidden}.honor-shine:after{content:"";opacity:0;background:linear-gradient(115deg,#0000 40%,#fff6da77 49%,#0000 58%);position:absolute;inset:-50%;transform:translate(-65%)}.is-yours{box-shadow:0 6px 0 #43302b,0 8px 0 #997c50,0 0 25px color-mix(in srgb,var(--honor) 28%,transparent),inset 0 0 0 2px #ffe4a8aa;border-color:#eaca85}@media (hover:hover){.honor-card:hover{filter:brightness(1.05);transform:translateY(-5px)rotateX(3deg)}.honor-card:hover .honor-art{filter:saturate(1.15);transform:scale(1.045)}.honor-card:hover .honor-shine:after{animation:.85s ease-out honor-sheen}}#development-dialog .honor-gallery{gap:24px;margin:28px 4px 30px}.honor-gallery-compact{grid-template-columns:1fr 1fr;gap:9px;margin-top:25px;padding:0 6px 10px 0}.honor-compact{border-width:2px;border-radius:40% 40% 8px 8px/13% 13% 8px 8px;padding:5px 5px 6px;box-shadow:0 3px #302a2c,0 4px #997c50,0 7px 15px #03151c88}.honor-compact .honor-portrait{border-width:1px;height:77px}.honor-compact .honor-points{border-width:2px;width:29px;height:32px;font-size:17px;top:18px;right:-5px}.honor-compact .honor-points small{display:none}.honor-compact .honor-crown{font-size:18px;top:-10px}.honor-compact .honor-ribbon{margin:-10px -5px 0;padding:5px 0}.honor-card.honor-compact h3{letter-spacing:0;font-size:10px}.honor-compact .honor-description{padding:7px 3px 5px}.honor-compact .honor-rarity,.honor-compact .honor-rule,.honor-compact .honor-tie{display:none}.honor-compact .honor-owner{margin:2px 0;padding:3px 1px;font-size:8px;line-height:1.4}.honor-compact .honor-progress{height:3px;margin:5px 3px 3px}.honor-compact .honor-count{font-size:8px}.honor-compact:after{font-size:15px;bottom:-9px}.honor-announcement{clip-path:inset(50%);white-space:nowrap;pointer-events:none;width:1px;height:1px;position:fixed;overflow:hidden}.honor-reveal{color:#ffe9b8;pointer-events:none;z-index:110;isolation:isolate;perspective:1200px;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;width:340px;max-width:100vw;height:540px;max-height:100dvh;margin:auto;padding:0;display:flex;position:fixed;inset:0;overflow:visible}.honor-reveal::backdrop{pointer-events:none;background:radial-gradient(#0b162746,#0000 70%)}.honor-reveal-card{transform-origin:50% 55%;z-index:2;width:240px;animation:4.2s cubic-bezier(.2,.7,.2,1) both honor-arrive}.honor-reveal-card .honor-card{max-width:none;transform:none}.honor-reveal-card .honor-portrait{height:180px}.honor-reveal-card .honor-shine:after{animation:1.1s ease-out .85s both honor-sheen}.honor-reveal-heading{letter-spacing:5px;color:#ffe0a0;text-shadow:0 2px 5px #06101d,0 0 15px var(--honor);z-index:3;margin:0 0 22px;font-size:20px;font-weight:600;animation:4.2s both honor-caption}.honor-reveal-caption{text-align:center;z-index:3;background:#122637ed;border:1px solid #dec08766;border-radius:4px;max-width:310px;margin:22px 10px 0;padding:7px 14px;font-size:12px;line-height:1.8;animation:4.2s both honor-caption;box-shadow:0 4px 18px #020b1666}.honor-aura{background:repeating-conic-gradient(from 0deg,transparent 0deg 13deg,color-mix(in srgb,var(--honor) 32%,transparent) 14deg 17deg,transparent 19deg 30deg);z-index:-1;animation:4.2s ease-out both honor-aura;position:absolute;inset:-20%;-webkit-mask-image:radial-gradient(#000 10%,#0000 67%);mask-image:radial-gradient(#000 10%,#0000 67%)}.honor-orbit{border:2px solid color-mix(in srgb,var(--honor) 70%,transparent);width:310px;height:310px;box-shadow:0 0 24px var(--honor),inset 0 0 18px color-mix(in srgb,var(--honor) 45%,transparent);border-radius:50%;animation:2s ease-out .45s both honor-orbit;position:absolute;top:49%;left:50%}.honor-sparks{z-index:4;position:absolute;inset:0}.honor-sparks i{width:4px;height:9px;box-shadow:0 0 9px var(--honor);animation:honor-spark 2.2s calc(.65s + var(--delay)) ease-out both;background:#ffe8ab;position:absolute;top:48%;left:50%}.honor-reveal-lost .honor-aura{opacity:.3}.honor-reveal-lost .honor-sparks,.honor-reveal-lost .honor-orbit{display:none}@keyframes honor-arrive{0%{opacity:0;transform:translateY(65px)rotateY(-100deg)rotate(-8deg)scale(.55)}16%{opacity:1;transform:translateY(-8px)rotateY(12deg)rotate(2deg)scale(1.04)}25%,80%{opacity:1;transform:translateY(0)rotateY(0)scale(1)}to{opacity:0;transform:translateY(32px)scale(.82)}}@keyframes honor-sheen{0%{opacity:0;transform:translate(-65%)}20%{opacity:.8}to{opacity:0;transform:translate(65%)}}@keyframes honor-caption{0%,10%{opacity:0;transform:translateY(10px)}24%,80%{opacity:1;transform:none}to{opacity:0;transform:translateY(-8px)}}@keyframes honor-aura{0%{opacity:0;transform:rotate(-15deg)scale(.6)}22%,72%{opacity:1}to{opacity:0;transform:rotate(35deg)scale(1.25)}}@keyframes honor-orbit{0%{opacity:0;transform:translate(-50%,-50%)scale(.3)rotateX(35deg)}20%{opacity:.8}to{opacity:0;transform:translate(-50%,-50%)scale(1.6)rotateX(35deg)}}@keyframes honor-spark{0%{opacity:0;transform:rotate(var(--angle)) translateY(70px) scale(.2)}20%{opacity:1}to{opacity:0;transform:rotate(var(--angle)) translateY(var(--travel)) scale(.15)}}@media (width<=700px){#development-dialog .honor-gallery{gap:14px;margin:24px 0}.honor-card{border-width:2px;padding:7px 8px 10px}.honor-portrait{height:140px}.honor-points{width:37px;height:42px;font-size:21px;top:23px;right:-5px}.honor-points small{font-size:6px}.honor-card .honor-ribbon h3{letter-spacing:1px;font-size:15px}.honor-ribbon{margin:-11px -7px 0}.honor-description{padding:10px 4px 6px}.honor-rarity{letter-spacing:1px;font-size:7px}.honor-card .honor-rule{min-height:30px;margin:6px 0;font-size:10px}.honor-card .honor-owner{min-height:27px;font-size:9px}.honor-count{font-size:9px}.honor-tie{min-height:24px;font-size:8px;line-height:1.5}.honor-reveal{height:520px}.honor-reveal-card{width:220px}.honor-reveal-heading{font-size:18px}.honor-reveal .honor-card .honor-rule,.honor-reveal .honor-card .honor-owner,.honor-reveal .honor-tie{min-height:0}.honor-reveal .honor-points{width:44px;height:48px}.honor-reveal .honor-ribbon h3{font-size:19px}.honor-sparks i:nth-child(n+11){display:none}}@media (height<=560px){.honor-reveal{flex-direction:row;gap:18px;width:480px;height:340px}.honor-reveal-card{flex-shrink:0;width:160px}.honor-reveal-card .honor-portrait{height:105px}.honor-reveal-heading{text-align:center;font-size:15px;position:absolute;top:80px;left:180px;right:0}.honor-reveal-caption{width:170px;margin:30px 0 0}.honor-reveal .honor-card .honor-rule,.honor-reveal .honor-tie{display:none}.honor-reveal .honor-ribbon h3{font-size:15px}.honor-reveal .honor-points{width:33px;height:38px;font-size:20px}.honor-reveal .honor-owner{font-size:10px}.honor-orbit{width:180px;height:180px}}@media (prefers-reduced-motion:reduce){.honor-card,.honor-art{transition:none}.honor-card:hover,.honor-card:hover .honor-art{transform:none}.honor-reveal-card,.honor-reveal-heading,.honor-reveal-caption,.honor-shine:after{animation:none!important}.honor-aura,.honor-orbit,.honor-sparks{display:none}.honor-reveal-card{opacity:1;transform:none}}.voice-controls{z-index:12;align-items:center;gap:6px;display:flex;position:fixed;bottom:26px;right:26px}.voice-controls[hidden],.voice-controls button[hidden],.voice-message[hidden]{display:none}.voice-controls button{color:#ead8a7;background:#183b40;border:1px solid #aa966b80;border-radius:6px;min-height:36px;padding:7px 12px;font-size:11px}.voice-mic[aria-pressed=true]{color:#f2ffdc;background:#356c50;border-color:#98d5a5}.voice-message{color:#e8d9b6;background:#163438f5;border:1px solid #b39a65;border-radius:7px;width:270px;padding:12px;font-size:12px;line-height:1.65;position:absolute;bottom:46px;right:0;box-shadow:0 6px 24px #0005}.voice-badge{color:#9eb6af;flex:none;margin-top:5px;font-size:9px;display:inline-block}.voice-badge.speaking{color:#d5ffbc;text-shadow:0 0 7px #8dfa9d}.voice-badge.speaking:before{content:"● ";color:#99eeaf}.player-card:has(.voice-badge.speaking){box-shadow:inset 0 0 0 1px #a9e3a5,0 0 14px #9ee9ae44}@media (width<=700px){.voice-controls{right:10px;bottom:env(safe-area-inset-bottom,0px);gap:4px}.voice-controls button{min-height:32px;padding:6px 9px;font-size:10px}.voice-controls .voice-message{max-width:calc(100vw - 25px);bottom:40px}.player-card{position:relative}.player-card .voice-badge{margin:0;font-size:8px;position:absolute;bottom:5px;right:5px}.player-development{text-overflow:ellipsis;max-width:65%;overflow:hidden}.players-panel{max-height:66px}.world-controls{z-index:12;bottom:5px}.inventory{bottom:calc(44px + var(--safe-bottom))}.actions-panel{bottom:calc(122px + var(--safe-bottom))}.dice-dock{bottom:calc(174px + var(--safe-bottom))}.harvest-notice{bottom:calc(261px + var(--safe-bottom))}body[data-view=game] #world{bottom:calc(257px + var(--safe-bottom))}body[data-phase^=setup] #world{bottom:calc(176px + var(--safe-bottom))}}@media (height<=740px) and (width<=700px){.players-panel{max-height:49px}.player-card .voice-badge{bottom:4px}.player-meta{white-space:nowrap;max-width:65%;overflow:hidden}}@media (height<=500px) and (width<=1000px) and (orientation:landscape){.voice-controls{bottom:0;right:275px}.voice-controls button{min-height:25px;padding:3px 7px;font-size:10px}.voice-badge{display:none}.inventory{bottom:8px}.actions-panel{bottom:87px}.dice-dock{bottom:auto}.harvest-notice{bottom:35px}body[data-view=game] #world,body[data-phase^=setup] #world{bottom:26px}}.guide-button{white-space:nowrap;color:#e7d49d;letter-spacing:1px;background:#16383c;border:1px solid #cdb77980;border-radius:6px;min-height:40px;padding:9px 15px;font-size:12px}.guide-button:hover{background:#29494a;border-color:#e2c987}#help{background:#143338;border:1px solid #aa9867;border-radius:12px;width:min(840px,100vw - 32px);max-width:840px;height:min(760px,100dvh - 40px);max-height:calc(100dvh - 40px);padding:0;line-height:1.8;overflow:hidden;box-shadow:0 25px 100px #03151799}#help[open]{flex-direction:column;display:flex}.guide-header{background:linear-gradient(120deg,#264647,#143338);border-bottom:1px solid #d1bd7f30;flex-shrink:0;justify-content:space-between;align-items:center;padding:24px 30px 18px;display:flex}.guide-header .eyebrow{letter-spacing:3px;margin:0 0 5px;font-size:9px}.guide-header h2{color:#f0e2b7;margin:0;font-size:25px}.guide-close{color:#f1e5c3;background:#10292f;border:1px solid #c5b17c66;border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;padding:0;line-height:1;display:grid}.guide-close svg{pointer-events:none;width:20px;height:20px;display:block}.guide-nav{scrollbar-width:thin;border-bottom:1px solid #d1bd7f30;flex-shrink:0;gap:6px;padding:14px 24px;display:flex;overflow-x:auto}.guide-nav button{color:#b5c6bd;background:0 0;border:1px solid #0000;border-radius:5px;flex:none;min-height:40px;padding:8px 12px;font-size:12px}.guide-nav button[aria-current]{color:#193438;background:#d8c188;border-color:#e6d2a1}.guide-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#79988b transparent;color:#ccdad0;flex:1;min-height:0;padding:26px 32px 34px;font-size:14px;overflow-y:auto}.guide-content h2{color:#f4e7c3;margin:0 0 18px;font-size:24px}.guide-content h3{color:#eed6a0;margin:24px 0 8px;font-size:16px}.guide-content p{margin:10px 0}.guide-content strong{color:#f2dfad}.guide-content li{color:#ccdad0;margin:12px 0;font-size:14px}.guide-content ol{padding-left:24px}.guide-content .guide-chapter{letter-spacing:2px;color:#b3a373;margin:0 0 8px;font-size:10px}.guide-lead{font-size:16px}.guide-note,.guide-flow{color:#e1d4ad;background:#c3af7312;border:1px solid #cdb77945;border-radius:6px;margin:18px 0;padding:13px 16px}.guide-tip{color:#aebfb4;border-left:2px solid #c6b37f;padding-left:14px}.guide-steps li::marker{color:#e1c68d}.guide-steps li p{margin:4px 0}.guide-pairs{grid-template-columns:1fr 1fr;gap:10px;display:grid}.guide-pairs>div,.guide-costs article{background:#0d282e;border:1px solid #7e9c7a40;border-radius:6px;padding:14px}.guide-pairs dt{color:#e6d8b3}.guide-pairs dd{color:#a5bdb4;margin:2px 0 0;font-size:12px}.guide-costs{grid-template-columns:1fr 1fr;gap:12px;display:grid}.guide-costs h3{margin:0}.guide-costs small{color:#adbdad;font-size:12px}.guide-card-list{margin:18px 0}.guide-card-list>div{border-bottom:1px solid #b6ae7b30;padding:15px 0}.guide-card-list dt{color:#eed6a0;font-size:16px}.guide-card-list dt small{color:#adbfaf;margin-left:8px;font-size:11px}.guide-card-list dd{margin:6px 0 0}.guide-score{flex-wrap:wrap;gap:10px;display:flex}.guide-score span{text-align:center;background:#0d282e;border:1px solid #b7a67455;border-radius:6px;flex:1;min-width:110px;padding:15px}.guide-score strong{font-size:24px;display:block}.guide-content details{border:1px solid #b7a67455;border-radius:6px;margin-top:20px;padding:12px 16px}.guide-content summary{cursor:pointer;color:#e2d5b0;min-height:30px}.guide-footer{text-align:center;color:#9eafa6;border-top:1px solid #d1bd7f30;flex-shrink:0;padding:11px 20px;font-size:10px}.guide-button:focus-visible,#help button:focus-visible,.guide-content:focus-visible,#help summary:focus-visible{outline-offset:-3px;outline:2px solid #edd598}@media (width<=700px){.guide-button{letter-spacing:0;min-height:36px;padding:7px 9px;font-size:10px}.header-right{flex-wrap:wrap;justify-content:flex-end;gap:2px 6px}.header-right .status{font-size:8px}#help{border-radius:9px;width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.guide-header{padding:16px 18px 12px}.guide-header h2{font-size:22px}.guide-nav{gap:3px;padding:8px 12px}.guide-nav button{min-height:44px;padding:9px 11px;font-size:12px}.guide-content{padding:20px 19px 28px;font-size:14px}.guide-content h2{font-size:21px}.guide-costs{gap:8px}.guide-costs article{padding:12px}.guide-costs p{font-size:12px}.guide-costs small{font-size:11px}.guide-footer{padding:8px;font-size:9px}.guide-pairs{gap:8px}.guide-pairs>div{padding:10px}.guide-header .eyebrow{font-size:8px}}@media (width<=400px){.header-right{max-width:132px}.header-right .status{font-size:7px}.guide-button{min-height:28px;padding:4px 8px}}@media (height<=500px){.guide-header{padding:8px 18px}.guide-header .eyebrow{display:none}.guide-header h2{font-size:19px}.guide-nav{padding:5px 12px}.guide-nav button{min-height:36px;padding:6px 12px}.guide-footer{padding:5px}}.leader-portrait{background-color:#163b40;background-image:url(/assets/leaders-v1.png);background-size:300% 200%;background-position:var(--portrait-x) var(--portrait-y);border:1px solid #d4bf8080;border-radius:50%;flex:none;width:44px;height:44px;display:inline-block;overflow:hidden;box-shadow:0 2px 8px #051b2355}.character-picker{border:0;min-width:0;margin:18px 0 12px;padding:0}.character-picker legend{color:#dfd1ab;letter-spacing:1px;margin-bottom:10px;padding:0;font-size:12px}.character-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.character-option{color:#b7c7bf;cursor:pointer;background:#102c31;border:1px solid #829b8d44;border-radius:8px;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:6px;transition:border-color .15s,background .15s;display:flex;position:relative}.character-option .leader-portrait{aspect-ratio:1;width:100%;max-width:80px;height:auto;box-shadow:none;border:0;border-radius:5px}.character-option>span:last-of-type{font-size:11px;line-height:1.3}.character-option i{color:#17332e;background:#e1c780;border-radius:50%;width:18px;height:18px;font-size:11px;font-style:normal;line-height:18px;display:none;position:absolute;top:4px;right:4px}.character-option[aria-pressed=true]{color:#f7e5b7;background:#30453c;border-color:#e1c780;box-shadow:inset 0 0 0 1px #e1c78066}.character-option[aria-pressed=true] i{display:block}.character-option:hover{border-color:#e1c780}.character-option:focus-visible{outline-offset:3px;outline:2px solid #f4dea2}.character-picker:disabled{opacity:.6}.character-picker>p{color:#8fa9a1;margin:9px 0 0;font-size:10px;line-height:1.6}.waiting-character{border-top:1px solid #d4bf8029;border-bottom:1px solid #d4bf8029;margin:12px 0;padding:10px 0}.waiting-character>summary{cursor:pointer;color:#d6c597;font-size:12px}.waiting-character .character-picker{margin-bottom:0}.seat>.leader-portrait{border-color:var(--player,#d4bf80);width:42px;height:42px}.player-card .leader-portrait{border:2px solid var(--player,#d4bf80);width:34px;height:34px}.turn-leader{align-items:center;gap:12px;min-width:0;display:flex}.turn-leader-copy{flex:1;min-width:0}.turn-leader .leader-portrait{border:2px solid var(--player,#d4bf80);width:66px;height:66px;box-shadow:0 0 0 3px #d4bf801c,0 4px 14px #0004}.turn-panel .turn-leader small{overflow-wrap:anywhere;color:#e9dec5;display:block}.turn-character-title{color:#a8c0b4;font-size:10px;line-height:1.5}@media (width<=1100px){.turn-leader{gap:8px}.turn-leader .leader-portrait{width:44px;height:44px}.turn-leader-copy{text-align:left}.player-card .leader-portrait{width:28px;height:28px}.player-card .row>span[style]{overflow-wrap:anywhere;min-width:0}}@media (width<=700px){.character-option .leader-portrait{max-width:70px}.turn-leader .leader-portrait{width:42px;height:42px}.player-card .leader-portrait{width:25px;height:25px}.turn-character-title{font-size:10px}}@media (width<=700px) and (height<=740px){.turn-leader{gap:6px}.turn-leader .leader-portrait{width:30px;height:30px}.turn-character-title{display:none}}@media (height<=500px) and (width<=1000px){.turn-leader{gap:7px}.turn-leader .leader-portrait{width:34px;height:34px}.turn-character-title{display:none}}@media (prefers-reduced-motion:reduce){.character-option{transition:none}}#trade-dialog{background:#13363a;border:1px solid #bdab76;border-radius:12px;width:min(880px,100vw - 24px);max-width:880px;max-height:calc(100dvh - 32px);padding:0;overflow:hidden;box-shadow:0 25px 100px #031b2aaa}#trade-dialog[open]{flex-direction:column;display:flex}.trade-header{background:linear-gradient(110deg,#294a45,#13363a);border-bottom:1px solid #c7af733b;flex-shrink:0;justify-content:space-between;align-items:center;padding:22px 26px 16px;display:flex}.trade-header .eyebrow{letter-spacing:2px;margin:0 0 5px;font-size:9px}.trade-header h2{margin:0;font-size:23px}.trade-close{color:#ecd8a0;background:#153339;border:1px solid #c4b58288;border-radius:50%;flex-shrink:0;width:44px;height:44px;font-size:25px}.trade-body{overscroll-behavior:contain;min-height:0;padding:20px 26px 25px;font-size:13px;overflow:auto}.trade-body h3{color:#e4d1a1;margin:10px 0;font-size:14px}.trade-body h3 small{color:#afc6b7;margin-left:8px;font-size:11px}.trade-footer{text-align:center;color:#b4c5b4;border-top:1px solid #c7af733b;flex-shrink:0;padding:10px 16px;font-size:11px}.trade-recipients{border:0;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0;display:flex}.trade-recipients legend{color:#e4d1a1;margin-bottom:9px;font-size:14px}.trade-recipients label{border:1px solid var(--player);cursor:pointer;background:#09292c;border-radius:6px;align-items:center;gap:8px;margin:0;padding:8px 14px;display:flex}.trade-recipients input{accent-color:#d9c07f;width:17px;height:17px;margin:0}.trade-recipients small{color:#9eb8a9;font-size:10px;display:block}.trade-recipients label:has(:checked){box-shadow:inset 0 0 0 1px var(--player);background:#315750}.trade-picker{margin:18px 0}.trade-picker-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.trade-select-card,.trade-resource{color:var(--card-accent);background:linear-gradient(160deg,#254b45,#09252c);border:1px solid #867b57;border-radius:8px;overflow:hidden}.trade-select-card.chosen{border-color:#f3d993;box-shadow:0 0 15px #dbc78028}.trade-card-add{width:100%;color:inherit;background:0 0;border:0;padding:5px 5px 10px;display:block}.trade-card-add .card-art{width:100%;height:85px;display:block}.trade-card-add span{color:#ecdfba;font-size:13px;display:block}.trade-card-add small{color:#a9c1b6;font-size:10px;display:block}.trade-counter{background:#0d272d;border-top:1px solid #c5b88345;justify-content:space-between;align-items:center;display:flex}.trade-counter button{color:#e5d3a5;background:0 0;border:0;min-width:35px;min-height:36px;font-size:20px}.trade-counter output{color:#fff0c4;font-size:16px}.trade-body button:disabled{opacity:.38;cursor:not-allowed}.trade-body button:focus-visible,.trade-close:focus-visible{outline-offset:-3px;outline:2px solid #f4d99c}.trade-buttons{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.trade-buttons button{min-height:42px}.trade-note,.trade-warning,.trade-success{color:#daceac;background:#c8ae6710;border:1px solid #b6a27755;border-radius:6px;padding:12px 15px;font-size:12px;line-height:1.8}.trade-warning{color:#ffc7a0}.trade-success{color:#b8e3bb}.trade-hint{color:#a7bcaf;font-size:11px;line-height:1.8}.trade-exchange{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:12px;margin:14px 0;display:grid}.trade-arrow{color:#dcc18b;font-size:24px}.trade-card-row{flex-wrap:wrap;align-items:center;gap:6px;min-height:45px;display:flex}.trade-resource{text-align:center;flex-shrink:0;width:65px;padding:4px 4px 6px;position:relative}.trade-resource .card-art{width:100%;height:54px;display:block}.trade-resource span{color:#e4d8b7;font-size:10px;display:block}.trade-resource strong{color:#f9e7b7;background:#122c2be8;border-radius:3px;padding:0 3px;font-size:14px;position:absolute;top:2px;right:3px}.trade-empty{color:#8fa99e;font-size:11px}.trade-replies{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px;display:grid}.trade-reply{background:#0b292d;border:1px solid #b6a27755;border-radius:8px;padding:13px}.trade-reply h4{color:#e5d9b2;margin:0;font-size:14px}.trade-reply h4 small{color:#a6c4b2;font-size:10px;font-weight:400;display:block}.trade-reply .trade-exchange{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:5px}.trade-reply .trade-resource{width:53px}.trade-reply .trade-resource .card-art{height:40px}.trade-confirmations{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.trade-confirmations span{color:#dac78f;border:1px solid #af9b63;border-radius:5px;padding:8px 14px}.trade-confirmations .confirmed{color:#a9e9b2;background:#60846922;border-color:#7dc094}.trade-summary{border-top:1px solid #c7af7344;margin-top:14px;padding:12px 0}.trade-summary h3{color:#e7ce8b}.trade-summary .trade-resource{border-radius:4px;width:42px}.trade-summary .trade-resource .card-art{height:30px}.trade-summary .trade-resource span{font-size:9px}.trade-summary .trade-resource strong,.trade-summary p{font-size:11px}.trade-arrival{animation:.4s ease-out trade-arrival}@keyframes trade-arrival{0%{opacity:.2;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.trade-arrival{animation:none}}@media (width<=700px){#trade-dialog{border-radius:8px;width:calc(100vw - 12px);max-height:calc(100dvh - 20px)}.trade-header{padding:13px 14px}.trade-header h2{font-size:19px}.trade-header .eyebrow{font-size:8px}.trade-body{padding:12px 13px 20px}.trade-picker-cards{gap:5px}.trade-card-add{padding:3px 2px 6px}.trade-card-add .card-art{height:54px}.trade-card-add span{font-size:11px}.trade-card-add small{font-size:8px}.trade-counter button{min-width:23px;min-height:40px;font-size:18px}.trade-counter output{font-size:13px}.trade-replies{grid-template-columns:1fr}.trade-exchange{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:6px}.trade-resource{width:55px}.trade-resource .card-art{height:44px}.trade-buttons button{white-space:normal;flex:1;padding:10px}.trade-footer{font-size:9px}.trade-recipients label{flex:1;gap:5px;padding:7px;font-size:12px}.trade-recipients small{font-size:9px}}.trade-inventory{border-bottom:1px solid #c7af7344;margin:0 0 18px;padding-bottom:14px}.trade-inventory .trade-resource{width:100%;max-width:96px}.trade-validation{color:#e6c38e;font-size:13px;line-height:1.6}.trade-inventory .trade-picker-cards{gap:6px}.trade-recipients>button{align-self:center;min-height:40px;padding:6px 10px}#trade-dialog{--trade-inset:24px}.trade-header,.trade-body,.trade-footer{padding-left:var(--trade-inset);padding-right:var(--trade-inset)}.trade-header{align-items:flex-start;gap:16px}.trade-header>div{min-width:0}.trade-header h2{overflow-wrap:anywhere;line-height:1.35}.trade-close{place-items:center;margin:0;padding:0;line-height:1;display:grid}.trade-body{scrollbar-gutter:stable both-edges;padding-left:calc(var(--trade-inset) - 8px);padding-right:calc(var(--trade-inset) - 8px)}.trade-picker-cards,.trade-inventory .trade-picker-cards{align-items:stretch;gap:10px}.trade-inventory .trade-resource{width:100%;max-width:none;padding:8px}.trade-inventory .trade-resource .card-art{height:70px}.trade-inventory .trade-resource span{font-size:13px}.trade-exchange{align-items:start}.trade-exchange>section{min-width:0}.trade-arrow{text-align:center;align-self:center}.trade-select-card{flex-direction:column;display:flex}.trade-card-add{flex:1}.trade-counter{margin-top:auto}.trade-exchange h3{align-items:center;min-height:2.6em;margin:0 0 8px;display:flex}.trade-card-row,.trade-replies{align-items:stretch}.trade-reply{flex-direction:column;min-width:0;display:flex}.trade-reply>.secondary{margin-top:auto}.trade-recipients{align-items:stretch}.trade-recipients label{min-width:100px}.trade-recipients>button{align-self:stretch;margin:0}@media (width<=700px){#trade-dialog{--trade-inset:14px}.trade-picker-cards,.trade-inventory .trade-picker-cards{gap:5px}.trade-inventory .trade-resource{padding:4px 2px}.trade-inventory .trade-resource .card-art{height:48px}.trade-inventory .trade-resource span{font-size:11px}.trade-inventory .trade-resource strong{font-size:12px}.trade-header h2{font-size:18px}.trade-recipients label{min-width:90px}.trade-exchange h3{font-size:12px}}#trade-dialog .trade-header .eyebrow{letter-spacing:1px;font-size:9px;line-height:1.5}@media (width<=700px){.trade-card-add small{min-height:2.8em;font-size:10px;line-height:1.4}}.home-button{color:#25372f;white-space:nowrap;background:#d4bf80;border:1px solid #d4bf80;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:9px 15px;font-size:12px;font-weight:650;display:inline-flex}.home-button[hidden]{display:none}.home-button:hover{background:#e4d399}.lobby .resume-game{z-index:2;background:#163b3e;border:1px solid #d4bf80;border-radius:12px;margin:0 0 20px;padding:16px;position:sticky;top:0;box-shadow:0 5px 22px #001f2855}.resume-game-heading{color:#f0dfac;justify-content:space-between;align-items:center;gap:12px;display:flex}.resume-game-heading strong{font-size:17px;line-height:1.4}.resume-game-heading span{letter-spacing:2px;border:1px solid #d4bf8050;border-radius:5px;flex-shrink:0;padding:5px 7px;font:13px monospace}.lobby .resume-game .wide{width:100%;min-height:48px;margin-top:12px;font-size:16px;font-weight:700}.lobby .resume-game p{color:#c2d5cb;margin:7px 0 0;font-size:12px;line-height:1.6}@media (width<=700px){body[data-view=game] .header-right{flex-wrap:nowrap;gap:6px;max-width:none}body[data-view=game] .header-right .status{display:none}.home-button{gap:4px;min-height:40px;padding:8px 10px;font-size:11px}body:has(.resume-game) .lobby{top:calc(72px + env(safe-area-inset-top,0px));max-height:none;bottom:60px;overflow-y:auto}.lobby .resume-game{margin-bottom:14px;padding:12px}}.map-selection[hidden],.mobile-action-short{display:none}.map-selection{z-index:5;color:#f4e7c3;background:#143438f5;border:1px solid #d4bf80;border-radius:10px;align-items:center;gap:8px;padding:8px;display:flex;position:absolute;bottom:8px;left:8px;right:8px;box-shadow:0 4px 20px #071c2c66}.map-selection span{flex:1;font-size:14px;line-height:1.4}.map-selection button{min-height:44px;padding:8px 12px;font-size:14px}@media (width<=700px) and (height>=501px){body{--safe-bottom:env(safe-area-inset-bottom,0px)}header{height:60px;padding:0 8px}header .brand{gap:3px;font-size:20px}header .brand span{letter-spacing:1px;font-size:14px}header .guide-button,header .home-button,header .language-button{letter-spacing:0;min-height:44px;padding:6px;font-size:12px}.players-panel,body[data-variant=extended] .players-panel{scroll-snap-type:x proximity;gap:8px;max-height:82px;padding-bottom:4px;top:64px;left:8px;right:8px;overflow:auto hidden}.players-panel .player-card,body[data-variant=extended] .players-panel .player-card{scroll-snap-align:start;flex:0 0 145px;min-height:72px;padding:8px}.player-card .row{font-size:14px}.player-card .score{font-size:23px}.player-card .player-meta,html[lang=en] .player-meta{max-width:none;margin-top:6px;font-size:12px}.player-card .voice-badge,.player-development{display:none}.turn-banner{width:96%;top:150px}.turn-banner .phase,html[lang=en] .turn-banner .phase{letter-spacing:0;font-size:18px}.turn-banner small{margin-top:5px;font-size:13px}body[data-view=game] #world{top:202px;bottom:calc(284px + var(--safe-bottom))}body[data-phase^=setup] #world{top:202px;bottom:calc(196px + var(--safe-bottom))}.inventory{bottom:calc(54px + var(--safe-bottom));gap:4px;width:calc(100% - 16px)}.inventory .resource{height:70px;transform:none}.inventory .resource strong{width:30px;height:30px;font-size:22px;top:-6px;right:-4px}.inventory .resource small{letter-spacing:0;padding:3px 0;font-family:Arial,sans-serif;font-size:13px;bottom:4px;left:1px;right:1px}.actions-panel{bottom:calc(136px + var(--safe-bottom));left:8px;right:8px}#mobile-actions-toggle{min-height:48px;padding:10px 12px;font-size:15px}.actions-panel.is-open>.action-card{max-height:48dvh;padding:16px}.action-card h3{font-size:18px}.action-card p,.action-caption,.notice,.action-card .notice,.key-picker{font-size:14px;line-height:1.6}.actions-panel .build-button{width:100%;min-height:52px;margin:8px 0;padding:10px 12px;font-size:16px;display:flex}.build-button small{font-size:13px}.actions-panel .build-button .cost{letter-spacing:1px;font-size:13px;display:block}.actions-panel .primary,.actions-panel .secondary{min-height:44px;font-size:15px}.actions-panel label{font-size:14px}.actions-panel input,.actions-panel select,.lobby input,.lobby select,.waiting select,#map-mode,#map-variant{min-height:44px;font-size:16px}.actions-panel .key-picker summary{min-height:44px;font-size:14px}.dice-dock{bottom:calc(196px + var(--safe-bottom));gap:12px;min-width:280px;padding:8px 12px}.dice-caption,.dice-recap{font-size:13px}.dice-total{font-size:22px}.dice-readout .primary{min-height:44px;font-size:15px}.world-controls{left:6px;bottom:calc(3px + var(--safe-bottom));scrollbar-width:thin;gap:6px;max-width:calc(100% - 124px);padding:1px 0;overflow-x:auto}.world-controls>button,.world-controls #camera-mode,.world-controls #sound-button{border-radius:7px;flex:none;width:auto;min-width:44px;height:44px;padding:0 8px;font-size:13px}.world-controls .view-switch{flex:none;padding:0}.world-controls .view-switch button{width:44px;min-width:44px;height:42px;font-size:13px}.voice-controls{right:6px;bottom:calc(3px + var(--safe-bottom));gap:4px}.voice-controls button{min-width:44px;min-height:44px;padding:6px 8px;font-size:13px}body[data-view=lobby] .world-controls{max-width:calc(100% - 12px)}body[data-view=lobby]:has(.voice-controls:not([hidden])) .world-controls{max-width:calc(100% - 124px)}.lobby{max-height:calc(100dvh - 130px);bottom:60px;overflow-y:auto}.waiting{max-height:none;top:66px;bottom:60px}.lobby label,.lobby .tabs button,.waiting .seat,.waiting .secondary{font-size:15px}.lobby .primary,.waiting .primary{min-height:48px;font-size:16px}.room-note,.variant-description,.map-description,.seat small,.bot-caption,.resume-game p{font-size:13px;line-height:1.6}.waiting .secondary,.waiting .link-button,.tabs button{min-height:44px}.waiting .link-button{font-size:14px}#help .guide-content,#help .guide-content li{font-size:16px;line-height:1.7}#help .guide-nav button{min-height:44px;font-size:14px}#help .guide-footer{font-size:12px}#trade-dialog,#development-dialog{max-height:calc(100dvh - 24px);overflow-y:auto}#trade-dialog button,#development-dialog button{min-height:44px;font-size:14px}#trade-dialog input,#trade-dialog select{min-height:44px;font-size:16px}#trade-dialog p,#trade-dialog label,.development-card p,html[lang=en] .development-card p{font-size:14px}.harvest-notice{bottom:calc(290px + var(--safe-bottom));max-height:calc(100dvh - 360px)}.harvest-heading,.harvest-card>.harvest-card-label{font-size:13px}#toast{bottom:calc(196px + var(--safe-bottom));font-size:15px}.connection-block{font-size:14px;top:60px}}@media (width<=700px) and (height>=501px) and (height<=740px){.players-panel,body[data-variant=extended] .players-panel{max-height:66px}.players-panel .player-card,body[data-variant=extended] .players-panel .player-card{min-height:60px;padding:6px 8px}.player-card .player-meta{margin-top:3px}.turn-banner{top:132px}.turn-banner .phase{font-size:16px}body[data-view=game] #world,body[data-phase^=setup] #world{top:180px}body[data-view=game]:not([data-phase^=setup]) #world{bottom:calc(204px + var(--safe-bottom))}.dice-dock{left:8px;right:100px;bottom:calc(136px + var(--safe-bottom));gap:0;min-width:0;min-height:56px;padding:5px 8px;transform:none}.dice-dock .dice-pair,.dice-dock .dice-caption{display:none}.dice-dock .dice-readout{flex-direction:row;justify-content:space-between;align-items:center;gap:6px;width:100%;display:flex}.dice-dock .dice-total{font-size:16px}body:not([data-phase^=setup]) .actions-panel:not(.is-open){width:84px;left:auto}body:not([data-phase^=setup]) .actions-panel:not(.is-open) .mobile-action-label{display:none}body:not([data-phase^=setup]) .actions-panel:not(.is-open) .mobile-action-short{display:inline}}@media (width<=400px){.map-selection{flex-wrap:wrap}.map-selection span{flex-basis:100%}.map-selection button{flex:1}}@media (height<=500px) and (width<=1000px) and (orientation:landscape){.player-card .row{font-size:13px}.player-meta{font-size:11px}.turn-banner .phase{font-size:16px}.turn-banner small{font-size:12px}.action-card h3{font-size:17px}.action-card p,.action-caption,.notice{font-size:14px}.actions-panel button{min-height:44px;font-size:14px}.actions-panel .build-button{width:100%;margin:6px 0;display:flex}.build-button small{font-size:12px}.actions-panel input,.actions-panel select{font-size:16px}.resource small{font-size:12px}.resource strong{font-size:20px}.map-selection{flex-wrap:wrap}.map-selection span{flex-basis:100%}}.turn-end-control[hidden]{display:none}.turn-end-control{z-index:9;background:#17383cf5;border:1px solid #ae956c;border-radius:8px;width:278px;padding:10px;position:fixed;bottom:78px;right:26px}.turn-end-control button{width:100%;min-height:44px;margin:0}body.has-turn-end .actions-panel{bottom:156px}#end-turn-dialog{color:#f2e6c6;background:#15363b;border:1px solid #ceb77d;border-radius:14px;width:min(430px,100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;overflow:auto;box-shadow:0 20px 80px #0008}#end-turn-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#061d26b3}#end-turn-dialog h2{margin:0 0 16px;font-size:22px}#end-turn-dialog p{color:#c7d3c9;font-size:15px;line-height:1.7}#end-turn-dialog .end-turn-trade{color:#f2c585}.end-turn-buttons{gap:12px;margin-top:24px;display:flex}.end-turn-buttons button{flex:1;min-height:48px;font-size:15px}.mobile-action-bar,.action-sheet-close{display:none}@media (width<=700px) and (height>=501px){.mobile-action-bar{left:8px;right:8px;bottom:calc(136px + var(--safe-bottom));z-index:9;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;height:48px;display:grid;position:fixed}body.has-turn-end .mobile-action-bar{right:calc(33.3333% + 5.33333px)}.mobile-action-bar button,.mobile-action-bar #mobile-actions-toggle{color:#efddb0;background:#193a3ef5;border:1px solid #9ca77d77;border-radius:8px;justify-content:center;align-items:center;width:100%;min-width:0;min-height:48px;padding:4px;font-size:15px;line-height:1.3;display:flex}.mobile-action-bar button[aria-expanded=true]{background:#365650;border-color:#edcf85}.mobile-action-bar.setup-actions{grid-template-columns:1fr}.turn-end-control{right:8px;bottom:calc(136px + var(--safe-bottom));background:0 0;border:0;width:calc(33.3333% - 10.6667px);height:48px;padding:0}.turn-end-control button{border-radius:8px;height:48px;padding:4px 7px;font-size:14px;line-height:1.3}.actions-panel,body.has-turn-end .actions-panel,body:not([data-phase^=setup]) .actions-panel:not(.is-open){left:8px;right:8px;bottom:calc(192px + var(--safe-bottom));width:auto}.actions-panel:not(.is-open){pointer-events:none}.actions-panel.is-open>.action-card{border-color:#ac976b;border-radius:12px;max-height:min(48dvh,390px);padding:16px;box-shadow:0 -10px 40px #061f32aa}.action-sheet-close{color:#edddb6;z-index:1;background:#21474a;border:1px solid #8c997366;border-radius:6px;min-height:44px;margin:0 0 8px auto;padding:8px 12px;display:block;position:sticky;top:0}.actions-panel .log,.actions-panel[data-mobile-panel=build] .exchange-content,.actions-panel[data-mobile-panel=trade] .construction-content{display:none}.mobile-action-bar button{gap:10px;position:relative}.pending-trade-dot{background:#f4c56f;border-radius:50%;width:7px;height:7px;position:absolute;top:6px;right:8px}}@media (width<=700px) and (height>=501px) and (height<=740px){.inventory{bottom:calc(50px + var(--safe-bottom))}.inventory .resource{height:58px}.mobile-action-bar,.turn-end-control{bottom:calc(116px + var(--safe-bottom))}.actions-panel,body.has-turn-end .actions-panel,body:not([data-phase^=setup]) .actions-panel:not(.is-open){bottom:calc(172px + var(--safe-bottom))}.dice-dock{bottom:calc(168px + var(--safe-bottom));left:8px;right:8px}body[data-view=game]:not([data-phase^=setup]) #world{bottom:calc(228px + var(--safe-bottom))}}@media (height<=500px) and (width<=1000px) and (orientation:landscape){.turn-end-control{border:0;width:240px;padding:0;bottom:78px;right:10px}body.has-turn-end .actions-panel{bottom:130px}#end-turn-dialog{padding:16px}#end-turn-dialog h2{margin-bottom:8px;font-size:20px}.end-turn-buttons{margin-top:12px}}.development-strip{pointer-events:auto;justify-content:center;gap:5px;max-width:100%;margin:9px auto 0;padding:2px;display:flex;overflow-x:auto}.development-strip button{color:#efe0b7;background:#15373bea;border:1px solid #b7a97d80;border-radius:7px;flex:none;align-items:center;gap:4px;min-height:44px;padding:4px 8px;font-size:12px;display:flex;position:relative}.development-strip .card-art{width:26px;height:32px}.development-strip .usable{border-color:#e8ce8c;box-shadow:inset 0 0 9px #eed08725}.development-strip i{color:#f6d889;font-style:normal}.inventory [role=button]{cursor:pointer}.inventory [role=button]:focus-visible{outline-offset:3px;outline:2px solid #f9dc91}#resource-details{color:#ede0bc;text-align:center;background:#15373b;border:1px solid #bcaa76;border-radius:12px;width:min(340px,100vw - 28px);max-height:calc(100dvh - 28px);padding:25px;overflow:auto}#resource-details::backdrop{background:#071f2ab3}#resource-details h2{margin:12px 0;font-size:24px}#resource-details strong{font-size:21px}.bank-resource-art{width:110px;margin:auto}.bank-resource-art svg{width:100%;height:115px}@media (width>=1001px){.players-panel,body[data-variant=extended] .players-panel{scrollbar-width:thin;direction:rtl;padding-left:6px;bottom:65px;overflow-y:auto}.players-panel>*{text-align:left;direction:ltr}}@media (width<=700px) and (height>=501px){.development-strip{justify-content:flex-start;width:max-content;max-width:100%;margin-top:7px}.development-strip button{min-height:38px;padding:3px 5px;font-size:12px}.development-strip .card-art{width:20px;height:25px}body.has-development-hand[data-view=game] #world{top:250px}}@media (width<=700px) and (height>=501px) and (height<=740px){body.has-development-hand[data-view=game] #world{top:226px}}@media (height<=500px) and (width<=1000px) and (orientation:landscape){.development-strip{justify-content:flex-start;margin:0;position:fixed;top:96px;left:12px;right:270px}.development-strip button{min-height:32px;font-size:11px}.development-strip .card-art{width:20px;height:25px}}dialog{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}dialog,dialog *{scrollbar-width:thin;scrollbar-color:#8d9475 #123438}dialog::-webkit-scrollbar{width:8px;height:8px}dialog ::-webkit-scrollbar{width:8px;height:8px}dialog::-webkit-scrollbar-track{background:#123438}dialog ::-webkit-scrollbar-track{background:#123438}dialog::-webkit-scrollbar-thumb{background:#8d9475;border:2px solid #123438;border-radius:8px}dialog ::-webkit-scrollbar-thumb{background:#8d9475;border:2px solid #123438;border-radius:8px}dialog::-webkit-scrollbar-corner{background:#123438}dialog ::-webkit-scrollbar-corner{background:#123438}.discard-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}.discard-card{background:#112f31;border:1px solid #637b69;border-radius:7px;min-width:0;overflow:hidden}.discard-card.chosen{background:#35544a;border-color:#e4c781}.discard-card>button{color:#f2dfb1;background:0 0;border:0;width:100%;padding:5px 2px;display:block}.discard-card .card-art{width:100%;height:40px;display:block}.discard-card span,.discard-card small{font-size:11px;display:block}.discard-card small{color:#b2c6b7;font-size:9px}.discard-counter{border-top:1px solid #64735b;display:flex}.discard-counter button{color:#e5d09e;background:0 0;border:0;width:20px;min-height:36px;padding:0;font-size:20px}.discard-counter input{text-align:center;appearance:textfield;border:0;border-radius:0;width:calc(100% - 20px);min-width:0;padding:2px 0;font-size:13px}.discard-counter input::-webkit-inner-spin-button{appearance:none}.discard-counter input::-webkit-outer-spin-button{appearance:none}.discard-card button:disabled{opacity:.4}#discard-progress{color:#ead39d}@media (width<=700px){.discard-card .card-art{height:48px}.discard-counter button{width:24px;min-height:44px}.discard-counter input{width:calc(100% - 24px)}}.turn-panel[hidden],.inventory-toggle[hidden],.inventory[hidden]{display:none!important}.turn-panel{z-index:4;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:linear-gradient(135deg,#193a3ef2,#102d32ed);border:1px solid #d4bf8059;border-radius:14px;align-items:center;gap:20px;width:min(660px,100vw - 580px);padding:15px 20px;display:flex;position:fixed;top:94px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #061e2b55,inset 0 1px #fff1cf12}.turn-panel>.turn-banner{text-align:left;pointer-events:auto;flex:1;width:auto;min-width:0;margin:0;position:static;transform:none}.turn-panel .turn-banner .eyebrow{margin:0 0 7px;font-size:10px;display:block}.turn-panel .turn-banner .phase{letter-spacing:1px;font-size:20px;line-height:1.4}.turn-panel .turn-banner small{margin-top:5px;line-height:1.4}.turn-panel .development-strip{justify-content:flex-start;width:auto;margin:7px 0 0;position:static}.turn-panel .dice-dock{width:auto;min-width:0;max-width:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-left:1px solid #d4bf8040;border-radius:0;flex:none;gap:14px;margin:0;padding:7px 0 7px 18px;position:static;inset:auto;transform:none}.turn-panel .dice-pair{margin:0 -9px;padding:0;display:flex;transform:scale(.8)}.turn-panel .dice-readout{flex-direction:column;gap:4px;width:auto;min-width:108px;display:flex}.turn-panel .dice-caption{letter-spacing:0;font-size:10px;display:block}.turn-panel .dice-total{font-size:18px}:is(.turn-panel .dice-dock .harvest-recap,.turn-panel .dice-dock:has(#roll:not([hidden])) .harvest-recap){align-self:flex-start;font-size:10px;position:static}.turn-panel .starting-recap{flex:none;max-width:100%;min-height:34px;margin:0;padding:6px 10px;font-size:11px;position:static;inset:auto;transform:none}.inventory-toggle{z-index:7;color:#e9dbb6;background:#15373bf2;border:1px solid #d4bf8070;border-radius:18px;min-height:34px;padding:6px 16px;font-size:12px;position:fixed;bottom:152px;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #071e2844}.hand-hidden .inventory-toggle{bottom:24px}@media (width>=701px) and (width<=1100px) and (height>=501px){.turn-panel{flex-wrap:wrap;justify-content:center;gap:8px;width:calc(100vw - 470px);padding:12px}.turn-panel>.turn-banner{text-align:center;flex-basis:100%}.turn-panel .dice-dock{border:0;padding:4px 0 0}.turn-panel .development-strip{justify-content:center}}@media (width<=700px) and (height>=501px){.turn-panel{flex-wrap:wrap;justify-content:center;gap:7px;width:auto;padding:9px 12px;top:150px;left:8px;right:8px;transform:none}.turn-panel>.turn-banner{text-align:center;flex-basis:100%}.turn-panel .turn-banner .eyebrow{letter-spacing:2px;margin-bottom:3px;font-size:9px}.turn-panel .turn-banner .phase,html[lang=en] .turn-panel .turn-banner .phase{letter-spacing:0;font-size:16px;line-height:1.3}.turn-panel .turn-banner small{margin-top:3px;font-size:12px}.turn-panel .dice-dock{border:0;border-top:1px solid #d4bf8033;justify-content:center;gap:16px;width:100%;padding:5px 0 0}.turn-panel .dice-pair{margin:-7px -20px;transform:scale(.66)}.turn-panel .dice-readout{min-width:118px}.turn-panel .dice-caption{display:none}.turn-panel .dice-total{font-size:18px}.turn-panel .dice-readout .primary{min-height:40px;margin:0;padding:6px 14px;font-size:14px}.turn-panel .development-strip{justify-content:flex-start}body[data-view=game] #world,body[data-phase^=setup] #world,body.has-development-hand[data-view=game] #world{top:var(--turn-panel-bottom,280px);bottom:calc(224px + var(--safe-bottom))}.inventory-toggle{bottom:calc(128px + var(--safe-bottom));min-height:34px;font-size:13px}.mobile-action-bar,.turn-end-control{bottom:calc(168px + var(--safe-bottom))}.actions-panel,body.has-turn-end .actions-panel,body:not([data-phase^=setup]) .actions-panel:not(.is-open){bottom:calc(224px + var(--safe-bottom))}body.hand-hidden .inventory-toggle{bottom:calc(54px + var(--safe-bottom))}body.hand-hidden .mobile-action-bar,body.hand-hidden .turn-end-control{bottom:calc(96px + var(--safe-bottom))}body.hand-hidden .actions-panel,body.hand-hidden.has-turn-end .actions-panel,body.hand-hidden:not([data-phase^=setup]) .actions-panel:not(.is-open),body.hand-hidden[data-view=game] #world{bottom:calc(152px + var(--safe-bottom))}.harvest-notice{bottom:calc(230px + var(--safe-bottom));max-height:min(300px,45dvh)}}@media (width<=700px) and (height>=501px) and (height<=740px){.turn-panel{flex-wrap:nowrap;gap:8px;padding:6px 10px;top:132px}.turn-panel>.turn-banner{text-align:left;flex:auto}.turn-panel .turn-banner .phase{font-size:14px}body[data-phase=roll] .turn-panel .phase{display:none}.turn-panel .dice-dock{border-top:0;border-left:1px solid #d4bf8033;gap:8px;width:auto;min-height:0;padding:4px 0 4px 8px}.turn-panel .dice-pair{margin:-9px -24px;transform:scale(.55)}.turn-panel .dice-readout{min-width:80px}.inventory-toggle{bottom:calc(112px + var(--safe-bottom))}.mobile-action-bar,.turn-end-control{bottom:calc(152px + var(--safe-bottom))}.actions-panel,body.has-turn-end .actions-panel,body:not([data-phase^=setup]) .actions-panel:not(.is-open),body[data-view=game] #world,body[data-view=game]:not([data-phase^=setup]) #world,body[data-phase^=setup] #world{bottom:calc(208px + var(--safe-bottom))}body.hand-hidden[data-view=game] #world{bottom:calc(152px + var(--safe-bottom))}}@media (height<=500px) and (width<=1000px) and (orientation:landscape){.turn-panel{flex-wrap:wrap;justify-content:center;gap:4px;width:240px;padding:8px;top:52px;left:auto;right:10px;transform:none}.turn-panel>.turn-banner{text-align:center;flex-basis:100%}.turn-panel .turn-banner .eyebrow{margin-bottom:2px;font-size:8px}.turn-panel .turn-banner .phase{letter-spacing:0;font-size:13px}.turn-panel .turn-banner small{margin-top:2px;font-size:10px}.turn-panel .dice-dock{border:0;gap:10px;padding:0}.turn-panel .dice-pair{margin:-11px -25px;transform:scale(.55)}.turn-panel .dice-caption{display:none}.turn-panel .dice-readout{gap:2px;min-width:104px}.turn-panel .dice-total{font-size:15px}.turn-panel .dice-readout .primary{min-height:32px;padding:5px 12px}.turn-panel .development-strip{max-height:36px;margin-top:3px}.turn-panel .development-strip button{min-height:30px}.inventory-toggle,.hand-hidden .inventory-toggle{min-height:30px;padding:4px 10px;font-size:11px;bottom:70px;left:auto;right:10px;transform:none}.hand-hidden .inventory-toggle{bottom:8px}.actions-panel,body[data-phase^=setup] .actions-panel{top:var(--turn-panel-bottom,190px);bottom:106px}body.has-turn-end .actions-panel{bottom:154px}.turn-end-control{bottom:106px}body.hand-hidden .actions-panel{bottom:44px}body.hand-hidden.has-turn-end .actions-panel{bottom:96px}body.hand-hidden .turn-end-control{bottom:44px}}.robbery-notice[hidden]{display:none}.robbery-card-slot:has(.robbery-victim){pointer-events:auto;gap:12px;padding:8px;display:flex;overflow:auto}.robbery-victim{flex:0 0 135px}.robbery-victim p{overflow-wrap:anywhere;font-size:13px}.robbery-victim .robbery-result-card{width:105px;height:145px}.robbery-notice{z-index:15;text-align:center;pointer-events:none;background:linear-gradient(145deg,#24474cf5,#102c35fa);border:1px solid #d8b77d;border-radius:16px;width:280px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);padding:22px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 18px 65px #001a2b99,inset 0 0 25px #d4bf8010}.robbery-close{color:#dfd3b5;pointer-events:auto;background:0 0;border:0;min-width:36px;min-height:36px;font-size:24px;position:absolute;top:7px;right:9px}.robbery-heading{color:#e5c98b;letter-spacing:2px;margin:0 16px 10px;font-size:15px}.robbery-summary{overflow-wrap:anywhere;margin:0 0 14px;font-size:14px;line-height:1.6}.robbery-privacy{color:#a5b9b7;margin-top:14px;font-size:11px;display:block}.robbery-result-card{background:radial-gradient(ellipse at 50% 35%,color-mix(in srgb,var(--card-accent) 32%,#15363c),#102b32);width:126px;height:164px;box-shadow:0 0 22px color-mix(in srgb,var(--card-accent) 25%,transparent),inset 0 0 0 3px #263f3b;border:2px solid #d4bf80;border-radius:15px 15px 7px 7px;flex-direction:column;align-items:center;margin:auto;padding:10px;display:flex;position:relative}.robbery-result-card .card-art{width:102px;height:111px}.robbery-result-card>span{color:#263d34;background:linear-gradient(90deg,#bc9559,#eed695,#bc9559);align-self:stretch;margin-top:auto;padding:5px 2px;font-size:16px}.robbery-result-card>strong{color:#fff0bf;background:#234449;border:2px solid #dbc381;border-radius:9px;padding:2px 7px;font:26px Georgia;position:absolute;top:-9px;right:-9px}.robbery-notice[data-result=lost] .robbery-result-card>strong{color:#ffd2be;background:#643e3b}.robbery-result-card.card-back>div{color:#d5bd7e;background:repeating-linear-gradient(45deg,#d0b8790c 0 3px,#0000 3px 10px);border:1px solid #b5a57670;flex:1;place-content:center;width:100%;font:45px Georgia;display:grid}.robbery-result-card.card-back small{letter-spacing:3px;font:10px Georgia}.robbery-notice.is-new .robbery-result-card{animation:.6s cubic-bezier(.2,.7,.3,1) both robbery-reveal}@keyframes robbery-reveal{0%{opacity:0;transform:translateY(22px)rotateY(75deg)scale(.8)}to{opacity:1;transform:none}}@media (height<=500px){.robbery-notice{width:260px;padding:14px}.robbery-result-card{width:100px;height:125px}.robbery-result-card .card-art{width:76px;height:76px}.robbery-summary{margin-bottom:8px}.robbery-heading{margin-bottom:6px}.robbery-privacy{margin-top:8px}}@media (prefers-reduced-motion:reduce){.robbery-notice.is-new .robbery-result-card{animation:none}}#rematch-dialog{background:#15363b;border:1px solid #ceb77d;border-radius:14px;width:min(450px,100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;overflow:auto;box-shadow:0 20px 80px #0008}#rematch-dialog h2{margin:0 0 16px;font-size:22px}#rematch-dialog p{color:#c7d3c9;font-size:14px;line-height:1.8}.rematch-buttons{gap:12px;margin-top:24px;display:flex}.rematch-buttons button{flex:1;min-height:46px;font-size:14px}.rematch-button{color:#d4b795!important;border-color:#95765a!important;margin-top:18px!important}.match-number{color:#d4bf80;margin:8px 0;font-size:12px}@media (height<=500px){#rematch-dialog{padding:16px}#rematch-dialog h2{margin-bottom:8px;font-size:19px}.rematch-buttons{margin-top:12px}}@media (width<=1100px){body.strategy-layout[data-view=game]{--rail-left:218px;--rail-right:276px;--map-bottom:194px;--safe-bottom:env(safe-area-inset-bottom,0px);background:#102e36}body.strategy-layout[data-view=game] header{background:#0c2932ed;border-bottom:1px solid #d4bf8021;height:60px;padding:0 18px}body.strategy-layout[data-view=game] .brand{gap:9px;font-size:28px}body.strategy-layout[data-view=game] .brand span{letter-spacing:5px;font-size:21px}body.strategy-layout[data-view=game] .brand small{letter-spacing:2px;font-size:7px}body.strategy-layout[data-view=game] .turn-panel{top:70px;left:calc(var(--rail-left) + 24px);right:calc(var(--rail-right) + 24px);border-radius:10px;flex-wrap:nowrap;gap:12px;width:auto;min-width:0;padding:9px 14px;transform:none}body.strategy-layout[data-view=game] .turn-panel>.turn-banner{text-align:left;flex:auto;min-width:0}body.strategy-layout[data-view=game] .turn-panel .phase{letter-spacing:0;font-size:17px;line-height:1.35}body.strategy-layout[data-view=game] .turn-leader .leader-portrait{width:48px;height:48px}body.strategy-layout[data-view=game] .turn-panel .eyebrow{letter-spacing:2px;margin-bottom:4px;font-size:9px}body.strategy-layout[data-view=game] .turn-panel .dice-dock{border-top:0;border-left:1px solid #d4bf8033;gap:12px;width:auto;max-width:48%;padding:4px 0 4px 12px}body.strategy-layout[data-view=game] .turn-panel .dice-pair{margin:-6px -20px;transform:scale(.66)}body.strategy-layout[data-view=game] .turn-panel .dice-readout{min-width:96px}body.strategy-layout[data-view=game] .turn-panel .dice-caption{display:none}body.strategy-layout[data-view=game] .players-panel{width:var(--rail-left);scrollbar-width:thin;scrollbar-color:#887957 transparent;max-height:none;padding-right:4px;inset:72px auto 54px 12px;overflow:hidden auto}body.strategy-layout[data-view=game] .player-card{margin-bottom:7px;padding:10px}.strategy-layout .player-card .row>span[style]{overflow-wrap:anywhere;min-width:0}body.strategy-layout[data-view=game] .actions-panel{width:var(--rail-right);scrollbar-width:thin;scrollbar-color:#887957 transparent;max-height:none;inset:72px 12px 56px auto;overflow:auto}body.strategy-layout[data-view=game].has-turn-end .actions-panel{bottom:118px}body.strategy-layout[data-view=game] .action-card{border-radius:10px;margin:0;padding:16px}body.strategy-layout[data-view=game] .turn-end-control{width:var(--rail-right);background:0 0;border:0;height:50px;padding:0;bottom:56px;left:auto;right:12px}body.strategy-layout[data-view=game] .turn-end-control button{height:50px}body.strategy-layout[data-view=game] .inventory{left:calc(var(--rail-left) + 24px);right:calc(var(--rail-right) + 24px);justify-content:center;align-items:end;gap:12px;width:auto;max-width:none;height:108px;bottom:42px;transform:none}body.strategy-layout[data-view=game] .inventory .resource{flex:0 94px;min-width:0;max-width:110px;height:104px;margin:0;transform:none}body.strategy-layout[data-view=game] .inventory-toggle{left:calc((100% + var(--rail-left) - var(--rail-right))/2);min-height:28px;padding:4px 14px;font-size:11px;bottom:154px}body.strategy-layout[data-view=game].hand-hidden{--map-bottom:80px}body.strategy-layout[data-view=game].hand-hidden .inventory-toggle{bottom:42px}body.strategy-layout[data-view=game] .world-controls{scrollbar-width:none;gap:6px;max-width:calc(100vw - 290px);bottom:8px;left:12px;overflow-x:auto}body.strategy-layout[data-view=game] .world-controls #view-hint{font-size:10px}body.strategy-layout[data-view=game] .voice-controls{bottom:8px;right:12px}body.strategy-layout[data-view=game] #load-progress{right:calc(var(--rail-right) + 32px);bottom:calc(var(--map-bottom) + 12px);font-size:10px}body.strategy-layout[data-view=game] .harvest-notice{left:calc((100% + var(--rail-left) - var(--rail-right))/2);bottom:calc(var(--map-bottom) + 12px);max-width:calc(100vw - var(--rail-left) - var(--rail-right) - 72px)}@media (width<=1100px) and (height>=501px){body.strategy-layout[data-view=game]{--rail-left:0px;--rail-right:0px;--map-bottom:calc(210px + var(--safe-bottom))}body.strategy-layout[data-view=game] header{height:54px;padding:0 8px}.strategy-layout[data-view=game] .header-right .status{display:none}body.strategy-layout[data-view=game] .players-panel{scroll-snap-type:x proximity;direction:ltr;gap:6px;width:auto;max-height:62px;padding:0 0 3px;display:flex;inset:60px 8px auto;overflow:auto hidden}body.strategy-layout[data-view=game] .players-panel>.panel-heading,body.strategy-layout[data-view=game] .players-panel>.room-note,body.strategy-layout[data-view=game] .players-panel>.award-cards{display:none}body.strategy-layout[data-view=game] .players-panel .player-card{scroll-snap-align:start;flex:0 0 148px;min-width:0;min-height:54px;margin:0;padding:6px}body.strategy-layout[data-view=game] .player-card .row{gap:5px;font-size:12px}.strategy-layout[data-view=game] .player-card .score{font-size:20px}body.strategy-layout[data-view=game] .player-meta{margin-top:4px;font-size:10px}.strategy-layout[data-view=game] .player-meta>span:last-child,.strategy-layout[data-view=game] .player-development,.strategy-layout[data-view=game] .voice-badge{display:none}body.strategy-layout[data-view=game] .turn-panel{gap:8px;padding:8px 10px;top:128px;left:8px;right:8px}body.strategy-layout[data-view=game] .turn-panel .phase{font-size:14px}.strategy-layout[data-view=game] .turn-character-title{display:none}body.strategy-layout[data-view=game] .turn-panel .turn-leader{gap:7px}.strategy-layout[data-view=game] .turn-leader .leader-portrait{width:36px;height:36px}body.strategy-layout[data-view=game] .turn-panel .turn-banner small{margin-top:2px;font-size:12px}body.strategy-layout[data-view=game] .turn-panel .dice-dock{flex-wrap:nowrap;gap:8px;max-width:50%;padding-left:8px}body.strategy-layout[data-view=game] .turn-panel .dice-pair{margin:-9px -26px;transform:scale(.52)}body.strategy-layout[data-view=game] .turn-panel .dice-readout{min-width:76px}.strategy-layout[data-view=game] .dice-readout .primary{min-height:38px;padding:5px 8px;font-size:13px}body.strategy-layout[data-view=game] .turn-panel .dice-total{font-size:15px}body.strategy-layout[data-view=game] .inventory{left:8px;right:8px;bottom:calc(46px + var(--safe-bottom));gap:7px;height:72px}body.strategy-layout[data-view=game] .inventory .resource{flex:1;max-width:86px;height:70px;padding:5px}.strategy-layout[data-view=game] .inventory .resource small{letter-spacing:0;font-size:12px}body.strategy-layout[data-view=game] .inventory-toggle{bottom:calc(122px + var(--safe-bottom));min-height:28px}body.strategy-layout[data-view=game] .mobile-action-bar{left:8px;right:8px;bottom:calc(158px + var(--safe-bottom));z-index:9;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;height:44px;display:grid;position:fixed}body.strategy-layout[data-view=game] .mobile-action-bar.setup-actions{grid-template-columns:1fr}body.strategy-layout[data-view=game] .mobile-action-bar button,body.strategy-layout[data-view=game] #mobile-actions-toggle{color:#efddb0;background:#193a3ef5;border:1px solid #9ca77d77;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;min-height:44px;padding:5px;font-size:14px;display:flex}body.strategy-layout[data-view=game].has-turn-end .mobile-action-bar{right:calc(33.3333% + 5.33333px)}body.strategy-layout[data-view=game] .turn-end-control{bottom:calc(158px + var(--safe-bottom));width:calc(33.3333% - 10.6667px);height:44px;right:8px}body.strategy-layout[data-view=game] .turn-end-control button{height:44px;min-height:44px;padding:5px;font-size:13px}body.strategy-layout[data-view=game] .actions-panel,body.strategy-layout[data-view=game].has-turn-end .actions-panel{top:auto;left:8px;right:8px;bottom:calc(210px + var(--safe-bottom));width:auto;max-height:none;overflow:visible}body.strategy-layout[data-view=game] .actions-panel:not(.is-open){pointer-events:none}body.strategy-layout[data-view=game] .actions-panel>.action-card{display:none}body.strategy-layout[data-view=game] .actions-panel.is-open>.action-card{overscroll-behavior:contain;border-color:#ac976b;max-height:min(46dvh,390px);display:block;overflow-y:auto;box-shadow:0 -10px 40px #061f32aa}body.strategy-layout[data-view=game] .actions-panel[data-mobile-panel=build] .exchange-content,body.strategy-layout[data-view=game] .actions-panel[data-mobile-panel=trade] .construction-content{display:none}body.strategy-layout[data-view=game] .action-sheet-close{color:#edddb6;z-index:1;background:#21474a;border:1px solid #8c997366;border-radius:6px;min-height:40px;margin:0 0 8px auto;padding:7px 12px;display:block;position:sticky;top:0}body.strategy-layout[data-view=game] .actions-panel .build-button{width:100%;min-height:46px;margin:8px 0;display:flex}.strategy-layout[data-view=game] .actions-panel .key-picker{width:100%;display:block}body.strategy-layout[data-view=game] .world-controls{bottom:calc(3px + var(--safe-bottom));max-width:calc(100vw - 126px);left:6px}body.strategy-layout[data-view=game] .world-controls #view-hint{display:none}body.strategy-layout[data-view=game] .voice-controls{bottom:calc(3px + var(--safe-bottom));right:6px}body.strategy-layout[data-view=game] .world-controls>button,body.strategy-layout[data-view=game] .view-switch button,body.strategy-layout[data-view=game] .voice-controls button{min-width:36px;height:36px;min-height:36px;font-size:12px}body.strategy-layout[data-view=game].hand-hidden{--map-bottom:calc(134px + var(--safe-bottom))}body.strategy-layout[data-view=game].hand-hidden .inventory-toggle{bottom:calc(46px + var(--safe-bottom))}body.strategy-layout[data-view=game].hand-hidden .mobile-action-bar,body.strategy-layout[data-view=game].hand-hidden .turn-end-control{bottom:calc(82px + var(--safe-bottom))}body.strategy-layout[data-view=game].hand-hidden .actions-panel{bottom:calc(134px + var(--safe-bottom))}}@media (width<=400px) and (height>=501px){body.strategy-layout[data-view=game] .brand span{letter-spacing:3px;font-size:16px}.strategy-layout[data-view=game] .brand small{display:none}body.strategy-layout[data-view=game] .turn-leader .leader-portrait{width:30px;height:30px}body.strategy-layout[data-view=game] .turn-panel .phase{font-size:13px}}@media (height<=500px) and (width<=1100px){body.strategy-layout[data-view=game]{--rail-left:0px;--rail-right:236px;--map-bottom:44px}body.strategy-layout[data-view=game] header{height:46px;padding:0 10px}body.strategy-layout[data-view=game] .players-panel{gap:5px;width:auto;max-height:48px;padding:0;display:flex;inset:50px 256px auto 8px;overflow:auto hidden}body.strategy-layout[data-view=game] .players-panel>.panel-heading,body.strategy-layout[data-view=game] .players-panel>.room-note,body.strategy-layout[data-view=game] .players-panel>.award-cards{display:none}body.strategy-layout[data-view=game] .players-panel .player-card{flex:0 0 135px;min-height:44px;margin:0;padding:4px}.strategy-layout[data-view=game] .player-card .row{font-size:11px}body.strategy-layout[data-view=game] .player-development,body.strategy-layout[data-view=game] .voice-badge{display:none}body.strategy-layout[data-view=game] .turn-panel{flex-wrap:wrap;gap:4px;width:236px;padding:6px 8px;top:50px;left:auto;right:8px}body.strategy-layout[data-view=game] .turn-panel>.turn-banner{flex-basis:100%}.strategy-layout[data-view=game] .turn-leader .leader-portrait{width:30px;height:30px}body.strategy-layout[data-view=game] .turn-panel .phase{font-size:13px}.strategy-layout[data-view=game] .turn-panel .eyebrow,.strategy-layout[data-view=game] .turn-character-title{display:none}body.strategy-layout[data-view=game] .turn-panel .dice-dock{border:0;gap:10px;max-width:none;padding:0}.strategy-layout[data-view=game] .turn-panel .dice-pair{margin:-11px -27px;transform:scale(.5)}body.strategy-layout[data-view=game] .turn-panel .dice-readout{min-width:108px}.strategy-layout[data-view=game] .dice-readout .primary{min-height:32px}body.strategy-layout[data-view=game] .actions-panel,body.strategy-layout[data-view=game].has-turn-end .actions-panel{top:var(--turn-panel-bottom,160px);width:236px;bottom:126px;left:auto;right:8px;overflow:auto}body.strategy-layout[data-view=game].has-turn-end .actions-panel{bottom:172px}body.strategy-layout[data-view=game] .actions-panel>.action-card{max-height:none;padding:10px;display:block}body.strategy-layout[data-view=game] .turn-end-control{width:236px;height:40px;bottom:126px;right:8px}.strategy-layout[data-view=game] .turn-end-control button{height:40px;min-height:40px}body.strategy-layout[data-view=game] .inventory{gap:5px;width:236px;height:64px;bottom:8px;left:auto;right:8px}body.strategy-layout[data-view=game] .inventory .resource{flex:1;height:58px}body.strategy-layout[data-view=game] .inventory-toggle{min-height:28px;bottom:82px;left:auto;right:8px;transform:none}body.strategy-layout[data-view=game].hand-hidden .inventory-toggle{bottom:8px}body.strategy-layout[data-view=game].hand-hidden .actions-panel{bottom:48px}body.strategy-layout[data-view=game].hand-hidden.has-turn-end .actions-panel{bottom:94px}body.strategy-layout[data-view=game].hand-hidden .turn-end-control{bottom:48px}body.strategy-layout[data-view=game] .world-controls{max-width:calc(100vw - 384px);bottom:4px;left:8px}.strategy-layout[data-view=game] #view-hint{display:none}body.strategy-layout[data-view=game] .voice-controls{bottom:4px;right:256px}.strategy-layout[data-view=game] .voice-controls button{min-height:30px}}@media (height<=350px) and (width<=1100px){body.strategy-layout[data-view=game] .world-controls,body.strategy-layout[data-view=game] .voice-controls{bottom:2px}body.strategy-layout[data-view=game] .world-controls button,body.strategy-layout[data-view=game] .voice-controls button{height:22px;min-height:22px;padding:1px 6px;font-size:10px}body.strategy-layout[data-view=game] .inventory{height:48px;bottom:4px}body.strategy-layout[data-view=game] .inventory .resource{height:46px}body.strategy-layout[data-view=game] .inventory-toggle{min-height:24px;padding:2px 10px;bottom:58px}body.strategy-layout[data-view=game] .turn-end-control{height:32px;bottom:88px}body.strategy-layout[data-view=game] .turn-end-control button{height:32px;min-height:32px;font-size:12px}body.strategy-layout[data-view=game] .actions-panel{bottom:88px}body.strategy-layout[data-view=game].has-turn-end .actions-panel{bottom:128px}body.strategy-layout[data-view=game].hand-hidden .inventory-toggle{bottom:4px}body.strategy-layout[data-view=game].hand-hidden .actions-panel{bottom:38px}body.strategy-layout[data-view=game].hand-hidden.has-turn-end .actions-panel{bottom:78px}body.strategy-layout[data-view=game].hand-hidden .turn-end-control{bottom:38px}}}.character-option.is-taken{opacity:.55;filter:saturate(.45)}.character-owner{text-overflow:ellipsis;white-space:nowrap;color:#dbc7a1;width:100%;font-size:9px;line-height:1.3;display:block;overflow:hidden}.character-owner[hidden]{display:none}body.strategy-layout[data-view=game] #world{touch-action:none;border:0;border-radius:0;overflow:hidden;inset:0!important}body.strategy-layout[data-view=game] header{background:linear-gradient(#091e21d1,#0000);border:0}.hud-settings{z-index:20;position:relative}.hud-settings>summary{color:#ead8a7;cursor:pointer;background:#13323dda;border:1px solid #c4aa6c80;border-radius:50%;place-items:center;width:38px;height:38px;font-size:20px;list-style:none;display:grid}.hud-settings>summary::-webkit-details-marker{display:none}.hud-settings-body{background:#123039f5;border:1px solid #ae956c;border-radius:12px;flex-direction:column;gap:12px;min-width:225px;padding:18px;display:flex;position:absolute;top:46px;right:0;box-shadow:0 12px 40px #03182288}.hud-settings:not([open])>.hud-settings-body{display:none}.hud-settings-body .status{font-size:11px}.hud-settings-body button{width:100%;min-height:38px}#player-detail{color:#eee0bb;background:#14353cf5;border:1px solid #b69c68;border-radius:16px;width:min(360px,100vw - 24px);max-height:80dvh;padding:26px;overflow:auto;box-shadow:0 20px 70px #0008}#player-detail::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#051b2477}#player-detail h2{margin:0 0 24px;font-size:22px}.player-detail-content .leader-portrait{border:2px solid var(--player);width:56px;height:56px}.player-detail-content .player-meta,.player-detail-content .player-development{margin-top:14px;font-size:13px;line-height:1.8}.player-detail-content .voice-badge{font-size:12px}.player-detail-content .score{font-size:24px}.hud-development-action{display:none}.hud-activity summary{cursor:pointer;color:#e7d5a6;list-style:none}.hud-activity summary::-webkit-details-marker{display:none}.hud-activity-body .log{max-height:230px;line-height:1.7;display:block;overflow:auto}.hud-activity-body .room-note{display:block}.hud-activity-body .rematch-button{margin-top:14px}@media (width>=1101px){body.peripheral-hud{--hud-action-width:250px}body.peripheral-hud header{pointer-events:none;background:linear-gradient(#08202b77,#0000);height:82px;padding:0 28px}body.peripheral-hud header>*{pointer-events:auto}body.peripheral-hud .header-right{align-self:flex-start;margin-top:20px}body.peripheral-hud .brand{font-size:34px}body.peripheral-hud .brand span{letter-spacing:7px;font-size:25px}body.peripheral-hud .hud-room{z-index:5;letter-spacing:1px;color:#cebd92;font-size:11px;position:fixed;top:88px;left:28px}body.peripheral-hud .hud-room button{background:#143541ad;border:1px solid #b8a17366;border-radius:5px;margin-left:12px;padding:5px 12px}body.peripheral-hud .players-panel,body.peripheral-hud[data-variant=extended] .players-panel{z-index:5;direction:ltr;gap:8px;width:auto;max-width:35vw;max-height:110px;padding:0;display:flex;position:fixed;inset:18px 82px auto auto;overflow:visible}body.peripheral-hud .players-panel .player-card,body.peripheral-hud[data-variant=extended] .players-panel .player-card{width:62px;min-width:0;min-height:0;box-shadow:none;cursor:pointer;text-align:center;background:0 0;border:0;flex:0 0 62px;margin:0;padding:0;position:relative}body.peripheral-hud .player-card .row{flex-direction:column;gap:4px;font-size:11px;display:flex}body.peripheral-hud .player-card .player-name{text-overflow:ellipsis;white-space:nowrap;width:62px;line-height:1.2;overflow:hidden;flex:none!important}body.peripheral-hud .players-panel .leader-portrait{border:2px solid var(--player);width:48px;height:48px;box-shadow:0 2px 10px #0006}body.peripheral-hud .player-card.active .leader-portrait{outline-offset:3px;outline:1px solid #f5d38a;box-shadow:0 0 16px #f1bb5866}body.peripheral-hud .players-panel .score{color:#e5ca86;font-family:Georgia,serif;font-size:17px;line-height:1.1}body.peripheral-hud .player-card .score:before{content:"❧";margin-right:5px;font-size:13px}body.peripheral-hud .players-panel .player-meta,body.peripheral-hud .players-panel .player-development,body.peripheral-hud .players-panel .island-points{display:none}body.peripheral-hud .player-card .voice-badge{color:#d3dfc1;background:#153b43;border:1px solid #b4b99a;border-radius:50%;place-items:center;width:16px;height:16px;margin:0;font-size:0;display:grid;position:absolute;top:31px;bottom:auto;right:0}body.peripheral-hud .voice-badge:after{content:"♪";font-size:11px}body.peripheral-hud .voice-badge.speaking:before{display:none}body.peripheral-hud .voice-badge.speaking{background:#497952;box-shadow:0 0 9px #ace17b}body.peripheral-hud .turn-panel{background:linear-gradient(135deg,#173d46ee,#092934e6);border-color:#c1a67199;border-radius:24px;flex-wrap:nowrap;gap:10px;width:clamp(390px,35vw,580px);padding:10px 16px;top:18px;left:calc(50% - 65px);right:auto;transform:translate(-50%);box-shadow:0 3px 20px #04182055,inset 0 0 0 3px #e3c7850d}body.peripheral-hud .turn-panel>.turn-banner{text-align:left;flex:auto;min-width:0}body.peripheral-hud .turn-leader{gap:10px}body.peripheral-hud .turn-leader .leader-portrait{width:54px;height:54px}body.peripheral-hud .turn-character-title{display:none}body.peripheral-hud .turn-panel .eyebrow{letter-spacing:2px;margin:0 0 4px;font-size:9px}body.peripheral-hud .turn-panel .phase{letter-spacing:0;font-size:16px;line-height:1.3}body.peripheral-hud .turn-panel small{margin-top:4px;font-size:12px}body.peripheral-hud .turn-panel .dice-dock{border:0;gap:6px;max-width:48%;padding:0 0 0 8px}body.peripheral-hud .turn-panel .dice-pair{margin:-7px -22px;transform:scale(.62)}body.peripheral-hud .turn-panel .dice-readout{gap:3px;min-width:92px}body.peripheral-hud .turn-panel .dice-caption{display:none}body.peripheral-hud .turn-panel .dice-total{font-size:17px}body.peripheral-hud .turn-panel #roll{min-height:34px;padding:5px 10px;font-size:13px}body.peripheral-hud .inventory{gap:8px;width:auto;bottom:18px;left:50%;right:auto;transform:translate(-50%)}body.peripheral-hud .inventory .resource{width:86px;height:112px}body.peripheral-hud .inventory-toggle{min-height:28px;padding:4px 14px;font-size:11px;bottom:146px}body.peripheral-hud.hand-hidden .inventory-toggle{bottom:20px}body.peripheral-hud .hud-development-hand{z-index:6;flex-direction:column;gap:4px;width:108px;max-width:108px;max-height:140px;margin:0;padding:0;display:flex;position:fixed;inset:auto auto 20px calc(50% + 265px);overflow:auto}body.peripheral-hud .hud-development-hand button{background:linear-gradient(130deg,#55486e,#242b45);border-color:#c9a675;gap:3px;min-height:32px;padding:3px 5px;font-size:10px}body.peripheral-hud .hud-development-hand .card-art{width:22px;height:26px}body.peripheral-hud .hud-awards{z-index:5;gap:12px;width:194px;margin:0;display:grid;position:fixed;bottom:94px;left:28px}body.peripheral-hud .hud-awards .honor-card{cursor:pointer}body.peripheral-hud .hud-awards .honor-description{display:none}body.peripheral-hud .hud-awards .honor-portrait{height:78px}body.peripheral-hud .hud-awards .honor-crown{display:none}body.peripheral-hud .hud-awards .honor-ribbon{margin-top:-7px}body.peripheral-hud .hud-awards .honor-card{border-radius:12px;padding:5px 5px 8px}body.peripheral-hud .hud-awards .honor-portrait{border-radius:8px}body.peripheral-hud .hud-awards .honor-card:after{display:none}body.peripheral-hud .world-controls{gap:5px;max-width:270px;bottom:18px;left:28px}body.peripheral-hud #view-hint{display:none}body.peripheral-hud .world-controls button{height:30px;min-height:30px;padding:4px 7px;font-size:11px}body.peripheral-hud .voice-controls{gap:5px;bottom:54px;left:28px;right:auto}body.peripheral-hud .voice-controls button{height:27px;min-height:27px;padding:3px 9px;font-size:10px}body.peripheral-hud .voice-message{left:0;right:auto}body.peripheral-hud .mobile-action-bar{width:var(--hud-action-width);z-index:9;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;height:70px;display:grid;position:fixed;bottom:92px;left:auto;right:28px}body.peripheral-hud .mobile-action-bar.setup-actions{grid-template-columns:repeat(2,70px);justify-content:end}body.peripheral-hud .mobile-action-bar button{color:#efdbab;background:radial-gradient(at top,#274853e8,#0d2c38ed);border:1px solid #c6ad74a8;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;min-width:0;min-height:64px;padding:6px;font-size:12px;display:flex;box-shadow:inset 0 0 0 3px #bfa77417,0 3px 9px #03192266}body.peripheral-hud #mobile-actions-toggle:before{content:"⌂";font-size:25px;line-height:1}body.peripheral-hud #quick-trade:before{content:"⇄";font-size:25px;line-height:1}body.peripheral-hud #quick-development:before{content:"▧";font-size:25px;line-height:1}body.peripheral-hud .mobile-action-bar button>span{display:none}body.peripheral-hud .mobile-action-bar button[aria-expanded=true]{background:#3e5c57;border-color:#f4d789}body.peripheral-hud .turn-end-control{width:var(--hud-action-width);background:0 0;border:0;border-radius:24px;height:48px;padding:0;bottom:26px;left:auto;right:28px}body.peripheral-hud .turn-end-control button{color:#193038;background:linear-gradient(#f0d8a0,#c4a466);border:1px solid #f6deaa;border-radius:24px;width:100%;height:48px;font-size:16px;box-shadow:inset 0 0 0 3px #74532655,0 5px 16px #0004}body.peripheral-hud .actions-panel,body.peripheral-hud.has-turn-end .actions-panel{z-index:10;pointer-events:none;width:300px;max-height:calc(100dvh - 320px);inset:auto 28px 182px auto;overflow:visible}body.peripheral-hud .actions-panel>.action-card{display:none}body.peripheral-hud .actions-panel.is-open>.action-card,body.peripheral-hud .actions-panel.requires-action>.action-card{pointer-events:auto;border-color:#b59f71;border-radius:14px;max-height:calc(100dvh - 320px);margin:0;padding:18px;display:block;overflow:auto;box-shadow:0 10px 40px #03152088}body.peripheral-hud .actions-panel .action-sheet-close{color:#ebdcb8;background:#294a50;border:1px solid #bba87966;border-radius:6px;min-height:30px;margin:0 0 12px auto;padding:6px 10px;font-size:11px;display:block}body.peripheral-hud .actions-panel.requires-action .action-sheet-close,body.peripheral-hud .actions-panel[data-mobile-panel=build] .exchange-content,body.peripheral-hud .actions-panel[data-mobile-panel=trade] .construction-content{display:none}body.peripheral-hud .actions-panel.requires-action .construction-content{display:block}body.peripheral-hud .hud-activity{z-index:8;position:fixed;top:44%;left:28px}body.peripheral-hud .hud-activity>summary{background:#123441c9;border:1px solid #c2ad7d99;border-radius:50%;place-items:center;width:52px;height:56px;font-size:11px;display:grid;box-shadow:0 4px 18px #0003}body.peripheral-hud .hud-activity>summary:before{content:"☷";font-size:22px;line-height:1}body.peripheral-hud .hud-activity-body{background:#13343df5;border:1px solid #bba06a;border-radius:12px;width:270px;max-height:42dvh;padding:18px;position:absolute;top:0;left:64px;overflow:auto;box-shadow:0 12px 32px #001a2288}body.peripheral-hud .hud-activity:not([open])>.hud-activity-body{display:none}body.peripheral-hud #load-progress{font-size:10px;bottom:174px;right:28px}body.peripheral-hud .harvest-notice{bottom:178px}}@media (width>=1101px) and (width<=1500px){body.peripheral-hud{--hud-action-width:216px}body.peripheral-hud .players-panel,body.peripheral-hud[data-variant=extended] .players-panel{gap:4px;right:68px}body.peripheral-hud .players-panel .player-card,body.peripheral-hud[data-variant=extended] .players-panel .player-card{flex-basis:52px;width:52px}body.peripheral-hud .player-card .player-name{width:52px;font-size:10px}body.peripheral-hud .players-panel .leader-portrait{width:42px;height:42px}body.peripheral-hud .turn-panel{width:380px;padding:9px 12px;left:43%}body.peripheral-hud .turn-leader .leader-portrait{width:42px;height:42px}body.peripheral-hud .turn-panel .phase{font-size:13px}body.peripheral-hud .turn-panel .dice-dock{gap:4px;padding-left:0}body.peripheral-hud .turn-panel .dice-pair{margin:-9px -27px;transform:scale(.52)}body.peripheral-hud .turn-panel .dice-readout{min-width:84px}body.peripheral-hud .turn-panel .dice-total{font-size:14px}body.peripheral-hud .inventory .resource{width:72px;height:100px}body.peripheral-hud .inventory-toggle{bottom:136px}body.peripheral-hud .hud-development-hand{width:96px;left:calc(50% + 214px)}body.peripheral-hud .hud-awards{width:166px;bottom:90px}body.peripheral-hud .hud-awards .honor-portrait{height:62px}body.peripheral-hud .mobile-action-bar{gap:10px;height:62px}body.peripheral-hud .mobile-action-bar button{min-height:58px;font-size:11px}}@media (width<=1100px){body.peripheral-hud .hud-room,body.peripheral-hud .hud-awards{display:none}body.peripheral-hud .hud-development-action{display:none!important}body.peripheral-hud .hud-settings-body .status{display:block!important}body.peripheral-hud .hud-activity>summary{padding:10px 0}body.peripheral-hud .hud-activity-body .log{font-size:12px}body.peripheral-hud .hud-settings-body{max-height:70dvh;overflow:auto}}@media (width>=1101px){body.peripheral-hud #mobile-actions-toggle{display:flex}}#player-detail .player-development,#player-detail .player-meta,#player-detail .voice-badge{display:block}#player-detail .player-meta>span{display:inline}@media (width>=1101px){body.peripheral-hud .hud-development-hand{justify-content:flex-start}}body.peripheral-hud header:has(.hud-settings[open]){z-index:25}#player-detail .player-name{overflow-wrap:anywhere;min-width:0}.compact-sheet,.compact-bottom,#mobile-players{display:none}@media (width<=1100px){html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body.strategy-layout.compact-mobile-hud{--compact-edge:max(8px,env(safe-area-inset-left),env(safe-area-inset-right));--compact-bottom:calc(8px + env(safe-area-inset-bottom,0px));--compact-top:calc(8px + env(safe-area-inset-top,0px));--map-bottom:64px;--rail-left:0px;--rail-right:0px}body.strategy-layout.compact-mobile-hud header{inset:var(--compact-top) var(--compact-edge) auto auto;z-index:25;pointer-events:none;background:0 0;width:94px;height:64px;padding:0;position:fixed}body.strategy-layout.compact-mobile-hud header .brand{display:none}body.strategy-layout.compact-mobile-hud .header-right{pointer-events:auto;gap:6px;margin:0;display:flex}body.strategy-layout.compact-mobile-hud #mobile-players{color:#eadbb7;background:#102f3deb;border:1px solid #bba77780;border-radius:14px;width:44px;min-height:44px;padding:0;font-size:14px;display:block}body.strategy-layout.compact-mobile-hud .hud-settings>summary{box-sizing:border-box;border-radius:14px;width:44px;height:44px}body.strategy-layout.compact-mobile-hud .hud-settings-body{width:min(340px,calc(100vw - 2*var(--compact-edge)));max-height:calc(100dvh - 148px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#9b986e #15333c;gap:8px;min-width:0;padding:12px;top:54px;right:0;overflow-x:hidden}body.strategy-layout.compact-mobile-hud .hud-settings-body>*{flex-shrink:0}body.strategy-layout.compact-mobile-hud .hud-settings-body{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;display:grid}body.strategy-layout.compact-mobile-hud .hud-settings:not([open])>.hud-settings-body{display:none}body.strategy-layout.compact-mobile-hud .hud-settings-body>*{min-width:0}body.strategy-layout.compact-mobile-hud .hud-settings-body>.status,body.strategy-layout.compact-mobile-hud .hud-settings-body>#language-toggle,body.strategy-layout.compact-mobile-hud .hud-settings-body>.world-controls,body.strategy-layout.compact-mobile-hud .hud-settings-body>.voice-controls,body.strategy-layout.compact-mobile-hud .hud-settings-body>.hud-activity,body.strategy-layout.compact-mobile-hud .hud-settings-body>#mobile-harvest-recap{grid-column:1/-1}body.strategy-layout.compact-mobile-hud .hud-settings-body .world-controls,body.strategy-layout.compact-mobile-hud .hud-settings-body .voice-controls{pointer-events:auto;flex-wrap:wrap;gap:6px;width:100%;max-width:none;margin:0;display:flex;position:static;inset:auto;transform:none}body.strategy-layout.compact-mobile-hud .hud-settings-body .world-controls{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;height:auto;padding:0;display:grid;overflow:visible}body.strategy-layout.compact-mobile-hud .hud-settings-body .world-controls button,body.strategy-layout.compact-mobile-hud .hud-settings-body .voice-controls button{flex:1;width:auto;height:auto;min-height:44px;font-size:12px}body.strategy-layout.compact-mobile-hud #view-hint{display:none}body.strategy-layout.compact-mobile-hud .voice-message{width:100%;position:static}body.strategy-layout.compact-mobile-hud .turn-panel{top:var(--compact-top);left:var(--compact-edge);right:calc(var(--compact-edge) + 102px);box-sizing:border-box;z-index:8;background:#102f3ddb;border:1px solid #bba77760;border-radius:14px;flex-wrap:nowrap;gap:7px;width:auto;max-width:650px;height:64px;min-height:64px;margin:0;padding:7px 9px;display:flex;position:fixed;bottom:auto;transform:none;box-shadow:0 3px 18px #00172233}body.strategy-layout.compact-mobile-hud .turn-panel>.turn-banner{text-align:left;flex:auto;min-width:0}body.strategy-layout.compact-mobile-hud .turn-leader{justify-content:flex-start;gap:7px}body.strategy-layout.compact-mobile-hud .turn-leader .leader-portrait{flex-shrink:0;width:32px;height:32px}body.strategy-layout.compact-mobile-hud .turn-leader-copy{min-width:0}body.strategy-layout.compact-mobile-hud .turn-panel .eyebrow{letter-spacing:1px;margin:0 0 2px;font-size:8px;display:block}body.strategy-layout.compact-mobile-hud .turn-panel .phase{letter-spacing:0;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.3;overflow:hidden}body.strategy-layout.compact-mobile-hud .turn-panel small{text-overflow:ellipsis;white-space:nowrap;max-width:180px;margin:2px 0 0;font-size:11px;display:block;overflow:hidden}body.strategy-layout.compact-mobile-hud .turn-character-title{display:none}body.strategy-layout.compact-mobile-hud .turn-panel .dice-dock{border:0;flex-direction:column;flex:none;gap:0;min-width:0;max-width:90px;padding:0;display:flex}body.strategy-layout.compact-mobile-hud .turn-panel .dice-dock[hidden],body.strategy-layout.compact-mobile-hud .harvest-recap[hidden],body.strategy-layout.compact-mobile-hud .turn-panel .dice-pair{display:none}body.strategy-layout.compact-mobile-hud .turn-panel .dice-readout{text-align:center;gap:2px;min-width:0}body.strategy-layout.compact-mobile-hud .turn-panel .dice-caption{display:none}body.strategy-layout.compact-mobile-hud .turn-panel .dice-total{white-space:nowrap;font-size:12px}body.strategy-layout.compact-mobile-hud .turn-panel #roll{min-height:44px;padding:5px 9px;font-size:12px}body.strategy-layout.compact-mobile-hud .turn-panel:has(#roll:not([hidden])) .dice-total{display:none}body.strategy-layout.compact-mobile-hud .turn-panel .harvest-recap{min-height:24px;margin:0;padding:2px;font-size:10px;position:static}body.strategy-layout.compact-mobile-hud .turn-panel .harvest-recap,body.strategy-layout.compact-mobile-hud .turn-panel .starting-recap{display:none}body.strategy-layout.compact-mobile-hud .turn-panel .dice-dock.rolling .dice-pair{pointer-events:none;margin:0;display:flex;position:absolute;top:90px;left:50%;transform:translate(-50%)scale(.8)}body.strategy-layout.compact-mobile-hud .mobile-action-bar,body.strategy-layout.compact-mobile-hud .inventory-toggle{display:none!important}body.strategy-layout.compact-mobile-hud .compact-bottom{left:var(--compact-edge);right:var(--compact-edge);bottom:var(--compact-bottom);z-index:10;box-sizing:border-box;pointer-events:none;align-items:center;gap:6px;height:48px;padding:0;display:flex;position:fixed}body.strategy-layout.compact-mobile-hud.has-turn-end:not(.compact-placing) .compact-bottom{right:calc(var(--compact-edge) + 102px)}body.strategy-layout.compact-mobile-hud .compact-bottom button{pointer-events:auto;color:#eadbb7;background:#10313dec;border:1px solid #bba77788;border-radius:12px;min-width:44px;min-height:48px;padding:5px 10px;font-size:13px}body.strategy-layout.compact-mobile-hud #mobile-hand-toggle{flex:1;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;min-width:0;max-width:none;padding:4px 6px;display:grid}body.strategy-layout.compact-mobile-hud #mobile-hand-toggle span{flex-direction:column;align-items:center;min-width:0;line-height:1;display:flex}body.strategy-layout.compact-mobile-hud #mobile-hand-toggle svg{width:22px;height:23px}body.strategy-layout.compact-mobile-hud #mobile-hand-toggle b{font-size:12px}body.strategy-layout.compact-mobile-hud #mobile-operations{flex:0 0 54px;padding:5px;position:relative}body.strategy-layout.compact-mobile-hud #mobile-operations.has-offer:after{content:"";background:#f5d17c;border-radius:50%;width:7px;height:7px;position:absolute;top:5px;right:5px}body.strategy-layout.compact-mobile-hud .turn-end-control{top:auto;left:auto;right:var(--compact-edge);bottom:var(--compact-bottom);z-index:11;background:0 0;border:0;width:96px;height:48px;padding:0;position:fixed}body.strategy-layout.compact-mobile-hud .turn-end-control button{white-space:normal;border-radius:12px;width:100%;height:48px;min-height:48px;padding:5px;font-size:12px;line-height:1.25}body.strategy-layout.compact-mobile-hud.compact-placing .turn-end-control{display:none}body.strategy-layout.compact-mobile-hud .compact-placement{pointer-events:none;justify-content:center}body.strategy-layout.compact-mobile-hud .compact-placement-hint{color:#eadbb7;text-align:center;background:#102f3de8;border-radius:20px;max-width:calc(100% - 64px);padding:9px 14px;font-size:13px}body.strategy-layout.compact-mobile-hud .compact-placement:has(#cancel-placement) .compact-placement-hint{flex:1;min-width:0;padding:6px;font-size:12px}body.strategy-layout.compact-mobile-hud #cancel-placement{flex-shrink:0;padding:5px 8px}body.strategy-layout.compact-mobile-hud .compact-sheet{left:var(--compact-edge);right:var(--compact-edge);bottom:calc(var(--compact-bottom) + 58px);z-index:20;max-height:calc(100dvh - 156px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overscroll-behavior:contain;box-sizing:border-box;scrollbar-color:#9b986e #15333c;scrollbar-width:thin;background:#12333ef5;border:1px solid #bca776;border-radius:16px;padding:12px;display:block;position:fixed;overflow:auto;box-shadow:0 12px 45px #00182288}body.strategy-layout.compact-mobile-hud .compact-sheet[hidden]{display:none}body.strategy-layout.compact-mobile-hud .compact-sheet-heading{z-index:3;color:#eadbb7;background:#12333e;border-bottom:1px solid #bca77640;justify-content:space-between;align-items:center;gap:10px;margin:-12px -12px 12px;padding:10px 12px;font-size:14px;display:flex;position:sticky;top:-12px}body.strategy-layout.compact-mobile-hud .compact-sheet-heading button{color:#eadbb7;background:#24454d;border:1px solid #bca77666;border-radius:50%;min-width:44px;min-height:44px;font-size:20px}body.strategy-layout.compact-mobile-hud .compact-sheet>button{min-height:44px;margin-top:8px}body.strategy-layout.compact-mobile-hud .compact-sheet .inventory{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;height:auto;margin:6px 0 16px;padding:0;display:grid;position:static;inset:auto;transform:none}body.strategy-layout.compact-mobile-hud .compact-sheet .inventory .resource{flex:1;width:auto;min-width:0;max-width:none;height:96px;margin:0;transform:none}body.strategy-layout.compact-mobile-hud .compact-sheet .inventory .resource small{font-size:11px}body.strategy-layout.compact-mobile-hud .compact-sheet .hud-development-hand{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:none;max-height:none;margin:0;padding:0;display:grid;position:static;overflow:visible}body.strategy-layout.compact-mobile-hud .compact-sheet .hud-development-hand button{justify-content:flex-start;gap:6px;min-width:0;min-height:48px;padding:6px 8px;font-size:12px;line-height:1.35}body.strategy-layout.compact-mobile-hud .compact-sheet .players-panel{direction:ltr;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:auto;max-height:none;padding:0;display:grid;position:static;inset:auto;overflow:visible}body.strategy-layout.compact-mobile-hud .compact-sheet .players-panel .player-card{width:auto;min-width:0;min-height:70px;margin:0;padding:8px;overflow:hidden}body.strategy-layout.compact-mobile-hud .compact-sheet .player-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}body.strategy-layout.compact-mobile-hud .compact-sheet .hud-room{justify-content:space-between;align-items:center;margin:0 0 12px;font-size:12px;display:flex;position:static}body.strategy-layout.compact-mobile-hud .compact-sheet .hud-awards{width:min(260px,100%);margin:12px auto 0;display:grid;position:static}body.strategy-layout.compact-mobile-hud .actions-panel,body.strategy-layout.compact-mobile-hud.has-turn-end .actions-panel{left:var(--compact-edge);right:var(--compact-edge);top:auto;bottom:calc(var(--compact-bottom) + 58px);z-index:21;pointer-events:none;width:auto;max-height:none;position:fixed;overflow:visible}body.strategy-layout.compact-mobile-hud .actions-panel>.action-card{display:none}body.strategy-layout.compact-mobile-hud .actions-panel.is-open>.action-card{pointer-events:auto;max-height:calc(100dvh - 156px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overscroll-behavior:contain;box-sizing:border-box;scrollbar-color:#9b986e #15333c;background:#12333ef5;border:1px solid #bca776;border-radius:16px;margin:0;padding:14px;display:block;overflow:auto}body.strategy-layout.compact-mobile-hud .actions-panel[data-mobile-panel=build] .exchange-content,body.strategy-layout.compact-mobile-hud .actions-panel[data-mobile-panel=trade] .construction-content{display:none}body.strategy-layout.compact-mobile-hud .action-sheet-close{min-height:44px;margin:0 0 8px auto;display:block}body.strategy-layout.compact-mobile-hud .map-selection{left:var(--compact-edge);right:var(--compact-edge);bottom:var(--compact-bottom);z-index:22;box-sizing:border-box;border-radius:12px;flex-wrap:nowrap;gap:5px;min-height:48px;padding:0 5px;display:flex;position:fixed;top:auto}body.strategy-layout.compact-mobile-hud .map-selection[hidden]{display:none}body.strategy-layout.compact-mobile-hud .map-selection span{flex:auto;min-width:0;font-size:12px}body.strategy-layout.compact-mobile-hud .map-selection button{flex:none;min-height:44px;padding:5px 10px;font-size:12px}body.strategy-layout.compact-mobile-hud:has(.map-selection:not([hidden])) .compact-bottom{visibility:hidden}body.strategy-layout.compact-mobile-hud #load-progress{bottom:68px;right:12px}body.strategy-layout.compact-mobile-hud .harvest-notice{left:50%;bottom:calc(var(--compact-bottom) + 64px);max-width:calc(100vw - 24px)}body.strategy-layout.compact-mobile-hud .hud-settings-body>button{border-radius:8px;min-height:44px}body.strategy-layout.compact-mobile-hud .hud-settings-body .view-switch{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:4px;min-width:0;padding:2px;display:grid}body.strategy-layout.compact-mobile-hud .hud-settings-body .world-controls button{white-space:normal;border-radius:8px;width:100%;min-width:0;height:44px;margin:0;padding:4px 8px;line-height:1.3}body.strategy-layout.compact-mobile-hud .hud-settings-body #mobile-hd-hint{overflow-wrap:anywhere;grid-column:1/-1;min-width:0}body.strategy-layout.compact-mobile-hud .hud-settings-body .voice-controls{grid-template-columns:1fr 1fr;display:grid}body.strategy-layout.compact-mobile-hud .voice-message{grid-column:1/-1}body.strategy-layout.compact-mobile-hud .compact-sheet .resource strong{width:24px;height:24px;box-shadow:none;border-width:1px;font-size:15px;top:2px;right:2px}body.strategy-layout.compact-mobile-hud .compact-sheet .resource small{letter-spacing:0;padding:4px 0;bottom:5px;left:2px;right:2px}body.strategy-layout.compact-mobile-hud .compact-sheet .hud-development-hand .card-art{flex:0 0 24px;width:24px;height:28px}body.strategy-layout.compact-mobile-hud .compact-sheet .hud-development-hand button>span{overflow-wrap:break-word;flex:1;min-width:0}body.strategy-layout.compact-mobile-hud .compact-sheet .hud-development-hand i{flex:none}body.strategy-layout.compact-mobile-hud .compact-sheet .player-card .row{grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}body.strategy-layout.compact-mobile-hud .compact-sheet .player-card .leader-portrait{width:28px;height:28px}body.strategy-layout.compact-mobile-hud .compact-sheet .player-card .score{font-size:18px}body.strategy-layout.compact-mobile-hud .compact-sheet .hud-room button{min-height:44px;padding:6px 12px}body.strategy-layout.compact-mobile-hud .action-sheet-close{min-height:44px;padding:6px 12px;line-height:1.3;display:block;position:sticky;top:0}body.strategy-layout.compact-mobile-hud .build-button{margin-right:0}body.compact-mobile-hud dialog{max-width:calc(100vw - 2*var(--compact-edge));max-height:calc(100dvh - var(--compact-top) - var(--compact-bottom));box-sizing:border-box}body.compact-mobile-hud #trade-dialog{--trade-inset:14px;width:min(700px,calc(100vw - 2*var(--compact-edge)));border-radius:14px}body.compact-mobile-hud .trade-header{align-items:center;gap:12px;padding:12px 14px}body.compact-mobile-hud .trade-header h2{font-size:18px;line-height:1.35}body.compact-mobile-hud .trade-body{scrollbar-gutter:auto;padding:12px 14px 16px;overflow-x:hidden}body.compact-mobile-hud .trade-recipients{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;min-width:0;display:grid}body.compact-mobile-hud .trade-recipients legend{width:100%;margin-bottom:10px}body.compact-mobile-hud .trade-recipients>button{min-height:44px;padding:6px 12px}body.compact-mobile-hud .trade-recipients label{grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:62px;margin:0;padding:8px;font-size:12px;line-height:1.4;display:grid}body.compact-mobile-hud .trade-recipients label>span{overflow-wrap:anywhere;min-width:0}body.compact-mobile-hud .trade-recipients input{flex:none;width:18px;min-width:18px;height:18px;padding:0}body.compact-mobile-hud .trade-picker-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}body.compact-mobile-hud .trade-counter{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}body.compact-mobile-hud .trade-counter button{width:100%;min-width:0;min-height:44px;padding:0}body.compact-mobile-hud .trade-counter output{text-align:center;min-width:12px;font-size:13px}body.compact-mobile-hud .trade-exchange{gap:8px}body.compact-mobile-hud .trade-buttons{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;display:grid}body.compact-mobile-hud .trade-buttons button{white-space:normal;min-height:44px;margin:0}body.compact-mobile-hud .trade-footer{padding:8px 14px;font-size:10px;line-height:1.5}body.compact-mobile-hud #development-dialog{width:min(700px,calc(100vw - 2*var(--compact-edge)));padding:16px}body.compact-mobile-hud #development-dialog h2{margin:8px 0 16px;padding-right:40px;font-size:20px;line-height:1.4}body.compact-mobile-hud .development-heading{flex-wrap:wrap;align-items:flex-start;gap:8px}body.compact-mobile-hud .development-heading h3{margin:0;font-size:15px}body.compact-mobile-hud .development-heading>span{line-height:1.5}body.compact-mobile-hud .dialog-close{z-index:3;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;line-height:1;display:grid;top:10px;right:10px}body.compact-mobile-hud #player-detail h2,body.compact-mobile-hud #resource-details h2{overflow-wrap:anywhere;padding-right:32px}body.compact-mobile-hud #resource-details h2{padding-left:32px}body.compact-mobile-hud #end-turn-dialog{padding:20px}body.compact-mobile-hud .end-turn-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}body.compact-mobile-hud .end-turn-buttons button{padding:8px;font-size:14px}}@media (width<=1100px) and (orientation:landscape){body.strategy-layout.compact-mobile-hud .turn-panel{width:min(470px,calc(100vw - 2*var(--compact-edge) - 102px));min-height:64px;right:auto}body.strategy-layout.compact-mobile-hud .compact-sheet,body.strategy-layout.compact-mobile-hud .actions-panel{width:360px;max-width:calc(100vw - 24px);left:auto}body.strategy-layout.compact-mobile-hud .compact-bottom{width:360px;max-width:calc(100vw - 16px);left:auto}body.strategy-layout.compact-mobile-hud.has-turn-end:not(.compact-placing) .compact-bottom{width:258px}body.strategy-layout.compact-mobile-hud .compact-placement,body.strategy-layout.compact-mobile-hud .map-selection{width:380px;max-width:calc(100vw - 24px);left:50%;right:auto;transform:translate(-50%)}body.strategy-layout.compact-mobile-hud .turn-panel .dice-pair{margin:-16px -28px;display:flex;transform:scale(.4)}body.strategy-layout.compact-mobile-hud .turn-panel .dice-dock{flex-direction:row;gap:4px;max-width:170px}}.bot-review-entry{top:var(--turn-panel-bottom,170px);z-index:9;border:1px solid var(--gold);background:var(--gold);color:#25372f;cursor:pointer;pointer-events:auto;border-radius:6px;max-width:calc(100vw - 24px);padding:8px 12px;font-size:12px;position:fixed;left:50%;transform:translate(-50%)}.bot-review-entry[hidden]{display:none}body:has(#bot-turn-review[data-minimized=true]) .bot-review-entry{display:none}#bot-turn-review{width:min(540px,100vw - 24px);max-height:calc(100dvh - 32px);padding:68px 24px 24px;overflow:auto}#bot-turn-review h2{margin:0 0 12px;min-height:0!important;padding-right:0!important}.bot-review-content p,.bot-review-intro,.bot-review-status{font-size:13px;line-height:1.7}.bot-review-status{color:var(--gold)}.bot-review-cards{flex-wrap:wrap;gap:8px;display:flex}.bot-review-cards>div{border:1px solid var(--line);background:#102d32;border-radius:6px;align-items:center;gap:4px;padding:4px 8px;display:flex}.bot-review-cards svg{width:40px;height:40px}#bot-turn-review .dialog-close{top:8px;right:12px}@media (width<=700px){.bot-review-entry{max-width:100%;min-height:30px;padding:5px 8px;font-size:11px}#bot-turn-review{padding:68px 16px 16px}#bot-turn-review h2{font-size:20px}}@media (width<=1100px){body:has(.minimized-panels:not([hidden])) .bot-review-entry{top:calc(var(--turn-panel-bottom,80px) + 50px)}}.audio-controls{z-index:7;grid-template-columns:1fr 1fr;gap:8px;width:280px;display:grid;position:fixed;bottom:76px;right:28px}.audio-controls button{color:#eee1bd;white-space:nowrap;background:#12343ded;border:1px solid #b6a16a99;border-radius:8px;justify-content:space-between;align-items:center;gap:6px;min-width:0;height:40px;min-height:40px;padding:8px 10px;font-size:12px;display:flex}.audio-controls b{color:#edf1ee;text-align:center;background:#536268;border-radius:7px;min-width:32px;padding:4px 6px;font:700 11px Inter,sans-serif}.audio-controls button[aria-pressed=true] b{color:#fff;background:#387858}.audio-controls button:focus-visible{outline-offset:3px;outline:2px solid #f0d995}body.peripheral-hud .hud-activity{z-index:8;position:fixed;top:90px;left:28px}body.peripheral-hud .hud-activity>summary{background:#123441ed;border:1px solid #c2ad7d99;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:104px;height:38px;padding:0 12px;font-size:12px;display:flex;box-shadow:0 4px 18px #0003}body.peripheral-hud .hud-activity>summary:before{content:"☷";font-size:19px;line-height:1}body.peripheral-hud .hud-activity>summary:after{content:"⌄";font-size:15px}body.peripheral-hud .hud-activity[open]>summary:after{content:"⌃"}body.peripheral-hud .hud-activity[open]>summary{background:#28504e;border-color:#e5ce8d}body.peripheral-hud .hud-activity-body{scrollbar-width:thin;scrollbar-color:#b7a271 #17393d;background:#13343df5;border:1px solid #bba06a;border-radius:12px;width:280px;max-height:calc(100dvh - 440px);padding:16px;position:absolute;top:46px;left:0;overflow:auto;box-shadow:0 12px 32px #001a2288}body.peripheral-hud .hud-activity:not([open])>.hud-activity-body{display:none}.hud-activity-body>strong{color:#e6d5a5;font-size:15px}body.peripheral-hud .hud-activity-body .log{max-height:none;margin-top:10px;overflow:visible}body.peripheral-hud .hud-activity-body .log p{border-bottom:1px solid #d4bf801a;margin:0;padding:7px 0;font-size:12px;line-height:1.7}@media (width>=1101px){body.peripheral-hud .hud-room{letter-spacing:0;font-size:10px;top:100px;left:144px}body.peripheral-hud .hud-room button{margin-left:6px;padding:4px 7px}body.strategy-layout.peripheral-hud[data-view=game] .world-controls{grid-template-columns:2fr 1fr 1fr;gap:8px;width:280px;max-width:280px;display:grid;bottom:68px;left:28px;overflow:visible}body.peripheral-hud .world-controls .view-switch{border:0;grid-template-columns:1fr 1fr;gap:0;width:100%;height:40px;padding:0;display:grid}body.strategy-layout.peripheral-hud[data-view=game] .world-controls button{color:#eee1bd;background:#12343ded;border:1px solid #b6a16a99;border-radius:8px;width:100%;min-width:0;height:40px;min-height:40px;margin:0;padding:4px 8px;font-size:12px}body.peripheral-hud .view-switch button[aria-pressed=true]{color:#25372f!important;background:#d4bf80!important}body.strategy-layout.peripheral-hud[data-view=game] .voice-controls{grid-template-columns:1fr 1fr;gap:8px;width:280px;display:grid;bottom:116px;left:28px;right:auto}body.strategy-layout.peripheral-hud[data-view=game] .voice-controls button{color:#eee1bd;background:#12343ded;border:1px solid #b6a16a99;border-radius:8px;height:40px;min-height:40px;padding:6px 10px;font-size:12px}body.peripheral-hud .voice-controls[hidden],body.peripheral-hud .voice-controls button[hidden]{display:none}body.strategy-layout.peripheral-hud[data-view=game] .voice-controls button[aria-pressed=true]{background:#285b48;border-color:#94c895}body.peripheral-hud .audio-controls{width:280px;bottom:20px;left:28px;right:auto}body.peripheral-hud .hud-awards{gap:12px;width:214px;bottom:170px;left:28px}body.peripheral-hud:has(.voice-play:not([hidden])) .hud-awards{bottom:218px}body.peripheral-hud:has(.voice-play:not([hidden])) .hud-activity-body{max-height:calc(100dvh - 488px)}}@media (width<=700px){body[data-view=lobby] .audio-controls{left:6px;right:auto;bottom:calc(56px + var(--safe-bottom,0px));width:calc(100% - 12px)}body[data-view=lobby] .audio-controls button{height:44px}body[data-view=lobby] .lobby,body[data-view=lobby] .waiting{bottom:calc(110px + var(--safe-bottom,0px));max-height:calc(100dvh - 180px - var(--safe-bottom,0px))}}@media (width<=1100px){body.peripheral-hud .hud-activity{left:8px;top:calc(var(--compact-top,8px) + 74px)}body.peripheral-hud .hud-activity>summary{width:88px;height:32px;padding:0 8px;font-size:11px}body.peripheral-hud .hud-activity-body{width:min(280px,100vw - 16px);max-height:calc(100dvh - 210px);top:38px}body.strategy-layout.compact-mobile-hud .hud-settings-body>.audio-controls{grid-column:1/-1;gap:6px;width:100%;position:static}body.strategy-layout.compact-mobile-hud .hud-settings-body>.audio-controls button{white-space:normal;width:100%;min-height:44px;padding:6px 8px;font-size:12px}body.peripheral-hud .bot-review-entry{top:calc(var(--turn-panel-bottom,80px) + 38px)}body:has(.minimized-panels:not([hidden])) .hud-activity{top:calc(var(--compact-top,8px) + 122px)}}.spectator-label{color:var(--gold);letter-spacing:0;margin-top:8px;font-size:12px;line-height:1.7;display:block}#leave-spectator{min-height:42px;margin-top:8px}.is-spectator .inventory,.is-spectator #inventory-toggle,.is-spectator .mobile-action-bar,.is-spectator .development-strip,.is-spectator .voice-controls{display:none!important}.is-spectator .spectator-bottom{color:var(--gold);justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;display:flex}.spectator-bottom #leave-spectator{margin:0}@media (width<=1100px){.is-spectator .hud-room #leave-spectator{display:none}.is-spectator .actions-panel{display:none!important}}#public-rooms-dialog{color:#eee9d5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background:#103439e8;border:1px solid #c5d9d549;border-radius:22px;width:min(980px,94vw);max-height:85dvh;padding:26px;box-shadow:0 24px 80px #00171db3}#public-rooms-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#00181a90}.social-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.social-heading small{color:#b3c7c4;margin-top:5px;display:block}.social-heading h2{margin:4px 0;font-size:28px}.room-filters{grid-template-columns:minmax(120px,1fr) 150px 130px auto;gap:10px;margin:24px 0;display:grid}.room-filters input,.room-filters select{width:100%;min-width:0;margin:0}.public-room{border-top:1px solid #d7e8e22b;grid-template-columns:minmax(130px,1fr) 100px 80px 210px;align-items:center;gap:14px;padding:20px 4px;display:grid}.public-room-name strong{overflow-wrap:anywhere;font-size:18px}.public-room-name small,.public-room-count small{color:#acc6c2;margin-top:6px;display:block}.public-room-actions{gap:8px;display:flex}.public-room-actions button{white-space:nowrap;min-height:44px;padding:10px 12px}.room-state{color:#b2c6c2;font-size:12px}.room-state.available{color:#a3dbb7}.room-empty{text-align:center;color:#b1c6bf;padding:50px 20px}.browse-rooms{width:100%;min-height:48px;margin:0 0 16px}.visibility-note{color:#a8c4bd;font-size:12px;line-height:1.7}.room-visibility{color:#dcc88d;margin:4px 0 12px;font-size:12px;display:inline-block}.social-section-title{margin-top:18px}.spectator-area{border-top:1px solid #d8e0cc22;margin-top:16px;padding:16px 0}.spectator-area h3{margin:0}.spectator-area p{color:#a5c3bd;font-size:12px}.spectator-chips{flex-wrap:wrap;gap:8px;display:flex}.spectator-chips span{overflow-wrap:anywhere;background:#c9eeeb09;border:1px solid #c6d9ce28;border-radius:24px;padding:8px 12px}.spectator-chips i{color:#b3d6cf;margin-right:8px;font-style:normal}.lobby-role{background:#d8c98a09;border:1px solid #dbcb8f45;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px;padding:14px;display:flex}.lobby-role small{color:#b7c7be;margin-top:7px;font-size:11px;line-height:1.6;display:block}.lobby-role button{flex-shrink:0;min-height:44px}.room-chat{z-index:45;pointer-events:none;width:330px;position:fixed;bottom:86px;right:22px}.room-chat[hidden],.room-chat [hidden]{display:none!important}.room-chat button,.room-chat section{pointer-events:auto}.chat-toggle{float:right;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 5px 20px #001b2555;background:#153b40c9!important;border:1px solid #d4e8dd55!important;border-radius:24px!important;padding:12px 19px!important}.chat-unread{color:#fff;background:#bc604a;border-radius:16px;justify-content:center;min-width:20px;margin-left:7px;padding:2px 5px;font-size:11px;display:inline-flex}#room-chat-panel{-webkit-backdrop-filter:blur(22px)saturate(125%);backdrop-filter:blur(22px)saturate(125%);color:#eee9db;background:linear-gradient(145deg,#487271b8,#0c2e35e6);border:1px solid #cee2df66;border-radius:20px;flex-direction:column;height:min(410px,55dvh);display:flex;overflow:hidden;box-shadow:0 16px 45px #001b2570}#room-chat-panel .social-heading{border-bottom:1px solid #d8e5db22;padding:15px 16px}.chat-audience{font-size:11px}.chat-minimize{color:#e4e7d8;background:#c1dcd71a;border:1px solid #dde8dc40;border-radius:50%;width:34px;height:34px;font-size:22px}.chat-history{overscroll-behavior:contain;scrollbar-color:#87ada469 transparent;scrollbar-width:thin;flex:1;min-height:0;padding:8px 16px;overflow:auto}.chat-message{margin:12px 0}.chat-message>div{align-items:center;gap:6px;font-size:12px;display:flex}.chat-message>div strong{text-overflow:ellipsis;max-width:150px;overflow:hidden}.chat-message>div span{color:#e0d29e;font-size:10px}.chat-message time{color:#a9c5c1;margin-left:auto;font-size:10px}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;color:#f1eee1;background:#b5dad315;border-radius:0 10px 10px;margin:7px 0;padding:9px 11px;font-size:13px;line-height:1.7}.chat-message.own p{background:#d3c28719}.chat-empty{color:#aec6bd;margin-top:24px;font-size:13px}.chat-compose{gap:8px;margin:0;padding:10px 12px;display:flex}.chat-compose input{color:#f2eddd;background:#0c2b3280;border:1px solid #d4e8df35;border-radius:12px;flex:1;width:0;min-width:0;margin:0;padding:11px}.chat-compose button{border-radius:12px;width:42px;min-height:42px;font-size:21px}.chat-new{color:#fff;background:#436862;border:1px solid #c4ded133;border-radius:20px;margin:0 auto;padding:7px 14px;font-size:12px}.chat-feedback{color:#efd19b;padding:0 14px 8px;font-size:11px}.chat-feedback:empty{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){#room-chat-panel,#public-rooms-dialog{background:#173d42}}@media (width<=700px){#public-rooms-dialog{max-height:90dvh;padding:18px}.room-filters{grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.room-filters input{grid-column:1/-1}.public-room{grid-template-columns:1fr auto;gap:12px;padding:17px 0}.public-room-actions{grid-area:2/2}.public-room-count{text-align:right}.public-room-name strong{font-size:16px}.public-room-actions button{padding:9px;font-size:12px}.room-chat{right:12px;bottom:calc(86px + env(safe-area-inset-bottom,0px));width:min(330px,100vw - 24px)}#room-chat-panel{height:min(340px,45dvh)}.chat-compose input{font-size:16px}.lobby-role{flex-wrap:wrap}.lobby-role button{flex:1}.social-heading h2{font-size:24px}}@media (prefers-reduced-transparency:reduce){#room-chat-panel,#public-rooms-dialog{-webkit-backdrop-filter:none;backdrop-filter:none;background:#173d42}}body[data-view=lobby] .waiting.social-lobby{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#84aaa466 transparent;background:#173b3edb;border-radius:20px;width:min(560px,46vw);max-height:none;padding:24px;top:100px;bottom:110px;left:4%;overflow:auto}.social-lobby .seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 16px;display:grid}.social-lobby .seat{background:#b9d7ce08;border:1px solid #cfe1d52b;border-radius:12px;flex-wrap:wrap;gap:9px;min-width:0;padding:12px}.social-lobby .seat .name{overflow-wrap:anywhere;min-width:0}.social-lobby .seat .link-button{margin-left:auto}.social-lobby .social-section-title{margin-bottom:10px;font-size:15px}.social-lobby .room-code{letter-spacing:5px;font-size:26px}.social-lobby .row>button{flex:1;min-height:42px}.social-lobby .variant-description,.social-lobby .map-description{color:#acc2ba;font-size:12px;line-height:1.7}.lobby-map-details{color:#bbcec3;border-top:1px solid #cde0d727;margin:14px 0;padding-top:12px;font-size:12px}.lobby-map-details>summary{cursor:pointer;padding:6px 0}.social-lobby .lobby-map-details .map-preview{margin-top:12px}.social-lobby .spectator-area h3{font-size:14px}.social-lobby .waiting-character{margin:16px 0}.social-lobby #start-game{min-height:48px}.social-lobby .eyebrow{margin-bottom:8px}.social-lobby .lan-info{font-size:10px}#public-rooms-dialog{max-width:980px}#public-rooms-dialog .dialog-close{border:1px solid #cddbc83d;border-radius:50%;flex-shrink:0;width:40px;height:40px;line-height:1;position:static}body[data-view=lobby] .room-chat{bottom:128px}@media (width<=1000px){body[data-view=lobby] .waiting.social-lobby{width:min(540px,100vw - 40px);left:20px}}@media (width<=700px){body[data-view=lobby] .waiting.social-lobby{top:calc(78px + env(safe-area-inset-top,0px));width:calc(100vw - 24px);left:12px;bottom:calc(110px + env(safe-area-inset-bottom,0px));border-radius:16px;padding:16px}.social-lobby .seat{gap:7px;padding:10px 8px;font-size:12px}.social-lobby .seat .character-portrait{width:34px;height:34px}.social-lobby .lobby-role{padding:12px}.room-chat{bottom:calc(86px + env(safe-area-inset-bottom,0px) + var(--chat-keyboard,0px))}}@media (height<=560px) and (width>=701px){body[data-view=lobby] .waiting.social-lobby{top:76px;bottom:76px}.room-chat{bottom:60px}#room-chat-panel{height:calc(100dvh - 150px)}}@media (width<=700px){body[data-view=lobby] .room-chat{bottom:calc(110px + env(safe-area-inset-bottom,0px) + var(--chat-keyboard,0px))}body[data-view=lobby]:has(.room-chat:not([hidden]) #room-chat-panel:not([hidden])) .waiting.social-lobby{bottom:calc(122px + min(340px,45dvh) + env(safe-area-inset-bottom,0px))}.chat-minimize{width:44px;height:44px}.room-chat.keyboard-open,body[data-view=lobby] .room-chat.keyboard-open{bottom:calc(8px + var(--chat-keyboard,0px))}#room-chat-panel{height:min(340px,45dvh,var(--chat-available,100dvh))}}.social-lobby h2,.social-lobby .map-description{overflow-wrap:anywhere}.social-lobby .lobby-map-details{background:#0b2e33;border:1px solid #cbb87b66;border-radius:12px;margin:0 0 16px;padding:0;overflow:hidden}.social-lobby .lobby-map-details>summary{color:#eedca9;align-items:center;gap:8px;min-height:44px;padding:10px 12px;font-size:13px;font-weight:600;list-style:none;display:flex}.social-lobby .lobby-map-details>summary::-webkit-details-marker{display:none}.social-lobby .lobby-map-details>summary:focus-visible{outline-offset:-3px;outline:2px solid #eedca9}.lobby-map-details>summary span{color:#acc2ba;margin-left:auto;font-size:11px;font-weight:400}.lobby-map-details[open] .map-expand-label,.lobby-map-details:not([open]) .map-collapse-label{display:none}.social-lobby .lobby-map-details .map-preview{background:0 0;border:0;border-top:1px solid #cbb87b30;border-radius:0;margin:0}body.peripheral-hud .room-information{left:28px;right:auto;top:var(--info-top,130px);z-index:8;-webkit-backdrop-filter:blur(22px)saturate(125%);backdrop-filter:blur(22px)saturate(125%);--info-height:300px;background:linear-gradient(145deg,#31565bc9,#0c2e35ed);border:1px solid #c6b48280;border-radius:15px;width:300px;bottom:auto;overflow:hidden;box-shadow:0 10px 30px #001b2540}.room-info-toolbar{pointer-events:auto;align-items:center;gap:6px;padding:7px;display:flex}.room-info-toolbar [role=tablist]{flex:1;gap:4px;min-width:0;display:flex}.room-info-toolbar button{color:#bdd2cd;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-width:38px;min-height:38px;padding:6px 10px;font-size:13px;display:flex}.room-info-toolbar .room-info-tab{flex:1}.room-info-toolbar .room-info-tab[aria-selected=true]{color:#f5e5b6;background:#c6d8bb15;border-color:#d3bb796e}.room-info-toolbar .room-info-collapse{border-color:#d3bb7944;flex:none;padding:4px;font-size:20px}.room-info-toolbar button:hover{background:#d8e8cd20}.room-info-toolbar button:focus-visible{outline-offset:-2px;outline:2px solid #e9d18e}.room-info-toolbar .chat-unread{min-width:18px;margin:0;padding:2px 4px;font-size:10px}body.peripheral-hud .room-information #room-chat-panel{height:var(--info-height);max-height:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-top:1px solid #d7e5d52b;border-radius:0}.room-information #room-chat-panel .social-heading{padding:12px 15px}.room-information #chat-title{font-size:14px}.room-information .chat-minimize{display:none}.room-information .chat-compose{padding:10px}.room-information .chat-compose input{padding:9px;font-size:13px}.room-information .chat-history{padding:0 14px}.room-information .chat-message{margin:12px 0}.room-information.info-compact #room-chat-panel .social-heading{flex:none;padding:8px 12px}.room-information.info-compact .social-heading>div{justify-content:space-between;align-items:center;gap:6px;width:100%;display:flex}.room-information.info-compact .chat-audience{margin:0;font-size:10px}.room-information.info-compact .chat-compose{box-sizing:border-box;flex:none;height:52px;padding:8px}.room-information.info-compact .chat-compose input,.room-information.info-compact .chat-compose button{box-sizing:border-box;height:36px;min-height:36px;padding:6px 8px;line-height:22px}.room-information.info-compact .chat-compose button{width:36px;font-size:18px}.room-information.info-compact .chat-message{margin:8px 0}.room-information.info-compact .chat-message p{margin:4px 0;padding:6px 8px}.room-information #room-activity-panel{height:var(--info-height);pointer-events:auto;border-top:1px solid #d7e5d52b}body.peripheral-hud .room-information .hud-activity{width:auto;height:100%;margin:0;position:static}.room-information #room-activity-panel .hud-activity-body{box-sizing:border-box;overscroll-behavior:contain;width:100%;height:100%;max-height:none;box-shadow:none;scrollbar-width:thin;scrollbar-color:#87ada469 transparent;background:0 0;border:0;border-radius:0;padding:15px;display:block;position:static;overflow:auto}body.peripheral-hud .hud-room{flex-wrap:wrap;align-items:center;gap:8px;max-width:300px;display:flex;top:94px;left:28px}body.peripheral-hud .hud-room .spectator-label{margin:0;font-size:10px;display:inline}body.peripheral-hud .hud-room #leave-spectator{margin:0}@media (width>=1101px){body.peripheral-hud .minimized-panels{width:250px;top:142px;left:auto;right:28px}}@media (width>=1101px) and (height<=760px){body.peripheral-hud .hud-awards{width:280px}body.peripheral-hud .hud-awards .honor-card{border-width:2px;border-radius:10px;align-items:center;gap:5px;height:54px;padding:6px;display:flex}body.peripheral-hud .hud-awards .honor-portrait{border-width:1px;border-radius:6px;flex:none;width:34px;height:34px}body.peripheral-hud .hud-awards .honor-ribbon{clip-path:none;box-shadow:none;background:0 0;border:0;flex:1;margin:0;padding:0 7px 0 0}body.peripheral-hud .hud-awards .honor-ribbon h3{color:#f1dfb2;text-shadow:none;font-size:11px}body.peripheral-hud .hud-awards .honor-points{width:22px;height:24px;font-size:12px;top:-6px;right:-5px}}@media (width<=1100px){body.compact-mobile-hud .room-information{left:var(--compact-edge,8px);top:calc(var(--compact-top,8px) + 74px);width:min(300px,calc(100vw - 2*var(--compact-edge,8px)));border-radius:12px;bottom:auto;right:auto}.room-info-toolbar{gap:4px;padding:4px}.room-info-toolbar button{min-height:44px}.room-information .chat-compose input{font-size:16px}body.compact-mobile-hud:has(.minimized-panels:not([hidden])) .room-information{top:calc(var(--compact-top,8px) + 122px)}body.compact-mobile-hud[data-compact-panel]:not([data-compact-panel=""]) .room-information{visibility:hidden}body.compact-mobile-hud:has(.actions-panel.is-open) .room-information{visibility:hidden}body.compact-mobile-hud:has(.hud-settings[open]) .room-information{visibility:hidden}}@media (prefers-reduced-transparency:reduce){body.peripheral-hud .room-information{-webkit-backdrop-filter:none;backdrop-filter:none;background:#173d42}}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){body.peripheral-hud .room-information{background:#173d42}}@media (width<=700px){.social-lobby .seat{grid-template-columns:34px minmax(0,1fr);align-content:center;gap:5px 8px;display:grid}.social-lobby .seat .name{font-size:13px}.social-lobby .seat small{font-size:11px;line-height:1.5}.social-lobby .seat .voice-badge,.social-lobby .seat .link-button{grid-column:2;margin:0;font-size:10px}.social-lobby .seat .link-button{text-align:left;min-height:30px;padding:0}.social-lobby .seat .empty{font-size:12px}}body.strategy-hud{--hud-edge:24px;--hud-glass:#102f3de8;--hud-line:#c6b48270;--hud-ink:#eee2bf;--hud-hand-width:clamp(420px,38vw,560px)}.strategy-hud button:focus-visible,.strategy-hud [role=button]:focus-visible{outline-offset:3px;outline:2px solid #efcf86}.strategy-hud button:disabled{cursor:not-allowed;opacity:.48}.strategy-hand-toolbar[hidden]{display:none}.strategy-honor-owner{text-overflow:ellipsis;white-space:nowrap;color:#b7cdc6;max-width:110px;margin-top:2px;font-size:10px;display:block;overflow:hidden}.info-sheet-close{display:none}.strategy-room-menu{letter-spacing:0;position:relative}.strategy-room-menu summary{cursor:pointer;box-sizing:border-box;border:1px solid var(--hud-line);background:var(--hud-glass);min-height:30px;color:var(--hud-ink);border-radius:7px;align-items:center;padding:3px 10px;list-style:none;display:flex}.strategy-room-menu summary:after{content:"⌄";margin-left:6px}.strategy-room-menu summary::-webkit-details-marker{display:none}.strategy-room-menu-body{z-index:30;border:1px solid var(--hud-line);background:#10313dfc;border-radius:10px;gap:8px;width:200px;padding:12px;display:grid;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 8px 26px #001a2266}.strategy-room-menu:not([open]) .strategy-room-menu-body{display:none}body.strategy-hud.peripheral-hud .strategy-room-menu-body button{text-align:left;width:100%;min-height:40px;color:var(--hud-ink);margin:0}@media (width>=1101px){body.strategy-hud.peripheral-hud[data-view=game] header{padding:0 var(--hud-edge);height:84px}body.strategy-hud.peripheral-hud .brand{gap:10px;font-size:28px}body.strategy-hud.peripheral-hud .brand span{letter-spacing:5px;font-size:24px}body.strategy-hud.peripheral-hud .brand small{letter-spacing:3px;font-size:7px}body.strategy-hud.peripheral-hud .hud-room{left:var(--hud-edge);gap:6px;max-width:260px;font-size:10px;top:83px}body.strategy-hud.peripheral-hud .turn-panel{background:var(--hud-glass);border-radius:16px;width:clamp(340px,100vw - 740px,560px);min-height:76px;padding:10px 14px;top:16px;left:calc(50% - 35px);box-shadow:0 4px 20px #00182240}body.strategy-hud.peripheral-hud .turn-leader-copy{flex-direction:column;min-width:0;display:flex}body.strategy-hud.peripheral-hud .turn-panel small{text-overflow:ellipsis;white-space:nowrap;order:1;max-width:240px;font-size:14px;font-weight:600;overflow:hidden}body.strategy-hud.peripheral-hud .turn-panel .eyebrow{order:0}body.strategy-hud.peripheral-hud .turn-panel .phase{color:#b8ceca;text-overflow:ellipsis;white-space:nowrap;order:2;margin-top:4px;font-size:12px;overflow:hidden}body.strategy-hud.peripheral-hud .turn-panel .dice-dock{border-left:1px solid #c6b48230;gap:24px;max-width:none;padding-left:14px}body.strategy-hud.peripheral-hud .turn-panel .dice-pair{flex:0 0 107px;width:107px}body.strategy-hud.peripheral-hud .turn-panel .dice-readout{flex:none;gap:6px}body.strategy-hud.peripheral-hud .players-panel,body.strategy-hud.peripheral-hud[data-variant=extended] .players-panel{gap:6px;max-width:370px;top:16px;right:76px}body.strategy-hud.peripheral-hud .players-panel .player-card,body.strategy-hud.peripheral-hud[data-variant=extended] .players-panel .player-card{flex-basis:50px;width:50px}body.strategy-hud.peripheral-hud .players-panel .leader-portrait{width:44px;height:44px}body.strategy-hud.peripheral-hud .player-card .player-name{width:50px;font-size:10px}:is(body.strategy-hud.peripheral-hud .hud-awards,body.strategy-hud.peripheral-hud:has(.voice-play:not([hidden])) .hud-awards){gap:8px;width:auto;max-width:350px;margin:0;display:flex;position:fixed;inset:112px 76px auto auto}body.strategy-hud.peripheral-hud .hud-awards .honor-card{border:1px solid var(--hud-line);background:var(--hud-glass);width:162px;min-width:0;height:40px;box-shadow:none;border-radius:10px;align-items:center;gap:6px;padding:4px 8px;animation:none;display:flex;overflow:hidden}body.strategy-hud.peripheral-hud .hud-awards .honor-card:before{display:none}body.strategy-hud.peripheral-hud .hud-room:has(.strategy-room-menu[open]){z-index:30}body.strategy-hud.peripheral-hud .hud-awards .honor-portrait{width:28px;height:28px;box-shadow:none;background:0 0;border:0;border-radius:4px;flex:none}body.strategy-hud.peripheral-hud .hud-awards .honor-ribbon{clip-path:none;min-width:0;box-shadow:none;background:0 0;border:0;flex:1;margin:0;padding:0}body.strategy-hud.peripheral-hud .hud-awards .honor-ribbon h3{color:var(--hud-ink);text-shadow:none;white-space:nowrap;margin:0;font-size:10px}body.strategy-hud.peripheral-hud .hud-awards .honor-points{width:auto;height:auto;box-shadow:none;color:#e8c580;background:0 0;border:0;flex:none;order:3;font-size:13px;position:static}body.strategy-hud.peripheral-hud .hud-awards .honor-points small,body.strategy-hud.peripheral-hud .hud-awards .honor-shine{display:none}body.strategy-hud.peripheral-hud .room-information{left:var(--hud-edge);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:var(--hud-glass);border-radius:12px;width:280px;box-shadow:0 8px 28px #001b2533}body.strategy-hud.peripheral-hud .room-info-toolbar{padding:5px}body.strategy-hud.peripheral-hud .room-info-toolbar button{min-height:36px;font-size:12px}body.strategy-hud.peripheral-hud .room-information #room-activity-panel .hud-activity-body{padding:12px}body.strategy-hud.peripheral-hud .hud-activity-body .log p{font-size:12px;line-height:1.6}body.strategy-hud.peripheral-hud .mobile-action-bar{right:var(--hud-edge);gap:8px;width:232px;height:58px;bottom:82px}body.strategy-hud.peripheral-hud .mobile-action-bar button{height:58px;min-height:58px;box-shadow:none;background:var(--hud-glass);border-radius:14px;font-size:12px}body.strategy-hud.peripheral-hud .turn-end-control{right:var(--hud-edge);width:232px;bottom:22px}body.strategy-hud.peripheral-hud .turn-end-control button{border-radius:14px;font-size:15px}body.strategy-hud.peripheral-hud .actions-panel,body.strategy-hud.peripheral-hud.has-turn-end .actions-panel{right:var(--hud-edge);width:300px;max-height:calc(100dvh - 330px);bottom:154px}body.strategy-hud.peripheral-hud .actions-panel.is-open>.action-card,body.strategy-hud.peripheral-hud .actions-panel.requires-action>.action-card{max-height:calc(100dvh - 330px)}body.strategy-hud.peripheral-hud[data-view=game] .world-controls{left:var(--hud-edge);gap:6px;width:252px;max-width:252px;bottom:66px}body.strategy-hud.peripheral-hud[data-view=game] .voice-controls{left:var(--hud-edge);gap:6px;width:252px;bottom:110px}body.strategy-hud.peripheral-hud .audio-controls{left:var(--hud-edge);gap:6px;width:252px;bottom:22px}body.strategy-hud.peripheral-hud[data-view=game] .world-controls button,body.strategy-hud.peripheral-hud[data-view=game] .voice-controls button,body.strategy-hud.peripheral-hud .audio-controls button{background:var(--hud-glass);border-color:var(--hud-line);height:38px;min-height:38px;font-size:11px}body.strategy-hud.peripheral-hud[data-view=game] .world-controls .view-switch{height:38px}body.strategy-hud.peripheral-hud .strategy-hand{width:var(--hud-hand-width);border:1px solid var(--hud-line);background:var(--hud-glass);z-index:7;box-sizing:border-box;pointer-events:auto;border-radius:14px;align-items:stretch;gap:10px;padding:10px 12px;display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%)}body.strategy-hud.peripheral-hud .strategy-hand .inventory{flex:1;align-items:stretch;gap:8px;width:auto;min-width:0;height:auto;padding:0;display:flex;position:static;inset:auto;transform:none}body.strategy-hud.peripheral-hud .strategy-hand .inventory .resource{width:auto;min-width:0;height:84px;box-shadow:none;border-radius:8px;flex:1;margin:0;transform:none!important}body.strategy-hud.peripheral-hud .strategy-hand .resource .resource-top{height:60px}body.strategy-hud.peripheral-hud .strategy-hand .resource .resource-art{width:100%;height:56px}body.strategy-hud.peripheral-hud .strategy-hand .resource strong{width:24px;height:26px;box-shadow:none;border-width:1px;font-size:16px;top:-5px;right:-2px}body.strategy-hud.peripheral-hud .strategy-hand .resource small{letter-spacing:0;padding:3px 0;font-size:11px;bottom:4px;left:3px;right:3px}.strategy-card-stack{color:var(--hud-ink);background:#314c5666;border:1px solid #c7af7777;border-radius:8px;flex-direction:column;flex:0 0 68px;justify-content:center;align-items:center;gap:4px;padding:6px;font-size:11px;display:flex;position:relative}.strategy-card-stack .card-art{width:40px;height:44px}.strategy-card-stack b{background:#17313e;border:1px solid #c8ac6f;border-radius:8px;padding:2px 5px;font-size:12px;position:absolute;top:2px;right:3px}.strategy-hand-toolbar{z-index:8;border:1px solid var(--hud-line);background:var(--hud-glass);pointer-events:auto;border-radius:10px;gap:4px;padding:3px;display:flex;position:fixed;bottom:128px;left:50%;transform:translate(-50%)}body.strategy-hud.peripheral-hud .strategy-hand-toolbar button{box-shadow:none;color:var(--hud-ink);background:0 0;border:0;border-radius:7px;min-height:30px;padding:4px 12px;font-size:11px;position:static;inset:auto;transform:none}body.strategy-hud.peripheral-hud .strategy-hand-toolbar button+button{border-left:1px solid var(--hud-line);border-radius:0}body.strategy-hud.peripheral-hud.hand-hidden .strategy-hand{display:none}body.strategy-hud.peripheral-hud.hand-hidden .strategy-hand-toolbar{bottom:20px}body.strategy-hud.peripheral-hud .strategy-hand-details{border:1px solid var(--hud-line);scrollbar-width:thin;background:#14343df5;border-radius:12px;max-height:35dvh;padding:12px;display:none;position:absolute;bottom:calc(100% + 8px);left:0;right:0;overflow:auto}body.strategy-hud.peripheral-hud.hand-expanded .strategy-hand-details:not([hidden]){display:block}body.strategy-hud.peripheral-hud .strategy-hand-details .hud-development-hand{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;max-width:none;max-height:none;margin:0;display:grid;position:static;inset:auto}body.strategy-hud.peripheral-hud .strategy-hand-details .hud-development-hand button{min-height:44px;font-size:11px}body.strategy-hud.peripheral-hud.hand-expanded .strategy-hand .inventory .resource{height:124px}body.strategy-hud.peripheral-hud.hand-expanded .strategy-hand .resource .resource-top{height:90px}body.strategy-hud.peripheral-hud.hand-expanded .strategy-hand .resource .resource-art{height:86px}body.strategy-hud.peripheral-hud.hand-expanded .strategy-hand-toolbar{bottom:168px;left:calc(50% - var(--hud-hand-width)/2 - 8px);flex-direction:column;transform:translate(-100%)}body.strategy-hud.peripheral-hud.hand-expanded .strategy-hand-toolbar button+button{border-left:0;border-top:1px solid var(--hud-line)}body.strategy-hud.peripheral-hud .minimized-panels{top:164px;right:var(--hud-edge);width:232px}body.strategy-hud.peripheral-hud .bot-review-entry{left:auto;right:var(--hud-edge);box-sizing:border-box;width:232px;max-width:232px;min-height:38px;top:164px;transform:none}body.strategy-hud.peripheral-hud:has(.bot-review-entry:not([hidden])) .minimized-panels{top:210px}body.strategy-hud.peripheral-hud .strategy-event-track{border:1px solid var(--hud-line);box-sizing:border-box;background:#12323ceb;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:clamp(340px,100vw - 740px,560px);margin:0;padding:7px 10px;font-size:11px;display:flex;position:fixed;top:100px;left:calc(50% - 35px);transform:translate(-50%)}body.strategy-hud.peripheral-hud .strategy-event-track .ck-track{flex:none;width:70px;margin:0}body.strategy-hud.peripheral-hud .strategy-event-track strong{white-space:nowrap;font-size:11px}body.strategy-hud.peripheral-hud .harvest-notice{bottom:176px}}@media (width>=1101px) and (width<=1400px){body.strategy-hud{--hud-edge:16px}body.strategy-hud.peripheral-hud .room-information{width:244px}body.strategy-hud.peripheral-hud .mobile-action-bar,body.strategy-hud.peripheral-hud .turn-end-control{width:208px}body.strategy-hud.peripheral-hud .players-panel,body.strategy-hud.peripheral-hud[data-variant=extended] .players-panel{gap:3px;right:64px}body.strategy-hud.peripheral-hud .players-panel .player-card,body.strategy-hud.peripheral-hud[data-variant=extended] .players-panel .player-card{flex-basis:46px;width:46px}body.strategy-hud.peripheral-hud .player-card .player-name{width:46px}body.strategy-hud.peripheral-hud .hud-awards{gap:6px;right:64px}body.strategy-hud.peripheral-hud .hud-awards .honor-card{width:142px}body.strategy-hud.peripheral-hud .turn-panel .dice-dock{gap:20px;padding-left:10px}body.strategy-hud.peripheral-hud[data-view=game] .world-controls,body.strategy-hud.peripheral-hud[data-view=game] .voice-controls,body.strategy-hud.peripheral-hud .audio-controls{width:236px;max-width:236px}}@media (width<=1100px){body.strategy-hud.compact-mobile-hud{--mobile-dock-height:104px;--mobile-task-bottom:calc(var(--compact-bottom) + var(--mobile-dock-height) + 10px)}body.strategy-hud.compact-mobile-hud[data-phase^=setup],body.strategy-hud.compact-mobile-hud.is-spectator{--mobile-dock-height:48px}body.strategy-hud.compact-mobile-hud .strategy-hand-toolbar{display:none}body.strategy-hud.compact-mobile-hud .turn-panel small{font-weight:600}body.strategy-hud.compact-mobile-hud .compact-bottom,body.strategy-hud.compact-mobile-hud.has-turn-end:not(.compact-placing) .compact-bottom{left:var(--compact-edge);right:var(--compact-edge);width:auto;max-width:none;bottom:var(--compact-bottom);height:var(--mobile-dock-height);flex-direction:column;align-items:stretch;gap:8px;display:flex;transform:none}body.strategy-hud.compact-mobile-hud .compact-resource-row{gap:6px;height:48px;min-height:48px;display:flex}body.strategy-hud.compact-mobile-hud .compact-action-row{align-items:stretch;gap:6px;height:48px;min-height:48px;display:flex}body.strategy-hud.compact-mobile-hud.has-turn-end .compact-action-row{margin-right:102px}body.strategy-hud.compact-mobile-hud .compact-action-row>button{flex:1;min-width:0}body.strategy-hud.compact-mobile-hud #mobile-hand-toggle{gap:6px;padding:3px 8px}body.strategy-hud.compact-mobile-hud #mobile-hand-toggle span{gap:2px}body.strategy-hud.compact-mobile-hud #mobile-hand-toggle svg{width:24px;height:24px}body.strategy-hud.compact-mobile-hud #mobile-cards{white-space:normal;flex:0 0 70px;min-width:0;padding:4px;font-size:11px}body.strategy-hud.compact-mobile-hud .compact-quick-action{justify-content:center;align-items:center;gap:4px;padding:4px;font-size:12px;display:flex;position:relative}body.strategy-hud.compact-mobile-hud .compact-quick-action>span:first-child{font-size:19px;line-height:1}body.strategy-hud.compact-mobile-hud .compact-quick-action.has-offer:after{content:"";background:#efcf86;border-radius:50%;width:6px;height:6px;position:absolute;top:4px;right:4px}body.strategy-hud.compact-mobile-hud.compact-placing .turn-end-control{display:block}body.strategy-hud.compact-mobile-hud.compact-placing .turn-end-control[hidden]{display:none}body.strategy-hud.compact-mobile-hud .compact-placement-hint{pointer-events:none;border-radius:10px;max-width:100%;margin:0;padding:7px 10px;font-size:12px;line-height:1.5;position:absolute;bottom:calc(100% + 8px);left:0;right:0}body.strategy-hud.compact-mobile-hud .compact-placement .compact-action-row{justify-content:flex-end}body.strategy-hud.compact-mobile-hud .compact-placement .compact-action-row button{flex:1}body.strategy-hud.compact-mobile-hud[data-phase^=setup] .compact-bottom{flex-direction:row;align-items:center}body.strategy-hud.compact-mobile-hud[data-phase^=setup] .compact-placement-hint{flex:1;min-width:0;max-width:none;position:static}body.strategy-hud.compact-mobile-hud[data-phase^=setup] .compact-action-row{flex:none;width:76px}body.strategy-hud.compact-mobile-hud .compact-placement:has(#cancel-placement) .compact-placement-hint{padding:7px 10px}body.strategy-hud.compact-mobile-hud .compact-sheet,body.strategy-hud.compact-mobile-hud .actions-panel,body.strategy-hud.compact-mobile-hud.has-turn-end .actions-panel{bottom:var(--mobile-task-bottom);max-height:calc(100dvh - var(--mobile-task-bottom) - 140px)}body.strategy-hud.compact-mobile-hud .compact-sheet{scroll-padding-top:76px}body.strategy-hud.compact-mobile-hud .actions-panel.is-open>.action-card{max-height:calc(100dvh - var(--mobile-task-bottom) - 140px)}body.strategy-hud.compact-mobile-hud .compact-sheet .strategy-honor-owner{display:none}body.strategy-hud.compact-mobile-hud .map-selection{bottom:var(--compact-bottom);left:var(--compact-edge);right:var(--compact-edge);width:auto;transform:none}body.strategy-hud.compact-mobile-hud:has(.map-selection:not([hidden])) .turn-end-control{visibility:hidden}body.strategy-hud.compact-mobile-hud .room-information{width:216px;top:calc(var(--compact-top) + 74px);left:var(--compact-edge);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;bottom:auto;overflow:visible}body.strategy-hud.compact-mobile-hud .room-info-toolbar{border:1px solid var(--hud-line);background:var(--hud-glass);border-radius:10px;gap:2px;padding:3px}body.strategy-hud.compact-mobile-hud .room-info-toolbar button{min-width:38px;height:38px;min-height:38px;padding:3px 8px;font-size:12px}body.strategy-hud.compact-mobile-hud .room-information #room-chat-panel,body.strategy-hud.compact-mobile-hud .room-information #room-activity-panel{left:var(--compact-edge);right:var(--compact-edge);bottom:var(--mobile-task-bottom);height:var(--info-height);border:1px solid var(--hud-line);background:var(--hud-glass);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-sizing:border-box;border-radius:14px;width:auto;position:fixed;overflow:hidden;box-shadow:0 8px 28px #001b2540}body.strategy-hud.compact-mobile-hud .room-information #room-chat-panel .social-heading{box-sizing:border-box;flex:none;min-height:40px;padding:8px 12px}body.strategy-hud.compact-mobile-hud .room-information .chat-audience{display:none}body.strategy-hud.compact-mobile-hud .room-information .chat-minimize{place-items:center;width:36px;height:36px;min-height:36px;display:grid}body.strategy-hud.compact-mobile-hud .room-information .chat-compose{box-sizing:border-box;flex:none;height:60px;padding:8px}body.strategy-hud.compact-mobile-hud .room-information .chat-compose input,body.strategy-hud.compact-mobile-hud .room-information .chat-compose button{box-sizing:border-box;height:44px;min-height:44px;padding:8px;font-size:16px}body.strategy-hud.compact-mobile-hud .room-information .chat-compose button{width:44px}body.strategy-hud.compact-mobile-hud .room-information .chat-message{margin:8px 0}body.strategy-hud.compact-mobile-hud .room-information #room-activity-panel .hud-activity-body{padding:12px 12px 52px}body.strategy-hud.compact-mobile-hud .info-sheet-close{border:1px solid var(--hud-line);min-height:36px;color:var(--hud-ink);background:#173d45;border-radius:8px;padding:6px 12px;display:block;position:absolute;bottom:6px;right:10px}body.strategy-hud.compact-mobile-hud .room-information.keyboard-open #room-chat-panel{bottom:calc(8px + var(--chat-keyboard))}body.strategy-hud.compact-mobile-hud .turn-panel .dice-dock.rolling .dice-pair{top:132px}body.strategy-hud.compact-mobile-hud .minimized-panels{top:auto;bottom:var(--mobile-task-bottom);left:auto;right:var(--compact-edge);flex-direction:column;width:min(220px,100vw - 16px);max-height:100px;overflow:auto}body.strategy-hud.compact-mobile-hud:has(.minimized-panels:not([hidden])) .room-information{top:calc(var(--compact-top) + 74px)}body.strategy-hud.compact-mobile-hud:has(.room-information[data-open=true]) .minimized-panels{bottom:calc(var(--mobile-task-bottom) + var(--info-panel-height,240px) + 8px)}body.strategy-hud.compact-mobile-hud .strategy-event-track{left:var(--compact-edge);right:var(--compact-edge);top:calc(var(--compact-top) + 122px);border:1px solid var(--hud-line);background:var(--hud-glass);box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;gap:6px;margin:0;padding:4px 8px;font-size:10px;display:flex;position:fixed}body.strategy-hud.compact-mobile-hud .strategy-event-track strong{white-space:nowrap;font-size:10px}body.strategy-hud.compact-mobile-hud .strategy-event-track .ck-track{flex:none;width:60px;margin:0}:is(body.strategy-hud.compact-mobile-hud .bot-review-entry,body.strategy-hud.compact-mobile-hud:has(.minimized-panels:not([hidden])) .bot-review-entry){left:var(--compact-edge);right:var(--compact-edge);top:calc(var(--compact-top) + 122px);box-sizing:border-box;max-width:none;min-height:36px;transform:none}body.strategy-hud.compact-mobile-hud:has(.bot-review-entry:not([hidden])) .strategy-event-track{top:calc(var(--compact-top) + 166px)}body.strategy-hud.compact-mobile-hud .harvest-notice{bottom:calc(var(--mobile-task-bottom) + 8px)}body.strategy-hud.compact-mobile-hud .spectator-bottom{flex-direction:row;align-items:center}}@media (width<=1100px) and (height<=500px) and (orientation:landscape){body.strategy-hud.compact-mobile-hud{--mobile-dock-height:48px}body.strategy-hud.compact-mobile-hud .compact-bottom,body.strategy-hud.compact-mobile-hud.has-turn-end:not(.compact-placing) .compact-bottom{flex-direction:row;gap:8px}body.strategy-hud.compact-mobile-hud .compact-resource-row{flex:1;min-width:0}body.strategy-hud.compact-mobile-hud .compact-action-row{flex:none;width:210px}body.strategy-hud.compact-mobile-hud .compact-bottom:has(.compact-resource-row) .compact-action-row{width:180px}body.strategy-hud.compact-mobile-hud #mobile-cards{flex-basis:64px}body.strategy-hud.compact-mobile-hud .compact-placement-hint{max-width:350px;left:auto}body.strategy-hud.compact-mobile-hud .room-information #room-chat-panel,body.strategy-hud.compact-mobile-hud .room-information #room-activity-panel{width:340px;left:auto}body.strategy-hud.compact-mobile-hud .compact-sheet,body.strategy-hud.compact-mobile-hud .actions-panel,body.strategy-hud.compact-mobile-hud.has-turn-end .actions-panel,body.strategy-hud.compact-mobile-hud .actions-panel.is-open>.action-card{max-height:calc(100dvh - var(--mobile-task-bottom) - 80px)}body.strategy-hud.compact-mobile-hud .strategy-event-track{width:230px;left:auto;right:var(--compact-edge);top:calc(var(--compact-top) + 56px);flex-wrap:wrap}body.strategy-hud.compact-mobile-hud .compact-quick-action{flex-direction:column;gap:0;font-size:11px}body.strategy-hud.compact-mobile-hud .compact-quick-action>span{white-space:nowrap}}@media (width<=1100px) and (orientation:landscape){body.strategy-hud.compact-mobile-hud .turn-panel .dice-pair{flex:0 0 107px;width:107px}body.strategy-hud.compact-mobile-hud .turn-panel .dice-dock{gap:16px;max-width:none}}@media (width<=360px){body.strategy-hud.compact-mobile-hud .compact-quick-action{flex-direction:column;gap:0;font-size:11px}body.strategy-hud.compact-mobile-hud .turn-panel .phase{font-size:11px}}@media (prefers-reduced-transparency:reduce){body.strategy-hud{--hud-glass:#102f3d}.strategy-hud .room-information,.strategy-hud #room-chat-panel{-webkit-backdrop-filter:none;backdrop-filter:none}}body #trade-dialog.trade-workbench{z-index:26;color:#eee1bf;pointer-events:auto;--trade-inset:18px;background:#10313bf7;border:1px solid #cdb98180;border-radius:16px;width:min(520px,100vw - 48px);max-width:none;height:auto;max-height:none;margin:0;padding:0;position:fixed;inset:164px 24px 154px auto;overflow:hidden;box-shadow:0 12px 40px #001b2944}body #trade-dialog.trade-workbench[open]{flex-direction:column;display:flex}#trade-dialog.trade-workbench .trade-header{padding:12px var(--trade-inset);background:0 0;border:0;flex:none;align-items:center;gap:8px}#trade-dialog.trade-workbench .trade-header h2{font-size:20px;line-height:1.3}#trade-dialog.trade-workbench .trade-header .eyebrow{letter-spacing:1.5px;margin:0 0 3px;font-size:9px}#trade-dialog.trade-workbench .dialog-window-controls{gap:4px;margin-left:0}#trade-dialog.trade-workbench .dialog-window-controls button{border-radius:9px;font-size:23px}#trade-dialog.trade-workbench .trade-workbench-tabs{padding:0 var(--trade-inset) 10px;border-bottom:1px solid #cdb98135;flex:none;gap:6px;display:flex}#trade-dialog.trade-workbench .trade-workbench-tabs button{border-radius:8px;flex:1;min-width:0;min-height:38px;margin:0;padding:6px;font-size:12px}#trade-dialog.trade-workbench button[aria-pressed=true]{color:#fff0b6;background:#38534c;border-color:#e3c880}#trade-dialog.trade-workbench #trade-expand{display:none}#trade-dialog.trade-workbench .trade-steps{padding:8px var(--trade-inset);color:#afc5c5;flex:none;justify-content:space-between;gap:6px;font-size:11px;display:flex}#trade-dialog.trade-workbench .trade-steps [aria-current]{color:#f1d38b}#trade-dialog.trade-workbench .trade-body{padding:8px var(--trade-inset) 16px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#809c9380 transparent;scrollbar-gutter:auto;flex:1;min-height:0;scroll-padding:12px;font-size:13px;overflow:auto}#trade-dialog.trade-workbench h3{margin:10px 0 8px;font-size:12px;font-weight:500}#trade-dialog.trade-workbench button{white-space:normal;min-height:44px;line-height:1.4}#trade-dialog.trade-workbench button:disabled{opacity:.42;cursor:not-allowed}#trade-dialog.trade-workbench .trade-footer{padding:10px var(--trade-inset);text-align:left;background:#0b2630;border-top:1px solid #cdb98135;flex:none;font-size:11px}#trade-dialog.trade-workbench .trade-footer>small{color:#b2c9c5;font-size:11px;display:block}#trade-dialog.trade-workbench .trade-sync:empty{display:none}#trade-dialog.trade-workbench .trade-sync{color:#edca7d;margin-bottom:4px;display:block}#trade-dialog.trade-workbench .trade-buttons{flex-wrap:wrap;gap:6px;margin:7px 0 0;display:flex}#trade-dialog.trade-workbench .trade-buttons button{border-radius:8px;flex:1;min-width:0;margin:0;padding:8px;font-size:12px}#trade-dialog.trade-workbench .workbench-inventory{border-bottom:1px solid #cdb98130;margin:0 0 12px;padding:0 0 12px}#trade-dialog.trade-workbench .workbench-inventory h3{color:#a9c3c3;margin:0 0 5px;font-size:11px}#trade-dialog.trade-workbench .workbench-inventory>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}#trade-dialog.trade-workbench .workbench-inventory [data-trade-owned]{grid-template-columns:auto auto;justify-content:center;align-items:center;gap:2px 4px;font-size:13px;display:grid}#trade-dialog.trade-workbench .workbench-inventory svg{width:30px;height:30px;display:block}#trade-dialog.trade-workbench .workbench-inventory small{text-align:center;color:#b1c9c4;grid-column:1/-1;font-size:11px}.trade-chips{flex-wrap:wrap;align-items:center;gap:6px;min-height:32px;display:flex}.trade-chip{align-items:center;gap:4px;min-width:0;max-width:100%;font-size:12px;display:inline-flex}.trade-chip>span{overflow-wrap:anywhere;min-width:0}.trade-chip svg{flex:none;width:28px;height:28px;display:block}.workbench-exchange{background:#09252f;border-radius:9px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:center;gap:8px;margin:10px 0;padding:12px;display:grid}.workbench-exchange>section{min-width:0}#trade-dialog.trade-workbench .workbench-exchange h3{color:#ecc09a;margin:0 0 5px;font-size:11px}#trade-dialog.trade-workbench .workbench-exchange section:last-child h3{color:#addac0}.workbench-arrow{color:#d6be7e;text-align:center}#trade-dialog.trade-workbench .trade-recipients{flex-wrap:wrap;gap:6px;min-width:0;margin:0 0 12px;display:flex}#trade-dialog.trade-workbench .trade-recipients legend{margin-bottom:6px;font-size:12px}#trade-dialog.trade-workbench .trade-recipient-tools{gap:4px;width:100%;display:flex}#trade-dialog.trade-workbench .trade-recipient-tools button{min-height:32px;margin:0;padding:4px 12px;font-size:11px}#trade-dialog.trade-workbench .trade-recipients label{border:1px solid #b7aa6c60;border-radius:8px;flex:0 0 calc(33.3333% - 4px);gap:6px;min-width:0;max-width:100%;min-height:44px;padding:6px 9px;font-size:12px;display:flex}#trade-dialog.trade-workbench .trade-recipients label:has(:checked){box-shadow:none;border-color:#d1bc7b}#trade-dialog.trade-workbench .trade-recipients input{width:16px;min-width:16px;height:16px;margin:0}#trade-dialog.trade-workbench .trade-recipients label>span{overflow-wrap:anywhere;min-width:0}#trade-dialog.trade-workbench .trade-recipients small{font-size:10px}#trade-dialog.trade-workbench .trade-side-tabs{grid-template-columns:1fr 1fr;gap:8px;margin:8px 0;display:grid}#trade-dialog.trade-workbench .trade-side-tabs button{text-align:left;background:#173b43;border:1px solid #b9ab784f;border-radius:9px;min-width:0;padding:9px 10px}#trade-dialog.trade-workbench .trade-side-tabs h3{color:#edc19a;margin:0 0 5px}#trade-dialog.trade-workbench .trade-side-tabs button:last-child h3{color:#addac0}#trade-dialog.trade-workbench .trade-picker{margin:8px 0}#trade-dialog.trade-workbench .trade-picker[hidden]{display:none}#trade-dialog.trade-workbench .trade-picker-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}#trade-dialog.trade-workbench .trade-select-card{border-color:#b3a57355;border-radius:9px;flex-direction:column;min-width:0;display:flex;position:relative}#trade-dialog.trade-workbench .trade-select-card.chosen{box-shadow:none;border-color:#dfc582}#trade-dialog.trade-workbench .trade-card-add{flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:74px;padding:8px 2px 6px;display:flex}#trade-dialog.trade-workbench .trade-card-add svg{width:48px;max-width:100%;height:44px}#trade-dialog.trade-workbench .trade-card-add span{font-size:12px}#trade-dialog.trade-workbench .trade-select-card output{pointer-events:none;color:#f2d68d;background:#0c2a30ec;border-radius:4px;padding:0 4px;font-size:12px;position:absolute;top:3px;right:3px}#trade-dialog.trade-workbench .trade-card-remove{color:#eddaaa;background:#102c34;border:0;border-top:1px solid #b3a57355;border-radius:0;width:100%;min-height:44px;padding:0;font-size:20px}#trade-dialog.trade-workbench .trade-quote-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}#trade-dialog.trade-workbench .trade-quote-heading small{font-size:11px}#trade-dialog.trade-workbench .trade-replies{flex-direction:column;gap:0;margin:0;display:flex}#trade-dialog.trade-workbench .trade-quote{border-top:1px solid #cdb98130;min-width:0;padding:12px 0}#trade-dialog.trade-workbench .trade-person{align-items:center;gap:8px;display:flex}#trade-dialog.trade-workbench .trade-person .leader-portrait{flex:none;width:34px;height:34px}#trade-dialog.trade-workbench .trade-person>div{min-width:0}#trade-dialog.trade-workbench .trade-person strong{overflow-wrap:anywhere;font-size:13px;font-weight:500;display:block}#trade-dialog.trade-workbench .trade-person small{color:#afc8c1;font-size:11px;display:block}#trade-dialog.trade-workbench .trade-quote .workbench-exchange{background:0 0;margin:3px 0;padding:8px 0}#trade-dialog.trade-workbench .trade-quote-decision{justify-content:space-between;align-items:center;gap:8px;display:flex}#trade-dialog.trade-workbench .trade-quote-decision button{border-radius:8px;flex:none;padding:6px 10px;font-size:12px}#trade-dialog.trade-workbench .trade-difference{color:#eac193;font-size:11px;display:block}#trade-dialog.trade-workbench .trade-original-label{color:#b6d3be;font-size:11px}#trade-dialog.trade-workbench .trade-after{border-top:1px solid #cdb98130;padding:5px 0 8px}#trade-dialog.trade-workbench .trade-after>div{justify-content:space-between;align-items:center;gap:8px;margin:3px 0;display:flex}#trade-dialog.trade-workbench .trade-after>div>span:first-child{align-items:center;gap:5px;display:flex}#trade-dialog.trade-workbench .trade-after svg{width:28px;height:28px}#trade-dialog.trade-workbench .trade-confirmations{gap:6px;margin:12px 0}#trade-dialog.trade-workbench .trade-confirmations span{overflow-wrap:anywhere;border-radius:8px;flex:1;min-width:0;padding:9px;font-size:12px}#trade-dialog.trade-workbench .trade-note,#trade-dialog.trade-workbench .trade-warning,#trade-dialog.trade-workbench .trade-success{margin:8px 0;padding:9px 10px;font-size:12px;line-height:1.6}#trade-dialog.trade-workbench .trade-hint,#trade-dialog.trade-workbench .trade-validation{margin:7px 0;font-size:11px;line-height:1.6}#trade-dialog.trade-workbench .bank-card-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}#trade-dialog.trade-workbench .bank-card-options button{border-radius:8px;flex-direction:column;align-items:center;min-width:0;padding:7px 2px;font-size:12px;display:flex}#trade-dialog.trade-workbench .bank-card-options svg{width:38px;max-width:100%;height:36px}#trade-dialog.trade-workbench .bank-card-options small{color:#b2c7be;font-size:11px}body .trade-notification{z-index:23;color:#ecd7a3;pointer-events:auto;background:#153b43;border:1px solid #d1bb79;border-radius:10px;max-width:280px;min-height:44px;padding:10px 14px;font-size:12px;position:fixed;top:164px;right:24px;box-shadow:0 5px 18px #00232c55}body:has(.bot-review-entry:not([hidden])) .trade-notification{top:210px}.trade-notification[hidden],.trade-receipt-toast[hidden]{display:none!important}.trade-receipt-toast{z-index:23;color:#eadbb7;pointer-events:none;background:#13363df5;border:1px solid #cdb98170;border-radius:12px;min-width:240px;max-width:calc(100vw - 24px);padding:12px;font-size:12px;animation:.25s ease-out trade-receipt-arrival;position:fixed;bottom:180px;left:50%;transform:translate(-50%)}@keyframes trade-receipt-arrival{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.trade-receipt-toast .workbench-exchange{max-width:360px;margin:6px 0 0;padding:6px}.trade-receipt-toast h3{margin:0 0 5px;font-size:11px}@media (width>=1101px) and (height<=740px){body #trade-dialog.trade-workbench{--trade-inset:14px;top:152px;bottom:154px}#trade-dialog.trade-workbench .trade-header{padding-top:5px;padding-bottom:5px}#trade-dialog.trade-workbench .trade-header .eyebrow,#trade-dialog.trade-workbench .trade-steps{display:none}}@media (width<=1100px){body #trade-dialog.trade-workbench{inset:auto var(--compact-edge,8px) var(--mobile-task-bottom,120px);width:auto;max-width:none;height:min(46dvh,440px);max-height:calc(100dvh - var(--mobile-task-bottom,120px) - var(--compact-top,8px) - 74px);--trade-inset:12px;border-radius:15px}body #trade-dialog.trade-workbench[data-expanded=true]{height:calc(100dvh - var(--mobile-task-bottom,120px) - var(--compact-top,8px) - 74px)}#trade-dialog.trade-workbench #trade-expand{flex:0 0 74px;font-size:11px;display:block}#trade-dialog.trade-workbench .trade-header{padding:8px var(--trade-inset);gap:6px}#trade-dialog.trade-workbench .trade-header .eyebrow{display:none}#trade-dialog.trade-workbench .trade-header h2{font-size:17px}#trade-dialog.trade-workbench .trade-workbench-tabs{gap:5px;padding-bottom:7px}#trade-dialog.trade-workbench .trade-workbench-tabs button{min-height:36px;padding:5px;font-size:11px}#trade-dialog.trade-workbench .trade-steps{display:none}#trade-dialog.trade-workbench .trade-footer{padding-top:7px;padding-bottom:8px}#trade-dialog.trade-workbench .trade-buttons{gap:5px;margin-top:5px}#trade-dialog.trade-workbench .trade-buttons button{padding:7px 4px;font-size:11px}#trade-dialog.trade-workbench .trade-header .dialog-window-controls button{min-height:44px;width:44px!important;height:44px!important}#trade-dialog.trade-workbench .trade-recipients label{flex-basis:calc(50% - 3px);font-size:11px}#trade-dialog.trade-workbench .trade-chip{gap:3px;font-size:11px}#trade-dialog.trade-workbench .trade-chip svg{width:25px;height:25px}#trade-dialog.trade-workbench .trade-side-tabs button{min-height:68px;padding:7px}#trade-dialog.trade-workbench .trade-picker-cards,#trade-dialog.trade-workbench .bank-card-options{gap:5px}#trade-dialog.trade-workbench .trade-card-add span{font-size:11px}#trade-dialog.trade-workbench .workbench-inventory>div{gap:5px}#trade-dialog.trade-workbench .workbench-inventory svg{width:25px;height:25px}#trade-dialog.trade-workbench[data-expanded=false] .workbench-inventory{display:none}:is(body:has(#trade-dialog[open]) .room-information #room-chat-panel,body:has(#trade-dialog[open]) .room-information #room-activity-panel){visibility:hidden;pointer-events:none}:is(body .trade-notification,body:has(.bot-review-entry:not([hidden])) .trade-notification){top:auto;bottom:var(--mobile-task-bottom,120px);right:var(--compact-edge,8px);max-width:calc(100vw - 16px)}body:has(.room-information[data-open=true]) .trade-notification{bottom:calc(var(--mobile-task-bottom,120px) + var(--info-panel-height,240px) + 8px)}.trade-receipt-toast{bottom:var(--mobile-task-bottom,120px);min-width:220px}}@media (height<=740px),(width<=1100px){#trade-dialog.trade-workbench .workbench-inventory{margin-bottom:6px;padding-bottom:6px}#trade-dialog.trade-workbench .workbench-inventory h3,#trade-dialog.trade-workbench .workbench-inventory small{display:none}#trade-dialog.trade-workbench .workbench-inventory>div{flex-wrap:wrap;gap:4px 12px;display:flex}#trade-dialog.trade-workbench .workbench-inventory [data-trade-owned]{flex:32px;font-size:11px}#trade-dialog.trade-workbench .workbench-inventory svg{width:22px;height:22px}#trade-dialog.trade-workbench .trade-header h2{font-size:17px}#trade-dialog.trade-workbench .trade-side-tabs{margin:4px 0}#trade-dialog.trade-workbench .trade-side-tabs button{min-height:56px;padding:5px 7px}#trade-dialog.trade-workbench .trade-side-tabs h3{margin:0;font-size:11px}#trade-dialog.trade-workbench .trade-picker>h3{margin:5px 0;font-size:10px}#trade-dialog.trade-workbench .trade-card-add{flex:none;min-height:68px}#trade-dialog.trade-workbench .trade-footer{padding-top:6px;padding-bottom:6px}#trade-dialog.trade-workbench .trade-footer>small{font-size:10px}#trade-dialog.trade-workbench .trade-buttons{margin-top:4px}}@media (width<=1100px) and (height<=500px) and (orientation:landscape){body #trade-dialog.trade-workbench,body #trade-dialog.trade-workbench[data-expanded=true]{top:80px;left:auto;right:8px;bottom:var(--mobile-task-bottom,66px);width:min(440px,100vw - 24px);height:auto;max-height:none}#trade-dialog.trade-workbench #trade-expand,#trade-dialog.trade-workbench .trade-steps{display:none}}@media (prefers-reduced-motion:reduce){.trade-receipt-toast{animation:none}}:root{--ui-scale:1}.display-settings{white-space:normal;color:#eee2bf;gap:8px;font-size:14px;display:grid}.display-settings[hidden]{display:none}.display-settings select{color:#f0e4bf;width:100%;min-height:40px;font:inherit;background:#092933;border:1px solid #c4aa6c99;border-radius:7px;padding:8px 10px}.display-settings small{color:#bad0cd;font-size:12px;line-height:1.5}.hud-settings-body{scrollbar-width:thin;max-height:calc(100dvh - 100px);overflow:auto}.hud-settings-body:has(.display-settings){min-width:250px}.strategy-hud .hud-awards .card-art,.strategy-hud .strategy-card-stack .card-art{filter:none}.strategy-hud .hud-awards .card-decoration,.strategy-hud:not(.hand-expanded) .strategy-hand .card-decoration,.strategy-hud .strategy-card-stack .card-decoration{display:none}.strategy-hud:not(.hand-expanded) .strategy-hand .resource>.card-art{filter:none}@media (width>=1101px){body.strategy-hud{--hud-edge:calc(20px * var(--ui-scale));--hud-hand-width:clamp(440px,calc(480px * var(--ui-scale)),48vw)}body.strategy-hud.peripheral-hud .brand span{font-size:calc(25px * var(--ui-scale))}body.strategy-hud.peripheral-hud .brand small{font-size:calc(8px * var(--ui-scale))}body.strategy-hud.peripheral-hud[data-view=game] header{height:calc(84px * var(--ui-scale))}body.strategy-hud.peripheral-hud .header-right{margin-top:calc(16px * var(--ui-scale))}body.strategy-hud.peripheral-hud .hud-settings>summary{width:calc(38px * var(--ui-scale));height:calc(38px * var(--ui-scale));font-size:calc(22px * var(--ui-scale))}body.strategy-hud.peripheral-hud .hud-settings-body{top:calc(48px * var(--ui-scale))}body.strategy-hud.peripheral-hud .hud-room{top:calc(84px * var(--ui-scale));font-size:calc(12px * var(--ui-scale));max-width:calc(280px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-panel{top:calc(16px * var(--ui-scale));left:calc(50% - 30px * var(--ui-scale));width:clamp(360px,calc(100vw - 700px * var(--ui-scale)),calc(600px * var(--ui-scale)));min-height:calc(84px * var(--ui-scale));padding:calc(10px * var(--ui-scale)) calc(14px * var(--ui-scale));gap:calc(14px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-leader{gap:calc(10px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-leader .leader-portrait{width:calc(54px * var(--ui-scale));height:calc(54px * var(--ui-scale));flex:none}body.strategy-hud.peripheral-hud .turn-panel small{font-size:calc(16px * var(--ui-scale));max-width:calc(240px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-panel .phase{font-size:calc(13px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-panel .eyebrow{font-size:calc(11px * var(--ui-scale));letter-spacing:1.5px}body.strategy-hud.peripheral-hud .turn-panel .dice-dock{gap:calc(24px * var(--ui-scale));padding-left:calc(14px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-panel .dice-pair{transform:scale(calc(.62 * var(--ui-scale)));margin:calc((var(--ui-scale) * .62 - 1) * 19px) calc((var(--ui-scale) * .62 - 1) * 53.5px)}body.strategy-hud.peripheral-hud .turn-panel .dice-readout{min-width:calc(100px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-panel .dice-total{font-size:calc(18px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-panel .harvest-recap,body.strategy-hud.peripheral-hud .turn-panel #roll{font-size:calc(13px * var(--ui-scale))}body.strategy-hud.peripheral-hud .players-panel,body.strategy-hud.peripheral-hud[data-variant=extended] .players-panel{top:calc(16px * var(--ui-scale));right:calc(70px * var(--ui-scale));gap:calc(6px * var(--ui-scale));max-width:calc(380px * var(--ui-scale));max-height:none}body.strategy-hud.peripheral-hud .players-panel .player-card,body.strategy-hud.peripheral-hud[data-variant=extended] .players-panel .player-card{width:calc(54px * var(--ui-scale));flex-basis:calc(54px * var(--ui-scale))}body.strategy-hud.peripheral-hud .players-panel .leader-portrait{width:calc(48px * var(--ui-scale));height:calc(48px * var(--ui-scale))}body.strategy-hud.peripheral-hud .player-card .player-name{width:calc(54px * var(--ui-scale));font-size:calc(12px * var(--ui-scale))}body.strategy-hud.peripheral-hud .players-panel .score{font-size:calc(17px * var(--ui-scale))}:is(body.strategy-hud.peripheral-hud .hud-awards,body.strategy-hud.peripheral-hud:has(.voice-play:not([hidden])) .hud-awards){right:calc(70px * var(--ui-scale));top:calc(120px * var(--ui-scale));gap:calc(8px * var(--ui-scale));max-width:none}body.strategy-hud.peripheral-hud .hud-awards .honor-card{width:calc(176px * var(--ui-scale));height:calc(50px * var(--ui-scale));gap:calc(8px * var(--ui-scale));padding:calc(4px * var(--ui-scale)) calc(8px * var(--ui-scale))}body.strategy-hud.peripheral-hud .hud-awards .honor-portrait{width:calc(36px * var(--ui-scale));height:calc(36px * var(--ui-scale))}body.strategy-hud.peripheral-hud .hud-awards .honor-ribbon h3,body.strategy-hud .strategy-honor-owner{font-size:calc(12px * var(--ui-scale))}body.strategy-hud .strategy-honor-owner{max-width:calc(110px * var(--ui-scale))}body.strategy-hud.peripheral-hud .hud-awards .honor-points{font-size:calc(15px * var(--ui-scale))}body.strategy-hud.peripheral-hud .room-information{width:calc(280px * var(--ui-scale));top:calc(130px * var(--ui-scale))}body.strategy-hud.peripheral-hud .room-info-toolbar button{min-height:calc(36px * var(--ui-scale));font-size:calc(13px * var(--ui-scale))}body.strategy-hud.peripheral-hud .hud-activity-body .log p,body.strategy-hud.peripheral-hud .chat-message{font-size:calc(13px * var(--ui-scale))}body.strategy-hud.peripheral-hud .mobile-action-bar{bottom:calc(82px * var(--ui-scale));width:calc(232px * var(--ui-scale));height:calc(58px * var(--ui-scale))}body.strategy-hud.peripheral-hud .mobile-action-bar button{height:calc(58px * var(--ui-scale));min-height:calc(58px * var(--ui-scale));font-size:calc(14px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-end-control{bottom:calc(22px * var(--ui-scale));width:calc(232px * var(--ui-scale));height:calc(48px * var(--ui-scale))}body.strategy-hud.peripheral-hud .turn-end-control button{height:calc(48px * var(--ui-scale));font-size:calc(16px * var(--ui-scale))}body.strategy-hud.peripheral-hud .actions-panel,body.strategy-hud.peripheral-hud.has-turn-end .actions-panel{bottom:calc(154px * var(--ui-scale));width:calc(300px * var(--ui-scale));max-height:calc(100dvh - 350px * var(--ui-scale))}body.strategy-hud.peripheral-hud .actions-panel.is-open>.action-card,body.strategy-hud.peripheral-hud .actions-panel.requires-action>.action-card{max-height:calc(100dvh - 350px * var(--ui-scale))}body.strategy-hud.peripheral-hud[data-view=game] .world-controls{bottom:calc(66px * var(--ui-scale));width:calc(252px * var(--ui-scale));max-width:none}body.strategy-hud.peripheral-hud[data-view=game] .voice-controls{bottom:calc(110px * var(--ui-scale));width:calc(252px * var(--ui-scale))}body.strategy-hud.peripheral-hud .audio-controls{bottom:calc(22px * var(--ui-scale));width:calc(252px * var(--ui-scale))}body.strategy-hud.peripheral-hud[data-view=game] .world-controls button,body.strategy-hud.peripheral-hud[data-view=game] .voice-controls button,body.strategy-hud.peripheral-hud .audio-controls button{height:calc(38px * var(--ui-scale));min-height:calc(38px * var(--ui-scale));font-size:calc(12px * var(--ui-scale))}body.strategy-hud.peripheral-hud[data-view=game] .world-controls .view-switch{height:calc(38px * var(--ui-scale))}body.strategy-hud.peripheral-hud .audio-controls b{font-size:calc(12px * var(--ui-scale))}body.strategy-hud.peripheral-hud .strategy-hand{bottom:calc(16px * var(--ui-scale));padding:calc(10px * var(--ui-scale)) calc(12px * var(--ui-scale));gap:calc(10px * var(--ui-scale))}body.strategy-hud.peripheral-hud .strategy-hand .inventory .resource{height:calc(92px * var(--ui-scale))}body.strategy-hud.peripheral-hud .strategy-hand .resource>.card-art{width:96%;height:72%;left:2%}body.strategy-hud.peripheral-hud .strategy-hand .resource strong{font-size:calc(18px * var(--ui-scale));width:calc(25px * var(--ui-scale));height:calc(28px * var(--ui-scale))}body.strategy-hud.peripheral-hud .strategy-hand .resource small{font-size:calc(13px * var(--ui-scale));padding:calc(3px * var(--ui-scale)) 0}body.strategy-hud .strategy-card-stack{flex-basis:calc(68px * var(--ui-scale));font-size:calc(12px * var(--ui-scale));padding:calc(6px * var(--ui-scale))}body.strategy-hud .strategy-card-stack .card-art{width:calc(44px * var(--ui-scale));height:calc(46px * var(--ui-scale))}body.strategy-hud .strategy-card-stack b{font-size:calc(14px * var(--ui-scale))}body.strategy-hud .strategy-hand-toolbar{bottom:calc(140px * var(--ui-scale))}body.strategy-hud.peripheral-hud .strategy-hand-toolbar button{font-size:calc(12px * var(--ui-scale));min-height:calc(30px * var(--ui-scale))}body.strategy-hud.peripheral-hud.hand-hidden .strategy-hand-toolbar{bottom:calc(20px * var(--ui-scale))}body.strategy-hud.peripheral-hud.hand-expanded .strategy-hand .inventory .resource{height:calc(132px * var(--ui-scale))}body.strategy-hud.peripheral-hud.hand-expanded .strategy-hand-toolbar{bottom:calc(180px * var(--ui-scale))}body.strategy-hud.peripheral-hud .strategy-hand-details .hud-development-hand button{font-size:calc(12px * var(--ui-scale))}body.strategy-hud.peripheral-hud .strategy-hand-details .card-art{width:calc(32px * var(--ui-scale));height:calc(36px * var(--ui-scale));filter:none}body.strategy-hud.peripheral-hud .minimized-panels,body.strategy-hud.peripheral-hud .bot-review-entry{top:calc(184px * var(--ui-scale));width:calc(232px * var(--ui-scale));max-width:none}body.strategy-hud.peripheral-hud:has(.bot-review-entry:not([hidden])) .minimized-panels{top:calc(230px * var(--ui-scale))}body.strategy-hud.peripheral-hud .strategy-event-track{top:calc(110px * var(--ui-scale));left:calc(50% - 30px * var(--ui-scale));width:clamp(360px,calc(100vw - 700px * var(--ui-scale)),calc(600px * var(--ui-scale)));font-size:calc(12px * var(--ui-scale))}body.strategy-hud.peripheral-hud .strategy-event-track strong{font-size:calc(12px * var(--ui-scale))}body #trade-dialog.trade-workbench{top:calc(184px * var(--ui-scale));bottom:calc(154px * var(--ui-scale));right:var(--hud-edge,20px);width:min(calc(520px * var(--ui-scale)),calc(100vw - 48px))}#trade-dialog.trade-workbench .trade-header h2{font-size:calc(20px * var(--ui-scale))}#trade-dialog.trade-workbench .trade-body{font-size:calc(14px * var(--ui-scale))}#trade-dialog.trade-workbench .trade-steps,#trade-dialog.trade-workbench .trade-footer>small,#trade-dialog.trade-workbench h3,#trade-dialog.trade-workbench .workbench-inventory small{font-size:calc(12px * var(--ui-scale))}#trade-dialog.trade-workbench .trade-workbench-tabs button,#trade-dialog.trade-workbench .trade-buttons button{font-size:calc(14px * var(--ui-scale))}#trade-dialog.trade-workbench .workbench-inventory svg,.trade-chip svg{width:calc(36px * var(--ui-scale));height:calc(36px * var(--ui-scale))}.trade-chip{font-size:calc(13px * var(--ui-scale))}}@media (width>=1101px) and (width<=1400px){body.strategy-hud{--hud-edge:16px}body.strategy-hud.peripheral-hud .room-information{width:244px}body.strategy-hud.peripheral-hud .players-panel,body.strategy-hud.peripheral-hud[data-variant=extended] .players-panel{gap:3px;right:64px}body.strategy-hud.peripheral-hud .players-panel .player-card,body.strategy-hud.peripheral-hud[data-variant=extended] .players-panel .player-card{flex-basis:46px;width:46px}body.strategy-hud.peripheral-hud .player-card .player-name{width:46px}body.strategy-hud.peripheral-hud .players-panel .leader-portrait{width:42px;height:42px}:is(body.strategy-hud.peripheral-hud .hud-awards,body.strategy-hud.peripheral-hud:has(.voice-play:not([hidden])) .hud-awards){gap:6px;right:64px}body.strategy-hud.peripheral-hud .hud-awards .honor-card{gap:5px;width:154px}body.strategy-hud.peripheral-hud .turn-leader .leader-portrait{width:42px;height:42px}body.strategy-hud.peripheral-hud .turn-panel .dice-dock{gap:20px;padding-left:10px}body.strategy-hud.peripheral-hud .mobile-action-bar,body.strategy-hud.peripheral-hud .turn-end-control{width:208px}body.strategy-hud.peripheral-hud[data-view=game] .world-controls,body.strategy-hud.peripheral-hud[data-view=game] .voice-controls,body.strategy-hud.peripheral-hud .audio-controls{width:252px}}
