/* Growth screens stay inside the available landscape viewport. */
.shell.view-home,.shell.view-growth,.shell.view-summary{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:14px 20px}
.view-home .top,.view-growth .top,.view-summary .top{flex:0 0 auto;display:flex;flex-wrap:nowrap;gap:12px;margin-bottom:12px}
.view-home .brand,.view-growth .brand,.view-summary .brand{flex:1;min-width:0}
.view-home .brand h1,.view-growth .brand h1,.view-summary .brand h1{font-size:25px;margin:4px 0}
.view-home .hud,.view-growth .hud,.view-summary .hud{min-width:82px;width:auto;padding:8px 12px}
.view-home .top .iconbtn,.view-growth .top .iconbtn,.view-summary .top .iconbtn{width:auto;min-height:46px}
.view-home .intro{flex:1;min-height:0;display:grid;grid-template-columns:1.05fr 1fr}
.view-home .intro-visual{min-height:0;display:flex;flex-direction:column;justify-content:center;padding:20px;background:radial-gradient(ellipse at 50% 60%,#fff9df,#e5e8d4)}
.view-home .intro-title{position:static;padding:14px;margin:0 10px;background:#fffaf0;border-color:#dfcdb3}
.view-home .intro-title h2{font-size:32px;margin:5px 0;letter-spacing:-1px}
.storefront{width:100%;min-height:0;max-width:620px;margin:auto;display:grid;place-items:center;aspect-ratio:600/350;grid-template-rows:minmax(0,1fr)}
.storefront svg{display:block;width:100%;height:100%;max-height:100%;font-family:ShopJua,sans-serif;overflow:visible}
.view-home .intro-visual>.storefront{flex:0 1 auto;margin:18px auto 0}
.view-home .intro-copy{padding:18px 24px;min-height:0;justify-content:center}
.view-home .intro-copy h2{font-size:27px;margin:5px 0 12px;overflow-wrap:anywhere}
.view-home .intro-copy .primary{margin-top:14px}
.view-home .menu-preview{margin:12px 0 0;gap:7px}
.view-home .menu-preview .item{height:clamp(32px,7vh,64px)}
.view-home .menu-preview b{font-size:16px;line-height:1.2;display:block;word-break:keep-all}
.growth-entry{background:#e7efdf;border:2px solid #b5cba8;border-radius:16px;text-align:left;padding:12px 16px;display:flex;flex-direction:column;gap:5px;width:100%;color:#52715c;min-height:70px}
.growth-entry>span{font-size:24px}.growth-entry small{font:17px ShopGowun,sans-serif;color:#607563;line-height:1.3}
.growth-panel{flex:1;display:flex;flex-direction:column;min-height:0;padding:18px 22px;background:#fffaf0;border:3px solid #e3d1b6;border-radius:24px;box-shadow:0 5px 0 #a68a6922}
.growth-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-shrink:0}
.growth-heading small{font-size:16px;color:#977c65}.growth-heading h2{font-size:29px;margin:3px 0 0}.growth-heading button{min-height:44px}
.growth-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;flex-shrink:0}
.growth-tabs button{background:#eee5d6;color:#876e55;font-size:23px;min-height:48px;padding:9px;border:2px solid transparent;border-radius:13px}
.growth-tabs button[aria-pressed=true]{background:#dce9d3;border-color:#9ab58c;color:#506d50}
.growth-content{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px}
.growth-card-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
.growth-card{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;align-items:center;background:#f5ecdd;border:2px solid #e4d4be;border-radius:18px;padding:12px 15px;min-height:0}
.growth-card>div:last-child{min-width:0}.growth-card h3{font-size:25px;margin:2px 0 5px;color:#745a42}
.growth-card p{font:18px/1.45 ShopGowun,sans-serif;margin:5px 0 8px;word-break:keep-all}.growth-card small{font-size:16px;color:#8a735d}
.growth-card .softbtn{font-size:18px;min-height:42px;padding:8px 12px;background:#fffaf0;border:1px solid #cbb899}
.growth-card.owned{border-color:#b6caa7;background:#edf1e4}.growth-card.ready{background:#fff1ce;border-color:#d9b56a}
.growth-card button:disabled{opacity:.75;color:#766b58;cursor:default}
.growth-icon{display:block;width:80px;height:80px;flex-shrink:0;margin:auto}.growth-icon svg{width:100%;height:100%}.growth-card .upgrade-art{width:80px;height:80px}
.growth-pager{display:flex;align-items:center;justify-content:center;gap:24px;min-height:44px;flex-shrink:0}
.growth-pager button{min-width:110px;font-size:18px;min-height:44px}.growth-pager span{font:18px ShopGowun,sans-serif}
.achievement-meter{background:#ded8c6;border-radius:20px;height:10px;overflow:hidden;margin:7px 0}.achievement-meter i{display:block;height:100%;background:#9dbb88;border-radius:20px}
.achievement-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:17px}
.expansion-layout{display:grid;grid-template-columns:1fr 1fr;gap:26px;min-height:0;flex:1;align-items:center}
.expansion-preview{display:flex;flex-direction:column;min-height:0;align-items:center;justify-content:center;background:#e9eddb;border-radius:22px;padding:16px;height:100%}
.expansion-preview .storefront{flex:1 1 0;aspect-ratio:auto;height:0;max-height:none;margin:0 auto}.expansion-preview h3{font-size:28px;margin:8px 0}.expansion-preview p{font-size:18px;margin:0;text-align:center}
.expansion-plan{min-height:0}.expansion-plan h2{font-size:28px;margin:18px 0 8px}.expansion-plan>p{font-size:19px;line-height:1.5;word-break:keep-all;margin:8px 0}
.level-trail{display:flex;gap:6px;flex-wrap:wrap}.level-trail span{padding:7px 9px;background:#eee5d7;border-radius:10px;font-size:16px}.level-trail .reached{background:#dce8d2;color:#547147}
.expansion-needs{list-style:none;padding:0;margin:14px 0}.expansion-needs li{font-size:20px;padding:10px 0;border-bottom:1px dashed #d6c7ad;display:flex;flex-wrap:wrap;gap:5px 12px;justify-content:space-between}.expansion-needs span{font-size:17px;color:#89755f}
.expansion-plan .primary{width:100%;font-size:22px;min-height:48px}.expansion-plan button:disabled{opacity:.65}
.collection-art{height:115px;display:grid;place-items:center}.collection-art .item{width:100px;height:110px}.undiscovered{filter:grayscale(1);opacity:.32}.collection-grid .growth-card.discovered{border-color:#b3c59f;background:#eff2e3}
.growth-summary{flex:1;width:100%;max-width:1160px;min-height:0;margin:0 auto;gap:18px;grid-template-columns:1fr 1fr}
.growth-summary>.paper{min-height:0;padding:20px 24px;display:flex;flex-direction:column}.growth-summary .ledger-counts{margin:8px 0}.growth-summary .money-line{padding:6px 0;font-size:18px}.growth-summary .money-line.total{padding:10px 0;font-size:24px}
.growth-summary .waste-line{font-size:16px;margin:6px 0 12px;padding-top:0}.summary-actions{margin-top:auto;display:flex;flex-direction:column;gap:8px}.summary-actions button{min-height:42px}
.growth-summary-goals .storefront{flex:1;min-height:0;max-height:210px}.growth-summary-goals .storefront svg{max-height:210px}.summary-goal{font-size:18px!important;line-height:1.45;margin:10px 0!important;text-align:center}.summary-growth-buttons{display:flex;gap:8px;flex-wrap:wrap}.summary-growth-buttons button{flex:1;font-size:18px;min-height:44px;padding:9px}
.growth-summary .menu-unlock{padding:10px;margin:10px 0 0}.growth-summary .menu-unlock h3{font-size:19px;margin:0 0 4px}.growth-summary .menu-unlock>div{gap:8px}.growth-summary .menu-unlock .item{height:48px;width:65px}.growth-summary .menu-unlock b{font-size:15px}.growth-summary .menu-unlock section{flex:1;min-width:0}
.has-counter .counter-actions{background:#c5ded3e6;border-radius:16px;padding:10px}.has-sign .room .sign{background:#dcb784;border:3px solid #9d7b54}.has-wall .room{background-color:#efc7b3;background-blend-mode:soft-light}.has-floor .room{border-bottom:14px solid #d9c9ad}.shop-level-2 .room{box-shadow:0 0 0 3px #a8c1a2}.shop-level-3 .room{box-shadow:0 0 0 4px #d5b776}.has-lamp .room{box-shadow:inset 0 0 65px #ffe6a980}
@media(max-height:680px) and (min-width:781px){.shell.view-home,.shell.view-growth,.shell.view-summary{padding:9px 14px}.growth-panel{padding:12px 16px}.growth-heading{margin-bottom:8px}.growth-heading small{display:none}.growth-heading h2{font-size:27px}.growth-tabs{margin-bottom:10px}.growth-card{padding:9px 12px;grid-template-columns:68px minmax(0,1fr);gap:8px}.growth-icon,.growth-card .upgrade-art{width:64px;height:64px}.growth-card h3{font-size:23px}.growth-card p{margin:3px 0 6px;line-height:1.3}.growth-card small{font-size:15px}.growth-summary>.paper{padding:14px 18px}.growth-summary .ledger-counts>div{padding:7px}.growth-summary .ledger-counts strong{font-size:25px;margin-top:3px}.growth-summary-goals .storefront{max-height:155px}.growth-summary-goals .storefront svg{max-height:155px}.view-home .intro-title h2{font-size:28px}.view-home .intro-title{padding:8px}.view-home .intro-visual>.storefront{margin-top:8px}.expansion-plan h2{margin-top:12px;font-size:25px}.expansion-plan>p{font-size:18px}.expansion-needs li{padding:7px 0}}
@media(max-width:780px){.shell.view-home,.shell.view-growth,.shell.view-summary{height:auto;min-height:100dvh;overflow:visible;padding:12px}.view-home .top,.view-growth .top,.view-summary .top{flex-wrap:wrap}.view-home .brand,.view-growth .brand,.view-summary .brand{flex-basis:100%}.view-home .intro{display:flex;flex-direction:column}.view-home .intro-visual{padding:16px;min-height:280px}.view-home .intro-visual>.storefront{max-height:220px;max-width:390px}.growth-panel{padding:15px 12px;min-height:660px}.growth-heading small{display:none}.growth-tabs{gap:5px}.growth-tabs button{font-size:19px;padding:8px 4px}.growth-card-grid{grid-template-columns:1fr;grid-template-rows:repeat(4,minmax(145px,auto));flex:none}.growth-card{grid-template-columns:64px minmax(0,1fr);gap:10px}.growth-icon,.growth-card .upgrade-art{width:60px;height:60px}.growth-card h3{font-size:23px}.growth-card p{font-size:18px}.growth-pager{margin-top:8px;gap:14px}.expansion-layout{grid-template-columns:1fr}.expansion-preview .storefront{max-height:240px}.growth-summary{display:flex;flex-direction:column}.growth-summary>.paper{padding:20px}.growth-summary-goals .storefront{max-height:230px;min-height:160px}.view-home .menu-preview .item{height:55px}}
