html{min-height:100%;background:#fff3e5}body{max-width:520px;margin:0 auto;overflow:auto;padding:14px 14px calc(18px + env(safe-area-inset-bottom));font-size:15px}*{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}button{font-size:13px;min-height:40px;padding:10px 7px}.header{height:66px}.title{font-size:28px}.sup{font-size:10px}.level b{font-size:26px}.money{font-size:15px}.money div{min-width:100px;padding:5px}.money img{width:22px;height:22px;object-fit:contain}.money .add{width:24px;height:24px;min-height:24px}.scene,body[data-v=home] .scene{height:290px;border-radius:18px}body[data-v=market] .scene,body[data-v=closet] .scene{height:330px}body[data-v=farm] .scene{height:auto;aspect-ratio:8/5}body[data-v=work] .scene{height:270px}.cats{width:100px}.cats button{font-size:12px;min-height:38px;padding:7px 3px}.layer{max-width:none}#bg{object-fit:cover}#npc{inset:auto 3% 6% auto;width:43%;height:84%;object-fit:contain;object-position:right bottom}#crop{position:absolute;pointer-events:none}#boost-icon{position:absolute;inset:10%;width:80%;height:80%;object-fit:contain}.stat{font-size:14px;margin:9px 0}.stat .statname{width:96px}.track{height:8px}.stat small{font-size:12px;width:42px}.say{font-size:13px!important;line-height:17px;height:auto;min-height:52px}.grid{gap:7px;margin:10px 0}.info{font-size:14px;line-height:1.55}.bottom{gap:8px}.busy button[data-a]{cursor:progress}#art-wait{position:absolute;bottom:8px;left:20px;right:20px;text-align:center;color:#8c725b;font-size:12px;background:#fff8e9e0;border-radius:12px;pointer-events:none}#boot{min-height:85vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center}#boot b{font-size:34px}#boot p{max-width:300px;line-height:1.6}#retry{padding:12px 25px}.reader{padding:12px 0}.reader h2{font-size:23px;margin:12px 0}.reader p{font-size:12px;color:#967358}.reader article{white-space:pre-wrap;font-size:17px;line-height:1.7;color:#4e332a;padding:12px 2px}.reader-actions{display:grid;gap:10px;margin:15px 0}.reader-actions button{font-size:15px;text-align:left;padding:13px}.energy{padding:14px;background:#e8f5ff;border:1px solid #c0dcf0;border-radius:16px}.energy p{margin:0 0 10px}.energy>div{display:grid;gap:7px}.toast{position:fixed;z-index:50;bottom:18px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 30px);border:1px solid #ebc6a2;border-radius:16px;padding:12px 18px;background:#fff9f0f5;color:#68412d;box-shadow:0 3px 20px #60372725;pointer-events:none;font-size:14px}.modal{position:fixed;inset:0;z-index:80;background:#35201370;display:flex;align-items:center;justify-content:center;padding:20px}.modal>section{position:relative;background:#fff7eb;border-radius:24px;padding:24px;max-width:420px;max-height:90vh;overflow:auto;box-shadow:0 12px 50px #27150e60;width:100%}.modal h2{font-size:22px;margin-top:10px}.modal p{white-space:pre-wrap;line-height:1.6}.modal-actions{display:grid;gap:10px}.modal-actions input[type=number]{font:inherit;padding:12px;border:1px solid #e4c09e;border-radius:12px;width:100%;background:#fffdf7}.modal-actions label{font-size:13px;line-height:1.5}.modal-close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:22px;min-height:30px}.inactive *{animation-play-state:paused!important}[hidden]{display:none!important}body[data-reader=book] #hero,body[data-reader=book] #info,body[data-reader=novel] #info{display:none!important}body[data-reader=novel] .scene{height:225px!important}body[data-reader=novel] #custom{display:none!important}body[data-reader=novel] .header .money,body[data-reader=novel] .header .level{display:block}footer{gap:8px;flex-wrap:wrap;font-size:11px;padding-top:12px}footer .progress{width:100%;font-size:12px;order:2}body[data-c=text] #info{font-size:15px!important}body[data-c=text] .header{height:58px}body[data-c=pet] .header .money,body[data-c=pet] .header .level{display:block!important}@media(max-width:360px){body{padding:10px}.title{font-size:23px}.sup{font-size:8px}.money div{min-width:84px}.money{font-size:13px}.level b{font-size:23px}.cats{width:88px}.cats button{font-size:11px}.scene,body[data-v=home] .scene{height:250px}button{font-size:12px}.stat .statname{width:84px}}
body[data-c=text] #home,body[data-c=pet] #home{display:block}body[data-c=pet] #info{font-size:15px!important}body[data-c=text] .header .money{display:grid!important}body[data-c=text] .header .level{display:block!important}
