/* Studio rebuild: the room is the centre of play, controls stay on its edges. */
body{background:#e8e9df;background-image:radial-gradient(ellipse at 50% 24%,#faf4de 0,transparent 56%),linear-gradient(160deg,#d8e7dc,#eeeadb);color:#254b40}
.ambient-orb{position:fixed;pointer-events:none;width:330px;height:330px;border-radius:50%;filter:blur(80px);opacity:.22}.orb-one{background:#dfba75;right:-180px;top:0}.orb-two{background:#86b8a2;bottom:0;left:-180px}
.brand-mark{position:fixed;top:25px;left:30px;display:flex;align-items:center;gap:10px;z-index:1;font-size:11px;font-weight:900;letter-spacing:1.5px}.brand-symbol{width:37px;height:37px;border-radius:12px;background:#285e4e;color:#ffedc6;display:grid;place-items:center;font-family:Georgia,serif;font-size:30px;letter-spacing:-3px;padding-right:3px}.brand-mark small{display:block;font-size:7px;margin-top:5px;font-weight:600;letter-spacing:1.2px;color:#698171}body[data-view=play] .brand-mark{display:none}
#world{top:114px;bottom:242px;left:0;width:100%;height:calc(100% - 356px);cursor:pointer;touch-action:manipulation}
body[data-view=menu] #world{top:40px;bottom:0;left:330px;width:calc(100% - 330px);height:calc(100% - 70px);cursor:default}
.hud{top:max(12px,env(safe-area-inset-top));left:16px;right:16px;max-width:900px;margin:auto}.round{background:#fffaf0;border-color:#fff;box-shadow:0 3px 0 #c2cdbb}.hud-stats{grid-template-columns:1fr 1.1fr .6fr;max-width:420px;padding:11px 17px;border:1px solid #fff;background:#fffcf0e8;box-shadow:0 3px 0 #b8cdbd55;border-radius:17px}.hud-stats>span:nth-child(3){display:none}.hud-stats b{font-size:18px;letter-spacing:-.5px}.hud-stats small{font-size:8px;letter-spacing:.7px}.revenue-stat b{color:#997032}
.journey-goal{top:77px;width:min(360px,calc(100% - 32px));min-height:43px;padding:8px 16px 12px;border-radius:14px;background:#315f51;box-shadow:none}.journey-goal #mission{font-size:10px;display:inline}.journey-goal b{display:inline;margin-left:8px;font-size:10px}.journey-track{height:3px}
.studio-label{position:absolute;left:50%;top:137px;transform:translateX(-50%);text-align:center;white-space:nowrap;pointer-events:none}.studio-label>span{font-size:9px;font-weight:850;letter-spacing:2px;color:#557164}.studio-label small{display:block;margin-top:5px;font-size:10px;color:#758477}
.studio-hotspots{position:fixed;inset:0;pointer-events:none}.studio-hotspots button{position:absolute;transform:translate(-50%,-100%);min-height:44px;min-width:70px;border:1px solid #ffffffe0;border-radius:15px;background:#fffaf0ed;box-shadow:0 4px 0 #b1c2af90,0 6px 16px #1e493016;padding:6px 10px;font-size:10px;font-weight:800;white-space:nowrap}.studio-hotspots button span{font-size:16px;display:inline-block;margin-right:3px;color:#ad7e35}.studio-hotspots button:after{content:'';position:absolute;left:calc(50% - 4px);bottom:-5px;width:8px;height:8px;background:#fffaf0;transform:rotate(45deg)}.studio-hotspots button:active{transform:translate(-50%,-94%)}
#asset-status{position:absolute;top:45%;left:50%;transform:translateX(-50%);background:#fff7e6;padding:10px 14px;border-radius:12px;font-size:11px}.inbox-label{position:absolute;bottom:222px;left:50%;transform:translateX(-50%);width:min(580px,calc(100% - 28px));display:flex;justify-content:space-between;align-items:center}.inbox-label b{font-size:9px;letter-spacing:1.4px;color:#638071}.inbox-label span{font-size:9px;color:#7b8270}
.customer-row{top:auto;bottom:116px;left:50%;width:min(580px,calc(100% - 28px));gap:7px}.customer{min-height:96px;height:96px;max-height:96px;padding:8px 9px;gap:3px;border:1px solid #fff;border-radius:13px;box-shadow:0 3px 0 #b4c6b760;background:#fffcf1ed}.customer .brief{min-height:0;font-size:11px;line-height:1.2}.customer .number{font-size:7px;letter-spacing:.4px}.customer .order-price{font-size:10px}.customer .action{font-size:9px;min-height:0;color:#3a725a}.customer.checkout .action{padding:5px 2px;font-size:9px}.customer .patience{height:3px}.customer.order-selected{border:2px solid #a67733;background:#fff0ce;transform:translateY(-4px)}.customer.empty{visibility:visible;background:#dce4d440;border:1px dashed #afbeaa;box-shadow:none;opacity:.5!important}.customer.empty:before{content:'◌';text-align:center;font-size:22px;color:#a0b19c;margin:auto}.customer:disabled:not(.empty){opacity:.68}.customer.target{transform:translateY(-3px)}
.products-area{bottom:59px;width:min(580px,calc(100% - 28px))}.products{gap:7px}.product{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;max-width:none;height:46px;padding:5px 8px;border-radius:12px;text-align:left;border:1px solid #d4d4b6;background:#f8f0d7;box-shadow:0 2px 0 #c8bd9760}.product .icon{display:inline-block;font-size:21px;margin:0}.product strong{font-size:10px}.product small{font-size:9px}.product.locked .icon{font-size:16px}.product.locked strong{font-size:9px}.product.selected{transform:translateY(-2px);border-color:#9a6c30}.play-hint{position:absolute;bottom:162px;left:50%;transform:translateX(-50%);font-size:10px;padding:6px 12px;white-space:nowrap;margin:0;color:#4c715e;background:#f9f8e7d9}
.upgrade-open{top:auto;bottom:max(8px,env(safe-area-inset-bottom));left:50%;right:auto;transform:translateX(-50%);width:220px;min-height:42px;border-radius:13px;padding:9px;background:#2d6552;color:#fff0c9;border-color:#2d6552;box-shadow:0 3px 0 #1e493d}.upgrade-open.ready{background:#ba8a3f;border-color:#ba8a3f;color:#fff9e5;box-shadow:0 3px 0 #90652d}.accounts-open{position:absolute;bottom:max(8px,env(safe-area-inset-bottom));right:20px;border:0;background:#f7f3e5;border-radius:12px;min-height:42px;padding:8px 12px;font-size:10px;font-weight:800}.combo{top:auto;bottom:263px;left:50%;transform:translateX(-50%);font-size:11px;color:#9a7338}
.feedback,.copy-receipt{bottom:253px;font-size:11px;max-width:90%;white-space:normal;width:max-content;box-shadow:0 3px 16px #32523018;padding:8px 13px;border:1px solid #fff7e2;border-radius:12px}.milestone-toast{bottom:263px;padding:12px;width:min(330px,90%);z-index:3}.milestone-toast strong{font-size:17px}
.menu{left:40px;top:108px;bottom:auto;transform:none;width:320px;max-height:calc(100dvh - 133px);padding:24px;border-radius:24px;background:#fffcf0e8;border:1px solid #fff;box-shadow:0 15px 50px #34573815;backdrop-filter:blur(12px)}.menu h1{font-size:42px;line-height:1.03;letter-spacing:-2px;margin:15px 0 12px}.menu h1 span{color:#af7f38}.menu .eyebrow{font-size:8px;letter-spacing:1.8px}.menu p{font-size:12px}.menu .level-list{margin:16px 0}.niche-list{grid-template-columns:repeat(3,1fr);gap:6px}.niche-list button{padding:8px 6px;min-height:71px;border-radius:11px;text-align:center}.niche-list b{font-size:10px;line-height:1.3}.niche-list span{font-size:8px;margin:4px 0 0}.niche-list small{display:none}.niche-label{font-size:10px!important}.menu .revenue-record{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;background:#f1ebd7;border-color:#e0d6b9}.menu .revenue-record small{font-size:8px;text-align:left}.menu .revenue-record strong{font-size:20px;margin:0}.menu .revenue-record span{display:none}.menu .primary{font-size:13px;min-height:46px;padding:12px}.menu .journey-link{background:transparent;border:0;min-height:38px;padding:8px;margin:9px 0 0;font-size:11px}.menu-foot{margin-top:2px;gap:8px}.menu-foot button{font-size:10px}.compare-link{font-size:9px;margin:1px 0}.menu .save-note{font-size:8px!important;margin-top:9px}.dialog{border:1px solid #fff;box-shadow:0 25px 90px #27463845}.dialog::backdrop{background:#29473e70;backdrop-filter:blur(5px)}
@media(max-width:700px){.brand-mark{top:19px;left:21px;font-size:9px}.brand-symbol{width:32px;height:32px;font-size:26px}.brand-mark small{font-size:6px}body[data-view=menu] #world{top:55px;left:0;width:100%;height:calc(100% - 430px);bottom:auto}.menu{top:auto;bottom:12px;left:14px;right:14px;width:auto;max-height:58dvh;padding:18px 20px;border-radius:23px}.menu h1{font-size:34px;margin:9px 0 8px;line-height:1}.menu h1 br{display:none}.menu h1 span{display:block}.menu p{font-size:11px;margin:8px 0}.menu .level-list{margin:10px 0}.menu .niche-list button{min-height:57px;padding:7px 5px}.menu .revenue-record{margin:9px 0;padding:7px 10px}.menu .revenue-record strong{font-size:18px}.menu .primary{margin-top:8px}.menu-foot button{min-height:30px}.menu .journey-link{min-height:32px;margin-top:6px}.hud-stats b{font-size:16px}.hud-stats small{font-size:7px}.hud-stats{max-width:330px;padding:10px 13px}.accounts-open{right:14px;width:65px;padding:8px 5px}.upgrade-open{left:14px;transform:none;width:calc(100% - 90px)}.product strong{font-size:9px}.studio-hotspots button{min-width:66px;padding:5px 8px;font-size:9px}.studio-hotspots button span{font-size:14px}.studio-label{top:132px}.studio-label small{font-size:9px}}
@media(max-width:360px){.menu{padding:14px 17px}.menu h1{font-size:30px}.niche-list b{font-size:9px}.hud{left:10px;right:10px}.hud-stats b{font-size:14px}.journey-goal #mission{font-size:9px}.journey-goal b{font-size:9px}.customer .brief{font-size:10px}.customer{padding:7px 6px}.product{padding:4px;gap:3px}.product .icon{font-size:18px}.product strong{font-size:8px}.studio-hotspots button{font-size:8px;min-width:59px}.studio-hotspots button span{font-size:12px}.play-hint{font-size:9px}}
@media(max-height:700px) and (max-width:700px){#world{top:110px;height:calc(100% - 330px);bottom:220px}.studio-label{top:122px}.studio-label small{display:none}.inbox-label{bottom:203px}.customer-row{bottom:104px}.customer{min-height:91px;height:91px;max-height:91px}.products-area{bottom:54px}.product{height:43px;min-height:43px}.play-hint{bottom:151px;font-size:9px}.upgrade-open,.accounts-open{min-height:38px}.feedback,.copy-receipt{bottom:238px}.milestone-toast{bottom:224px}.combo{bottom:237px}.menu{max-height:64dvh;padding:13px 17px;bottom:8px}.menu h1{font-size:27px;margin:8px 0}.menu p{font-size:10px;margin:5px 0}.menu .niche-list button{min-height:49px}.menu .level-list{margin:7px 0}.menu .revenue-record{margin:7px 0;padding:6px 10px}.menu .primary{min-height:41px;padding:10px}.menu .journey-link{min-height:30px;padding:6px;margin-top:5px}.menu .save-note{margin-top:5px}.menu .eyebrow{font-size:7px}body[data-view=menu] #world{top:34px;height:36%}.brand-mark{top:12px}.brand-mark small{display:none}.brand-symbol{height:27px;width:27px;font-size:23px}}
@media(max-height:500px) and (min-width:701px){#world{top:65px;left:0;width:calc(100% - 230px);height:calc(100% - 78px);bottom:0}.hud{left:14px;right:246px}.hud-stats{padding:8px 12px}.journey-goal{top:auto;bottom:13px;left:20px;transform:none;width:300px;min-height:40px}.studio-label{top:64px;left:34%}.studio-label small{display:none}.customer-row{top:54px;bottom:auto;right:14px;left:auto;transform:none;width:207px;grid-template-columns:1fr;gap:5px}.customer{height:64px;min-height:64px;max-height:64px;display:grid;grid-template-columns:1fr auto;padding:7px 10px}.customer .number{grid-column:1/-1}.customer .brief{font-size:10px;min-height:0}.customer .action{font-size:9px;grid-column:1/-1}.customer .order-price{grid-row:2;grid-column:2}.customer .patience{position:absolute;bottom:4px;left:10px;right:10px}.inbox-label{top:28px;bottom:auto;left:auto;right:15px;transform:none;width:205px}.products-area{bottom:58px;right:14px;left:auto;transform:none;width:207px}.products{flex-direction:row;gap:5px}.product{height:44px;min-height:44px;display:block;text-align:center;padding:3px}.product .icon{font-size:18px}.product strong{font-size:7px}.product small{display:none}.play-hint{display:none}.upgrade-open{bottom:10px;left:auto;right:83px;transform:none;width:138px;font-size:10px}.accounts-open{bottom:10px;right:14px;width:61px}.combo{bottom:57px;left:32%;top:auto}.feedback,.copy-receipt,.milestone-toast{left:33%;bottom:65px}.menu{left:22px;top:72px;width:310px;max-height:calc(100dvh - 88px);padding:16px}.menu h1{font-size:30px}.menu p{font-size:10px}.brand-mark{top:14px;left:25px}body[data-view=menu] #world{left:330px;top:0;width:calc(100% - 330px);height:100%}.studio-hotspots button{font-size:9px;min-height:38px}.studio-hotspots button span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.studio-hotspots button:active{transform:translate(-50%,-100%)}.ambient-orb{filter:none;opacity:.05}}
.play-hint{bottom:187px}.feedback:not(:empty)~.products-area .play-hint,.receipt-active .play-hint,.milestone-active .play-hint{visibility:hidden}
@media(max-height:700px) and (max-width:700px){.play-hint{bottom:173px}}
@media(max-width:360px){.customer .number{display:none}.customer .brief{font-size:10px;line-height:1.1}.customer .action{line-height:1.1}.customer.checkout .action{padding:5px 2px;font-size:9px}.customer{gap:3px}}

/* Home progression and paid staff, inside the paused upgrade menu. */
button.studio-label{border:0;background:#fffcf0b8;border-radius:12px;padding:7px 12px;min-height:44px;pointer-events:auto;cursor:pointer;z-index:2}button.studio-label>span{letter-spacing:1.1px}button.studio-label>span:after{content:' ↗';color:#a77b3b}.upgrade-tabs{display:flex;gap:7px;position:sticky;top:0;background:#fffcf0;padding:8px 0;z-index:1}.upgrade-tabs button{flex:1;min-height:44px;border:1px solid #c8d4bc;background:#f4f0df;border-radius:12px;color:#365c48;font-weight:800}.upgrade-tabs button[aria-pressed=true]{background:#2d6552;color:#fff1ce}.home-summary{background:#eee7d2;border-radius:16px;padding:15px;margin:10px 0}.home-summary>b{display:block;font-size:19px}.home-summary>span{font-size:11px;color:#637764}.home-steps{display:flex;gap:4px;margin:12px 0}.home-steps span{flex:1;border-top:4px solid #c7c8b2;padding-top:6px;font-size:9px;line-height:1.4;color:#7f8474}.home-steps .done{border-color:#408167;color:#2c6450}.home-summary p{margin-bottom:0;font-size:12px}.upgrade-choice small{line-height:1.5}

body[data-view=tour] #app,body[data-view=tour] .menu,body[data-view=tour] .brand-mark{display:none}body[data-view=tour] #world{inset:70px 0 75px;width:100%;height:calc(100% - 145px)}#house-tour{position:fixed;inset:0;pointer-events:none}.tour-heading{position:absolute;top:22px;left:20px;right:20px;text-align:center}.tour-heading b{display:block;font-size:20px}.tour-heading small{font-size:11px;color:#69816c}.tour-controls{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:14px;right:14px;display:flex;gap:6px;justify-content:center}.tour-controls button{pointer-events:auto;min-height:44px;padding:8px 12px;border-radius:12px;border:1px solid #becbb6;background:#faf5e4;font-size:11px;font-weight:750}.tour-controls button[aria-pressed=true]{background:#2d6552;color:#fff0c8}.tour-controls button:disabled{opacity:.4}@media(max-width:360px){.tour-controls{gap:4px;left:8px;right:8px}.tour-controls button{font-size:9px;padding:7px}}

.customer.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;opacity:.8!important}.customer.empty:before,.customer.empty:after{display:none}.customer.empty .empty-slot{font-size:10px;font-weight:750;color:#627964}.customer.empty small{font-size:9px;font-weight:500;color:#647866;text-align:center;line-height:1.3}.inbox-label span{font-variant-numeric:tabular-nums}@media(max-width:360px){.customer.empty small{font-size:8px}}
