@font-face{font-family:Yeseva One;font-style:normal;font-display:swap;font-weight:400;src:url(./yeseva-one-cyrillic-ext-400-normal-BcI5FCwK.woff2)format("woff2"),url(./yeseva-one-cyrillic-ext-400-normal-tmV010Vw.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Yeseva One;font-style:normal;font-display:swap;font-weight:400;src:url(./yeseva-one-cyrillic-400-normal-zn71iUjg.woff2)format("woff2"),url(./yeseva-one-cyrillic-400-normal-BqwkFOD0.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Yeseva One;font-style:normal;font-display:swap;font-weight:400;src:url(./yeseva-one-vietnamese-400-normal-b2m8LyeV.woff2)format("woff2"),url(./yeseva-one-vietnamese-400-normal-iZnAeTHK.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Yeseva One;font-style:normal;font-display:swap;font-weight:400;src:url(./yeseva-one-latin-ext-400-normal-DZPYAEWq.woff2)format("woff2"),url(./yeseva-one-latin-ext-400-normal-Bfu-8ZsV.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Yeseva One;font-style:normal;font-display:swap;font-weight:400;src:url(./yeseva-one-latin-400-normal-DOOi0Fwv.woff2)format("woff2"),url(./yeseva-one-latin-400-normal-BFTviq16.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Special Elite;font-style:normal;font-display:swap;font-weight:400;src:url(./special-elite-latin-ext-400-normal-ChcxYnmu.woff2)format("woff2"),url(./special-elite-latin-ext-400-normal-CaJZjSVf.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Special Elite;font-style:normal;font-display:swap;font-weight:400;src:url(./special-elite-latin-400-normal-YjDd9tmf.woff2)format("woff2"),url(./special-elite-latin-400-normal-BtSRmyJ6.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{color:#e6e6e6;background:#1a1d23;margin:0;font-family:Segoe UI,system-ui,-apple-system,sans-serif}.app{text-align:center;max-width:720px;margin:0 auto;padding:48px 24px}.app h1{letter-spacing:.04em;font-size:2rem}.subtitle{color:#9aa4b2}.status{color:#c9a86a;margin-top:32px}.game-screen.wide{max-width:none}.player-board.compact{background:linear-gradient(#26221bb3,#1a1d23d9);border:1px solid #3a3226;border-radius:10px;overflow:hidden}.player-board.compact .compact-head{white-space:nowrap;border-bottom:1px solid #3a3226;align-items:center;gap:6px;padding:7px 10px;font-size:.85rem;display:flex;overflow:hidden}.player-board.compact .compact-head .player-name{text-overflow:ellipsis;max-width:7em;font-weight:600;overflow:hidden}.player-board.compact .board-stack{padding:6px 8px 8px}.player-board.compact .board-stack-head{justify-content:flex-end}.hand-bar{padding-left:0;padding-right:0}.hand-bar>h3{margin-left:18px;margin-right:18px}.action-confirm{gap:8px;margin-top:10px;display:flex}.action-confirm button[data-testid=confirm-action]{color:#1a1d23;cursor:pointer;background:#c9a86a;border:none;border-radius:6px;padding:6px 16px;font-weight:600}.action-confirm button[data-testid=confirm-action]:disabled{color:#9aa4b2;cursor:default;background:#4a5160}.action-confirm button[data-testid=cancel-draft]{color:#9aa4b2;cursor:pointer;background:0 0;border:1px solid #4a5160;border-radius:6px;padding:6px 12px}.action-bar .btn-ghost{font-size:inherit;letter-spacing:normal;border-radius:6px;padding:6px 12px}.game-over{color:#c9a86a;font-weight:600}.error{color:#e74c3c}.lobby,.room-view{max-width:880px}.lobby:before,.room-view:before{content:"";z-index:-1;background:radial-gradient(1000px 480px at 50% -12%,#c9a86a21,#0000 62%),radial-gradient(760px 420px at 88% 112%,#5b8dd912,#0000 60%),radial-gradient(600px 360px at 6% 108%,#9b59b60d,#0000 60%),#14161c;position:fixed;inset:0}.lobby-hero,.room-hero{margin-bottom:28px}.eyebrow{letter-spacing:.32em;text-transform:uppercase;color:#8f7a4e;align-items:center;gap:10px;margin:0 0 12px;font-size:.72rem;display:inline-flex}.eyebrow:before,.eyebrow:after{content:"";width:34px;height:1px}.eyebrow:before{background:linear-gradient(90deg,#0000,#8f7a4e)}.eyebrow:after{background:linear-gradient(90deg,#8f7a4e,#0000)}.lobby h1,.room-view h1{letter-spacing:.06em;color:#f3ead4;text-shadow:0 2px 18px #c9a86a40;margin:0;font-family:Yeseva One,Georgia,Times New Roman,Songti SC,Noto Serif SC,serif;font-size:3rem;font-weight:600}.lobby .subtitle{color:#9aa4b2;letter-spacing:.18em;margin:10px 0 0}.connection-pill{letter-spacing:.06em;color:#c9a86a;background:#1a1d23b3;border:1px solid #3a3226;border-radius:999px;align-items:center;gap:8px;margin:22px 0 0;padding:6px 16px;font-size:.82rem;display:inline-flex}.connection-dot{background:#7f8c8d;border-radius:50%;width:8px;height:8px}.connection-pill.ok .connection-dot{background:#58c47b;box-shadow:0 0 8px #58c47bcc}.connection-pill.pending .connection-dot{background:#d4ac0d;animation:1.2s ease-in-out infinite breathe}.connection-pill.bad .connection-dot{background:#e74c3c;box-shadow:0 0 8px #e74c3c99}@keyframes breathe{0%,to{opacity:.45}50%{opacity:1}}.error-banner{color:#f2a09a;background:#e74c3c14;border:1px solid #e74c3c73;border-radius:8px;max-width:560px;margin:0 auto 20px;padding:10px 16px;font-size:.9rem}.lobby-panels{text-align:left;grid-template-columns:1fr 1fr;gap:18px;margin-top:10px;display:grid}@media (width<=720px){.lobby-panels{grid-template-columns:1fr}}.panel{background:linear-gradient(#26221bd9,#1a1d23eb);border:1px solid #3a3226;border-radius:12px;flex-direction:column;gap:14px;padding:22px 22px 24px;animation:.5s both fade-up;display:flex;position:relative;box-shadow:0 10px 30px #00000059,inset 0 1px #ffffff0a}.lobby-panels .panel+.panel{animation-delay:80ms}.panel-title{letter-spacing:.08em;color:#e3d3a8;margin:0;font-family:Yeseva One,Georgia,Times New Roman,Songti SC,Noto Serif SC,serif;font-size:1.25rem;font-weight:600}.panel-title:after{content:"";background:linear-gradient(90deg,#c9a86a,#0000);width:44px;height:2px;margin-top:8px;display:block}.panel-desc{color:#8a8068;margin:-8px 0 0;font-size:.85rem}.field{flex-direction:column;gap:6px;display:flex}.field-label{letter-spacing:.12em;color:#b3a888;font-size:.78rem}.field input,.field select{color:#ece4d0;font:inherit;background:#171a1f;border:1px solid #3f3a2e;border-radius:8px;outline:none;padding:9px 12px;font-size:.95rem;transition:border-color .15s,box-shadow .15s}.field input::placeholder{color:#5d5a50}.field input:focus,.field select:focus{border-color:#c9a86a;box-shadow:0 0 0 3px #c9a86a2e}.field-row{flex-wrap:wrap;gap:12px;display:flex}.field-row .field{flex:130px}.btn-primary{color:#241b0b;font:inherit;letter-spacing:.08em;cursor:pointer;background:linear-gradient(#e3c58f,#c9a86a 55%,#ab8a4e);border:none;border-radius:8px;margin-top:4px;padding:11px 18px;font-weight:600;transition:transform .12s,box-shadow .12s,filter .12s;box-shadow:0 4px 14px #c9a86a38,inset 0 1px #fff6}.btn-primary:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 6px 18px #c9a86a4d,inset 0 1px #fff6}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-primary:disabled{filter:grayscale(.8)brightness(.75);opacity:.6;cursor:not-allowed;box-shadow:none}.btn-ghost{color:#9aa4b2;font:inherit;letter-spacing:.06em;cursor:pointer;background:0 0;border:1px solid #3f3a2e;border-radius:8px;padding:9px 16px;font-size:.9rem;transition:border-color .15s,color .15s}.btn-ghost:hover{color:#e6e6e6;border-color:#8a6d3b}.room-view{max-width:760px}.code-ticket{background:repeating-linear-gradient(135deg,#c9a86a0d 0 6px,#0000 6px 12px),linear-gradient(#23262e,#1c1e24);border:1px solid #4a3f2c;border-radius:14px;max-width:380px;margin:26px auto 22px;padding:18px 24px 16px;animation:.5s .1s both fade-up;position:relative;box-shadow:0 12px 32px #0006,inset 0 1px #ffffff0d}.code-ticket:before,.code-ticket:after{content:"";background:#14161c;border:1px solid #4a3f2c;border-radius:50%;width:16px;height:16px;position:absolute;top:50%;transform:translateY(-50%)}.code-ticket:before{left:-9px}.code-ticket:after{right:-9px}.code-label{letter-spacing:.34em;text-transform:uppercase;color:#8a8068;margin:0;font-size:.7rem}.room-code{letter-spacing:.3em;text-indent:.3em;color:#f3ead4;text-shadow:0 0 22px #c9a86a59;margin:8px 0;font-family:Yeseva One,Georgia,Times New Roman,serif;font-size:2.6rem;font-weight:600}.copy-code{color:#c9a86a;letter-spacing:.1em;cursor:pointer;background:0 0;border:1px solid #8a6d3b;border-radius:999px;padding:5px 14px;font-size:.78rem;transition:background .15s,color .15s}.copy-code:hover{background:#c9a86a1f}.auto-copy-badge{color:#7bc47f;letter-spacing:.08em;background:#2e7d3240;border-radius:999px;margin:6px 0 0;padding:2px 10px;font-size:.72rem;display:inline-block}.auto-copy-badge.manual{color:#ef9a9a;background:#b71c1c38}.seed-badge{color:#b89a5f;letter-spacing:.06em;border:1px dashed #8a6d3b;border-radius:999px;margin:10px 0 0;padding:3px 10px;font-size:.75rem;display:inline-block}.seed-reroll{align-items:center;gap:10px;display:flex}.seed-code{color:#e3c58f;letter-spacing:.25em;background:#c9a86a14;border:1px dashed #8a6d3b;border-radius:8px;padding:6px 14px;font-size:1.05rem;font-weight:700}.seed-reroll-btn{white-space:nowrap}.seat-panel{background:linear-gradient(#26221bcc,#1a1d23e6);border:1px solid #3a3226;border-radius:14px;padding:20px 22px 22px;box-shadow:0 10px 30px #00000059}.seat-panel-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.seat-panel-head h2{letter-spacing:.1em;color:#e3d3a8;margin:0;font-family:Yeseva One,Georgia,Times New Roman,Songti SC,Noto Serif SC,serif;font-size:1.1rem;font-weight:600}.seat-count{letter-spacing:.06em;color:#9aa4b2;margin:0;font-size:.85rem}.ai-note{color:#a98bc4;letter-spacing:.05em;background:#9b59b61a;border:1px solid #9b59b659;border-radius:999px;margin:10px 0 0;padding:2px 10px;font-size:.75rem;display:inline-block}.progress-track{background:#1e2127;border-radius:999px;height:6px;margin:14px 0 18px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#8a6d3b,#e3c58f);border-radius:999px;height:100%;transition:width .5s;box-shadow:0 0 10px #c9a86a99}.seat-list{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.seat-card{background:#171a1fcc;border:1px solid #3a3226;border-radius:10px;align-items:center;gap:10px;padding:12px 14px;animation:.4s both fade-up;display:flex}.seat-card:nth-child(2){animation-delay:50ms}.seat-card:nth-child(3){animation-delay:.1s}.seat-card:nth-child(4){animation-delay:.15s}.seat-card.empty{background:#171a1f66;border-style:dashed}.seat-avatar{color:#d8cdb4;background:#1a1d23;border:2px solid #6b5b3e;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-family:Yeseva One,Georgia,Times New Roman,serif;font-size:1rem;display:grid}.seat-card.hue-0 .seat-avatar{color:#b79bd4;border-color:#8e6bb0}.seat-card.hue-1 .seat-avatar{color:#e8c96a;border-color:#d9a832}.seat-card.hue-2 .seat-avatar{color:#e08a5c;border-color:#c05a30}.seat-card.hue-3 .seat-avatar{color:#d8d4c8;border-color:#f0ece2}.seat-body{text-align:left;flex-direction:column;gap:4px;min-width:0;display:flex}.seat-name{color:#e6e6e6;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.me-chip{color:#e3c58f;background:#c9a86a2e;border-radius:999px;margin-left:6px;padding:1px 6px;font-size:.72rem}.seat-empty{color:#5d5a50;letter-spacing:.1em;font-size:.9rem}.ai-badge{color:#c58fe0;letter-spacing:.05em;background:#9b59b633;border:1px solid #9b59b680;border-radius:999px;align-self:flex-start;padding:1px 8px;font-size:.72rem}.status-chip{letter-spacing:.06em;color:#9aa4b2;align-items:center;gap:5px;font-size:.75rem;display:inline-flex}.status-chip .status-dot{background:#6b7280;border-radius:50%;width:7px;height:7px}.status-chip.online{color:#7fbf8f}.status-chip.online .status-dot{background:#58c47b;box-shadow:0 0 6px #58c47bb3}.room-actions{flex-direction:column;align-items:center;gap:12px;margin-top:22px;display:flex}.btn-start{min-width:240px}.hint{color:#8a8068;letter-spacing:.08em;margin:0;font-size:.8rem}@keyframes fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.panel,.seat-card,.code-ticket,.connection-pill.pending .connection-dot{animation:none}}.game-screen{flex-direction:column;gap:12px;max-width:1080px;margin:0 auto;padding:12px 16px 40px;display:flex}.game-screen:before{content:"";z-index:-1;background:radial-gradient(1000px 480px at 50% -12%,#c9a86a1f,#0000 62%),radial-gradient(760px 420px at 88% 112%,#5b8dd90f,#0000 60%),radial-gradient(600px 360px at 6% 108%,#9b59b60d,#0000 60%),#14161c;position:fixed;inset:0}.game-screen h3{letter-spacing:.14em;color:#e3d3a8;margin:0 0 10px;font-family:Yeseva One,Georgia,Times New Roman,Songti SC,Noto Serif SC,serif;font-size:.95rem;font-weight:600}.game-screen h3:after{content:"";background:linear-gradient(90deg,#c9a86a,#0000);width:40px;height:2px;margin-top:6px;display:block}.turn-order-bar,.hand-bar,.log-panel{background:linear-gradient(#26221bd1,#1a1d23e6);border:1px solid #3a3226;border-radius:12px;padding:14px 18px;box-shadow:0 10px 30px #0000004d,inset 0 1px #ffffff0a}.turn-order-bar ol{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.game-screen.wide .wide-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);align-items:start;gap:14px;display:grid}.game-screen.wide .wide-center-inner{flex-direction:column;gap:12px;width:100%;margin:0 auto;display:flex}.game-screen.wide .wide-center .board-svg{width:100%;display:block}.wide-col{flex-direction:column;gap:14px;display:flex}.wide-seat{flex-direction:column;gap:6px;display:flex}.era-actions{background:#171a1f8c;border:1px solid #3a3226;border-radius:8px;padding:2px 10px;font-size:.8rem}.era-actions-toggle{color:#b3a888;width:100%;font:inherit;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;padding:4px 0;display:flex}.era-actions-toggle:hover{color:#e3d3a8}.era-actions-list{color:#d8cdb4;flex-direction:column;gap:2px;max-height:180px;margin:0 0 6px;padding-left:18px;display:flex;overflow-y:auto}.era-actions-empty{color:#8a8068;margin:0 0 6px}.wide-col .player-board{font-size:.92rem}.wide-col .player-mat{border-radius:8px}.round-info{color:#9aa4b2;white-space:nowrap;background:#171a1fb3;border:1px solid #3a3226;border-radius:8px;flex-wrap:nowrap;align-items:center;gap:8px;padding:4px 10px;font-size:.78rem;display:flex;position:relative}.round-info-rank{color:#f3ead4;border:2px solid #7f8c8d;border-radius:50%;place-items:center;min-width:26px;height:26px;font-weight:700;display:inline-grid}.round-info-spent{color:#c9b98a;flex:none}.round-info-acts{color:#8f96a3;text-overflow:ellipsis;overflow:hidden}.round-info-tip{z-index:30;color:#f3ead4;white-space:normal;pointer-events:none;opacity:0;visibility:hidden;background:#14100af5;border:1px solid #6b5b3e;border-radius:8px;max-width:340px;padding:5px 12px;font-size:.8rem;line-height:1.5;transition:opacity 80ms;position:absolute;top:calc(100% + 5px);left:0}.round-info-acts:hover~.round-info-tip{opacity:1;visibility:visible}.board-wrap{position:relative}.beer-status{color:#c9b98a;margin:4px 0 6px}.action-preview{color:#a8d8b8;background:#58c47b14;border-left:3px solid #58c47b;margin:0 0 8px;padding:6px 12px}.action-blocked-hint{color:#c9b98a;background:#c9a86a14;border-left:3px solid #c9a86a;margin:0 0 8px;padding:6px 12px}.action-spotlight-banner{z-index:3;color:#f3ead4;white-space:nowrap;pointer-events:none;background:linear-gradient(#14100aeb,#14100ad1);border:1px solid #6b5b3e;border-radius:12px;align-items:center;gap:10px;padding:8px 18px;font-size:1rem;animation:5s ease-in forwards spotlight-banner-fade;display:flex;position:absolute;top:1.2%;left:50%;transform:translate(-50%)}.action-spotlight-banner .spotlight-dot{border:2px solid #14100a;border-radius:50%;flex:none;width:14px;height:14px}.round-banner{z-index:3;color:#e8574a;letter-spacing:.2em;white-space:nowrap;pointer-events:none;background:linear-gradient(#14100ae6,#14100ac7);border:1px solid #7a2e22;border-radius:12px;padding:6px 22px;font-size:1.25rem;font-weight:700;animation:5s ease-in forwards spotlight-banner-fade;position:absolute;top:8.5%;left:50%;transform:translate(-50%)}@keyframes spotlight-banner-fade{0%,78%{opacity:1}to{opacity:0}}.board-spotlight-pulse{animation:.9s ease-in-out infinite alternate board-spotlight-pulse}@keyframes board-spotlight-pulse{0%{opacity:.35}to{opacity:.9}}.turn-order-bar.overlay{z-index:2;background:0 0;padding:0;position:absolute;bottom:1.4%;left:.8%}.turn-order-bar.overlay .turn-track{gap:18px;margin:0;padding:0;list-style:none;display:flex}.turn-order-bar.overlay li{background:0 0;border:none;width:76px;height:76px;padding:0;position:relative}.turn-order-bar.overlay .turn-avatar{border:4px solid #7f8c8d;border-radius:50%;width:76px;height:76px;display:block;box-shadow:0 4px 12px #00000080}.turn-order-bar.overlay li.current .turn-avatar{border-color:#f0c964;box-shadow:0 0 0 3px #f0c96473,0 0 18px #f0c964bf}.turn-order-bar.overlay li.thinking .turn-avatar{animation:1.2s ease-in-out infinite breathe}.turn-order-bar.overlay .turn-spent{pointer-events:none;align-items:flex-end;gap:4px;display:flex;position:absolute;bottom:-8px;right:-22px}.turn-order-bar.overlay .turn-coins{align-items:flex-end;display:flex}.turn-order-bar.overlay .turn-coins img{filter:drop-shadow(0 2px 2px #00000080);width:26px;height:26px;margin-left:-14px}.turn-order-bar.overlay .turn-coins img:first-child{margin-left:0}.turn-order-bar.overlay .turn-spent-num{color:#f0d89a;white-space:nowrap;background:#14100aeb;border:1px solid #8a6d3b;border-radius:9px;padding:1px 7px;font-size:.78rem;font-weight:700}.turn-order-bar.overlay .thinking-dot{background:#c58fe0;border:2px solid #14100a;border-radius:50%;width:16px;height:16px;animation:1.2s ease-in-out infinite breathe;position:absolute;top:-2px;right:-2px}.turn-rank{color:#e3c58f;background:#c9a86a26;border:1px solid #8a6d3b;border-radius:50%;place-items:center;width:18px;height:18px;font-size:.72rem;font-weight:700;display:inline-grid}.turn-order-bar li.current .turn-rank{color:#241b0b;background:#c9a86a}.turn-order-bar li{color:#9aa4b2;background:#171a1fcc;border:1px solid #3f3a2e;border-radius:999px;align-items:center;gap:6px;padding:5px 12px;font-size:.85rem;display:inline-flex}.turn-order-bar li.current{color:#f3ead4;border-color:#c9a86a;box-shadow:0 0 12px #c9a86a40}.turn-order-bar li.thinking .player-name{color:#c58fe0}.turn-order-bar .player-name{color:#e6e6e6;font-weight:600}.turn-order-bar .thinking-badge{color:#c58fe0;font-size:.78rem;animation:1.2s ease-in-out infinite breathe}.modal-backdrop{z-index:20;background:#0a0c109e;place-items:center;display:grid;position:fixed;inset:0}.score-modal{background:linear-gradient(#23262e,#1a1d23);border:1px solid #6b5b3e;border-radius:14px;min-width:420px;max-width:92vw;max-height:84vh;padding:18px 22px;overflow-y:auto;box-shadow:0 18px 60px #0009}.score-modal-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.score-modal-head h3{color:#f3ead4;margin:0}.discard-modal{width:min(92vw,1100px)}.discard-columns{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;display:grid}.discard-col{background:#171a1f8c;border:1px solid #3a3226;border-radius:10px;padding:8px 10px}.discard-col-head{color:#e3d3a8;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:8px;margin-bottom:8px;font-size:.85rem;font-weight:600;display:flex;overflow:hidden}.discard-cards{flex-wrap:wrap;gap:6px;min-height:40px;display:flex}.discard-card{border:1px solid #4a3f2c;border-radius:7px;width:96px;height:auto;display:block}.discard-card-name{color:#d8cdb4;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:96px;margin-top:3px;font-size:.72rem;display:block;overflow:hidden}.discard-card-back{opacity:.85;border-style:dashed}.card-tip{z-index:30;color:#f3ead4;letter-spacing:.03em;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;background:#14100af2;border:1px solid #6b5b3e;border-radius:6px;padding:3px 10px;font-size:.78rem;font-style:normal;font-weight:600;transition:opacity 80ms;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.hand-card:hover .card-tip,.discard-cell:hover .card-tip{opacity:1;visibility:visible}.discard-cell{display:inline-block;position:relative}.discard-cell .card-tip{top:calc(100% + 6px);bottom:auto}.score-table{border-collapse:collapse;width:100%;margin:10px 0;font-size:.92rem}.score-table caption{text-align:left;color:#b3a888;letter-spacing:.1em;padding:4px 0;font-size:.8rem}.score-table th,.score-table td{text-align:left;color:#e6e6e6;border-bottom:1px solid #2e2b23;padding:5px 12px}.score-table th{color:#9aa4b2;font-size:.8rem;font-weight:500}.score-total td:last-child{color:#e3c58f;font-weight:700}.ai-thinking{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.ai-thinking-seat{color:#c58fe0;letter-spacing:.06em;background:#9b59b61f;border:1px solid #9b59b680;border-radius:999px;padding:5px 14px;font-size:.82rem;animation:1.2s ease-in-out infinite breathe}.hand-strip{flex-wrap:nowrap;gap:6px;display:flex;overflow:hidden}.hand-strip-chip{color:#d8cdb4;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;background:#171a1fb3;border:1px solid #6b5b3e;border-radius:999px;flex:1 1 0;min-width:0;padding:3px 8px;font-size:.75rem;transition:border-color .12s,background .12s;overflow:hidden}.hand-strip-chip:hover:not(:disabled){color:#f3ead4;border-color:#c9a86a}.hand-strip-chip.selected{color:#f3ead4;background:#c9a86a29;border-color:#e3c58f}.own-hand{flex-wrap:nowrap;gap:6px;display:flex}.hand-card{box-sizing:border-box;color:#e3d3a8;cursor:pointer;background:#171a1fbf;border:1px solid #6b5b3e;border-radius:10px;flex-direction:column;flex:none;align-items:center;gap:4px;width:calc(12.5% - 5.25px);padding:5px 5px 6px;font-size:.8rem;font-weight:600;transition:transform .12s,box-shadow .12s,border-color .12s;display:flex;position:relative;box-shadow:0 3px 10px #00000059}.hand-card-art{border-radius:6px;width:100%;height:auto;display:block}.hand-card-name{letter-spacing:.03em;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.hand-card:hover:not([disabled]){border-color:#c9a86a;transform:translateY(-3px)}.hand-card.wild{border-style:dashed}.hand-card .wild-badge{color:#241b0b;letter-spacing:.06em;background:#d4ac0d;border-radius:999px;padding:1px 6px;font-size:.68rem;position:absolute;top:2px;right:2px}.hand-card.selected{border-color:#e3c58f;transform:translateY(-4px);box-shadow:0 0 0 2px #c9a86a8c,0 6px 18px #c9a86a4d}.review-topline{flex-wrap:nowrap;align-items:center;gap:10px;padding:8px 4px 0;display:flex;overflow:hidden}.review-controls{flex:120px;align-items:center;gap:5px;min-width:0;display:inline-flex}.review-controls input[type=range]{accent-color:#c9a86a;width:100%;min-width:60px}.review-controls button{padding:2px 6px}.hand-card.step-played{outline-offset:2px;outline:3px solid #c0392b;box-shadow:0 0 14px #c0392b8c}.seat-switch-active{cursor:default;color:#f0c964!important;opacity:1!important;border-color:#f0c964!important}.review-progress{color:#c9a86a;white-space:nowrap;font-family:Special Elite,Courier New,monospace;font-size:.85rem}.review-seats{color:#9aa4b2;align-items:center;gap:6px;font-size:.85rem;display:inline-flex}.review-seat-active{color:#f0c964!important;border-color:#f0c964!important}.review-utils{gap:8px;margin-left:auto;display:inline-flex}.review-era-row{justify-content:flex-end;display:flex}.review-hand{margin-top:8px}@media (width<=1200px){.review-body{grid-template-columns:1fr}}.card-flight{z-index:960;pointer-events:none;border-radius:6px;transition:left .75s cubic-bezier(.25,.8,.35,1),top .75s cubic-bezier(.25,.8,.35,1),opacity .75s;position:fixed;box-shadow:0 6px 18px #0000008c}.hand-card.dragging{opacity:.4}.hand-card.drop-before{box-shadow:-4px 0 #f0c964}.hand-card.drop-after{box-shadow:4px 0 #f0c964}.action-bar.turn-hold{background:linear-gradient(#781e1661,#3c120e7a);border-color:#c0392ba6}.action-bar.turn-hold [data-testid=turn-hold-hint]{color:#f0b4a8;margin:4px 0;font-weight:600}.action-bar.turn-hold button[data-testid=end-turn]{color:#fdf0ec;cursor:pointer;background:#c0392b;border:none;border-radius:6px;padding:6px 16px;font-weight:600;transition:background .12s}.action-bar.turn-hold button[data-testid=end-turn]:hover{background:#d24637}.action-bar .waiting-hold{color:#f0b4a8;font-weight:600}.sell-builder{border-left:2px solid #3a3226;margin-left:1.4em;padding-left:.9em}.sell-builder .action-choices{margin:4px 0}.action-bar{background:linear-gradient(#26221bd1,#1a1d23e6);border:1px solid #3a3226;border-radius:12px;padding:14px 18px;font-size:.875rem;line-height:1.5}.action-bar button{font:inherit}.action-bar>p{margin:4px 0}.action-bar h3{margin:0 0 8px}.action-bar-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.action-money{color:#f0c964;letter-spacing:.02em;align-items:center;gap:6px;font-size:1.1rem;font-weight:700;display:inline-flex}.action-money .coin-icon{width:18px;height:18px}.action-money-delta{font-size:.95rem;font-weight:600}.action-money-delta.neg{color:#e0705c}.action-money-delta.pos{color:#58c47b}.action-hint{color:#b3a888;margin:4px 0}.action-choices{flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0;display:flex}.action-choices>span:first-child{color:#b3a888}.action-choices.row-disabled{opacity:.45}.action-choices .action-row-none{color:#6b6353}.action-choices .action-row-hint{color:#8a8068;font-size:.92em}.action-choices .row-toggle{color:#b3a888;cursor:pointer;background:0 0;border:1px solid #6b5b3e;border-radius:999px;margin-left:auto;padding:1px 9px;font-size:.78rem}.action-choices .row-toggle:hover{color:#f3ead4;border-color:#c9a86a}.action-choices button{color:#d8cdb4;cursor:pointer;background:#171a1fb3;border:1px solid #6b5b3e;border-radius:999px;padding:5px 12px;transition:border-color .12s,background .12s,color .12s}.action-choices button:hover:not(:disabled){color:#f3ead4;border-color:#c9a86a}.action-choices button.selected{color:#f3ead4;background:#c9a86a29;border-color:#e3c58f;box-shadow:0 0 0 1px #c9a86a66}.action-choices button:disabled{opacity:.4;cursor:default}.action-confirm{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.action-confirm>p{flex-basis:100%}.log-panel ol{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.log-panel .log-scroll{scrollbar-width:thin;max-height:260px;padding-right:4px;overflow-y:auto}.log-panel li{color:#c9bfa5;text-align:left;background:#171a1f99;border:1px solid #2e2b23;border-radius:8px;padding:8px 12px;font-family:Special Elite,Courier New,monospace;font-size:.82rem}.log-panel li .degraded-badge{color:#d4ac0d;background:#d4ac0d26;border:1px solid #d4ac0d66;border-radius:999px;margin-left:6px;padding:1px 6px;font-size:.7rem}.log-panel li .log-bonus{color:#e3c58f;font-size:.82rem}.log-panel .log-reason{color:#8a8068;border-left:2px solid #8a6d3b;margin:6px 0 0;padding-left:10px;font-family:Georgia,Songti SC,serif;font-size:.8rem;font-style:italic}.log-panel [data-testid=log-empty]{color:#5d5a50;font-size:.85rem}.board-svg{border:1px solid #4a3f2c;border-radius:14px;width:100%;height:auto;box-shadow:0 14px 40px #00000073,inset 0 0 60px #3a322659}.board-slot.highlighted,.board-link.highlighted{cursor:pointer}.board-svg text{font-family:Georgia,Songti SC,Noto Serif SC,serif}.color-dot{border:1px solid #00000080;border-radius:50%;flex:none;width:10px;height:10px;display:inline-block;box-shadow:0 0 0 1px #ffffff26}.coin-icon{vertical-align:-3px;width:16px;height:16px;margin-right:2px}.turn-money,.head-money{color:#e3c58f;white-space:nowrap;font-size:1.06rem;font-weight:700}.head-money .coin-icon{width:20px;height:20px}.turn-vp,.head-vp{color:#b3a888;white-space:nowrap}.board-tile-row{flex-wrap:wrap;gap:6px;display:flex}.board-tile-thumb{border:1px solid #6b5b3e;border-radius:6px;line-height:0;display:inline-block;position:relative;overflow:hidden}.board-tile-thumb img{width:44px;height:44px;display:block}.board-tile-thumb.flipped{border-color:#c9a86a;box-shadow:0 0 6px #c9a86a59}.board-tile-thumb .board-tile-sub{color:#f3e9c8;background:#14100ad9;border-radius:4px 0 0;padding:0 4px;font-size:.62rem;line-height:1.4;position:absolute;bottom:0;right:0}.game-screen-head{justify-content:flex-start;align-items:center;gap:12px;padding:8px 4px 0;display:flex}.game-screen-head .head-right{margin-left:auto}.game-room-code{color:#8a8068;letter-spacing:.2em;font-family:Special Elite,Courier New,monospace;font-size:.8rem}.era-round{color:#c9a86a;letter-spacing:.08em;white-space:nowrap;align-self:center;font-family:Special Elite,Courier New,monospace;font-size:.9rem;font-weight:700}.player-boards{flex-direction:column;gap:8px;display:flex}.player-boards-after{margin-top:8px}.player-board{background:linear-gradient(#26221bb3,#1a1d23d9);border:1px solid #3a3226;border-radius:10px;overflow:hidden}.player-board-head{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:10px;padding:10px 14px;display:flex}.player-board-head:hover{background:#c9a86a0d}.player-board-head .player-name{color:#f3ead4;font-size:.95rem;font-weight:600}.level-chip{color:#e3c58f;letter-spacing:.05em;white-space:nowrap;background:#c9a86a24;border:1px solid #c9a86a;border-radius:999px;padding:2px 10px;font-size:.78rem}.level-chip.current{border-color:#e3c58f;box-shadow:0 0 10px #c9a86a4d}.board-summary{color:#8a8068;margin-left:auto;font-size:.8rem}.board-caret{color:#b3a888;font-size:.8rem}.player-board-body{border-top:1px dashed #3a3226;padding:4px 14px 14px}.board-meta{color:#9aa4b2;margin:10px 0;font-size:.85rem}.board-built h4,.board-stack h4{letter-spacing:.12em;color:#b3a888;margin:10px 0 6px;font-size:.78rem}.board-stack-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.discard-open-btn{color:#b3a888;cursor:pointer;background:0 0;border:1px solid #6b5b3e;border-radius:999px;padding:2px 10px;font-size:.72rem;transition:border-color .12s,color .12s}.discard-open-btn:hover{color:#f3ead4;border-color:#c9a86a}.board-stack-head h4{margin-bottom:0}.stack-view-toggle{border:1px solid #4a3f2c;border-radius:8px;display:inline-flex;overflow:hidden}.stack-view-toggle button{color:#9aa4b2;cursor:pointer;background:0 0;border:none;padding:3px 12px;font-size:.78rem}.stack-view-toggle button.active{color:#1a1d23;background:#c9a86a;font-weight:600}.player-mat{border:1px solid #4a3f2c;border-radius:10px;width:100%;height:auto;margin-top:8px;display:block}.player-mat .mat-slot-exhausted{fill:#0b0d10;opacity:.62}.player-mat .mat-slot-top{filter:drop-shadow(0 0 14px #ffffff40)}.board-svg .tile-fresh{filter:drop-shadow(10px 14px 10px #0000008c)}.beer-source-ring{animation:.9s ease-in-out infinite alternate board-spotlight-pulse}.beer-match-line{opacity:.85;animation:1.2s linear infinite beer-match-march}@keyframes beer-match-march{to{stroke-dashoffset:-44px}}.board-turn-track .current .current-ring{filter:drop-shadow(0 0 16px #f5f2e8e6)drop-shadow(0 0 4px #14100acc)}.board-turn-track .thinking image{animation:1.2s ease-in-out infinite breathe}.player-board.pulse{animation:.9s ease-in-out infinite alternate panel-pulse}.player-board.active-turn{box-shadow:0 0 0 2px var(--pulse-color,#f0c964), 0 0 16px 2px var(--pulse-color,#f0c964)}.round-info.active{border-color:var(--pulse-color,#f0c964);box-shadow:0 0 10px 0 var(--pulse-color,#f0c964)}@keyframes panel-pulse{0%{box-shadow:0 0 0 2px var(--pulse-color,#f0c964)}to{box-shadow:0 0 22px 4px var(--pulse-color,#f0c964), 0 0 0 3px var(--pulse-color,#f0c964)}}.board-ind{align-items:baseline;gap:8px;margin:4px 0;display:flex}.board-ind-name{flex:none;width:3.5em;font-size:.82rem;font-weight:600}.board-ind-status{color:#8a8068;flex:none;font-size:.72rem}.board-ind-status.ok{color:#58c47b}.board-ind-list{flex-wrap:wrap;gap:5px;display:flex}.board-stack-item{color:#9aa4b2;border:1px dashed #4a4030;border-radius:6px;padding:2px 8px;font-size:.78rem}.stack-tile{background:#171a1f99;border:1px solid #4a4030;border-radius:6px;flex-direction:column;align-items:center;gap:1px;padding:3px 3px 4px;line-height:1.2;display:inline-flex;position:relative}.stack-tile img{border-radius:4px;width:34px;height:34px;display:block}.stack-tile-count{color:#e3c58f;background:#14100ae6;border-radius:0 5px 0 6px;padding:0 4px;font-size:.68rem;font-weight:700;position:absolute;top:0;right:0}.stack-tile-sub{color:#9aa4b2;white-space:nowrap;font-size:.64rem}.stack-tile.exhausted{opacity:.35}.stack-tile.exhausted img{filter:grayscale(.7)}.board-empty{color:#5d5a50;margin:4px 0;font-size:.8rem}.compact-rank{color:#e3d3a8;border:2px solid #7f8c8d;border-radius:50%;flex:none;place-items:center;min-width:26px;height:26px;font-size:.78rem;font-weight:700;display:inline-grid}.compact-round{color:#9aa4b2;white-space:nowrap;background:#171a1f8c;border:1px solid #3a3226;border-radius:8px;flex-wrap:nowrap;align-items:center;gap:8px;padding:4px 8px;font-size:.78rem;display:flex}.compact-round-acts{text-overflow:ellipsis;color:#8f96a3;flex:auto;overflow:hidden}.compact-round-spent{color:#b3a888;flex:none}.compact-round-cards{flex:none;gap:3px;display:inline-flex}.compact-round-cards img{border:1px solid #4a3f2c;border-radius:3px;width:22px;height:auto;display:block}.history-toggle{color:#b3a888;cursor:pointer;background:0 0;border:1px solid #6b5b3e;border-radius:999px;flex:none;padding:1px 7px;font-size:.72rem}.history-toggle:hover{color:#f3ead4;border-color:#c9a86a}.compact-history{background:#171a1f8c;border:1px solid #3a3226;border-radius:8px;flex-direction:column;gap:6px;max-height:150px;padding:6px 10px;font-size:.76rem;display:flex;overflow-y:auto}.compact-history-round{flex-direction:column;gap:2px;display:flex}.compact-history-label{color:#b3a888;font-weight:600}.compact-history-act{color:#d8cdb4;justify-content:space-between;gap:10px;display:flex}.compact-history-card{color:#8a8068;flex:none;font-style:normal}.money-oval{color:#ffd94d;background:#14100a;border:1px solid #8a6d3b;border-radius:999px;padding:2px 12px}.compact-round-acts{flex-direction:column;flex:auto;gap:2px;min-width:0;display:flex}.compact-round-line{white-space:nowrap;align-items:baseline;gap:8px;display:flex;overflow:hidden}.compact-round-line:first-child:last-child{color:#8f96a3}.compact-round-delta{flex:none;font-style:normal;font-weight:600}.compact-round-delta.neg{color:#e0705c}.compact-round-delta.pos{color:#58c47b}.compact-head .discard-open-btn,.compact-head .seat-switch-btn{margin-left:auto}.compact-head .seat-switch-btn~.discard-open-btn{margin-left:0}.compact-round-line .compact-history-card,.compact-history-act .compact-history-card{text-align:right;margin-left:auto}.top-action-bar{padding:8px 14px;position:relative}.action-card-prompt{z-index:5;box-sizing:border-box;color:#393026;background:#fff0cc;border:1px solid #d7b971;border-radius:6px;align-items:center;gap:7px;width:max-content;max-width:calc(100% - 16px);padding:9px 12px;font-size:13px;line-height:1.4;display:flex;position:absolute;box-shadow:0 4px 12px #07191c66}.action-card-prompt>span{color:#fff0cc;background:#705326;border-radius:50%;flex:none;place-items:center;width:17px;height:17px;font-weight:700;display:grid}.top-action-row{white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.top-action-row>button{color:#d8cdb4;font:inherit;cursor:pointer;background:#171a1fb3;border:1px solid #6b5b3e;border-radius:999px;padding:5px 14px;transition:border-color .12s,background .12s,color .12s}.top-action-row>button:hover:not(:disabled){color:#f3ead4;border-color:#c9a86a}.top-action-row>button.selected{color:#f3ead4;background:#c9a86a29;border-color:#e3c58f;box-shadow:0 0 0 1px #c9a86a66}.top-action-row .top-confirm{color:#1a1d23;background:#c9a86a;border:none;border-radius:6px;font-weight:600}.top-action-row .top-confirm:disabled{color:#9aa4b2;background:#4a5160}.top-action-spacer{flex:auto}.top-action-money{margin-left:4px}.top-action-hint{color:#b3a888}.choose-card-hint{color:#f3ead4;background:#303127;border-left:3px solid #e3c58f;border-radius:4px;margin:0 0 8px;padding:8px 12px;font-size:.9rem;line-height:1.5}.hand-select-hint{z-index:1;color:#f3ead4;pointer-events:none;background:#1a262b;border:1px solid #c9a86a;border-radius:6px;width:fit-content;margin:0 auto 8px;padding:5px 12px;font-size:.85rem;position:relative}.top-detail-row{margin:8px 0 0}.log-modal{width:min(92vw,720px)}.log-modal-scroll{flex-direction:column;gap:8px;max-height:60vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.hand-bar.overlay{z-index:30;box-shadow:none;pointer-events:none;background:0 0;border:none;padding:0 10px;position:fixed;bottom:0;left:0;right:0}.hand-bar.overlay .own-hand{justify-content:center}.hand-bar.overlay .hand-select-hint{white-space:nowrap;margin:0;position:absolute;bottom:calc(28% + 8px);left:50%;transform:translate(-50%)}.hand-bar.overlay .hand-card{pointer-events:auto;transition:transform .15s;transform:translateY(72%)}.hand-bar.overlay:not(.no-raise) .hand-card:hover,.hand-bar.overlay .hand-card.selected{transform:translateY(0)}.tile-drag-ghost{z-index:50;opacity:.92;pointer-events:none;border-radius:8px;position:fixed}.wide-util-row{white-space:nowrap;align-items:center;gap:8px;padding-bottom:6px;display:flex}.hand-bar.overlay{left:25%;right:25%}.prefs-modal{min-width:380px}.pref-row{justify-content:center;align-items:center;gap:14px;padding:10px 0;display:flex}.pref-side{color:#8a8068;min-width:96px;font-size:.9rem;transition:color .12s}.pref-side:last-child{text-align:left}.pref-side:first-child{text-align:right}.pref-side.active{color:#f3ead4;font-weight:600}.pref-slide{cursor:pointer;background:#171a1fcc;border:1px solid #6b5b3e;border-radius:999px;width:52px;height:26px;padding:0;position:relative}.pref-knob{background:#c9a86a;border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:2px;left:3px}.pref-slide.right .pref-knob{transform:translate(25px)}.hand-bar.overlay.mode-all:not(.has-selection):hover .hand-card{transform:translateY(0)}.wide-topline{flex-wrap:wrap;align-items:flex-start;gap:12px;display:flex}.wide-topline>.top-action-bar{flex:auto;min-width:0}.wide-topline>.wide-util-row{flex:none;margin-left:auto;padding-bottom:0}@media (width<=1560px){.wide-topline{flex-direction:column}.wide-topline>.wide-util-row{order:-1;align-self:flex-end}.wide-topline>.top-action-bar{width:100%}}.wide-topline{flex-wrap:unset;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);align-items:center;gap:12px;display:grid}.wide-topline-left{white-space:nowrap}.wide-topline>.wide-util-row{justify-content:flex-end;margin-left:0}.top-action-row>button:disabled{opacity:1;cursor:default}@media (width<=1560px){.wide-topline{flex-direction:column;display:flex}.wide-topline-left{display:none}}.leave-confirm-modal{min-width:320px}.leave-confirm-text{color:#d8cdb4;margin:4px 0 14px}.leave-confirm-actions{justify-content:flex-end;gap:10px;display:flex}.leave-confirm-danger{color:#fdf0ec;cursor:pointer;background:#c0392b;border:none;border-radius:6px;padding:6px 18px;font-weight:600}.leave-confirm-danger:hover{background:#d24637}.action-log-modal{width:min(94vw,1280px);max-height:88vh}.action-log-history{border-top:1px solid #3a3226;flex-direction:column;gap:6px;max-height:320px;margin-top:8px;padding-top:8px;font-size:.78rem;display:flex;overflow-y:auto}.wide-topline-left{white-space:nowrap;flex:0 0 calc(25% - 5px);grid-template-columns:auto auto auto 1fr;align-items:center;column-gap:2px;display:grid}.wide-topline-left .game-room-code,.wide-topline-left>button{justify-self:start}.wide-topline-left .era-round{grid-column:4;justify-self:end;padding-right:4px}.top-action-row .top-action-money{margin-left:auto}.action-log-divider{border:none;border-top:1px solid #6b5b3e;margin:12px 0}.action-log-group{border:1px solid #3a3226;border-radius:8px;flex-direction:column;gap:4px;padding:6px 8px;display:flex}.action-log-group-label{color:#b3a888;font-size:.74rem;font-weight:600}.action-log-group-cards{flex-wrap:wrap;gap:4px;display:flex}.action-log-group-cards img{border:1px solid #4a3f2c;border-radius:7px;width:96px;height:auto;display:block}.board-stack{position:relative}.develop-bin{z-index:5;color:#c9a86a;background:#14100abf;border:1.5px dashed #8a6d3b;border-radius:10px;place-items:center;width:40px;height:40px;display:grid;position:absolute;bottom:6px;right:6px}.hint-backdrop{z-index:39;position:fixed;inset:0}.hint-popup{z-index:40;background:linear-gradient(#23262e,#1a1d23);border:1px solid #6b5b3e;border-radius:12px;padding:10px 14px;font-size:.82rem;position:fixed;box-shadow:0 14px 40px #0009}.hint-popup-head{color:#e3d3a8;justify-content:space-between;align-items:center;margin-bottom:6px;font-weight:600;display:flex}.hint-section{margin-top:8px}.hint-section h4{color:#b3a888;margin:0 0 4px;font-size:.78rem}.hint-grid{flex-wrap:wrap;gap:4px;display:flex}.hint-chip{color:#d8cdb4;white-space:nowrap;background:#171a1fb3;border:1px solid #3f3a2e;border-radius:999px;padding:2px 8px}.wide-util-row .btn-ghost,.wide-topline-left .btn-ghost{padding:5px 14px}.game-screen.wide{gap:8px}.game-screen.wide .wide-grid{gap:10px}.top-action-bar{padding:6px 14px}.pref-desc{color:#9aa4b2;text-align:right;min-width:112px;font-size:.82rem}.action-log-history.no-scroll{max-height:none;overflow-y:visible}.action-log-group-cards{flex-wrap:nowrap;overflow-x:auto}.action-log-modal .compact-history-act{white-space:nowrap}.action-log-round-row{border-bottom:1px dashed #3a3226;margin-bottom:6px;padding-bottom:6px}.action-log-round-row:last-child{border-bottom:none}.action-log-modal .discard-col,.action-log-modal .discard-columns,.action-log-modal .action-log-round-row,.action-log-modal .action-log-group-cards{overflow-y:hidden}.turn-hourglass{transform-origin:50%;margin-left:4px;font-size:13px;line-height:1;animation:1.6s ease-in-out infinite hourglass-flip;display:inline-block}@keyframes hourglass-flip{0%,to{opacity:1;transform:rotate(0)}50%{opacity:.55;transform:rotate(180deg)}}.spotlight-avatar-pulse{animation:1.2s ease-in-out infinite spotlight-avatar-pulse}@keyframes spotlight-avatar-pulse{0%,to{opacity:.95;stroke-width:7px}50%{opacity:.25;stroke-width:13px}}.head-timestats{opacity:.72;white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:6px;font-size:11px}.compact-head .discard-open-btn.reasoning-open-btn{flex:none;margin-left:0}.player-board{position:relative}.reasoning-open-noncompact{z-index:1;position:absolute;top:7px;right:34px}.reasoning-modal{flex-direction:column;width:min(92vw,980px);max-height:84vh;display:flex;overflow:hidden}.reasoning-actions{min-height:0;padding-right:4px;overflow-y:auto}.reasoning-action{background:#171a1f8c;border:1px solid #3a3226;border-radius:8px;margin-bottom:8px}.reasoning-action summary{cursor:pointer;color:#e3d3a8;align-items:center;gap:10px;padding:9px 11px;display:flex}.reasoning-action-seq{color:#b9ab8c;font-variant-numeric:tabular-nums;flex:none}.reasoning-rounds{max-height:45vh;padding:0 11px 10px;overflow-y:auto}.reasoning-round h4{color:#bfae86;margin:8px 0 5px;font-size:.8rem;font-weight:500}.reasoning-round pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#e5e0d5;margin:0;font:.82rem/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.reasoning-visible-text{border-left:2px solid #6b5b3e;padding-left:8px;margin-top:8px!important}.reasoning-empty{color:#a89f8d}@media (width<=1200px),(hover:none){.hand-bar.overlay{background:#121d23f5;padding:8px 4px;left:10px;right:10px}.hand-bar.overlay .hand-select-hint{bottom:calc(100% + 4px)}.hand-bar.overlay .hand-card{width:min(84px,12.5vw - 9.25px);transform:none}.hand-bar.overlay:not(.no-raise) .hand-card:hover,.hand-bar.overlay .hand-card.selected,.hand-bar.overlay.mode-all:not(.has-selection):hover .hand-card{transform:none}.game-screen.wide{padding-bottom:160px}}@media (width<=700px){.game-screen.wide .wide-grid{grid-template-columns:1fr}.wide-center{grid-row:1}.wide-col{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.prefs-modal{width:min(94vw,440px);min-width:0}.top-action-row{flex-wrap:wrap}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#183a3d;--cream:#f4eddd;--brass:#c6a66c}body{color:#eee8da;background:radial-gradient(at 50% 0,#2b4545 0,#172c31 48%,#112329 100%);font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif;font-size:16px}button,input,select{font:inherit}button{min-height:34px}.game-screen.wide{gap:16px;padding:16px 20px 205px}.game-screen.wide .wide-grid{grid-template-columns:270px minmax(0,1fr) 310px;gap:18px}.wide-topline{border-bottom:1px solid #bba16b55;grid-template-columns:1fr auto;grid-template-areas:"brand tools""actions actions";gap:10px;padding-bottom:12px;display:grid}.wide-topline-left{flex-wrap:wrap;grid-area:brand;gap:14px;display:flex}.wide-topline>.top-action-bar{grid-area:actions;width:auto}.wide-topline>.wide-util-row{order:0;grid-area:tools}.app-brand{letter-spacing:.12em;color:#e9ce95;font-family:Georgia,Songti SC,serif;font-size:28px;font-weight:700}.app-brand span{color:#e5e0cf;letter-spacing:.16em;margin-left:10px;font-size:17px}.game-room-code{color:#bdc9c4;font-size:14px}.era-round{color:#f3d291;letter-spacing:.03em;font-size:16px}.wide-util-row{flex-wrap:wrap;gap:8px}.wide-util-row .btn-ghost,.wide-topline-left .btn-ghost{color:#d9e0d7;border-color:#bda87866;padding:6px 12px;font-size:14px}.top-action-bar{background:#203b40;border:1px solid #bda87866;border-radius:10px;padding:12px 16px}.top-action-row{white-space:normal;flex-wrap:wrap;gap:10px}.top-action-row>button{color:#f5eedc;border-radius:7px;min-width:66px;padding:7px 14px;font-size:16px}.top-action-row .top-confirm{color:#153235;background:#d0ad6c}.top-action-hint{color:#ece3ce;font-size:16px}.choose-card-hint{color:#fff4d7;background:#304b4a;border-left-color:#d0ad6c;font-size:15px}.action-money{font-size:24px}.rail-heading{letter-spacing:.16em;color:#beccbf;margin:0 0 2px;font-size:14px;font-weight:500}.wide-col{gap:14px;min-width:0}.player-board.compact{background:#1b363c;border:1px solid #a18b625c;border-radius:12px;box-shadow:0 8px 24px #081b2140}.player-board.compact.active-turn{border-color:#d2b46d;box-shadow:0 0 0 1px #d2b46d55}.player-board.compact .compact-head{border-color:#a18b623d;flex-wrap:wrap;gap:8px;padding:12px;font-size:16px;overflow:visible}.player-board.compact .compact-head .player-name{white-space:normal;overflow-wrap:anywhere;flex:85px;min-width:0;max-width:none;font-size:16px}.compact-rank{min-width:28px;height:28px;font-size:14px}.head-money.money-oval{color:#f1cf83;background:#102c32;border:none;border-radius:6px;margin-left:auto;padding:4px 10px;font-size:23px}.head-timestats{display:none}.ai-badge{letter-spacing:.05em;font-size:12px}.discard-open-btn{min-height:30px;padding:3px 9px;font-size:14px}.player-metrics{background:#173137;grid-template-columns:repeat(3,1fr);gap:5px;padding:12px 6px;display:grid}.player-metrics>span{flex-direction:column;align-items:center;gap:4px;display:flex}.player-metrics b{color:#e8debc;font-variant-numeric:tabular-nums;font-size:21px}.player-metrics small{color:#b0c2bc;font-size:13px}.compact-round{background:#254047;border-color:#a18b623d;min-height:36px;padding:8px 12px}.compact-round-line{white-space:normal;color:#d3ded5;font-size:14px;line-height:1.6}.compact-history-card{display:none}.compact-round-delta{margin-left:8px;font-size:14px}.history-toggle{min-width:27px}.inventory-drawer summary{cursor:pointer;color:#e2cc9a;padding:12px;font-size:15px}.inventory-drawer summary>span{color:#b0c2bc;margin-left:5px;font-size:12px}.player-board.compact .board-stack{padding:0 9px 10px;position:relative}.illustrated-inventory{background:0 0;border:none;flex-direction:column;gap:7px;width:auto;display:flex}.inventory-industry{color:#234044;background:#f1e9d9;border:1px solid #d8ccb5;border-radius:9px;gap:10px;min-height:72px;padding:8px;display:flex}.inventory-industry.exhausted{opacity:.55}.inventory-art{touch-action:none;border-radius:6px;flex:0 0 65px;width:65px;height:75px;position:relative;overflow:hidden;box-shadow:0 2px 5px #17313733}.inventory-art>img{object-fit:cover;width:100%;height:100%}.inventory-art>span{color:#e9d5a8;background:#193b3ee8;border-radius:50%;place-items:center;width:25px;height:25px;display:grid;position:absolute;bottom:3px;left:3px}.inventory-info{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.inventory-title{justify-content:space-between;align-items:baseline;gap:5px;display:flex}.inventory-title strong{font-size:16px;font-weight:650}.inventory-title>span{color:#73603d;font-family:Georgia,serif;font-size:15px}.inventory-cost{align-items:center;gap:7px;font-size:15px;display:flex}.inventory-cost>b{color:#2a4c47;font-size:18px}.inventory-cost>span{align-items:center;gap:2px;display:inline-flex}.inventory-cost small{color:#82745c;margin-left:auto;font-size:11px}.inventory-levels{flex-wrap:wrap;gap:3px;display:flex}.inventory-levels>:is(span,button){color:#5d624d;cursor:pointer;background:0 0;border:1px solid #c8baa0;border-radius:4px;justify-content:center;align-items:center;min-width:18px;height:20px;padding:0 3px;font:14px Georgia,serif;display:inline-flex;position:relative}.inventory-levels>:is(span,button).next{color:#fff0c5;background:#25494b;border-width:2px}.inventory-levels>:is(span,button).empty{opacity:.3;text-decoration:line-through}.inventory-levels sup{margin-left:2px;font:9px system-ui}.develop-bin{color:#bfccb8;border:1px dashed #a3b5a3;border-radius:5px;width:auto;height:28px;margin:0 0 7px;position:static}.develop-bin:after{content:"拖入产业进行研发";margin-left:5px;font-size:12px}.develop-bin svg{width:16px;height:16px}.resource-market{color:#234044;background:#e9e2d0;border:1px solid #b7a37a;border-radius:12px;padding:15px 12px}.resource-market h3{margin:0 0 13px;font-size:16px;font-weight:650}.market-section+.market-section{margin-top:16px}.market-section header{justify-content:space-between;align-items:center;margin-bottom:7px;display:flex}.market-section header>span{align-items:center;gap:7px;font-size:15px;font-weight:600;display:flex}.market-section header small{color:#6f7466;font-size:12px}.market-prices{gap:4px;display:flex}.market-prices>div{background:#f4efdf;border:1px solid #c6baa2;border-radius:5px;flex-direction:column;flex:1;align-items:center;gap:6px;padding:6px 0;display:flex}.market-prices b{cursor:pointer;background:0 0;font:14px Georgia,serif}.market-prices span{gap:2px;display:flex}.market-prices i{border:1px solid #acb0a0;border-radius:2px;width:7px;height:9px;display:block}.market-prices i.filled{background:#425a5a;border-color:#425a5a;box-shadow:inset 0 2px #fff3}.iron .market-prices i.filled{background:#bc7045;border-color:#bc7045}.map-panel{background:#e7dac0;border:1px solid #bea371;border-radius:14px;overflow:hidden;box-shadow:0 12px 35px #071a214d}.map-toolbar{color:#2b4d4b;background:#f1e8d5;border-bottom:1px solid #bcab86;align-items:center;gap:18px;padding:10px 14px;display:flex}.map-caption{font-size:16px;font-weight:650}.map-legend{white-space:nowrap;align-items:center;gap:7px;margin-left:auto;font-size:13px;display:inline-flex}.map-legend i{border-top:3px solid #60898b;width:20px;height:0}.map-legend i.rail{border-top:3px dashed #9d8360}.map-zoom{align-items:center;gap:3px;display:flex}.map-zoom button{color:#2d4d49;background:#fff9eb;border:1px solid #cbb995;border-radius:5px;min-height:29px;padding:3px 8px;font-size:14px}.map-panel .board-wrap{scrollbar-color:#ae986d #e2d8c0;scrollbar-width:thin;max-height:calc(100dvh - 350px);overflow:auto}.board-canvas{position:relative}.board-svg{background:#e4d8be;border:none;border-radius:0;width:100%;height:auto;display:block}.board-markets,.board-tracks,.board-turn-track,.board-decks{display:none}.board-slot{stroke:#0000}.board-slot:hover{fill:#d9ab5b33;stroke:#a17031;stroke-width:7px}.city-label{filter:drop-shadow(0 4px 5px #5b583522)}.board-svg .city-label text{font-family:PingFang SC,Microsoft YaHei,sans-serif}.game-screen.wide{box-sizing:border-box;height:100dvh;overflow:hidden}.game-screen.wide .wide-grid{flex:1;min-height:0}.wide-center{height:100%;min-height:0}.wide-col{scrollbar-width:thin;scrollbar-color:#89774e #1b363c;max-height:100%;overflow-y:auto}.map-panel{flex-direction:column;height:100%;display:flex}.map-panel .board-wrap{flex:1;min-height:0;max-height:none}.board-canvas{margin:0 auto}.hand-bar.overlay{z-index:30;pointer-events:none;background:linear-gradient(#163239f5,#102a32);border-top:1px solid #af9664;padding:12px 22px 14px;bottom:0;left:0;right:0;box-shadow:0 -10px 35px #071b2155}.hand-bar.overlay .own-hand{justify-content:center;align-items:flex-start;gap:10px;padding:4px 0;overflow-x:auto}.hand-bar.overlay .hand-card{color:#1e4345;background:#f0e7d4;border-radius:9px;flex:0 0 112px;width:112px;padding:5px;transition:box-shadow .15s,border-color .15s;box-shadow:0 3px 9px #071d2466;transform:none!important}.hand-bar.overlay .hand-card-art{object-fit:cover;object-position:50% 43%;border-radius:5px;height:98px}.hand-bar.overlay .hand-card-name{white-space:normal;letter-spacing:0;justify-content:center;align-items:center;width:100%;height:39px;font-size:14px;line-height:1.3;display:flex;overflow:visible}.hand-card-kind{color:#758473;letter-spacing:.1em;font-size:11px;font-weight:400}.hand-bar.overlay .hand-card.selected{background:#fff6df;border-color:#e1ba6c;box-shadow:0 0 0 3px #d6b471,0 4px 18px #e4bc6b55}.hand-bar.overlay .hand-card:hover{border-color:#d3ab5b;box-shadow:0 0 0 2px #bb955a}.hand-bar.overlay .hand-select-hint{color:#e6ce98;background:0 0;border:none;margin:0 auto 8px;padding:0;font-size:14px;position:static;transform:none}.hand-bar.overlay .card-tip{display:none}.score-modal,.prefs-modal{background:#203a3f;border-color:#b49c6b;font-size:16px}.lobby{background:#1f3e43ee;border-color:#ae9463}.game-screen.wide .wide-grid{grid-template-columns:minmax(0,1fr) 310px}.wide-center{flex-direction:column;gap:12px;display:flex}.wide-col-left{flex-direction:row;flex:none;gap:10px;max-height:none;display:flex;overflow:visible}.wide-col-left .rail-heading{display:none}.wide-col-left .wide-seat{flex:1;min-width:0}.wide-col-left .inventory-drawer{display:none}.wide-col-left .compact-head{padding:7px 10px}.wide-col-left .compact-head .head-money{font-size:20px}.wide-col-left .player-metrics{gap:18px;padding:7px 12px;display:flex}.wide-col-left .player-metrics>span{flex-direction:row;gap:5px}.wide-col-left .player-metrics b{font-size:16px}.wide-col-left .player-metrics small{font-size:12px}.map-panel{flex:1;height:auto;min-height:0}.map-panel .board-wrap{min-height:0;max-height:none}.board-canvas{min-width:0}.inventory-levels sup{font-size:12px}@media (width>=2000px){.game-screen.wide .wide-grid{grid-template-columns:minmax(0,1fr) 350px}.inventory-art{flex-basis:76px;width:76px;height:82px}.inventory-title strong{font-size:18px}.hand-bar.overlay .hand-card{flex-basis:136px;width:136px}.hand-bar.overlay .hand-card-art{height:115px}}@media (width<=1100px){.game-screen.wide{padding:10px 12px 205px}.game-screen.wide .wide-grid{grid-template-columns:minmax(0,1fr) 285px;gap:12px}.wide-topline{grid-template-columns:1fr;grid-template-areas:"brand""tools""actions"}.wide-topline>.wide-util-row{justify-content:flex-start}.wide-col-left .player-metrics{gap:10px}.map-legend{display:none}.map-zoom{margin-left:auto}}@media (width<=700px){.game-screen.wide{height:auto;min-height:100dvh;overflow:visible}.game-screen.wide .wide-grid{grid-template-columns:1fr}.wide-center{height:620px}.wide-col-right{grid-column:1;max-height:none;overflow:visible}.wide-col-right .illustrated-inventory{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.inventory-art{flex-basis:52px;width:52px}.hand-bar.overlay .hand-card{flex-basis:100px;width:100px}.hand-bar.overlay .own-hand{justify-content:flex-start}.app-brand{font-size:23px}}.game-screen.wide{padding-bottom:194px}.hand-bar.overlay{box-sizing:border-box;padding:8px 16px 10px}.hand-bar.overlay .own-hand{scrollbar-width:thin;gap:9px;padding:3px 0}.hand-bar.overlay .own-hand::-webkit-scrollbar{height:5px}.hand-bar.overlay .hand-card{flex-basis:clamp(92px,12.5vw - 13.75px,136px);width:clamp(92px,12.5vw - 13.75px,136px)}.hand-bar.overlay .hand-card-art{height:88px}.hand-bar.overlay .hand-card-name{height:35px;font-size:14px}.hand-bar.overlay .hand-card-kind{color:#eee4ca;letter-spacing:0;background:#193c43e8;border-radius:3px;padding:2px 5px;font-size:11px;position:absolute;top:8px;left:8px}.hand-bar.overlay .hand-select-hint{margin-bottom:4px;line-height:20px}.wide-col-left .compact-head{flex-wrap:nowrap;padding:6px 10px}.wide-col-left .compact-head .player-name{white-space:nowrap}.wide-col-left .player-metrics{padding:5px 12px}.wide-col-left .compact-round{min-height:23px;padding:4px 10px}.market-popover{white-space:nowrap;margin-left:auto;font-size:14px;position:relative}.market-popover summary{cursor:pointer;border:1px solid #c1ae8b;border-radius:4px;padding:4px 8px}.market-popover>.resource-market{z-index:40;white-space:normal;width:260px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 30px #18343866}.map-panel{overflow:visible}.map-toolbar{z-index:20;border-radius:13px 13px 0 0;flex:none;gap:12px;position:relative}.map-panel .board-wrap{border-radius:0 0 13px 13px}.deck-count{white-space:nowrap;color:#6c705c;font-size:13px}.map-zoom{margin-left:0}@media (width>=800px) and (width<=1100px){.wide-topline{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand tools""actions actions"}.wide-topline-left{gap:8px}.app-brand{font-size:23px}.app-brand span{margin-left:6px;font-size:15px}.wide-topline-left .game-room-code{letter-spacing:.04em;font-size:12px}.wide-topline-left .btn-ghost{padding:4px 8px}.era-round{font-size:14px}.wide-util-row{gap:5px}.wide-util-row .btn-ghost{padding:5px 8px;font-size:13px}}.wide-col-left .player-board.compact .compact-head{padding:6px 10px}.wide-col-left .history-toggle{height:24px;min-height:24px;padding:0 4px}.icon-legend-popover{white-space:nowrap;color:#2b4d4b;font-size:14px;position:relative}.icon-legend-popover summary{cursor:pointer;border:1px solid #c1ae8b;border-radius:4px;padding:4px 7px}.icon-legend-content{z-index:40;white-space:normal;background:#f5efdf;border:1px solid #a18a60;border-radius:10px;grid-template-columns:1fr 1fr;gap:13px 20px;width:270px;padding:18px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 30px #18343866}.icon-legend-content>strong,.icon-legend-content>small{grid-column:1/-1;font-size:14px}.icon-legend-content>span{align-items:center;gap:10px;font-size:16px;display:flex}.icon-legend-content>small{color:#74745f;line-height:1.6}.wide-col-right .player-board.compact .compact-head{flex-wrap:nowrap;padding:10px}.wide-col-right .compact-head>.color-dot,.wide-col-right .compact-head>.turn-hourglass{display:none}.wide-col-right .compact-head .head-money{white-space:nowrap;flex:none;padding:4px 7px}.wide-col-right .compact-head .discard-open-btn{flex:none;min-height:28px;padding:3px 6px}.wide-col-right .player-metrics{padding:8px 6px}.inventory-cost small{font-size:13px}.hand-bar.overlay .hand-card[data-region]{border:2px solid var(--city-color);background:var(--city-pale)}.hand-bar.overlay .hand-card[data-region] .hand-card-name{box-sizing:border-box;background:var(--city-color);color:var(--city-text);border-radius:4px;padding:3px;font-weight:650}.hand-bar.overlay .hand-card[data-region] .hand-card-kind{background:var(--city-color);color:var(--city-text)}.city-region-key i{border:1px solid #b8a779;border-radius:3px;width:22px;height:14px;display:block}.icon-legend-content{max-height:70vh;overflow-y:auto}.card-city-focus{filter:drop-shadow(0 0 25px #f9de9a)}.wide-col-left .player-board.compact .compact-head{flex-wrap:nowrap}.wide-col-left .compact-head>.color-dot,.wide-col-left .compact-head>.ai-badge,.wide-col-left .compact-head>.turn-hourglass{display:none}.wide-col-left .player-board.compact .compact-head .player-name{white-space:nowrap;text-overflow:ellipsis;flex:1 1 0;overflow:hidden}.wide-col-left .compact-head .head-money,.wide-col-left .compact-head .discard-open-btn{flex:none}.wide-col-left .compact-round-acts{scrollbar-width:thin;max-height:46px;overflow-y:auto}@media (width>=701px) and (height<=900px){.game-screen.wide{height:auto;min-height:100dvh;overflow:visible}.game-screen.wide .wide-grid{flex:none}.wide-center{height:640px}.wide-col-right{max-height:640px}}.game-screen.wide.map-first{--sidebar-width:288px;--hand-height:112px;gap:6px;height:100dvh;min-height:0;padding:6px 8px 8px;overflow:hidden}.game-screen.wide.map-first .wide-topline{border:0;flex:none;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand tools""actions actions";gap:4px 10px;padding:0}.game-screen.wide.map-first .wide-topline-left{flex-wrap:nowrap;align-items:center;gap:9px}.game-screen.wide.map-first .app-brand{white-space:nowrap;font-size:20px}.game-screen.wide.map-first .app-brand span{margin-left:6px;font-size:12px}.game-screen.wide.map-first .game-room-code{letter-spacing:.06em;white-space:nowrap;font-size:11px}.game-screen.wide.map-first .era-round{white-space:nowrap;font-size:13px}.game-screen.wide.map-first .wide-util-row{flex-wrap:nowrap;gap:4px}.game-screen.wide.map-first .wide-util-row .btn-ghost,.game-screen.wide.map-first .wide-topline-left .btn-ghost{border-radius:5px;min-height:25px;padding:2px 7px;font-size:12px}.game-screen.wide.map-first .top-action-bar{z-index:45;border-radius:6px;margin:0;padding:4px 7px;position:relative}.game-screen.wide.map-first .top-action-details{background:#213b3f;border:1px solid #9f8b63;border-radius:6px;max-height:34vh;padding:7px 10px;position:absolute;top:calc(100% + 3px);left:0;right:0;overflow:auto;box-shadow:0 5px 15px #07191c99}.game-screen.wide.map-first .top-action-details:empty{display:none}.game-screen.wide.map-first .top-action-row{align-items:center;gap:5px;min-height:27px}.game-screen.wide.map-first .top-action-row>button{border-radius:4px;min-width:44px;min-height:26px;padding:3px 9px;font-size:13px}.game-screen.wide.map-first .top-action-hint{font-size:13px;line-height:1.4}.game-screen.wide.map-first .choose-card-hint{color:#c6c9b8;background:0 0;border:0;margin:0 0 0 7px;padding:0;font-size:12px}.game-screen.wide.map-first .action-money{font-size:19px}.game-screen.wide.map-first .action-choices{gap:4px;margin-top:4px;font-size:12px}.game-screen.wide.map-first .action-choices button{min-height:25px;padding:3px 7px;font-size:12px}.game-screen.wide.map-first .action-preview{margin:3px 0 0;font-size:12px}.game-screen.wide.map-first .wide-grid{grid-template-columns:minmax(0,1fr) var(--sidebar-width);flex:1 1 0;gap:8px;min-height:0;display:grid}.game-screen.wide.map-first .wide-grid .wide-center{box-sizing:border-box;height:100%;min-height:0;padding-bottom:var(--hand-height);flex-direction:column;gap:0;display:flex;position:relative}.game-screen.wide.map-first .map-panel{border-radius:8px;flex:1 1 0;min-height:0;margin:0}.game-screen.wide.map-first .map-toolbar{box-sizing:border-box;border-radius:7px 7px 0 0;gap:8px;min-height:26px;padding:3px 8px}.game-screen.wide.map-first .map-caption{font-size:12px}.game-screen.wide.map-first .map-legend{gap:4px;font-size:11px}.game-screen.wide.map-first .market-popover,.game-screen.wide.map-first .icon-legend-popover{font-size:12px}.game-screen.wide.map-first .market-popover summary,.game-screen.wide.map-first .icon-legend-popover summary{padding:2px 5px}.game-screen.wide.map-first .deck-count{font-size:11px}.game-screen.wide.map-first .map-zoom button{min-height:22px;padding:1px 6px;font-size:12px}.game-screen.wide.map-first .map-panel .board-wrap{scrollbar-gutter:stable;overscroll-behavior:contain;background:#172f34;border-radius:0 0 7px 7px;flex:1 1 0;min-height:0;max-height:none}.game-screen.wide.map-first .board-canvas{margin:0}.game-screen.wide.map-first .ai-thinking{z-index:25;pointer-events:none;margin:0;padding:3px 8px;font-size:12px;position:absolute;top:33px;left:8px}.game-screen.wide.map-first .player-sidebar{flex-direction:column;gap:5px;height:100%;min-height:0;max-height:100%;display:flex;overflow:auto}.sidebar-title{color:#d1d9c8;z-index:3;background:#182e33;justify-content:space-between;align-items:center;gap:5px;padding:2px 3px;font-size:12px;display:flex;position:sticky;top:0}.sidebar-title button{color:#e4ddc2;background:#284248;border:1px solid #778170;border-radius:4px;min-height:22px;padding:1px 6px;font-size:11px}.player-overview{flex-direction:column;gap:4px;display:flex}.player-summary{text-align:left;border:1px solid #566b61;border-left:3px solid var(--player-color);color:#dbe2d4;background:#1c373d;border-radius:6px;flex-direction:column;gap:2px;width:100%;min-height:0;padding:4px 7px;line-height:1.1;display:flex}.player-summary[aria-pressed=true]{border-color:#d4b875;border-left-color:var(--player-color);background:#304b4b}.player-summary.current .summary-rank{background:var(--player-color);color:#162f34}.summary-main{align-items:center;gap:5px;width:100%;font-size:13px;display:flex}.summary-rank{border:1px solid var(--player-color);border-radius:50%;flex:none;place-items:center;width:17px;height:17px;font-size:11px;display:grid}.summary-main>strong{text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:550;overflow:hidden}.summary-money{color:#f0d18a;flex:none;font-size:15px}.summary-stats{color:#bbcabf;align-items:center;gap:12px;font-size:11px;display:flex}.summary-stats em{color:#e7c47c;margin-left:auto;font-size:10px;font-style:normal}.summary-industries{grid-template-columns:repeat(6,1fr);gap:3px;width:100%;display:grid}.summary-industries>span{align-items:center;gap:3px;min-width:0;display:flex}.summary-industries b{color:#efe1bd;font:11px Georgia,serif}.sidebar-tree-heading{color:#e2cc98;flex-direction:column;gap:2px;padding:3px 3px 1px;font-size:12px;display:flex}.sidebar-tree-heading small{color:#9dad9c;font-size:10px}.sidebar-detail[hidden]{display:none}.sidebar-detail .player-board.compact{box-shadow:none;border-color:#61766a;border-radius:6px}.sidebar-detail .player-board.compact .compact-head{flex-wrap:nowrap;gap:5px;min-height:23px;padding:3px 6px}.sidebar-detail .compact-head .compact-rank,.sidebar-detail .compact-head .color-dot,.sidebar-detail .compact-head .turn-hourglass,.sidebar-detail .compact-head .ai-badge,.sidebar-detail .compact-head .head-money{display:none}.sidebar-detail .player-board.compact .compact-head .player-name{font-size:12px}.sidebar-detail .compact-head .discard-open-btn{min-height:21px;padding:1px 5px;font-size:11px}.sidebar-detail .player-metrics,.sidebar-detail .compact-round,.sidebar-detail .inventory-drawer>summary{display:none}.sidebar-detail .player-board.compact .board-stack{padding:4px}.sidebar-detail .illustrated-inventory{gap:4px}.sidebar-detail .inventory-industry{border-radius:5px;gap:6px;min-height:0;padding:5px}.sidebar-detail .inventory-art{border-radius:4px;flex:0 0 44px;width:44px;height:54px}.sidebar-detail .inventory-art>span{width:19px;height:19px;bottom:1px;left:1px}.sidebar-detail .inventory-info{gap:3px;line-height:1.15}.sidebar-detail .inventory-title{line-height:1.15}.sidebar-detail .inventory-title strong{font-size:13px}.sidebar-detail .inventory-title>span{font-size:12px}.sidebar-detail .inventory-cost{gap:5px;font-size:12px;line-height:1.15}.sidebar-detail .inventory-cost>b{font-size:14px}.sidebar-detail .inventory-cost small{display:none}.sidebar-detail .inventory-levels{flex-wrap:nowrap;gap:2px}.sidebar-detail .inventory-levels>:is(span,button){flex:1;min-width:0;height:17px;padding:0 1px;font-size:11px}.sidebar-detail .inventory-levels sup{margin-left:1px;font-size:10px}.sidebar-detail .develop-bin{height:20px;margin-bottom:4px}.sidebar-detail .develop-bin:after{font-size:10px}.sidebar-detail .develop-bin svg{width:13px;height:13px}.sidebar-detail:not(:has(.inventory-art[style])) .develop-bin{display:none}.player-sidebar>.resource-market{border-radius:6px;margin-top:3px;padding:8px}.player-sidebar .resource-market h3{margin-bottom:7px;font-size:12px}.player-sidebar .market-section header{margin-bottom:4px}.player-sidebar .market-section header>span{font-size:12px}.player-sidebar .market-section header small{font-size:11px}.player-sidebar .market-section+.market-section{margin-top:9px}.player-sidebar .market-prices>div{gap:4px;padding:3px 0}.player-sidebar .market-prices b{font-size:12px}.game-screen.wide.map-first .hand-bar.overlay{left:8px;right:calc(var(--sidebar-width) + 16px);height:105px;box-shadow:none;box-sizing:border-box;background:#17353bef;border:1px solid #8e805f;border-radius:7px;padding:3px 4px;position:fixed;bottom:7px}.game-screen.wide.map-first .hand-bar.overlay .hand-select-hint{display:none}.game-screen.wide.map-first .hand-bar.overlay .own-hand{justify-content:stretch;align-items:stretch;gap:6px;width:100%;height:100%;padding:0;display:flex;overflow-x:auto}.game-screen.wide.map-first .hand-bar.overlay .hand-card{border-radius:5px;flex:1 1 0;width:auto;min-width:80px;max-width:none;margin:0;padding:3px}.game-screen.wide.map-first .hand-bar.overlay .hand-card-art{border-radius:3px;width:100%;height:61px}.game-screen.wide.map-first .hand-bar.overlay .hand-card-name{height:29px;font-size:13px;line-height:1.15}.game-screen.wide.map-first .hand-bar.overlay .hand-card-kind{padding:1px 4px;font-size:10px;top:5px;left:5px}@media (width<=1100px){.game-screen.wide.map-first{--sidebar-width:260px}.game-screen.wide.map-first .wide-topline-left{gap:6px}.game-screen.wide.map-first .app-brand span{display:none}.game-screen.wide.map-first .wide-util-row .btn-ghost{padding:2px 5px;font-size:11px}.game-screen.wide.map-first .map-legend,.game-screen.wide.map-first .map-caption{display:none}.sidebar-detail .inventory-art{flex-basis:36px;width:36px}}@media (width>=701px) and (height<=760px){.game-screen.wide.map-first{--hand-height:89px}.game-screen.wide.map-first .hand-bar.overlay{height:82px}.game-screen.wide.map-first .hand-bar.overlay .hand-card-art{height:39px}}@media (width<=700px){.game-screen.wide.map-first{height:auto;min-height:100dvh;padding-bottom:115px;overflow:visible}.game-screen.wide.map-first .wide-topline{grid-template-columns:1fr;grid-template-areas:"brand""tools""actions"}.game-screen.wide.map-first .wide-grid{grid-template-columns:1fr}.game-screen.wide.map-first .wide-grid .wide-center{height:560px;padding-bottom:0}.game-screen.wide.map-first .player-sidebar{height:auto;max-height:none}.game-screen.wide.map-first .hand-bar.overlay{right:8px}.game-screen.wide.map-first .hand-bar.overlay .hand-card{flex:0 0 100px}}.game-screen.wide.map-first{background:radial-gradient(at 50% 0,#343932,#202627 70%)}.game-screen.wide.map-first .top-action-bar{background:#292f2f;border-color:#79735f}.game-screen.wide.map-first .top-action-details{background:#2b302e;border-color:#a39774}.game-screen.wide.map-first .map-toolbar{color:#e4d9b9;background:#282e2e;border-bottom-color:#85816b}.game-screen.wide.map-first .map-legend,.game-screen.wide.map-first .deck-count{color:#c9c6b3}.game-screen.wide.map-first .market-popover,.game-screen.wide.map-first .icon-legend-popover{color:#e4d9b9}.game-screen.wide.map-first .icon-legend-content{color:#2c3933}.game-screen.wide.map-first .resource-market h3{color:#314339}.game-screen.wide.map-first .map-zoom button{color:#e3d6b2;background:#353a36;border-color:#79735d}.game-screen.wide.map-first .sidebar-title{background:#282f2e}.game-screen.wide.map-first .player-summary{background:#292f2f;border-top-color:#696c5c;border-bottom-color:#696c5c;border-right-color:#696c5c}.game-screen.wide.map-first .player-summary[aria-pressed=true]{border-color:#c4b179;border-left-color:var(--player-color);background:#45483d}.game-screen.wide.map-first .player-board.compact{background:#292f2f}.game-screen.wide.map-first .hand-bar.overlay{background:#242d2c}.game-screen.wide.map-first .hand-bar.overlay .hand-card:not([data-region]){color:#f1e4c8;background:#34382f;border-color:#9a8e6d}.inventory-art{box-sizing:border-box;background:linear-gradient(135deg,#34372e,#222827);border:1px solid #9e977e}.inventory-art>img{object-fit:contain;box-sizing:border-box;padding:2px}.inventory-art>span{display:none}.industry-icon,.resource-icon{object-fit:contain;vertical-align:middle;flex:none;display:inline-block}.market-prices i{background:0 0;border:0;justify-content:center;align-items:center;width:13px;height:13px;display:flex}.market-prices i .resource-icon{opacity:.14;width:13px;height:13px}.market-prices i.filled,.iron .market-prices i.filled{box-shadow:none;background:0 0;border:0}.market-prices i.filled .resource-icon{opacity:1}.empty-industry-slot image{filter:drop-shadow(0 1px 1px #0009)}.hand-industry-symbols{pointer-events:none;filter:drop-shadow(0 1px 2px #000);gap:3px;display:flex;position:absolute;top:22px;right:7px}.hand-industry-symbols img{width:34px;height:34px}.top-action-details .action-choices button{align-items:center;gap:4px;display:inline-flex}.game-screen.wide.map-first .hand-dock{left:8px;right:calc(var(--sidebar-width) + 16px);z-index:30;grid-template-columns:minmax(0,1fr) 286px;gap:8px;min-width:0;height:105px;display:grid;position:fixed;bottom:7px}.game-screen.wide.map-first .hand-dock .hand-bar.overlay{width:auto;min-width:0;height:100%;padding:3px 4px;position:static;bottom:auto;left:auto;right:auto}.game-screen.wide.map-first .hand-dock .hand-bar.overlay .hand-card{gap:2px;min-width:80px;padding:2px}.game-screen.wide.map-first .hand-dock .hand-bar.overlay .hand-card-art{object-fit:contain;object-position:center;flex:1 1 0;height:auto;min-height:0}.hand-bar.overlay .hand-card-art.hand-preview-image{object-fit:contain;object-position:center}.game-screen.wide.map-first .hand-dock .hand-bar.overlay .hand-card-name{box-sizing:border-box;flex:0 0 27px;width:100%;height:27px;min-height:0;font-size:13px}.game-screen.wide.map-first .hand-dock .hand-bar.overlay .hand-card-kind{display:none}.game-screen.wide.map-first .hand-dock .hand-bar.overlay .wild-badge{padding:1px 3px;font-size:9px}.game-screen.wide.map-first .hand-dock .dock-market{box-sizing:border-box;background:#e8dfca;border-radius:7px;width:100%;min-width:0;height:100%;margin:0;padding:5px 7px;overflow:hidden}.game-screen.wide.map-first .hand-dock .dock-market h3{height:auto;min-height:0;margin:0 0 3px;font-size:12px;line-height:14px}.game-screen.wide.map-first .hand-dock .dock-market h3:after{display:none}.game-screen.wide.map-first .hand-dock .market-section{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:5px;margin:0;display:grid}.game-screen.wide.map-first .hand-dock .market-section+.market-section{margin-top:4px}.game-screen.wide.map-first .hand-dock .market-section header{flex-direction:column;justify-content:center;align-items:flex-start;gap:0;margin:0;display:flex}.game-screen.wide.map-first .hand-dock .market-section header>span{gap:2px;font-size:11px;line-height:16px}.game-screen.wide.map-first .hand-dock .market-section header .resource-icon{width:14px;height:14px}.game-screen.wide.map-first .hand-dock .market-section header small{white-space:nowrap;font-size:9px;line-height:12px}.game-screen.wide.map-first .hand-dock .market-prices{gap:3px}.game-screen.wide.map-first .hand-dock .market-prices>div{border-radius:3px;gap:1px;min-width:0;padding:2px 0}.game-screen.wide.map-first .hand-dock .market-prices b{font:11px/12px Georgia,serif}.game-screen.wide.map-first .hand-dock .market-prices>div>span{gap:1px}.game-screen.wide.map-first .hand-dock .market-prices i,.game-screen.wide.map-first .hand-dock .market-prices i .resource-icon{width:11px;height:11px}@media (width>=701px) and (height<=760px){.game-screen.wide.map-first .hand-dock{height:82px}.game-screen.wide.map-first .hand-dock .dock-market{padding:3px 6px}.game-screen.wide.map-first .hand-dock .dock-market h3{margin-bottom:1px;font-size:11px;line-height:12px}.game-screen.wide.map-first .hand-dock .market-section+.market-section{margin-top:1px}.game-screen.wide.map-first .hand-dock .market-prices>div{padding:1px 0}.game-screen.wide.map-first .hand-dock .hand-bar.overlay .hand-card-name{flex-basis:29px;height:29px;padding:0 2px;font-size:12px;line-height:13px}}@media (width<=1100px){.game-screen.wide.map-first .hand-dock{grid-template-columns:minmax(0,1fr) 244px}}@media (width<=700px){.game-screen.wide.map-first .hand-dock{grid-template-columns:minmax(0,1fr) 220px;right:8px}.game-screen.wide.map-first .hand-dock .market-section{grid-template-columns:33px minmax(0,1fr);gap:3px}.game-screen.wide.map-first .hand-dock .market-prices i,.game-screen.wide.map-first .hand-dock .market-prices i .resource-icon{width:8px;height:8px}.game-screen.wide.map-first .hand-dock .market-prices{gap:2px}}.turn-status{box-sizing:border-box;color:#e3edf0;white-space:nowrap;background:#233b44;border:1px solid #758d9b;border-radius:5px;align-items:center;gap:7px;min-height:25px;padding:3px 10px;font-size:12px;display:inline-flex;position:relative}.turn-status.own{color:#292c25;background:#e5c66c;border-color:#ffedaf;box-shadow:0 0 12px #e5c66c65}.turn-status.urgent{color:#fff0d4;background:#7a332c;border-color:#f0a07d}.turn-status-dot{background:currentColor;border-radius:50%;flex:none;width:7px;height:7px}.turn-status.own .turn-status-dot{animation:1.7s ease-in-out infinite turn-breathe}.action-countdown{text-align:center;min-width:35px;font:700 15px/1.1 Georgia,serif}.action-clock-track{border-radius:0 0 5px 5px;height:2px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.action-clock-track i{opacity:.75;background:currentColor;height:100%;display:block}.turn-arrival-notice{z-index:65;color:#252a25;text-align:center;pointer-events:none;background:#e2c36bf5;border:2px solid #ffe4a1;border-radius:8px;max-width:calc(100vw - 50px);padding:13px 27px;font-size:19px;font-weight:700;animation:.3s ease-out turn-arrive;position:fixed;top:87px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #09191cb3,0 0 18px #e8ce7055}.game-screen.wide.map-first .player-summary.current{background:#3c463b;border-color:#ead080;box-shadow:inset 0 0 0 1px #ead080,0 0 9px #e3bc6444}.player-summary.current .summary-stats em{color:#2b3028;background:#e6c670;border-radius:3px;padding:1px 6px;font-style:normal;font-weight:700}.game-screen .prefs-modal{width:min(580px,100vw - 40px);max-height:85vh;overflow:auto}.pref-sound-help{align-items:center;gap:12px;margin:0 0 16px;display:flex}.pref-sound-help button{padding:5px 12px;font-size:13px}.pref-sound-help small{color:#c8cbb8}.pref-timer-section{border-top:1px solid #686652;border-bottom:1px solid #686652;margin-bottom:14px;padding:14px 0}.pref-timer-section label{margin-right:20px;font-size:15px;font-weight:600}.pref-timer-section label span{color:#c5b88a;margin-left:6px;font-size:11px}.pref-timer-section select{color:#eee0ba;background:#243a3b;border:1px solid #af9a65;border-radius:4px;min-width:120px;padding:6px 10px;font-size:14px}.pref-timer-section p{color:#c6c9b7;margin:9px 0 0;font-size:12px;line-height:1.6}@keyframes turn-breathe{50%{opacity:.35}}@keyframes turn-arrive{0%{translate:0 -8px}to{translate:0}}@media (width<=1250px){.game-screen.wide.map-first .wide-topline-left{gap:5px}.turn-status{gap:4px;padding:3px 6px;font-size:11px}}@media (prefers-reduced-motion:reduce){.turn-status-dot,.turn-arrival-notice{animation:none!important}}.turn-overtime-badge{color:#cfceb9;font-size:11px}.turn-overtime-badge.active{color:#fff0c4;background:#7b421c;border:1px solid #e0ae4c;border-radius:4px;padding:2px 5px}.pref-timer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0;display:grid}.pref-timer-grid label{flex-direction:column;gap:5px;font-size:13px;display:flex}.pref-timer-grid input{box-sizing:border-box;width:100%;min-width:0}@media (width<=600px){.pref-timer-grid{grid-template-columns:1fr}}.log-total-time{flex-basis:100%;color:#e1ce97!important}.log-round-time{color:#bdcbd0;margin:2px 0 5px;font-size:12px;display:block}.transport-legend>span{align-items:center;gap:4px;display:inline-flex}.transport-legend i{border-color:#6eafbd;display:inline-block}.transport-legend i.rail{box-sizing:border-box;background:repeating-linear-gradient(90deg,#18232f 0 5px,#fff2d8 5px 8px);border:1px solid #fff2d8;border-radius:2px;height:5px}.transport-legend i.dual{border:0;height:9px;position:relative}.transport-legend i.dual:before,.transport-legend i.dual:after{content:"";border-top:2px solid #6eafbd;position:absolute;top:1px;left:0;right:0}.transport-legend i.dual:after{box-sizing:border-box;background:repeating-linear-gradient(90deg,#18232f 0 5px,#fff2d8 5px 8px);border:1px solid #fff2d8;border-radius:1px;height:4px;top:5px}.inventory-score-info{color:#4b5846;flex-wrap:wrap;align-items:center;gap:3px 8px;font-size:11px;line-height:1.2;display:flex}.inventory-score-info>span{white-space:nowrap;align-items:center;gap:2px;display:inline-flex}.inventory-score-info .score-icon{flex:none;width:12px;height:12px}.player-seat-id{border:1px solid var(--player-color);color:#f6ebc9;background:#1b2d2c;border-radius:3px;padding:2px 3px;font:700 10px/1.2 Arial,sans-serif}.building-score-strip text,.board-svg .building-owner text{font-family:Arial,sans-serif}.icon-legend-content .score-icon{color:#815e2d;flex:none}@media (width<=1100px){.game-screen.wide.map-first .map-legend.transport-legend{display:inline-flex}}.game-screen .action-log-modal{box-sizing:border-box;flex-direction:column;height:min(88dvh,960px);min-height:0;max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.action-log-modal>.score-modal-head{flex:none}.action-log-scroll{scrollbar-gutter:stable;overscroll-behavior:contain;scrollbar-color:#bba474 #183237;flex:1 1 0;min-height:0;padding-right:5px;overflow:auto}.action-log-scroll:focus-visible{outline-offset:-1px;outline:1px solid #cdb374}.action-log-scroll .discard-columns,.action-log-scroll .discard-col{height:auto;min-height:0;max-height:none;overflow:visible}.action-log-scroll .action-log-history{max-height:none;overflow:visible}.action-log-navigation{border-top:1px solid #6a725c;flex:none;align-items:center;gap:8px;margin-top:8px;padding-top:10px;display:flex}.action-log-navigation>span{color:#b8c1ae;flex:1;font-size:12px}.action-log-navigation button{min-height:28px;padding:5px 12px;font-size:13px}.game-screen .modal-backdrop{z-index:100}.action-log-cash-help{color:#d3c5a9;margin:0 0 12px;font-size:12px;line-height:1.5}.action-log-modal .compact-history-act{white-space:normal;flex-wrap:wrap;gap:3px 7px;display:flex}.action-cash-details{flex-wrap:wrap;gap:4px 10px;width:100%;font-size:12px;font-style:normal;line-height:1.4;display:flex}.cash-spent{color:#f0ac90}.cash-gained{color:#a6d5aa}.round-cash-summary{color:#d5dccb;background:#122c30;border:1px solid #6a725c;border-radius:4px;flex-direction:column;gap:4px;margin:7px 0 12px;padding:7px 8px;font-size:12px;line-height:1.5;display:flex}.round-cash-summary .round-income-line{color:#d8c48e}.round-cash-summary strong{color:#f3e5ba;font-weight:600}.map-panel{position:relative}.map-panel>.action-spotlight-banner,.map-panel>.round-banner{z-index:30;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;border-radius:6px;width:max-content;max-width:calc(100% - 20px);padding:8px 12px;line-height:1.5;position:absolute;top:38px;left:10px;right:auto;transform:none;box-shadow:0 4px 14px #07191c88}.map-panel>.action-spotlight-banner{align-items:flex-start;font-size:14px}.spotlight-message{min-width:0;max-width:520px}.map-panel>.round-banner{letter-spacing:.04em;font-size:16px}.board-svg .link-hl-chip text{font-family:Arial,sans-serif}.link-hl-chip:focus-visible{outline:2px solid #fff0cf}.income-track-modal{box-sizing:border-box;width:min(760px,100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}.income-track-modal p{color:#cbd1bd;font-size:13px;line-height:1.6}.income-track-axis{height:40px;margin:22px 20px 7px;position:relative}.income-track-axis>span{text-align:center;white-space:nowrap;color:#e6d5a8;font-size:12px;position:absolute;transform:translate(-50%)}.income-track-axis small{color:#a4b3a7;display:block}.income-player-row{border-top:1px solid #53645b;padding:10px 0}.income-player-row header{flex-wrap:wrap;align-items:center;gap:7px;font-size:13px;display:flex}.income-player-row header strong{flex:1;min-width:100px}.income-seat{border-radius:3px;padding:2px 4px;font:700 12px Arial,sans-serif}.income-player-lane{background:repeating-linear-gradient(90deg,#a99a7144 0 1px,#0000 1px 1%);border-block:1px solid #77816b;height:24px;margin:15px 20px 2px;position:relative}.income-player-marker{box-sizing:border-box;border:1px solid #fff0cf;border-radius:4px;place-items:center;min-width:28px;height:24px;font:800 12px Arial,sans-serif;display:grid;position:absolute;top:0;transform:translate(-50%);box-shadow:0 2px 5px #091b1c99}.income-track-help{margin-bottom:0}.build-choice-backdrop{z-index:81;position:fixed;inset:0}.build-choice-popup{z-index:82;box-sizing:border-box;color:#f5e5bd;background:#223a3e;border:1px solid #d9c081;border-radius:7px;max-height:calc(100dvh - 24px);padding:10px;position:fixed;overflow:auto;box-shadow:0 6px 25px #07191cb3}.build-choice-popup header{align-items:center;gap:7px;font-size:13px;display:flex}.build-choice-popup header strong{flex:1}.build-choice-popup header button{padding:2px 7px}.build-choice-popup p{color:#c5cebc;margin:8px 0;font-size:12px}.build-choice-popup>button{color:#f1e6ca;background:#30484b;border:1px solid #87927a;border-radius:4px;align-items:center;gap:7px;width:100%;margin-top:5px;padding:6px;font-size:13px;display:flex}.build-choice-popup>button span{margin-left:auto;font-size:12px}.network-selection-help{color:#f1dca4;flex-wrap:wrap;gap:5px 12px;font-size:13px;display:flex}.network-selection-help small{color:#c7d0bd;width:100%;font-size:12px}.inventory-output{color:#50604c;margin:2px 0;font-size:11px;line-height:1.4;display:block}.sell-multiple-help{color:#dacb9e;margin:2px 0 5px;font-size:12px;line-height:1.5}.action-log-modal .discard-columns{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}.action-log-table{min-width:calc(var(--log-columns) * 226px);white-space:normal}.action-log-player-heads,.action-log-history-grid,.action-log-card-grid{grid-template-columns:repeat(var(--log-columns),minmax(0,1fr));gap:12px;display:grid}.action-log-player-heads{z-index:3;background:#183237;border-bottom:2px solid #b39c63;margin-bottom:10px;padding:9px 0;position:sticky;top:0}.action-log-player-heads .discard-col-head{background:#183237;flex-wrap:wrap;align-items:center;gap:5px;margin:0;padding:0 5px;display:flex}.action-log-player-heads small{color:#c9c9b5;font-size:11px;font-weight:400}.action-log-player-history{min-width:0;padding:0 5px}.action-log-player-history .compact-history-act{border-bottom:1px dashed #52635b;padding:6px 0}.action-log-table.log-grouped .compact-history-round{background:#1c3435;border:1px solid #52635b;border-radius:5px;margin-bottom:12px;padding:8px}.action-log-played-section{border-top:2px solid #8b825e;margin-top:16px;padding-top:10px}.action-log-played-section h4{color:#e4d2a5;margin:0 0 12px}.action-log-played-section h4 small{margin-left:10px;font-size:11px;font-weight:400}.action-log-player-cards{min-width:0;padding:0 5px}.action-log-player-cards .discard-cards{overflow:visible}.sell-multiple-shortcut{font-weight:700;color:#ffe2a0!important;background:#3b4e38!important;border-color:#d0af63!important}.board-svg .board-image{filter:saturate(.52)contrast(.74)brightness(1.04)}.transport-legend i:not(.rail):not(.dual){border-color:#174e64}.game-screen.wide.map-first .player-sidebar{gap:4px}.player-sidebar .sidebar-title{min-height:22px;padding:0 2px}.player-sidebar .player-overview{gap:3px}.player-sidebar .player-summary{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main main""stats industries";gap:2px 4px;padding:3px 5px;display:grid}.player-sidebar .summary-main{grid-area:main;gap:4px;min-height:17px;font-size:12px}.player-sidebar .summary-rank{width:14px;height:14px;font-size:10px}.player-sidebar .summary-money{font-size:14px}.summary-spent{color:#bdcab8;white-space:nowrap;font-size:10px}.summary-acting{color:#ffe298;white-space:nowrap;font-size:9px;font-style:normal}.player-sidebar .summary-stats{white-space:nowrap;grid-area:stats;align-items:center;gap:5px;font-size:10px}.player-sidebar .summary-industries{grid-area:industries;grid-template-columns:repeat(6,auto);align-items:center;gap:3px}.player-sidebar .summary-industries>span{gap:1px}.player-sidebar .summary-industries img{width:12px!important;height:12px!important}.player-sidebar .summary-industries b{font-size:9px}.player-sidebar .sidebar-tree-heading{display:none}.player-sidebar .sidebar-detail .compact-head{min-height:20px;padding:2px 5px}.player-sidebar .sidebar-detail .board-stack{padding:3px}.player-sidebar .sidebar-detail .illustrated-inventory{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.player-sidebar .sidebar-detail .inventory-industry{grid-template-columns:28px minmax(0,1fr);align-content:start;align-items:start;gap:2px 4px;padding:4px;display:grid}.player-sidebar .sidebar-detail .inventory-art{grid-area:1/1/3;width:28px;height:31px}.player-sidebar .sidebar-detail .inventory-info{display:contents}.player-sidebar .sidebar-detail .inventory-title{grid-column:2;gap:2px;line-height:14px}.player-sidebar .sidebar-detail .inventory-title strong{font-size:12px}.player-sidebar .sidebar-detail .inventory-title>span{white-space:nowrap;font-size:10px}.player-sidebar .sidebar-detail .inventory-cost{grid-column:2;gap:3px;font-size:11px;line-height:13px}.player-sidebar .sidebar-detail .inventory-cost>b{font-size:12px}.player-sidebar .sidebar-detail .inventory-cost img{width:12px;height:12px}.player-sidebar .sidebar-detail .inventory-score-info{grid-column:1/-1;gap:3px 5px;font-size:10px;line-height:12px}.player-sidebar .sidebar-detail .inventory-score-info .score-icon{width:10px;height:10px}.player-sidebar .sidebar-detail .inventory-output{grid-column:1/-1;margin:0;font-size:10px;line-height:12px}.player-sidebar .sidebar-detail .inventory-levels{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;display:grid}.player-sidebar .sidebar-detail .inventory-levels>:is(span,button){min-width:0;height:15px;padding:0 1px;font-size:10px}.player-sidebar .sidebar-detail .inventory-levels sup{font-size:9px}.player-sidebar .sidebar-detail .develop-bin{height:18px;margin-bottom:3px}@media (height<=700px){.player-sidebar .player-summary{gap:1px 4px;padding:2px 5px}.player-sidebar .sidebar-detail .inventory-industry{row-gap:1px;padding:3px}}@media (width>=1550px) and (height>=701px){.game-screen.wide.map-first{--sidebar-width:320px}}@media (width>=1550px) and (height>=900px){.player-sidebar .sidebar-detail .inventory-industry{grid-template-columns:40px minmax(0,1fr);gap:4px;padding:6px}.player-sidebar .sidebar-detail .inventory-art{width:40px;height:46px}.player-sidebar .sidebar-detail .inventory-title strong{font-size:13px}.player-sidebar .sidebar-detail .inventory-cost>b{font-size:14px}.player-sidebar .sidebar-detail .inventory-score-info,.player-sidebar .sidebar-detail .inventory-output{font-size:11px;line-height:14px}.player-sidebar .sidebar-detail .inventory-levels>:is(span,button){height:18px;font-size:11px}}@media (width>=701px){.game-screen.wide.map-first .player-sidebar{container:sidebar-readability/size}.player-sidebar .player-overview{--sidebar-player-count:4;--sidebar-details-reserve:432px;flex:none}.player-sidebar .player-overview:has(>.player-summary:nth-child(3):last-child){--sidebar-player-count:3}.player-sidebar .player-overview:has(>.player-summary:nth-child(2):last-child){--sidebar-player-count:2}}@media (width>=1550px) and (height>=900px){.player-sidebar .player-overview{--sidebar-details-reserve:534px}}@container sidebar-readability (height>=610px){.player-sidebar .player-summary{min-height:clamp(46px,calc((100cqh - var(--sidebar-details-reserve)) / var(--sidebar-player-count)),128px);align-content:space-between;row-gap:3px;padding:4px 6px}.player-sidebar .summary-main{min-height:20px;font-size:13px}.player-sidebar .summary-money{font-size:18px}.player-sidebar .summary-stats,.player-sidebar .summary-spent{font-size:11px}.player-sidebar .summary-industries img{width:13px!important;height:13px!important}.player-sidebar .summary-industries b{font-size:10px}}@container sidebar-readability (height>=625px){.player-sidebar :where(.player-overview:not(:has(>.player-summary:nth-child(4)))) .player-summary{grid-template-areas:"main main""stats stats""industries industries"}.player-sidebar :where(.player-overview:not(:has(>.player-summary:nth-child(4)))) .summary-stats{font-size:12px}.player-sidebar :where(.player-overview:not(:has(>.player-summary:nth-child(4)))) .summary-industries{grid-template-columns:repeat(6,1fr)}.player-sidebar :where(.player-overview:not(:has(>.player-summary:nth-child(4)))) .summary-industries img{width:14px!important;height:14px!important}}@container sidebar-readability (height>=700px){.player-sidebar .player-summary{grid-template-areas:"main main""stats stats""industries industries"}.player-sidebar .summary-stats{font-size:12px}.player-sidebar .summary-industries{grid-template-columns:repeat(6,1fr)}.player-sidebar .summary-industries img{width:16px!important;height:16px!important}.player-sidebar .summary-industries b{font-size:11px}}@container sidebar-readability (height>=810px){.player-sidebar .player-summary{row-gap:clamp(3px,1.66667cqh - 10.5px,6px);padding:clamp(4px,3.33333cqh - 23px,8px) 7px}.player-sidebar .summary-main{font-size:clamp(13px,3.33333cqh - 14px,16px)}.player-sidebar .summary-money{font-size:clamp(18px,5cqh - 22.5px,24px)}.player-sidebar .summary-rank{width:18px;height:18px;font-size:12px}.player-sidebar .player-seat-id{font-size:12px}.player-sidebar .summary-stats{color:#d3dfd4;gap:10px;font-size:clamp(12px,1.66667cqh - 1.5px,14px)}.player-sidebar .summary-spent{font-size:12px}.player-sidebar .summary-acting{font-size:10px}.player-sidebar .summary-industries img{width:clamp(16px,5cqh - 24.5px,22px)!important;height:clamp(16px,5cqh - 24.5px,22px)!important}.player-sidebar .summary-industries b{font-size:clamp(11px,1.66667cqh - 2.5px,14px)}}.current-round-strip{box-sizing:border-box;color:#ddd8bd;background:#223130;border:1px solid #77806a;border-radius:6px;flex:none;gap:6px;min-width:0;height:72px;min-height:72px;margin-top:4px;padding:4px;display:flex}.current-round-strip>header{flex-direction:column;flex:0 0 78px;justify-content:center;gap:3px;padding:0 3px;font-size:11px;display:flex}.current-round-strip>header strong{color:#efda9e;font-size:12px}.current-round-strip>header button{color:#e9ddbc;background:#33403a;border:1px solid #7e826b;border-radius:3px;padding:2px 4px;font-size:10px}.current-round-players{flex:1;gap:5px;min-width:0;display:grid}.current-round-player{background:#152b2c;border-left:3px solid;border-radius:3px;grid-template-rows:14px 28px 12px;row-gap:1px;min-width:0;min-height:0;padding:2px 5px;display:grid}.current-round-player>header{align-items:center;gap:4px;min-width:0;font-size:11px;line-height:13px;display:flex}.current-round-player>header b{border-radius:2px;padding:1px 3px;font:700 9px/11px Arial,sans-serif}.current-round-player>header strong{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-weight:550;overflow:hidden}.current-round-status{color:#bdc9bb;white-space:nowrap;flex:none;font-size:10px;font-style:normal}.current-round-player.active,.current-round-player.confirm{outline-offset:-1px;background:#354031;outline:1px solid #e9ca76}.current-round-player.active .current-round-status,.current-round-player.confirm .current-round-status{color:#ffe5a0;font-weight:700}.current-round-player.done .current-round-status{color:#acd3ba}.current-round-actions{min-height:0;margin:0;font-size:11px;line-height:14px}.current-round-actions>span{align-items:center;gap:4px;min-width:0;display:flex}.current-round-actions>span>span{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.current-round-actions em{color:#e7cf95;flex:none;font-size:10px;font-style:normal}.current-round-pending{color:#9baea4}.current-round-player>footer{white-space:nowrap;text-overflow:ellipsis;color:#b4c6b6;font-size:10px;line-height:12px;overflow:hidden}@media (height<=700px){.current-round-strip{gap:4px;height:64px;min-height:64px;padding:3px}.current-round-strip>header{flex-basis:67px}.current-round-player{grid-template-rows:12px 24px 10px;padding:2px 4px}.current-round-actions{min-height:24px;margin:1px 0;font-size:10px;line-height:12px}.current-round-player>footer{font-size:9px;line-height:10px}.game-screen.wide.map-first .board-canvas{margin-inline:auto}}.saved-games{text-align:left;gap:10px;margin:0 0 18px}.saved-games-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;display:grid}.saved-game{background:#1b3032;border:1px solid #8f835b;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex}.saved-game>div{gap:5px;min-width:0;display:grid}.saved-game strong{color:#f2d68c;letter-spacing:1px}.saved-game span{color:#ced8ce;overflow-wrap:anywhere;font-size:13px}.saved-game button{white-space:nowrap}.color-picker{background:#1b3032;border:1px solid #8f835b;border-radius:7px;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;padding:10px;display:flex}.color-picker select{min-width:125px}.color-picker small{color:#bdcdbd;flex-basis:100%}.seat-color{align-items:center;gap:5px;margin-left:8px;font-size:12px;display:inline-flex}.seat-color i{border:1px solid #f2e1ba;border-radius:3px;width:14px;height:14px}.saved-game-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.room-notice{color:#e0dcc2;background:#263e37;border:1px solid #8c9d7e;border-radius:6px;padding:10px}.room-close-backdrop,.rulebook-backdrop{z-index:250}.room-close-modal{box-sizing:border-box;width:min(480px,100vw - 32px)}.room-close-modal p{font-size:14px;line-height:1.6}.room-close-modal>div{justify-content:flex-end;gap:10px;display:flex}.close-room-button{color:#e6bdab}.rulebook-modal{box-sizing:border-box;width:min(800px,100vw - 28px);max-height:calc(100dvh - 32px);overflow:auto}.rulebook-modal .score-modal-head{z-index:1;background:#213637;position:sticky;top:-1px}.rulebook-links{flex-wrap:wrap;gap:10px 20px;padding:12px 0;display:flex}.rulebook-modal a{color:#f2d88f}.rulebook-modal nav{border:1px solid #687d6c;border-radius:5px;flex-wrap:wrap;gap:8px 15px;padding:10px;display:flex}.rulebook-modal p{color:#d2ddcf;font-size:14px;line-height:1.75}.rulebook-modal h4{color:#f0d9a3;margin:18px 0 5px;font-size:16px}.rulebook-modal>section{scroll-margin-top:65px}.rulebook-modal,.room-close-modal{white-space:normal;overflow-wrap:anywhere}.map-panel>.action-spotlight-banner{background:#142d31f2;border-color:#d6bc7b;align-items:center;gap:7px;max-width:min(720px,100% - 20px);padding:3px 9px;font-size:13px;line-height:1.4;animation:2.8s ease-out both action-callout;top:auto;bottom:5px}.action-spotlight-banner .spotlight-message{white-space:nowrap;text-overflow:ellipsis;max-width:none;overflow:hidden}.action-spotlight-banner .industry-icon{width:26px;height:26px}.action-spotlight-banner .effect-coin{width:24px;height:24px;font-size:18px}.action-spotlight-banner svg{width:36px;height:24px}.action-effect-glyph{color:#f1d390;flex:none;justify-content:center;align-items:center;min-width:34px;display:flex}.effect-development{gap:2px;display:flex}.effect-development>span{display:flex;position:relative}.effect-development b{color:#f3ba90;text-shadow:0 1px 3px #000;font:900 22px Arial;position:absolute;bottom:-5px;right:-3px}.effect-coin{background:radial-gradient(circle at 35% 30%,#ba8d45,#593c21);border:2px solid #e0c274;border-radius:50%;place-items:center;width:32px;height:32px;font:700 24px Georgia;display:grid;box-shadow:inset 0 0 0 3px #221b1377}.effect-sale{color:#e2d292;font:900 30px Arial}.effect-sale small{font-size:15px}.effect-cards{width:42px;height:32px;display:block;position:relative}.effect-cards i{background:#2b4c5c;border:1px solid #dfcb8c;border-radius:3px;width:20px;height:27px;position:absolute;top:2px;left:3px;transform:rotate(-18deg)}.effect-cards i:nth-child(2){left:12px;transform:rotate(0)}.effect-cards i:nth-child(3){left:21px;transform:rotate(18deg)}.effect-cards b{color:#fff2bb;text-shadow:0 2px 3px #000;font:900 23px Arial;position:absolute;bottom:-7px;right:-2px}.action-effects-layer{isolation:isolate}.effect-tile-ring{transform-box:fill-box;transform-origin:50%;filter:drop-shadow(0 0 4px #fff3b7);animation:2.8s ease-out both action-tile-ring}.effect-building{transform-box:fill-box;transform-origin:50%;filter:drop-shadow(0 3px 3px #0e2429);animation:1s ease-out both action-building}.effect-route-halo{animation:2.8s ease-out both action-route-halo}.effect-route-draw{stroke-dasharray:1;animation:2.8s ease-out both action-route-draw}.effect-resource{animation:2.8s ease-out both action-resource}.effect-flip{animation:2.8s ease-out both action-flip}@keyframes action-callout{0%{opacity:0;translate:0 -5px}10%,82%{opacity:1;translate:0}to{opacity:0;translate:0}}@keyframes action-tile-ring{0%{opacity:0;scale:1.45}12%{opacity:1;scale:1.04}24%{scale:1.14}38%,75%{opacity:1;scale:1}to{opacity:0;scale:1.13}}@keyframes action-building{0%{opacity:0;translate:0 -45px;scale:1.6}30%{opacity:1;translate:0;scale:1}60%{opacity:.9}to{opacity:0}}@keyframes action-route-halo{0%{opacity:0}8%{opacity:.9}40%{opacity:.5}85%{opacity:.4}to{opacity:0}}@keyframes action-route-draw{0%{stroke-dashoffset:1px;opacity:1}38%,85%{stroke-dashoffset:0;opacity:1}to{stroke-dashoffset:0;opacity:0}}@keyframes action-resource{0%,8%{opacity:0}16%,78%{opacity:1}to{opacity:0}}@keyframes action-flip{0%,22%{opacity:0}28%,80%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.effect-tile-ring,.effect-building,.effect-route-halo,.effect-route-draw,.effect-resource,.effect-flip,.map-panel>.action-spotlight-banner{animation:none;translate:none;scale:1}.effect-building{display:none}.effect-route-halo{opacity:.6}.effect-route-draw{stroke-dasharray:none}}.game-screen.wide.map-first.square-table{--board-edge:min(calc(100dvh - 16px),calc(100vw - 576px));height:100dvh;padding:8px;display:block;overflow:hidden}.game-screen.wide.map-first.square-table .square-grid{grid-template-columns:minmax(260px,1fr) var(--board-edge) minmax(284px,1fr);gap:8px;height:100%;display:grid}.game-screen.wide.map-first.square-table .wide-center{width:var(--board-edge);height:var(--board-edge);align-self:center;min-height:0;max-height:100%;padding:0;display:block;position:relative}.game-screen.wide.map-first.square-table .map-panel{border-radius:7px;width:100%;height:100%;padding:0;display:block;position:relative;overflow:hidden}.game-screen.wide.map-first.square-table .map-panel .board-wrap{scrollbar-gutter:auto;background:#20372f;border-radius:6px;width:100%;height:100%;min-height:0;max-height:none;display:block;overflow:auto}.game-screen.wide.map-first.square-table .board-canvas{margin:0 auto}.game-screen.wide.map-first.square-table .board-svg{aspect-ratio:1}.game-screen.wide.map-first.square-table .ai-thinking{top:8px}.game-screen.wide.map-first.square-table .square-players{gap:5px;min-width:0;height:100%;max-height:100%;overflow:hidden}.game-screen.wide.map-first.square-table .square-session{border-bottom:1px solid #68715d;flex:none;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:4px;padding-bottom:5px;display:grid}.game-screen.wide.map-first.square-table .square-session .app-brand{grid-column:1/3}.game-screen.wide.map-first.square-table .app-brand{color:#dfc68d;white-space:nowrap;flex:1;font-size:23px}.game-screen.wide.map-first.square-table .app-brand span{margin-left:5px;font-size:13px}.game-screen.wide.map-first.square-table .game-room-code{white-space:nowrap;color:#bfc6b8;font-size:12px}.game-screen.wide.map-first.square-table .square-session .btn-ghost{white-space:nowrap;min-width:0;min-height:24px;padding:3px 5px;font-size:12px}.game-screen.wide.map-first.square-table .square-session .app-brand+span{text-align:right;flex-basis:40%}.game-screen.wide.map-first.square-table .wide-util-row{flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.game-screen.wide.map-first.square-table .wide-util-row .btn-ghost{min-width:0;min-height:23px;padding:2px 4px;font-size:12px}.game-screen.wide.map-first.square-table .player-overview{flex:none;gap:4px}.game-screen.wide.map-first.square-table .player-summary{grid-template-columns:minmax(0,1fr);grid-template-areas:"main""stats""industries";align-content:start;gap:0;height:auto;min-height:0;padding:3px 6px}.game-screen.wide.map-first.square-table .summary-main{min-height:16px;font-size:13px;line-height:16px}.game-screen.wide.map-first.square-table .summary-money{font-size:18px}.game-screen.wide.map-first.square-table .summary-stats{gap:9px;font-size:12px;line-height:14px}.game-screen.wide.map-first.square-table .summary-spent{font-size:11px}.game-screen.wide.map-first.square-table .summary-industries{grid-template-columns:repeat(6,1fr);line-height:14px}.game-screen.wide.map-first.square-table .summary-industries img{width:14px!important;height:14px!important}.game-screen.wide.map-first.square-table .summary-industries b{font-size:11px}.game-screen.wide.map-first.square-table .command-sidebar{flex-direction:column;gap:6px;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.game-screen.wide.map-first.square-table .square-turn-panel{background:#1a3033;border:1px solid #66705f;border-radius:5px;flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:4px;padding:4px 6px;display:flex}.game-screen.wide.map-first.square-table .era-round{color:#e7cb88;white-space:nowrap;font-size:12px}.game-screen.wide.map-first.square-table .turn-status{max-width:100%;min-height:22px;margin:0;padding:3px 6px;font-size:12px}.game-screen.wide.map-first.square-table .top-action-bar{z-index:45;border-radius:6px;flex:none;margin:0;padding:5px}.game-screen.wide.map-first.square-table .top-action-row{flex-wrap:wrap;gap:4px;min-height:24px;display:flex}.game-screen.wide.map-first.square-table .top-action-row>button{flex:1 0 calc(14.28% - 4px);min-width:0;min-height:26px;padding:3px 2px;font-size:12px}.game-screen.wide.map-first.square-table .top-action-row>[data-testid=confirm-action]{white-space:nowrap;text-overflow:ellipsis;flex:48%;max-width:100%;overflow:hidden}.game-screen.wide.map-first.square-table .top-action-row>[data-testid=cancel-draft],.game-screen.wide.map-first.square-table .top-action-row>[data-testid=reset-turn]{flex:0 17%}.game-screen.wide.map-first.square-table .choose-card-hint{display:none}.game-screen.wide.map-first.square-table .action-money{margin-left:auto;font-size:17px}.game-screen.wide.map-first.square-table .top-action-hint{font-size:12px;line-height:1.4}.game-screen.wide.map-first.square-table .top-action-details{background:#20393d;border:1px solid #a39066;border-radius:5px;max-height:42dvh;padding:7px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto;box-shadow:0 5px 15px #091f22bb}.game-screen.wide.map-first.square-table .action-choices{flex-wrap:wrap;font-size:12px}.game-screen.wide.map-first.square-table .action-choices button{min-height:25px;font-size:12px}.game-screen.wide.map-first.square-table .map-toolbar{border:1px solid #68725d;border-radius:5px;flex-wrap:wrap;flex:none;gap:4px;min-height:24px;padding:2px 4px;display:flex}.game-screen.wide.map-first.square-table .map-caption,.game-screen.wide.map-first.square-table .map-toolbar .transport-legend{display:none}.game-screen.wide.map-first.square-table .deck-count{font-size:11px}.game-screen.wide.map-first.square-table .map-zoom{margin-left:auto}.game-screen.wide.map-first.square-table .map-zoom button{min-height:22px;padding:1px 5px;font-size:11px}.game-screen.wide.map-first.square-table .icon-legend-content{max-width:min(420px,100vw - 24px);max-height:70dvh;left:auto;right:0;overflow:auto}.game-screen.wide.map-first.square-table .hand-dock{z-index:auto;flex-direction:column;flex:1;gap:4px;width:100%;height:auto;min-height:210px;display:flex;position:static}.game-screen.wide.map-first.square-table .side-section-title{color:#e0cc9d;flex:none;justify-content:space-between;font-size:12px;line-height:16px;display:flex}.game-screen.wide.map-first.square-table .side-section-title small{color:#aebdaf;font-size:11px}.game-screen.wide.map-first.square-table .hand-dock .hand-bar.overlay{background:#183337;border:1px solid #7f7e60;border-radius:6px;flex:1;width:100%;height:auto;min-height:0;margin:0;padding:4px;position:static}.game-screen.wide.map-first.square-table .hand-bar.overlay .own-hand{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;justify-content:stretch;align-items:stretch;gap:5px;width:100%;height:100%;padding:0;display:grid;overflow:visible}.game-screen.wide.map-first.square-table .hand-dock .hand-bar.overlay .hand-card{border-radius:5px;flex-direction:column;flex:none;gap:2px;width:100%;min-width:0;max-width:none;height:100%;min-height:0;margin:0;padding:3px;display:flex;overflow:hidden;transform:none}.game-screen.wide.map-first.square-table .hand-dock .hand-bar.overlay .hand-card:hover{filter:brightness(1.08);transform:none}.game-screen.wide.map-first.square-table .hand-dock .hand-bar.overlay .hand-card-art{object-fit:contain;object-position:center;flex:1 1 0;width:100%;height:0;min-height:0;display:block}.game-screen.wide.map-first.square-table .hand-dock .hand-bar.overlay .hand-card-name{white-space:normal;overflow-wrap:anywhere;flex:none;height:auto;min-height:19px;padding:2px;font-size:12px;line-height:14px}.game-screen.wide.map-first.square-table .hand-card-kind{display:none}.game-screen.wide.map-first.square-table .square-players>.resource-market{box-sizing:border-box;border-radius:6px;flex:none;width:100%;height:auto;margin:0;padding:5px}.game-screen.wide.map-first.square-table .square-players>.resource-market h3{margin:0 0 3px;font-size:12px;line-height:14px}.game-screen.wide.map-first.square-table .square-players>.resource-market h3:after{display:none}.game-screen.wide.map-first.square-table .square-players .market-section{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:4px;margin:0;display:grid}.game-screen.wide.map-first.square-table .square-players .market-section+.market-section{margin-top:3px}.game-screen.wide.map-first.square-table .square-players .market-section header{flex-direction:column;align-items:flex-start;gap:0;margin:0;display:flex}.game-screen.wide.map-first.square-table .square-players .market-section header>span{gap:2px;font-size:11px;line-height:15px}.game-screen.wide.map-first.square-table .square-players .market-section header small{white-space:nowrap;font-size:9px;line-height:11px}.game-screen.wide.map-first.square-table .square-players .market-section header img{width:14px;height:14px}.game-screen.wide.map-first.square-table .square-players .market-prices{gap:2px;width:100%;min-width:0}.game-screen.wide.map-first.square-table .square-players .market-prices>div{flex:1 1 0;gap:1px;min-width:0;padding:1px 0}.game-screen.wide.map-first.square-table .square-players .market-prices b{font:11px/12px Georgia,serif}.game-screen.wide.map-first.square-table .square-players .market-prices>div>span{gap:1px}.game-screen.wide.map-first.square-table .square-players .market-prices i,.game-screen.wide.map-first.square-table .square-players .market-prices i .resource-icon{width:11px;height:11px}.game-screen.wide.map-first.square-table .current-round-strip{flex-direction:column;flex:none;gap:4px;height:auto;min-height:0;margin:0;padding:4px;display:flex}.game-screen.wide.map-first.square-table .current-round-strip>header{flex-direction:row;flex:none;justify-content:space-between;align-items:center;gap:5px;padding:0;font-size:10px}.game-screen.wide.map-first.square-table .current-round-strip>header strong{font-size:12px}.game-screen.wide.map-first.square-table .current-round-players{flex:none;gap:4px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.game-screen.wide.map-first.square-table .current-round-player{grid-template-rows:14px 26px 12px;row-gap:1px;min-height:0;padding:3px 4px}.game-screen.wide.map-first.square-table .current-round-player>header{font-size:11px}.game-screen.wide.map-first.square-table .current-round-status{font-size:9px}.game-screen.wide.map-first.square-table .current-round-actions{font-size:10px;line-height:13px}.game-screen.wide.map-first.square-table .current-round-actions em{font-size:9px}.game-screen.wide.map-first.square-table .current-round-player>footer{font-size:9px;line-height:12px}.game-screen.wide.map-first.square-table .map-panel>.action-spotlight-banner{max-width:calc(100% - 20px);top:8px;bottom:auto}.game-screen.wide.map-first.square-table>.game-over{z-index:90;background:#1a3034f5;border:1px solid #d5bd78;border-radius:6px;padding:10px 20px;position:fixed;top:12px;left:50%;transform:translate(-50%)}@media (height<=899px) and (width>=901px){.game-screen.wide.map-first.square-table .hand-dock .hand-bar.overlay .hand-card{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;gap:3px;padding:2px;display:grid}.game-screen.wide.map-first.square-table .hand-dock .hand-bar.overlay .hand-card-art{object-fit:contain;width:100%;height:100%;min-height:0}.game-screen.wide.map-first.square-table .hand-dock .hand-bar.overlay .hand-card-name{box-sizing:border-box;place-items:center;height:100%;min-height:0;padding:2px;font-size:11px;line-height:13px;display:grid}}@media (height>=900px) and (width>=1170px){.game-screen.wide.map-first.square-table .player-summary{gap:3px;padding:7px 8px}.game-screen.wide.map-first.square-table .summary-main{font-size:16px;line-height:22px}.game-screen.wide.map-first.square-table .summary-stats{font-size:14px;line-height:20px}.game-screen.wide.map-first.square-table .summary-industries{line-height:20px}.game-screen.wide.map-first.square-table .summary-industries img{width:19px!important;height:19px!important}.game-screen.wide.map-first.square-table .summary-industries b{font-size:13px}.game-screen.wide.map-first.square-table .hand-dock .hand-bar.overlay .hand-card-name{font-size:14px;line-height:18px}.game-screen.wide.map-first.square-table .current-round-player{grid-template-rows:17px 32px 15px}.game-screen.wide.map-first.square-table .current-round-player>header,.game-screen.wide.map-first.square-table .current-round-actions{font-size:12px;line-height:16px}.game-screen.wide.map-first.square-table .current-round-player>footer{font-size:11px}}@media (width>=901px) and (width<=1169px){.game-screen.wide.map-first.square-table{--board-edge:min(calc(100dvh - 16px),calc(100vw - 492px))}.game-screen.wide.map-first.square-table .square-grid{grid-template-columns:minmax(220px,1fr) var(--board-edge) minmax(240px,1fr)}.game-screen.wide.map-first.square-table .summary-stats{gap:6px;font-size:11px}.game-screen.wide.map-first.square-table .summary-main{font-size:12px}}@media (width<=900px){.game-screen.wide.map-first.square-table{--board-edge:calc(100vw - 16px);height:auto;min-height:100dvh;overflow:visible}.game-screen.wide.map-first.square-table .square-grid{flex-direction:column;height:auto;display:flex}.game-screen.wide.map-first.square-table .wide-center{height:var(--board-edge);width:var(--board-edge);order:-1}.game-screen.wide.map-first.square-table .square-players{height:auto;max-height:none;overflow:visible;container:none}.game-screen.wide.map-first.square-table .command-sidebar{height:auto;overflow:visible}.game-screen.wide.map-first.square-table .hand-dock{flex:none;height:420px}.game-screen.wide.map-first.square-table .current-round-players{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.room-community{color:#d7decf;background:#193337;border:1px solid #68725b;border-radius:5px;flex:none;min-width:0;position:relative}.community-toggle{color:#dfc88e;cursor:pointer;background:0 0;border:0;justify-content:space-between;gap:4px;width:100%;min-height:25px;padding:4px 6px;font-size:12px;display:flex}.spectator-names{color:#b7c5b5;white-space:nowrap;text-overflow:ellipsis;padding:0 6px 4px;font-size:10px;overflow:hidden}.community-drawer{z-index:80;background:#193438fa;border:1px solid #c5ab70;border-radius:7px;flex-direction:column;width:min(370px,100vw - 30px);height:min(440px,72dvh);padding:8px;display:flex;position:absolute;bottom:100%;right:0;box-shadow:0 4px 24px #081718bb}.community-drawer>header{color:#e8cd93;justify-content:space-between;align-items:center;font-size:14px;display:flex}.community-drawer>header button{color:#ddcda4;cursor:pointer;background:0 0;border:0;font-size:21px}.community-watchers{color:#bbc9b7;flex:none;max-height:62px;padding:5px 0;font-size:11px;overflow:auto}.chat-messages{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding-right:4px;overflow:auto}.chat-messages article{border-bottom:1px solid #52675a66;padding:6px 0}.chat-messages article header{color:#c9ba95;justify-content:space-between;gap:6px;font-size:11px;display:flex}.chat-messages article time{color:#95a89a;white-space:nowrap;font-size:10px}.chat-messages article p{color:#e0e4d9;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0;font-size:13px;line-height:1.5}.chat-empty{color:#a9bbae;font-size:12px;line-height:1.6}.community-drawer form{flex:none;gap:5px;padding-top:8px;display:flex}.community-drawer input{color:#eee3c9;background:#12282b;border:1px solid #76846b;border-radius:4px;flex:1;min-width:0;padding:7px;font-size:12px}.community-drawer form button{color:#172e30;cursor:pointer;background:#c8b078;border:0;border-radius:4px;padding:5px 10px}.chat-error{color:#eeb1a0;margin:4px 0 0;font-size:11px}.spectator-notice{color:#ddcfab;background:#203a3b;border:1px solid #8d906e;border-radius:5px;padding:8px;font-size:12px}.spectator-community{flex-direction:column;flex:1;min-height:150px;display:flex}.spectator-community .community-drawer{width:100%;height:auto;min-height:0;box-shadow:none;box-sizing:border-box;border:0;border-top:1px solid #7d8162;flex:1;position:static}@media (width<=900px){.spectator-community{height:400px}}.game-hub,.admin-screen{text-align:left;color:#dce0d4;max-width:1260px;margin:0 auto;padding:32px 26px 40px}.hub-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.hub-header h1{color:#ead1a0;margin:4px 0 10px;font-size:36px}.hub-header p{color:#acbdb0;margin:0;line-height:1.6}.hub-header .eyebrow{color:#b2a074;letter-spacing:.2em;font-size:11px}.hub-games{grid-template-columns:2fr 1fr 1fr;gap:16px;margin-bottom:28px;display:grid}.hub-game{text-align:left;color:#ead9b3;background:#1c3033;border:1px solid #887c59;border-radius:12px;min-width:0;min-height:230px;padding:24px}.brass-game{cursor:pointer;background-position:50%;background-size:cover;transition:border-color .2s}.brass-game:hover{border-color:#e1c276}.hub-game>span{color:#d4ccac;font-size:11px}.hub-game h2{margin:52px 0 6px;font-size:27px}.hub-game p{color:#bec8b5;margin:0 0 16px;font-size:13px}.hub-game>b{color:#eed59b;font-size:13px}.coming-game{opacity:.7;background:radial-gradient(at top,#283e3b,#172d31);border-style:dashed;border-color:#425c56}.coming-game h2{color:#9eafa1;font-size:22px}.hub-rooms>header{justify-content:space-between;align-items:center;gap:16px;margin:26px 0 16px;display:flex}.hub-rooms h2,.game-hub .saved-games h2{color:#dfcca4;margin:0 0 8px;font-size:20px}.hub-rooms>header p{color:#95ac9d;margin:0;font-size:12px}.game-hub button:not(.hub-game),.admin-screen button,.hub-back{color:#d9d9bd;cursor:pointer;background:#253f40;border:1px solid #76816b;border-radius:5px;padding:7px 12px;font-size:12px}.hub-room-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.hub-room{background:#1b3337;border:1px solid #4a6256;border-radius:9px;padding:15px}.hub-room>header{color:#b8c9b9;justify-content:space-between;gap:8px;font-size:12px;display:flex}.hub-room>header>span{color:#c9b37f}.hub-room>header>span.live{color:#8ab8a8}.hub-room h3{color:#e0c791;letter-spacing:.1em;margin:12px 0 8px;font:24px Georgia,serif}.hub-room p{color:#a3b7a7;margin:0 0 12px;font-size:12px}.hub-room-seats{flex-wrap:wrap;gap:5px;min-height:29px;display:flex}.hub-room-seats span{color:#cbd6c6;white-space:nowrap;text-overflow:ellipsis;background:#2a4547;border-radius:4px;max-width:100px;padding:4px 7px;font-size:11px;overflow:hidden}.hub-room footer{color:#849d8d;justify-content:flex-end;align-items:center;gap:8px;margin-top:14px;font-size:11px;display:flex}.hub-room footer>span{margin-right:auto}.hub-empty{text-align:center;color:#9caf9f;border:1px dashed #4c675a;border-radius:8px;padding:35px 18px;font-size:13px}.hub-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:25px;display:flex}.hub-footer a,.hub-header a{color:#b7ba9e;font-size:12px}.hub-entry-dialog{box-sizing:border-box;color:#dce2ce;background:#20393d;border:1px solid #ae965e;border-radius:10px;width:min(430px,100vw - 32px);padding:24px}.hub-entry-dialog h2{color:#e5cb91;margin:0 0 18px;font-size:20px}.hub-entry-dialog label{flex-direction:column;gap:7px;font-size:13px;display:flex}.hub-entry-dialog input{color:#eee1be;background:#162e32;border:1px solid #6f816c;border-radius:5px;padding:10px;font-size:14px}.hub-entry-dialog>div{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.hub-entry-dialog p{color:#c4cebd;font-size:13px;line-height:1.7}.private-room-option{color:#d1d6bb;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 0;font-size:13px;display:flex}.private-room-option small{color:#91a999;font-size:11px}.admin-tools{align-items:center;gap:20px;margin:20px 0;font-size:13px;display:flex}.admin-tools>button{margin-left:auto}.admin-table-wrap{border:1px solid #4c6759;border-radius:6px;max-height:72dvh;overflow:auto}.admin-table{border-collapse:collapse;background:#1b3337;width:100%;font-size:12px}.admin-table th{color:#e1ce9c;text-align:left;z-index:1;white-space:nowrap;background:#2a4545;position:sticky;top:0}.admin-table td,.admin-table th{border-bottom:1px solid #476050;padding:12px;line-height:1.6}.autoplay-control{color:#a8bba9;flex:none;justify-content:space-between;align-items:center;gap:5px;padding:2px 4px;font-size:10px;display:flex}.autoplay-control button{color:#d4d1ad;cursor:pointer;background:#263f40;border:1px solid #7b8263;border-radius:4px;padding:3px 7px;font-size:11px}.autoplay-control.active{color:#e8ce87;background:#514a2533}.game-screen.wide.map-first.square-table .hand-dock{min-height:180px}.classic-community{z-index:85;width:290px;position:fixed;bottom:8px;right:8px}@media (width<=800px){.game-hub,.admin-screen{padding:22px 16px}.hub-games{grid-template-columns:1fr 1fr}.brass-game{grid-column:1/-1}.coming-game{min-height:130px;padding:17px}.coming-game h2{margin-top:25px}.hub-room-grid{grid-template-columns:1fr 1fr}.hub-header h1{font-size:30px}}@media (width<=520px){.hub-room-grid{grid-template-columns:1fr}.hub-header{align-items:flex-start}.hub-header .connection-pill{white-space:nowrap;font-size:11px}.hub-footer{flex-wrap:wrap}}.game-screen.wide.map-first.square-table .industry-supply{flex:none;min-width:0}.game-screen.wide.map-first.square-table .industry-supply .sidebar-detail:not([hidden]){display:block}.game-screen.wide.map-first.square-table .industry-supply .player-board.compact{box-sizing:border-box;width:100%;height:auto;min-height:0;max-height:none;display:block}.game-screen.wide.map-first.square-table .industry-supply .compact-head{box-sizing:border-box;gap:4px;min-height:22px;padding:1px 5px}.game-screen.wide.map-first.square-table .industry-supply .discard-open-btn{box-sizing:border-box;height:20px;min-height:20px;padding:1px 4px;line-height:16px}.game-screen.wide.map-first.square-table .industry-supply .compact-head:before{content:"产业树 ·";color:#d9c69b;flex:none;font-size:11px}.game-screen.wide.map-first.square-table .industry-supply .compact-head .player-name{min-width:0;font-size:12px}.game-screen.wide.map-first.square-table .industry-supply .inventory-drawer{height:auto;display:block;position:static}.game-screen.wide.map-first.square-table .industry-supply .board-stack{height:auto;padding:2px;display:block;position:static;inset:auto}.game-screen.wide.map-first.square-table .industry-supply .develop-bin{box-sizing:border-box;justify-content:center;align-items:center;height:17px;margin:0 0 2px;display:flex}.game-screen.wide.map-first.square-table .industry-supply .develop-bin svg{width:12px;height:12px}.game-screen.wide.map-first.square-table .industry-supply .develop-bin:after{font-size:10px}.game-screen.wide.map-first.square-table .industry-supply .illustrated-inventory{grid-template-rows:none;grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:2px;height:auto;min-height:0;display:grid}.game-screen.wide.map-first.square-table .industry-supply .inventory-industry{box-sizing:border-box;border-radius:4px;grid-template-rows:auto auto auto;grid-template-columns:27px minmax(0,1fr) max-content;align-content:start;align-items:center;gap:1px 4px;min-width:0;height:auto;min-height:0;padding:2px 4px;display:grid;overflow:hidden}.game-screen.wide.map-first.square-table .industry-supply .inventory-art{grid-area:1/1/3;width:27px;min-width:0;height:27px;margin:0}.game-screen.wide.map-first.square-table .industry-supply .inventory-art>img{object-fit:contain}.game-screen.wide.map-first.square-table .industry-supply .inventory-info{display:contents}.game-screen.wide.map-first.square-table .industry-supply .inventory-title{grid-area:1/2;gap:3px;min-width:0;line-height:13px}.game-screen.wide.map-first.square-table .industry-supply .inventory-title strong{white-space:nowrap;font-size:12px}.game-screen.wide.map-first.square-table .industry-supply .inventory-title>span{white-space:nowrap;font-size:10px}.game-screen.wide.map-first.square-table .industry-supply .inventory-cost{grid-area:1/3;justify-content:flex-end;gap:3px;font-size:11px;line-height:13px}.game-screen.wide.map-first.square-table .industry-supply .inventory-cost>b{font-size:12px}.game-screen.wide.map-first.square-table .industry-supply .inventory-cost img{width:12px;height:12px}.game-screen.wide.map-first.square-table .industry-supply .inventory-score-info{white-space:nowrap;flex-wrap:nowrap;grid-area:2/2;gap:3px;min-width:0;font-size:10px;line-height:11px}.game-screen.wide.map-first.square-table .industry-supply .inventory-score-info .score-icon{width:10px;height:10px}.game-screen.wide.map-first.square-table .industry-supply .inventory-output{white-space:nowrap;text-align:right;grid-area:2/3;margin:0;font-size:10px;line-height:11px}.game-screen.wide.map-first.square-table .industry-supply .inventory-levels{grid-area:3/1/auto/-1;grid-template-columns:repeat(var(--supply-levels),minmax(0,1fr));gap:2px;width:100%;height:auto;min-height:0;display:grid}.game-screen.wide.map-first.square-table .industry-supply .inventory-levels>:is(span,button){box-sizing:border-box;white-space:nowrap;justify-content:center;align-items:center;gap:2px;min-width:0;height:15px;padding:0 1px;font:11px/1 Georgia,serif;display:flex;position:static}.game-screen.wide.map-first.square-table .industry-supply .inventory-levels sup{vertical-align:baseline;margin:0;font:9px/1 system-ui,sans-serif;position:static}.game-screen.wide.map-first.square-table .autoplay-control{padding:0 4px}.game-screen.wide.map-first.square-table .autoplay-control button{box-sizing:border-box;height:22px;min-height:22px;padding:1px 6px;line-height:16px}.game-screen.wide.map-first.square-table .square-turn-panel .turn-status{box-sizing:border-box;min-height:22px;padding:2px 6px;line-height:16px}.game-screen.wide.map-first.square-table .command-sidebar{gap:4px}.game-screen.wide.map-first.square-table .square-turn-panel{padding:3px 6px}.game-screen.wide.map-first.square-table .top-action-bar{padding:4px}.game-screen.wide.map-first.square-table .top-action-row>button{min-height:24px}.game-screen.wide.map-first.square-table .command-sidebar .top-action-bar:has([data-testid=top-act-build]) .top-action-row{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.game-screen.wide.map-first.square-table .command-sidebar .top-action-bar:has([data-testid=top-act-build]) .top-action-spacer{display:none}.game-screen.wide.map-first.square-table .command-sidebar .top-action-row>[data-testid=confirm-action]{grid-area:2/1/auto/6}.game-screen.wide.map-first.square-table .command-sidebar .top-action-row>[data-testid=cancel-draft]{grid-area:2/6}.game-screen.wide.map-first.square-table .command-sidebar .top-action-row>[data-testid=reset-turn]{grid-area:2/7}.game-screen.wide.map-first.square-table .command-sidebar .top-action-bar:has([data-testid=top-act-build]) .top-action-money{grid-area:3/1/auto/-1;justify-self:end;min-height:16px;line-height:16px}.game-screen.wide.map-first.square-table .command-sidebar .top-action-bar:has([data-testid=top-act-build]) .action-money{font-size:13px;line-height:16px}.game-screen.wide.map-first.square-table .command-sidebar .top-action-bar:has([data-testid=top-act-build]) .action-money-delta{font-size:11px;line-height:16px}.game-screen.wide.map-first.square-table .map-toolbar{box-sizing:border-box;flex-wrap:nowrap;height:26px;min-height:26px;padding:1px 4px}.game-screen.wide.map-first.square-table .map-zoom button{box-sizing:border-box;height:22px;min-height:22px;line-height:16px}.game-screen.wide.map-first.square-table .square-players{gap:4px}.game-screen.wide.map-first.square-table .square-players .player-summary{align-content:start;gap:0;padding:3px 6px}.game-screen.wide.map-first.square-table .square-players .summary-main{min-height:16px;font-size:13px;line-height:16px}.game-screen.wide.map-first.square-table .square-players .summary-stats{font-size:12px;line-height:14px}.game-screen.wide.map-first.square-table .square-players .summary-industries{line-height:14px}.game-screen.wide.map-first.square-table .square-players .summary-industries img{width:14px!important;height:14px!important}.game-screen.wide.map-first.square-table .docked-community{flex-direction:column;flex:1;min-height:41px;display:flex}.game-screen.wide.map-first.square-table .docked-community:not(.open){flex:none}.game-screen.wide.map-first.square-table .docked-community .community-drawer{box-sizing:border-box;width:100%;height:auto;min-height:0;box-shadow:none;border:0;border-top:1px solid #7d8162;flex:1;padding:6px;display:flex;position:static}.game-screen.wide.map-first.square-table .docked-community .community-watchers{max-height:36px}.game-screen.wide.map-first.square-table .industry-supply .board-stack:has(.stack-row){scrollbar-width:thin;max-height:320px;overflow:auto}@media (height>=900px) and (width>=901px){.game-screen.wide.map-first.square-table .industry-supply .inventory-industry{grid-template-columns:32px minmax(0,1fr) max-content;gap:2px 6px;padding:4px 6px}.game-screen.wide.map-first.square-table .industry-supply .inventory-art{width:32px;height:32px}.game-screen.wide.map-first.square-table .industry-supply .inventory-title{line-height:16px}.game-screen.wide.map-first.square-table .industry-supply .inventory-title strong{font-size:13px}.game-screen.wide.map-first.square-table .industry-supply .inventory-cost{line-height:16px}.game-screen.wide.map-first.square-table .industry-supply .inventory-cost>b{font-size:14px}.game-screen.wide.map-first.square-table .industry-supply .inventory-score-info,.game-screen.wide.map-first.square-table .industry-supply .inventory-output{font-size:11px;line-height:14px}.game-screen.wide.map-first.square-table .industry-supply .inventory-levels>:is(span,button){height:18px;font-size:12px}.game-screen.wide.map-first.square-table .industry-supply .inventory-levels sup{font-size:10px}.game-screen.wide.map-first.square-table .square-players .player-summary{gap:2px;padding:5px 7px}.game-screen.wide.map-first.square-table .square-players .summary-main{font-size:15px;line-height:20px}.game-screen.wide.map-first.square-table .square-players .summary-stats{font-size:13px;line-height:17px}.game-screen.wide.map-first.square-table .square-players .summary-industries{line-height:18px}.game-screen.wide.map-first.square-table .square-players .summary-industries img{width:17px!important;height:17px!important}}@media (height<=899px) and (width>=901px){.game-screen.wide.map-first.square-table .industry-supply .inventory-industry{padding:1px 4px}.game-screen.wide.map-first.square-table .industry-supply .inventory-art{width:24px;height:24px}.game-screen.wide.map-first.square-table .docked-community{flex:none}.game-screen.wide.map-first.square-table .docked-community .community-drawer{z-index:80;border:1px solid #c5ab70;height:min(420px,72dvh);position:absolute;bottom:100%;left:0;right:auto;box-shadow:0 4px 24px #081718bb}}@media (width<=900px){.game-screen.wide.map-first.square-table .industry-supply .inventory-industry{min-height:50px}.game-screen.wide.map-first.square-table .docked-community{flex:none}.game-screen.wide.map-first.square-table .docked-community.open{height:340px}}@media (width>=901px) and (width<=1169px){.game-screen.wide.map-first.square-table .industry-supply .inventory-levels>:is(span,button){gap:1px;font-size:9px}.game-screen.wide.map-first.square-table .industry-supply .inventory-levels sup{font-size:8px}.game-screen.wide.map-first.square-table .industry-supply .inventory-output,.game-screen.wide.map-first.square-table .industry-supply .inventory-score-info{font-size:9px}}.legend-backdrop{z-index:300;box-sizing:border-box;padding:12px}.legend-modal{box-sizing:border-box;color:#29413e;background:#f5efdf;border:1px solid #ad9565;border-radius:10px;flex-direction:column;width:min(680px,100%);min-height:0;max-height:calc(100dvh - 24px);display:flex;box-shadow:0 12px 48px #07191cb3}.legend-modal>header{border-bottom:1px solid #b8aa8b;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.legend-modal h3{margin:0;font-size:18px}.legend-modal>header button{color:#fff1cf;cursor:pointer;background:#244448;border:1px solid #8b8168;border-radius:4px;padding:5px 12px}.legend-grid{overscroll-behavior:contain;white-space:normal;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:16px;display:grid;overflow:auto}.legend-grid>strong,.legend-grid>small{grid-column:1/-1}.legend-grid>strong{font-size:15px}.legend-grid>small{color:#58604e;font-size:13px;line-height:1.65}.legend-grid>span{align-items:center;gap:8px;font-size:14px;display:flex}.legend-grid .score-icon{color:#815e2d;flex:none}.game-screen.wide.map-first.square-table .map-toolbar>.legend-open{min-height:20px;padding:1px 5px;font-size:12px}.inventory-stage{align-items:center;gap:5px;display:flex}.inventory-stage em{color:#8b490f;font-style:normal;font-weight:700}.inventory-levels>.level-preview{color:#56350b;outline-offset:-2px;opacity:1;background:#ffdfa1;outline:2px solid #bb7c24}.inventory-levels>button:focus-visible{outline-offset:1px;outline:2px solid #b87920}.inventory-levels>button.empty{opacity:.6}.inventory-levels>button.level-preview{opacity:1}.game-screen.wide.map-first.square-table .inventory-levels>button{min-height:0}.game-screen.wide.map-first.square-table .current-round-strip{overscroll-behavior:contain;scrollbar-width:thin;flex:0 auto;min-height:180px;overflow:auto}.game-screen.wide.map-first.square-table .current-round-strip>header{min-height:24px}.game-screen.wide.map-first.square-table .current-round-players{gap:3px;grid-template-columns:minmax(0,1fr)!important}.game-screen.wide.map-first.square-table .current-round-player{box-sizing:border-box;grid-template-rows:auto auto auto;row-gap:2px;padding:4px 6px}.game-screen.wide.map-first.square-table .current-round-player>header{min-height:14px}.game-screen.wide.map-first.square-table .current-round-actions{min-width:0;min-height:0}.game-screen.wide.map-first.square-table .current-round-actions>span{grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:5px;display:grid}.game-screen.wide.map-first.square-table .current-round-actions>span>span{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:visible}.game-screen.wide.map-first.square-table .current-round-player>footer{white-space:normal;overflow-wrap:anywhere}.game-screen.wide.map-first.square-table .docked-community{box-sizing:border-box;flex:1 0 122px;min-height:122px}.game-screen.wide.map-first.square-table .docked-community:not(.open){flex:none;min-height:0}.game-screen.wide.map-first.square-table .docked-community .community-drawer{width:100%;height:auto;min-height:0;box-shadow:none;border:0;flex:1;padding:4px 6px;position:static}.game-screen.wide.map-first.square-table .docked-community .community-drawer>header{font-size:12px;line-height:16px}.game-screen.wide.map-first.square-table .docked-community .community-watchers{display:none}.game-screen.wide.map-first.square-table .docked-community .community-drawer form{padding-top:3px}.game-screen.wide.map-first.square-table .docked-community .community-drawer input{padding:4px}@media (height<=899px) and (width>=901px){.game-screen.wide.map-first.square-table .current-round-strip{min-height:120px}.game-screen.wide.map-first.square-table .square-players .player-summary{gap:0;padding:2px 5px}.game-screen.wide.map-first.square-table .square-players .summary-main{min-height:14px;font-size:12px;line-height:14px}.game-screen.wide.map-first.square-table .square-players .summary-stats{font-size:11px;line-height:12px}.game-screen.wide.map-first.square-table .square-players .summary-industries{line-height:12px}.game-screen.wide.map-first.square-table .square-players .summary-industries img{width:12px!important;height:12px!important}}@media (height>=900px) and (height<=999px) and (width>=901px){.game-screen.wide.map-first.square-table .square-players .player-summary{gap:0;padding:2px 6px}.game-screen.wide.map-first.square-table .square-players .summary-main{min-height:17px;font-size:14px;line-height:17px}.game-screen.wide.map-first.square-table .square-players .summary-stats{font-size:12px;line-height:14px}.game-screen.wide.map-first.square-table .square-players .summary-industries{line-height:16px}.game-screen.wide.map-first.square-table .square-players .summary-industries img{width:15px!important;height:15px!important}}@media (width<=900px){.game-screen.wide.map-first.square-table .docked-community.open{flex:none;height:260px}.game-screen.wide.map-first.square-table .current-round-strip{flex:none;overflow:visible}.legend-grid{grid-template-columns:minmax(0,1fr)}}.room-community.compact-chat{box-sizing:border-box;flex:none;height:auto;min-height:0;padding:4px}.chat-compose{align-items:center;gap:4px;margin:0;display:flex}.chat-compose input{box-sizing:border-box;color:#eee3c9;background:#12282b;border:1px solid #76846b;border-radius:4px;flex:1;min-width:0;height:28px;padding:4px 6px;font-size:12px}.chat-compose button{box-sizing:border-box;color:#efdfb4;cursor:pointer;background:#263e3c;border:1px solid #9d916d;border-radius:4px;flex:none;height:28px;min-height:28px;padding:2px 6px;font-size:11px}.chat-compose .chat-send{color:#172e30;background:#c8b078;width:27px;padding:0;font-size:18px}.chat-compose button:disabled{opacity:.45;cursor:default}.chat-history-open i{color:#ffda79;margin-left:3px;font-size:8px;font-style:normal}.game-screen.wide.map-first.square-table .current-round-strip{flex:auto}.chat-history-backdrop{z-index:300;box-sizing:border-box;padding:12px}.chat-history-modal{box-sizing:border-box;color:#e1e3d6;background:#193438;border:1px solid #b6a16f;border-radius:8px;flex-direction:column;width:min(640px,100%);height:min(640px,100dvh - 24px);min-height:0;padding:12px;display:flex;box-shadow:0 10px 40px #07191cb3}.chat-history-modal>header{flex:none;justify-content:space-between;align-items:center;gap:8px;display:flex}.chat-history-modal h3{color:#e8cd93;margin:0;font-size:17px}.chat-history-modal h3 small{color:#b8c8bd;margin-left:6px;font-size:12px}.chat-history-modal>header button{color:#f3e1b8;cursor:pointer;background:#304a46;border:1px solid #ac9e77;border-radius:4px;padding:4px 10px}.chat-history-modal>.community-watchers{overflow-wrap:anywhere;max-height:70px;margin-bottom:4px;padding:8px 0}.chat-history-modal .chat-messages{border-top:1px solid #7b866644;padding:3px 6px 3px 0}.chat-history-modal .chat-messages:focus-visible{outline-offset:2px;outline:1px solid #cfb779}.chat-history-modal .chat-messages article header{font-size:12px}.chat-history-modal .chat-messages article p{font-size:14px;line-height:1.65}.chat-history-modal>footer{color:#9db3a5;flex:none;padding-top:8px;font-size:11px}.map-chat-lane{z-index:35;pointer-events:none;height:25px;position:absolute;top:6px;left:8px;right:8px;overflow:hidden;container-type:inline-size}.map-chat-flight{box-sizing:border-box;color:#f4ead1;white-space:nowrap;will-change:transform;background:#11282bd9;border:1px solid #d4bc7c88;border-radius:12px;align-items:center;width:max-content;max-width:min(86cqw,460px);height:24px;padding:2px 8px;font:12px/18px system-ui,sans-serif;animation:8s linear forwards map-chat-drift;display:flex;position:absolute;top:0;left:100%;box-shadow:0 1px 4px #07191c77}.map-chat-flight strong{text-overflow:ellipsis;color:#e9cd8d;flex:none;max-width:140px;font-size:11px;overflow:hidden}.map-chat-flight>span{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes map-chat-drift{0%{transform:translate(0)}to{transform:translate(calc(-100cqw - 100%))}}@media (prefers-reduced-motion:reduce){.map-chat-flight{animation:none;left:50%;transform:translate(-50%)}}
