*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#263e34;background:#bbddc8}button,input,select{font:inherit}button,select{cursor:pointer}button:focus-visible,select:focus-visible{outline:2px solid #597965;outline-offset:3px}[hidden]{display:none!important}#world{position:relative;height:100dvh;overflow:hidden}#viewer{position:absolute;inset:0;width:100%;height:100%;border:0}.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}.search-panel{position:absolute;z-index:3;bottom:max(30px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(480px,calc(100% - 32px));display:flex;flex-direction:column;align-items:stretch;gap:10px}.search-bar{display:flex;align-items:center;gap:13px;padding:8px 12px 8px 21px;min-height:64px;background:rgba(255,253,246,.95);border:1px solid rgba(255,255,255,.92);border-radius:22px;box-shadow:0 12px 45px #233c3426,0 2px 7px #263d3412,inset 0 1px #fff;backdrop-filter:blur(22px);transition:box-shadow .18s,border-color .18s}.search-bar:focus-within{border-color:#a7b9a4;box-shadow:0 12px 45px #233c3433,0 0 0 3px #fff5}.search-icon{width:21px;height:21px;fill:none;stroke:#6e8375;stroke-width:1.65;stroke-linecap:round;flex-shrink:0}#search{width:100%;min-width:0;height:44px;border:0;background:none;outline:none;color:#263e34;font-size:15px;letter-spacing:.05px}#search::placeholder{color:#7d897f;opacity:1}#search::-webkit-search-cancel-button{display:none}.shortcut{font-size:14px;color:#9ba498;border:1px solid #dce1d5;border-radius:6px;padding:1px 7px;line-height:23px}#clear-search,#clear-follow{border:0;background:none;color:#738574;font-size:22px;line-height:1;min-width:32px;min-height:36px;padding:0}.search-popover{position:absolute;bottom:calc(100% + 12px);width:100%;background:rgba(255,253,246,.98);border:1px solid #ffffffd9;border-radius:22px;padding:19px 12px 12px;box-shadow:0 12px 50px #233c342b;backdrop-filter:blur(22px);max-height:calc(100dvh - 180px);overflow:auto}.popover-heading{display:flex;align-items:center;justify-content:space-between;padding:0 10px 8px;font-size:10px;font-weight:650;letter-spacing:1.8px;color:#778776}.escape-key{font-size:10px;letter-spacing:0;border:1px solid #e1e4da;padding:3px 5px;border-radius:5px;color:#99a08f}.hint{font-size:13px;line-height:1.6;color:#7b8679;margin:5px 10px 9px}#results{padding:0;margin:0;list-style:none}#results:empty{display:none}#results button{display:flex;align-items:center;width:100%;border:0;border-radius:14px;background:transparent;text-align:start;gap:13px;padding:11px 10px;color:#263e34;transition:background .15s}#results button:hover,#results button:focus-visible{background:#eaf0e4}.resident-avatar{width:43px;height:43px;flex-shrink:0;display:grid;place-items:center;background:#e2eadb;color:#62806a;border:1px solid #d9e3d1;border-radius:15px;font-size:15px;font-weight:600}.resident-copy{min-width:0;flex:1}#results strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}#results small{display:block;font-size:12px;color:#8a9585;margin-top:4px}.result-arrow{font-size:19px;color:#95a18e;padding-inline:6px}.following{align-self:center;max-width:100%;display:flex;align-items:center;gap:9px;border-radius:30px;padding:3px 8px 3px 15px;background:#fbfcf2ed;border:1px solid #fff9;box-shadow:0 4px 20px #233c3420;font-size:12px;color:#58715c;backdrop-filter:blur(12px)}#selected-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.following-dot{width:6px;height:6px;background:#739671;border-radius:100%;flex-shrink:0}.connection{margin:0;align-self:center;border-radius:14px;background:#fff9e9ee;padding:7px 12px;color:#836b43;font-size:12px;text-align:center}.empty{position:absolute;top:30px;left:50%;transform:translateX(-50%);max-width:90vw;text-align:center;background:#fffdf1df;border-radius:18px;padding:12px 20px;color:#60725c;font-size:13px}.loading{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;background:radial-gradient(ellipse at 50% 40%,#f6f4e8,#e4ecdc);text-align:center}.loading h1{font-size:22px;font-weight:500;letter-spacing:-.65px;margin:23px 0 2px}.loading p{color:#7a8974;font-size:14px;line-height:1.7;max-width:320px}.loading-orbit{height:27px;width:27px;border:1.5px solid #c9d5bd;border-top-color:#62806a;border-radius:50%;animation:orbit 1.7s linear infinite}.loading progress{width:130px;height:3px;accent-color:#82956d;margin:14px;border:0;border-radius:3px;overflow:hidden}.loading progress::-webkit-progress-bar{background:#dce4d4}.loading progress::-webkit-progress-value{background:#82956d}#retry{border:1px solid #c8d3bf;border-radius:25px;padding:10px 22px;background:#ffffff88;color:#58715c;margin-top:12px;font-size:13px}@keyframes orbit{to{transform:rotate(360deg)}}[dir=rtl] .search-bar{padding:8px 21px 8px 12px}@media(max-width:600px){.search-panel{bottom:max(18px,env(safe-area-inset-bottom));width:calc(100% - 28px)}.search-bar{gap:10px;min-height:60px;padding-inline-start:17px;border-radius:20px}#search{font-size:16px}.shortcut{display:none}.search-popover{max-height:calc(100dvh - 155px)}.empty{top:16px}}@media(max-height:450px){.search-panel{bottom:12px}.search-popover{max-height:calc(100dvh - 120px)}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Resident inspection is read-only, shared with search and translated with the site. */
.resident-hover{position:fixed;z-index:4;pointer-events:none;max-width:min(290px,calc(100vw - 24px));padding:15px 19px;border:1px solid #ffffffd9;border-radius:18px;background:#fffdf5f5;box-shadow:0 8px 32px #233c3426;color:#334d3e;backdrop-filter:blur(16px)}.resident-hover strong,.resident-hover span,.resident-hover small{display:block}.resident-hover strong{font-size:14px;overflow-wrap:anywhere}.resident-hover span{font-size:12px;margin-top:5px;color:#73836e}.resident-hover small{font-size:10px;margin-top:10px;color:#98a18e}.resident-profile{position:absolute;z-index:4;inset-inline-start:28px;top:28px;width:320px;max-width:calc(100% - 32px);max-height:calc(100dvh - 150px);overflow:auto;padding:27px 24px 23px;border:1px solid #ffffffdf;border-radius:26px;background:#fffdf6f5;box-shadow:0 16px 65px #233c3430;backdrop-filter:blur(24px);outline:none}.profile-close{position:absolute;inset-inline-end:12px;top:10px;border:0;background:none;color:#819078;font-size:24px;width:40px;height:40px}.profile-eyebrow{font-size:9px;font-weight:650;letter-spacing:1.7px;color:#8d9b80;display:block;margin:1px 20px 25px 0}.profile-identity{display:flex;gap:14px;align-items:center}.profile-identity>div{min-width:0}.profile-avatar{display:grid;place-items:center;width:59px;height:64px;flex-shrink:0;border-radius:21px;background:#efdfbf;color:#907b52;font-size:20px;font-weight:500}.profile-avatar[data-species=cat]{background:#ede0dc;color:#9a7c71}.profile-avatar[data-species=rabbit]{background:#e5e6da;color:#798264}.profile-avatar[data-species=bear]{background:#e0e7da;color:#7d876a}.profile-identity h2{margin:0;font-size:19px;font-weight:550;letter-spacing:-.4px;overflow-wrap:anywhere}.profile-identity p{margin:5px 0 0;color:#92a086;font-size:12px;overflow-wrap:anywhere}.profile-activity{font-size:12px;color:#6b8366;display:flex;align-items:center;gap:8px;margin:20px 0;padding-bottom:20px;border-bottom:1px solid #e6e9dc}.profile-activity>span:first-child{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#89a47d}.profile-facts{margin:0;display:grid;gap:17px}.profile-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px}.profile-facts dt{font-size:12px;color:#8b9780}.profile-facts dd{font-size:13px;margin:0;text-align:end;color:#435e44}.profile-note{font-size:10px;line-height:1.6;color:#98a18e;margin:20px 0}.profile-follow{width:100%;border:1px solid #dce5d0;border-radius:14px;padding:13px 14px;background:#e8eedf;color:#597153;font-size:12px;text-align:center}.profile-follow:hover{background:#dce6d1}@media(max-width:700px){.resident-profile{top:auto;bottom:105px;inset-inline-start:14px;width:calc(100% - 28px);max-width:none;max-height:calc(100dvh - 125px);padding:22px}.profile-eyebrow{margin-bottom:16px}.profile-note{margin:14px 0}}@media(max-height:450px){.resident-profile{top:10px;bottom:auto;max-height:calc(100dvh - 105px)}}
.inspecting .following{display:none}

/* Keep the entire rectangular flag centered inside the round touch target. */
.language-control{position:absolute;z-index:6;top:max(24px,env(safe-area-inset-top));inset-inline-end:var(--control-edge);width:48px;height:48px}
.language-trigger{position:relative;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #ffffffc9;border-radius:50%;background:#fffdf2ed;color:#6c816b;box-shadow:0 4px 24px #263e341a;transition:background .15s,box-shadow .15s}
.language-trigger:hover,.language-trigger[aria-expanded=true]{background:#fffdf6;color:#385c43;box-shadow:0 5px 24px #263e3430}
#language-current{display:grid;place-items:center;pointer-events:none}
.language-flag{display:block;width:32px;height:22px;border-radius:4px;box-shadow:0 0 0 1px #263e3414;overflow:hidden;flex-shrink:0}
#language-current .language-flag{width:30px;height:20px;border-radius:2px;box-shadow:0 0 0 1px #263e3414}
.language-menu{position:absolute;top:calc(100% + 12px);inset-inline-end:0;display:grid;grid-template-columns:repeat(2,60px);gap:6px;padding:10px;border:1px solid #ffffffed;border-radius:22px;background:#fffdf6;box-shadow:0 12px 36px #253b3430;animation:language-open .14s ease-out}
.language-option{position:relative;width:60px;height:52px;display:grid;place-items:center;border:1px solid transparent;border-radius:13px;background:transparent;transition:background .12s,border-color .12s}
.language-option:hover{background:#edf0e5}.language-option[aria-checked=true]{background:#e4eddf;border-color:#b6c9ac}
.language-check{position:absolute;bottom:1px;inset-inline-end:3px;display:none;width:15px;height:15px;place-items:center;border-radius:50%;background:#52745a;color:white;font-size:10px;line-height:1}
.language-option[aria-checked=true] .language-check{display:grid}
@keyframes language-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.language-control{top:max(16px,env(safe-area-inset-top))}}
@media(pointer:coarse){.search-bar,.search-popover,.following,.resident-profile,.resident-hover{backdrop-filter:none;background:#fffdf6}.search-bar:focus-within{box-shadow:0 4px 16px #233c3420}}

.music-control{position:absolute;z-index:6;top:max(24px,env(safe-area-inset-top));inset-inline-end:calc(max(24px,env(safe-area-inset-right)) + 58px);width:48px;height:48px;display:grid;place-items:center;padding:12px;border:1px solid #ffffffc9;border-radius:50%;background:#fffdf2ed;color:#6c816b;box-shadow:0 4px 24px #263e341a}.music-control:hover{background:#fffdf6;color:#385c43}.music-control svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.music-muted{display:none}.music-control[aria-pressed=true] .music-waves{display:none}.music-control[aria-pressed=true] .music-muted{display:block}@media(max-width:700px){.music-control{top:max(16px,env(safe-area-inset-top));inset-inline-end:74px}}

.camera-control{position:absolute;z-index:6;top:max(24px,env(safe-area-inset-top));inset-inline-end:calc(max(24px,env(safe-area-inset-right)) + 116px);width:48px;height:48px;display:grid;place-items:center;padding:12px;border:1px solid #ffffffc9;border-radius:50%;background:#fffdf2ed;color:#6c816b;box-shadow:0 4px 24px #263e341a}.camera-control:hover{background:#fffdf6;color:#385c43}.camera-control svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.touch-help{position:absolute;z-index:3;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 82px);left:50%;transform:translateX(-50%);width:min(330px,calc(100% - 36px));margin:0;padding:12px 16px;border:1px solid #ffffffb3;border-radius:18px;background:#fffdf6e8;box-shadow:0 4px 20px #233c3415;color:#60725c;font-size:12px;line-height:1.7;text-align:center;pointer-events:none}.inspecting .touch-help{display:none}@media(max-width:700px){.camera-control{top:max(16px,env(safe-area-inset-top));inset-inline-end:132px}.resident-profile{max-height:min(360px,calc(100dvh - 200px));overscroll-behavior:contain}.profile-facts{gap:12px}.profile-activity{margin:14px 0;padding-bottom:14px}}

:root{--control-edge:max(24px,env(safe-area-inset-right))}:root[dir=rtl]{--control-edge:max(24px,env(safe-area-inset-left))}.language-control{inset-inline-end:var(--control-edge)}.music-control{inset-inline-end:calc(var(--control-edge) + 58px)}.camera-control{inset-inline-end:calc(var(--control-edge) + 116px)}.language-control,.music-control,.camera-control{touch-action:manipulation;-webkit-tap-highlight-color:transparent}@media(max-width:700px){:root{--control-edge:max(16px,env(safe-area-inset-right))}:root[dir=rtl]{--control-edge:max(16px,env(safe-area-inset-left))}.search-panel{width:min(480px,calc(100% - 28px - env(safe-area-inset-left) - env(safe-area-inset-right)))}}

.site-version{position:fixed;z-index:10;right:max(8px,env(safe-area-inset-right));bottom:max(5px,env(safe-area-inset-bottom));font:10px/1.4 system-ui,sans-serif;letter-spacing:.02em;color:#425342;background:#fffdf2cc;border-radius:4px;padding:2px 5px;pointer-events:none;user-select:none}

/* Move only the compositor layer; content is measured only when it changes. */
.resident-hover{left:0;top:0;will-change:transform;backdrop-filter:none;background:#fffdf6f5}

/* Resident identity: actual in-engine closeup, compact tracking action. */
.profile-avatar{width:80px;height:80px;border-radius:24px;overflow:hidden;background:#e8eddb;box-shadow:inset 0 0 0 1px #435e4410}
.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}.profile-avatar img[hidden]{display:none}
.profile-avatar.portrait-loading{background:linear-gradient(135deg,#e9eddf,#dfe7d2)}
.profile-identity{gap:16px}.profile-identity h2{font-size:20px;line-height:1.2}.profile-identity p{margin-top:7px}
.profile-follow{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-height:40px;padding:8px 15px;border-radius:999px;font-size:12px;font-weight:600;background:#e2ead9;color:#435e44;cursor:pointer}
.profile-follow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}
.profile-follow:focus-visible{outline:2px solid #64815a;outline-offset:3px}.profile-follow:hover{background:#d6e3c9}
@media(max-width:700px){.profile-avatar{width:72px;height:72px;border-radius:21px}.profile-follow{min-height:44px}.profile-identity h2{font-size:19px}}

.analytics-privacy{position:fixed;z-index:10;left:max(8px,env(safe-area-inset-left));bottom:max(5px,env(safe-area-inset-bottom));font:11px/1.4 system-ui;color:#425342;background:#fffdf2cc;border-radius:4px;padding:3px 6px;text-decoration:none}

/* A tiny keepsake-style strip; icons and numbers only, no GPU blur. */
.world-stats{position:absolute;z-index:3;top:max(24px,env(safe-area-inset-top));inset-inline-start:max(24px,env(safe-area-inset-left));display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 16px;border:1px solid #fffdf5e6;border-radius:22px;background:#fffdf2ed;box-shadow:0 4px 20px #263e3417;color:#48634c;user-select:none;pointer-events:none}
.world-stat{display:flex;align-items:center;gap:8px;white-space:nowrap}.stat-emoji{font-size:22px;line-height:1.2;filter:saturate(.8)}.stat-number{font-size:17px;line-height:1.3;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.3px}.stat-divider{height:19px;width:1px;background:#66806524}
@media (max-width:700px), (max-width:950px) and (max-height:500px), (max-height:500px) and (pointer:coarse){.world-stats{top:calc(env(safe-area-inset-top) + 14px);inset-inline-start:max(12px,env(safe-area-inset-left));gap:8px;min-height:36px;padding:5px 10px;border-radius:18px;max-width:calc(100% - 166px - env(safe-area-inset-left) - env(safe-area-inset-right));box-shadow:0 3px 12px #233c3412}.world-stat{gap:5px}.stat-emoji{font-size:17px}.stat-number{font-size:13px}.stat-divider{height:15px}}
.stat-unit{font-size:13px;font-weight:500;color:#71816a;line-height:1.3}#world-days{gap:5px}@media(max-width:700px),(max-width:950px) and (max-height:500px),(max-height:500px) and (pointer:coarse){.stat-unit{font-size:11px}}

#construction-progress{width:100%;height:8px;margin-top:20px;accent-color:#819e70}

#construction-name{grid-column:1/-1;margin:8px 0 12px;padding-inline-end:30px;font-size:22px}#construction-progress,#construction-profile .profile-note{grid-column:1/-1}
.construction-members{grid-column:1/-1;list-style:none;padding:0;margin:18px 0 0;display:grid;gap:15px}.construction-members[hidden]{display:none}.construction-members li{display:grid;gap:6px;padding-top:13px;border-top:1px solid #e6e9dc;overflow-wrap:anywhere}.construction-members strong{font-size:13px;font-weight:550;color:#435e44}.construction-members span{font-size:12px;line-height:1.5;color:#6b8366}.construction-members progress{width:100%;height:6px;accent-color:#819e70}.construction-members .project-transformation{font-size:11px;color:#788b6c}#construction-builder{overflow-wrap:anywhere;max-width:70%}

.profile-instagram{color:inherit;text-decoration:underline;text-decoration-color:#8a927966;text-underline-offset:3px;border-radius:4px}.profile-instagram:hover{color:#3f674f;text-decoration-color:currentColor}.profile-instagram:focus-visible{outline:2px solid #3f674f;outline-offset:4px}.profile-instagram span{font-size:.85em;opacity:.7}

.profile-goal{grid-column:1/-1;margin:0 0 16px;background:#f0f3e7;border:1px solid #dce5d0;border-radius:16px;color:#435e44;overflow:hidden}.profile-goal[hidden]{display:none}.profile-goal summary{position:relative;list-style:none;cursor:pointer;padding:13px 38px 13px 14px;min-height:44px;overflow-wrap:anywhere}.profile-goal summary::-webkit-details-marker{display:none}.profile-goal summary:focus-visible{outline:2px solid #75956a;outline-offset:-3px;border-radius:14px}.goal-label{display:block;font-size:10px;color:#788b6c;margin-bottom:5px}.profile-goal #profile-goal-title{display:block;font-size:13px;line-height:1.5;white-space:pre-line}.goal-chevron{position:absolute;inset-inline-end:15px;top:22px;transition:transform .15s}.profile-goal[open] .goal-chevron{transform:rotate(180deg)}.profile-goal ol{margin:0;padding:0 20px 14px 36px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.profile-goal li+li{margin-top:8px}.goal-no-steps summary{cursor:default}.goal-no-steps .goal-chevron{display:none}[dir=rtl] .profile-goal summary{padding:13px 14px 13px 38px}[dir=rtl] .profile-goal ol{padding:0 36px 14px 20px}@media(max-width:700px){.profile-goal{margin:0}.profile-goal summary{padding-top:10px;padding-bottom:10px}}

.goal-request-link,.resident-owner-link{font:inherit;color:inherit;border:0;background:none;padding:0;text-align:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(92,113,91,.4);text-underline-offset:3px}
.goal-request-link{display:block;width:100%;font-weight:inherit}
.goal-request-link:disabled{cursor:default;text-decoration:none}
.goal-request-link:focus-visible,.resident-owner-link:focus-visible{outline:2px solid #658d74;outline-offset:4px;border-radius:3px}
.profile-request{margin-top:12px;padding:12px;background:#f4f0e5;border-radius:14px;border:1px solid #ddd9ca}
.request-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}
.request-heading button{border:0;background:none;color:inherit;font-size:22px;min-width:36px;min-height:36px;cursor:pointer}
.profile-request blockquote{margin:8px 0 0;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}
#construction-builder>span{display:block}

.profile-request{grid-column:1/-1}.profile-request[hidden]{display:none}

@media(pointer:coarse){.resident-owner-link{min-height:44px}.goal-request-link{min-height:32px}.request-heading button{min-width:44px;min-height:44px}}

.profile-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.profile-actions .profile-follow{min-height:44px}.profile-share{background:#eeeadd;border:1px solid #d9decc}.profile-share:hover{background:#e4e8da}.profile-share:disabled{cursor:wait;opacity:.7}

.profile-honor{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:5px 9px;border:1px solid #e9ce86;border-radius:999px;background:linear-gradient(120deg,#fff7d9,#faecc2);color:#84612a;font-size:10px;font-weight:750;letter-spacing:.05em;line-height:1.2;box-shadow:0 2px 8px #a97b1d0c}
.profile-honor[hidden]{display:none}.profile-honor svg{width:15px;height:15px;fill:#e8b553;stroke:#a97b24;stroke-width:1.2;stroke-linejoin:round}

/* Authoritative resident goal states; text labels accompany every color. */
#profile-goal-steps .goal-done{color:#267349;background:#e8f5e9}#profile-goal-steps .goal-active{color:#174e91;background:#eaf2ff;font-weight:700}#profile-goal-steps .goal-blocked{color:#805600;background:#fff4d5}#profile-goal-steps .goal-queued{color:#666}#profile-goal-steps .goal-row{border-radius:6px;padding:6px 8px;margin:4px 0}

/* Native modal keeps touch, focus and scrolling away from the world behind it. */
.profile-belongings-toggle{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;margin:0 0 12px;padding:12px 16px;border:1px solid #d6dfc7;border-radius:16px;background:#eef3e6;color:#446344;font:inherit;font-weight:600;text-align:start;cursor:pointer}
.profile-belongings-toggle::after{content:"↗";font-size:20px;font-weight:400}
.belongings-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);padding:0;margin:auto;border:1px solid #e1e5d6;border-radius:28px;background:#fffdf5;color:#36503c;box-shadow:0 24px 90px #192d3640;overflow:hidden;font:inherit}
.belongings-dialog::backdrop{background:#20372e80}
.belongings-sheet{display:flex;flex-direction:column;max-height:calc(100dvh - 50px);min-height:240px}
.belongings-heading{display:flex;align-items:center;gap:12px;flex:none;padding:24px;border-bottom:1px solid #e7eadc;background:linear-gradient(120deg,#eef3df,#fffdf5)}
.belongings-emblem{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:17px;background:#dfeacb;color:#557446;font-size:32px;line-height:1}
.belongings-heading>div{min-width:0;flex:1}.belongings-heading p{margin:0 0 4px;color:#6f8164;font-size:12px;overflow-wrap:anywhere}.belongings-heading h2{margin:0;font-size:23px;font-weight:650;line-height:1.2;letter-spacing:-.4px}
.belongings-count{display:grid;place-items:center;min-width:28px;height:28px;padding-inline:4px;border-radius:10px;background:#e8eddd;color:#6a805b;font-size:13px;font-variant-numeric:tabular-nums}
.belongings-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #dce3d3;border-radius:50%;background:#fffdf5;color:#62775d;font:inherit;font-size:27px;cursor:pointer}
.belongings-body{padding:14px;overflow-y:auto;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.belongings-list{display:grid;gap:9px;list-style:none;margin:0;padding:0}.belongings-list li{margin:0;padding:0}
.belongings-list button{display:flex;align-items:center;gap:13px;box-sizing:border-box;width:100%;min-height:78px;padding:14px;border:1px solid #e1e7d7;border-radius:19px;background:#f5f7ee;color:#36533d;font:inherit;text-align:start;cursor:pointer;touch-action:manipulation}
.belonging-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;background:#e5edda;color:#789567;font-size:29px;line-height:1}
.belonging-copy{display:grid;gap:6px;flex:1;min-width:0}.belonging-copy strong{font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.belonging-copy small{font-size:12px;color:#788c6c}.belonging-arrow{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:#e8eddf;color:#6d875d;font-size:18px}
.belongings-list button:disabled{cursor:default;background:#f4f3ed;color:#7e8478}.belongings-list button:disabled .belonging-icon,.belongings-list button:disabled .belonging-arrow{background:#eaeae0;color:#8d9485}
.belongings-empty{margin:24px 10px;text-align:center;color:#77856d;font-size:14px;line-height:1.6}
.profile-belongings-toggle:focus-visible,.belongings-dialog button:focus-visible{outline:3px solid #87a86c;outline-offset:3px}
@media(hover:hover){.belongings-list button:not(:disabled):hover{border-color:#b9cba3;background:#edf3e2}.belongings-close:hover{background:#eaf0df}}
@media(max-width:700px),(max-height:500px) and (pointer:coarse){
 .belongings-dialog{width:calc(100vw - 20px - env(safe-area-inset-left) - env(safe-area-inset-right));max-height:calc(var(--ui-viewport-height,100dvh) - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:24px}
 .belongings-sheet{max-height:calc(var(--ui-viewport-height,100dvh) - 22px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:min(300px,65dvh)}
 .belongings-heading{padding:18px 16px;gap:10px}.belongings-heading h2{font-size:22px}.belongings-emblem{width:42px;height:42px;border-radius:14px;font-size:29px}.belongings-body{padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.belongings-list button{min-height:80px;padding:14px 12px}
}
#profile-goal-groups{grid-column:1/-1;display:grid;gap:12px;margin-bottom:16px}#profile-goal-groups[hidden]{display:none}.resident-goal-group{background:#f0f3e7;border:1px solid #dce5d0;border-radius:16px;padding:14px;color:#435e44}.resident-goal-group summary{cursor:pointer}.resident-goal-heading{font-size:15px;font-weight:600}.resident-goal-group .goal-state{display:block;font-size:11px;margin:6px 0}.resident-goal-group progress{display:block;width:100%;height:7px;accent-color:#527d54}.resident-goal-tasks{font-size:12px;line-height:1.6;padding-inline-start:22px;margin-bottom:0}.resident-goal-tasks li{margin-top:8px}.resident-goal-group .goal-active{color:#174e91}.resident-goal-group .goal-blocked{color:#805600}.resident-goal-group .goal-done{color:#267349}.resident-goal-group .goal-planned{color:#52664e}.resident-goal-tasks.resident-goal-note{list-style:none;padding-inline-start:0;margin-top:4px}.resident-goal-note li{margin-top:4px}

.account-entry{display:inline-block;margin:0 0 8px;padding:8px 12px;border-radius:12px;background:#fffdf8;color:#356444;font:600 13px system-ui,sans-serif;text-decoration:none;box-shadow:0 2px 8px #0001}.account-entry:focus-visible{outline:3px solid #d0912e;outline-offset:3px}
.world-level{display:none!important}
.world-switch{position:absolute;z-index:12;top:calc(env(safe-area-inset-top,0px) + 84px);inset-inline-end:max(24px,env(safe-area-inset-right,0px));font-family:inherit;color:#344a3d}
.world-switch[hidden],.world-switch-menu[hidden]{display:none}
.world-switch-trigger{display:flex;align-items:center;gap:10px;min-height:48px;max-width:min(270px,calc(100vw - 32px));padding:5px 13px 5px 5px;border:1px solid #e1e6d6;border-radius:28px;background:#fffdf4f2;color:inherit;box-shadow:0 4px 16px #203f2420;cursor:pointer;font-family:inherit;backdrop-filter:blur(12px)}
.world-switch-emblem{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#527361;color:#fff9e9}
.world-switch-emblem svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.3}
.world-switch-titles{display:grid;gap:3px;min-width:0;text-align:start;padding-block:3px}
.world-switch-action{font-size:13px;font-weight:700;line-height:1.2}
.world-switch-current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#62725e;line-height:1.3}
.world-switch-label{font-weight:550;color:#51664f}
.world-switch-chevron{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .15s}
.world-switch-trigger[aria-expanded=true] .world-switch-chevron{transform:rotate(180deg)}
.world-switch-trigger:hover{background:#fffdf4;box-shadow:0 5px 18px #203f2430}
.world-switch-menu{position:absolute;inset-inline-end:0;top:calc(100% + 9px);width:278px;max-width:calc(100vw - 32px);padding:9px;background:#fffdf6fa;border:1px solid #dbe2d0;border-radius:22px;box-shadow:0 12px 36px #203f2430;backdrop-filter:blur(16px)}
.world-switch-heading{margin:7px 12px 9px;color:#7a8874;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.world-switch-option{width:100%;display:flex;align-items:center;gap:12px;min-height:72px;padding:10px;border:0;border-radius:15px;background:transparent;color:inherit;text-align:start;cursor:pointer;font:inherit}
.world-switch-option:hover,.world-switch-option:focus-visible{background:#f0f3e7}
.world-switch-option[aria-checked=true]{background:#e9efdf}
.world-switch-art{display:grid;place-items:center;width:43px;height:43px;flex:none;border-radius:14px;background:#e2e9d8;color:#5d7b60}
.world-switch-option:not([data-world-id=main]) .world-switch-art{background:#f3e0d9;color:#ad7a70}
.world-switch-art svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
.world-switch-copy{display:grid;gap:5px;min-width:0;flex:1}.world-switch-copy strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.world-switch-copy small{font-size:11px;color:#7a8874}
.world-switch-check{color:#557454;font-weight:700;opacity:0}.world-switch-option[aria-checked=true] .world-switch-check{opacity:1}
.world-switch button:focus-visible{outline:2px solid #79936b;outline-offset:3px}
.keyboard-open .world-switch{display:none}
@media(max-width:700px){.world-switch{top:calc(env(safe-area-inset-top,0px) + 76px);inset-inline-end:16px}.world-switch-trigger{min-height:44px}.world-switch-emblem{width:32px;height:32px}}

.profile-coffee{display:grid;grid-column:1/-1;gap:8px;margin:12px 0}.profile-coffee .profile-follow{width:100%;justify-content:center}.profile-coffee small{line-height:1.4;opacity:.8}.profile-coffee p{margin:0;font-size:13px;line-height:1.4}.profile-coffee p:empty{display:none}
