@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";.entry-option{width:100%;display:flex;justify-content:flex-start;gap:14px;padding:19px 15px;border:1px solid var(--line);border-radius:12px;background:#f6f3e9;font-size:14px;font-weight:700;text-align:left;min-height:68px}.entry-option>span{flex:1}.entry-option>.icon{width:22px;height:22px}.entry-option>.icon:last-child{width:17px;color:#708275}.entry-option:hover{background:#e6eadb;border-color:#8aab94}.entry-options{display:grid;gap:10px}.entry-option:first-child>.icon:first-child{color:#ce602d}.entry-option:last-child>.icon:first-child{color:#8c7550}.entry-heading{display:flex;align-items:center;gap:8px;margin-bottom:23px}.entry .entry-heading h1{font-size:25px;letter-spacing:-1px;margin:0;flex:1;line-height:1.2}.ranked-back .icon{transform:rotate(180deg)}.entry-heading>.icon-button{flex-shrink:0;width:30px;height:30px;background:none;border:0;box-shadow:none}.entry-heading>.ranked-back{margin-left:-8px}.entry-competitive{width:340px}.entry-competitive .field{margin-bottom:14px}.entry-competitive input{width:100%;min-width:0}.entry-competitive .primary{min-height:43px}.ranked-auth-links{display:flex;justify-content:space-between;gap:8px;margin-top:15px}.ranked-auth-links button{font-size:11px;padding:6px 0}.ranked-message{font-size:12px;line-height:1.5;margin:16px 0 0;color:#586b60}.ranked-message[role=alert]{color:#925240}.ranked-wait,.ranked-empty{padding:25px 0;text-align:center;font-size:13px;color:#738173}.ranked-verification{text-align:center;padding:8px 0 24px}.ranked-verification>.icon{width:32px;height:32px;color:#54745c}.ranked-verification h2{font-size:20px;margin:12px 0 7px}.ranked-verification>span{font-size:12px;overflow-wrap:anywhere}.ranked-identity{display:flex;align-items:center;gap:10px;padding:3px 0 21px}.ranked-identity>i{width:32px;height:32px;display:grid;place-items:center}.ranked-identity svg{width:100%;height:100%}.ranked-identity>strong{flex:1;font-size:15px;overflow-wrap:anywhere}.ranked-identity>.icon-button{background:none;box-shadow:none;border:0}.ranked-actions{display:grid;gap:9px}.ranked-actions button{margin:0;min-height:43px}.competition-entry{background:#eee4c9;color:#6b5732;border:1px solid #d9c79b;border-radius:9px;font-size:13px;font-weight:700}.ranked-totals{display:flex;justify-content:space-between;border-block:1px solid var(--line);padding:14px 6px;margin-bottom:20px}.ranked-totals span{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;color:#758371}.ranked-totals b{font-size:24px;color:#35574a}.match-search{text-align:center;padding:16px 0 24px}.match-search>.icon{width:38px;height:38px;color:#7c967e}.match-search h2{font-size:20px;margin:12px 0 22px}.match-seats{display:flex;justify-content:center;gap:12px}.match-seats i{width:20px;height:20px;background:#e1e5d7;border:1px solid #cbd4c0;border-radius:50%}.match-seats .filled{background:var(--accent);border-color:var(--accent)}.ranked-board{max-height:360px;overflow:auto}.ranked-board-head{display:flex;justify-content:space-between;font-size:10px;color:#758371;padding:0 0 10px}.ranked-board-row{display:flex;align-items:center;gap:9px;padding:12px 0;border-top:1px solid var(--line);font-size:12px}.ranked-place{width:20px;color:#758371}.ranked-board-row i{width:24px;height:24px}.ranked-board-row svg{width:24px;height:24px}.ranked-board-row strong{flex:1;overflow-wrap:anywhere}.ranked-board-row b{font-size:17px}.ranked-history>div{display:flex;justify-content:space-between;font-size:12px;padding:14px 0;border-bottom:1px solid var(--line)}.modal.competition-modal{width:min(410px,calc(100vw - 32px));padding:30px;background:#f8f4e9;border-radius:23px}.competition-modal h2{font-size:21px;letter-spacing:-.6px;margin:0 0 19px;padding-right:20px}.competition-prize{display:flex;align-items:center;justify-content:center;gap:10px;color:#94733f;margin:21px 0 28px}.competition-prize>.icon{width:30px;height:30px}.competition-prize strong{font-size:39px;letter-spacing:-1.7px;font-weight:750;line-height:1}.competition-prize>span{font-size:10px;align-self:flex-end;margin-bottom:4px}.score-podium{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;gap:8px;margin-bottom:23px}.podium-place{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:14px 8px;background:#e8ebdf;border:1px solid #d6ddca;border-radius:11px;height:112px}.podium-place.first{height:136px;background:#eee3c4;border-color:#d9c698}.podium-place.third{height:92px;background:#eeeee5;border-color:#dedfd0}.podium-place>span{font-size:11px;color:#647660}.podium-place>strong{font-size:36px;font-weight:750;line-height:1.2}.podium-place>small{font-size:10px;color:#758371}.competition-facts>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #dedfce;font-size:11px}.competition-facts span{color:#73816e}.competition-facts b{font-weight:600;text-align:right}.competition-details{margin-top:8px;border-top:1px solid #dedfce;padding-top:13px;font-size:11px;line-height:1.6}.competition-details summary{cursor:pointer;font-weight:650}.competition-details ul{padding-left:17px;margin:12px 0 0}.competition-details li{margin-bottom:7px;color:#64745f}.competition-modal>.primary{margin-top:20px}.competition-modal>.ranked-message{text-align:center}.competitive-clock{display:flex;justify-content:space-between;align-items:center;padding:0 17px 9px;font-size:10px;color:#748371}.competitive-clock time{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;color:#35574a}.ranked-result-points{font-size:14px;font-weight:700;text-align:center;margin-top:14px}@media(max-width:720px){.entry.entry-choice,.entry.entry-competitive,.entry.entry-fun{width:min(330px,calc(100vw - 32px))}.entry.entry-competitive,.entry.entry-fun,.entry.entry-choice{left:16px;max-height:calc(100dvh - 128px);overflow-y:auto;top:50%;padding:23px}.entry.entry-choice{width:min(320px,calc(100vw - 32px))}.entry-option{min-height:61px;padding:16px 12px}.modal.competition-modal{padding:25px;max-height:calc(100dvh - 32px)}.competition-prize{margin:17px 0 24px}.competition-prize strong{font-size:35px}}@media(max-height:520px){.entry.entry-choice,.entry.entry-competitive,.entry.entry-fun{top:70px;transform:none;max-height:calc(100dvh - 84px)}.score-podium{margin-bottom:14px}.competition-prize{margin:12px 0 17px}.competition-modal h2{margin-bottom:12px}}.competition-modal h2{text-align:center;padding:0 15px}.score-podium{grid-template-columns:repeat(4,1fr);gap:6px;margin:10px 0 16px}.podium-place{padding:12px 4px}.podium-place.fourth{height:78px;background:#eeeee5}.podium-place>strong{font-size:30px}.competition-example{font-size:10px;color:#758371;text-align:center;margin:16px 0 8px}.rating-explanation{display:flex;flex-direction:column;gap:7px;text-align:center;font-size:11px;padding:12px 4px;border-block:1px solid var(--line)}.rating-explanation span{color:#647660}.ranked-board-head,.ranked-board-row{display:grid;grid-template-columns:minmax(0,1fr) 53px 72px;gap:6px;align-items:center}.ranked-board-head span:not(:first-child),.ranked-board-row>b,.ranked-board-row>span:last-child{text-align:right}.ranked-player{display:flex;align-items:center;gap:6px;min-width:0}.ranked-player i{flex-shrink:0}.ranked-place{width:12px;flex-shrink:0}.competition-modal .ranked-board-row{padding:8px 0}.competition-modal .competition-facts{margin-top:15px}.qualifying-label{display:block;color:#7a8476;font-size:9px;font-weight:500}.qualification-progress{text-align:center;font-size:11px;color:#647660;margin:-5px 0 15px}.competition-modal h2{max-width:none}.entry-competitive .entry-heading h1{font-size:23px;letter-spacing:-.7px}.champion-prize{display:flex;align-items:center;justify-content:center;gap:3px;margin:-8px -12px 2px}.champion-prize img{width:128px;height:154px;object-fit:contain;filter:drop-shadow(0 10px 12px #805c2420)}.champion-prize>div{display:flex;flex-direction:column;gap:7px;color:#94733f}.champion-prize span{font-size:10px;color:#718173}.champion-prize strong{font-size:40px;line-height:1;letter-spacing:-1.8px}.champion-prize small{font-size:11px}.champion-rating{font-size:14px;font-weight:650;text-align:center;margin:6px 0 16px}.champion-facts{display:flex;justify-content:center;gap:14px;font-size:11px;border-block:1px solid var(--line);padding:12px 0}.champion-close{text-align:center;font-size:10px;color:#738173;margin:12px 0 22px}.champion-consent{font-size:12px;line-height:1.6;margin:12px 0;color:#607264}.champion-consent .text-button{padding:0;font:inherit;text-decoration:underline}.champion-intro+.ranked-identity{border-top:1px solid var(--line);padding-top:15px;padding-bottom:15px}.competition-modal .rating-explanation{margin-top:0}@media(max-height:600px){.champion-prize img{width:90px;height:105px}.champion-close{margin-bottom:14px}}.identity-picker{margin:14px 0 18px}.identity-preview{display:flex;align-items:center;gap:10px;background:linear-gradient(125deg,#e7e8dc,#f8f5eb);border:1px solid #d5dacd;border-radius:12px;padding:8px 12px}.identity-preview>svg{width:125px;height:76px;flex:none}.identity-preview>span{font-size:15px;font-weight:700;color:var(--identity)}.identity-preview small{display:block;font-size:9px;font-weight:500;color:#69796e;margin-top:5px}.identity-picker .colours{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:12px 0 8px}.identity-picker .swatch{position:relative;width:100%;height:38px;border-radius:9px;padding:7px}.identity-mark{width:23px;height:23px;flex:none;pointer-events:none}.identity-picker .swatch.selected{outline:2px solid var(--player);outline-offset:2px;border-color:#fff6}.identity-picker .swatch:disabled{opacity:.45}.swatch-state{position:absolute;top:43px;font-size:8px;line-height:10px;color:#506154;font-weight:600}.portrait .identity-mark{width:19px;height:19px}.weather-label{font-size:10px;color:#677d75;display:flex;gap:6px;align-items:center;margin:0 0 8px}.weather-label:before{content:"";width:6px;height:6px;border-radius:50%;background:#91b8ba}@media(max-width:720px){.identity-preview>svg{width:100px;height:62px}.identity-preview{padding:5px 8px}.identity-preview>span{font-size:13px}.identity-picker .swatch{height:36px}.identity-picker{margin-top:10px}}.game-panel.phase-lobby .panel-body{display:block;overflow-y:auto;min-height:0;overscroll-behavior:contain}.game-panel.phase-lobby .controls{overflow:visible}.lobby-start{flex:none;padding:10px 14px 14px;border-top:1px solid #d8ddcf;background:#f5f2e7;position:sticky;bottom:0;z-index:2}.lobby-start .primary{margin:0;width:100%}@media(max-height:520px)and (min-width:721px){.identity-preview{gap:4px;padding:4px}.identity-preview>svg{width:85px;height:57px}.identity-preview>span{font-size:12px}.identity-preview small{font-size:8px;line-height:1.3}.identity-picker .colours{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 8px}.identity-picker .swatch{min-height:36px}.swatch-state{top:38px}.lobby-start{padding:6px 8px 8px}.lobby-start .primary{min-height:38px;font-size:11px}}.phase-lobby .player-stats{display:none}.phase-lobby .roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.phase-lobby .player{display:flex;min-height:36px;gap:6px}.phase-lobby .player-name{font-size:11px}.phase-lobby .empty-players{grid-column:1/-1;padding:4px}@media(max-width:720px),(max-width:960px)and (max-height:500px){.identity-picker .swatch{height:44px}.swatch-state{top:48px}.identity-picker .colours{padding-bottom:14px}}@media(max-width:370px){.identity-picker .colours{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}}@media(max-width:960px)and (max-height:500px){.phase-lobby .roster{grid-template-columns:1fr}.identity-picker .colours{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}}.character-view{width:140px;height:150px;flex-shrink:0}.character-view canvas{display:block;width:100%;height:100%}.accessories{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.accessories button{border:1px solid #cbd3c7;border-radius:7px;padding:7px 9px;font-size:11px}.accessories button[aria-pressed=true]{background:color-mix(in srgb,var(--player,#557b66) 18%,#f5f2e7)}.entry{max-height:calc(100dvh - 100px);overflow-y:auto;scrollbar-width:thin}@media(max-height:550px){.character-view{width:115px;height:105px}.entry{top:65px;transform:none;max-height:calc(100dvh - 80px)}}.identity-preview [data-character-name]{font:inherit}.identity-preview .text-button{display:block;margin-top:8px;padding:4px 0;font-size:13px}.wardrobe-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wardrobe-options .accessories{grid-column:1/-1;flex-wrap:wrap}.wardrobe-options label{display:flex;flex-direction:column;gap:5px;font-size:12px}.wardrobe-options select{width:100%;min-height:38px;border:1px solid #cdd4c5;border-radius:9px;background:#faf9ef;color:#304c46;padding:7px}.modal .identity-preview{min-height:220px;margin-bottom:16px}.modal .character-view{height:220px;width:60%}.modal .identity-preview [data-act=wardrobe]{display:none}.modal .identity-preview{position:sticky;top:0;z-index:1;background:#eceee4}.character-view canvas{max-width:100%;display:block}@media(max-width:520px){.modal .identity-preview{min-height:160px}.modal .character-view{height:160px}.wardrobe-options{gap:8px}.wardrobe-options select{min-height:36px}}.camp-button small{display:block;font-size:10px;margin:3px 0 0;opacity:.8}.camp-button:disabled{opacity:.65;cursor:default}.modal.wardrobe-modal{width:min(680px,95vw);padding:24px;max-height:94dvh;overflow:auto}.wardrobe-modal .identity-preview{position:relative;min-height:230px;margin:0 0 16px;border:0;background:radial-gradient(ellipse at center,#f7f3e7,#e5e8dc);border-radius:16px}.wardrobe-modal .character-view{width:100%;height:230px}.wardrobe-modal .identity-preview>span{display:none}.wardrobe-tabs{display:flex;gap:5px;overflow-x:auto;position:sticky;top:-24px;background:#f7f3e8;padding:10px 0;z-index:2}.wardrobe-tabs button{padding:10px 12px;border-radius:8px;white-space:nowrap;font-size:12px}.wardrobe-tabs [aria-pressed=true]{background:var(--player,#35574a);color:var(--player-ink,#fff9e9)}.wardrobe-modal .wardrobe-options{display:block}.wardrobe-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.wardrobe-item{display:flex;flex-direction:column;gap:2px;min-height:86px;padding:8px 4px;border:1px solid #d9ddcf;border-radius:10px;background:#eeeee3;font-size:11px}.wardrobe-item svg{height:44px;width:54px;color:#677665}.wardrobe-item[aria-pressed=true]{border:2px solid var(--player,#35574a);padding:7px 3px;background:color-mix(in srgb,var(--player,#35574a) 12%,#fffaf0)}.wardrobe-item:hover{background:#e1e6d8}.wardrobe-colours{display:flex;flex-wrap:wrap;gap:5px;padding:0;margin:12px 0 16px;border:0}.wardrobe-colours legend,.wardrobe-options h3{font-size:12px;font-weight:700;margin:0 0 9px}.wardrobe-colours button{padding:5px 7px;border-radius:7px;min-height:40px;border:1px solid transparent;font-size:10px}.wardrobe-colours i{width:20px;height:20px;border-radius:50%;background:var(--swatch);border:1px solid #263b3925}.wardrobe-colours [aria-pressed=true]{border-color:var(--player,#35574a);background:#e6e9dd}.wardrobe-options h3{margin-top:16px}@media(max-width:520px){.modal.wardrobe-modal{padding:16px}.wardrobe-modal .identity-preview{min-height:190px}.wardrobe-modal .character-view{height:190px}.wardrobe-tabs{top:-16px}.wardrobe-tabs button{padding:10px 8px}.wardrobe-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.wardrobe-colours span{display:none}.wardrobe-colours button{min-width:38px}}.wardrobe-text-grid .wardrobe-item{min-height:42px;padding:12px 10px;justify-content:center}.wardrobe-text-grid{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}.wardrobe-section+.wardrobe-section{margin-top:24px;padding-top:18px;border-top:1px solid #d9ddcf}.wardrobe-section>h3{margin-top:0}.wardrobe-tabs button{flex:1}.wardrobe-section .wardrobe-colours:first-of-type{margin-top:8px}:root{font-family:DM Sans,sans-serif;color:#2d4740;font-synthesis:none;font-size:14px;font-weight:500;background:#7fa7ae;--cream:#f6f2e6;--ink:#29483e;--muted:#788178;--line:#dadccf;--wood:#53774d;--stone:#7c8579;--metal:#61878b;--gold:#ba9146;--fuel:#a38d4d;--knowledge:#8d7a9f}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s,transform .15s;border:0;color:inherit;background:none}button:disabled{cursor:not-allowed;opacity:.42}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #dba844;outline-offset:3px}input,select{border:1px solid #cdd3c4;background:#fffdf5;color:var(--ink);padding:12px 13px;border-radius:9px;min-width:0}input::placeholder{color:#8a948b}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}#world{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;outline:none;touch-action:none}#ui{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10}#ui>*{pointer-events:auto}header{position:absolute;left:32px;top:24px;right:30px;display:flex;align-items:center;justify-content:space-between;pointer-events:none!important}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#f9f4df;filter:drop-shadow(0 2px 6px #284b4133);font:800 22px Manrope,sans-serif;letter-spacing:.13em;pointer-events:auto}.brand .icon{width:31px;height:31px}.header-actions{display:flex;gap:10px;pointer-events:auto}.icon-button{height:38px;width:38px;flex-shrink:0;border-radius:50%;background:#f6f2e6de;border:1px solid #ffffff35}.icon-button:hover{background:#fff9e7}.icon-button.small{width:25px;height:25px;background:none}.icon-button.small .icon{width:15px;height:15px}.panel{background:#f5f2e7ed;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid #fff6;box-shadow:0 18px 60px #243e3830;border-radius:19px}.entry{position:absolute;top:50%;left:6%;transform:translateY(-50%);width:320px;padding:29px}.entry h1{font:600 38px Manrope,sans-serif;letter-spacing:-1.5px;margin:0 0 23px}.field{display:grid;gap:8px;font-size:12px}.field input{font-size:15px}.colours{display:flex;justify-content:space-between;gap:8px;padding:18px 0}.swatch{background:var(--player);width:32px;height:32px;border-radius:50%;color:#fff9e9;border:2px solid transparent;box-shadow:inset 0 -3px #00000012}.swatch .icon{width:18px;height:18px}.swatch.selected{outline:2px solid var(--ink);outline-offset:3px}.swatch:disabled{opacity:.2}.primary,.secondary{padding:12px 15px;border-radius:9px;min-height:44px;font-weight:700}.primary{background:#35574a;color:#fcf7e9;box-shadow:0 3px #284b3f}.primary:hover:not(:disabled){background:#416951}.secondary{background:#e7e8dc;border:1px solid #d2d8c7}.secondary:hover:not(:disabled){background:#dce1d1}.wide{width:100%;justify-content:center}.wide+.wide{margin-top:10px}.text-button{font-size:12px;padding:9px;color:#697a6c;text-decoration:underline;text-underline-offset:3px}.join-row{display:flex;gap:8px;margin:15px 0 5px}.join-row input{width:100%;font-size:13px;letter-spacing:.07em;text-transform:uppercase}.join-row .secondary{padding:10px 15px}.landing-controls{position:absolute;bottom:25px;right:27px}.game-panel{position:absolute;top:82px;left:24px;width:310px;max-height:calc(100dvh - 109px);overflow:auto;scrollbar-width:thin;scrollbar-color:#c8cbbd transparent}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 18px 5px;font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#7d8475}.roster{padding:0 10px 11px}.player{width:100%;padding:7px 8px;gap:9px;border-radius:9px;text-align:left;position:relative;border:1px solid transparent}.player:hover{background:#e6e8dc}.player.selected{background:color-mix(in srgb,var(--player) 17%,#f6f2e6);border-color:color-mix(in srgb,var(--player) 55%,transparent)}.player.current:before{content:"";position:absolute;left:-5px;top:18px;width:4px;height:14px;background:var(--player);border-radius:3px}.portrait{background:var(--player);border-radius:50%;width:30px;height:30px;display:grid;place-items:center;color:#fff8e7;box-shadow:inset 0 -2px #0001}.portrait .icon{width:20px;height:20px}.player-name{font-size:12px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-name small{font-size:9px;color:#879181;margin-left:5px}.player-stats{display:flex;gap:8px;align-items:center;font-size:10px}.player-stats span{display:flex;align-items:center;gap:2px}.player-stats .icon{width:12px;height:12px;color:#839080}.player-stats b{font-size:18px;letter-spacing:2px}.offline{width:6px;height:6px;border-radius:50%;background:#b56f57}.empty-players{font-size:11px;color:#8f9888;text-align:center;padding:10px}.resources{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:repeat(6,1fr);padding:13px 9px 11px;gap:3px;background:#eaece033}.resource{display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-items:center;row-gap:5px}.resource .icon{height:18px;width:18px}.resource b{font-size:14px}.resource small{grid-column:span 2;font-size:8px;color:#82907c}.wood{color:var(--wood)}.stone{color:var(--stone)}.metal{color:var(--metal)}.gold{color:var(--gold)}.fuel{color:var(--fuel)}.knowledge{color:var(--knowledge)}.controls{padding:16px}.instruction h2{font:700 19px Manrope,sans-serif;letter-spacing:-.55px;margin:0 0 10px;line-height:1.3}.instruction p{font-size:12px;line-height:1.5;color:#7c8777;margin:0 0 17px}.instruction+.primary{margin-top:8px}.room-code{display:flex;width:100%;justify-content:space-between;font:600 20px Manrope,sans-serif;letter-spacing:.13em;background:#e8ebde;border:1px dashed #b4beaa;border-radius:8px;padding:15px 12px}.room-code .icon{width:17px}.note{font-size:11px;line-height:1.55;color:#85907f;margin:9px 0 0}.setup-order{display:flex;gap:7px;margin-top:17px}.setup-order span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--player);color:#fff9eb;font-size:10px;opacity:.6}.setup-order .now{opacity:1;outline:2px solid var(--ink);outline-offset:2px}.setup-order .done{opacity:.35}.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin:-6px -7px 13px;border-bottom:1px solid var(--line);padding-bottom:8px}.tabs button{display:flex;flex-direction:column;gap:5px;padding:7px 1px;border-radius:7px;color:#8b9487}.tabs .icon{width:18px;height:18px}.tabs span{font-size:9px}.tabs .active{background:#e1e6d6;color:#355749}.build-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.build-button{border:1px solid #d6dccc;border-radius:9px;background:#fffdf444;display:flex;flex-direction:column;align-items:flex-start;padding:10px 11px;gap:8px}.build-button:hover:not(:disabled){background:#fffced;border-color:#91a78b}.build-name{display:flex;gap:7px;align-items:center;font-size:12px}.build-cost{display:inline-flex;align-items:center;gap:6px;font-size:10px}.cost{display:inline-flex;gap:2px;align-items:center}.cost .icon{width:12px;height:12px}.end-turn{border-top:1px solid var(--line);padding:14px 0 0;margin-top:10px;justify-content:space-between;font-size:12px;font-weight:700}.destination+.destination{border-top:1px solid var(--line);padding-top:13px;margin-top:13px}.destination-name{display:flex;align-items:center;gap:7px;font-size:12px;margin-bottom:9px}.destination-name i,.opponent i,.land-key i{width:8px;height:8px;border-radius:50%;display:inline-block;flex-shrink:0}.destination-name small{color:#6e8b61;font-size:10px;margin-left:auto}.route{display:flex;justify-content:flex-start;width:100%;border:1px solid #d3dcca;border-radius:7px;padding:9px 10px;margin-top:5px;font-size:12px}.route span{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:11px}.route .icon{width:16px;height:16px}.opponent{width:100%;justify-content:flex-start;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.opponent span{margin-left:auto;font-size:10px;color:#83907e}.opponent span .icon{width:14px}.action-card{width:100%;justify-content:flex-start;border:1px solid var(--line);padding:12px 9px;border-radius:7px;margin-bottom:7px;font-size:12px}.action-card .icon:last-child{margin-left:auto;width:16px}.panel-footer{display:flex;align-items:center;gap:5px;padding:10px 16px;border-top:1px solid var(--line)}.panel-footer .icon-button{width:27px;height:27px;background:transparent}.panel-footer .icon{width:16px;height:16px}.panel-footer span{font-size:9px;color:#8b9586;margin-left:auto;max-width:150px;text-align:right}.land-key{display:flex;align-items:center;gap:7px;margin:0 16px 9px;font-size:10px;color:#728469}.land-key button{margin-left:auto;padding:0 6px;font-size:16px}.tile-detail{border-top:1px solid var(--line);padding:10px 16px;display:flex;align-items:center;gap:12px;font-size:12px}.tile-detail span{display:flex;align-items:center;gap:7px}.tile-detail b{margin-left:auto}.tile-detail .icon{width:17px;height:17px}.tile-detail .text-button{padding:0}.view-controls{position:absolute;bottom:24px;left:calc(50% + 100px);transform:translate(-50%);display:flex;align-items:center;gap:4px;background:#f5f2e6eb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #ffffff6b;padding:5px;border-radius:12px;box-shadow:0 6px 25px #28483a22}.view-controls button{padding:10px 13px;border-radius:8px;font-size:11px;color:#84907d;white-space:nowrap}.view-controls .selected{background:#dde5d4;color:#3a5b48}.view-controls .icon{width:16px;height:16px}.view-controls button.square{width:33px;padding:8px}.walk-hint{position:absolute;bottom:85px;left:calc(50% + 100px);transform:translate(-50%);font-size:10px;color:#f4f1df;text-shadow:0 1px 6px #2d554b;white-space:nowrap}.touch-controls{display:none}.world-target,.hand-target{position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;margin:-16px 0 0 -16px;border:2px solid transparent;background:transparent;pointer-events:auto}.world-target:hover,.world-target:focus-visible{border-color:#fff5bb;background:#fff6c933;box-shadow:0 0 0 6px #ffe6a320}.world-target.edge{width:28px;height:28px;margin:-14px 0 0 -14px}.world-target.tile{width:48px;height:48px;margin:-24px 0 0 -24px}.hand-target{width:28px;height:50px;border-radius:4px;margin:-25px 0 0 -14px;pointer-events:auto;border:1px solid #f0dfaa55;background:#f6ebba08}.hand-target:hover{background:#ffe6a644;border-color:#fff2a8;box-shadow:0 0 12px #ffe7b8}.hand-target.known{border-color:#f1d58b;opacity:.4}#board-targets,#hand-targets{position:fixed;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none}#board-confirm{position:fixed;left:0;top:0;z-index:12;pointer-events:none}.board-confirm{transform:translate(-50%,-100%);display:flex;gap:2px;white-space:nowrap;padding:4px;background:#fff9e9;border-radius:11px;box-shadow:0 6px 24px #234e4444;border:1px solid #fff;pointer-events:auto}.board-confirm:after{content:"";position:absolute;bottom:-8px;left:calc(50% - 7px);border-left:7px solid transparent;border-right:7px solid transparent;border-top:8px solid #fff9e9}.board-confirm button{padding:11px 13px;border-radius:7px;font-size:12px}.board-confirm .confirm-placement{background:#3d6650;color:#fff9e5;font-weight:700}.board-confirm .icon{width:16px;height:16px}.discovery{display:flex;align-items:center;gap:12px;padding:16px;background:#fff9e6;border:1px solid #dbd6b9;border-radius:10px;margin:16px 0}.discovery .icon{width:30px;height:30px}.discovery small{font-size:9px;margin-left:auto;color:#90967c}.row{display:flex;gap:10px}.row>*{flex:1}.progress-line{height:3px;border-radius:4px;margin-top:17px;background:linear-gradient(90deg,#dce4d3,#8caa78,#dce4d3);background-size:200%;animation:progress 1.8s linear infinite}@keyframes progress{to{background-position:200%}}#toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,12px);z-index:40;pointer-events:none;background:#f8f4e7f2;color:#375746;border:1px solid #fff9;padding:13px 19px;border-radius:10px;box-shadow:0 6px 25px #27433526;font-size:12px;max-width:min(450px,90vw);opacity:0;transition:.2s;text-align:center}#toast.show{opacity:1;transform:translate(-50%)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1e40376b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px;z-index:30}.modal{position:relative;width:min(440px,95vw);background:#f7f3e8;border:1px solid #fff9;border-radius:17px;padding:30px;box-shadow:0 25px 100px #15372855;max-height:85dvh;overflow:auto}.modal.help{width:min(610px,95vw)}.modal h2{font:700 25px Manrope,sans-serif;letter-spacing:-.7px;max-width:calc(100% - 20px);margin:0 0 25px}.modal p{font-size:13px;line-height:1.65;color:#788371}.modal-close{position:absolute;right:14px;top:14px;width:29px;height:29px;background:none}.modal-close .icon{width:18px;height:18px}.rules{padding-left:20px;color:#657560;font-size:13px;line-height:1.6}.rules li{padding-left:5px;margin-bottom:12px}.modal details{border-top:1px solid var(--line);padding:13px 0;font-size:12px}.modal summary{cursor:pointer}.trade-form{display:flex;align-items:center;gap:15px;margin-bottom:20px}.trade-form label{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0;font-size:11px}.trade-form input,.trade-form select{width:100%;font-size:13px}.offer{display:flex;gap:20px;justify-content:space-between;padding:15px 0 25px}.offer span{display:flex;flex-direction:column;gap:8px;font-size:11px}.offer b{font-size:19px}.game-panel.collapsed .panel-body{display:none}.game-panel.collapsed{max-height:55px}.game-panel.collapsed .panel-heading{padding-bottom:14px}@media(max-height:820px)and (min-width:721px){.game-panel{width:295px;top:72px;max-height:calc(100dvh - 90px)}.controls{padding:12px 14px}.player{padding:5px 8px}.portrait{width:27px;height:27px}.roster{padding-bottom:6px}.resources{padding:10px 8px}.build-button{padding:8px 10px;gap:5px}.build-grid{gap:6px}.tabs{margin-bottom:10px}.panel-footer{padding:6px 13px}.build-name{font-size:11px}.instruction h2{font-size:18px}}@media(max-width:720px){header{top:17px;left:19px;right:17px}.brand{font-size:18px}.brand .icon{width:26px}.header-actions{gap:5px}.icon-button{width:31px;height:31px}.entry{left:22px;width:285px;padding:25px}.entry h1{font-size:34px}.game-panel{top:65px;left:12px;width:250px;max-height:calc(100dvh - 155px);border-radius:14px}.controls{padding:12px}.player{padding:5px}.portrait{width:25px;height:25px}.portrait .icon{width:17px}.player-name{font-size:11px}.player-stats{font-size:9px;gap:6px}.player-stats .icon{width:11px}.player-name small{font-size:8px}.resources{padding:9px 6px}.resource .icon{width:15px;height:15px}.resource b{font-size:12px}.resource small{font-size:7px}.roster{padding:0 8px 8px}.panel-heading{padding:9px 14px 4px}.instruction h2{font-size:17px}.instruction p{font-size:11px}.tabs{margin:0 -5px 10px}.tabs span{font-size:8px}.tabs .icon{height:17px;width:17px}.build-button{padding:9px;gap:6px}.build-name{font-size:11px}.panel-footer{padding:8px 12px}.view-controls{bottom:18px;left:50%;gap:1px}.view-controls button{padding:9px 10px;font-size:10px}.view-controls button.square{width:28px}.walk-hint{display:none}.touch-controls{position:absolute;right:17px;bottom:85px;display:grid;grid-template-columns:repeat(3,35px);grid-template-rows:repeat(2,35px);gap:4px}.touch-controls button{background:#f4f0dedb;border:1px solid #fffa;border-radius:9px;font-size:17px;touch-action:none}.touch-controls .up{grid-column:2}.touch-controls .left{grid-column:1;grid-row:2}.touch-controls .down{grid-column:2;grid-row:2}.touch-controls .right{grid-column:3;grid-row:2}.modal{padding:26px 22px}.modal h2{font-size:22px}.board-confirm button{font-size:11px;padding:10px}#toast{bottom:78px;font-size:11px}.setup-order{gap:5px}.setup-order span{width:22px;height:22px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.dock-deal{display:flex;flex-direction:column;gap:9px;text-align:left;width:100%;padding:13px;margin:7px 0;border:1px solid #b5c3af;border-radius:10px;background:#e5ecdd;color:#284f43}.dock-deal:hover{border-color:#47856b;background:#d6e4cd}.dock-deal>span:last-child,.dock-trade small{font-size:11px;font-weight:400;display:flex;align-items:center;gap:6px}.dock-deal .icon{width:15px}.dock-trade{border-bottom:1px solid #c4cbbb;padding-bottom:14px;margin-bottom:12px}.dock-trade strong{display:flex;justify-content:space-between}.dock-discovery{font-size:12px;line-height:1.5}.dock-rate{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0;font-size:11px}.dock-rate>.icon{width:17px}.touch-controls .jump{position:absolute;left:-75px;bottom:0;width:66px;height:46px;font-size:12px}.world-target.port{width:45px;height:45px}.roll-readout{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 12px 12px;padding:11px 12px;border:1px solid color-mix(in srgb,var(--player) 38%,#d6ddcf);border-radius:12px;background:color-mix(in srgb,var(--player) 11%,#faf6e9)}.roll-who{display:flex;align-items:center;gap:7px;min-width:0;font-size:12px;font-weight:700}.roll-who i{width:7px;height:25px;background:var(--player);border-radius:5px;flex-shrink:0}.roll-who>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roll-who small{display:block;margin-top:2px;font-size:10px;font-weight:400;color:#7b8875}.roll-values{display:flex;gap:5px;align-items:center;flex-shrink:0}.roll-die{display:grid;place-items:center;width:29px;height:31px;background:#fffcf1;border:1px solid #d4d8c8;border-radius:7px;box-shadow:0 2px #ced3c3;font-size:18px;font-weight:800}.roll-plus,.roll-equals{color:#84907c;font-size:11px}.roll-values strong{font:800 30px Manrope,sans-serif;line-height:1;min-width:24px;text-align:center;color:#2d5042}.roll-fresh{animation:roll-result 1s both;animation-delay:var(--roll-delay)}.roll-fresh .roll-die{animation:die-result 1s both;animation-delay:var(--roll-delay)}.resource{position:relative;border-radius:7px;padding:3px 1px}.resource-gained{animation:resource-pulse 3.2s both;animation-delay:var(--gain-delay)}.resource-gained>b{animation:resource-count 3.2s both;animation-delay:var(--gain-delay)}.resource-gain{position:absolute;z-index:2;top:-7px;left:50%;border-radius:9px;padding:2px 6px;background:#fffbee;border:1px solid currentColor;box-shadow:0 2px 7px #365b4220;font-size:12px;font-weight:800;pointer-events:none;animation:resource-float 3.2s both;animation-delay:var(--gain-delay)}.collapsed-gains{display:none;align-items:center;justify-content:center;gap:16px;margin:-3px 12px 12px;font-size:12px}.collapsed-gains span{display:flex;align-items:center;gap:4px}.collapsed-gains .icon{width:16px;height:16px}.game-panel.collapsed{max-height:calc(100dvh - 155px)}.game-panel.collapsed .collapsed-gains{display:flex}.game-panel.collapsed .roll-readout{margin-top:0}@keyframes roll-result{0%{box-shadow:0 0 0 4px color-mix(in srgb,var(--player) 45%,transparent);transform:translateY(-3px)}55%{box-shadow:0 0 0 1px color-mix(in srgb,var(--player) 25%,transparent);transform:translateY(0)}to{box-shadow:0 0 0 0 transparent}}@keyframes die-result{0%{transform:rotate(-12deg) scale(.8)}25%{transform:rotate(6deg) scale(1.12)}55%,to{transform:rotate(0) scale(1)}}@keyframes resource-pulse{0%,35%{background:#e0edc8;box-shadow:inset 0 0 0 1px #a6bd82}to{background:transparent;box-shadow:inset 0 0 0 1px transparent}}@keyframes resource-count{0%{transform:scale(1)}12%{transform:scale(1.3)}35%,to{transform:scale(1)}}@keyframes resource-float{0%{opacity:0;transform:translate(-50%,7px) scale(.8)}12%{opacity:1;transform:translate(-50%,-5px) scale(1.08)}25%,78%{opacity:1;transform:translate(-50%,-7px) scale(1)}to{opacity:0;transform:translate(-50%,-17px)}}@media(max-width:720px){.roll-readout{margin:5px 9px 10px;padding:9px}.roll-who{font-size:11px}.roll-die{width:25px;height:28px;font-size:16px}.roll-values{gap:3px}.roll-values strong{font-size:27px}.resource-gain{font-size:11px;padding:2px 4px}}@media(prefers-reduced-motion:reduce){.resource-gain{transform:translate(-50%,-7px);opacity:1}.resource-gained{background:#e0edc8}}.vehicle-choices{display:grid;gap:7px;margin-bottom:14px}.vehicle-choice{border:1px solid #c7d4c4;border-radius:10px;background:#e1e9da;padding:12px;font-weight:700;justify-content:flex-start}.vehicle-choice small{margin-left:auto;font-size:10px;font-weight:400}.game-panel.piloting .roster{display:none}.drive-title{display:flex;justify-content:space-between;align-items:center}.drive-title h2{font:700 23px Manrope,sans-serif;margin:0}.drive-title span{font-size:10px;color:#75877c}.drive-title b{font-size:20px;color:#31524b;font-variant-numeric:tabular-nums}.drive-goal{font-size:14px;font-weight:700;margin:12px 0 8px;display:flex;justify-content:space-between;gap:7px}.drive-goal small{font-size:10px;font-weight:400}.drive-help{color:#778476;font-size:10px;line-height:1.8;margin:8px 0 12px}.drive-actions{display:flex;gap:8px}.drive-actions button{flex:1;font-size:12px;padding:10px}.drive-destinations{margin-top:13px;border-top:1px solid var(--line)}.drive-destination{display:flex;align-items:center;gap:7px;padding:5px 0;font-size:12px}.drive-destination i{height:9px;width:9px;border-radius:3px;background:var(--player)}.drive-destination button,.drive-destination small{margin-left:auto}.drive-destination small{color:#8d9686;font-size:10px}#travel-targets{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:7}.travel-marker{position:absolute;top:0;left:0;pointer-events:auto;margin-left:-44px;margin-top:-27px;display:flex;gap:7px;min-width:88px;max-width:140px;padding:8px 10px;background:#203f41eb;color:#f5f3df;border:1px solid var(--player);border-radius:3px 13px;box-shadow:0 4px 12px #123b3433;text-align:left;font-size:11px;transition:background .15s}.travel-marker i{height:23px;width:4px;background:var(--player);border-radius:2px}.travel-marker small{display:block;font-size:9px;font-weight:400;color:#cadccd;margin-top:3px}.travel-marker.chosen{outline:3px solid #f9edbc;outline-offset:3px;background:#315b58}.travel-marker[hidden]{display:none}.travel-marker:disabled{opacity:.55;pointer-events:none}.drive-pad{position:absolute;bottom:32px;right:30px;display:grid;grid-template-columns:repeat(3,46px);gap:5px;pointer-events:auto;z-index:12}.drive-pad button{height:43px;border-radius:11px;border:1px solid #fff8;background:#edf1e3e8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 3px 10px #193f3922;font-size:20px;touch-action:none;-webkit-user-select:none;user-select:none}.drive-pad button:active{background:#a5d2b8}.drive-pad .left{grid-column:1;grid-row:2}.drive-pad .up{grid-column:2;grid-row:1}.drive-pad .right{grid-column:3;grid-row:2}.drive-pad .brake{grid-column:2;grid-row:2;font-size:10px}.drive-pad .lower{grid-column:1;grid-row:1}.drive-pad .higher{grid-column:3;grid-row:1}@media(max-width:720px){.game-panel.piloting{width:230px}.drive-pad{right:14px;bottom:87px;grid-template-columns:repeat(3,38px)}.drive-pad button{height:39px}.drive-title h2{font-size:20px}.drive-help{font-size:9px}.travel-marker{font-size:10px;min-width:76px;padding:6px 8px}.vehicle-choice{padding:10px}}.drive-guidance{min-height:20px;margin:4px 0;font-size:12px;font-weight:700;color:#427b70}.modal.help{width:min(820px,100%);padding:25px 28px;background:#f8f5ea}.modal.help h2{margin-bottom:9px}.guide-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;color:#8c947e;font-size:9px;letter-spacing:1.9px}.guide-heading span:last-child{display:flex;align-items:center;gap:5px;letter-spacing:0;font-size:11px;color:#567260}.guide-heading .icon{width:15px;height:15px}.build-reference{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.reference-build{border:1px solid #dbe0cd;background:#eeefe2;border-radius:13px;padding:10px 12px 13px;box-shadow:0 2px #e4e5d7}.reference-piece{display:flex;align-items:center;gap:3px;min-height:96px}.build-picture{width:96px;height:90px;flex-shrink:0}.reference-piece h3{font-size:15px;margin:0 0 5px;font-family:Manrope,sans-serif}.modal .reference-piece p{margin:0;font-size:10px;line-height:1.5;color:#728171}.recipe{display:flex;align-items:center;justify-content:center;gap:5px}.recipe-card{display:grid;position:relative;justify-items:center;align-content:center;gap:5px;width:48px;height:65px;border:1px solid #c8d5b9;border-radius:7px;background:#e0e9d3;box-shadow:0 2px #bfcab599}.recipe-card>b{position:absolute;top:4px;left:5px;font-size:10px;line-height:1}.recipe-card>.icon{width:23px;height:23px;margin-top:7px}.recipe-card>small{font-size:8px;font-weight:600}.recipe-plus{font-size:10px;color:#9ba28f}.recipe-card.stone{background:#e6e8df;border-color:#c8d0c3}.recipe-card.metal{background:#dce9e5;border-color:#b6cec7}.recipe-card.gold{background:#f3e6bf;border-color:#dace9f}.reference-action{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 17px;margin:12px 0 0;background:#ebe6ed;border:1px solid #d8cfdc;border-radius:11px}.reference-action>span{display:flex;align-items:center;gap:9px;font-size:12px;color:#81708f}.reference-action .recipe-card{height:43px;width:61px;grid-template-columns:20px 1fr;gap:2px;padding:5px 7px;align-items:center}.reference-action .recipe-card>.icon{width:20px;height:20px;margin-top:6px}.reference-action .recipe-card>small{margin-top:6px}.guide-resources{display:flex;gap:18px;justify-content:center;padding:17px 0;font-size:10px}.guide-resources>span{display:flex;align-items:center;gap:5px}.guide-resources .icon{width:18px;height:18px}.drive-return{font-size:10px;margin-top:7px;color:#7f8b7a}@media(max-width:640px){.modal.help{padding:23px 16px}.build-reference{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reference-build{padding:6px 7px 11px}.reference-piece{min-height:87px;gap:0}.build-picture{width:65px;height:77px}.reference-piece h3{font-size:13px}.modal .reference-piece p{font-size:9px}.recipe{gap:3px}.recipe-card{width:37px;height:55px;gap:3px}.recipe-card>.icon{width:21px;height:21px}.recipe-card>small{font-size:7px}.recipe-plus{font-size:9px}.guide-resources{flex-direction:column;align-items:center;gap:9px}.guide-heading{font-size:8px;letter-spacing:1px}.guide-heading span:last-child{font-size:10px}.reference-action{padding:10px}.reference-action>span{font-size:11px}.reference-action .recipe-card{width:55px}.modal.help h2{font-size:24px}}#hand-root{position:fixed;right:24px;bottom:12px;z-index:16;pointer-events:none;max-width:calc(100vw - 380px)}.hand-tray{position:relative;max-width:100%;color:#34574c}.hand-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:5px;padding:5px 2px;font-size:11px}.hand-toolbar>button,.hand-pages{pointer-events:auto;background:#f6f2e8ee;border:1px solid #fff9;border-radius:9px;padding:7px 10px;box-shadow:0 2px 12px #23483b15}.hand-toolbar>button.active{background:#365c50;color:#fff9e7}.hand-toolbar b{margin-left:5px}.hand-toolbar .clear-cards{color:#788471}.hand-pages{display:flex;align-items:center;gap:7px;padding:4px 6px;font-size:10px}.hand-pages button{font-size:19px;padding:0 4px}.hand-fan{height:170px;display:flex;justify-content:flex-end;align-items:flex-end;padding:12px 7px 0 0;isolation:isolate}.held-card{pointer-events:auto;flex:0 0 23px;width:23px;height:140px;border:0;background:none;border-radius:0;position:relative;display:block;margin:0;padding:0;z-index:var(--i);cursor:pointer;touch-action:manipulation;transition:none;transform:none}.held-card:last-child{flex-basis:96px;width:96px}.held-card:not(:disabled):active{transform:none}.held-card-art{position:absolute;left:0;top:0;display:block;width:96px;height:100%;border:1px solid #cad3bd;background:#e0e9d3;border-radius:9px;box-shadow:-3px 1px 8px #253c3929;transform-origin:left bottom;transition:transform .18s ease-out,box-shadow .18s,border-color .18s;pointer-events:none}.held-card-art *{pointer-events:none}.held-card.stone .held-card-art{background:#e6e8df}.held-card.metal .held-card-art{background:#dce9e5}.held-card.gold .held-card-art{background:#f3e6bf}.held-card:hover,.held-card:focus-visible{z-index:80;outline:none}.held-card:hover .held-card-art,.held-card:focus-visible .held-card-art{transform:translateY(-44px) scale(1.04);box-shadow:0 10px 22px #253c3940;outline:2px solid #fff7df;outline-offset:2px}.held-card:focus-visible .held-card-art{outline-color:#dba844}.held-card.chosen .held-card-art{transform:translateY(-32px);border:2px solid #3c806c;box-shadow:0 0 0 2px #f5f1da,0 7px 15px #29453d40}.held-card.chosen:hover,.held-card.chosen:focus-visible{z-index:81}.held-card.chosen:hover .held-card-art,.held-card.chosen:focus-visible .held-card-art{transform:translateY(-50px) scale(1.04)}.card-spine{position:absolute;left:5px;top:25px;width:15px;display:grid;place-items:center;gap:8px;z-index:1}.card-spine .icon{width:15px;height:19px}.card-spine small{writing-mode:vertical-rl;font-size:8px;letter-spacing:.4px}.card-face{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;border-radius:inherit;padding:20px 8px 12px 21px}.card-face>b{position:absolute;left:7px;top:7px;font-size:11px}.card-face>.icon{width:37px;height:37px}.card-face>small{font-size:11px;font-weight:650}.selected-check{display:none;position:absolute;right:5px;top:5px;width:18px;height:18px;border-radius:50%;background:#3c806c;color:#fff;place-items:center}.selected-check>.icon{width:13px;height:13px}.chosen .selected-check{display:grid}.empty-hand{font-size:12px;color:#f4eed9;padding:25px;text-shadow:0 1px 4px #385c50}.hand-receipt{position:absolute;right:10px;top:36px;display:flex;gap:8px;pointer-events:none}.hand-receipt span{display:flex;align-items:center;gap:3px;border:1px solid currentColor;background:#fff9e4;padding:4px 7px;border-radius:7px;font-size:12px;font-weight:700;animation:card-receipt .35s ease-out}.hand-receipt .icon{width:15px;height:15px}.held-card.just-collected .held-card-art{animation:card-arrive .5s ease-out}.tone-rose{--card-paper:#eed9d0;--card-ink:#99635b}.tone-gold{--card-paper:#f3e4b9;--card-ink:#a07931}.tone-green{--card-paper:#dce7cc;--card-ink:#527249}.tone-teal{--card-paper:#d5e7df;--card-ink:#477c73}.tone-lilac{--card-paper:#e8deef;--card-ink:#8764a2}.action-held .held-card-art{background:var(--card-paper);color:var(--card-ink);border-color:color-mix(in srgb,var(--card-ink) 30%,transparent)}.action-face{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;width:100%;height:100%;color:var(--card-ink);padding:23px}.action-kind{font-size:9px;letter-spacing:2px;font-weight:700}.action-symbol .icon{width:52px;height:52px;stroke-width:1.25}.action-face>strong{font:750 24px Manrope,sans-serif;line-height:1.12;letter-spacing:-.8px}.action-face>small{font-size:12px;line-height:1.55}.held-card .action-face{padding:12px 7px 8px 23px;gap:9px}.held-card .action-kind{font-size:6px;letter-spacing:.8px}.held-card .action-symbol .icon{width:28px;height:28px}.held-card .action-face>strong{font-size:12px;letter-spacing:-.3px}.held-card .action-face>small{display:none}.action-preview{width:210px;height:280px;border:1px solid #cabfd0;border-radius:15px;background:var(--card-paper);box-shadow:0 10px 24px #3451481c;margin:0 auto 24px}.greedy-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.greedy-choice{display:flex;flex-direction:column;gap:12px;padding:12px;background:#eee9d9;border-radius:11px;font-size:12px}.greedy-choice .recipe-card{width:58px;height:80px}.greedy-choice .recipe-card .icon{width:29px;height:29px}.selection-hint{font-size:11px;color:#71816e;margin:12px 0 0}.build-button.build-ready{border-color:#51836b;background:#d9e8ce;box-shadow:0 0 0 1px #6d967d44}.build-ready .build-name{color:#294f3d}.tank-meters{display:flex;gap:20px;padding:12px 18px;border-block:1px solid var(--line);background:#f1efdf}.tank-meters>div{display:flex;align-items:center;gap:6px;flex:1;font-size:11px}.tank-meters .icon{width:18px;height:18px}.tank-meters b{margin-left:auto;font-size:16px}.tank-meters em{font-size:10px;animation:card-receipt .4s ease-out}.game-panel{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 166px)}.panel-body{overflow:auto;min-height:0}.panel-heading,.roll-readout,.collapsed-gains{flex-shrink:0}.turn-finish{flex-shrink:0;padding:11px 13px;background:#f6f1e3;border-top:1px solid #ccd6bf}.finish-button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 16px;border-radius:10px;background:#345d4e;color:#fff9e8;font-size:14px;font-weight:750;box-shadow:0 4px #234638,0 6px 14px #23463822;border:1px solid #557c62;transition:transform .15s,box-shadow .15s}.finish-button:hover{background:#416e59;transform:translateY(-1px)}.finish-button:active{transform:translateY(3px);box-shadow:0 1px #234638}.finish-button>span{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.finish-button small{font-size:9px;font-weight:450;color:#d4dfcb}.finish-button>.icon{width:22px;height:22px}.game-panel.collapsed{max-height:calc(100dvh - 240px)}.view-controls{left:24px;transform:none;bottom:24px}.drive-pad{bottom:218px}.walk-hint{left:26px;bottom:81px;transform:none}#social-controls{position:fixed;bottom:214px;left:calc(320px + (100vw - 320px)*.27);z-index:18;pointer-events:none}.camp-button{pointer-events:auto;padding:12px 16px;border:1px solid #f6dbab;background:#eac18e;color:#644a30;font-weight:700;font-size:12px;border-radius:12px;box-shadow:0 4px #997554}.camp-button>.icon{width:19px;height:19px}#action-stage{position:fixed;left:50%;top:85px;transform:translate(-50%);z-index:28;pointer-events:none}.played-card{position:relative;width:226px;min-height:296px;background:var(--card-paper);border:1px solid #fffa;border-radius:16px;box-shadow:0 20px 60px #23443e55;padding:14px 10px;animation:play-reveal 4.2s both}.played-by{display:block;text-align:center;font-size:11px;color:#526455}.played-card .action-face{min-height:245px;padding:18px}.played-target{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#586c5d}.played-target .icon{width:15px;height:15px}.loot-cards{display:flex;justify-content:center;margin-top:15px;gap:7px}.loot-card{position:relative;display:block;width:65px;height:87px;border:1px solid #bbc9ac;border-radius:7px;background:#e0e9d3;box-shadow:0 4px 8px #345b4322}.loot-card.stone{background:#e6e8df}.loot-card.metal{background:#dce9e5}.loot-card.gold{background:#f3e6bf}.loot-card.card-back{background:#365d56;color:#d9e3c7}.loot-card .card-face{padding:13px 4px 4px;gap:8px}.loot-card .card-face>.icon{width:27px;height:27px}.loot-card .card-face>small{font-size:8px}.point-awarded{display:block;font-weight:700;text-align:center;font-size:12px;color:#8764a2}@keyframes card-arrive{0%{filter:brightness(1.25)}to{filter:brightness(1)}}@keyframes card-receipt{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes play-reveal{0%{opacity:0;transform:translateY(55px) rotateY(70deg) rotate(-9deg) scale(.7)}12%,88%{opacity:1;transform:translateY(0) rotate(0) scale(1)}to{opacity:0;transform:translateY(-35px) scale(.85)}}@media(max-width:720px){#hand-root{right:15px;bottom:7px;max-width:calc(100vw - 30px)}.hand-toolbar{font-size:10px;gap:4px}.hand-toolbar>button{padding:6px 8px}.hand-fan{height:150px}.held-card{height:128px}.card-face{gap:13px}.game-panel{max-height:calc(100dvh - 335px)}.view-controls{left:14px;bottom:201px}.drive-pad{right:14px;bottom:247px}.touch-controls{right:14px;bottom:245px}#social-controls{bottom:255px;left:14px}.camp-button{font-size:10px;padding:10px}.tank-meters{gap:12px;padding:10px 12px}.tank-meters>div{font-size:9px;gap:4px}.tank-meters b{font-size:14px}.turn-finish{padding:9px}.finish-button{padding:11px 13px;font-size:12px}#action-stage{top:70px;left:58%}.played-card{width:190px;min-height:255px}.played-card .action-face{min-height:206px;padding:15px}.played-card .action-face>strong{font-size:22px}.played-card .action-face>small{font-size:10px}.action-symbol .icon{height:40px;width:40px}.game-panel.collapsed{max-height:calc(100dvh - 250px)}}@media(prefers-reduced-motion:reduce){.held-card-art,.played-card,.hand-receipt span{animation:none;transition:none}}.build-button:disabled{opacity:.67}.build-grid{grid-template-columns:1fr;gap:5px}.build-button{flex-direction:row;justify-content:space-between;min-height:39px;padding:8px 10px;gap:8px}.build-name{font-size:12px;gap:8px}.build-name .icon{width:18px;height:18px}.build-cost{flex-wrap:nowrap;gap:7px}.build-cost .cost{gap:3px}.build-cost .icon{width:15px;height:15px}.build-placing{outline:2px solid #638d72;outline-offset:-2px;background:#dfead8}.selection-hint{margin:0 0 10px}.build-button{align-items:center}.build-button{min-height:32px;padding:6px 10px}.build-grid{gap:4px}.panel-body{scrollbar-width:thin;scrollbar-color:#8caa93 transparent}.player-points{min-width:25px}.private-point-note{text-align:center;color:#827044;font-size:12px}#result-stage{position:fixed;top:0;right:0;bottom:0;left:0;z-index:46;pointer-events:none}#result-stage:empty{display:none}.result-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#213e3899;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);pointer-events:auto}.result-card{width:min(440px,100%);padding:24px 35px 34px;text-align:center;background:radial-gradient(ellipse at 50% 18%,#fff7d6,#f7f2e5 63%);border:1px solid #fff7d5;border-radius:26px;box-shadow:0 25px 100px #112d3766;animation:result-arrive .65s cubic-bezier(.2,.8,.2,1);position:relative}.golden-trophy{width:220px;height:220px;display:block;margin:0 auto 6px;filter:drop-shadow(0 9px 14px #c4983422)}.result-eyebrow{font-size:10px;letter-spacing:.22em;color:#8b7954;font-weight:700}.result-card h1{font:750 40px Manrope,sans-serif;letter-spacing:-1.5px;margin:8px 0;line-height:1.15;overflow-wrap:anywhere}.result-card p{margin:12px 0 24px;color:#86764c}.result-actions{display:flex;gap:9px;justify-content:center;margin-top:26px}.result-actions button{flex:1}.is-observer .result-card{background:#f3f1e7;padding-top:38px}.is-observer .result-card h1{font-size:32px}.is-observer .result-eyebrow{color:#79877b}.result-avatar{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:var(--winner);color:#fff8e6;margin:0 auto 22px}.result-avatar .icon{width:46px;height:46px}.win-confetti{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}.win-confetti i{position:absolute;left:var(--x);top:-25px;width:8px;height:15px;border-radius:2px;background:var(--confetti);opacity:0;animation:confetti-fall var(--time) var(--delay) ease-in forwards}.win-confetti i:nth-child(3n){width:7px;height:7px;border-radius:50%}.winner-celebration{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}@keyframes result-arrive{0%{opacity:0;transform:translateY(24px) scale(.94)}to{opacity:1;transform:none}}@keyframes confetti-fall{0%{opacity:0;transform:translateY(-20px) rotate(0)}10%{opacity:1}80%{opacity:1}to{opacity:0;transform:translate(var(--drift),110vh) rotate(var(--spin))}}@media(max-width:720px){.result-card{padding:20px 22px 28px}.golden-trophy{width:175px;height:175px}.result-card h1{font-size:34px}}@media(prefers-reduced-motion:reduce){.win-confetti{display:none}.result-card{animation:none}}.trade-ready-list,.trade-partner{margin-bottom:10px}.trade-ready{border-color:color-mix(in srgb,var(--player) 48%,var(--line));background:color-mix(in srgb,var(--player) 9%,#f4f2e8)}.room-settings{display:grid;grid-template-columns:2fr 1fr 1fr;gap:6px;margin:0 0 12px}.room-settings>.secondary{min-width:0;padding:10px 6px;border-color:var(--line);background:#f4f1e5;font-size:12px}.room-settings>label{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;margin:0;padding:6px 4px;border:1px solid var(--line);border-radius:10px;background:#f4f1e5;font-size:9px;font-weight:600;color:#74816e}.room-settings select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-width:0;margin:0;padding:2px 12px 2px 0;border:0;border-radius:3px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%235c7165' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") right center/8px 5px no-repeat;color:var(--ink);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.room-settings select:focus-visible{outline:2px solid #557c62;outline-offset:2px}.room-settings-summary{margin:0 0 12px;color:#74816e;font-size:12px}.game-panel.showing-action{visibility:hidden;pointer-events:none}#action-stage{position:fixed;left:24px;top:82px;transform:none;z-index:28;pointer-events:none;border-radius:19px}#action-stage:empty{display:none}#action-stage:not(:empty){pointer-events:auto;overflow:hidden;box-shadow:0 18px 60px #243e3830}#action-stage .played-card{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%;min-height:0;margin:0;padding:20px 18px;border-radius:inherit;box-shadow:none;animation:action-panel-reveal 4.2s both;overflow:auto}#action-stage .played-by{padding:0 24px;font-size:12px}#action-stage .action-face{flex:1;min-height:0;max-height:380px;padding:20px 12px;gap:16px}#action-stage .action-face>strong{font-size:30px}#action-stage .action-face>small{font-size:13px}.action-inspect-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:31;pointer-events:none}.action-inspect-shell{position:absolute;right:24px;bottom:174px;width:220px;height:292px;perspective:1100px;pointer-events:auto}.action-inspect-card{position:relative;width:100%;height:100%;transform-style:preserve-3d;animation:action-card-flip .48s cubic-bezier(.2,.78,.25,1) forwards}.action-inspect-front,.action-inspect-back{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:16px;backface-visibility:hidden;background:var(--card-paper);color:var(--card-ink);border:1px solid color-mix(in srgb,var(--card-ink) 28%,#fff);box-shadow:0 18px 55px #173a3155;overflow:hidden}.action-inspect-front .action-face{height:100%}.action-inspect-back{transform:rotateY(180deg);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:22px}.action-inspect-back>strong{font:750 24px Manrope,sans-serif;letter-spacing:-.7px}.action-inspect-back>p{margin:0;color:var(--card-ink);font-size:12px;line-height:1.55}.action-inspect-back .private-point-note{font-weight:700}.action-play-error{display:block;min-height:28px;font-size:10px;line-height:1.35;color:var(--card-ink)}@keyframes action-card-flip{0%{transform:rotateY(0) translateY(12px)}to{transform:rotateY(180deg) translateY(0)}}#action-stage .played-target{padding-bottom:6px}#action-stage .loot-cards{flex-wrap:wrap;margin-top:10px}.action-dismiss{position:absolute;right:9px;top:9px;z-index:1;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #6b766d26;border-radius:50%;background:#fff7;color:#52695e;font-size:21px;cursor:pointer}.action-dismiss:hover{background:#fff}@keyframes action-panel-reveal{0%{opacity:0;transform:translateY(8px)}8%,93%{opacity:1;transform:none}to{opacity:0;transform:translateY(-6px)}}@media(max-width:720px){#action-stage{border-radius:14px}#action-stage .played-card{padding:17px 12px}#action-stage .action-face{gap:12px;padding:15px 7px}#action-stage .action-face>strong{font-size:26px}#action-stage .action-face>small{font-size:12px}}@media(max-width:720px){.action-inspect-shell{right:14px;bottom:190px;width:176px;height:234px}.action-inspect-back{gap:8px;padding:15px}.action-inspect-back>strong{font-size:19px}.action-inspect-back>p{font-size:10px}.action-inspect-back .primary{min-height:40px;padding:8px 12px}.action-inspect-back .text-button{padding:5px}}@media(prefers-reduced-motion:reduce){#action-stage .played-card{animation:none}}#hand-gains{position:fixed;right:34px;top:auto;bottom:160px;z-index:24;pointer-events:none}.held-card.just-collected .held-card-art{animation-delay:var(--arrival-delay,0ms)}@media(max-width:720px){#hand-gains{right:20px;bottom:160px}}.result-actions{flex-wrap:wrap}.result-actions button{min-height:44px}.result-actions .primary{flex:1 1 150px}.result-actions .secondary{flex:1 1 100px}.rematch-note{font-size:12px;color:#788178;margin:12px 0 0}@media(max-width:720px){.result-card{max-height:calc(100dvh - 32px);overflow:auto}.result-actions{display:grid;grid-template-columns:1fr 1fr}.result-actions .primary{grid-column:1/-1;grid-row:1}.golden-trophy{max-height:160px}.result-card h1{font-size:32px}}@media(max-height:500px){.result-backdrop{padding:12px}.result-card,.is-observer .result-card{width:min(560px,100%);max-height:calc(100dvh - 24px);overflow:auto;padding:14px 22px}.golden-trophy{width:96px;height:96px}.result-card h1,.is-observer .result-card h1{font-size:28px;margin:5px 0}.result-card p{margin:8px 0}.result-actions{display:flex;flex-wrap:nowrap;margin-top:16px}.result-actions button{flex:1}.result-avatar{width:48px;height:48px;margin:0 auto 10px}.result-avatar .icon{width:30px;height:30px}}:root{--accent:#ce602d;--accent-ink:#fffaf0;--accent-dark:color-mix(in srgb,var(--accent) 75%,#102128);--accent-soft:color-mix(in srgb,var(--accent) 14%,#f6f2e6)}.swatch,.portrait{color:var(--player-ink,#fff8e8)}.primary,.finish-button,.board-confirm .confirm-placement,.selected-check{background:var(--accent);color:var(--accent-ink);border-color:var(--accent-dark)}.primary,.finish-button{box-shadow:0 3px 0 var(--accent-dark)}.primary:hover:not(:disabled),.finish-button:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 90%,white)}.finish-button small{color:inherit;opacity:.85}.tabs .active,.view-controls .selected,.hand-toolbar .active{background:var(--accent-soft);color:var(--accent-dark)}.build-button.build-ready,.build-placing{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 35%,transparent);outline-color:var(--accent)}.build-ready .build-name{color:var(--accent-dark)}.held-card.chosen .held-card-art{border-color:var(--accent)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:var(--accent)}.trade-card-row{display:flex;align-items:center;gap:5px}.trade-material-card{width:35px;height:48px;flex:0 0 auto;pointer-events:none}.material-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:8px 0 11px}.material-pick{display:grid;place-items:center;min-width:0;padding:0;border:0;background:transparent;color:var(--ink)}.material-pick:hover{background:transparent}.material-pick .trade-material-card{width:40px;height:54px;transition:transform .14s,box-shadow .14s,border-color .14s}.material-pick:hover .trade-material-card{transform:translateY(-2px);border-color:#9aae92}.material-pick.selected .trade-material-card{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 0 0 2px var(--accent),0 5px 12px color-mix(in srgb,var(--accent) 20%,transparent)}.material-pick b{font-size:9px}.bank-exchange{border-top:1px solid var(--line);padding-top:13px;margin-top:14px}.bank-exchange>strong{font-size:13px}.exchange-side>span,.exchange-direction span{font-size:10px;color:var(--muted)}.exchange-side{margin-top:9px}.exchange-direction{display:flex;align-items:center;justify-content:center;gap:7px;margin:-3px 0}.exchange-direction .icon{width:16px}.bank-exchange>small{display:block;margin-top:7px;font-size:10px;color:var(--muted)}.trade-card-form{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin-bottom:20px}.trade-card-side{min-width:0}.trade-card-side>strong{display:block;font-size:12px;margin-bottom:4px}.trade-card-side label{display:grid;gap:5px;font-size:10px;color:var(--muted)}.trade-card-side input{width:100%;font-size:13px}.trade-form-arrow{display:grid;place-items:center}.trade-form-arrow .icon{width:20px}.trade-offer-cards{align-items:flex-end}.trade-offer-cards span{align-items:center}.trade-offer-cards .trade-material-card{width:54px;height:72px}.trade-offer-cards b{font-size:13px}.swap-card-form{margin-bottom:22px}.swap-card-form .material-pick .trade-material-card{width:100%;height:auto;aspect-ratio:48/65}.vehicle-empty{display:flex;align-items:center;gap:9px;color:var(--ink);font-size:12px}.vehicle-empty .icon{width:23px;height:23px;color:var(--accent-dark)}.always-trade{margin-top:14px}.finish-button:active{box-shadow:0 1px 0 var(--accent-dark)}.hand-toolbar button.active{background:var(--accent);color:var(--accent-ink)}.connection-notice{font-size:13px;line-height:1.45;margin:12px 0;color:var(--ink,#34544a);overflow-wrap:anywhere}.music-control{position:relative;z-index:36}.music-popover{position:absolute;right:0;top:calc(100% + 9px);z-index:37;width:192px;padding:10px;display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:7px;color:var(--ink);pointer-events:auto}.music-popover .music-mute{width:34px;height:34px;padding:7px;border-radius:9px;background:#e4e7da}.music-popover .music-mute .icon{width:18px;height:18px}.music-popover input{width:100%;min-width:0;padding:0;accent-color:var(--accent);cursor:pointer}.music-popover output{font-size:9px;text-align:right;color:#768378;font-variant-numeric:tabular-nums}.entry-actions{display:grid;gap:10px}.entry-actions>.wide+.wide{margin-top:0}.entry-actions .join-row{margin:0}.entry-actions .join-row .primary{padding-inline:16px}.room-settings{grid-template-columns:repeat(3,minmax(0,1fr))}.room-settings .room-randomize{grid-column:1/-1;width:100%;font-weight:750;background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 40%,var(--line));color:var(--accent-dark)}.room-settings .room-randomize .icon{width:18px;height:18px}.team-badge{display:inline-flex!important;align-items:center;margin-left:5px!important;padding:2px 5px;border-radius:8px;background:color-mix(in srgb,var(--player) 18%,#f6f2e6);color:color-mix(in srgb,var(--player) 76%,#19342b)!important;font-size:7px!important;font-weight:750;letter-spacing:.02em}.modal-backdrop.trade-floating{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;padding:0;display:block}.trade-floating .modal{pointer-events:auto;position:fixed;left:calc(50% - 150px);top:90px;width:380px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 210px);padding:20px;box-shadow:0 10px 35px #18382b40;overflow:auto}.trade-floating h2{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;padding-right:36px;font-size:20px;margin:0 0 12px}.trade-floating h2:active{cursor:grabbing}.trade-floating .modal-close{position:absolute;right:12px;top:12px}.trade-countdown{font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}.trade-countdown:not(:empty){margin:4px 0 12px}@media(max-width:760px){.trade-floating .modal{left:8px;top:85px;width:320px;max-height:calc(100dvh - 245px);padding:15px}.trade-floating .trade-card-form{gap:8px}}@media(max-height:500px){.trade-floating .modal{left:240px;top:8px;width:310px;max-height:calc(100dvh - 125px)}}#pebble-controls{position:fixed;left:50%;bottom:110px;transform:translate(-50%);z-index:18;pointer-events:none}#pebble-controls button{pointer-events:auto;background:var(--cream);box-shadow:0 3px 14px #18382b30}@media(max-width:760px){#pebble-controls{bottom:calc(205px + env(safe-area-inset-bottom));left:50%}#pebble-controls button{font-size:11px;padding:8px}}@media(max-height:500px){#pebble-controls{left:50%;bottom:105px}}.travel-marker{width:26px;min-width:26px;height:26px;padding:3px;margin:-13px 0 0 -13px;border-radius:50%;background:#24443cbd;box-shadow:none;justify-content:center}.travel-marker i{height:15px;width:15px;background:none;display:flex;color:var(--player)}.travel-marker i .icon{height:15px;width:15px}.travel-marker>span{display:none}.travel-marker:hover>span,.travel-marker:focus-visible>span{display:block;position:absolute;bottom:31px;left:50%;transform:translate(-50%);padding:5px 8px;border-radius:6px;background:#24443cf2;color:#fff8e6;white-space:nowrap;font-size:10px}.travel-marker.chosen{outline-width:2px;outline-offset:2px}.travel-marker small{display:none}.mountain-controls{display:grid;gap:8px;margin:4px 0 16px;padding-bottom:14px;border-bottom:1px solid var(--line)}.mountain-controls strong{font-size:13px}.mountain-controls small{font-size:10px;color:#758371}.mountain-controls .text-button{padding:4px}#mountain-interaction{position:fixed;z-index:15;left:50%;top:65%;transform:translate(-50%,-50%);background:#f6f2e6ed;border:1px solid #d2d8c7;border-radius:9px;padding:10px 16px;font-weight:700;box-shadow:0 3px 14px #18392c22}#mountain-interaction[hidden]{display:none}@media(max-width:700px){#mountain-interaction{top:54%;max-width:75vw;font-size:12px}}.race-guide{background:#e9eee1;border:1px solid var(--line);border-radius:14px;padding:12px 18px;margin-bottom:14px}.race-guide>svg{display:block;width:100%;max-height:130px}.race-guide p{text-align:center;font-size:12px;line-height:1.5;margin:6px 0 0}.guide-keys{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:0 0 22px}.guide-keys>div{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;color:#667969}.guide-keys kbd{font-family:inherit;font-weight:700;font-size:12px;border:1px solid #d3d9c9;border-bottom-width:3px;border-radius:6px;padding:6px 9px;background:#fffdf4;color:#35564a;white-space:nowrap}@media(max-width:600px){.guide-keys{grid-template-columns:repeat(3,1fr);row-gap:12px}.race-guide{padding:8px}.race-guide p{font-size:11px}}#movement-root{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:18}#movement-root .touch-controls{pointer-events:auto}.mobile-game-pad,.mobile-quick{display:none}@media(max-width:720px),(max-width:960px)and (max-height:500px){:root{--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px);--phone-hand:102px}body:has(.material-stack.chosen),body:has(.mobile-actions){--phone-hand:146px}body{overscroll-behavior:none;-webkit-text-size-adjust:100%}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}input,select,.field input,.join-row input,.trade-form input,.trade-form select{font-size:16px}header{top:calc(8px + var(--safe-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right))}.brand{font-size:16px;gap:7px}.brand .icon{width:26px}.icon-button,.icon-button.small{width:44px;height:44px}.header-actions{gap:3px}.entry{left:12px;right:12px;top:50%;width:auto;max-width:370px;margin:auto;padding:24px;max-height:calc(100dvh - 90px - var(--safe-top));overflow:auto}.entry h1{font-size:30px;margin-bottom:18px}.swatch{width:40px;height:40px}.colours{gap:5px;padding:16px 2px}.entry .primary,.entry .secondary{min-height:48px}.entry .text-button{min-height:44px}.game-panel,.game-panel.piloting,.game-panel.collapsed{left:max(12px,env(safe-area-inset-left));top:calc(60px + var(--safe-top));width:calc(100% - 24px);max-width:390px;max-height:calc(100dvh - var(--phone-hand) - 116px - var(--safe-top) - var(--safe-bottom));border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.game-panel.phase-lobby{max-height:calc(100dvh - 130px - var(--safe-top) - var(--safe-bottom))}.phase-lobby .controls>.instruction{display:none}.compact-game:has(.game-panel:not(.collapsed)) #movement-root,.compact-game:has(.game-panel:not(.collapsed)) #social-controls{visibility:hidden}.panel-heading,.game-panel.collapsed .panel-heading{padding:0 5px 0 13px;min-height:44px;font-size:12px;letter-spacing:0;text-transform:none;color:#35584d;gap:8px;font-weight:700}.panel-heading>span{min-width:0;line-height:1.25}.panel-heading .icon{width:18px;height:18px}.panel-body{min-height:0;overflow:hidden;display:flex;flex-direction:column;overscroll-behavior:none}.panel-body>.controls{min-height:0;overflow:hidden;flex:1 1 auto}.panel-heading,.roll-readout,.tank-meters,.mobile-quick,.turn-finish,.panel-footer{flex-shrink:0}.roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;overflow:hidden;padding:5px 9px 8px}.player{min-width:0;display:grid;grid-template-columns:25px 1fr;gap:4px;padding:5px 4px;min-height:52px}.portrait{width:24px;height:24px}.portrait .icon{width:16px;height:16px}.player-name{font-size:10px}.player-name small{display:none}.player-stats{grid-column:1/-1;font-size:10px;justify-content:center;gap:7px}.player-stats .icon{width:11px;height:11px}.player.current:before{top:0;left:5px;width:calc(100% - 10px);height:3px}.player-points{min-width:0}.empty-players,.roster>.text-button{grid-column:1/-1;min-width:70px;align-self:center;font-size:10px;padding:0 4px}.roll-readout,.game-panel.collapsed .roll-readout{margin:0 9px 6px;padding:5px 9px;min-height:38px;border-radius:10px}.roll-who{font-size:11px}.roll-who small{display:none}.roll-who i{height:21px}.roll-die{width:24px;height:25px;font-size:15px}.roll-values strong{font-size:24px}.tank-meters{padding:6px 12px;gap:24px;min-height:32px;flex-shrink:0}.tank-meters>div{font-size:10px}.tank-meters .icon{width:16px;height:16px}.tank-meters b{font-size:13px}.collapsed-gains,.game-panel.collapsed .collapsed-gains{display:none}.mobile-quick{display:block;padding:7px 10px;flex-shrink:0}.mobile-quick .primary,.mobile-quick .secondary{min-height:44px;font-size:12px;padding:9px}.mobile-quick .tabs{margin:0;padding:0;border:0}.mobile-quick .text-button{padding:5px;min-height:32px}.exploring.collapsed .mobile-quick .tabs{display:none}.exploring.collapsed .mobile-quick:has(.tabs):not(:has(.text-button)){display:none}.tabs{margin:0 0 10px;gap:4px}.tabs button{min-height:44px;padding:5px 1px;gap:4px}.tabs span{font-size:10px}.tabs .icon{width:17px;height:17px}.controls{padding:12px}.instruction h2{font-size:18px}.instruction p{font-size:12px;margin-bottom:10px}.selection-hint{font-size:11px;margin:0 0 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.build-grid{gap:4px}.build-button{min-height:40px;padding:6px 8px;gap:4px}.build-name{font-size:11px}.build-cost{font-size:9px;gap:6px}.panel-footer{padding:3px 8px}.panel-footer .icon-button{width:34px;height:34px}.panel-footer .icon{width:17px;height:17px}.panel-footer span{font-size:9px;max-width:100px}.turn-finish{padding:7px 10px 10px}.finish-button{min-height:44px;padding:10px 13px;font-size:13px}.finish-button small{font-size:9px}.room-settings>label{padding:4px 6px;font-size:10px}.room-settings select{font-size:16px;min-height:32px}.room-settings>.secondary{font-size:12px}.room-code{font-size:19px;min-height:48px}.opponent,.route,.vehicle-choice,.drive-destination .text-button{min-height:44px}.drive-help{display:none}.drive-title h2{font-size:20px}.drive-goal{margin:7px 0}.drive-destinations{margin-top:8px}.drive-destination{min-height:44px}.dock-deal{padding:12px;min-height:66px}.dock-trade strong{gap:10px}.dock-trade small{max-width:95px;text-align:right}.dock-trade select{font-size:16px}#hand-root{left:12px;right:12px;bottom:calc(4px + var(--safe-bottom));max-width:none;z-index:16}.mobile-hand{width:100%;max-width:390px;margin-left:auto}.hand-toolbar{height:42px;gap:5px;padding:0 0 5px;font-size:11px}.hand-toolbar>button{min-height:36px;padding:6px 10px}.hand-toolbar .clear-cards{margin-right:auto;order:-1}.material-stacks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;pointer-events:none}.material-stack{position:relative;min-width:0;isolation:isolate;display:flex;flex-direction:column-reverse}.stack-add{width:100%;height:52px;display:block;position:relative;padding:0;border-radius:11px 11px 0 0;pointer-events:auto;transition:none;transform:none!important;z-index:1}.stack-add:disabled{opacity:1;cursor:default}.stack-art{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-template-columns:1fr 1fr;align-content:center;justify-items:center;align-items:center;padding:5px 9px;border:1px solid #bdcba8;border-bottom:0;background:#e0e9d3;border-radius:11px 11px 0 0;pointer-events:none;box-shadow:0 -3px 10px #28483a18;transition:transform .16s}.stack-art *{pointer-events:none}.stack-art .icon{width:22px;height:22px}.stack-art b{font-size:20px;line-height:22px}.stack-art small{grid-column:1/-1;font-size:10px;margin-top:1px}.stone .stack-art{background:#e6e8df;border-color:#c8d0c3}.metal .stack-art{background:#dce9e5;border-color:#b6cec7}.gold .stack-art{background:#f3e6bf;border-color:#dace9f}.material-stack.chosen .stack-art{transform:translateY(-5px);box-shadow:0 -2px #3c806c;border-color:#3c806c}.stack-selection{height:44px;display:none;align-items:center;background:#f6f2e9f5;border:1px solid #d2d8c8;border-radius:9px 9px 0 0;overflow:hidden}.material-stacks:has(.chosen) .stack-selection{display:flex}.stack-selection button{pointer-events:auto;width:44px;height:44px;flex-shrink:0;font-size:23px;border-right:1px solid #dadfd3;border-radius:0}.stack-selection span{display:flex;align-items:center;justify-content:center;gap:2px;flex:1;font-size:12px;color:#3b6b58;font-weight:700}.stack-selection .icon{width:13px;height:13px}.mobile-actions{display:flex;gap:7px;height:96px;overflow-x:auto;overscroll-behavior:contain;scroll-snap-type:x mandatory;padding:2px 0;scrollbar-width:thin;pointer-events:auto}.mobile-action{position:relative;flex:0 0 106px;height:88px;scroll-snap-align:start;border:0;padding:0;background:none;touch-action:pan-x}.mobile-action>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;height:100%;background:var(--card-paper);color:var(--card-ink);border:1px solid #fff9;border-radius:11px;pointer-events:none;box-shadow:0 2px #26493633}.mobile-action *{pointer-events:none}.mobile-action strong{font-size:11px;line-height:1.15}.mobile-action .icon{width:25px;height:25px}.mobile-action small{font-size:9px}.mobile-actions .empty-hand{padding:26px 0;width:100%;text-align:right}#hand-gains{bottom:calc(var(--phone-hand) + 60px + var(--safe-bottom));right:15px;top:auto;z-index:25;flex-wrap:wrap;max-width:calc(100vw - 24px);justify-content:flex-end}.view-controls{left:12px;bottom:calc(var(--phone-hand) + 9px + var(--safe-bottom));transform:none;gap:1px;padding:3px;border-radius:12px}.view-controls button{min-height:40px;font-size:10px;padding:7px 9px;gap:5px}.view-controls button.square{width:36px;padding:7px}.view-controls .icon{width:16px;height:16px}.walk-hint,.touch-controls,.drive-pad{display:none}.mobile-game-pad{display:block;position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;--pad-bottom:calc(var(--phone-hand) + 54px + var(--safe-bottom));--stick-size:86px}.thumb-stick{position:absolute;bottom:var(--pad-bottom);width:var(--stick-size);height:var(--stick-size);border-radius:50%;background:#f5f1e5a8;border:1px solid #fffbd8c9;box-shadow:inset 0 0 0 7px #2e5b4a13,0 7px 25px #163b3030;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none}.move-stick{left:max(15px,env(safe-area-inset-left))}.look-stick{right:max(15px,env(safe-area-inset-right))}.stick-knob{position:absolute;left:50%;top:50%;width:38px;height:38px;border-radius:50%;transform:translate(calc(-50% + var(--stick-x,0px)),calc(-50% + var(--stick-y,0px)));background:color-mix(in srgb,var(--accent) 82%,#fff);border:2px solid #fff8;box-shadow:0 4px 12px #17382e4a;pointer-events:none;transition:transform 55ms linear}.thumb-stick:active .stick-knob{transition:none}.stick-label{position:absolute;left:0;right:0;bottom:7px;color:#294a40b5;font-size:8px;font-weight:750;letter-spacing:.04em;text-align:center;pointer-events:none}.pad-action{position:absolute;right:max(114px,calc(env(safe-area-inset-right) + 114px));bottom:calc(var(--pad-bottom) + 7px);width:62px;height:50px;border-radius:15px;background:#f7f2e5e5;border:1px solid #fffbd8;color:#35584d;font-size:11px;font-weight:750;box-shadow:0 5px 20px #17382e2d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto;touch-action:none}.altitude-controls{position:absolute;right:max(111px,calc(env(safe-area-inset-right) + 111px));bottom:calc(var(--pad-bottom) + 62px);display:flex;gap:5px;pointer-events:auto}.altitude-controls button{width:48px;min-height:35px;padding:4px;border-radius:10px;background:#f7f2e5dd;border:1px solid #fff9;font-size:9px;touch-action:none}#social-controls{bottom:calc(var(--phone-hand) + 120px + var(--safe-bottom));left:auto;right:12px}.camp-button{min-height:44px;font-size:11px;padding:10px}.world-target,.world-target.edge{width:40px;height:40px;margin:-20px 0 0 -20px;pointer-events:none}.hand-target{width:36px;height:54px;margin:-27px 0 0 -18px}.board-confirm button{min-height:44px;font-size:12px;padding:10px 12px}#toast{bottom:calc(var(--phone-hand) + 62px + var(--safe-bottom));max-width:calc(100vw - 32px);font-size:12px}.modal-backdrop{padding:calc(12px + var(--safe-top)) 12px calc(12px + var(--safe-bottom))}.modal,.modal.help{width:100%;max-height:calc(100dvh - 32px - var(--safe-top) - var(--safe-bottom));padding:23px 16px;overscroll-behavior:contain}.modal-close{position:sticky;float:right;width:44px;height:44px;top:0;right:0;margin:-18px -11px 0 0;background:#f8f4e8ee;z-index:2}.modal h2{font-size:23px}.modal .primary,.modal .secondary,.modal summary{min-height:44px}.modal summary{display:flex;align-items:center}.modal .trade-form{gap:9px}.modal .trade-form input,.modal .trade-form select{min-height:44px;padding:9px}.action-preview{width:180px;height:232px;margin-bottom:16px}.build-reference{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-piece{display:block;text-align:center;min-height:116px}.build-picture{width:75px;height:66px}.reference-piece h3{margin:0 0 3px}.recipe-card{width:34px;height:53px}.recipe{gap:3px}.recipe-plus{font-size:8px}.reference-action{flex-wrap:wrap}#action-stage .played-card{padding:12px}.action-dismiss{width:44px;height:44px;top:3px;right:3px}#action-stage .played-by{font-size:11px;padding:0 38px}#action-stage .action-face{padding:8px;gap:8px}#action-stage .action-face>strong{font-size:24px}#action-stage .action-face>small{font-size:12px}.played-card .action-symbol .icon{width:34px;height:34px}}@media(max-width:370px){.stack-art{padding-inline:5px}.stack-selection button{width:40px}.hand-toolbar{font-size:10px}.hand-toolbar>button{padding:6px 8px}.view-controls button{padding-inline:7px}.view-controls button.square{width:32px}}@media(max-width:960px)and (max-height:500px){:root{--phone-hand:76px}body:has(.material-stack.chosen),body:has(.mobile-actions){--phone-hand:112px}header{left:max(9px,env(safe-area-inset-left));top:4px;right:max(9px,env(safe-area-inset-right))}.brand{font-size:12px;gap:5px}.brand .icon{width:21px;height:21px}.header-actions .icon-button{width:36px;height:36px}.game-panel,.game-panel.piloting,.game-panel.collapsed{left:max(8px,env(safe-area-inset-left));width:214px;top:43px;max-height:calc(100dvh - 52px);border-radius:13px;overflow:hidden}.game-panel.phase-lobby{max-height:calc(100dvh - 65px)}.game-panel .panel-heading{min-height:29px;padding-inline:8px 2px;font-size:9px}.game-panel .panel-heading .icon-button{width:29px;height:29px}.game-panel .roll-readout{min-height:28px;margin:0 5px 2px;padding:3px 6px}.game-panel .roll-who{font-size:8px}.game-panel .roll-who i{height:18px}.game-panel .roll-die{width:20px;height:21px;font-size:13px}.game-panel .roll-values strong{font-size:18px}.mobile-quick{padding:2px 6px}.game-panel .tank-meters{padding:3px 8px;min-height:23px}.game-panel .tank-meters>div{font-size:8px}.game-panel:not(.phase-lobby) .roster{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding:2px 5px 3px}.game-panel:not(.phase-lobby) .player{display:flex;min-height:27px;padding:2px;justify-content:center}.game-panel:not(.phase-lobby) .player-name,.game-panel:not(.phase-lobby) .player-stats,.game-panel:not(.phase-lobby) .offline{display:none}.game-panel:not(.phase-lobby) .portrait{width:21px;height:21px}.game-panel:not(.phase-lobby) .portrait .icon{width:14px;height:14px}.game-panel .tabs{margin-bottom:5px;padding-bottom:3px}.game-panel .tabs button{min-height:29px;padding:2px 1px;gap:1px}.game-panel .tabs .icon{width:14px;height:14px}.game-panel .tabs span{font-size:7px}.game-panel .controls{padding:5px 7px}.game-panel .instruction h2{font-size:13px;margin-bottom:3px}.game-panel .instruction p{font-size:8px;margin-bottom:4px}.game-panel .selection-hint{font-size:8px;margin-bottom:3px}.game-panel .build-grid{gap:2px}.game-panel .build-button{padding:3px 5px;min-height:27px;gap:1px}.game-panel .build-name{font-size:8px;gap:4px}.game-panel .build-name .icon{width:13px;height:13px}.game-panel .build-cost{font-size:7px;gap:3px}.game-panel .cost{gap:1px}.game-panel .cost .icon{width:9px;height:9px}.game-panel .panel-footer{padding:1px 6px}.game-panel .panel-footer .icon-button{width:26px;height:26px}.game-panel .panel-footer .icon{width:14px;height:14px}.game-panel .panel-footer span{display:none}.game-panel .turn-finish{padding:3px 6px 5px}.game-panel .finish-button{min-height:34px;padding:6px 9px;font-size:10px}#hand-root{left:auto;right:max(8px,env(safe-area-inset-right));bottom:8px;width:min(344px,calc(100vw - 236px))}.mobile-hand{max-width:344px}.stack-add{height:43px}.stack-art{padding:3px 7px}.stack-art .icon{width:18px;height:18px}.stack-art b{font-size:16px}.stack-art small{font-size:8px}.hand-toolbar{height:31px;padding-bottom:3px}.hand-toolbar>button{min-height:28px;padding:4px 8px}.stack-selection{height:35px}.stack-selection button{width:35px;height:35px}.mobile-actions{height:75px}.mobile-action{height:68px;flex-basis:86px}.mobile-action .icon{width:20px;height:20px}.game-panel .selection-hint{display:none}.game-panel .build-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}.game-panel .build-button{padding:2px 4px;min-height:25px;gap:1px}.game-panel .build-name{font-size:7px;gap:2px;min-width:0}.game-panel .build-name .icon{width:11px;height:11px}.game-panel .build-cost{font-size:6px;gap:1px}.game-panel .cost{gap:0}.game-panel .cost .icon{width:8px;height:8px}.game-panel .panel-footer{padding:0 6px;min-height:24px}.game-panel .panel-footer .icon-button{width:24px;height:24px}.game-panel .panel-footer .icon{width:13px;height:13px}.game-panel .turn-finish{padding:2px 6px 4px}.game-panel .finish-button{min-height:31px;padding:5px 8px;font-size:9px}.view-controls{bottom:8px;left:max(228px,calc(env(safe-area-inset-left) + 228px));padding:2px}.view-controls button{min-height:35px;font-size:9px;padding:5px 8px}.mobile-game-pad{--pad-bottom:calc(var(--phone-hand) + 12px);--stick-size:76px}.move-stick{left:max(228px,calc(env(safe-area-inset-left) + 228px))}.look-stick{right:max(10px,env(safe-area-inset-right))}.stick-knob{width:34px;height:34px}.pad-action{right:max(94px,calc(env(safe-area-inset-right) + 94px));bottom:calc(var(--pad-bottom) + 5px);width:55px;height:45px}.altitude-controls{right:max(89px,calc(env(safe-area-inset-right) + 89px));bottom:calc(var(--pad-bottom) + 54px)}.altitude-controls button{width:42px;min-height:31px}#social-controls{bottom:calc(var(--phone-hand) + 94px);right:9px}.entry{top:8px;bottom:8px;transform:none;left:12px;right:auto;width:320px;max-height:calc(100dvh - 16px);padding:18px}.entry h1{display:none}.entry .colours{padding:10px 0}.modal-backdrop{padding:7px}.modal,.modal.help{width:min(760px,calc(100vw - 14px));max-height:calc(100dvh - 14px);padding:12px 15px;border-radius:13px}.modal-close{width:38px;height:38px;margin:-8px -7px 0 0}.modal h2,.modal.help h2{font-size:19px;margin:0 0 8px}.guide-heading{margin-bottom:7px}.build-reference{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.reference-build{padding:4px 6px 6px;border-radius:9px}.reference-piece{display:flex;text-align:left;min-height:48px}.build-picture{width:48px;height:44px}.reference-piece h3{font-size:11px;margin:0 0 1px}.modal .reference-piece p{font-size:7px;line-height:1.25}.recipe{gap:2px}.recipe-card{width:26px;height:34px;gap:1px}.recipe-card>b{font-size:7px;top:2px;left:3px}.recipe-card>.icon{width:14px;height:14px;margin-top:4px}.recipe-card>small{font-size:5px}.reference-action{padding:5px 9px;margin-top:5px;flex-wrap:nowrap}.reference-action>span{font-size:9px}.reference-action .recipe-card{height:29px;width:44px;padding:2px 4px}.guide-resources{padding:6px 0 0;gap:12px;font-size:8px}.modal details{padding:7px 0}.modal .action-preview{width:125px;height:145px;float:left;margin:0 14px 0 0}.action-preview .action-face{padding:10px;gap:5px}.action-preview .action-symbol .icon{height:30px;width:30px}.action-preview .action-face>strong{font-size:17px}.action-inspect-shell{right:max(9px,env(safe-area-inset-right));bottom:8px;width:138px;height:184px}.action-inspect-back{gap:5px;padding:10px}.action-inspect-back>strong{font-size:15px}.action-inspect-back>p{font-size:8px}.action-inspect-back .primary{min-height:34px;padding:6px 8px}.action-inspect-back .text-button{min-height:26px;padding:2px}.compact-game:has(.game-panel:not(.collapsed)) #movement-root{visibility:visible}.game-panel .vehicle-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-bottom:5px}.game-panel .vehicle-choice{min-height:32px;padding:3px 2px;flex-direction:column;gap:1px;font-size:7px}.game-panel .vehicle-choice .icon{width:13px;height:13px}.game-panel .vehicle-choice small{display:none}.game-panel:has([data-act="tab:travel"].active) .roster{display:none}.game-panel .bank-exchange{display:grid;grid-template-columns:1fr 1fr;column-gap:4px;padding-top:5px;margin-top:5px}.game-panel .bank-exchange>strong{grid-column:1/-1;font-size:9px}.game-panel .exchange-side{grid-column:1;grid-row:2/4;margin-top:3px}.game-panel .exchange-side>span,.game-panel .exchange-direction span{font-size:6px}.game-panel .exchange-direction{grid-column:2;grid-row:2;justify-content:flex-start;margin:0}.game-panel .exchange-direction .icon{width:10px}.game-panel .bank-exchange>.material-picker{grid-column:2;grid-row:3}.game-panel .material-picker{margin:2px 0 4px}.game-panel .material-pick{min-height:28px}.game-panel .material-pick .trade-material-card{width:18px;height:23px}.game-panel .material-pick>span:last-child{font-size:5px}.game-panel .material-pick b{font-size:5px}.game-panel .bank-exchange .primary{grid-column:1/-1;min-height:29px;padding:4px;font-size:8px}.game-panel .bank-exchange>small{grid-column:1/-1;margin-top:2px;font-size:6px}}@media(max-width:720px),(max-height:500px)and (pointer:coarse){.material-stack.chosen .stack-art{box-shadow:0 -2px 0 var(--accent);border-color:var(--accent)}.stack-selection span{color:var(--accent-dark)}}@media(max-width:720px),(max-width:960px)and (max-height:500px){.music-popover{width:174px;padding:8px;grid-template-columns:32px minmax(0,1fr) 30px}.music-popover .music-mute{width:32px;height:32px;padding:6px}.trade-card-form{gap:7px}.trade-card-side .material-picker{gap:3px}.trade-card-side .material-pick{padding:0}.trade-card-side .material-pick .trade-material-card{width:25px;height:35px}.game-panel .material-picker{gap:2px;margin:5px 0 7px}.game-panel .material-pick{padding:0;border:0;background:transparent}.game-panel .material-pick .trade-material-card{width:23px;height:31px}.game-panel .dock-rate{margin:5px 0}.game-panel .trade-card-row{gap:2px}.game-panel .trade-material-card{width:25px;height:34px}}@media(max-width:520px){.trade-card-form{grid-template-columns:1fr}.trade-form-arrow{transform:rotate(90deg)}.trade-card-side .material-pick .trade-material-card{width:31px;height:43px}}.game-panel.collapsed .panel-heading{padding-bottom:5px}.game-panel.collapsed .panel-body.compact-body{display:block}.game-panel.collapsed .compact-body:empty{display:none}.compact-tabs{flex-shrink:0;margin:4px 12px 8px;padding:0;border:0}.compact-tabs button{min-height:44px}.compact-quick{padding:5px 13px 9px;flex-shrink:0}.compact-quick .primary,.compact-quick .secondary{min-height:44px;font-size:12px}.compact-quick .text-button{padding:4px;min-height:30px}.compact-body>.controls{padding:4px 16px 14px;border-top:1px solid var(--line)}.compact-body .selection-hint{margin-top:10px}.game-panel.collapsed .panel-heading>span{text-transform:none;letter-spacing:0;font-size:12px}@media(max-width:720px),(max-width:960px)and (max-height:500px){.compact-tabs{margin:0 10px 6px}.compact-quick{padding:4px 10px 7px}.compact-body>.controls{padding:4px 12px 12px}.compact-game:has(.compact-options-open) #movement-root,.compact-game:has(.compact-options-open) #social-controls{visibility:hidden}}#comic-title-stage{position:fixed;z-index:27;pointer-events:none;contain:layout style;isolation:isolate}#comic-title-stage:empty,#comic-title-stage[hidden]{display:none}#comic-title-stage *{pointer-events:none}.comic-title{position:relative;display:grid;place-items:center;width:100%;height:100%;transform:rotate(-3deg);animation:comic-title-pop 1.85s both;filter:drop-shadow(0 3px 5px #183d3a25)}.comic-burst{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.comic-shadow{fill:var(--comic-accent);stroke:#25413b;stroke-width:1.5;vector-effect:non-scaling-stroke}.comic-paper{fill:#fff8e5;stroke:#25413b;stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}.comic-flair{fill:none;stroke:var(--comic-accent);stroke-width:3;stroke-linecap:round;vector-effect:non-scaling-stroke}.comic-title strong{position:relative;margin-top:-5px;padding:0 16px;color:#243e38;font-family:Manrope,Arial,sans-serif;font-size:inherit;font-weight:900;font-style:italic;letter-spacing:-.055em;line-height:1;white-space:nowrap;text-align:center;transform:rotate(-1deg)}#action-stage.compact-comic-card .played-card{justify-content:flex-start;padding:10px 12px}#action-stage.compact-comic-card .action-face{flex:0 0 auto;height:auto;gap:4px;padding:6px}#action-stage.compact-comic-card .action-kind{display:none}#action-stage.compact-comic-card .action-symbol .icon{width:24px;height:24px}#action-stage.compact-comic-card .action-face>strong{font-size:22px}#action-stage.compact-comic-card .action-face>small{font-size:11px;line-height:1.3}#action-stage.compact-comic-card .loot-card{width:48px;height:56px}#action-stage.compact-comic-card .loot-cards{margin-top:5px;flex-shrink:0}@keyframes comic-title-pop{0%{opacity:0;transform:translateY(7px) rotate(-6deg) scale(.86)}12%{opacity:1;transform:rotate(-3deg) scale(1.035)}22%,78%{opacity:1;transform:rotate(-3deg) scale(1)}to{opacity:0;transform:translateY(-9px) rotate(-3deg)}}body:has(#modal-root:not(:empty)) #comic-title-stage,body:has(#result-stage:not(:empty)) #comic-title-stage{visibility:hidden}@media(prefers-reduced-motion:reduce){.comic-title{animation:none;transform:none}.comic-title strong{transform:none}}@media(max-width:720px),(max-width:960px)and (max-height:500px){.compact-game{--hud-top: calc(6px + env(safe-area-inset-top,0px)) ;--phone-hand:94px}.compact-game:has(.material-stack.chosen),.compact-game:has(.mobile-actions){--phone-hand:138px}.compact-game header{top:var(--hud-top);left:auto;right:max(10px,env(safe-area-inset-right));z-index:21}.compact-game header .brand{display:none}.compact-game .header-actions{gap:0}.compact-game .header-actions .icon-button{width:40px;height:40px;background:transparent;border:0;box-shadow:none}.compact-game .header-actions .icon{width:20px;height:20px}.compact-game .game-panel.phone-hud{top:var(--hud-top);left:max(6px,env(safe-area-inset-left));right:max(6px,env(safe-area-inset-right));width:auto;max-width:none;max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - var(--phone-hand) - 100px);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"heading heading" "roll quick" "tabs finish" "meters meters" "options options";gap:0;border-radius:14px;background:#f5f2e6f2}.phone-hud .panel-heading{grid-area:heading;padding:0 122px 0 11px!important;min-height:40px!important;font-size:12px!important}.phone-hud .panel-heading>span{font-size:12px!important}.phone-hud .panel-heading .icon-button{width:40px!important;height:40px!important;flex-shrink:0}.phone-hud .roll-readout{grid-area:roll;margin:0 6px 4px!important;min-height:36px!important;padding:3px 7px!important;gap:5px}.phone-hud .roll-who{font-size:11px!important;overflow:hidden}.phone-hud .roll-who>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phone-hud .roll-die{width:23px!important;height:25px!important;font-size:15px!important}.phone-hud .roll-values strong{font-size:22px!important}.phone-hud .compact-quick{grid-area:quick;padding:0 6px 4px 0;align-self:center;max-width:200px}.phone-hud .compact-quick button{min-height:40px;font-size:11px;padding:6px 10px}.phone-hud .compact-quick .row{gap:4px}.phone-hud>.tabs{grid-area:tabs;margin:0;padding:0 4px 4px;gap:0;border:0}.phone-hud>.tabs button{min-height:40px;padding:5px;gap:4px;flex-direction:row}.phone-hud>.tabs span{font-size:10px}.phone-hud>.tabs .icon{width:16px;height:16px}.phone-hud .turn-finish{grid-area:finish;padding:0 6px 4px 0;background:none;border:0;align-self:end}.phone-hud .finish-button{min-height:40px;padding:7px 10px;gap:7px;font-size:11px;box-shadow:none}.phone-hud .finish-button small{display:none}.phone-hud .finish-button>.icon{width:15px}.phone-hud .tank-meters{grid-area:meters;min-height:30px;padding:5px 12px}.phone-hud .panel-body,.phone-hud.collapsed .panel-body.compact-body{grid-area:options;display:block;overflow-y:auto;overscroll-behavior:contain;min-height:0;max-height:min(36dvh,300px)}.phone-hud .panel-body:empty{display:none!important}.phone-hud .panel-body>.controls{overflow:visible;padding:8px 12px 12px}.phone-hud .controls>.tabs,.phone-hud .controls>.instruction{display:none}.phone-hud.phase-roll .panel-body .controls,.phone-hud.phase-order .panel-body .controls{display:none}.phone-hud .competitive-clock{grid-area:meters;font-size:10px}.phone-hud .build-grid{grid-template-columns:1fr;gap:4px}.phone-hud .build-button{min-height:44px;padding:7px 10px}.phone-hud .build-name{font-size:12px;gap:7px}.phone-hud .build-name .icon{width:18px;height:18px}.phone-hud .build-cost{font-size:10px;gap:6px}.phone-hud .cost .icon{width:12px;height:12px}.phone-hud .selection-hint{display:block;margin:2px 0 8px;font-size:11px}.compact-game .phase-lobby{top:calc(var(--hud-top) + 44px);max-height:calc(100dvh - var(--hud-top) - 56px - var(--safe-bottom))}.compact-game .phase-lobby .panel-body{overflow-y:auto;display:block}.compact-game .phase-lobby .controls{overflow:visible}.compact-game:has(.phase-lobby) #hand-root,.compact-game:has(.phase-lobby) .view-controls{display:none}.compact-game .view-controls{left:max(8px,env(safe-area-inset-left));bottom:calc(var(--phone-hand) + 100px + var(--safe-bottom));padding:2px}.compact-game .view-controls button{min-height:40px;padding:6px 10px}.compact-game #hand-root{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));bottom:calc(4px + var(--safe-bottom));width:auto}.compact-game .mobile-hand{max-width:430px;margin:auto}.compact-game .hand-toolbar{height:40px;justify-content:center;padding-bottom:4px}.compact-game .hand-toolbar>button{min-height:36px}.compact-game .stack-add{height:50px}.compact-game .mobile-game-pad{--pad-bottom:calc(var(--phone-hand) + 8px + var(--safe-bottom));--stick-size:78px}.compact-game .move-stick{left:max(12px,env(safe-area-inset-left))}.compact-game .look-stick{right:max(12px,env(safe-area-inset-right))}.compact-game .pad-action{right:max(100px,calc(env(safe-area-inset-right) + 100px));width:52px;height:44px;bottom:calc(var(--pad-bottom) + 8px)}.compact-game .altitude-controls{right:max(100px,calc(env(safe-area-inset-right) + 100px));bottom:calc(var(--pad-bottom) + 56px)}.compact-game .altitude-controls button{min-height:40px;width:44px}.compact-game #social-controls{left:auto;right:10px;bottom:calc(var(--phone-hand) + 98px + var(--safe-bottom))}.compact-game:has(.phone-hud:not(.collapsed)) #movement-root,.compact-game:has(.compact-options-open) #movement-root{visibility:hidden}.compact-game .action-inspect-shell{right:50%;transform:translate(50%);bottom:calc(8px + var(--safe-bottom));width:210px;max-height:calc(100dvh - 20px - var(--safe-top) - var(--safe-bottom))}.compact-game #board-confirm{z-index:22}}@media(max-width:960px)and (max-height:500px){.compact-game{--phone-hand:90px}.compact-game:has(.material-stack.chosen),.compact-game:has(.mobile-actions){--phone-hand:134px}.compact-game .game-panel.phone-hud{grid-template-columns:minmax(110px,1fr) minmax(180px,1.4fr) auto auto;grid-template-areas:"heading heading heading heading" "roll tabs quick finish" "meters meters meters meters" "options options options options";max-height:calc(100dvh - var(--hud-top) - 106px - var(--safe-bottom))}.phone-hud .panel-heading{min-height:36px!important}.phone-hud .panel-heading .icon-button{height:36px!important}.phone-hud .panel-heading>span{flex:initial}.phone-hud .panel-heading{justify-content:flex-start}.phone-hud .compact-quick{max-width:245px}.phone-hud .panel-body,.phone-hud.collapsed .panel-body.compact-body{max-height:calc(100dvh - var(--hud-top) - 192px - var(--safe-bottom))}.phone-hud .build-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phone-hud .vehicle-choice{min-height:44px;font-size:11px;flex-direction:row;padding:6px}.phone-hud .vehicle-choice .icon{width:18px;height:18px}.phone-hud .bank-exchange{display:block;font-size:11px}.phone-hud .bank-exchange>strong{font-size:12px}.phone-hud .material-pick{min-height:44px}.phone-hud .bank-exchange .primary{min-height:44px;font-size:12px}.phone-hud .bank-exchange>small{font-size:10px}.compact-game #hand-root{left:50%;right:auto;transform:translate(-50%);width:min(380px,calc(100vw - 290px - env(safe-area-inset-left) - env(safe-area-inset-right)))}.compact-game .stack-selection,.compact-game .stack-selection button{height:44px}.compact-game .stack-selection button{width:36px}.compact-game .stack-art small{font-size:9px}.compact-game .hand-toolbar{font-size:10px}.compact-game .hand-toolbar>button{padding:4px 7px}.compact-game .hand-toolbar .clear-cards{font-size:0;margin:0}.compact-game .hand-toolbar .clear-cards .icon{width:16px;height:16px}.compact-game .mobile-game-pad{--pad-bottom:calc(10px + var(--safe-bottom));--stick-size:80px}.compact-game .pad-action{right:max(16px,env(safe-area-inset-right));bottom:calc(var(--pad-bottom) + 88px)}.compact-game .altitude-controls{right:max(78px,calc(env(safe-area-inset-right) + 78px));bottom:calc(var(--pad-bottom) + 88px)}.compact-game .view-controls{left:max(8px,env(safe-area-inset-left));bottom:calc(98px + var(--safe-bottom))}.compact-game .view-controls button{padding:4px 7px;font-size:9px}.compact-game #social-controls{right:50%;transform:translate(50%);bottom:calc(var(--phone-hand) + 9px + var(--safe-bottom))}.compact-game .mobile-actions{height:90px}.compact-game .mobile-action{height:84px;flex-basis:100px}.compact-game .action-inspect-shell{width:240px;height:min(280px,calc(100dvh - 24px))}.compact-game .action-inspect-back>p{font-size:12px}.compact-game .action-inspect-back .primary,.compact-game .action-inspect-back .text-button{min-height:44px}}@media(min-width:721px)and (max-width:960px)and (max-height:500px){.compact-game .game-panel.phone-hud{padding-right:122px;grid-template-columns:minmax(105px,1fr) auto minmax(210px,1.2fr) auto auto;grid-template-areas:"heading roll tabs quick finish" "meters meters meters meters meters" "options options options options options"}.compact-game .phone-hud .panel-heading{padding:0 2px 0 10px!important;min-height:46px!important;gap:3px}.phone-hud .roll-readout{margin:4px!important}.phone-hud .roll-who{max-width:70px}.phone-hud>.tabs,.phone-hud .turn-finish,.phone-hud .compact-quick{padding-bottom:0;align-self:center}.phone-hud .panel-body{margin-right:-122px}}@media(max-width:720px),(max-width:960px)and (max-height:500px){.phone-hud .phone-roll{min-height:38px;padding:7px 11px;font-size:12px;white-space:nowrap;box-shadow:none}.phone-hud .panel-heading:has(.phone-roll){padding-left:5px!important}.compact-game #hand-root{bottom:0}.compact-game .stack-art{padding-bottom:calc(5px + env(safe-area-inset-bottom,0px))}.compact-game .stack-add{height:calc(50px + env(safe-area-inset-bottom,0px))}.compact-game .mobile-actions{padding-bottom:env(safe-area-inset-bottom,0px);height:calc(96px + env(safe-area-inset-bottom,0px));background:linear-gradient(transparent,#f5f2e622)}.compact-game .mobile-game-pad{--pad-bottom:calc(var(--phone-hand) + 58px + var(--safe-bottom))}.compact-game .view-controls{bottom:calc(var(--phone-hand) + 7px + var(--safe-bottom))}.compact-game .pad-action{right:max(24px,env(safe-area-inset-right));bottom:calc(var(--phone-hand) + 7px + var(--safe-bottom))}.compact-game .altitude-controls{right:max(100px,calc(env(safe-area-inset-right) + 100px));bottom:calc(var(--phone-hand) + 8px + var(--safe-bottom))}.compact-game #social-controls{bottom:calc(var(--phone-hand) + 145px + var(--safe-bottom))}.phone-hud .panel-body,.phone-hud.collapsed .panel-body.compact-body{overflow-y:auto;overflow-x:hidden;touch-action:pan-y;-webkit-overflow-scrolling:touch}.phone-hud .controls,.phone-hud .phone-trade{min-height:0;touch-action:pan-y}.phone-hud .phone-trade{display:grid;grid-template-columns:1fr;gap:8px}.phone-trade>.vehicle-choices{display:flex;gap:5px;margin:0}.phone-trade .vehicle-choice{flex:1;min-height:44px;justify-content:center;padding:6px;font-size:11px}.phone-trade .vehicle-choice small{display:none}.phone-trade .bank-exchange{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;border:0;margin:0;padding:0}.phone-trade .bank-exchange>strong{grid-column:1/-1;font-size:12px}.phone-trade .exchange-side{grid-column:1;grid-row:2/4;margin:0}.phone-trade .exchange-direction{grid-column:2;grid-row:2;justify-content:flex-start;margin:0}.phone-trade .bank-exchange>.material-picker{grid-column:2;grid-row:3}.phone-trade .bank-exchange>.primary,.phone-trade .bank-exchange>small{grid-column:1/-1}.phone-trade .exchange-side>span,.phone-trade .exchange-direction span{font-size:10px}.phone-trade .material-picker{gap:3px;margin:3px 0}.phone-trade .material-pick{min-height:44px}.phone-trade .material-pick>span:last-child{font-size:8px}.phone-trade .material-pick .trade-material-card{width:26px;height:32px}.phone-trade .bank-exchange>small{font-size:10px;margin-top:3px}.phone-trade>.note{margin:0;font-size:11px}.compact-game #action-stage.mobile-action-notice .played-card{padding:9px 48px 9px 12px;justify-content:flex-start;gap:4px}.compact-game #action-stage.mobile-action-notice .played-by{text-align:left;padding:0;font-size:11px}.compact-game #action-stage.mobile-action-notice .action-face{display:grid;grid-template-columns:30px 1fr;gap:3px 8px;padding:0;text-align:left;flex:0 0 auto;height:auto}.compact-game #action-stage.mobile-action-notice .action-symbol{grid-column:1;grid-row:1/3}.compact-game #action-stage.mobile-action-notice .action-symbol .icon{width:26px;height:26px}.compact-game #action-stage.mobile-action-notice .action-kind{display:none}.compact-game #action-stage.mobile-action-notice .action-face>strong{grid-column:2;font-size:18px;line-height:1.15}.compact-game #action-stage.mobile-action-notice .action-face>small{grid-column:2;font-size:12px;line-height:1.3}.compact-game #action-stage.mobile-action-notice .played-target,.compact-game #action-stage.mobile-action-notice .loot-cards{display:none}.compact-game #action-stage.mobile-action-notice .action-dismiss{width:40px;height:40px}}@media(max-width:960px)and (max-height:500px){.compact-game .mobile-game-pad{--pad-bottom:calc(52px + var(--safe-bottom))}.compact-game .view-controls,.compact-game .pad-action{bottom:calc(3px + var(--safe-bottom))}.compact-game .altitude-controls{bottom:calc(3px + var(--safe-bottom));right:max(85px,calc(env(safe-area-inset-right) + 85px))}.compact-game .altitude-controls button{width:40px;font-size:8px}.compact-game #social-controls{bottom:calc(var(--phone-hand) + 9px + var(--safe-bottom))}.compact-game .mobile-actions{height:calc(88px + env(safe-area-inset-bottom,0px));padding-top:0}.compact-game .mobile-action{height:88px}.phone-hud .panel-body,.phone-hud.collapsed .panel-body.compact-body{max-height:min(38dvh,160px)}.phone-hud .phone-trade{grid-template-columns:minmax(170px,.9fr) minmax(230px,1.3fr);align-items:start;column-gap:16px}.phone-trade>.bank-exchange{grid-column:2;grid-row:1/6}.phone-trade>.vehicle-choices{grid-column:1;flex-wrap:wrap}.phone-trade>.dock-trade,.phone-trade>.destination,.phone-trade>.note{grid-column:1}.phone-hud .phone-trade .bank-exchange>.primary{min-height:36px;margin-top:3px;padding:6px;font-size:11px}.phone-hud .phone-trade .material-pick{min-height:40px}}@media(max-width:720px),(max-width:960px)and (max-height:500px){.compact-game #action-stage.mobile-action-notice .loot-cards{display:flex;justify-content:flex-start;gap:4px;margin:0}.compact-game #action-stage.mobile-action-notice .loot-card{width:auto;height:24px;min-width:48px}.compact-game #action-stage.mobile-action-notice .loot-card .card-face{display:flex;flex-direction:row;padding:2px 5px;gap:3px}.compact-game #action-stage.mobile-action-notice .loot-card .card-face>b{position:static;font-size:11px}.compact-game #action-stage.mobile-action-notice .loot-card .icon{width:15px;height:15px}.compact-game #action-stage.mobile-action-notice .loot-card small{font-size:9px}}@media(max-width:720px),(max-width:960px)and (max-height:500px){.compact-game{--phone-hand:80px}.compact-game:has(.material-stack.chosen){--phone-hand:124px}.compact-game:has(.mobile-actions){--phone-hand:112px}.compact-game .stack-add{height:44px}.compact-game .stack-art{inset:0 0 auto;height:66px;align-content:start;padding:4px 6px}.compact-game .hand-toolbar{height:36px;padding-bottom:2px}.compact-game .hand-toolbar>button{min-height:32px}.compact-game .mobile-actions{height:76px;padding:0}.compact-game .mobile-action{height:76px}}@media(max-width:960px)and (max-height:500px){.compact-game{--phone-hand:44px}.compact-game:has(.material-stack.chosen){--phone-hand:88px}.compact-game:has(.mobile-actions){--phone-hand:64px}.compact-game #hand-root{width:min(500px,calc(100vw - 290px - env(safe-area-inset-left) - env(safe-area-inset-right)))}.compact-game .mobile-hand{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:5px;align-items:end;max-width:none}.compact-game .hand-toolbar{grid-column:2;grid-row:1;height:auto;display:flex;flex-direction:column;gap:3px;padding:0 0 3px;align-items:stretch}.compact-game .hand-toolbar>button{min-height:32px;padding:4px 5px;font-size:9px;justify-content:space-between}.compact-game .hand-toolbar .clear-cards{font-size:10px;order:1}.compact-game .material-stacks,.compact-game .mobile-actions{grid-column:1;grid-row:1;min-width:0}.compact-game .mobile-actions{height:64px}.compact-game .mobile-action{height:64px;flex-basis:90px}.compact-game .mobile-action>span{gap:3px;border-radius:10px 10px 0 0}.compact-game .mobile-action .icon{width:19px;height:19px}.compact-game .mobile-action strong{font-size:10px}.compact-game .altitude-controls{right:max(12px,env(safe-area-inset-right));bottom:calc(140px + var(--safe-bottom))}}@media(max-width:960px)and (max-height:500px){.compact-game .view-controls{bottom:0;height:44px;box-sizing:border-box;padding:0 2px;border-radius:11px 11px 0 0}.compact-game .view-controls button{min-height:42px}.compact-game .mobile-hand{grid-template-columns:minmax(0,1fr) 88px}.compact-game .hand-toolbar{display:grid;grid-template-columns:1fr 1fr;position:relative;height:44px;gap:3px;padding:0}.compact-game .hand-toolbar>button{min-height:44px;padding:4px;font-size:10px;flex-direction:column;gap:2px;justify-content:center;border-radius:10px 10px 0 0}.compact-game .hand-toolbar .hand-kind-label{display:none}.compact-game .hand-toolbar .icon{width:18px;height:18px}.compact-game .hand-toolbar .clear-cards{position:absolute;bottom:48px;right:0;width:88px;min-height:32px;border-radius:8px}.compact-game .pad-action{bottom:0;height:44px;border-radius:11px 11px 0 0}}@media(max-width:720px)and (min-height:501px){.compact-game .hand-toolbar .icon{width:15px;height:15px}}
