/* A small, usable dollhouse, with painted furniture instead of flat UI icons. */
.home-art{display:block;aspect-ratio:1;width:100%;background-image:url('assets/furniture-classic-shadowfree-v33.png');background-size:400% 300%;background-repeat:no-repeat}

.home-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:15px;font-size:14px}.home-toolbar>.text-btn:first-child{margin-right:auto}.home-credits{padding:5px 13px;border-block:1px dashed #c9b89e;color:#7c6953}.home-credits b{font-size:20px;margin-left:7px}
.home-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px;align-items:start}.home-picture{padding:10px;background:#fffaf0;border:1px solid var(--line);box-shadow:3px 5px 15px #7c604110;border-radius:4px 7px 3px 10px;min-width:0}.home-scene{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:4px;background:#eee1d0;isolation:isolate}.home-backdrop{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;pointer-events:none}.room-piece{position:absolute;aspect-ratio:1;background:none;border:none;padding:0;touch-action:none;cursor:grab;min-width:0}.room-piece:disabled{opacity:1;cursor:default}.room-piece.selected{outline:1px dashed #866957;outline-offset:3px}.room-piece:focus-visible{outline:2px solid #866957}.room-piece:active{cursor:grabbing}.home-frame-stitches{position:absolute;left:28%;top:22%;width:44%;height:50%;overflow:hidden;border-radius:50%;background:#fff8ed}.home-frame-stitches>.bib-drawing{width:100%;height:100%}
.room-bunny{position:absolute;transform:translate(-50%,-50%);pointer-events:none}.room-bunny .plush{transform-origin:50% 85%;animation:home-breathe 5s ease-in-out infinite}.room-bunny.guest .plush{animation-delay:-2s}.room-name{position:absolute;bottom:0;left:50%;transform:translate(-50%,90%);max-width:160%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background:#fffaeddd;border-radius:8px 4px 10px 7px;padding:2px 8px;color:#785d4e;font-size:clamp(10px,1vw,14px)}.room-reaction{position:absolute;top:0;left:50%;transform:translate(-50%,-90%);font-family:var(--hand);background:#fffaf0d9;border-radius:50%;padding:3px 10px;font-size:clamp(12px,1.2vw,18px);white-space:nowrap}.pose-heart .room-reaction{color:#b77078;font-size:24px}.pose-nap .plush{animation-duration:8s;filter:brightness(.98)}.pose-wave .plush{animation:home-wave 6s ease-in-out infinite}.home-door{position:absolute;right:7%;top:37%;z-index:100;background:#fffaefdd;border:1px solid #c0aa8c;padding:6px 13px;border-radius:3px 8px 4px 6px;color:#795e4e;font-size:14px;box-shadow:1px 3px 8px #4a332213}.home-scene-note{position:absolute;left:13px;bottom:10px;z-index:102;font-family:var(--hand);font-size:clamp(13px,1.3vw,19px);color:#7d6755;background:#fff9e8cc;padding:4px 10px;border-radius:3px 6px 4px 2px;pointer-events:none}
.home-adjust{padding:12px 4px 4px;font-size:14px}.home-adjust strong{font-weight:500}.home-sliders{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:12px;margin-top:7px}.home-sliders label{display:grid;gap:4px;font-size:14px}.home-sliders input{width:100%;min-width:0}.home-save-row{display:flex;gap:10px;padding:12px 4px 2px}.home-save-row input{min-width:0;flex:1;font-size:14px}.home-save-row .btn{font-size:14px;padding:9px 15px;white-space:nowrap}
.home-sidebar{background:#fdf8ee;border:1px solid var(--line);border-radius:9px 3px 12px 6px;min-width:0}.home-tabs{display:flex;border-bottom:1px dashed var(--line);padding:10px 7px 0;gap:3px}.home-tabs button{flex:1;font-size:15px;border:0;border-radius:6px 6px 0 0;padding:9px 4px;background:transparent;color:var(--ink)}.home-tabs .selected{background:#e5e9dc;color:#536148}.home-tab-content{padding:14px;max-height:65dvh;overflow:auto;scrollbar-width:thin}.home-hint{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 12px}.home-shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-shelf button{background:#fffaf1;border:1px dashed var(--line);padding:7px 9px 12px;border-radius:3px 9px 4px 7px;color:var(--ink);font-size:14px}.home-shelf .placed{background:#edf0e5;border-style:solid;border-color:#a9b096}.home-shelf .home-art{max-width:118px;margin:0 auto 3px}.home-shop{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.home-shop article{display:flex;align-items:center;text-align:center;flex-direction:column;border-bottom:1px dashed var(--line);padding-bottom:12px;gap:5px}.home-shop .home-art{max-width:120px}.home-shop strong{font-size:14px;font-weight:500;flex:1}.home-shop small{font-size:13px;color:var(--muted)}.home-shop .btn{font-size:14px;padding:7px 10px;width:100%}.home-tasks article{padding:15px 0;display:flex;gap:9px;align-items:center;border-bottom:1px dashed var(--line)}.home-tasks strong{font-size:15px;display:block;font-weight:500}.home-tasks small{font-size:14px;color:var(--muted);display:block;margin-top:6px}.home-tasks article>div{flex:1}.home-tasks article>span{font-size:14px;color:#7a8963}.home-tasks .btn,.home-tasks .text-btn{font-size:14px;padding:7px}.home-tasks>.home-hint{margin-top:18px}
.home-social h3{font-family:var(--serif);font-size:22px;font-weight:500;margin:3px 0 10px}.home-social p{font-size:14px;line-height:1.8;color:var(--muted)}.home-social>.btn{width:100%;margin:12px 0}.home-social .row{gap:10px}.home-social .row button{font-size:14px}.home-patch-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#f2e7d7;padding:7px;border:1px dashed #c2a98f;transform:rotate(-.5deg)}.home-patch{background:color-mix(in srgb,var(--patch) 18%,#fff8eb);padding:5px 3px;border:1px dashed color-mix(in srgb,var(--patch) 65%,#fff);aspect-ratio:1;text-align:center;overflow:hidden}.home-patch .watercolor-stamp{width:80%;margin:auto}.home-patch small{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block}.home-patch-empty{grid-column:1/-1;padding:20px 4px;font-family:var(--hand);font-size:18px;text-align:center;color:#9b8471}.home-patch-picker>div{display:flex;gap:6px;justify-content:space-between;margin-top:12px}.home-patch-picker button{width:36px;height:36px;min-width:0;padding:3px;background:#fffaf0;border:1px solid var(--line);border-radius:7px}.home-patch-picker .selected{outline:2px solid #8a9878;outline-offset:1px}.home-patch-picker .color-dot{background:var(--color);border-radius:50%;width:30px;height:30px}.home-poses{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}.home-poses button{font-size:14px;padding:6px 10px;border:1px solid var(--line);border-radius:4px 8px 4px 6px;background:#fffaf0;color:var(--ink)}.home-poses .selected{background:#e6eadd}
.home-welcome,.home-profile,.friend-home-grid,.home-invitation{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.home-welcome>img{width:100%;border:9px solid #fffaf0;box-sizing:border-box;box-shadow:1px 5px 20px #60422218;transform:rotate(-1deg)}.home-profile>div{text-align:center}.home-profile .plush{max-width:270px;margin:auto}.home-profile .hand{display:block;color:#b68b7a;font-size:26px;margin-top:15px}.home-profile form{display:grid;gap:15px}.home-profile label{font-size:16px}.home-bunny-choices{display:flex;gap:12px}.home-bunny-choices button{flex:1;background:#fffaf0;border:1px solid var(--line);border-radius:6px;padding:8px;min-width:0;color:var(--ink)}.home-bunny-choices .selected{border-color:#81916d;background:#edf0e5}.home-bunny-choices img{width:100%;max-width:90px}.home-bunny-choices span{display:block;font-size:14px}.player-id{font-size:18px;letter-spacing:1px;color:#86926f;font-family:var(--font);user-select:all}.friend-home-grid{grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);align-items:start}.friend-home-card{padding:22px;background:#fff9ee;border:1px dashed var(--line);text-align:center;transform:rotate(-1deg)}.friend-home-card .plush{width:180px;max-width:100%;margin:auto}.friend-home-card h3{margin:10px 0 3px}.friend-home-card .text-btn{display:block;margin:auto;font-size:14px}.home-invite-row{display:flex;gap:9px;margin:10px 0 18px}.home-invite-row input{flex:1;min-width:0}.home-invite-row .btn{font-size:14px;white-space:nowrap}.home-invite-made{padding:18px;background:#f1f0e2;border:1px dashed #b6bb9f;margin:20px 0}.home-invite-made input{width:100%;box-sizing:border-box;font-size:14px}.home-invite-made p{font-size:14px;line-height:1.7}.home-inbox{display:flex;gap:14px;align-items:center;padding:12px 0;border-bottom:1px dashed var(--line);color:var(--ink);text-decoration:none}.home-inbox img{width:65px}.home-inbox span{font-size:17px}.home-inbox small{display:block;font-size:14px;color:var(--muted);margin-top:4px}.home-sent{display:flex;gap:15px;align-items:center;justify-content:space-between;font-size:14px;padding:10px 0}.home-sent a{color:var(--ink)}.friend-home-grid details{margin:18px 0}
.home-invitation{gap:35px;padding:10px}.invitation-picture{position:relative;transform:rotate(-2deg);border:12px solid #fff9ee;box-shadow:3px 7px 20px #69503a20;aspect-ratio:4/3;overflow:hidden}.invite-room{width:100%;height:100%;object-fit:cover}.invitation-picture>div{position:absolute;width:40%;left:30%;top:40%}.home-invitation .hand{font-size:26px;color:#b38273;display:block}.home-invitation h2{font-size:32px;line-height:1.5}.home-invitation p{font-size:16px;line-height:1.8}.home-invitation small{font-size:14px;display:block;color:var(--muted);margin-bottom:15px}.home-invitation .btn{display:block;margin:18px 0}.home-photo{text-align:center}.home-photo>img{display:block;max-width:100%;max-height:65dvh;margin:0 auto 20px;box-shadow:3px 6px 20px #49362322}.home-photo>.row{justify-content:center}
@keyframes home-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.012,.988)}}@keyframes home-wave{0%,82%,100%{transform:rotate(0)}87%{transform:rotate(-3deg)}92%{transform:rotate(3deg)}}
@media(max-width:950px){.home-layout{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:12px}.home-tab-content{padding:10px}.home-toolbar{gap:8px}.home-toolbar .text-btn{font-size:14px}}
@media(max-width:700px){.home-layout{grid-template-columns:1fr;gap:14px}.home-tab-content{max-height:40dvh}.home-toolbar>.text-btn:first-child{flex:1 0 100%}.home-shelf{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.home-shelf button{font-size:12px;padding:5px}.home-shop{grid-template-columns:repeat(3,minmax(0,1fr))}.home-social h3{font-size:21px}.home-welcome,.home-profile,.friend-home-grid,.home-invitation{grid-template-columns:1fr;gap:20px}.friend-home-card .plush{width:130px}.home-profile .plush{width:170px}.home-invitation h2{font-size:26px}.invitation-picture{max-width:380px;width:90%;margin:auto}.home-bunny-choices img{max-width:65px}.home-sliders{grid-template-columns:1fr 1fr}.home-sliders .text-btn{grid-column:1/-1;justify-self:end}.home-save-row{flex-wrap:wrap}.home-save-row .btn{margin-left:auto}.home-door{padding:4px 8px;font-size:12px}.home-scene-note{max-width:55%;font-size:12px}.home-photo>img{max-height:55dvh}}
@media(prefers-reduced-motion:reduce){.room-bunny .plush{animation:none}}
@media(max-width:700px){.home-scene-note{display:none}.home-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}.home-shelf button{font-size:14px}}
/* Daily wishes and the little indoor playroom. */
.home-tabs{gap:3px;display:flex;flex-wrap:wrap}.home-tabs button{flex:1;padding:9px 7px;min-width:48px;font-size:14px}.home-tab-content{min-width:0}.daily-heading{margin-bottom:12px}.daily-heading h3{font-size:23px;margin:3px 0 9px}.daily-heading p,.home-games p,.memory-game p,.blend-game p{font-size:14px;line-height:1.8;margin:8px 0}.daily-heading small{font-size:12px}.home-tasks article{gap:10px}.home-tasks strong{font-size:15px}.home-tasks small{font-size:13px}.home-tasks .text-btn{white-space:nowrap;font-size:14px}.task-done{opacity:.7}.daily-bonus{margin-top:16px;font-size:14px}.home-games>h3{font-size:23px;margin:7px 0 20px}.indoor-choice{display:flex;gap:12px;align-items:center;width:100%;padding:15px 4px;border-bottom:1px dashed #dac7ae;text-align:left}.indoor-choice>.watercolor-stamp,.indoor-choice>.home-art{width:76px;flex:none}.indoor-choice strong,.indoor-choice small{display:block}.indoor-choice strong{font-size:17px;margin-bottom:6px}.indoor-choice small{font-size:14px;line-height:1.7}.memory-progress{font-size:14px;color:#829070;margin:14px 0}.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.memory-card{position:relative;aspect-ratio:4/5;border:1px solid #c9b49d;border-radius:8px 11px 9px 6px;background:repeating-linear-gradient(45deg,#e7c8c058 0 4px,#faf0e4 4px 10px);box-shadow:1px 3px 0 #c4b39533;display:grid;place-items:center;padding:6px;transition:transform .22s,background .22s}.memory-card .card-seed{font-family:'Caveat',cursive;font-size:27px;background:#fff9ef;border:1px dashed #c5a992;border-radius:50%;width:34px;height:34px;line-height:34px;color:#ac847b}.memory-card.face-up{background:#fffaf0;transform:rotate(-1deg)}.memory-card.matched{background:#edf0e4;border-color:#b1bd9b;opacity:1}.memory-card .watercolor-stamp{width:100%;height:auto;aspect-ratio:1}.memory-card:disabled{cursor:default}.memory-message{min-height:3em;color:#7d896b}.blend-teapot{position:relative;width:180px;max-width:60%;margin:6px auto}.blend-teapot>.home-art{width:100%}.tea-steam{position:absolute;left:44%;top:9%;width:18%;height:29%;border-left:2px solid #c2ae9544;border-radius:50%;animation:tea-rise 4s ease-in-out infinite;pointer-events:none}.tea-contributors{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}.tea-contributors>span{background:#fff9ef;padding:10px;border:1px dashed var(--tea-color,#cdbca5);border-radius:5px 12px 5px 9px;font-size:14px;overflow-wrap:anywhere}.tea-contributors b{display:block;font-size:14px;font-weight:500;color:var(--tea-color,#9b8976)}.tea-seat{color:#a49382;display:grid;place-items:center}.herb-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.herb-choices button{display:flex;align-items:center;gap:9px;border:1px solid #ddccb7;background:#fffbf2;border-radius:7px;padding:8px;font-size:14px}.herb-choices .watercolor-stamp{width:42px;flex:none}.tea-recipe-ready{background:#f0ede1;padding:14px;border:1px dashed #b2bd9c;border-radius:8px;text-align:center}.tea-recipe-ready strong{display:block;font-family:Georgia,'Noto Serif SC',serif;font-size:22px}.tea-book{margin-top:22px;border-top:1px solid #dfd1be;padding-top:12px}.tea-book summary{font-size:15px;cursor:pointer}.tea-book article{padding:12px 0;border-bottom:1px dashed #dac7ae}.tea-book strong,.tea-book small{display:block;font-size:14px}.home-games .watercolor-stamp{aspect-ratio:1}.home-games .home-art{aspect-ratio:1}
@keyframes tea-rise{0%,100%{transform:translateY(0) rotate(-5deg);opacity:.3}50%{transform:translateY(-10px) rotate(7deg);opacity:.7}}
@media(max-width:700px){.home-tabs button{font-size:14px;padding:8px 4px}.memory-grid{gap:8px;max-width:390px;margin:auto}.memory-card{aspect-ratio:1}.daily-heading h3{font-size:22px}.daily-bookmark{padding:14px}.home-sidebar .home-tab-content{padding:12px 0}.home-tasks article{padding:12px 0}}
@media(prefers-reduced-motion:reduce){.tea-steam{animation:none}.memory-card{transition:none}}

/* The room is the main picture; the compact activity drawer opens underneath it. */


.room-page .home-layout{display:flex;flex-direction:column;gap:10px}.room-page .home-picture,.room-page .home-sidebar{width:100%;min-width:0}.room-page .home-picture{padding:6px;position:relative}.room-page .home-toolbar{margin:5px 0 10px}.home-save-compact{padding:5px 12px;min-height:34px;font-size:13px}
.room-page .home-sidebar{border-radius:6px;border:1px solid var(--line);background:#fff9ef}.room-page .home-tabs{flex-wrap:nowrap;gap:5px;padding:6px;border:0}.room-page .home-tabs button{padding:9px 10px;min-height:40px}.room-page .home-tabs .home-tray-toggle{flex:0 0 auto;color:var(--muted);border-left:1px solid var(--line);border-radius:0}
.room-page .home-tab-content{max-height:none;overflow:visible;padding:20px;border-top:1px dashed var(--line)}.home-tab-content[hidden],#homeAdjust[hidden]{display:none!important}
.room-page .home-shelf{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.room-page .home-shop{grid-template-columns:repeat(4,minmax(0,1fr))}.home-title-edit{margin-top:18px;border-top:1px dashed var(--line);padding-top:12px}.home-title-edit input{display:block;max-width:360px;margin-top:10px;width:100%}.home-title-edit summary{cursor:pointer}
.room-page .home-games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-games>.hand,.home-games>h3{grid-column:1/-1;margin:0}.room-page .memory-game,.room-page .blend-game{max-width:660px;margin:auto}.room-page .home-tasks{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.home-lamp-peek{position:absolute;right:2%;top:3%;z-index:100;display:flex;align-items:center;gap:4px;padding:4px 10px 4px 4px;border:1px solid #ccb99899;background:#fff9e9e8;border-radius:8px 5px 12px 6px;font-size:clamp(11px,1vw,15px)}.home-lamp-peek .home-art{width:36px}
.lantern-intro{max-width:760px}.lantern-intro h3{font-size:27px;margin:4px 0 10px}.lantern-intro p{font-size:15px;line-height:1.9}.lantern-intro small{display:block;margin-top:8px}.lantern-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.friend-lantern{display:flex;align-items:center;gap:20px;background:#f5eee1;border:1px dashed #d7c4a9;padding:18px;border-radius:10px 6px 12px 6px}.friend-lantern h3{font-size:22px;margin:0 0 7px}.friend-lantern p{font-size:13px;margin:8px 0 14px}.lantern-glow{width:115px;flex:none;opacity:.6}.half-lit .lantern-glow{opacity:.9;filter:drop-shadow(0 0 9px #ecc57499)}.is-lit .lantern-glow{opacity:1;filter:drop-shadow(0 0 18px #edbd59);animation:lamp-breathe 4s ease-in-out infinite}.is-lit{background:#fbefd9;border-color:#c7a56e}.lantern-rewards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;border-top:1px dashed var(--line);padding-top:15px}.lantern-rewards>div{display:flex;align-items:center;font-size:13px;gap:10px}.lantern-rewards .home-art{width:75px;flex:none}.lantern-rewards b{display:block;font-size:14px}.lantern-empty{grid-column:1/-1;text-align:center;padding:10px;max-width:530px;margin:auto}.lantern-empty .home-art{width:130px;margin:auto}.lantern-empty p{margin:5px 0 17px}
@keyframes lamp-breathe{50%{filter:drop-shadow(0 0 27px #edbd59)}}

@media(max-width:700px){.room-page .home-toolbar{font-size:12px;gap:6px}.room-page .home-toolbar>.text-btn:first-child{flex:1 0 100%}.room-page .home-tabs{gap:0}.room-page .home-tabs button{font-size:12px;min-width:0;padding:9px 5px}.room-page .home-tabs .home-tray-toggle{font-size:11px}.room-page .home-tab-content{padding:13px 10px}.room-page .home-shelf,.room-page .home-shop{grid-template-columns:repeat(3,minmax(0,1fr))}.room-page .home-games,.room-page .home-tasks,.lantern-list{grid-template-columns:1fr}.room-page .home-scene{aspect-ratio:4/3}.lantern-rewards{gap:7px}.lantern-rewards>div{flex-direction:column;text-align:center}.lantern-rewards .home-art{width:65px}.lantern-rewards b{font-size:12px}.home-lamp-peek .home-art{width:24px}.home-lamp-peek{font-size:10px;padding:2px 6px}.friend-lantern{gap:12px;padding:12px}.lantern-glow{width:85px}}
@media(prefers-reduced-motion:reduce){.is-lit .lantern-glow{animation:none}}

/* Illustrated paper tabs keep the room itself as the main picture. */
.room-page .home-sidebar{background:#fcf7ec;border:1px solid #dac7ad;border-radius:7px 13px 5px 10px;box-shadow:0 4px 0 #bba48a15;position:relative}.room-page .home-sidebar:before{content:'';position:absolute;top:-9px;left:18px;width:62px;height:18px;background:repeating-linear-gradient(90deg,#d2d8bc88 0 9px,#f1eadba8 9px 18px);transform:rotate(-5deg);z-index:1;pointer-events:none}.room-page .home-tabs{padding:15px 12px 12px;gap:12px;background:repeating-linear-gradient(0deg,transparent 0 19px,#bfaa9020 19px 20px);align-items:center}.room-page .home-tabs button[data-home="tab"]{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;padding:6px 10px;min-height:66px;border:1px solid #e2d0b9;border-radius:5px 9px 4px 7px;background:#f5e8dd;box-shadow:1px 3px 0 #bba48a26;transform:rotate(-1deg);font-size:16px;color:#705a49;transition:transform .18s,box-shadow .18s}.room-page .home-tabs button:nth-child(even){background:#eaf0df;transform:rotate(1deg)}.room-page .home-tabs button:nth-child(3n){background:#eee5f0}.room-page .home-tabs button[data-home="tab"]:after{content:'';position:absolute;inset:4px;border:1px dashed #c1a89077;border-radius:4px;pointer-events:none}.room-page .home-tabs button[data-home="tab"]:hover,.room-page .home-tabs button[data-home="tab"].selected{transform:translateY(-3px);box-shadow:1px 5px 0 #bba48a26;background:#fff8e8;outline:1px solid #a2ad88}.home-tab-art{display:block;width:43px;flex:none}.home-tab-art .home-art{width:100%;aspect-ratio:1}.room-page .home-tabs .home-tray-toggle{font-size:14px;border:0;padding:6px;flex:0 0 50px;min-width:0;box-shadow:none;background:transparent}.room-page .home-tab-content{border-top:1px dashed #c6b79b}
@media(max-width:950px){.room-page .home-tabs{gap:8px}.room-page .home-tabs button[data-home="tab"]{flex-direction:column;gap:0;padding:5px 3px;font-size:14px}.home-tab-art{width:37px}}
@media(max-width:540px){.room-page .home-tabs{gap:5px;padding:12px 7px 8px;flex-wrap:wrap}.room-page .home-tabs button[data-home="tab"]{flex:1 0 26%;min-height:58px;flex-direction:row;font-size:14px;padding:4px 6px}.home-tab-art{width:31px}.room-page .home-tabs .home-tray-toggle{flex:1 0 100%;min-height:28px;padding:2px;font-size:14px}.room-page .home-sidebar:before{width:48px}}
@media(prefers-reduced-motion:reduce){.room-page .home-tabs button{transition:none}}

.garden-supplies{border-top:1px dashed #cbbb9f;padding-top:16px;margin-top:22px}.garden-supplies h3{font-size:22px;margin:0}.garden-supplies .text-btn{font-size:14px}.supply-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.supply-cards button{display:flex;gap:10px;align-items:center;text-align:left;background:#f1f0e2;border:1px dashed #b7bb9c;border-radius:6px 13px 5px 10px;padding:10px 14px;color:#655345}.supply-cards button:nth-child(2){background:#f1e8ee;border-color:#c6b0b8}.supply-cards .harvest-art{width:80px;flex:none}.supply-cards strong,.supply-cards small,.supply-cards em{display:block}.supply-cards strong{font-size:17px}.supply-cards small{font-size:14px;line-height:1.6;margin:5px 0}.supply-cards em{font-style:normal;font-size:14px;text-decoration:underline;text-underline-offset:3px}.supply-cards button:disabled{opacity:.6;cursor:default}.garden-supplies>p,.supply-bonus-note{font-size:14px;line-height:1.7;color:#8a7664}.supply-cards b{color:#8a9674;white-space:nowrap}
@media(max-width:600px){.supply-cards{grid-template-columns:1fr}.supply-cards .harvest-art{width:60px}.garden-supplies h3{font-size:19px}}

/* The token catalogue uses the same painted artwork as the room and photographs. */
.home-art-painted{background:none;height:auto;aspect-ratio:1;overflow:hidden;pointer-events:none}
.home-lamp-peek{white-space:nowrap;max-width:calc(100% - 24px)}
.home-lamp-peek>.home-art{width:36px;height:36px;flex:0 0 36px}
@media(max-width:700px){.home-lamp-peek>.home-art{width:24px;height:24px;flex-basis:24px}}
.home-catalogue-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:17px}.home-catalogue-intro .hand{font-size:25px;color:#ad8872}.home-catalogue-intro h3{font-size:27px;margin:3px 0 7px}.home-catalogue-intro p{font-size:16px;line-height:1.7;margin:0;max-width:660px}.home-catalogue-intro>.text-btn{font-size:14px;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.home-catalogue-filters{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0 10px}.home-catalogue-filters button{padding:8px 14px;border:1px dashed #cdbba1;border-radius:5px 10px 6px 8px;background:#fff9ef;font-size:15px;color:#79634f}.home-catalogue-filters button[aria-pressed="true"]{background:#e7ecdb;border-style:solid;border-color:#96a482;color:#566744}.home-catalogue-filters small{font-size:13px;margin-left:4px;opacity:.75}.home-catalogue-note{font-size:14px;color:#8d7966;line-height:1.8;margin:8px 0 20px}
.room-page .home-catalogue-grid{gap:18px}.home-catalogue-grid article{position:relative;background:#fffaf0;border:1px solid #e2d0b8;border-radius:7px 13px 6px 11px;padding:12px 15px 16px;gap:7px;box-shadow:1px 3px 0 #c3ad8a15}.home-catalogue-art{position:relative;width:100%;display:grid;place-items:center}.home-catalogue-grid .home-art{max-width:170px}.home-catalogue-grid strong{font-size:16px;line-height:1.5}.home-catalogue-grid small{font-size:14px;min-height:1.7em;line-height:1.7}.home-catalogue-price{font-size:15px;color:#887155}.home-new-label{position:absolute;top:0;left:0;font-size:13px;background:#ecefdf;color:#778263;padding:3px 8px;border-radius:3px 7px 4px 5px}.home-catalogue-grid .home-collected{color:#7a8b66}.home-catalogue-grid .btn{min-height:42px;font-size:14px}.home-catalogue-grid .btn:disabled{opacity:.65;cursor:default}.home-catalogue-grid .is-collected{background:#f7f8ee;border-color:#cbd3bb}
@media(max-width:700px){.home-catalogue-intro{display:block}.home-catalogue-intro>.text-btn{padding-left:0;margin-top:9px}.home-catalogue-intro h3{font-size:24px}.room-page .home-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-catalogue-grid article{padding:8px 9px 12px}.home-catalogue-filters{gap:6px}.home-catalogue-filters button{padding:7px 10px;font-size:14px}.home-catalogue-grid .home-art{max-width:145px}.home-catalogue-grid strong{font-size:15px}}
.home-catalogue-wallet{flex:none;text-align:right}.home-catalogue-wallet>strong{display:block;font-size:20px;font-weight:500;color:#748461}.home-catalogue-wallet>.text-btn{margin-top:6px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:700px){.home-catalogue-wallet{text-align:left;margin-top:14px}.home-catalogue-wallet>.text-btn{padding-left:0}}

/* The room shares the garden's header spacing, canvas width and notes column. */
.room-page{max-width:var(--game-width,1440px);margin:0 auto;padding:0 0 20px;min-width:0}
.play-screen .room-page-head{min-width:0}.room-page-head>div:first-child{min-width:0}.room-page-head h1{overflow-wrap:anywhere}.room-page-head h1:focus{outline:none}
.room-page .home-toolbar{display:flex;align-items:center;flex-wrap:nowrap;gap:14px;margin:0;flex:none}.room-page .home-save-compact{font-size:14px;padding:7px 13px;min-height:40px;white-space:nowrap}.room-page .home-credits{white-space:nowrap}
.play-screen .room-page .home-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px;align-items:start}.home-main{min-width:0}.room-page .home-picture{padding:7px}.room-page .home-scene{aspect-ratio:3/2}.room-page .home-backdrop{object-fit:fill}.room-page .home-sidebar{margin-top:10px}
.room-page .home-tabs{gap:5px;padding:8px 6px}.room-page .home-tabs button[data-home="tab"]{min-height:56px;font-size:13px;flex-direction:column;gap:0;padding:3px 4px;border:0;box-shadow:none;background:transparent;transform:none}.room-page .home-tabs button[data-home="tab"]:after{display:none}.room-page .home-tabs button[data-home="tab"]:hover,.room-page .home-tabs button[data-home="tab"].selected{background:#edf0e2;transform:none;box-shadow:none;outline:0}.room-page .home-tab-art{width:32px}.room-page .home-tabs .home-tray-toggle{font-size:12px;flex:0 0 38px}.room-page .home-tab-content{padding:16px}.room-page .home-shelf{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-notebook{position:relative;min-width:0;padding:22px 18px 12px;background:#fffaf0;border:1px solid #decab4;border-radius:3px 11px 7px 5px}.home-notebook:before{content:'';position:absolute;left:40%;top:-8px;width:55px;height:15px;transform:rotate(5deg);background:repeating-linear-gradient(90deg,#c8cdb682 0 7px,#e5e4c970 7px 14px);pointer-events:none}.home-notebook>.hand{font-size:23px;line-height:1.3}.home-notebook h2{font-size:20px;line-height:1.5;margin:7px 0}.home-notebook>p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:14px}.home-notebook-actions{border-top:1px dashed var(--line)}.home-notebook-actions>button{display:flex;align-items:center;gap:10px;width:100%;padding:12px 0;text-align:left;border-bottom:1px dashed var(--line);font-size:14px}.home-notebook-actions .home-art{width:43px;flex:none}.home-notebook-actions small{display:block;font-size:11px;margin-top:2px}.home-owner-card{display:block;width:100%;text-align:left;padding:13px 0 0}.home-owner-card>span{font-size:13px;display:block}.home-owner-card>small{font-size:10px;letter-spacing:.6px;overflow-wrap:anywhere}
.room-piece:disabled{touch-action:auto;pointer-events:none}.room-piece:not(:disabled):active{cursor:grabbing}.room-piece .home-art{pointer-events:none;user-select:none}.home-locked-note{display:flex;gap:18px;align-items:center;justify-content:space-between;margin:0 0 16px;padding:12px 0;border-bottom:1px dashed var(--line);font-size:14px;color:var(--muted)}.home-locked-note button{white-space:nowrap;color:#76835f}.home-shelf button:disabled{opacity:1;cursor:default}.room-page.is-editing .home-picture{border-color:#a1aa8b}.room-page #homeAdjust{padding:4px 10px 8px}
@media(max-width:1100px){.play-screen .room-page .home-layout{grid-template-columns:minmax(0,1fr) 230px;gap:17px}.home-notebook{padding:18px 14px 12px}.room-page .home-games,.room-page .home-tasks{grid-template-columns:1fr}}
@media(max-width:900px){.play-screen .room-page .home-layout{display:flex;gap:16px}.home-notebook{width:100%;padding:16px}.home-notebook-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}.home-owner-card{display:flex;gap:12px;align-items:center}.room-page .home-toolbar{gap:10px}.room-page .home-tabs button[data-home="tab"]{flex:1 1 0;min-width:0;min-height:52px}.room-page .home-tabs{flex-wrap:nowrap}.room-page .home-tabs .home-tray-toggle{flex:0 0 36px;min-height:30px;padding:2px}.room-page .home-shelf{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.room-page .home-picture{padding:4px}.play-screen .room-page-head{gap:10px;flex-wrap:wrap}.room-page .home-toolbar{gap:8px;margin-left:auto}.room-page .home-credits{font-size:11px;padding:3px 5px}.room-page .home-credits b{font-size:17px;margin-left:3px}.room-page .home-save-compact{font-size:12px;min-height:36px;padding:5px 8px}.room-page .home-tabs{gap:0;padding:7px 3px}.room-page .home-tabs button[data-home="tab"]{font-size:12px;padding:2px}.room-page .home-tab-art{width:28px}.room-page .home-tabs .home-tray-toggle{font-size:10px;flex-basis:29px}.room-page .home-tab-content{padding:13px 10px}.room-page .home-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}.home-locked-note{align-items:flex-start;gap:12px}.home-notebook{padding:14px}.home-notebook>p{margin-bottom:8px}.home-notebook-actions>button{padding:9px 0;gap:7px}.home-notebook-actions .home-art{width:35px}}
#footer .row{flex-wrap:wrap;min-width:0}
@media(max-width:700px){.play-screen #footer{display:block}.play-screen #footer .row{width:100%;margin-top:8px;justify-content:flex-start}}
