@font-face{font-family:'Zen Maru Gothic';src:url('./assets/fonts/ZenMaruGothic-Regular.ttf') format('truetype');font-weight:100 900;font-display:swap}@font-face{font-family:'Uzura';src:url('./assets/fonts/uzura.ttf') format('truetype');font-display:swap}
:root{--ink:#654b37;--muted:#a58c70;--paper:#fff9e9;--wood:#d4ac78;--line:#decbb0;--shadow:#936e4730;--mint:#d1dfc3;--rose:#eac4c0;--butter:#eee0a8;--sky:#c4dce5;--font:'Zen Maru Gothic','Hiragino Maru Gothic ProN','Yu Gothic',Meiryo,sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:var(--font);color:var(--ink);background:#f2eadb;font-size:14px}button,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:3px solid #658e81;outline-offset:4px}button:disabled{cursor:default;opacity:.48}button svg{flex-shrink:0}svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}#app{position:relative;width:100%;height:100dvh;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 38%,#fff9e9 0,#efe3d0 83%)}#world{position:absolute;inset:0;touch-action:none}#world canvas{display:block;width:100%;height:100%;outline:none}.paper-grain{position:absolute;z-index:1;inset:0;opacity:.14;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.73' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23b89b71' opacity='.3' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");pointer-events:none;mix-blend-mode:multiply}.topbar{position:absolute;z-index:3;top:max(22px,env(safe-area-inset-top));left:30px;right:30px;display:flex;align-items:center;justify-content:space-between;gap:20px;pointer-events:none}.topbar>*{pointer-events:auto}.brand{display:flex;gap:13px;align-items:center}.brand-mark{display:grid;place-items:center;width:50px;height:52px;border:2px solid #c5a279;border-radius:13px 15px 12px 17px;transform:rotate(-5deg);color:#75553c;background:linear-gradient(115deg,#ead4af,#d4b186);box-shadow:0 4px #b58f65,0 7px 14px #a7845920}.brand-mark svg{width:29px;height:29px;stroke-width:1.7}.brand h1{font-size:23px;font-weight:900;letter-spacing:.06em;line-height:1.5;margin:0}.brand p{margin:3px 0 0;font-size:9px;letter-spacing:.2em;color:#a68b6c;font-weight:700}.room-label{display:flex;align-items:center;gap:10px;font-size:12px;color:#8a7358;background:#fffcf1c9;border:1px solid #dbcbb2;border-radius:22px;padding:10px 15px;position:absolute;left:50%;transform:translateX(-50%)}.room-label svg{width:17px;height:17px;color:#b39a65}.room-size{font-size:10px;letter-spacing:.12em;border-left:1px solid #d4c4ab;padding-left:10px;margin-left:2px}.top-right{display:flex;align-items:center;gap:10px}.wallet{height:44px;display:flex;align-items:center;gap:9px;padding:0 15px;background:#fffae7;border:1px solid #d2bc96;border-radius:13px;box-shadow:0 3px #d2bc96;transform:rotate(1deg)}.wallet svg{color:#b6914d;width:22px;height:22px}.wallet strong{font-size:22px;letter-spacing:.035em;font-weight:800}.wallet small{font-size:10px;color:var(--muted)}.round-btn{width:37px;height:37px;border-radius:50%;border:1px solid #d2c1a8;background:#fffaecd9;display:grid;place-items:center;color:#947c60;padding:0}.round-btn svg{width:20px;height:20px}.round-btn:hover{background:#fffdf4;transform:translateY(-1px)}.scene-caption{position:absolute;z-index:2;top:100px;left:32px;font-size:11px;letter-spacing:.07em;color:#a28c70;display:flex;align-items:center;gap:12px}.scene-caption i{height:1px;width:22px;background:#bfa88a}.pet-panel{position:absolute;left:30px;top:175px;width:188px;z-index:2;padding:18px 16px 16px;background:#fffbedcf;border:1px solid #e0cfb5;border-radius:4px 20px 16px 20px;box-shadow:2px 5px 0 #bfa47b13;transform:rotate(-1deg)}.pet-panel:before{content:'';position:absolute;left:60px;top:-8px;background:#d2d9b795;width:62px;height:17px;transform:rotate(-6deg)}.eyebrow{font-size:9px;letter-spacing:.15em;color:#a68d6e;font-weight:700;margin:0}.cat-choices{display:flex;align-items:center;gap:7px;margin:13px 0 9px}.cat-choice{border:1px solid transparent;background:transparent;width:46px;height:50px;border-radius:50%;padding:1px;transition:transform .2s}.cat-choice img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 1px #98754d20)}.cat-choice.active{background:#f3e4c9;border-color:#d2bb95;transform:translateY(-3px)}.pet-name{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.pet-name strong{font-size:18px;letter-spacing:.1em}.pet-name>span{font-size:10px;color:#a08668}.small-stat{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:10px;color:#b28577}.small-stat svg{width:14px;height:14px}.small-stat>div{height:5px;flex:1;border-radius:5px;background:#e8dfce;overflow:hidden}.small-stat i{display:block;height:100%;background:#c9978b;border-radius:5px;width:40%;transition:width .4s}.care-buttons{position:absolute;right:28px;top:42%;display:flex;flex-direction:column;gap:12px;z-index:2}.care-btn{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;background:#fffaedd9;border:1px solid #d9c5a6;border-radius:18px;width:62px;height:64px;box-shadow:0 3px #ceb79577;transition:transform .2s}.care-btn svg{color:#9c8870;width:23px;height:23px}.care-btn small{font-size:10px;letter-spacing:.07em}.care-btn:hover{transform:translateY(-3px);background:#fffdf5}.care-btn[data-care=pet] svg{color:#bc8d83}.care-btn[data-care=play] svg{color:#8d9e78}.scene-tag{position:absolute;z-index:2;left:32px;top:124px;max-width:min(360px,calc(100vw - 64px));display:flex;align-items:center;gap:6px;white-space:nowrap;color:#9e8b73;font-size:10px;letter-spacing:.04em;pointer-events:none}.scene-tag>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.tiny-paw svg{width:14px;height:14px;opacity:.65}.bottom-hud{position:absolute;z-index:4;bottom:max(44px,calc(env(safe-area-inset-bottom) + 20px));left:30px;right:30px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;pointer-events:none}.bottom-hud>*{pointer-events:auto}.view-group{position:relative;display:flex;align-items:center;gap:12px}.wood-btn{position:relative;border:1px solid #bc986b;border-radius:13px;background:linear-gradient(110deg,#ead4ac,#e2c59b);box-shadow:0 5px 0 #b99568,0 7px 0 #94704525,0 9px 16px #82613b12;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 17px;min-height:75px;transition:transform .18s,box-shadow .18s}.wood-btn:before{content:'';position:absolute;inset:5px;border:1px solid #ffffff3d;border-radius:9px;pointer-events:none}.wood-btn:hover{transform:translateY(-4px);box-shadow:0 8px 0 #b99568,0 12px 16px #82613b17}.wood-btn:active{transform:translateY(3px);box-shadow:0 2px #b99568}.wood-btn svg{width:29px;height:29px;stroke-width:1.6}.wood-btn strong{font-size:15px;letter-spacing:.05em;font-weight:800}.view-btn{min-width:205px;transform:rotate(-1.5deg)}.view-btn svg{width:29px;height:29px}.view-btn>span:nth-child(2){display:flex;flex-direction:column;align-items:flex-start;gap:3px}.view-btn small{font-size:9px;color:#967452;letter-spacing:.08em}.view-btn strong{font-size:13px}.chevron{font-size:21px;color:#997859;align-self:flex-end;margin-left:4px}.photo-btn{height:42px;width:42px;border:1px solid #d0bb9b;background:#fffaebc4;border-radius:12px;display:grid;place-items:center;margin-top:20px;color:#9a805e}.photo-btn svg{width:20px;height:20px}.main-menu{display:flex;gap:12px}.main-menu .wood-btn{flex-direction:column;gap:5px;min-width:92px;min-height:87px;padding:12px 15px 10px;border-radius:10px}.main-menu .wood-btn strong{font-size:12px;font-weight:800}.main-menu .mint{background:linear-gradient(115deg,#d9e5c9,#c8d6b8)}.main-menu .rose{background:linear-gradient(115deg,#efd0ca,#e0b4ae)}.main-menu .butter{background:linear-gradient(115deg,#f4e6b5,#e6d799)}.main-menu .sky{background:linear-gradient(115deg,#d2e4e9,#b7d1da)}.main-menu .wood-btn:nth-child(1){transform:rotate(1.5deg)}.main-menu .wood-btn:nth-child(2){transform:rotate(-2deg)}.main-menu .wood-btn:nth-child(3){transform:rotate(1deg)}.main-menu .wood-btn:nth-child(4){transform:rotate(-1deg)}.main-menu .wood-btn:hover{transform:rotate(0) translateY(-5px)}.hint{position:absolute;bottom:8px;left:30px;right:30px;text-align:center;z-index:2;pointer-events:none;margin:0;font-size:10px;line-height:1.8;letter-spacing:.08em;color:#a79075}.saved-label{position:absolute;bottom:17px;right:30px;display:flex;align-items:center;gap:5px;font-size:9px;color:#aa9479;z-index:2}.saved-label svg{width:12px;height:12px}.view-menu{position:absolute;left:0;bottom:98px;width:268px;padding:8px;border:1px solid #d2bd9e;border-radius:17px;background:#fff9eafa;box-shadow:0 14px 40px #795a3a22}.view-menu button{display:flex;align-items:center;text-align:left;gap:12px;width:100%;border:0;border-radius:10px;background:none;padding:12px;font-size:13px;font-weight:700}.view-menu button:hover,.view-menu button.active{background:#e9ead7}.view-menu small{display:block;color:#ac957a;font-size:10px;font-weight:400;margin-top:5px}.selection-panel{position:absolute;z-index:5;bottom:156px;left:30px;max-width:280px;background:#fff9ebf5;border:1px solid #d6c1a0;padding:14px 16px;border-radius:16px;box-shadow:0 5px 15px #795a3a12}.selection-panel strong{font-size:14px}.selection-panel p{font-size:11px;color:#a58b6e;margin:8px 0 12px;line-height:1.7}.mini-actions{display:flex;gap:7px}.mini-btn{padding:8px 11px;border:1px solid #d6c1a0;border-radius:9px;background:#f2e7d0;font-size:11px;min-height:35px;display:inline-flex;justify-content:center;align-items:center;gap:5px}.mini-btn svg{width:16px;height:16px}.mini-btn.primary{background:#dbe6cc;border-color:#bac8a5}.mini-btn.danger{background:#f2dbcf}.mini-btn:hover{filter:brightness(1.03)}.paint-panel{position:absolute;z-index:5;right:107px;top:37%;width:218px;padding:18px 17px;background:#fff9edf7;border:1px solid #d8c5a8;border-radius:15px;box-shadow:0 7px 25px #795a3a12}.paint-panel h2{font-size:15px;margin:7px 0 14px}.swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.swatch{width:35px;height:35px;border:3px solid #fff8e8;border-radius:50%;outline:1px solid #c8b392;box-shadow:1px 2px 0 #9a7e5b26}.swatch.active{outline:3px solid #776b47}.swatch:hover{transform:translateY(-2px)}.paint-panel p{font-size:10px;color:#9b8367;line-height:1.8}.text-btn{border:0;background:none;text-decoration:underline;text-underline-offset:4px;color:#8d785e;font-size:11px;padding:6px 0}.cafe-task{position:absolute;z-index:4;top:164px;right:28px;width:245px;padding:17px;border-radius:17px;background:#fff9eaf2;border:1px solid #d3bd99;box-shadow:3px 5px #b4946e18}.cafe-task .eyebrow{display:flex;align-items:center;justify-content:space-between}.cafe-task h3{font-size:14px;line-height:1.5;margin:11px 0 5px}.cafe-task p{font-size:11px;color:#9f896c;line-height:1.7;margin:6px 0 13px}.cafe-task button{width:100%;font-size:12px;min-height:42px}.next-action{border:1px solid #adb88a;background:#e3ebcd;padding:11px;border-radius:11px;box-shadow:0 0 0 3px #d6dcb667;animation:glow 2s ease-in-out infinite}.auto-badge{font-size:9px;border-radius:8px;background:#dbe6c8;color:#758961;padding:3px 6px}.eye-controls{position:absolute;bottom:161px;left:30px;z-index:3;text-align:center}.eye-controls>button{margin-bottom:6px}.eye-controls>div{display:flex;gap:6px}.eye-controls button{width:40px;height:36px;border:1px solid #d5c2a3;background:#fff9eaca;border-radius:11px;font-size:20px;touch-action:none}#bubbles{position:absolute;inset:0;pointer-events:none;z-index:2}.cat-bubble{position:absolute;max-width:210px;min-width:100px;transform:translate(-50%,-100%);border:1px solid #d9c6a7;border-radius:17px 18px 16px 4px;background:#fffdf2ed;color:#8c7259;padding:12px 15px;font-size:12px;line-height:1.8;text-align:center;box-shadow:2px 4px #98744a10;transition:opacity .25s}.cat-bubble small{display:block;font-size:9px;letter-spacing:.1em;color:#b79f80;margin-bottom:3px}.floating-heart{position:absolute;color:#c78479;font-size:22px;animation:float-heart 1.6s ease-out forwards}.toast{position:absolute;z-index:30;left:50%;top:117px;transform:translate(-50%,-8px);max-width:min(90vw,540px);border:1px solid #d4c2a3;background:#fffbf2f5;box-shadow:0 5px 20px #80623b14;border-radius:25px;padding:11px 21px;font-size:12px;line-height:1.7;text-align:center;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}.toast.show{opacity:1;transform:translate(-50%,0)}.loading{position:absolute;z-index:50;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f3ebdf;color:#9e8767;transition:opacity .5s;font-size:13px;letter-spacing:.06em}.loading>span svg{width:44px;height:44px;animation:glow 1.7s ease-in-out infinite}.book-overlay{position:fixed;z-index:20;inset:0;background:#493c2c33;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:35px 30px 32px}.sketchbook{position:relative;width:min(950px,100%);height:min(650px,calc(100dvh - 85px));background:#fff8e6;border:9px solid #b18b60;border-radius:14px 20px 20px 14px;box-shadow:4px 8px 0 #7c5c3d,0 25px 70px #382a2533,inset 3px 0 15px #c8ae812b;display:flex;flex-direction:column;padding:31px 33px 24px}.sketchbook:before{content:'';position:absolute;inset:5px;border:1px solid #ddc9a8;border-radius:3px;pointer-events:none}.sketchbook:after{content:'';position:absolute;top:110px;bottom:35px;width:1px;background:linear-gradient(#dec89b00,#ddc9a8,#dec89b00);left:50%;pointer-events:none;opacity:.4}.book-rings{position:absolute;top:-20px;left:40px;right:40px;height:34px;background:repeating-linear-gradient(90deg,transparent 0,transparent 30px,#6e604b 31px,#d5c8ae 34px,#8d7b60 37px,transparent 39px,transparent 52px);border-radius:8px;filter:drop-shadow(2px 2px 1px #694e3e44);pointer-events:none}.book-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;flex-shrink:0}.book-header h2{font-size:24px;letter-spacing:.08em;margin:6px 0 0}.book-header .round-btn{background:#f3e8cf;border-color:#d4bd98}.book-tabs{display:flex;gap:8px;border-bottom:1px solid #ddc9a7;padding-bottom:12px;flex-shrink:0}.book-tabs button{border:1px solid #d3bd96;border-radius:6px 10px 3px 3px;padding:8px 25px;background:#e5eacf;font-size:12px;letter-spacing:.07em;box-shadow:1px 2px 0 #b2976b20}.book-tabs button:nth-child(2){background:#edd1ca}.book-tabs button:nth-child(3){background:#cde1e2}.book-tabs button:nth-child(4){background:#e8dfbd}.book-tabs button.active{transform:translateY(-3px);border-bottom:3px solid #8b7552;font-weight:800}.book-content{flex:1;min-height:0;overflow:auto;padding:18px 2px 20px;scrollbar-width:thin;scrollbar-color:#c5aa82 transparent;position:relative;z-index:1}.tape{position:absolute;z-index:2;width:110px;height:29px;background:repeating-linear-gradient(45deg,#cddbb3aa,#cddbb3aa 10px,#dce7c7aa 10px,#dce7c7aa 20px);pointer-events:none;clip-path:polygon(0 10%,98% 0,95% 18%,100% 31%,96% 45%,100% 60%,97% 76%,100% 94%,2% 100%,4% 85%,0 72%,4% 58%,0 44%,3% 30%)}.tape-one{top:9px;left:23%;transform:rotate(-6deg);opacity:.7}.tape-two{right:20px;bottom:6px;transform:rotate(-4deg);background:#e4d3a785;opacity:.7}.page-number{position:absolute;bottom:9px;left:32px;font-size:9px;letter-spacing:.1em;color:#b09876}.furniture-intro{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:17px}.furniture-intro p{margin:0;font-size:12px;line-height:1.7;color:#9b8263}.furniture-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.furniture-card{border:1px solid #e3d1ae;border-radius:4px 10px 6px 8px;background:#fffbee;padding:10px 10px 12px;box-shadow:1px 3px #c9ac7e16;display:flex;flex-direction:column;align-items:center;text-align:center}.furniture-card .furn-drawing{height:88px;width:100%;display:grid;place-items:center;background:radial-gradient(ellipse,#eee2c559,transparent 68%);color:#947251}.furn-drawing svg{width:76px;height:76px;stroke-width:1.25}.furniture-card h3{font-size:12px;margin:8px 0 5px;letter-spacing:.025em}.furniture-card p{font-size:9px;line-height:1.7;color:#a68c6c;margin:0 0 8px;min-height:30px}.furniture-card .mini-btn{font-weight:700;width:100%;margin-top:auto;font-size:11px}.furniture-card .dimensions{font-size:9px;color:#b49d7e;margin:0 0 9px}.cat-tabs{display:flex;gap:8px;margin-bottom:19px}.cat-tabs button{display:flex;align-items:center;gap:8px;background:#f8edd6;border:1px solid #ddc5a1;border-radius:11px;padding:5px 15px;font-size:12px}.cat-tabs button.active{background:#e4e9cd;border-color:#bcc79e}.cat-tabs img{width:33px;height:36px;object-fit:contain}.cat-spread{display:grid;grid-template-columns:1fr 1fr;gap:34px;padding:0 13px}.polaroid{position:relative;transform:rotate(-3deg);background:#fffdf6;padding:16px 15px 26px;box-shadow:0 5px 12px #86613a25;border:1px solid #e0d1b7;max-width:310px;margin:9px auto 14px}.polaroid:before{content:'';position:absolute;top:-8px;left:28%;width:100px;height:25px;background:repeating-linear-gradient(45deg,#c4d9a6a6,#c4d9a6a6 8px,#ead7aaa6 8px,#ead7aaa6 16px);transform:rotate(4deg)}.polaroid .photo-mat{background:#ece0bf;display:grid;place-items:center;aspect-ratio:1.2}.polaroid img{width:95%;height:215px;object-fit:contain}.polaroid p{margin:13px 0 -7px;text-align:center;font-size:10px;letter-spacing:.12em;color:#9b8060}.cat-bio h3{font-size:25px;letter-spacing:.12em;margin:16px 0 8px}.cat-bio>p{color:#ad9171;font-size:12px;line-height:1.9;margin:5px 0}.cat-note{padding:15px 17px;background:#e1e6c6d9;transform:rotate(2deg);font-size:15px;letter-spacing:.07em;margin:18px 0 15px;border-radius:2px 6px 4px 1px}.cat-note:nth-of-type(2){background:#d0e2e1;transform:rotate(-2deg);margin-left:30px}.cat-details{display:flex;flex-direction:column;justify-content:center}.cat-details h4{font-size:12px;letter-spacing:.08em;margin:15px 0 9px;color:#9d8160}.paw-rating{display:flex;gap:6px;color:#bc8877}.paw-rating svg{width:23px;height:23px;fill:#bc887735;stroke-width:1.3}.cat-details p{font-size:12px;color:#9c8364;line-height:1.8}.cat-detail-actions{display:flex;gap:8px;margin-top:17px;flex-wrap:wrap}.cafe-spread{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:10px 17px}.cafe-title{font-size:25px;letter-spacing:.06em;margin:15px 0}.cafe-description{font-size:12px;color:#9e8667;line-height:2.1;margin:10px 0 23px}.cafe-stamp{height:90px;width:90px;display:grid;place-items:center;border:2px dashed #b89d71;border-radius:50%;transform:rotate(-9deg);color:#b19770;margin:13px auto}.cafe-stamp svg{width:43px;height:43px;stroke-width:1.2}.cafe-metrics{display:flex;gap:15px;margin:19px 0}.cafe-metrics>div{padding:12px 17px;border-radius:11px;background:#e8ead4;flex:1}.cafe-metrics small{font-size:10px;color:#a18c6b;display:block}.cafe-metrics strong{font-size:22px;display:block;margin-top:6px}.cafe-menu-note{background:#f4ead2;border:1px dashed #d5bd95;border-radius:8px;padding:19px;margin:10px 0}.cafe-menu-note h3{font-size:15px;margin:0 0 16px}.cafe-menu-note p{font-size:12px;color:#9d8361;line-height:2.1}.cafe-menu-note label{display:flex;align-items:center;gap:10px;font-size:12px;cursor:pointer}.cafe-menu-note input{accent-color:#91a576;width:18px;height:18px}.large-btn{width:100%;padding:13px 20px;background:#dce6c7;border:1px solid #b5c39e;border-radius:12px;font-weight:700;box-shadow:0 3px #bcc7a7;margin-top:12px;font-size:13px}.large-btn:hover{filter:brightness(1.03);transform:translateY(-1px)}.settings-page{max-width:640px;margin:auto;padding:5px 10px;font-size:12px;line-height:2;color:#9b8262}.settings-page h3{font-size:20px;margin:12px 0;color:#6d533d}.settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 22px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:18px}.help-grid>div{padding:15px;background:#f4ebd5;border:1px solid #e2ccaa;border-radius:12px}.help-grid h4{margin:0 0 8px;font-size:13px}.help-grid p{font-size:11px;color:#9c8361;line-height:1.9;margin:0}.help-grid svg{width:22px;height:22px;margin-bottom:6px}.save-error{color:#b56a51}.error-panel{max-width:430px;background:#fff9ec;padding:30px;border-radius:18px;border:1px solid #d4bd96;line-height:2}.error-panel h2{font-size:20px}.error-panel p{font-size:13px}.error-panel button{margin:15px 0 0}@keyframes glow{50%{box-shadow:0 0 0 5px #c7d19c38;opacity:.8}}@keyframes float-heart{0%{opacity:0;transform:translateY(0) scale(.7)}25%{opacity:1}100%{opacity:0;transform:translateY(-90px) scale(1.2)}}@media(min-width:1500px){.pet-panel{top:190px;left:40px}.topbar{top:30px;left:40px;right:40px}.bottom-hud{left:40px;right:40px;bottom:55px}.main-menu .wood-btn{min-width:105px;min-height:95px}.hint{bottom:17px}.scene-caption{top:116px;left:42px}.scene-tag{left:42px;top:140px}}@media(max-width:1050px){.room-label{display:none}.pet-panel{left:20px;width:166px;padding:14px 12px;top:150px}.cat-choice{width:39px;height:44px}.pet-panel .eyebrow{font-size:8px;letter-spacing:.08em}.topbar{left:20px;right:20px;top:20px}.brand h1{font-size:20px}.brand p{font-size:8px}.brand-mark{width:44px;height:46px}.scene-caption{left:23px;top:89px;font-size:10px}.bottom-hud{left:20px;right:20px;bottom:39px}.main-menu{gap:9px}.main-menu .wood-btn{min-width:77px;min-height:78px;padding:11px}.view-btn{min-width:185px;padding:12px}.view-btn strong{font-size:12px}.photo-btn{display:none}.care-buttons{right:20px}.cafe-task{right:20px;top:120px;width:220px}.furniture-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.selection-panel{left:20px;bottom:140px}.paint-panel{right:94px}.hint{font-size:9px}.saved-label{right:20px;font-size:8px}.scene-tag{left:23px;top:110px}.cat-bubble{font-size:11px;max-width:180px}.cat-spread{gap:25px;padding:0 4px}}@media(max-width:700px){.topbar{left:14px;right:14px;top:max(16px,env(safe-area-inset-top));gap:8px;align-items:flex-start}.brand{gap:8px}.brand h1{font-size:16px;letter-spacing:.03em;margin-top:2px}.brand p{font-size:6px;letter-spacing:.17em}.brand-mark{width:34px;height:37px;border-radius:9px 11px 8px 11px}.brand-mark svg{width:22px;height:22px}.top-right{gap:7px}.wallet{gap:6px;height:33px;padding:0 9px;border-radius:10px}.wallet svg{width:17px;height:17px}.wallet strong{font-size:17px}.wallet small{display:none}.top-right .round-btn{width:30px;height:30px}.top-right .round-btn svg{width:16px;height:16px}#helpBtn{display:none}.scene-caption{top:75px;left:17px;font-size:8px;gap:7px}.scene-caption i{width:14px}.pet-panel{top:115px;left:13px;width:61px;padding:8px 5px 10px;border-radius:15px;background:#fff9e9bd;transform:none}.pet-panel:before{display:none}.pet-panel>.eyebrow{display:none}.cat-choices{flex-direction:column;gap:5px;margin:0}.cat-choice{width:43px;height:46px}.pet-name{justify-content:center;margin-top:5px;gap:2px}.pet-name strong{font-size:10px;letter-spacing:0}.pet-name>span{display:none}.small-stat{margin-top:6px;gap:3px;justify-content:center}.small-stat svg{width:11px;height:11px}.small-stat>div{display:none}.small-stat>span:last-child{font-size:9px}.care-buttons{right:12px;top:40%;gap:10px}.care-btn{width:46px;height:49px;border-radius:14px;gap:3px}.care-btn svg{width:19px;height:19px}.care-btn small{font-size:8px}.bottom-hud{left:14px;right:14px;bottom:max(37px,calc(env(safe-area-inset-bottom) + 13px));align-items:center;gap:11px}.view-group{flex-shrink:0}.view-btn{min-width:0;min-height:60px;width:59px;padding:9px;flex-direction:column;gap:2px;border-radius:11px}.view-btn svg{width:22px;height:22px}.view-btn>span:nth-child(2){align-items:center}.view-btn small{font-size:8px;color:#7d6145;white-space:nowrap}.view-btn strong,.chevron{display:none}.view-menu{width:240px;bottom:83px}.main-menu{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;flex:1}.main-menu .wood-btn{min-width:0;min-height:63px;padding:8px 3px;gap:4px;border-radius:9px}.main-menu .wood-btn svg{width:22px;height:22px}.main-menu .wood-btn strong{font-size:9px;white-space:nowrap;letter-spacing:0}.scene-tag{left:17px;top:94px;font-size:8px;max-width:calc(100vw - 34px);line-height:1.4}.tiny-paw{display:none}.hint{left:12px;right:12px;bottom:max(7px,calc(env(safe-area-inset-bottom) - 10px));font-size:8px;letter-spacing:.01em}.saved-label{display:none}.cat-bubble{font-size:10px;max-width:155px;min-width:90px;padding:9px 11px;border-radius:13px 13px 12px 3px}.cat-bubble small{font-size:8px}.toast{top:91px;font-size:10px;padding:9px 13px;border-radius:13px;max-width:85vw}.selection-panel{bottom:139px;left:13px;max-width:238px;padding:11px 12px}.selection-panel strong{font-size:12px}.selection-panel p{font-size:10px;margin:5px 0 9px}.mini-btn{font-size:10px;padding:8px 10px}.paint-panel{right:69px;top:auto;bottom:146px;width:192px;padding:14px}.paint-panel h2{font-size:12px;margin:7px 0 12px}.swatches{gap:7px}.swatch{width:32px;height:32px}.paint-panel p{font-size:9px}.paint-panel .eyebrow{font-size:8px}.cafe-task{top:108px;right:13px;width:204px;padding:12px;border-radius:13px}.cafe-task h3{font-size:12px;margin:8px 0 3px}.cafe-task p{font-size:10px;margin:5px 0 9px}.cafe-task .eyebrow{font-size:8px}.cafe-task button{font-size:10px;min-height:37px;padding:9px}.book-overlay{padding:33px 13px 20px}.sketchbook{width:100%;height:min(760px,calc(100dvh - 75px));padding:27px 15px 25px;border-width:6px;border-radius:11px;box-shadow:3px 5px 0 #7c5c3d,0 18px 55px #382a2533}.sketchbook:after{display:none}.book-rings{left:20px;right:20px;top:-17px;height:29px;background-size:auto}.book-header{margin-bottom:13px;gap:6px}.book-header h2{font-size:17px;margin-top:7px;letter-spacing:.03em}.book-header .eyebrow{font-size:7px}.book-header .round-btn{width:30px;height:30px}.book-tabs{gap:7px;padding-bottom:10px}.book-tabs button{font-size:10px;flex:1;padding:7px 3px;letter-spacing:0}.book-content{padding-top:14px}.tape-one{left:31%;width:75px;top:10px;height:20px}.tape-two{width:75px;height:20px}.page-number{left:20px;bottom:9px;font-size:7px}.furniture-intro{margin-bottom:13px}.furniture-intro p{font-size:10px}.furniture-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.furniture-card{padding:7px 8px 10px}.furniture-card .furn-drawing{height:66px}.furn-drawing svg{width:60px;height:60px}.furniture-card h3{font-size:10px;margin:5px 0}.furniture-card p{font-size:8px;min-height:27px;margin-bottom:6px}.furniture-card .dimensions{font-size:8px;margin-bottom:7px}.furniture-card .mini-btn{font-size:9px;padding:7px 5px;min-height:33px}.cat-tabs{gap:6px;margin-bottom:12px}.cat-tabs button{padding:5px 7px;font-size:10px;gap:4px;flex:1;justify-content:center}.cat-tabs img{width:24px;height:28px}.cat-spread{grid-template-columns:1fr;gap:5px;padding:0 7px}.polaroid{max-width:218px;padding:12px 12px 21px;margin:10px auto 17px}.polaroid img{height:164px}.cat-bio h3{font-size:19px;margin:8px 0 5px}.cat-bio>p{font-size:10px}.cat-details{padding-bottom:15px}.cat-note{font-size:12px;padding:10px 13px;margin:10px 0 11px;max-width:245px}.cat-note:nth-of-type(2){margin-top:0}.cat-details h4{font-size:10px;margin:9px 0 6px}.paw-rating svg{width:19px;height:19px}.cat-details p{font-size:10px}.cat-detail-actions{margin-top:10px;gap:6px}.cafe-spread{grid-template-columns:1fr;gap:5px;padding:0 7px}.cafe-stamp{float:right;width:65px;height:65px;margin:9px 8px}.cafe-stamp svg{width:31px;height:31px}.cafe-title{font-size:20px;margin:16px 0}.cafe-description{font-size:11px;line-height:2;margin-bottom:15px}.cafe-metrics{gap:11px;margin:12px 0}.cafe-metrics>div{padding:10px 14px}.cafe-metrics strong{font-size:20px}.cafe-menu-note{padding:14px;margin:9px 0}.cafe-menu-note h3{font-size:13px}.cafe-menu-note p{font-size:10px}.cafe-menu-note label{font-size:11px}.settings-page{font-size:11px;padding:0 4px}.settings-page h3{font-size:17px}.settings-actions{gap:7px;margin-bottom:17px}.help-grid{grid-template-columns:1fr;gap:10px;margin-top:12px}.help-grid>div{padding:12px}.help-grid h4{font-size:12px}.help-grid p{font-size:10px}.eye-controls{left:86px;bottom:149px}.eye-controls button{width:34px;height:32px;font-size:18px}}@media(max-height:550px) and (min-width:701px){.topbar{top:12px}.brand h1{font-size:17px}.brand-mark{height:36px;width:36px}.brand p{font-size:6px}.wallet{height:34px}.wallet strong{font-size:18px}.top-right .round-btn{height:30px;width:30px}.scene-caption{top:69px}.pet-panel{top:112px;width:151px;padding:10px}.pet-panel .eyebrow{display:none}.cat-choices{margin:4px 0}.cat-choice{width:35px;height:38px}.pet-name strong{font-size:14px}.pet-name>span{font-size:8px}.bottom-hud{bottom:28px}.view-btn{min-height:59px;min-width:163px}.view-btn strong{font-size:10px}.main-menu .wood-btn{min-height:61px;min-width:70px;padding:8px}.main-menu .wood-btn svg{width:23px;height:23px}.main-menu .wood-btn strong{font-size:10px}.scene-tag{top:88px;font-size:8px}.hint{bottom:4px}.care-buttons{top:30%;gap:8px}.care-btn{width:48px;height:48px;gap:2px;border-radius:13px}.care-btn svg{width:18px;height:18px}.care-btn small{font-size:8px}.cafe-task{top:90px;width:205px;padding:12px}.cafe-task h3{font-size:11px}.cafe-task p{font-size:10px}.cafe-task button{font-size:10px}.paint-panel{top:100px;padding:13px;width:196px}.selection-panel{bottom:111px;padding:10px 13px}.sketchbook{height:calc(100dvh - 52px);padding:23px 25px 23px}.book-header h2{font-size:19px}.book-header{margin-bottom:11px}.book-tabs{padding-bottom:8px}.book-tabs button{padding:6px 19px;font-size:11px}.book-content{padding-top:12px}.polaroid img{height:175px}.cat-spread{gap:26px}.furniture-card .furn-drawing{height:59px}.furn-drawing svg{height:55px;width:55px}.cafe-title{font-size:20px;margin:8px 0}.cafe-description{font-size:11px;margin-bottom:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.cafe-active .care-buttons{top:auto;bottom:160px}
@media(max-width:700px){.cafe-active .care-buttons{bottom:151px}}

@media(min-width:701px) and (min-height:551px){.sketchbook{height:min(700px,calc(100dvh - 85px))}.furniture-card .furn-drawing{height:66px}.furn-drawing svg{width:62px;height:62px}.furniture-card p{min-height:24px;margin-bottom:5px}.furniture-card .dimensions{margin-bottom:6px}}

.location-switch{position:absolute;z-index:5;top:112px;right:29px;display:flex;align-items:center;gap:7px;border:1px solid #cfb996;border-radius:12px;padding:9px 13px;background:#fff9e9ed;box-shadow:0 3px #d4bd973d;font-size:11px}.location-switch svg{height:17px;width:17px}.profile-form{padding:14px;margin:12px 0;border:1px dashed #cbb58d;background:#f6edd8;border-radius:10px}.profile-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;margin-bottom:7px;font-weight:700}.profile-form input,.profile-form select{width:100%;min-height:39px;border:1px solid #c5b08d;background:#fffbee;border-radius:8px;padding:8px 10px;color:#6d523b;font:inherit;font-weight:400}.profile-form>small{font-size:9px;color:#a58c6a;display:block;margin:0 0 10px}.profile-form p{font-size:10px;line-height:1.8;margin:8px 0 12px}.profile-form .profile-error{color:#b26651}.guest-card{display:flex;gap:10px;align-items:center;margin:9px 0 6px}.guest-card img{width:39px;height:46px;object-fit:contain;background:#eee3ca;border-radius:9px;padding:2px}.guest-card strong{display:block;font-size:12px}.guest-card small{display:block;font-size:9px;color:#a68c6c;margin-top:3px}.cafe-task .guest-card+h3{font-size:12px}.visitor-bubble{background:#f6fae8f2;font-size:10px;max-width:175px}.cafe-task .text-btn{display:block;text-align:center;width:100%;font-size:10px;margin-top:5px}@media(max-width:700px){.location-switch{top:72px;right:13px;padding:6px 9px;border-radius:10px;font-size:9px;min-height:28px}.location-switch svg{width:14px;height:14px}.cafe-task{top:115px}.guest-card{margin:6px 0;gap:7px}.guest-card img{width:30px;height:35px}.guest-card strong{font-size:10px}.guest-card small{font-size:8px}.cafe-task .guest-card+h3{font-size:10px}.profile-form{padding:11px}.profile-form input,.profile-form select{font-size:16px}.profile-form label{font-size:10px}.profile-form .mini-btn{min-height:36px}.visitor-bubble{font-size:9px;max-width:150px}}
.main-menu .wood-btn{width:62px;min-width:62px;min-height:62px;padding:13px;gap:0}.main-menu .wood-btn>span{display:grid;place-items:center}.main-menu .wood-btn strong.menu-tooltip{position:absolute;bottom:calc(100% + 12px);left:50%;width:max-content;padding:8px 12px;border:1px solid #d6c09f;border-radius:10px;background:#fff9e9f5;box-shadow:0 3px 12px #6a4b2420;font-size:12px;white-space:nowrap;opacity:0;visibility:hidden;transform:translate(-50%,5px);transition:opacity .15s,transform .15s,visibility .15s;pointer-events:none;z-index:8}.main-menu .wood-btn:hover strong.menu-tooltip,.main-menu .wood-btn:focus-visible strong.menu-tooltip{opacity:1;visibility:visible;transform:translate(-50%,0)}.main-menu .wood-btn:last-child strong.menu-tooltip{left:auto;right:0;transform:translateY(5px)}.main-menu .wood-btn:last-child:hover strong.menu-tooltip,.main-menu .wood-btn:last-child:focus-visible strong.menu-tooltip{transform:translateY(0)}
.character-kind-tabs{display:flex;gap:8px;margin:0 0 15px}.character-kind-tabs button{min-height:36px;border:1px solid #d8c4a4;border-radius:20px;padding:7px 18px;background:#f6ecd6;font-size:12px}.character-kind-tabs button.active{background:#e1e9d3;border-color:#adbe97}.people-tabs{flex-wrap:wrap}.person-photo img{object-fit:contain}.person-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 12px}.person-details h4{font-size:16px}.person-details p{line-height:1.9;color:#a58c70;font-size:11px}.expression-editor{border-top:1px dashed #d5bf9b;padding-top:10px;margin-top:16px}.expression-editor>p{font-size:10px;line-height:1.8;color:#a58c70}.expression-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.expression-card{background:#f8efd9;border:1px solid #dfccaa;border-radius:10px;padding:9px;display:flex;align-items:center;flex-direction:column;gap:5px}.expression-card img{width:65px;height:69px;object-fit:contain}.expression-card strong{font-size:10px}.expression-card .mini-btn{font-size:10px;padding:6px 8px}.expression-card .text-btn{font-size:9px;padding:3px}.behavior-buttons{display:flex;gap:7px;flex-wrap:wrap}.behavior-editor p{font-size:10px;line-height:1.8;color:#a58c70}.behavior-label{font-size:10px;color:#9c9472;margin:8px 0 0}.behavior-mark{position:absolute;transform:translate(-50%,-100%);font-size:14px;color:#8a84a0;background:#fff9e9c9;padding:3px 9px;border-radius:10px;pointer-events:none}.expansion-card{display:flex;gap:15px;justify-content:space-between;align-items:center;margin:0 0 18px;padding:14px 17px;background:#e6ecd7;border:1px solid #c9d5b4;border-radius:13px}.expansion-card h3{font-size:15px;margin:6px 0}.expansion-card p{font-size:11px;line-height:1.8;margin:5px 0}.expansion-card .mini-btn{flex-shrink:0}
@media(max-width:700px){.main-menu{display:flex;justify-content:flex-end;gap:9px}.main-menu .wood-btn{width:48px;min-width:44px;min-height:52px;padding:10px;flex:0 1 48px}.main-menu .wood-btn strong.menu-tooltip{font-size:11px;padding:7px 10px}.character-kind-tabs{margin-bottom:12px}.character-kind-tabs button{font-size:11px;min-height:34px;padding:7px 14px}.people-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.person-actions{gap:8px;margin:12px 0}.person-actions .mini-btn{min-height:42px}.behavior-label{font-size:8px;text-align:center}.expansion-card{align-items:stretch;flex-direction:column;padding:12px;gap:5px}.expansion-card h3{font-size:13px}.expansion-card p{font-size:10px}.expression-card .mini-btn{min-height:36px}.behavior-buttons .mini-btn{min-height:39px}}

.visitor-queue{border-top:1px dashed #dbc9aa;border-bottom:1px dashed #dbc9aa;padding:8px 0;margin:8px 0}.visitor-queue>small{display:block;font-size:9px;line-height:1.7;color:#9c8669}.waiting-faces{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.waiting-faces>span{display:flex;align-items:center;gap:4px;font-size:10px;background:#eee9d3;border-radius:9px;padding:3px 6px}.waiting-faces img{width:23px;height:28px;object-fit:contain}.character-kind-tabs{flex-wrap:wrap}@media(max-width:700px){.character-kind-tabs{gap:5px}.character-kind-tabs button{padding:8px 10px;font-size:10px}.visitor-queue{padding:5px 0;margin:5px 0}.visitor-queue>small{font-size:8px}.waiting-faces{gap:4px;margin:4px 0}.waiting-faces>span{font-size:8px}.waiting-faces img{width:18px;height:22px}}

.behavior-mark{font-family:'Uzura',var(--font);border:3px solid white;background:#fff9e9ed;border-radius:13px;box-shadow:0 3px 5px #78583822}
