:root{font-family:Inter,"Segoe UI","Microsoft YaHei","Noto Sans JP",sans-serif;color:#29483e;background:#f5f3e9;font-synthesis:none;--ink:#29483e;--muted:#748077;--line:#dce1d3;--green:#416e53;--cream:#fffdf5;--orange:#d7815c}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:#fffdf8;color:var(--ink);border-radius:12px;min-height:44px;padding:10px 16px;font-weight:650;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#f1ecd9;transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:default;opacity:.52}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,canvas:focus-visible{outline:3px solid #de995d;outline-offset:3px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}select{background:#fffdf7;border:1px solid var(--line);border-radius:10px;padding:10px;color:inherit;max-width:100%;min-height:44px}p{line-height:1.75}h1,h2,h3,h4,p{margin-top:0}.primary{background:var(--green);color:#fffaf0;border-color:var(--green);box-shadow:0 3px 0 #2c503d;font-weight:700}.primary:hover:not(:disabled){background:#345c44}.wide{width:100%}.muted{color:var(--muted);font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.town-header{max-width:1500px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:22px 44px;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;gap:8px;align-items:center;font-size:23px;font-weight:850;letter-spacing:-.8px}.brand>span:last-child{font-weight:400}.brand-star{font-size:32px;color:var(--orange);margin-right:6px}.town-header nav{display:flex;align-items:center;gap:14px;font-size:13px}.town-header nav>a{margin-right:10px}.icon-button{width:44px;padding:0;border-radius:50%;font-size:19px}.town-main{max-width:1440px;margin:auto;padding:30px 44px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:var(--orange);margin-bottom:10px;text-transform:uppercase}h1{font-size:clamp(24px,3vw,36px);letter-spacing:-1px;margin-bottom:8px}.page-heading p:last-child{color:var(--muted);font-size:13px;margin:0}.wallet{display:flex;gap:12px;flex-shrink:0}.wallet>span{background:var(--cream);padding:10px 17px;border:1px solid #e3dfce;border-radius:13px;color:#b5813d;min-width:100px;font-size:20px}.wallet b{color:var(--ink);margin-left:5px}.wallet small{display:block;color:var(--muted);font-size:10px;padding-left:3px;margin-top:3px}.town-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:23px;align-items:stretch}.world-card{overflow:hidden;border:1px solid #d6ddcb;border-radius:20px;background:#e8eddd;box-shadow:0 8px 26px #36563b09;position:relative}.world-top{height:45px;display:flex;align-items:center;gap:9px;padding:0 22px;background:#fffdf6;font-size:11px;font-weight:650}.live-dot{width:6px;height:6px;border-radius:50%;background:#88ab79}.weather{margin-left:auto;font-size:12px;color:#bc9457}canvas{width:100%;height:470px;display:block;touch-action:none}.map-caption{position:absolute;top:57px;left:14px;right:14px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;font-size:10px;color:#466c4b}.map-caption>span:first-child{padding:7px 12px;background:#fffdf5c9;border-radius:20px;max-width:85%}.compass{background:#fffdf5c9;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:800}.world-controls{padding:12px 17px;background:#fffdf5;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px}.world-controls>.primary{font-size:11px;max-width:60%;min-height:43px;box-shadow:none}.dpad{display:flex;gap:5px}.dpad button{padding:0;width:35px;height:40px;min-height:40px;border-radius:9px;background:#f0f0e7;font-size:18px;touch-action:none;user-select:none}.quest-panel{padding:28px 24px;background:#fffdf5;border:1px solid #e2e1d1;border-radius:20px;display:flex;flex-direction:column;position:relative;overflow:hidden}.quest-number{font-size:44px;font-weight:350;color:#dbc5a2;letter-spacing:-3px;margin:4px 0 15px}.quest-panel h2{font-size:21px;line-height:1.4;letter-spacing:-.5px;margin-bottom:12px}.quest-panel>p:not(.eyebrow){font-size:13px;color:#748077;line-height:1.9;margin-bottom:20px}.quest-panel>.primary{width:100%;font-size:12px;margin-top:4px}.story-progress{margin-top:28px;font-size:11px}.story-progress>div{display:flex;justify-content:space-between;margin-bottom:9px;color:var(--muted)}.story-progress b{color:var(--ink)}progress{appearance:none;width:100%;height:6px;border:none;border-radius:10px;background:#e9ecdf;overflow:hidden}progress::-webkit-progress-bar{background:#e9ecdf}progress::-webkit-progress-value{background:#9ab57a;border-radius:10px}progress::-moz-progress-bar{background:#9ab57a}.journal{font-size:11px;margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.journal summary{cursor:pointer;min-height:30px;line-height:30px}.journal ol{padding:0;list-style:none;margin:12px 0}.journal li{display:flex;gap:10px;color:#90978d;line-height:1.6;margin:10px 0}.journal li>span{min-width:16px;color:#baa88c}.journal li.complete{color:#739371}.journal li.current{color:var(--ink);font-weight:750}.note{display:flex;gap:10px;align-items:center;font-size:10px;color:#809078;padding-top:23px;margin-top:auto}.note>span{font-size:22px}.note p{margin:0;line-height:1.7}.place-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.place-links>button{display:flex;align-items:center;text-align:left;padding:18px 22px;background:#fffdf5;border-color:#e1e2d4;border-radius:15px;gap:15px}.place-links>button>span{font-size:28px;width:46px;height:46px;border-radius:12px;background:#eef0e1;display:grid;place-items:center;color:#8c9d68}.place-links>button:nth-child(2)>span{background:#f7e6d4}.place-links>button:nth-child(3)>span{background:#e0eced;font-size:34px}.place-links b{font-size:13px;display:block}.place-links small{font-size:8px;letter-spacing:1.3px;color:#9b9f92;display:block;margin-top:7px}.place-links i{font-style:normal;color:#8d9c87;margin-left:auto}.save-status{font-size:11px;color:#8a9485;text-align:center;min-height:20px;margin:18px 0 10px}.save-error{color:#b4573f;font-weight:650}footer{max-width:1440px;margin:0 auto;padding:15px 44px 24px;display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#8a9384}footer>div{display:flex;gap:18px}
dialog{border:1px solid #e7e2d2;border-radius:24px;background:#fffdf5;color:var(--ink);padding:0;width:min(720px,calc(100% - 32px));max-height:calc(100dvh - 40px);box-shadow:0 30px 120px #173d3b40;overflow:auto}dialog::backdrop{background:#264b415f;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 29px 18px;border-bottom:1px solid #e8e5d6}.dialog-heading h2{font-size:23px;margin:0;line-height:1.4}.dialog-heading .eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:6px}.close-button{padding:0;width:38px;height:38px;min-height:38px;flex-shrink:0;border-radius:50%;font-size:23px;color:#899583;background:#f3f1e6}.dialog-content{padding:25px 29px 29px;font-size:14px}.dialog-content p{line-height:1.9}.welcome{text-align:center}.welcome-art{height:145px;position:relative;max-width:250px;margin:0 auto 10px;background:radial-gradient(ellipse at bottom,#e1ebd0 40%,transparent 41%)}.welcome-art b{display:block;font-size:150px;line-height:150px;font-weight:600;color:#d59570;text-shadow:9px 3px #c9b28a}.welcome-art>span{position:absolute;left:17px;top:0;color:#e6be70;font-size:43px}.welcome-art i{position:absolute;right:6px;bottom:13px;color:#87a575;font-size:50px}.intro-copy{max-width:470px;margin:10px auto 22px;font-size:15px;color:#6d8072}.intro-features{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:0 0 25px}.intro-features span{padding:8px 13px;background:#f0efdf;border-radius:20px;font-size:12px}.local-detail{display:block;color:var(--muted);font-size:10px;margin-top:17px}.npc-talk{display:flex;align-items:center;gap:20px;margin-bottom:22px;padding:18px;background:#f1f0e3;border-radius:16px}.npc-talk>span{font-size:51px;flex-shrink:0}.npc-talk p{margin:0;font-size:14px}.npc-talk.compact{padding:12px 15px}.npc-talk.compact>span{font-size:32px}.npc-talk.compact p{font-size:12px}.outfits{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:25px}.outfits button{display:flex;flex-direction:column;align-items:center;gap:12px;font-size:12px;background:#f5f2e7}.outfits button[aria-pressed=true]{border:2px solid var(--green);background:#e9eedc}.mini-person{display:block;width:33px;height:39px;background:var(--outfit);border-radius:9px 9px 4px 4px;position:relative;margin-top:25px}.mini-person:before{content:'';width:25px;height:28px;background:#f2c69c;border-radius:8px;position:absolute;left:4px;top:-22px;border-top:8px solid #614737}.mini-person:after{content:'';position:absolute;bottom:-8px;left:4px;width:9px;height:15px;background:#587077;box-shadow:16px 0 #587077;border-radius:2px}.level-settings{display:grid;grid-template-columns:1fr 1fr;gap:18px}.level-settings label{display:flex;flex-direction:column;gap:10px;font-size:13px}.level-settings select{width:100%;font-size:12px}.level-settings+.muted{margin:17px 0 25px}.order-header{display:flex;gap:17px;align-items:center}.customer-face{font-size:44px;background:#f5e9d2;width:74px;height:74px;display:grid;place-items:center;border-radius:18px;flex-shrink:0}.order-header small{color:var(--muted);font-size:10px}.order-header p{font-size:19px;line-height:1.5;margin:5px 0 0;font-weight:650;color:#405d4c}.order-tools{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.order-tools button{min-height:36px;padding:7px 12px;font-size:11px}.translation{background:#edf2e3;border-radius:9px;padding:10px 14px;font-size:12px;margin:12px 0 0}.phase-track{display:flex;gap:6px;margin:19px 0}.phase-track span{padding:6px 17px;border-radius:20px;background:#f0eee2;color:#a4a99a;font-size:11px}.phase-track .active{background:#4c7455;color:#fffaf0}.question{font-size:15px;margin-bottom:14px}.shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-bottom:9px solid #ceb497;padding-bottom:11px}.shelf button{display:flex;flex-direction:column;align-items:center;border-color:#e7dfc7;border-radius:13px;padding:12px 5px;background:#f9f4e4;gap:5px;box-shadow:0 3px #e4d6bb}.shelf button>span{font-size:39px}.shelf b{font-size:11px;line-height:1.5;min-height:33px;display:grid;align-items:center}.shelf small{font-size:11px;color:#9c794b}.shopping-bag{background:#f0f1e6;border:1px dashed #bac8af;padding:15px;border-radius:13px;margin-top:18px;min-height:110px}.shopping-bag h4{font-size:12px;margin:0 0 10px}.shopping-bag p{font-size:12px;color:#8c9786;margin:0}.shopping-bag button{padding:7px 11px;min-height:40px;background:#fffdf6;font-size:17px;margin:0 6px 6px 0}.shopping-bag button>span{margin-left:8px;color:#bb8067}.checkout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.receipt{background:#f7f0dd;padding:17px;border-radius:12px;align-self:start}.receipt>div{display:flex;justify-content:space-between;gap:9px;font-size:12px;margin-bottom:12px}.receipt b{white-space:nowrap}.receipt .receipt-total{padding-top:14px;border-top:1px dashed #c6b898;font-weight:650}.receipt .receipt-paid{background:#e6ead4;padding:10px;border-radius:7px;margin-bottom:0}.cash-panel label{font-size:12px;font-weight:700;display:block;margin-bottom:8px}.answer-input{display:flex;align-items:center;border:2px solid #98ad86;border-radius:12px;background:white;padding:8px 15px;color:#cba55b;font-size:27px}.answer-input input{border:none;min-width:0;width:100%;color:var(--ink);font-size:27px;padding:5px;background:transparent;outline-offset:7px}.cash-panel p{color:var(--muted);font-size:11px;margin:12px 0 7px}.coin-buttons{display:flex;flex-wrap:wrap;gap:6px}.coin-buttons button{font-size:12px;padding:5px 10px;min-height:38px;background:#f8edd5}.coin-buttons button:last-child{font-size:10px;background:#f2f1e8}.order-feedback{font-size:12px;line-height:1.7;color:#b55d42;margin:12px 0;min-height:0}.order-feedback:empty{margin:0}.order-feedback.good{color:#52815a}.hint-box{font-size:12px;padding:12px;border-radius:10px;background:#fff2d6;color:#8d7343;margin:13px 0}.order-actions{display:flex;justify-content:space-between;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #e6e4d5}.order-actions button{font-size:12px}.reward{text-align:center}.reward-star{font-size:96px;color:#e4b556;line-height:1.2;margin-bottom:15px}.reward p{color:#6c7e69}.rewards{display:flex;justify-content:center;gap:12px;margin:20px 0;flex-wrap:wrap}.rewards b{font-size:13px;padding:12px 17px;border-radius:10px;background:#edf1df;color:#62805b}.gift{padding:15px;background:#fff1d3;border-radius:12px}.celebration-art{font-size:45px;text-align:center;margin:10px 0 22px}.certificate{text-align:center;padding:25px;border:2px solid #d9c898;border-radius:12px;margin-bottom:23px;outline:1px solid #e4d9b6;outline-offset:-7px;background:linear-gradient(150deg,#fff9de,#eff2df)}.certificate>span{font-size:66px}.certificate>p:first-of-type{font-size:9px;letter-spacing:2px;color:#a38e5d}.certificate h3{font-size:25px;margin:15px 0}.certificate p{font-size:13px;color:#74806b}.certificate small{font-size:11px;color:#8b947b}.home-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px}.room-wall{height:110px;background:#e6e5cc;border-radius:14px 14px 0 0;border:1px solid #d2d2b7;border-bottom:7px solid #b9ac8c;position:relative;display:flex;align-items:center;justify-content:flex-end;padding:12px}.room-wall>span{font-size:8px;letter-spacing:1px;width:65px;text-align:center;color:#918669;font-weight:750;line-height:1.8}.room-window{width:69px;height:69px;background:#a7d4cd;border:7px solid #fff6dc;position:absolute;left:22px;top:15px;font-size:28px;text-align:right;padding:4px;color:#ffdf8c;box-shadow:0 3px #c4c3a9}.room-window:after{content:'';position:absolute;height:100%;width:4px;left:50%;top:0;background:#fff6dc}.room-floor{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:12px;background:#d5bea0;border:1px solid #c5ad8d;border-radius:0 0 12px 12px}.room-floor button{padding:0;min-height:63px;border-radius:3px;background:#e7d5b8;border:1px solid #d3ba96;font-size:21px;color:#bca987;box-shadow:none}.room-floor button:nth-child(even){background:#dfc9a8}.room-floor button.furnished{font-size:38px}.room-floor button>span{display:block;filter:drop-shadow(2px 4px 1px #75583522)}.room-instruction{font-size:12px;font-weight:650;margin:12px 0 5px}.furniture-catalog h3{display:flex;justify-content:space-between;font-size:13px;margin-bottom:12px}.furniture-catalog h3 small{color:#b18a4d}.furniture{display:flex;width:100%;gap:10px;align-items:center;margin-bottom:7px;padding:8px 12px;text-align:left;min-height:52px;border-radius:9px}.furniture>span{font-size:25px}.furniture b{display:block;font-size:11px}.furniture small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.furniture i{margin-left:auto;font-style:normal;color:#6f8e63}.furniture.selected{border-color:#6d8e5b;background:#e8eeda;outline:1px solid #6d8e5b}
@media(min-width:1500px){canvas{height:530px}}
@media(max-width:1050px){.town-header{padding:18px 25px}.town-main{padding:25px 25px 0}.town-layout{grid-template-columns:minmax(0,1fr) 240px;gap:16px}.quest-panel{padding:23px 19px}.world-controls{padding:12px}.dpad{gap:3px}.dpad button{width:30px}.world-controls>.primary{max-width:52%;font-size:10px;padding:7px 10px}.place-links>button{padding:15px;gap:10px}.place-links>button>span{width:38px;height:38px}.place-links b{font-size:11px}footer{padding-left:25px;padding-right:25px}}
@media(max-width:760px){.town-header{padding:14px 18px;gap:8px}.brand{font-size:20px;gap:5px}.brand-star{font-size:27px;margin-right:2px}.town-header nav{gap:6px}.town-header nav>a{display:none}.town-header nav>button:not(.icon-button){font-size:0;width:38px;padding:0}.town-header nav>button:not(.icon-button):before{content:'☺';font-size:21px}.town-header .icon-button{width:36px;min-height:38px;font-size:16px}.town-header select{padding:7px;font-size:11px;min-height:38px}.town-main{padding:23px 16px 0}.page-heading{gap:10px;margin-bottom:20px;align-items:flex-start}h1{font-size:26px;letter-spacing:-.7px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.page-heading p:last-child{font-size:10px;max-width:200px}.wallet{gap:5px;padding-top:12px}.wallet>span{min-width:49px;padding:7px 9px;font-size:16px;border-radius:10px}.wallet small{font-size:8px;max-width:42px}.wallet b{margin-left:2px}.town-layout{display:flex;flex-direction:column;gap:15px}.world-card{border-radius:17px}.world-top{height:39px;padding:0 15px;font-size:10px}canvas{height:410px}.world-controls{padding:11px 13px}.dpad button{width:39px;height:42px}.dpad{gap:5px}.world-controls>.primary{font-size:11px;max-width:49%;min-height:42px}.map-caption{top:52px}.map-caption>span:first-child{font-size:9px;padding:5px 9px}.quest-panel{padding:20px 20px 16px;display:block}.quest-panel .eyebrow{margin-bottom:6px}.quest-number{position:absolute;right:22px;top:19px;font-size:36px;margin:0}.quest-panel h2{font-size:19px;max-width:85%;margin-bottom:8px}.quest-panel>p:not(.eyebrow){font-size:12px;margin-bottom:13px;max-width:95%}.quest-panel>.primary{width:auto;font-size:11px;padding:9px 15px;min-height:40px}.story-progress{margin-top:21px}.journal{margin-top:16px;padding-top:10px}.note{padding-top:8px;font-size:10px;gap:7px}.note>span{font-size:17px}.place-links{gap:8px;margin-top:15px}.place-links>button{flex-direction:column;align-items:flex-start;gap:9px;padding:13px 11px;position:relative;min-width:0}.place-links>button>span{width:33px;height:33px;font-size:23px;border-radius:9px}.place-links>button:nth-child(3)>span{font-size:29px}.place-links b{font-size:11px;line-height:1.5;word-break:normal}.place-links small{font-size:6px;letter-spacing:.8px;margin-top:5px}.place-links i{position:absolute;right:11px;top:13px;font-size:11px}footer{padding:12px 16px 22px;font-size:8px}.save-status{font-size:9px;margin-top:13px}dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:18px}.dialog-heading{padding:19px 18px 15px;gap:10px}.dialog-heading h2{font-size:19px}.dialog-content{padding:20px 18px 23px}.dialog-heading .eyebrow{font-size:8px}.intro-copy{font-size:13px}.outfits{gap:6px}.outfits button{padding:12px 5px;font-size:10px}.level-settings{grid-template-columns:1fr;gap:15px}.npc-talk{gap:12px;padding:13px}.npc-talk>span{font-size:37px}.npc-talk p{font-size:12px}.order-header{gap:12px}.customer-face{width:54px;height:60px;font-size:35px;border-radius:13px}.order-header p{font-size:16px}.shelf{gap:6px}.shelf button{padding:9px 3px}.shelf button>span{font-size:29px}.shelf b{font-size:10px;min-height:32px}.checkout{grid-template-columns:1fr;gap:15px}.receipt{padding:14px}.receipt>div{font-size:11px;margin-bottom:9px}.cash-panel{display:grid;grid-template-columns:1fr;gap:0}.answer-input input{font-size:25px}.order-actions{gap:8px}.order-actions button{font-size:11px;padding:9px 12px}.home-layout{grid-template-columns:1fr;gap:18px}.room-wall{height:90px}.room-window{height:56px;top:11px}.room-floor button{min-height:66px}.furniture-catalog{display:grid;grid-template-columns:1fr 1fr;gap:7px}.furniture-catalog h3{grid-column:1/-1;margin:0 0 5px}.furniture{margin:0;gap:7px;padding:9px}.furniture>span{font-size:24px}.room-instruction+.muted{font-size:10px}.certificate{padding:20px 14px}.certificate h3{font-size:22px}.rewards{gap:8px}.rewards b{font-size:11px;padding:10px 12px}}
@media(max-width:360px){.town-header{padding:13px 12px}.brand{font-size:17px}.brand-star{font-size:23px}.town-main{padding:20px 12px 0}h1{font-size:22px}.wallet>span{min-width:44px;padding:7px}.page-heading p:last-child{max-width:165px}.world-controls{padding:10px 9px}.dpad{gap:3px}.dpad button{width:34px}.world-controls>.primary{font-size:9px}.shelf b{font-size:9px}.place-links>button{padding:10px 8px}.place-links b{font-size:10px}canvas{height:370px}.home-layout{gap:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
