:is(.square-dialog,.start-screen,.game-loading,.account-menu){--text:#253e40;--muted:#526a69;--cyan:#267c77;--gold:#88612d;--line:#b9c9ba;color:var(--text);font-family:ui-rounded,Avenir Next,system-ui,sans-serif}:is(.start-screen,.game-loading,.account-menu){background:radial-gradient(ellipse at 20% 0,#f9eed4,transparent 70%),#fff9eb;border:2px solid #e1d4b6;border-radius:26px;box-shadow:0 22px 80px #163d4e66,inset 0 0 0 5px #fffdf4}:is(.start-screen,.game-loading,.account-menu)::backdrop{background:#153c48a8;backdrop-filter:blur(7px)}:is(.square-dialog,.start-screen,.game-loading,.account-menu) .button,.square-dialog .close-panel,.start-screen .close-panel{border:1px solid #b8cbbb;border-bottom:3px solid #97b4a9;border-radius:14px;background:linear-gradient(#fffef5,#eee7d3);color:#345654;box-shadow:inset 0 1px #fff,0 3px 5px #294d4514;font-weight:750;transition:transform .14s,box-shadow .14s,background .14s}:is(.square-dialog,.start-screen,.game-loading,.account-menu) .button.primary{background:linear-gradient(#a38ed3,#7962b3);color:#fffef8;border-color:#705a9e;border-bottom-color:#594780;text-shadow:0 1px #58457c66}:is(.square-dialog,.start-screen,.game-loading,.account-menu) .button:hover:not(:disabled){transform:translateY(-1px);box-shadow:inset 0 1px #fff6,0 5px 8px #294d4526}:is(.square-dialog,.start-screen,.game-loading,.account-menu) .button:active:not(:disabled){transform:translateY(2px);box-shadow:none}:is(.square-dialog,.start-screen,.game-loading,.account-menu) button:focus-visible{outline:3px solid #278f8a;outline-offset:3px}:is(.square-dialog,.start-screen,.game-loading,.account-menu) button:disabled{opacity:.5;filter:saturate(.5)}:is(.square-dialog,.start-screen,.account-menu) input:not([type=range]),.square-dialog select{background:#fffcf4;color:#294d4b;border:1px solid #a5bcaf;border-radius:10px;box-shadow:inset 0 2px 4px #4563480d}.square-dialog,.square-dialog .town-shell,.square-dialog .town-stage{background:#74c7ce}.square-topbar{background:linear-gradient(#fffdf2f5,#efe5cef2);border-bottom:2px solid #d2c3a4;box-shadow:0 4px 18px #265b5a22;color:#334c48}.square-mode,.square-topbar .ticket-pill,.coin-pill,.xp-meter{color:#596a52;background:#fffaf0;border-color:#d9c6a0;box-shadow:inset 0 1px #fff}.xp-meter b{color:#7760a3}.xp-meter small{color:#536c67}.xp-meter progress{accent-color:#9275c7}.ticket-dot{background:#ad8bd4;box-shadow:0 0 0 3px #e8daf3}.square-dialog :is(.building-panel,.square-settings,.fishing-panel,.objective-panel,.mission-brief,.mission-result){background:linear-gradient(135deg,#fffaf0f8,#efe5d5f5);border:2px solid #d1bd97;border-radius:20px;box-shadow:0 12px 35px #184a4c38,inset 0 0 0 3px #fffdf477;color:#2a4947}.square-dialog :is(.building-panel h3,.mission-result h2,.mission-brief h2,.settings-heading strong){color:#3c5651;font-family:ui-rounded,Avenir Next,system-ui,sans-serif;font-weight:850;letter-spacing:-.035em}.square-dialog :is(.building-panel-kicker,.catch-kicker){color:#8a6aae;letter-spacing:.13em}.square-dialog :is(.building-panel p,.mission-brief p,.mission-result p,.daily-card small,.objective-panel p,.objective-panel small,.aquarium-next){color:#536a63}.square-dialog :is(.daily-card,.shop-item,.inventory-item,.mission-choice,.mini-score,.museum-item,.arcade-level,.aquarium-summary){background:#f7efdf;border:1px solid #d7c8a9;border-radius:13px;box-shadow:inset 0 1px #fff}.square-dialog .daily-card strong{color:#85602e}.square-dialog .inventory-quantity{background:#fef8e7;color:#59614a;border-color:#c9b68a}.square-dialog .announce{background:#e9eee0;border-left-color:#73a999;color:#42635e}.square-dialog :is(.objective-collapse,.objective-tab){color:#3c6259;background:#e5eddb;border-color:#c0cbb2}.square-dialog .objective-tab[aria-selected=true]{background:#d8c9e9;color:#624984}.square-dialog :is(.room-guide,.square-controls,.mission-help,.mission-hud,.station-label,.room-exit,.board-label,.harbor-label){background:#fff8e4ed;color:#42665f;border:1px solid #d2bc91;box-shadow:0 3px 9px #244e4520;text-shadow:none}.room-wall-title{background:#fff4dcf5;border:3px double #b9a27a;color:#446e66;box-shadow:0 4px 7px #293f3620}.room-wall-title span{color:#6e836c}.room-wall-title strong{font-family:ui-rounded,Avenir Next,system-ui,sans-serif;letter-spacing:0;font-weight:850}.square-dialog .fish-catch{background:radial-gradient(ellipse at 50% 20%,#fffdf1,#e8f1df);border:2px solid #a8c7b4;color:#34554d;box-shadow:0 15px 45px #194b4d44,inset 0 0 0 4px #fffff388}.fish-catch #catch-storage{color:#5b7469}.square-dialog .xp-notice{z-index:12;background:#fff3cd;color:#655432;border:1px solid #d3b56b;box-shadow:0 5px 20px #34523d33}.square-dialog .avatar{filter:none}.avatar:before{content:"";position:absolute;left:20%;right:20%;bottom:1%;height:9%;border-radius:50%;background:#214c493d;filter:blur(2px)}.avatar-bob,.avatar-body{position:absolute;inset:0;display:block;pointer-events:none}.avatar-bob{translate:0 3%;transform-origin:50% 97%;animation:harmony-breathe 2.6s ease-in-out infinite;filter:brightness(var(--character-light,1));transition:filter .12s linear}.avatar-body{transform-origin:50% 90%;transform:translateY(var(--stair-y,0px)) rotate(calc(var(--lean,0deg) + var(--stair-roll,0deg))) scale(var(--stair-sx,1),calc(var(--stride-scale,1) * var(--stair-sy,1)));transition:transform .15s ease-out}.avatar[data-stair-motion=true] .avatar-body{transform-origin:50% 97%;transition:none}.avatar-body>img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;user-select:none;-webkit-user-drag:none}.avatar[data-reaction] .avatar-bob{animation:none}.avatar[data-pose=cast] .avatar-body,.avatar[data-pose=cheer] .avatar-body{transform:none}@keyframes harmony-breathe{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.006)}}.motion-paused .avatar-bob,.room-paused .avatar-bob,.square-dialog:has(#square-settings:not([hidden])) .avatar-bob{animation-play-state:paused}.motion-paused .avatar-body{transform:none}.motion-paused .avatar-foot{transform:none!important}.environment-shadow{position:absolute;pointer-events:none;z-index:2;border-radius:50%;background:radial-gradient(ellipse,#28554d38,#28554d26 48%,#28554d00 73%);transform:rotate(17deg)}.world-floor{background-color:#e5d4aa;background-size:430px 430px;box-shadow:inset 0 0 90px #59897825}.world-water{background-color:#389eac;background-size:650px 650px}.shore-foam{position:absolute;left:0;top:0;width:1536px;height:1504px;pointer-events:none;z-index:1;overflow:visible}.shore-foam path{fill:none;stroke:#edfff1;stroke-width:5;stroke-linecap:round;stroke-dasharray:6 10 24 12;opacity:.6;animation:shore-lap 4.5s ease-in-out infinite}@keyframes shore-lap{0%,to{stroke-width:3;stroke-dashoffset:0;opacity:.3}50%{stroke-width:8;stroke-dashoffset:16;opacity:.72}}.ambience-paused .shore-foam path{animation-play-state:paused}@media(prefers-reduced-motion:reduce){.avatar-bob,.shore-foam path{animation:none}.avatar-body{transform:none!important;transition:none}:is(.square-dialog,.start-screen,.game-loading,.account-menu) .button{transition:none}}.interior-scene{background-image:url(assets/gboy-dispatch-room.webp)}.harmony-icon{width:100%;height:100%;display:block;filter:drop-shadow(0 2px 1px #54756026)}.arcade-tile .harmony-icon{width:70%;height:70%;margin:auto}.arcade-card-art>.harmony-icon{width:84px;height:84px;margin:auto}.square-dialog .arcade-card{background:#f8efdc;border-color:#d5c4a3}.square-dialog .arcade-card-art{background:radial-gradient(ellipse,#c6e8db,#e6e4ca);border-radius:14px}.square-dialog .arcade-tile{background:linear-gradient(140deg,#a3c8bc,#548f88);border:2px solid #d0e0c9;border-bottom:4px solid #467e76;border-radius:14px;color:#fff7dd;box-shadow:inset 0 2px 2px #fff7,0 2px 5px #31524c22}.square-dialog .arcade-tile.is-revealed{background:linear-gradient(#fff9e6,#e7d8b7);border-color:#cfb992;color:#506e62}.square-dialog .arcade-tile.is-matched{background:#d9edd5;border-color:#9fbd99;opacity:.8}.square-dialog .arcade-tile.is-current{background:linear-gradient(#b5e7e2,#74bdb8);color:#276c72}.square-dialog .arcade-tile.is-empty{background:#d9ceb6;border-color:#c7b798}.square-dialog .arcade-toolbar,.square-dialog .arcade-status{color:#446a60}.square-dialog .slide-guide{background:#f4e9d0;color:#526c60}.square-dialog .tile-number{background:#fff6dfdb;color:#52694e}.world-floor{background-image:url(assets/gboy-ground.svg)}.world-water{background-image:url(assets/gboy-water.svg)}.square-dialog .square-topbar{background:linear-gradient(#fffdf2f5,#efe5cef2);border-bottom:2px solid #d2c3a4;box-shadow:0 4px 18px #265b5a22}.square-dialog .objective-panel h4{color:#816139}.square-dialog .objective-panel h4 span,.square-dialog .objective-panel li small{color:#5a716c}.square-dialog .objective-claim{background:#75a18e;color:#fffdf2;border-color:#5c8a76;box-shadow:inset 0 1px #fff5}.square-dialog .objective-claim:disabled{background:#d9d5c7;color:#5d6d65;opacity:.65}.square-dialog .aquarium-stock,.square-dialog .aquarium-counts,.square-dialog .aquarium-panel small{color:#60766a}.square-dialog .aquarium-full{color:#956b34}.game-loading p,.start-screen .account-note,.account-menu p,.start-screen .start-intro{color:#61736a}.game-loading progress::-webkit-progress-bar{background:#e6dcc5}.game-loading progress::-webkit-progress-value{background:linear-gradient(90deg,#79b5a7,#ab8bca)}.town-pigeon{background-image:url(assets/gboy-harbor-birds.svg);image-rendering:auto}.avatar-body>img{left:-12.5%;width:125%}.square-dialog .aquarium-next{color:#7c6546!important}.square-dialog .aquarium-full{color:#89602c!important}.town-pigeon.flying{background-position:100% 0;animation:gull-flutter .65s ease-in-out infinite}@keyframes gull-flutter{0%,to{scale:1 .92}50%{scale:1 1.04}}.square-dialog #catch-rarity{color:#647267}.square-dialog #catch-trait{color:#8861a4}.square-dialog #fishing-result,.square-dialog .bait-balance{color:#526d61}.square-dialog .fishing-heading strong{color:#366e62}body:has(#account-menu[open]) .avatar-bob{animation-play-state:paused}.square-dialog:has(.mission-layer:not([hidden])) .objective-panel{display:none}.town-fish{image-rendering:auto}.square-dialog .aquarium-summary{color:#3d7664}.square-dialog .interior-layer{background:radial-gradient(ellipse at 50% 45%,#60857e,#294f50 85%);bottom:0;contain:layout paint}.interior-scene{width:640px;height:500px;background-image:url(assets/gboy-dispatch-room.webp);box-shadow:0 20px 50px #0a242b44;border-radius:15px;overflow:hidden}.interior-heading{position:absolute;top:8px;left:12px;width:fit-content;max-width:calc(100% - 96px);padding:5px 9px;border:1px solid #d3c5a9;border-radius:7px;background:#fff8e7;color:#294951;font:750 14px/1.25 var(--gboy-sans,system-ui);pointer-events:none}.room-guide{bottom:8px;margin:0;width:max-content;font-size:10px;padding:6px 10px;max-width:calc(100% - 20px)}.room-rug{position:absolute;left:216px;top:324px;width:208px;height:96px;border-radius:50%;border:5px double #f0d49a66;background:#608c9540;transform:rotate(-1deg);pointer-events:none;z-index:0;mix-blend-mode:multiply}.room-museum .room-rug{background:#957eaa55;border-color:#69598666}.room-arcade .room-rug{background:#536eac66;border-color:#e2bce5aa}.room-shop .room-rug{background:#bc868e55}.room-raffle .room-rug{background:#b48f3e44}.room-news .room-rug{background:#487c6944}.room-boat .room-rug{background:#356f7e55;width:160px;left:240px;height:75px;top:340px}.room-sconce{position:absolute;top:79px;width:12px;height:26px;border:3px solid #9d8058;border-radius:8px;background:linear-gradient(90deg,#d7a567,#fff4bd,#dbad6f);box-shadow:0 0 16px #ffefb0;z-index:1}.room-sconce.left{left:49px}.room-sconce.right{right:49px}.room-exit{left:236px;bottom:12px;width:168px;font-size:10px;padding:6px 0;z-index:0}.shopkeeper{left:185px;top:106px;width:70px;height:105px;z-index:261}.station-label{font-size:10px;padding:3px 6px;max-width:140px;white-space:normal;text-align:center;line-height:1.2;z-index:600}.raffle-object{font-size:31px}.square-dialog .aquarium-tank{aspect-ratio:3/1}.square-dialog .aquarium-water{inset:14% 7% 23%}.square-dialog .aquarium-swimmer{width:21%;height:auto}.square-dialog .aquarium-panel>.aquarium-tank{width:100%;max-width:490px;margin:9px auto}.square-dialog .building-panel:has(.aquarium-panel){width:min(520px,calc(100% - 24px))}.square-dialog .room-aquarium .aquarium-water{top:14%;bottom:23%}.square-dialog .museum-reader{width:100%;display:block}.square-dialog .museum-subtitle{font-size:12px!important;color:#80664c!important;margin:0 0 10px!important}.museum-page{outline:none;min-height:210px}.museum-page h3{font:750 17px ui-rounded,system-ui;color:#365d57;margin:0 0 10px}.square-dialog .museum-copy{font-family:Georgia,serif;font-size:14px!important;line-height:1.65!important;margin:0!important;color:#425c54!important}.museum-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px;padding-top:12px;border-top:1px solid #ccbda2}.museum-pagination .button{margin:0!important;min-height:42px;font-size:12px!important;padding:7px 12px!important}.museum-page-count{font-size:12px;color:#6b6d5d;white-space:nowrap}.building-panel:has(.museum-reader):not([hidden]){width:min(440px,calc(100% - 24px))}.building-content:has(.museum-reader){display:block}.square-dialog:has(.interior-layer:not([hidden])) .town-shell{visibility:hidden}.square-dialog:has(.interior-layer:not([hidden])) #town-stage *{animation-play-state:paused!important}@media(max-width:600px){.interior-heading{font-size:17px}.museum-page{min-height:0}.square-dialog .museum-copy{font-size:13px!important}.museum-pagination{margin-top:12px}.museum-pagination .button{padding:6px 9px!important}}@media(max-height:500px){.interior-heading{font-size:13px}.room-guide{font-size:9px;padding:3px 8px}.museum-page{min-height:0}.museum-page h3{font-size:15px}}.square-dialog .aquarium-water,.square-dialog .room-aquarium .aquarium-water{inset:29% 5% 18%}.square-dialog .aquarium-swimmer{width:19%}.room-rug,.room-boat .room-rug{left:216px;top:246px;width:208px;height:82px}.shopkeeper{top:74px;z-index:229}.room-wall-plaque{position:absolute;left:188px;top:25px;width:264px;text-align:center;padding:7px 10px;border:3px double #b49c72;border-radius:5px;background:#f9efd8;color:#59796d;font:700 16px Georgia,serif;box-shadow:0 3px 3px #42332633;transform:perspective(500px) rotateX(8deg)}.room-arcade .room-wall-plaque{background:#e7e4ef;color:#665b88}.room-news .room-wall-plaque{background:#e1ecdf;color:#496d58}.room-raffle .room-wall-plaque{background:#fff0d0;color:#8a6939}.room-shop .room-wall-plaque{background:#f2dfe0;color:#805f6b}@media(max-width:600px){.interior-heading{font-size:12px;max-width:calc(100% - 80px)}.interior-scene{border-radius:0}}.square-dialog .museum-reader{display:flex;flex-direction:column;min-height:0;max-height:min(430px,calc(100dvh - 300px))}.square-dialog .building-content:has(.museum-reader){overflow:hidden}.square-dialog .museum-page{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1}.square-dialog .museum-page h3{font-size:17px;letter-spacing:0;line-height:1.25;margin:0 0 10px}.museum-pagination,.museum-subtitle{flex-shrink:0}.museum-pagination{margin-top:12px;padding-top:10px}.square-dialog .museum-subtitle{margin-bottom:8px!important}@media(max-height:500px){.square-dialog .museum-reader{max-height:calc(100dvh - 178px)}.square-dialog .museum-subtitle{display:none}.museum-pagination{margin-top:6px;padding-top:6px}.square-dialog .museum-page h3{font-size:15px}}.square-dialog .building-panel:has(.museum-reader):not([hidden]){height:min(460px,calc(100dvh - 190px));max-height:min(460px,calc(100dvh - 190px));display:flex;flex-direction:column;overflow:hidden}.square-dialog .building-content:has(.museum-reader){display:flex;flex:1;min-height:0;overflow:hidden}.square-dialog .museum-reader{flex:1;height:100%;max-height:100%;min-height:0}.square-dialog .museum-page h3{padding-right:0}@media(max-height:500px){.square-dialog .building-panel:has(.museum-reader):not([hidden]){height:calc(100dvh - 110px);max-height:calc(100dvh - 110px)}}.fish-rarity-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:9px 0}.fish-rarity-tabs .button{text-transform:capitalize;padding:7px 2px!important;font-size:11px!important;min-height:38px}.fish-rarity-tabs [aria-pressed=true],.fish-variant[aria-pressed=true]{background:#d9ece2!important;border-color:#438c83!important;box-shadow:inset 0 0 0 1px #438c83}.fish-variant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:245px;overflow-y:auto;padding:2px}.fish-variant{display:flex;flex-direction:column;align-items:center;min-width:0;padding:5px;border:1px solid #cbbf9f;border-radius:10px;background:#fff8e9;color:#315c54;cursor:pointer}.fish-variant .fish-picture{width:100%;max-width:95px;height:59px}.fish-variant strong{font-size:10px;line-height:1.2}.fish-variant small{font-size:9px;margin-top:4px}.fish-variant.uncollected .fish-picture{opacity:.45}.fish-selection{padding-top:10px}.fish-selection>div>strong{font-size:13px}.fish-selection p{margin:4px 0 8px!important;font-size:11px!important}.fish-transfer-actions,.fish-sale-actions{display:flex;gap:6px;margin:6px 0}.fish-transfer-actions .button,.fish-sale-actions .button{flex:1;font-size:11px!important;padding:7px!important;min-height:38px}.fish-sale-actions .button{background:#eee1f2;color:#624b77;border-color:#c9acd5}.fish-variant:focus-visible{outline:3px solid #438c83;outline-offset:1px}.square-dialog .aquarium-water,.square-dialog .room-aquarium .aquarium-water{inset:28% 7% 27%}@media(max-width:360px){.fish-variant-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:228px}.fish-sale-actions{flex-direction:column}}@media(max-height:500px){.fish-variant-grid{max-height:135px}}.fish-catch::backdrop{background:transparent}.shopkeeper{left:188px;top:20px;width:84px;height:126px;z-index:249}.room-front-wall{position:absolute;inset:0;background:url(assets/gboy-dispatch-room.webp) center/100% 100%;clip-path:polygon(0 85%,35.5% 85%,35.5% 84.5%,40.3% 84.5%,40.3% 100%,59.7% 100%,59.7% 84.5%,64.5% 84.5%,64.5% 87%,100% 85%,100% 100%,0 100%);z-index:900;pointer-events:none}.room-exit{z-index:960}.station-label{z-index:950}.has-notification{position:relative}.has-notification:after{content:"!";position:absolute;right:-5px;top:-6px;width:16px;height:16px;border-radius:50%;background:#dd4255;color:#fff;border:2px solid #fff6e3;font:700 11px/12px system-ui;text-align:center;box-shadow:0 2px 4px #542a2a45;pointer-events:none;z-index:3}.world-object.has-notification:after{right:16%;top:5%;width:23px;height:23px;font-size:16px;line-height:19px}.station-label.has-notification:after{width:12px;height:12px;font-size:8px;line-height:8px;right:-5px;top:-5px}.objective-panel h4.has-notification:after{right:4px;top:-1px}.objective-claim.has-notification:after{width:11px;height:11px;font-size:8px;line-height:7px}.coin-pill{cursor:pointer;font-family:inherit}.daily-bonus-dialog{width:min(360px,calc(100% - 32px));padding:18px;border:2px solid #c5ab7d;border-radius:18px;background:#fff7e7;color:#315950;box-shadow:0 12px 40px #123b4255}.daily-bonus-dialog::backdrop{background:#153f4940}.daily-bonus-dialog header{display:flex;align-items:center;justify-content:space-between;gap:8px}.daily-bonus-dialog h2{font:700 22px Georgia,serif;margin:0 0 12px}.daily-bonus-dialog header button{border:0;background:transparent;font-size:28px;color:#315950;cursor:pointer;min-width:40px;min-height:40px}.daily-bonus-dialog .daily-card{background:#f5ecd8;border:1px solid #d8c5a1}.daily-bonus-dialog .daily-card strong{color:#815b2e}.daily-bonus-dialog .daily-card small{color:#5e746a}.daily-bonus-dialog .button{background:#387f73;color:#fff;border-color:#2e6d63}.daily-bonus-dialog .button:disabled{opacity:.6;cursor:default}.world-object.has-notification,.station-label.has-notification,.building.has-notification{position:absolute}.square-dialog .square-topbar :is(.coin-pill,.ticket-pill,.gem-pill,.xp-meter,.settings-toggle,.exit-square){box-sizing:border-box;height:36px;min-height:36px;padding:4px 10px;border-width:1px;border-radius:13px;display:flex;align-items:center;margin-top:0;margin-bottom:0}.square-dialog .square-topbar .xp-meter{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:108px}.square-dialog .xp-meter>div{width:100%;line-height:1.1}.square-dialog .xp-meter progress{height:4px;margin:0}.square-dialog .settings-toggle,.square-dialog .exit-square{line-height:1;font-size:12px!important}.gem-pill{gap:5px;border:1px solid #d9c6a0;background:#fffaf0;color:#765b95;font-weight:750;white-space:nowrap}.gem-icon{width:22px;height:22px}.gem-pill button{border:0;border-left:1px solid #dac9e8;background:transparent;color:#765b95;font:700 23px/1 system-ui;padding:0 0 0 6px;cursor:pointer;min-width:23px;height:26px}.square-dialog .objective-collapse{width:30px;height:30px;min-height:30px;display:grid;place-items:center;border:1px solid #b8cbbd;border-radius:9px;background:linear-gradient(#fbfff6,#dce9d9);box-shadow:0 2px #adbeae;padding:0}.objective-collapse svg{transition:transform .15s}.objective-collapse[aria-expanded=true] svg{transform:rotate(180deg)}.gem-store-dialog{width:min(650px,calc(100% - 24px));max-height:calc(100dvh - 28px);overflow:auto}.gem-preview-note,.gem-purchase-status{font-size:12px;color:#62776d}.gem-packages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.gem-package{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;background:#fffaf0;border:1px solid #d9c4a3;border-radius:13px;overflow:hidden;padding:0 9px 12px}.gem-package-art{width:calc(100% + 18px);background:radial-gradient(ellipse at center,#eee0f8,#dfeee1 75%);aspect-ratio:1/1;display:grid;place-items:center}.gem-package-art svg{width:100%;height:100%;max-height:170px}.gem-package h3{font:700 14px Georgia,serif;min-height:32px;margin:9px 0 3px}.gem-package strong{color:#775497;font-size:14px}.gem-package-price{font-size:18px;font-weight:750;margin:8px 0}.gem-package .button{width:100%;min-height:36px;padding:7px;font-size:12px}.gem-purchase-status{min-height:34px;margin-bottom:0}.shopkeeper{top:45px}.room-shop .room-wall-plaque{left:330px;right:55px;font-size:15px;top:40px}@media(max-width:600px){.square-dialog .square-topbar :is(.coin-pill,.ticket-pill,.gem-pill,.xp-meter){padding:3px 6px;height:34px;min-height:34px}.square-dialog .square-balances{gap:5px}.square-dialog .square-topbar .xp-meter{min-width:80px;max-width:none;padding:3px 5px}.square-dialog .xp-meter small{font-size:7px}.square-dialog .gem-icon{width:18px;height:18px}.gem-pill{gap:3px;font-size:12px}.gem-pill button{padding-left:3px;min-width:19px}.square-dialog .settings-toggle,.square-dialog .exit-square{height:34px;min-height:34px;padding:4px 8px}.square-dialog .square-topbar .ticket-pill{font-size:9px}.square-dialog #coin-count{font-size:18px}.gem-packages{grid-template-columns:repeat(2,minmax(0,1fr))}.gem-package-art{max-height:150px}.gem-package h3{min-height:16px}}@media(prefers-reduced-motion:reduce){.objective-collapse svg{transition:none}}.gem-package-art canvas{width:100%;height:100%;max-height:170px;object-fit:contain;padding:8px;box-sizing:border-box}.dock-npc-interact{position:absolute;border:0;background:transparent;cursor:default;padding:0;pointer-events:auto;box-shadow:none}.dock-npc-interact span{position:absolute;left:50%;top:100%;transform:translate(-50%);white-space:nowrap;color:#355f57;background:#fff4d9ed;border:1px solid #d8bd85;border-radius:5px;padding:3px 5px;font:600 10px system-ui;pointer-events:none}.dock-npc-interact.is-near{cursor:pointer}.dock-npc-interact.is-near span{background:#fff7d0;box-shadow:0 0 0 2px #d7bd7f}.dock-npc-interact:focus-visible{outline:2px solid #ffe49e;border-radius:18px}.fishing-guide-dialog{width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px)}.square-dialog .fishing-guide-dialog .museum-reader{height:min(380px,calc(100dvh - 160px));max-height:none}.fishing-guide-dialog h2{font-size:20px}.fishing-guide-dialog .museum-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px}.fishing-guide-dialog .museum-page-count{font-size:12px}.square-dialog .fishing-guide-dialog .museum-copy{color:#45685c;font-size:14px!important}.square-dialog .square-topbar{min-height:0;padding-top:max(5px,env(safe-area-inset-top));padding-bottom:5px;gap:12px}.square-dialog .square-wordmark{width:150px;max-height:42px;object-fit:contain;display:block}.square-dialog .square-mode{display:none}.square-dialog .square-brand h2{line-height:1}.ticket-icon{width:24px;height:20px;flex:none}.square-dialog .ticket-pill{gap:6px}.square-dialog #gem-store-toggle{border-radius:5px}.square-dialog #gem-store-toggle.pointer-focus:focus{outline:none}.square-dialog #gem-store-toggle:focus:not(.pointer-focus){outline:2px solid #278f8a;outline-offset:2px}.square-dialog .objective-panel{top:calc(var(--game-header-height,60px) + 8px);max-height:calc(100dvh - var(--game-header-height,60px) - 44px)}.square-dialog .objective-panel>header{padding:4px 10px;min-height:32px;box-sizing:border-box}.square-dialog .objective-collapse{width:23px;height:23px;min-height:23px;border-radius:6px;box-shadow:0 1px #adbeae}.square-dialog .objective-collapse svg{width:15px;height:15px}.square-dialog #objective-list{max-height:calc(100dvh - var(--game-header-height,60px) - 84px)}@media(pointer:coarse){.square-dialog .objective-collapse{width:44px;height:44px;min-height:44px}.square-dialog .objective-panel li{min-height:44px}.square-dialog .objective-claim{min-width:44px;min-height:44px}}.square-dialog .building-panel{max-height:calc(100dvh - var(--game-header-height,60px) - 54px);bottom:36px;width:min(440px,calc(100% - 24px))}.square-dialog .building-content:has(.shop-list){display:block}.square-dialog .shop-list{gap:7px}.square-dialog .shop-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px}.square-dialog .shop-item>.inventory-picture{width:32px;height:32px;margin:0}.square-dialog .shop-item strong{font-size:13px;line-height:1.25}.square-dialog .shop-item span{font-size:11px;margin-top:3px}.square-dialog .shop-item>.button{width:auto;min-height:38px;padding:6px 8px;font-size:11px;white-space:nowrap}.square-dialog .building-content:has(.shop-list)>p{margin-top:9px}.square-dialog .shopkeeper{left:288px;top:56px;width:64px;height:96px;z-index:203}.square-dialog .room-shop .room-wall-plaque{left:210px;right:auto;top:13px;width:220px;font-size:13px;padding:5px}.square-dialog .room-arcade .room-wall-plaque{top:5px;padding:4px 8px;font-size:13px}@media(max-width:600px){.square-dialog .square-topbar{gap:5px;padding-left:8px;padding-right:8px}.square-dialog .square-wordmark{width:122px;max-height:34px}.square-dialog .ticket-icon{width:18px;height:16px}.square-dialog .shop-item{gap:6px;padding:7px;grid-template-columns:28px minmax(0,1fr) auto}.square-dialog .shop-item>.inventory-picture{width:28px;height:28px}.square-dialog .shop-item strong{font-size:12px}.square-dialog .shop-item>.button{font-size:10px;padding:5px 6px}.square-dialog .building-panel{bottom:30px;max-height:calc(100dvh - var(--game-header-height,90px) - 44px)}}.square-dialog .cargo-row{grid-template-columns:30px minmax(0,1fr) 94px;gap:5px;margin:6px 0;min-height:40px}.square-dialog .cargo-row .inventory-picture{width:30px;height:30px}.square-dialog .cargo-stepper output{min-width:20px}.square-dialog .cargo-stepper{gap:3px}.square-dialog .cargo-stepper button{background:#f8f2df;color:#34675e;border-color:#a4bcb0;box-shadow:0 2px #a5b6a5}.square-dialog .mission-choice .demo-note{font-size:11px!important;margin-top:5px}.square-dialog .building-content:has(.mission-choice)>.button{min-height:36px;padding:5px 9px;font-size:12px}.sitting-art,.avatar.is-seated .avatar-bob{display:none}.avatar.is-seated .sitting-art{display:block;position:absolute;width:53px;height:66px;left:50%;bottom:0;transform:translate(-50%)}.station-label[hidden]{display:none!important}.station-label{transform:translate(-50%,-100%);pointer-events:none}.square-dialog .building span,.board-label,.harbor-label,.dock-npc-interact span{display:none!important}.nearby-name{position:absolute;z-index:6;pointer-events:none;padding:4px 9px;border:1px solid #cbb482;border-radius:7px;background:#fff8e8;color:#345e56;font:650 11px system-ui;white-space:nowrap;box-shadow:0 2px 6px #21443c24;transform:translate(-50%,-100%)}.nearby-name[hidden]{display:none}.dock-npc-interact:focus{outline:none!important;box-shadow:none!important}.dock-npc-interact.keyboard-focus:focus{outline:2px solid #ffe49e!important;outline-offset:3px}.square-dialog .fishing-guide-dialog{position:fixed;margin:0;width:340px;max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--game-header-height,60px) - 20px);box-sizing:border-box;inset:auto;padding:16px}.square-dialog .fishing-guide-dialog::backdrop{background:transparent}.square-dialog .fishing-guide-dialog .museum-reader{height:min(320px,calc(100dvh - 220px))}.square-dialog .fishing-guide-dialog h2{font-size:17px}@media(max-width:600px){.square-dialog .fishing-guide-dialog{width:calc(100vw - 24px);max-height:43dvh;padding:12px}.square-dialog .fishing-guide-dialog .museum-reader{height:calc(43dvh - 75px)}.square-dialog .fishing-guide-dialog .museum-copy{font-size:13px!important}}.square-dialog .mission-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}.square-dialog .mission-options .button{width:100%;min-height:60px;margin:0}.mission-intro{flex-basis:100%}.fishing-guide-dialog.pointer-open button:focus{outline:none!important;box-shadow:0 3px #a5b6a5!important;opacity:1}.fishing-guide-dialog button:focus-visible{outline:2px solid #347e72;outline-offset:3px}.world-water{animation:sea-drift-smooth 44s ease-in-out infinite;background-size:650px 650px}@keyframes sea-drift-smooth{0%,to{background-position:0 0}25%{background-position:23px 10px}50%{background-position:38px 28px}75%{background-position:12px 35px}}.world-water:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 30% 25%,#ddfff42e,transparent 45%),radial-gradient(ellipse at 70% 70%,#c6fff327,transparent 40%);background-size:470px 360px;animation:sea-light 31s ease-in-out infinite;pointer-events:none}@keyframes sea-light{0%,to{opacity:.35;transform:translate(0)}50%{opacity:.8;transform:translate(24px,14px)}}.ambience-paused .world-water:after,.square-dialog:has(.interior-layer:not([hidden])) .world-water:after,.square-dialog:has(#square-settings:not([hidden])) .world-water:after{animation-play-state:paused}.town-pigeon.fluttering{animation:perch-flutter .17s steps(1) infinite}@keyframes perch-flutter{0%,to{background-position:0 0;scale:1 1}50%{background-position:100% 0;scale:1 1.04}}.town-crab{position:absolute;width:18px;height:auto;pointer-events:none}.town-crab[hidden]{display:none}.square-dialog .building-panel:has(.side-game){width:min(800px,calc(100% - 24px));max-height:calc(100dvh - var(--game-header-height,60px) - 28px)}.square-dialog .side-game-content{display:block}.side-game{width:100%}.side-game canvas{display:block;width:100%;max-height:48dvh;aspect-ratio:1.8;object-fit:contain;background:#176d83;border:2px solid #c3ad80;border-radius:12px;touch-action:none}.side-game-help{font-size:13px!important;margin:0 0 9px!important}.side-game-help small{font-size:11px;white-space:nowrap}.side-game-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:8px}.side-game-toolbar output{flex:1;font-size:13px;font-weight:750}.square-dialog .side-game-toolbar .button{font-size:12px;min-height:32px;padding:5px 10px}.side-game-controls{display:flex;gap:12px;justify-content:center;margin-top:10px}.side-game-controls .button{min-width:64px;min-height:44px;touch-action:none;user-select:none}.side-game-status{font-size:12px!important;min-height:17px;margin:6px 0!important}@media(max-width:600px){.square-dialog .mission-options{grid-template-columns:1fr}.square-dialog .side-game-help{font-size:11px!important}.side-game-toolbar{gap:5px}.side-game-toolbar output{font-size:11px}.side-game-controls{margin-top:6px}.square-dialog .side-game-controls .button{padding:5px 12px}.square-dialog .building-panel:has(.side-game){bottom:12px}}@media(prefers-reduced-motion:reduce){.world-water,.world-water:after,.town-pigeon.fluttering{animation:none!important}}.square-dialog .room-raffle .room-wall-plaque{top:5px;padding:4px 8px;font-size:13px}.fishing-guide-dialog.pointer-open header button:focus{box-shadow:none!important}.economy-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 12px}.economy-tabs button{border:1px solid #a8c2b5;border-radius:14px;padding:9px 13px;min-height:42px;background:#fff9e9;color:#375b58;font:inherit;font-weight:750;cursor:pointer}.economy-tabs button[aria-pressed=true]{background:#477f7c;color:#fff6df;border-color:#477f7c}.wallet-line,.leaderboard-own{padding:10px 14px;background:#e8ead6;border-radius:13px;font-weight:750}.economy-intro,.gem-earn-guide{font-size:14px;line-height:1.5}.gem-earn-guide{padding:13px;border:1px solid #cdbbdf;background:#ede3f4;border-radius:14px}.shop-item small{display:block;font-size:12px;line-height:1.4;margin-top:5px}.shop-item:has(small){align-items:center}.shop-item .button{white-space:normal}.wardrobe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wardrobe-card{display:flex;flex-direction:column;gap:8px;align-items:stretch;border:1px solid #cfbfa1;border-radius:18px;padding:12px;background:#fff7e6;text-align:center}.wardrobe-card p{font-size:12px;line-height:1.4;margin:0 0 auto}.wardrobe-card .button{font-size:13px;padding:9px 7px}.wardrobe-preview{position:relative;height:116px;border-radius:12px;background:radial-gradient(ellipse at 50% 85%,#b8d6ca 0,transparent 55%)}.wardrobe-preview img{position:absolute;height:100px;width:auto;left:50%;bottom:8px;transform:translate(-50%);z-index:2}.wardrobe-preview .aura-effect{width:75px;left:calc(50% - 37.5px);bottom:4px;height:30px}.aura-effect{position:absolute;left:-12%;width:124%;bottom:-3px;height:25px;pointer-events:none;z-index:0;color:var(--aura-color);border:2px solid currentColor;border-radius:50%;box-shadow:0 0 9px 2px currentColor;opacity:.8;animation:aura-breathe 3.8s ease-in-out infinite}.aura-effect i{position:absolute;inset:3px;border:1px solid currentColor;border-radius:50%}.aura-effect b{position:absolute;font-size:12px;line-height:1;top:-6px;left:0;text-shadow:0 0 4px currentColor}.aura-effect b:nth-of-type(2){left:auto;right:-2px;top:3px}.aura-effect b:nth-of-type(3){left:60%;top:-12px}.aura-seafoam b,.aura-sunset b{display:none}.aura-pearl b{font-size:0;border:2px solid #effbff;background:#b3d1f4;border-radius:50%;width:6px;height:6px}.aura-royal{border-color:#d4b5f3;box-shadow:0 0 10px #e3c073}.aura-royal i{inset:-5px;border:2px solid #f2cd74}.avatar.is-seated>.aura-effect{bottom:-5px}.motion-paused .aura-effect,.room-paused .aura-effect,.square-dialog:has(#square-settings:not([hidden])) .aura-effect,body:has(.ad-preview[open]) .aura-effect{animation-play-state:paused}@keyframes aura-breathe{50%{opacity:.55;filter:brightness(1.2)}}.leaderboard-list{list-style:none;padding:0}.leaderboard-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #d7c5a4;font-size:15px}.leaderboard-row span{flex-shrink:0}.ad-preview-trigger{margin-top:12px;font-size:13px!important}.ad-preview{box-sizing:border-box;width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 28px);overflow:auto;border:3px solid #d6c49a;border-radius:25px;padding:24px;color:#385956;background:#fff7e6;text-align:center;box-shadow:0 20px 70px #163e4366}.ad-preview::backdrop{background:#163e43bb}.ad-preview h2{font-size:24px;margin:15px 0}.ad-preview-badge{font-size:11px;font-weight:800;letter-spacing:1.2px;color:#8a619f}.ad-preview-scene{position:relative;height:110px;border-radius:18px;background:linear-gradient(#98ded5 60%,#4eaaa6 60%,#287e8d);font-size:45px;color:#fff0b0;overflow:hidden}.ad-preview-scene span{position:absolute;bottom:3px;left:0;width:100%;color:#e5fff5;font-size:65px;line-height:45px}.ad-preview-scene i{position:absolute;right:40px;top:42px;font-size:25px;color:#e6b4ee}.ad-example{font-weight:700}.ad-countdown{display:block;font-size:20px;margin:10px}.ad-preview progress{width:100%;height:12px;accent-color:#559b90}.ad-preview .demo-note{font-size:12px;line-height:1.5}.ad-preview .button{min-height:44px}.ad-preview:focus{outline:none}@media(max-width:600px){.wardrobe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wardrobe-card{padding:8px}.economy-tabs button{font-size:12px;flex:1 1 auto}.leaderboard-row{font-size:13px;gap:5px}.wallet-line{font-size:14px}}@media(prefers-reduced-motion:reduce){.aura-effect{animation:none}}@media(max-width:380px){.square-dialog .square-balances{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,.8fr) minmax(0,1.1fr) minmax(0,1.2fr);gap:4px;min-width:0;width:100%}.square-dialog .square-topbar :is(.coin-pill,.ticket-pill,.gem-pill,.xp-meter){min-width:0;width:100%;padding:3px 4px;gap:3px;justify-content:center}.square-dialog .square-topbar .xp-meter{min-width:0;padding:3px 4px}.square-dialog .coin-icon,.square-dialog .ticket-icon,.square-dialog .gem-icon{width:16px;height:16px;flex-shrink:0}.square-dialog #coin-count,.square-dialog #ticket-count,.square-dialog #gem-count{font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis}.square-dialog .ticket-pill>span{font-size:0;min-width:0;overflow:hidden}.square-dialog .ticket-pill>span>#ticket-count{display:block}.square-dialog .gem-pill button{min-width:17px;padding-left:2px;font-size:20px}.square-dialog .xp-meter small{font-size:6px}.square-dialog #player-level{font-size:9px}}.ad-preview .demo-note{color:#536b65;border-left-color:#b499c8;background:transparent}.ad-preview .button{color:#375c56;background:linear-gradient(#fffdf3,#e9ebd6);border:1px solid #a5c1b7;border-radius:14px;box-shadow:0 3px #95b2a6;font-weight:750}.ad-preview .button:focus-visible{outline:3px solid #8063a5;outline-offset:3px}#start-screen>*{flex-shrink:0}#start-screen{width:min(540px,calc(100vw - 24px));padding:28px;border-radius:28px;color:#345753;background:linear-gradient(135deg,#fff9e9,#f0eddb);border:3px solid #ddcea9;box-shadow:0 20px 70px #153c4266}#start-screen[open]{display:flex;flex-direction:column;gap:12px}#start-screen [hidden]{display:none!important}#start-screen .start-close{position:absolute;right:16px;top:16px;min-height:36px;padding:7px 12px;font-size:13px}#start-screen .start-logo{width:230px;max-width:65%;height:auto;margin:10px auto 0}#start-screen #start-title{font-size:27px;line-height:1.15;margin:8px 0 0;text-align:center}#start-screen .start-intro{text-align:center;font-size:15px;line-height:1.55;margin:0 0 5px;color:#526c66}#start-screen #account-status{font-size:13px;line-height:1.45;margin:0;padding:10px 12px;border-radius:12px;background:#e6ecdc;color:#526346}#start-screen #signed-in{padding:18px;border:1px solid #cfbddd;border-radius:18px;background:#f1eaf7}#start-screen #player-name{font-weight:750;margin:0 0 12px;font-size:18px}#start-screen #signed-in .button{min-height:42px;margin:3px 5px 0 0;padding:10px 15px;font-size:14px}#start-screen .guest-button{order:5;width:100%;min-height:44px;margin:3px 0 0;background:#fffaf0;color:#315d57;border:1px solid #9fbeb2;box-shadow:0 3px #a7bdaf;font-size:15px}#start-screen .guest-save-note{order:7;text-align:center;margin:0}#start-screen .guest-access-form{order:6;margin:0}#start-screen #account-forms{order:4}#start-screen #test-account-note{order:8;font-size:11px;color:#6c7262;margin:0;padding-top:8px;border-top:1px solid #ddcfb3}#start-screen .account-note{font-size:12px;line-height:1.5;color:#596e68}#start-screen .account-tabs{justify-content:center}#start-screen .start-privacy{order:9;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:4px 0 0;padding-top:10px;border-top:1px solid #d6c8aa;font-size:11px;color:#60706a}#start-screen .start-privacy a{color:#356b66;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:3px}#start-screen .start-privacy a:hover{color:#704c90}#start-screen input{background:#fffdf5;color:#345753;border:1px solid #9bb6ac;border-radius:9px}#start-screen #auth-form{margin-top:12px}#start-screen .account-links a{color:#356b66}.room-resident{overflow:visible}.room-resident>.resident-portrait{width:100%;height:100%;object-fit:contain;transform-origin:50% 100%;animation:resident-breathe 4.2s ease-in-out infinite}.museum-stone-statue{filter:grayscale(1) saturate(0) contrast(.78) brightness(.88) drop-shadow(0 4px 3px #25323544)}.square-dialog .shopkeeper{left:285px;top:52px;width:70px;height:118px;z-index:203;object-fit:contain}.resident-heading{display:flex;align-items:center;gap:16px;margin-bottom:12px}.resident-heading>.resident-portrait{width:78px;height:110px;object-fit:contain;flex:none}.resident-heading h3{font-size:19px;margin:0 0 4px}.resident-heading p{font-size:12px!important;margin:4px 0!important}.resident-quote{font-style:italic;color:#7b6490!important}.resident-reader .museum-page{max-height:35vh;overflow:auto}.resident-reader h4{margin:0 0 8px;font-size:18px}.shop-welcome{margin:0 0 16px;padding:10px 12px;border:1px solid #cdbdde;border-radius:13px;background:#f0e9f5}.shop-welcome>summary{cursor:pointer;font-size:13px;font-weight:750;color:#69517d;min-height:26px}.shop-welcome .resident-reader{margin-top:10px}.shop-greeting{font-size:13px!important;color:#655c73!important}.room-paused .room-resident img,.motion-paused .room-resident img{animation-play-state:paused}@keyframes resident-breathe{50%{transform:translateY(-1.2px) scaleY(1.015)}}@media(prefers-reduced-motion:reduce){.room-resident>.resident-portrait{animation:none}}@media(max-width:600px){#start-screen{padding:20px;gap:10px!important}#start-screen #start-title{font-size:23px}#start-screen .start-logo{width:190px;margin-top:18px}#start-screen .start-intro{font-size:13px}.resident-heading{gap:10px}.resident-heading>.resident-portrait{width:58px;height:85px}.resident-heading h3{font-size:17px}.resident-reader .museum-page{max-height:30vh}.resident-reader .museum-pagination{gap:5px}}.square-dialog .aquarium-tank{aspect-ratio:1902/827}.square-dialog .aquarium-water,.square-dialog .room-aquarium .aquarium-water{inset:30% 5.2% 14%;border-radius:0;overflow:hidden}.aquarium-frame{position:relative;z-index:0}.aquarium-fish-back{z-index:1}.aquarium-fish-front{z-index:3}.aquarium-depth{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.aquarium-middle{z-index:2}.aquarium-foreground{z-index:4}.aquarium-glass{position:absolute;inset:20% 4.8% 13%;z-index:5;pointer-events:none;box-shadow:inset 4px 0 5px #dfffff33,inset -4px 0 5px #1a6a7433;background:linear-gradient(115deg,transparent 8%,#e9ffff0d 9%,transparent 18%,transparent 81%,#e9ffff0b 83%,transparent 87%)}.square-dialog .aquarium-swimmer{animation:reef-swim var(--swim-time) linear var(--swim-delay) infinite}.aquarium-fish-back .aquarium-swimmer{opacity:.74;filter:saturate(.75)}.aquarium-swimmer>.fish-picture{transform:scaleX(1);animation:reef-turn var(--swim-time) steps(1,end) var(--swim-delay) infinite;aspect-ratio:2/1}.fish-picture{aspect-ratio:2/1}.fish-accessory{filter:drop-shadow(0 1px .6px #19364044)}@keyframes reef-swim{0%,to{transform:translate(0)}48%,52%{transform:translate(var(--swim-travel),-9%)}}@keyframes reef-turn{0%{transform:scaleX(1)}50%{transform:scaleX(-1)}to{transform:scaleX(1)}}.room-paused .aquarium-swimmer>.fish-picture,.motion-paused .aquarium-swimmer>.fish-picture,.square-dialog:has(#square-settings:not([hidden])) .aquarium-swimmer>.fish-picture{animation-play-state:paused}@media(prefers-reduced-motion:reduce){.square-dialog .aquarium-swimmer,.aquarium-swimmer>.fish-picture{animation:none}}.square-dialog .building-panel:not([hidden]){display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}.square-dialog .building-panel-head{flex:0 0 auto}.square-dialog #building-content{display:block;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0 5px 16px 0;scrollbar-gutter:stable}.square-dialog #building-content>*{flex-shrink:0}.square-dialog .shop-item{grid-template-columns:32px minmax(0,1fr) auto}.shop-item small{display:block;font-size:11px;line-height:1.4;margin-top:4px}.square-dialog .wardrobe-card p,.square-dialog .holding-row p{font-size:12px;line-height:1.4}.square-dialog .gem-earn-guide{margin-bottom:6px}.game-shortcuts{position:absolute;right:max(10px,env(safe-area-inset-right));top:calc(var(--game-header-height,60px) + 12px);z-index:15;display:grid;gap:9px}.game-shortcuts button{position:relative;display:flex;flex-direction:column;align-items:center;width:64px;padding:2px 2px 4px;border:1px solid #b69c6e;border-radius:15px;background:linear-gradient(#fff8e6,#ddd1ae);box-shadow:inset 0 2px 2px #fff,0 3px #9b8660,0 4px 9px #244d433d;color:#355e57;font:700 10px system-ui;cursor:pointer}.game-shortcuts img{width:48px;height:48px;object-fit:contain}.game-shortcuts button:focus-visible{outline:3px solid #7b60a0;outline-offset:3px}.square-dialog .objective-panel{right:86px;max-width:calc(100vw - 100px)}.square-dialog .objective-panel.is-collapsed{display:none}.square-dialog .building-panel{z-index:16}.square-dialog .energy-pill{min-width:140px;width:150px;height:36px;padding:5px 9px;border:1px solid #a4c1b5;border-radius:13px;background:#fffaf0;color:#376d67;box-sizing:border-box}.energy-top{display:flex;align-items:center;gap:7px;font-size:10px;line-height:12px;white-space:nowrap}.energy-count{margin-left:auto;font-weight:750}.energy-timer{font-size:9px;font-variant-numeric:tabular-nums}.energy-track{height:8px;overflow:hidden;border:1px solid #73aba6;border-radius:7px;background:#d5e4dc;margin-top:4px}.energy-fill{display:block;height:100%;border-radius:7px;background:repeating-radial-gradient(ellipse at 10px -2px,#a4f4ed 0 3px,#39aaa7 4px 9px,#6ed9ce 10px 17px);background-size:46px 13px;animation:bubble-water 4s linear infinite;transition:width .3s}.motion-paused .energy-fill{animation-play-state:paused}@keyframes bubble-water{to{background-position:46px 0}}.holdings-intro,.character-summary p{margin:0 0 12px!important}.holdings-panel h4{font-size:17px;margin:12px 0 8px}.square-dialog .small-copy{font-size:12px!important;line-height:1.5}.holding-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:9px;align-items:center;padding:11px 0;border-bottom:1px solid #d8c6a3}.holding-row>svg{width:48px;height:48px}.holding-row>.fish-picture{width:58px;height:40px;aspect-ratio:auto}.holding-row strong{display:block;font-size:13px}.holding-row small{display:block;font-size:11px;line-height:1.4;margin-top:4px}.holding-row .button{font-size:11px!important;padding:7px!important;min-height:38px;max-width:135px;white-space:normal}.holding-actions{display:flex;gap:4px}.style-controls{display:flex;flex-wrap:wrap;gap:7px}.style-controls .button{font-size:12px!important}.holdings-status{font-size:12px!important;margin-top:12px!important;color:#695286!important}.active-boosts{font-size:12px;margin-top:12px}.active-boosts p{padding:6px;background:#ece5f3;border-radius:7px;font-size:12px!important}.apparel-effect{position:absolute;width:76%;height:42%;left:16%;top:-15%;z-index:4;pointer-events:none;filter:drop-shadow(0 1px 1px #385a4a55)}.apparel-effect>svg{width:100%;height:100%;overflow:visible}.avatar.is-seated>.apparel-effect{top:-18%}@media(max-width:900px){.square-dialog .square-topbar{flex-wrap:wrap}.square-dialog .square-balances{order:2;width:100%;display:grid;grid-template-columns:minmax(110px,1.4fr) repeat(3,minmax(0,1fr)) minmax(75px,1.2fr);gap:5px}.square-dialog .energy-pill{width:100%;min-width:0}.square-dialog .square-balances>*{min-width:0}.square-dialog .energy-top{font-size:9px;gap:3px}.energy-timer{font-size:8px}}@media(max-width:600px){.game-shortcuts{gap:8px;right:8px}.game-shortcuts button{width:53px;font-size:9px;border-radius:12px}.game-shortcuts img{width:39px;height:39px}.square-dialog .objective-panel{right:70px;max-width:calc(100vw - 82px)}.square-dialog .square-balances{grid-template-columns:1.3fr repeat(3,minmax(0,1fr));gap:4px}.square-dialog .square-balances .xp-meter{grid-column:1/-1;height:19px;min-height:19px;display:flex;flex-direction:row;gap:7px;padding:2px 5px}.square-dialog .xp-meter>div{width:auto;flex-shrink:0}.square-dialog .xp-meter progress{flex:1}.square-dialog .energy-pill{height:34px;min-height:34px;padding:4px 5px}.energy-top strong{font-size:8px}.energy-top{gap:2px}.energy-count,.energy-timer{font-size:8px}.holding-row{grid-template-columns:43px minmax(0,1fr);gap:7px}.holding-row>.fish-picture{width:43px}.holding-row>svg{width:38px;height:38px}.holding-row>.holding-actions,.holding-row>.button{grid-column:2;justify-self:start}.square-dialog .shop-item{grid-template-columns:28px minmax(0,1fr)}.square-dialog .shop-item>.button{grid-column:2;justify-self:start}.square-dialog .shop-item>.inventory-picture{grid-row:1/3}.square-dialog .economy-tabs button{flex:1 1 70px}}@media(prefers-reduced-motion:reduce){.energy-fill{animation:none;transition:none}}.square-dialog .square-topbar{z-index:20}@media(max-width:380px){.square-dialog .square-balances{grid-template-columns:1.4fr .85fr .7fr 1.15fr}.square-dialog .gem-pill{gap:2px}.square-dialog .gem-pill button{min-width:15px;font-size:18px}.square-dialog #gem-count{font-size:11px}}.square-dialog:has(#square-settings:not([hidden])) .energy-fill{animation-play-state:paused}.square-dialog #coin-count{font-family:ui-rounded,Avenir Next,system-ui,sans-serif;font-size:16px;font-weight:650;letter-spacing:0;font-variant-numeric:tabular-nums}.square-dialog .settings-heading{grid-column:1/-1;order:-2}.square-dialog .account-in-settings{order:-1}.square-dialog .settings-heading strong{font-size:15px}#account-menu-identity{display:grid;gap:8px;overflow-wrap:anywhere}.square-dialog .aquarium-tank{aspect-ratio:350/178}.aquarium-frame{width:100%;height:100%;object-fit:fill}.username-dialog{width:min(430px,calc(100% - 28px));box-sizing:border-box;background:#fff8e8;color:#345c57;border:3px solid #cdbd94;border-radius:24px;padding:25px}.username-dialog::backdrop{background:#153d49c9}.username-dialog h2{font:800 27px ui-rounded,system-ui;margin:0 0 12px}.username-dialog p{line-height:1.5}.username-dialog form{display:grid;gap:12px}.username-dialog label{font-weight:750}.username-dialog input{padding:12px;font:18px system-ui;border:2px solid #94b8a8;border-radius:12px;width:100%;box-sizing:border-box;background:#fffef8;color:#274e49}.username-dialog form>div{display:flex;justify-content:space-between;gap:10px}.username-status{color:#a7434f;min-height:1em;margin:0}.username-dialog small{color:#546e68}.room-inspect-hit{position:absolute;background:transparent;border:0;padding:0;cursor:pointer;box-shadow:none}.room-inspect-hit:focus-visible{outline:2px solid #b38bcd;border-radius:20px}.room-inspect-hit:focus:not(:focus-visible){outline:none}.room-inspect-hit[aria-disabled=true]{cursor:default}@media(max-width:600px){.square-dialog #coin-count{font-size:14px}}@media(max-width:380px){.square-dialog #coin-count{font-size:12px}}.holdings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.holding-tile{position:relative;min-width:0;border:1px solid #cdbb98;border-radius:14px;padding:9px 5px;background:linear-gradient(#fff9e9,#efe3c9);box-shadow:inset 0 2px #fffdf5,0 2px #bbaa85;color:#395c57;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer}.holding-tile>svg,.holding-tile>.fish-picture{width:60px;height:55px;max-width:100%}.holding-tile strong{font:700 11px/1.3 system-ui;text-align:center;overflow-wrap:anywhere}.holding-tile small{font-size:9px;line-height:1.3}.item-quantity{position:absolute;right:5px;top:5px;background:#fff7e5e8;border-radius:8px;padding:2px 4px;font:750 11px system-ui}.holding-tile:focus-visible{outline:3px solid #38958c}.equipped-tag{color:#795699}.item-detail-dialog{width:min(370px,calc(100% - 24px));box-sizing:border-box;padding:20px;border:3px solid #cbbb98;border-radius:24px;background:#fff8e8;color:#395c57;max-height:calc(100dvh - 30px);overflow:auto}.item-detail-dialog::backdrop{background:#163e48a8}.item-detail-dialog header{display:flex;align-items:start;justify-content:space-between;gap:12px}.item-detail-dialog h3{font:750 21px/1.2 ui-rounded,system-ui;margin:5px 0}.item-detail-dialog p{font:14px/1.5 system-ui}.item-detail-art{height:120px;display:grid;place-items:center}.item-detail-art>svg{width:100px;height:100px}.item-detail-art>.fish-picture{width:155px;height:95px}.item-detail-count{text-align:center;margin:0;font-weight:750!important}.item-detail-actions{display:flex;gap:8px;margin-top:15px}.item-detail-dialog label{display:flex;gap:15px;align-items:center}.item-detail-dialog input{width:75px;border:1px solid #92b5a7;border-radius:9px;padding:8px;font:16px system-ui;color:#355951}.item-detail-status{color:#a54355}.character-preview{background:radial-gradient(ellipse at 50% 60%,#e9f7e8,#e3e8d2 75%);border:1px solid #c4d1b9;border-radius:20px;text-align:center;padding:12px}.character-preview h4{margin:0 0 3px}.character-preview canvas{width:190px;height:215px;max-width:100%;display:block;margin:auto}.preview-turns{display:flex;justify-content:center;gap:10px}.square-dialog .preview-turns .button{font-size:11px;padding:6px 12px;min-height:34px}.character-stats{padding:13px 0}.character-stats summary{cursor:pointer;font-size:12px;font-weight:700}.character-stats p{font-size:12px!important}.appearance-options{display:flex;flex-wrap:wrap;gap:7px}.square-dialog .appearance-options .button{font-size:11px;padding:7px 9px;min-height:36px}.appearance-options button[aria-pressed=true],.equipment-grid button[aria-pressed=true],.style-controls button[aria-pressed=true]{background:#d8ece1;border-color:#47978b;box-shadow:inset 0 0 0 1px #47978b}.color-options i{width:17px;height:17px;border-radius:50%;box-shadow:inset 0 1px 3px #fff9,0 0 0 1px #756e5c;display:inline-block;margin-right:5px}.equipment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.square-dialog .equipment-grid .button{white-space:normal;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:11px;padding:7px;min-height:70px}.equipment-tile svg{width:52px;height:52px}.equipment-tile small{font-size:9px}.square-dialog .character-panel h4{font-size:16px}.empty-holdings{grid-column:1/-1}.item-detail-dialog button:focus:not(:focus-visible){outline:none}@media(max-width:380px){.holdings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}:is(.item-detail-dialog,.username-dialog) .button{color:#375c56;background:linear-gradient(#fffdf3,#e9ebd6);border:1px solid #a5c1b7;border-radius:14px;box-shadow:0 3px #95b2a6;font:750 14px system-ui;min-height:42px;padding:9px 14px}:is(.item-detail-dialog,.username-dialog) .button:focus-visible{outline:3px solid #8063a5;outline-offset:3px}.username-dialog .button.primary{background:linear-gradient(#a38bc6,#7a60a8);color:#fff;border-color:#7c60a8;box-shadow:0 3px #60477e}.username-dialog{max-height:calc(100dvh - 24px);overflow:auto}@media(max-height:500px){.square-dialog .building-panel:not([hidden]),.square-dialog .building-panel:not([hidden]):has(.museum-reader),.square-dialog .building-panel:not([hidden]):has(.side-game){max-height:calc(100dvh - var(--game-header-height,104px) - 48px);bottom:32px}}.square-dialog .building-panel:has(.storage-browser):not([hidden]),.square-dialog .building-panel:has(.aquarium-panel):not([hidden]){width:min(1000px,calc(100% - 24px));height:calc(100dvh - var(--game-header-height,104px) - 48px);max-height:calc(100dvh - var(--game-header-height,104px) - 48px);bottom:24px;right:12px}.square-dialog #building-content.storage-browser{display:flex;flex-direction:column;overflow:hidden;gap:8px;padding-right:0}.storage-browser>.holdings-intro,.storage-browser>.holdings-status{margin:0!important;font-size:12px!important}.storage-browser>.economy-tabs{margin:0}.storage-browser>.active-boosts{display:none}.storage-columns,.aquarium-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-height:0}.storage-columns{flex:1}.storage-pane{display:flex;flex-direction:column;min-height:0;background:#e5e9da66;border:1px solid #c4c6aa;border-radius:16px;padding:12px}.storage-pane h4,.aquarium-inventory-pane h4{margin:0 0 10px!important;font-size:17px!important}.storage-pane>.holdings-grid{overflow:auto;overscroll-behavior:contain;align-content:start;grid-template-columns:repeat(4,minmax(0,1fr));padding:3px;flex:1}.holding-tile[aria-pressed=true]{background:#d5ebe0;border-color:#398f82;box-shadow:inset 0 0 0 2px #398f82}.storage-selection{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-height:42px;font-size:12px}.storage-selection strong{margin-right:auto}.square-dialog .storage-selection .button{font-size:12px;min-height:38px;padding:7px 10px}.quantity-picker{display:flex;align-items:center;justify-content:center;gap:14px;margin:16px 0}.quantity-picker .button{font-size:24px;width:46px;padding:3px}.quantity-picker input{text-align:center}.fish-rarity-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 8px}.square-dialog .fish-rarity-tabs .button{font-size:12px;padding:7px 12px;min-height:36px}.aquarium-menu-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.aquarium-menu-heading p{margin:0!important}.aquarium-inventory-pane{background:#e5e9da66;border:1px solid #c4c6aa;border-radius:16px;padding:12px}.aquarium-inventory-pane>.holdings-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-content:start}.square-dialog .aquarium-panel>.small-copy{font-size:12px}.aquarium-panel .empty-holdings,.storage-pane .empty-holdings{font-size:12px!important}.storage-browser .holding-tile{min-height:98px;align-self:start}.storage-browser .holding-tile:active{transform:none}@media(max-width:700px){.storage-columns,.aquarium-columns{gap:8px}.storage-pane,.aquarium-inventory-pane{padding:8px}.storage-pane>.holdings-grid,.aquarium-inventory-pane>.holdings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.storage-browser .holding-tile{padding:6px 3px;min-height:92px}.storage-browser>.economy-tabs{gap:4px}.square-dialog .storage-browser>.economy-tabs .button{min-height:32px;padding:5px 7px;flex:1 1 auto;font-size:11px}.square-dialog .fish-rarity-tabs .button{font-size:10px;min-height:32px;padding:5px 7px}.storage-selection{font-size:11px}.storage-pane h4,.aquarium-inventory-pane h4{font-size:15px!important}}@media(max-width:380px){.storage-pane>.holdings-grid,.aquarium-inventory-pane>.holdings-grid{grid-template-columns:1fr}.storage-selection strong{width:100%}}@media(max-height:500px){.storage-browser>.holdings-intro{display:none}.square-dialog #building-content.storage-browser{overflow:auto;display:block}.storage-browser .storage-columns{min-height:135px}.storage-pane>.holdings-grid{max-height:160px}.storage-browser .storage-selection{margin-top:8px}}.aquarium-view{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;border:0;padding:16px;color:#365d57;background:radial-gradient(ellipse at 50% 70%,#a2dacf,#e9eedc 85%);overflow:hidden}.aquarium-view[open]{display:flex;flex-direction:column;gap:10px}.aquarium-view::backdrop{background:#153d49}.aquarium-view-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.aquarium-view h2{font:800 24px ui-rounded,system-ui;margin:0}.aquarium-view .button{background:linear-gradient(#fffdf3,#e9ebd6);color:#375c56;border:1px solid #a5c1b7;border-radius:14px;box-shadow:0 3px #95b2a6;min-height:42px;padding:8px 14px;font:750 14px system-ui}.aquarium-view .button:focus-visible,.aquarium-view .aquarium-swimmer:focus-visible{outline:3px solid #8063a5;outline-offset:3px}.aquarium-view-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font:14px system-ui}.aquarium-view-controls label{display:flex;align-items:center;gap:8px}.aquarium-view input{width:150px;accent-color:#448f85}.aquarium-view-port{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid #9bc4b6;border-radius:18px;background:#6eb3aa44}.aquarium-view-stage{display:grid;place-items:center;position:relative}.aquarium-view .aquarium-tank{position:relative;flex:none;aspect-ratio:350/178}.aquarium-view .aquarium-frame{display:block;width:100%;height:100%}.aquarium-view .aquarium-water{position:absolute;inset:30% 5.2% 14%;overflow:hidden;pointer-events:none}.aquarium-view .aquarium-swimmer{position:absolute;display:block;pointer-events:auto;border:0;background:none;box-shadow:none;padding:0;cursor:pointer;animation:reef-swim var(--swim-time) linear var(--swim-delay) infinite}.fish-reaction{display:block;transform-origin:50% 50%}.fish-reaction>.fish-picture{display:block;width:100%;aspect-ratio:2/1;animation:reef-turn var(--swim-time) steps(1,end) var(--swim-delay) infinite}.aquarium-view .fish-hello{position:absolute;left:45%;top:0;color:#fff3bd;text-shadow:0 1px 3px #447f85;font:800 23px system-ui;pointer-events:none}.aquarium-view-status{font:14px/1.4 system-ui;min-height:20px;margin:0;text-align:center}.reef-empty{position:absolute;left:20%;right:20%;top:40%;padding:16px;background:#fff8e8e8;border-radius:14px;text-align:center;font:14px/1.5 system-ui}.still-reef .aquarium-swimmer,.still-reef .fish-picture{animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){.aquarium-view .aquarium-swimmer,.fish-reaction>.fish-picture{animation:none!important}}@media(max-width:600px){.aquarium-view{padding:10px}.aquarium-view h2{font-size:20px}.aquarium-view-controls{gap:7px;font-size:12px}.aquarium-view input{width:95px}.aquarium-view .button{font-size:12px;padding:7px 10px}.aquarium-view-status{font-size:12px}}@media(max-width:380px){.storage-browser>.holdings-intro{display:none}.storage-browser>.economy-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.square-dialog .storage-browser>.economy-tabs .button{font-size:9px;padding:5px 2px;min-width:0}.storage-browser>.storage-selection{font-size:10px}}@media(max-height:500px){.square-dialog .building-panel:has(.storage-browser){padding:10px}.building-panel:has(.storage-browser) .building-panel-head .eyebrow{display:none}.square-dialog .building-panel:has(.storage-browser) .building-panel-head h3{font-size:17px;margin:0}.square-dialog .building-panel:has(.storage-browser) .close-panel{min-height:32px;padding:5px 10px}.storage-browser>.economy-tabs{display:inline-flex;width:53%;flex-wrap:nowrap;vertical-align:top;margin:0 1% 5px 0;gap:4px}.storage-browser>.fish-rarity-tabs{display:inline-flex;width:45%;flex-wrap:nowrap;vertical-align:top;margin:0 0 5px;gap:4px}.square-dialog .storage-browser>.economy-tabs .button,.square-dialog .storage-browser>.fish-rarity-tabs .button{font-size:10px;min-height:30px;padding:4px 6px;flex:1;min-width:0}.storage-browser .storage-columns{min-height:130px}.storage-pane>.holdings-grid{max-height:120px;min-height:90px}.storage-pane{padding:6px}.storage-pane h4{font-size:13px!important;margin-bottom:4px!important}}.square-dialog .building-panel:has(.character-panel):not([hidden]){position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh;max-width:none;transform:none;border-radius:0;padding:18px 24px;z-index:60;gap:10px;background:linear-gradient(130deg,#fffbef,#eee7d8)}.building-panel:has(.character-panel) .building-panel-head{margin:0;align-items:center}.building-panel:has(.character-panel) .building-panel-kicker,.building-panel:has(.character-panel) #panel-description{display:none}.square-dialog .building-panel:has(.character-panel) h3{margin:0;font-size:27px}.square-dialog :is(#building-content,.explorer-content).character-panel{display:grid;grid-template-columns:minmax(230px,29%) 1fr;gap:24px;overflow:hidden;padding:0;scrollbar-gutter:auto}.character-panel .character-preview{display:flex;flex-direction:column;justify-content:center;min-height:0;overflow:auto;padding:18px}.character-panel .character-preview canvas{width:min(100%,300px);height:auto;max-height:55dvh;object-fit:contain}.character-panel .character-stats{text-align:left;font-size:12px;margin-top:12px;flex-shrink:0}.character-closet{display:flex;flex-direction:column;min-height:0;min-width:0}.wardrobe-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:16px}.square-dialog .wardrobe-tabs .button{font-size:13px;min-height:42px;padding:6px 8px}.wardrobe-tabs button[aria-pressed=true],.wardrobe-tile[aria-pressed=true]{background:#d4e9dd!important;border-color:#519486!important;box-shadow:inset 0 0 0 2px #519486!important}.wardrobe-items{overflow:auto;min-height:0;flex:1;padding:3px 4px 9px}.wardrobe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-content:start}.square-dialog .wardrobe-grid .wardrobe-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;white-space:normal;gap:5px;padding:10px;min-width:0;min-height:150px;border-radius:17px}.wardrobe-tile .clothing-thumbnail{width:95px;height:114px;object-fit:contain;max-width:100%}.wardrobe-tile>svg{width:76px;height:76px}.wardrobe-tile strong{font:700 13px/1.3 ui-rounded,system-ui}.wardrobe-tile small{font:11px/1.3 system-ui}.wardrobe-tile:disabled{opacity:.65}.no-accessory,.effect-preview{font:60px/1.2 ui-rounded,system-ui;color:#8b6aab}.effect-preview{background:radial-gradient(#c7f8e7,transparent 70%);width:86px}.character-closet .holdings-status{margin:8px 0 0;font-size:12px;min-height:18px}.square-dialog .objective-collapse{width:auto;min-width:48px;height:29px;padding:4px 9px;font:700 12px ui-rounded,system-ui}.objective-collapse:focus:not(:focus-visible){outline:none}@media(max-width:700px){.square-dialog .building-panel:has(.character-panel):not([hidden]){padding:12px;gap:8px}.square-dialog .building-panel:has(.character-panel) h3{font-size:23px}.square-dialog :is(#building-content,.explorer-content).character-panel{display:flex;flex-direction:column;gap:10px}.character-panel .character-preview{display:grid;grid-template-columns:110px 1fr;grid-template-rows:auto auto auto;justify-content:start;padding:8px;min-height:145px;max-height:145px;flex-shrink:0;overflow:auto;column-gap:8px;box-sizing:border-box}.character-panel .character-preview canvas{grid-column:1;grid-row:1/4;width:110px;height:125px}.character-panel .character-preview h4{grid-column:2;font-size:15px}.character-panel .preview-turns{grid-column:2;gap:5px}.square-dialog .character-panel .preview-turns .button{padding:5px 7px;font-size:10px}.character-panel .character-stats{grid-column:2;margin:0;padding:4px;font-size:10px}.character-stats summary{font-size:10px}.character-closet{flex:1}.wardrobe-tabs{gap:5px;margin-bottom:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.square-dialog .wardrobe-tabs .button{min-height:33px;font-size:11px;padding:5px}.wardrobe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.square-dialog .wardrobe-grid .wardrobe-tile{min-height:113px;padding:5px;gap:3px}.wardrobe-tile .clothing-thumbnail{width:67px;height:80px}.wardrobe-tile>svg{width:50px;height:50px}.wardrobe-tile strong{font-size:10px}.wardrobe-tile small{font-size:9px}.no-accessory,.effect-preview{font-size:40px}.character-closet .holdings-status{min-height:13px;font-size:10px;margin-top:3px}}@media(max-height:500px)and (min-width:701px){.square-dialog .building-panel:has(.character-panel):not([hidden]){padding:8px 14px;gap:5px}.square-dialog :is(#building-content,.explorer-content).character-panel{grid-template-columns:190px 1fr;gap:15px}.square-dialog .building-panel:has(.character-panel) h3{font-size:20px}.character-panel .character-preview{padding:6px}.character-panel .character-preview canvas{height:155px;width:auto}.character-panel .character-preview h4{font-size:13px}.character-panel .character-stats{margin-top:4px;padding:4px}.character-stats summary{font-size:10px}.wardrobe-tabs{margin-bottom:7px}.square-dialog .wardrobe-tabs .button{min-height:30px;font-size:11px}.wardrobe-grid{gap:7px}.square-dialog .wardrobe-grid .wardrobe-tile{min-height:98px;padding:4px}.wardrobe-tile .clothing-thumbnail{height:64px;width:54px}.wardrobe-tile>svg{width:48px;height:48px}.wardrobe-tile strong{font-size:10px}.wardrobe-tile small{font-size:9px}}.square-dialog :is(#building-content,.explorer-content).character-panel{align-items:stretch;align-content:stretch;margin-top:0;flex-wrap:nowrap}.character-panel .clothing-thumbnail{object-fit:contain;width:125px;height:114px}@media(max-width:700px){.character-panel .clothing-thumbnail{width:86px;height:80px}}@media(max-height:500px)and (min-width:701px){.character-panel .clothing-thumbnail{width:75px;height:64px}}.square-dialog .building-panel:has(.character-panel) .building-panel-head{display:flex;justify-content:space-between;align-items:center;min-height:44px;flex-shrink:0}.square-dialog .building-panel:has(.character-panel) .close-panel{position:static;flex-shrink:0;min-height:40px;margin:0}.world-object:is(.object-building,.object-tree,.object-fountain,.object-lamp,.object-board,.object-rock,.object-bench)>canvas{filter:drop-shadow(3px 6px 3px #203d3640)}.environment-shadow{opacity:.85;background:radial-gradient(ellipse,#153b3552 0%,#244b3d26 48%,transparent 72%)}.room-prop:not(.room-resident):not(.museum-stone-statue){filter:drop-shadow(2px 5px 3px #27372c4d)}.room-resident:before{content:"";position:absolute;left:18%;right:10%;bottom:-3%;height:10%;border-radius:50%;background:radial-gradient(ellipse,#283a365e,transparent 72%);pointer-events:none}.room-resident>.resident-portrait,.shopkeeper{filter:drop-shadow(1px 3px 1px #263d3638)}.room-aquarium{filter:drop-shadow(1px 5px 4px #2c413c55)}.aquarium-tank{isolation:isolate;filter:drop-shadow(0 5px 4px #1a4d4540)}.aquarium-depth{overflow:hidden}.reef-cluster{position:absolute;object-fit:contain;pointer-events:none;filter:drop-shadow(1px 3px 2px #265a5655)}.aquarium-middle .reef-cluster{width:23%;bottom:18%;opacity:.92}.aquarium-middle .reef-cluster-left{left:19%}.aquarium-middle .reef-cluster-right{right:17%;transform:scaleX(-1)}.aquarium-foreground .reef-cluster{width:25%;bottom:13.8%}.aquarium-foreground .reef-cluster-left{left:5.3%}.aquarium-foreground .reef-cluster-right{right:5.3%;transform:scaleX(-1)}.leaderboard-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.leaderboard-categories .button{font-size:12px!important;padding:7px!important;min-width:0}.leaderboard-games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.leaderboard-games .button{font-size:11px!important;white-space:normal;padding:7px!important}.leaderboard-reset{font-size:11px!important;line-height:1.5!important;background:#e8eddf;padding:10px;border-radius:10px}.leaderboard-row{gap:12px}.leaderboard-row b{overflow-wrap:anywhere}.leaderboard-row span{white-space:nowrap}.new-stone-statue{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 3px #25323544)!important}.raffle-apparel-display{overflow:visible}.raffle-apparel-cushion{position:absolute;left:9%;right:9%;bottom:24%;height:66%;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 90%,#d6b4e1 0,#9772ae 47%,transparent 49%);filter:drop-shadow(1px 3px 1px #41384c35)}.raffle-apparel-cushion svg{width:86%;height:95%;overflow:visible}.raffle-apparel-plinth{position:absolute;bottom:0;left:2%;right:2%;height:26%;border-radius:7px 7px 5px 5px;border:2px solid #b3a27a;background:linear-gradient(#fff1d0 0 20%,#cdb891 24%,#f5e4bf 29% 63%,#c4aa7e 65% 80%,#eee0b9 82%);box-shadow:inset 4px 0 5px #fff7df,inset -4px 0 6px #9d855e,0 4px 3px #2d3a303d;text-align:center}.raffle-apparel-plinth span{display:inline-block;color:#8f6cb1;font-size:18px;text-shadow:0 1px #fff9e0}.station-label small{display:block;text-align:center;font-size:8px;font-weight:600;margin-top:2px;color:#65746b}.raffle-item-type{margin:2px 0 12px!important;color:#785a95!important;font-weight:750!important;font-size:14px!important}.raffle-prize-name{margin-bottom:2px!important}.legendary-equipment{border-color:#c4a85e!important;background:linear-gradient(#fffbeb,#eee4ce)!important}.equipment-bonus{font-size:10px!important;line-height:1.25;color:#665534!important}.leaderboard-categories{margin-bottom:14px!important;padding-bottom:12px;border-bottom:1px solid #c8d3c0;gap:7px!important}.leaderboard-categories .button{min-height:45px;font-size:13px!important}.leaderboard-arcade-group{padding:12px;border:1px solid #c6b9d7;border-radius:16px;background:linear-gradient(130deg,#f4eef9,#e9e3f0);box-shadow:inset 0 1px 2px #fff;margin:0 0 16px}.leaderboard-group-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px;color:#655080}.leaderboard-group-heading strong{font:750 13px system-ui}.leaderboard-group-heading span{font:11px system-ui;color:#797084}.leaderboard-arcade-group .leaderboard-games{margin:0!important;gap:7px!important}.leaderboard-arcade-group .leaderboard-games .button{min-height:36px;padding:7px 5px!important;border:1px solid #c7bdd4;border-radius:9px;box-shadow:none!important;font:650 11px/1.25 system-ui!important;background:#fffcf8;color:#635875}.leaderboard-arcade-group .leaderboard-games .button[aria-pressed=true]{background:#796198;color:#fffaf0;border-color:#796198;box-shadow:inset 0 -2px #56416d!important}.leaderboard-arcade-group .leaderboard-games .button:hover{border-color:#806694}.leaderboard-own{margin-top:12px}.leaderboard-reset{line-height:1.5}@media(max-width:440px){.leaderboard-categories .button{font-size:11px!important;padding:9px 5px!important}.leaderboard-group-heading{align-items:flex-start;flex-direction:column;gap:3px}.leaderboard-arcade-group{padding:10px}.leaderboard-group-heading span{font-size:10px}}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)):not([hidden]){position:fixed;inset:0;transform:none;width:100%;max-width:none;height:100dvh;max-height:100dvh;box-sizing:border-box;border-radius:0;border:0;padding:16px max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:linear-gradient(145deg,#fffaf0,#efe8d8);z-index:40;display:flex;flex-direction:column;gap:8px;overflow:hidden}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) .building-panel-head{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;min-height:44px;margin:0;gap:15px}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) :is(#panel-kicker,#panel-description){display:none}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) h3{font-size:23px;margin:0}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) .close-panel{position:static;flex-shrink:0;min-height:40px;margin:0;padding:8px 18px;font-size:15px}.square-dialog #building-content:is(.arcade-content,.side-game-content){display:block;flex:1;width:100%;min-height:0;margin:0;overflow:auto}.square-dialog .arcade-game{max-width:1000px;margin:auto;text-align:center}.square-dialog .arcade-toolbar{max-width:700px;margin:0 auto;color:#315c56;font-size:17px}.square-dialog .arcade-counter{color:#6f568b;font-weight:750;font-size:14px}.square-dialog .arcade-help{max-width:740px;margin:6px auto 10px!important;color:#4e6a61}.square-dialog .arcade-grid{display:grid;gap:8px;margin:10px auto;width:min(100%,calc((100dvh - 235px)*1.333),720px);max-width:none;grid-template-columns:repeat(4,minmax(0,1fr))}.square-dialog .arcade-grid:is(.grid-tides,.grid-slide){grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,calc(100dvh - 270px),550px)}.square-dialog .arcade-tile{position:relative;display:flex;align-items:center;justify-content:center;padding:0;min-height:0;aspect-ratio:1;font-size:clamp(24px,5vh,48px)}.square-dialog .grid-slide .arcade-tile{background-size:300% 300%;background-repeat:no-repeat}.square-dialog .grid-slide .is-empty{background-image:none!important}.square-dialog .slide-guide{justify-content:center;margin:0 auto;padding:4px;max-width:350px}.square-dialog .arcade-status{color:#41675d!important;min-height:18px;margin:8px 0!important}.square-dialog .arcade-controls{justify-content:center}.square-dialog .arcade-cards{display:flex;justify-content:center;flex-wrap:wrap;margin:20px auto;max-width:1000px}.square-dialog .arcade-card{display:flex;width:min(360px,100%);box-sizing:border-box;padding:22px;gap:14px;text-align:center}.square-dialog .arcade-card-art{height:100px}.square-dialog .arcade-card .arcade-level{color:#73588d}.square-dialog .arcade-card strong{font-size:22px}.square-dialog .arcade-card .button{width:100%}.square-dialog .arcade-note{text-align:center}.square-dialog .side-game{max-width:1400px;margin:auto;text-align:center}.square-dialog .side-game canvas{width:min(100%,calc((100dvh - 250px)*1.8));height:auto;max-height:none;margin:auto;box-sizing:border-box}.square-dialog .side-game-toolbar{max-width:1000px;margin:8px auto}.square-dialog .side-game-help{max-width:1000px;margin:0 auto!important}.square-dialog .side-game-help small{white-space:normal}@media(max-height:500px){.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)):not([hidden]){padding:6px 12px;gap:3px}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) h3{font-size:18px}.square-dialog .arcade-help{font-size:10px!important;margin:3px auto!important}.square-dialog .arcade-grid{gap:4px;margin:4px auto;width:min(100%,calc((100dvh - 180px)*1.333))}.square-dialog .arcade-grid:is(.grid-tides,.grid-slide){width:min(100%,calc(100dvh - 210px))}.square-dialog .side-game canvas{width:min(100%,calc((100dvh - 185px)*1.8))}.square-dialog .side-game-help{font-size:10px!important}.square-dialog .side-game-help small{display:none}.square-dialog .side-game-controls{margin-top:4px}.square-dialog .side-game-controls .button{min-height:36px}.square-dialog .arcade-status{margin:3px 0!important}}.fishing-rig{position:absolute;pointer-events:none;left:-150%;top:-38.6667%;width:281.25%;height:166.6667%;z-index:4;overflow:visible}.fishing-rig[hidden]{display:none}.raffle-clam-display{filter:drop-shadow(0 4px 3px #28474444)}.raffle-clam-stand{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.raffle-display-prize{position:absolute;left:15%;top:8%;width:70%;height:56%;display:flex;align-items:flex-end;justify-content:center;filter:drop-shadow(0 2px 1px #35234277)}.raffle-display-prize>img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.raffle-display-prize>.harmony-icon{width:100%;height:100%;filter:none}.prize-lantern{left:22%;width:56%;top:6%;height:58%}.prize-pearl{left:25%;width:50%;top:16%;height:47%}.raffle-apparel-display .raffle-display-prize{left:18%;width:64%;top:16%;height:51%}.mission-transition{position:fixed;inset:0;z-index:10000;background:#000;opacity:0;pointer-events:auto}.square-dialog:has(.mission-layer:not([hidden])) .game-shortcuts{top:180px}.square-dialog .building-panel-head{display:flex!important;align-items:center!important;justify-content:space-between;gap:16px;position:relative;flex-shrink:0;margin:0 0 12px!important;padding-bottom:12px;border-bottom:1px solid #d5c9b4}.square-dialog .building-panel-head>div{min-width:0}.square-dialog .building-panel-head h3{padding:0!important;margin:0!important;font-size:23px;line-height:1.2;letter-spacing:-.025em}.square-dialog .building-panel-head .building-panel-kicker,.square-dialog #panel-description:empty{display:none}.square-dialog .building-panel-head .close-panel{position:static!important;flex:none;min-width:64px;min-height:44px!important;margin:0;padding:8px 12px!important;font-size:13px!important;border-radius:12px}.square-dialog .building-panel:not([hidden]){display:flex;flex-direction:column;overflow:hidden}.square-dialog .building-content{min-height:0;overscroll-behavior:contain}.square-dialog .button.quiet{background:#f5efe2;border-color:#c8c5b8;border-bottom-width:1px;box-shadow:none;color:#5a6963}.square-dialog .square-topbar{gap:10px;align-items:center}.square-dialog .energy-pill{cursor:pointer;text-align:left;font-family:inherit;flex:none;width:142px;min-width:0;border-radius:12px}.square-dialog .energy-pill:hover{border-color:#438e83}.square-dialog .energy-pill[aria-expanded=true]{outline:2px solid #438e83;outline-offset:1px}.square-dialog .header-action-label{font:inherit;line-height:1}.energy-details{position:absolute;z-index:30;right:max(12px,env(safe-area-inset-right));top:calc(100% + 8px);width:min(330px,calc(100vw - 24px));box-sizing:border-box;padding:12px 16px;border:1px solid #b9c8b3;border-radius:18px;background:#fffaf0;box-shadow:0 10px 32px #173f4b44;color:#3d6259}.energy-details[hidden]{display:none}.energy-details header{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:17px}.energy-details header button{height:44px;width:44px;border:0;border-radius:10px;background:#ecebdd;color:#3d6259;font-size:25px;cursor:pointer}.energy-details p{font:13px/1.5 system-ui;margin:8px 0}.energy-details .energy-summary{font-weight:750;color:#28786d}.energy-details .level-summary{border-top:1px solid #ded3bb;padding-top:9px;color:#755696}@media(max-width:900px){.square-dialog .square-topbar{display:grid;grid-template-columns:minmax(60px,1fr) 128px 44px 44px;gap:4px 8px;padding:4px max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left));padding-top:max(4px,env(safe-area-inset-top))}.square-dialog .square-brand{grid-column:1;grid-row:1;margin:0;min-width:0}.square-dialog .square-wordmark{width:122px;max-width:100%;max-height:36px}.square-dialog .energy-pill{grid-column:2;grid-row:1;width:100%;height:36px;min-height:36px;padding:5px 8px}.square-dialog .settings-toggle,.square-dialog .exit-square{grid-row:1;width:44px;height:44px;min-height:44px;padding:0;justify-content:center;gap:0}.square-dialog .settings-toggle{grid-column:3;font-size:20px!important}.square-dialog .exit-square{grid-column:4}.square-dialog .header-action-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.square-dialog .square-balances{grid-row:2;grid-column:1/-1;width:100%;order:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(70px,.9fr);gap:5px}.square-dialog .square-topbar .square-balances>:is(.coin-pill,.ticket-pill,.gem-pill){height:30px;min-height:30px;padding:3px 7px;border-radius:10px;justify-content:center;gap:5px}.square-dialog .square-balances :is(.coin-label,.currency-label){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.square-dialog .square-balances :is(#coin-count,#ticket-count,#gem-count){font:700 12px/1.2 system-ui;font-variant-numeric:tabular-nums;min-width:0;overflow:hidden;text-overflow:ellipsis}.square-dialog .coin-icon,.square-dialog .ticket-icon,.square-dialog .gem-icon{width:18px;height:18px;flex:none}.square-dialog .square-balances .xp-meter{grid-column:auto;width:100%;height:30px;min-height:30px;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:4px 6px;background:#eee6f4;border-color:#ccbedb}.square-dialog .square-balances .xp-meter>div{width:100%;justify-content:center}.square-dialog .xp-meter b{font-size:11px}.square-dialog .xp-meter small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.square-dialog .xp-meter progress{flex:none;height:3px;width:100%;margin:0}.square-dialog .energy-top{font-size:10px;gap:4px}.square-dialog .energy-top strong,.square-dialog .energy-count,.square-dialog .energy-timer{font-size:9px}.square-dialog .building-panel-head{gap:12px;margin-bottom:10px!important;padding-bottom:10px}.square-dialog .building-panel-head h3{font-size:20px}}@media(max-width:380px){.square-dialog .square-topbar{grid-template-columns:minmax(60px,1fr) 112px 44px 44px;gap:4px 5px}.square-dialog .square-balances{grid-template-columns:repeat(3,minmax(0,1fr)) 64px}.square-dialog .square-balances :is(#coin-count,#ticket-count,#gem-count){font-size:11px}.square-dialog .energy-pill{padding:5px}.square-dialog .gem-pill button{min-width:19px}}@media(max-height:500px){.square-dialog .building-panel-head{margin-bottom:6px!important;padding-bottom:6px}.square-dialog .building-panel-head h3{font-size:18px}}@media(max-height:500px){.square-dialog .building-content:has(.shop-list) .shop-greeting{display:none}.square-dialog .building-content:has(.shop-list) .shop-welcome{padding:5px 8px;margin:0 0 7px}.square-dialog .building-content:has(.shop-list) .shop-welcome>summary{font-size:11px;min-height:22px}.square-dialog .building-content:has(.shop-list)>.economy-tabs{flex-wrap:nowrap;gap:4px;margin-bottom:7px}.square-dialog .building-content:has(.shop-list)>.economy-tabs .button{flex:1 1 auto;min-width:0;min-height:32px;padding:5px 6px;font-size:11px}.square-dialog .building-content:has(.shop-list)>.wallet-line{font-size:11px;padding:6px 9px;margin-top:5px}}.square-dialog:has(.mission-layer:not([hidden]))>.game-shortcuts,.square-dialog:has(#building-panel:not([hidden]) :is(.arcade-content,.side-game-content))>.game-shortcuts{display:none}.arcade-launcher{display:none!important}#building-panel:has(:is(.arcade-content,.side-game-content)) .arcade-launcher{display:inline-flex!important;margin-left:auto}.square-dialog .explorer-launcher{align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;padding:8px 12px;font-size:13px;border-radius:12px;white-space:nowrap}.square-dialog .mission-hud{top:calc(var(--game-header-height,82px) + 10px);gap:8px;flex-wrap:wrap}.square-dialog .mission-hud .mission-abandon{min-height:44px}.square-dialog .mission-hud .voyage-launcher{margin-left:0}.square-dialog .explorer-dialog:not([open]){display:none!important}.square-dialog .explorer-dialog[open]{position:fixed;inset:0;margin:auto;transform:none;width:min(460px,calc(100vw - 24px));height:fit-content;max-width:none;max-height:calc(100dvh - 24px);padding:20px;box-sizing:border-box;border:2px solid #cdbd99;border-radius:24px;background:linear-gradient(145deg,#fffaf0,#eee7d8);color:#365d57;box-shadow:0 18px 60px #123f4966;gap:10px;overflow:auto}.explorer-dialog::backdrop{background:#113b4c99}.explorer-dialog .explorer-choices>p{font-size:14px;line-height:1.5;margin:0 0 16px;color:#5e746a}.explorer-choices nav{display:grid;grid-template-columns:1fr 1fr;gap:14px}.explorer-choice{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 8px;border:1px solid #b6c6b8;border-radius:18px;background:linear-gradient(#fffcef,#e5e6d3);box-shadow:inset 0 2px #fff,0 3px #a6b5a4;color:#365d57;cursor:pointer;font-family:inherit}.explorer-choice img{width:74px;height:74px;object-fit:contain}.explorer-choice strong{font-size:16px}.explorer-choice span{font-size:12px;color:#63766b}.explorer-dialog .explorer-back{align-self:flex-start;min-height:44px;margin:0;font-size:13px;padding:7px 12px}.square-dialog .explorer-dialog.explorer-detail[open]{width:100vw;height:100dvh;max-height:100dvh;inset:0;border-radius:0;margin:0;padding:16px 24px;overflow:hidden}.explorer-dialog .explorer-content{flex:1;margin:0;overflow:auto;display:block;width:100%}.explorer-dialog [hidden]{display:none!important}.explorer-choice:focus-visible,.explorer-launcher:focus-visible{outline:3px solid #8063a5;outline-offset:3px}@media(max-width:600px){.square-dialog .explorer-dialog.explorer-detail[open]{padding:12px}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) .building-panel-head{gap:7px}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) .building-panel-head h3{font-size:18px}.square-dialog .explorer-dialog .building-panel-head h3{font-size:20px}.square-dialog .mission-hud strong{font-size:12px}.square-dialog .mission-hud span{font-size:11px}.square-dialog .mission-hud button{padding:6px 9px}.explorer-choices nav{gap:10px}}@media(max-height:500px){.square-dialog .explorer-dialog[open]{padding:12px 16px}.explorer-choice{padding:8px}.explorer-choice img{width:48px;height:48px}.explorer-dialog .explorer-choices>p{margin-bottom:8px}.square-dialog .explorer-dialog.explorer-detail[open]{padding:8px 14px;gap:4px}.explorer-dialog .explorer-back{min-height:34px;padding:4px 10px}}@media(max-width:600px){.square-dialog .mission-hud{display:grid;grid-template-columns:1fr 1fr}.square-dialog .mission-hud>span{margin:0;justify-self:end}.square-dialog .mission-hud>.button{width:100%;margin:0;box-sizing:border-box}.square-dialog .mission-hud>.mission-abandon{grid-column:1}.square-dialog .mission-hud>.voyage-launcher{grid-column:2}}.contact-shadow{position:absolute;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse at 50% 48%,#1e342c63 0%,#26392e35 34%,#2a403019 57%,transparent 74%);mix-blend-mode:multiply}.room-contact{z-index:0}.world-contact{opacity:.85}.bench-foot-contact{position:absolute;bottom:1px;width:12px;height:7px;transform:translate(-50%);border-radius:50%;background:radial-gradient(ellipse,#21372e73,transparent 72%)}.world-object:is(.object-building,.object-tree,.object-fountain,.object-lamp,.object-board,.object-bench)>canvas{filter:drop-shadow(1px 2px 1.2px #203d3626)}.room-prop:not(.room-resident):not(.museum-stone-statue):not(.new-stone-statue){filter:drop-shadow(0 2px 1px #27372c26)}.room-resident:before{display:none}.square-dialog .avatar:before{left:19%;right:19%;bottom:-1%;height:8%;background:radial-gradient(ellipse,#163b3869 0%,#21443b3d 36%,#27483c1c 56%,transparent 76%);filter:none;pointer-events:none;transform:translate(var(--contact-shift,0px)) scaleX(var(--contact-scale,1));opacity:var(--contact-opacity,1);transform-origin:50% 50%;transition:transform .09s linear,opacity .09s linear}.square-dialog .avatar.is-seated:before{left:29%;right:29%;bottom:1%;height:6%;opacity:.45;transform:none}.motion-paused .avatar:before,.room-paused .avatar:before,.square-dialog:has(#square-settings:not([hidden])) .avatar:before{transform:none;opacity:1;transition:none}@media(prefers-reduced-motion:reduce){.square-dialog .avatar:before{transform:none;opacity:1;transition:none}}.action-feedback{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden;pointer-events:none!important;contain:strict}.action-feedback::backdrop{background:transparent;pointer-events:none}.action-feedback>span{position:absolute;pointer-events:none}body:has(.building-panel.voyage-fullscreen:not([hidden]))>.action-feedback[data-feedback=coins]{visibility:hidden}.feedback-outline{border:2px solid #b59c5b;border-radius:14px;box-shadow:inset 0 0 0 2px #fff6d8aa;box-sizing:border-box}.feedback-coin{width:25px;height:25px;filter:drop-shadow(0 2px 2px #60421945)}.feedback-coin svg{width:100%;height:100%}.feedback-sparkle{font-size:25px;color:#e5b450;text-shadow:0 1px #fff8dc,0 0 5px #fff0c9}.feedback-item{width:52px;height:52px;padding:4px;border-radius:12px;background:#fff6e4ed;box-shadow:0 3px 7px #28443b33;display:grid;place-items:center}.feedback-item>*{width:100%!important;height:100%!important;object-fit:contain}.objective-collapse{font:600 24px/1 system-ui!important;min-width:44px!important;min-height:44px!important;padding:4px!important}.room-museum,.room-museum .room-front-wall{background-image:url(assets/gboy-archive-statue-main.webp);background-size:100% 100%}.room-museum .room-front-wall{clip-path:polygon(0 86%,38% 86%,38% 100%,0 100%,0 86%,62% 86%,100% 86%,100% 100%,62% 100%,62% 86%)}.room-museum-east,.room-museum-east .room-front-wall{background-image:url(assets/gboy-archive-east.webp);background-size:100% 100%}.room-museum-east .room-front-wall{clip-path:polygon(0 87%,39% 87%,39% 100%,0 100%,0 87%,61% 87%,100% 87%,100% 100%,61% 100%,61% 87%)}.room-museum-basement,.room-museum-basement .room-front-wall{background-image:url(assets/gboy-archive-statue-basement.webp);background-size:100% 100%}.room-museum-basement .room-front-wall{clip-path:inset(91% 0 0)}.room-museum-upper,.room-museum-upper .room-front-wall{background-image:url(assets/gboy-archive-upper.webp);background-size:100% 100%}.room-museum-upper .room-front-wall{clip-path:polygon(0 81%,39% 81%,39% 100%,0 100%,0 81%,61% 81%,100% 81%,100% 100%,61% 100%,61% 81%)}.museum-collectible{isolation:isolate;pointer-events:none}.museum-pedestal{position:absolute;width:100%;height:64px;bottom:0;object-fit:fill;object-position:center bottom}.museum-collectible-art{position:absolute;left:20%;top:18px;width:60%;height:56px;display:grid;place-items:center;filter:drop-shadow(1px 3px 2px #26383755)}.museum-collectible-art>*{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;min-width:0;min-height:0;max-height:100%;object-fit:contain;object-position:center bottom}.archive-character-exhibit{isolation:isolate;pointer-events:none}.archive-character-base,.archive-character-statue,.archive-character-name,.archive-character-record{position:absolute;box-sizing:border-box}.archive-character-base{inset:auto 0 0;width:100%;height:38px;filter:drop-shadow(2px 3px 2px #39241550);background:linear-gradient(110deg,#9c7750,#563c2c 65%,#38281f);clip-path:polygon(12% 0,100% 0,100% 75%,88% 100%,0 100%,0 27%)}.archive-character-base:before,.archive-character-base:after{content:"";position:absolute}.archive-character-base:before{inset:0 0 auto;height:13px;background:repeating-linear-gradient(6deg,#9c794028 0 1px,transparent 1px 4px),linear-gradient(145deg,#f0d4a0,#b58958);clip-path:polygon(12% 0,100% 0,88% 79%,0 79%)}.archive-character-base:after{inset:10px 12% 0 0;background:linear-gradient(#dfbc82 0 2px,#a07c52 2px 5px,#72543a 5px calc(100% - 5px),#a17b50 calc(100% - 5px) calc(100% - 3px),#5c3d29 calc(100% - 3px))}.archive-character-exhibit[data-exhibit-kind=statue]:after{content:"";position:absolute;z-index:1;inset:auto 22% 28px 25%;height:6px;background:radial-gradient(ellipse,#3f261f61,transparent 72%)}.archive-character-statue{z-index:2;inset:auto 7px 29px 4px;width:calc(100% - 11px);height:calc(100% - 25px);object-fit:contain;object-position:center bottom;filter:drop-shadow(1px 1px 1px #4729104d)}.archive-character-name{z-index:3;inset:auto 17% 6px 5%;background:linear-gradient(#503527,#38241c);color:#f8e7bd;padding:3px 2px;border:1px solid #bc9865;border-radius:2px;text-align:center;font:600 8px/1.1 var(--gboy-mono)}.archive-character-record{inset:9px 11px 34px;display:grid;place-items:center;padding:7px;background:#213440;color:#ffebbb;border:2px solid #b18f60;text-align:center;font:700 26px/1 var(--gboy-mono)}.archive-stair-sign{position:absolute;z-index:962;pointer-events:none;transform:translate(-50%);padding:5px 8px;white-space:nowrap;border:1px solid #e1bd84;border-radius:3px;color:#ffecc6;background:#38291e;text-align:center;font:600 10px/1.2 var(--gboy-mono)}.museum-item-plate{position:absolute;bottom:9px;left:10%;width:80%;min-height:12px;padding:2px;border:1px solid #b2a078;border-radius:2px;background:linear-gradient(#e1d5b9,#b9aa88);color:#394748;font:600 7px/1.1 system-ui;text-align:center;box-sizing:border-box;box-shadow:0 1px 1px #233b3940}.museum-empty-mark{position:absolute;left:0;right:0;top:52px;text-align:center;color:#647775;font:15px Georgia;opacity:.65}.collection-detail-art{height:150px;display:grid;place-items:center;border-radius:14px;background:radial-gradient(ellipse,#e6ece8,#d6ddd6);border:1px solid #b3c3bc}.collection-detail-art .inventory-picture{width:130px;height:130px}.collection-detail-art svg{width:100%;height:100%}.collection-lock{font:64px Georgia;color:#6b8580}.collection-unlock-state{font-weight:750;color:#447166!important}.scene-transition{position:fixed;inset:0;background:#111b20;opacity:0;z-index:11000;pointer-events:auto}.avatar.is-walking .avatar-body{transition:none}.museum-page>.demo-note:empty{display:none}@media(max-height:500px){.resident-heading{flex-shrink:0;gap:8px;margin-bottom:6px}.resident-heading>.resident-portrait{width:34px;height:44px}.resident-heading h3,.resident-heading .resident-quote{display:none}.resident-heading p{font-size:11px!important}.resident-reader .museum-page{max-height:none}}.room-arcade,.room-arcade .room-front-wall{background-image:url(assets/gboy-commons.webp);background-size:100% 100%}.room-arcade-prizes,.room-arcade-prizes .room-front-wall{background-image:url(assets/gboy-prize-room.webp);background-size:100% 100%}.room-lab,.room-lab .room-front-wall{background-image:url(assets/gboy-recovery-lab.webp);background-size:100% 100%}.room-arcade-prizes .room-front-wall{display:none}.room-lab .room-front-wall{clip-path:polygon(0 83%,34% 83%,34% 100%,0 100%,0 83%,66% 83%,100% 83%,100% 100%,66% 100%,66% 83%)}.room-arcade .room-front-wall{clip-path:polygon(0 81%,6% 81%,12% 82%,20% 84%,26% 86%,27% 87%,27% 90%,30% 90%,30% 100%,0 100%,0 81%,100% 81%,94% 81%,88% 82%,80% 84%,74% 86%,73% 87%,73% 90%,70% 90%,70% 100%,100% 100%,100% 81%)}.claw-intro{max-width:680px;margin:20px auto;text-align:center}.claw-intro-art{height:120px;display:flex;align-items:center;justify-content:center;gap:18px;background:radial-gradient(ellipse,#c0c9dc,#224b60);border:7px ridge #d7ba7d;border-radius:20px;margin:20px auto;color:#e3d0f7;font-size:70px;text-shadow:0 4px 0 #4c425f,0 0 12px #e5cbff}.claw-intro-art span:nth-child(2){color:#ffdf93;transform:translateY(-15px)}.claw-odds{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.claw-odds span{border:1px solid #c5b4d5;border-radius:12px;padding:8px 12px;background:#eee5f7;color:#59446f;font-weight:750}.square-dialog .claw-note{font-size:13px!important;line-height:1.6}.claw-game{max-width:900px;margin:auto}.claw-canvas{display:block;width:min(100%,calc((100dvh - 245px)*1.583));min-width:220px;height:auto;margin:8px auto;border-radius:18px;box-shadow:0 10px 25px #234b5533}.claw-controls{display:flex;justify-content:center;gap:10px}.claw-controls button{min-width:180px;min-height:44px}.claw-game .arcade-help{text-align:center}.lab-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lab-card{padding:16px;border:1px solid #b7c9be;border-radius:18px;background:#f8f6e9;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;box-shadow:0 5px 12px #385a5314}.lab-card>img,.lab-card>svg{height:90px;width:110px;object-fit:contain}.lab-card label{display:grid;gap:8px;font-weight:700}.lab-card input{width:90px;min-height:40px;margin:auto;font:inherit;text-align:center;border:1px solid #9bafa6;border-radius:8px;background:#fff;color:#294e4c}.lab-card small{font-size:12px;color:#59716a}.square-dialog .lab-card p{font-size:13px!important;margin:0!important}.lab-card button{margin-top:auto!important}.lab-status{min-height:24px;color:#426f65;font-weight:700}.square-dialog .building-panel:has(.lab-content):not([hidden]){width:min(850px,calc(100% - 24px))}@media(max-height:500px){.claw-canvas{width:min(100%,calc((100dvh - 165px)*1.583));min-width:180px}.claw-game .arcade-help{font-size:10px!important;margin:2px!important}.claw-game .arcade-status{font-size:11px!important}.claw-controls button{min-height:36px}.claw-intro-art{height:65px;margin:8px auto;font-size:45px}}@media(max-width:420px){.lab-cards{gap:7px}.lab-card{padding:10px 6px}.lab-card>img,.lab-card>svg{width:75px;height:65px}.square-dialog .lab-card button{padding:7px;font-size:11px}.claw-odds span{font-size:12px}.claw-controls button{min-width:135px}}.claw-controls [hidden]{display:none!important}@media(max-height:500px){.square-dialog .building-panel:has(.lab-content):not([hidden]){position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;padding:7px 12px;transform:none;z-index:60}.building-panel:has(.lab-content) .building-panel-head{min-height:38px;margin-bottom:4px;padding-bottom:4px}.square-dialog .building-panel:has(.lab-content) h3{font-size:19px;margin:0}.square-dialog .building-panel:has(.lab-content) .close-panel{min-height:34px;padding:4px 12px}.lab-content>.economy-tabs{margin:0 0 5px}.square-dialog .lab-content>.economy-tabs button{min-height:32px;padding:4px 10px;font-size:11px}.square-dialog .lab-content>.wallet-line{font-size:12px!important;padding:5px 10px;margin:3px 0!important}.square-dialog .lab-content>p:not(.wallet-line){font-size:11px!important;line-height:1.4;margin:4px 0!important}.lab-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.lab-card{padding:7px;gap:4px}.lab-card>img,.lab-card>svg{height:40px;width:60px}.lab-card input{min-height:28px;width:70px}.lab-card label,.lab-card strong{font-size:12px}.lab-card label{gap:3px}.lab-card small{font-size:10px}.square-dialog .lab-card button{min-height:30px;padding:4px 8px;font-size:10px}.square-dialog .lab-card p{font-size:10px!important}.lab-status{min-height:15px}}.room-shop,.room-shop .room-front-wall{background-image:url(assets/gboy-harmony-mart.png);background-size:100% 100%}.room-workshop,.room-workshop .room-front-wall{background-image:url(assets/gboy-harmony-workshop.png);background-size:100% 100%}.room-conservatory{background-image:url(assets/gboy-memory-nursery.webp);background-size:100% 100%}.room-conservatory .room-front-wall{display:none}.room-shop .room-front-wall{clip-path:polygon(0 89%,39% 89%,39% 100%,0 100%,0 89%,100% 89%,61% 89%,61% 100%,100% 100%,100% 89%)}.room-workshop .room-front-wall{clip-path:polygon(0 75.4%,30% 75.4%,31.4% 70.6%,35.5% 70.6%,38.2% 78%,38.2% 88%,35.4% 97%,35.4% 100%,0 100%,0 75.4%,100% 75.4%,100% 100%,64.6% 100%,64.6% 97%,61.8% 88%,61.8% 78%,64.5% 70.6%,68.6% 70.6%,70% 75.4%,100% 75.4%)}.square-dialog .room-shop .shopkeeper{left:295px;top:252px;width:70px;height:118px;z-index:474}.square-dialog .aquarium-tank,.aquarium-view .aquarium-tank{aspect-ratio:2/1}.square-dialog .aquarium-water,.square-dialog .room-aquarium .aquarium-water,.aquarium-view .aquarium-water,.aquarium-glass{inset:22% 6% 23%}.reef-decor{position:absolute;object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 2px #17464b55)}.reef-decor-arch{left:19%;bottom:25%;width:23%;height:35%;z-index:2}.reef-decor-shelter{right:19%;bottom:25%;width:17%;height:28%;z-index:2}.reef-decor-backdrop{left:37%;top:27%;width:26%;height:27%;opacity:.8;z-index:0}.reef-decor-plant{right:7%;bottom:24%;width:16%;height:33%;z-index:4}.cabin-chart{position:absolute;left:225px;top:55px;width:190px;height:88px;box-sizing:border-box;border:7px ridge #b99a58;border-radius:8px;background:repeating-linear-gradient(0deg,transparent 0 18px,#708b8c50 19px 20px),repeating-linear-gradient(90deg,#a8c2ba 0 24px,#708b8c50 25px 26px);box-shadow:0 5px 8px #173c4540;display:flex;align-items:center;justify-content:space-around;color:#435f70;font:52px Georgia;z-index:100}.cabin-chart b{font-size:24px;border:5px ridge #ba9956;border-radius:50%;padding:5px;background:#e0dbb8}.cabin-chart i{width:50px;height:30px;border:2px dashed #f9ebc8;transform:rotate(-20deg);border-radius:50%}.cabin-decoration{position:absolute;object-fit:contain;pointer-events:none}.cabin-decoration-rug{left:215px;top:235px;width:210px;height:90px;z-index:0}.cabin-decoration-lamp{left:435px;top:75px;width:65px;height:95px;z-index:175;filter:drop-shadow(0 3px 3px #193d4544)}.decor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.decor-card{display:flex;flex-direction:column;gap:9px;align-items:center;text-align:center;background:#fffbed;border:1px solid #c8cbb3;border-radius:17px;padding:15px;box-shadow:0 4px 10px #385b5114}.decor-card>.decor-art{height:105px;width:100%;object-fit:contain;filter:drop-shadow(0 3px 2px #35555522)}.decor-card strong{font-size:15px}.decor-card .button{margin-top:auto!important;font-size:12px;padding:8px 12px}.decor-destination{color:#765d88;font-weight:700;text-transform:capitalize}.square-dialog .decor-card p{font-size:12px!important;margin:0!important}.recipe-cost{font-size:11px;color:#58716b}.decor-owned{color:#447b66;font-size:12px;font-weight:750}.square-dialog .workshop-intro{font-size:13px!important}.workshop-status{min-height:24px;color:#4f7466;font-weight:700}.decor-confirm{border:2px solid #b6a6c9;border-radius:18px;padding:18px;margin:18px 0;background:#eee8f4}.decor-confirm>.decor-art{width:130px;height:110px;object-fit:contain;float:right}.decor-confirm h3{margin:0 0 12px}.decor-confirm .button{margin:6px}.nursery-progress{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#e5eed9;padding:12px;border-radius:14px;margin:12px 0}.nursery-progress .decor-art{width:65px;height:65px;object-fit:contain}.nursery-progress span{font-size:12px;font-variant-numeric:tabular-nums}.world-dot{position:absolute;object-fit:contain;pointer-events:none}.news-cart-label{position:absolute;transform:translate(-50%);padding:3px 8px;background:#fff5df;border:1px solid #c4b18a;border-radius:7px;color:#345c58;font-size:12px;font-weight:750;pointer-events:none}@media(max-width:600px){.decor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.decor-card{padding:10px;gap:7px}.decor-card>.decor-art{height:85px}.decor-card strong{font-size:13px}.decor-confirm>.decor-art{float:none;display:block;margin:auto}.decor-card .button{font-size:11px;min-height:44px}.workshop-content .wallet-line{font-size:11px!important}}.energy-details{max-height:calc(100dvh - 120px);overflow-y:auto}.energy-refill{border-top:1px solid #b4c8b5;margin-top:10px;padding-top:8px}.energy-refill-options{display:flex;gap:6px;flex-wrap:wrap}.square-dialog .energy-refill .button{font-size:11px;padding:6px 9px;min-height:40px;border-radius:10px}.energy-refill-confirm{padding:8px;background:#eee4f3;border-radius:9px}.energy-refill-confirm .button{margin:6px 5px 0 0}.energy-refill-status{font-weight:700;color:#456d5a}.aquarium-middle .reef-cluster{width:18%;bottom:25%}.aquarium-foreground .reef-cluster{width:21%;bottom:22%}.aquarium-foreground .reef-cluster-left{left:6%}.aquarium-foreground .reef-cluster-right{right:6%}.dot-talk-hit{background:transparent;border:0;box-shadow:none;padding:0;cursor:pointer}.dot-talk-hit:focus-visible{outline:2px solid #be9ed4;border-radius:16px}.character-panel .wardrobe-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.appearance-section{padding:8px 0 20px;border-bottom:1px solid #b5c6b6}.appearance-section h4{margin:0 0 12px!important}.appearance-section .wardrobe-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}.square-dialog .appearance-section .wardrobe-tile{min-height:112px;padding:8px}.appearance-section .clothing-thumbnail{height:75px;width:90px}.appearance-section .eye-thumbnail{width:80px;height:86px;object-fit:cover;object-position:50% 30%;clip-path:inset(0 0 12% 0 round 12px)}.fabric-swatch{display:block;width:45px;height:45px;border-radius:50%;box-shadow:inset 2px 3px 4px #fff8,inset -3px -3px 6px #24374c66,0 3px 3px #384e5122}.combat-stat-summary{font:700 13px/1.6 system-ui!important;background:#f6f1db;border:1px solid #c8c5a5;border-radius:12px;padding:9px;margin:10px 0 0}.combat-equipment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:14px}.combat-equipment-card{background:linear-gradient(140deg,#fff9e8,#e2ece5);border:1px solid #b0bfb1;border-radius:18px;padding:14px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;box-shadow:0 4px 8px #3d5f5922}.combat-equipment-card>svg{width:110px;height:110px}.combat-equipment-card h4,.combat-equipment-card p{margin:0!important}.combat-equipment-card p{font:13px/1.5 system-ui!important}.square-dialog .combat-equipment-card .button{font:700 12px/1.3 system-ui;min-height:42px;padding:8px 12px;width:100%;white-space:normal}.upgrade-confirm{padding:10px;background:#fff8df;border:2px solid #c9ac72;border-radius:12px}.upgrade-confirm button{margin-top:8px}.square-dialog .building-panel.voyage-fullscreen:not([hidden]){position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;transform:none;border-radius:0;padding:16px 24px;background:#f1efdf;z-index:60;gap:8px}.voyage-fullscreen .building-panel-head{margin:0}.voyage-fullscreen #panel-description{display:none}.voyage-fullscreen #building-content{padding:0;overflow:auto;min-height:0;scrollbar-gutter:stable}.voyage-panel{color:#284d55;font-family:ui-rounded,system-ui}.voyage-heading{max-width:1100px;margin:0 auto 14px}.voyage-heading h3{font-size:28px!important;margin:3px 0!important}.voyage-heading p{font:13px/1.5 system-ui!important;margin:0}.voyage-eyebrow{font:800 10px/1.4 system-ui;letter-spacing:3px;color:#7f629e}.voyage-toolbar{display:flex;align-items:center;gap:15px;max-width:1100px;margin:0 auto 10px;font-size:14px}.voyage-map{position:relative;width:100%;max-width:1100px;height:clamp(370px,57dvh,620px);margin:auto;border:4px solid #a78f60;border-radius:22px;overflow:hidden;box-shadow:inset 0 0 0 3px #e6cd94,0 7px 16px #26464d33;background:#1c5064}.voyage-map-art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.square-dialog .voyage-node{position:absolute;transform:translate(-50%,-50%);min-height:44px;border:2px solid #eee1af;box-shadow:0 4px #123e4f,inset 0 2px #fff6;background:linear-gradient(#fff6d9,#dcc58c);color:#24444c;font:800 13px/1.25 system-ui;text-align:center;cursor:pointer}.square-dialog .continent-node{width:120px;padding:9px 7px;border-radius:15px;white-space:normal}.square-dialog .level-node{width:55px;height:55px;min-width:44px;border-radius:50%;padding:0}.voyage-node:disabled{background:#375c6c!important;color:#d2dfdc!important;opacity:.9;border-color:#a4b4ae;cursor:default}.voyage-node.current,.voyage-node[aria-pressed=true]{outline:4px solid #e9e6ad;outline-offset:5px}.voyage-node.complete{background:linear-gradient(#a7e7cd,#4ba995)!important}.voyage-node:focus-visible{outline:4px solid white;outline-offset:6px}.voyage-story,.voyage-level-card{max-width:1100px;margin:14px auto!important;font:15px/1.7 system-ui!important}.voyage-level-card{padding:20px;border:1px solid #c3c5ad;border-radius:18px;background:#fffaeb;box-sizing:border-box}.voyage-level-card h4{font-size:22px;margin:0}.voyage-level-card p{font-size:14px!important;margin:8px 0}.voyage-error{padding:12px;background:#fbe5dd;color:#822f40;border-radius:10px}.voyage-arena{position:relative;isolation:isolate;max-width:1050px;min-height:330px;margin:0 auto;border:3px solid #bcc7bb;border-radius:24px;background:radial-gradient(ellipse at 50% 100%,#eddfad 0 15%,transparent 16%),radial-gradient(ellipse at 90% 80%,var(--stage-color) 0 28%,transparent 29%),linear-gradient(#193b58,#407d8e 55%,#b3d5be 56%,#e0d7a3);display:grid;grid-template-columns:1fr 1fr;padding:20px 25px;gap:20px;overflow:hidden}.battle-location{position:absolute;top:10px;left:20px;color:#fff7d8;font:700 13px/1.5 system-ui!important;margin:0!important}.battle-actor{display:flex;flex-direction:column;align-items:center;justify-content:end;padding-top:20px}.battle-actor>img{width:180px;height:215px;object-fit:contain;filter:drop-shadow(0 7px 5px #173a4d55)}.battle-actor>svg{width:230px;height:215px;filter:drop-shadow(0 7px 5px #173a4d44)}.battle-actor h4{margin:0!important;font-size:16px;color:#173947}.battle-meter{width:min(100%,260px);background:#fffae8ed;border:1px solid #afc7b6;border-radius:14px;padding:8px 12px;box-shadow:0 3px #38575b44}.battle-meter strong{display:block;font:700 13px system-ui}.battle-meter progress{width:100%;height:12px;accent-color:#478d77}.battle-console{max-width:1050px;margin:12px auto}.battle-log{background:#fffaf0;border-left:4px solid #7d629c;border-radius:6px 12px 12px 6px;padding:10px 16px;min-height:60px}.battle-log p{font:14px/1.5 system-ui!important;margin:3px 0!important}.battle-intent{font-weight:800!important;color:#794a56}.battle-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.battle-actions .button{flex:1;white-space:normal}.battle-console>p,.battle-console>small{font:13px/1.6 system-ui!important}.voyage-fullscreen .button{min-height:44px}.battle-console>.quiet{margin-bottom:8px}.battle-console>small{display:block}@media(max-width:700px){.square-dialog .building-panel.voyage-fullscreen:not([hidden]){padding:10px}.voyage-heading h3{font-size:24px!important}.voyage-map{height:440px;box-sizing:border-box}.square-dialog .continent-node{width:82px;font-size:11px;padding:7px 3px}.square-dialog .level-node{width:44px;height:44px;font-size:11px}.voyage-story{font-size:13px!important}.voyage-arena{min-height:240px;padding:24px 10px 12px;gap:10px}.battle-actor>img{width:120px;height:148px}.battle-actor>svg{width:140px;height:148px}.battle-actor h4{font-size:12px}.battle-meter{box-sizing:border-box;padding:6px}.battle-meter strong{font-size:11px}.battle-actions{gap:6px}.square-dialog .battle-actions .button{font-size:12px;padding:8px;min-width:85px}.combat-stat-summary{grid-column:2;margin:0!important;padding:4px;font-size:11px!important}.combat-equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.combat-equipment-card{padding:8px}.combat-equipment-card>svg{width:80px;height:80px}.appearance-section .wardrobe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.square-dialog .appearance-section .wardrobe-tile{min-height:100px;padding:5px}.appearance-section .wardrobe-tile strong{font-size:11px}.character-panel .wardrobe-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-height:500px){.game-shortcuts{gap:3px}.game-shortcuts button{min-height:44px}.game-shortcuts img{width:28px;height:28px}.voyage-map{height:360px}.voyage-arena{min-height:230px}.battle-actor>img,.battle-actor>svg{height:150px}}.square-dialog .voyage-node:disabled{opacity:1!important;filter:none!important;color:#f2ecd6!important;background:#335c70!important;border-color:#adc4c2!important}.square-dialog .battle-location{color:#fff2cd!important}.character-panel .character-preview{scrollbar-gutter:stable}.voyage-journal{max-width:1100px;margin:12px auto;border:1px solid #bcc5b7;border-radius:12px;padding:14px;background:#fff9e8}.voyage-journal summary{font-weight:750;cursor:pointer}.voyage-journal p{font:14px/1.7 system-ui!important}.voyage-journal h4{margin:18px 0 6px!important}@media(max-width:700px){.character-panel .character-preview{min-height:180px;max-height:180px;grid-template-rows:auto auto auto auto}.character-panel .character-preview canvas{grid-row:1/5}.character-panel .character-stats{align-self:start}.character-panel .character-stats summary{line-height:1.4}}.square-dialog .building-panel.voyage-fullscreen:not([hidden]){inset:0;padding:0;border:0;display:block;overflow:hidden;background:#153c52;isolation:isolate}.voyage-fullscreen .building-panel-head{position:absolute;inset:0 0 auto;z-index:12;border:0;padding:0;pointer-events:none}.voyage-fullscreen .building-panel-head>div{display:none}.square-dialog .voyage-fullscreen #close-panel{pointer-events:auto;position:absolute;right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));width:48px;height:48px;min-height:48px;padding:0;border:2px solid #e7c989;border-radius:50%;background:linear-gradient(#306674,#153d50);color:#fff3c8;font:32px/1 system-ui;box-shadow:0 4px 12px #001c3666}.square-dialog .voyage-fullscreen #building-content{position:absolute;inset:0;max-height:none;overflow:hidden;scrollbar-gutter:auto;display:block;color:#fff3d6}.voyage-panel *{box-sizing:border-box}.voyage-panel .voyage-heading{position:absolute;left:max(20px,env(safe-area-inset-left));top:16px;margin:0;padding:10px 18px;border:1px solid #e6cf9880;border-radius:4px 22px 22px;background:#163b50ed;box-shadow:0 4px 20px #001f3c55;z-index:3;max-width:calc(100% - 90px);pointer-events:none}.voyage-panel .voyage-heading h3{font-size:24px!important;color:#fff0c7!important;line-height:1.2;margin:2px 0!important}.voyage-panel .voyage-eyebrow{color:#b4e3dc;font-size:10px;letter-spacing:2px}.voyage-panel .voyage-map{position:absolute;inset:0;width:100%;height:100%;max-width:none;border:0;border-radius:0;margin:0;overflow:hidden;touch-action:none;background:radial-gradient(ellipse,#29768c,#123c56);cursor:grab}.voyage-map-plane{position:absolute;left:0;top:0;will-change:transform}.voyage-panel .voyage-map-art{position:absolute;inset:0;object-fit:fill;width:100%;height:100%;pointer-events:none;user-select:none}.voyage-route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 2px 2px #113c4b)}.voyage-route polyline{fill:none;stroke:#fff0bb;stroke-width:.35;stroke-dasharray:.15 1.3;stroke-linecap:round}.square-dialog .voyage-node{border:3px solid #f1d18a;background:radial-gradient(circle at 35% 20%,#5fb6ad,#174c60 75%);color:#fff4cc;box-shadow:0 5px #143c50,inset 0 2px 1px #fff9,0 5px 12px #0c243b88;border-radius:50%;width:52px;height:52px;min-width:44px;min-height:44px;padding:0;font:800 15px/1 system-ui;z-index:2}.square-dialog .continent-node{width:60px;height:60px;font-size:22px}.voyage-node .island-name{position:absolute;left:50%;top:calc(100% + 8px);transform:translate(-50%);padding:7px 10px;white-space:nowrap;border:1px solid #eed49999;border-radius:8px;background:#123b4eea;color:#fff2ce;font:750 13px/1.2 system-ui;box-shadow:0 3px 9px #112f4b55}.square-dialog .voyage-node:disabled{background:#254657!important;border-color:#819599!important;color:#d7e0d7!important;box-shadow:0 3px #132d40!important;opacity:.9!important}.voyage-node.complete{color:#173a43!important;background:radial-gradient(circle at 35% 20%,#e3f9d6,#62bdae)!important}.voyage-node.current,.voyage-node[aria-pressed=true]{outline:3px solid #fff3bc;outline-offset:5px}.square-dialog .boss-node{width:68px;height:68px;border-color:#efcc7b;background:radial-gradient(#875b94,#2c294c);padding-top:31px}.boss-node img{position:absolute;width:62px;height:62px;object-fit:contain;top:-27px;left:0;filter:drop-shadow(0 2px 3px #092b44)}.square-dialog .voyage-control{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 16px;border:2px solid #d7b879;border-radius:10px 20px;background:linear-gradient(150deg,#376e7a,#174255);color:#fff2cd;font:750 13px/1.3 system-ui;cursor:pointer;box-shadow:inset 0 1px #d4eddf66,0 3px #102f40;white-space:normal}.square-dialog .voyage-control:hover:not(:disabled){background:linear-gradient(150deg,#4b8c91,#205c6d)}.square-dialog .voyage-control:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 2px 3px #143b4b}.square-dialog .voyage-control:disabled{opacity:.5;filter:saturate(.4);cursor:default}.square-dialog .voyage-control:focus-visible{outline:3px solid #fff0b1;outline-offset:3px}.square-dialog .voyage-start{background:linear-gradient(145deg,#f4dda2,#bb9755);color:#163a49;border-color:#ffedb8}.square-dialog .voyage-start:hover:not(:disabled){background:linear-gradient(145deg,#fff0bc,#d5b975)}.voyage-panel .voyage-toolbar{position:absolute;top:104px;left:20px;margin:0;z-index:3;gap:8px}.voyage-zoom{position:absolute;right:16px;top:80px;display:flex;flex-direction:column;gap:8px;z-index:3}.voyage-zoom button{width:44px;padding:0!important;border-radius:50%!important}.voyage-panel .voyage-map-dock{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(760px,calc(100% - 32px));padding:14px 20px;background:#13384ef2;border:2px solid #d1b77d;border-radius:24px 8px;box-shadow:0 6px 25px #00213a66;z-index:3;text-align:center}.voyage-map-dock p{font:14px/1.4 system-ui!important;color:#e1e8da!important;margin:0 0 9px!important}.voyage-island-index{display:flex;gap:8px;justify-content:center}.voyage-island-index button{width:44px;padding:0!important;border-radius:50%!important}.voyage-level-copy h4{font:800 18px/1.3 system-ui!important;color:#fff0c2;margin:0 0 5px!important}.voyage-level-copy small{font:12px/1.4 system-ui;color:#c1ddd5}.voyage-level-controls{display:flex;justify-content:center;gap:12px;margin-top:12px}.voyage-level-controls>button:first-child,.voyage-level-controls>button:last-child{width:44px;padding:0;border-radius:50%;font-size:28px}.voyage-panel .voyage-arena{position:absolute;inset:0;display:block;max-width:none;min-height:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background-size:cover;background-position:center;overflow:hidden}.voyage-arena:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#0b2c4544,transparent 25%,transparent 65%,#0b304588)}.battle-meters{position:absolute;inset:114px 6% auto;display:flex;justify-content:space-between;gap:20px}.voyage-panel .battle-meter{width:270px;padding:10px 14px;background:#13394de8;color:#fff2d3;border:1px solid #d5b980;border-radius:4px 18px;box-shadow:0 4px 12px #0a304c55;display:grid;grid-template-columns:1fr auto;gap:6px}.battle-meter strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battle-meter span{font:12px/1.4 system-ui;align-self:center}.battle-meter progress{grid-column:1/-1;display:block;appearance:none;border:0;background:#0d2c40;border-radius:10px;overflow:hidden;height:10px}.battle-meter progress::-webkit-progress-bar{background:#0d2c40;border-radius:10px}.battle-meter progress::-webkit-progress-value{background:linear-gradient(90deg,#53b6a0,#c3ecb1);border-radius:10px}.battle-meter progress::-moz-progress-bar{background:#79cbb0;border-radius:10px}.voyage-panel .battle-actor{position:absolute;padding:0;display:flex;align-items:center;justify-content:center;width:36%;height:52%;bottom:20%;left:5%;filter:drop-shadow(0 8px 5px #133a4c44)}.voyage-panel .battle-enemy{left:auto;right:5%}.battle-actor:before{content:"";position:absolute;left:23%;right:23%;bottom:5%;height:4%;background:#183a4d55;border-radius:50%;filter:blur(4px)}.battle-hero:before{display:none}.voyage-panel .battle-avatar{display:block;width:100%;height:100%;object-fit:contain;position:relative}.voyage-panel .battle-actor>img{width:90%;height:90%;max-width:440px;max-height:440px;object-fit:contain;filter:none;position:relative}.voyage-panel .battle-enemy.is-boss>img{width:100%;height:100%}.voyage-panel .battle-console{position:absolute;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(820px,calc(100% - 32px));margin:0;padding:10px 16px;border:2px solid #d4b77e;border-radius:20px 6px;background:#14384ded;color:#fff0d1;text-align:center;z-index:4;box-shadow:0 4px 25px #13354b55}.voyage-panel .battle-log{padding:0 4px;min-height:0;border:0;border-radius:0;background:none}.voyage-panel .battle-log p{font:13px/1.4 system-ui!important;color:#e8eddc!important;margin:1px 0!important}.voyage-panel .battle-intent{font:750 13px/1.4 system-ui!important;color:#f8db99!important;margin:5px 0!important}.voyage-panel .battle-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:7px 0}.square-dialog .battle-command{min-width:0;min-height:66px;padding:6px 12px;border-radius:30px 8px;display:grid;grid-template-columns:48px 1fr;gap:2px 8px;text-align:left}.battle-command img,.battle-command svg{width:48px;height:48px;object-fit:contain;grid-row:1/3}.battle-command strong{font-size:15px;align-self:end}.battle-command small{font:11px/1.4 system-ui;align-self:start;color:#d2e7dc}.square-dialog .command-attack{background:linear-gradient(150deg,#82515c,#3c354e)}.square-dialog .command-spell{background:linear-gradient(150deg,#6d669b,#33395e)}.voyage-panel .battle-status{font:11px/1.3 system-ui!important;color:#bad8d2}.voyage-panel .battle-console h4{font:800 24px/1.3 system-ui!important;margin:8px 0!important;color:#ffe4a7}.voyage-panel .battle-unlock{font:13px/1.4 system-ui!important;color:#e2ead7}.square-dialog .battle-retreat{position:absolute;right:76px;top:14px;z-index:4;min-height:44px}.taking-hit{animation:keeper-hit .45s ease-out}@keyframes keeper-hit{20%,60%{translate:8px 0;filter:brightness(1.3)}40%,80%{translate:-5px 0}to{translate:0 0}}.voyage-overlay{position:absolute;inset:0;z-index:9;background:#071d35bb;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px}.voyage-panel .voyage-overlay-card{max-width:740px;width:100%;max-height:calc(100dvh - 90px);overflow:auto;padding:24px;border:2px solid #d8bc7f;background:linear-gradient(135deg,#174756,#172f47);border-radius:28px 8px;box-shadow:0 12px 60px #071c37;text-align:center;color:#f8ecd1;margin:0}.voyage-overlay-card h3{font:800 23px/1.2 system-ui!important;color:#f4d89b!important;margin:0 0 12px!important}.voyage-overlay-card p{font:16px/1.6 system-ui!important;color:#eceddf!important}.voyage-overlay-card>.voyage-control{margin:4px}.dialogue-cast{height:260px;display:flex;justify-content:center;align-items:end;gap:35px}.dialogue-cast img{width:40%;height:100%;object-fit:contain;opacity:.6;filter:brightness(.8);transition:filter .2s,opacity .2s}.dialogue-cast img.speaking{opacity:1;filter:drop-shadow(0 4px 9px #c0dbd333)}.dialogue-copy{min-height:140px;text-align:left;background:#112d414d;border:1px solid #bad8c333;border-radius:14px;padding:15px}.dialogue-copy strong{color:#f3d48f;font:800 17px/1.3 system-ui}.dialogue-copy p{margin:8px 0 0!important}.dialogue-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:15px;flex-wrap:wrap}.dialogue-controls small{color:#b9d7ce}.square-dialog .voyage-control.quiet{border-color:transparent;background:none;box-shadow:none;text-decoration:underline;color:#cfddd2;font-size:12px}.voyage-panel .voyage-journal{text-align:left}.voyage-journal h4{color:#edce91}.voyage-journal details{margin:12px 0}.voyage-panel .voyage-error{position:absolute;z-index:15;bottom:20px;left:20px;right:20px;color:#702936!important;background:#fff0dc;font:14px/1.4 system-ui!important;border:2px solid #b85a67}.combat-equipment-card>img{width:110px;height:110px;object-fit:contain}@media(max-width:700px){.voyage-panel .voyage-heading{left:10px;top:10px;padding:8px 12px}.voyage-panel .voyage-heading h3{font-size:19px!important}.voyage-panel .voyage-eyebrow{font-size:9px;letter-spacing:1px}.voyage-panel .voyage-toolbar{left:10px;top:85px;gap:6px}.square-dialog .voyage-toolbar .voyage-control{font-size:11px;padding:7px 10px}.voyage-zoom{right:10px;top:145px;gap:6px}.voyage-panel .voyage-map-dock{width:calc(100% - 20px);padding:12px 10px;bottom:10px}.voyage-map-dock p{font-size:12px!important}.voyage-level-copy h4{font-size:16px!important}.voyage-level-copy small{font-size:11px}.voyage-level-controls{gap:6px;margin-top:9px}.voyage-level-controls .voyage-start{font-size:12px;flex:1;padding:8px 4px}.voyage-panel .battle-meters{inset:135px 10px auto;gap:8px}.voyage-panel .battle-meter{width:50%;display:block;padding:8px}.battle-meter strong{display:block;font-size:12px}.battle-meter span{font-size:11px;display:block;margin:4px 0}.voyage-panel .battle-actor{left:1.5%;width:48%;height:43%;bottom:28%}.voyage-panel .battle-enemy{right:1.5%;left:auto}.voyage-panel .battle-actor>img{max-height:none}.voyage-panel .battle-console{width:calc(100% - 20px);padding:10px 8px;bottom:10px}.voyage-panel .battle-log p,.voyage-panel .battle-intent{font-size:11px!important}.voyage-panel .battle-actions{gap:6px}.square-dialog .battle-command{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:104px;padding:6px 3px;border-radius:22px 7px;text-align:center}.battle-command img,.battle-command svg{width:38px;height:38px}.battle-command strong{font-size:12px;align-self:center}.battle-command small{font-size:10px;align-self:center}.voyage-panel .battle-status{font-size:10px!important}.square-dialog .battle-retreat{top:82px;right:12px;padding:8px 12px;font-size:11px}.voyage-overlay{padding:12px}.voyage-panel .voyage-overlay-card{padding:16px;max-height:calc(100dvh - 80px)}.voyage-overlay-card h3{font-size:20px!important}.dialogue-cast{height:190px;gap:12px}.dialogue-cast img{width:46%}.dialogue-copy{padding:12px;min-height:175px}.dialogue-copy p{font-size:14px!important}.dialogue-controls{gap:6px;margin-top:10px}.dialogue-controls .quiet{min-height:36px}.combat-equipment-card>img{width:80px;height:80px}}@media(max-height:500px)and (min-width:600px){.voyage-panel .voyage-heading{top:8px;padding:6px 12px}.voyage-panel .voyage-heading h3{font-size:18px!important}.voyage-panel .voyage-toolbar{top:75px;left:12px}.voyage-panel .voyage-map-dock{left:auto;right:10px;bottom:10px;transform:none;width:320px;padding:10px}.voyage-map-dock p{font-size:11px!important}.voyage-level-copy h4{font-size:14px!important}.voyage-level-copy p,.voyage-level-copy small{font-size:11px!important}.voyage-level-controls{gap:5px;margin-top:7px}.voyage-level-controls .voyage-control{font-size:11px;padding:7px}.voyage-zoom{top:74px;right:12px;flex-direction:row}.voyage-panel .battle-meters{inset:78px 24px auto}.voyage-panel .battle-meter{width:230px;padding:5px 9px}.battle-meter strong,.battle-meter span{font-size:11px}.voyage-panel .battle-actor{width:28%;height:54%;bottom:23%;left:10%}.voyage-panel .battle-enemy{right:10%;left:auto}.voyage-panel .battle-console{bottom:6px;padding:6px 10px;width:min(700px,calc(100% - 24px))}.voyage-panel .battle-log{display:none}.voyage-panel .battle-intent{font-size:11px!important;margin:0!important}.voyage-panel .battle-actions{margin:4px 0;gap:10px}.square-dialog .battle-command{min-height:48px;padding:3px 12px;grid-template-columns:38px 1fr}.battle-command img,.battle-command svg{width:38px;height:38px}.battle-command strong{font-size:12px}.battle-command small{font-size:10px}.voyage-panel .battle-status{display:none}.voyage-panel .voyage-overlay-card{max-width:760px;max-height:calc(100dvh - 32px);padding:12px 18px}.voyage-dialogue{display:grid;grid-template-columns:32% 1fr;column-gap:16px;align-items:center}.voyage-dialogue h3{grid-column:1/-1;font-size:18px!important}.dialogue-cast{height:170px;gap:0}.dialogue-cast img{width:50%}.dialogue-copy{min-height:150px;padding:12px}.dialogue-copy p{font-size:14px!important}.dialogue-controls{grid-column:1/-1;margin-top:10px}}@media(prefers-reduced-motion:reduce){.taking-hit{animation:none}.dialogue-cast img{transition:none}}.square-dialog .voyage-fullscreen #close-panel{position:absolute!important;min-width:48px;max-width:48px;min-height:48px!important;padding:0!important;font:32px/1 system-ui!important}.square-dialog .voyage-fullscreen .building-panel-head{position:absolute!important;margin:0!important;padding:0!important;border:0;min-height:0;height:0}.voyage-panel .battle-avatar,.voyage-panel .battle-actor>img{object-position:center bottom}.square-dialog .help-toggle{display:flex;align-items:center;justify-content:center;gap:6px;height:36px;min-height:36px;padding:4px 10px;border-radius:13px;font-size:12px;flex-shrink:0}.help-toggle>span:first-child,.help-lifebuoy{display:grid;place-items:center;border:2px solid currentColor;border-radius:50%;width:22px;height:22px;font:700 16px/1 system-ui}.help-lifebuoy{width:56px;height:56px;margin:10px auto;color:#3a777b;background:#e2f2e8;border:9px double #88b5a6;font-size:24px}@media(max-width:900px){.square-dialog .square-topbar{grid-template-columns:minmax(40px,1fr) 112px 44px 44px 44px;gap:4px 6px}.square-dialog .help-toggle{grid-column:3;grid-row:1;width:44px;height:44px;min-height:44px;padding:0;gap:0}.square-dialog .settings-toggle{grid-column:4}.square-dialog .exit-square{grid-column:5}}@media(max-width:380px){.square-dialog .square-topbar{grid-template-columns:minmax(32px,1fr) 96px 44px 44px 44px;gap:4px}.square-dialog .square-brand{min-width:0}.square-dialog .square-wordmark{max-width:100%}}.help-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;margin:0;padding:20px max(20px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));border:0;background:#f6f2e5;color:#294f50;font:16px/1.55 system-ui,sans-serif;overflow:hidden}.help-dialog[open]{display:flex;flex-direction:column}.help-dialog::backdrop{background:#163e49e8}.help-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.help-head h2{margin:0;font-size:28px}.help-dialog .button{font:inherit;font-weight:650;min-height:44px;padding:8px 16px;border:1px solid #99b9ad;border-radius:13px;color:#315d5a;background:#fffdf4;box-shadow:0 3px #a4bfb0;cursor:pointer}.help-dialog .help-close{width:48px;height:48px;padding:0;font-size:28px}.help-tabs{display:flex;gap:10px;margin:16px 0;flex-shrink:0}.help-tabs .button[aria-pressed=true]{background:#346e73;color:#fffdf4;border-color:#346e73}.help-body{min-height:0;overflow:auto;flex:1}.help-tutorial{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;overflow:hidden}.help-index{overflow:auto;padding-right:10px}.help-dialog label{display:flex;flex-direction:column;gap:6px;font-weight:600}.help-dialog input:not([type=checkbox]),.help-dialog textarea{box-sizing:border-box;width:100%;border:1px solid #91ada5;border-radius:8px;background:#fffef8;padding:10px;font:16px/1.5 system-ui;color:#234b4e;min-height:44px}.help-dialog textarea{min-height:100px;resize:vertical}.help-index h4{font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin:22px 0 6px;color:#71658c}.help-topic{display:block;width:100%;text-align:left;border:0;border-radius:9px;padding:10px 12px;min-height:44px;background:transparent;color:#365959;font:inherit;cursor:pointer}.help-topic[aria-current=page]{background:#d9e9e0;font-weight:700;box-shadow:inset 4px 0 #417d7e}.help-article{overflow:auto;padding:0 12px 28px 0;scroll-behavior:auto}.help-article h3{font-size:26px;margin:0 0 14px}.help-figure{float:right;width:min(42%,430px);margin:0 0 20px 24px;border-radius:22px;background:linear-gradient(140deg,#d7e8df,#e6deef);overflow:hidden;border:1px solid #b8c9bd}.help-figure img{display:block;width:100%;max-height:330px;object-fit:contain}.help-intro{font-size:18px;font-weight:600;margin-top:0}.help-instructions li{padding-left:5px;margin-bottom:16px}.help-instructions ol{padding-left:24px}.help-article>h4{clear:both;padding-top:16px;border-top:1px solid #cdd6c9}.help-related{display:flex;flex-wrap:wrap;gap:10px}.help-dialog .quiet{box-shadow:none;background:#e4ece3}.help-faq,.help-report{max-width:920px;margin:0 auto 35px}.help-faq h3,.help-report h3{font-size:24px;margin-top:0}.help-faq details{padding:18px 0;border-bottom:1px solid #becfc4}.help-faq summary{cursor:pointer;font-weight:650;min-height:44px;align-content:center}.help-faq details p{margin:4px 0 16px}.help-report form{display:grid;gap:18px}.help-report .help-diagnostics{flex-direction:row;align-items:flex-start;font-weight:400}.help-diagnostics input{width:22px;height:22px;flex-shrink:0;margin:2px 8px 0 0}.help-report-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#e3eade;padding:15px;font:14px/1.5 system-ui}.help-report-actions{display:flex;gap:12px;flex-wrap:wrap}.help-report-status{margin:0}.help-dialog :focus-visible{outline:3px solid #835fa4;outline-offset:3px}@media(max-width:700px){.help-dialog{padding:12px}.help-tabs{gap:6px;margin:12px 0}.help-tabs .button{padding:8px 10px;font-size:14px;flex:1}.help-tutorial{display:flex;flex-direction:column;gap:14px;overflow:auto}.help-index{flex-shrink:0;max-height:195px;overflow:auto;padding:0 4px 4px 0;border-bottom:1px solid #b9cebf}.help-index nav{display:flex;gap:6px;overflow:auto;padding-bottom:5px}.help-index h4{display:none}.help-topic{width:auto;flex-shrink:0;max-width:220px;margin-top:6px;padding:8px 10px;font-size:14px}.help-article{overflow:visible;padding-right:2px;flex-shrink:0}.help-article h3{font-size:23px}.help-figure{float:none;width:100%;margin:0 0 16px}.help-figure img{max-height:220px}.help-intro{font-size:17px}.help-report-actions .button{flex:1}}.equipment-wallet{padding:16px 20px;border:1px solid #a3c6c1;border-radius:18px;background:linear-gradient(125deg,#d4ece5,#ebe4f7);display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;color:#254f57}.equipment-wallet p{flex-basis:100%;margin:0;font-size:14px;line-height:1.5}.shard-balance{display:flex;gap:10px;align-items:center;font:700 20px/1.3 system-ui}.shard-symbol{color:#438ca9;font-size:34px;text-shadow:1px 2px #c3eef3,-1px -1px #28517b}.room-boat,.room-boat .room-front-wall{background-image:url(assets/gboy-harmony-launch-cabin.webp);background-size:100% 100%}.room-boat .room-front-wall{clip-path:polygon(0 87%,39% 87%,39% 100%,0 100%,0 87%,100% 87%,100% 100%,61% 100%,61% 87%,100% 87%)}.room-boat .cabin-chart{display:none}.room-boat .cabin-decoration-rug{left:385px;top:540px;width:230px;height:110px}.room-boat .cabin-decoration-lamp{left:840px;top:255px;width:70px;height:105px;z-index:360}.help-figure{position:relative}.help-figure figcaption{position:relative;z-index:2;background:#e1ebe2;color:#294f50;padding:12px 16px;font:600 14px/1.5 system-ui;border-top:1px solid #baccc1}.help-movement-figure>img:first-child{object-fit:cover;width:100%}.help-figure .help-example-avatar{position:absolute;top:8%;left:31%;width:38%;height:65%;object-fit:contain;filter:drop-shadow(0 7px 4px #233e3c44)}.help-figure .help-example-fighter,.help-figure .help-example-enemy{position:absolute;top:15%;width:28%;height:55%;object-fit:contain;filter:drop-shadow(0 7px 4px #233e3c44)}.help-example-fighter{left:12%}.help-example-enemy{right:12%}.voyage-panel .enemy-meter .enemy-stun{grid-column:1/-1;width:100%;border-top:1px solid #e3ce9e40;margin-top:5px;padding-top:5px}.voyage-panel .enemy-stun span{font:700 11px/1.3 system-ui;color:#f5d291;margin:0 0 4px;display:block}.enemy-stun progress::-webkit-progress-value{background:linear-gradient(90deg,#df9a47,#ffe095)}.enemy-stun progress::-moz-progress-bar{background:#e9b65e}.voyage-panel .battle-enemy.surge-ready>img{filter:drop-shadow(0 0 12px #f12f41) drop-shadow(0 0 24px #d31636);animation:surge-glow 1.15s ease-in-out infinite alternate}.battle-enemy.surge-ready:after{content:"";position:absolute;inset:15% 12% 8%;border-radius:50%;background:radial-gradient(ellipse,#f536542e,transparent 70%);z-index:-1}.enemy-warning{position:absolute;bottom:0;left:50%;transform:translate(-50%);white-space:nowrap;padding:5px 10px;border:1px solid #ffb4aa;border-radius:14px;background:#6f1834ed;color:#fff4df;font:750 12px/1.3 system-ui;z-index:2}.stun-warning{background:#385273;border-color:#ffe49f;color:#ffedb3}.is-stunned>img{filter:drop-shadow(0 0 10px #f0d278)!important}.voyage-panel .battle-console.battle-result{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 24px;max-height:calc(100dvh - 100px);overflow:auto}.square-dialog .voyage-panel .battle-result>h4,.square-dialog .voyage-panel .battle-result>.battle-unlock{margin:0!important;line-height:1.5!important;color:#fff1d1!important}.battle-result>.voyage-start{margin-top:4px;flex-shrink:0}.battle-result .battle-log{order:2;padding-top:12px;border-top:1px solid #e3ce9e45;width:100%}.voyage-panel .battle-result h4{order:-2}.voyage-panel .battle-result .battle-unlock{order:-1}.battle-result .battle-log p{color:#c6e0db!important}@keyframes surge-glow{0%{filter:drop-shadow(0 0 10px #f12f41) drop-shadow(0 0 17px #d31636)}to{filter:drop-shadow(0 0 18px #ff5163) drop-shadow(0 0 32px #e91b3b)}}@media(prefers-reduced-motion:reduce){.voyage-panel .battle-enemy.surge-ready>img{animation:none}.taking-hit{animation:none}}@media(max-width:700px){.voyage-panel .battle-actor{height:38%;bottom:30%}.enemy-warning{font-size:10px;max-width:96%;white-space:normal;text-align:center}.voyage-panel .battle-console.battle-result{padding:18px 14px;gap:10px}.voyage-panel .battle-result h4{font-size:23px!important}.enemy-stun progress{height:7px}.voyage-panel .enemy-stun span{font-size:10px}}@media(max-height:500px)and (min-width:600px){.voyage-panel .battle-meter{width:245px}.voyage-panel .battle-actor{height:48%;bottom:24%}.voyage-panel .battle-console.battle-result{max-height:200px;padding:12px 18px;gap:8px}.battle-result .battle-log{display:block}.enemy-warning{font-size:10px;padding:3px 7px}}.eye-color-controls,.eye-color-presets,.eye-lash-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.eye-color-controls label{display:flex;align-items:center;gap:10px;font-weight:700}.eye-color-controls input{width:64px;height:44px;border:1px solid #94b6aa;border-radius:10px;background:#fff9e8;padding:3px}.square-dialog .eye-color-presets .button,.square-dialog .eye-lash-options .button{min-height:40px;padding:8px 10px;font-size:12px}.eye-lash-options [aria-pressed=true]{background:#426f70;color:#fff5dc}.equipment-preview-note{font-size:12px!important;color:#355b59!important;background:#e3eddf;padding:9px;border-radius:10px}.square-dialog .equipment-preview-button{background:#edf2e5;color:#355b59;border:1px solid #92b1a7}.critical-strike>img{filter:drop-shadow(0 0 11px #ffd969)}.square-dialog .room-shop .shopkeeper{top:302px;z-index:474}.room-chair-hit{position:absolute;cursor:pointer}.room-chair-hit:focus-visible{outline:3px solid #f4dc91;outline-offset:3px}.captain-dashboard{display:flex;flex-direction:column;gap:14px}.captain-chart{width:100%;height:160px;object-fit:cover;object-position:center;border-radius:16px;border:2px solid #c2a76e}.captain-welcome,.captain-combat{margin:0!important}.captain-combat{font:700 13px/1.65 system-ui!important;color:#3a645e!important}.captain-balances{display:flex;gap:8px;flex-wrap:wrap}.captain-balances span{background:#e8eddd;border:1px solid #b9c3a5;padding:8px 12px;border-radius:12px;font:700 13px system-ui}.captain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.square-dialog .captain-destination{border:1px solid #abbfb1;border-radius:16px;background:linear-gradient(#fffbed,#dfeadd);color:#315b57;display:grid;grid-template-rows:60px auto auto;gap:8px;justify-items:center;padding:14px;min-width:0;white-space:normal;font:700 14px/1.3 system-ui}.captain-destination img{height:60px;width:70px;object-fit:contain}.captain-destination span{font-size:12px;font-weight:500}.captain-quest{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #bed0be;padding:12px}.captain-quest p{margin:5px 0!important}.square-dialog .building-panel-head .captain-back{font-size:12px;min-height:40px;padding:7px 12px;align-self:center}.building-panel-head:has(.captain-back){flex-wrap:wrap}.square-dialog .voyage-fullscreen .captain-back{position:fixed;pointer-events:auto;left:12px;bottom:12px;z-index:12;background:#224d60;color:#fff1cf;border-color:#d3b16f}.square-dialog .voyage-fullscreen:has(.captain-back) .voyage-map-dock{bottom:62px}@media(max-width:600px){.captain-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.square-dialog .captain-destination{padding:10px;font-size:12px}.captain-chart{height:125px}.captain-balances{gap:5px}.captain-balances span{font-size:11px;padding:6px 8px}.captain-quest{padding:10px 0}.square-dialog .eye-color-presets .button{font-size:10px;min-height:38px}}@media(max-height:500px){.game-shortcuts{gap:3px}.game-shortcuts button{height:44px;min-height:44px;flex-direction:row;width:85px;gap:3px}.game-shortcuts img{width:27px;height:27px}.game-shortcuts span{font-size:9px}}.square-dialog .voyage-fullscreen:has(.captain-back) .battle-console{bottom:62px}@media(max-height:500px)and (min-width:600px){.square-dialog .voyage-fullscreen .captain-back{top:12px;bottom:auto;left:50%;transform:translate(-50%)}.square-dialog .voyage-fullscreen:has(.captain-back) .battle-console{bottom:6px}.square-dialog .voyage-fullscreen:has(.captain-back) .voyage-map-dock{bottom:10px}}.square-dialog .room-chair-hit{border:2px solid #dfc58d;border-radius:14px;background:#244d5e;color:#fff4d5;padding:4px 8px;font:700 13px system-ui;box-shadow:0 3px 8px #102f4a55;cursor:pointer}.room-chair-hit[hidden]{display:none!important}.square-dialog .building-panel:has(.captain-dashboard):not([hidden]){position:fixed;inset:0;transform:none;width:100%;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;border-radius:0;padding:20px max(20px,env(safe-area-inset-right)) 16px max(20px,env(safe-area-inset-left));background:linear-gradient(135deg,#faf7e9,#e5ece1);z-index:60}.square-dialog #building-content.captain-dashboard{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;max-width:1200px;width:100%;margin:0 auto;gap:14px;padding:0 5px 16px;box-sizing:border-box}.captain-dashboard .captain-chart{height:clamp(110px,24vh,240px);flex-shrink:0;box-sizing:border-box}.captain-balance{display:inline-flex;align-items:center;gap:7px}.captain-balance svg{width:26px;height:26px;flex:none}.captain-grid{flex-shrink:0}.square-dialog:has(.captain-dashboard)>.game-shortcuts{visibility:hidden}@media(max-width:600px){.square-dialog .building-panel:has(.captain-dashboard):not([hidden]){padding:12px}.captain-balances{gap:5px}.captain-balances .captain-balance{font-size:12px;padding:6px 9px}.captain-balance svg{width:22px;height:22px}.captain-dashboard .captain-chart{height:120px}}@media(max-height:500px)and (min-width:600px){.captain-dashboard .captain-chart{display:none}.square-dialog #building-content.captain-dashboard{gap:8px}.square-dialog .captain-destination{grid-template-rows:auto;grid-template-columns:38px 1fr;gap:4px;padding:9px;text-align:left;justify-items:start}.captain-destination img{grid-row:1/3;width:38px;height:42px}.captain-destination span{font-size:11px}.captain-combat{font-size:11px!important}}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)):not([hidden]){padding:0;background:radial-gradient(ellipse at 50% 30%,#397e89,#153f58);isolation:isolate;gap:0}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) .building-panel-head{position:absolute;inset:12px 14px auto;z-index:20;padding:0;border:0;margin:0!important;pointer-events:none;gap:8px}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) .building-panel-head h3{padding:9px 14px!important;border-radius:12px;background:#173e50eb;color:#fff2d4;font-size:20px!important}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) .building-panel-head button{pointer-events:auto}.square-dialog #building-content:is(.arcade-content,.side-game-content){position:absolute;inset:0;box-sizing:border-box;max-width:none;padding:82px 18px 16px;scrollbar-gutter:auto;color:#fff2d4}.square-dialog .arcade-content :is(.arcade-help,.arcade-note,.arcade-toolbar,.arcade-counter,.arcade-status,.claw-note,.claw-intro>p,.claw-intro>h4){color:#fff2d4!important}.arcade-cards{padding-top:18px}.arcade-card p{color:#45625d!important}.square-dialog .arcade-game{max-width:none}.square-dialog .arcade-grid{width:min(100%,calc((100dvh - 220px)*1.333));max-width:none}.square-dialog .arcade-grid:is(.grid-tides,.grid-slide){width:min(100%,calc(100dvh - 250px))}.square-dialog #building-content.side-game-content,.square-dialog #building-content.claw-content:has(.claw-game){padding:0;overflow:hidden}.side-game,.claw-game{position:absolute;inset:0;margin:0;max-width:none}.square-dialog .side-game canvas,.square-dialog .claw-game .claw-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;min-width:0;aspect-ratio:auto;object-fit:contain;margin:0;border:0;border-radius:0;box-shadow:none;background:linear-gradient(#5dc9cb,#239fae 60%,#126e89)}.square-dialog .claw-game .claw-canvas{background:radial-gradient(ellipse,#39596b,#162b43)}.square-dialog .side-game-toolbar,.square-dialog .claw-game .arcade-toolbar{position:absolute;top:74px;left:16px;right:16px;z-index:3;max-width:none;display:flex;align-items:center;gap:8px;margin:0;padding:5px 9px;border-radius:12px;background:#173e50d9;color:#fff4d4;pointer-events:none}.side-game-toolbar button,.claw-game .arcade-toolbar button{pointer-events:auto}.claw-game .arcade-toolbar{justify-content:space-between}.square-dialog .side-game-help,.square-dialog .claw-game .arcade-help{position:absolute;top:124px;left:18px;right:18px;z-index:3;margin:0!important;padding:6px 10px;border-radius:9px;background:#173e50d9;color:#fff4d4!important;font-size:12px!important;pointer-events:none;text-align:center}.side-game-help small{display:none}.square-dialog .side-game-controls,.square-dialog .claw-controls{position:absolute;bottom:18px;left:0;right:0;z-index:3;margin:0;gap:12px}.square-dialog .side-game-status,.square-dialog .claw-game .arcade-status{position:absolute;bottom:72px;left:20px;right:20px;z-index:3;margin:0;padding:4px 8px;border-radius:8px;background:#173e50db;color:#fff4d4!important;text-align:center;pointer-events:none}.side-game-status:empty{display:none}@media(max-width:600px){.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) .building-panel-head{inset:8px 8px auto;gap:5px}.square-dialog .building-panel:has(:is(.arcade-content,.side-game-content)) .building-panel-head h3{font-size:15px!important;padding:9px!important}.square-dialog .side-game-toolbar,.square-dialog .claw-game .arcade-toolbar{left:8px;right:8px;top:65px;flex-wrap:wrap}.square-dialog .side-game-toolbar output{min-width:95px;font-size:11px}.square-dialog .side-game-help,.square-dialog .claw-game .arcade-help{top:119px;left:8px;right:8px;font-size:11px!important}.square-dialog .arcade-help{font-size:12px!important}.square-dialog .arcade-grid{gap:5px}}@media(max-height:500px)and (min-width:600px){.square-dialog .side-game-toolbar,.square-dialog .claw-game .arcade-toolbar{top:65px;left:auto;width:340px;right:12px}.square-dialog .side-game-help,.square-dialog .claw-game .arcade-help{inset:auto auto 12px 12px;max-width:260px;font-size:10px!important}.square-dialog .side-game-controls,.square-dialog .claw-controls{left:auto;right:16px;bottom:12px}.square-dialog .side-game-status,.square-dialog .claw-game .arcade-status{left:280px;right:200px;bottom:12px;font-size:10px!important}.square-dialog #building-content.arcade-content:not(.claw-content){padding-top:65px}.square-dialog .arcade-grid{width:min(100%,calc((100dvh - 160px)*1.333));margin:5px auto}.square-dialog .arcade-grid:is(.grid-tides,.grid-slide){width:min(100%,calc(100dvh - 190px))}}.help-instructions .help-bullets{list-style:disc;padding-left:20px;margin:12px 0;display:grid;gap:10px}.help-bullets li{padding-left:3px;line-height:1.6}.help-bullets strong{color:#254f58;font-weight:800}.help-bullets li::marker{color:#668f89}.square-dialog .aquarium-water,.square-dialog .room-aquarium .aquarium-water,.aquarium-view .aquarium-water{inset:23% 3.5% 26%;border-radius:0;overflow:hidden}.aquarium-fish-far{z-index:1}.aquarium-fish-back{z-index:3}.aquarium-fish-front{z-index:5}.aquarium-fish-far .aquarium-swimmer{opacity:.86;filter:saturate(.82)}.aquarium-fish-back .aquarium-swimmer{opacity:.95;filter:saturate(.94)}.aquarium-foreground{z-index:6}.aquarium-glass{inset:23% 3.5% 26%;z-index:7}.aquarium-middle .reef-cluster{width:12%;bottom:28%}.aquarium-middle .reef-cluster-left{left:7%}.aquarium-middle .reef-cluster-right{right:7%}.aquarium-foreground .reef-cluster{width:14%;bottom:26%}.aquarium-foreground .reef-cluster-left{left:3%}.aquarium-foreground .reef-cluster-right{right:3%}.reef-decor-arch{left:20%;bottom:27%;width:18%;height:27%}.reef-decor-shelter{right:20%;bottom:27%;width:14%;height:24%}.reef-decor-backdrop{top:25%}.reef-decor-plant{right:5%;bottom:27%;width:12%;height:24%}.square-dialog .building-panel:has(.aquarium-panel):not([hidden]){position:fixed;inset:0;transform:none;width:100%;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;border-radius:0;padding:20px;z-index:60}.square-dialog #building-content.aquarium-panel{max-width:1200px;width:100%;box-sizing:border-box;margin:0 auto;display:block;overflow:auto;flex:1;min-height:0}.aquarium-panel .fish-rarity-tabs{flex-wrap:wrap}.aquarium-panel .fish-rarity-tabs button{flex:1;min-width:90px}.aquarium-view{background:#103e4e;color:#fff5db;padding:12px}.aquarium-view-port{border:0;border-radius:0;background:#0b3344}.aquarium-view h2{color:#fff5db}.aquarium-view-status{color:#e0eff0}.voyage-story-progress{display:block;color:#fff3ce;margin-top:4px}.journal-resolution{padding-left:14px;border-left:3px solid #ad914c}@media(max-width:600px){.square-dialog .building-panel:has(.aquarium-panel){padding:12px}.aquarium-panel .fish-rarity-tabs button{min-width:70px;padding:8px 5px}}.game-shortcuts{max-height:calc(100dvh - 115px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.square-dialog .building-panel:has(.social-panel){position:fixed;inset:0;transform:none;width:100%;height:100dvh;max-height:none;max-width:none;box-sizing:border-box;border-radius:0;padding:20px;z-index:60}.square-dialog #building-content.social-panel{display:block;overflow:auto;flex:1;min-height:0;max-width:1000px;width:100%;margin:0 auto;box-sizing:border-box;padding:4px 4px 24px}.social-panel h4{font-size:23px;margin:20px 0 12px}.social-panel h4:focus{outline:none}.social-search,.social-squad-form{display:flex;align-items:end;gap:12px;margin:16px 0;flex-wrap:wrap}.social-field{display:grid;gap:7px;font-weight:700;flex:1;min-width:180px}.social-panel input,.social-panel textarea{font:16px/1.5 system-ui;color:#234b4b;background:#fffef5;border:2px solid #8db9b1;border-radius:12px;box-sizing:border-box;padding:10px;width:100%;max-width:100%}.social-section{margin:20px 0}.social-person{display:flex;gap:14px;align-items:center;border:1px solid #b3cbc0;border-radius:18px;padding:12px;margin:10px 0;background:#fffdf6b0;box-shadow:0 4px 12px #2c676510}.social-avatar{width:90px;height:108px;object-fit:contain;flex-shrink:0}.social-person-copy{min-width:0;flex:1}.social-person-copy>strong{font-size:19px}.social-person-copy>small{display:block;overflow-wrap:anywhere;color:#52736c;margin:4px 0}.social-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.social-panel .button{font-size:14px;min-height:44px;padding:9px 14px}.social-id{font-size:11px}.social-profile-hero{display:flex;gap:35px;align-items:center;margin:20px 0}.social-profile-hero .social-avatar{width:clamp(110px,30vw,250px);height:auto;aspect-ratio:5/6}.social-stats{display:grid;grid-template-columns:1fr auto;gap:8px 20px;flex:1}.social-stats dd{font-weight:800;margin:0}.social-invite{font-weight:800;letter-spacing:2px;padding:15px;background:#dcece5;border-radius:12px}.social-panel details{margin:20px 0}.social-panel summary{cursor:pointer;min-height:32px;font-weight:700}.social-messages{display:flex;flex-direction:column;gap:12px;margin:18px 0}.social-message{max-width:80%;padding:12px 16px;border-radius:16px 16px 16px 3px;background:#e2ebe3;align-self:flex-start;overflow-wrap:anywhere}.social-message.sent{background:#e9dff1;align-self:flex-end;border-radius:16px 16px 3px}.social-message p{white-space:pre-wrap;margin:7px 0}.social-message small{color:#546862;font-size:11px}.social-compose{display:grid;gap:10px}.social-compose label{display:grid;gap:6px;font-weight:700}.social-compose .button{justify-self:end}.social-notice{padding:12px;border:1px solid #b26b56;color:#884c3b;border-radius:12px}.square-dialog:has(#building-panel:not([hidden]) .social-panel)>.game-shortcuts{visibility:hidden}@media(max-width:600px){.square-dialog .building-panel:has(.social-panel){padding:12px}.social-avatar{width:64px;height:77px}.social-person{gap:9px;padding:10px}.social-actions .button{font-size:12px;padding:8px 10px}.social-profile-hero{gap:12px}.social-stats{font-size:13px;gap:8px}.social-message{max-width:90%}}@media(max-height:500px){.game-shortcuts{display:grid;grid-template-columns:repeat(2,85px);gap:4px}.game-shortcuts button{width:85px}}.square-dialog .side-game,.square-dialog .claw-game{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0}.square-dialog .side-game-help{max-width:none}.voyage-panel:has(.voyage-level-copy) .voyage-map{inset:86px 0 var(--voyage-dock-space,140px)}.voyage-panel:has(.voyage-level-copy) .voyage-map-dock{left:12px;right:12px;bottom:10px;width:auto;max-width:900px;margin:auto;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:18px;background:#173d50f5}.voyage-level-copy{text-align:left;min-width:0}.voyage-map-dock .voyage-level-copy h4{font-size:18px;margin:0 0 4px}.voyage-map-dock .voyage-level-copy p{font-size:13px;margin:3px 0}.voyage-map-dock .voyage-level-copy small{display:block;font-size:11px;color:#c9e0dd}.voyage-level-controls{flex-shrink:0;gap:8px}.voyage-level-controls .voyage-control{min-height:44px;font-size:13px;padding:8px 12px}.voyage-level-controls .voyage-start{min-width:0}.voyage-panel:has(.voyage-level-copy) .voyage-zoom{bottom:calc(var(--voyage-dock-space,140px) + 10px)}.voyage-node.level-node{--node-color:#458d87;--node-edge:#1c565b;width:64px;height:64px;border:3px solid #efd69a;border-radius:50%;font-size:17px;font-weight:900;color:#fff4d0;text-shadow:0 2px 2px #163d4d;background:radial-gradient(ellipse at 35% 24%,#e6fff8b5,transparent 35%),radial-gradient(circle,var(--node-color) 0 49%,var(--node-edge) 51% 60%,#dec080 62% 67%,#6d5139 70% 73%,#f5dba2 75%);box-shadow:inset 0 2px 2px #fff9cfaa,inset 0 -4px 5px #112e4f80,0 5px #183e49,0 7px 9px #051f4b88;isolation:isolate}.level-node:before{content:none}.level-node[data-theme="2"]{--node-color:#b79147;--node-edge:#735032}.level-node[data-theme="3"]{--node-color:#6fa9c5;--node-edge:#3e628d}.level-node[data-theme="4"]{--node-color:#9374b8;--node-edge:#514c85}.level-node[data-theme="5"]{--node-color:#bf7766;--node-edge:#8b4858}.level-node[data-theme="6"]{--node-color:#809780;--node-edge:#425f68}.voyage-node.level-node.current{outline:3px solid #fff3b5;outline-offset:7px;box-shadow:inset 0 2px 4px #ffffd8,0 5px #183e49,0 0 23px #f8dc9cbf}.voyage-node.level-node.complete:after{content:"\2713";position:absolute;right:-5px;top:-7px;width:23px;height:23px;line-height:22px;border-radius:50%;font-size:14px;background:#edf2c3;color:#28675b;border:2px solid #caab6f;text-shadow:none}.voyage-node.level-node:disabled{opacity:.72;filter:saturate(.4);color:#d0d6cf}.voyage-node.boss-node{width:82px;height:82px;border-radius:26%;background:radial-gradient(ellipse at 35% 24%,#e6fff8b5,transparent 35%),linear-gradient(145deg,var(--node-color),var(--node-edge))}.voyage-node.boss-node>img{filter:drop-shadow(0 2px 2px #102f4d);max-height:54px}@media(max-width:600px){.voyage-panel:has(.voyage-level-copy) .voyage-map{top:100px}.voyage-panel:has(.voyage-level-copy) .voyage-map-dock{padding:9px 11px;gap:7px;flex-direction:column;align-items:stretch;left:8px;right:8px}.voyage-map-dock .voyage-level-copy h4{font-size:15px}.voyage-map-dock .voyage-level-copy p{font-size:11px;margin:1px 0}.voyage-level-controls{justify-content:center}.voyage-level-controls .voyage-control{font-size:12px;padding:7px 10px}.voyage-node.level-node{width:54px;height:54px;font-size:15px}.voyage-node.boss-node{width:68px;height:68px}.voyage-node.boss-node>img{max-height:43px}}@media(max-height:500px)and (min-width:600px){.voyage-panel:has(.voyage-level-copy) .voyage-map{top:73px}.voyage-panel:has(.voyage-level-copy) .voyage-map-dock{padding:7px 14px;bottom:6px;max-width:780px}.voyage-map-dock .voyage-level-copy h4{font-size:15px}.voyage-map-dock .voyage-level-copy p{font-size:11px;margin:1px 0}.voyage-map-dock .voyage-level-copy small{font-size:10px}.voyage-level-controls .voyage-control{font-size:12px}.voyage-node.level-node{width:52px;height:52px;font-size:14px}.voyage-node.boss-node{width:66px;height:66px}}.voyage-panel:has(.voyage-level-copy) .voyage-map{height:auto}.voyage-panel:has(.voyage-level-copy) .voyage-map-dock{transform:none}.aquarium-view .reef-empty{color:#284e53;background:#fff8e8f5;text-shadow:none}.game-shortcuts{gap:7px}.game-shortcuts button{width:56px;min-height:44px;border-radius:12px}.game-shortcuts img{width:40px;height:40px}@media(max-width:600px){.game-shortcuts{gap:6px}.game-shortcuts button{width:48px;font-size:9px}.game-shortcuts img{width:33px;height:33px}}@media(max-height:500px){.game-shortcuts{grid-template-columns:repeat(2,76px);gap:4px}.game-shortcuts button{width:76px;height:44px}.game-shortcuts img{width:24px;height:24px}}.appearance-section .wardrobe-grid.color-swatches{display:flex;flex-wrap:wrap;gap:6px}.square-dialog .appearance-section .color-swatches .wardrobe-tile,.square-dialog .eye-color-presets .eye-color-swatch{width:44px;height:44px;min-height:44px;min-width:44px;padding:6px;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 3px #25483c22}.color-swatches .fabric-swatch{width:28px;height:28px}.square-dialog .eye-color-swatch:before{content:"";width:28px;height:28px;border-radius:50%;background:var(--swatch);box-shadow:inset 2px 3px 4px #fff8,inset -2px -2px 4px #183c4755}.square-dialog .eye-color-swatch[aria-pressed=true],.square-dialog .color-swatches .wardrobe-tile[aria-pressed=true]{border:2px solid #665189;outline:2px solid #a18cb9;outline-offset:1px;background:#e8e0f2}.eye-color-controls input{width:44px;height:44px}.square-dialog .eye-color-controls .button{width:44px;min-height:44px;padding:4px;font-size:18px}.game-shortcuts button{font-size:9px;line-height:1.15}@media(max-width:600px){.game-shortcuts button{font-size:8px}}.square-dialog .voyage-node.continent-node{border:3px solid #e9d09b;background:radial-gradient(ellipse at 30% 18%,#e8fff49c,transparent 48%),linear-gradient(145deg,var(--island-tint,#3e8985),#173e54);box-shadow:inset 0 0 0 3px #fbdfa947,inset 0 -5px 8px #092e4770,0 4px #143e51,0 6px 10px #092a4c70}.square-dialog .voyage-node.level-node{background:radial-gradient(ellipse at 32% 18%,#e6fff88c,transparent 45%),linear-gradient(145deg,var(--node-color),var(--node-edge));box-shadow:inset 0 0 0 3px #f5dba255,inset 0 -4px 7px #112e4f66,0 4px #183e49,0 6px 9px #051f4b77}.voyage-node.level-node.current{outline-offset:4px}.voyage-node.level-node:before{content:none}.voyage-panel .battle-console{width:min(680px,calc(100% - 24px));padding:8px 12px;border-radius:16px 6px}.voyage-panel .battle-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:5px 0}.square-dialog .battle-command{display:grid;grid-template-columns:30px 1fr;min-height:52px;padding:5px 7px;gap:2px 5px;border-radius:19px 6px;text-align:left}.battle-command img,.battle-command svg{width:30px;height:30px}.battle-command strong{font-size:12px}.battle-command small{font-size:9px}.square-dialog .command-heal{background:linear-gradient(145deg,#367966,#204e50)}.voyage-panel .battle-log p{font-size:12px!important}.voyage-panel .battle-intent{font-size:12px!important;margin:3px 0!important}.voyage-panel .battle-status{font-size:10px!important}@media(max-width:700px){.voyage-panel .battle-console{width:calc(100% - 16px);padding:7px 6px}.square-dialog .battle-command{display:flex;flex-direction:column;min-height:72px;padding:4px 2px;gap:2px;text-align:center}.battle-command img,.battle-command svg{width:26px;height:26px}.battle-command strong{font-size:10px;align-self:center}.battle-command small{font-size:8px}.voyage-panel .battle-log p,.voyage-panel .battle-intent{font-size:10px!important}.voyage-panel .battle-status{font-size:9px!important}}@media(max-height:500px)and (min-width:600px){.voyage-panel .battle-console{width:min(610px,calc(100% - 24px));padding:4px 8px}.square-dialog .battle-command{min-height:44px;padding:3px 6px}.battle-command img,.battle-command svg{width:26px;height:26px}.battle-command strong{font-size:11px}.battle-command small{font-size:9px}.voyage-panel .battle-intent{font-size:10px!important}}.voyage-map-ambience{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.voyage-route{z-index:1}.voyage-node{z-index:2}.room-arcade-tables,.room-arcade-tables .room-front-wall{background-image:url(assets/gboy-puzzle-room.webp);background-size:100% 100%}.room-arcade-machines,.room-arcade-machines .room-front-wall{background-image:url(assets/gboy-machine-hall.webp);background-size:100% 100%}.room-arcade-tables .room-front-wall,.room-arcade-machines .room-front-wall{clip-path:inset(86% 0 0);z-index:1100}.offline-screen{position:absolute;left:16%;top:23%;width:68%;height:39%;display:grid;place-items:center;text-align:center;padding:4px;background:#101920;border:3px solid #52496b;border-radius:7px;color:#d7c4a2;font-size:11px;font-weight:800;box-shadow:inset 0 0 15px #000}.building-panel:has(.pool-panel){position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;background:#102d3d;color:#f4edcf;overflow:auto;padding:12px 20px}.building-panel:has(.pool-panel) .building-panel-head{max-width:none;min-height:40px}.building-panel:has(.pool-panel) .building-panel-head h2{font-size:20px;color:#f4edcf}.pool-panel{max-width:1200px;margin:auto;color:#f4edcf}.pool-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.pool-header h3{margin:4px 0;font-size:22px}.pool-panel .button{padding:8px 15px;min-height:44px;font-size:15px}.pool-modes,.pool-online{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.pool-rules{max-width:780px;margin:20px 0;line-height:1.5}.pool-rules li{margin:10px 0}.pool-status{margin:4px 0;text-align:center;font-weight:700}.pool-table-view{width:min(100%,calc((100dvh - 265px)*1.833));margin:auto}.pool-canvas{display:block;width:100%;aspect-ratio:11/6;touch-action:none;border-radius:20px;box-shadow:0 8px 30px #0007}.pool-controls{display:flex;gap:16px;align-items:end;justify-content:center;margin:8px auto;max-width:760px}.pool-range{display:flex;flex-direction:column;min-width:90px;flex:1;font-size:13px}.pool-range input{width:100%;min-height:36px;accent-color:#e3c57d}.pool-log{font-size:13px;text-align:center;margin:5px 0}.pool-error{color:#ffd4a4}.pool-chat-toggle{position:fixed;right:20px;bottom:15px;z-index:5}.pool-chat{position:fixed;right:20px;bottom:68px;width:min(340px,calc(100vw - 40px));padding:15px;background:#f6efdc;color:#244752;border:3px solid #b99b61;border-radius:15px;box-shadow:0 5px 30px #0008;z-index:6}.pool-chat-log{max-height:180px;overflow:auto;font-size:14px}.pool-chat form{display:flex;gap:6px}.pool-chat input{min-width:0;width:100%}.pool-leave{margin:8px 0}.pool-friend-list{display:flex;gap:10px;flex-wrap:wrap}.pool-friend-list h4{width:100%}.lore-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.lore-tabs .button{font-size:15px;padding:10px 16px}.lore-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:15px}.lore-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px;background:#fff8e6;border:2px solid #b7c9c1;border-radius:20px;color:#345b58;cursor:pointer}.lore-card img{width:100%;height:150px;object-fit:contain}.lore-card:disabled{filter:grayscale(1);opacity:.45;cursor:default}.lore-card strong{font-size:15px}.lore-card small{font-size:12px}.lore-detail{min-height:calc(100dvh - 180px);display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center}.lore-detail>img{height:min(52dvh,520px);width:80%;object-fit:contain}.lore-detail>p{max-width:760px;font-size:18px;line-height:1.5}.lore-location{font-weight:700}.lore-journal{padding:18px;border-bottom:1px solid #adc5b8}.lore-journal summary{font-weight:800;cursor:pointer}.lore-journal p{line-height:1.6}.account-notification{padding:14px;border:1px solid #b6c9bf;border-radius:14px;margin:10px 0}.account-notification.unread{border-left:5px solid #8b6cb2}.account-notification .button{margin:8px}.inbox-thread{max-height:45dvh;overflow:auto;background:#e0ebe4;padding:15px;border-radius:12px}.inbox-compose{display:flex;gap:10px;margin:12px 0}.inbox-compose textarea{width:100%;min-height:70px}.messages-panel>.button{margin:5px}.shard-pill img{width:28px;height:30px;object-fit:contain}.combat-spell-art{width:100%;height:100%;object-fit:contain}@media(max-width:600px){.game-shortcuts{gap:3px}.game-shortcuts button{width:44px;min-height:44px}.game-shortcuts button img{width:32px;height:32px}.game-shortcuts button span{font-size:7.5px}.shard-pill img{width:21px;height:24px}.lore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lore-card img{height:135px}.building-panel:has(.pool-panel){padding:8px}.pool-header h3{font-size:17px}.pool-controls{gap:8px;flex-wrap:wrap}.pool-range{flex-basis:36%}.pool-table-view{width:100%}.pool-modes,.pool-online{gap:8px}.pool-panel .button{font-size:13px;padding:8px 12px}.pool-chat-toggle{right:10px;bottom:10px}}@media(max-height:500px)and (orientation:landscape){.pool-header{display:flex;position:absolute;right:105px;top:6px;z-index:2}.pool-header h3{display:none}.pool-table-view{width:min(70%,calc((100dvh - 145px)*1.833))}.pool-status{font-size:12px}.pool-controls{margin:3px auto;gap:10px}.pool-range input{min-height:24px}.pool-panel .button{padding:5px 10px}.pool-log{font-size:11px}.pool-leave{position:absolute;left:8px;bottom:8px}.game-shortcuts{gap:3px}}.square-dialog .shard-pill{display:flex;align-items:center;justify-content:center;gap:5px;min-width:52px;padding:3px 7px;border:1px solid #acd1d0;border-radius:10px;background:#e2f0e8;color:#315c67;font:700 13px/1.2 system-ui;font-variant-numeric:tabular-nums}@media(max-width:900px){.square-dialog .square-balances{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(58px,.95fr);gap:4px}.square-dialog .shard-pill{height:30px;min-height:30px;min-width:0;padding:3px;font-size:12px}.square-dialog .shard-pill img{width:20px;height:23px}}@media(max-width:380px){.square-dialog .square-balances{grid-template-columns:repeat(4,minmax(0,1fr)) 58px;gap:3px}.square-dialog .square-topbar .square-balances>:is(.coin-pill,.ticket-pill,.gem-pill){padding:3px;gap:2px}.square-dialog .shard-pill{font-size:11px;gap:2px}}.square-dialog .pool-panel :is(h3,h4,p,summary,label,li){color:#f4edcf}.building-panel:has(.pool-panel) .building-panel-head :is(h2,h3){color:#f4edcf}.square-dialog .pool-chat :is(h3,h4,p,label){color:#244752}.square-dialog .pool-panel .pool-error{color:#ffd0a1}.square-dialog .building-panel:has(.pool-panel):not([hidden]){position:fixed;inset:0;transform:none;box-sizing:border-box;width:100%;height:100dvh;max-width:none;max-height:none;z-index:60}.square-dialog .building-panel:has(.pool-panel) #building-content{max-height:none;overflow-y:auto;overflow-x:hidden;width:100%;box-sizing:border-box}.square-dialog:has(#building-panel:not([hidden]) .pool-panel)>.game-shortcuts{visibility:hidden}.town-travelling .world-water,.town-travelling .world-water:after{animation-play-state:paused}.reef-pager{display:flex;align-items:center;gap:.55rem}@media(max-width:600px){.aquarium-view-controls{justify-content:space-between}.aquarium-view-controls label{flex:1}.aquarium-view-controls input{flex:1;min-width:4rem;max-width:13rem}.aquarium-view-controls output{min-width:4ch}.aquarium-view-controls .reef-pager{flex:0 0 100%;justify-content:center}.aquarium-view .button{min-height:44px}}.gem-store-dialog header{position:sticky;top:-18px;z-index:1;background:#fff7e7;margin:-18px -18px 0;padding:6px 12px 4px 18px;border-bottom:1px solid #d9c4a3}.gem-store-dialog header h2{margin:0}.gem-store-dialog [hidden]{display:none!important}.gem-store-dialog header button{min-width:44px;min-height:44px}.gem-package-art{position:relative;flex:none;min-height:0}.gem-package-art :is(svg,canvas){position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.gem-package .button{margin-top:auto;min-height:44px}@media(max-height:500px)and (orientation:landscape){.gem-package-art{height:clamp(66px,20dvh,96px);aspect-ratio:auto}}.harbor-tide-clock{position:absolute;left:676px;top:577px;width:52px;height:72px;z-index:749;background:linear-gradient(90deg,#3b6167,#abbeab 38%,#50777a 62%,#294754) center bottom/13px 30px no-repeat;border:0;padding:0;cursor:pointer;filter:drop-shadow(1px 3px 2px #45382675)}.harbor-tide-clock:after{content:"";position:absolute;bottom:0;left:10px;width:32px;height:8px;border-radius:50%;background:linear-gradient(#ddc386,#746143)}.harbor-clock-face{position:relative;display:inline-block;isolation:isolate;width:48px;height:48px;box-sizing:border-box;border:3px solid #a7824c;border-radius:50%;background:radial-gradient(circle,#426a70 30%,#254852 69%,#c3ae77 71%,#eedcaf 79%,#795f39 90%);box-shadow:0 1px 0 2px #615c47,inset 1px 2px 4px #132d37;color:#fff0be}.harbor-tide-clock .harbor-clock-face{position:absolute;top:2px;left:2px}.clock-dial{position:absolute;inset:7%;border-radius:50%;background:repeating-conic-gradient(#eddbaf 0deg 3deg,transparent 3deg 30deg);mask:radial-gradient(transparent 59%,#000 61%)}.clock-hand{position:absolute;left:48%;width:5%;bottom:50%;transform-origin:50% 100%;border-radius:80% 80% 10% 10%;background:#ffdfa0}.clock-hand.short{height:25%;transform:rotate(-54deg)}.clock-hand.long{height:37%;transform:rotate(12deg);background:#bcf2ed}.clock-pin{position:absolute;inset:44%;background:#f4d494;border-radius:50%}.waking .clock-hand.long,.running .clock-hand.long{animation:harbor-hand 16s linear infinite}.running .clock-hand.short{animation:harbor-hand 80s linear infinite}.clock-large{display:block;margin:.6rem auto;width:80px;height:80px}@keyframes harbor-hand{to{transform:rotate(372deg)}}.tide-archive-relay-card{display:flex;align-items:center;gap:12px;text-align:left}.tide-archive-relay-card img{width:clamp(48px,14vw,90px);max-height:100px;object-fit:contain}.tide-archive-relay-card p{color:inherit}.tide-caption{text-align:center}.relief-instrument,.nursery-result{display:flex;align-items:center;justify-content:center;gap:.5em;flex-wrap:wrap}.relief-instrument meter{width:5em}.sentry-braced img{transform:rotate(-8deg) scaleY(.9);transform-origin:center bottom}.nursery-shoal{display:inline-block;position:relative;width:66px;height:26px;pointer-events:none}.nursery-marker{position:absolute;left:calc(var(--n)*20px);top:calc(var(--n)*3px);width:14px;height:15px;border-radius:80% 25% 55% 45%;background:radial-gradient(circle at 66% 52%,#222d50 9%,#f8fffa 12%,transparent 21%),linear-gradient(120deg,#3f9c99,#a1f5cb,#66babb);box-shadow:-3px 6px 0 -4px #70d5bb,-6px 4px 0 -4px #72cbbb;animation:nursery-drift 3s ease-in-out infinite alternate;animation-delay:calc(var(--n)*-.6s)}.map-hatchlings{position:absolute;left:44%;top:46%;width:6%;height:auto;aspect-ratio:2.8}.map-hatchlings .nursery-marker{left:calc(var(--n)*30%);top:calc(var(--n)*10%);width:21%;height:55%}@keyframes nursery-drift{to{transform:translate(10px,-4px) rotate(8deg)}}@media(prefers-reduced-motion:reduce){.clock-hand,.nursery-marker{animation:none!important}.waking .clock-hand.long,.running .clock-hand.long{transform:rotate(90deg)}.running .clock-hand.short{transform:rotate(45deg)}}.motion-paused :is(.clock-hand,.nursery-marker),.ambience-paused :is(.clock-hand,.nursery-marker){animation-play-state:paused!important}.local-playtest{font-size:13px;padding:.5em 0}.local-playtest summary{cursor:pointer}.local-playtest pre{font:12px/1.5 system-ui;white-space:pre-wrap}.local-playtest p{font-size:12px}.square-settings:has(.local-playtest[open]){max-height:calc(100dvh - 80px);overflow:auto}.scene-transition.warm-cover{background:#162e38}.scene-transition.warm-cover:before,.scene-transition.warm-cover:after,.scene-transition.warm-cover>*{visibility:hidden}.valve-wheel{width:1.75em;height:1.75em;box-sizing:border-box;border:.2em solid #bd8470;border-radius:50%;background:radial-gradient(circle,#fce4bb 0 14%,#85614b 15% 23%,transparent 25%),repeating-conic-gradient(#c48a70 0deg 10deg,transparent 10deg 60deg);box-shadow:inset 1px 1px 2px #493b32,0 1px 2px #21333b}.relief-instrument[data-open=true] .valve-wheel{transform:rotate(40deg);border-color:#8abcb5}.valve-node:after{content:"\2699";position:absolute;top:-.45em;right:-.25em;font:700 .8em/1 system-ui;color:#f5d29a;text-shadow:0 1px 2px #263536}.harmony-town-plate{position:absolute;left:0;top:0;width:1536px;height:1536px;max-width:none;pointer-events:none;user-select:none;image-rendering:auto;z-index:0}.harmony-coast-patch{z-index:1}.harmony-water-motion{position:absolute;z-index:2;pointer-events:none}.harmony-water-motion:before,.harmony-water-motion:after{content:"";position:absolute;inset:0}.harmony-water-motion:before{background:var(--water-reflection-image) center/100% 100% no-repeat;animation:harbor-refraction 5.8s ease-in-out infinite}.harmony-water-motion:after{background:radial-gradient(ellipse 64px 3px at 35% 41%,#b6edf16b 0,transparent 98%) 0 0/276px 37px,radial-gradient(ellipse 28px 1px at 59% 67%,#d7fcfa62 0,transparent 97%) 0 0/187px 53px;mix-blend-mode:screen;animation:harbor-glints 7.3s ease-in-out infinite}@keyframes harbor-refraction{0%,to{opacity:.23;transform:translate(-3px)}26%{opacity:.48;transform:translate(4px,2px) skew(.22deg)}65%{opacity:.34;transform:translate(3px,-3px) skew(-.12deg)}}@keyframes harbor-glints{0%,to{opacity:.14;transform:translate(-8px,-3px)}45%{opacity:.56;transform:translate(12px,8px)}72%{opacity:.27;transform:translate(3px,2px)}}#town-stage .world-object{transform:none}.harmony-place-label,.harmony-contact-marker{position:absolute;transform:translate(-50%,-50%);z-index:1900;pointer-events:none;white-space:nowrap;padding:4px 8px;border-radius:5px;background:#283d48d9;color:#fff6df;font:600 10px/1.2 system-ui;letter-spacing:.08em}.harmony-place-label.door-in-use{visibility:hidden}.harmony-contact-marker{background:#603b40e8;font-size:9px}.bloc-relay-light{position:absolute;width:9px;height:9px;border-radius:50%;background:#ef544f;box-shadow:0 0 9px #ff6b49;pointer-events:none}.bloc-relay-light.talking{background:#ffdd9c}#town-stage:after{inset:0 0 -512px;z-index:1;box-shadow:inset 0 0 50px #173d4b22}#town-stage .building span{display:none}.harmony-atmosphere{position:absolute;inset:0 0 -512px;pointer-events:none;z-index:1700;overflow:hidden}.harmony-atmosphere i{position:absolute;width:2px;height:2px;background:#fff7d8;border-radius:50%;opacity:.3;animation:harmony-mote var(--duration) ease-in-out var(--delay) infinite}@keyframes harmony-mote{50%{transform:translate(8px,-14px);opacity:.65}}.ambience-paused .harmony-atmosphere i{animation-play-state:paused}@media(prefers-reduced-motion:reduce){.harmony-atmosphere i{animation:none}}.square-dialog .avatar{width:72px;aspect-ratio:5/6}.square-dialog #avatar{transform-origin:50% 100%}.square-dialog .avatar.room-avatar{width:90px}.room-inspect-hit[aria-disabled=true]{pointer-events:none}.avatar .avatar-upper,.avatar .avatar-foot{display:none!important}.avatar .gboy-motion-art{position:absolute;inset:0;width:100%;height:100%;image-rendering:auto;pointer-events:none}.avatar-bob{translate:0 0;animation:none}.avatar .avatar-body{transform-origin:50% 98%}.avatar[data-reaction] .avatar-body{transform:none}.avatar.is-seated .sitting-art{width:72px;height:86px}.room-avatar.is-seated .sitting-art{width:100%;height:100%}.dock-fishing-rig{position:absolute;pointer-events:none}.dock-fishing-rig:before{content:"";position:absolute;left:-27px;top:-8px;width:53px;height:13px;background:radial-gradient(ellipse,#3b312f42,transparent 72%)}.harmony-harbor-harmie{display:none;position:absolute;left:-49px;top:-104px;width:98px;height:104px;object-fit:contain;object-position:center bottom;transform-origin:50% 96%}.dock-fishing-rig.is-talking .harmony-harbor-harmie{display:block;animation:resident-breathe 4.2s ease-in-out infinite}.dock-fishing-rig.is-talking .dock-fishing-cast{visibility:hidden}.dock-fishing-frame{position:absolute;opacity:0;animation-duration:8.2s;animation-timing-function:steps(1,end);animation-iteration-count:infinite}.dock-fishing-frame>img{position:absolute;left:-43px;top:-104px;width:160px;height:110px;max-width:none}.dock-fishing-frame.frame-0{opacity:1;animation-name:fisher-hold;--tip-x:62px;--tip-y:-42.5px;--line-size:71.1px;--line-angle:45.29deg}.dock-fishing-frame.frame-1{animation-name:fisher-lift;--tip-x:62.5px;--tip-y:-57.25px;--line-size:81.9px;--line-angle:52.82deg}.dock-fishing-frame.frame-2{animation-name:fisher-lower;--tip-x:62.5px;--tip-y:-33px;--line-size:64.3px;--line-angle:39.63deg}@keyframes fisher-hold{0%,82%{opacity:1}42%{opacity:0}}@keyframes fisher-lift{0%,54%{opacity:0}42%{opacity:1}}@keyframes fisher-lower{0%,82%{opacity:0}54%{opacity:1}}.dock-fishing-line{position:absolute;left:var(--tip-x);top:var(--tip-y);width:var(--line-size);height:4px;border-bottom:1px solid #fff2cea6;border-radius:0 0 90% 80%;transform-origin:0 0;transform:rotate(var(--line-angle))}.dock-fishing-float{position:absolute;left:110px;top:4px;width:4px;height:7px;border-radius:50%;background:linear-gradient(#dc604d 44%,#fff8cd 45% 72%,#2c7c84 73%);box-shadow:0 2px 2px #175976;animation:fisher-bob 2.4s ease-in-out infinite}.dock-fishing-float:after{content:"";position:absolute;left:-7px;top:3px;width:17px;height:6px;border:1px solid #d3f7f78a;border-radius:50%;animation:fisher-ring 2.4s ease-out infinite}@keyframes fisher-bob{50%{transform:translateY(1.4px) rotate(9deg)}}@keyframes fisher-ring{0%{opacity:0;transform:scale(.48)}35%{opacity:.8}to{opacity:0;transform:scale(1.72)}}.resident-portrait[data-mirror=true],.shopkeeper[data-mirror=true],.harmony-harbor-harmie[data-mirror=true]{scale:-1 1}.room-resident>.resident-portrait[data-presentation=contact]{animation:none}.archive-record-stand{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:10px 8px 24px;border:3px solid #c6b48b;border-radius:8px;background:linear-gradient(145deg,#183e46,#27545c);box-shadow:inset 0 0 0 3px #647e76}.archive-record-stand>.resident-portrait{width:100%;height:100%;object-fit:contain;object-position:center bottom}.archive-record-stand:after{content:"BLOC ARCHIVE";position:absolute;bottom:7px;left:0;right:0;text-align:center;color:#f7e8bf;font:600 7px/1 system-ui;letter-spacing:.08em}.room-relay{padding:4px 4px 20px;border-color:#8e6b47;border-radius:7px 7px 4px 4px;background:#211e1d;box-shadow:inset 0 0 0 2px #6b5945}.room-relay>.resident-portrait{background:#100f10;border-radius:3px}.room-relay:after{content:"LIVE LINK";color:#f1db9f;font-family:var(--gboy-mono)}.room-relay:has([data-conversing=true]):after{color:#ffff16}.memory-voice{position:absolute;left:calc(var(--n)*22px);top:calc(var(--n)*3px);width:15px;height:20px;border-radius:50%;background:radial-gradient(ellipse,#fff9dc 10%,#dd725b 35%,#dd725b00 72%);animation:nursery-drift 3s ease-in-out infinite alternate;animation-delay:calc(var(--n)*-.6s)}.map-hatchlings .memory-voice{left:calc(var(--n)*30%);width:24%;height:85%}.motion-paused :is(.harmony-harbor-harmie,.memory-voice),.ambience-paused :is(.harmony-harbor-harmie,.memory-voice){animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){.harmony-harbor-harmie,.memory-voice{animation:none!important}}.ambience-paused :is(.harmony-water-motion,.dock-fishing-float):before,.ambience-paused :is(.harmony-water-motion,.dock-fishing-float):after,.ambience-paused :is(.dock-fishing-frame,.dock-fishing-float,.harmony-moored-boat),.square-dialog:has(#square-settings:not([hidden])) :is(.dock-fishing-frame,.dock-fishing-float,.harmony-moored-boat),.square-dialog:has(:is(.interior-layer,.mission-layer):not([hidden])) .harmony-water-motion:before,.square-dialog:has(:is(.interior-layer,.mission-layer):not([hidden])) .harmony-water-motion:after,.square-dialog:has(#square-settings:not([hidden])) .harmony-water-motion:before,.square-dialog:has(#square-settings:not([hidden])) .harmony-water-motion:after{animation-play-state:paused}@media(prefers-reduced-motion:reduce){.harmony-water-motion:before,.harmony-water-motion:after,.dock-fishing-frame,.dock-fishing-float,.dock-fishing-float:after,.harmony-moored-boat{animation:none!important}}.gboy-token-icon,.bloc-credit-icon{display:inline-grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;font:900 14px/1 system-ui;background:#a43e49;color:#fff2d3;border:2px solid #d9878e;box-sizing:border-box}.bloc-credit-icon{background:#d7b162;color:#4e4437;border-color:#f2db9a}.gboy-test-tag{font:800 7px/1 system-ui;letter-spacing:.06em;color:#a5444e;writing-mode:vertical-rl}.mindverse-projection{background:radial-gradient(ellipse at center,#182f44,#101b2c 58%,#080f1c)}.mindverse-window{position:absolute;width:23%;aspect-ratio:1.25;transform:translate(-50%,-50%);display:block;pointer-events:none}.mindverse-window img{width:100%;height:100%;object-fit:cover;mask-image:radial-gradient(ellipse at center,#000 36%,transparent 73%)}.mindverse-locked{opacity:.6}.mindverse-projection .voyage-route{opacity:.55}.mindjump-map-lights{position:absolute;inset:0;pointer-events:none}.mindjump-map-lights i{position:absolute;transform:translate(-50%,-50%);aspect-ratio:1;background:radial-gradient(circle,var(--map-light),transparent 70%);opacity:.28;animation:mindjump-light 6s ease-in-out infinite alternate}@keyframes mindjump-light{to{opacity:.58}}.motion-paused .mindjump-map-lights i,.square-dialog:has(#town-stage.ambience-paused) .mindjump-map-lights i{animation:none}@media(prefers-reduced-motion:reduce){.mindjump-map-lights i{animation:none}}.voyage-panel .mindverse-map{inset:91px 0 var(--voyage-dock-space, 156px);height:auto}.voyage-panel:has(.mindverse-map) .voyage-toolbar{top:24px;left:auto;right:78px}.voyage-panel:has(.mindverse-map) .voyage-zoom{top:102px;right:12px}.voyage-panel .voyage-heading h3{padding-inline-end:0}.mindverse-window{width:25%}.mindverse-window img{mask-image:radial-gradient(ellipse at center,#000 31%,transparent 70%)}@media(max-width:620px){.voyage-panel .mindverse-map{top:122px}.voyage-panel:has(.mindverse-map) .voyage-heading h3{font-size:clamp(16px,4.9vw,19px)!important}.voyage-panel:has(.mindverse-map) .voyage-toolbar{top:74px;left:12px;right:auto}.voyage-panel:has(.mindverse-map) .voyage-zoom{top:74px;flex-direction:row;gap:4px}.voyage-panel .mindverse-window{width:51%}.mindverse-map .voyage-node .island-name{width:max-content;max-width:140px;white-space:normal;font-size:11px;padding:4px 7px;top:calc(100% + 5px)}}@media(max-height:500px)and (min-width:621px){.voyage-panel .mindverse-map{top:62px}.voyage-panel:has(.mindverse-map) .voyage-toolbar{top:10px}.voyage-panel:has(.mindverse-map) .voyage-zoom{top:70px;flex-direction:column}.mindverse-window{width:21%}}.room-prop.arcade-station-art[data-art=run]{filter:hue-rotate(24deg)}.room-prop.arcade-station-art[data-art=pairs]{filter:hue-rotate(302deg)}.room-prop.arcade-station-art[data-art=slide]{filter:hue-rotate(62deg)}.offline-cabinet .arcade-station-art{filter:saturate(.45) brightness(.85)}img.claw-intro-art{width:min(160px,36vw);height:auto;max-height:170px;object-fit:contain;margin-inline:auto}.square-dialog{font-family:Avenir Next,Inter,system-ui,sans-serif}.square-dialog *,.square-dialog *:before,.square-dialog *:after{box-sizing:border-box}.square-dialog :is(.button,.holdings-tile,.wardrobe-tile,.combat-equipment-card){box-shadow:none;text-shadow:none}.square-dialog .button{border:1px solid #b9b7aa;border-radius:9px;background:#fffdf5;color:#283f45;font-family:inherit}.square-dialog .button:hover:not(:disabled){background:#f0e8d9;border-color:#a54e50}.square-dialog .button:focus-visible{outline:3px solid #ac424b;outline-offset:2px}.square-dialog .button[aria-pressed=true]{background:#efe0da!important;border-color:#a3424c!important;color:#6e2834;box-shadow:inset 0 0 0 1px #a3424c!important}.square-dialog :is(.building-panel,.explorer-dialog){isolation:isolate;box-shadow:0 12px 34px #142b3629}.square-dialog .building-panel:not(.voyage-fullscreen):not(:has(.side-game-content,.arcade-content,.pool-panel)){border:1px solid #bdb6a5}.square-dialog .building-panel-head h3{font-family:inherit;font-weight:750;letter-spacing:-.04em}.square-dialog :is(.building-content,.explorer-content,.wardrobe-items,.storage-pane,.character-closet){min-width:0;min-height:0;overscroll-behavior:contain}.square-dialog :is(.building-panel,.explorer-dialog) :is(p,strong,small,h4){overflow-wrap:break-word}.square-dialog .building-panel:has(.character-panel):not([hidden]),.square-dialog .explorer-dialog.explorer-detail:has(.character-panel)[open]{inset:12px;width:calc(100% - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);margin:0;padding:18px 22px;border:1px solid #bdb6a5;border-radius:16px;background:#f5f1e8;overflow:hidden}.square-dialog :is(#building-content,.explorer-content).character-panel{display:grid;grid-template-columns:minmax(250px,330px) minmax(0,1fr);gap:22px;max-width:1280px;width:100%;margin:0 auto;overflow:hidden}.character-panel .character-preview{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;overflow:auto;min-height:0;max-height:none;padding:24px 18px;border:1px solid #d2c8b8;border-radius:12px;background:radial-gradient(ellipse at 50% 35%,#deddd0,#ece7dc 68%);box-shadow:none}.character-panel .character-preview h4{font:800 18px/1.25 Avenir Next,system-ui;letter-spacing:.02em;margin:0 0 18px;color:#243b42}.character-panel .character-preview canvas{flex:0 0 auto;width:min(100%,260px);height:auto;max-height:42dvh;margin:0 auto 12px;object-fit:contain}.character-panel .combat-stat-summary{font-size:12px!important;line-height:1.7!important;margin:14px 0 0!important;padding:12px 4px;border:0;border-top:1px solid #bfb7a5;border-radius:0;background:none}.character-panel .character-stats{margin:6px 0 0;padding:8px 0;overflow:visible}.character-panel .character-stats summary{font-size:12px;line-height:1.6}.character-panel .character-stats p{line-height:1.6!important}.character-panel .wardrobe-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 16px}.square-dialog .character-panel .wardrobe-tabs .button{min-height:44px;font-size:13px;padding:8px 10px}.character-panel .wardrobe-items{padding:4px 10px 24px 2px;scrollbar-gutter:stable}.character-panel .appearance-section{padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid #d7cebd}.character-panel .appearance-section h4{font:750 15px/1.4 Avenir Next,system-ui;margin:0 0 12px;color:#32464b}.square-dialog .character-panel .wardrobe-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}.square-dialog .character-panel .wardrobe-grid .wardrobe-tile{min-height:180px;padding:14px 10px;border-radius:10px;background:#fffcf6;justify-content:flex-start;gap:9px;box-shadow:none}.character-panel .wardrobe-tile .clothing-thumbnail{width:120px;height:144px;max-width:100%;object-fit:contain}.character-panel .wardrobe-tile :is(strong,small){text-align:center;line-height:1.4}.character-panel .wardrobe-tile strong{font:700 12px/1.4 Avenir Next,system-ui}.character-panel .wardrobe-tile small{font-size:11px}.square-dialog .character-panel .color-swatches{display:flex;flex-wrap:wrap;gap:10px}.square-dialog .character-panel .color-swatches .wardrobe-tile{min-height:40px;width:40px;padding:5px;border-radius:50%}.character-panel .preview-turns{flex-wrap:wrap;gap:6px}.character-panel .pose-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.square-dialog .character-panel .preview-turns .button{min-height:36px;font-size:11px;padding:6px}.character-panel .combat-equipment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.character-panel .combat-equipment-card{min-width:0;border:1px solid #c9c1b1;border-radius:12px;padding:14px;background:#fffcf7;box-shadow:none;overflow:hidden}.character-panel .loadout-card-art{display:block;width:100%;height:142px;object-fit:contain;max-width:100%;padding:6px;box-sizing:border-box}.character-panel .combat-equipment-card .button{white-space:normal;min-height:40px;max-width:100%}.character-panel .combat-equipment-card h4{font-size:15px!important;line-height:1.35}.character-panel .equipment-wallet{border:1px solid #d2c8b6;border-radius:10px;background:#ebe7dc;box-shadow:none}.square-dialog .harmony-icon{object-fit:contain;filter:none}.wardrobe-tile>.harmony-icon{width:100px;height:100px;max-width:100%}.holding-tile>.harmony-icon{width:60px;height:55px;max-width:100%}.item-detail-art>.harmony-icon{width:120px;height:120px}.avatar .gboy-motion-art,.avatar .avatar-body,.avatar .avatar-upper,.battle-avatar{filter:none!important}.avatar:after{box-shadow:none!important;filter:none!important}.contact-shadow{background:radial-gradient(ellipse,#1f30352c 0%,#26393b13 42%,transparent 72%);mix-blend-mode:multiply}.room-prop:not(.room-resident),.harmony-harbor-harmie{filter:none}@media(max-width:700px){.square-dialog .building-panel:has(.character-panel):not([hidden]),.square-dialog .explorer-dialog.explorer-detail:has(.character-panel)[open]{inset:0;width:100%;height:100dvh;max-height:100dvh;padding:12px;border:0;border-radius:0}.square-dialog :is(#building-content,.explorer-content).character-panel{display:block;overflow:auto;padding:0 2px 18px;scrollbar-gutter:stable}.character-panel .character-preview{display:grid;grid-template-columns:120px minmax(0,1fr);grid-template-rows:auto auto auto;gap:5px 12px;min-height:0;max-height:none;overflow:visible;padding:12px;margin-bottom:16px}.character-panel .character-preview canvas{grid-column:1;grid-row:1/4;width:120px;height:146px;max-height:none;margin:0}.character-panel .character-preview h4{grid-column:2;margin:0;font-size:14px}.character-panel .preview-turns{grid-column:2;align-self:start}.character-panel .combat-stat-summary{grid-column:2;margin:0!important;padding:4px 0;border:0;font-size:10px!important}.character-panel .character-stats,.character-panel .equipment-preview-note{grid-column:1/-1;margin:0}.character-panel .character-closet{display:block;overflow:visible}.character-panel .wardrobe-items{overflow:visible;padding:2px 0 14px}.square-dialog .character-panel .wardrobe-tabs .button{font-size:11px;padding:7px 4px;min-height:42px}.square-dialog .character-panel .wardrobe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.square-dialog .character-panel .wardrobe-grid .wardrobe-tile{min-height:164px;padding:12px 8px}.character-panel .wardrobe-tile .clothing-thumbnail{width:94px;height:113px}.character-panel .combat-equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.character-panel .combat-equipment-card{padding:9px}.character-panel .loadout-card-art{height:105px}.character-panel .combat-equipment-card h4{font-size:13px!important}.character-panel .combat-equipment-card p{font-size:11px!important}.square-dialog .character-panel .color-swatches .wardrobe-tile{min-height:40px}}@media(max-height:500px)and (min-width:701px){.square-dialog :is(#building-content,.explorer-content).character-panel{grid-template-columns:220px minmax(0,1fr);gap:14px}.character-panel .character-preview{padding:12px}.character-panel .character-preview canvas{height:110px;width:108px;max-height:none}.character-panel .character-preview h4{margin:0 0 8px;font-size:14px}}.square-dialog :is(.building-panel,.explorer-dialog,.button,.character-panel h4,.character-panel strong,.character-panel small){font-family:Arial,Helvetica,sans-serif}.square-dialog .building-panel-head h3{font-family:Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:-.025em}.square-dialog .character-panel .wardrobe-tile strong{font-family:Arial,Helvetica,sans-serif;font-weight:650}.square-dialog .character-panel :is(.button,h4){font-weight:650}.square-dialog .building-panel-head .button{box-shadow:none}.square-dialog :is(h2,h3,h4,.voyage-heading h3){font-family:Arial,Helvetica,sans-serif;font-weight:700}.voyage-panel .battle-actor{filter:none}.voyage-panel .battle-enemy:before{display:none}.voyage-panel .battle-enemy.responding{animation:signal-response .55s ease-out}@keyframes signal-response{35%{translate:-10px 0;filter:brightness(1.15)}to{translate:0 0;filter:none}}@media(prefers-reduced-motion:reduce){.voyage-panel .battle-enemy.responding{animation:none}}.square-dialog .building-panel:has(:is(.holdings-panel,.social-panel)){background:#f5f1e8}.square-dialog .building-panel:has(.social-panel){box-shadow:none}.square-dialog .help-dialog .button{box-shadow:none}.square-dialog .help-figure :is(.help-example-avatar,.help-example-fighter,.help-example-enemy){filter:none}.square-dialog .help-battle-figure>img:first-child{width:100%;object-fit:cover}.square-dialog .mission-layer :is(.mission-result,.mission-brief){background:#f5f1e8;border:1px solid #bdb6a5;box-shadow:0 8px 24px #142b3629}.square-dialog .mission-layer :is(.mission-result,.mission-brief) .button.primary{background:#29464c;color:#fffdf5;border-color:#29464c;text-shadow:none}.square-dialog .mission-layer :is(.mission-result,.mission-brief) .button.primary:hover:not(:disabled){background:#3c5960;color:#fffdf5}.square-dialog:has(.mission-result:not([hidden])) :is(.xp-notice,.mission-help){visibility:hidden}.mission-layer:has(.mission-result:not([hidden])) .mission-hud button{display:none}#town-stage:has(#avatar:is([data-pose=cast],[data-pose=cheer])) .fishing-place-label{visibility:hidden}.square-dialog .voyage-panel{--relay-panel:#20282cf5;--relay-edge:#858079;--relay-text:#f8efe0;--relay-accent:#963e49}.voyage-panel :is(.voyage-heading,.voyage-map-dock,.battle-meter,.battle-console,.voyage-overlay-card){background:var(--relay-panel);border:1px solid var(--relay-edge);border-radius:10px;box-shadow:none;color:var(--relay-text)}.voyage-panel .voyage-heading{border-inline-start:4px solid #bd5963}.voyage-panel .voyage-eyebrow{color:#e5b8b8;letter-spacing:.12em}.voyage-panel .voyage-heading h3{color:var(--relay-text)!important}.square-dialog .voyage-panel .voyage-control:not(.quiet){border:1px solid #8d8882;border-radius:8px;background:#343c41;color:var(--relay-text);box-shadow:none}.square-dialog .voyage-panel :is(.command-attack,.voyage-start):not(:disabled){background:var(--relay-accent);border-color:#d18c8b;color:#fff6ed}.square-dialog .voyage-panel .voyage-control:not(.quiet):hover:not(:disabled){background:#515054;border-color:#e0c4b2}.square-dialog .voyage-panel :is(.command-attack,.voyage-start):hover:not(:disabled){background:#ac4e56}.voyage-panel .voyage-control:focus-visible,.square-dialog .voyage-fullscreen #close-panel:focus-visible{outline:2px solid #f4ccbc;outline-offset:2px}.square-dialog .voyage-fullscreen #close-panel{background:#20282c;border:1px solid #858079;border-radius:8px;color:#f8efe0;box-shadow:none}.voyage-panel .battle-command small,.voyage-panel .battle-status{color:#e4d9cb}.voyage-panel .battle-meter progress{background:#14191c}.voyage-panel .battle-meter progress::-webkit-progress-bar{background:#14191c}.voyage-panel .battle-meter progress::-webkit-progress-value{background:#b7c7a2}.voyage-panel .battle-meter progress::-moz-progress-bar{background:#b7c7a2}.voyage-panel .enemy-stun progress::-webkit-progress-value{background:#e9ac75}.voyage-panel .enemy-stun progress::-moz-progress-bar{background:#e9ac75}.voyage-panel .battle-meters{align-items:start}.voyage-panel .battle-actor{top:var(--battle-actor-top);height:var(--battle-actor-height);bottom:auto;overflow:clip}.voyage-panel .battle-actor>img{height:100%;max-height:100%}@font-face{font-family:GBOY Inter;src:url(assets/gboy-font-inter.woff2) format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:GBOY Roboto Mono;src:url(assets/gboy-font-roboto-mono.woff2) format("woff2");font-style:normal;font-weight:100 700;font-display:swap}:root{--gboy-sans:"GBOY Inter",Inter,system-ui,sans-serif;--gboy-mono:"GBOY Roboto Mono",ui-monospace,monospace;--gboy-ink:#171717;--gboy-yellow:#ffff16;--gboy-red:#c52a35}:is(.square-dialog,.start-screen,.game-loading,.account-menu,.help-dialog){font-family:var(--gboy-sans)}.square-dialog :is(.button,.building-panel,.explorer-dialog,h2,h3,h4,.character-panel strong,.character-panel small,.wardrobe-tile strong){font-family:var(--gboy-sans)}.square-dialog :is(.voyage-eyebrow,.battle-intent,.world-brand-label,.room-station-name),:is(.start-screen,.loading-illustration) :is(.eyebrow,.loading-postcard,.button){font-family:var(--gboy-mono)}.square-dialog .square-brand h2{display:flex;align-items:center;gap:8px;margin:0}.square-dialog .square-wordmark{width:auto;height:38px;max-height:38px;flex:0 0 auto;border-radius:5px}.world-brand-label{display:block;max-width:min(100%,134px);width:100%;min-width:0;height:auto;object-fit:contain}.access-emblem{display:block;width:60px;height:auto;margin:0 0 14px;border-radius:6px}#start-screen.wallet-screen{background:#191a1b;border:1px solid #5d5b58;border-radius:14px;box-shadow:0 20px 52px #0007;color:#faf4e5}#start-screen.wallet-screen :is(h2,p){color:#faf4e5}#start-screen.wallet-screen .eyebrow{color:var(--gboy-yellow)}#start-screen.wallet-screen .button.primary{background:var(--gboy-yellow);color:#171717;text-shadow:none;border:1px solid #ffff16}#start-screen.wallet-screen .account-note{color:#c4bcb0}#start-screen.wallet-screen .start-intro{margin:0;color:#c4bcb0}#start-screen.wallet-screen #account-status:empty{display:none}.account-wallet-address{overflow-wrap:anywhere}@media(max-width:600px)and (orientation:portrait){.square-dialog .building-panel:has(.supply-content):not([hidden]){height:auto;max-height:min(70dvh,calc(100dvh - var(--game-header-height,90px) - 40px))}.supply-content>.economy-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.square-dialog .supply-content>.economy-tabs>.button{min-width:0;margin:0;padding-inline:5px}}@media(max-width:380px)and (orientation:portrait){.supply-content>.shop-welcome{margin-bottom:10px}.square-dialog .supply-content>.wallet-line{padding:7px 9px;font-size:11px}}.wallet-options{display:grid;gap:8px}.wallet-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:8px 12px;min-height:54px;border:1px solid #565452;border-radius:8px;background:#262629;color:#fff6e6;text-align:left;font:600 15px/1.2 var(--gboy-sans)}.wallet-option:hover:not(:disabled){background:#343237;border-color:#f3eaba}.wallet-option:focus-visible{outline:2px solid var(--gboy-yellow);outline-offset:2px}.wallet-option:disabled{opacity:.55}.wallet-option-brand{display:flex;align-items:center;min-width:0;gap:12px}.wallet-option-brand img{display:block;flex:none;width:34px;height:34px;object-fit:contain}.wallet-option[data-wallet=Backpack] img{transform:scale(1.85)}.wallet-option small{flex:none;color:#d0c7bd;font-size:11px}@media(max-height:520px)and (min-width:620px){#start-screen.wallet-screen{width:min(620px,calc(100vw - 24px));padding:16px 20px;gap:8px}#start-screen.wallet-screen .access-emblem{display:none}.wallet-options{grid-template-columns:repeat(2,minmax(0,1fr))}}.square-dialog [data-shortcut=character] img{border-radius:5px}@media(max-width:600px){.square-dialog .square-brand h2{gap:6px}.square-dialog .square-wordmark{height:32px;max-height:32px}.world-brand-label{max-width:100px}}@media(max-width:380px){.square-dialog .square-brand h2>.square-wordmark{display:none}}.archive-source-badges{position:absolute;left:42%;top:8.2%;width:16%;height:8.4%;z-index:1;object-fit:contain;background:#f7ecdc;border:2px solid #875d42;padding:4px}.voyage-panel .story-scene{display:grid;grid-template-columns:minmax(0,1.34fr) minmax(0,1fr);grid-template-rows:auto minmax(0,auto) auto;gap:16px;width:min(1120px,100%);max-width:1120px;padding:22px;background:#1b1c1eef;text-align:left}.story-scene>h3,.story-scene>.dialogue-controls{grid-column:1/-1}.voyage-panel .story-scene>h3{color:#fff5dd!important;text-align:left;margin:0!important}.story-scene-art{position:relative;isolation:isolate;overflow:hidden;border:1px solid #6b6662;border-radius:9px;min-height:clamp(290px,47dvh,500px);background:#242326}.story-scene-art .story-plate{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.9}.story-scene-art>img:not(.story-plate),.story-scene-art>.dialogue-relay-mark{position:absolute;left:8%;top:4%;width:84%;height:92%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 3px 6px #0b0b0b35)}.story-scene-art>.dialogue-relay-mark{color:#ffff16;display:grid;place-items:center;font:48px/1 var(--gboy-mono)}.story-scene-art>.resident-portrait[data-presentation=contact]{object-position:center}.story-scene-art>img:is(.dialogue-iris-portrait,.dialogue-court-portrait):not(.story-plate){left:50%;top:50%;height:94%;width:auto;max-width:94%;transform:translate(-50%,-50%);object-fit:contain;object-position:center;border:1px solid #e1ecfa;border-radius:4px}.resident-heading>.resident-portrait[data-presentation=contact],.archive-record-stand>.resident-portrait[data-presentation=contact]{object-position:center}.voyage-panel .story-scene-copy{display:flex;flex-direction:column;gap:12px;justify-content:center;padding:20px;background:#27272a;min-width:0;min-height:0;border:1px solid #555152;border-radius:9px}.voyage-panel .story-scene-copy .story-cue,.voyage-panel .journal-chapter .story-cue{color:#c9b9ab!important;font:italic 13px/1.5 var(--gboy-sans)!important;margin:0!important}.story-quote strong{display:block;margin-bottom:8px;color:#ffff16;font:700 14px/1.4 var(--gboy-mono)}.voyage-panel .story-quote p{font:400 18px/1.55 var(--gboy-sans)!important;margin:0!important}.story-scene>.dialogue-controls{justify-content:flex-end;margin:0;gap:7px}.square-dialog .voyage-panel .story-continue:not(:disabled){background:#ffff16;color:#171717;border-color:#ffff16;font-family:var(--gboy-mono)}.voyage-panel .voyage-objective{color:#e6c28b!important;font-size:12px!important}.journal-chapter{padding:12px 0;border-top:1px solid #696360}.journal-evidence{margin:8px 0 12px;padding-left:20px}.journal-evidence li+li{margin-top:10px}.journal-evidence strong{color:#f0cb8c}.voyage-panel .journal-evidence p{margin:2px 0 0;font-size:14px!important}.source-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:14px;padding:0 2px 18px}.source-gallery figure{margin:0;border:1px solid #c3b6a6;border-radius:9px;overflow:hidden;background:#fffaf0}.source-gallery img{width:100%;height:200px;object-fit:contain;display:block;background:#242323}.source-gallery figcaption{padding:10px 14px;line-height:1.5}.source-gallery a,.source-links a{color:#6f2731;text-underline-offset:3px}.museum-source-image{margin:12px 0 4px}.museum-source-image img{display:block;width:100%;max-height:154px;object-fit:contain;background:#282424;border-radius:6px}.museum-source-image figcaption{margin-top:6px;font-size:12px}.museum-source-image a{color:#6f2731;text-underline-offset:3px}@media(max-width:620px){.voyage-panel .story-scene{grid-template-columns:minmax(0,1fr);padding:14px;gap:10px;max-height:calc(100dvh - 70px)}.story-scene-art{min-height:clamp(150px,30dvh,290px)}.voyage-panel .story-scene-copy{padding:12px;gap:8px}.voyage-panel .story-quote p{font-size:16px!important}.story-scene>.dialogue-controls{justify-content:flex-start}}@media(max-height:500px)and (min-width:621px){.voyage-panel .story-scene{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;padding:14px;max-height:calc(100dvh - 40px)}.story-scene-art{min-height:clamp(155px,48dvh,230px)}.voyage-panel .story-scene-copy{padding:12px}.voyage-panel .story-quote p{font-size:14px!important}}.square-dialog .button.primary{background:var(--gboy-yellow);color:#171717;border:1px solid #a9a519;text-shadow:none;box-shadow:none}.square-dialog .button.primary:hover:not(:disabled){background:#fff68c;color:#171717;border-color:#9c971e}.square-dialog .game-shortcuts button{font-family:var(--gboy-sans)}.square-dialog.shortcuts-left:not(:has(.interior-layer:not([hidden]),.mission-layer:not([hidden])))>.game-shortcuts{right:auto;left:max(10px,env(safe-area-inset-left))}.square-dialog.shortcuts-left:not(:has(.interior-layer:not([hidden]),.mission-layer:not([hidden])))>.objective-panel{right:auto;left:max(74px,env(safe-area-inset-left))}@media(max-height:500px){.square-dialog.shortcuts-left:not(:has(.interior-layer:not([hidden]),.mission-layer:not([hidden])))>.objective-panel{left:max(170px,env(safe-area-inset-left))}}.harmony-moored-boat,.harmony-aircraft{position:absolute;object-fit:contain;pointer-events:none;max-width:none}.harmony-moored-boat{filter:drop-shadow(-4px 7px 3px #12425675);animation:moored-launch 5.2s ease-in-out infinite;transform-origin:50% 86%}@keyframes moored-launch{50%{transform:translateY(1.8px) rotate(-.65deg)}}.harmony-gangway{position:absolute;pointer-events:none;transform:rotate(7deg);transform-origin:left center;background:repeating-linear-gradient(90deg,#b08359 0 9px,#7f593c 9px 10px);border-block:3px solid #68482d;border-radius:3px;box-shadow:0 4px 4px #23404675,inset 0 2px #dfb78b}.harmony-aircraft{z-index:780;filter:drop-shadow(7px 11px 5px #5c432c70);transform-origin:50% 62%}.airfield-boarding{position:absolute;z-index:1901;transform:translate(-50%,-50%);min-height:28px;padding:5px 10px;border:1px solid #f8dc9a;border-radius:6px;color:#fff7dc;background:#244f4e;font:700 12px/1.2 system-ui;white-space:nowrap;box-shadow:0 3px #23413b;cursor:pointer;touch-action:manipulation}.airfield-boarding:disabled{pointer-events:none;visibility:hidden}.airfield-boarding:focus-visible{outline:2px solid #fff0bc;outline-offset:3px}@media(max-width:600px){.airfield-boarding{margin-left:-22px}}.room-boat>img.room-prop{object-fit:contain;object-position:center bottom}.voyage-panel .battle-enemy:has([data-fighter]).responding{animation:none}.voyage-panel .battle-enemy:has([data-fighter])>img{height:92%;align-self:flex-start}.voyage-panel .battle-enemy:has([data-fighter]):before{display:block;bottom:9%;left:50%;right:auto;transform:translate(-50%);width:clamp(42px,42%,170px);height:3%;background:#19162044;filter:blur(3px)}.voyage-panel .battle-enemy:has([data-fighter]).surge-ready>img{animation:none;filter:drop-shadow(0 0 6px #da30376b)}@media(prefers-reduced-motion:reduce){.voyage-panel .battle-enemy:has([data-fighter]).surge-ready>img{filter:none}}.square-dialog #building-content.side-game-content{padding:70px max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));overflow:auto;background:#18191a;color:#f6ecd5}.square-dialog #building-content.side-game-content:has([data-course=run]){background:linear-gradient(#171616e8,#1d1b16dc),url(assets/gboy-arcade-hill-devil.webp) center/cover fixed}.square-dialog #building-content.side-game-content:has([data-course=glide]){background:linear-gradient(#111719e8,#111b1ddc),url(assets/gboy-arcade-shinkai.webp) center/cover fixed}.square-dialog .building-panel:has(.side-game-content) .building-panel-head h3{font-family:var(--gboy-mono);background:#262422;border:1px solid #74634c;border-radius:6px}.square-dialog .side-game{position:relative;inset:auto;display:grid;grid-template-areas:"toolbar" "help" "course" "status" "controls";align-content:center;gap:8px;width:min(100%,1040px);height:auto;min-height:100%;margin:0 auto}.square-dialog .side-game :is(canvas,.side-game-toolbar,.side-game-help,.side-game-controls,.side-game-status){position:static;min-width:0;max-width:none;margin:0!important;box-sizing:border-box}.square-dialog .side-game canvas{grid-area:course;justify-self:center;width:min(100%,calc(max(160px,100dvh - 235px)*1.8));height:auto;aspect-ratio:1.8;border:1px solid #928164;border-radius:7px;background:#161515}.square-dialog .side-game-toolbar{grid-area:toolbar;justify-content:space-between;flex-wrap:wrap;background:#252424;border:1px solid #584c3e;gap:6px;padding:6px;width:auto;pointer-events:auto}.square-dialog .side-game-toolbar output{flex:1;min-width:85px;font-family:var(--gboy-mono)}.square-dialog .side-game-toolbar .button{border-radius:6px;padding:6px 9px;min-height:36px}.square-dialog .side-game-toolbar .button[hidden]{display:none}.square-dialog .side-game-help{grid-area:help;border-radius:6px;padding:5px 8px;background:#252424}.square-dialog .side-game-controls{grid-area:controls;gap:8px}.square-dialog .side-game-controls .button{min-height:44px;min-width:58px;border-radius:6px}.square-dialog .side-game-status{grid-area:status;display:block;min-height:23px;background:#252424}.square-dialog .side-game-status:empty{visibility:hidden}@media(max-height:510px)and (min-width:660px){.square-dialog #building-content.side-game-content{padding-top:62px}.square-dialog .side-game{grid-template:"course toolbar" auto "course help" auto "course status" auto "course controls" auto / minmax(0,1fr) minmax(220px,30%);align-items:center}.square-dialog .side-game canvas{width:min(100%,calc((100dvh - 76px)*1.8))}}
