.illustrated-room{height:auto;aspect-ratio:360/340;border-radius:100px 100px 12px 12px;background:#e9e8d7;isolation:isolate;box-shadow:inset 0 0 0 5px #f6f0df,0 9px 24px #6d70500a;overflow:hidden}
.illustrated-room .room-art{display:block;width:100%;height:auto;aspect-ratio:360/320;border-radius:100px 100px 0 0;overflow:hidden}
.room-scene-caption{display:block;height:20px;text-align:center;font-size:6px;letter-spacing:1.7px;color:#8c9278;padding-top:7px;background:#e5e3ce}
.illustrated-cat{cursor:pointer;outline:none;transform-box:fill-box;transform-origin:50% 75%;transition:transform .25s ease}
.illustrated-cat:hover{transform:rotate(-2deg) translateY(-2px)}
.illustrated-cat:focus-visible{filter:drop-shadow(0 0 4px #d2a153)}
.lamp-halo{animation:breathe-light 6s ease-in-out infinite}
.decor-heading{margin-top:24px;letter-spacing:1.15px;font-size:8px;color:#787f68}
.decor-list{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.decor-item{padding:10px 9px 10px 8px;border:1px solid #dddcca;border-radius:11px;background:linear-gradient(110deg,#fbf8ed,#f2f0e2);gap:10px;min-height:72px;box-shadow:0 2px 4px #74704b04;transition:background .2s,border-color .2s,transform .2s}
.decor-item:hover{border-color:#bac3a7;transform:translateY(-1px);background:#f8f7e9}
.decor-item.owned{border-color:#d7ddc9;background:linear-gradient(110deg,#f6f5e8,#edefdf)}
.decor-icon{flex:0 0 45px;width:45px;height:49px;border:0;border-radius:9px;background:#e9e7d4;box-shadow:inset 0 0 0 1px #dedec9;overflow:hidden}
.decor-icon svg{width:38px;height:43px;padding:2px}
.decor-item[data-decor="lamp"] .decor-icon{background:radial-gradient(ellipse at center,#f6e6b7,#e8e2c9)}
.decor-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.decor-copy strong{font:500 13px/1.3 'Literata',Georgia,serif;color:#465c48}
.decor-copy small{font-size:8px;line-height:1.5;color:#8b917c;max-width:115px}
.decor-item .cost{background:#e6e5d1;color:#a37e42;white-space:nowrap;font-size:9px;padding:6px 8px;align-self:center}
.decor-item.owned .cost{background:transparent;color:#81906f;font-size:7px;padding:0;max-width:40px;white-space:normal;text-align:center;line-height:1.6}
.room-footnote{margin-top:15px;font-size:9px;color:#9b9d88}
@keyframes breathe-light{50%{opacity:.7}}
@media(max-width:1080px) and (min-width:901px){.decor-item{gap:7px;padding:8px 7px;min-height:64px}.decor-icon{flex-basis:36px;width:36px;height:43px}.decor-icon svg{width:32px;height:37px}.decor-copy strong{font-size:11px}.decor-copy small{font-size:7px}.decor-item.owned .cost{font-size:6px;max-width:31px}}
@media(max-width:620px){.room-column{grid-template-columns:135px 1fr;column-gap:15px;align-items:start}.illustrated-room{height:auto;aspect-ratio:360/340;border-radius:55px 55px 8px 8px;grid-row:2/5;align-self:start}.illustrated-room .room-art{border-radius:55px 55px 0 0}.room-scene-caption{height:12px;padding-top:4px;font-size:3.5px;letter-spacing:.8px}.room-column .decor-heading{margin-top:5px;font-size:6px;letter-spacing:.7px}.room-column .decor-list{gap:5px;margin-top:0}.decor-item{padding:5px;gap:6px;min-height:48px;border-radius:8px}.decor-icon{flex-basis:29px;width:29px;height:35px;border-radius:5px}.decor-icon svg{width:26px;height:31px}.decor-copy{gap:2px}.decor-copy strong{font-size:10px}.decor-copy small{font-size:6px;line-height:1.4}.decor-item .cost{padding:3px;font-size:7px}.decor-item.owned .cost{font-size:5px;max-width:23px}.room-column .cat-note{font-size:8px}.room-column .cat-mood{font-size:7px}.room-column .room-footnote{margin-top:5px}}
@media(prefers-reduced-motion:reduce){.lamp-halo{animation:none}.decor-item,.illustrated-cat{transition:none}}
/* Finik: small movements, useful little presents, and a clear collar. */
.room-column{position:relative}
.room-title{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.room-title h2{font-size:16px;line-height:1.35}
.room-title>span{white-space:nowrap;font-size:12px}
.letter .postmark{position:relative;right:auto;bottom:auto;margin:18px 0 0 auto}
.letter .signature{position:relative;line-height:1.5}
.decor-tabs{display:flex;gap:4px;background:#eaeada;border:1px solid #dedfca;padding:4px;border-radius:9px;margin:13px 0 10px}
.decor-tabs button{flex:1;padding:7px 2px;border:0;border-radius:6px;background:transparent;color:#8c937d;font-size:9px}
.decor-tabs button[aria-pressed=true]{background:#faf8eb;box-shadow:0 1px 4px #777e5712;color:#4d6a54}
.decor-tabs button span{font-size:7px;border-radius:50%;background:#dfe5cc;color:#6c825c;padding:2px 4px;margin-left:3px}
.cat-bubble{position:absolute;top:31%;left:50%;width:max-content;max-width:calc(100% - 24px);padding:5px 9px;border:1px solid #e2d9bd;border-radius:8px;background:#fff9e9f5;box-shadow:0 3px 10px #4a563514;font:italic 10px/1.35 Literata,Georgia,serif;text-align:center;color:#8a7653;pointer-events:none;opacity:0;transform:translate(-50%,4px);transition:opacity .25s,transform .25s;z-index:4}
.cat-bubble.visible{opacity:1;transform:translateX(-50%)}
.cat-bubble:after{content:'';position:absolute;bottom:-5px;left:55%;width:8px;height:8px;background:#fff9e9;border-right:1px solid #e2d9bd;border-bottom:1px solid #e2d9bd;transform:rotate(45deg)}
.cat-body{transform-box:fill-box;transform-origin:50% 100%;animation:cat-breath 5.5s ease-in-out infinite}
.cat-tail{transform-box:fill-box;transform-origin:10% 90%;animation:cat-tail-rest 11s ease-in-out infinite}
.cat-ear{transform-box:fill-box;transform-origin:50% 90%;animation:cat-ear-twitch 23s ease-in-out infinite}
.illustrated-cat.nuzzle{animation:cat-nuzzle 2s ease-in-out}
.illustrated-cat.delighted{animation:cat-delighted 1.5s ease-in-out}
.illustrated-cat.look-around{animation:cat-look 2.2s ease-in-out}
.cat-toy{transform-box:fill-box;transform-origin:center}
.room-art:has(.illustrated-cat.delighted) .cat-toy:not(.hidden-decor){animation:toy-roll 1.5s ease-in-out}
#sound[aria-pressed=true]{background:#55796940;border-color:#9dac86}
@keyframes cat-breath{50%{transform:scale(1.006,1.015)}}
@keyframes cat-tail-rest{0%,70%,100%{transform:rotate(0)}78%{transform:rotate(-5deg)}88%{transform:rotate(3deg)}}
@keyframes cat-ear-twitch{0%,80%,89%,100%{transform:rotate(0)}83%,86%{transform:rotate(-3deg)}}
@keyframes cat-nuzzle{25%{transform:translateY(-2px) rotate(-3deg)}65%{transform:translateY(1px) rotate(2deg)}}
@keyframes cat-delighted{25%,65%{transform:translateY(-3px)}45%{transform:translateY(0) rotate(-2deg)}}
@keyframes cat-look{30%{transform:rotate(2deg)}70%{transform:rotate(-2deg)}}
@keyframes toy-roll{40%{transform:translateX(5px) rotate(6deg)}}
@media(max-width:620px){.room-column .decor-tabs{margin:3px 0 0;padding:3px;gap:2px;grid-column:2}.decor-tabs button{font-size:7px;padding:6px 1px}.decor-tabs button span{font-size:5px;margin-left:1px}.room-column .decor-list{grid-column:2;grid-row:5}.room-column .illustrated-room{grid-row:2/6}.room-column .cat-note{grid-column:2}.room-column .decor-heading{grid-column:2}.room-column .cat-bubble{font-size:9px;padding:4px 7px}.room-title h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){.cat-body,.cat-tail,.cat-ear,.illustrated-cat.nuzzle,.illustrated-cat.delighted,.illustrated-cat.look-around,.cat-toy{animation:none!important}.cat-bubble{transition:none}}

.illustrated-room{position:relative}

/* Prototype monetization: deliberately disabled; no ads or payments. */
[hidden]{display:none!important}
.future-shop{margin-top:23px;border-top:1px solid var(--line);padding-top:16px}
.future-shop-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:8px;letter-spacing:1px;color:#8c917a;margin-bottom:10px}
.soon-label{letter-spacing:0;background:#e9e7d8;border-radius:10px;padding:4px 7px;font-size:8px;color:#a48d68}
.future-offer{display:flex;align-items:center;gap:9px;width:100%;padding:11px 9px;margin-top:7px;text-align:left;border:1px dashed #d5d8c4;border-radius:10px;background:#f2f0e3}
.future-offer:disabled,.future-action:disabled{opacity:1;cursor:default;color:#949782}
.future-offer strong{display:block;font:500 12px/1.35 Literata,Georgia,serif}
.future-offer small{display:block;font-size:8px;line-height:1.6;margin-top:3px;color:#a3a38f}
.offer-mark{width:26px;flex:0 0 26px;font:23px Georgia,serif;color:#b1a17b;text-align:center}
.offer-arrow{margin-left:auto;font-size:9px;white-space:nowrap;color:#ada082}
.future-shop p{font-size:8px;line-height:1.6;margin:9px 0 0;color:#a3a38f}
.future-action{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:11px 12px;background:#eeeddd;border:1px dashed #cfd4bd;border-radius:8px;font-size:11px;margin-top:14px}
.future-action span{font-size:9px;color:#ac9b7c}
.modal-actions{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.game-actions{flex-wrap:wrap}
.continue-level{flex-basis:100%;background:var(--green);color:#fff6e4}
.continue-level:hover{background:#3b6657}
@media(max-width:620px){.future-shop{grid-column:1/-1;margin-top:9px;padding-top:12px}.future-shop-heading{font-size:8px}.future-offer strong{font-size:12px}.future-offer small{font-size:9px}.future-offer{padding:10px 12px}.offer-mark{width:30px;flex-basis:30px}.future-shop p{font-size:9px}}
