.announce-backdrop{z-index:36}.announce-dialog{width:100%;max-width:26.25rem;max-height:min(calc(var(--vvh, 100%) - 3rem),40rem);display:flex;flex-direction:column}.announce-header{font-size:.9375rem;padding:.25rem .375rem .25rem 1.375rem}.announce-brand{display:inline-flex;align-items:center;gap:.5rem;letter-spacing:.4px}.announce-brand-icon{width:2rem;height:2rem;flex:none;display:inline-flex;padding:.125rem;background:var(--cream-light);border:.125rem solid var(--outline-brown);border-radius:50%;box-shadow:0 .125rem 0 var(--outline-brown)}.announce-megaphone-svg{width:100%;height:100%;display:block}.announce-close{min-width:2.75rem;min-height:2.75rem;font-size:1.5rem}.announce-content{padding:.875rem 1rem 1rem;display:flex;flex-direction:column;gap:.625rem;min-height:0;flex:1 1 auto}.announce-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem .5rem;font-size:.75rem;font-weight:800;color:var(--rust)}.announce-chip{padding:.1875rem .625rem;border:.125rem solid var(--outline-brown);border-radius:62.4375rem;font:800 .75rem var(--font-main);box-shadow:0 .125rem 0 var(--outline-brown);white-space:nowrap}.announce-chip-update{background:#1f6a63;color:var(--cream-light)}.announce-chip-important{background:#a3482a;color:var(--cream-light)}.announce-chip-event{background:var(--mustard);color:var(--outline-brown)}.announce-version{padding:.125rem .5rem;border:1.5px dashed var(--outline-brown);border-radius:62.4375rem;background:var(--cream-light);color:var(--outline-brown)}.announce-title{font-size:1.25rem;font-weight:800;line-height:1.25;color:var(--outline-brown);overflow-wrap:anywhere}.announce-title:focus{outline:none}.announce-title:focus-visible{outline:.1875rem solid var(--mustard);outline-offset:.125rem;border-radius:.375rem}.announce-body{flex:1 1 auto;min-height:0;max-height:calc(var(--vvh, 100%) * .46);overflow-y:auto;padding:.625rem .75rem;background:#fff7e4cc;border:.125rem solid rgba(59,36,22,.28);border-radius:.75rem;font-size:.84375rem;font-weight:600;line-height:1.55;color:var(--outline-brown);white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}.announce-body:focus-visible{outline:.1875rem solid var(--mustard);outline-offset:.125rem}.announce-actions{display:flex;align-items:center;justify-content:flex-end;gap:.625rem;flex-wrap:wrap}.announce-actions .btn-chunky{min-width:8rem;min-height:2.75rem;padding:.5625rem 1.125rem;font-size:.875rem}.announce-pager{margin-right:auto;display:flex;align-items:center;gap:.25rem}.announce-page-btn{width:2.75rem;height:2.75rem;border:.125rem solid var(--outline-brown);border-radius:.75rem;background:var(--cream-light);color:var(--outline-brown);font:800 1.25rem var(--font-main);cursor:pointer;box-shadow:0 .125rem 0 var(--outline-brown)}.announce-page-btn:disabled{opacity:.45;cursor:default;box-shadow:none}.announce-page-btn:focus-visible{outline:.1875rem solid var(--mustard);outline-offset:.125rem}.announce-count{font-size:.75rem;font-weight:800;color:var(--rust);white-space:nowrap;padding:0 .125rem}.announce-preview-tag{margin-right:auto;padding:.125rem .5625rem;background:#fff3d1;border:.125rem dashed var(--outline-brown);border-radius:62.4375rem;font-size:.75rem;font-weight:800;color:var(--outline-brown)}.btn-announce-hud{position:absolute;top:-.625rem;right:-.625rem;z-index:2;width:2.75rem;height:2.75rem;min-width:2.75rem;padding:0;border-radius:50%;background:linear-gradient(180deg,var(--cream-light) 0%,var(--cream-paper) 100%);box-shadow:inset 0 .125rem #ffffffd9,0 .1875rem 0 var(--outline-brown),0 .375rem .625rem #1b10094d}.btn-announce-hud[hidden]{display:none}.btn-announce-hud .announce-megaphone-svg{width:1.625rem;height:1.625rem}.announce-dot{position:absolute;top:.25rem;right:.25rem;width:.6875rem;height:.6875rem;border-radius:50%;background:#a3482a;border:.125rem solid var(--outline-brown);animation:announceDotPulse 1.6s ease-in-out infinite}.announce-dot[hidden]{display:none}@keyframes announceDotPulse{0%,to{transform:scale(1)}50%{transform:scale(1.25)}}.paper-panel.announce-update-banner{position:fixed;z-index:27;bottom:calc(9.375rem + env(safe-area-inset-bottom));left:50%;translate:-50% 0;width:min(25.625rem,calc(100vw - 1.25rem));display:flex;align-items:center;gap:.25rem;padding:.1875rem .1875rem .1875rem .625rem;border-radius:62.4375rem;pointer-events:auto}.announce-update-text{flex:1;min-width:0;min-height:2.75rem;display:flex;align-items:center;gap:.4375rem;border:0;background:none;padding:0;cursor:pointer;text-align:left;font:800 .75rem var(--font-main);line-height:1.3;color:var(--outline-brown)}.announce-update-text .announce-megaphone-svg{width:1.5rem;height:1.5rem;flex:none}.announce-update-text span{overflow-wrap:anywhere}.announce-update-reload{min-height:2.75rem;min-width:4rem;padding:.375rem .75rem;font-size:.8125rem;border-radius:62.4375rem}.announce-update-close{width:2.75rem;height:2.75rem;flex:none;border:0;border-radius:50%;background:none;cursor:pointer;font:800 1.375rem var(--font-main);color:var(--rust)}.announce-update-text:focus-visible,.announce-update-close:focus-visible{outline:.1875rem solid var(--mustard);outline-offset:.125rem;border-radius:.75rem}@media (prefers-reduced-motion: reduce){.announce-dot{animation:none}}:root{--water-deep: #1f8f95;--water-shallow: #3cc4bd;--mustard: #e8b84a;--terracotta: #c8643c;--teal-shutter: #2f8f86;--rust: #8a5a3c;--bougainvillea: #d93b8a;--cream-paper: #f3e6c8;--cream-light: #fff7e4;--outline-brown: #3b2416;--font-main: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;--ink: #3b2416;--ink-soft: #6e4630;--teal-ink: #1d6660;--terracotta-ink: #a4452a;--scrim-water: rgba(15, 63, 66, .64);--scrim-water-light: rgba(15, 63, 66, .3);--fs-meta: .6875rem;--fs-label: .75rem;--fs-num: .75rem;--fs-body: .8125rem;--fs-btn: .875rem;--fs-title: .9375rem;--fs-sheet: 1.0625rem;--space-1: .25rem;--space-2: .375rem;--space-3: .5rem;--space-4: .625rem;--space-5: .75rem;--space-6: 1rem;--gap-target: .5rem;--ease-buoy: cubic-bezier(.22, 1, .36, 1)}#app{--hit: 2.75rem;--hit-primary: 3rem;--fs-input: 1rem}#app[data-input=mouse]{--hit: 2.25rem;--hit-primary: 2.5rem;--fs-input: .875rem}#app,#app[data-tier=phone]{--gutter: .625rem;--gap: .5rem;--top-row-h: 3.25rem;--shelf-h: 3.5rem;--tide-w: 6.75rem;--tide-h: 7.125rem;--nav-h: 4rem;--rail-w: 0px;--act-h: 3rem;--room-w: 100%;--room-idle-max: 3.25rem;--room-strip-max: 4rem;--room-full-max: 8.5rem;--sheet-peek: 8.25rem;--sheet-half: 50%;--sheet-full: 100%;--dialog-w: min( calc(100% - 1.25rem) , 35rem);--fs-nav: .75rem}#app[data-tier=phone-compact]{--gutter: .5rem;--gap: .375rem;--top-row-h: 2.75rem;--shelf-h: 2.5rem;--tide-w: 6rem;--tide-h: 2.75rem;--nav-h: 3.5rem;--rail-w: 0px;--act-h: 3rem;--room-w: 100%;--room-idle-max: 3.25rem;--room-strip-max: 4rem;--room-full-max: 9.375rem;--sheet-peek: 7rem;--sheet-half: 50%;--sheet-full: 100%;--dialog-w: min( calc(100% - 1rem) , 35rem);--fs-nav: .6875rem}#app[data-tier=phone-land]{--gutter: .5rem;--gap: .375rem;--top-row-h: 3rem;--shelf-h: 2.75rem;--tide-w: 6rem;--tide-h: 2.75rem;--nav-h: 3.5rem;--rail-w: 4.5rem;--act-h: 3rem;--land-side-w: clamp(17.5rem, 44vw, 22.5rem);--sheet-side-w: clamp(17.5rem, 40vw, 26.25rem);--room-w: var(--land-side-w);--room-idle-max: 3.25rem;--room-strip-max: 4rem;--room-full-max: 12.5rem;--sheet-peek: 3.25rem;--sheet-half: 100%;--sheet-full: 100%;--dialog-w: min(40rem, calc(100% - 2rem) );--fs-nav: .6875rem}#app[data-tier=tablet]{--gutter: 1rem;--gap: .5rem;--top-row-h: 3.25rem;--shelf-h: 3.25rem;--tide-w: 6.75rem;--tide-h: 7.125rem;--nav-h: 4rem;--rail-w: 0px;--act-h: 3rem;--room-w: 37.5rem;--room-idle-max: 3.5rem;--room-strip-max: 4rem;--room-full-max: 8.75rem;--sheet-peek: 40%;--sheet-half: 65%;--sheet-full: 100%;--dialog-w: min(35rem, calc(100% - 3rem) );--fs-nav: .75rem}#app[data-tier=wide]{--gutter: 1rem;--gap: .625rem;--top-row-h: 3.5rem;--shelf-h: 3.375rem;--tide-w: 6.75rem;--tide-h: 7.125rem;--nav-h: 4rem;--rail-w: 4.75rem;--act-h: 3rem;--sheet-w: clamp(22.5rem, 30vw, 30rem);--room-w: 35rem;--room-idle-max: 3.5rem;--room-strip-max: 4rem;--room-full-max: 8.75rem;--sheet-peek: 3.25rem;--sheet-half: 100%;--sheet-full: 100%;--dialog-w: clamp(25rem, 40vw, 40rem);--fs-nav: .75rem}#app[data-tier=wide][data-short]{--tide-w: 6rem;--tide-h: 2.75rem;--top-row-h: 3.5rem}#app{--safe-t: max(var(--gutter), env(safe-area-inset-top, 0px), var(--debug-safe-t, 0px));--safe-r: max(var(--gutter), env(safe-area-inset-right, 0px), var(--debug-safe-r, 0px));--safe-b: max(var(--gutter), env(safe-area-inset-bottom, 0px), var(--debug-safe-b, 0px));--safe-l: max(var(--gutter), env(safe-area-inset-left, 0px), var(--debug-safe-l, 0px))}#app[data-perf=low] .tide-water-fill,#app[data-perf=low] .loading-wave,#app[data-perf=low] .loading-water-ripple{animation:none}#app[data-perf=low] .paper-panel{box-shadow:0 .25rem 0 var(--outline-brown)}@media (prefers-contrast: more){:root{--scrim-water: rgba(15, 63, 66, .82);--scrim-water-light: rgba(15, 63, 66, .5)}}#toast-stack{position:fixed;z-index:80;top:calc(var(--hud-top-bottom, 8.125rem) + .5rem);left:calc(var(--free-l, .625rem) + .5rem);inline-size:min(25.625rem,calc(var(--free-w, 100% - 1.25rem) - 1rem));display:flex;flex-direction:column;gap:.375rem;pointer-events:none}.game-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;top:var(--vv-top, 0px);bottom:auto;height:var(--vvh, 100%);z-index:35;display:flex;align-items:center;justify-content:center;padding:.875rem;background:var(--scrim-water);pointer-events:auto}.game-modal-backdrop[data-scrim=light]{background:var(--scrim-water-light)}.customize-panel:not(.dialog-panel){width:100%;max-width:25.3125rem;max-height:100%;overflow-y:auto}.customize-panel:not(.dialog-panel) .wood-header{position:sticky;top:0;z-index:2}.panel-close{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:var(--hit, 2.75rem);min-height:var(--hit, 2.75rem);padding:0;border:0;background:none;color:var(--cream-paper);font:800 1.375rem var(--font-main);line-height:1;cursor:pointer;touch-action:manipulation}.panel-close:focus-visible{outline:.1875rem solid var(--mustard);outline-offset:-.1875rem;border-radius:.625rem}.dialog-panel{display:flex;flex-direction:column;width:var(--dialog-w, min( calc(100% - 1.25rem) , 35rem));max-width:100%;max-height:calc(var(--vvh, 100%) - 3rem - var(--kb, 0px));overflow:hidden}.dialog-panel .dialog-header{flex:none;position:relative;min-height:2.75rem;padding:0 .25rem 0 1.25rem;gap:.5rem}.dialog-header h2,.dialog-title{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-title);font-weight:800}.dialog-panel .dialog-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:.75rem .875rem}.dialog-panel .dialog-footer{flex:none;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;padding:.5rem .75rem .625rem;border-top:.125rem dashed rgba(59,36,22,.4)}.dialog-panel .dialog-footer:empty{display:none}.dialog-footer .btn-chunky{min-height:var(--hit, 2.75rem);font-size:var(--fs-body);white-space:nowrap}.dialog-footer [data-primary]{min-height:var(--hit-primary, 3rem)}*{box-sizing:border-box;margin:0;padding:0;user-select:none;-webkit-user-select:none}html,body{width:100%;height:100%;overflow:hidden;background-color:#165e63;font-family:var(--font-main);font-weight:600;color:var(--outline-brown)}#canvas-root{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}#canvas-root canvas{display:block;width:100%;height:100%}.ui-interactive{pointer-events:auto}.paper-panel{background:linear-gradient(180deg,var(--cream-light) 0%,var(--cream-paper) 100%);border:.1875rem solid var(--outline-brown);border-radius:1rem;box-shadow:inset 0 .125rem #fffc,inset 0 -.1875rem #8a5a3c38,0 .25rem 0 var(--outline-brown),0 .5rem .875rem #1b100959;position:relative}.wood-header{background:radial-gradient(circle at .625rem 50%,var(--outline-brown) .125rem,transparent .15625rem),radial-gradient(circle at calc(100% - .625rem) 50%,var(--outline-brown) .125rem,transparent .15625rem),repeating-linear-gradient(90deg,rgba(59,36,22,.14) 0px,rgba(59,36,22,.14) .125rem,transparent .125rem,transparent 4.25rem),repeating-linear-gradient(180deg,#9a6646,#8a5a3c .4375rem,#784b30 .5rem,#8a5a3c .9375rem);color:var(--cream-paper);border-bottom:.1875rem solid var(--outline-brown);border-radius:.75rem .75rem 0 0;padding:.375rem 1.375rem;font-weight:800;font-size:.875rem;letter-spacing:.2px;text-shadow:0 .125rem 0 var(--outline-brown);box-shadow:inset 0 .125rem #ffe8c659;display:flex;align-items:center;justify-content:space-between}.btn-chunky{pointer-events:auto;cursor:pointer;position:relative;overflow:hidden;font-family:var(--font-main);font-weight:800;font-size:.8125rem;border:.1875rem solid var(--outline-brown);border-radius:.75rem;padding:.4375rem .75rem;display:inline-flex;align-items:center;justify-content:center;gap:.375rem;min-block-size:var(--hit);transition:transform .08s ease,box-shadow .08s ease,filter .14s ease;text-decoration:none;touch-action:manipulation}.btn-chunky:after,.nav-tab:after,.filter-pill:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(115deg,transparent 20%,rgba(255,252,240,.42) 48%,transparent 76%);transform:translate(-130%);transition:transform .28s ease;pointer-events:none}.btn-chunky:hover:not(:disabled):after,.btn-chunky:focus-visible:not(:disabled):after,.nav-tab:hover:after,.nav-tab:focus-visible:after,.filter-pill:hover:after,.filter-pill:focus-visible:after{transform:translate(130%)}.btn-chunky:focus-visible,.nav-tab:focus-visible,.filter-pill:focus-visible{outline:.1875rem solid var(--mustard);outline-offset:.125rem}.btn-mustard{background:linear-gradient(180deg,#f5cd67 0%,var(--mustard) 100%);color:var(--outline-brown);box-shadow:inset 0 .125rem #ffffffb3,inset 0 -.125rem #a8721873,0 .1875rem 0 var(--outline-brown)}.btn-teal{background:linear-gradient(180deg,#3ba89e 0%,var(--teal-shutter) 100%);color:var(--cream-paper);text-shadow:0 1.5px 0 var(--outline-brown);box-shadow:inset 0 .125rem #ffffff73,inset 0 -.125rem #174f4980,0 .1875rem 0 var(--outline-brown)}.btn-chunky:active{transform:translateY(.125rem);box-shadow:inset 0 1px #fff6,0 1px 0 var(--outline-brown)}.top-hud{display:flex;flex-direction:column;gap:.5rem}.home-top-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.home-left-stack{flex:1;min-width:0;display:flex;flex-direction:column;gap:.375rem}.player-badge{display:flex;align-items:center;gap:.5rem;padding:.3125rem .625rem .3125rem .375rem;border-radius:.875rem}.avatar-frame{width:2.25rem;height:2.25rem;border-radius:.625rem;background:var(--water-shallow);border:.15625rem solid var(--outline-brown);overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:inset 0 1.5px #ffffff80}.avatar-img{width:100%;height:100%;object-fit:contain}.player-info{display:flex;flex-direction:column;line-height:1.15}.player-title{font-weight:800;font-size:.8125rem;color:var(--outline-brown)}.player-sub{font-size:.6875rem;font-weight:600;color:var(--rust)}.resource-bar{display:grid;grid-template-columns:repeat(5,1fr);gap:.25rem;padding:.3125rem .375rem;border-radius:.8125rem}.res-pill{background:#fff8e7e6;border:.125rem solid var(--outline-brown);border-radius:.5625rem;padding:.1875rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;box-shadow:inset 0 1px #fff}.res-icon{width:1.125rem;height:1.125rem;object-fit:contain;display:block}.res-val{font-weight:800;font-size:.75rem;font-variant-numeric:tabular-nums;color:var(--outline-brown);letter-spacing:-.2px;white-space:nowrap}.tide-clock-card{width:6.75rem;flex-shrink:0;padding:.375rem .375rem .4375rem;display:flex;flex-direction:column;align-items:center;gap:.1875rem;border-radius:1rem}.tide-dial{position:relative;width:3.625rem;height:3.625rem;border-radius:50%;border:.1875rem solid var(--outline-brown);background:#fff6df;overflow:hidden;box-shadow:inset 0 .125rem .25rem #3b241640,0 .125rem 0 var(--outline-brown)}.tide-water-fill{position:absolute;left:-10%;width:120%;bottom:0;height:68%;background:linear-gradient(180deg,var(--water-shallow) 0%,var(--water-deep) 100%);border-top:.15625rem solid var(--cream-paper);animation:tideWaveBob 2.6s ease-in-out infinite alternate}@keyframes tideWaveBob{0%{transform:translateY(0) rotate(-2deg)}to{transform:translateY(.1875rem) rotate(2deg)}}.tide-dial-ticks{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.tide-label{font-weight:800;font-size:.71875rem;color:var(--teal-shutter);line-height:1.1}.tide-countdown{font-weight:800;font-size:.75rem;font-variant-numeric:tabular-nums;color:var(--outline-brown);background:var(--mustard);border:.125rem solid var(--outline-brown);border-radius:62.4375rem;padding:1px .375rem;white-space:nowrap}.bottom-hud{display:flex;flex-direction:column;gap:.5rem}.room-card-body{padding:.5625rem .6875rem .625rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem}.room-meta{display:flex;flex-direction:column;gap:.3125rem}.room-output-pill{display:inline-flex;align-items:center;gap:.3125rem;background:#e5f6ec;border:.125rem solid var(--outline-brown);border-radius:.5625rem;padding:.1875rem .5rem;font-weight:800;font-size:.75rem;color:#1f6e43;width:fit-content}.worker-row{display:flex;align-items:center;gap:.3125rem}.worker-label{font-size:.75rem;font-weight:800;color:var(--rust)}.worker-portrait{width:var(--hit, 2.75rem);height:var(--hit, 2.75rem);flex:none;padding:0;border:0;background:none;display:flex;align-items:center;justify-content:center;touch-action:manipulation}.worker-frame{width:2.25rem;height:2.25rem;border-radius:.5625rem;background:var(--cream-light);border:.125rem solid var(--outline-brown);overflow:hidden;display:flex;align-items:center;justify-content:center}.worker-portrait img{width:100%;height:100%;object-fit:contain}.btn-upgrade{flex-direction:column;gap:.125rem;padding:.375rem .75rem;min-width:7rem}.btn-upgrade-title{font-size:.8125rem;font-weight:800}.btn-upgrade-cost{display:inline-flex;align-items:center;gap:.25rem;font-size:.6875rem;font-weight:800;background:#ffffff73;padding:1px .4375rem;border-radius:62.4375rem;border:1.5px solid var(--outline-brown)}.ward-banner{overflow:hidden}.ward-banner-body{padding:.4375rem .75rem;display:flex;align-items:center;justify-content:space-between}.ward-title{font-weight:800;font-size:.90625rem;color:var(--outline-brown)}.ward-rank-badge{background:var(--mustard);border:.125rem solid var(--outline-brown);border-radius:.5625rem;padding:.125rem .5rem;font-weight:800;font-size:.71875rem}.chat-ticker{display:flex;align-items:center;gap:.5rem;padding:.375rem .6875rem;border-radius:62.4375rem;background:var(--cream-light);border:.15625rem solid var(--outline-brown);box-shadow:0 .1875rem 0 var(--outline-brown)}.chat-badge{background:var(--bougainvillea);color:var(--cream-paper);border:.125rem solid var(--outline-brown);border-radius:62.4375rem;padding:1px .4375rem;font-size:.6875rem;font-weight:800;flex-shrink:0}.chat-text{font-size:.71875rem;font-weight:800;color:var(--outline-brown);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.drain-card-body{padding:.5625rem .75rem .6875rem;display:flex;flex-direction:column;gap:.4375rem}.drain-progress-row{display:flex;align-items:center;gap:.625rem}.progress-track{flex:1;height:1.375rem;background:#dfd0b0;border:.1875rem solid var(--outline-brown);border-radius:62.4375rem;overflow:hidden;position:relative;box-shadow:inset 0 .125rem .1875rem #3b241640}.progress-fill{height:100%;background:linear-gradient(90deg,var(--teal-shutter) 0%,var(--water-shallow) 65%,var(--mustard) 100%);border-right:.15625rem solid var(--outline-brown);border-radius:62.4375rem 0 0 62.4375rem}.progress-label{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.71875rem;color:var(--outline-brown);text-shadow:0 1px 0 rgba(255,255,255,.8)}.drain-footer-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.drain-note{font-size:.71875rem;font-weight:800;color:var(--teal-shutter)}.lowtide-pill-banner{background:linear-gradient(180deg,#f4c85b 0%,var(--mustard) 100%);border:.1875rem solid var(--outline-brown);border-radius:62.4375rem;padding:.5rem 1rem;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:inset 0 .125rem #ffffffbf,0 .25rem 0 var(--outline-brown),0 .5rem .875rem #3b241659}.lowtide-dot{width:.75rem;height:.75rem;border-radius:50%;background:var(--terracotta);border:.125rem solid var(--outline-brown)}.lowtide-banner-text{font-weight:800;font-size:.90625rem;color:var(--outline-brown);letter-spacing:.2px}.loot-counters-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:.375rem;padding:.375rem .5rem}.loot-chip{background:var(--cream-light);border:.15625rem solid var(--outline-brown);border-radius:.6875rem;padding:.25rem .375rem;display:flex;align-items:center;gap:.375rem;box-shadow:inset 0 1.5px #fff}.loot-chip-info{display:flex;flex-direction:column;line-height:1.1}.loot-chip-val{font-weight:800;font-size:.75rem;color:var(--outline-brown)}.loot-chip-name{font-size:.6875rem;font-weight:600;color:var(--rust)}.lowtide-Action-card{padding:.5rem .75rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:.3125rem;padding:.375rem;border-radius:1.125rem}.nav-tab{pointer-events:auto;cursor:pointer;position:relative;overflow:hidden;background:var(--cream-light);border:.15625rem solid var(--outline-brown);border-radius:.75rem;padding:.3125rem .125rem .25rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.125rem;font-family:var(--font-main);color:var(--outline-brown);min-block-size:var(--hit);box-shadow:inset 0 1.5px #fff,0 .15625rem 0 var(--outline-brown);text-decoration:none;transition:transform .08s ease}.nav-tab.active{background:linear-gradient(180deg,#f7d274 0%,var(--mustard) 100%);transform:translateY(-.125rem);box-shadow:inset 0 .125rem #fffc,0 .25rem 0 var(--outline-brown)}.nav-svg{width:1.5rem;height:1.5rem;display:block}.nav-tab-label{font-weight:800;font-size:var(--fs-nav, .75rem);line-height:1.1;white-space:nowrap}.player-badge-row{display:flex;align-items:stretch;gap:.375rem}.player-badge-row .player-badge{flex:1;min-width:0}.btn-sound-toggle{width:2.75rem;min-width:2.75rem;min-block-size:var(--hit);padding:0;border-radius:.875rem;background:linear-gradient(180deg,var(--cream-light) 0%,var(--cream-paper) 100%);box-shadow:inset 0 .125rem #ffffffd9,0 .25rem 0 var(--outline-brown),0 .5rem .875rem #1b100959}.btn-sound-toggle[aria-pressed=false]{background:linear-gradient(180deg,#e8dcc0,#d8c7a3)}.sound-toggle-svg{width:1.375rem;height:1.375rem;display:block}@keyframes resPillPulse{0%{transform:scale(1);background:#fff8e7e6}40%{transform:scale(1.1);background:#fff2b8}to{transform:scale(1);background:#fff8e7e6}}.res-pill.res-pill-pulse{animation:resPillPulse .36s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}.auth-card{width:100%;max-width:23.75rem;margin:0 auto}.auth-tagline{font-size:.6875rem;color:#f5cd67}.auth-card-body{padding:1.375rem 1.25rem}.auth-card h1{font-size:1.5rem;font-weight:800;margin-bottom:.5rem}.form-note{color:var(--rust);font-size:.71875rem;line-height:1.5}.game-form{display:flex;flex-direction:column;gap:.8125rem;margin-top:1.125rem}.game-form label{display:flex;flex-direction:column;gap:.375rem;font-weight:800;font-size:.75rem}.game-form input{width:100%;min-height:var(--hit, 2.75rem);background:var(--cream-light);color:var(--outline-brown);border:.125rem solid var(--outline-brown);border-radius:.5625rem;padding:.5625rem .6875rem;font:600 var(--fs-input, .875rem) var(--font-main);user-select:text;-webkit-user-select:text}.game-form input:focus{outline:.1875rem solid var(--mustard);outline-offset:1px}.form-error{color:#a33225;font-size:.75rem;font-weight:800;line-height:1.6}.form-error:empty{display:none}.auth-switch{display:flex;align-items:center;justify-content:center;min-height:var(--hit, 2.75rem);margin:.375rem auto 0;padding:0 .625rem;color:var(--teal-shutter);background:none;border:0;font:800 .75rem var(--font-main);cursor:pointer}.version-line{display:flex;align-items:center;justify-content:center;min-height:var(--hit, 2.75rem);margin:.25rem auto 0;color:var(--rust);background:none;border:0;padding:0 .25rem;font:800 .6875rem var(--font-main);white-space:nowrap;cursor:pointer}.version-line-chip{display:inline-block;padding:.1875rem .625rem;border:1.5px solid var(--outline-brown);border-radius:62.4375rem;background:#fff7e4b3}.version-notes-list{padding-left:1.125rem;display:flex;flex-direction:column;gap:.375rem;font-size:.75rem;line-height:1.45;color:var(--outline-brown)}.btn-chunky:disabled{opacity:.6;cursor:default}.btn-xs{min-height:var(--hit, 2.75rem);padding:.25rem .625rem;font-size:.75rem;border-width:.125rem;border-radius:.5625rem}.profile-trigger{cursor:pointer;text-align:left}.profile-trigger:focus-visible,.worker-portrait:focus-visible{outline:.1875rem solid var(--mustard);outline-offset:.125rem}.room-status{font-size:.75rem;color:#f5cd67;white-space:nowrap}.room-right-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.3125rem}.resource-cost{display:inline-flex;align-items:center;gap:.1875rem}.room-cost{display:flex;flex-wrap:wrap;justify-content:center;gap:.125rem .3125rem}.room-cost .res-icon{width:.875rem;height:.875rem}.room-extra{display:flex;align-items:center;justify-content:space-between;padding:0 .625rem .625rem;gap:.5rem}.room-extra .btn-chunky{padding:.25rem .625rem;font-size:.75rem}.room-hint{font-size:.6875rem;color:var(--rust)}button.worker-portrait{cursor:pointer;font:800 1.125rem var(--font-main);color:var(--rust)}button.worker-portrait:disabled{cursor:default;opacity:.6}.player-card-name{font-size:1.25rem;font-weight:800;overflow-wrap:anywhere}.progress-track.progress-track-sm{flex:none;height:1.25rem}.progress-label.progress-label-sm{font-size:.6875rem}.placeholder-panel p{padding:1.75rem .9375rem;text-align:center;font-size:1.125rem;font-weight:800}.customize-body{padding:0 .875rem 1rem}.field-title{font-weight:800;font-size:.71875rem;margin-bottom:.3125rem;color:var(--outline-brown)}.swatch-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--hit, 2.75rem),1fr));gap:.375rem;justify-items:center}.color-swatch{width:var(--hit, 2.75rem);height:var(--hit, 2.75rem);border:.125rem solid transparent;border-radius:.75rem;padding:0;cursor:pointer;background-clip:content-box!important;box-shadow:inset 0 0 0 .1875rem var(--outline-brown)}.color-swatch[aria-pressed=true]{outline:.1875rem solid var(--teal-shutter);outline-offset:0}.emblem-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--hit, 2.75rem),1fr));gap:.4375rem}.emblem-choice{min-width:var(--hit, 2.75rem);min-height:var(--hit, 2.75rem);background:var(--cream-light);border:.125rem solid var(--outline-brown);border-radius:.5625rem;aspect-ratio:1;padding:.25rem;cursor:pointer}.emblem-choice[aria-pressed=true]{background:var(--mustard);box-shadow:0 .125rem 0 var(--outline-brown)}.emblem-choice img{width:100%;height:100%;object-fit:contain}.resident-name-row{display:flex;gap:.5625rem;align-items:center}.resident-name-row img{width:2.1875rem;height:2.5rem;object-fit:contain}.resident-name-row label{flex:1}.customize-actions{display:flex;gap:.5rem;justify-content:flex-end;align-items:center}.game-toast{pointer-events:auto;cursor:pointer;touch-action:pan-y;padding:.5rem .6875rem;font:800 .71875rem var(--font-main);color:var(--outline-brown);display:flex;align-items:center;gap:.5rem;text-align:left;transition:transform .14s ease,opacity .14s ease}.game-toast-success{border-color:var(--outline-brown);background:linear-gradient(180deg,#fffdf4,#e7f6ee)}.game-toast-error{border-color:var(--outline-brown);background:linear-gradient(180deg,#fff6f2,#fce0d4)}.game-toast-info{border-color:var(--outline-brown);background:linear-gradient(180deg,var(--cream-light) 0%,var(--cream-paper) 100%)}.toast-icon-badge{width:1.375rem;height:1.375rem;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.toast-svg{width:1.375rem;height:1.375rem;display:block}.toast-body{flex:1;min-width:0;line-height:1.3}.toast-close-mark{font-size:.9375rem;font-weight:800;color:var(--rust);padding-left:.25rem;flex-shrink:0}.tab-panel-stack{display:flex;flex-direction:column;gap:.4375rem}.tab-panel-stack>*{flex-shrink:0}.tab-scroll-card{overflow:hidden;flex-shrink:0}.tab-card-body{padding:.5rem .6875rem .625rem;display:flex;flex-direction:column;gap:.375rem}.ward-action-bar{display:flex;gap:.4375rem;padding:0 .6875rem .5rem}.bridge-mode-banner{margin:0 .6875rem .5rem;padding:.375rem .5625rem;border-radius:.5625rem;background:#fff2c6;border:.125rem dashed var(--outline-brown);font-size:.6875rem;font-weight:800}.member-list{display:flex;flex-direction:column;gap:.3125rem;max-height:7.5rem;overflow-y:auto}.member-row{display:flex;align-items:center;gap:.5rem;padding:.25rem .4375rem;border-radius:.5625rem;background:var(--cream-light);border:1.5px solid var(--outline-brown)}.member-info{flex:1;min-width:0;display:flex;flex-direction:column;font-size:.6875rem;line-height:1.2}.member-info span{font-size:.6875rem;color:var(--rust)}.flag-mini-badge{width:1.625rem;height:1.625rem;border-radius:.4375rem;border:.125rem solid var(--outline-brown);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.flag-mini-img{width:1.125rem;height:1.125rem;object-fit:contain}.ward-chat-log{max-height:4.75rem;overflow-y:auto;display:flex;flex-direction:column;gap:.1875rem;font-size:.6875rem;padding:.25rem .375rem;background:#fff7e4b3;border:1.5px solid var(--outline-brown);border-radius:.5rem}.ward-chat-form{display:flex;gap:.375rem}.ward-chat-form input{flex:1;background:var(--cream-light);color:var(--outline-brown);border:.125rem solid var(--outline-brown);border-radius:.5625rem;padding:.3125rem .5625rem;min-height:var(--hit, 2.75rem);font:600 var(--fs-input, .75rem) var(--font-main);user-select:text;-webkit-user-select:text}.filter-pills{display:flex;flex-wrap:nowrap;flex-shrink:0;gap:.375rem;overflow-x:auto;padding-bottom:.25rem;scroll-snap-type:x proximity;scrollbar-width:none}.filter-pill{pointer-events:auto;cursor:pointer;position:relative;overflow:hidden;display:inline-flex;align-items:center;flex:none;justify-content:center;gap:.1875rem;min-width:var(--hit, 2.75rem);min-height:var(--hit, 2.75rem);padding:.1875rem .625rem;border-radius:62.4375rem;border:.125rem solid var(--outline-brown);background:var(--cream-light);color:var(--outline-brown);font:800 .75rem var(--font-main);white-space:nowrap;scroll-snap-align:start}.filter-pill[data-filter-res=all]{min-width:3.5rem}.filter-pill.active{background:var(--mustard)}.order-list{display:flex;flex-direction:column;gap:.3125rem;max-height:7.8125rem;overflow-y:auto}.order-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.3125rem .5rem;border-radius:.5625rem;background:var(--cream-light);border:1.5px solid var(--outline-brown);font-size:.6875rem}.order-item-main{display:flex;align-items:center;gap:.4375rem;min-width:0}.market-confirm-box{padding:.4375rem .5625rem;border-radius:.625rem;background:#fff2c6;border:.125rem solid var(--outline-brown)}.market-sell-form{display:flex;flex-direction:column;gap:.375rem}.market-sell-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:.375rem;align-items:end}.market-sell-grid label{display:flex;flex-direction:column;gap:.1875rem;min-width:0;font-size:.6875rem;font-weight:800}.market-sell-grid select,.market-sell-grid input{width:100%;background:var(--cream-light);color:var(--outline-brown);border:.125rem solid var(--outline-brown);border-radius:.5rem;min-height:var(--hit, 2.75rem);padding:.3125rem .375rem;font:600 var(--fs-input, .75rem) var(--font-main);text-overflow:ellipsis;user-select:text;-webkit-user-select:text}.market-sell-footer{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.donate-submit-col{display:flex;align-items:flex-end}.phusa-info-pill{padding:.3125rem .5rem;border-radius:.5625rem;background:#e5f6ec;border:1.5px solid var(--outline-brown);font-size:.6875rem;color:#1f6e43}.slot-list{display:flex;flex-direction:column;gap:.3125rem;max-height:10.625rem;overflow-y:auto}.slot-row{display:flex;align-items:center;justify-content:space-between;gap:.375rem;padding:.3125rem .5rem;border-radius:.5625rem;background:var(--cream-light);border:1.5px solid var(--outline-brown);font-size:.6875rem}.slot-row.is-taken{opacity:.65}.slot-info{cursor:pointer;display:flex;flex-direction:column;min-width:0}.slot-actions{display:flex;gap:.25rem;flex-shrink:0}.dive-resident-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.4375rem}.dive-resident-card{cursor:pointer;display:flex;align-items:center;gap:.4375rem;padding:.375rem .5rem;border-radius:.625rem;border:.125rem solid var(--outline-brown);background:var(--cream-light);color:var(--outline-brown);font-family:var(--font-main);text-align:left}.dive-resident-card.is-selected{background:var(--mustard)}.dive-resident-card:disabled{opacity:.55;cursor:default}.worker-img{width:1.875rem;height:1.875rem;object-fit:contain}.dive-resident-info{display:flex;flex-direction:column;font-size:.6875rem}.dive-resident-info span{font-size:.6875rem;color:var(--rust)}.dive-status-box,.dive-result-box{padding:.5rem .625rem;border-radius:.625rem;background:var(--cream-light);border:.125rem solid var(--outline-brown)}.leaderboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.leader-row{display:flex;align-items:center;justify-content:space-between;gap:.25rem;padding:.1875rem .375rem;border-radius:.4375rem;background:var(--cream-light);border:1.5px solid var(--outline-brown);font-size:.6875rem;margin-bottom:.1875rem}.plaque-list{display:flex;flex-wrap:wrap;gap:.3125rem}.plaque-pill{display:inline-flex;align-items:center;gap:.25rem;padding:.1875rem .5rem;border-radius:62.4375rem;background:var(--cream-light);border:1.5px solid var(--outline-brown);font-size:.6875rem;font-weight:800}.newspaper-sheet{background:#f8ecd1;border:.15625rem solid var(--outline-brown);border-radius:.75rem;padding:.625rem .75rem;box-shadow:inset 0 0 1.125rem #8a5a3c29}.newspaper-masthead{text-align:center;border-bottom:.1875rem double var(--outline-brown);padding-bottom:.375rem;margin-bottom:.5rem}.newspaper-kicker{font-size:.6875rem;font-weight:800;color:var(--rust);letter-spacing:.8px}.newspaper-title{font-size:1.125rem;font-weight:800;letter-spacing:.5px;color:var(--outline-brown)}.newspaper-meta{font-size:.6875rem;color:var(--rust)}.newspaper-headline{font-size:.84375rem;font-weight:800;margin-bottom:.375rem}.newspaper-columns{display:flex;flex-direction:column;gap:.3125rem}.newspaper-line{font-size:.71875rem;line-height:1.45}.newspaper-closing{margin-top:.5rem;padding-top:.375rem;border-top:1.5px dashed var(--outline-brown);font-size:.6875rem;font-style:italic;color:var(--teal-shutter);font-weight:800}.newspaper-archive{margin-top:.625rem;padding-top:.5rem;border-top:.125rem solid var(--outline-brown);display:flex;flex-direction:column;gap:.25rem;font-size:.6875rem}.profile-summary-row{display:flex;align-items:center;justify-content:space-between;font-size:.75rem}.profile-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:.375rem}.profile-subbox{padding:.375rem .5rem;border-radius:.5625rem;background:#fff7e4bf;border:1.5px solid var(--outline-brown)}.minimap-panel{margin-top:.375rem;display:flex;flex-direction:column;align-items:center;gap:.375rem}.memory-minimap-canvas{width:13.125rem;height:13.125rem;border:.1875rem solid var(--outline-brown);border-radius:.625rem;cursor:crosshair;image-rendering:pixelated;box-shadow:0 .1875rem 0 var(--outline-brown)}.minimap-landmarks{display:flex;flex-wrap:wrap;gap:.25rem;justify-content:center}.ledger-list{max-height:6.875rem;overflow-y:auto}.profile-footer-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.profile-footer-row .version-line{margin:0}.rescue-waiting-wrap{display:flex;flex-direction:column;align-items:center;gap:.625rem}.drifting-raft-scene{position:relative;width:8.75rem;height:6.875rem;display:flex;align-items:center;justify-content:center}.drifting-raft-bob{position:relative;width:7.5rem;height:5.9375rem;animation:tideWaveBob 2.4s ease-in-out infinite alternate}.drifting-raft-img{position:absolute;bottom:0;left:.625rem;width:6.25rem;height:4.375rem;object-fit:contain}.drifting-char-img{position:absolute;bottom:1.5rem;left:2.25rem;width:3rem;height:3.625rem;object-fit:contain}.rescue-card{width:100%}.rescue-headline{font-size:.90625rem;font-weight:800;color:var(--outline-brown)}.rescue-help-btn{width:100%;padding:.625rem .875rem;font-size:.875rem;margin-top:.25rem}.rescue-offer-popup{pointer-events:auto;margin-top:.25rem}.loading-overlay-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;pointer-events:none;display:flex;align-items:center;justify-content:center}#app:has(#ui-root.auth-root) .loading-overlay-root:not(.loading-force-visible){z-index:6}#app:has(#ui-root.auth-root) .loading-overlay-root:not(.loading-force-visible) .loading-card{opacity:0}.loading-backdrop{width:100%;height:100%;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 35%,#3cc4bd,#1f8f95 55%,#165e63);display:flex;align-items:center;justify-content:center;padding:1rem}.loading-waves{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}.loading-wave{position:absolute;left:-15%;width:130%;height:8.75rem;border-radius:50%;border-top:.1875rem dashed rgba(243,230,200,.36);animation:loadingWaveDrift 4.2s ease-in-out infinite alternate}.loading-wave-1{top:24%}.loading-wave-2{bottom:18%;animation-delay:-2.1s}@keyframes loadingWaveDrift{0%{transform:translate3d(-.75rem,-.25rem,0) rotate(-1deg)}to{transform:translate3d(.75rem,.3125rem,0) rotate(1deg)}}.loading-card{width:100%;max-width:23.875rem;overflow:hidden}.loading-card-body{padding:1rem .9375rem .9375rem;display:flex;flex-direction:column;align-items:center;gap:.625rem;text-align:center}.loading-raft-stage{position:relative;width:9.375rem;height:6.75rem;display:flex;align-items:center;justify-content:center}.loading-water-ripple{position:absolute;bottom:.5rem;width:7.375rem;height:1.875rem;border-radius:50%;background:#3cc4bd59;border:.15625rem solid rgba(243,230,200,.72);animation:loadingRipplePulse 2.4s ease-in-out infinite alternate}@keyframes loadingRipplePulse{0%{transform:scale(.92);opacity:.65}to{transform:scale(1.06);opacity:.95}}.loading-raft-bob{position:relative;width:7.5rem;height:5.75rem;animation:tideWaveBob 2.2s ease-in-out infinite alternate}.loading-raft-deck{position:absolute;bottom:.25rem;left:.625rem;width:6.25rem;height:4.25rem;object-fit:contain}.loading-raft-char{position:absolute;bottom:1.625rem;left:2.25rem;width:3rem;height:3.625rem;object-fit:contain}.loading-status{font-size:.8125rem;font-weight:800;color:var(--outline-brown)}.progress-track.loading-progress-track{flex:0 0 1.5rem;width:100%;height:1.5rem}.loading-tip-box{width:100%;margin-top:.125rem;padding:.5rem .625rem;border-radius:.6875rem;background:var(--cream-light);border:.125rem solid var(--outline-brown);display:flex;flex-direction:column;align-items:center;gap:.25rem}.loading-tip-badge{background:var(--mustard);border:1.5px solid var(--outline-brown);border-radius:62.4375rem;padding:1px .5rem;font-size:.6875rem;font-weight:800;color:var(--outline-brown)}.loading-tip-text{font-size:.6875rem;line-height:1.42;color:var(--outline-brown)}.empty-state-card{display:flex;align-items:center;gap:.625rem;padding:.5rem .625rem;border-radius:.6875rem;background:#fff7e4e0;border:.125rem dashed var(--outline-brown)}.empty-state-compact{padding:.375rem .5rem;gap:.5rem}.empty-state-illust{width:2.75rem;height:2.75rem;border-radius:.625rem;background:linear-gradient(180deg,#dff5f2,#bce7e2);border:.125rem solid var(--outline-brown);display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:inset 0 1.5px #ffffffb3}.empty-state-compact .empty-state-illust{width:2.25rem;height:2.25rem}.empty-state-sprite{width:2.125rem;height:2.125rem;object-fit:contain}.empty-state-compact .empty-state-sprite{width:1.75rem;height:1.75rem}.empty-state-content{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:.125rem}.empty-state-title{font-size:.71875rem;font-weight:800;color:var(--outline-brown);line-height:1.25}.empty-state-copy{font-size:.75rem;line-height:1.38;color:var(--rust)}.empty-state-action{margin-top:.25rem}
