.remote-refresh-notice{z-index:1020;inset-inline-start:50%;top:max(16px, env(safe-area-inset-top));box-sizing:border-box;color:#f3eedf;background:#273e35;border:1px solid #c8d3bf66;border-radius:14px;width:min(360px,100% - 32px);padding:12px 16px;font:14px/1.4 system-ui;position:fixed;transform:translate(-50%);box-shadow:0 12px 35px #0006}.remote-refresh-notice>div{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.remote-refresh-notice button{flex:1;min-height:44px}.agent-launcher{right:max(12px, env(safe-area-inset-right));bottom:calc(76px + env(safe-area-inset-bottom));z-index:1000;color:#eee;background:#212121;border:1px solid #505050;border-radius:24px;min-height:44px;padding:10px 18px;font:600 15px system-ui;position:fixed;box-shadow:0 4px 20px #0006}.agent-backdrop{z-index:1001;background:#0008;position:fixed;inset:0}.agent-chat{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;right:max(16px, env(safe-area-inset-right));top:calc(var(--visible-top,0px) + 12px);width:min(720px,100% - 32px);height:calc(var(--visible-height,100dvh) - 24px);color:#ececec;background:#151515;border:1px solid #333;border-radius:18px;outline:none;flex-direction:column;min-height:0;font:16px/1.6 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;position:absolute;overflow:hidden;box-shadow:0 8px 60px #0007}.agent-chat-header{background:#151515f5;flex:none;justify-content:space-between;align-items:center;height:48px;padding:0 12px 0 20px;display:flex}.agent-chat-heading{align-items:center;gap:8px;display:flex}.agent-chat-heading h2{color:#f5f5f5;margin:0 4px 0 0;font:600 17px/1.3 -apple-system,BlinkMacSystemFont,sans-serif}.agent-connection-dot{background:#777;border-radius:50%;width:5px;height:5px}.agent-connection-dot.online{background:#74bfa2}.agent-connection-label{color:#929292;font-size:11px}.agent-chat .agent-icon{color:#dedede;cursor:pointer;width:40px;min-width:40px;height:44px;min-height:44px;box-shadow:none;background:0 0;border:0;border-radius:50%;flex:0 0 40px;justify-content:center;align-items:center;padding:0;display:inline-flex}.agent-chat .agent-icon:focus-visible{outline-offset:-2px;outline:2px solid #aaa}.agent-chat .agent-icon:disabled{opacity:.35;cursor:default}.agent-chat a{color:#a5c6ea;text-underline-offset:3px;text-decoration:underline}.agent-messages{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#555 transparent;flex:1;min-height:0;padding:12px 20px 20px;scroll-padding-bottom:20px;overflow:auto}.agent-message{overflow-wrap:anywhere;margin:0 0 24px}.agent-message:last-child{margin-bottom:4px}.agent-message-user{background:#2b2b2b;border-radius:22px;width:fit-content;max-width:85%;margin-left:auto;padding:10px 16px;line-height:1.5}.agent-user-text{white-space:pre-wrap}.agent-question{background:#222;border:1px solid #424242;border-radius:18px;padding:16px}.agent-question-label{color:#aaa;font-size:12px}.agent-question-prompt{white-space:pre-wrap;margin:8px 0 14px;font-weight:550;line-height:1.5}.agent-question-options{gap:8px;display:grid}.agent-chat .agent-question-option{color:#eee;width:100%;min-height:48px;font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer;background:#2c2c2c;border:1px solid #4b4b4b;border-radius:12px;align-items:center;gap:10px;padding:10px;line-height:1.4;display:flex}.agent-question-option>span:nth-child(2){flex:1;min-width:0}.agent-question-number{color:#aaa;flex:none;font-size:12px}.agent-chat .agent-question-option.selected{background:#233e34;border-color:#77bca2}.agent-chat .agent-question-option:disabled{cursor:default;opacity:.65}.agent-chat .agent-question-option.selected:disabled{opacity:1}.agent-chat .agent-question-option:focus-visible,.agent-question-custom summary:focus-visible{outline-offset:2px;outline:2px solid #95cfba}.agent-question-answer{color:#aed9c8;white-space:pre-wrap;margin:12px 0 0;font-size:13px}.agent-question-custom{margin-top:10px}.agent-question-custom summary{color:#bcbcbc;cursor:pointer;min-height:24px;padding:10px 0;font-size:14px}.agent-question-custom label{color:#bbb;font-size:13px;display:block}.agent-chat .agent-question-custom textarea{box-sizing:border-box;color:#eee;resize:vertical;background:#151515;border:1px solid #555;border-radius:10px;width:100%;min-height:70px;max-height:160px;margin:6px 0;padding:10px;font:16px/1.5 system-ui;display:block}.agent-chat .agent-question-custom button{color:#eee;min-height:44px;font:inherit;background:#333;border:1px solid #555;border-radius:18px;padding:8px 16px}.agent-markdown>:first-child{margin-top:0}.agent-markdown>:last-child{margin-bottom:0}.agent-markdown p{margin:0 0 16px}.agent-markdown strong{color:#fafafa;font-weight:650}.agent-markdown h1,.agent-markdown h2,.agent-markdown h3,.agent-markdown h4{margin:24px 0 12px;font-family:inherit;font-size:1.1em;line-height:1.4}.agent-markdown ul,.agent-markdown ol{margin:12px 0 16px;padding-left:24px}.agent-markdown li{margin:6px 0}.agent-markdown li>p{margin:0 0 8px}.agent-markdown blockquote{color:#bbb;border-left:2px solid #555;margin:16px 0;padding-left:16px}.agent-markdown code{background:#303030;border-radius:4px;padding:2px 5px;font:.85em/1.5 ui-monospace,SFMono-Regular,monospace}.agent-markdown pre{white-space:pre;background:#202020;border:1px solid #333;border-radius:12px;max-width:100%;padding:14px;overflow-x:auto}.agent-markdown pre code{background:0 0;padding:0}.agent-markdown table{border-collapse:collapse;max-width:100%;font-size:14px;display:block;overflow-x:auto}.agent-markdown th,.agent-markdown td{text-align:left;border:1px solid #444;padding:7px 10px}.agent-markdown hr{border:0;border-top:1px solid #444;margin:20px 0}.agent-composer{padding:6px 12px max(10px, env(safe-area-inset-bottom));overscroll-behavior:contain;flex:none;max-height:45%;overflow:auto}.agent-input-shell{box-sizing:border-box;background:#252525;border:1px solid #3d3d3d;border-radius:28px;align-items:flex-end;gap:2px;min-height:54px;padding:5px 6px 5px 16px;display:flex}.agent-input-shell:focus-within{border-color:#626262}.agent-chat .agent-input-shell textarea{box-sizing:border-box;resize:none;color:#eee;width:0;min-width:0;max-width:100%;min-height:26px;max-height:112px;box-shadow:none;background:0 0;border:0;border-radius:0;outline:none;flex:1;margin:8px 0;padding:0;font:16px/26px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow-y:auto}.agent-input-shell textarea::placeholder{color:#999}.agent-input-actions{flex:none;align-items:center;display:flex}.agent-chat .agent-send{box-sizing:border-box;color:#171717;background:#eee;border:4px solid #252525;flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px;margin:0}.agent-chat .agent-send:disabled{color:#ccc;opacity:.6;background:#5d5d5d}.agent-composer p{overflow-wrap:anywhere;margin:0 6px 8px;font-size:12px}.agent-chat-error{color:#f4aaa0}.agent-chat-empty{color:#aaa;padding:20px}.agent-chat .agent-dismiss-delivery{color:#bbb;background:0 0;border:0;min-height:36px;margin:6px 8px 0;padding:2px 0;font:12px system-ui;text-decoration:underline}.agent-sr-only{clip-path:inset(50%);white-space:nowrap;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.agent-input-voice{align-items:center;padding-left:6px}.agent-voice-status{color:#ccc;font-variant-numeric:tabular-nums;flex:1;justify-content:center;align-items:center;gap:12px;font-size:13px;display:flex}.agent-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:14px;height:14px;animation:.8s linear infinite agent-spin;display:inline-block}.agent-wave{align-items:center;gap:3px;height:24px;display:flex}.agent-wave i{background:#95cfba;border-radius:2px;width:3px;height:9px;animation:.8s ease-in-out infinite alternate agent-wave}.agent-wave i:nth-child(2),.agent-wave i:nth-child(4){height:17px;animation-delay:-.3s}.agent-wave i:nth-child(3){height:24px;animation-delay:-.6s}@keyframes agent-spin{to{transform:rotate(360deg)}}@keyframes agent-wave{to{transform:scaleY(.4)}}@media (prefers-reduced-motion:reduce){.agent-spinner,.agent-wave i{animation:none}}@media (width<=600px){.agent-chat{right:0;top:var(--visible-top,0px);width:100%;height:var(--visible-height,100dvh);background:#101010;border:0;border-radius:0}.agent-chat-header{height:44px;padding-top:env(safe-area-inset-top);background:#101010}.agent-messages{padding-left:max(20px, env(safe-area-inset-left));padding-right:max(20px, env(safe-area-inset-right))}.agent-composer{padding:4px max(10px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left))}}.agent-delivery-status{opacity:.7;margin-top:6px;font-size:12px;display:block}.agent-message[data-delivery=failed] .agent-delivery-status{color:#ffd39b;opacity:1}.agent-chat-image{background:0 0;border:0;border-radius:10px;max-width:100%;margin:8px 0 0;padding:0;display:block;overflow:hidden}.agent-chat-image img{object-fit:contain;width:auto;max-width:100%;max-height:320px;display:block}.agent-draft-image{align-items:flex-start;gap:8px;margin:0 0 8px;display:flex}.agent-draft-image img{object-fit:contain;border-radius:8px;max-width:120px;height:72px}.agent-draft-image button{min-width:36px;min-height:36px;padding:0;font-size:24px}.agent-image-preview{z-index:400;background:#07151bf5;justify-content:center;align-items:center;padding:52px 12px 12px;display:flex;position:fixed;inset:0}.agent-image-preview img{object-fit:contain;max-width:100%;max-height:100%}.agent-image-preview>button{min-width:44px;min-height:44px;position:absolute;top:12px;right:12px}.agent-draft-image .agent-draft-preview{cursor:zoom-in;background:0 0;border:0;border-radius:8px;min-height:44px;padding:0;display:block;overflow:hidden}.agent-draft-preview:focus-visible{outline-offset:3px;outline:2px solid #dec68f}.agent-message-sender{color:#999;text-align:left;margin-bottom:4px;font-size:12px;line-height:1.4;display:block}@media (width<=760px){.agent-launcher{touch-action:none;-webkit-user-select:none;user-select:none;transition:left .12s ease-out,top .12s ease-out}.agent-launcher.is-dragging{cursor:grabbing;transition:none}}.agent-launcher,.agent-launcher:hover{color:#f7fbf8;-webkit-backdrop-filter:blur(12px)saturate(160%);backdrop-filter:blur(12px)saturate(160%);background:linear-gradient(145deg,#ffffff30,#ffffff0b),#183a3355;border-color:#e6fff466;transition:background .18s,-webkit-backdrop-filter .18s,backdrop-filter .18s,box-shadow .18s,transform .1s,left .12s ease-out,top .12s ease-out;box-shadow:inset 0 1px #fff6,0 5px 22px #0005}.agent-launcher:active,.agent-launcher[data-pressed=true],.agent-launcher[aria-expanded=true]{-webkit-backdrop-filter:blur(28px)saturate(120%);backdrop-filter:blur(28px)saturate(120%);background:linear-gradient(145deg,#ffffff4d,#ffffff20),#31574d99;border-color:#edfff4a6;box-shadow:inset 0 1px 1px #ffffff7a,0 3px 16px #0004}.agent-launcher:active:not(.is-dragging){transform:scale(.98)}.agent-launcher.is-dragging{transition:none}@media (prefers-reduced-motion:reduce){.agent-launcher{transition:none}}.agent-draft-images{flex-wrap:wrap;gap:8px;display:flex}.agent-input-actions .agent-camera:has(span){gap:5px;width:auto;padding-inline:9px;font-size:13px}.agent-draft-images{flex-wrap:nowrap;padding:4px 2px;overflow-x:auto}.agent-draft-images .agent-draft-image{flex:none;margin:0;position:relative}.agent-draft-images .agent-draft-preview img{object-fit:cover;width:60px;height:60px}.agent-draft-images .agent-draft-remove{color:#fff;background:#10242a;border-radius:50%;min-width:28px;min-height:28px;font-size:18px;line-height:1;position:absolute;top:0;right:0}.hexigor-lobby-header{background:#27545f;border-bottom:1px solid #c6b78d55;flex:0 0 100%;width:100%;position:relative;overflow:hidden}.hexigor-lobby-header img{object-fit:cover;object-position:center 58%;width:100%;height:clamp(200px,28vw,380px);display:block}.lobby-shell{flex-wrap:wrap;align-content:flex-start}.online-shell>.hexigor-lobby-header{width:100%;margin:24px 0 0}.online-shell>.hexigor-lobby-header img{height:clamp(200px,28vw,360px)}.online-shell:has(>.hexigor-lobby-header) .online-card{margin-top:32px}.online-card select{box-sizing:border-box;color:#f4eddc;width:100%;min-height:44px;font:inherit;background:#081b22;border:1px solid #63787988;border-radius:8px;padding:10px 12px;font-size:14px}@media (width<=540px){.hexigor-lobby-header img{height:220px}.online-shell>.hexigor-lobby-header{width:100%;margin:20px 0 0}.online-shell>.hexigor-lobby-header img{height:210px}.online-shell:has(>.hexigor-lobby-header) .online-card{margin-top:24px}}.lobby-card .lobby-online-link{color:#e6c98a;background:#e6c98a12;border:1px solid #dbc49166;border-radius:7px;align-items:center;gap:8px;padding:10px 14px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.lobby-card .lobby-online-link:hover{background:#e6c98a22}.lobby-card .lobby-online-link:focus-visible{outline-offset:3px;outline:2px solid #dfc28c}.gamepad-cursor{z-index:2000;box-sizing:border-box;pointer-events:none;background:#10263066;border:2px solid #fff;border-radius:50%;width:20px;height:20px;position:fixed;top:0;left:0;box-shadow:0 0 0 1px #102630,0 1px 6px #000a}.spice-collection{color:#f4e7c9;background:#243b2e;border:1px solid #d5b67a66;border-radius:9px;min-width:0;margin:8px 0;padding:9px}.spice-collection>strong{margin-bottom:6px;font-size:13px;display:block}.spice-collection button{white-space:normal;max-width:100%;min-height:44px;margin:3px 0;font-size:13px}.spice-collection small,.spice-collection p{color:#d4cfb9;margin:4px 0;font-size:12px;line-height:1.4;display:block}.spice-map-action{color:#ffedbd;white-space:normal;touch-action:manipulation;background:#173a2eed;border:1px solid #dbb56caa;border-radius:18px;max-width:150px;min-height:36px;padding:6px 10px;font-size:12px;font-weight:600;line-height:1.2;box-shadow:0 2px 8px #0006}.spice-map-action:disabled{opacity:.65}.council-home-actions{gap:4px;width:max-content;display:flex}.council-home-actions .spice-map-action{white-space:nowrap}.remote-control-dialog{box-sizing:border-box;color:#f5f8f7;background:#142f33;border:1px solid #759392;border-radius:1rem;width:min(24rem,100vw - 2rem);padding:1.25rem}.remote-control-dialog::backdrop{background:#051417b3}.remote-control-dialog h2{margin:0;font-size:1.2rem}.remote-control-dialog div,.remote-control-status{align-items:center;gap:.65rem;display:flex}.remote-control-dialog div{justify-content:end}.remote-control-status{z-index:100;top:calc(env(safe-area-inset-top) + .6rem);white-space:nowrap;color:#f5f8f7;background:#142f33;border:1px solid #759392;border-radius:1rem;padding:.25rem .35rem .25rem .75rem;font:600 .8rem system-ui,sans-serif;position:fixed;left:50%;transform:translate(-50%)}.remote-control-dialog button,.remote-control-status button{min-height:44px;color:inherit;background:#294d50;border:1px solid #759392;border-radius:.65rem;padding:.3rem .75rem}.build-cost,.pocket-purchases>button .build-cost{font-size:1rem;display:block}.build-cost-items{flex-wrap:wrap;gap:5px;display:flex}.build-cost .build-cost-item{white-space:nowrap;border:1px solid;border-radius:7px;align-items:center;gap:5px;min-height:36px;padding:0 7px 0 3px;display:inline-flex}.build-cost .build-cost-quantity{color:inherit;font-size:.875rem;font-weight:700}.build-cost .build-cost-icon{place-items:center;font-size:1.875rem;line-height:1;display:inline-grid}.build-cost-icon svg{width:30px;height:30px}.build-cost .build-cost-item[data-covered=true]{color:#e5ffec;background:#204532;border-color:#93d5ad}.build-cost .build-cost-check{color:#9ae7b5;font-size:.875rem;font-weight:800}.build-cost .build-cost-item[data-covered=false]{color:#ffe1b8;background:#503725;border-color:#ffc878}.build-cost .build-cost-missing,.build-cost .build-cost-ready{margin-top:6px;font-size:.9375rem;font-weight:750;line-height:1.3;display:block}.build-cost .build-cost-missing{color:#ffda9f}.build-cost .build-cost-ready{color:#b7e9c8}.game-layout .building-model-option:is(:disabled,[data-blocked-action]):has(.build-cost){opacity:1}.game-layout .building-model-option:is(:disabled,[data-blocked-action]):has(.build-cost) .miniature-preview{opacity:.58}.player-trades,.trade-panel{min-width:0}.player-trades h3{margin:16px 0 8px;font-size:18px}.trade-help{color:#b8c5c2;font-size:13px;line-height:1.5}.trade-select{gap:6px;margin:12px 0;font-size:14px;display:grid}.trade-select select{width:100%;min-height:44px;font-size:16px}.trade-bundle{border:1px solid #ffffff25;border-radius:12px;margin:14px 0;padding:10px}.trade-bundle legend{padding:0 6px;font-weight:650}.trade-asset{align-items:center;gap:9px;min-height:44px;padding:5px 0;font-size:13px;line-height:1.4;display:flex}.trade-asset input{flex:0 0 20px;width:20px;height:20px}.trade-bundle>small{color:#aabbb6;margin-top:8px;line-height:1.5;display:block}.trade-buttons{flex-wrap:wrap;gap:8px;display:flex}.trade-buttons button{flex:130px}.trade-primary{background:#345e4c}.trade-offer{border:1px solid #d9b77788;border-radius:10px;margin:12px 0;padding:12px}.trade-offer p{overflow-wrap:anywhere;font-size:14px;line-height:1.6}.trade-offer button{margin:4px 6px 4px 0}.trade-panel .bank-trade-row{border-top:1px solid #ffffff20;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding-top:12px;display:flex}.trade-panel .bank-trade-label{flex:1 0 100%;font-size:14px}.trade-panel .bank-trade-row button{flex:100px}@media (width<=350px){.trade-bundle{padding:6px}}.trade-tab-count{color:#182d24;background:#e4c67f;border-radius:10px;min-width:18px;margin-left:7px;padding:1px 5px;font-weight:700;display:inline-block}.trade-choice-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0;display:grid}.trade-choice-buttons button{text-align:left;background:#365043;border-color:#d8bd7c77;min-width:0;min-height:90px;padding:12px}.trade-choice-buttons strong,.trade-choice-buttons small{overflow-wrap:anywhere;display:block}.trade-choice-buttons small{color:#c9d4c5;margin-top:8px;line-height:1.5}.trade-assets summary{cursor:pointer;color:#d8c797;padding:12px 0;font-size:14px}.trade-picker-done{width:100%;min-height:44px}.trade-bank-button{border-color:#d8bd7c77;width:100%;min-height:48px;margin-top:16px;font-weight:600}.public-trade-listing{border:1px solid #d8bd7c55;border-radius:9px;margin:10px 0;padding:10px}.public-trade-listing>div{flex-wrap:wrap;align-items:center;gap:5px;margin-top:7px;display:flex}.public-trade-listing>div>span:first-child{color:#d7d8bf;min-width:42px;font-size:12px}.public-trade-good{background:#244b3d;border:1px solid #d8bd7c55;border-radius:5px;align-items:center;gap:4px;padding:3px 5px;font-size:14px;display:inline-flex}.public-trade-listing small{color:#c1c7b9;font-size:11px}.trade-publish-button{background:#365043;border-color:#d8bd7c77;width:100%;min-height:44px;margin:0 0 10px}.trade-menu-tabs{z-index:2;background:#152e27;gap:8px;padding:8px 0;display:flex;position:sticky;top:0}.trade-menu-tabs button{flex:1;min-height:46px}.trade-menu-tabs button[aria-pressed=true],.trade-partners button[aria-pressed=true]{background:#365d47;border-color:#ebce89;box-shadow:inset 0 0 0 1px #ebce89}.trade-partners{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:12px 0;display:grid}.trade-partners>button{color:#f2ecd8;text-align:left;min-width:0;padding:10px}.trade-partners .public-trade-listing{border:0;margin:6px 0 0;padding:0}.trade-partners .public-trade-listing>strong{display:none}.trade-partners .public-trade-good{font-size:12px}.trade-propose{width:100%;min-height:48px;margin:8px 0}.trade-propose:enabled{background:#456c40;border-color:#ebce89}.trade-notification-backdrop{z-index:450;pointer-events:none;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.trade-notification{pointer-events:auto;width:min(420px,100%);max-height:calc(var(--visible-height,100dvh) - 110px);overscroll-behavior:contain;color:#f4f0dd;background:#173b30;border:1px solid #e2c480;border-radius:14px;padding:14px;font-family:system-ui;overflow:auto;box-shadow:0 12px 40px #000a}.trade-notification .trade-offer{border:0;margin:0}.trade-notification button{min-height:44px;color:inherit;cursor:pointer;background:#2c5141;border:1px solid #d8bd7c88;border-radius:8px;padding:8px 12px}.trade-offer .trade-buttons{margin-top:10px}.trade-offer .trade-buttons button{flex:85px;min-height:44px;margin:0}.player-trades .trade-partners>button,.player-trades .trade-menu-tabs>button{color:#f2ecd8}.player-trades .trade-partners{scroll-snap-type:x proximity;gap:8px;padding:3px 0 8px;display:flex;overflow-x:auto}.player-trades .trade-partners>button{scroll-snap-align:start;flex:0 0 150px}.trade-proposal-submit{z-index:3;background:#213e31;border:1px solid #d8bd7c77;border-radius:10px;padding:8px;position:sticky;bottom:0}.trade-proposal-submit p{margin:0 0 5px;font-size:12px}.trade-proposal-submit .trade-propose{margin:0}.trade-send-actions{gap:8px;display:flex}.trade-send-actions>button{white-space:normal;overflow-wrap:anywhere;flex:1 1 0;width:0;min-width:0;min-height:48px}.trade-proposal-submit>small{color:#d4cfb9;margin-top:5px;font-size:11px;display:block}.diplomacy-offer-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.trade-notification .diplomacy-offer-close{flex:0 0 44px;min-width:44px;padding:0;font-size:24px;line-height:1}.diplomacy-offer-title{align-items:center;gap:8px;min-width:0;display:flex}.diplomacy-result-notice.slowest-turn-notice{top:30%}.diplomacy-result-notice p{margin-bottom:0}.military-summary{overflow-wrap:anywhere;min-width:0}.military-summary p{opacity:.85;font-size:.85rem;line-height:1.5}.military-forces{gap:10px;display:grid}.military-forces article{background:#ffffff06;border:1px solid #c9b67a50;border-radius:10px;padding:12px}.military-forces strong{align-items:center;gap:8px;display:flex}.military-forces strong>span{border-radius:50%;flex-shrink:0;width:12px;height:12px}.military-summary dl>div{justify-content:space-between;gap:12px;padding:5px 0;font-size:.85rem;display:flex}.military-summary dd{text-align:right;margin:0}.military-summary label{margin:12px 0;display:block}.military-summary select{width:100%;min-height:44px;margin-top:6px;display:block}.military-history{padding:0;list-style:none}.military-history li{border-top:1px solid #ffffff25;padding:10px 0}.military-history small{opacity:.65}.military-history p{margin:5px 0}.military-reason{background:#ffffff08;border-left:2px solid #c9b67a;padding:8px}.final-game-stats{overflow-wrap:anywhere;min-width:0}.final-game-stats h2{margin:.4rem 0;font-size:1.3rem}.final-game-stats p{opacity:.85;font-size:.85rem;line-height:1.5}.final-game-stats nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:16px 0;display:grid}.final-game-stats nav button{min-height:44px}.final-game-stats nav button[aria-pressed=true]{background:#426951;border-color:#bda567}.final-standings{padding:0;list-style:none}.final-standings li{border-bottom:1px solid #ffffff20;align-items:center;gap:10px;padding:12px 0;display:flex}.final-standings li div{flex:1;min-width:0}.final-standings small{opacity:.7;margin-top:4px;display:block}.final-standings b{white-space:nowrap}.final-player-dot{border-radius:50%;flex-shrink:0;width:12px;height:12px}.final-game-stats details{border:1px solid #ffffff30;border-radius:10px;margin:10px 0;padding:12px}.final-game-stats summary{cursor:pointer;min-height:32px;font-weight:650}.final-game-stats dl>div{border-bottom:1px solid #ffffff15;justify-content:space-between;gap:12px;padding:6px 0;font-size:.85rem;display:flex}.final-game-stats dt{text-transform:capitalize}.final-game-stats dd{text-align:right;margin:0}.final-goods{flex-wrap:wrap;gap:10px;display:flex}.final-goods>span{background:#ffffff0c;border-radius:6px;padding:6px}.final-dice{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.final-dice>div{text-align:center;background:#ffffff0c;border-radius:6px;padding:8px 2px}.final-dice span{opacity:.75;margin-top:5px;display:block}.postgame-toolbar{z-index:15;pointer-events:auto;background:#1b302cf0;border:1px solid #a89a6a70;border-radius:12px;gap:6px;max-width:calc(100% - 24px);padding:7px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.postgame-toolbar button{white-space:nowrap;min-height:44px}.game-over-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:20px;display:flex}.game-over-actions button{min-height:44px}.resource-picker{grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:8px;width:100%;margin:8px 0;display:grid}.resource-amount{min-width:0;position:relative}.resource-amount .resource-amount-add{color:#f6f3e7;touch-action:manipulation;background:#29493c;border:1px solid #9ab7a466;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:100%;min-height:64px;margin:0;padding:6px;display:flex}.resource-amount-add>span{font-size:22px;line-height:1.1}.resource-amount-add strong{font-size:12px}.resource-amount-add small{color:#d2e0d5;font-size:10px}.resource-amount .resource-amount-count{color:#182d24;touch-action:manipulation;background:#e4c67f;border:1px solid #f4dc99;border-radius:9px;min-width:32px;min-height:32px;margin:0;padding:3px 5px;font-size:13px;font-weight:700;line-height:1;position:absolute;top:0;right:0}.resource-amount:has(.resource-amount-count) .resource-amount-add{opacity:1;border-color:#e4c67f}.victory-status{z-index:32;box-sizing:border-box;pointer-events:auto;color:#fff2cc;background:#162b23f5;border:1px solid #d3b879;border-radius:12px;width:min(320px,100% - 24px);padding:12px 14px;font-size:13px;position:absolute;top:148px;right:12px;box-shadow:0 4px 18px #0004}.victory-status>div+div{border-top:1px solid #ffffff25;margin-top:10px;padding-top:10px}.victory-status p{margin:5px 0;line-height:1.4}.victory-status button{color:#182d25;background:#d3b879;border:1px solid #e8ce8b;border-radius:8px;width:100%;min-height:44px;margin-top:7px;font-size:15px;font-weight:700}@media (width<=700px){.victory-status{width:min(290px,100% - 20px);padding:10px 12px;top:132px;right:10px}}button.roll-dice-button{color:#23372d;white-space:nowrap;background:linear-gradient(160deg,#f0d99c,#c49a50);border:1px solid #f4d895;border-radius:10px;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:8px 14px;font-weight:750;display:inline-flex;box-shadow:inset 0 1px #fff5d4a6,0 3px #795934,0 5px 12px #12241a66}button.roll-dice-button:hover{background:linear-gradient(160deg,#fae7b6,#d8ad61)}button.roll-dice-button:active{transform:translateY(2px);box-shadow:inset 0 1px #fff5d4a6,0 1px #795934}.roll-dice-icon{flex:0 0 29px;height:24px;display:inline-block;position:relative}.roll-dice-icon i{background:radial-gradient(circle at 30% 30%, var(--pip) 1px, transparent 1.5px), radial-gradient(circle at 70% 70%, var(--pip) 1px, transparent 1.5px), var(--die);border-radius:4px;width:15px;height:15px;position:absolute;box-shadow:0 2px 3px #3b2a2155}.roll-dice-icon i:first-child{--pip:#f9e6bd;--die:#a64436;top:2px;left:1px;transform:rotate(-14deg)}.roll-dice-icon i:last-child{--pip:#283a30;--die:#fff0cb;bottom:2px;right:1px;transform:rotate(13deg)}.turn-task-reminder-backdrop{z-index:300;pointer-events:auto;background:#071b1580;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.turn-task-reminder{color:#f4eddc;background:#2d4438;border:1px solid #d8bd7c;border-radius:14px;width:min(420px,100%);padding:20px;font:15px system-ui;box-shadow:0 12px 45px #0007}.turn-task-reminder h3{margin:0 0 12px}.turn-task-reminder p{line-height:1.5}.turn-task-reminder>div{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.turn-task-reminder button,.turn-task-chip button,.turn-task-close{min-height:44px}.turn-task-surface{z-index:300;pointer-events:none;position:fixed;inset:0}.turn-task-close{right:12px;top:calc(12px + env(safe-area-inset-top));z-index:600;pointer-events:auto;background:#2d4438;position:absolute}.turn-task-chip,.turn-task-instructions{left:12px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:110;color:#f4eddc;pointer-events:auto;background:#2d4438f5;border:1px solid #d8bd7c88;border-radius:10px;max-width:min(420px,100% - 24px);padding:10px 12px;font:13px system-ui;position:fixed}.turn-task-chip{align-items:center;gap:12px;display:flex}.turn-task-instructions p{margin:6px 0 0;line-height:1.45}.turn-task-reminder>.alchemist-dice{text-align:left;grid-template-columns:1fr 1fr;display:grid}.alchemist-dice label{min-width:0}.alchemist-dice select{width:100%;min-height:44px;margin-top:6px;font-size:16px;display:block}.progress-map-decision-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.progress-map-decision-actions button{min-height:44px}.turn-task-reminder-backdrop.roll-turn-prompt{background:0 0}.roll-turn-action{position:relative}.roll-turn-alchemist{white-space:nowrap;background:#293e34;min-height:44px;position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%)}.roll-turn-action button.roll-dice-button{border-radius:14px;gap:16px;width:min(240px,100vw - 32px);min-height:72px;padding:12px 20px;font-size:22px}.roll-turn-action .roll-dice-icon{transform:scale(1.35)}.soldier-attack-proposal.coastal-setup-confirmation{box-sizing:border-box;border-color:#b6c9b8}.coastal-setup-confirmation h3{margin-top:0}.coastal-setup-options{grid-template-columns:1fr 1fr;gap:8px;display:grid}.coastal-setup-confirmation .coastal-setup-options button{margin:0}.coastal-setup-confirmation .coastal-setup-options button[aria-pressed=true]{color:#203e42;background:#d9b777;border-color:#d9b777}.pocket-hud{color:#f0ecd9;pointer-events:auto;z-index:25;background:#183b3c;border-top:1px solid #7b937e66;flex-shrink:0;order:0;padding:8px 10px 5px;font:13px/1.35 system-ui;display:none}.pocket-heading{align-items:center;gap:9px;margin-bottom:7px;display:flex}.pocket-heading button{color:#f0ecd9;white-space:nowrap;background:0 0;border:0;min-height:30px;padding:0;font-size:13px;font-weight:700}.pocket-heading button span{color:#b6ccc4;font-size:11px;font-weight:400}.pocket-heading .pocket-build-shortcut{color:#153739;background:#d8bd7c;border-radius:8px;min-height:32px;margin-left:auto;padding:5px 10px}.pocket-gold{color:#f0c85b;white-space:nowrap;font-size:13px}.pocket-goods{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.pocket-good{white-space:nowrap;background:#ffffff08;border:1px solid #b6c8b52e;border-radius:7px;justify-content:center;align-items:center;gap:4px;min-width:0;padding:5px 2px;font-size:11px;display:flex}.pocket-good b{font-size:17px;line-height:1}.pocket-good.empty{color:#a4b8af}.pocket-good-dot{border-radius:2px;flex-shrink:0;width:7px;height:7px}.pocket-commodity-row{align-items:center;gap:8px;margin-top:5px;display:flex}.pocket-commodity-row>.pocket-goods{flex:1;grid-template-columns:repeat(3,minmax(0,1fr))}.pocket-commodity-row .pocket-good{border:0;padding:3px;font-size:10px}.pocket-commodity-row .pocket-good b{font-size:13px}.pocket-commodity-row>button{background:0 0;border-color:#9db89c44;min-height:28px;padding:2px 8px;font-size:11px}.pocket-last-roll{text-align:left;color:#bcd4cb;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:28px;margin-top:3px;padding:2px 0;font-size:11px;display:flex}.pocket-last-roll b{color:#f2dfaa}.pocket-last-roll span{text-align:right;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.pocket-hand-panel h3,.pocket-build-panel h3{margin:14px 0 8px;font-size:17px}.pocket-hand-panel .pocket-goods{grid-template-columns:repeat(3,minmax(0,1fr))}.pocket-hand-panel .pocket-good{grid-template-columns:minmax(0,1fr) auto;gap:3px 5px;min-height:48px;padding:7px;font-size:13px;display:grid}.pocket-hand-panel .pocket-good b{text-align:right;font-size:22px}.pocket-hand-panel .pocket-good-symbol{font-size:21px;line-height:1}.pocket-card-list{gap:6px;padding-left:20px;font-size:15px;display:grid}.pocket-build-panel>p{color:#c7d4c8;font-size:14px;line-height:1.5}.pocket-purchases{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.pocket-purchases>button{text-align:left;white-space:normal;flex-direction:column;align-items:flex-start;gap:6px;min-height:108px;padding:12px 9px;line-height:1.35;display:flex}.pocket-purchases>button b{color:#f1e6c3;font-size:17px}.pocket-purchases>button span{color:#c5d3c5;font-size:12px}.pocket-purchases>button small{color:#aebeb4;font-size:11px}.pocket-purchases>button.can-buy{background:#60823a28;border-color:#9bbd76}.pocket-purchases>button.can-buy small{color:#c4e3a6}.pocket-purchases>button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #dfc78a}.pocket-purchase-detail{background:#ffffff07;border:1px solid #e1c89066;border-radius:10px;margin:14px 0;padding:12px}.pocket-purchase-detail h3{margin-top:0}.pocket-purchase-detail label{gap:7px;margin:12px 0;font-size:14px;display:grid}.pocket-purchase-detail select{width:100%;min-height:44px}.pocket-purchase-detail>button{width:100%;min-height:46px;font-size:15px}.pocket-missing{color:#f2b89a}.pocket-buy-links{flex-wrap:wrap;gap:8px;display:flex}.pocket-buy-links button{white-space:normal;flex:140px;min-height:44px}.pocket-activity>p{color:#bccdc3;font-size:13px;line-height:1.45}.pocket-activity article{background:#ffffff06;border:1px solid #a5bd9f3f;border-radius:10px;margin:10px 0;padding:12px}.pocket-activity article header{flex-wrap:wrap;align-items:center;gap:9px;font-size:14px;display:flex}.pocket-roll-total{color:#f5e4ad;background:#e3d39b16;border:1px solid #d9c89266;border-radius:7px;place-items:center;min-width:36px;min-height:36px;font-size:23px;display:grid}.pocket-activity article header small{color:#bbd1c3}.pocket-activity article p{flex-wrap:wrap;gap:8px;margin:10px 0 0;font-size:14px;line-height:1.5;display:flex}.pocket-activity article p b{color:#efd8a7}@media (width<=760px){.pocket-hud{display:block}:is(.game-layout:has(.pocket-hud) .voyage-scoreboard,.game-layout:has(.pocket-hud) .board-help){display:none}.game-layout:has(.pocket-hud) .panel-tabs{gap:2px;min-height:48px;padding-top:4px;padding-bottom:4px}.game-layout:has(.pocket-hud) .panel-tabs button{min-width:66px;padding:6px 8px;font-size:12px}.game-layout:has(.pocket-hud) .panel-tabs button:first-of-type{margin-left:0}.game-layout:has(.pocket-hud) .game-drawer{max-height:calc(var(--visible-height,100dvh) - 230px)}.pocket-hand-panel .pocket-good{font-size:12px}}@media (width<=350px){.pocket-good{gap:2px;font-size:10px}.pocket-good b{font-size:16px}.pocket-heading{gap:6px}.pocket-heading button,.pocket-gold{font-size:12px}.pocket-heading button span{font-size:10px}.pocket-heading .pocket-build-shortcut{padding:5px 7px}}@media (width<=760px){.pocket-hud>.pocket-goods .pocket-good{grid-template-columns:8px auto;justify-content:center;gap:3px 2px;padding:4px 1px;display:grid}.pocket-hud>.pocket-goods .pocket-good b{grid-area:1/1/auto/3}.pocket-hud>.pocket-goods .pocket-good-dot{grid-area:2/1;align-self:center}.pocket-hud>.pocket-goods .pocket-good>span:not(.pocket-good-dot){grid-area:2/2}.pocket-heading button,.pocket-heading .pocket-build-shortcut{min-height:40px}body:has(.pocket-hud) .agent-launcher{bottom:calc(var(--mobile-hand-height,180px) + 60px + env(safe-area-inset-bottom))}.game-layout .board-caption{display:none}}.pocket-good.collected{background:#91cd7419;border-color:#a4d98a88}.pocket-good-gain{color:#c5f2a8;font-size:12px;font-weight:800;line-height:1}.pocket-last-roll{border-top:1px solid #b6c8b526;min-height:44px;margin-top:6px;padding-top:5px}.pocket-last-roll .pocket-roll-dice{color:#f6e4af;background:#eddaa720;border-radius:7px;flex-shrink:0;place-items:center;min-width:32px;height:32px;font-size:22px;font-weight:800;display:grid}.pocket-last-roll .pocket-roll-description{text-align:left;white-space:normal;flex-direction:column;flex:1;gap:2px;display:flex}.pocket-roll-description small{color:#c0d4c5;font-size:11px}.pocket-last-roll .pocket-roll-more{flex-shrink:0;font-size:11px}.pocket-gain-help{color:#c0d4c5;font-size:12px;line-height:1.45}.pocket-hand-panel .pocket-good-gain{grid-column:2;justify-self:end;font-size:13px}@media (width<=760px){.pocket-hud>.pocket-goods .pocket-good{grid-template-columns:8px auto auto;gap:3px}.pocket-hud>.pocket-goods .pocket-good b{grid-column:1/3}.pocket-hud>.pocket-goods .pocket-good-gain{grid-area:1/3;align-self:center}.pocket-hud>.pocket-goods .pocket-good>span:not(.pocket-good-dot){grid-column:2/4}.pocket-commodity-row .pocket-good{flex-wrap:wrap}}.pocket-heading .pocket-trade-shortcut{color:#e5eacb;border:1px solid #c8d5b477;border-radius:8px;min-height:40px;padding:5px 8px}@media (width<=350px){.pocket-heading{gap:5px}.pocket-heading .pocket-build-shortcut,.pocket-heading .pocket-trade-shortcut{padding:5px 7px}}@media (width<=760px){.pocket-heading button,.pocket-heading .pocket-build-shortcut,.pocket-heading .pocket-trade-shortcut{min-height:44px}}.fleet-panel label{gap:6px;margin:12px 0;display:grid}.fleet-panel select{width:100%;min-height:44px;font-size:16px}.fleet-panel p{overflow-wrap:anywhere;line-height:1.5}.fleet-panel button{min-height:44px}.movement-bar>div{gap:6px;display:flex}.movement-bar select{color:#f0ecd9;background:#183b3c;border:1px solid #7b937e88;border-radius:8px;flex:1;width:100%;min-width:0;min-height:44px;padding:5px 8px;font-size:16px}.movement-bar button{min-width:44px;min-height:44px}.movement-bar p{margin:4px 0 0;font-size:12px;line-height:1.4}@media (width<=760px){.game-layout:has(.movement-bar[data-selected=true]) .panel-tabs{display:none}}.council-locator{z-index:15;pointer-events:auto;color:#f4d99a;background:#233e37ee;border:1px solid #d6bd7c77;border-radius:12px;min-height:44px;padding:8px 12px;font:600 13px system-ui;position:absolute;bottom:12px;left:12px}.council-map-label{color:#f7d689;white-space:nowrap;pointer-events:none;background:#173d43e8;border-radius:5px;padding:3px 6px;font:600 11px system-ui;display:block}.board-navigation{z-index:15;pointer-events:none;gap:4px;display:flex;position:absolute;bottom:12px;left:12px}.board-navigation button{pointer-events:auto;color:#f4d99a;background:#233e37ee;border:1px solid #d6bd7c77;border-radius:10px;min-width:44px;min-height:44px;padding:7px 10px;font:600 13px system-ui;position:static}.soldier-actions{align-items:center;gap:6px;max-height:104px;padding:5px 0;display:flex;overflow-x:auto}.soldier-actions button{color:#f6f0da;background:#30554a;border:1px solid #8ca798;border-radius:9px;flex:none;padding:7px 10px;font-size:13px}.soldier-actions span{color:#c5d7cc;flex:none;font-size:12px}.soldier-map-action{color:#23392e;white-space:nowrap;cursor:pointer;touch-action:manipulation;background:#e7c777;border:1px solid #e9dba6;border-radius:10px;min-width:72px;min-height:40px;padding:7px 12px;font-weight:700;box-shadow:0 2px 10px #0007}.soldier-map-action.is-attack,.soldier-actions .is-attack{color:#fff1e6;background:#833f36;border-color:#eba891}@media (width>=761px){.game-layout .game-drawer{z-index:35;bottom:calc(76px + var(--piece-controls-height,0px) + env(safe-area-inset-bottom));max-height:calc(100dvh - 200px - var(--piece-controls-height,0px))}}@media (width<=760px){:is(.game-layout .game-drawer.structure-actions-drawer,.game-layout:has(.pocket-hud) .game-drawer.structure-actions-drawer){top:auto;bottom:calc(72px + env(safe-area-inset-bottom));max-height:32dvh}}.soldier-map-action.is-attack-target{color:#fff1e6;background:#752f29e8;border:3px solid #ff6b5c;border-radius:50%;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:22px}.soldier-attack-proposal{pointer-events:auto;color:#fff1e6;background:#293c33;border:1px solid #f0a396;border-radius:14px;width:min(320px,100vw - 32px);padding:16px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 12px 48px #0009}.soldier-attack-proposal button{color:#fff;background:#345448;border:1px solid #b6c9b8;border-radius:8px;min-height:44px;margin:4px;padding:8px 12px}.soldier-attack-backdrop{z-index:190;pointer-events:auto;background:#071b1560;position:absolute;inset:0}.board-view-settings{pointer-events:auto;right:max(12px,env(safe-area-inset-right));top:calc(var(--visible-top,0px) + 76px);z-index:400;box-sizing:border-box;overscroll-behavior:contain;color:#f3eedf;background:#273e35f5;border:1px solid #c8d3bf66;border-radius:14px;width:min(310px,100vw - 24px);max-height:calc(100dvh - 180px);padding:16px;font:14px/1.4 system-ui;position:fixed;overflow-y:auto;box-shadow:0 12px 35px #0006}.board-view-settings header{justify-content:space-between;align-items:center;gap:12px;display:flex}.board-view-settings p{color:#c5d4c8;font-size:12px}.board-view-settings label{gap:6px;margin:14px 0;display:grid}.board-view-settings output{color:#d9dfcf;font-size:12px}.board-view-settings input[type=range],.board-view-settings select{box-sizing:border-box;accent-color:#e7c777;width:100%;min-height:36px}.board-view-settings .view-setting-check{align-items:center;gap:10px;display:flex}.board-view-settings .view-setting-check input{flex:none;width:20px;height:20px}.board-view-settings button{min-height:44px}@media (width<=760px){.view-controls{flex-wrap:wrap}}.affordability-badge{color:#d3f2bb;background:#8ecf622a;border-radius:7px;padding:3px 7px;font-size:13px;display:inline-block}.pocket-purchases>button.cannot-afford{background:#8a403b18;border-color:#b4776b88}.cannot-afford .affordability-badge{color:#edb1a3;background:#9b4c3c22}.budget-mode-button{border:1px solid #dfc78a;min-height:44px;padding:8px 16px}.budget-resources{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.budget-resources span{border:1px solid #8ca38766;border-radius:7px;padding:5px 8px}.budget-resources [data-over-budget=true]{color:#ffb3a5;border-color:#d86e60}.budget-plan{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#263e34f5;border-top:1px solid #d9c88d77;margin:14px -4px -4px;padding:12px 8px;position:sticky;bottom:0}.budget-plan-items{gap:8px;padding:8px 0;display:flex;overflow-x:auto}.budget-plan-item{color:#e8dcac;border:1px solid #a9be8c88;border-radius:9px;flex:none;align-items:center;gap:5px;padding:4px 6px;display:flex}.budget-plan-item button{min-width:36px;min-height:36px;font-size:20px}.board-view-settings input,.board-view-settings select{font-size:16px}.board-view-settings{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.board-view-settings select{color:#f4efdf;background:#314d40;border:1px solid #a8bba077;border-radius:8px;padding:8px}.game-layout .pocket-hud.compact-hand{background:#203a30;border-block:1px solid #d8d4ac25;grid-template-columns:minmax(0,1fr);gap:2.5px;min-height:27px;padding:2.5px 5px;display:grid}.compact-hand .compact-resource{color:#edf2e6;touch-action:manipulation;border:1px solid;border-radius:4.5px;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:22px;padding:2px 1px;display:flex}.compact-resource>span{font-size:11px;line-height:1}.compact-resource>b{font-variant-numeric:tabular-nums;font-size:9.5px;line-height:1}.compact-resource.collected{box-shadow:inset 0 0 0 2px #f6df8c}@media (width>=761px){.game-layout .pocket-hud.compact-hand{grid-template-columns:repeat(9,minmax(0,41px));justify-content:center}}@media (width<=350px){.compact-hand .compact-resource{gap:1.5px}.compact-resource>span{font-size:10px}.compact-resource>b{font-size:8.5px}}.compact-hand-row{justify-self:center;gap:2.5px;width:50%;min-width:0;display:grid}@media (width>=761px){.compact-hand-row{display:contents}}.game-layout .pocket-hud.compact-hand{width:190px;min-height:0;box-shadow:none;background:0 0;border:0;padding:0;position:static}.compact-hand .compact-hand-row{width:100%}@media (width>=761px){.game-layout .pocket-hud.compact-hand{width:389px}}@media (width<=760px){.game-layout .view-controls{top:74px}}.compact-resource[data-resource=coin]>span{filter:grayscale()}.compact-resource[data-resource=coin]>b{color:#d3dce6}.compact-resource[data-resource=gold]>b{color:#f0c85b}.world-view-menu{display:contents}.world-view-toggle{display:none}@media (width<=760px){.world-view-menu{z-index:50;pointer-events:none;display:block;position:absolute;top:12px;bottom:12px;right:12px}.world-view-toggle{pointer-events:auto;background:#293b32e8;border:1px solid #c8e8db55;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;font-size:24px;display:flex}.game-layout .world-view-menu .view-controls{box-sizing:border-box;pointer-events:auto;touch-action:pan-y;background:#293c33f5;border:1px solid #c8e8db55;border-radius:12px;width:200px;max-width:calc(100vw - 24px);max-height:calc(100% - 52px);padding:10px;display:none;position:absolute;top:52px;left:auto;right:0;overflow-y:auto;box-shadow:0 8px 24px #0006}.game-layout .world-view-menu .view-controls.is-open{flex-flow:column;align-items:stretch;gap:6px;display:flex}.world-view-menu .view-controls button{text-align:left;min-height:44px}.world-view-menu .view-controls button span{display:inline}.world-view-menu .view-controls .mobile-view-label{display:none}.world-view-menu .view-controls button[aria-label=Toggle\ waves]{display:block}}.compact-hand .compact-progress{background:#263d30ee;border:2px solid #d8bd7c;border-radius:12px;grid-column:1/-1;justify-self:start;gap:10px;min-width:80px;min-height:48px;margin-top:8px;padding:8px 12px;box-shadow:0 3px 10px #0004}.compact-hand .compact-progress>span{font-size:28px}.compact-hand .compact-progress>b{font-size:19px}.progress-card-hand{gap:10px;display:grid}.progress-card-hand article{background:#ffffff06;border:1px solid #d8bd7c55;border-radius:10px;padding:12px}.progress-card-hand article p{margin:8px 0;line-height:1.5}.progress-card-hand article small{color:#c9d0bc}.diplomat-picker{z-index:170;pointer-events:auto;background:#253e36f5;border:1px solid #66e9ff;border-radius:12px;width:min(300px,100% - 24px);padding:12px;position:absolute;bottom:12px;left:12px}.diplomat-picker p{margin:6px 0}.diplomat-picker button{min-height:44px}.build-confirmation-backdrop{z-index:500;pointer-events:auto;background:#071b1566;position:fixed;inset:0}.miniature-preview{pointer-events:none;background:radial-gradient(#d7e7c91a,#0000 70%);border-radius:10px;flex:0 0 88px;width:88px;height:76px;overflow:hidden}.miniature-preview canvas{pointer-events:none;width:100%;height:100%}.building-model-option{text-align:left;white-space:normal;background:#365043;border:1px solid #c4cf9b55;border-radius:12px;align-items:center;gap:12px;width:100%;margin-bottom:12px;padding:8px;display:flex}.building-model-details{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.building-model-option:disabled{opacity:.55}.purchase-unavailable{color:#d1c8ad;font-weight:400}.building-model-option small{overflow-wrap:anywhere}.pocket-purchases .miniature-preview{max-width:100%;margin:auto}.structure-menu-row,.structure-purchase-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0;display:grid}.structure-menu-row:empty,.structure-purchase-row:empty{display:none}.structure-menu-row>button{width:100%;min-width:0}.structure-purchase-row>.building-model-option{flex-direction:column;align-items:stretch;gap:6px;min-width:0;margin:0}.structure-purchase-row .miniature-preview{align-self:center}.structure-purchase-row .building-model-details{width:100%}.compact-hand-actions{grid-column:1/-1;align-items:center;gap:8px;margin-top:8px;display:flex}.compact-hand .compact-hand-actions .compact-progress{margin-top:0}.compact-hand .compact-trade{justify-content:center;min-width:56px;position:relative}.selected-piece-name{flex:1;align-self:center;min-width:0;font-size:14px}.movement-bar .ship-context-launch{min-height:36px}.ship-actions-drawer .ship-context-buttons{flex-wrap:wrap;gap:6px;display:flex}.ship-actions-drawer button{min-height:44px}.players-map-toggle{display:none}@media (width<=760px){.players-map-toggle{z-index:50;pointer-events:auto;color:#dce5dc;background:#293b32e8;border:1px solid #c8e8db55;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex;position:absolute;top:12px;right:64px}.game-layout .game-drawer{bottom:calc(12px + var(--piece-controls-height,0px) + env(safe-area-inset-bottom))}}.desktop-game-menu-toggle{z-index:50;pointer-events:auto;color:#dce5dc;background:#293b32e8;border:1px solid #c8e8db55;border-radius:12px;min-width:44px;min-height:44px;font-size:22px;position:absolute;top:76px;right:24px}@media (width<=760px){.desktop-game-menu-toggle{justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex;top:64px;right:12px}}.desert-food-backdrop{z-index:650;color:#f4ecd6;background:#071c24a6;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.desert-food-backdrop section{box-sizing:border-box;width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}.desert-food-actions{gap:8px;margin:12px 0;display:flex}.desert-food-backdrop button,.desert-food-backdrop input{min-height:44px}.desert-food-backdrop label{gap:6px;margin:12px 0;display:grid}.desert-food-backdrop input{box-sizing:border-box;width:100%;max-width:100%}.council-cargo-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.council-cargo-option{background:#173b30;border:1px solid #b9c49b66;border-radius:10px;min-width:0;padding:10px}.council-cargo-option p,.council-cargo-option small{overflow-wrap:anywhere;font-size:12px;line-height:1.4;display:block}.council-cargo-option button{width:100%;min-height:44px}.diplomacy-panel ul{gap:10px;margin:12px 0;padding:0;list-style:none;display:grid}.diplomacy-panel li{background:#ffffff08;border:1px solid #d8bd7c40;border-radius:10px;align-items:center;gap:10px;padding:12px;display:flex}.diplomacy-player-colour{border:1px solid #ffffff50;border-radius:50%;flex-shrink:0;width:12px;height:12px}.diplomacy-panel small{color:#c3ccbf;margin-top:4px;display:block}.diplomacy-panel .diplomacy-player-button{text-align:left;width:100%;color:inherit;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.pact-controls{border-top:1px solid #d8bd7c40;margin-top:18px;padding-top:14px}.pact-controls>button{margin:4px 6px 4px 0}.trade-embargo-personal-action{scroll-margin-block:12px}.pact-deposit-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.pact-deposit-fields label{flex-direction:column;gap:4px;min-width:0;font-size:13px;display:flex}.pact-deposit-fields input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit;color:inherit;background:#142a24;border:1px solid #d8bd7c70;border-radius:8px;padding:6px 8px;font-size:16px}.compact-hand-actions{flex-wrap:wrap}.compact-hand .compact-hand-actions .compact-progress{gap:6px;min-width:64px;padding:8px}.compact-hand .compact-build{color:#24352b;background:#d9ba78}.compact-hand .compact-build strong{font-size:14px}.build-menu-sections{z-index:1;background:#283e33;gap:8px;padding:8px 0;display:flex;position:sticky;top:0}.build-menu-sections button{flex:1;min-height:44px}.build-menu-sections button[aria-pressed=true]{color:#24352b;background:#d9ba78}.victory-standings ol,.victory-standings dl{margin:0;padding:0}.victory-standings li>button,.victory-standings dl>div{border-bottom:1px solid #ffffff1a;align-items:baseline;gap:12px;padding:8px;display:flex}.victory-standings li>b,.victory-standings dd{white-space:nowrap;margin:0 0 0 auto}.victory-standings .is-you{color:#ffe0a3;background:#d9ba781a;border-radius:6px}.victory-standings li>button{text-align:left;width:100%;min-height:44px}.victory-standings li>button[aria-pressed=true]{border-color:#d9ba78}.compact-hand-inventory{grid-column:1/-1}.compact-hand-goods{gap:2.5px;width:clamp(0px,100vw - 128px,210px);display:grid}.compact-hand-goods .compact-resource{min-height:26px}.compact-hand-goods .compact-resource>span{font-size:13px}.compact-hand-goods .compact-resource>b{font-size:11px}.compact-hand .compact-hand-utilities .compact-card-count{min-width:70px}.compact-hand .compact-hand-actions{flex-wrap:nowrap;width:max-content;margin-top:5px}.compact-hand .compact-hand-actions strong{font-size:13px}.compact-hand .compact-castle-actions[hidden]{display:none}.compact-hand .compact-card-count[aria-expanded=true]{color:#24352b;background:#d9ba78}@media (width>=761px){.compact-hand-goods .compact-hand-row{display:grid}}.game-modal-card.progress-decision-card{box-sizing:border-box;color:#f6f3e7;background:#263e34;border:1px solid #d8bd7c70;border-radius:12px;width:min(460px,100% - 24px);max-height:min(78dvh,620px);padding:16px;overflow:auto}.progress-decision-card h3{margin:0 0 8px;font-size:18px}.progress-decision-card p{margin:8px 0;line-height:1.4}.progress-card-hand button[aria-pressed=true]{color:#182d24;background:#e4c67f;border-color:#e4c67f}.ship-boarding-actions{gap:4px;width:max-content;display:grid}.compact-hand .compact-army>span{font-size:19px}.compact-hand .compact-army>b{font-size:15px}.compact-hand .compact-army>small{white-space:nowrap;font-size:12px}.victory-score-difference{color:#d7dfd7;font-variant-numeric:tabular-nums;background:#183029;border-radius:.3em;margin-inline-start:.45em;padding:.1em .35em;font-size:.8em;font-weight:600;display:inline-block}.victory-score-difference[data-direction="1"]{color:#a4edb6}.victory-score-difference[data-direction="-1"]{color:#ffb1a9}.road-demolition-undo{inset-inline-end:max(12px, env(safe-area-inset-right));bottom:calc(max(14px, env(safe-area-inset-bottom)) + var(--piece-controls-height,0px));z-index:100;color:#f4eee1;pointer-events:auto;background:#20382e;border:1px solid #779184;border-radius:8px;align-items:center;gap:10px;padding:6px 8px 6px 12px;display:flex;position:fixed;box-shadow:0 5px 16px #0006}.road-demolition-undo button{min-height:44px}.structure-terrain{flex-wrap:wrap;gap:6px 12px;display:flex}.structure-listing{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.map-target-explanation{box-sizing:border-box;max-height:calc(100dvh - 32px);overflow-y:auto}.player-card-score{align-items:center;gap:7px;font-size:14px;display:flex}.player-territory-button{display:none}@media (width<=760px){.player-territory-button{place-items:center;min-width:44px;height:44px;padding:0 8px;display:inline-grid}.player-territory-button[aria-pressed=true]{color:#e3c078;border-color:#e3c078}}.soldier-map-action.is-attack-target{background:linear-gradient(#70473f,#402c2c);border:2px solid #e1a98d;place-items:center;display:inline-grid;box-shadow:inset 0 0 0 2px #302728,0 2px 8px #17151d80}.soldier-attack-proposal.action-confirmation{box-sizing:border-box;width:min(460px,100vw - 24px)}.action-confirmation-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.action-confirmation-buttons button{min-height:52px;margin:0}.soldier-map-panel{color:#f6f0da;pointer-events:none;background:#18342e;border:1px solid #8ca798;border-radius:9px;width:max-content;max-width:min(230px,65vw);padding:6px 8px;font-size:12px;transform:translateY(-50%);box-shadow:0 3px 12px #0007}.soldier-map-panel header,.soldier-map-options{align-items:center;gap:6px;display:flex}.soldier-map-options{pointer-events:none;flex-wrap:wrap;width:max-content;max-width:min(250px,75vw)}.soldier-map-panel header{justify-content:space-between}.soldier-map-panel header button{min-height:30px;padding:2px 8px}.soldier-map-garrison,.soldier-map-stats{margin:4px 0 2px;line-height:1.35}.pirate-lair-garrison{box-sizing:border-box;color:#fff3d6;white-space:nowrap;background:#251f19ed;border:1px solid #e9c982;border-radius:5px;gap:2px;width:112px;padding:3px 5px;font:650 10px/1.2 system-ui;display:grid}.pirate-lair-garrison span{align-items:center;gap:3px;display:flex}.pirate-lair-garrison b{text-overflow:ellipsis;font-weight:inherit;overflow:hidden}.pirate-lair-garrison i{border:1px solid #fff7;border-radius:50%;flex:0 0 6px;height:6px}.pirate-lair-garrison strong{color:#f8d68b}.soldier-map-panel .soldier-actions{flex-wrap:wrap;max-height:124px;overflow:auto}.soldier-map-panel .soldier-actions button{white-space:normal;text-align:left;flex:0 auto}.soldier-map-panel .soldier-map-options{width:auto}.soldier-map-panel button,.soldier-map-panel .soldier-actions,.soldier-map-options button{pointer-events:auto}.council-soldier-panel{transform:none}.council-soldier-panel select{pointer-events:auto}.slowest-turn-notice{z-index:36;box-sizing:border-box;color:#fff1d3;text-align:center;pointer-events:auto;background:#23352e;border:1px solid #d9ae65;border-radius:16px;width:min(460px,100% - 32px);padding:clamp(20px,5vw,32px);position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);box-shadow:0 12px 40px #0008}.slowest-turn-notice h2{margin:0;font:600 clamp(22px,5.5vw,34px)/1.15 Georgia,serif}.slowest-turn-notice p{color:#f1bf75;margin:12px 0 16px;font-weight:700}.slowest-turn-notice button{min-height:44px}.trade-result-notice button{margin-top:16px}.soldier-stack-options{position:relative;transform:translate(65px,24px)}.soldier-stack-menu{pointer-events:auto;background:#172b3c;border-radius:8px;gap:6px;min-width:max-content;max-height:min(38dvh,260px);padding:8px;display:grid;position:absolute;top:100%;left:50%;overflow-y:auto;transform:translate(-65%)}.hex-inspector{z-index:140;color:#eee8d6;pointer-events:auto;background:#16373ef5;border:1px solid #a28b5f;border-radius:16px;flex-direction:column;width:min(360px,100vw - 32px);max-height:min(650px,75dvh);font:15px/1.5 system-ui;display:flex;position:fixed;bottom:90px;right:16px;overflow:hidden;box-shadow:0 10px 40px #0007}.hex-inspector header{border-bottom:1px solid #71847c;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.hex-inspector h2{color:#f0d69e;margin:0;font:600 19px/1.3 system-ui}.hex-inspector header span{color:#adc2bc;font-size:12px}.hex-inspector header button{border-radius:50%;min-width:44px;min-height:44px;padding:0;font-size:25px}.hex-inspector-body{overscroll-behavior:contain;min-height:0;padding:0 16px 16px;overflow-y:auto}.hex-inspector section{border-bottom:1px solid #52706b;padding:12px 0}.hex-inspector h3{color:#f0d69e;margin:0 0 8px;font:600 15px system-ui}.hex-inspector p{overflow-wrap:anywhere;margin:6px 0}.hex-inspector i{border-radius:50%;width:10px;height:10px;margin-right:6px;display:inline-block}.hex-warning{color:#f2b095}@media (width<=700px){.hex-inspector{left:8px;right:8px;bottom:calc(76px + env(safe-area-inset-bottom));width:auto;max-height:55dvh}.hex-inspector-body{padding-bottom:max(16px, env(safe-area-inset-bottom))}}.dice-roll-announcement{z-index:27;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.dice-roll-card{color:#ffe3a5;background:#182f29ed;border:1px solid #e6d4aa75;border-radius:20px;justify-items:center;gap:10px;min-width:180px;padding:22px 20px 12px;animation:2.3s both dice-card;display:grid;box-shadow:0 12px 40px #10211d80}.dice-roll-player{overflow-wrap:anywhere;text-align:center;max-width:min(280px,65vw);margin-bottom:6px}.dice-roll-cubes{gap:22px;display:flex}.rolling-die{--die-size:clamp(38px, 12vw, 52px);--half-die:calc(var(--die-size) / 2);--die-light:#fff4d9;--die-dark:#d9be8f;--pip:#29372f;width:var(--die-size);height:var(--die-size);perspective:260px;animation:.69s ease-out both die-hop}.rolling-die-red{--die-light:#c75a47;--die-dark:#903626;--pip:#fff1dc}.rolling-die:nth-child(2){--spin-direction:-1;animation-delay:40ms}.rolling-die-cube{width:100%;height:100%;transform-style:preserve-3d;animation:.69s cubic-bezier(.14,.65,.28,1) both die-tumble;animation-delay:inherit;position:relative}.rolling-die-face{box-sizing:border-box;background:linear-gradient(145deg, var(--die-light), var(--die-dark));backface-visibility:hidden;border:1px solid #33291a44;border-radius:5px;grid-template:repeat(3,1fr)/repeat(3,1fr);place-items:center;padding:5px;display:grid;position:absolute;inset:0}.rolling-die-face i{aspect-ratio:1;background:var(--pip);border-radius:50%;width:72%}.rolling-die-face:first-child{transform:translateZ(var(--half-die))}.rolling-die-face:nth-child(2){transform:rotateY(90deg) translateZ(var(--half-die))}.rolling-die-face:nth-child(3){transform:rotateX(90deg) translateZ(var(--half-die))}.rolling-die-face:nth-child(4){transform:rotateX(-90deg) translateZ(var(--half-die))}.rolling-die-face:nth-child(5){transform:rotateY(-90deg) translateZ(var(--half-die))}.rolling-die-face:nth-child(6){transform:rotateY(180deg) translateZ(var(--half-die))}.dice-roll-result{font-variant-numeric:tabular-nums;align-items:baseline;gap:8px;animation:.19s ease-out .74s both dice-result;display:flex}.dice-roll-result strong{font-size:34px;line-height:1}.dice-roll-result small{text-transform:capitalize}.dice-roll-spoken{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes die-tumble{0%{transform:rotateX(calc(var(--land-x) + 738deg)) rotateY(calc(var(--land-y) + 510deg * var(--spin-direction,1)))}to{transform:rotateX(var(--land-x)) rotateY(var(--land-y))}}@keyframes die-hop{0%{transform:translate(calc(-24px * var(--spin-direction,1)), -14px)}43%{transform:translateY(-10px)}71%{transform:translateY(2px)}85%{transform:translateY(-3px)}to{transform:translateY(0)}}@keyframes dice-result{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}@keyframes dice-card{0%,to{opacity:0}7%,87%{opacity:1}}@media (prefers-reduced-motion:reduce){.dice-roll-card,.rolling-die,.rolling-die-cube,.dice-roll-result{animation:none}.rolling-die-cube{transform:rotateX(var(--land-x)) rotateY(var(--land-y))}}.dice-payout-card{box-sizing:border-box;width:max-content;max-width:calc(100% - 32px);padding:16px 20px;animation:2.5s both dice-card}.dice-payout-card>strong{font-size:20px}.dice-payout-gains{flex-wrap:wrap;justify-content:center;gap:6px;max-width:340px;margin:0;padding:0;list-style:none;display:flex}.dice-payout-gains li{background:#ffffff14;border-radius:8px;align-items:center;gap:5px;padding:4px 8px;animation:.22s ease-out both dice-result;display:flex}@media (prefers-reduced-motion:reduce){.dice-payout-card,.dice-payout-gains li{animation:none}}.world-feed-spectator{left:max(14px, env(safe-area-inset-left));bottom:max(16px, env(safe-area-inset-bottom));z-index:25;color:#f1eddd;text-shadow:0 1px 2px #071613;pointer-events:none;width:min(460px,100vw - 28px);font:14px/1.35 system-ui;position:absolute}.world-feed-spectator-label{color:#e8dbb2;margin:0 0 5px 7px;font-weight:700}.world-feed-spectator-lines{flex-direction:column;gap:3px;margin:0;padding:0;list-style:none;display:flex}.world-feed-spectator-lines li{box-sizing:border-box;overflow-wrap:anywhere;background:#071613b8;border-radius:3px;align-self:flex-start;max-width:100%;padding:3px 7px}.world-feed-spectator-lines time{color:#b8c9bc;margin-right:7px;font-size:12px}.world-feed-spectator .world-feed-chat strong{color:#f6d587}.world-feed-spectator-prompt{color:#d6e5d9;font:inherit;cursor:pointer;pointer-events:auto;background:0 0;border:0;margin:5px 0 0 7px;padding:0}.world-feed-spectator-compose{pointer-events:auto;gap:6px;margin-top:6px;display:flex}.world-feed-spectator-compose input{color:#f1eddd;background:#071613e8;border:1px solid #8ea89d;border-radius:3px;flex:1;min-width:0;padding:7px 9px;font:16px system-ui}.world-feed-spectator-compose button{color:#f1eddd;font:inherit;cursor:pointer;background:#203e35;border:1px solid #8ea89d;border-radius:3px;padding:7px 10px}.world-feed-spectator-compose button:disabled{opacity:.55}@media (width<=540px){.world-feed-spectator{width:min(360px,100vw - 28px);font-size:12px}.world-feed-spectator-lines{gap:2px}}.world-feed-launcher.on-board{right:max(12px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));z-index:990;pointer-events:none;text-align:right;position:fixed}.world-feed-toggle{color:#f1eddd;cursor:pointer;pointer-events:auto;background:#ffffff15;border:1px solid #88ae9b;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-width:44px;min-height:44px;padding:7px 12px;font:600 14px system-ui;display:inline-flex;position:relative}.world-feed-response-badge{color:#263027;text-align:center;background:#f6d587;border-radius:8px;min-width:17px;padding:0 3px;font:750 11px/17px system-ui;display:inline-block}.world-feed-dm-badge{color:#263027;text-align:center;background:#f6d587;border:1px solid #182a22;border-radius:10px;min-width:17px;padding:0 2px;font:750 11px/17px system-ui;position:absolute;top:-6px;right:-5px}.world-feed-mention-badge{color:#193d31;background:#c1e6ca;border-radius:50%;place-items:center;min-width:18px;min-height:18px;font:750 12px/1 system-ui;display:inline-grid}.world-feed-mention{color:#d4f5d8;background:#264c3e;border-radius:3px;padding-inline:2px}.world-feed-dialog .world-feed-jump-mention{text-align:left;color:#d4f5d8;align-self:flex-start}.world-feed-compose-field{flex:1;min-width:0;position:relative}.world-feed-compose-field input{box-sizing:border-box;width:100%}.world-feed-mentions{z-index:3;text-align:left;background:#172b29;border:1px solid #79988b;border-radius:8px;gap:3px;max-height:min(220px,35dvh);padding:4px;display:grid;position:absolute;inset:auto 0 calc(100% + 4px);overflow-y:auto}.world-feed-mentions [role=option]{text-align:left;overflow-wrap:anywhere;width:100%;min-height:36px}.world-feed-mentions [aria-selected=true]{color:#18392d;background:#cae4cd}.direct-unread-dot{background:currentColor;border-radius:50%;width:7px;height:7px;margin-inline-start:4px;display:inline-block}.world-feed-preview{color:#f1eddd;gap:4px;width:min(380px,100vw - 24px);margin:0 0 6px;padding:0;font:14px/1.4 system-ui;list-style:none;display:grid}.world-feed-preview li{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;background:#111e1ce8;border-radius:4px;justify-self:end;min-width:0;max-width:100%;padding:4px 8px;overflow:hidden}.world-feed-dialog{inset:auto max(12px, env(safe-area-inset-right)) calc(max(12px, env(safe-area-inset-bottom)) + 68px) auto;box-sizing:border-box;color:#f1eddd;pointer-events:auto;z-index:30;text-align:left;background:#172b29fa;border:1px solid #79988b;border-radius:13px;flex-direction:column;gap:8px;width:min(680px,100% - 24px);max-width:none;height:min(620px,78dvh,100dvh - 96px);max-height:none;margin:0;padding:12px;font:15px/1.4 system-ui;display:flex;position:fixed}.world-feed-dialog header,.world-feed-dialog form{flex:none;justify-content:space-between;align-items:center;gap:8px;display:flex}.world-feed-dialog h2{margin:0;font:600 18px system-ui}.world-feed-visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.world-feed-dialog button,.world-feed-dialog input{box-sizing:border-box;min-height:44px;color:inherit;font:inherit;background:#203e35;border:1px solid #739487;border-radius:7px;padding:8px 11px}.world-feed-dialog button{width:auto;min-height:32px;padding:4px 8px;font-size:.8125rem}.world-feed-dialog input{flex:1;min-width:0;font-size:16px}.world-feed-dialog input::placeholder{color:#b9cbc0}.world-feed-dialog button:disabled{opacity:.55}.world-feed-history{overscroll-behavior:contain;overflow-anchor:none;background:#0d1e1d;border-radius:7px;flex:1;min-height:0;padding:8px;overflow:auto}.world-feed-history ol{margin:0;padding:0;list-style:none}.world-feed-history li{margin:0 0 5px}.world-feed-row{grid-template-columns:7ch minmax(0,1fr);gap:8px;display:grid}.world-feed-row time,.world-feed-divider{color:#b8c9bc;font-size:12px}.world-feed-row time{white-space:nowrap;padding-top:2px}.world-feed-divider{margin-block:7px 5px}.world-feed-divider.is-new{color:#f6d587;font-weight:700}.world-feed-row span{overflow-wrap:anywhere;white-space:pre-wrap}.world-feed-event{color:#d1d8bd}.world-feed-chat strong{color:#f6d587}.world-feed-error{color:#ffb3a9;margin:0}.world-feed-dialog .world-feed-map-link,.world-feed-spectator .world-feed-map-link{color:#d1e5c5;min-height:0;font:inherit;text-align:left;text-underline-offset:3px;pointer-events:auto;background:0 0;border:0;padding:0;text-decoration:underline}.world-feed-replay{color:#f1eddd;pointer-events:auto;text-align:left;background:#172b29f5;border-radius:8px;max-width:min(400px,100vw - 24px);margin-bottom:6px;padding:9px}.world-feed-replay p{margin:0 0 6px}.world-feed-replay button{min-height:36px}.world-feed-trade,.world-feed-nickname{color:#f6d587;font-weight:650}.world-feed-options{flex:none;margin-inline-start:auto;position:relative}.world-feed-options>button{place-items:center;min-width:36px;display:grid}.world-feed-options-list:not([hidden]){z-index:1;background:#172b29;border:1px solid #79988b;border-radius:8px;gap:4px;width:max-content;max-width:min(240px,100vw - 48px);padding:6px;display:grid;position:absolute;inset:calc(100% + 5px) 0 auto auto;box-shadow:0 5px 20px #0008}.world-feed-options-list button{text-align:left;width:100%}.world-trade-actions{flex-wrap:wrap;align-items:center;gap:6px 10px;margin:5px 0;display:flex}.world-trade-actions p{flex-basis:100%;margin:0}.world-trade-status{color:#bacac0;display:block}.direct-messages{flex-direction:column;flex:1;gap:8px;min-width:0;min-height:0;display:flex}.world-feed-tabs,.direct-message-partners{flex:none;gap:6px;display:flex;overflow:auto}.world-feed-tabs button,.direct-message-partners button{white-space:nowrap}.world-feed-tabs [aria-pressed=true],.direct-message-partners [aria-pressed=true]{color:#243229;background:#e3ca8a;border-color:#f4d894}.world-feed-direct{flex:1;min-height:0;display:flex;overflow:hidden}.world-feed-diplomacy{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}body:has(.world-feed-launcher[data-open=true]) .build-confirmation-backdrop{z-index:999}.direct-messages label{gap:4px;display:grid}.direct-messages select,.direct-messages input{min-height:40px}.direct-message-history,.direct-trade-editor{overflow-anchor:none;background:#0d1e1d;border-radius:8px;flex:1;min-height:0;padding:8px;overflow:auto}.direct-message-history ol{margin:0;padding:0;list-style:none}.direct-message-history li{overflow-wrap:anywhere;padding:4px 0}.direct-message-history time{color:#bacac0;font-size:12px}.direct-message-history p{margin:2px 0 6px}.direct-message-form{flex:none;gap:8px;margin-top:auto;display:flex}.direct-message-form input{flex:1;min-width:0;font-size:16px}.direct-trade-badge{color:#263027;background:#f4d894;border-radius:9px;min-width:18px;font:700 12px/18px system-ui;position:absolute;inset:-5px -5px auto auto}.world-poke-button{flex-wrap:wrap;align-items:center;gap:5px;display:inline-flex}.world-poke-overlay{z-index:1500;color:#f8db89;text-align:center;background:#0b1d1cb8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.world-poke-graphic{max-width:30rem;animation:.38s ease-out both world-poke-in}.world-poke-graphic strong{font:800 clamp(42px,12vw,92px)/1 system-ui;display:block}.world-poke-graphic p{color:#f0ecdd;margin:12px 0 18px}.world-poke-graphic button{min-height:44px;padding:8px 15px}body:has(.world-poke-overlay) .online-game .board-view{animation:.65s ease-out world-poke-shake}@keyframes world-poke-in{0%{opacity:.4;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@keyframes world-poke-shake{0%,to{transform:translate(0)}15%,48%{transform:translate(-9px)}32%,64%{transform:translate(8px)}80%{transform:translate(-4px)}}@media (prefers-reduced-motion:reduce){.world-poke-graphic{animation:none}body:has(.world-poke-overlay) .online-game .board-view{animation:none}}body:has(.world-feed-launcher[data-open=true]) .action-confirmation-backdrop{pointer-events:none}body:has(.world-feed-launcher[data-open=true]) .action-confirmation-backdrop:before{content:"";clip-path:polygon(0 0, 100% 0, 100% calc(100% - 64px - env(safe-area-inset-bottom)), calc(100% - 184px - env(safe-area-inset-right)) calc(100% - 64px - env(safe-area-inset-bottom)), calc(100% - 184px - env(safe-area-inset-right)) 100%, 0 100%);pointer-events:auto;position:absolute;inset:0}.online-shell{color:#f4eddc;box-sizing:border-box;background:radial-gradient(at 15% 15%,#2b565b 0,#0000 45%),radial-gradient(at 90% 85%,#413e29 0,#0000 45%),#112b33;min-height:100dvh;padding:24px clamp(20px,5vw,72px) 60px;font-family:system-ui,sans-serif;position:relative;overflow-x:clip}.spectator-turn-prompt{left:50%;bottom:max(30px, calc(env(safe-area-inset-bottom) + 18px));z-index:26;color:#f8edcc;text-align:center;pointer-events:none;background:#182b29e8;border:1px solid #efd39488;border-radius:12px;justify-items:center;gap:5px;max-width:calc(100% - 32px);padding:11px 22px 13px;animation:.3s ease-out spectator-turn-arrive;display:grid;position:absolute;transform:translate(-50%);box-shadow:0 8px 28px #08191abb}.spectator-turn-prompt-label{color:#e6ca8a;letter-spacing:.18em;font:700 10px/1.2 system-ui}.spectator-turn-prompt strong{overflow-wrap:anywhere;align-items:center;gap:9px;font:24px/1.15 Fraunces,Georgia,serif;display:flex}.spectator-turn-prompt i{border:1px solid #fff8;border-radius:50%;flex:none;width:11px;height:11px}@keyframes spectator-turn-arrive{0%{opacity:0;transform:translate(-50%,9px)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.spectator-turn-prompt{animation:none}}.online-header{z-index:1;justify-content:space-between;align-items:center;max-width:1100px;margin:0 auto;display:flex;position:relative}.online-shell a,.online-shell a:hover{text-decoration:underline}.online-brand{letter-spacing:.16em;font-size:20px;font-weight:800}.online-local-games{min-height:44px;font-size:13px}.online-orbit{color:#8fa79c;opacity:.07;pointer-events:none;font-size:min(70vw,700px);line-height:1;position:absolute;top:12vh;right:-5vw;transform:rotate(15deg)}.online-card{box-sizing:border-box;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0c2029dd;border:1px solid #c9c39f33;border-radius:22px;max-width:570px;margin:56px auto 0;padding:clamp(24px,4vw,42px);position:relative;box-shadow:0 24px 80px #0004}.online-eyebrow{letter-spacing:.2em;color:#d6b878;margin:0 0 14px;font-size:11px;font-weight:700}.online-card h1{margin:0 0 16px;font-family:Georgia,serif;font-size:clamp(30px,5vw,42px);font-weight:400;line-height:1.13}.online-intro{color:#b9c7c6;margin:0 0 28px;font-size:14px;line-height:1.7}.online-label{margin:20px 0 8px;font-size:13px;font-weight:600;display:block}.online-label span{color:#9eafaf;font-size:12px;font-weight:400}.online-card input{box-sizing:border-box;color:#f4eddc;width:100%;min-height:46px;font:inherit;background:#081b22;border:1px solid #63787988;border-radius:8px;padding:11px 13px;font-size:16px}.online-card input:focus-visible{outline-offset:3px;outline:2px solid #dfc28c}.online-card input::placeholder{color:#758f93}.online-actions{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.online-card button{font:inherit;color:#e8ebe2;cursor:pointer;background:#29424a;border:1px solid #a5b5ad66;border-radius:8px;min-height:44px;padding:12px 18px;font-size:13px;font-weight:650}.online-card button:hover:not(:disabled){filter:brightness(1.13)}.online-card button:focus-visible{outline-offset:3px;outline:2px solid #dfc28c}.online-card button:disabled{opacity:.45;cursor:default}.online-card .online-primary{color:#172a2d;background:#d8b779;border-color:#d8b779}.online-actions>button{flex:1}.online-footnote{color:#9bb0b1;margin:16px 0 0;font-size:12px;line-height:1.65}.online-share{gap:8px;display:flex}.online-share input{min-width:0;font-size:12px}.online-share button{flex-shrink:0}.online-roster-heading{justify-content:space-between;align-items:center;margin-top:28px;display:flex}.online-roster-heading h2{margin:0;font-size:15px}.online-roster-heading>span{color:#a7b9b7;font-size:12px}.online-roster{gap:7px;margin:12px 0 0;padding:0;list-style:none;display:grid}.online-roster li{color:#829b9e;background:#18323a;border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;min-height:43px;padding:5px 12px;font-size:13px;display:flex}.online-roster li.occupied{color:#edeadf;border-color:#b2c8b62b}.online-seat-number{color:#b5c8c5;background:#29444a;border-radius:50%;place-items:center;width:25px;height:25px;font-size:11px;font-weight:700;display:grid}.online-roster small{color:#e0c48c;letter-spacing:.04em;text-transform:uppercase;margin-left:auto;font-size:11px;font-weight:700}.online-card .online-start{width:100%;margin-top:25px}.online-waiting,.online-loading{color:#dfc28c;margin-top:25px;font-size:14px;line-height:1.5}.online-error{color:#fff0e7;overflow-wrap:anywhere;background:#782e30;border:1px solid #d9766955;border-radius:8px;margin:20px 0 0;padding:12px;font-size:13px;line-height:1.5}.online-connection{color:#e2c68b;margin:16px 0 0;font-size:12px}.online-dot{background:#d6a559;border-radius:50%;flex-shrink:0;width:7px;height:7px}.online-dot.connected{background:#92bd8a}@media (width<=540px){.online-shell{padding:20px 16px 32px}.online-card{border-radius:16px;margin-top:32px}.online-share{flex-direction:column}.online-brand{font-size:17px}.online-local-games{font-size:12px}}.online-account-bar{color:#b9c7c6;border-bottom:1px solid #a5b5ad33;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:18px;font-size:13px;display:flex}.online-account-bar strong{color:#f4eddc}.online-account-bar button,.online-world-directory{margin:20px 0 24px}.online-world-list{gap:12px;margin:14px 0;padding:0;list-style:none;display:grid}.online-world-list li{background:#143438;border:1px solid #a5b5ad44;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.online-world-list li>div{overflow-wrap:anywhere;min-width:0}.online-world-list h3{color:#f4eddc;margin:0 0 6px;font:600 17px system-ui}.online-world-list p{color:#c1cfca;margin:4px 0;font-size:13px}.online-world-list time{color:#93aaa3;font-size:11px}.online-world-list button{color:#f4eddc;cursor:pointer;background:#315a4e;border:1px solid #b9c99b66;border-radius:8px;flex:none;min-height:44px;padding:9px 13px;font:600 13px system-ui}.online-world-list button:disabled{opacity:.5;cursor:default}.online-entry-notice{color:#e2c68b}@media (width<=440px){.online-world-list li{flex-wrap:wrap}.online-world-list button{width:100%}}.online-create-world{border-bottom:1px solid #a5b5ad33;padding:4px 0 18px}.online-world-list li>div{flex:1}.online-world-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.online-world-title h3{margin:0}.online-world-list .online-rename-trigger{color:#c4d3b1;background:0 0;border:0;width:auto;padding:6px 2px;font-size:12px;text-decoration:underline}.online-rename-world{min-width:0}.online-rename-world input{box-sizing:border-box;width:100%;min-width:0}.online-rename-world .online-actions{flex-wrap:wrap}.online-rename-world .online-actions button{width:auto}.online-card h1{overflow-wrap:anywhere}.online-card input[type=checkbox]{vertical-align:middle;accent-color:#dfc28c;width:20px;height:20px;min-height:20px;margin-right:8px;padding:0}.online-world-list li.is-your-turn{border-color:#e0bd78;box-shadow:inset 3px 0 #e0bd78}.online-world-list .online-world-turn{color:#e7e5d8;margin:10px 0 6px;font-weight:600}.online-world-list .online-world-turn.is-yours{color:#ffdfa0;background:#e0bd7818;border-radius:6px;padding:6px 9px;display:inline-block}.online-world-setup{background:#081b2255;border:1px solid #63787988;border-radius:8px;margin-top:18px;padding:14px}.online-world-setup .online-roster-heading{margin:0 0 12px}.online-world-setup select{width:100%}.rename-vote-dialog{box-sizing:border-box;color:#edf0e5;background:#172c2a;border:1px solid #7c9687;border-radius:14px;width:min(440px,100% - 24px);max-height:calc(100dvh - 24px);padding:18px}.rename-vote-dialog::backdrop{background:#071412b3}.rename-vote-dialog h2{margin:0;font-size:1.25rem}.rename-vote-dialog button,.rename-vote-dialog input,.rename-vote-dialog select{box-sizing:border-box;min-height:44px;font:inherit;color:inherit;background:#234038;border:1px solid #70867a;border-radius:7px;padding:8px 12px}.rename-vote-dialog button:disabled{opacity:.55}.rename-vote-form{gap:10px;margin-top:16px;display:grid}.rename-vote-form label{gap:4px;display:grid}.rename-ballot{overflow-wrap:anywhere;border:1px solid #58766a;border-radius:8px;margin-bottom:10px;padding:12px}.rename-vote-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.online-setup-options{border:1px solid #63787988;border-radius:8px;min-width:0;margin:15px 0 0;padding:10px}.online-setup-options legend{color:#e4c688;padding:0 5px}.online-seat-color{grid-template-columns:16px minmax(0,1fr) minmax(105px,1fr);align-items:center;gap:8px;margin-bottom:5px;display:grid}.online-color-chip{border:1px solid #fff6;border-radius:3px;width:14px;height:14px}.online-rules-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;display:grid}.online-rules-grid label{align-items:center;gap:6px;display:flex}.online-world-list li>.online-world-actions{flex:none;gap:6px;display:grid}.online-watch-world{box-sizing:border-box;color:#f4eddc;border:1px solid #b9c99b66;border-radius:8px;place-items:center;min-height:44px;padding:9px 13px;font:600 13px system-ui;text-decoration:none;display:grid}.online-watch-world:hover{background:#315a4e}@media (width<=440px){.online-world-list li>.online-world-actions{flex-basis:100%}}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/lobby-0.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/lobby-1.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/lobby-2.ttf)format("truetype")}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/lobby-3.ttf)format("truetype")}@font-face{font-family:Fraunces;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/lobby-4.ttf)format("truetype")}@font-face{font-family:Fraunces;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/lobby-5.ttf)format("truetype")}@font-face{font-family:Fraunces;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/lobby-6.ttf)format("truetype")}:root{color:#ede8d8;font-synthesis:none;--ink:#26332e;--panel:#39483d;--line:#ffffff18;--gold:#d9b777;--muted:#b1bea6;background:#283b39;font-family:DM Sans,system-ui,sans-serif}*{box-sizing:border-box}html{min-height:100%}body{min-width:0;margin:0}#root{min-height:100svh}img,video{max-width:100%}button,input,select{font:inherit}button{color:#e8e7d9;cursor:pointer;background:#ffffff08;border:1px solid #ffffff20;border-radius:7px;min-height:40px;padding:8px 14px;font-size:12px;font-weight:500;transition:background .15s,border-color .15s}button:hover{background:#ffffff15;border-color:#d9b77780}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline-offset:3px;outline:2px solid #e0be80}input,select{accent-color:#d9b777;min-width:0}select option{color:#ede8d8;background:#39483d}button[aria-pressed=true],.primary-button{color:#203e42;background:#d9b777;border-color:#d9b777}.primary-button:hover{background:#ecd19d}.quiet-button{color:#b9c6bf;border-color:#0000}code{background:#ffffff0a;border-radius:4px;padding:2px 5px}.eyebrow{color:#d9b777;letter-spacing:.21em;font-size:10px;font-weight:600}.game-layout{width:100%;height:100dvh;position:relative;overflow:hidden}.game-hud{display:contents}.board-view{isolation:isolate;position:absolute;inset:0}.board-view>div:first-child{inset:0;position:absolute!important}.board-view canvas{touch-action:none}.board-caption{pointer-events:none;flex-direction:column;gap:8px;display:flex;position:absolute;top:28px;left:30px}.board-caption-title{color:#e7e7d7;font:25px Fraunces,Georgia,serif}.view-controls{gap:6px;display:flex;position:absolute;top:24px;right:24px}.view-controls button{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#dce5dc;background:#293b32e8;border-color:#c8e8db22}.view-controls button[aria-pressed=true]{color:#e0c28b;background:#4d6245}.voyage-scoreboard{pointer-events:auto;flex-direction:column;gap:5px;width:192px;display:flex;position:absolute;top:112px;left:26px}.voyage-player{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#2c3e33c9;border:1px solid #0000;border-radius:8px;align-items:center;gap:8px;padding:10px;display:flex}.voyage-player.is-current{background:#405139ed;border-color:#dbba7870}.player-seal{color:#fff;text-shadow:0 1px 3px #0008;border:1px solid #ffffff40;border-radius:3px 3px 10px 10px;flex-shrink:0;justify-content:center;align-items:center;width:27px;height:31px;font:15px Fraunces,Georgia,serif;display:flex}.voyage-player-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:11px;overflow:hidden}.voyage-player small{letter-spacing:.14em;color:#a1b9b6;margin-top:4px;font-size:7px;display:block}.voyage-player strong{text-align:center;font:19px Fraunces,Georgia,serif}.voyage-player strong small{margin-top:0;font-family:DM Sans,sans-serif}.board-help{color:#b1ccca;pointer-events:none;justify-content:space-between;align-items:end;font-size:10px;display:flex;position:absolute;bottom:18px;left:30px;right:30px}.compass-mark{color:#c5b685;text-align:center;font-size:10px;line-height:1.5}.compass-mark:first-line{font-size:8px}.panel-tabs{border-top:1px solid var(--line);pointer-events:auto;background:#293831;order:1;justify-content:center;align-items:center;gap:6px;padding:10px 20px;display:flex;overflow-x:auto}.panel-tabs:before{content:"THE TABLE";color:#809e9f;letter-spacing:.18em;margin-right:auto;font-size:9px}.panel-tabs:after{content:"BUILD YOUR LEGACY";color:#809e9f;letter-spacing:.18em;margin-left:auto;font-size:9px}.panel-tabs button{border-color:#0000;flex-shrink:0;min-width:80px}.game-drawer{z-index:20;right:18px;bottom:calc(76px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);pointer-events:auto;background:#2d3c33f7;border:1px solid #e1d0a433;border-radius:12px;width:min(390px,100% - 36px);max-height:calc(80% - 140px);padding:14px;position:absolute;overflow-y:auto;box-shadow:0 20px 50px #001c2b55}.drawer-heading{z-index:2;background:#2d3c33;justify-content:space-between;align-items:center;padding:6px 0 12px;display:flex;position:sticky;top:0}.drawer-heading strong{font:22px Fraunces,Georgia,serif}.drawer-heading button{color:#c9bea1;border:0}.game-drawer .army-panel,.game-drawer .economy-panel,.game-drawer .trade-panel,.game-drawer .resource-radar,.game-drawer .event-log{border:0;margin:0;background:0 0!important;width:auto!important;max-width:100%!important;position:static!important;transform:none!important}.game-drawer .player-list{flex-direction:column;gap:12px;width:auto!important;padding:0!important;display:flex!important;position:static!important}.game-drawer .player-card{background:#ffffff06!important;padding:14px!important}.event-log{overflow-wrap:anywhere;font-size:12px}.event-log-count{color:#c9d8cb;margin:0 0 8px}.event-log-rows{flex-direction:column;gap:5px;font-family:ui-monospace,monospace;display:flex}.event-log>button{margin-top:12px}.army-panel,.economy-panel{pointer-events:auto;padding:12px;font-size:12px}.army-row{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.army-panel label{flex-direction:column;gap:4px;min-width:0;display:flex}.army-panel select{color:#e6e8ea;background:#40503f;width:100%}.army-panel button,.economy-panel button{min-height:44px}.trade-panel>div{flex-wrap:wrap}.upkeep-panel{z-index:40;border:1px solid var(--gold);pointer-events:auto;background:#40503f;border-radius:12px;width:min(420px,100% - 24px);max-height:60%;padding:20px;position:absolute;top:25%;left:50%;overflow-y:auto;transform:translate(-50%)}.upkeep-panel button{min-height:44px;margin:6px}.lobby-shell{flex-wrap:wrap;width:100%;min-height:100svh;display:flex;position:relative;background:#2c3d33!important;align-items:flex-start!important;padding:0!important}.lobby-story{background:#49794f;flex-shrink:0;width:53%;height:100dvh;position:sticky;top:0;overflow:hidden}.lobby-wordmark{z-index:2;color:#eddfb9;letter-spacing:.1em;font:29px Fraunces,Georgia,serif;position:absolute;top:36px;left:42px}.lobby-wordmark span{letter-spacing:.2em;margin-top:5px;padding-left:33px;font:8px DM Sans,sans-serif;display:block}.lobby-story-copy{z-index:2;pointer-events:none;position:absolute;top:18%;left:42px}.lobby-story-copy h1{letter-spacing:-.045em;color:#f0e8d1;margin:18px 0;font:500 clamp(36px,4.5vw,68px)/1.08 Fraunces,Georgia,serif}.lobby-story-copy h1 em{color:#d9bc84;font-weight:400}.lobby-story-copy p{color:#b9ccc6;font-size:13px;line-height:1.8}.lobby-island{position:absolute;inset:34% 0 0;-webkit-mask-image:linear-gradient(#0000,#000 24%);mask-image:linear-gradient(#0000,#000 24%)}.map-preview-button{min-height:44px;margin-top:10px}.map-preview-dialog{box-sizing:border-box;color:#e6e8ea;background:#172b3c;border:1px solid #456179;border-radius:12px;width:min(820px,100vw - 24px);max-height:calc(100dvh - 24px);padding:14px}.map-preview-dialog::backdrop{background:#060f18c7}.map-preview-dialog header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px;display:flex}.map-preview-dialog h2{margin:0;font-size:18px}.map-preview-dialog header button{min-height:44px}.map-preview-dialog .lobby-island{background:#264653;border-radius:8px;height:min(55dvh,520px);position:relative;inset:auto;overflow:hidden;-webkit-mask-image:none;mask-image:none}.lobby-story-footer{color:#c4cfba;letter-spacing:.14em;pointer-events:none;justify-content:space-between;font-size:9px;display:flex;position:absolute;bottom:26px;left:42px;right:30px}.lobby-card{background:0 0!important;border-radius:0!important;width:47%!important;max-width:none!important;margin:0!important;padding:48px clamp(24px,4vw,72px)!important}.lobby-title{letter-spacing:-.035em;margin:12px 0 0;font:38px Fraunces,Georgia,serif}.lobby-card>p{color:#a5bcba;font-size:12px;line-height:1.7}.rules-link{color:#d7bc86;margin:14px 0 5px;font-size:11px;text-decoration:none;display:inline-block}.lobby-card section{border-top:1px solid #ffffff12;padding-top:20px;margin-top:20px!important}.lobby-card section>label:first-child{color:#ded9c5;font-size:12px;font-weight:500!important}.lobby-card input:not([type=checkbox]),.lobby-card select{min-height:42px;font-size:12px;color:#e3e7d8!important;background:#ffffff06!important;border:1px solid #ffffff20!important;border-radius:6px!important;padding:8px 10px!important}.lobby-card input[type=checkbox]{flex-shrink:0;width:15px;height:15px}.lobby-card [data-testid=start-game]{color:#15363d;border:1px solid #d9b777;min-height:46px;background:#d9b777!important}.lobby-card button{min-height:42px}.saved-game-row{flex-wrap:wrap;min-width:0}.saved-game-details{overflow-wrap:anywhere;flex:100%;min-width:0}.saved-game-row button{touch-action:manipulation;flex-shrink:0;min-height:44px}@media (width<=1100px){.voyage-scoreboard{width:156px;left:16px}.board-caption{left:18px}.board-caption-title{font-size:20px}.view-controls{right:16px}.panel-tabs:after{display:none}.lobby-story-copy,.lobby-wordmark{left:28px}}@media (width<=760px){.board-caption{gap:5px;top:17px;left:15px}.board-caption-title{font-size:17px}.board-caption .eyebrow{font-size:8px}.view-controls{gap:4px;top:16px;right:12px}.view-controls button{min-height:36px;padding:6px 10px}.view-controls span{display:none}.voyage-scoreboard{pointer-events:auto;touch-action:pan-x;overscroll-behavior-x:contain;flex-direction:row;gap:5px;width:auto;inset:auto 12px 43px;overflow-x:auto}.voyage-player{flex:1 0 90px;gap:6px;min-width:90px;padding:6px}.player-seal{width:18px;height:23px;font-size:11px}.voyage-player-name{font-size:9px}.voyage-player-name small{display:none}.voyage-player strong{font-size:15px}.board-help{font-size:8px;bottom:14px;left:15px;right:15px}.panel-tabs{justify-content:flex-start;gap:3px;padding:6px 8px}.panel-tabs:before{display:none}.panel-tabs button{min-width:66px;min-height:42px}.game-drawer{width:min(390px,100% - 20px);max-height:calc(85% - 150px);bottom:65px;right:10px}.lobby-story{display:none}.lobby-card{width:100%!important;max-width:600px!important;margin:0 auto!important;padding:32px 24px!important}}@media (width<=420px){.view-controls button{font-size:14px}}@media (prefers-reduced-motion:reduce){button{transition:none}}.knight-guide{border-bottom:1px solid var(--line);margin:0 0 12px;padding-bottom:14px}.knight-guide-models{background:radial-gradient(at 50% 70%,#59694c,#3e5040 70%);border-radius:8px;height:130px}.knight-guide figcaption{text-align:center;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:5px;display:grid}.knight-guide strong{color:#eadab8;font:15px Fraunces,Georgia,serif;display:block}.knight-guide small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.board-caption{background:#2b4031c9;border-left:3px solid #d9b777;border-radius:2px 8px 8px 2px;padding:11px 14px;top:16px;left:18px;box-shadow:0 3px 12px #173d2520}.board-caption-title{font-size:21px}.view-controls button{box-shadow:0 3px 8px #24382e20}.board-help{color:#f2eedb;text-shadow:0 1px 3px #234a42}@media (width<=760px){.board-caption{padding:8px 10px;top:12px;left:12px}.board-caption-title{font-size:15px}}.voyage-player{text-align:left;width:100%}.voyage-player[aria-pressed=true]{border-color:var(--gold);color:#ede8d8;background:#4d6245;box-shadow:0 0 0 1px #d9b77760}.vp-allocations{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);pointer-events:auto;background:#2d3c33f5;border:1px solid #e1d0a444;border-radius:12px;width:min(290px,100% - 48px);max-height:calc(100% - 115px);padding:16px;position:absolute;bottom:48px;right:24px;overflow-y:auto;box-shadow:0 16px 40px #001c2b55}.vp-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.vp-heading h2{overflow-wrap:anywhere;align-items:center;gap:8px;margin:7px 0 0;font:22px Fraunces,Georgia,serif;display:flex}.vp-heading button{flex-shrink:0;padding:6px 12px;font-size:20px}.vp-player-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.vp-allocations dl{margin:14px 0 0;font-size:12px}.vp-allocations dl>div{justify-content:space-between;gap:12px;padding:5px 0;display:flex}.vp-allocations dd{font-variant-numeric:tabular-nums;margin:0}.vp-allocations .is-zero{color:var(--muted)}.vp-allocations .vp-total{border-top:1px solid var(--line);color:var(--gold);margin-top:8px;padding-top:12px;font-weight:700}@media (width<=700px){.vp-allocations{width:min(290px,100% - 24px);max-height:calc(100% - 175px);padding:12px;bottom:110px;right:12px}}.army-theatre{z-index:30;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);pointer-events:auto;background:#26382ff5;border:1px solid #d9b77770;border-radius:14px;width:min(350px,100% - 48px);max-height:calc(100% - 112px);padding:17px;animation:.2s ease-out army-arrive;position:absolute;top:90px;right:24px;overflow-y:auto;box-shadow:0 18px 60px #00151c66}.army-theatre header{justify-content:space-between;align-items:center;gap:12px;display:flex}.army-theatre h2{margin:5px 0 12px;font:25px Fraunces,Georgia,serif}.army-theatre header button{padding:5px 12px;font-size:20px}.army-contest{align-items:center;gap:12px;display:flex}.army-contest>span{overflow-wrap:anywhere;border-left:3px solid;flex:1;padding-left:9px;font-size:14px}.army-contest small{letter-spacing:.13em;color:var(--muted);margin-top:5px;font-size:8px;display:block}.army-contest b{color:var(--gold);font-size:22px}.army-location{color:var(--gold);font-size:11px;line-height:1.6}.army-rule{color:#b9c9b8;font-size:11px;line-height:1.6}.combat-dice{border-top:1px solid var(--line);gap:10px;padding:12px 0;display:grid}.combat-dice-row small{color:var(--muted);margin-bottom:7px;font-size:10px;display:block}.combat-dice-row>div{flex-wrap:wrap;gap:6px;display:flex}.combat-dice-pending{color:#d0bd97;border:1px dashed #d0bd9766;border-radius:7px;margin:2px 0 4px;padding:9px 12px;font-size:11px}.combat-die{background:#f1e9d3;border-bottom:3px solid #aa9b7b;border-radius:6px;justify-content:center;align-items:center;width:38px;height:42px;display:inline-flex;position:relative;box-shadow:0 3px 8px #0004}.combat-die>span{font-size:38px;line-height:1}.combat-die b{color:#f9efd7;text-align:center;background:#293831;border-radius:8px;min-width:14px;font-size:10px;position:absolute;bottom:-3px;right:-2px}.combat-die.is-rolling{animation:.19s ease-in-out infinite alternate combat-tumble}.army-resolution{background:#ffffff08;border-radius:8px;min-height:65px;padding:12px;font-size:12px;line-height:1.65}.army-resolution strong{color:#f1cb82;font-size:20px}.army-comparisons{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:4px 10px;display:flex}.army-comparisons span{white-space:nowrap}.army-theatre footer{align-items:center;gap:6px;margin-top:12px;display:flex}.army-theatre footer>span{color:var(--muted);margin-right:auto;font-size:9px}.army-theatre footer button{min-height:32px;padding:5px 8px;font-size:10px}@keyframes combat-tumble{0%{transform:translateY(-5px)rotate(-14deg)scale(.95)}to{transform:translateY(3px)rotate(16deg)scale(1.05)}}@keyframes army-arrive{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.army-theatre.reduced-motion,.reduced-motion .combat-die{animation:none}@media (prefers-reduced-motion:reduce){.army-theatre,.combat-die.is-rolling{animation:none}}@media (width<=700px){.army-theatre{width:min(330px,100% - 24px);max-height:calc(100% - 175px);padding:12px;top:62px;right:12px}}.exploration-controls button{text-align:left;width:100%;min-height:44px;margin:8px 0;display:block}button[data-action-tone=positive],button[data-action-tone=negative]{background:var(--action-background)!important;color:#fff!important;border-color:var(--action-border)!important}button[data-action-tone=positive]{--action-background:#286747;--action-border:#76b998}button[data-action-tone=negative]{--action-background:#853e42;--action-border:#d79293}button[data-action-tone]:hover:not(:disabled){filter:brightness(1.12)}.game-layout .view-controls button,.game-layout .board-navigation button,.game-layout .world-view-toggle,.game-layout .voyage-player,.game-layout .pocket-hud{color:#f3e2bd;background:linear-gradient(160deg,#333e35f2,#202a2bf2);border-color:#af94666b;box-shadow:inset 0 1px #e9d3a221,0 3px 10px #09171950}.game-layout .view-controls button[aria-pressed=true],.game-layout .voyage-player.is-current{color:#ffedc6;background:linear-gradient(145deg,#695139f5,#3c3e2ff5);border-color:#d4aa65}.game-layout .pocket-good{background:#221e1838;border-color:#b997585e}.game-layout .board-help{color:#ecd6a5}button[data-blocked-action][aria-disabled=true]{filter:grayscale();opacity:.72;cursor:help}.online-shell{padding:24px 0 max(40px, env(safe-area-inset-bottom));min-width:0}.online-header{width:calc(100% - 40px);max-width:min(1100px, calc(100% - max(16px, env(safe-area-inset-left)) - max(16px, env(safe-area-inset-right))));flex-wrap:wrap;gap:12px}.online-card{width:calc(100% - 32px);min-width:0;max-width:min(570px, calc(100% - max(16px, env(safe-area-inset-left)) - max(16px, env(safe-area-inset-right))))}.online-account-bar{flex-wrap:wrap}.online-account-bar>*,.online-roster li>span:nth-child(2){overflow-wrap:anywhere;min-width:0}.online-seat-number{flex-shrink:0}.online-card input,.online-card select,.lobby-card input:not([type=checkbox]),.lobby-card select,.game-layout input:not([type=checkbox]):not([type=range]),.game-layout select{font-size:16px}.online-orbit{text-align:right;max-width:100%;left:0;right:0;overflow:clip}.panel-tabs{flex-shrink:0}.game-drawer{overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom}.panel-tabs{justify-content:flex-start}.panel-tabs button:first-of-type{margin-left:auto}.panel-tabs button:last-of-type{margin-right:auto}@media (width<=760px){.lobby-card{min-width:0;padding:28px max(16px, env(safe-area-inset-right)) 28px max(16px, env(safe-area-inset-left))!important}.lobby-card input:not([type=checkbox]),.lobby-card select,.game-layout input:not([type=checkbox]):not([type=range]),.game-layout select{font-size:16px}.game-drawer{max-height:min(65dvh,100% - 100px);bottom:72px}.online-header{width:calc(100% - 32px)}.online-card{padding:24px 20px}.online-share input{font-size:16px}}@media (height<=500px) and (orientation:landscape){.game-drawer{max-height:65%}}.lobby-card select,.online-card select,.game-drawer select,.game-modal-card select{appearance:none;text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden;background-image:linear-gradient(45deg,#0000 50%,#d9b777 50%),linear-gradient(135deg,#d9b777 50%,#0000 50%)!important;background-position:calc(100% - 16px),calc(100% - 11px)!important;background-repeat:no-repeat!important;background-size:5px 5px!important;padding-right:32px!important}.lobby-shell{padding-bottom:env(safe-area-inset-bottom)!important}.game-modal-backdrop{height:var(--visible-height,100dvh);pointer-events:auto;padding:12px;overflow-y:auto;top:var(--visible-top,0px)!important;z-index:200!important;justify-content:center!important;align-items:center!important;display:flex!important;position:fixed!important;bottom:auto!important;left:0!important;right:0!important}.game-modal-card{overscroll-behavior:contain;overflow-wrap:anywhere;width:min(460px,100%);max-width:100%;overflow:auto;min-width:0!important;max-height:calc(var(--visible-height,100dvh) - 24px)!important}.game-modal-card button{min-width:44px;min-height:44px}.game-modal-card input,.game-modal-card select{max-width:100%;font-size:16px}.game-drawer fieldset{min-width:0}.game-drawer select{min-width:0;max-width:100%}.game-drawer .army-row>label{flex:140px}.game-drawer .trade-panel>div{gap:8px}.game-drawer .trade-panel>div>span{flex-basis:100%}.game-drawer button{min-height:44px}.game-drawer .player-list{overflow:visible!important}.respawn-panel{width:min(360px,100% - 24px);max-height:calc(var(--visible-height,100dvh) - 140px);z-index:40;overflow-y:auto}.respawn-panel label{flex-direction:column;gap:6px;margin:10px 0;display:flex}.respawn-panel select{width:100%}@media (width<=760px){.view-controls button{min-width:44px;min-height:44px}.board-caption{max-width:48%;padding:6px}.board-caption-title{font-size:13px}.game-drawer{z-index:120;top:calc(var(--visible-top,0px) + 60px);max-height:calc(var(--visible-height,100dvh) - 136px);position:fixed;bottom:auto}.game-modal-card{padding:16px!important}.panel-tabs button{min-height:44px}}.game-error{z-index:300;overflow-wrap:anywhere;align-items:center;gap:10px;width:max-content;max-width:calc(100% - 24px);display:flex}.game-error span{min-width:0}.game-error button{flex-shrink:0;min-width:44px;min-height:44px}@media (width<=760px),(height<=500px){.upkeep-panel,.respawn-panel{max-height:calc(var(--visible-height,100dvh) - 24px);z-index:200;overflow-y:auto;transform:translate(-50%);top:calc(var(--visible-top,0px) + 12px)!important;position:fixed!important;left:50%!important}}@media (width<=760px){.board-help{gap:12px;font-size:11px;line-height:1.4}.board-help>span:first-child{min-width:0}.voyage-scoreboard{bottom:62px}}.robber-victim-picker{color:#f3f0df;background:#102f38f5;border:1px solid #66818a;border-radius:14px;gap:8px;width:min(240px,72vw);padding:14px;font:16px/1.4 system-ui;display:grid;box-shadow:0 4px 24px #0007}.robber-victim-picker button{white-space:normal;min-height:44px}.mobile-view-label{display:none}@media (width<=760px){.view-controls{pointer-events:none;justify-content:flex-end;gap:4px;top:10px;left:10px;right:10px}.view-controls button{pointer-events:auto;border-radius:10px;flex-shrink:0;min-width:44px;min-height:44px;padding:6px 9px;font-size:13px}.view-controls .mobile-view-label{font:inherit;margin-left:3px;display:inline}.view-controls button[aria-label=Frame\ board] span{display:inline}.view-controls button[aria-label=Toggle\ waves]{display:none}:is(.game-layout .game-drawer,.game-layout:has(.pocket-hud) .game-drawer){z-index:160;max-height:calc(var(--visible-height,100dvh) - 136px - env(safe-area-inset-bottom));background:#293c33}.game-layout:has(.compact-hand) .game-drawer{--resource-drawer-top:max(calc(var(--visible-top,0px) + 60px), calc(var(--mobile-resource-bottom,0px) + 8px));top:var(--resource-drawer-top);box-sizing:border-box;max-height:calc(var(--visible-top,0px) + var(--visible-height,100dvh) - var(--resource-drawer-top) - 12px - env(safe-area-inset-bottom));bottom:auto}.game-layout:has(.compact-hand) .game-drawer.structure-actions-drawer{--resource-drawer-top:max(calc(var(--visible-top,0px) + 60px), calc(var(--mobile-resource-bottom,0px) + 8px));top:var(--resource-drawer-top);box-sizing:border-box;max-height:calc(var(--visible-top,0px) + var(--visible-height,100dvh) - var(--resource-drawer-top) - 12px - env(safe-area-inset-bottom));bottom:auto}body:has(.compact-hand)>.game-drawer.game-menu-drawer{--resource-drawer-top:max(calc(var(--visible-top,0px) + 60px), calc(var(--mobile-resource-bottom,0px) + 8px));top:var(--resource-drawer-top);box-sizing:border-box;max-height:calc(var(--visible-top,0px) + var(--visible-height,100dvh) - var(--resource-drawer-top) - 12px - env(safe-area-inset-bottom));bottom:auto}.game-drawer .drawer-heading{background:#293c33}.game-drawer button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.game-drawer .army-row label{flex-direction:column;gap:6px;min-width:0;display:flex}.game-drawer select,.game-modal-card select{min-height:44px}.game-drawer .exploration-controls>button{text-align:left;width:100%;margin:8px 0;display:block}}.game-drawer select,.game-modal-card select{color:#f0ecd9;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:#183b3c;border:1px solid #7b937e88;border-radius:8px;padding:8px 32px 8px 10px}.secondary-panel-menu{gap:8px;display:grid}.secondary-panel-menu button{text-align:left;min-height:44px}.panel-tabs .secondary-panel-tab{display:none}.panel-tabs .mobile-panel-menu{justify-content:center;align-items:center;min-width:44px;font-size:22px;display:inline-flex}body>.game-drawer.game-menu-drawer{z-index:400;top:calc(var(--visible-top,0px) + 60px);right:max(10px, env(safe-area-inset-right));width:min(370px,100vw - 20px);max-height:calc(var(--visible-height,100dvh) - 88px - env(safe-area-inset-bottom));touch-action:pan-y;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;pointer-events:auto;box-sizing:border-box;color:#e6e8ea;scrollbar-width:thin;font-family:system-ui;position:fixed;bottom:auto;overflow:hidden auto}.game-menu-drawer .drawer-heading{position:sticky;top:0}.game-menu-drawer .secondary-panel-menu{flex-direction:column;gap:8px;padding-bottom:12px;display:flex}.game-menu-drawer .secondary-panel-menu button{flex:none;min-height:44px}.game-menu-backdrop{z-index:399;pointer-events:auto;touch-action:none;overscroll-behavior:contain;background:#071b1533;position:fixed;inset:0}.upkeep-panel.upkeep-panel--removal{bottom:calc(90px + env(safe-area-inset-bottom));width:min(340px,100% - 24px);padding:12px 16px;right:12px;transform:none;top:auto!important;left:auto!important}.upkeep-panel--removal h3{margin:0 0 6px;font-size:15px}.upkeep-panel--removal p{margin:0;font-size:13px;line-height:1.45}@media (width<=760px){.game-layout .game-drawer.construction-placement{box-sizing:border-box;width:fit-content;max-width:calc(100% - 20px);padding:4px 6px}.construction-placement .drawer-heading{gap:6px;padding:0}.construction-placement .drawer-heading strong{padding-inline:4px;font:600 14px/1.2 system-ui,sans-serif}.construction-placement .drawer-heading button{min-width:44px;min-height:44px;padding:6px 8px}.construction-placement .construction-placement-hint{display:none}.construction-placement p{margin:2px 4px 4px}.progress-board-instructions,.turn-task-instructions:is(.map-task-instructions,.progress-map-decision),.upkeep-panel.upkeep-panel--removal{box-sizing:border-box;width:fit-content;max-width:min(270px,100% - 24px);padding:6px 8px;font-size:13px}.progress-board-instructions p,.turn-task-instructions:is(.map-task-instructions,.progress-map-decision) p{margin:3px 0;line-height:1.3}.progress-board-instructions button+button{margin-left:4px}.movement-bar[data-selected=true]{overscroll-behavior-y:contain;max-height:max(72px,24dvh);overflow-y:auto}}.board-hud-stack{top:max(12px, env(safe-area-inset-top));left:max(12px, env(safe-area-inset-left));color:#f0ebdb;z-index:25;pointer-events:none;flex-direction:column;align-items:flex-start;gap:8px;max-width:min(440px,100% - 470px);display:flex;position:absolute}.turn-overlay{box-sizing:border-box;background:#233831ed;border:1px solid #c8e8db55;border-radius:12px;gap:6px;max-width:100%;padding:8px 10px;font:12px/1.3 system-ui;display:grid;box-shadow:0 4px 18px #071c244d}.game-session-status,.turn-readout,.turn-status,.turn-counter,.dice-roll,.turn-actions{align-items:center;gap:6px;display:flex}.game-session-status>div{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0;display:flex}.game-session-status>div>span,.turn-status small,.turn-counter small,.dice-roll small{color:#c4d1c7}.game-session-status .online-entry-notice{color:#f3d18a}.spectator-follow-toggle{color:#c4d1c7;font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.turn-readout,.turn-actions{flex-wrap:wrap}.turn-status{overflow-wrap:anywhere;min-width:0}.turn-status small{display:block}.turn-dot{border:1px solid #fff5;border-radius:50%;flex:none;width:8px;height:8px}.turn-counter{white-space:nowrap}.turn-counter,.dice-roll{border-left:1px solid #c8e8db44;padding-left:6px}.dice-roll>span{color:#eddfb9;font-size:22px;line-height:1}.dice-roll b{color:var(--gold)}.turn-actions:empty{display:none}.turn-actions>*{pointer-events:auto}.turn-actions>button,.turn-actions select{min-height:44px}.turn-actions label{gap:2px;min-width:0;max-width:100%;display:grid}.turn-actions select{max-width:100%}.turn-actions .quiet-button{background:#ffffff10;border-color:#c8e8db33}.game-session-menu{border-top:1px solid #c8e8db33;gap:8px;padding-top:12px;display:grid}.game-session-menu button{box-sizing:border-box;text-align:left;align-items:center;min-height:44px;padding:8px 12px;display:flex}.playback-bar{flex-wrap:wrap;align-items:center;gap:8px;padding-block:8px;display:flex}.playback-bar button{min-height:44px}.playback-bar label{align-items:center;gap:8px;display:flex}.game-notice{bottom:calc(max(12px, env(safe-area-inset-bottom)) + var(--piece-controls-height,0px) + 4px);box-sizing:border-box;color:#fd9;pointer-events:auto;z-index:28;background:#233831f5;border-radius:10px;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 32px);padding:8px 12px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.game-layout .movement-bar{left:50%;bottom:max(12px, env(safe-area-inset-bottom));overscroll-behavior:contain;box-sizing:border-box;color:#eee9d5;pointer-events:auto;z-index:26;background:#203e38f5;border:1px solid #c8e8db55;border-radius:12px;width:min(720px,100% - 24px);max-height:42%;padding:8px 10px;position:absolute;overflow:auto;transform:translate(-50%)}.game-layout .board-navigation{left:max(12px, env(safe-area-inset-left));bottom:calc(max(12px, env(safe-area-inset-bottom)) + var(--piece-controls-height,0px) + 4px)}@media (width<=760px),(pointer:coarse){.game-layout .board-navigation{display:none}}body:has(.game-layout) .agent-launcher{bottom:max(12px, env(safe-area-inset-bottom))}body:has(.game-layout .movement-bar) .agent-launcher{bottom:calc(var(--piece-controls-height,0px) + 8px + max(12px, env(safe-area-inset-bottom)))}@media (width>=761px){.board-view .view-controls,.board-view .desktop-game-menu-toggle{right:max(24px, env(safe-area-inset-right))}.board-view .voyage-scoreboard{top:130px;right:max(24px, env(safe-area-inset-right));max-height:calc(100% - 200px);left:auto;overflow-y:auto}}@media (width<=760px){.board-hud-stack{max-width:calc(100% - max(12px, env(safe-area-inset-left)) - max(114px, env(safe-area-inset-right)))}.turn-overlay{padding:7px 8px;font-size:11px}.turn-overlay .turn-actions>button{padding:6px 8px;font-size:12px}.board-view .world-view-menu,.board-view .desktop-game-menu-toggle{right:max(12px, env(safe-area-inset-right))}.board-view .world-view-menu,.board-view .players-map-toggle{top:max(12px, env(safe-area-inset-top))}.board-view .desktop-game-menu-toggle{top:calc(52px + max(12px, env(safe-area-inset-top)))}.board-view .players-map-toggle{right:calc(52px + max(12px, env(safe-area-inset-right)))}}@media (height<=500px) and (orientation:landscape){.board-hud-stack{max-height:calc(100% - 64px)}.game-layout .board-hud-stack:has(.turn-actions label){overflow-y:auto}}button.end-turn-button{left:50%;bottom:calc(max(12px, env(safe-area-inset-bottom)) + var(--piece-controls-height,0px) + var(--end-turn-gap,0px));z-index:27;color:#f1eddd;background:#ffffff15;border:1px solid #88ae9b;border-radius:9px;min-height:44px;font:600 14px system-ui;position:fixed;transform:translate(-50%)}button.end-turn-button[data-movement-left=false]{color:#24352b;background:#d9ba78;border-color:#d9ba78}body:has(.movement-bar) .end-turn-button{--end-turn-gap:8px}body:has(.end-turn-button) .game-notice{bottom:calc(max(12px, env(safe-area-inset-bottom)) + var(--piece-controls-height,0px) + 58px)}
