@charset "UTF-8";
:root{font-family:"Avenir Next","Segoe UI",system-ui,-apple-system,sans-serif;color:#f6f0e5;background:#171f29;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink:#171f29;--ink2:#202a34;--cream:#f4eee3;--muted:#a7adae;--amber:#ecc690;--pink:#e6b5c0;--sage:#9cae97;--line:rgba(246,240,229,.12);--serif:"Iowan Old Style","Palatino Linotype",Georgia,serif;--shadow:0 18px 60px #090d1952}
*{box-sizing:border-box}html,body,#app{margin:0;min-width:320px;width:100%;height:100%;overflow:hidden}body{overscroll-behavior:none}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer;color:inherit;background:none;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.45}button,select,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid #f8cc88;outline-offset:4px}button{transition:background .18s,color .18s,box-shadow .18s,transform .18s}button:not(:disabled):active{transform:translateY(1px)}button svg{flex-shrink:0;vertical-align:middle}svg{display:inline-block}p,h1,h2,h3,h4{margin:0}img{display:block;max-width:100%}input,select{min-height:40px;color:inherit}input[type="checkbox"]{width:38px;height:22px;min-height:22px;accent-color:#6c8170;cursor:pointer}input[type="range"]{width:155px;accent-color:#d3ae77}select{background:#26313a;border:1px solid var(--line);border-radius:9px;padding:8px 30px 8px 12px;font-size:13px}option{background:#26313a;color:#fff}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:1000;top:-100px;left:20px;background:var(--cream);color:var(--ink);padding:14px 20px;border-radius:8px}.skip-link:focus{top:10px}.noscript{padding:50px}.app-shell{height:100dvh;display:grid;grid-template-rows:76px minmax(0,1fr) 30px}.topbar{display:flex;align-items:center;padding:0 29px 0 24px;gap:22px;background:#19212b;border-bottom:1px solid var(--line);z-index:20}.brand{position:relative;font-size:46px;font-weight:900;letter-spacing:-4px;line-height:1;padding:0 12px 4px 0;color:#f4ede4}.brand-spark{position:absolute;right:-1px;top:2px;font-size:15px;letter-spacing:0;color:#e8bd8b}.brand-divider{height:24px;width:1px;background:#ffffff20}.district-switch{display:flex;gap:15px;align-items:center;font-size:13px;font-weight:600;padding:12px 0}.topbar-tagline{font-family:var(--serif);font-size:15px;font-style:italic;color:#aab0b3;letter-spacing:.1px;margin-left:11px}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:14px}.coin-balance{display:flex;align-items:center;gap:8px;color:var(--amber);font-size:13px;font-weight:650;border:1px solid #e9c18f28;border-radius:30px;min-height:35px;padding:0 13px;font-variant-numeric:tabular-nums}.icon-button{width:36px;height:36px;min-width:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#c9cdce}.icon-button:hover{background:#ffffff10;color:#fff}.icon-button.small{width:26px;min-width:26px;height:26px}.profile-button{padding:0;position:relative;border:1px solid #c4c4bd42;border-radius:50%;height:37px;width:37px;background:#e9d8c526}.avatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#d6b89624;border-radius:50%;border:1px solid #e0bd9d33;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:contain}.avatar.large{width:77px;height:77px;border-radius:24px;background:#e4d4bf;border:1px solid #c6b49844}.profile-button .avatar{border:0}.app-layout{display:grid;grid-template-columns:76px minmax(0,1fr);min-height:0}.nav-rail{display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;background:#1a232d;border-right:1px solid var(--line);padding:18px 9px 12px;z-index:19}.nav-rail>div:first-child{display:flex;flex-direction:column;gap:9px}.nav-item{width:58px;min-height:57px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#969ea5;border-radius:13px;font-size:9px;font-weight:550;letter-spacing:.1px}.nav-item.active{background:#eadac512;color:#e9c395;box-shadow:inset 0 0 0 1px #dfc29f21}.nav-item:hover{background:#ffffff0b;color:var(--cream)}.nav-item svg{stroke-width:1.5}.nav-bottom{display:flex;flex-direction:column;align-items:center;gap:13px}.rail-paw{color:#827c7280}.app-footer{display:flex;align-items:center;justify-content:space-between;padding:0 22px;color:#8d969e;font-size:9px;letter-spacing:.3px;border-top:1px solid var(--line);background:#18202a}.app-footer b{margin:0 10px;color:#b7a187}.app-footer button{font-size:9px;color:#b7b8b3;display:flex;align-items:center;gap:8px}.world-stage{position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:0;background:#263743}.world-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.world-stage canvas:active{cursor:grabbing}.world-heading{position:absolute;top:32px;left:34px;pointer-events:none;text-shadow:0 2px 20px #060d1bcc}.world-live{display:flex;align-items:center;gap:8px;font-size:8px;font-weight:600;letter-spacing:2.1px;color:#e8d3b8}.world-live i{height:5px;width:5px;border-radius:50%;background:#e0bd8c;box-shadow:0 0 10px #f8c06f}.world-heading h1{font-family:var(--serif);font-size:48px;line-height:1.18;font-weight:500;letter-spacing:-1.8px;margin:7px 0 6px;color:#fff7ed}.world-heading h1 span{color:#e7b379}.world-heading>p{font-size:11px;color:#e2ded3;letter-spacing:.1px}.world-atmosphere{position:absolute;right:29px;top:25px;display:flex;gap:7px;align-items:center}.time-pill,.atmosphere-button{display:flex;align-items:center;justify-content:center;gap:9px;background:#17222bcc;backdrop-filter:blur(18px);border:1px solid #ead7b927;border-radius:20px;height:35px;box-shadow:0 4px 10px #12131520;color:#e4ddd0}.time-pill{font-size:10px;padding:0 13px;font-variant-numeric:tabular-nums}.time-pill i{height:3px;width:3px;border-radius:50%;background:#a2937e}.time-pill svg{color:#eac58c}.atmosphere-button{width:35px}.world-labels{position:absolute;inset:0;pointer-events:none}.world-labels button{position:absolute;pointer-events:auto;white-space:nowrap;font-size:10px;font-weight:650;display:flex;align-items:center;gap:7px;background:#1a2733df;color:#f9eddb;border:1px solid #e7cba449;box-shadow:0 5px 14px #1119283d;border-radius:7px;padding:8px 10px;backdrop-filter:blur(10px)}.world-labels button::after{content:"";position:absolute;top:100%;left:50%;height:8px;width:1px;background:#e0c3a5aa}.world-labels button:hover{background:#ede0cb;color:#27303a}.world-labels button svg{width:13px;height:13px;color:#e5bc8b}.world-labels .visited{border-color:#b5c4a766}.welcome-note{position:absolute;top:192px;left:34px;width:307px;padding:24px 23px 20px;background:linear-gradient(130deg,#1c2934ed,#17222adc);border:1px solid #efdfc338;border-radius:16px;box-shadow:var(--shadow);backdrop-filter:blur(18px)}.welcome-close{position:absolute;right:9px;top:9px;width:26px;height:26px;display:grid;place-items:center;color:#9fa9af}.handwritten{font-family:var(--serif);font-style:italic;font-size:15px;color:#d9b88f}.welcome-note h2{font-family:var(--serif);font-size:26px;font-weight:400;letter-spacing:-.6px;line-height:1.2;margin:15px 0 13px}.welcome-note>p{font-size:11px;line-height:1.85;color:#bfcbcfff}.welcome-note>.button{margin-top:21px;width:100%;font-size:11px;justify-content:space-between}.welcome-note>small{display:block;margin-top:13px;font-size:8px;line-height:1.6;color:#acb8bd}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:11px 18px;border-radius:9px;font-size:12px;font-weight:600;line-height:1.4;border:1px solid transparent;white-space:normal}.button.primary{background:#ecd1a9;color:#292b2a;border-color:#f8e5c033}.button.primary:hover{background:#ffe3b9;box-shadow:0 4px 15px #ffc06b15}.button.secondary{background:#ffffff09;color:#e9e4d9;border:1px solid #f0dfbd29}.button.secondary:hover{background:#ffffff12}.button.subtle{color:#d4c8b5;background:none}.button.danger{background:#542f30;color:#ffc7bb;border-color:#c761492a}.button.tiny{font-size:10px;padding:8px 10px;min-height:35px;background:#ffffff09}.button.full{width:100%}.pet-inspector{position:absolute;top:84px;right:29px;width:274px;padding:16px 18px 14px;border-radius:16px;background:#f3ecdfef;border:1px solid #fff4d699;box-shadow:var(--shadow);color:#343b3f;backdrop-filter:blur(24px)}.inspector-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.eyebrow-label{font-size:7px;letter-spacing:1.3px;color:#8d8374;font-weight:650}.pet-inspector .icon-button{color:#777d79}.pet-inspector .icon-button:hover{background:#2222220a}.pet-profile{display:flex;gap:14px;align-items:center}.pet-role{font-size:11px;line-height:1.45;color:#61594f;margin-bottom:4px}.pet-profile h2{font-family:var(--serif);font-size:28px;line-height:1.2;font-weight:500;letter-spacing:-.8px}.pet-status{font-size:11px;display:flex;gap:5px;align-items:center;color:#53685b;margin-top:5px}.pet-status>span:first-child{width:4px;height:4px;border-radius:50%;background:#879c7b}.pet-thought{margin:16px 0 17px;border:1px solid #cbbca94a;background:#faf6ed96;border-radius:9px;padding:10px 9px;display:flex;align-items:center;gap:9px}.pet-thought>span:first-child{font-size:17px;color:#756069;white-space:nowrap;font-family:monospace}.thought-caption{font-size:9px;line-height:1.5;color:#8c8075;font-style:italic}.needs{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.need{display:flex;align-items:center;gap:9px;font-size:11px;color:#575a50}.need>span:first-child{width:48px}.need-value{width:22px;font-variant-numeric:tabular-nums;font-size:11px;text-align:right}.need-track{height:4px;background:#d8cdbf91;border-radius:4px;flex:1;overflow:hidden}.need-track i{display:block;height:100%;border-radius:4px;transition:width 400ms;background:#a0b28f}.need-track.appetite i{background:#dbb783}.need-track.company i{background:#c8a4ae}.need-track.joy i{background:#a1b9bf}.care-actions{display:flex;gap:7px}.care-button{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;flex:1;min-height:59px;border-radius:9px;border:1px solid #c9bdaa75;background:#faf5e888;color:#574d42}.care-button:hover{background:#e3d7c3;color:#514739}.care-button>span{font-size:12px;display:flex;gap:3px}.care-button small{font-size:7px;background:#c9b89744;border-radius:4px;padding:0 3px}.emote-open{display:flex;width:100%;justify-content:center;gap:9px;align-items:center;margin:12px 0 10px;font-size:9px;color:#8a7e6e;min-height:32px}.little-plan{padding:14px 0 12px;border-top:1px solid #b7a79438;border-bottom:1px solid #b7a79438}.little-plan>span{display:flex;gap:7px;align-items:center;font-size:8px;color:#9d8c76;margin-bottom:7px}.little-plan strong{display:block;font-size:10px;font-weight:600}.little-plan p{font-size:8px;color:#928877;line-height:1.6;margin-top:3px}.friend-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:9px;color:#9a8a75}.friend-row>div{display:flex}.friend-row button{padding:0;margin-left:-5px;border-radius:50%}.friend-row .avatar{background:#e3d7c5;border:2px solid #f3edde;width:27px;height:27px}.show-companion{position:absolute;right:28px;top:80px;display:flex;align-items:center;gap:9px;padding:12px 15px;border-radius:12px;background:#f0e4d7ed;color:#3a4043;font-size:11px;box-shadow:var(--shadow)}.emote-popover{position:absolute;right:320px;top:243px;z-index:15;width:269px;background:#f4eadb;border:1px solid #fff1d9;border-radius:14px;box-shadow:var(--shadow);color:#4d4740;padding:15px}.popover-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:9px}.popover-heading .icon-button{color:#665849}.emote-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.emote-choice{padding:12px 3px;display:flex;flex-direction:column;gap:7px;border:1px solid #bba2893a;border-radius:9px;background:#fff7e95c}.emote-choice:hover{background:#dcc4ab}.emote-choice strong{font-size:14px;font-family:monospace}.emote-choice span{font-size:8px;color:#8c7c6c}.world-tools{position:absolute;bottom:55px;left:29px;border:1px solid #e6ceb338;border-radius:11px;background:#17232fd9;backdrop-filter:blur(18px);display:flex;align-items:center;padding:4px;box-shadow:var(--shadow)}.world-tools>span{height:19px;width:1px;background:#fff3}.tool-button{width:34px;height:36px;border-radius:7px;display:grid;place-items:center;color:#d3d4c8}.tool-button:hover{background:#eed3b020;color:#ffe8c4}.companion-dock{position:absolute;bottom:54px;left:50%;transform:translateX(-50%);display:flex;gap:7px;align-items:center;background:#15212bdc;border:1px solid #dcd0b83d;border-radius:14px;padding:7px 9px;box-shadow:var(--shadow);backdrop-filter:blur(16px)}.companion-dock>button{display:flex;align-items:center;gap:8px;font-size:9px;padding:3px 9px 3px 4px;min-height:41px;border-radius:9px;color:#bdc7c7;white-space:nowrap}.companion-dock>button.selected,.companion-dock>button.active{background:#eddcbd17;box-shadow:inset 0 0 0 1px #dec3a152;color:#f3e1c7}.companion-dock>button:hover{background:#eadfcd0f}.companion-dock>button>span:last-child:not(.avatar){display:flex;flex-direction:column;gap:3px}.companion-dock small{font-size:7px;font-weight:400;color:#a6b2b7}.companion-dock strong{font-size:9px;font-weight:600}.companion-dock>.dock-more{padding:5px}.companion-dock .avatar{width:31px;height:31px;background:#ceb89626}.follow-button{position:absolute;right:29px;bottom:60px;border:1px solid #e4cfb52f;background:#15212bd6;color:#dfd5c8;border-radius:25px;padding:11px 16px;display:flex;gap:8px;align-items:center;font-size:10px;backdrop-filter:blur(15px)}.world-instructions{position:absolute;left:29px;bottom:23px;font-size:8px;color:#d5d8d2;letter-spacing:.3px;text-shadow:0 1px 5px #000}.world-instructions b{margin:0 7px;color:#c8b18b}.engine-status{position:absolute;right:29px;bottom:23px;display:flex;gap:7px;align-items:center;font-size:8px;color:#dfd4c0;text-shadow:0 1px 5px #000;letter-spacing:.3px}.engine-status i{height:4px;width:4px;border-radius:50%;background:#edbe7b}.engine-status[data-status="ready"] i{background:#b3c894}.engine-status[data-status="error"] i{background:#ea9383}.engine-error{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:30;width:min(400px,90%);background:#26313bf5;border:1px solid #e4c6a347;border-radius:16px;padding:27px;box-shadow:var(--shadow)}.engine-error strong{font-family:var(--serif);font-size:25px;font-weight:400}.engine-error p{font-size:12px;line-height:1.8;color:#bac3c8;margin:15px 0 22px}.little-story{position:absolute;left:34px;bottom:138px;display:flex;gap:12px;align-items:center;background:#1b2933df;backdrop-filter:blur(16px);border:1px solid #dec3a23b;padding:14px 16px;border-radius:11px;max-width:330px;box-shadow:var(--shadow)}.little-story>div{display:flex;flex-direction:column;gap:4px}.little-story>div>span{font-size:6px;letter-spacing:1.2px;color:#c0a582}.little-story strong{font-family:var(--serif);font-size:14px;font-weight:400}.little-story small{font-size:8px;color:#a0b0b5}.little-story>button{margin-left:8px;color:#d9b788;min-width:25px;height:28px}.little-story .avatar{width:37px;height:37px}
/* Every panel is native, semantic HTML over the independently running world. */
.panel-dialog{position:fixed;margin:auto;border:1px solid #e1c69f35;border-radius:20px;background:#1f2a34;color:#f0eade;width:min(660px,calc(100vw - 56px));max-height:calc(100dvh - 70px);padding:0;box-shadow:0 30px 140px #0009;overflow:hidden}.panel-dialog[open]{display:flex;flex-direction:column}.panel-dialog.wide{width:min(1060px,calc(100vw - 90px))}.panel-dialog::backdrop{background:#07121aba;backdrop-filter:blur(7px)}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:17px 26px;border-bottom:1px solid var(--line);flex-shrink:0;background:#202a34}.panel-header>div{display:flex;align-items:center;gap:17px}.panel-brand{font-size:26px;font-weight:900;letter-spacing:-2px;padding-right:18px;border-right:1px solid var(--line)}#panel-title{font-size:12px;color:#c5cacc;font-weight:500}.panel-body{padding:29px 34px 34px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b5a18544 transparent;min-height:0}.section-intro{margin:3px 0 29px}.section-kicker{font-size:8px;letter-spacing:1.6px;font-weight:600;line-height:1.8;color:#bda886}.section-intro h2{font-family:var(--serif);font-weight:400;font-size:40px;line-height:1.08;letter-spacing:-1.2px;margin:13px 0 14px;color:#f3e9d9}.section-intro>p{font-size:11px;color:#acb8bd;line-height:1.8;max-width:550px}.companion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.companion-card{border:1px solid #e4d2b31e;border-radius:13px;overflow:hidden;background:#26333c}.companion-art{height:183px;position:relative;overflow:hidden;background:#b39b7e}.companion-art img{width:100%;height:100%;object-fit:contain;padding:18px;object-position:center 46%;transition:transform 1s}.companion-card:hover .companion-art img{transform:scale(1.045)}.companion-art>span{position:absolute;right:12px;top:13px;background:#faf1e8ea;border-radius:12px;padding:7px 10px;color:#564149;font-family:monospace;font-size:13px;box-shadow:0 4px 10px #0002}.companion-copy{padding:19px}.companion-copy>p:first-child{color:var(--pet-color);font-size:8px;font-weight:600;letter-spacing:.9px;text-transform:uppercase}.companion-copy h3{font-family:var(--serif);font-size:27px;font-weight:400;letter-spacing:-.7px;margin:5px 0 10px}.companion-copy .bio{font-size:10px;line-height:1.85;color:#bbc1bf;min-height:56px}.interest-tags{display:flex;gap:5px;flex-wrap:wrap;margin:16px 0 19px}.interest-tags span{border:1px solid #ded0b825;border-radius:5px;font-size:7px;padding:4px 6px;color:#bab5ac;white-space:nowrap}.button.pet-choice{border:1px solid #cbb49a55;background:#dccbb00e;width:100%;justify-content:space-between;font-size:10px;color:#e9d3b8}.button.pet-choice:hover{background:var(--pet-color);color:#27303b}.gentle-note{font-size:9px;text-align:center;line-height:1.8;color:#88999f;padding:23px 0 0}.neighborhood-list-heading{margin:29px 0 17px;display:flex;justify-content:space-between;align-items:center}.neighborhood-list-heading h3{font-family:var(--serif);font-size:21px;font-weight:400}.neighborhood-list-heading>span{font-size:9px;color:#849ba3}.neighbors-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.neighbors-grid>button{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#ffffff03;text-align:left}.neighbors-grid>button:hover{background:#ffffff0b}.neighbors-grid>button>span:not(.avatar){display:flex;flex-direction:column;gap:3px}.neighbors-grid strong{font-size:11px;font-weight:550}.neighbors-grid small{font-size:8px;color:#9dabb1}.neighbors-grid>button>svg{margin-left:auto;color:#a4a091}.place-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.place-card{padding:0;display:block;text-align:left;overflow:hidden;background:#27343e;border:1px solid var(--line);border-radius:13px;position:relative}.place-card:hover{border-color:#d7b68a7a;background:#2d3c46}.place-card>img{width:100%;height:127px;object-fit:cover}.place-card>div{padding:17px;position:relative}.place-card-icon{height:31px;width:31px;display:grid;place-items:center;background:#1c2935f2;color:#d8ba8a;border:1px solid #c6aa7961;border-radius:10px;position:absolute;top:-20px;right:14px}.place-card h3{font-family:var(--serif);font-size:20px;font-weight:400;letter-spacing:-.3px}.place-card p{font-size:9px;color:#a0aeb2;line-height:1.6;margin:7px 0 18px}.visit-state{display:flex;align-items:center;gap:6px;font-size:8px;color:#bdb397}.visit-state>svg:last-child{margin-left:auto}.destination-cover{height:245px;position:relative;margin:-29px -34px 0}.destination-cover img{width:100%;height:100%;object-fit:cover}.destination-cover>span{position:absolute;bottom:-23px;left:34px;display:grid;place-items:center;width:53px;height:53px;background:#e7ceb0;color:#574d3f;border:5px solid #1f2a34;border-radius:15px}.destination-story{padding-top:40px}.destination-story h2{font-family:var(--serif);font-size:38px;font-weight:400;letter-spacing:-.8px;margin:7px 0 15px}.destination-story>p:not(.section-kicker){font-size:13px;line-height:1.9;color:#aebbba}.destination-buttons{margin-top:27px;display:flex;gap:10px;flex-wrap:wrap}.destination-story>small{display:block;color:#8b9ea5;font-size:9px;line-height:1.8;margin-top:20px}.tabs{display:flex;gap:8px;align-items:center;overflow-x:auto;scrollbar-width:none;margin:0 0 23px;border-bottom:1px solid var(--line);padding-bottom:13px}.tab{font-size:10px;border-radius:6px;white-space:nowrap;padding:9px 13px;color:#a0afb4}.tab.active{background:#d9c3a620;color:#e7ceab;box-shadow:inset 0 0 0 1px #dcc4a431}.tab:hover{background:#ffffff0a}.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.memory-card{border-radius:12px;overflow:hidden;background:#28353e;border:1px solid #ead5b721}.memory-image{height:150px;position:relative}.memory-image>img{width:100%;height:100%;object-fit:cover}.memory-image>span{position:absolute;bottom:11px;right:12px;height:30px;width:30px;background:#f4e7d5e8;color:#786652;display:grid;place-items:center;border-radius:50%}.memory-copy{padding:17px}.memory-copy>small{color:#ab9e8a;font-size:7px;letter-spacing:.5px}.memory-copy h3{font-family:var(--serif);font-size:20px;font-weight:400;line-height:1.25;margin:8px 0}.memory-copy>p{font-size:10px;line-height:1.85;color:#a4b3b8}.memory-footer{display:flex;align-items:center;gap:8px;margin-top:16px;padding-top:10px;border-top:1px solid var(--line);font-size:8px;color:#bba98c}.memory-footer .avatar{width:26px;height:26px}.memory-footer>.icon-button{margin-left:auto;width:28px;height:28px;min-width:28px}.memory-image .missing-photo{opacity:.25}.empty-state{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center;padding:28px 10px}.empty-state>svg{color:#ac987a;stroke-width:1.1}.empty-state h3{font-family:var(--serif);font-size:26px;font-weight:400}.empty-state p{font-size:12px;line-height:1.8;color:#a3b0b7}.empty-state .button{margin-top:10px}.market-heading{display:flex;align-items:center;justify-content:space-between;gap:30px}.market-balance{min-width:164px;padding:24px 0 24px 30px;border-left:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#e4c18e;max-width:188px}.market-balance strong{font-family:var(--serif);font-size:32px;font-weight:400}.market-balance>span{font-size:10px;width:100%;color:#cdbba0}.market-balance small{font-size:8px;color:#81959d;line-height:1.7}.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}.shop-item{border:1px solid var(--line);border-radius:11px;background:#26333c;padding:12px}.item-art{height:122px;position:relative;background:#eadbc712;border-radius:7px;margin-bottom:14px;display:grid;place-items:center}.item-art>svg{height:92px;width:112px;max-width:85%;color:#d6c3a1;filter:drop-shadow(0 9px 5px #0002)}.item-art>span{position:absolute;right:7px;top:7px;font-size:7px;color:#c2bcaa;background:#1f2c34af;padding:4px 5px;border-radius:4px}.shop-item h3{font-family:var(--serif);font-size:18px;font-weight:400}.shop-item p{font-size:8px;line-height:1.8;color:#9cabb0;margin:7px 0 13px;min-height:29px}.buy-button{display:flex;gap:4px;width:100%;align-items:center;font-size:10px;font-weight:600;padding:10px 0 0;border-top:1px solid var(--line);color:#e2c18f;min-height:35px}.buy-button>span{font-size:8px;margin-left:auto;display:flex;align-items:center;gap:5px;color:#c3bbb0}.buy-button:hover>span{color:#fff0da}.quest-list{display:flex;flex-direction:column;gap:11px}.quest-item{padding:19px;display:flex;align-items:center;gap:20px;border:1px solid var(--line);background:#26333c;border-radius:12px}.quest-item.claimed{opacity:.7}.quest-icon{width:48px;height:48px;border:1px solid #d1b89135;background:#ccb7960b;border-radius:13px;color:#c5ac86;display:grid;place-items:center;flex-shrink:0}.quest-main{flex:1;min-width:0}.quest-main h3{font-family:var(--serif);font-size:21px;font-weight:400}.quest-main p{font-size:10px;line-height:1.8;color:#9faeb4;margin:4px 0 11px}.quest-progress{display:flex;gap:12px;align-items:center;max-width:260px}.quest-progress>span{display:block;height:3px;background:#71818a3b;flex:1;border-radius:4px;overflow:hidden}.quest-progress i{display:block;height:100%;background:#b8a484}.quest-progress small{font-size:8px;color:#aaa897;min-width:30px}.reward-button{border:1px solid #e3c9a627;border-radius:9px;padding:12px;min-width:106px;font-size:12px;color:#c6b292;background:#eed3ad08;display:flex;gap:5px;align-items:center;justify-content:center;flex-wrap:wrap}.reward-button>span{width:100%;font-size:8px;font-weight:400;margin-top:3px}.reward-button.ready{background:#e1c49c;color:#30322e}.quest-reward>span{font-size:9px;color:#98a78f;padding:0 24px}.settings-section{padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid var(--line)}.settings-section h3{font-family:var(--serif);font-size:26px;font-weight:400;margin-bottom:17px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:59px;padding:10px 0;font-size:12px}.setting-row>span:first-child{display:flex;gap:12px;align-items:center}.setting-row>span:first-child:has(>strong){display:block}.setting-row strong{display:block;font-size:12px;font-weight:500}.setting-row small{display:block;font-size:9px;line-height:1.75;color:#92a3ac;margin-top:5px}.setting-row>span>svg{color:#beaa89}.settings-note{font-size:10px;color:#95a7ae;line-height:1.85;margin-top:14px}.time-buttons{display:flex;gap:6px}.save-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}.about-mark{font-size:74px;font-weight:900;letter-spacing:-6px;color:#eddbc4;text-align:center;padding:9px 0 37px}.about-mark span{display:block;font-family:var(--serif);font-size:14px;font-weight:400;letter-spacing:.3px;font-style:italic;color:#b4b7ae;margin-top:9px}.about-body h2{font-family:var(--serif);font-size:31px;font-weight:400;letter-spacing:-.7px;margin-bottom:15px}.about-body h3{font-family:var(--serif);font-size:22px;font-weight:400;margin:25px 0 12px}.about-body p{font-size:12px;line-height:1.95;color:#adbac0}.engine-facts{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px;padding-top:23px;border-top:1px solid var(--line)}.engine-facts span{display:flex;align-items:center;gap:7px;font-size:9px;color:#bcb198}.engine-facts svg{width:15px;height:15px;color:#a5b496}.confirm-reset{padding:15px 0 10px}.confirm-reset h2{font-family:var(--serif);font-size:31px;font-weight:400;margin-bottom:18px}.confirm-reset p{font-size:12px;line-height:1.9;color:#abb8be;margin-bottom:22px}.confirm-reset>.button{margin-right:9px}
/* A tactile room editor; placements are real objects on a bounded grid. */
.home-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:3px 0 23px}.home-top>div:first-child{flex:1}.room-name{display:block;border:0;background:none;width:100%;font-family:var(--serif);font-size:35px;letter-spacing:-.7px;color:#f1e4d1;line-height:1.3;padding:9px 0;margin:0 0 3px}.home-top p{font-size:10px;color:#9aadb5;line-height:1.75;max-width:400px}.theme-switch{display:flex;gap:5px;padding-bottom:3px}.theme{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:7px;padding:8px;border:1px solid transparent;border-radius:8px;text-transform:capitalize;color:#abb7ba}.theme.active{border-color:#e5d2b034;background:#f3e3c90a;color:#ead9bd}.theme-swatch{height:16px;width:16px;border-radius:50%;display:block;box-shadow:inset 0 0 0 3px #ffffff14}.theme-swatch.amber{background:#d3b27e}.theme-swatch.rose{background:#af7884}.theme-swatch.midnight{background:#596b8b}.home-workspace{display:grid;grid-template-columns:minmax(0,1fr) 219px;gap:23px;align-items:start}.room-stage{position:relative;border-radius:13px;overflow:hidden;background:#715742;height:500px;border:1px solid #dac49e33;box-shadow:0 12px 25px #0002}.room-backdrop{height:285px;background:url('./assets/room.webp') center center/cover no-repeat;position:absolute;inset:0 0 auto}.room-backdrop::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#745240c0,transparent 25%)}.room-window-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 47% 25%,#f8c8792e,transparent 80%);mix-blend-mode:screen;z-index:4}.room-stage.theme-rose .room-window-glow{background:#d88fa130;mix-blend-mode:color}.room-stage.theme-midnight .room-window-glow{background:#1a285455;mix-blend-mode:multiply}.room-stage.theme-midnight .room-backdrop{filter:brightness(.62) saturate(.65)}.room-floor{position:absolute;left:0;right:0;top:265px;bottom:0;display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(8,1fr);background:repeating-linear-gradient(0deg,transparent 0,transparent 28px,#3c2c2366 28px,#3c2c2366 29px),repeating-linear-gradient(90deg,#9e7859 0,#8e694b 80px,#ad8566 160px,#886248 220px);border-top:2px solid #392b2277}.floor-cell{border:1px solid #fff4cd05;background:none;min-height:0;min-width:0;padding:0;border-radius:1px;position:relative;z-index:2}.floor-cell:hover,.floor-cell:focus-visible{background:#ffe9b840;border:1px solid #ffe3a787;outline-offset:-3px}.floor-cell:hover::after{content:"+";position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:#ffebc6}.placed-item{position:absolute;padding:0;cursor:grab;touch-action:none;border:1px solid transparent;border-radius:6px;display:grid;place-items:center;filter:drop-shadow(3px 7px 4px #39251455)}.placed-item>svg{width:100%;height:100%;overflow:visible;pointer-events:none;object-fit:contain}.placed-item.selected{border:1px dashed #ffeeccaa;background:#fde4b925}.placed-item.dragging{opacity:.85;cursor:grabbing;z-index:100!important}.room-caption{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);width:max-content;max-width:94%;padding:8px 12px;border-radius:20px;z-index:100;pointer-events:none;background:#302b29b3;color:#efddc4;font-size:8px;backdrop-filter:blur(8px);text-align:center}.furniture-shelf h3{display:flex;gap:9px;align-items:center;font-family:var(--serif);font-size:18px;font-weight:400;margin:4px 0 7px}.furniture-shelf>p{font-size:9px;color:#95a6ad;line-height:1.7;margin-bottom:17px}.shelf-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:15px}.shelf-item{position:relative;border:1px solid var(--line);background:#d4c9b80a;display:flex;flex-direction:column;align-items:center;border-radius:9px;padding:8px 5px 10px;gap:5px;color:#c9c3b7;min-width:0}.shelf-item>svg{width:70px;height:62px}.shelf-item>span{font-size:8px}.shelf-item>small{position:absolute;right:7px;top:7px;font-size:8px;color:#d9bf98}.shelf-item:hover,.shelf-item.active{border-color:#dbc0939c;background:#d7c0a11c}.shelf-item.active{color:#f6ddbb}.furniture-shelf .button{font-size:9px;min-height:38px}.selected-item-tools{margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}.selected-item-tools>strong{display:block;font-size:11px;font-weight:500;margin-bottom:12px}.selected-item-tools>div{display:flex;gap:5px}.selected-item-tools .icon-button{border-radius:7px;border:1px solid var(--line);font-size:19px}.small-empty{font-size:10px;line-height:1.8;color:#aeae9c;grid-column:1/-1;padding:25px 4px}
/* Three real playable activities. */
.activity-tabs{display:flex;gap:9px;margin-bottom:24px;flex-wrap:wrap}.activity-tab{display:flex;gap:9px;align-items:center;padding:11px 17px;font-size:11px;border:1px solid var(--line);border-radius:10px;color:#a9b5b9}.activity-tab.active{color:#e6c9a3;background:#ddc09510;border-color:#dbc3a255}.arcade-stage,.fishing-stage,.garden-stage{display:grid;grid-template-columns:1fr 1fr;gap:38px;padding:23px 6px 9px;align-items:center}.arcade-copy h3,.fishing-copy h3,.garden-copy h3{font-family:var(--serif);font-size:36px;font-weight:400;line-height:1.1;letter-spacing:-1px;margin:11px 0 18px}.arcade-copy>p:not(.game-status),.fishing-copy>p:not(.game-status),.garden-copy>p:not(.game-status){font-size:11px;color:#a9b9bf;line-height:1.9;max-width:355px}.arcade-scores{display:flex;gap:35px;margin:27px 0 24px}.arcade-scores>span{display:flex;flex-direction:column;gap:7px;font-size:7px;letter-spacing:1.1px;color:#aaa287}.arcade-scores strong{font-family:var(--serif);font-size:32px;letter-spacing:0;color:#ebd8b8;font-weight:400}.arcade-buttons,.fishing-buttons,.garden-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.arcade-buttons>.button,.fishing-buttons>.button,.garden-buttons>.button{font-size:10px}.game-status{font-size:10px;line-height:1.8;color:#d1b695;margin-top:20px;min-height:38px}.echo-machine{padding:26px 27px 19px;background:linear-gradient(145deg,#435360,#24303c);border:2px solid #ad998252;border-radius:23px 23px 18px 18px;box-shadow:inset 0 2px 1px #cfd8da26,inset 0 -7px 0 #0e1b2955,0 14px 35px #07121b6b;max-width:382px;width:100%;justify-self:center;position:relative}.machine-brand{font-size:24px;font-weight:850;letter-spacing:-1.9px;color:#ead1af;display:flex;align-items:center;gap:16px;margin-bottom:19px}.machine-brand>span{font-size:9px;letter-spacing:3px;font-weight:550;color:#acb6b9}.echo-screen{background:#16282d;border:1px solid #0f1a1f;border-radius:6px;box-shadow:inset 0 2px 7px #000a;height:39px;display:flex;align-items:center;justify-content:space-between;padding:0 12px}.echo-screen span{font-family:monospace;font-size:8px;color:#c1bc8c;letter-spacing:1px}.echo-screen i{height:4px;width:4px;border-radius:50%;background:#c9bf8c;box-shadow:0 0 6px #ccca80}.echo-pads{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}.echo-pad{height:102px;border:1px solid #ffffff29;border-radius:12px;display:grid;place-items:center;position:relative;box-shadow:inset 0 3px 0 #ffffff16,inset 0 -6px 0 #0003,0 4px 9px #0003;transition:filter .12s,box-shadow .12s,transform .12s;opacity:1!important;cursor:pointer!important}.echo-pad.pad-0{background:#ac8087;color:#f1c8b8}.echo-pad.pad-1{background:#689b9c;color:#d5eac9}.echo-pad.pad-2{background:#b39b6f;color:#ffe7a3}.echo-pad.pad-3{background:#777899;color:#d4ceef}.echo-pad>span{font-size:38px;line-height:1}.echo-pad>small{position:absolute;right:11px;bottom:11px;font-family:monospace;font-size:8px;color:#fff8}.echo-pad:disabled{cursor:default!important;filter:saturate(.7) brightness(.87)}.echo-pad.lit,.echo-pad.pressed{filter:brightness(1.5) saturate(1.4)!important;box-shadow:inset 0 2px 2px #fff6,0 0 26px #ead0ac35;transform:translateY(2px)}.echo-pad:not(:disabled):hover{filter:brightness(1.12)}.machine-bottom{display:flex;gap:10px;align-items:center;padding:0 1px;font-size:6px;letter-spacing:1.5px;color:#aaa794}.machine-bottom i{width:42px;height:7px;border-radius:5px;background:#15212e;box-shadow:inset 0 2px 2px #0007}.fishing-stage,.garden-stage{grid-template-columns:1.05fr 1fr;gap:35px}.fishing-scene,.garden-scene{position:relative;overflow:hidden;border-radius:14px;border:1px solid #ccb39040;height:346px;box-shadow:0 14px 24px #0002}.fishing-scene>img,.garden-scene>img{height:100%;width:100%;object-fit:cover}.fishing-scene::after,.garden-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#12344177,transparent 75%);pointer-events:none}.float-bubble{position:absolute;z-index:2;left:45%;top:45%;font-size:24px;font-family:monospace;background:#fcead8ed;border-radius:14px;padding:10px 15px;color:#594a3d;transform:rotate(-6deg);box-shadow:0 9px 18px #0004}.fishing-ripples{position:absolute;left:30%;top:76%;width:150px;height:50px}.fishing-ripples>i{position:absolute;inset:0;border-radius:50%;border:1px solid #e6d1a380;animation:ripple 4s infinite ease-out}.fishing-ripples>i:nth-child(2){animation-delay:1.3s}.fishing-ripples>i:nth-child(3){animation-delay:2.6s}@keyframes ripple{0%{transform:scale(.1);opacity:1}100%{transform:scale(1.5);opacity:0}}.fishing-meter{height:22px;background:#111e29;border-radius:20px;position:relative;margin-top:26px;border:1px solid #ccd6cc22}.catch-zone{position:absolute;left:40%;width:25%;height:100%;background:#d4b57b;border-radius:10px;box-shadow:0 0 14px #d1aa5525}.catch-marker{position:absolute;height:34px;width:4px;top:-7px;left:50%;border-radius:3px;background:#fff1d9;box-shadow:0 0 10px #fff4d955}.meter-labels{display:flex;justify-content:space-between;margin-top:12px;font-size:8px;color:#a2acb0}.meter-labels strong{font-weight:500;color:#c5aa76}.garden-flower{position:absolute;inset:0;display:grid;place-items:center;z-index:2;--growth:.1}.garden-flower>span{font-size:160px;color:#f8d8b6;transform:scale(var(--growth));transition:transform 1s;text-shadow:0 0 20px #efc3cf,0 4px 4px #29212d44}.garden-progress{height:5px;border-radius:5px;background:#647e782e;margin-top:25px;overflow:hidden}.garden-progress>i{display:block;height:100%;width:0;background:#abc198;transition:width .5s;border-radius:5px}[data-garden-status]{font-size:10px;line-height:1.8;color:#b4c2a7!important;margin-top:12px;min-height:32px}
.toast-stack{position:fixed;bottom:113px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:7px;z-index:100;pointer-events:none;width:min(440px,calc(100vw - 34px))}.toast{display:flex;align-items:center;gap:10px;max-width:100%;font-size:11px;line-height:1.6;padding:13px 17px;background:#f2e6d4f7;border:1px solid #fff3d8cc;box-shadow:0 8px 26px #04112055;border-radius:11px;color:#554d40;animation:toast-in .2s ease-out}.toast svg{flex-shrink:0;color:#9b8058}.toast.error{color:#643f3a;background:#f3dcd3}.panel-dialog .toast-stack{position:absolute;bottom:20px;z-index:110}.toast.error svg{color:#b07263}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1700px){.world-heading{top:43px;left:46px}.world-heading h1{font-size:60px}.welcome-note{left:46px;top:225px;width:327px}.pet-inspector{right:40px;top:101px;width:294px;padding:20px}.companion-dock{bottom:67px}.world-tools{bottom:68px}.follow-button{bottom:74px}}
@media(max-height:800px) and (min-width:741px){.world-heading{top:23px;left:27px}.world-heading h1{font-size:40px}.welcome-note{top:155px;left:27px;width:280px;padding:21px}.welcome-note h2{font-size:24px}.welcome-note>small{display:none}.pet-inspector{top:73px;padding:13px 16px;width:260px}.pet-inspector .little-plan{padding:11px 0}.pet-inspector .pet-thought{margin:12px 0}.pet-inspector .friend-row{display:none}.pet-inspector .needs{gap:6px;margin-bottom:13px}.world-atmosphere{top:21px}.little-story{bottom:126px}.world-tools{left:23px}.panel-body{padding-top:24px}.section-intro h2{font-size:35px}.section-intro{margin-bottom:23px}.companion-art{height:155px}}
@media(max-width:1120px) and (min-width:741px){.topbar-tagline{display:none}.welcome-note{width:259px;left:24px;top:182px}.welcome-note h2{font-size:24px}.welcome-note>p{font-size:10px}.welcome-note>small{display:none}.world-heading{left:24px}.pet-inspector{width:247px;right:22px;padding:15px}.pet-inspector .pet-profile{gap:9px}.pet-profile h2{font-size:25px}.pet-inspector .avatar.large{width:66px;height:66px;border-radius:20px}.thought-caption{font-size:8px}.world-tools{bottom:105px;left:23px}.companion-dock{left:25px;transform:none;bottom:42px}.world-instructions{bottom:16px;left:25px;font-size:7px}.follow-button{bottom:47px;right:22px}.engine-status{bottom:16px;right:22px;font-size:7px}.little-story{bottom:160px;left:23px;max-width:280px}.emote-popover{right:282px}.shop-grid{grid-template-columns:repeat(3,1fr)}.panel-dialog.wide{width:calc(100vw - 44px)}.companion-grid{gap:12px}.companion-copy{padding:15px}.companion-copy h3{font-size:25px}.home-workspace{grid-template-columns:minmax(0,1fr) 187px;gap:17px}.arcade-stage,.fishing-stage,.garden-stage{gap:25px}.arcade-copy h3,.fishing-copy h3,.garden-copy h3{font-size:31px}}
@media(max-width:740px){.app-shell{grid-template-rows:61px minmax(0,1fr)}.topbar{padding:0 15px;gap:15px}.brand{font-size:38px;letter-spacing:-3px}.brand-spark{font-size:12px;right:2px;top:1px}.brand-divider{height:19px}.district-switch{font-size:11px;gap:6px}.district-switch>svg{width:11px}.topbar-tagline{display:none}.topbar-actions{gap:7px}.topbar-actions>.icon-button{display:none}.coin-balance{font-size:10px;padding:0 9px;gap:5px;min-height:31px}.coin-balance svg{width:14px;height:14px}.profile-button{width:32px;height:32px}.profile-button .avatar{width:29px;height:29px}.app-layout{display:flex;flex-direction:column-reverse}.nav-rail{height:66px;min-height:66px;flex-direction:row;padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px));border-right:0;border-top:1px solid #d0c7b920;justify-content:center}.nav-rail>div:first-child{flex-direction:row;width:100%;justify-content:space-between;gap:1px}.nav-item{width:calc((100vw - 30px)/7);min-height:53px;max-width:72px;border-radius:10px;font-size:8px;gap:5px}.nav-item>svg{width:20px;height:20px}.nav-bottom{display:none}.world-stage{flex:1;min-height:0}.app-footer{display:none}.world-heading{left:21px;top:22px}.world-live{font-size:6px;letter-spacing:1.6px;gap:6px}.world-live i{height:4px;width:4px}.world-heading h1{font-size:34px;letter-spacing:-1px;margin:7px 0 4px}.world-heading>p{font-size:8px}.world-atmosphere{top:110px;left:21px;right:auto;gap:6px}.time-pill{font-size:9px;height:32px;padding:0 10px;gap:7px}.time-pill svg{width:14px;height:14px}.atmosphere-button{height:32px;width:32px}.world-labels button{font-size:8px;gap:5px;padding:7px 8px}.welcome-note{top:auto;bottom:157px;left:20px;width:min(285px,calc(100% - 40px));padding:21px 22px;border-radius:14px}.welcome-note h2{font-size:25px;margin:12px 0 11px}.welcome-note .handwritten{font-size:13px}.welcome-note>p{font-size:10px;line-height:1.8}.welcome-note>.button{margin-top:17px}.welcome-note>small{display:none}.pet-inspector{top:158px;right:16px;width:239px;padding:14px 16px;border-radius:14px;max-height:calc(100% - 265px);overflow-y:auto;scrollbar-width:thin}.pet-inspector .little-plan,.pet-inspector .friend-row{display:none}.pet-inspector .avatar.large{width:58px;height:58px;border-radius:17px}.pet-inspector .pet-profile{gap:11px}.pet-profile h2{font-size:25px}.pet-role{font-size:11px}.pet-status{font-size:11px}.inspector-top{margin-bottom:7px}.pet-thought{margin:11px 0}.thought-caption{font-size:8px}.needs{gap:7px;margin-bottom:12px}.care-button{min-height:52px}.emote-open{margin-bottom:0;font-size:9px;min-height:36px}.show-companion{top:20px;right:17px;border:1px solid #d6c4ac55;min-height:37px;min-width:40px;width:40px;height:40px;border-radius:50%;padding:0;justify-content:center;font-size:0;background:#f0dfc7e8}.show-companion>svg{width:19px;height:19px}.emote-popover{right:16px;top:158px;width:252px;max-height:calc(100% - 220px);overflow:auto;z-index:25}.emote-choice{padding:13px 3px}.world-tools{bottom:92px;left:19px;padding:3px;border-radius:10px}.tool-button{width:33px;height:34px}.tool-button>svg{width:17px;height:17px}.follow-button{bottom:93px;right:18px;font-size:0;padding:10px;width:41px;height:41px;gap:0;justify-content:center}.follow-button>span{display:none}.companion-dock{bottom:29px;width:calc(100% - 36px);left:18px;transform:none;justify-content:space-between;gap:4px;padding:5px 6px;border-radius:12px}.companion-dock>button{padding:3px 6px 3px 2px;font-size:8px;gap:4px;min-height:40px}.companion-dock>button strong{font-size:8px}.companion-dock .avatar{width:28px;height:28px}.companion-dock small{display:none}.companion-dock .dock-more{padding:2px;width:27px;justify-content:center}.companion-dock .dock-more>svg{width:17px}.world-instructions{display:none}.engine-status{font-size:6px;right:20px;bottom:10px;letter-spacing:.2px;gap:4px}.engine-status i{height:3px;width:3px}.little-story{bottom:154px;left:19px;right:19px;max-width:none;padding:11px 13px;gap:10px}.little-story strong{font-size:13px}.little-story>button{margin-left:auto}.little-story>div>span{font-size:6px}.world-stage:has(.welcome-note:not([hidden])) .little-story{display:none}.panel-dialog,.panel-dialog.wide{width:calc(100vw - 18px);max-height:calc(100dvh - 24px);border-radius:15px}.panel-header{padding:12px 15px;min-height:62px}.panel-brand{font-size:24px;padding-right:12px}.panel-header>div{gap:12px}#panel-title{font-size:10px;max-width:220px;line-height:1.4}.panel-header>.icon-button{width:36px;min-width:36px}.panel-body{padding:23px 19px 27px}.section-kicker{font-size:7px;letter-spacing:1.3px}.section-intro h2{font-size:34px;letter-spacing:-1px;margin:12px 0 13px}.section-intro>p{font-size:10px;line-height:1.85}.section-intro{margin-bottom:23px}.companion-grid{grid-template-columns:1fr;gap:17px}.companion-art{height:215px}.companion-copy{padding:19px 20px}.companion-copy h3{font-size:29px}.companion-copy>p:first-child{font-size:8px}.companion-copy .bio{font-size:11px;min-height:0}.interest-tags span{font-size:8px}.interest-tags{margin:14px 0 17px}.button.pet-choice{font-size:11px;min-height:44px}.neighborhood-list-heading{align-items:flex-start;gap:9px}.neighborhood-list-heading h3{font-size:22px}.neighborhood-list-heading>span{font-size:8px;max-width:105px;text-align:right;line-height:1.6}.neighbors-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.neighbors-grid>button{padding:9px 7px;gap:6px}.neighbors-grid>button>svg{display:none}.neighbors-grid strong{font-size:10px}.neighbors-grid small{font-size:7px}.neighbors-grid .avatar{width:31px;height:31px}.place-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.place-card>img{height:102px}.place-card>div{padding:16px 10px 13px}.place-card h3{font-size:17px;line-height:1.2}.place-card p{font-size:8px;min-height:25px;margin:8px 0 14px}.place-card-icon{height:27px;width:27px;right:9px;top:-16px;border-radius:8px}.place-card-icon svg{width:17px;height:17px}.visit-state{font-size:6px;gap:3px}.visit-state>svg{width:10px;height:10px}.destination-cover{margin:-23px -19px 0;height:223px}.destination-cover>span{left:21px}.destination-story h2{font-size:32px}.destination-story>p:not(.section-kicker){font-size:12px}.destination-buttons{gap:9px}.destination-buttons>.button{flex:1;font-size:10px;padding:11px 12px}.tabs{gap:3px}.tab{font-size:9px;padding:9px 10px;min-height:40px}.memory-grid{grid-template-columns:1fr;gap:17px}.memory-image{height:185px}.memory-copy{padding:18px}.memory-copy h3{font-size:24px}.memory-copy>small{font-size:8px}.memory-copy>p{font-size:11px}.memory-footer{font-size:9px}.market-heading{display:block}.market-heading .section-intro{margin-bottom:19px}.market-balance{display:flex;max-width:none;width:100%;padding:13px 0;min-width:0;border-left:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:10px;margin-bottom:21px}.market-balance>svg{width:22px;height:22px}.market-balance strong{font-size:27px}.market-balance>span{width:auto;font-size:9px}.market-balance small{margin-left:auto;max-width:104px;text-align:right;font-size:7px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-item{padding:10px}.item-art{height:108px}.item-art>svg{height:85px;width:92px}.shop-item h3{font-size:17px;line-height:1.25}.shop-item p{font-size:8px;min-height:30px}.buy-button{font-size:9px;min-height:40px}.buy-button>span{font-size:7px;gap:2px}.buy-button>span>svg{width:11px}.quest-item{padding:14px 11px;gap:11px;align-items:flex-start}.quest-icon{width:34px;height:34px;border-radius:9px}.quest-icon>svg{width:19px;height:19px}.quest-main h3{font-size:18px}.quest-main p{font-size:9px;margin:5px 0 11px}.quest-progress{gap:9px}.quest-progress small{font-size:7px}.reward-button{min-width:68px;padding:9px 6px;font-size:10px;gap:4px}.reward-button>span{font-size:7px}.quest-reward>span{padding:0;font-size:7px;white-space:nowrap}.settings-section h3{font-size:26px}.setting-row{font-size:11px;gap:15px}.setting-row strong{font-size:11px}.setting-row small{font-size:8px}.setting-row>span:first-child{gap:8px}.setting-row>span>svg{width:17px;height:17px}.setting-row select{font-size:11px;max-width:165px}.time-buttons{gap:3px}.time-buttons>.button.tiny{font-size:8px;padding:8px 6px;min-height:40px}input[type="range"]{width:136px}.settings-note{font-size:9px}.save-controls{gap:8px}.save-controls>.button{font-size:10px;padding:10px 13px}.home-top{display:block;margin-bottom:18px}.room-name{font-size:32px}.home-top p{font-size:9px;line-height:1.9}.theme-switch{margin-top:14px;justify-content:flex-start;gap:9px}.theme{flex-direction:row;font-size:8px;gap:7px;min-height:35px;padding:8px 10px}.theme-swatch{height:12px;width:12px}.home-workspace{display:flex;flex-direction:column;gap:22px}.room-stage{height:370px;width:100%;min-width:0}.room-backdrop{height:214px;background-size:auto 214px}.room-floor{top:195px}.room-caption{font-size:7px;bottom:9px;padding:6px 9px}.furniture-shelf{width:100%}.furniture-shelf h3{font-size:23px}.furniture-shelf>p{font-size:10px;margin-bottom:14px}.shelf-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.shelf-item{padding:10px 5px}.shelf-item>span{font-size:8px}.shelf-item>svg{width:69px;height:57px}.furniture-shelf .button{min-height:42px;font-size:10px}.selected-item-tools>div{gap:8px}.selected-item-tools .icon-button{height:43px;width:43px}.activity-tabs{gap:6px;margin-bottom:13px;flex-wrap:nowrap}.activity-tab{flex:1;justify-content:center;gap:5px;font-size:9px;padding:11px 8px;min-height:44px;white-space:nowrap}.activity-tab>svg{width:15px;height:15px}.arcade-stage,.fishing-stage,.garden-stage{display:flex;flex-direction:column;gap:26px;padding:13px 0 6px;align-items:stretch}.arcade-copy h3,.fishing-copy h3,.garden-copy h3{font-size:32px;margin:10px 0 15px}.arcade-copy>p:not(.game-status),.fishing-copy>p:not(.game-status),.garden-copy>p:not(.game-status){font-size:11px;max-width:none}.arcade-scores{margin:18px 0;gap:37px}.arcade-scores strong{font-size:29px}.arcade-buttons{margin-top:17px}.arcade-buttons>.button{font-size:10px;min-height:43px}.echo-machine{align-self:center;padding:23px 25px 19px;width:100%;max-width:343px;order:-1}.echo-pads{gap:11px;margin:18px 0}.echo-pad{height:94px}.echo-machine .machine-brand{margin-bottom:16px}.game-status{font-size:10px;margin-top:16px;min-height:26px}.fishing-scene,.garden-scene{height:229px;width:100%}.fishing-stage,.garden-stage{gap:25px}.float-bubble{font-size:21px}.garden-flower>span{font-size:135px}.garden-copy .button,.fishing-copy .button{min-height:44px;font-size:10px}.about-mark{font-size:66px;padding-bottom:29px}.about-body h2{font-size:29px;line-height:1.2}.about-body p{font-size:11px}.engine-facts{gap:12px}.engine-facts span{font-size:9px}.toast-stack{bottom:199px;width:calc(100vw - 34px)}.toast{font-size:10px;padding:12px 14px}.panel-dialog .toast-stack{bottom:14px;width:calc(100% - 26px)}.engine-error{padding:24px}.engine-error strong{font-size:23px}.engine-error p{font-size:11px}}
@media(max-width:370px){.topbar{padding:0 11px;gap:10px}.topbar-actions{gap:4px}.district-switch{font-size:10px}.world-heading h1{font-size:31px}.companion-dock>button{gap:3px;padding-right:4px}.companion-dock .avatar{width:24px;height:24px}.companion-dock>button strong{font-size:7px}.shop-grid{gap:9px}.shop-item{padding:8px}.item-art{height:97px}.place-grid{gap:9px}.place-card>div{padding-left:9px;padding-right:9px}.place-card h3{font-size:16px}.visit-state{font-size:6px}.activity-tab{font-size:8px;padding:10px 6px}.panel-body{padding-left:16px;padding-right:16px}}
@media(max-height:660px) and (max-width:740px){.world-heading{top:15px}.world-heading h1{font-size:28px}.world-atmosphere{top:99px}.welcome-note{bottom:150px;top:145px;padding:18px;width:calc(100% - 40px);overflow:auto}.welcome-note h2{font-size:23px;margin:10px 0}.welcome-note>p{display:none}.welcome-note>.button{margin-top:13px}.pet-inspector{top:136px;max-height:calc(100% - 220px)}.little-story{display:none}.world-heading>p{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}html.reduced-motion *,html.reduced-motion *::before,html.reduced-motion *::after{animation:none!important;transition:none!important}
/* Final visual calibration: readable faces, quieter companion chrome. */
.companion-art img{object-position:center top}.dock-label{font-size:7px;line-height:1.7;letter-spacing:1px;color:#a99d88;padding:0 7px 0 3px;white-space:nowrap}.floor-cell{pointer-events:none}.room-stage.is-placing .floor-cell{pointer-events:auto;z-index:50}.room-stage.is-placing .placed-item{pointer-events:none}.engine-status.paused{opacity:.65}
@media(max-width:740px){.dock-label{display:none}.companion-art{height:245px}.companion-dock .dock-pet>span:not(.avatar){font-size:8px}.companion-dock .dock-pet{padding-right:8px}.show-companion{font-size:0}.world-stage:has(.pet-inspector:not([hidden])) .welcome-note{display:none}}
.placed-item{display:block;min-height:0;min-width:0}.placed-item>svg{position:absolute;left:0;bottom:0;width:100%;height:170%;min-height:0;pointer-events:none}.placed-item[data-kind="rug"]>svg{height:100%}.room-floor::before{content:"";position:absolute;left:0;right:0;top:0;height:22px;background:linear-gradient(#30262160,transparent);pointer-events:none;z-index:3}

.update-notice{position:fixed;z-index:50;bottom:45px;left:50%;transform:translateX(-50%);width:min(620px,calc(100vw - 32px));padding:18px 20px;border:1px solid var(--line);border-radius:15px;background:var(--ink2);box-shadow:var(--shadow);display:flex;align-items:center;gap:16px}.update-notice[hidden]{display:none}.update-notice p{font-size:12px;line-height:1.6;margin:0}.update-notice .button{flex-shrink:0;font-size:11px}.panel-header [data-action="prepare-update"]{font-size:10px;max-width:110px}.panel-header [data-action="prepare-update"][hidden]{display:none}@media(max-width:740px){.update-notice{bottom:18px;flex-direction:column;align-items:stretch;padding:16px}.update-notice .button{min-height:44px}.panel-header [data-action="prepare-update"]{max-width:90px;padding:8px;font-size:9px}}

.view-selector{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #e9c18f28;border-radius:12px;background:#111b244d;flex-shrink:0}.view-selector button{min-width:44px;min-height:38px;padding:0 13px;border-radius:8px;font-size:11px;font-weight:600;white-space:nowrap}.view-selector [aria-pressed="true"]{background:#eadac512;color:#e9c395;box-shadow:inset 0 0 0 1px #dfc29f21}.view-selector button:disabled{opacity:1;color:#bdc6cd}.view-selector span{font-size:10px;font-weight:400;margin-left:5px;color:#bdc6cd}
@media(max-width:740px){.app-shell{grid-template-rows:110px minmax(0,1fr)}.topbar{position:relative;padding-bottom:49px}.view-selector{position:absolute;left:18px;bottom:3px;padding:0;border-radius:9px}.view-selector button{min-height:44px;padding:0 12px}}

.wallet-recovery{margin-top:20px}.wallet-recovery h3{font-size:16px;margin:0 0 12px}.wallet-recovery .settings-note,.wallet-recovery .gentle-note{font-size:12px;line-height:1.65;color:#c5d0d4;text-align:left;padding:0;margin:10px 0}.wallet-recovery .save-controls{margin-top:16px}.wallet-recovery .button{min-height:44px;font-size:12px}.wallet-recovery [role="status"]:empty{display:none}.wallet-recovery code{overflow-wrap:anywhere;font-size:11px}.wallet-recovery a{color:#b0d7cd;text-decoration:underline;overflow-wrap:anywhere}@media(min-width:741px){.wallet-recovery .wallet-phone-tip{display:none}}

.journey-cue{position:absolute;top:112px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:9px 14px;border:1px solid rgba(255,231,174,.5);border-radius:20px;background:rgba(21,31,40,.94);color:#fff2d8;font:600 12px/1.4 system-ui,sans-serif;pointer-events:none;text-align:center;z-index:4}.journey-cue[hidden]{display:none}@media(max-width:600px){.journey-cue{top:139px;font-size:11px;max-width:calc(100% - 36px)}}

/* Blend the painted room floor into the placement grid without a hard ledge. */
.room-stage{background:#98582c}.room-backdrop::after{background:linear-gradient(0deg,#98582c,transparent 35%)}.room-floor{border-top:0;background:linear-gradient(#98582c,transparent 60px),repeating-linear-gradient(0deg,transparent 0,transparent 28px,#5d321f55 28px,#5d321f55 29px),repeating-linear-gradient(90deg,#a15f31 0,#894b26 80px,#ad6636 160px,#82431f 220px)}.room-floor::before{background:linear-gradient(#6c351b40,transparent)}

/* Intelligent pet interface: shares the district palette and dialog system. */
.studio{max-width:980px;margin:auto}.studio-header h2{font-size:clamp(26px,4vw,40px);margin:12px 0}.studio p{line-height:1.65;color:#c5d0d4;font-size:14px}.studio-tag{font-size:10px;letter-spacing:1.2px;color:#e9c395;display:block;margin:8px 0}.studio-notice{padding:12px 16px;border:1px solid #e9c39540;border-radius:10px;background:#e9c39509}.studio-tabs{display:flex;gap:8px;overflow-x:auto;padding:12px 0 20px}.studio-tabs button{white-space:nowrap;min-height:44px;flex-shrink:0}.studio button[aria-pressed=true]{border-color:#e9c395;background:#e9c39520;color:#ffe9c5}.studio-content h3{font-size:22px;margin:20px 0 12px}.studio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.studio-card{padding:18px;border:1px solid #ffffff20;background:#ffffff04;border-radius:15px;min-width:0;display:flex;flex-direction:column;gap:8px}.studio-card h3,.studio-card h4,.studio-card p{margin:4px 0}.studio-card .button{margin-top:auto}.studio-portrait{width:100%;height:165px;object-fit:contain}.studio-pet{display:flex;gap:24px;align-items:center}.studio-pet>img{width:150px}.studio-field{display:flex;flex-direction:column;gap:9px;font-size:13px;color:#eadbc6;margin:14px 0;min-width:0}.studio-field input,.studio-field select,.studio-field textarea{width:100%;box-sizing:border-box;border:1px solid #ffffff30;background:#131e27;color:#f1e5d4;padding:13px;border-radius:8px;font:inherit;min-height:46px}.studio-field textarea{resize:vertical}.studio-gate{margin:18px 0}.studio-gate p{font-size:12px;margin:8px 0}.studio button:disabled{opacity:.6;cursor:not-allowed}.studio-empty{padding:24px;border:1px dashed #ffffff30;border-radius:12px;color:#b8c4cd;line-height:1.6}.studio-summary{display:grid;grid-template-columns:1fr 2fr;gap:15px;padding:20px;background:#ffffff05;border-radius:12px}.studio-summary dd{margin:0;color:#c5d0d4}.studio-summary dt{color:#eadbc6}.studio-footer{border-top:1px solid #ffffff20;margin-top:24px;padding-top:18px;display:flex;align-items:center;gap:18px}.studio-footer span{font-size:12px;color:#adb9c1}.studio-status{color:#e9c395!important;min-height:22px}.studio-content>.button{margin:5px}.studio :focus-visible{outline:2px solid #e9c395;outline-offset:3px}@media(max-width:740px){.studio-grid{grid-template-columns:1fr}.studio-pet{gap:12px}.studio-pet>img{width:95px}.studio-summary{grid-template-columns:1fr;gap:8px}.studio-summary dd{margin-bottom:12px}.studio-footer{align-items:stretch;flex-direction:column}.studio-content h3{font-size:20px}.studio-tabs{max-width:100%}.nav-rail>div:first-child{overflow:auto}}
