@font-face{font-family:ApartmentUI;src:url(../assets/fonts/ui-subset.woff)format("woff");font-display:swap}:root{color:#4d4c40;font-synthesis:none;background:#fbf6e8;font-family:ApartmentUI,ui-sans-serif,system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;background:#fbf6e8e8;border:1px solid #6b695b38;border-radius:50%;width:36px;height:36px}button:hover{background:#fffdf5}button:focus-visible,a:focus-visible{outline-offset:3px;outline:2px solid #8b5c3d}#world{touch-action:none;width:100%;height:100%;display:block}header{pointer-events:none;position:fixed;top:35px;left:40px}.eyebrow{letter-spacing:.22em;color:#858374;font-size:9px;display:block}h1{letter-spacing:-.055em;margin:13px 0 12px;font-size:54px;font-weight:450;line-height:1}.subtitle{letter-spacing:.16em;color:#777466;font-size:11px}nav{gap:7px;display:flex;position:fixed;top:32px;right:34px}#home-view{border-radius:20px;width:58px;font-size:11px}#loading{letter-spacing:.15em;background:#fbf6e8;place-items:center;font-size:13px;transition:opacity .5s;display:grid;position:fixed;inset:0}#loading.done{opacity:0;pointer-events:none}#hint{color:#514c42;pointer-events:none;white-space:nowrap;background:#fbf6e8ef;border-radius:4px;min-height:0;padding:9px 17px;font-size:12px;position:fixed;bottom:72px;left:50%;transform:translate(-50%)}#hint:empty{display:none}footer{text-align:center;letter-spacing:.08em;color:#888275;pointer-events:none;font-size:10px;position:fixed;bottom:27px;left:0;right:0}.sep{color:#b4ac99;margin:0 18px}.touch-help{display:none}dialog{color:#514c42;background:#fbf6e8;border:1px solid #6b695b45;border-radius:8px;max-width:min(680px,92vw);padding:34px}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#343b3d33}.close{background:0 0;border:0;width:26px;height:26px;font-size:20px;position:absolute;top:8px;right:8px}.screen-frame{background:#373b39;border-radius:5px;padding:9px;box-shadow:0 12px 30px #332d281f}.screen-frame img{width:min(570px,76vw);height:auto;display:block}#credits-dialog{max-width:480px;font-size:13px;line-height:1.8}#credits-dialog h2{font-size:20px;font-weight:500}#credits-dialog a{color:#6a795b}#joystick,#touch-actions{display:none}@media (pointer:coarse){header{top:23px;left:22px}h1{margin:8px 0;font-size:38px}.eyebrow{font-size:7px}.subtitle{font-size:10px}nav{gap:4px;top:22px;right:18px}nav button{width:30px;height:30px}#home-view{width:48px;font-size:10px}.desktop-help{display:none}.touch-help{display:inline}footer{bottom:max(18px,env(safe-area-inset-bottom));font-size:9px}#joystick{touch-action:none;background:#f7f1df99;border:1px solid #6b695b40;border-radius:50%;width:92px;height:92px;display:block;position:fixed;bottom:68px;left:28px}#stick{pointer-events:none;background:#7a8061a8;border-radius:50%;width:34px;height:34px;position:absolute;top:28px;left:28px}#touch-actions{gap:9px;display:flex;position:fixed;bottom:80px;right:24px}#touch-actions button{touch-action:none;width:46px;height:46px;font-size:11px}#hint{font-size:11px;bottom:176px}}.screen-frame img{max-width:100%}@media (max-width:600px){#note-dialog{padding:34px 16px 20px}}@media (pointer:coarse) and (orientation:landscape){#hint{inset:76px 24px auto auto;transform:none}}#cat-view{border-radius:20px;width:58px;font-size:11px}#cat-view[aria-pressed=true]{color:#fffdf4;background:#818a68;border-color:#70795c}@media (pointer:coarse){#cat-view{width:48px;font-size:10px}}@media (pointer:coarse) and (max-width:360px){nav{gap:3px;right:12px}nav button{width:28px;height:28px}#home-view,#cat-view{width:44px}.eyebrow{letter-spacing:.18em;font-size:6px}}body[data-view-mode=cat] header{background:#f7f2e3eb;border-radius:7px;padding:10px 14px;top:20px;left:24px}body[data-view-mode=cat] h1{margin:7px 0;font-size:32px}body[data-view-mode=cat] footer{background:#f7f2e3eb;border-radius:5px;width:-moz-fit-content;width:fit-content;max-width:94vw;margin:0 auto;padding:8px 12px}@media (pointer:coarse){body[data-view-mode=cat] header{padding:8px 10px;top:16px;left:16px}body[data-view-mode=cat] header .eyebrow,body[data-view-mode=cat] header .subtitle{display:none}body[data-view-mode=cat] h1{margin:0;font-size:28px}}.close{z-index:1;color:#776a59;place-items:center;width:36px;height:36px;padding:0;line-height:1;display:grid;top:10px;right:10px}.close svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;pointer-events:none;width:18px;height:18px;display:block}.close:hover{background:#e9dfcf80}#note-dialog{background:#fbf4e7;border:1px solid #dccdb5;border-radius:8px;width:min(520px,100vw - 36px);max-width:none;padding:0;overflow:visible;box-shadow:0 18px 60px #39362c21}#note-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#4e463225}.birthday-note{border-radius:inherit;background:linear-gradient(125deg,#fff9ef,#f8eedd);flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:300px;padding:64px 30px 52px;display:flex}#birthday-message{color:#805945;letter-spacing:.035em;white-space:nowrap;margin:0;font-family:Noto Serif SC,Songti SC,STSong,SimSun,serif;font-size:clamp(28px,5.6vw,42px);font-weight:500;line-height:1.6}.note-heart{fill:none;stroke:#b77c69;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:34px;height:32px;display:block}@media (max-width:600px){.birthday-note{gap:14px;min-height:250px;padding:56px 24px 44px}}@media (max-height:400px){.birthday-note{min-height:230px;padding-top:48px;padding-bottom:36px}}[hidden]{display:none!important}#hint{pointer-events:auto;white-space:normal;background:0 0;flex-wrap:wrap;justify-content:center;gap:8px;max-width:90vw;padding:0;display:flex}#hint button{white-space:nowrap;background:#fbf6e8f0;border-radius:22px;width:auto;height:auto;min-height:38px;padding:8px 16px;font-size:12px}#world:focus{outline:none}#lock-site svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;vertical-align:middle;width:17px;height:17px}#site-dialog{background:#fbf6e8;width:min(980px,100vw - 28px);max-width:none;height:min(700px,100dvh - 40px);max-height:none;padding:0;overflow:hidden}#site-dialog[open]{flex-direction:column;display:flex}.site-toolbar{border-bottom:1px solid #dbd2bd;flex-shrink:0;align-items:baseline;gap:14px;padding:18px 64px 15px 22px;display:flex}.site-toolbar h2{margin:0;font-size:16px;font-weight:500}#site-origin{color:#8a816f;font:11px system-ui}#site-frame{background:#fffdf5;border:0;flex:1;width:100%;min-height:0;display:block}.site-footer{color:#837966;border-top:1px solid #dbd2bd;flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;padding:10px 18px;font-size:11px;display:flex}.site-footer details{text-align:right;max-width:65%}.site-footer summary{cursor:pointer}.site-footer p{max-width:360px;margin:7px 0}.site-footer button{border-radius:15px;width:auto;height:30px;padding:2px 14px;font-size:11px}@media (pointer:coarse){#hint button{min-height:40px;font-size:11px}#touch-actions{gap:7px;right:18px}#site-dialog{width:calc(100vw - 20px);height:calc(100dvh - 24px)}.site-toolbar{padding-left:15px}.site-toolbar h2{font-size:14px}}
