:root{--font-ui:"DM Sans", sans-serif;--font-display:"Bree Serif", Georgia, serif;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{font-family:var(--font-ui);overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold-strong);outline-offset:3px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.site-header{z-index:50;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:86px;padding:0 clamp(22px,4.5vw,80px);display:flex;position:sticky;top:0}.brand{font:700 17px var(--font-display);letter-spacing:.08em;color:#f3e2bd;white-space:nowrap;align-items:center;gap:13px;display:inline-flex}.brand em{color:#bfa36c;vertical-align:middle;font-size:.7em;font-style:normal}.brand-mark{border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.header-right{align-items:center;gap:24px;display:flex}.header-note,.header-link,.room-pill{color:#c9d0c0;align-items:center;gap:9px;font-size:13px;font-weight:700;display:inline-flex}.header-link{color:#e0dccb;background:0 0;border:0;padding:11px 0}.header-link:hover{color:var(--gold)}.room-pill{border:1px solid var(--line);font-family:var(--font-ui);letter-spacing:.12em;color:var(--gold);border-radius:8px;padding:9px 12px}.online-dot,.pulse-dot{background:#88bf8f;border-radius:50%;flex:none;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 4px #88bf8f1f}.online-dot.offline{background:#d18f83;box-shadow:0 0 0 4px #d18f831f}.pulse-dot{animation:1.5s infinite pulse}@keyframes pulse{50%{opacity:.35;transform:scale(.8)}}._lobbyRoot_1fpnp_1{background-image:linear-gradient(#26130d33,#26130d57),url(/textures/background.png);background-position:top;background-size:cover;background-attachment:fixed;min-height:100vh}._homeRoot_1fpnp_8{background-image:linear-gradient(#26130d2e,#26130d57),url(/textures/background.png);background-position:top;background-size:cover;background-attachment:fixed;flex-direction:column;justify-content:space-between;height:100dvh;min-height:100dvh;max-height:100dvh;display:flex;overflow:hidden}._home-main_1fpnp_24{flex:auto;grid-template-columns:minmax(380px,1fr) minmax(400px,1.15fr);align-items:center;gap:clamp(24px,4vw,60px);min-height:0;padding:8px clamp(24px,4.5vw,76px);display:grid;overflow:hidden}._hero-copy_1fpnp_25{z-index:2;flex-direction:column;justify-content:center;max-width:580px;min-height:0;padding:0;display:flex;position:relative}.eyebrow{color:var(--gold);letter-spacing:.2em;text-transform:uppercase;align-items:center;gap:10px;font-size:11px;font-weight:800;display:flex}._eyebrow-line_1fpnp_27{background:var(--gold);width:24px;height:1px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--font-display);font-weight:700}._hero-copy_1fpnp_25 h1,._lobby-content_1fpnp_30 h1{letter-spacing:-.055em;margin:14px 0 16px;font-size:clamp(52px,5vw,78px);font-weight:900;line-height:1.02}._hero-copy_1fpnp_25 h1 span,._lobby-content_1fpnp_30 h1 span{color:var(--gold)}._hero-copy_1fpnp_25>p,._lobby-content_1fpnp_30>p{color:#cbd3c6;max-width:510px;margin-bottom:20px;font-size:16px;line-height:1.6}._hero-pills_1fpnp_33{flex-wrap:wrap;gap:8px;margin-bottom:24px;display:flex}._hero-pills_1fpnp_33 span{border:1px solid var(--line);color:#d7d9c8;background:#ffffff09;border-radius:99px;padding:6px 14px;font-size:12px}._home-card_1fpnp_35{background:#1d2d25ed;border:1px solid #ead3a033;border-radius:17px;width:min(100%,540px);padding:24px 26px;box-shadow:0 24px 60px #00000030}._home-card_1fpnp_35>label{margin-bottom:8px;font:800 16px Nunito;display:block}input,select{width:100%;min-height:46px;color:var(--text);background:#17251f;border:1px solid #e9e0c22e;border-radius:8px;padding:0 14px;font-size:15px}._home-card_1fpnp_35>input{height:48px;min-height:48px;font-size:15px}._home-card-actions_1fpnp_40{grid-template-columns:1fr 1.24fr;gap:10px;margin:10px 0 0;display:grid}._local-game-actions_1fpnp_41{border-top:1px solid #e9e0c21f;margin:0 0 12px;padding-top:0}._local-game-actions_1fpnp_41>label{font:700 16px var(--font-display);color:var(--ink);margin-bottom:8px;display:block}._local-game-controls_1fpnp_43{grid-template-columns:1fr 1fr;gap:10px;display:grid}._local-game-controls_1fpnp_43 select,._local-game-controls_1fpnp_43 button{min-width:0}._local-game-controls_1fpnp_43>.button.full{grid-column:1/-1}@media (width<=520px){._local-game-controls_1fpnp_43{grid-template-columns:1fr}}._join-field_1fpnp_47{background:#17251f;border:1px solid #e9e0c22e;border-radius:8px;align-items:center;gap:6px;min-height:48px;padding:3px;display:flex}._join-field_1fpnp_47 input{letter-spacing:.1em;background:0 0;border:0;min-width:0;padding:0 7px}._join-field_1fpnp_47 input:focus-visible{outline:none}._home-card_1fpnp_35 small{color:var(--muted);font-size:12px;display:block}.button{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:10px 18px;font-size:14px;font-weight:800;transition:background .18s,box-shadow .18s,color .18s,border-color .18s;display:inline-flex}.button.primary{background:var(--gold);color:#26311f;box-shadow:inset 0 -2px #5b3d1a21}.button.secondary{color:#f4ead1;background:#2b4235;border-color:#e7c9912e}.button.subtle{color:#e5e3cc;background:#365140;padding:8px 12px}.button:disabled{opacity:.43;box-shadow:none}.button.full{width:100%}.inline-error{color:var(--danger);background:#843b352b;border:1px solid #ffb0a547;border-radius:7px;padding:10px 12px;font-size:13px;line-height:1.4}._hero-board_1fpnp_61{aspect-ratio:1;place-self:center;width:min(640px,100dvh - 150px,100%);max-width:100%;height:min(640px,100dvh - 150px,100%);min-height:0;margin:0;position:relative}.board-halo{filter:blur(30px);background:radial-gradient(circle,#a28f5340,#0000 68%);width:65%;height:55%;position:absolute;top:24%;left:20%}.board-canvas{position:absolute;inset:0;overflow:hidden}.board-loading{color:#e7d3a9;letter-spacing:.04em;background:radial-gradient(circle,#2c5545,#173b39 65%);place-items:center;font:800 14px Nunito;display:grid;position:absolute;inset:0}.board-canvas canvas{touch-action:none;display:block}._hero-board_1fpnp_61 .board-canvas{-webkit-mask-image:none;mask-image:none}._hero-board_1fpnp_61 .board-halo{display:none}._hero-board_1fpnp_61 .board-top-actions,._hero-board_1fpnp_61 .board-start-anim-banner{display:none!important}._home-footer_1fpnp_78{border-top:1px solid var(--line);color:#9fab9d;letter-spacing:.12em;flex:none;justify-content:space-between;align-items:center;gap:20px;min-height:46px;padding:12px clamp(22px,4.5vw,80px);font-size:11px;display:flex}._home-footer_1fpnp_78 a{color:inherit;text-underline-offset:3px;transition:color .18s}._home-footer_1fpnp_78 a:hover{color:var(--gold)}._home-footer_1fpnp_78 a:focus-visible{outline-offset:3px;outline:2px solid}._lobby-main_1fpnp_82{grid-template-columns:1fr 1fr;align-items:start;gap:clamp(24px,5vw,100px);min-height:calc(100vh - 86px);padding:35px clamp(24px,7vw,110px);display:grid}._lobby-visual_1fpnp_83{background:#173b39;border:1px solid #efd5a024;border-radius:25px;height:min(70vh,690px);min-height:480px;position:sticky;top:35px;overflow:hidden;box-shadow:0 30px 70px #0000002e}._visual-stamp_1fpnp_84{letter-spacing:.13em;color:var(--gold);background:#1e382d;border-radius:7px;padding:10px 14px;font-size:11px;font-weight:800;position:absolute;bottom:24px;left:25px}._lobby-content_1fpnp_30{max-width:520px}._lobby-content_1fpnp_30 h1{font-size:clamp(55px,4.8vw,82px)}._invite-card_1fpnp_87{background:#263829;border:1px dashed #e9bd728c;border-radius:13px;justify-content:space-between;align-items:center;margin:27px 0;padding:18px 19px;display:flex}._invite-card_1fpnp_87 small{letter-spacing:.16em;color:#c5c9ad;margin-bottom:3px;font-size:10px;font-weight:800;display:block}._invite-card_1fpnp_87 strong{font:700 28px var(--font-display);letter-spacing:.2em;color:var(--gold)}.icon-button{width:45px;color:var(--gold);background:#3a533c;border:1px solid #e9bd7240;padding:8px}._lobby-mode-card_1fpnp_91{background:#23392bb8;border:1px solid #e9bd7233;border-radius:12px;margin:-8px 0 23px;padding:15px 16px}._lobby-mode-card_1fpnp_91 .field-label{margin:0}._lobby-mode-card_1fpnp_91 small{color:#b8c4b3;margin-top:8px;font-size:12px;line-height:1.45;display:block}._lobby-players_1fpnp_94{margin-bottom:24px}.section-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;display:flex}.section-heading h2{margin:0;font-size:18px}.section-heading>span{color:var(--gold);letter-spacing:.06em;font-size:11px;font-weight:800}._lobby-player_1fpnp_94{border-bottom:1px solid var(--line);align-items:center;gap:12px;height:58px;font-size:14px;font-weight:700;display:flex}._lobby-player_1fpnp_94.empty{color:#9ba99b;font-weight:500}.player-avatar{background:var(--avatar-color);width:36px;height:36px;color:var(--avatar-foreground,#fff);text-shadow:0 1px 2px #0003;border:2px solid #ffffff61;border-radius:10px;place-items:center;font:900 15px Nunito;display:grid;box-shadow:0 2px 7px #00000047,inset 0 1px #ffffff47}._lobby-player_1fpnp_94.empty .player-avatar{color:#aab4a6;background:#2a3c32;border:1px dashed #617061}.host-badge,.you-badge{letter-spacing:.08em;color:var(--gold);margin-left:auto;font-size:10px}.you-badge{color:#a9cbbb}._start-button_1fpnp_104{width:100%;min-height:52px}._lobby-start-actions_1fpnp_105{gap:9px;display:grid}._test-start-button_1fpnp_106{justify-content:center;width:100%;min-height:44px}._test-start-hint_1fpnp_107{color:#aebcab;text-align:center;font-size:11px}._waiting-note_1fpnp_108{color:#c4ccb8;justify-content:center;gap:12px;padding:18px;font-size:14px;display:flex}.test-tools{margin:18px 0 0;padding-top:16px}.test-tools .section-heading{align-items:center}.test-tools .section-heading h3{color:var(--gold);margin:0}.test-tools-actions{align-items:center;gap:8px;display:flex}.test-stats-button{border-radius:8px;place-items:center;min-width:44px;min-height:44px;transition:background .18s,color .18s,border-color .18s;display:grid}.test-stats-button:hover,.test-stats-button[aria-pressed=true]{color:#fff0c7;background:#886133;border-color:#ffe29a99}.test-tools p{margin:0 0 12px}.test-resource-controls{grid-template-columns:1.35fr .65fr;gap:8px;display:grid}.test-resource-controls select,.test-resource-controls input{width:100%}._gameRoot_38e5u_1{background:#111e1a;flex-direction:column;height:100vh;min-height:680px;display:flex}._gameRoot_38e5u_1 .site-header{background:#15241e;flex:none;height:72px}._gameLayout_38e5u_3{flex:1;grid-template-columns:minmax(0,1fr) 370px;min-height:0;display:grid}._gameMain_38e5u_4{flex-direction:column;min-width:0;min-height:0;padding:22px clamp(20px,3vw,48px) 25px;display:flex}.game-topbar{z-index:15;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex;position:relative}.game-topbar h1{margin:5px 0 0;font-size:clamp(28px,3vw,42px);line-height:1.1}.game-topbar .eyebrow{font-size:10px}.game-topbar-tools{flex:none;align-items:center;gap:9px;display:flex}.dice-display{border:1px solid var(--line);min-height:44px;color:var(--gold);background:#1f342b;border-radius:9px;align-items:center;gap:9px;padding:8px 13px;display:flex}.dice-display strong{white-space:nowrap}.dice-settings{position:relative}.dice-settings summary{border:1px solid var(--line);color:#e9d7b3;cursor:pointer;-webkit-user-select:none;user-select:none;background:#1f342b;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:8px 12px;font-size:12px;font-weight:800;list-style:none;display:inline-flex}.dice-settings summary::-webkit-details-marker{display:none}.dice-settings summary:hover,.dice-settings[open] summary{background:#2b4434;border-color:#e9bd7299}.dice-settings summary:focus-visible{outline:3px solid var(--gold-strong);outline-offset:3px}.dice-settings-panel{z-index:30;background:#20362b;border:1px solid #e9bd7273;border-radius:12px;width:min(280px,100vw - 30px);padding:16px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 42px #00000073}.dice-settings-panel>strong{color:#f6e9ca;font-size:14px;display:block}.dice-settings-panel p{color:#bdcbbd;margin:4px 0 12px;font-size:12px;line-height:1.4}.dice-settings-panel label{color:#f4efe2;cursor:pointer;border-radius:7px;align-items:center;gap:10px;min-height:44px;padding:8px 9px;font-size:13px;font-weight:700;display:flex}.dice-settings-panel input{width:17px;height:17px;accent-color:var(--gold);margin:0}.dice-settings-board{z-index:20;position:absolute;top:14px;left:14px}.dice-settings-board .dice-settings-panel{left:0;right:auto}.dice-roll-overlay{z-index:8;pointer-events:none;background:radial-gradient(#081a1894,#081a1826 65%,#0000 82%);place-items:center;animation:.2s ease-out both _diceOverlayIn_38e5u_1,.25s ease-out 2.35s forwards _diceWindowOverlayOut_38e5u_1;display:grid;position:absolute;inset:0}.dice-roll-card{color:#f8ead0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(150deg,#233f31f7,#122721f7);border:1px solid #efd39c80;border-radius:18px;flex-direction:column;align-items:center;gap:12px;padding:25px 34px 21px;animation:.25s ease-out 2.35s both _diceWindowExit_38e5u_1;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 25px 80px #0000008c,inset 0 1px #ffffff1a}.dice-roll-kicker{letter-spacing:.16em;color:var(--gold);text-align:center;font-size:11px;font-weight:900}.dice-roll-stage{width:240px;height:140px}.dice-roll-stage canvas{display:block}.dice-roll-result{opacity:0;align-items:center;gap:13px;min-height:48px;animation:.3s ease-out 1.25s forwards _diceResultIn_38e5u_1;display:flex;transform:translateY(8px)}.dice-roll-result span{color:#e9d6ad;font-size:18px;font-weight:800}.dice-roll-result strong{background:var(--gold);color:#26331d;min-width:52px;height:52px;font:700 30px var(--font-display);border-radius:12px;place-items:center;padding:0 8px;display:grid;box-shadow:0 4px 16px #e9bd7247}.dice-board-anchor{z-index:8;pointer-events:none;filter:drop-shadow(0 10px 9px #0000006b);opacity:0;width:150px;height:96px;animation:.68s cubic-bezier(.2,.85,.25,1) 2.53s both _diceBoardAnchorIn_38e5u_1;position:absolute;top:50%;left:50%}.dice-board-anchor canvas{display:block;width:100%!important;height:100%!important}.dice-board-result{z-index:8;color:#f6e7c4;opacity:0;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1a3026f0;border:1px solid #e9bd72b3;border-radius:16px;flex-direction:column;align-items:center;gap:6px;min-width:170px;padding:12px 18px;font-size:22px;font-weight:800;animation:.3s ease-out 1.75s forwards _diceBoardResultIn_38e5u_1;display:flex;position:absolute;bottom:16px;right:18px;transform:translateY(8px);box-shadow:0 12px 36px #0000007a}.dice-board-player{color:#e9bd72;letter-spacing:.12em;font-size:11px}.dice-board-sum{align-items:center;gap:10px;display:flex}.dice-board-result strong{background:var(--gold);color:#26331d;min-width:52px;height:52px;font:700 30px var(--font-display);border-radius:12px;place-items:center;padding:0 8px;display:grid}.turn-overlay{z-index:9;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none;background:#0c201b61;place-content:center;justify-items:center;gap:8px;animation:.35s ease-out forwards _turnOverlayIn_38e5u_1;display:grid;position:absolute;inset:0}.turn-overlay-kicker{color:#e9bd72;letter-spacing:.2em;font-size:14px;font-weight:900}.turn-overlay strong{color:#fff3d0;font:700 clamp(38px, 7vw, 76px) var(--font-display);text-align:center;text-shadow:0 5px 22px #00000080;line-height:1}.setup-rolls-panel{background:#0f271f9e;border:1px solid #e9bd7252;border-radius:10px;margin:12px 0;padding:13px 14px}.setup-rolls-list{gap:6px;margin-top:10px;display:grid}.setup-roll-row{color:#eee3c8;justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.setup-roll-row strong{color:#f2cf8b;text-align:right;min-width:22px;font-size:16px}.setup-roll-player{align-items:center;gap:8px;display:inline-flex}.setup-roll-player i{border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 2px #ffffff29}@keyframes _diceOverlayIn_38e5u_1{0%{opacity:0}to{opacity:1}}@keyframes _diceResultIn_38e5u_1{to{opacity:1;transform:translateY(0)}}@keyframes _diceBoardResultIn_38e5u_1{to{opacity:1;transform:translateY(0)}}@keyframes _diceBoardAnchorIn_38e5u_1{0%{opacity:0;top:50%;left:50%;transform:translate(-50%,-50%)scale(1.05)}18%{opacity:1}to{opacity:1;top:calc(100% - 4px);left:calc(100% - 14px);transform:translate(-100%,-100%)scale(1)}}@keyframes _diceWindowExit_38e5u_1{0%{opacity:1;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-50%)scale(.94)}}@keyframes _diceWindowOverlayOut_38e5u_1{0%{background:radial-gradient(#081a1894,#081a1826 65%,#0000 82%)}to{background:0 0}}@keyframes _turnOverlayIn_38e5u_1{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.board-frame{background:#173b39;border:1px solid #d6c29533;border-radius:16px;flex:1;min-height:350px;position:relative;overflow:hidden;box-shadow:inset 0 0 65px #0a1e1d5c,0 20px 40px #0000001f}.board-overlay-top,.board-overlay-bottom{pointer-events:none;display:flex;position:absolute;left:18px;right:18px}.board-overlay-top{top:17px}.board-overlay-bottom{justify-content:center;bottom:16px}.board-tag,.board-overlay-bottom span{color:#e7e4cf;background:#122722d9;border:1px solid #ffffff1f;border-radius:99px;padding:9px 13px;font-size:11px;font-weight:700}.board-tag{letter-spacing:.1em;align-items:center;gap:9px;display:flex}.board-overlay-bottom span{align-items:center;gap:8px;display:inline-flex}.board-help-close{color:#e7e4cfb8;cursor:pointer;pointer-events:auto;background:0 0;border:0;place-items:center;width:18px;height:18px;margin:-2px -5px -2px 0;padding:0;display:inline-grid}.board-help-close:hover{color:var(--gold)}.board-compass{display:none}.board-top-actions{z-index:5;pointer-events:auto;align-items:center;gap:8px;display:flex;position:absolute;top:14px;right:18px}.board-recenter-btn{color:#e7e4cf;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-user-select:none;user-select:none;pointer-events:auto;background:#122722e0;border:1px solid #ffffff26;border-radius:99px;align-items:center;gap:7px;padding:8px 14px;font-size:11px;font-weight:700;transition:background .18s,color .18s,border-color .18s,transform .15s,box-shadow .18s;display:inline-flex;box-shadow:0 4px 12px #00000040}.board-recenter-btn:hover{color:var(--gold);background:#1c3830f5;border-color:#eadfb766;transform:translateY(-1px);box-shadow:0 6px 16px #00000059}.board-recenter-btn:active{transform:translateY(0)}.board-replay-btn:hover{color:#fce79a;border-color:#fce79a73}.board-start-anim-banner{z-index:6;color:#f7eed7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto;-webkit-user-select:none;user-select:none;background:#122722ed;border:1px solid #dcc79d6b;border-radius:99px;align-items:center;gap:12px;padding:8px 16px;font-size:12px;font-weight:700;animation:.3s cubic-bezier(.16,1,.3,1) _animBannerIn_38e5u_1;display:inline-flex;position:absolute;top:14px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000073}.anim-banner-content{align-items:center;gap:8px;display:flex}.anim-banner-icon{font-size:15px;line-height:1}.anim-banner-text{letter-spacing:.02em;white-space:nowrap}.board-start-anim-skip{color:#e7e4cf;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff38;border-radius:99px;padding:4px 10px;font-size:10px;font-weight:800;transition:background .15s,color .15s,transform .15s}.board-start-anim-skip:hover{color:#fff;background:#dcc79d47;border-color:#dcc79d80;transform:scale(1.04)}@keyframes _animBannerIn_38e5u_1{0%{opacity:0;transform:translate(-50%,-10px)scale(.95)}to{opacity:1;transform:translate(-50%)scale(1)}}.inventory{z-index:30;flex:none;padding-top:10px;position:relative}.inventory-tray{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#14221bc2;border:1px solid #eadfb729;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:8px 16px;display:flex;box-shadow:0 8px 24px #0000004d,inset 0 1px 1px #ffffff0f}.inventory-side-left{flex-direction:column;flex:0 0 170px;align-items:flex-start;gap:8px;display:flex}.inventory-heading{align-items:center;gap:8px;display:flex}.inventory-heading span{color:#f5eedb;white-space:nowrap;font:800 15px Nunito,sans-serif}.inventory-count-pill{color:var(--gold);letter-spacing:.04em;white-space:nowrap;background:#e9bd721f;border:1px solid #e9bd724d;border-radius:99px;padding:2px 7px;font-size:10px;font-weight:800}.inventory-view-toggle{background:#15251e;border:1px solid #ffffff1a;border-radius:6px;gap:2px;padding:2px;display:inline-flex}.view-toggle-btn{color:#9cb19e;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:800;transition:all .15s;display:inline-flex}.view-toggle-btn.active{color:var(--gold);background:#284435;box-shadow:0 1px 3px #00000059}.inventory-center{flex:1;justify-content:center;align-items:center;min-width:0;display:flex}.inventory-dev-toggle{appearance:none;font:inherit;cursor:pointer}.inventory-dev-toggle.resource-chip:hover{filter:brightness(1.08)}.inventory-dev-toggle .dev-inventory-icon{object-fit:contain;border-radius:5px;padding:2px}.inventory-dev-toggle.resource-card{cursor:pointer;background:0 0;border:0;padding:0}.inventory-dev-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.inventory-dev-popover{z-index:1000;background:repeating-linear-gradient(90deg,#0000 0 36px,#ffedbe06 37px 38px),linear-gradient(155deg,#5b422e,#2f271f);border:2px solid #bd945b;border-radius:12px;width:min(460px,100vw - 32px);padding:12px;position:absolute;bottom:calc(100% + 10px);right:0;box-shadow:0 12px 35px #0000008c,inset 0 0 0 2px #1e140d61}.inventory-dev-popover-heading{color:#f3d595;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;font-size:13px;display:flex}.inventory-dev-close{color:#f3d595;cursor:pointer;background:#4b3426;border:1px solid #e9bd7273;border-radius:7px;place-items:center;width:32px;height:32px;display:grid}.inventory-dev-cards{grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:8px;display:grid}.inventory-dev-cards .dev-card-tile{background:#4b3426;border-color:#b99761;max-width:84px}.inventory-dev-cards .dev-card-tile-label{color:#f3d595}.inventory-side-right{flex-direction:column;flex:0 0 160px;align-items:flex-end;gap:8px;display:flex}.inventory-score-pill{flex-direction:column;align-items:flex-end;line-height:1.15;display:flex}.inventory-score-pill small{letter-spacing:.12em;color:#a8b8a5;text-transform:uppercase;font-size:9px;font-weight:800}.inventory-score-pill strong{color:var(--gold);letter-spacing:.04em;font:900 16px Nunito,sans-serif}.inventory-score-pill .pv-unit{color:#ffd996;font-size:10px}.costs-ref-btn{color:var(--gold);cursor:pointer;background:#1f3329;border:1px solid #d6c29540;border-radius:6px;align-items:center;gap:5px;padding:4px 10px;font-size:11px;font-weight:800;transition:all .15s;display:inline-flex}.costs-ref-btn:hover{border-color:var(--gold);background:#2b4739;box-shadow:0 2px 8px #0000004d}.inventory-cards{justify-content:center;align-items:flex-end;gap:14px;width:100%;display:flex}.inventory-resources{grid-template-columns:repeat(5,1fr);gap:8px;width:100%;display:grid}.inventory-resources.with-dev-card{grid-template-columns:repeat(6,minmax(0,1fr))}.theft-notice-toast{color:#fecaca;z-index:100;pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(135deg,#260c0cf0,#140808f5);border:1.5px solid #ef4444b3;border-radius:99px;align-items:center;gap:9px;padding:7px 16px 7px 12px;font-size:13.5px;font-weight:700;animation:.35s cubic-bezier(.16,1,.3,1) _theftToastIn_38e5u_1;display:flex;position:absolute;top:18px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #000000bf,0 0 16px #dc262666}@keyframes _theftToastIn_38e5u_1{0%{opacity:0;transform:translate(-50%,-16px)scale(.9)}to{opacity:1;transform:translate(-50%)scale(1)}}.theft-icon{font-size:17px;line-height:1}.theft-text{color:#fff}.theft-loss-badge{color:#fca5a5;background:#dc262659;border:1px solid #f8717199;border-radius:99px;align-items:center;gap:4px;padding:2px 7px;font-size:12px;font-weight:800;display:inline-flex}.theft-loss-icon{object-fit:contain;width:13px;height:13px}.theft-notice-close{color:#fca5a5;cursor:pointer;opacity:.8;background:0 0;border:none;place-items:center;margin-left:4px;padding:2px;transition:opacity .15s;display:grid}.theft-notice-close:hover{opacity:1}.game-sidebar{border-left:1px solid var(--line);background:#192822;flex-direction:column;min-height:0;display:flex}.sidebar-tabs{border-bottom:1px solid var(--line);flex:none;grid-template-columns:repeat(3,1fr);gap:2px;padding:13px 14px 0;display:grid}.sidebar-tabs button{color:#aebbac;background:0 0;border:0;border-bottom:2px solid #0000;justify-content:center;align-items:center;gap:7px;min-height:47px;font-size:12px;font-weight:800;display:flex}.sidebar-tabs button.active{border-color:var(--gold);color:var(--gold)}.sidebar-scroll{scrollbar-color:#4d6954 transparent;flex:1;padding:20px 20px 132px;overflow-y:auto}.sidebar-actions{flex-direction:column;min-height:100%;display:flex}.sidebar-actions .current-action-box{flex-direction:column;flex:1;display:flex}.sidebar-actions .current-action-box>.turn-action-sticky{margin-top:auto}.players-panel{margin-bottom:27px}.score-row{border-radius:8px;align-items:center;gap:10px;min-height:53px;padding:6px 8px;display:flex}.score-row.current{background:#263e30}.score-avatar{color:#fff;text-shadow:0 1px 2px #00000038;border:2px solid #ffffff52;border-radius:8px;flex:none;place-items:center;width:32px;height:32px;font-weight:900;display:grid;box-shadow:0 2px 6px #00000040,inset 0 1px #ffffff3d}.score-row>div:nth-child(2){flex:1;min-width:0}.score-row strong,.score-row small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.score-row strong{font-size:12px}.score-row small{color:#b1bfad;margin-top:2px;font-size:10px}.score-right{flex:none;align-items:center;gap:7px;display:flex}.trophy-card-badge{vertical-align:middle;border-radius:3px;width:auto;height:26px;box-shadow:0 1px 4px #00000080}.trophy-card-button{cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin:0 -3px;padding:2px;display:inline-flex}.trophy-card-button:hover{background:#e9bd721f}.trophy-card-button:focus-visible{outline:2px solid var(--gold);outline-offset:1px}.score-points{color:var(--gold);font:900 16px Nunito}.score-points small{font:700 9px DM Sans;display:inline}.score-points .dev-point-bonus,.dev-point-bonus{white-space:nowrap;color:#c49b61;cursor:help;margin:0 4px;padding:2px 3px;font:900 13px Nunito;display:inline-block;position:relative;overflow:visible!important}.dev-point-bonus:after{content:attr(data-tooltip);z-index:30;color:#f2edda;text-align:center;white-space:normal;pointer-events:none;opacity:0;background:#14251d;border:1px solid #e9bd7273;border-radius:7px;width:max-content;max-width:min(190px,100vw - 32px);padding:7px 9px;font:700 11px/1.3 DM Sans,sans-serif;transition:opacity .16s,transform .16s;position:absolute;bottom:calc(100% + 9px);right:0;transform:translateY(4px);box-shadow:0 5px 16px #00000059}.dev-point-bonus:hover:after,.dev-point-bonus:focus-visible:after{opacity:1;transform:translateY(0)}.action-box,.trade-panel,.log-panel{border-top:1px solid var(--line);padding-top:20px}.action-box h3,.trade-panel h3,.log-panel h2{margin:0 0 7px;font-size:17px}.action-box p,.trade-panel p{color:#c0cbb9;font-size:13px;line-height:1.55}.action-box .section-heading{margin-bottom:13px}.action-box .section-heading h2{font-size:17px}.instruction{margin:0 0 14px}.big-action{min-height:52px;font-size:15px}.turn-action-sticky{z-index:8;padding:14px 20px calc(20px + env(safe-area-inset-bottom,0px));background:linear-gradient(#192822b8,#192822 38%);border-top:1px solid #e9bd7238;margin:16px -20px 0;position:sticky;bottom:0;box-shadow:0 -10px 22px #0c191347}.turn-action-sticky .end-turn{margin-top:0}.dice-action-panel,.turn-action-panel{padding:14px 20px calc(20px + env(safe-area-inset-bottom,0px));background:linear-gradient(#192822b8,#192822 38%);border-top:1px solid #e9bd7238;flex:none;box-shadow:0 -10px 22px #0c191347}.build-list{gap:8px;display:grid}.build-option{text-align:left;color:#f0eddb;background:#22362b;border:1px solid #eddcaf1c;border-radius:9px;align-items:center;gap:11px;width:100%;min-height:61px;padding:9px;display:flex}.build-option:hover:not(:disabled),.build-option.selected{background:#2d4934;border-color:#e9bd72bd}.build-option:disabled{opacity:.47}.build-option>span:nth-child(2){flex:1;min-width:0}.build-option strong,.build-option small{display:block}.build-option strong{font-size:12px}.build-option small{color:#b8c5b4;margin-top:2px;font-size:10px;line-height:1.3}.cost-recipe{flex-wrap:wrap;align-items:center;gap:5px;margin-top:4px;display:flex}.recipe-tag{color:#f1ebd8;background:#0e1c16a6;border:1px solid #eadfb726;border-radius:5px;align-items:center;gap:4px;padding:2px 6px 2px 4px;font-size:11px;font-weight:800;display:inline-flex}.recipe-tag img{object-fit:contain;border-radius:3px;width:17px;height:17px}.recipe-tag.free-tag{color:#a5d6a7;letter-spacing:.04em;background:#2e7d3259;border:1px solid #81c784b3;font-weight:900;animation:2s ease-in-out infinite _pulseFreeGlow_38e5u_1;box-shadow:0 0 10px #4caf504d}@keyframes _pulseFreeGlow_38e5u_1{0%,to{border-color:#81c78499;box-shadow:0 0 8px #4caf5040}50%{border-color:#a5d6a7f2;box-shadow:0 0 14px #4caf5099}}.free-roads-notice{background:linear-gradient(135deg,#223c2dcc,#162a1fe6);border:1.5px solid #81c7848c;border-radius:9px;margin-bottom:14px;padding:10px 14px;box-shadow:0 4px 16px #0000004d,0 0 12px #4caf5033}.free-roads-badge{letter-spacing:.14em;color:var(--gold);margin-bottom:4px;font-size:10px;font-weight:900;display:inline-block}.free-roads-notice .instruction{color:#f4efe2;margin:0;font-size:13.5px;font-weight:700}.build-icon{background:linear-gradient(145deg,#2a4334,#1c3025);border:1px solid #eadfb733;border-radius:9px;flex:none;place-items:center;width:38px;height:38px;transition:transform .16s,border-color .16s,background .16s;display:grid;overflow:hidden;box-shadow:inset 0 1px 2px #ffffff14,0 2px 5px #00000047}.build-option:hover:not(:disabled) .build-icon{background:linear-gradient(145deg,#32523f,#233b2e);border-color:#e9bd7280}.build-option.selected .build-icon{border-color:var(--gold);box-shadow:inset 0 1px 2px #ffffff26,0 0 10px #e9bd7259}.build-icon-svg{object-fit:contain;filter:drop-shadow(0 2px 4px #00000073);width:28px;height:28px;transition:transform .18s cubic-bezier(.2,0,0,1)}.build-option:hover:not(:disabled) .build-icon-svg{transform:scale(1.12)}.dev-deck-icon{padding:0}.dev-card-mini{object-fit:cover;border:1px solid #ffffff4d;border-radius:3px;width:19px;height:27px;transition:transform .18s cubic-bezier(.2,0,0,1),box-shadow .18s;transform:rotate(-3deg);box-shadow:0 2px 5px #0000008c}.build-option:hover:not(:disabled) .dev-card-mini{transform:rotate(0)scale(1.12);box-shadow:0 3px 8px #000000b3}.deck-count{min-width:22px;height:22px;color:var(--gold);background:#0e1c16bf;border:1px solid #eadfb733;border-radius:99px;justify-content:center;align-items:center;margin-left:auto;padding:0 6px;font:900 11px Nunito,sans-serif;display:flex}.end-turn{margin-top:16px}.accessible-moves{background:#203329;border:1px solid #eae0be21;border-radius:9px;margin-top:16px;padding:13px}.field-label{color:#d5dccb;margin:0 0 8px;font-size:11px;font-weight:800;display:block}.field-label select,.field-label input{margin-top:7px}.select-with-icon .custom-select-trigger{flex:1;min-width:0;margin-top:0}.select-with-icon{align-items:center;gap:8px;margin-top:7px;display:flex}.select-resource-icon{object-fit:contain;border-radius:6px;flex:none;width:32px;height:32px;box-shadow:0 1px 4px #0000004d}.accessible-moves .custom-select-trigger{font-size:12px}.trade-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.trade-resource-grid{grid-template-columns:1fr;align-items:start;gap:12px}.trade-resource-picker{background:#14221b80;border:1px solid #eadfb721;border-radius:10px;min-width:0;margin:0;padding:10px}.trade-resource-picker legend{color:#d5dccb;padding:0 4px;font-size:11px;font-weight:800}.trade-resource-list{gap:6px;display:grid}.trade-resource-row{border-bottom:1px solid #eadfb714;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:2px 4px;display:flex}.trade-resource-row:last-child{border-bottom:0}.trade-resource-name{color:#e7e8d7;align-items:center;gap:7px;min-width:0;font-size:12px;display:flex}.trade-resource-name img{object-fit:contain;flex:none;width:24px;height:24px}.trade-resource-picker .stepper{flex:none;gap:4px}.trade-resource-picker .stepper button{width:30px;height:34px;font-size:17px}.trade-resource-picker .stepper span{width:18px}.trade-helper{color:#9fad9d;margin:10px 0 0;font-size:11px}.trade-panel>.button{margin:8px 0 15px}.trade-rate-info{align-items:center;gap:8px;margin:6px 0 2px;display:flex}.trade-rate-badge{background:var(--panel);border:1px solid var(--line);color:#8a9a88;border-radius:6px;justify-content:center;align-items:center;min-width:36px;padding:2px 8px;font-size:13px;font-weight:800;display:inline-flex}.trade-rate-badge.has-port{border-color:var(--gold);color:var(--gold);background:#e9bd721f}.trade-rate-label{color:#8a9a88;font-size:12px}.trade-divider{text-align:center;color:#9fad9d;letter-spacing:.12em;margin:4px 0 16px;font-size:10px;font-weight:800}.dev-section{margin-top:20px}.dev-section h3{font-size:14px}.dev-cards-grid{grid-template-columns:repeat(auto-fill,minmax(75px,1fr));gap:8px;margin:10px 0 14px;display:grid}.dev-card-tile{width:100%;color:inherit;cursor:pointer;background:#22372c;border:1px solid #e9bd724d;border-radius:8px;flex-direction:column;align-items:center;gap:5px;padding:6px;transition:transform .18s,border-color .18s,background .18s;display:flex}.dev-card-tile:hover{border-color:var(--gold);transform:translateY(-2px)}.dev-card-tile:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.dev-card-tile:active{background:#2d4934;transform:translateY(0)}.dev-card-tile-img{aspect-ratio:2/3;object-fit:cover;border-radius:5px;width:100%;box-shadow:0 2px 6px #00000059}.dev-card-tile-label{color:#edd39b;text-align:center;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:10px;font-weight:800;overflow:hidden}.dev-card{color:var(--gold);background:#2d3c2c;border:1px solid #ebbd7040;border-radius:6px;margin:0 5px 6px 0;padding:8px 10px;font-size:11px;display:inline-flex}.modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#050e0bcc;place-items:center;padding:20px;animation:.15s _fadeIn_38e5u_1;display:grid;position:fixed;inset:0}.costs-modal{background:#192a23;border:1px solid #d6c29559;border-radius:14px;flex-direction:column;width:100%;max-width:440px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 16px 48px #000000b3}.costs-modal .modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.costs-modal .modal-header h3{color:var(--gold);margin:0;font-size:16px}.costs-modal-body{justify-content:center;padding:16px;display:flex;overflow-y:auto}.building-costs-img{object-fit:contain;border-radius:8px;max-width:100%;max-height:72vh;box-shadow:0 4px 16px #00000080}.costs-3d-backdrop{z-index:1000;-webkit-backdrop-filter:none;backdrop-filter:none;background:#050e0b1f;flex-direction:column;transition:opacity .35s;animation:.25s ease-out forwards _costs3dIn_38e5u_1;display:flex;position:fixed;inset:0;overflow:hidden}.costs-3d-backdrop.is-closing{opacity:0;pointer-events:none}@keyframes _costs3dIn_38e5u_1{0%{opacity:0}to{opacity:1}}.costs-3d-header{z-index:20;pointer-events:none;justify-content:space-between;align-items:center;padding:clamp(14px,2.5vw,24px) clamp(16px,3.5vw,36px);display:flex;position:absolute;top:0;left:0;right:0}.costs-3d-title h3{color:var(--gold);letter-spacing:.06em;text-shadow:0 2px 8px #0009;pointer-events:auto;margin:0;font:900 clamp(16px,2vw,20px) Nunito,sans-serif}.costs-3d-actions{pointer-events:auto;align-items:center;gap:10px;display:flex}.costs-3d-flip-btn{color:#f0e6d2;background:#1a2c24d9;border:1px solid #e9bd7259;border-radius:9px;align-items:center;gap:7px;padding:8px 14px;font-size:12.5px;font-weight:700;transition:all .18s;display:inline-flex;box-shadow:0 4px 14px #0000004d}.costs-3d-flip-btn:hover{border-color:var(--gold);color:#fff;background:#284436f2;transform:translateY(-1px)}.costs-3d-close-btn{color:#ecdcc1;background:#1a2c24d9;border:1px solid #e9bd724d;border-radius:10px;width:38px;height:38px;transition:all .18s;box-shadow:0 4px 14px #0000004d}.costs-3d-close-btn:hover{color:#fff;background:#dc3545cc;border-color:#ff788299;transform:translateY(-1px)}.costs-3d-stage{cursor:grab;flex:1;width:100%;height:100%;position:relative}.costs-3d-stage:active{cursor:grabbing}.costs-3d-stage canvas{display:block;width:100%!important;height:100%!important}.costs-webgl-recovery{object-fit:contain;z-index:5;pointer-events:none;border:4px solid #e4d4b4;border-radius:14px;width:min(81vw,66vh);max-width:487px;max-height:78vh;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 24px 44px #00000085}.costs-3d-footer-hint{z-index:20;pointer-events:none;max-width:calc(100vw - 32px);position:absolute;bottom:clamp(14px,2.5vw,24px);left:50%;transform:translate(-50%)}.costs-3d-footer-hint span{color:#dcd6c4;text-align:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#10201ae0;border:1px solid #e9bd7247;border-radius:99px;padding:7px 18px;font-size:11.5px;font-weight:700;display:inline-block;box-shadow:0 6px 20px #00000073}.dev-card-modal{background:#192a23;border:1px solid #d6c29559;border-radius:14px;width:100%;max-width:520px;overflow:hidden;box-shadow:0 16px 48px #000000b3}.dev-card-modal .modal-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.dev-card-modal .modal-header h3{color:var(--gold);margin:0;font-size:18px}.dev-card-modal-body{grid-template-columns:150px 1fr;align-items:start;gap:22px;padding:20px;display:grid}.dev-card-modal-img{border-radius:7px;width:150px;box-shadow:0 5px 16px #00000080}.dev-card-modal-kicker{color:#aebcab;letter-spacing:.14em;font-size:10px;font-weight:900}.dev-card-modal-body p{color:#e8ecdd;margin:8px 0 0;font-size:14px;line-height:1.6}.dev-card-modal-copy{min-width:0}.dev-card-modal-actions{text-align:left;gap:9px;margin-top:16px;display:grid}.dev-card-modal-actions .field-label{margin-bottom:0}.dev-card-modal-note{color:#aebcab!important;font-size:12px!important}.offer-box{margin-top:20px}.offer-actions{gap:8px;margin-top:12px;display:flex}.offer-actions .button{flex:1}.pending-trade-box,.incoming-trade-box{background:#1e3328;border:1.5px solid #e9bd7266;border-radius:12px;margin-top:10px;padding:16px;animation:.2s _fadeIn_38e5u_1;box-shadow:0 6px 20px #00000059}.pending-trade-box{background:linear-gradient(160deg,#223b2e,#182b21);border-color:#e9bd7280}.incoming-trade-box{background:linear-gradient(160deg,#224232,#172e23);border-color:#5bb374}.pending-trade-header,.incoming-trade-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.pending-trade-title{align-items:center;gap:8px;display:flex}.pending-trade-title h3,.incoming-trade-header h3{color:#f7f3e8;margin:0;font-size:16px}.pending-status-pulse{background:var(--gold);border-radius:50%;width:10px;height:10px;animation:1.6s infinite _pulseGold_38e5u_1;box-shadow:0 0 #e9bd72b3}@keyframes _pulseGold_38e5u_1{0%{transform:scale(.95);box-shadow:0 0 #e9bd72b3}70%{transform:scale(1);box-shadow:0 0 0 8px #e9bd7200}to{transform:scale(.95);box-shadow:0 0 #e9bd7200}}.pending-badge{color:var(--gold);background:#e9bd7226;border:1px solid #e9bd7266;border-radius:99px;padding:3px 8px;font-size:11px;font-weight:800}.incoming-badge{color:#72d98f;background:#5bb37433;border:1px solid #5bb37480;border-radius:99px;padding:3px 8px;font-size:11px;font-weight:800}.pending-desc,.incoming-desc{color:#c9d6c3;margin:0 0 14px;font-size:13px;line-height:1.45}.trade-rejections{color:#d6c7a0;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:-4px 0 14px;font-size:12px;line-height:1.4;display:flex}.trade-rejections strong{color:#f0d18a;font-weight:700}.pending-trade-exchange{background:#0b1611a6;border:1px solid #e9bd722e;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;padding:12px;display:flex}.exchange-col{flex-direction:column;flex:1;gap:6px;display:flex}.exchange-label{text-transform:uppercase;letter-spacing:.08em;color:#8c9e88;font-size:10px;font-weight:800}.exchange-chips{flex-direction:column;gap:4px;display:flex}.exchange-chip{color:#f1ebd8;background:#253d2f;border:1px solid #e9bd7240;border-radius:6px;align-items:center;gap:6px;padding:4px 8px;font-size:12px;display:flex}.exchange-chip.give{background:#2e1a1573;border-color:#e0745859}.exchange-chip.receive{background:#152e1f73;border-color:#5bb37459}.exchange-chip img{object-fit:contain;box-sizing:border-box;background:#f7edcf;border:1px solid #e9bd72b3;border-radius:5px;width:24px;height:24px;padding:1px;box-shadow:0 1px 3px #00000059}.exchange-chip.give img{border-color:#e07458cc}.exchange-chip.receive img{border-color:#5bb374d9}.exchange-divider{color:var(--gold);place-items:center;padding:0 4px;display:grid}.pending-footer{flex-direction:column;gap:10px;display:flex}.pending-waiting-indicator{color:#e5cd97;justify-content:center;align-items:center;gap:7px;padding:4px 0;font-size:12px;display:flex}.cancel-trade-btn{justify-content:center;align-items:center;gap:6px;display:inline-flex}.spin-slow{animation:2.5s linear infinite _spinSlow_38e5u_1}@keyframes _spinSlow_38e5u_1{to{transform:rotate(360deg)}}.tab-trade-badge{background:var(--gold);color:#17241c;border-radius:99px;margin-left:6px;padding:1px 6px;font-size:9px;font-weight:800;animation:1.6s infinite _pulseGold_38e5u_1}.trade-notice-banner{border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px;padding:10px 14px;font-size:13px;font-weight:600;animation:.2s _fadeIn_38e5u_1;display:flex}.trade-notice-banner.success{color:#a5d6a7;background:#2e7d3247;border:1px solid #4caf50}.trade-notice-banner.error{color:#ef9a9a;background:#c6282847;border:1px solid #ef5350}.trade-notice-banner.info{color:#81d4fa;background:#0288d147;border:1px solid #29b6f6}.trade-notice-close{color:inherit;cursor:pointer;opacity:.8;background:0 0;border:none;place-items:center;padding:2px;display:grid}.trade-notice-close:hover{opacity:1}.discard-row{justify-content:space-between;align-items:center;gap:5px;margin-bottom:7px;display:flex}.discard-row .resource-chip{flex:1;min-height:45px}.stepper{align-items:center;gap:2px;display:flex}.stepper button{border:1px solid var(--line);width:40px;height:44px;color:var(--text);background:#304534;border-radius:7px;font-size:20px}.stepper button:disabled{opacity:.35}.stepper span{text-align:center;width:20px;font-weight:800}.log-panel ol{padding:0;list-style:none}.log-panel li{color:#d9decf;border-bottom:1px solid var(--line);align-items:flex-start;gap:10px;padding:12px 0;font-size:12px;line-height:1.5;display:flex}.log-dot{background:var(--gold);border-radius:50%;flex:none;width:6px;height:6px;margin-top:6px}.result-box{text-align:center;padding:26px 10px}.result-box svg{color:var(--gold)}.result-box h3{margin-top:8px;font-size:22px}.sidebar-error{margin-top:16px}.robber-targets p{margin:10px 0 5px}.robber-targets .button{margin:4px}._mobilePanelToggle_38e5u_1084{display:none}.number-token{color:#563f2d;pointer-events:none;background:#f1e5c6;border:2px solid #c6aa77;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:42px;height:42px;display:flex;box-shadow:0 2px 6px #00000059}.number-token strong{font:700 20px var(--font-display);line-height:1}.number-token small{letter-spacing:-.08em;font-size:7px;line-height:1}.number-token.hot{color:#ab4938}.port-info-card{z-index:30;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#f7f3e8;pointer-events:auto;background:#122421f5;border:1.5px solid #f5dfaa66;border-radius:16px;flex-direction:column;gap:10px;width:min(390px,100% - 32px);padding:15px 18px;animation:.22s cubic-bezier(.16,1,.3,1) _portCardIn_38e5u_1;display:flex;position:absolute;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 16px 42px #0000008c,0 0 0 1px #ffffff14}@keyframes _portCardIn_38e5u_1{0%{opacity:0;transform:translate(-50%,10px)scale(.96)}to{opacity:1;transform:translate(-50%)scale(1)}}.port-info-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.port-info-title-group{align-items:center;gap:10px;display:flex}.port-info-icon{font-size:24px;line-height:1}.port-info-name{color:#fff;font:800 15px/1.2 Nunito,sans-serif}.port-info-subtitle{text-transform:uppercase;letter-spacing:.12em;color:#9cb5a8;font-size:10px;font-weight:700}.port-info-badge{color:#fff;border:1px solid #ffffff40;border-radius:99px;margin-left:2px;padding:3px 9px;font:900 13px Nunito,sans-serif;box-shadow:0 2px 6px #0000004d}.port-info-close{color:#d1dacd;cursor:pointer;background:#ffffff14;border:1px solid #ffffff26;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:flex}.port-info-close:hover{color:#fff;background:#fff3}.port-info-desc{color:#dce5dd;border-left:3px solid var(--gold);background:#00000038;border-radius:9px;padding:9px 12px;font-size:13px;line-height:1.45}.port-info-desc strong{color:#fae38c;font-weight:800}.port-info-piers-title{text-transform:uppercase;letter-spacing:.08em;color:#a8bcaf;align-items:center;gap:5px;margin-bottom:5px;font-size:11px;font-weight:800;display:flex}.port-info-owners{flex-direction:column;gap:6px;font-size:12px;display:flex}.port-owner-row{align-items:center;gap:8px;display:flex}.port-owner-row.empty{color:#a2b0a6;font-size:11.5px;font-style:italic}.port-owner-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px;box-shadow:0 0 4px #00000080}.port-status-dot.empty{border:1.5px dashed #758679;border-radius:50%;flex-shrink:0;width:8px;height:8px}.port-owner-row .text-muted{color:#839487}.port-info-active-badge{color:#a7e0b5;text-align:center;background:#21733e59;border:1px solid #48a86a73;border-radius:8px;margin-top:8px;padding:5px 10px;font-size:11px;font-weight:800}@media (width<=1100px){._gameLayout_38e5u_3{grid-template-columns:minmax(0,1fr) 340px}._gameMain_38e5u_4{padding:20px}.resource-chip{gap:5px;padding:7px;font-size:11px}.card-visual{width:68px;height:100px}.inventory-side-left{flex-basis:150px}.inventory-side-right{flex-basis:140px}}@media (width<=980px){.brand{gap:0}.brand-text{display:none}.header-right{gap:12px;min-width:0}}@media (width<=820px){.site-header{height:70px}.lobby-main{grid-template-columns:1fr}.lobby-visual{order:2;height:400px;min-height:370px;position:relative;top:auto}.lobby-content{order:1;max-width:100%}._gameLayout_38e5u_3{grid-template-columns:minmax(0,1fr) 310px}._gameRoot_38e5u_1 .site-header{height:65px}.game-connection .connection-label{display:none}.inventory-tray{flex-wrap:wrap;gap:10px;padding:8px 12px}.inventory-side-left{flex-direction:row;flex:auto;order:1;justify-content:flex-start;align-items:center;gap:12px}.inventory-side-right{flex-direction:row;flex:none;order:2;align-items:center;gap:10px}.inventory-center{flex:100%;order:3;width:100%}.inventory-resources{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.inventory-cards{gap:10px}.card-visual{width:56px;height:84px}.resource-chip{flex-direction:column;align-items:flex-start;min-height:62px}.resource-chip strong{margin-left:0}.resource-chip .resource-symbol{display:none}}@media (width<=650px){.brand{letter-spacing:.07em;gap:9px;font-size:13px}.brand-mark{width:34px;height:34px}.header-note{display:none}._gameRoot_38e5u_1 .game-connection,.lobby-shell .game-connection{gap:6px;display:inline-flex}.game-connection .connection-label{display:none}.site-header{padding:0 17px}.lobby-main{padding:30px 18px}.lobby-content h1{font-size:53px}.lobby-visual{height:360px;min-height:330px}._gameRoot_38e5u_1{height:100dvh;min-height:0}._gameRoot_38e5u_1 .site-header{height:58px}._gameRoot_38e5u_1 .brand{font-size:12px}._gameRoot_38e5u_1 .brand-mark{width:30px;height:30px}.room-pill{padding:7px;font-size:10px}._gameRoot_38e5u_1 .header-link{gap:0;font-size:0}._gameRoot_38e5u_1 .header-link svg{width:20px;height:20px}.header-right{gap:12px}.sound-toggle-btn{width:32px;height:32px}.graphics-toggle{justify-content:center;width:32px;min-height:32px;padding:6px}.graphics-toggle span{display:none}._gameLayout_38e5u_3{min-height:0;display:block;position:relative;overflow:hidden}._gameMain_38e5u_4{height:100%;padding:14px 12px 77px}.game-topbar{margin-bottom:11px}.game-topbar h1{font-size:25px}.game-topbar .eyebrow{font-size:9px}.dice-display{font-size:12px}.board-frame{min-height:0}.dice-display{gap:5px;padding:7px 9px}.dice-display svg{width:17px}.dice-settings summary{width:44px;padding:8px}.dice-settings summary span{display:none}.dice-board-anchor{width:122px;height:78px}.dice-roll-card{gap:6px;padding:18px 20px 16px}.dice-roll-stage{width:206px;height:120px}.inventory{padding-top:6px}.inventory-tray{gap:6px;padding:6px 8px}.inventory-heading span{font-size:12px}.inventory-count-pill{padding:1px 5px;font-size:9px}.inventory-score-pill strong{font-size:13px}.costs-ref-btn{padding:3px 6px;font-size:10px}.inventory-resources{gap:3px}.dev-card-modal-body{text-align:center;grid-template-columns:1fr;justify-items:center;padding:18px}.dev-card-modal-img{width:128px}.inventory-cards{gap:6px}.card-visual{width:44px;height:66px}.resource-card{gap:2px}.card-title{font-size:8.5px}.card-count{min-width:17px;height:17px;padding:0 3px;font-size:9px;top:-4px;right:-4px}.resource-chip{gap:1px;min-height:54px;padding:5px 4px;font-size:9px}.resource-chip strong{font-size:16px}.board-tag{font-size:9px}.board-overlay-bottom span{font-size:10px}.board-top-actions{gap:6px;top:10px;right:10px}.board-recenter-btn{gap:5px;padding:6px 10px;font-size:10px}.board-start-anim-banner{gap:8px;padding:6px 12px;font-size:11px;top:10px}.game-sidebar{z-index:10;border:1px solid #e9bd7247;border-radius:16px 16px 0 0;height:min(75vh,650px);transition:transform .3s;position:absolute;bottom:0;left:0;right:0;transform:translateY(105%);box-shadow:0 -15px 60px #00000080}.game-sidebar.open{transform:translateY(0)}.sidebar-scroll{padding-bottom:20px}.turn-action-sticky{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px));bottom:0}.dice-action-panel{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}._mobilePanelToggle_38e5u_1084{z-index:12;bottom:max(16px, env(safe-area-inset-bottom));color:#26331d;background:#e9bd72;border:1px solid #ecc47666;border-radius:99px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:10px 23px;font-weight:900;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #00000059}}@media (prefers-reduced-motion:reduce){:root:not([data-motion-preference=always]) *,:root:not([data-motion-preference=always]) :before,:root:not([data-motion-preference=always]) :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-delay:0s!important}:root:not([data-motion-preference=always]) .dice-roll-result,:root:not([data-motion-preference=always]) .dice-board-result{opacity:1;transform:none}}.route-choice{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.route-choice .button{flex:110px;min-height:44px}.route-choice .button[aria-pressed=true]{background:#c8995338;border-color:#c89953}.wonder-list{gap:.5rem;margin-top:.75rem;display:grid}.wonder-list .button{text-align:left;white-space:normal;justify-items:start;gap:.2rem;display:grid}.wonder-list small{opacity:.75;font-size:.75rem}:root{--font-display:"Bree Serif", Georgia, serif;--font-ui:"DM Sans", sans-serif;--bg:#442820;--clay:#713b2a;--sea:#533228;--clay-raised:#80502f;--clay-hover:#98643a;--wood:#32251e;--wood-deep:#241b17;--wood-light:#574031;--parchment:#eee0bd;--ivory:#f8eed5;--ink:#342a22;--ink-muted:#655746;--terracotta:#a9503b;--ochre:#bd873c;--panel:#e9d9b1;--panel-2:#f4e9ce;--line:#66482b47;--text:#f8eedb;--muted:#d8c6a4;--gold:#ecc477;--gold-strong:#ffdb8b;--danger:#ffc0a9;--radius-sm:7px;--radius-md:13px;--radius-lg:20px;--shadow-paper:0 20px 44px #12191452, inset 0 0 0 5px #fffae245, inset 0 0 0 6px #75533029;--shadow-wood:0 14px 32px #0c14125c, inset 0 1px #ffecbe2b, inset 0 -3px #0d080659;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;font-family:var(--font-ui);color:var(--text);background:var(--bg)}button,input,select{touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.custom-select-trigger:focus-visible,.view-toggle-btn:focus-visible,.build-option:focus-visible,.costs-ref-btn:focus-visible,.stepper button:focus-visible,.mobile-panel-toggle:focus-visible{outline:3px solid var(--gold-strong);outline-offset:3px}h1,h2,h3{font-family:var(--font-display);letter-spacing:-.025em;font-weight:600}.eyebrow,.field-label,.section-heading>span{letter-spacing:.13em;text-transform:uppercase}.site-header,.home-footer{background-blend-mode:multiply, normal;box-shadow:inset 0 2px #fff8d9a6, inset 0 -4px #5c301347, var(--shadow-wood);background-color:#dcb97f;background-image:linear-gradient(#fffae00f,#0000 20%,#5b301242 100%),url(/textures/navbar-parchment.png);background-position:50%;background-size:cover;border-color:#78481c99}.site-header{--navbar-surface:linear-gradient(#683a1624, #683a1624), url(/textures/navbar-parchment.png);height:88px;min-height:88px;box-shadow:none;background:0 0;border:0;padding-top:8px;padding-bottom:8px;position:sticky;top:0}.site-header-surface-shadow{z-index:0;pointer-events:none;filter:drop-shadow(0 8px 10px #28140a94);position:absolute;inset:0}.site-header-surface{clip-path:polygon(0 0,100% 0,100% calc(100% - 11px),calc(100% - 11px) 100%,11px 100%,0 calc(100% - 11px));background-color:#ddbd88;background-image:var(--navbar-surface);background-blend-mode:multiply, normal;background-position:50%,50%;background-repeat:no-repeat,repeat-x;background-size:auto,auto 100%;display:block;position:absolute;inset:0}.site-header>*{z-index:2;position:relative}.site-header>.site-header-surface-shadow{z-index:0;position:absolute}.game-shell .site-header-surface{clip-path:none}.header-actions{background-blend-mode:multiply, normal;background-color:#d1aa73;background-image:linear-gradient(#683a1638,#683a1638),url(/textures/navbar-parchment.png);background-position:50%;background-size:cover;border:2px solid #6c3d17b3;border-radius:11px;align-items:center;gap:2px;height:48px;padding:3px;display:inline-flex;box-shadow:inset 0 1px #fff5d37a,0 2px 5px #49260d21}.header-actions:before,.header-actions:after{display:none}.header-right>.graphics-settings .graphics-toggle{background-blend-mode:multiply, normal;color:#3f2110;background-color:#d1aa73;background-image:linear-gradient(#683a1638,#683a1638),url(/textures/navbar-parchment.png);background-position:50%;background-size:cover;border:2px solid #6c3d17b3;border-radius:11px;height:48px;min-height:48px;box-shadow:inset 0 1px #fff5d37a,0 2px 5px #49260d21}.header-right>.graphics-settings .graphics-toggle:before,.header-right>.graphics-settings .graphics-toggle:after{display:none}.header-right>.graphics-settings .graphics-toggle:hover,.header-right>.graphics-settings[open] .graphics-toggle{background-blend-mode:multiply, normal;color:#32190c;background-color:#f4deaee6;background-image:linear-gradient(#693d161a,#693d161a),url(/textures/navbar-parchment.png);background-size:cover;border-color:#77481cbf}.header-actions .graphics-settings{display:inline-flex}.header-actions .graphics-toggle,.header-actions .audio-controls{box-shadow:none;background:0 0;border:0}.header-actions .graphics-toggle{color:#4a2a16;min-height:36px}.header-actions .graphics-toggle:hover,.header-actions .graphics-settings[open] .graphics-toggle{color:#32190c;background:#693d161f;border-color:#0000}.header-actions .audio-controls{padding:0}.header-actions .sound-toggle-btn,.header-actions .audio-volume-toggle{color:#4a2a16}.header-actions .sound-toggle-btn:hover,.header-actions .audio-volume-toggle:hover,.header-actions .audio-volume-settings[open] .audio-volume-toggle{color:#32190c;background-color:#fff7da6b;background-image:none;border-color:#0000;transform:none}.header-actions .sound-toggle-btn.active,.header-actions .sound-toggle-btn.muted{color:#4a2a16;opacity:1}.home-footer{background-blend-mode:multiply, multiply, normal;box-shadow:inset 0 2px #f6c57b33, inset 0 -4px #1d0c0659, var(--shadow-wood);background-color:#5a321b;background-image:linear-gradient(#e2aa643d,#0000 18%,#23100838 100%),linear-gradient(90deg,#3d190ab8,#64301394 48%,#2f1107c2),url(/textures/navbar-wood.png);background-position:50%;background-size:cover;border-color:#cf99528c}.brand{font:700 17px var(--font-display);letter-spacing:.015em;color:#fff6e0;text-shadow:0 1px 4px #140c08b3;align-items:center;gap:12px;text-decoration:none;display:inline-flex}.brand-mark{width:52px;height:52px;box-shadow:none;border:0;border-radius:0;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative;overflow:visible}.brand-logo{z-index:1;object-fit:contain;filter:none;width:100%;height:100%;display:block;position:relative}.brand-text{filter:none;flex:1;height:104px}.brand-full{align-items:center;text-decoration:none;display:inline-flex}.home-shell .site-header .brand,.lobby-shell .site-header .brand{box-shadow:none;background:0 0;border:none;border-radius:0;padding:0}.header-link{min-height:44px}.room-pill{color:#f6d796;background:#120d0a42;border-color:#ecc4766e}.lobby-shell .header-note,.lobby-shell .header-link,.lobby-shell .room-pill{color:#4a2a16}.lobby-shell .header-link:hover{color:#7b481d}.lobby-shell .room-pill{background:#693d161a;border-color:#6c3d1757}.lobby-shell .ping-pill{color:#70431d;background:#b57d3024;border-color:#6c3d1747}.lobby-shell .online-dot{background:#4e8754;box-shadow:0 0 0 4px #4e875426}.lobby-shell .online-dot.offline{background:#a64d3d;box-shadow:0 0 0 4px #a64d3d24}.game-shell .header-note,.game-shell .header-link,.game-shell .room-pill{color:#4a2a16}.game-shell .header-link:hover{color:#7b481d}.game-shell .room-pill{background:#693d161a;border-color:#6c3d1757}.game-shell .ping-pill,.game-shell .ping-pill.ping-medium{color:#70431d;background:#b57d3024;border-color:#6c3d1747}.game-shell .ping-pill.ping-good{color:#356a3b;background:#4e875424;border-color:#4e875457}.game-shell .ping-pill.ping-poor{color:#8a3427;background:#a64d3d21;border-color:#a64d3d4d}.game-shell .online-dot{background:#4e8754;box-shadow:0 0 0 4px #4e875426}.game-shell .online-dot.offline{background:#a64d3d;box-shadow:0 0 0 4px #a64d3d24}.home-shell,.lobby-shell{--navbar-height:88px;background-image:linear-gradient(#26130d2e,#26130d57),url(/textures/background.png);background-position:top;background-size:cover;background-attachment:fixed}.home-shell .site-header{flex:0 0 88px;height:88px;min-height:88px}.home-main{grid-template-columns:minmax(380px,1fr) minmax(400px,1.15fr);gap:clamp(24px,4vw,60px);width:100%;max-width:1580px;margin:auto;overflow:hidden}.hero-copy{max-width:580px}.hero-copy h1,.lobby-content h1{font-family:var(--font-display);letter-spacing:-.045em;text-wrap:balance;text-shadow:0 4px 16px #08141138;font-weight:600;line-height:1.02}.hero-copy h1{margin:12px 0 14px;font-size:clamp(48px,4.6vw,72px);line-height:1.02}.hero-copy h1 span,.lobby-content h1 span{color:#f2c981}.hero-copy>p,.lobby-content>p{color:#e4ddc9}.hero-copy>p{max-width:520px;margin-bottom:20px;font-size:16px;line-height:1.55}.hero-pills{gap:8px;margin-bottom:24px}.hero-pills span{color:#f6e5bf;background:linear-gradient(165deg,#5e452ac4,#302b1dcc);border-color:#edc67666;border-radius:6px;padding:6px 14px;font-size:12px;font-weight:700;box-shadow:inset 0 1px #ffecb72b,0 4px 9px #0c191233}.home-card,.lobby-mode-card{color:var(--ink);border-radius:var(--radius-lg);box-shadow:var(--shadow-paper);background:radial-gradient(circle at 10% 10%,#fffff6c7,#0000 45%),repeating-linear-gradient(0deg,#0000 0 3px,#58432604 4px 5px),linear-gradient(145deg,#f5e9ca,#ddc99e);border:1px solid #a78554}.home-card{background-blend-mode:multiply, normal;background-color:#f0d6a5;background-image:linear-gradient(#fff7da52,#77491c14),url(/textures/navbar-parchment.png);background-position:50%;background-size:cover;width:min(100%,530px);padding:24px 26px;position:relative}.home-card:before,.lobby-mode-card:before{content:"";border-radius:calc(var(--radius-lg) - 6px);pointer-events:none;border:1px solid #8f683761;position:absolute;inset:8px}.home-card>label{font:700 16px var(--font-display);color:var(--ink);margin-bottom:8px;display:block}input,select{color:var(--ink);border-radius:var(--radius-sm);background:#fff9e9;border:1px solid #ad9770}input::placeholder{color:#756853}.home-card>input{height:48px;min-height:48px;font-size:15px}.home-card-actions{grid-template-columns:1fr 1.22fr;gap:10px;margin:10px 0 12px;display:grid}.join-field{background:#fff9e9;border-color:#ad9770}.join-field:focus-within{outline:3px solid var(--ochre);outline-offset:2px}.home-card .join-field{min-height:48px;padding:3px 4px}.home-card small{color:var(--ink-muted);font-size:12px;display:block}.button{border-radius:var(--radius-sm);min-height:46px;transition:background-color .18s,box-shadow .18s,color .18s,border-color .18s,filter .18s}.home-card .button{min-height:46px;padding:10px 18px;font-size:14px;font-weight:800}.button.primary{color:#fff1cf;text-shadow:0 1px #24170e;background:linear-gradient(175deg,#765232,#51351f);border:1px solid #a77637;transition:transform 80ms,box-shadow 80ms,filter 80ms;box-shadow:inset 0 0 0 1px #ffe09961,inset 0 -4px #1c120b47,0 4px #2f2118,0 8px 16px #19171138}.button.primary:hover:not(:disabled){background:linear-gradient(175deg,#916838,#634321);box-shadow:inset 0 0 0 1px #ffe09985,0 4px #2f2118,0 8px 20px #1917114d}.button.primary:active:not(:disabled){filter:brightness(.96);transform:translateY(2px);box-shadow:inset 0 0 0 1px #ffe0994d,inset 0 -2px #1c120b47,0 2px #2f2118,0 4px 8px #1917113d}.button.secondary{background:var(--clay-raised);color:#f8edce;border-color:#5b3826}.button.secondary:hover:not(:disabled){background:var(--clay-hover)}.button.subtle{color:#fff4e3;background:#a9523b;border-color:#7e3929}.button.subtle:hover:not(:disabled){background:#bb674a}.button:disabled{opacity:.52}.home-card .inline-error,.lobby-content .inline-error{color:#742d20;background:#f5d5bf;border-color:#ba755d}.hero-board{aspect-ratio:1;background:radial-gradient(#aa6840 4%,#7e4531 47%,#573128 74%,#3e2925 100%);border:8px solid #4a3427;border-radius:50% 50% 28px 28px/38% 38% 28px 28px;place-self:center;width:min(640px,100dvh - 150px,100%);max-width:100%;height:min(640px,100dvh - 150px,100%);min-height:0;margin:0;overflow:hidden;box-shadow:0 0 0 2px #ba9258,0 24px 60px #26120f73,inset 0 0 0 8px #edc27947}.hero-board:after{content:"";border-radius:inherit;pointer-events:none;border:1px solid #f2d89d7a;position:absolute;inset:8px}.board-halo{background:radial-gradient(circle,#f7d0773b,#0000 70%)}.hero-board .board-canvas{inset:0;-webkit-mask-image:none;mask-image:none}.home-footer{color:#d9c8a7;flex:none;align-items:center;min-height:46px;padding:12px clamp(22px,4.5vw,80px);font-size:11px}.lobby-main{grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);max-width:1580px;margin:auto}.lobby-visual{outline-offset:-4px;background:var(--sea);box-shadow:var(--shadow-wood), inset 0 0 0 7px #ceae76;border:8px solid #4b3426;border-radius:10px;outline:2px solid #b58951}.visual-stamp{color:#f5dfab;background:linear-gradient(165deg,#493125,#2a241e);border:1px solid #b78e54;border-radius:3px;box-shadow:0 3px 12px #111b17}.lobby-content{max-width:560px}.invite-card{box-shadow:var(--shadow-wood);background:linear-gradient(135deg,#583b26,#34271e);border:2px dashed #c99c5b}.invite-card small{color:#edddbd}.invite-card strong{font:700 32px var(--font-display);letter-spacing:.14em;color:#f8d48a}.icon-button{color:#f8d48a;background:#6a4a2c}.lobby-mode-card{background-blend-mode:multiply, normal;background-color:#f0d6a5;background-image:linear-gradient(#fff7da52,#77491c14),url(/textures/navbar-parchment.png);background-position:50%;background-size:cover;padding:22px;position:relative}.lobby-mode-card .field-label{color:var(--ink)}.lobby-mode-card>.field-label+.field-label{margin-top:14px}.lobby-mode-card small{color:var(--ink-muted)}.lobby-player{border-bottom-color:#e9ce984d}.lobby-player.empty{color:#c6c4ae}.player-avatar{font-family:var(--font-display);border:2px solid #dfc38a;border-radius:50%;box-shadow:0 2px 8px #142621}.lobby-player.empty .player-avatar{color:#f5e4bd;background:#80553b;border-color:#bb8f57}.host-badge,.you-badge{background:#261e168c;border:1px solid #ecc4766e;border-radius:4px;padding:4px 7px}.test-start-hint,.waiting-note{color:#e3d5b8}.game-shell{background:repeating-linear-gradient(7deg,#ffe4a809 0 2px,#0000 2px 18px,#140c091f 18px 21px,#0000 21px 43px),radial-gradient(at 48% 30%,#8958319e,#0000 62%),linear-gradient(115deg,#241b17,#493426 48%,#2c211b)}.game-layout{grid-template-columns:minmax(0,1fr) minmax(340px,370px)}.game-main{background:repeating-linear-gradient(40deg,#0000 0 51px,#f2d89605 52px 53px)}.game-topbar h1{font-family:var(--font-display);font-weight:600}.dice-display,.dice-settings summary{color:#f5d89c;background:#453526;border-color:#a07948;box-shadow:inset 0 1px #fff0b721}.dice-settings summary:hover,.dice-settings[open] summary{background:#58432b}.dice-settings-panel{color:var(--ink);box-shadow:var(--shadow-paper);background:linear-gradient(145deg,#f4e7c5,#dbc69c);border:1px solid #977247}.dice-settings-panel>strong,.dice-settings-panel label{color:var(--ink)}.dice-settings-panel p{color:var(--ink-muted)}.dice-settings-panel label:hover{background:#7b52251f}.board-frame{border-radius:var(--radius-md);background:var(--sea);outline-offset:-5px;box-shadow:var(--shadow-wood), inset 0 0 0 7px #d9b56c80;border:8px solid #4b3427;outline:2px solid #c49b5a}.board-frame:after{content:"";pointer-events:none;z-index:4;border:1px solid #ffe29a7a;border-radius:5px;position:absolute;inset:4px}.board-tag,.board-overlay-bottom span,.board-recenter-btn{color:#f4e3ba;background:#2e261deb;border-color:#e6ba6873;border-radius:5px;box-shadow:inset 0 1px #ffecb91f,0 3px 12px #08151540}.board-recenter-btn{min-height:44px}.board-recenter-btn:hover{background:#584632}.board-replay-btn{min-height:44px}.dice-roll-card,.dice-board-result{border-radius:var(--radius-md);box-shadow:var(--shadow-wood);background:linear-gradient(145deg,#573e29,#30271d);border:2px solid #bf965f}.dice-roll-result strong,.dice-board-result strong,.turn-overlay strong{font-family:var(--font-display)}.inventory{padding-top:12px}.inventory-tray{border-radius:var(--radius-md);box-shadow:var(--shadow-wood), inset 0 0 0 4px #1e140d61;background:repeating-linear-gradient(90deg,#0000 0 36px,#ffedbe06 37px 38px),linear-gradient(155deg,#5b422e,#2f271f);border:2px solid #bd945b}.inventory-heading span{font-family:var(--font-display);color:#fff1d0;font-weight:600}.inventory-count-pill{color:#f3d184;background:#473823}.inventory-view-toggle{background:#271f19;border-color:#95734d}.view-toggle-btn{color:#e8d2a8;min-height:36px}.view-toggle-btn.active{color:#fff3d5;background:#755633}.inventory-score-pill small{color:#dec99f}.inventory-score-pill strong{font-family:var(--font-display);color:#ffe0a0}.costs-ref-btn{color:#f6d48e;background:#493a28;border-color:#a77c46;min-height:40px}.costs-ref-btn:hover{background:#685033}.game-sidebar{color:var(--ink);background:radial-gradient(circle at 0 0,#fffce5a6,#0000 42%),repeating-linear-gradient(0deg,#0000 0 3px,#5b422405 4px 5px),linear-gradient(150deg,#f1e4c2,#dfcba5);border-left:6px solid #533a29;box-shadow:inset 4px 0 #bc965b,-12px 0 28px #0a1a173d}.sidebar-tabs{background:linear-gradient(#d5bc8d,#e2cea6);border-color:#aa8756;gap:4px;padding:12px 12px 0}.sidebar-tabs button{color:#554637;border:1px solid #0000;border-bottom-width:3px;border-radius:8px 8px 0 0;min-height:48px}.sidebar-tabs button:hover{background:#fff7dd7a}.sidebar-tabs button.active{color:#382b1d;background:#f1e4c2;border-color:#aa8756 #aa8756 #f1e4c2}.sidebar-scroll{scrollbar-color:#aa8756 transparent;color:var(--ink)}.game-sidebar .section-heading h2,.game-sidebar .section-heading h3,.game-sidebar .action-box h3,.game-sidebar .trade-panel h3,.game-sidebar .log-panel h2{color:var(--ink)}.game-sidebar .section-heading>span,.game-sidebar .score-points{color:#765025}.game-sidebar .setup-rolls-panel{background:linear-gradient(145deg,#f9edcdf0,#e0c99df0);border-color:#b99c6e;box-shadow:inset 0 1px #ffffff73,0 5px 14px #5b3b1b1a}.game-sidebar .setup-roll-row{color:var(--ink)}.game-sidebar .setup-roll-row strong{color:#765025}.game-sidebar .setup-roll-player i{box-shadow:0 0 0 2px #5b3b1b2e}.score-row{border:1px solid #0000}.score-row.current{background:#fff4d8;border-color:#cba96c;box-shadow:0 2px 8px #583c1e21}.score-row small,.game-sidebar .action-box p,.game-sidebar .trade-panel p,.game-sidebar .instruction,.game-sidebar .trade-helper,.game-sidebar .trade-divider{color:var(--ink-muted)}.action-box,.trade-panel,.log-panel{border-color:#b99c6e}.game-sidebar .build-option{color:var(--ink);background:#f9efd7;border-color:#bb9d70;box-shadow:inset 0 1px #fffaf0,0 2px 6px #53381c21}.game-sidebar .build-option:hover:not(:disabled),.game-sidebar .build-option.selected{background:#fff9e9;border-color:#9a6629}.game-sidebar .build-option small{color:var(--ink-muted)}.game-sidebar .recipe-tag{color:#f8edcf;background:#584633;border-color:#886b44}.game-sidebar .recipe-tag.free-tag{color:#fff1cf;background:#916437}.game-sidebar .field-label,.game-sidebar .trade-resource-picker legend{color:#4c3c2c}.game-sidebar .accessible-moves,.game-sidebar .trade-resource-picker{background:#f9edce;border-color:#c7a777}.game-sidebar .trade-resource-row{border-color:#ccb58d}.game-sidebar .trade-resource-name{color:var(--ink)}.game-sidebar .trade-rate-badge{color:#63472b;background:#f6e8c8;border-color:#bc9b69}.game-sidebar .trade-rate-badge.has-port{color:#784e1f;border-color:#9f6a2c}.game-sidebar .trade-rate-label{color:var(--ink-muted)}.game-sidebar .dev-card-tile{color:var(--ink);background:#f8edcf;border-color:#b99761}.game-sidebar .dev-card-tile-label{color:#553820}.game-sidebar .turn-action-sticky{background:linear-gradient(#eedeb8d4,#e9d7ae 42%);border-color:#ae8958}.game-sidebar .log-panel li{color:var(--ink)}.game-sidebar .pending-trade-box,.game-sidebar .incoming-trade-box{color:#f7eed8;background:linear-gradient(145deg,#7b4930,#4b2e26);border-color:#ae8a54}.game-sidebar .pending-trade-box p,.game-sidebar .incoming-trade-box p{color:#ecdfc4}.game-sidebar .pending-trade-box h3,.game-sidebar .incoming-trade-box h3{color:#fff1d0}.game-sidebar .inline-error{color:#762f24;background:#f8dcc8;border-color:#bd7c61}.modal-backdrop{background:#131815cf}.costs-modal,.dev-card-modal{color:var(--ink);box-shadow:var(--shadow-wood), inset 0 0 0 2px #c39d60;background:linear-gradient(145deg,#f5e9cb,#dfcaa1);border:5px solid #5c402b}.costs-modal .modal-header,.dev-card-modal .modal-header{border-color:#b99767}.costs-modal .modal-header h3,.dev-card-modal .modal-header h3{color:var(--ink)}.dev-card-modal-kicker{color:#805a2c}.dev-card-modal-body p,.dev-card-modal-note{color:var(--ink)!important}.dev-card-modal .field-label{color:var(--ink)}.costs-3d-backdrop{background:#050e0b1f}.costs-3d-close-btn,.costs-3d-flip-btn{min-height:44px}.game-sidebar .stepper button,.game-sidebar .trade-resource-picker .stepper button{width:44px;height:44px}.game-sidebar .trophy-card-button,.game-sidebar .trade-notice-close,.theft-notice-close{min-width:44px;min-height:44px}.game-sidebar .stepper button{color:#f8edd3;background:var(--clay-raised);border-color:#b59662}.online-dot,.pulse-dot{background:#f3c976;box-shadow:0 0 0 4px #e8b04933}.ping-pill.ping-good{color:#f3d28d;background:#b57d3033;border-color:#ecbf6b75}.board-loading{background:radial-gradient(circle,#925137,#492c25 70%)}.lobby-shell .ping-pill.ping-good{color:#356a3b;background:#4e875424;border-color:#4e875457}.lobby-shell .ping-pill.ping-medium{color:#70431d;background:#b57d3024;border-color:#6c3d1747}.lobby-shell .ping-pill.ping-poor{color:#8a3427;background:#a64d3d21;border-color:#a64d3d4d}.site-header .audio-volume-panel.audio-volume-panel{background-blend-mode:multiply, normal;background-color:#d1aa73;background-image:linear-gradient(#683a162e,#683a162e),url(/textures/navbar-parchment.png);background-position:50%;background-size:cover;border:2px solid #6c3d17b3;border-radius:12px;box-shadow:0 16px 42px #381c094d}.audio-volume-panel .audio-volume-row{color:#4a2a16}.audio-volume-panel .audio-volume-row output{color:#7b4a20}.board-start-anim-banner,.port-info-card{background:#4c2b21f5}.dice-roll-overlay{background:radial-gradient(#3518169e,#361d162e 65%,#0000 82%)}.turn-overlay{background:#46201b73}.view-toggle-btn:hover{color:#fff0d3}.game-shell .card-visual.card-visual{background:#4b3028}.game-shell .resource-card.is-stacked .card-visual.card-visual:before{background:#67402d}.game-shell .resource-card.is-multi-stacked .card-visual.card-visual:after{background:#392720}.game-shell .resource-chip.resource-chip{background:#643e2c;border-color:#9d714a}.game-shell .resource-symbol.resource-symbol{background:#4c3025}.game-shell .flying-card-inner.flying-card-inner{background:radial-gradient(circle at 35% 35%,#915532,#3e271f 85%)}.game-sidebar .build-icon{background:linear-gradient(145deg,#654a32,#3c2d24);border-color:#9e7b4c}.game-sidebar .build-option:hover:not(:disabled) .build-icon{background:linear-gradient(145deg,#795839,#4c3527)}.game-sidebar .free-roads-notice{background:linear-gradient(135deg,#f7e6bd,#e8cb8e);border-color:#bd8d49;box-shadow:0 4px 16px #59321c2e}.game-sidebar .free-roads-notice .instruction{color:var(--ink)}.game-sidebar .recipe-tag.free-tag{box-shadow:none;border-color:#efc778;animation:none}.game-sidebar .incoming-badge{color:#fff0cc;background:#af5c3261;border-color:#d7a366}.game-sidebar .pending-trade-exchange{background:#3f1f19ad}.game-sidebar .exchange-label{color:#e6d8b8}.game-sidebar .exchange-chip{background:#70422d}.game-sidebar .exchange-chip.receive{background:#825a30;border-color:#d0a464}.game-sidebar .trade-notice-banner.success{color:#69401f;background:#f9e8c6;border-color:#b88044}.game-sidebar .trade-notice-banner.error{color:#64281f;background:#f8d9cc;border-color:#b05d48}.port-info-subtitle,.port-info-piers-title,.port-owner-row.empty{color:#ead4ae}.port-info-desc{color:#f0e3cd}.port-info-active-badge{color:#f9e7b5;background:#af79344d;border-color:#c9a163}.costs-3d-flip-btn,.costs-3d-close-btn,.costs-3d-footer-hint span{background:#502d20e8}.costs-3d-flip-btn:hover{background:#8c5938}@media (width<=980px){.brand{gap:0}.brand-text{display:none}}@media (width<=1100px){.home-main{grid-template-columns:minmax(320px,1fr) minmax(280px,1fr);gap:clamp(12px,2vw,24px);padding-left:clamp(16px,3vw,36px);padding-right:clamp(16px,3vw,36px)}.home-card-actions{grid-template-columns:1fr}.game-layout{grid-template-columns:minmax(0,1fr) 340px}.inventory-tray{flex-wrap:wrap;gap:8px 12px}.inventory-side-left{flex-direction:row;flex:auto;order:1;align-items:center;gap:12px}.inventory-side-right{flex-direction:row;flex:none;order:2;align-items:center;gap:10px}.inventory-center{flex:100%;order:3;width:100%}.inventory-cards{gap:10px}}@media (width<=820px){.home-shell{height:auto;min-height:100dvh;max-height:none;overflow-y:auto}.home-main{flex-direction:column;justify-content:center;align-items:center;gap:28px;padding:32px 20px 40px;display:flex;overflow-y:visible}.hero-copy{text-align:center;align-items:center;width:100%;max-width:500px}.hero-copy h1{font-size:clamp(38px,8vw,54px)}.eyebrow,.hero-pills{justify-content:center}.hero-board{border-width:6px;order:-1;width:min(100%,420px);height:min(70vw,400px);min-height:0;margin:0}.lobby-main{grid-template-columns:1fr}.lobby-content{max-width:100%}.game-layout{grid-template-columns:minmax(0,1fr) 310px}}@media (width<=650px){.site-header{padding:6px 12px}.brand{gap:0;font-size:13px}.brand-mark{width:40px;height:40px}.brand-text{display:none}.brand-logo-full{max-width:175px;height:42px}.home-main{gap:20px;padding:24px 16px 32px}.hero-copy h1{font-size:clamp(34px,8.5vw,48px)}.hero-board{border-width:5px;width:min(100%,340px);height:min(75vw,320px)}.home-card{width:100%;padding:20px 18px}.home-footer{flex-direction:column;align-items:center;gap:6px;min-height:40px;padding:12px;font-size:10px}.lobby-main{padding:26px 16px 36px}.lobby-content h1{font-size:clamp(46px,13vw,60px)}.lobby-visual{height:330px;min-height:330px}.game-main{padding-bottom:calc(74px + env(safe-area-inset-bottom))}.game-shell .brand>span:last-child{display:none}.game-shell .header-right{gap:7px}.game-shell .game-connection .ping-pill{display:none}.game-shell .header-link{justify-content:center;min-width:44px;min-height:44px}.game-shell .audio-volume-toggle,.game-shell .sound-toggle-btn{width:44px;height:44px}.game-shell .audio-controls{gap:0;padding:0}.game-shell .site-header{padding:6px 8px}.game-sidebar{border:2px solid #a17c4c;border-bottom:0;border-radius:16px 16px 0 0;height:min(75dvh,650px);bottom:0;box-shadow:0 -15px 60px #00000080,inset 0 4px #533a29}.game-sidebar .sidebar-scroll{padding-bottom:calc(20px + env(safe-area-inset-bottom))}.game-sidebar .turn-action-sticky{bottom:0}.mobile-panel-toggle{bottom:max(16px, env(safe-area-inset-bottom));color:#fff2d1;box-shadow:var(--shadow-wood);background:linear-gradient(175deg,#765232,#51351f);border-color:#d2a665}.inventory-tray{border-width:1px}.view-toggle-btn,.costs-ref-btn{min-height:44px}.board-recenter-btn{min-height:44px;padding:8px 10px}.board-tag{max-width:50%;line-height:1.3}}@media (height<=650px) and (width>=821px){.home-shell{--navbar-height:64px}.hero-copy h1{margin:8px 0 10px;font-size:clamp(38px,4vw,50px)}.hero-copy>p{margin-bottom:12px;font-size:14.5px}.hero-pills{margin-bottom:14px}.home-card{padding:18px 20px}.home-card>input{height:42px;min-height:42px}.home-card .button,.home-card .join-field{min-height:42px}.brand-logo-full{max-width:190px;height:42px}.home-shell .site-header{height:64px;min-height:64px}.home-shell .home-footer{min-height:36px;padding-top:6px;padding-bottom:6px}}.game-shell .game-sidebar{--sidebar-bg:#0f172a;--sidebar-surface:#192134;--sidebar-surface-raised:#202b42;--sidebar-border:#ffffff1a;--sidebar-text:#f8fafc;--sidebar-muted:#a7b3c7;background:radial-gradient(circle at 0 0, #15803d2e, transparent 36%), linear-gradient(160deg, #142238 0%, var(--sidebar-bg) 58%, #0b1220 100%);color:var(--sidebar-text);border-left:1px solid #ffffff1f;box-shadow:-16px 0 34px #02061747}.game-shell .game-sidebar .sidebar-tabs{border-color:var(--sidebar-border);background:#0f172ab8}.game-shell .game-sidebar .sidebar-tabs button{color:var(--sidebar-muted);border-color:#0000}.game-shell .game-sidebar .sidebar-tabs button:hover{color:var(--sidebar-text);background:#ffffff0f}.game-shell .game-sidebar .sidebar-scroll{color:var(--sidebar-text);scrollbar-color:#41615a transparent}.game-shell .game-sidebar .section-heading h2,.game-shell .game-sidebar .section-heading h3,.game-shell .game-sidebar .action-box h3,.game-shell .game-sidebar .trade-panel h3,.game-shell .game-sidebar .log-panel h2{color:var(--sidebar-text)}.game-shell .game-sidebar .section-heading>span,.game-shell .game-sidebar .score-points{color:#f6c768}.mate-name-line{align-items:center;gap:4px;min-width:0;display:flex;overflow:visible}.mate-name-line strong{min-width:0}.mate-badge{cursor:help;flex:none;align-items:center;line-height:1;display:inline-flex;position:relative;overflow:visible}.mate-badge:after{content:attr(data-tooltip);z-index:30;color:#f2edda;text-align:center;white-space:normal;pointer-events:none;opacity:0;background:#14251d;border:1px solid #e9bd7273;border-radius:7px;width:max-content;max-width:min(190px,100vw - 32px);padding:7px 9px;font:700 11px/1.3 DM Sans,sans-serif;transition:opacity .16s,transform .16s;position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%,4px);box-shadow:0 5px 16px #00000059}.mate-badge:hover:after,.mate-badge:focus-visible:after{opacity:1;transform:translate(-50%)}.mate-badge:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:3px}.game-shell .game-sidebar .score-row small,.game-shell .game-sidebar .action-box p,.game-shell .game-sidebar .trade-panel p,.game-shell .game-sidebar .instruction,.game-shell .game-sidebar .trade-helper,.game-shell .game-sidebar .trade-divider,.game-shell .game-sidebar .trade-rate-label{color:var(--sidebar-muted)}.game-shell .game-sidebar .action-box,.game-shell .game-sidebar .trade-panel,.game-shell .game-sidebar .log-panel{border-color:var(--sidebar-border)}.game-shell .game-sidebar .setup-rolls-panel,.game-shell .game-sidebar .accessible-moves,.game-shell .game-sidebar .trade-resource-picker{border-color:var(--sidebar-border);background:#192134eb;box-shadow:inset 0 1px #ffffff0a}.game-shell .game-sidebar .setup-roll-row,.game-shell .game-sidebar .trade-resource-name,.game-shell .game-sidebar .field-label,.game-shell .game-sidebar .trade-resource-picker legend{color:var(--sidebar-text)}.game-shell .game-sidebar .setup-roll-row strong{color:#f6c768}.game-shell .game-sidebar .build-option{background:var(--sidebar-surface);border-color:var(--sidebar-border);color:var(--sidebar-text);box-shadow:inset 0 1px #ffffff0a,0 3px 10px #0206172e}.game-shell .game-sidebar .build-option:hover:not(:disabled),.game-shell .game-sidebar .build-option.selected{background:var(--sidebar-surface-raised);border-color:#f6c768}.game-shell .game-sidebar .build-option small{color:var(--sidebar-muted)}.game-shell .game-sidebar .recipe-tag,.game-shell .game-sidebar .trade-rate-badge{border-color:var(--sidebar-border);color:#f4e6c0;background:#0f172ac7}.game-shell .game-sidebar .trade-resource-row{border-color:var(--sidebar-border)}.game-shell .game-sidebar .trade-rate-badge.has-port{color:#f6c768;background:#d9770624;border-color:#c4933d}.game-shell .game-sidebar .dev-card-tile{background:var(--sidebar-surface);color:var(--sidebar-text);border-color:#f6c76859}.game-shell .game-sidebar .dev-card-tile-label{color:#f4d58e}.game-shell .game-sidebar .turn-action-sticky,.game-shell .game-sidebar .dice-action-panel,.game-shell .game-sidebar .turn-action-panel{border-color:var(--sidebar-border);background:linear-gradient(#0f172a40,#101a2c 42%)}.game-shell .game-sidebar .log-panel li{color:#dbe4f0;border-color:var(--sidebar-border)}.game-shell .game-sidebar .custom-select-trigger{border-color:var(--sidebar-border);color:var(--sidebar-text);background:#111b2f}.game-shell .game-sidebar input,.game-shell .game-sidebar select{border-color:var(--sidebar-border);color:var(--sidebar-text);background:#111b2f}.game-shell .game-sidebar .button.secondary{color:#f8fafc;background:#26354e;border-color:#52647f}.game-shell .game-sidebar .button.secondary:hover:not(:disabled){background:#34506a;border-color:#f6c768}.game-shell .game-sidebar .stepper button{color:#f8fafc;background:#26354e;border-color:#52647f}.game-shell .game-sidebar .stepper button:hover:not(:disabled){background:#34506a;border-color:#f6c768}.game-shell .game-sidebar .inline-error{color:#fecaca;background:#7f1d1d59;border-color:#f8717180}body:has(.game-shell .game-sidebar) .custom-select-content{color:#f8fafc;background:#192134;border-color:#52647f}body:has(.game-shell .game-sidebar) .custom-select-item[data-highlighted]{color:#fff;background:#166534}.game-shell .game-sidebar{--sidebar-bg:#211914;--sidebar-surface:#2d211a;--sidebar-surface-raised:#3a2a20;--sidebar-border:#f4dcaa26;--sidebar-text:#f5ead2;--sidebar-muted:#c4b59a;background:#211914;border-left-color:#f4dcaa33;box-shadow:-16px 0 34px #1f110966}.game-shell .game-sidebar .sidebar-tabs{background:#1f1611c7}.game-shell .game-sidebar .sidebar-tabs button:hover{background:#f4dcaa14}.game-shell .game-sidebar .sidebar-tabs button.active{color:#f0c875;background:#7a562a47;border-color:#d5a65d}.game-shell .game-sidebar .sidebar-scroll{scrollbar-color:#86633d transparent}.game-shell .game-sidebar .section-heading>span,.game-shell .game-sidebar .score-points,.game-shell .game-sidebar .setup-roll-row strong{color:#f0c875}.game-shell .game-sidebar .score-row.current{background:#7a562a3d}.game-shell .game-sidebar .setup-rolls-panel,.game-shell .game-sidebar .accessible-moves,.game-shell .game-sidebar .trade-resource-picker{background:#2d211af0;box-shadow:inset 0 1px #fff0cf0d}.game-shell .game-sidebar .build-option{box-shadow:inset 0 1px #fff0cf0d,0 3px 10px #1f110942}.game-shell .game-sidebar .build-option:hover:not(:disabled),.game-shell .game-sidebar .build-option.selected{border-color:#d5a65d}.game-shell .game-sidebar .build-icon{background:#4a3524;border-color:#80603c}.game-shell .game-sidebar .recipe-tag,.game-shell .game-sidebar .trade-rate-badge{background:#1f1611d1}.game-shell .game-sidebar .recipe-tag.free-tag{color:#f3f0d5;background:#3c6542;border-color:#76975f}.game-shell .game-sidebar .trade-rate-badge.has-port{color:#f0c875;background:#ae6f272e}.game-shell .game-sidebar .turn-action-sticky,.game-shell .game-sidebar .dice-action-panel,.game-shell .game-sidebar .turn-action-panel{background:#211812}.game-shell .game-sidebar .custom-select-trigger,.game-shell .game-sidebar input,.game-shell .game-sidebar select{background:#241a15}.game-shell .game-sidebar .custom-select-trigger:hover:not(:disabled){background:#3a2a20;border-color:#d5a65d}.game-shell .game-sidebar .custom-select-trigger>svg{color:#f0c875}.game-shell .game-sidebar .custom-select-content{color:#f8edd8;background:#2d211a;border-color:#80603c}body:has(.game-shell .game-sidebar) .custom-select-content{color:#f8edd8;background:#2d211a;border-color:#80603c}.game-shell .game-sidebar .custom-select-item[data-highlighted]{color:#fff8e7;background:#5a3c25}body:has(.game-shell .game-sidebar) .custom-select-item[data-highlighted]{color:#fff8e7;background:#5a3c25}body:has(.game-shell .game-sidebar) .custom-select-item{color:#f8edd8}body:has(.game-shell .game-sidebar) .custom-select-arrow{fill:#2d211a}.game-shell .game-sidebar .button.secondary,.game-shell .game-sidebar .stepper button{color:#f8edd8;background:#4a3524;border-color:#80603c}.game-shell .game-sidebar .button.secondary:hover:not(:disabled),.game-shell .game-sidebar .stepper button:hover:not(:disabled){background:#5a3c25;border-color:#d5a65d}body:has(.game-shell .game-sidebar) .custom-select-scroll-button{color:#f0c875}.game-shell .sidebar-theme-control{color:#c4b59a;letter-spacing:.1em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;font-size:10px;font-weight:800;display:flex}.game-shell .sidebar-theme-toggle{color:#f0c875;background:#4a3524;border:1px solid #f4dcaa33;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:7px 10px;font-size:11px;font-weight:800;display:inline-flex}.game-shell .sidebar-theme-toggle:hover{background:#5a3c25;border-color:#d5a65d}.game-shell .game-sidebar.sidebar-theme-light{--sidebar-bg:#e8d7b0;--sidebar-surface:#f9edce;--sidebar-surface-raised:#f1e2bd;--sidebar-border:#b99c6e;--sidebar-text:#342a22;--sidebar-muted:#655746;color:#342a22;background:#e8d7b0;border-left-color:#533a29;box-shadow:-12px 0 28px #0a1a173d}.game-shell .game-sidebar.sidebar-theme-light .sidebar-theme-control{color:#765025}.game-shell .game-sidebar.sidebar-theme-light .sidebar-theme-toggle{color:#63472b;background:#f6e8c8;border-color:#b99c6e}.game-shell .game-sidebar.sidebar-theme-light .sidebar-theme-toggle:hover{background:#fff9e9;border-color:#9a6629}.game-shell .game-sidebar.sidebar-theme-light .sidebar-tabs{background:#d5bc8d}.game-shell .game-sidebar.sidebar-theme-light .sidebar-tabs button{color:#554637}.game-shell .game-sidebar.sidebar-theme-light .sidebar-tabs button:hover{background:#fff7dd7a}.game-shell .game-sidebar.sidebar-theme-light .sidebar-tabs button.active{color:#382b1d;background:#f1e4c2;border-color:#aa8756 #aa8756 #f1e4c2}.game-shell .game-sidebar.sidebar-theme-light .sidebar-scroll{scrollbar-color:#aa8756 transparent}.game-shell .game-sidebar.sidebar-theme-light .section-heading h2,.game-shell .game-sidebar.sidebar-theme-light .section-heading h3,.game-shell .game-sidebar.sidebar-theme-light .action-box h3,.game-shell .game-sidebar.sidebar-theme-light .trade-panel h3,.game-shell .game-sidebar.sidebar-theme-light .log-panel h2{color:#342a22}.game-shell .game-sidebar.sidebar-theme-light .section-heading>span,.game-shell .game-sidebar.sidebar-theme-light .score-points,.game-shell .game-sidebar.sidebar-theme-light .setup-roll-row strong{color:#765025}.game-shell .game-sidebar.sidebar-theme-light .score-row.current{background:#ead8b0}.game-shell .game-sidebar.sidebar-theme-light .score-row,.game-shell .game-sidebar.sidebar-theme-light .score-row strong{color:#342a22}.game-shell .game-sidebar.sidebar-theme-light .score-row small,.game-shell .game-sidebar.sidebar-theme-light .action-box p,.game-shell .game-sidebar.sidebar-theme-light .trade-panel p,.game-shell .game-sidebar.sidebar-theme-light .instruction,.game-shell .game-sidebar.sidebar-theme-light .trade-helper,.game-shell .game-sidebar.sidebar-theme-light .trade-divider,.game-shell .game-sidebar.sidebar-theme-light .trade-rate-label{color:#655746}.game-shell .game-sidebar.sidebar-theme-light .action-box,.game-shell .game-sidebar.sidebar-theme-light .trade-panel,.game-shell .game-sidebar.sidebar-theme-light .log-panel{border-color:#b99c6e}.game-shell .game-sidebar.sidebar-theme-light .setup-rolls-panel,.game-shell .game-sidebar.sidebar-theme-light .accessible-moves,.game-shell .game-sidebar.sidebar-theme-light .trade-resource-picker{box-shadow:none;background:#f9edce;border-color:#c7a777}.game-shell .game-sidebar.sidebar-theme-light .setup-roll-row,.game-shell .game-sidebar.sidebar-theme-light .trade-resource-name,.game-shell .game-sidebar.sidebar-theme-light .field-label,.game-shell .game-sidebar.sidebar-theme-light .trade-resource-picker legend{color:#342a22}.game-shell .game-sidebar.sidebar-theme-light .build-option{color:#342a22;background:#f9efd7;border-color:#bb9d70;box-shadow:inset 0 1px #fffaf0,0 2px 6px #53381c21}.game-shell .game-sidebar.sidebar-theme-light .build-option:hover:not(:disabled),.game-shell .game-sidebar.sidebar-theme-light .build-option.selected{background:#fff9e9;border-color:#9a6629}.game-shell .game-sidebar.sidebar-theme-light .build-option small{color:#655746}.game-shell .game-sidebar.sidebar-theme-light .build-icon{background:linear-gradient(145deg,#654a32,#3c2d24);border-color:#9e7b4c}.game-shell .game-sidebar.sidebar-theme-light .recipe-tag,.game-shell .game-sidebar.sidebar-theme-light .trade-rate-badge{color:#63472b;background:#f6e8c8;border-color:#bc9b69}.game-shell .game-sidebar.sidebar-theme-light .recipe-tag.free-tag{color:#fff1cf;background:#916437;border-color:#efc778}.game-shell .game-sidebar.sidebar-theme-light .turn-action-sticky,.game-shell .game-sidebar.sidebar-theme-light .dice-action-panel,.game-shell .game-sidebar.sidebar-theme-light .turn-action-panel{background:#e9d7ae;border-color:#ae8958}.game-shell .game-sidebar.sidebar-theme-light .log-panel li{color:#342a22;border-color:#b99c6e}.game-shell .game-sidebar.sidebar-theme-light .custom-select-trigger,.game-shell .game-sidebar.sidebar-theme-light input,.game-shell .game-sidebar.sidebar-theme-light select{color:#342a22;background:#fff9e9;border-color:#ad9770}.game-shell .game-sidebar.sidebar-theme-light .custom-select-trigger:hover:not(:disabled),.game-shell .game-sidebar.sidebar-theme-light select:hover{color:#342a22;background:#f1e2bd;border-color:#9a7748}.game-shell .game-sidebar.sidebar-theme-light .custom-select-content{color:#342a22;background:#f5e9cb;border-color:#977247}body:has(.game-shell .game-sidebar.sidebar-theme-light) .custom-select-content{color:#342a22;background:#f5e9cb;border-color:#977247}.game-shell .game-sidebar.sidebar-theme-light .custom-select-item[data-highlighted]{color:#342a22;background:#ead5a7}body:has(.game-shell .game-sidebar.sidebar-theme-light) .custom-select-item[data-highlighted]{color:#342a22;background:#ead5a7}body:has(.game-shell .game-sidebar.sidebar-theme-light) .custom-select-item{color:#342a22}body:has(.game-shell .game-sidebar.sidebar-theme-light) .custom-select-arrow{fill:#f5e9cb}.game-shell .game-sidebar.sidebar-theme-light .button.secondary,.game-shell .game-sidebar.sidebar-theme-light .stepper button{color:#f8edd3;background:#584633;border-color:#b59662}.game-shell .game-sidebar.sidebar-theme-light .button.secondary:hover:not(:disabled),.game-shell .game-sidebar.sidebar-theme-light .stepper button:hover:not(:disabled){background:#795839;border-color:#9a6629}.board-performance-stats{z-index:25;color:#f5ead2;pointer-events:none;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#121814db;border-radius:8px;grid-template-columns:repeat(2,auto);gap:2px 12px;padding:8px 10px;font:600 11px/1.35 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;display:grid;position:absolute;bottom:12px;left:12px}.board-performance-stats strong{color:#ffe39b;font-size:13px}.header-right>.rules-guide-trigger{background-blend-mode:multiply, normal;color:#3f2110;white-space:nowrap;background-color:#d1aa73;background-image:linear-gradient(#683a1638,#683a1638),url(/textures/navbar-parchment.png);background-position:50%;background-size:cover;border:2px solid #6c3d17b3;border-radius:11px;gap:8px;height:48px;min-height:48px;padding:0 12px;box-shadow:inset 0 1px #fff5d37a,0 2px 5px #49260d21}.header-right>.rules-guide-trigger:hover{color:#32190c;background-color:#f4deaee6;background-image:linear-gradient(#693d161a,#693d161a),url(/textures/navbar-parchment.png);border-color:#77481cbf}.game-shell .header-right>.rules-guide-trigger{color:#3f2110}.game-shell .header-right>.rules-guide-trigger:hover{color:#32190c}.game-topbar{align-items:center}.rules-guide-backdrop{z-index:20000}.rules-guide-modal{width:min(900px,100%);height:min(740px,88vh);max-height:88vh;color:var(--ink);box-shadow:var(--shadow-wood), inset 0 0 0 2px #c39d60;background:linear-gradient(145deg,#f5e9cb,#dfcaa1);border:5px solid #5c402b;border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.rules-guide-header{border-bottom:1px solid #b99767;justify-content:space-between;align-items:center;gap:16px;padding:17px 22px 12px;display:flex}.rules-guide-header h2{font:600 25px/1.15 var(--font-display);margin:3px 0 0}.rules-guide-kicker{color:#765437;letter-spacing:.15em;font-size:10px;font-weight:900}.rules-guide-intro{color:#574630;margin:0;padding:12px 22px 15px;font-size:14px}.rules-guide-layout{border-top:1px solid #77572f33;flex:1;grid-template-columns:225px minmax(0,1fr);min-height:0;display:grid}.rules-guide-nav{border-right:1px solid #77572f3d;flex-direction:column;gap:4px;padding:14px 12px;display:flex;overflow-y:auto}.rules-guide-nav button{color:#5c4a33;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;min-height:42px;padding:8px 11px;font-family:inherit;font-size:13px;font-weight:800;line-height:1.3}.rules-guide-nav button:hover{background:#ffffff59}.rules-guide-nav button.active{color:#fff8e7;background:#5c402b;border-color:#8c6b42}.rules-guide-content{scrollbar-color:#9d8158 transparent;padding:20px 26px 24px;overflow-y:auto}.rules-guide-content h3{color:#4d3926;font:600 23px/1.2 var(--font-display);margin:0}.rules-guide-summary{color:#715b3e;margin:5px 0 18px;font-size:14px}.rules-guide-section{border-top:1px solid #77572f33;padding:13px 0}.rules-guide-section h4{color:#493824;margin:0 0 5px;font-size:15px}.rules-guide-section p{color:#4f4434;margin:0;font-size:14px;line-height:1.62}.rules-guide-section .rules-guide-example{color:#654b2c;border-left:3px solid #a78145;margin-top:8px;padding-left:11px}.rules-guide-footer{color:#715b3e;border-top:1px solid #b99767;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;font-size:12px;display:flex}.rules-guide-modal :focus-visible{outline-offset:2px;outline:3px solid #a26826}@media (width<=650px){.header-right>.rules-guide-trigger{justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:0}.header-right>.rules-guide-trigger svg{flex:none;width:20px;height:20px}.rules-guide-backdrop{padding:10px}.rules-guide-modal{border-width:3px;border-radius:13px;height:min(760px,92dvh);max-height:92dvh}.rules-guide-header{padding:13px 15px 10px}.rules-guide-header h2{font-size:21px}.rules-guide-intro{padding:9px 15px 12px;font-size:13px}.rules-guide-layout{flex-direction:column;display:flex}.rules-guide-nav{scrollbar-width:thin;border-bottom:1px solid #77572f3d;border-right:0;flex-direction:row;flex:none;gap:7px;padding:9px 10px;overflow-x:auto}.rules-guide-nav button{border-color:#77572f38;min-width:max-content;min-height:40px;padding:7px 10px}.rules-guide-content{padding:15px 17px 20px}.rules-guide-content h3{font-size:21px}.rules-guide-section{padding:11px 0}.rules-guide-footer{align-items:flex-start;padding:10px 12px;font-size:11px}.rules-guide-footer .button{flex:none;min-height:40px}}.game-shell .game-sidebar .sidebar-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.game-shell .game-sidebar .sidebar-tabs button{gap:4px;min-width:0;padding-inline:3px;font-size:11px}.tutorial-panel{color:var(--sidebar-text);flex-direction:column;gap:16px;display:flex}.tutorial-panel-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.tutorial-panel-header h2{color:var(--sidebar-text);font:700 19px/1.2 var(--font-display);margin:3px 0 0}.tutorial-kicker{color:#f0c875;letter-spacing:.14em;font-size:10px;font-weight:900}.tutorial-close{border:1px solid var(--sidebar-border);background:var(--sidebar-surface);width:40px;height:40px;color:var(--sidebar-text);cursor:pointer;border-radius:8px;flex:none;place-items:center;display:inline-grid}.tutorial-close:hover{border-color:#d5a65d}.tutorial-step,.tutorial-panel-finished{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.tutorial-progress-row{width:100%;color:var(--sidebar-muted);align-items:center;gap:12px;font-size:12px;font-weight:800;display:flex}.tutorial-progress{background:var(--sidebar-surface-raised);border-radius:99px;flex:1;height:6px;overflow:hidden}.tutorial-progress>span{border-radius:inherit;background:#f0c875;height:100%;transition:width .2s;display:block}.tutorial-step h3,.tutorial-panel-finished h3{color:var(--sidebar-text);font:700 21px/1.2 var(--font-display);margin:0}.tutorial-step>p,.tutorial-panel-finished>p{color:var(--sidebar-text);margin:0;font-size:14px;line-height:1.6}.tutorial-tip{background:var(--sidebar-surface);border-left:3px solid #d5a65d;border-radius:0 8px 8px 0;gap:4px;width:100%;padding:11px 12px;display:grid;color:var(--sidebar-muted)!important;font-size:13px!important}.tutorial-tip strong{color:#f0c875;letter-spacing:.04em;text-transform:uppercase;font-size:11px}.tutorial-panel-actions{gap:9px;width:100%;margin-top:4px;display:grid}.tutorial-panel .tutorial-next{gap:8px;min-height:44px}.tutorial-restart{min-height:40px;color:var(--sidebar-muted);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;font-family:inherit;font-size:12px;font-weight:700;display:inline-flex}.home-shell .site-header,.lobby-shell .site-header{width:100%;position:fixed;top:0;left:0;right:0}.home-shell .home-main,.lobby-shell .lobby-main{padding-top:var(--navbar-height)}.tutorial-restart:hover{color:var(--sidebar-text);text-decoration:underline}.tutorial-panel-finished{text-align:center;align-items:center;padding-top:14px}.tutorial-finished-icon{color:#f0c875;background:#f0c87529;border-radius:50%;place-items:center;width:52px;height:52px;display:grid}.tutorial-panel-finished h3{font-size:20px}.tutorial-panel-finished .tutorial-next{margin-top:5px}.game-sidebar.sidebar-theme-light .tutorial-kicker,.game-sidebar.sidebar-theme-light .tutorial-tip strong{color:#765025}.game-sidebar.sidebar-theme-light .tutorial-progress>span{background:#9d6c2c}.game-sidebar.sidebar-theme-light .tutorial-tip{background:#fff6}.game-sidebar.sidebar-theme-light .tutorial-finished-icon{color:#765025;background:#9d6c2c1f}@media (width<=650px){.game-shell .game-sidebar .sidebar-tabs button{gap:3px;min-height:44px;font-size:10px}.game-shell .game-sidebar .sidebar-tabs button svg{width:14px;height:14px}}._graphicsSettings_1knd8_1{position:relative}._graphicsToggle_1knd8_2{border:1px solid var(--line);color:#d8d2c0;cursor:pointer;-webkit-user-select:none;user-select:none;background:#ffffff09;border-radius:9px;align-items:center;gap:7px;min-height:44px;padding:8px 11px;font-size:12px;font-weight:800;list-style:none;display:inline-flex}._graphicsToggle_1knd8_2::-webkit-details-marker{display:none}._graphicsToggle_1knd8_2:hover,._graphicsSettings_1knd8_1[open] ._graphicsToggle_1knd8_2{color:#f2dbab;background:#2b4434;border-color:#e9bd7299}._graphicsToggle_1knd8_2:focus-visible{outline:3px solid var(--gold-strong);outline-offset:3px}._graphicsSettingsPanel_1knd8_6{z-index:40;background-blend-mode:multiply, normal;background-color:#d1aa73;background-image:linear-gradient(#683a162e,#683a162e),url(/textures/navbar-parchment.png);background-position:50%;background-size:cover;border:2px solid #6c3d17b3;border-radius:12px;width:min(300px,100vw - 30px);padding:16px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 42px #381c094d}._graphicsSettingsPanel_1knd8_6>strong{color:#3f2110;font-size:14px;display:block}._graphicsSettingsPanel_1knd8_6>p{color:#6d4727;margin:4px 0 10px;font-size:12px;line-height:1.4}._graphicsModeRow_1knd8_9{color:#4a2a16;cursor:pointer;border-radius:7px;align-items:flex-start;gap:10px;min-height:44px;padding:8px 9px;font-size:13px;font-weight:700;display:flex}._graphicsModeRow_1knd8_9:hover{background:#693d161f}._graphicsModeRow_1knd8_9 input{accent-color:#8b5728;flex:none;width:17px;height:17px;margin:1px 0 0}._graphicsModeRow_1knd8_9 span{gap:3px;display:grid}._graphicsModeRow_1knd8_9 small{color:#7a5737;font-size:11px;font-weight:500;line-height:1.35}._graphicsPreferenceGroup_1knd8_14{gap:2px;margin-bottom:12px;display:grid}._graphicsQualityHeading_1knd8_15{border-top:1px solid #693d1638;padding-top:10px}._soundToggleButton_1tb9u_1{border:1px solid var(--line);color:#c9d0c0;cursor:pointer;background:#ffffff0d;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;padding:0;transition:all .2s;display:inline-flex}._soundToggleButton_1tb9u_1:hover{color:var(--gold);background:#ffffff1f;border-color:#e9bd7259;transform:translateY(-1px)}._soundToggleButton_1tb9u_1:active{transform:translateY(0)}._soundToggleButton_1tb9u_1._active_1tb9u_25{color:var(--gold)}._soundToggleButton_1tb9u_1._muted_1tb9u_26{color:#7b887a;opacity:.65}._audioControls_1tb9u_28{border:1px solid var(--line);background:#ffffff09;border-radius:11px;align-items:center;gap:3px;padding:3px;display:inline-flex;position:relative}._audioControls_1tb9u_28 ._soundToggleButton_1tb9u_1{background:0 0;border-color:#0000}._audioControls_1tb9u_28 ._soundToggleButton_1tb9u_1:hover{background:#ffffff1f}._audioVolumeSettings_1tb9u_41{position:relative}._audioVolumeSettings_1tb9u_41[open]{z-index:40}._audioVolumeToggle_1tb9u_44{color:#c9d0c0;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;list-style:none;display:inline-flex}._audioVolumeToggle_1tb9u_44::-webkit-details-marker{display:none}._audioVolumeToggle_1tb9u_44:hover,._audioVolumeSettings_1tb9u_41[open] ._audioVolumeToggle_1tb9u_44{color:var(--gold);background:#ffffff1f;border-color:#e9bd7259}._audioVolumeToggle_1tb9u_44:focus-visible{outline:3px solid var(--gold-strong);outline-offset:3px}._audioVolumePanel_1tb9u_65{z-index:30;background:#1b2925;border:1px solid #e9bd723d;border-radius:12px;width:min(224px,100vw - 20px);padding:14px;position:absolute;top:calc(100% + 10px);right:-3px;box-shadow:0 16px 35px #0000004d}._audioVolumeRow_1tb9u_78{color:#dfe4d6;grid-template-columns:1fr auto;align-items:center;gap:8px 10px;font-size:12px;font-weight:700;display:grid}._audioVolumeRow_1tb9u_78+._audioVolumeRow_1tb9u_78{margin-top:13px}._audioVolumeRow_1tb9u_78 span{align-items:center;gap:7px;display:inline-flex}._audioVolumeRow_1tb9u_78 output{color:var(--gold);font-variant-numeric:tabular-nums;font-size:11px}._audioVolumeRow_1tb9u_78 input{width:100%;min-height:24px;accent-color:var(--gold);grid-column:1/-1;padding:0}._musicToggleIcon_1tb9u_84{justify-content:center;align-items:center;display:inline-flex;position:relative}._musicToggleSlash_1tb9u_85{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}._customSelectTrigger_16011_1{border-radius:var(--radius-sm);width:100%;min-height:46px;color:var(--ink);text-align:left;cursor:pointer;background:#fff9e9;border:1px solid #ad9770;justify-content:space-between;align-items:center;gap:10px;margin-top:7px;padding:0 13px;transition:border-color .18s,box-shadow .18s,background .18s;display:flex}._customSelectTrigger_16011_1:hover:not(:disabled){background:#fffdf3;border-color:#8e6b39}._customSelectTrigger_16011_1:disabled{cursor:not-allowed;opacity:.52}._customSelectTrigger_16011_1>svg{color:#79552c;flex:none;transition:transform .18s}._customSelectTrigger_16011_1[data-state=open]>svg{transform:rotate(180deg)}._customSelectContent_16011_10{z-index:2000;width:var(--radix-select-trigger-width);max-width:calc(100vw - 20px);max-height:min(420px, var(--radix-select-content-available-height));background:#fff9e9;border:1px solid #ad9770;border-radius:10px;padding:5px;animation:.14s ease-out _customSelectIn_16011_1;overflow:hidden;box-shadow:0 14px 36px #301c0c47,0 2px 8px #301c0c29}._customSelectViewport_16011_15{max-height:inherit;padding:1px}._customSelectItem_16011_16{min-height:42px;color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:7px;outline:none;align-items:center;padding:8px 34px 8px 11px;font-size:14px;line-height:1.25;display:flex;position:relative}._customSelectItem_16011_16[data-highlighted]{color:#fff8e5;background:#70472b}._customSelectItem_16011_16[data-disabled]{pointer-events:none;opacity:.45}._customSelectItemIndicator_16011_19{display:inline-flex;position:absolute;right:10px}._customSelectScrollButton_16011_20{color:#79552c;cursor:default;background:0 0;border:0;place-items:center;width:100%;height:24px;display:grid}._customSelectScrollButton_16011_20 svg{transform:rotate(180deg)}._customSelectScrollButton_16011_20:last-of-type svg{transform:none}._customSelectArrow_16011_23{fill:#fff9e9}@keyframes _customSelectIn_16011_1{0%{opacity:0;transform:translateY(-3px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}._pingPill_l91g4_1{font-variant-numeric:tabular-nums;color:#c9d0c0;letter-spacing:.02em;-webkit-user-select:none;user-select:none;background:#ffffff12;border:1px solid #ffffff1f;border-radius:99px;flex:0 0 76px;justify-content:center;align-items:center;gap:4px;width:76px;padding:2px 7px;font-size:11px;font-weight:800;line-height:1.2;transition:color .2s,background-color .2s,border-color .2s;display:inline-flex}._pingGood_l91g4_2{color:#88bf8f;background:#88bf8f24;border-color:#88bf8f4d}._pingMedium_l91g4_3{color:#e5bd64;background:#e5bd6424;border-color:#e5bd644d}._pingPoor_l91g4_4{color:#d98156;background:#d9815624;border-color:#d981564d}._pingIcon_l91g4_5{opacity:.85;flex-shrink:0}._flyingOverlay_whlzk_2{pointer-events:none;z-index:9999;position:fixed;inset:0;overflow:hidden}._flyingResource_whlzk_10{will-change:transform, opacity;pointer-events:none;position:absolute;top:0;left:0}._flyingCardInner_whlzk_18{background:radial-gradient(circle at 35% 35%,#2e4a3c,#13241c 85%);border:2px solid #e9bd72;border-radius:50%;place-items:center;width:44px;height:44px;padding:7px;display:grid;position:relative;box-shadow:0 8px 24px #000000a6,0 0 16px #e9bd728c}._flyingIconImg_whlzk_31{object-fit:contain;filter:drop-shadow(0 2px 4px #00000080);width:100%;height:100%}._flyingGlow_whlzk_38{pointer-events:none;background:radial-gradient(circle,#e9bd7273 0%,#0000 70%);border-radius:50%;animation:.8s ease-in-out infinite alternate _flyingPulse_whlzk_1;position:absolute;inset:-6px}@keyframes _flyingPulse_whlzk_1{0%{opacity:.5;transform:scale(.9)}to{opacity:.95;transform:scale(1.25)}}._resourceCard_1ehx1_1{-webkit-user-select:none;user-select:none;cursor:default;flex-direction:column;align-items:center;gap:4px;transition:transform .22s cubic-bezier(.2,0,0,1),filter .2s;display:flex;position:relative}._cardVisual_1ehx1_12{background:#172720;border-radius:7px;width:76px;height:112px;transition:transform .22s cubic-bezier(.2,0,0,1),box-shadow .22s,border-color .22s;position:relative;box-shadow:0 4px 14px #0000008c,0 0 0 1px #ffffff1f}._cardTexture_1ehx1_22{object-fit:cover;border-radius:6px;width:100%;height:100%;display:block}._resourceCard_1ehx1_1._isStacked_1ehx1_31 ._cardVisual_1ehx1_12:before{content:"";z-index:-1;background:#1e3328;border:1px solid #e9bd7280;border-radius:6px;position:absolute;inset:0;transform:translate(3px,-3px);box-shadow:0 2px 8px #00000080}._resourceCard_1ehx1_1._isMultiStacked_1ehx1_43 ._cardVisual_1ehx1_12:after{content:"";z-index:-2;background:#15251e;border:1px solid #e9bd7259;border-radius:6px;position:absolute;inset:0;transform:translate(6px,-6px);box-shadow:0 3px 10px #0000008c}._cardCount_1ehx1_55{z-index:3;border-radius:99px;justify-content:center;align-items:center;min-width:22px;height:22px;padding:0 5px;font:900 12px Nunito,sans-serif;display:flex;position:absolute;top:-6px;right:-6px;box-shadow:0 2px 8px #000000a6}._cardCount_1ehx1_55._hasCount_1ehx1_71{color:#16241c;background:linear-gradient(135deg,#ffd780,#e9bd72);border:1.5px solid #fff;box-shadow:0 2px 8px #0009,0 0 10px #e9bd72bf}._cardCount_1ehx1_55._zeroCount_1ehx1_78{color:#8fa08e;background:#14201ae6;border:1px solid #fff3;font-size:10px}._cardTitle_1ehx1_85{color:#b8c8b4;text-align:center;white-space:nowrap;letter-spacing:.02em;font:800 11px Nunito,sans-serif;transition:color .18s}._resourceCard_1ehx1_1._emptyCard_1ehx1_94{filter:grayscale(.75)opacity(.42);transform:translateY(3px)}._resourceCard_1ehx1_1._emptyCard_1ehx1_94:hover{filter:grayscale(.2)opacity(.85);transform:translateY(-2px)}._resourceCard_1ehx1_1._hasCards_1ehx1_104{transform:translateY(0)}._resourceCard_1ehx1_1._hasCards_1ehx1_104:hover{z-index:5;transform:translateY(-8px)}._resourceCard_1ehx1_1._hasCards_1ehx1_104 ._cardVisual_1ehx1_12{border:1.5px solid #e9bd72bf;box-shadow:0 6px 18px #000000a6,0 0 12px #e9bd7259}._resourceCard_1ehx1_1._hasCards_1ehx1_104:hover ._cardVisual_1ehx1_12{border-color:var(--gold-strong);box-shadow:0 10px 26px #000c,0 0 18px #e9bd72a6}._resourceCard_1ehx1_1._hasCards_1ehx1_104 ._cardTitle_1ehx1_85{color:#fff6df;text-shadow:0 1px 3px #000000b3;font-weight:900}._resourceChip_1ehx1_134{color:#e7e8d7;white-space:nowrap;background:#24362d;border:1px solid #eadfb721;border-radius:9px;align-items:center;gap:9px;min-height:52px;padding:8px 11px;font-size:12px;display:flex;position:relative}._resourceChip_1ehx1_134 strong{color:#fff6df;margin-left:auto;font:900 16px Nunito}._resourceSymbol_1ehx1_136{background:#192a22;border-radius:7px;flex:none;place-items:center;width:30px;height:30px;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff1a}._resourceChipImg_1ehx1_137{object-fit:cover;object-position:center;width:100%;height:100%;display:block}._resourceChip_1ehx1_134._wood_1ehx1_138 ._resourceSymbol_1ehx1_136{background:#3d5e48}._resourceChip_1ehx1_134._brick_1ehx1_138 ._resourceSymbol_1ehx1_136{background:#8e523c}._resourceChip_1ehx1_134._wool_1ehx1_138 ._resourceSymbol_1ehx1_136{background:#68824f}._resourceChip_1ehx1_134._grain_1ehx1_138 ._resourceSymbol_1ehx1_136{background:#9c7b41}._resourceChip_1ehx1_134._ore_1ehx1_138 ._resourceSymbol_1ehx1_136{background:#5c6264}._resourceSlotImpact_1ehx1_141{animation:.55s cubic-bezier(.175,.885,.32,1.275) _slotImpact_1ehx1_1!important}@keyframes _slotImpact_1ehx1_1{0%{filter:brightness();transform:scale(1)}25%{filter:brightness(1.7)drop-shadow(0 0 12px #e9bd72e6);transform:scale(1.18)translateY(-4px)}60%{filter:brightness(1.25);transform:scale(1.06)translateY(-2px)}to{filter:brightness();transform:scale(1)translateY(0)}}._floatingGainPill_1ehx1_152{color:#17241d;pointer-events:none;z-index:10;background:linear-gradient(135deg,#ffd780,#e9bd72);border:1.5px solid #fff;border-radius:99px;padding:2px 7px;font:900 13px Nunito,sans-serif;animation:1.1s cubic-bezier(.2,.8,.25,1) forwards _floatUpFade_1ehx1_1;position:absolute;top:-10px;right:-4px;box-shadow:0 4px 12px #00000080,0 0 8px #e9bd72cc}@keyframes _floatUpFade_1ehx1_1{0%{opacity:0;transform:translateY(8px)scale(.6)}25%{opacity:1;transform:translateY(0)scale(1.15)}70%{opacity:1;transform:translateY(-16px)scale(1)}to{opacity:0;transform:translateY(-26px)scale(.85)}}._floatingLossPill_1ehx1_187{color:#fff;pointer-events:none;z-index:11;background:linear-gradient(135deg,#ff5c5c,#d32f2f);border:1.5px solid #ffebee;border-radius:99px;padding:2px 7px;font:900 13px Nunito,sans-serif;animation:1.35s cubic-bezier(.2,.8,.25,1) forwards _floatLossFade_1ehx1_1;position:absolute;top:-10px;right:-4px;box-shadow:0 4px 14px #0009,0 0 10px #dc2626d9}@keyframes _floatLossFade_1ehx1_1{0%{opacity:0;transform:translateY(6px)scale(.6)}20%{opacity:1;transform:translateY(-2px)scale(1.18)}70%{opacity:1;transform:translateY(-18px)scale(1)}to{opacity:0;transform:translateY(-28px)scale(.8)}}._resourceSlotLoss_1ehx1_222{animation:.65s cubic-bezier(.36,.07,.19,.97) _slotLoss_1ehx1_1!important}@keyframes _slotLoss_1ehx1_1{0%{filter:brightness();transform:translate(0)}15%{filter:brightness(1.25)drop-shadow(0 0 12px #ef4444d9);transform:translate(-6px)rotate(-2deg)}30%{filter:brightness(1.15)drop-shadow(0 0 8px #ef444499);transform:translate(5px)rotate(2deg)}45%{transform:translate(-4px)rotate(-1deg)}60%{transform:translate(3px)rotate(1deg)}75%{transform:translate(-1px)}to{filter:brightness();transform:translate(0)}}._dice-stats_wiv0x_1{text-align:left;background:#fff9e994;border:1px solid #b99c6e;border-radius:10px;margin:22px 0 18px;padding:14px 12px 12px}._dice-stats-header_wiv0x_2{color:var(--ink);justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}._dice-stats-header_wiv0x_2 span{color:var(--ink-muted);font-size:11px;font-weight:700}._dice-stats-grid_wiv0x_4{grid-template-columns:repeat(11,minmax(14px,1fr));align-items:end;gap:5px;height:126px;display:grid}._dice-stat-column_wiv0x_5{text-align:center;min-width:0;height:100%;color:var(--ink);grid-template-rows:18px 1fr 20px;align-items:end;gap:4px;font-size:11px;display:grid}._dice-stat-count_wiv0x_6{color:#765025;font-size:10px;font-weight:800}._dice-stat-track_wiv0x_7{background:#89622c1a;border-radius:4px 4px 2px 2px;justify-content:center;align-items:end;height:100%;display:flex;overflow:hidden}._dice-stat-track_wiv0x_7 span{background:linear-gradient(#d69a43,#9e5d32);border-radius:3px 3px 1px 1px;width:70%;min-height:0}._dice-stats-note_wiv0x_9{color:var(--ink-muted);margin:10px 0 0;font-size:10px;line-height:1.4}
