@font-face{font-family:GmarketSans;src:url('assets/fonts/GmarketSansMedium.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:GmarketSans;src:url('assets/fonts/GmarketSansBold.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--paper:#fffcf3;--page:#eeeadd;--ink:#353f31;--muted:#59654f;--line:#d6d7c5;--leaf:#355e47;--mint:#dcead9;--peach:#edc0a2;--error:#8e442f;--focus:#b44d2b;--radius:14px;--display:GmarketSans,'Malgun Gothic',sans-serif;--body:GmarketSans,'Malgun Gothic','Apple SD Gothic Neo',sans-serif;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font:14px/1.65 var(--body);overflow-wrap:break-word}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:4px}::selection{background:#c3dcb9;color:#233b2b}input{caret-color:var(--leaf)}*{scrollbar-color:#a0ac91 #e7e7d9;scrollbar-width:thin}a{color:var(--leaf);text-underline-offset:4px}
.app{max-width:1380px;margin:auto;padding:28px 36px 20px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.brand{display:flex;align-items:center;gap:16px}.brand-mark{display:grid;place-items:center;width:51px;height:51px;background:#d7e4c7;border-radius:12px;color:var(--leaf)}.brand-mark svg{width:30px;height:30px}h1{font:700 26px/1.65 var(--display);margin:0;letter-spacing:-.025em;text-wrap:balance}h2{font:700 21px/1.65 var(--display);letter-spacing:-.02em;margin:0 0 12px;text-wrap:balance}.muted{color:var(--muted);font-size:13px;margin:4px 0 0}p{margin:8px 0}.quiet{display:flex;align-items:center;gap:8px;flex:none;min-height:44px;padding:9px 13px;color:var(--leaf);background:transparent;border:1px solid #b9c2ad;border-radius:9px;font-size:12px}.quiet svg{width:17px;height:17px}.layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(350px,1fr);gap:26px;align-items:start}.world{min-width:0;border-radius:var(--radius);background:var(--paper);overflow:hidden}.world-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;font:400 12px/1.8 var(--display);border-bottom:1px solid #e5e7d6}.town-name{display:flex;align-items:center;gap:9px}.town-name svg{width:18px;height:18px;color:#a6713c}.weather{font:12px var(--body);color:var(--muted);padding-left:8px}.world-head #count{font-variant-numeric:tabular-nums;color:var(--leaf);white-space:nowrap}.map{position:relative;background:#d5e0bb;isolation:isolate}.map canvas{width:100%;height:auto;display:block;image-rendering:pixelated;touch-action:pan-y}.place{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;background:var(--leaf);color:white;border:2px solid #f8ffe9;border-radius:9px;padding:8px 11px;font:700 12px/1.4 var(--display);min-height:44px;white-space:nowrap;box-shadow:0 4px 12px #243e3638}.place svg{width:16px;height:16px}.map-note{padding:17px 21px;min-height:75px;font-size:13px;line-height:1.7;border-bottom:1px solid #e8e9da}.progress-wrap{padding:17px 21px 18px}.progress{height:6px;background:#e8e9dc;overflow:hidden;border-radius:3px}.progress div{height:100%;background:#749a68;transition:width .35s ease-out}.stops{display:flex;gap:22px;margin-top:12px}.stops span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}.stops span::before{content:'';width:7px;height:7px;display:block;background:#d3d8c3;border-radius:2px}.stops .done{color:var(--leaf);font-weight:700}.stops .done::before{background:#709365}.save-status{font-size:11px;color:var(--muted);margin:13px 0 0}.journey{display:flex;gap:0;list-style:none;margin:18px 0 0;padding:0 6px;color:#59654f;font-size:12px}.journey li{display:flex;align-items:center;gap:7px;flex:1}.journey li+li::before{content:'';height:1px;width:26px;background:#c4ccb7;margin-right:9px}.journey span{display:grid;place-items:center;width:22px;height:22px;border:1px solid #bdc7af;border-radius:50%;font-size:11px;font-variant-numeric:tabular-nums}.journey li[aria-current=step]{color:#294b34;font-weight:700}.journey li[aria-current=step] span{background:#355e47;color:white;border-color:#355e47}
.panel{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px;scroll-margin-top:14px}.panel h2:focus{outline:none}.panel .badge{color:var(--leaf);font-size:12px;display:inline-block;margin-bottom:2px}.panel .badge::before{content:'';width:6px;height:6px;background:#719763;border-radius:50%;display:inline-block;margin-right:6px}.avatar{background:#eaf0dc;border-radius:12px;margin:19px 0 17px;text-align:center;position:relative;overflow:hidden}.avatar::after{content:'';position:absolute;left:17%;right:17%;bottom:18px;height:1px;background:#d0d9bd}.avatar canvas{height:168px;width:168px;image-rendering:pixelated;position:relative;z-index:1;display:block;margin:auto}label{display:block;font-size:12px;font-weight:700;margin:13px 0 5px}input,select{width:100%;min-width:0;min-height:44px;padding:10px 11px;background:#fffef8;border:1px solid #cbd0bc;border-radius:8px;color:var(--ink)}.row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.primary,.secondary{width:100%;min-height:47px;padding:12px 14px;border:0;border-radius:9px;margin-top:18px;font-weight:700;font-size:14px;line-height:1.5}.primary{background:var(--leaf);color:#fffef3}.secondary{margin-top:10px;background:transparent;border:1px solid #b9c4aa;color:var(--leaf)}.primary:active:not(:disabled),.card:active:not(:disabled){transform:translateY(1px)}.steps{padding:15px 0 0;margin:15px 0 0;border-top:1px solid #e0e3d2;list-style:none;font-size:12px;color:var(--muted)}.steps li{padding:3px 0}.steps li::before{content:'';display:inline-block;width:4px;height:4px;background:#8c9f7a;margin-right:8px;vertical-align:middle}
.quest-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.request{margin:0 0 13px;line-height:1.85;font-size:14px;color:#4b5541}.requirements{list-style:none;padding:0;margin:0 0 20px;display:flex;gap:6px 14px;flex-wrap:wrap;color:var(--leaf);font-size:12px;font-weight:700}.requirements li{display:flex;align-items:center;gap:5px}.requirements li::before{content:'';width:4px;height:4px;background:#8da07d}.budget{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:15px;margin:0 0 13px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}.budget span:first-child{color:var(--leaf);font-weight:700}.cards{display:grid;gap:10px}.card{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;padding:13px 12px;width:100%;min-height:94px;text-align:left;background:transparent;border:1px solid #d4d8c6;border-radius:10px;color:var(--ink);transition:background-color .14s ease-out,border-color .14s ease-out}.product-image{display:block;width:64px;height:58px;image-rendering:pixelated}.card-top{display:flex;justify-content:space-between;align-items:start;gap:8px;line-height:1.6;font-size:13px;font-weight:700}.card-top span:last-child{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--leaf)}.card small{display:block;font-size:11px;color:#5f6a53;margin-top:7px;line-height:1.65}.card.selected{border-color:#52774b;background:#e7efdd}.card.selected::after{content:'';position:absolute;left:5px;top:5px;width:5px;height:9px;border:solid #3c693e;border-width:0 2px 2px 0;transform:rotate(45deg)}.card.rejected{border-color:#b87760;background:#fbf0e8}.feedback{font-size:13px;line-height:1.8;color:var(--error);margin:15px 0 0;min-height:24px}.feedback.success{color:var(--leaf)}.feedback:empty{display:none}.result-label{font-size:13px;color:var(--leaf);font-weight:700}.large{font:700 20px/1.6 var(--display);color:var(--leaf);margin:18px 0 12px}.ending-stamps{display:flex;gap:12px;margin:20px 0}.ending-stamps canvas{width:68px;height:57px;image-rendering:pixelated}#ending .request{margin:20px 0 0;border-top:1px solid var(--line);padding-top:16px;font-size:13px}#ending p{line-height:1.8}#ending h2{font-size:22px}footer{margin:22px 4px 0;display:flex;justify-content:space-between;gap:24px;color:#626b57;font-size:10px;line-height:1.8}footer p{margin:0;max-width:82ch}footer details{font-size:11px;flex:none;position:relative}footer summary{cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:4px}footer details[open]{max-width:260px}footer details a{display:block;margin-top:6px}.hide{display:none!important}
@media(hover:hover){.card:hover:not(:disabled){background:#f0f4e7;border-color:#8fa87e}.primary:hover{background:#294d39}.quiet:hover,.secondary:hover{background:#e3ead6}}
@media(min-width:1100px){.world-column{position:sticky;top:22px}}
@media(max-width:1080px){.app{padding:22px}.layout{gap:19px;grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr)}.panel{padding:20px}.card{gap:8px;grid-template-columns:54px minmax(0,1fr);padding:12px 10px}.product-image{width:54px;height:52px}.card-top{font-size:12px}h1{font-size:24px}.weather{display:none}.stops{gap:16px}.journey li+li::before{width:12px;margin-right:4px}}
@media(max-width:780px){.app{padding:19px 15px 22px}.layout{grid-template-columns:minmax(0,1fr);gap:23px}header{margin-bottom:20px;gap:12px}.brand{gap:10px}.brand-mark{width:39px;height:43px;border-radius:8px}.brand-mark svg{width:25px;height:25px}h1{font-size:20px;letter-spacing:-.025em}.brand .muted{font-size:11px}.quiet{font-size:11px;padding:8px;gap:5px}.quiet svg{width:15px;height:15px}.world-head{padding:13px 15px}.world-column{position:static}.map-note{padding:14px 16px;min-height:70px}.progress-wrap{padding:14px 16px 16px}.journey{margin-top:13px}.journey li+li::before{width:20px;margin-right:7px}.panel{padding:21px}h2{font-size:20px}.avatar canvas{width:144px;height:144px}input,select{font-size:16px}.request{font-size:14px}.card{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px;min-height:94px}.product-image{width:64px;height:58px}.card-top{font-size:13px}.card small{font-size:12px}.place{font-size:11px;padding:9px}.weather{display:inline}.save-status{font-size:11px}.stops{gap:23px}footer{display:block;margin-top:22px}footer details{margin-top:12px}}
@media(max-width:360px){.brand-mark{display:none}h1{font-size:19px}.quiet span{font-size:11px}.weather{display:none}.panel{padding:16px}.card{gap:8px;grid-template-columns:52px minmax(0,1fr)}.product-image{width:52px;height:50px}.card-top{display:block}.card-top span:last-child{display:block;margin-top:3px}.journey{font-size:11px}.journey li+li::before{width:8px}.stops{gap:17px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.feedback.hint{color:var(--muted)}

.is-onboarding .world-column{display:none}.is-onboarding .layout{display:block}.is-onboarding .panel{max-width:900px;margin:10px auto 0;padding:26px 30px}.is-onboarding h2{font-size:24px;letter-spacing:-.03em;line-height:1.5;margin-bottom:9px}.is-onboarding .panel>.muted{font-size:13px}.dress-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;margin-top:24px}.avatar-stage{text-align:center;padding-top:12px}.avatar-stage .avatar{margin:0;background:#e7edda;border-radius:14px;padding:32px 0 15px}.avatar-stage .avatar canvas{width:216px;height:216px}.avatar-stage .avatar::after{bottom:32px}.avatar-caption{font-size:17px;font-weight:700;margin:17px 0 9px}.avatar-help{font-size:12px;line-height:1.9}.custom-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px 18px}.name-option,.hair-group,.outfit-group{grid-column:1/-1}.name-option label{margin:0 0 6px}.name-option input{min-height:44px}.choice-group{margin:0;padding:0;border:0;min-width:0}.choice-group legend{font-size:12px;font-weight:700;margin-bottom:7px;padding:0}.choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.outfit-options{grid-template-columns:repeat(3,minmax(0,1fr))}.avatar-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:72px;padding:7px 4px 6px;border:1px solid #ccd3be;border-radius:9px;background:#fffef7;color:var(--ink)}.avatar-choice canvas{width:56px;height:40px;image-rendering:pixelated;display:block}.choice-caption{font-size:11px;line-height:1.5;white-space:nowrap}.avatar-choice.is-selected{background:#e3edd7;border:2px solid #436b3e;padding:6px 3px 5px}.avatar-choice.is-selected::after{content:'';position:absolute;right:6px;top:5px;width:4px;height:7px;border:solid #3d6638;border-width:0 2px 2px 0;transform:rotate(45deg)}.color-swatch{width:25px;height:25px;border-radius:50%;border:1px solid #3d472133;display:block}.color-options .avatar-choice{min-height:62px;gap:5px}.color-options{gap:5px}.saved-note{margin:19px 0 0;padding:13px 0 0;border-top:1px solid var(--line);font-size:12px;color:var(--leaf);line-height:1.8}.dress-actions{display:flex;gap:12px;margin-top:7px}.dress-actions .primary,.dress-actions .secondary{flex:1;min-height:48px;margin-top:14px}.is-onboarding #dressSaveStatus{text-align:center;margin-top:12px}.is-onboarding footer{max-width:900px;margin:19px auto 0}.is-onboarding header{margin-bottom:20px}
@media(hover:hover){.avatar-choice:hover{background:#edf2e3;border-color:#75966a}}
@media(max-width:780px){.is-onboarding .panel{padding:23px 20px;max-width:650px;margin-top:0}.is-onboarding h2{font-size:22px}.dress-layout{grid-template-columns:160px minmax(0,1fr);gap:18px}.avatar-stage .avatar{padding:18px 0 8px}.avatar-stage .avatar canvas{width:156px;height:156px}.avatar-stage .avatar::after{bottom:20px}.avatar-caption{font-size:15px}.custom-options{gap:14px 12px}.choice-grid{gap:5px}.avatar-choice canvas{width:48px;height:35px}.choice-caption{font-size:11px}.color-group{grid-column:1/-1}.color-options{gap:6px}.color-options .avatar-choice{min-height:58px}.color-swatch{width:24px;height:24px}}
@media(max-width:560px){.dress-layout{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:17px}.avatar-stage{padding-top:0}.avatar-stage .avatar{max-width:210px;margin:auto;padding:10px 0 0}.avatar-stage .avatar canvas{width:144px;height:144px}.avatar-stage .avatar::after{bottom:14px}.avatar-caption{margin:10px 0 0}.avatar-help{display:none}.custom-options{gap:16px}.hair-group,.outfit-group,.color-group,.name-option{grid-column:1/-1}.choice-grid{gap:6px}.avatar-choice canvas{width:52px;height:38px}.avatar-choice{min-height:75px}.color-options .avatar-choice{min-height:63px}.dress-actions{flex-direction:column;gap:0}.dress-actions .secondary{margin-top:10px}.is-onboarding .panel{padding:23px 17px}.is-onboarding h2{font-size:21px}.is-onboarding footer{margin-top:20px}}

@media(min-width:781px){.is-onboarding .panel{padding:22px 30px}.is-onboarding header{margin-bottom:14px}.dress-layout{margin-top:17px}.custom-options{gap:9px 18px}.avatar-choice{min-height:65px}.color-options .avatar-choice{min-height:54px}.saved-note{margin-top:13px;padding-top:9px}.dress-actions .primary,.dress-actions .secondary{margin-top:10px}.is-onboarding #dressSaveStatus{margin-top:8px}}

.choice-caption{font-size:12px}.save-status{font-size:12px}@media(max-width:780px){.choice-caption{font-size:12px}.brand .muted{font-size:12px}}

.name-hint{font-size:12px;line-height:1.7;color:var(--muted);margin:6px 0 0}.name-error{font-size:12px;line-height:1.8;color:var(--error);margin:6px 0 0}.name-error:empty{display:none}#name[aria-invalid="true"]{border-color:#a5563e;background:#fff7f1}.primary:disabled,.secondary:disabled{background:#e2e4d6;color:#69735c;cursor:not-allowed;transform:none}

.scene-toolbar{display:flex;align-items:center;gap:16px;min-height:54px;padding:5px 18px;background:var(--paper);font-size:13px;font-weight:700}.scene-toolbar .quiet{border:0;padding:7px 0;font-size:12px;text-decoration:underline;text-underline-offset:4px}.scene-toolbar .quiet:disabled{color:var(--muted);text-decoration:none}.town-destinations{position:absolute;inset:0;pointer-events:none}.town-pin{position:absolute;bottom:17%;left:20%;transform:translateX(-50%);pointer-events:auto;min-width:94px;min-height:52px;display:grid;gap:2px;justify-items:center;padding:8px 12px;background:#fffcf3f5;border:1px solid #8d9578;border-radius:8px;color:var(--ink);box-shadow:0 3px 0 #53442d25;font-size:13px;font-weight:700;line-height:1.5}.town-pin:nth-child(2){left:51%}.town-pin:nth-child(3){left:83%}.town-pin .destination-count{font-size:11px;font-weight:400}.town-pin.is-current{border:2px solid var(--leaf);color:var(--leaf);padding:7px 11px}.town-pin.is-complete{background:#e4eed9f5;color:#294b34;border-color:#587344}.visit-progress{margin:0 0 14px;color:var(--leaf);font-size:12px}.destination-list{display:grid;margin-top:23px}.destination{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center;min-height:90px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;padding:16px 2px;font-size:16px;font-weight:700}.destination small{grid-column:1/-1;font-size:12px;font-weight:400;color:var(--muted)}.destination-count{font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}.destination.is-current>span:first-child::after{content:' →';color:var(--leaf)}.destination.is-complete .destination-count{color:var(--leaf)}.town-tip{border-top:1px solid var(--line);padding-top:17px;margin-top:2px;color:var(--muted);font-size:12px;line-height:1.9}.art-status{font-size:11px;line-height:1.7;color:var(--muted);margin:10px 0 0}.avatar-stage .avatar{background:#f2ecda}.avatar-stage .avatar canvas{width:216px;height:216px}.avatar-stage .avatar::after{bottom:29px}.is-onboarding .avatar-stage{padding-top:5px}.avatar-caption{margin-top:9px}.avatar-choice canvas{image-rendering:auto}.map canvas{image-rendering:auto}.avatar canvas{image-rendering:auto}
@media(hover:hover){.town-pin:hover{background:#f4f7e8;border-color:var(--leaf)}.destination:hover{color:var(--leaf);background:#eef2e4}}
@media(max-width:780px){.scene-toolbar{padding:5px 15px;min-height:51px}.avatar-stage .avatar canvas{width:170px;height:170px}.town-pin{min-width:82px;padding:7px 9px;font-size:12px}.town-pin.is-current{padding:6px 8px}.town-pin .destination-count{font-size:11px}.town-pin.is-complete .destination-count{font-size:11px}.world-head{font-size:11px}.town-tip{margin-top:12px}}
@media(max-width:560px){.avatar-stage .avatar{max-width:230px;padding:10px 0 4px}.avatar-stage .avatar canvas{width:184px;height:184px}.avatar-stage .avatar::after{bottom:21px}.town-pin{bottom:12%;min-width:78px;min-height:48px;padding:6px 7px;font-size:12px}.town-pin.is-current{padding:5px 6px}.town-pin.is-complete .destination-count{font-size:11px}.scene-toolbar{font-size:12px}.scene-toolbar .quiet{font-size:11px}.destination{min-height:85px}}

@media(max-width:780px){.journey{font-size:11px}.journey li{gap:5px;white-space:nowrap}.journey span{flex-shrink:0}.journey li+li::before{width:10px;flex-shrink:0;margin-right:3px}}

#hairOptions{grid-template-columns:repeat(5,minmax(0,1fr))}#hairOptions .avatar-choice{min-height:85px}#hairOptions .choice-caption{min-height:32px;display:flex;align-items:center;justify-content:center;white-space:normal;word-break:keep-all;text-align:center}#hairOptions canvas{width:min(100%,56px);height:auto;aspect-ratio:1.4}@media(max-width:560px){#hairOptions{grid-template-columns:repeat(3,minmax(0,1fr))}}

.scene-delivery{padding:15px 20px 17px;border-bottom:1px solid var(--line);background:#edf3e4}.scene-delivery h2{font-size:15px;line-height:1.6;color:var(--leaf);margin:0}.scene-delivery p{font-size:13px;line-height:1.7;margin:5px 0 0}.delivery-actions{display:flex;gap:9px;margin-top:12px}.delivery-actions .primary,.delivery-actions .secondary{flex:1;min-height:44px;margin:0;font-size:12px;padding:10px}.compare-controls{display:flex;margin-left:auto;border:1px solid #b9c4aa;border-radius:7px;overflow:hidden;flex:none}.compare-controls button{border:0;min-height:44px;padding:7px 10px;background:transparent;color:var(--leaf);font-size:11px}.compare-controls button[aria-pressed=true]{background:var(--leaf);color:var(--paper)}.scene-toolbar{flex-wrap:wrap}.card.rejected:hover:not(:disabled){background:#fbf0e8;border-color:#b87760}
@media(max-width:560px){.scene-delivery{padding:12px 15px 14px}.scene-delivery h2{font-size:14px}.scene-delivery p{font-size:12px}.delivery-actions{margin-top:9px}.compare-controls button{padding:6px 9px}.scene-toolbar{gap:8px}}

.game-purpose{font-size:13px;line-height:1.85;color:var(--muted);margin:12px 0}.game-purpose strong{color:var(--leaf)}.card.selected:hover:not(:disabled){background:#e7efdd;border-color:#52774b}
.town-wallet{margin:0 0 20px;padding:14px 18px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);font-size:12px;font-variant-numeric:tabular-nums}.wallet-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;color:var(--muted)}.wallet-summary>span:last-child{text-align:right}.wallet-summary>span:nth-child(2){text-align:center}.wallet-summary strong{color:var(--ink);margin-left:7px;font-size:15px}.wallet-summary .wallet-remaining strong{color:var(--leaf)}.wallet-meter{display:flex;height:7px;margin-top:10px;background:var(--mint);overflow:hidden;border-radius:4px}.wallet-meter span{display:block;height:100%}#walletUsedBar{background:var(--leaf)}#walletPreviewBar{background:var(--peach)}.town-wallet p{margin:7px 0 0;font-size:12px;color:var(--leaf);line-height:1.6}.is-onboarding .town-wallet{display:none}.card .card-balance{color:var(--leaf);margin-top:5px;font-size:11px}.is-delivered .card-balance{display:none}.town-letters{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.town-letters h3{font-size:14px;margin:0 0 8px;line-height:1.7}.town-letters h3 span{font-size:12px;font-weight:400;color:var(--muted);white-space:nowrap}.town-letters details,.town-ledger{border-top:1px solid var(--line);font-size:12px;line-height:1.8}.town-letters summary,.town-ledger summary{cursor:pointer;padding:12px 0;min-height:44px;color:var(--leaf)}.town-letters p{margin:0 0 14px;color:var(--ink)}.town-ledger{margin-top:18px}.town-ledger ol{padding:0 0 0 19px;margin:0 0 10px}.town-ledger li{padding:5px 0}.is-onboarding .town-letters{display:none}
@media(max-width:780px){.town-wallet{position:sticky;top:0;z-index:5;margin-bottom:16px;padding:10px 13px;border-radius:0 0 10px 10px}.wallet-summary{gap:6px;font-size:11px}.wallet-summary strong{display:block;margin:1px 0 0;font-size:14px}.wallet-meter{margin-top:7px;height:6px}.town-wallet p{font-size:11px;margin-top:5px}.panel,#sceneStage{scroll-margin-top:115px}}
.app:not(.is-onboarding) .layout{display:block}.app:not(.is-onboarding) .world-column{position:static;max-width:1100px;margin:auto}.app:not(.is-onboarding) #mainLayout>.panel{display:none}.app:not(.is-onboarding) .journey{display:none}.mission-button{margin-left:auto;min-height:44px;padding:9px 14px;border:1px solid var(--leaf);border-radius:var(--radius);background:var(--leaf);color:var(--paper);font-size:12px;font-weight:700}.mission-button:disabled{opacity:.6;cursor:default}.compare-controls{margin-left:0}#gameDialog{width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 36px);padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);color:var(--ink);overflow-y:auto;overscroll-behavior:contain}#gameDialog::backdrop{background:#243e3670}#gameDialog .panel{border:0;border-radius:0;margin:0;padding:24px;max-width:none}#gameDialog .dialog-top{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:18px;justify-content:space-between;padding:12px 20px;background:var(--mint);border-bottom:1px solid var(--line)}#dialogBudget{margin:0;font-size:12px;line-height:1.8;color:var(--leaf);font-variant-numeric:tabular-nums}.dialog-top .quiet{background:var(--paper);padding:8px 12px}.town-tip{margin-top:22px}#townTitle{font-size:27px;line-height:1.5;margin:0 0 18px}#gameDialog #reviewDelivery{position:sticky;bottom:0;border:3px solid var(--paper);min-height:52px}#gameDialog #letters{margin-top:24px}#gameDialog #townPanel .town-tip{font-size:12px}.app:not(.is-onboarding) header{margin-bottom:14px}.app:not(.is-onboarding) .scene-delivery{max-width:none}.app:not(.is-onboarding) .map-note{min-height:0;padding:12px 20px}.app:not(.is-onboarding) .progress-wrap{padding:12px 20px}.app:not(.is-onboarding) .save-status{margin-top:8px}.app:not(.is-onboarding) .stops{margin-top:9px}
@media(max-width:780px){#gameDialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}#gameDialog .panel{padding:20px 18px}#gameDialog .dialog-top{padding:9px 14px;gap:10px}#dialogBudget{font-size:11px;word-break:keep-all}#townTitle{font-size:24px}.mission-button{font-size:11px;padding:8px 11px}.scene-toolbar{gap:8px}.scene-toolbar #sceneTitle{flex:1}.scene-toolbar .mission-button{margin-left:0}.scene-toolbar:has(.compare-controls:not(.hide)) .mission-button{width:100%}.app:not(.is-onboarding) .brand .muted{display:none}}
.decor-spots{position:absolute;inset:0;pointer-events:none;z-index:2}.decor-spot{position:absolute;transform:translate(-50%,-50%);width:44px;min-height:44px;border:2px dashed var(--leaf);border-radius:var(--radius);background:var(--paper);color:var(--leaf);font-weight:700;pointer-events:auto}.decorate-button{background:var(--mint);font-weight:700}.decor-image{display:block;width:64px;height:80px;object-fit:contain}.decor-card strong{font-size:13px;line-height:1.7}.decor-card:disabled{opacity:.55;cursor:not-allowed}.decor-hint{font-size:12px;line-height:1.85;color:var(--muted);margin:0 0 16px}#decorOwnedSection{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}#decorOwnedSection h3{font-size:14px;margin:0 0 8px}.decor-owned-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:10px 0;font-size:12px;line-height:1.8}.decor-owned-row .quiet{font-size:11px;white-space:nowrap}.scene-toolbar:has(#decorateButton:not(.hide)) .mission-button{margin-left:auto}#gameDialog:has(#decorShop:not(.hide)) .town-letters{display:none}
@media(max-width:780px){.scene-toolbar:has(#decorateButton:not(.hide)) .mission-button{width:auto;flex:1;margin-left:0}.scene-toolbar #decorateButton{flex:1;justify-content:center}.decor-card{grid-template-columns:64px minmax(0,1fr)}}
@media(max-width:360px){.decor-card{grid-template-columns:52px minmax(0,1fr)}.decor-image{width:52px;height:64px}.decor-owned-row{gap:8px}}
.app:not(.is-onboarding) .town-wallet{position:sticky;top:0;z-index:5}#sceneStage{scroll-margin-top:115px}.scene-toolbar .decorate-button,.scene-toolbar #decorCancel{padding:8px 12px;border:1px solid var(--line);text-decoration:none}
@media(max-width:780px){.scene-toolbar:has(#decorateButton:not(.hide)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}.scene-toolbar:has(#decorateButton:not(.hide)) #sceneTitle{grid-column:1;grid-row:1;align-self:center;white-space:nowrap;min-width:0}.scene-toolbar:has(#decorateButton:not(.hide)) #compareControls{grid-column:2;grid-row:1;justify-self:end;align-self:center}.scene-toolbar:has(#decorateButton:not(.hide)) #missionButton{grid-column:1;grid-row:2;width:100%;min-width:0;margin:0;white-space:normal;word-break:keep-all}.scene-toolbar:has(#decorateButton:not(.hide)) #decorateButton{grid-column:2;grid-row:2;width:100%;min-width:0;white-space:nowrap}.scene-toolbar:has(#decorateButton:not(.hide)) #decorCancel{grid-column:1/-1;grid-row:3;justify-content:center}.scene-toolbar:has(#decorateButton:not(.hide)) #backTown{grid-column:1/-1;grid-row:1}.scene-toolbar:has(#decorateButton:not(.hide)):has(#backTown:not(.hide)) #sceneTitle,.scene-toolbar:has(#decorateButton:not(.hide)):has(#backTown:not(.hide)) #compareControls{grid-row:2}.scene-toolbar:has(#decorateButton:not(.hide)):has(#backTown:not(.hide)) #missionButton,.scene-toolbar:has(#decorateButton:not(.hide)):has(#backTown:not(.hide)) #decorateButton{grid-row:3}}
