[hidden]{display:none!important}#game-shell{display:contents}body.auth-on{background:#faf9f5}body.auth-on #game-shell{display:none}#paw-welcome{max-width:1440px;margin:auto;padding:30px 52px;color:#38483b}.welcome-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.welcome-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#465b43;font-size:32px}.welcome-brand b{font-family:'Noto Serif TC',serif;font-size:23px;letter-spacing:3px}.welcome-brand small{display:block;font:9px/2 sans-serif;letter-spacing:4px}.welcome-tag{font-size:11px;color:#8b9386}.welcome-steps{display:flex;list-style:none;margin:32px 0 38px;padding:20px 0;border-block:1px solid #e6e7df;justify-content:center;gap:60px}.welcome-steps li{font-size:12px;color:#a4aaa0;display:flex;align-items:center;gap:10px}.welcome-steps i{font:11px Georgia,serif;border:1px solid #d9dfd4;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-style:normal}.welcome-steps .current{color:#4d6648;font-weight:700}.welcome-steps .current i{background:#526b4b;color:white;border-color:#526b4b}.welcome-steps .complete i{background:#e5ecdf;color:#526b4b}.welcome-layout{display:grid;grid-template-columns:1fr 1fr;min-height:580px;background:white;border:1px solid #e7e8df;border-radius:20px;overflow:hidden}.welcome-art{padding:40px 42px 20px;background:#edf0e6;position:relative;overflow:hidden}.welcome-kicker{font:9px/1.6 sans-serif;letter-spacing:2.3px;color:#8e9a83}.welcome-art h1{font:500 36px/1.65 'Noto Serif TC',serif;letter-spacing:3px;margin:17px 0 10px}.welcome-art p{font-size:12px;line-height:2;color:#7c8974}.welcome-dog{height:280px;position:relative;display:grid;place-items:center}.welcome-dog img{position:relative;object-fit:contain;max-width:100%;height:280px;mix-blend-mode:multiply;z-index:1}.welcome-halo{position:absolute;inset:15px 45px 0;border-radius:48% 48% 0 0;background:linear-gradient(#e2e7d7,#f4f3e8)}.welcome-dog>span{position:absolute;bottom:5px;right:0;font:8px sans-serif;letter-spacing:1.5px;color:#8d9b81;z-index:2}.welcome-art-bottom{display:flex;justify-content:space-between;border-top:1px solid #dce2d4;margin-top:14px;padding-top:15px;font-size:9px;color:#8c9882}.welcome-content{padding:48px 48px 25px;display:flex;flex-direction:column;justify-content:center}.welcome-content h2{font:500 27px/1.7 'Noto Serif TC',serif;margin:12px 0;color:#3d4c3b;letter-spacing:1px}.welcome-copy{font-size:12px;color:#8b9286;line-height:1.95;margin:0 0 24px}.welcome-content form>label,.welcome-content legend{display:block;font-size:12px;font-weight:500;margin-bottom:9px}.welcome-content input:not([type=radio]){font:14px inherit;border:1px solid #dce1d5;background:#fcfcf9;border-radius:7px;min-height:48px;width:100%;padding:12px 14px;color:#354530;outline-offset:3px}.welcome-content input:focus{outline:2px solid #9aab8d}.welcome-primary,.welcome-secondary{width:100%;min-height:49px;border:0;border-radius:7px;margin-top:18px;background:#536b4c;color:white;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;font-size:13px}.welcome-primary:hover{background:#425a3c}.welcome-primary:disabled{opacity:.5;cursor:wait}.welcome-secondary{background:#edf1e7;color:#526b4b;justify-content:center;margin-top:10px}.welcome-text{border:0;background:none;color:#778870;text-decoration:underline;text-underline-offset:3px;font-size:11px;padding:15px 7px 0}.welcome-hint,.welcome-privacy{font-size:10px;color:#949b8e;line-height:1.8}.welcome-privacy{margin-top:24px;border-top:1px solid #eceee5;padding-top:17px}.welcome-foot{font:8px/2 sans-serif;letter-spacing:2px;color:#b2b9ac;margin:26px 0 0}#welcome-message{font-size:12px;line-height:1.8;color:#a15340;margin:14px 0 0;min-height:0}.welcome-bottom{display:flex;justify-content:space-between;color:#9ba491;font-size:10px;margin-top:25px}.breed-grid{border:0;padding:0;margin:0 0 24px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.breed-grid legend{padding:0;margin-bottom:12px}.breed-card{position:relative;border:1px solid #e1e5d9;border-radius:12px;padding:12px;text-align:center;background:#fafbf7;cursor:pointer}.breed-card:has(input:checked){border-color:#617d54;background:#edf3e7;box-shadow:0 0 0 1px #617d54}.breed-card input{position:absolute;top:10px;left:10px;accent-color:#536b4c}.breed-card img{height:130px;width:100%;object-fit:contain;mix-blend-mode:multiply}.breed-card b{display:block;font-size:13px}.breed-card span{display:block;font-size:10px;color:#8a9682;line-height:1.7;margin-top:7px}.room-choices{border:0;padding:0;margin:22px 0 0;display:flex;gap:12px}.room-choices label{flex:1;font-size:11px;text-align:center;cursor:pointer}.room-choices input{accent-color:#536b4c}.room-swatch{height:60px;display:grid;place-items:center;border-radius:9px;font-size:24px;margin:7px 0}.sunlight{background:#e5d8ba;color:#a88a50}.forest{background:#d7e2cc;color:#638356}.cream{background:#f1e9da;color:#b8a889}.room-choices input:checked~.room-swatch{outline:2px solid #647d59}.room-preview{border:1px solid #e6e5dc;background:linear-gradient(#f1eee3 70%,#ddcfb8 70%);border-radius:10px;padding:20px;margin-top:24px;text-align:center}.room-preview>span{font-size:35px;display:block;color:#a69b80}.room-preview b{display:block;font-size:14px;margin:8px 0}.room-preview small{font-size:10px;color:#8f947e}.room-preview.forest{background:linear-gradient(#e3ecd9 70%,#bcc9a6 70%)}.room-preview.cream{background:linear-gradient(#faf4e9 70%,#e9ddca 70%)}.ready-paw{font-size:42px;margin-top:26px}#member-switch{background:none;border:1px solid #dce1d5;border-radius:6px;padding:7px 10px;color:#6c8061;font-size:11px}.member-menu{display:flex;align-items:center;gap:8px;font-size:10px;color:#7c8d73}.member-menu button{background:none;border:1px solid #dce2d5;border-radius:5px;padding:5px 7px;font-size:10px}body[data-room-style=forest] #room{background-color:#e8efdf}body[data-room-style=cream] #room{background-color:#fcf2e2}#member-sync{font-size:10px;color:#829477}.member-walk{padding:7px 10px;margin-left:12px;background:#edf2e8;border:1px solid #d4dfca;border-radius:6px;color:#526c48;font-size:11px}
@media(min-width:1450px){.welcome-layout{min-height:650px}.welcome-art{padding-top:50px}.welcome-dog{height:320px}.welcome-dog img{height:320px}}
@media(max-width:900px){#paw-welcome{padding:23px 24px}.welcome-tag{display:none}.welcome-steps{gap:24px}.welcome-art{padding:32px 26px 20px}.welcome-art h1{font-size:29px}.welcome-content{padding:32px 28px}.welcome-content h2{font-size:24px}.breed-card{padding:8px}.breed-card img{height:105px}.welcome-dog img{height:240px}}
@media(max-width:620px){#paw-welcome{padding:18px 17px 25px}.welcome-brand{font-size:27px;gap:8px}.welcome-brand b{font-size:20px}.welcome-steps{gap:0;justify-content:space-between;margin:20px 0;padding:14px 0}.welcome-steps li{font-size:9px;gap:4px;flex-direction:column}.welcome-steps i{width:24px;height:24px;font-size:9px}.welcome-layout{grid-template-columns:1fr;border-radius:14px;min-height:0}.welcome-art{padding:21px 24px 18px;min-height:185px}.welcome-art h1{font-size:23px;margin:8px 0;line-height:1.6;letter-spacing:1px}.welcome-art>.welcome-kicker{font-size:7px;letter-spacing:1.2px}.welcome-art p{font-size:10px;margin:0;line-height:1.8;max-width:58%}.welcome-dog{position:absolute;width:43%;height:170px;right:6px;bottom:8px}.welcome-dog img{height:160px;width:100%}.welcome-dog>span{display:none}.welcome-halo{inset:20px 6px 0}.welcome-art-bottom{display:none}.welcome-content{padding:29px 24px 22px}.welcome-content h2{font-size:24px}.welcome-copy{font-size:12px;margin-bottom:20px}.welcome-bottom{font-size:8px;gap:6px}.welcome-bottom span{white-space:nowrap}.breed-card img{height:130px}.welcome-privacy{margin-top:19px}.welcome-foot{font-size:7px;margin-top:17px}.member-menu{gap:4px}.member-menu>span{display:none}}

.pet-lock-warning,.pet-selection-note{font-size:12px;line-height:1.8;color:#687b5d;background:#f0f4eb;padding:12px;border-radius:8px}.pet-selection-note{margin:14px 18px}.member-locked .home-companion-label,.member-locked .coat-picker,.member-locked [data-coatselect]{display:none!important}
.visitors-card{padding:20px;margin:16px;border:1px solid #dfe5d7;border-radius:12px;background:#fbfcf8}.visitors-card h2{font-size:17px}.visitors-card p{font-size:12px;color:#78856e}.visitors-card button,.visitor-name-form input,.visit-dialog button,.visit-dialog input{font:inherit;padding:9px 12px;border:1px solid #d5dfcb;border-radius:8px;background:white;color:#526947}.visitor-name-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;font-size:12px}.visitor-name-form label{display:grid;gap:7px}.visitors-list{list-style:none;padding:0;font-size:13px}.visitors-list li{padding:12px 0;border-bottom:1px solid #e4e9df;line-height:1.8}.visitors-list time{font-size:12px;color:#7b8771}.visit-dialog{width:min(560px,92vw);border:1px solid #d7e1ce;border-radius:18px;padding:24px;color:#46573f}.visit-dialog::backdrop{background:#24341e88}.visit-close{float:right}.visit-dialog label{display:grid;gap:8px;margin:20px 0}.visit-room{height:350px;border-radius:14px;background:linear-gradient(#f1eee3 65%,#dccbad 65%)}.visit-room model-viewer{width:100%;height:100%}.visit-room[data-room-style=forest]{background:linear-gradient(#e4ecd9 65%,#b6c7a3 65%)}.visit-room[data-room-style=cream]{background:linear-gradient(#faf4e8 65%,#e7dac4 65%)}@media(max-width:620px){.visitors-card{margin:12px;padding:14px}.visitors-card .sectionhead{flex-wrap:wrap;gap:10px}.visitors-card .sectionhead button{width:100%}}

.audio-controls{display:flex;gap:6px;flex-wrap:wrap}.audio-controls button{font:inherit;font-size:12px;border:0;border-radius:0;padding:7px 11px;background:transparent;color:#53684a;white-space:nowrap}.audio-controls button[aria-pressed=false]{background:transparent;color:#777}.audio-status{font-size:11px;color:#7b7058}.topright{flex-wrap:wrap}@media(max-width:600px){.audio-controls button{padding:7px 9px}.topright{gap:7px}}

.invite-form{display:grid;gap:14px}.invite-form label{display:grid;gap:7px}.invite-form input,.short-link{box-sizing:border-box;width:100%;padding:11px;border:1px solid #d5deca;border-radius:9px}.invite-status{font-size:13px}.public-house{max-width:1100px;margin:35px auto;padding:20px}.public-house h1{font-size:30px}.public-house .room{height:520px;position:relative;overflow:hidden}.public-house .home-world{position:absolute;inset:0}.public-house .roomhint{z-index:5}.public-house a{display:inline-block;padding:12px 18px;border-radius:12px;background:#536a48;color:white;text-decoration:none;margin:15px 10px 0 0}.public-house p{line-height:1.8}.public-house .home-stage{position:absolute;inset:0}.public-house .home-view-controls{margin-top:12px}@media(max-width:600px){.public-house{margin:10px auto;padding:12px}.public-house .room{height:430px}.public-house h1{font-size:24px}}
.admin-panel{padding:22px;background:#fffefb;border:1px solid #dce3d4;border-radius:16px}.admin-banner{display:flex;justify-content:space-between;gap:16px;align-items:center}.admin-banner h2{font-size:24px}.admin-banner p,.admin-status{font-size:13px;color:#6d7d62}.admin-role{background:#ecf1e5;padding:10px;border-radius:10px;white-space:nowrap}.admin-search{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:20px 0}.admin-search label{display:grid;gap:6px}.admin-panel input:not([type=checkbox]),.admin-panel select,.admin-panel button,.admin-open{font:inherit;font-size:13px;padding:9px;border:1px solid #d3ddc8;border-radius:9px;background:#fafcf6;color:#526947}.admin-table-scroll{overflow:auto}.admin-panel table{width:100%;border-collapse:collapse;font-size:13px}.admin-panel td,.admin-panel th{text-align:left;padding:14px 10px;border-bottom:1px solid #e5eadf;white-space:pre-line;min-width:110px}.admin-panel th{background:#f3f6ec}.admin-pages{display:flex;justify-content:space-between;margin:18px 0}.admin-audit{font-size:13px;line-height:1.8}.admin-audit li{padding:8px 0}.admin-testing .pet-selection-note{background:#fff4dc}.admin-testing .home-companion-label{display:block}.admin-open{background:#edf2e5;font-size:11px}@media(max-width:600px){.admin-panel{padding:12px}.admin-banner{align-items:start}.admin-role{font-size:11px}.admin-banner h2{font-size:20px}}
/* A translucent, non-modal workbench directly over the live room. */
#home .petlabel .decor-open{pointer-events:auto;margin-left:9px;padding:5px 10px;min-height:30px;border:1px solid #cbd5be;border-radius:16px;background:#eef2e4;color:#506747;font:inherit;font-size:11px;vertical-align:middle;touch-action:manipulation}.decor-open[aria-expanded=true]{background:#dce8cd!important}
#room .decor-window{position:absolute;z-index:12;right:12px;bottom:12px;width:min(350px,calc(100% - 24px));max-height:calc(100% - 70px);display:flex;flex-direction:column;border:1px solid #ffffffb3;border-radius:16px;background:rgba(255,253,243,0.5);box-shadow:0 8px 28px #463c2426;color:#34452f;overflow:hidden;isolation:isolate}
.decor-window .decor-heading{display:flex;flex:none;gap:6px;align-items:center;height:auto;min-height:44px;padding:7px 9px;border-bottom:1px solid #7d8f6b33;background:transparent;font-size:13px;position:static}.decor-handle{display:flex;gap:6px;align-items:center;flex:1;min-width:0;cursor:move;touch-action:none;user-select:none}.decor-handle small{font-size:10px;font-weight:400;color:#53664a}.decor-window button,.decor-window select{font:inherit;font-size:12px;color:#34482e;border:1px solid #b9c9a9;border-radius:8px;background:rgba(255,255,247,.72);min-height:34px;padding:6px 8px}.decor-window button:hover{background:#edf3e1}.decor-window button:disabled{opacity:.45;cursor:default}.decor-window .decor-heading button{min-width:32px;min-height:32px;padding:3px;font-size:20px;line-height:1}.decor-body{padding:0 10px 9px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:0}.decor-body p{font-size:11px;line-height:1.5;margin:7px 0}.decor-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.decor-window label{display:flex;flex-direction:column;gap:4px;font-size:10px;min-width:0}.decor-window select{width:100%;min-width:0}.decor-window .decor-toolbar{margin:8px 0;gap:5px;display:flex;flex-wrap:wrap}.decor-add{align-items:end}.decor-add>button{flex:1}.decor-add>label{flex:1.3}.decor-window .decor-position{display:grid;grid-template-columns:repeat(4,1fr) 1.4fr 1.4fr}.decor-window .decor-position button{padding:5px 2px}.decor-commit button{flex:1}.decor-window .decor-save{background:#dce8cbe6;font-weight:600}.decor-status{min-height:17px}.decor-window.decor-collapsed .decor-body{display:none}.decor-window.decor-collapsed{width:auto;min-width:220px}
body[data-room-style=forest] #room{background:linear-gradient(180deg,#e2ead7 0%,#eaf0e1 66%,#bfcaab 66.3%,#d4ddc2 100%)}body[data-room-style=cream] #room{background:linear-gradient(180deg,#faf3e5 0%,#fff8ed 66%,#e6d8bf 66.3%,#f1e7d4 100%)}
@media(max-width:850px){#home .petlabel{max-width:calc(100% - 100px);padding:5px 8px}#home .petlabel .decor-open{margin-left:7px;min-height:34px;padding:5px 10px}#room .decor-window{right:8px;bottom:8px;width:min(340px,calc(100% - 16px));max-height:calc(100% - 66px)}.decor-window .decor-heading{min-height:40px;padding:4px 8px}.decor-window button,.decor-window select{min-height:36px}.decor-body{padding:0 8px 7px}}

#room[data-background]:not([data-background=""]){background-image:var(--room-background);background-size:cover;background-position:center;background-repeat:no-repeat}#room[data-background]:not([data-background=""])>.window,#room[data-background]:not([data-background=""])>.sunbeam,#room[data-background]:not([data-background=""])>.wall-art,#room[data-background]:not([data-background=""])>.plant,#room[data-background]:not([data-background=""])>.bench,#room[data-background]:not([data-background=""])>.rug,#room[data-background]:not([data-background=""])>.bowl{display:none}#room .decor-position{grid-template-columns:repeat(4,1fr)}.decor-angle{align-self:center;text-align:center;font-size:12px}.decor-fields>label:first-child{grid-column:1/-1}

:is(#room,.guest-room) .wall-frame{position:absolute;z-index:4;padding:8px;border:4px solid #a78055;border-radius:2px;background:#d7b48a;box-shadow:3px 5px 8px #34241744;touch-action:none;transform-origin:center;cursor:move}:is(#room,.guest-room) .wall-frame img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}:is(#room,.guest-room) .wall-frame:disabled{opacity:1;cursor:default}:is(#room,.guest-room) .wall-frame[data-style=cream]{border-color:#e8dfcf;background:#fff9ec}:is(#room,.guest-room) .wall-frame[data-style=sage]{border-color:#66785c;background:#c8d3b9}:is(#room,.guest-room) .wall-frame[data-selected=true]{outline:3px solid #799860;outline-offset:3px}

#room .decor-add{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}#room .decor-add>button{white-space:nowrap;font-size:11px;padding:7px 3px}#room .decor-add>label{grid-column:1/-1}

#room .decor-delete-dialog{position:absolute;inset:0;z-index:30;display:grid;place-items:center;background:#26311d66;padding:18px}#room .decor-delete-dialog>div{max-width:330px;padding:23px;border-radius:16px;background:#fffdf5;box-shadow:0 12px 36px #0003;color:#34482e}#room .decor-delete-dialog h3{font-size:18px;margin:0 0 12px}#room .decor-delete-dialog p{font-size:13px;line-height:1.7}#room .decor-delete-dialog button{min-height:44px;padding:9px 15px;margin:4px;border:1px solid #b9c9a9;border-radius:9px;background:#f0f4e9;color:#34482e}#room .decor-delete-confirm{background:#e8c6b5!important}

/* Returning members already have a companion and home; keep their next step visible. */
#paw-welcome.returning-member .welcome-art,#paw-welcome.returning-member .welcome-steps{display:none}
#paw-welcome.returning-member .welcome-layout{grid-template-columns:1fr;min-height:0;max-width:620px;margin:26px auto 0}
#paw-welcome.returning-member .welcome-content{padding:32px}
#paw-welcome.returning-member .ready-paw{margin-top:16px}
@media(max-width:620px){#paw-welcome.returning-member .welcome-layout{margin-top:22px}#paw-welcome.returning-member .welcome-content{padding:26px 24px}#paw-welcome.returning-member .welcome-content h2{font-size:26px}}

/* Compact, independent audio toggles; the red cross stays vivid when muted. */
header .audio-controls{gap:4px;flex-wrap:nowrap}
header .audio-controls button{position:relative;display:grid;place-items:center;flex:0 0 36px;width:36px;min-width:36px;height:44px;min-height:44px;padding:7px;border-radius:0;background:transparent;color:#426333;border:0;box-shadow:none;touch-action:manipulation}
header .audio-controls button svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
header .audio-controls button[aria-pressed=false]{background:transparent;color:#70756c;border:0;box-shadow:none}
header .audio-controls button[aria-pressed=false] svg{opacity:.38}
header .audio-controls button[aria-pressed=false]::after{content:"\00d7";position:absolute;right:0;top:-2px;color:#d83333;font:700 19px/20px Arial,sans-serif;text-shadow:0 0 2px #fff,0 0 2px #fff;pointer-events:none}
header .audio-controls button:focus-visible{outline:3px solid #789d56;outline-offset:2px}

#asset-loading{position:fixed;z-index:950;left:50%;bottom:calc(90px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(300px,calc(100vw - 48px));padding:15px 18px;border:1px solid #dce6d0;border-radius:18px;background:#fffef8f5;box-shadow:0 8px 30px #35482d22;color:#536b48;font-size:13px;pointer-events:none}#asset-loading[hidden]{display:none}#asset-loading>div{display:flex;justify-content:space-between;gap:12px}#asset-loading progress{display:block;width:100%;height:9px;margin:10px 0 7px;accent-color:#759b57}#asset-loading small{font-size:11px;color:#7b8970}#asset-loading button{pointer-events:auto;display:block;margin-top:9px;border:1px solid #d4dec8;border-radius:10px;background:#f1f6e9;padding:8px;color:inherit}#asset-loading button[hidden]{display:none}.visitors-lazy{padding:20px;color:#809173;font-size:13px}

/* The account controls share the phone's More menu, never the zero-height header. */
@media(max-width:850px){
 header .member-menu{display:none}
 .mobile-more>div{width:min(280px,calc(100vw - 24px));max-height:calc(100dvh - 80px - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
 .mobile-more .member-menu{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:7px 4px 12px;margin-bottom:5px;border-bottom:1px solid #e1e7d8;font-size:12px}
 .mobile-more .member-menu>span{display:block;overflow-wrap:anywhere;line-height:1.6;color:#6e7e64}
 .mobile-more .member-menu #member-sync{font-size:11px;line-height:1.6}
 .mobile-more .member-menu button{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cfdbc4;border-radius:10px;background:#edf2e5;font-size:13px;text-align:left}
}

:is(#room,.guest-room) .wall-frame-background{position:absolute;inset:0;z-index:2;pointer-events:none}:is(#room,.guest-room) .wall-frame-background .wall-frame{z-index:auto;pointer-events:none;box-sizing:border-box}:is(#room,.guest-room) .wall-frame-handles{position:absolute;inset:0;z-index:4;pointer-events:none}:is(#room,.guest-room) .wall-frame-handle{position:absolute;box-sizing:border-box;padding:0;border:0;background:transparent;box-shadow:none;border-radius:2px;pointer-events:auto;touch-action:none;cursor:move}:is(#room,.guest-room) .wall-frame-handle[data-selected=true]{outline:3px solid #799860;outline-offset:3px}:is(#room,.guest-room) .wall-frame-handle[hidden]{display:none}

.object-viewer{width:min(720px,calc(100vw - 24px));max-height:92dvh;box-sizing:border-box;border:1px solid #d7dfc8;border-radius:22px;padding:16px;background:#faf7ed;color:#49613d}.object-viewer::backdrop{background:#202e2377}.object-viewer header{display:flex;justify-content:space-between;align-items:center}.object-stage{height:min(55dvh,480px);min-height:220px;background:#f0eddf;border-radius:16px;overflow:hidden}.object-stage canvas{display:block;touch-action:none}.object-controls{display:flex;flex-wrap:wrap;gap:6px}.object-viewer button{min-height:44px;border:1px solid #c3d1b7;background:#edf2e3;border-radius:12px;padding:8px 14px;color:inherit;font:inherit}.object-viewer p{font-size:12px;line-height:1.8}

/* Wall art is clipped at the wall/floor boundary even through transparent canvas pixels. */
:is(#room,.guest-room) .wall-frame-background,:is(#room,.guest-room) .wall-frame-handles{clip-path:inset(0 0 34% 0)}

.room-music-volume{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#6a7e5d;margin:8px 0}.room-music-volume input{max-width:180px;accent-color:#6a8554}.visitors-list a{color:#526f41;text-decoration:underline;text-underline-offset:4px;display:inline-block;padding:8px 0;font-weight:700}.visitors-list .visit-unavailable{font-size:11px;color:#939b8a}

/* Put returning members' greeting beside a small paw, close to the header. */
#paw-welcome.returning-member .welcome-layout{margin-top:12px}
#paw-welcome.returning-member .welcome-content{padding:18px 20px}
#paw-welcome.returning-member #welcome-ready{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:8px;align-items:center}
#paw-welcome.returning-member #welcome-ready>.welcome-kicker,#paw-welcome.returning-member .welcome-foot,#paw-welcome.returning-member #welcome-message:empty{display:none}
#paw-welcome.returning-member .ready-paw{grid-column:1;grid-row:1;font-size:24px;line-height:1;margin:0;align-self:start}
#paw-welcome.returning-member #ready-title{grid-column:2;grid-row:1;font-size:18px;line-height:1.45;letter-spacing:.3px;margin:0;overflow-wrap:anywhere}
#paw-welcome.returning-member #ready-description{grid-column:1/-1;font-size:12px;line-height:1.6;margin:8px 0 4px}
#paw-welcome.returning-member #enter-home,#paw-welcome.returning-member #enter-walk{grid-column:1/-1;min-height:44px;padding:10px 14px;margin-top:8px}
#paw-welcome.returning-member .welcome-bottom{margin-top:14px}

/* Put the home itself immediately under the app header, on every screen. */
body.home-active .pageheading{display:none!important}
#home .roomtop>.roomtag{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
#home .room-title{display:block;overflow-wrap:anywhere}
#home .room-local-context{display:flex;flex-wrap:wrap;gap:2px 8px;color:#8b9682;font-size:10px;font-weight:400;line-height:1.45;letter-spacing:0}
#home .room-local-place:before{content:"· ";color:#a1aa95}


#welcome-ready .door-audio{grid-column:1/-1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;padding:12px 14px;border-radius:12px;background:#f0f4e9;color:#526c44;font-size:14px}#welcome-ready .door-audio-status{flex:1;min-width:160px;line-height:1.6}#welcome-ready .door-audio-enable{white-space:nowrap;flex:none;width:auto;min-height:44px;margin:0;padding:10px 16px;border:1px solid #9bad89;border-radius:9px;background:#fffdf5;color:#405a34;font:inherit;cursor:pointer}.door-audio-enable[hidden]{display:none!important}

/* Time-of-day shading is behind pets and controls; 3D lighting follows the same clock. */
:is(#room,.guest-room)::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:rgba(var(--room-shade-r,16),var(--room-shade-g,26),var(--room-shade-b,45),.8);opacity:var(--room-night,0);transition:opacity 1.2s linear,background-color 1.2s linear}:is(#room,.guest-room)>.sunbeam{opacity:calc(1 - var(--room-night,0))}:is(#room,.guest-room)[data-time-period=night]::after{opacity:.12}:is(#room,.guest-room)[data-time-period=night]>.window{filter:brightness(.35) saturate(.65)}

/* Date/time and icon weather live above the room; details stay in tooltips. */
main>header .header-local{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
main>header .room-local-context{display:flex;align-items:center;gap:7px;color:#7d8b70;font-size:11px;line-height:1.4}
.room-local-time{white-space:nowrap;font-variant-numeric:tabular-nums}
.local-weather.home-weather,.local-weather.map-weather{display:grid;place-items:center;width:36px;min-width:36px;height:36px;min-height:36px;padding:6px;flex:none}
.local-weather svg{display:block;width:24px;height:24px;pointer-events:none}
.room-local-context .weather-credit{display:grid;place-items:center;width:24px;height:32px;color:inherit;opacity:.7}
.weather-credit svg{display:block;width:15px;height:15px}
@media(max-width:850px){body.home-active main>header:has(.header-local),body.walk-active main>header:has(.header-local){height:auto;min-height:36px;margin-bottom:6px;justify-content:flex-start}main>header .header-local{max-width:100%}main>header .room-local-context{font-size:12px}body.walk-map-focus main>header:has(.header-local){height:0;min-height:0;margin:0}body.walk-map-focus .header-local{display:none}}

/* Avoid a straight header divider protruding past the room card corners. */
body.home-active main>header{border-bottom:0}

/* Keep room actions aligned without separate mobile rows. */
#home .roomtop{grid-template-columns:minmax(0,1fr) auto auto auto auto;align-items:center}
#home .roomtop>.roomtag,#home .roomtop>.roomtag:has(.room-title){display:flex;grid-column:1;grid-row:1}
#home .roomtop>.petlabel{grid-column:2;grid-row:1;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;margin:0}
#home .roomtop>.home-companion-label{grid-column:3;grid-row:1}
#home .roomtop>.member-garden{grid-column:4;grid-row:1;margin:0;justify-self:end}
#home .roomtop>.member-walk{grid-column:5;grid-row:1;margin:0;justify-self:end}
@media(max-width:600px){
 #home .roomtop{grid-template-columns:minmax(0,1fr) auto 44px 44px;gap:6px;padding:12px}
 #home .roomtop>.roomtag,#home .roomtop>.roomtag:has(.room-title){grid-column:1;grid-row:1}
 #home .roomtop>.petlabel{grid-column:2;grid-row:1;justify-self:end}
 #home .roomtop>.member-garden{grid-column:3;grid-row:1;width:44px;height:44px;min-height:44px;padding:8px;border-radius:14px}
 #home .roomtop>.member-walk{grid-column:4;grid-row:1;width:44px;height:44px;min-height:44px;padding:8px;border-radius:14px}
 #home .roomtop>.petlabel button{height:48px;min-height:48px;margin:0;white-space:nowrap}
 #home .roomtop>.home-companion-label{grid-column:1/-1;grid-row:2;justify-self:end}
}

#home .roomtop>.petlabel :is(.decor-open,.coin-shop-open),#home .roomtop>:is(.member-garden,.member-walk){display:grid;place-items:center;box-sizing:border-box;width:48px;height:48px;min-height:48px;padding:10px;margin:0;border:1px solid #9baa88;border-radius:16px;background:#edf1e4;color:#526c44;flex:none}
#home .roomtop :is(.decor-open,.coin-shop-open,.member-garden,.member-walk) svg{display:block;width:26px;height:26px;pointer-events:none}

#home .roomtop>button.member-walk,#home .roomtop>button.member-garden{width:48px;min-width:48px;height:48px;min-height:48px}

#home .roomtag>.room-local-context{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:10px;line-height:1.3;color:inherit;font-weight:400}
#home .roomtag .local-weather.home-weather{width:24px;min-width:24px;height:24px;min-height:24px;padding:2px}
#home .roomtag .local-weather svg{width:20px;height:20px}
#home .roomtag .weather-credit{display:grid;place-items:center;width:18px;height:24px;color:inherit;opacity:.7}
@media(max-width:850px){body.home-active main>header:not(:has(.header-local)){display:none}}

/* Room weather moved into the card; the mobile header no longer needs a row. */
@media(max-width:850px){body.home-active main>header,body.home-active main>header:has(.header-local){display:block;height:0;min-height:0;margin:0;padding:0;border:0}body.home-active main>header .header-local{display:none}}

@media(max-width:850px){body.walk-active main>header,body.walk-active main>header:has(.header-local){display:block;height:0;min-height:0;margin:0;padding:0;border:0}body.walk-active main>header .header-local{display:none}}

.map-location>.map-expand{pointer-events:auto;min-height:44px;padding:9px 14px;border:1px solid #c5d1b8;border-radius:22px;background:#f5f7ee;color:#46643b;box-shadow:0 3px 12px #31462c20;font-size:12px}

/* Keep the walking map clear of the redundant introductory rows. */
#walk .mapcard>.mapbar,#walk .mapcard>.world-map-legend{display:none}

@media(max-width:850px){body.walk-active main{padding-top:58px}body.walk-active .walkgrid{margin-top:0}body.walk-active .mapcard{border-top-left-radius:0;border-top-right-radius:0}}

/* Direct object editing: the phone room becomes a dedicated full-screen canvas. */
.decor-window .decor-commit{flex:none;margin:0;padding:8px 10px;border-top:1px solid #b9c9a9;background:#fffdf4f5;gap:8px}
.decor-window .decor-body{background:#fffdf4ed}.decor-window .decor-status:empty{display:none}
@media(max-width:850px){
 body.decor-editing{overflow:hidden}
 body.decor-editing #room{position:fixed!important;inset:0!important;z-index:1000;width:100%!important;height:100dvh!important;max-height:none!important;margin:0!important;border-radius:0;box-sizing:border-box}
 body.decor-editing #room .home-affection,body.decor-editing #room .roomhint{display:none}
 body.decor-editing #room .decor-window{left:8px!important;right:8px!important;top:auto!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;min-width:0;max-height:min(43dvh,340px);background:#fffdf4f5}
 body.decor-editing .decor-window .decor-heading{min-height:44px;padding:4px 8px}
 body.decor-editing .decor-window .decor-heading button{width:40px;min-height:40px}
 body.decor-editing .decor-window .decor-handle{cursor:default}
 body.decor-editing .decor-window .decor-handle small{display:none}
 body.decor-editing .decor-window .decor-body{max-height:24dvh;padding:0 10px 8px;-webkit-overflow-scrolling:touch}
 body.decor-editing .decor-window .decor-commit{padding:7px 10px}
 body.decor-editing .decor-window .decor-commit button{min-height:40px}
}

@media(max-width:850px) and (orientation:landscape){
 body.decor-editing #room .decor-window{left:auto!important;right:8px!important;top:8px!important;bottom:8px!important;width:min(300px,42vw)!important;max-height:calc(100dvh - 16px)}
 body.decor-editing .decor-window .decor-body{max-height:none;flex:1}
}

/* A quiet room-only view; the exit icon appears briefly and on a scene tap. */
#room>.room-expand{position:absolute;left:12px;top:12px;z-index:40;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #a0ae9480;border-radius:12px;background:#fffdf3df!important;color:#405937!important;touch-action:manipulation;cursor:pointer}
#room>.room-expand:focus-visible{outline:2px solid #9aaa7c;outline-offset:2px}
/* Keep the compact clock, weather and source link alongside the expand button. */
#home #room>.room-local-context{position:absolute;left:64px;top:12px;z-index:40;display:flex;align-items:center;gap:3px;flex-wrap:nowrap;box-sizing:border-box;max-width:calc(100% - 158px);min-height:44px;padding:0;border:0;background:transparent!important;color:#405937!important;text-shadow:0 1px 3px #fffdf3,0 0 4px #fffdf3;font-size:10px;line-height:1.2;white-space:nowrap}
#home #room>.room-local-context .local-weather.home-weather{width:28px;min-width:28px;height:36px;min-height:36px;padding:3px;background:transparent!important;color:inherit!important;border:0}
#home #room>.room-local-context .local-weather svg{width:21px;height:21px}
#home #room>.room-local-context .weather-credit{width:18px;height:36px;opacity:.85}
#home #room.room-stage-expanded>.room-local-context{display:none!important}

.room-expand svg,.room-focus-exit svg{display:block;width:24px;height:24px;pointer-events:none}
body.room-focus{overflow:hidden;overscroll-behavior:none}
body.room-focus>*:not(#room):not(dialog[open]):not(.decor-floating-viewport){display:none!important}
#room.room-stage-expanded{position:fixed!important;inset:auto!important;left:var(--room-focus-left,0px)!important;top:var(--room-focus-top,0px)!important;width:var(--room-focus-width,100vw)!important;height:var(--room-focus-height,100dvh)!important;max-height:none!important;z-index:2100;margin:0!important;border:0;border-radius:0;box-sizing:border-box;touch-action:none;outline:none}
#room.room-stage-expanded>:where(:not(.window):not(.sunbeam):not(.wall-art):not(.plant):not(.bench):not(.rug):not(.bowl):not(#pet):not(.home-world):not(.wall-frame-background):not(.wall-frame-handles):not(.room-save-feedback):not(.room-focus-exit):not(.decor-object-controls)){display:none!important}
#room.room-stage-expanded canvas.home-world{touch-action:none!important}
body:not(.decor-editing) #room.room-stage-expanded>.wall-frame-handles{display:none!important}
#room .room-focus-exit{position:absolute;left:max(12px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top));z-index:40;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #a0ae9480;border-radius:50%;background:#fffdf3bf;color:#405937;opacity:0;pointer-events:none;transition:opacity .25s;touch-action:manipulation;cursor:pointer}
#room .room-focus-exit[hidden]{display:none}
#room.room-focus-controls .room-focus-exit,#room .room-focus-exit:focus-visible{opacity:1;pointer-events:auto}
@media(prefers-reduced-motion:reduce){#room .room-focus-exit{transition:none}}

/* Keep the editor in the same live room when enlarging it on any screen. */
.decor-fullscreen svg{display:block;width:24px;height:24px;pointer-events:none}
.decor-window .decor-heading .decor-fullscreen{display:grid;place-items:center;min-width:44px;min-height:44px;touch-action:manipulation}
body.room-focus.decor-editing>dialog[open]{display:block!important}
body.decor-editing #room.room-stage-expanded>.decor-window{display:flex!important;left:auto!important;right:8px!important;top:8px!important;bottom:8px!important;width:320px!important;max-height:calc(100% - 16px);background:#fffdf4f5}
body.decor-editing #room.room-stage-expanded>.decor-delete-dialog:not([hidden]){display:grid!important}
body.decor-editing #room.room-stage-expanded>.room-focus-exit{display:none!important}
body.decor-editing #room.room-stage-expanded .home-affection,body.decor-editing #room.room-stage-expanded .roomhint{display:none!important}
body.decor-editing #room.room-stage-expanded .decor-body{flex:1;max-height:none}
body.decor-editing #room.room-stage-expanded .decor-collapsed{bottom:auto!important}
body.decor-editing #room.room-stage-expanded .decor-heading button,body.decor-editing #room.room-stage-expanded .decor-commit button{min-height:44px}
@media(max-width:850px) and (orientation:portrait){body.decor-editing #room.room-stage-expanded>.decor-window{left:8px!important;top:auto!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;max-height:min(43dvh,340px)}body.decor-editing #room.room-stage-expanded .decor-body{max-height:24dvh}}
@media(max-width:850px) and (orientation:landscape){body.decor-editing #room.room-stage-expanded>.decor-window{width:min(300px,42vw)!important}}

body.decor-editing #room.room-stage-expanded>.wall-frame-handles{display:block!important}

/* Icon-only mouse tools and a movable fullscreen palette. */
.decor-transform-tools{display:none;gap:8px;margin:8px 0}.decor-transform-tools svg{display:block;width:22px;height:22px;pointer-events:none}.decor-transform-tools button{min-width:44px;min-height:44px;touch-action:manipulation}.decor-transform-tools [aria-pressed=true]{background:#dce8cb;border-color:#789060;box-shadow:inset 0 0 0 1px #789060}
@media(any-pointer:fine){.decor-transform-tools{display:flex}}
body.decor-editing #room .decor-window.decor-floating{left:var(--decor-float-x,8px)!important;top:var(--decor-float-y,8px)!important;right:auto!important;bottom:auto!important;width:min(320px,calc(100% - 16px))!important;max-height:min(560px,calc(100% - 16px))!important}
body.decor-editing #room .decor-floating .decor-handle{cursor:grab;touch-action:none}body.decor-editing #room .decor-floating .decor-handle:active{cursor:grabbing}

/* A compact public room header leaves the scene the available phone space. */
.public-house .public-header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:static;padding:0;margin:0 0 8px;background:transparent;border:0;min-height:48px;height:auto}
.public-house .public-nav{display:flex;align-items:center;gap:4px;flex:none}
.public-house .public-header a{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;margin:0;padding:0 4px;background:transparent;color:#40563e;border-radius:10px}
.public-house .public-brand{font-size:19px;white-space:nowrap}.public-house .public-brand span{font-size:27px}
.public-house .public-home{min-width:44px}.public-house .public-home svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.public-house .public-header h1{font-size:20px;line-height:1.35;text-align:right;overflow-wrap:anywhere;min-width:0;margin:0;color:#344832}
.public-house .public-owner{font-size:14px;margin:0 0 12px;color:#506249}.public-house .public-status:empty{display:none}
.guest-room{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(#e8e4d8 65%,#dccbad 65%)}
.guest-room[data-background]:not([data-background=""]){background-image:var(--room-background);background-size:cover;background-position:center}
.guest-room .home-world{position:absolute;inset:0;z-index:3;touch-action:pan-y}.guest-room .guest-stage{position:absolute;inset:0;pointer-events:none}
.visit-dialog .visit-room.guest-room{width:100%;min-height:350px;margin-top:14px}
@media(max-width:600px){.public-house .public-header{gap:6px}.public-house .public-brand{font-size:16px}.public-house .public-brand span{font-size:23px}.public-house .public-header h1{font-size:15px;max-width:48%}.public-house .public-owner{font-size:12px;margin-bottom:8px}.public-house .public-room .room{height:min(64dvh,520px);min-height:360px}.visit-dialog{padding:14px;max-height:92dvh;overflow:auto}.visit-dialog .visit-room.guest-room{min-height:380px}}
.public-house .public-brand b{font:inherit;font-weight:700;background:transparent;padding:0;margin:0;border-radius:0}
.guest-room:after{display:none}

.guest-room[data-background]:not([data-background=""])>:is(.window,.sunbeam,.wall-art,.plant,.bench,.rug,.bowl){display:none}

.decor-capacity{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:10px 0;color:#40563b;font-size:12px}.decor-capacity button{min-height:44px;font:inherit;white-space:normal}.decor-transform-tools button[hidden]{display:none!important}

.decor-transform-tools:has(.decor-frame-up:not([hidden])){display:flex}@media(any-pointer:coarse){.decor-transform-tools [data-furniture-tool]{display:none}}
#room .decor-add>button{white-space:normal;overflow-wrap:anywhere;min-width:0;min-height:44px;line-height:1.4;touch-action:manipulation}

.coin-shop.is-expansion{max-width:420px}.coin-shop.is-expansion :is(nav,.shop-help,.shop-products){display:none}.coin-shop.is-expansion .shop-confirm{position:static;margin-top:8px}.coin-shop.is-expansion .shop-confirm p{font-size:16px;line-height:1.7}.coin-shop.is-expansion .shop-confirm button{min-height:44px}

#room .room-save-feedback{position:absolute;left:12px;bottom:12px;z-index:45;display:flex;align-items:center;gap:10px;max-width:calc(100% - 24px);padding:8px 12px;border:1px solid #b7a57e;border-radius:14px;background:#fff9e8f5;color:#574c32;font-size:13px;box-shadow:0 3px 12px #0002}#room .room-save-feedback[hidden]{display:none!important}#room .room-save-feedback button{min-width:44px;min-height:44px;border:1px solid #b7a57e;border-radius:10px;background:#fffdf4;color:#574c32;font-size:23px;touch-action:manipulation}

.decor-postcards{display:flex;gap:8px;align-items:end;margin:12px 0}.decor-postcards label{flex:1;min-width:0}.decor-postcards select{width:100%}.decor-postcards button{flex-shrink:0;min-height:44px}
.home-food-stock{display:flex;align-items:center;gap:10px;margin:0 12px 16px;padding:10px 12px;border:1px solid #c9a960;border-radius:15px;background:#fff4d9;color:#654820;font-size:14px;line-height:1.5}.home-food-stock[hidden]{display:none}.home-food-stock>svg{width:25px;height:25px;flex:none}.home-food-stock>span{flex:1}.home-food-stock button{min-height:44px;padding:8px 12px;border:1px solid #8d733c;border-radius:10px;background:#fffdf4;color:#554424;font:inherit;white-space:nowrap}.home-food-stock[data-empty=true]{border-color:#a66c4c;background:#fff0e5;color:#763b26}

.wall-frame-background{filter:brightness(calc(1 - var(--room-night,0)*.65)) saturate(calc(1 - var(--room-night,0)*.12))}
.footprint-world-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.footprint-world-tools button,.world-popup button{min-height:44px;padding:9px 14px;border:1px solid #b6c5aa;border-radius:14px;background:#f9fcf3;color:#435d3c;font:inherit}.footprint-world{position:relative;z-index:0;height:clamp(420px,70dvh,850px);width:100%;border:1px solid #d6decf;border-radius:20px;overflow:hidden}.world-legend,.world-status,.world-privacy{font-size:13px;line-height:1.6;color:#67785b}.world-footprint-count{background:none!important;border:0!important;box-shadow:none!important;color:white!important;font-size:12px;font-weight:700;padding:0!important}.world-popup{min-width:190px;max-width:270px;color:#43583e}.world-popup section{padding:10px 0;border-bottom:1px solid #e2e8dc}.world-popup p{line-height:1.6;font-size:12px}
@media(max-width:850px){aside nav{grid-template-columns:repeat(8,minmax(0,1fr))!important}aside nav button span{font-size:clamp(9px,2.4vw,11px)}.footprint-world{height:calc(100dvh - 270px);min-height:350px}}

.world-status{min-height:1.6em;margin:8px 0}.world-status[data-state="error"]{color:#9b4b30}

.footprint-world-tools [aria-pressed="true"]{background:#526c44;color:#fffef6;border-color:#526c44;box-shadow:0 2px 5px #344d2526}.footprint-world-tools button:active{transform:translateY(1px);background:#dce8cd}.footprint-world-tools button:disabled{opacity:.65;cursor:progress}.footprint-world-tools .world-refresh{font-size:23px;line-height:1;padding:8px 13px}.world-legend{color:#55734b}

.world-legend{display:flex;flex-wrap:wrap;gap:16px}.world-legend span::before{content:"●";margin-right:5px}.world-legend-public{color:#557b4b}@media(max-width:600px){.footprint-world-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 44px;gap:6px}.footprint-world-tools button{font-size:12px;padding:8px 2px}.footprint-world-tools .world-refresh{font-size:23px;padding:8px}}

.world-player-count{font-size:14px!important;font-weight:800;line-height:1.2;letter-spacing:.01em}.world-legend-own{color:#355d42}
.wake-dialog{width:min(420px,calc(100vw - 28px));box-sizing:border-box;max-height:85dvh;overflow:auto;border:1px solid #aebda2;border-radius:22px;background:#fffaf0;color:#31452b;padding:24px;box-shadow:0 20px 70px #101b2455}.wake-dialog::backdrop{background:#111d2b99}.wake-dialog h2{font-size:21px;margin:0 0 14px;color:#31452b}.wake-dialog p{font-size:15px;line-height:1.7;color:#405437}.wake-dialog>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.wake-dialog button{flex:1;min-width:120px;min-height:48px;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;border:1px solid #9fb18e;border-radius:12px;background:#f2f5e9;color:#31452b}.wake-dialog .wake-confirm{background:#526c44;color:#fff;border-color:#526c44}.wake-dialog button:disabled{opacity:.7}.wake-dialog .wake-status:empty{display:none}.wake-dialog .wake-status{font-size:13px;color:#87512d}.wake-dialog button:focus-visible{outline:3px solid #ad843d;outline-offset:3px}
.footprint-world-tools button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.footprint-world-tools svg{width:22px;height:22px;flex:0 0 22px}.footprint-world-tools .world-sharing[aria-checked=true]{background:#526c44;color:#fffef6;border-color:#526c44;box-shadow:0 2px 5px #344d2526}.footprint-world-tools button:focus-visible{outline:3px solid #a98643;outline-offset:3px}.world-share-feedback:empty{display:none}.world-share-feedback{font-size:13px;line-height:1.6;color:#526c44}.world-tool-label{font-size:14px}@media(max-width:850px){.footprint-world-tools{display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));gap:6px}.footprint-world-tools button{min-width:44px;min-height:48px;padding:10px!important;position:relative}.footprint-world-tools svg{width:24px;height:24px;flex-basis:24px}.footprint-world-tools .world-tool-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.footprint-world-tools .world-sharing[aria-checked=true]::after{content:'✓';position:absolute;bottom:3px;right:4px;font:bold 10px/1 sans-serif}}

.decor-fields>.decor-floor-field{grid-column:1/-1}.decor-window .decor-floor{min-height:44px}

/* Adoption choices and the scoped dachshund design studio. */
.adoption-paths{display:grid;gap:12px;margin-top:20px}.adoption-paths>button{min-height:64px;text-align:left}.adoption-paths>button>span{float:right;font-size:14px}.pet-custom-controls{display:grid;gap:12px;margin:12px 0 22px}.pet-custom-controls[hidden]{display:none}.pet-designer-preview.room{position:relative!important;width:100%;height:360px;min-height:300px;overflow:hidden;border:1px solid #d9dfce;border-radius:18px;background:linear-gradient(#eff4ee 0%,#f8f5ed 65%,#dfd9c9 65%)}.pet-designer-preview .roomhint{display:none}.pet-designer-status{font-size:13px;line-height:1.5;min-height:20px;margin:0;color:#53664a}.pet-designer-ranges{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}.pet-designer-range{display:grid;gap:4px}.pet-designer-range>span{display:flex;justify-content:space-between;gap:8px}.pet-designer-range output{font-variant-numeric:tabular-nums;font-size:12px;color:#66715e}.pet-designer-range input[type=range]{box-sizing:border-box;min-height:44px;width:100%;accent-color:#536a48;padding:0;border:0;background:transparent;touch-action:pan-y}.pet-designer-range small{font-size:11px;color:#66715e}.pet-custom-controls select{width:100%;min-height:46px;border:1px solid #b9c9a9;border-radius:10px;padding:8px;font:inherit;background:#fffdf5;color:#31452b}.customization-confirm{max-width:min(520px,calc(100vw - 32px));box-sizing:border-box;padding:26px;border:1px solid #bdc9af;border-radius:22px;color:#31452b;background:#fffdf5;box-shadow:0 18px 70px #17220e55}.customization-confirm::backdrop{background:#1b251b88}.customization-confirm h2{font-size:22px;line-height:1.5;margin:0 0 12px}.customization-confirm dl{display:grid;grid-template-columns:1fr auto;gap:10px;padding:16px;border-radius:12px;background:#edf2e5}.customization-confirm dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.customization-confirm>div{display:grid;gap:10px}.customization-confirm button{min-height:48px;width:100%;font:inherit}.customization-confirm button:focus-visible{outline:3px solid #8a9e72;outline-offset:3px}@media(max-width:500px){.pet-designer-ranges{grid-template-columns:1fr}.pet-designer-preview.room{height:330px}.customization-confirm{padding:20px}}

.admin-panel td button{min-height:44px;margin:3px}.admin-panel .admin-delete,.admin-delete-dialog .admin-delete{background:#a3322b;color:#fff;border:1px solid #8b2722}.admin-delete-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #d4ddc9;border-radius:18px;padding:24px;background:#fffef8;color:#344334;font:inherit}.admin-delete-dialog::backdrop{background:#16221999}.admin-delete-dialog h2{font-size:23px}.admin-delete-dialog p{line-height:1.65;overflow-wrap:anywhere}.admin-delete-dialog label{display:grid;gap:10px}.admin-delete-dialog input{min-width:0;width:100%;box-sizing:border-box;min-height:46px;font:inherit;border:1px solid #a6b59b;border-radius:8px;padding:10px}.admin-delete-dialog form>div{display:flex;gap:12px;justify-content:flex-end;margin-top:18px;flex-wrap:wrap}.admin-delete-dialog button{font:inherit;min-height:46px;padding:10px 16px;border-radius:9px;border:1px solid #a6b59b;background:#f2f5eb;color:#344334}.admin-delete-dialog button:disabled{opacity:.45}.admin-delete-dialog .delete-status{color:#9c3028}.admin-delete-dialog input:focus-visible,.admin-delete-dialog button:focus-visible{outline:3px solid #759754;outline-offset:2px}

.welcome-layout:has(.pet-custom-controls:not([hidden])){overflow:visible}.pet-designer-stage{position:sticky;top:8px;z-index:10;background:#fffef8;border-radius:18px;padding-bottom:6px;box-shadow:0 5px 15px #34483216}.pet-designer-stage .pet-designer-status{padding:6px 10px 0;margin:0}.pet-custom-controls{display:block}.pet-custom-controls>.welcome-hint,.pet-custom-controls>label,.pet-designer-ranges{margin-top:12px}.pet-designer-preview.room{height:clamp(210px,36dvh,330px);min-height:0}@media(min-width:900px){.pet-designer-preview.room{height:340px}}

.public-house .public-stats{display:flex;align-items:center;justify-content:center;gap:clamp(14px,4vw,48px);flex:1;color:#40563e;font-size:12px}.public-stats>div{display:grid;gap:3px;text-align:center;min-width:58px}.public-stats b{font:600 24px/1.1 Georgia,serif;font-variant-numeric:tabular-nums}.public-stats span{font-size:11px;white-space:nowrap}.public-stats button{font:inherit;min-height:36px;padding:5px 8px;border:1px solid #9cae8b;border-radius:8px;background:#f4f7ef;color:#40563e}@media(max-width:700px){.public-house .public-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 6px}.public-house .public-header h1{max-width:none}.public-house .public-stats{grid-column:1/-1;grid-row:2;justify-content:space-around;padding:5px 0 3px}.public-stats b{font-size:21px}.public-stats span{font-size:10px}}

.pet-designer-progress{display:block;box-sizing:border-box;width:calc(100% - 20px);height:7px;margin:6px 10px 2px;accent-color:#6e8c52}.pet-designer-spots{display:flex!important;align-items:center;gap:10px;min-height:44px}.pet-custom-controls .pet-designer-spots input{width:22px!important;min-height:22px;height:22px;padding:0;accent-color:#536a48}.pet-designer-range input{scroll-margin-top:calc(36dvh + 125px)}
.pet-designer-preview-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:7px 8px 0}.pet-designer-preview-tools button{min-width:44px;min-height:44px;padding:7px 10px;border:1px solid #b9c9a9;border-radius:12px;background:#f4f7ee;color:#405b36;font:inherit;font-size:13px;white-space:nowrap;touch-action:manipulation}.pet-designer-preview-tools [data-preview=in],.pet-designer-preview-tools [data-preview=out]{font-size:22px;padding:3px 10px}.pet-designer-preview-tools .pet-designer-walk{margin-left:auto}.pet-designer-preview-tools [aria-pressed=true]{background:#536a48;color:#fff}.pet-designer-preview-tools button:disabled{opacity:.45}.pet-designer-preview-tools button:focus-visible{outline:3px solid #8a9e72;outline-offset:2px}

:is(#room,.guest-room)>.window{filter:brightness(calc(.35 + var(--room-daylight,1)*.65)) saturate(calc(.65 + var(--room-daylight,1)*.35));transition:filter 1.2s linear}

.member-locked .home-companion-label{display:block!important}.member-menu .account-delete-link{font-size:12px;color:inherit;white-space:nowrap}.account-delete-link{display:inline-block;margin:8px 0}.dog-acquire{width:min(680px,94vw);max-height:90dvh;overflow:auto;background:#fffef6;color:#344334;border:1px solid #91a47c;border-radius:20px;padding:20px}.dog-acquire header{display:flex;justify-content:space-between;align-items:center}.dog-acquire label{display:block;margin:14px 0}.dog-acquire input,.dog-acquire select{max-width:100%;font:inherit}.dog-acquire input[type=text],.dog-acquire select{width:100%;padding:12px;border-radius:10px;border:1px solid #96a587}.dog-acquire .pet-designer-stage{top:0}.dog-acquire .pet-designer-preview{height:230px}.dog-acquire footer{display:flex;gap:10px;flex-wrap:wrap}.dog-acquire button{min-height:44px;padding:10px 15px}.dog-acquire img{display:block;max-width:180px;max-height:150px;object-fit:contain;margin:12px auto}.shop-products .dog-store-entry{grid-column:1/-1}.dog-acquire [hidden]{display:none!important}.dog-acquire .pet-designer-range input{width:100%}

.sleep-place-dialog{width:min(440px,92vw);padding:24px;border:1px solid #8fa17c;border-radius:20px;background:#fffef6;color:#344334}.sleep-place-dialog h2{margin-top:0}.sleep-place-dialog button,.sleep-place-dialog select{font:inherit;min-height:48px;padding:10px 14px;max-width:100%}.sleep-place-dialog>div{display:flex;gap:10px;flex-wrap:wrap}.sleep-place-dialog [hidden]{display:none!important}

.welcome-dog .welcome-walk-poster,.welcome-dog video{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;mix-blend-mode:normal}.welcome-dog .welcome-walk-poster{z-index:1}.welcome-dog video{z-index:2;opacity:0;transition:opacity .15s}.welcome-dog[data-walk-loaded=true] video{opacity:1}.welcome-dog[data-walk-state=error] video{opacity:0}.welcome-dog>span{z-index:3}.welcome-walk-toggle{position:absolute;bottom:8px;left:8px;z-index:4;display:grid;place-items:center;width:36px;height:36px;padding:8px;border:1px solid #afbd9f;border-radius:50%;background:#ffffffc9;color:#526b45}.welcome-walk-toggle svg{display:block;width:20px;height:20px;fill:currentColor}.welcome-walk-toggle .walk-pause,.welcome-walk-toggle[data-playing=true] .walk-play{display:none}.welcome-walk-toggle[data-playing=true] .walk-pause{display:block}
.pet-designer-spots-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.pet-designer-spots-row .pet-designer-spots{margin:0;display:flex;gap:8px;align-items:center}.pet-designer-reroll{font:inherit;font-size:13px;border:1px solid #94a781;background:#f1f5e9;color:#435c37;border-radius:9px;min-height:44px;padding:8px 12px}.pet-designer-reroll:disabled{opacity:.45;cursor:default}
@media(max-width:620px){.welcome-art{display:grid;grid-template-columns:1fr 1fr;column-gap:8px;align-items:center}.welcome-art>.welcome-kicker,.welcome-art>h1{grid-column:1/-1}.welcome-art>p{grid-column:1;grid-row:3;max-width:100%}.welcome-art>.welcome-dog{grid-column:2;grid-row:3;position:relative;right:auto;bottom:auto;width:100%;height:135px}.welcome-walk-toggle{width:32px;height:32px;bottom:0;left:0;padding:6px}}
@media(prefers-reduced-motion:reduce){.welcome-dog video{transition:none}}

.welcome-content:has(#welcome-auth:not([hidden])){justify-content:flex-start;padding-top:26px}.welcome-content #welcome-auth h2{font-size:26px;line-height:1.5;margin:8px 0 10px}#welcome-auth .welcome-copy{line-height:1.75;margin-bottom:16px}#welcome-auth form>label{margin-bottom:6px}#welcome-auth input{min-height:44px;padding:10px 12px}#welcome-auth .welcome-primary{min-height:44px;margin-top:12px;padding:11px 16px}.welcome-updates{margin-top:24px;padding-top:18px;border-top:1px solid #e2e7db}.welcome-updates header{position:static;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;background:none;border:0;min-height:0;height:auto}.welcome-updates h3{font-size:15px;line-height:1.5;margin:0;color:#465d3f}.welcome-updates time{font-size:10px;color:#7e8a74;white-space:nowrap}.welcome-updates ul{display:grid;gap:13px;list-style:none;padding:0;margin:14px 0 0}.welcome-updates li{position:relative;padding-left:13px}.welcome-updates li:before{content:'';position:absolute;left:0;top:7px;width:5px;height:5px;border-radius:50%;background:#839971}.welcome-updates b{display:block;font-size:12px;line-height:1.5;font-weight:600}.welcome-updates li span{display:block;font-size:11px;line-height:1.7;color:#7c8874;margin-top:2px}#welcome-auth .welcome-privacy{margin-top:18px;padding-top:12px}.welcome-content:has(#welcome-auth:not([hidden]))>.welcome-foot{margin-top:12px}@media(max-width:620px){.welcome-content:has(#welcome-auth:not([hidden])){padding-top:20px}#welcome-auth h2{font-size:23px}.welcome-updates{margin-top:20px;padding-top:16px}.welcome-updates ul{gap:12px}.welcome-updates li span{font-size:12px}}

.pet-designer-opacity{flex:1 1 150px;min-width:140px;margin:0!important}.pet-designer-opacity input{width:100%;min-height:30px!important}.pet-designer-opacity>span{display:flex;justify-content:space-between}.pet-designer-opacity small{font-size:11px}
.house-dog-picker{display:grid;gap:3px;flex:0 1 210px;min-width:120px;color:#526b4b;font-size:11px}.house-dog-picker select{width:100%;min-height:44px;border:1px solid #b4c5a8;border-radius:12px;padding:8px 32px 8px 12px;background:#fafcf7;color:#38483b;font:inherit;font-size:15px}.house-dog-picker select:focus-visible{outline:3px solid #8ea881;outline-offset:2px}
@media(max-width:700px){.public-header>.house-dog-picker{grid-column:1/-1;grid-row:2}.public-header:has(>.house-dog-picker:not([hidden]))>.public-stats{grid-row:3}}

.welcome-pet-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;touch-action:none;cursor:pointer}.welcome-dog[data-walk-loaded=true] .welcome-walk-poster{visibility:hidden}.welcome-pet-controls{position:absolute;bottom:23px;left:4px;z-index:4;display:flex;gap:5px}.welcome-pet-controls>button{min-height:36px;min-width:42px;border:1px solid #b1c0a4;border-radius:18px;background:#ffffffe0;color:#526b45;font-size:11px;padding:6px 10px}.welcome-pet-controls .welcome-walk-toggle{position:static;width:36px;min-width:36px;padding:7px}.welcome-pet-hint{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:10px;color:#68795d;z-index:3}.welcome-pet-progress{position:absolute;bottom:70px;width:55%;left:22%;z-index:5;height:5px}@media(max-width:620px){.welcome-art>.welcome-dog{height:180px}.welcome-pet-controls{bottom:26px;left:0;gap:2px}.welcome-pet-controls>button{min-width:38px;padding:5px 7px}.welcome-pet-hint{font-size:9px;line-height:1.3}.welcome-pet-canvas{height:145px}}

.welcome-update-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.welcome-update-title time{font-variant-numeric:tabular-nums}

.page-restore{display:none}html.restoring-member .page-restore{position:fixed;inset:0;z-index:1000;display:grid;place-content:center;gap:18px;background:#faf9f5;color:#526b4b;text-align:center;font-size:15px}html.restoring-member .page-restore progress{width:180px;height:5px;accent-color:#839971}html.restoring-member #paw-welcome{display:none!important}.welcome-art{padding-top:24px}.welcome-art h1{font-size:clamp(18px,1.65vw,24px);line-height:1.45;letter-spacing:0;margin:10px 0 8px;white-space:nowrap}.welcome-art>p{margin:0 0 8px}.welcome-steps{margin:22px 0 24px;padding:14px 0}.welcome-layout{min-height:0}@media(min-width:1450px){.welcome-layout{min-height:0}.welcome-art{padding-top:24px}}@media(max-width:900px) and (min-width:621px){.welcome-art{padding-inline:18px}.welcome-art h1{font-size:clamp(14px,1.8vw,18px)}}@media(max-width:620px){.welcome-art{padding-top:16px}.welcome-art h1{font-size:clamp(14px,4.2vw,23px)}.welcome-steps{margin:14px 0;padding:10px 0}}

.welcome-demo-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:12px 0 8px}.welcome-demo-tabs button{font:inherit;font-size:11px;min-height:38px;padding:7px 4px;border:1px solid #bdcbb0;border-radius:9px;background:#f7f9f1;color:#526b45;white-space:nowrap}.welcome-demo-tabs button[aria-selected=true]{background:#526b4b;border-color:#526b4b;color:#fff}.welcome-demo-tabs button:focus-visible{outline:3px solid #a5b98e;outline-offset:2px}.welcome-art>.welcome-dog{height:260px;overflow:hidden;border:1px solid #d2dbc8;border-radius:12px;background:#edf1e4 url("/dog/assets/welcome-room.webp") center/cover}.welcome-demo-map,.welcome-demo-souvenirs{position:absolute;inset:0;pointer-events:none;display:none}.welcome-demo-map svg{width:100%;height:100%}.welcome-dog[data-demo-scene=walk],.welcome-dog[data-demo-scene=footprints]{background:#e6eddd}.welcome-dog[data-demo-scene=walk] .welcome-demo-map,.welcome-dog[data-demo-scene=footprints] .welcome-demo-map{display:block}.demo-footprint-dots{display:none}.welcome-dog[data-demo-scene=footprints] .demo-footprint-dots{display:block}.welcome-dog[data-demo-scene=travel]{background:linear-gradient(135deg,#f8f1dc,#e8ecd9)}.welcome-dog[data-demo-scene=travel] .welcome-demo-souvenirs{display:flex;align-items:flex-start;justify-content:center;padding:18px 20px;gap:14px;z-index:3}.demo-postcard{width:34%;max-width:140px;padding:6px;background:#fffdf5;box-shadow:0 4px 12px #74684821;transform:rotate(-9deg)}.demo-postcard svg{display:block;width:100%}.demo-postcard b{display:block;font-size:8px;letter-spacing:2px;text-align:center;color:#7c8870;padding:5px 0}.demo-keyring{width:18%;max-width:70px;transform:rotate(12deg)}.demo-stamp{width:19%;max-width:80px;align-self:center}.welcome-art>.welcome-demo-description{font-size:12px;line-height:1.75;min-height:3.5em;margin:10px 0 0;color:#627456;max-width:none}.welcome-pet-controls{bottom:24px;left:9px}.welcome-pet-hint{bottom:3px;background:#ffffffe0;padding:2px 4px}.welcome-art h1{margin-bottom:8px}@media(max-width:620px){.welcome-art{display:block}.welcome-art>p{max-width:100%}.welcome-art>.welcome-dog{position:relative;width:100%;height:210px;inset:auto}.welcome-pet-canvas{height:100%}.welcome-art h1{font-size:clamp(14px,4.1vw,23px)}.welcome-demo-tabs{margin-top:10px}.welcome-demo-tabs button{font-size:10px;min-height:38px}.welcome-art>.welcome-demo-description{font-size:11px;min-height:0;margin-top:8px}.welcome-art{padding-bottom:14px}}

.welcome-top{margin-bottom:18px}.welcome-content>.welcome-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;justify-content:start;margin:0 0 18px;padding:0 0 13px;border-top:0;border-bottom:1px solid #e6e7df}.welcome-content>.welcome-steps li{font-size:10px;gap:5px;line-height:1.5;min-width:0;flex-direction:row;align-items:center}.welcome-content>.welcome-steps i{flex:none;width:22px;height:22px;font-size:9px}@media(max-width:900px){.welcome-content>.welcome-steps li{flex-direction:column;font-size:9px;text-align:center}}@media(max-width:620px){.welcome-top{margin-bottom:14px}.welcome-content>.welcome-steps{margin-bottom:14px;padding-bottom:12px}.welcome-content>.welcome-steps li{font-size:9px}.welcome-content>.welcome-steps i{width:20px;height:20px}}

.welcome-art h1{white-space:normal}.welcome-demo-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.welcome-demo-tabs button{min-width:0;white-space:normal;overflow-wrap:anywhere}.welcome-content>.welcome-steps li{overflow-wrap:anywhere}

.welcome-dog[data-demo-scene=travel] .welcome-demo-souvenirs{justify-content:flex-end;gap:8px;padding:10px 12px}.demo-postcard{width:22%;max-width:90px}.demo-keyring{width:12%;max-width:45px}.demo-stamp{width:12%;max-width:45px;align-self:flex-start}
.welcome-dog[data-demo-scene=travel] .welcome-demo-souvenirs{z-index:1}.welcome-dog[data-demo-scene=travel] :is(.welcome-pet-canvas,.welcome-walk-poster){z-index:2}

.welcome-demo-world{display:none;position:absolute;inset:0;align-items:center;justify-content:center;background:#e5eee6}.welcome-demo-world svg{width:100%;height:100%}.welcome-dog[data-demo-scene=footprints] .welcome-demo-world{display:flex}.welcome-dog[data-demo-scene=footprints] :is(.welcome-demo-map,.welcome-pet-canvas,.welcome-walk-poster,.welcome-pet-controls,.welcome-pet-hint,.welcome-pet-progress){display:none!important}.welcome-dog[data-demo-scene=walk] .welcome-demo-map{inset:-45%;will-change:transform}.welcome-dog[data-demo-scene=walk] .welcome-pet-canvas{cursor:pointer}.welcome-dog[data-demo-scene=walk] .welcome-pet-controls{bottom:24px}.welcome-dog[data-demo-scene=walk] .welcome-walk-poster{display:none}

@media(max-width:620px){.welcome-layout>.welcome-art{grid-row:1}.welcome-layout>.welcome-content{grid-row:2}html.welcome-returning .welcome-layout>.welcome-content{grid-row:1}html.welcome-returning .welcome-layout>.welcome-art{grid-row:2}}

.welcome-auth-feedback{font-size:12px;line-height:1.6;color:#94513f;margin:9px 0 0}.welcome-auth-feedback:empty{display:none}form[aria-busy=true]>.welcome-auth-feedback{color:#526b4b}

.pet-designer-spots-row>.pet-designer-opacity,.pet-designer-spots-row>.pet-designer-density{flex:1 1 100%;width:100%;min-width:0;margin:0!important}.pet-designer-density input{width:100%;min-height:30px!important}

.welcome-bottom a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* Dialog controls must not inherit the mobile page footer font-size:0. */
.dog-acquire footer button{font-size:14px}
.dog-adoption-choice{box-sizing:border-box;max-width:min(520px,calc(100vw - 32px))}
.dog-adoption-choice .dog-adoption-options{display:grid;grid-template-columns:1fr;gap:10px;margin:16px 0}
.dog-adoption-choice .dog-adoption-options button{width:100%;min-width:0;margin:0;white-space:normal;text-align:center;line-height:1.45}
.dog-adoption-choice footer{display:flex;justify-content:flex-end;margin-top:12px}
.dog-adoption-choice footer button{min-width:100px;margin:0}

/* Collection and dog selection share one compact guest toolbar. */
.house-guest-tools{display:flex;align-items:flex-end;gap:8px;min-width:0;flex:0 1 340px}.house-guest-tools>.house-dog-picker{flex:1 1 150px;min-width:0;margin:0}.house-guest-tools>.house-collection{flex:none;width:auto;margin:0}.house-guest-tools .house-collection-toggle{white-space:nowrap;min-height:44px;padding:10px 12px;font-size:13px}.visit-dialog .house-guest-tools{width:100%}.visit-dialog .house-guest-tools>.house-collection{width:auto}.house-collection-panel{color:var(--ink,#364833)}
@media(max-width:700px){.public-header>.house-guest-tools{grid-column:1/-1;grid-row:2;width:100%}.public-header:has(>.house-guest-tools)>.public-stats{grid-row:3}.house-guest-tools:has(>.house-dog-picker[hidden])>.house-collection{margin-right:auto}}

/* Registration gift and returning-member guidance share the intro row. */
.welcome-auth-intro{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin:0 0 18px}.welcome-auth-intro .welcome-signup-gift{flex:1 1 180px;margin:0;color:#526b46;font-size:19px;font-weight:700;line-height:1.65;letter-spacing:.02em;text-wrap:balance}#welcome-auth .welcome-auth-intro .welcome-copy{flex:1.5 1 240px;margin:0;font-size:13px;line-height:1.8;min-width:0}@media(max-width:620px){.welcome-auth-intro{gap:9px;margin-bottom:16px}.welcome-auth-intro .welcome-signup-gift{font-size:18px}#welcome-auth .welcome-auth-intro .welcome-copy{font-size:12px}}

.customization-exit{max-width:min(440px,calc(100vw - 32px));border:1px solid #d6dfcc;border-radius:22px;padding:26px;background:#fffef8;color:#354832;box-shadow:0 20px 70px #0003}.customization-exit::backdrop{background:#17261988}.customization-exit h2{font-size:22px;margin:0 0 14px}.customization-exit p{line-height:1.7}.customization-exit>div{display:flex;gap:12px;flex-wrap:wrap}.customization-exit button{min-height:48px;padding:12px 18px;border-radius:14px;border:1px solid #a6b49a;font:inherit;background:#fffef8;color:#435c36}.customization-exit [data-exit=stay]{background:#526c44;color:white}.customization-exit button:focus-visible{outline:3px solid #b58a47;outline-offset:3px}

.first-custom-offer{position:relative;overflow:hidden;margin:18px 0;padding:20px;border:1px solid #c9b484;border-radius:18px;background:linear-gradient(125deg,#fff8df,#f0f4e7);color:#3f5137;animation:first-custom-enter .65s ease-out both}.first-custom-offer[hidden]{display:none}.first-custom-offer:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,#ffffff80 50%,transparent 70%);transform:translateX(-110%);animation:first-custom-shine 2s ease-in-out 2}.first-custom-badge{display:inline-block;padding:4px 10px;margin-bottom:10px;border-radius:30px;background:#536a48;color:white;font-size:13px;font-weight:700}.first-custom-offer strong{display:block;font-size:clamp(18px,3vw,24px)}.first-custom-price{display:flex;gap:12px;align-items:baseline;margin:8px 0}.first-custom-price s{color:#756b57}.first-custom-price b{font-size:36px;color:#725321}.first-custom-offer p{margin:6px 0 0;font-size:14px;line-height:1.6}@keyframes first-custom-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes first-custom-shine{to{transform:translateX(110%)}}@media(prefers-reduced-motion:reduce){.first-custom-offer,.first-custom-offer:after{animation:none}}

/* The room title is the room picker: keep one toolbar row and give its old
   standalone selector row back to the scene. Small type, full touch target. */
#home .roomtop{grid-template-columns:minmax(0,1fr) auto auto}
#home .roomtop>.roomtag,#home .roomtop>.roomtag:has(.room-title){display:flex;grid-column:1;grid-row:1;gap:0;min-width:0}
#home .roomtop .room-title{display:flex;align-items:center;gap:4px;width:100%;min-width:0;font-size:12px;line-height:1.3}
#home .roomtop .room-title .home-companion-label{display:block;position:relative;flex:1;min-width:0;margin:0}
#home .roomtop .room-title .home-companion-label:after{content:"";position:absolute;pointer-events:none;right:9px;top:17px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
#home .roomtop .room-title #homecompanion{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:44px;min-height:44px;padding:4px 24px 4px 7px;margin:0;border:1px solid #94a18580;border-radius:9px;color:inherit;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;appearance:none;background:rgba(143,161,122,.1)!important}
#home .roomtop .room-title #homecompanion:focus-visible{outline:2px solid #9aaa7c;outline-offset:1px}
#home .roomtop .room-local-context{font-size:10px;gap:2px 5px}
#home .roomtop>.petlabel{grid-column:2;grid-row:1}
#home .roomtop>.member-walk{grid-column:3;grid-row:1}
@media(max-width:850px){
 #home .roomtop{grid-template-columns:minmax(0,1fr) auto 44px 44px;padding:6px 8px;gap:5px}
 #home .roomtop>.petlabel{gap:4px}
 #home .roomtop>.petlabel :is(.decor-open,.coin-shop-open),#home .roomtop>button:is(.member-garden,.member-walk){width:44px;min-width:44px;height:44px;min-height:44px;padding:8px;border-radius:14px}
 #home .roomtop>.member-garden{grid-column:3;grid-row:1}
 #home .roomtop>.member-walk{grid-column:4;grid-row:1}
}

/* The room is the primary content; fit it to the available browser height.
   Keep all ten care actions reachable in two compact, touch-sized rows. */
#home .room{height:clamp(420px,calc(100dvh - 200px),900px)}
@media(max-width:850px){
 #home .room{height:clamp(280px,calc(100dvh - 296px),900px)}
 #home .actions{padding:6px 8px;gap:5px}
 #home .actions>button{height:44px;min-height:44px;padding:6px 3px;border-radius:12px}
 #home .actions>button svg{width:26px;height:26px}
}
:is(.decor-unsaved-dialog,.decor-saved-dialog){box-sizing:border-box;width:min(430px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #b8c7a8;border-radius:22px;background:#fffdf5;color:#344631;box-shadow:0 20px 70px #17221455;font:inherit}:is(.decor-unsaved-dialog,.decor-saved-dialog)::backdrop{background:#17221499}:is(.decor-unsaved-dialog,.decor-saved-dialog) h2{margin:0 0 12px;font-size:21px}:is(.decor-unsaved-dialog,.decor-saved-dialog) p{line-height:1.65}:is(.decor-unsaved-dialog,.decor-saved-dialog)>div{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}:is(.decor-unsaved-dialog,.decor-saved-dialog) button{flex:1;min-width:90px;min-height:48px;padding:10px;border:1px solid #aab999;border-radius:12px;background:#eff3e7;color:#344631;font:inherit;cursor:pointer}:is(.decor-unsaved-dialog,.decor-saved-dialog) [data-decor-exit=save]{background:#536c47;border-color:#536c47;color:white}.decor-unsaved-status:empty{display:none}.decor-unsaved-status{color:#a14d36;font-size:13px}
/* Phone dock keeps accessible button names while giving its label row back to the room. */
@media(max-width:850px){aside nav{padding:4px 8px calc(4px + env(safe-area-inset-bottom))}aside nav button{height:46px;min-height:46px;padding:3px;gap:0;font-size:24px;line-height:1}aside nav button span,aside nav button b{display:none!important}aside nav button svg,aside nav .mobile-support svg{display:block;width:26px;height:26px;min-width:26px;min-height:26px;flex:0 0 26px}aside nav button:not(.house-invite-nav){align-items:center;justify-content:center}aside nav button:not(.house-invite-nav)>svg{overflow:visible}aside nav .mobile-support{display:flex;align-items:center;justify-content:center;width:100%;height:46px;min-height:46px;padding:3px;line-height:1}main{padding-bottom:calc(62px + env(safe-area-inset-bottom))}#toast{bottom:calc(64px + env(safe-area-inset-bottom))}#home .room{height:clamp(280px,calc(100dvh - 274px),900px)}}
.world-planting-totals{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:10px 0 14px;padding:11px 14px;border:1px solid #d6decf;border-radius:14px;background:#f8f9f1;color:#526c44;font-size:13px;line-height:1.5}.world-planting-totals>span{display:inline-flex;align-items:center;gap:5px}.world-planting-totals .world-totals-title{font-weight:700;margin-right:4px}.world-planting-totals strong{font-variant-numeric:tabular-nums}@media(max-width:600px){.world-planting-totals{gap:6px 10px;padding:10px 12px;font-size:12px}.world-planting-totals .world-totals-title{flex-basis:100%}}

/* Keep clustered footprint details usable on short phone viewports. */
.world-popup{max-height:min(42dvh,360px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin}.world-popup-close{position:sticky;top:0;z-index:2;display:block;width:36px;min-width:36px;height:36px;margin:0 0 0 auto!important;padding:0!important;border-radius:10px!important;background:#fffdf4!important;color:#43583e!important;font-size:23px!important;line-height:1!important}

/* Keep the mobile dock at its original width when the invite shortcut is added. */
@media(max-width:850px){aside nav{grid-template-columns:repeat(8,minmax(0,1fr))!important}aside nav .house-invite-nav{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;padding:3px}aside nav .house-invite-nav svg{width:26px;height:26px;flex:none}}

/* Tree plantings are a public-world layer; others' GPS is rounded to ~100 m. */
.world-tree-map{min-height:44px;padding:9px 15px;border:1px solid #b6c5aa;border-radius:14px;background:#f9fcf3;color:#435d3c;font:inherit;margin:0 0 10px}.world-tree-map:disabled{opacity:.6;cursor:progress}.world-tree-marker{background:transparent!important;border:0!important}.world-tree-marker span{position:relative;display:grid;width:34px;height:34px;place-items:center;border:2px solid #fffdf4;border-radius:50%;background:#e5efdc;box-shadow:0 2px 7px #25351e55;font-size:22px}.world-tree-marker span b{position:absolute;right:-7px;top:-6px;display:grid;min-width:18px;height:18px;place-items:center;border-radius:10px;background:#536c47;color:white;font:700 11px sans-serif}.world-tree-marker.is-public span{background:#fff0c9}.world-tree-marker.is-own span{background:#dcebd0}

.world-legend-trees{color:#435d3c}.world-legend-trees::before{content:"🌳";margin-right:5px}.world-legend-trees::after{content:none}

.courtyard-embed{padding:0!important;overflow:hidden;border-radius:18px;background:#f2f0e7}.courtyard-embed iframe{display:block;width:100%;height:calc(100dvh - 110px);min-height:680px;border:0;background:#f2f0e7}

/* Keep the room toolbar compact on every screen. The selector remains hidden
   as the source of truth, while its house icon opens a roomy choice dialog. */
.home-house-picker{display:flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;width:auto;min-width:112px;height:48px;min-height:48px;padding:7px 12px;border:1px solid #9baa88;border-radius:16px;background:#edf1e4;color:#526c44;flex:none;font-size:12px;font-weight:650;white-space:nowrap}
.home-house-picker svg{display:block;width:26px;height:26px;flex:none;pointer-events:none}.home-house-picker span{display:block}
#home .roomtop .home-companion-label{display:none!important}
#home .roomtop .room-title>span[aria-hidden=true]{display:none!important}
.home-picker-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:min(78dvh,720px);padding:20px;border:1px solid #d6dfcc;border-radius:22px;background:#fffef8;color:#354832;box-shadow:0 20px 70px #0003}
.home-picker-dialog::backdrop{background:#17261988}
.home-picker-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.home-picker-heading h2{margin:0 0 5px;font-size:22px}.home-picker-heading p{margin:0;color:#75836b;font-size:14px;line-height:1.5}
.home-picker-close{width:42px;height:42px;flex:none;border:1px solid #b9c7ae;border-radius:13px;background:#f1f4e9;color:#43583e;font-size:25px;line-height:1}
.home-picker-options{display:grid;grid-template-columns:1fr;gap:8px;max-height:calc(min(78dvh,720px) - 112px);overflow:auto;overscroll-behavior:contain}
.home-picker-option{min-height:48px;padding:10px 14px;border:1px solid #dbe2d2;border-radius:14px;background:#f8f9f1;color:#40553b;text-align:left;font:inherit;font-weight:600}
.home-picker-option[aria-pressed=true]{border-color:#728a61;background:#e9f0df;box-shadow:inset 0 0 0 1px #728a61}
@media(max-width:850px){#home .roomtop .home-house-picker{width:auto;min-width:104px;height:44px;min-height:44px;padding:6px 9px;gap:5px;border-radius:14px;font-size:11px}}

/* The draggable decoration palette is a viewport layer, independent of room clipping. */
body>.decor-window.decor-floating-viewport{position:fixed;z-index:2201;right:auto;bottom:auto;width:min(320px,calc(100vw - 16px));max-height:calc(100dvh - 16px);display:flex;flex-direction:column;border:1px solid #b9c9a9;border-radius:16px;background:#fffdf4f5;box-shadow:0 8px 28px #463c2440;color:#34452f;overflow:hidden;isolation:isolate;box-sizing:border-box}
body.room-focus>.decor-window.decor-floating-viewport:not([hidden]){display:flex!important}
body>.decor-window.decor-floating-viewport .decor-handle{cursor:grab;touch-action:none}body>.decor-window.decor-floating-viewport .decor-handle:active{cursor:grabbing}
body>.decor-window.decor-floating-viewport .decor-add{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}body>.decor-window.decor-floating-viewport .decor-add>label{grid-column:1/-1}body>.decor-window.decor-floating-viewport .decor-add>button{white-space:normal;overflow-wrap:anywhere;min-width:0;min-height:44px;line-height:1.4}body>.decor-window.decor-floating-viewport .decor-position{grid-template-columns:repeat(4,1fr)}

body>.decor-window.decor-floating-viewport.decor-collapsed{width:max-content;max-width:calc(100vw - 16px)}
/* Selected furnishing controls stay together, with the name above the actions. */
.decor-object-controls{position:absolute;z-index:18;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none}.decor-object-controls[hidden]{display:none}.decor-object-name{max-width:150px;padding:3px 9px;border-radius:12px;background:rgba(255,253,245,.96);color:#344735;font-size:13px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.decor-object-controls>div{display:flex;gap:6px}.decor-object-controls button{pointer-events:auto;touch-action:none;width:40px;height:40px;border:1px solid #91a581;border-radius:50%;background:#fffdf5;color:#40573e;font-size:25px;line-height:1}
body.room-focus #room>.decor-object-controls{display:flex}body.room-focus #room>.decor-object-controls[hidden]{display:none}
