:root{color:#f4f0e6;font-synthesis:none;--ink:#29352d;--mint:#b8ccae;--gold:#e8c17e;--muted:#c0c8bc;--paper:#f4f0e6;--line:#d5d1c4;font-family:Segoe UI,ui-sans-serif,system-ui,sans-serif;line-height:1.5}.asset-loading{color:var(--paper);text-align:center;pointer-events:auto;background:#29352d;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0;overflow:auto}.asset-loading small{color:var(--muted);font-size:12px}#room-loading{z-index:100}#room-loading[hidden],#room-loading [hidden]{display:none}#room-loading button{margin:12px 6px}.asset-loading h1{letter-spacing:-.02em;font-size:clamp(26px,4vw,40px);font-weight:600}.asset-loading p{color:var(--muted);overflow-wrap:anywhere;max-width:46ch}.asset-loading progress{accent-color:#c9b991;width:min(320px,80vw);height:6px}.asset-loading button{background:var(--mint);color:var(--ink);padding:12px 22px}*{box-sizing:border-box}body{background:#91afa7;margin:0;overflow:hidden}button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}button:disabled{opacity:.45;cursor:default}#game{width:100vw;height:100vh;display:block}#ui{pointer-events:none;position:fixed;inset:0}button,#modal.visible{pointer-events:auto}#hud{position:absolute;inset:0}.brand{border-left:3px solid var(--mint);background:#29352df2;border-radius:3px;max-width:240px;padding:10px 14px;position:absolute;top:20px;left:24px}.brand>b{letter-spacing:.03em;font-size:13px;font-weight:650}.brand>b span{display:none}.brand small{color:var(--muted);margin-top:2px;font-size:12px;line-height:1.45;display:block}.clock{text-align:center;background:#29352df2;border:1px solid #c8d2bf55;border-radius:4px;min-width:148px;padding:9px 22px;position:absolute;top:20px;left:50%;transform:translate(-50%)}.clock>span{color:var(--muted);font-size:12px}.clock>b{font-variant-numeric:tabular-nums;margin:0;font-size:20px;font-weight:600;display:block}.clock>small{color:var(--muted);font-size:11px}.wallet{text-align:right;max-width:calc(50% - 100px);position:absolute;top:20px;right:24px}.wallet>small{color:var(--paper);text-shadow:0 1px 3px #17251c;font-size:11px;display:block}.wallet>strong{color:var(--paper);font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #17251c;overflow-wrap:anywhere;font-size:28px;font-weight:650;line-height:1.3;display:block}.phone-button{background:#29352df2;border:1px solid #c8d2bf66;border-radius:4px;margin-top:6px;padding:7px 12px}.needs{background:#29352df2;border:1px solid #c8d2bf44;border-radius:4px;gap:16px;padding:12px 14px;display:flex;position:absolute;top:104px;left:24px}.need{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;width:86px;min-width:0;display:grid}.need span{text-transform:capitalize;color:var(--muted);font-size:12px}.need b{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.need i{background:#ffffff19;border-radius:4px;grid-column:1/-1;height:4px;display:block;overflow:hidden}.need em{background:var(--mint);border-radius:4px;height:100%;display:block}.need.hunger em{background:var(--gold)}.need.mood em{background:#bbbae2}.objective{border-left:3px solid var(--gold);background:#29352df2;border-radius:4px;width:260px;max-width:calc(100vw - 48px);padding:14px 16px;position:absolute;bottom:80px;left:24px}.objective>span{color:var(--muted);font-size:12px;font-weight:600}.objective>p{margin:6px 0 12px;font-size:14px;font-weight:600;line-height:1.5}.steps{gap:6px;display:flex}.steps i{background:#e2eadd30;border-radius:4px;width:25px;height:3px}.steps i.complete{background:var(--mint)}.steps i.current{background:var(--gold)}.controls{color:var(--paper);background:#29352de6;border-radius:3px;flex-wrap:wrap;align-items:center;gap:8px 16px;max-width:calc(100% - 224px);padding:8px 10px;font-size:11px;display:flex;position:absolute;bottom:20px;left:24px}.controls>span{white-space:nowrap;align-items:center;gap:6px;display:flex}.controls>span:last-child{color:var(--muted)}kbd{color:inherit;white-space:nowrap;background:#ffffff0b;border:1px solid #d9dfcc66;border-bottom-width:2px;border-radius:3px;padding:4px 6px;font-family:inherit;font-size:10px;font-weight:600;line-height:1.3}.interaction{background:#29352df5;border:1px solid #c8d2bf88;border-radius:4px;align-items:center;gap:12px;width:max-content;max-width:min(460px,100vw - 600px);padding:12px 16px;display:flex;position:absolute;bottom:100px;left:50%;transform:translate(-50%)}.interaction kbd{background:var(--paper);color:var(--ink);flex:none;padding:9px 13px;font-size:18px}.interaction small{color:var(--muted);margin-bottom:3px;font-size:12px;display:block}.interaction b{font-size:14px;font-weight:600;line-height:1.5}.mini-map{background:#29352df2;border:1px solid #c8d2bf55;border-radius:4px;width:168px;padding:10px;position:absolute;bottom:80px;right:24px}.map-heading{justify-content:space-between;margin-bottom:7px;font-size:10px;display:flex}.map-heading span{color:var(--mint)}.town-map{aspect-ratio:1;background:#afbf9e;border:4px solid #606c57;border-radius:3px;width:min(310px,100%);height:auto;margin:0 auto;position:relative;overflow:hidden}.town-map.small{border:0;border-radius:2px;width:146px;height:146px;margin:0}.map-road{background:#d6d9c5;display:block;position:absolute}.map-road.vertical{width:8%;height:100%;top:0;left:46%}.map-road.horizontal{width:100%;height:8%;top:54%}.map-building{color:#263e45;text-shadow:none;flex-direction:column;justify-content:center;align-items:center;font-size:16px;display:flex;position:absolute;transform:translate(-50%,-50%)}.map-footprint{background:var(--building);border:1px solid #263e4570;border-radius:1px;position:absolute;transform:translate(-50%,-50%)}.map-symbol{z-index:1;justify-content:center;align-items:center;line-height:1;display:flex;position:relative}.map-building span{font-size:10px;font-weight:600;line-height:1.3}.map-building.here .map-footprint{border-color:#fff9de}.small .map-building{font-size:11px}.map-side-location{z-index:1;background:var(--building);color:#263e45;white-space:nowrap;border:1px solid #243d45;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:10px;line-height:1.15;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 1px 4px #132a3040}.map-side-location b{font-size:12px}.map-side-location span{font-size:9px;font-weight:600;position:absolute;left:calc(100% + 3px)}.map-side-location.garden span{left:auto;right:calc(100% + 3px)}.map-side-location.compact{width:12px;height:12px;font-size:10px}.you{z-index:2;background:#fff9de;border:2px solid #294b56;border-radius:50%;width:9px;height:9px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 3px #fff9de30}.debug-trigger{width:25px;height:25px;position:absolute;bottom:-35px;right:0;background:#18323a90!important;border-radius:50%!important;padding:0!important;font-size:16px!important}.scene-caption{color:var(--paper);background:#29352de6;border-radius:3px;padding:10px 14px;font-size:12px;position:absolute;bottom:24px;right:24px}.scene-caption span{text-align:right;color:var(--muted);margin-top:2px;font-size:12px;display:block}#modal{background:#17241c66;justify-content:center;align-items:center;padding:24px;display:none;position:absolute;inset:0}#modal.visible{display:flex}#modal:has(.start-panel){background:#17241c33;justify-content:flex-start}.start-panel{background:var(--paper);width:470px;max-width:100%;max-height:calc(100dvh - 48px);color:var(--ink);--mint:#41644a;--gold:#92562f;--muted:#66715f;border-radius:4px;margin-left:5vw;padding:32px;overflow:auto;box-shadow:0 8px 32px #17241c26}.eyebrow{color:var(--muted);font-size:12px;font-weight:600}h1{letter-spacing:-.035em;margin:12px 0 22px;font-size:clamp(38px,5vw,60px);font-weight:650;line-height:1.1}h1 span{display:none}.intro{margin:0 0 14px;font-size:22px;font-weight:500;line-height:1.4}.start-copy{color:var(--muted);margin:0;font-size:14px;line-height:1.65}.start-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.start-actions button{padding:12px 18px}.start-footer{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;font-size:12px;display:flex}.version{color:var(--muted);margin-top:24px;font-size:11px;display:block}button{font:inherit;cursor:pointer;touch-action:manipulation;color:inherit;white-space:normal;overflow-wrap:anywhere;background:#ffffff0a;border:1px solid #b7c5b16b;border-radius:4px;padding:10px 16px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;transition:background .15s}button:hover{background:#ffffff16}button.primary{background:var(--mint);border-color:var(--mint);color:var(--ink)}button.primary:hover{filter:brightness(1.08)}button.full{width:100%}.text-button{color:inherit;text-underline-offset:3px;background:0 0;border:0;padding:6px 0;text-decoration:underline}.panel{background:var(--paper);width:590px;max-width:100%;max-height:calc(100dvh - 48px);color:var(--ink);--mint:#41644a;--gold:#92562f;--muted:#66715f;border:1px solid #c6c9ba;border-radius:5px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 8px 32px #17241c26}.panel header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 18px;display:flex}.panel h2{letter-spacing:-.02em;margin:4px 0 8px;font-size:26px;font-weight:650;line-height:1.25}.panel header p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.panel button.close{border:1px solid var(--line);background:0 0;flex:none;width:36px;height:36px;padding:0;font-size:24px;line-height:1}.panel-body{scrollbar-width:thin;scrollbar-color:#8b9983 var(--paper);min-height:0;padding:20px 24px;overflow:auto}.panel footer{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;flex:none;justify-content:space-between;gap:4px 12px;padding:12px 24px;font-size:11px;display:flex}.action-card{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;margin:0;padding:14px 0;display:grid}.action-card>div:nth-child(2){min-width:0}.action-card h3{margin:0 0 4px;font-size:15px;font-weight:600;line-height:1.4}.action-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.action-card>button{max-width:160px}.card-icon{text-align:center;width:32px;color:var(--mint);font-size:22px}.swatch{border:1px solid #fff3;border-radius:7px 7px 3px 3px;width:30px;height:36px;display:block}.balance-strip{color:var(--muted);background:#e7eadf;border-radius:3px;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;margin-bottom:8px;padding:12px 14px;font-size:13px;display:flex}.balance-strip b{color:var(--gold)}.muted{color:var(--muted);font-size:13px;line-height:1.6}.future-job{background:#e7eadf;border:0;border-left:3px solid #a4b597;border-radius:0;margin-top:20px;padding:16px}.future-job>span{color:var(--muted);font-size:12px;font-weight:600}.future-job h3{margin:6px 0;font-size:17px;font-weight:600;line-height:1.5}.future-job p{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.future-job small{color:var(--muted);margin-top:8px;font-size:12px;display:block}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.stat-card{background:#e7eadf;border:0;border-radius:3px;min-width:0;padding:14px}.stat-card>span{color:var(--muted);text-transform:capitalize;font-size:12px;font-weight:600}.stat-card h3{margin:6px 0 10px;font-size:28px;font-weight:600;line-height:1.4}.stat-card h3 small{color:var(--muted);margin-left:4px;font-size:12px;font-weight:400}.stat-card p{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.5}.stat-card>b{color:var(--mint);margin-top:8px;font-size:12px;display:block}.xp-bar{background:#cdd4c5;border-radius:2px;height:5px;overflow:hidden}.xp-bar i{background:var(--mint);border-radius:4px;height:100%;display:block}.career-card{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;margin:0;padding:18px 0}.career-heading{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px;display:flex}.career-heading>div{flex:160px;min-width:0}.rank{color:#809174;font-size:23px;font-weight:400}.career-heading h3{margin:0 0 4px;font-size:16px;font-weight:600;line-height:1.4}.career-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.badge{color:var(--mint);background:#e0e6d8;border-radius:3px;max-width:100%;padding:4px 8px;font-size:11px}.badge.locked{color:var(--muted);background:#e7e5db}.requirement{margin-top:12px}.requirement>span{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:4px 8px;margin-bottom:6px;font-size:12px;display:flex}.location-list{margin-top:16px}.location-list>div{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:4px 12px;padding:10px 0;font-size:12px;display:flex}.location-list b{font-weight:550}.location-list span{color:var(--muted)}.location-list em{color:var(--mint);margin-left:6px;font-style:normal}.location-list em.closed{color:#8d472f}.side-location-list>div{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px 10px;padding:10px 0;font-size:12px;display:flex}.side-location-list b{align-items:center;gap:7px;font-weight:550;display:flex}.side-location-list b i{background:var(--building);color:#29352d;border-radius:3px;flex:none;place-items:center;width:22px;height:22px;font-size:14px;font-style:normal;display:inline-grid}.side-location-list span{color:var(--muted)}.side-activity{text-align:left}.side-activity-icon{color:var(--mint);margin:0 0 10px;font-size:32px;display:block}.side-activity>p{color:var(--muted);font-size:14px;line-height:1.6}.side-activity-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.side-activity-details span{color:var(--muted);background:#e7eadf;border-radius:3px;padding:12px;font-size:12px}.side-activity-details b{color:var(--ink);margin-top:4px;font-size:13px;line-height:1.5;display:block}.section-label{color:var(--ink);margin:20px 0 10px;font-size:14px;font-weight:600}.stack{flex-direction:column;gap:11px;display:flex}.center-copy{text-align:center;color:inherit;font-size:14px;font-weight:400;line-height:1.6}.center-copy small{color:var(--muted);font-size:12px}.danger{color:#943f2c}.sleep-illustration{text-align:center;color:var(--mint);font-size:48px;line-height:1.3}.panel blockquote{color:var(--ink);border-left:3px solid #a4b597;margin:4px 0 24px;padding-left:16px;font-size:19px;font-weight:400;line-height:1.6}.debug-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.mini-status{color:#a9c5c5;justify-content:space-between;font-size:12px;display:flex}.mini-status b{color:var(--gold)}.product{text-align:center;padding:22px 0 27px}.product>span{font-size:75px}.product h3{margin:15px 0 8px;font-size:25px;font-weight:500}.product p{color:#a9c0c5;font-size:13px}.shelf-choices{gap:10px;display:flex}.shelf-choices button{background:#ffffff0d;flex:1;padding:17px}.timing-track{background:#ffffff0b;border:1px solid #ffffff15;border-radius:8px;height:46px;margin:40px 0 12px;position:relative;overflow:hidden}.target-zone{border-left:1px solid var(--mint);border-right:1px solid var(--mint);background:#a9d8ba50;width:20%;height:100%;position:absolute;left:40%}#timing-marker{background:#ffe0a1;border-radius:4px;width:5px;position:absolute;top:5px;bottom:5px;transform:translate(-50%);box-shadow:0 0 10px #ffe0a150}.timing-labels{color:#a8bfc4;justify-content:space-between;margin-bottom:30px;font-size:10px;display:flex}.timing-labels span:nth-child(2){color:var(--mint)}.question{margin:28px 0;font-size:23px;font-weight:450;line-height:1.6}.result{text-align:center;color:var(--mint);padding:25px 0;font-size:28px;font-weight:500}#toasts[hidden]{display:none}#toasts{z-index:4;flex-direction:column;align-items:flex-end;gap:8px;width:min(360px,100vw - 48px);max-height:calc(100dvh - 180px);display:flex;position:absolute;top:144px;right:24px;overflow:auto}.toast{color:var(--paper);background:#29352df5;border:1px solid #c8d2bf66;border-radius:4px;flex:none;max-width:100%;padding:12px 16px;font-size:13px;line-height:1.5;animation:.2s ease-out toast-in}.toast.level{border-left:3px solid var(--gold);color:var(--gold)}#fade{opacity:0;pointer-events:none;z-index:5;background:#142b3a;transition:opacity .15s;position:absolute;inset:0}#fade.active{opacity:.65}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.no-debug .debug-trigger{display:none}.fatal{pointer-events:auto;background:#29352d;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow:auto}.fatal h1{letter-spacing:-.02em;text-align:center;font-size:clamp(30px,6vw,48px)}.fatal p{text-align:center;max-width:500px;line-height:1.8}.panel.casino-panel{width:min(510px,94vw);margin-left:auto;margin-right:2vw}.casino-status{background:#e8e3d7;border-radius:8px;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px;font-size:11px;display:grid}.casino-status strong{color:#33474e;font-size:17px;display:block}.casino-tabs,.casino-bets,.casino-controls,.casino-achievements{flex-wrap:wrap;gap:6px;margin:15px 0;display:flex}.casino-tabs button{padding:7px 10px;font-size:12px}.casino-input{justify-content:space-between;align-items:center;gap:10px;margin:12px 0;font-size:13px;display:flex}.casino-input input,.casino-input select{color:#263f46;background:#fff9ed;border:1px solid #b5b8aa;border-radius:6px;width:130px;padding:9px}.casino-result{background:#e8ddbf;border-radius:10px;margin-top:15px;padding:12px 16px}.casino-result h3{margin:0 0 6px}.casino-vip{color:#f0d9a7;background:#28334c;border-radius:12px;padding:20px}.casino-progress p,.casino-panel p{font-size:13px;line-height:1.55}.casino-panel details{margin:16px 0;font-size:12px}.casino-panel summary{cursor:pointer;font-weight:700}@media (max-width:700px){.panel.casino-panel{margin:auto}.casino-status{grid-template-columns:repeat(2,1fr)}}.casino-status,.casino-result{color:#33474e}#modal:has(.casino-panel){-webkit-backdrop-filter:none;backdrop-filter:none;background:#0e263718}#modal.blackjack-mode{-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;background:0 0;padding:0}.blackjack-overlay{color:#fff5dd;position:absolute;inset:0}.blackjack-top,.blackjack-bottom{pointer-events:auto;background:#172f3aef;border:1px solid #d6b67470;border-radius:14px;width:min(920px,100% - 32px);padding:12px 18px;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #0b1b2450}.blackjack-top{align-items:center;gap:16px;display:flex;top:14px}.blackjack-top .eyebrow{color:#ddc28b;max-width:105px;line-height:1.5}.blackjack-top .casino-status{color:#e7decb;background:0 0;border:none;flex:1;margin:0;padding:0}.blackjack-top .casino-status strong{color:#fff5dd}.blackjack-bottom{bottom:14px}.blackjack-caption{justify-content:space-between;gap:12px;margin-bottom:8px;font-size:14px;display:flex}.blackjack-caption span,.blackjack-links small{color:#dfd7bd}.blackjack-betting{align-items:end;gap:12px;display:flex}.blackjack-betting .casino-bets{flex:1;gap:5px;margin:0;display:flex}.blackjack-betting .casino-input{color:#eee3c8;max-width:170px;margin:0;font-size:12px}.blackjack-betting input{height:36px}.blackjack-overlay button{color:#263c46;background:#fff5db;border:1px solid #d6b674;padding:9px 14px}.blackjack-overlay button:focus-visible,.blackjack-overlay summary:focus-visible{outline-offset:3px;outline:3px solid #e9bb56}.blackjack-links{justify-content:space-between;gap:12px;margin-top:8px;font-size:12px;display:flex}.blackjack-links details{max-width:500px}.blackjack-totals{gap:8px;font-size:13px;display:grid;position:absolute;top:40%;left:18px}.blackjack-totals span{background:#172f3ac9;border-radius:6px;padding:6px 10px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.gym-scene-controls{pointer-events:none;position:fixed;inset:0;overflow:hidden}.gym-scene-control{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;top:0;left:0;margin:0!important;padding:0!important}@media (max-width:700px){.blackjack-top,.blackjack-bottom{width:calc(100% - 16px);padding:9px}.blackjack-top{flex-wrap:wrap;gap:8px;top:8px}.blackjack-top .eyebrow{display:none}.blackjack-top .casino-status{flex-basis:100%;grid-template-columns:repeat(4,1fr);gap:4px;font-size:10px}.blackjack-top .casino-status strong{font-size:15px}.blackjack-betting{flex-wrap:wrap;gap:7px}.blackjack-betting .casino-bets{flex-basis:100%}.blackjack-overlay button{padding:7px 10px}.blackjack-caption{flex-wrap:wrap;gap:4px;font-size:12px}.blackjack-links small{display:none}.blackjack-totals{font-size:11px;top:25%;left:8px}}.blackjack-inspect{align-items:center;gap:8px;margin-top:6px;font-size:12px;display:flex}.blackjack-inspect select{max-width:180px;padding:5px}.roulette-selection-controls,.roulette-views{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.roulette-selection-controls label{align-items:center;gap:6px;font-size:12px;display:flex}.roulette-selection-controls input{width:65px}.roulette-selection-controls select{width:90px}.roulette-overlay .blackjack-bottom{max-width:680px}.roulette-overlay .casino-input{margin:6px 0}.roulette-views button{padding:6px 12px;font-size:12px}@media (max-width:600px){.roulette-overlay .blackjack-bottom{padding:10px}.roulette-overlay .casino-bets button{padding:7px 10px}.roulette-selection-controls{gap:5px}}.roulette-overlay .blackjack-caption{flex-wrap:wrap}.roulette-overlay .blackjack-top{gap:12px;width:min(740px,100% - 24px);padding:8px 12px}.roulette-overlay .blackjack-bottom{max-width:800px;padding:8px 14px}.roulette-instructions{color:#ece2c5;margin-bottom:6px;font-size:12px}.roulette-overlay .blackjack-links{justify-content:space-between}#roulette-keyboard[open]{flex:1;max-width:650px}.roulette-overlay .blackjack-links details[open]{max-height:50vh;overflow:auto}@media (max-width:600px){.roulette-overlay .blackjack-top{flex-wrap:wrap;gap:6px}.roulette-overlay .blackjack-top .eyebrow{display:none}.roulette-overlay .blackjack-top button{padding:7px 9px}.roulette-overlay .blackjack-bottom{padding:8px 10px}.roulette-instructions{font-size:10px}}.blackjack-table-overlay .blackjack-top{gap:12px;width:min(740px,100% - 24px);padding:8px 12px}.blackjack-table-overlay .blackjack-bottom{width:min(800px,100% - 24px);padding:8px 14px}.blackjack-table-overlay .blackjack-links details[open]{flex:1;max-width:650px;max-height:45vh;overflow:auto}.blackjack-table-overlay .blackjack-betting{flex-wrap:wrap}@media (max-width:600px){.blackjack-table-overlay .blackjack-top{flex-wrap:wrap;gap:6px}.blackjack-table-overlay .blackjack-top button{padding:7px 9px}.blackjack-table-overlay .blackjack-bottom{padding:8px 10px}.blackjack-table-overlay .roulette-instructions{font-size:10px}}.slots-overlay .blackjack-top,.slots-overlay .blackjack-bottom{gap:8px;width:min(740px,100% - 24px);padding:8px 12px}.slots-overlay .blackjack-links details[open]{flex:1;max-height:40vh;overflow:auto}.slots-overlay table{text-align:left;border-collapse:collapse;width:100%}.slots-overlay td,.slots-overlay th{padding:5px 8px}@media (max-width:600px){.slots-overlay .blackjack-top{flex-wrap:wrap;gap:6px}.slots-overlay .blackjack-top button{padding:7px 9px}.slots-overlay .roulette-instructions{font-size:10px}}.world-labels{pointer-events:none;position:fixed;inset:0;overflow:hidden}#hud [hidden],.activity-hud [hidden]{display:none!important}.world-label{color:var(--paper);text-align:center;white-space:pre-line;overflow-wrap:anywhere;background:#29352df2;border:1px solid #b2c9b688;border-radius:3px;max-width:min(230px,100vw - 32px);padding:6px 9px;font-size:12px;line-height:1.4;position:absolute;top:0;left:0;transform:translate(-50%,-100%)}.world-label-content{min-width:0;display:block}.world-label-title{display:block}.world-label-caption{color:var(--muted);margin-top:4px;font-size:11px;font-weight:400;display:block}.world-label-badge[hidden],.world-label-caption[hidden]{display:none}.world-label--task,.world-label--shelf,.world-label--checkout,.world-label--target{--marker-color:#a7c8b7;border:1px solid #9db8ac55;border-left:3px solid var(--marker-color);text-align:left;background:#18353af2;border-radius:8px;align-items:center;gap:7px;padding:6px 9px;font-weight:650;line-height:1.3;display:flex;box-shadow:0 3px 12px #0a24244d}.world-label-badge{background:var(--marker-color,#a7c8b7);color:#18353a;text-align:center;border-radius:4px;flex-shrink:0;min-width:22px;padding:3px 5px;font-size:10px;font-weight:800}.world-label--shelf{font-size:11px}.world-label--checkout{padding:4px 7px;font-size:11px}.world-label.is-target{border-color:var(--gold);max-width:min(245px,100vw - 32px);color:var(--paper);background:#29352df7;border-left-width:3px;padding:9px 12px}.world-label.is-target:after{content:"";background:#173438;border-bottom:1px solid #edc47f;border-right:1px solid #edc47f;width:8px;height:8px;position:absolute;bottom:-5px;left:50%;transform:rotate(45deg)}.world-label.is-target .world-label-caption{color:#edc47f}.world-label.is-offscreen:after,.world-label[hidden]{display:none}.activity-hud{pointer-events:auto;width:min(460px,100vw - 32px);max-height:calc(100dvh - 128px);color:var(--paper);scrollbar-width:thin;background:#29352df7;border:1px solid #a6b39c;border-radius:4px;padding:16px;position:fixed;top:112px;left:50%;overflow:auto;transform:translate(-50%)}.activity-hud header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.activity-hud p{margin:8px 0;font-size:13px;line-height:1.55}.activity-hud small{color:var(--muted);font-size:12px;line-height:1.55;display:block}.activity-hud button{margin:8px 8px 4px 0;padding:7px 12px}.activity-hud .activity-event{color:#e7c887}:is(body:has(.activity-hud) .objective,body:has(.activity-hud) .controls,body:has(.activity-hud) .mini-map){display:none}.grocery-brief{background:#e7eadf;border-left:3px solid #a4b597;margin:14px 0;padding:14px 16px}.grocery-brief b{color:var(--ink);font-size:13px}.grocery-brief p{color:var(--muted);margin:8px 0;font-size:13px;line-height:1.6}.grocery-brief small{color:var(--muted);font-size:12px}.activity-hud.grocery-hud{scrollbar-width:thin;scrollbar-color:#8b9983 #29352d;background:#29352df7;border:1px solid #c8d2bf66;border-radius:4px;width:300px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 136px);padding:16px;top:112px;left:24px;overflow:auto;transform:none}.grocery-hud [hidden]{display:none!important}.grocery-hud header{align-items:center;gap:10px}.grocery-eyebrow{color:var(--muted);margin-bottom:4px;font-size:11px;font-weight:500;display:block}.grocery-hud .activity-title{color:var(--paper);font-size:15px;font-weight:600;line-height:1.5;display:block}.grocery-hud .activity-timer{color:var(--gold);font-variant-numeric:tabular-nums;background:0 0;border:1px solid #c8d2bf44;border-radius:3px;flex:none;padding:5px 8px;font-size:16px}.grocery-progress{margin-top:14px}.grocery-hud .activity-status{color:#b7cbc1;margin:0 0 7px;font-size:11px;line-height:1.6}.grocery-progress-track{background:#b2d0bf17;border-radius:8px;height:4px;overflow:hidden}.grocery-progress-track i{border-radius:inherit;background:#a9d8ba;height:100%;transition:width .2s;display:block}.grocery-next{border:0;border-left:3px solid var(--gold);background:#e8c17e0b;border-radius:0;margin-top:14px;padding:12px}.grocery-next-badge{color:var(--gold);align-items:center;gap:6px;font-size:11px;font-weight:600;display:flex}.grocery-next-badge:before{content:none}.grocery-next h3{color:var(--paper);margin:6px 0;font-size:16px;font-weight:600;line-height:1.4}.grocery-hud .grocery-next-detail{color:#d5dfd4;margin:0;font-size:12px;line-height:1.65}.grocery-context{margin:13px 0 11px}.grocery-hud .grocery-context p{justify-content:space-between;align-items:baseline;gap:10px;margin:7px 0;font-size:11px;display:flex}.grocery-context span{color:var(--muted)}.grocery-context b{min-width:0;color:var(--paper);text-align:right;font-variant-numeric:tabular-nums;font-weight:500}.grocery-hud .activity-feedback,.grocery-hud .activity-event{color:#c5e6cc;background:#a9d8ba0c;border-radius:7px;margin:9px 0;padding:8px 10px;font-size:11px;line-height:1.5}.grocery-hud .activity-event{color:#f3d190;background:#f5ce8210}.grocery-help{border-top:1px solid #cde3d11c;padding-top:10px}.grocery-help summary{color:#d1e1d4;cursor:pointer;justify-content:space-between;align-items:center;font-size:11px;list-style:none;display:flex}.grocery-help summary::-webkit-details-marker{display:none}.grocery-help summary>span{color:#b7d2bd;border:1px solid #cde3d133;border-radius:50%;place-items:center;width:18px;height:18px;font-size:11px;display:grid}.grocery-help[open] summary>span{color:var(--gold);border-color:#f5ce8266}.grocery-help summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:4px}.grocery-help ol{margin:12px 0;padding:0;list-style:none}.grocery-help li{color:#abc1b9;align-items:center;gap:9px;margin:8px 0;font-size:11px;line-height:1.5;display:flex}.grocery-step-number{color:#abc1b9;border:1px solid #cde3d128;border-radius:6px;flex:none;place-items:center;width:21px;height:21px;font-size:10px;display:grid}.grocery-help .is-current{color:#ffebbe}.grocery-help .is-current .grocery-step-number{background:var(--gold);border-color:var(--gold);color:#28433d;font-weight:700}.grocery-help .is-complete .grocery-step-number{color:#a9d8ba;background:#a9d8ba14}.grocery-hud .grocery-help p{color:#a8beb7;margin:6px 0;font-size:10px;line-height:1.6}.grocery-marker-key{align-items:center;gap:7px;display:flex}.grocery-marker-key i{background:var(--gold);border-radius:50%;width:7px;height:7px}.grocery-controls{color:#a8beb7;flex-wrap:wrap;align-items:center;gap:8px 11px;margin:14px 0 3px;font-size:10px;display:flex}.grocery-controls span{align-items:center;gap:5px;display:flex}.grocery-controls kbd{color:#d6e2d6;background:#0d26336b;border-color:#cde3d129;padding:3px 5px;font-size:9px}.grocery-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:13px 0 8px;display:flex}.grocery-hud .grocery-actions button{margin:0;font-size:11px}.grocery-actions .text-button{color:#b1c5be;padding:5px 0}.grocery-hud .grocery-cancel-note{color:var(--muted);font-size:11px;line-height:1.5}body:has(.grocery-hud) .needs{display:none}#ui :where(p,h1,h2,h3,blockquote,button,.toast,.objective,.interaction,.badge){overflow-wrap:anywhere}.panel header>div,.interaction>div,.activity-hud header>:first-child{min-width:0}.panel button:not(.primary):not(.text-button),.start-panel button:not(.primary):not(.text-button){border-color:#bdc5b4}.panel button:not(.primary):hover,.start-panel button:not(.primary):hover{background:#e0e6d8}.panel button.primary,.start-panel button.primary{color:#fffdf5}.panel .need i{background:#cdd4c5}.panel .need.hunger em{background:#a87836}.panel .need.mood em{background:#8c839c}.activity-timer{font-variant-numeric:tabular-nums;flex:none}.grocery-step-copy{min-width:0}.world-label--task,.world-label--shelf,.world-label--checkout,.world-label--target{box-shadow:none;background:#29352df2;border-radius:3px;font-weight:600}.world-label.is-target:after{background:#29352d}@media (max-width:1100px){.controls>span:last-child{display:none}.interaction{max-width:min(440px,100vw - 48px);bottom:224px}.stats-grid{grid-template-columns:1fr}}@media (max-width:700px){#modal{padding:12px}.panel,.start-panel{max-height:calc(100dvh - 24px)}.panel header{padding:18px}.panel-body{padding:16px 18px}.panel footer{padding:10px 18px}.start-panel{margin:0;padding:24px}.panel h2{font-size:23px}.brand{max-width:calc(50% - 22px);padding:8px 10px;top:12px;left:12px}.brand>b,.brand small{font-size:11px}.clock{min-width:0;padding:7px 12px;top:112px;left:auto;right:12px;transform:none}.clock>b{font-size:17px}.clock>small{display:none}.wallet{max-width:calc(50% - 22px);top:12px;right:12px}.wallet>strong{font-size:24px}.phone-button{padding:6px 10px;font-size:12px}.needs{gap:10px;width:calc(100% - 126px);padding:10px;top:112px;left:12px}.needs .need{flex:1;grid-template-columns:minmax(0,1fr);gap:2px;width:auto}.need span,.need b{font-size:11px}.mini-map{display:none}.controls{gap:7px 12px;max-width:calc(100% - 24px);padding:7px 9px;bottom:12px;left:12px}.objective{width:calc(100% - 24px);padding:10px 14px;bottom:82px;left:12px}.objective>p{margin:4px 0 8px}.interaction{width:max-content;max-width:calc(100% - 24px);bottom:208px}.action-card{grid-template-columns:28px minmax(0,1fr);gap:8px 12px}.action-card>button{grid-column:2;justify-self:start;max-width:100%}.card-icon{width:28px}.location-list>div,.side-location-list>div{flex-direction:column;align-items:flex-start}.side-location-list span{text-align:left}.side-activity-details{grid-template-columns:1fr}.activity-hud,.activity-hud.grocery-hud{max-height:calc(100dvh - 216px);top:204px}.activity-hud.grocery-hud{width:min(300px,100vw - 24px);max-width:calc(100vw - 24px);left:12px}body:has(.grocery-hud) .clock{top:112px}.scene-caption{display:none}#toasts{width:calc(100% - 24px);max-height:calc(100dvh - 228px);top:204px;right:12px}}@media (max-height:560px) and (min-width:701px){.brand,.clock,.wallet{top:12px}.clock>small{display:none}.needs{top:86px}.objective{padding:10px 14px;bottom:68px}.objective>p{margin:4px 0 8px}.mini-map{width:128px;bottom:68px}.town-map.small{width:106px;height:106px}.interaction{bottom:180px}.activity-hud,.activity-hud.grocery-hud{max-height:calc(100dvh - 112px);top:96px}}@media (prefers-reduced-motion:reduce){button,#fade{transition:none}.toast{animation:none}}body:has(#modal.visible):has(.toast) #modal{padding-bottom:124px}:is(body:has(#modal.visible):has(.toast) .panel,body:has(#modal.visible):has(.toast) .start-panel){max-height:calc(100dvh - 148px)}:is(body:has(#modal.visible) #toasts,body:has(.activity-hud) #toasts){width:min(420px,100vw - 24px);max-height:96px;top:auto;bottom:12px;right:50%;transform:translate(50%)}:is(body:has(#modal.visible) .toast:not(:last-child),body:has(.activity-hud) .toast:not(:last-child)){display:none}body:has(.activity-hud):has(.toast) .activity-hud{max-height:calc(100dvh - 232px)}@media (max-width:1100px){.toast:not(:last-child){display:none}}@media (max-width:700px){body:has(.interaction) .objective{display:none}.interaction{bottom:92px}body:has(.activity-hud):has(.toast) .activity-hud{max-height:calc(100dvh - 324px)}:is(body:has(#modal.visible):has(.toast) .panel,body:has(#modal.visible):has(.toast) .start-panel){max-height:calc(100dvh - 136px)}}body:has(#modal.visible) #hud{display:none}body:has([data-action=resume-mini]:not([hidden])) .world-labels{display:none}#modal.phone-overlay{background:#17241c52;justify-content:flex-end;align-items:flex-end;padding:24px;overflow:hidden}.phone-device{--ink:#233142;--mint:#008a78;--gold:#b16509;--muted:#586374;--line:#deded8;isolation:isolate;width:min(420px,100%);height:min(760px,100dvh - 48px);color:var(--ink);background:linear-gradient(135deg,#354256,#17222f 65%,#2d3b4c);border:2px solid #637183;border-radius:48px;flex-direction:column;flex:none;padding:38px 14px 10px;display:flex;position:relative;box-shadow:inset 0 0 0 5px #a6b8cc16,inset 0 -7px 10px #060f2170,0 16px 40px #0f1b2b66}.phone-device:focus-visible{outline-offset:4px;outline:3px solid #ffc64b}.phone-camera,.phone-speaker,.phone-side-button{display:block;position:absolute}.phone-camera{background:radial-gradient(circle at 38% 35%,#579bbc,#0b131f 45%);border-radius:50%;width:11px;height:11px;top:13px;left:calc(50% - 57px);box-shadow:0 0 0 3px #182232}.phone-speaker{background:#101a27;border-radius:10px;width:58px;height:7px;top:14px;left:calc(50% - 26px);box-shadow:0 1px 1px #7b899955}.phone-side-button{border-radius:5px 0 0 5px;width:5px;height:46px;left:-6px;box-shadow:inset 2px 0 #ffffff40}.phone-side-button.coral{background:#ff725f;top:104px}.phone-side-button.blue{background:#4db6ed;top:166px}.phone-screen{background:#fff8eb;border:1px solid #0d172b;border-radius:30px;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.phone-device[data-app=home] .phone-screen{background:radial-gradient(circle at 88% 12%,#ffd883 0 8%,#0000 8.2%),linear-gradient(145deg,#0000 47%,#ffc7a3 47% 67%,#0000 67%),linear-gradient(35deg,#fff3dd 36%,#88d6f8 36% 79%,#fff3dd 79%)}.phone-icon{vertical-align:middle;flex:none;display:inline-block}.phone-status{font-variant-numeric:tabular-nums;flex:none;justify-content:space-between;align-items:center;padding:13px 18px 4px;font-size:12px;display:flex}.phone-status span{align-items:center;gap:6px;font-size:10px;font-weight:650;display:flex}.phone-status .phone-icon{width:18px;height:18px}.phone-heading{flex-wrap:wrap;flex:none;justify-content:space-between;align-items:baseline;gap:4px 10px;padding:12px 18px 14px;display:flex}.phone-heading h2{letter-spacing:-.035em;margin:0;font-size:30px;line-height:1.15}.phone-day{color:var(--muted);font-size:11px;font-weight:600}.phone-device .phone-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a9bec3 transparent;flex:1;min-height:0;padding:4px 18px 16px;overflow:auto}.phone-balance,.phone-task{background:#fff9edef;border:1px solid #ead6ad;border-radius:18px;align-items:center;gap:12px;padding:14px;display:flex;box-shadow:0 3px #3247570b}.phone-balance>.phone-icon{background:#ffd675;border-radius:50%;width:40px;height:40px;padding:8px}.phone-balance>div,.phone-task>div{min-width:0}.phone-balance small,.phone-task small{color:var(--muted);font-size:12px;font-weight:600}.phone-balance strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:27px;line-height:1.2;display:block}.phone-task p{margin:3px 0 0;font-size:13px;font-weight:650}.phone-device .phone-needs{gap:8px;margin:12px 0 18px;display:flex}.phone-device .phone-needs .need{background:#fff9edef;border:1px solid #e8dcc4;border-radius:14px;flex:1;grid-template-columns:minmax(0,1fr);gap:4px;width:auto;padding:9px 8px}.phone-device .need span{align-items:center;gap:4px;font-size:11px;display:flex}.phone-device .need span .phone-icon{width:14px;height:14px}.phone-device .need b{font-size:20px;font-weight:750;line-height:1.15}.phone-device .need i{background:#d9ddd8;height:6px;margin-top:3px}.phone-device .need em{background:#00ae96}.phone-device .need.hunger em{background:#ff7563}.phone-device .need.mood em{background:#44bdec}.phone-app-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 12px;margin:0 0 20px;display:grid}.phone-device button{min-height:44px;color:var(--ink);background:#edeef3;border:1px solid #d1d6df;border-radius:12px}.phone-device button:focus-visible{outline-offset:2px;outline:3px solid #233142}.phone-device button:hover{background:#e0e6ed}.phone-device button.primary,.phone-device .phone-home-button{color:#fff;background:#087cdf;border-color:#087cdf}.phone-device button.primary:hover,.phone-device .phone-home-button:hover{background:#0065bd}.phone-device button.danger{color:#9e392c;background:#ffe2db;border-color:#eebcb1}.phone-device button.phone-app{background:0 0;border:0;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:2px;font-size:13px;font-weight:750;display:flex}.phone-device button.phone-app:hover{background:#fff9ed80}.phone-app-icon{aspect-ratio:1;border-radius:22px;place-items:center;width:min(72px,100%);display:grid;box-shadow:inset 0 2px #fff4,0 4px #203b5514}.phone-app-icon.blue{background:#087cdf}.phone-app-icon.coral{background:#f15e4e}.phone-app-icon.teal{background:#009f94}.phone-app-icon.yellow{background:#efaa00}.phone-app-icon.violet{background:#8754db}.phone-app-icon .phone-icon{filter:brightness(0)invert();width:34px;height:34px}.phone-navigation{background:#fff9ede6;flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px 12px 4px;display:grid}.phone-navigation button{justify-content:center;align-items:center;gap:8px;padding:12px 6px;display:flex}.phone-device .phone-put-away{color:#fff;background:#455366;border-color:#455366}.phone-device .phone-put-away:hover{background:#344153}.phone-navigation .phone-icon{filter:brightness(0)invert();width:20px;height:20px}.phone-home-indicator{background:#74818d;border-radius:8px;flex:none;width:94px;height:4px;margin:7px auto}.phone-caption{text-align:center;color:#d3deea;flex:none;margin-top:8px;font-size:10px;line-height:1.4}.phone-device .stats-grid{grid-template-columns:1fr;gap:10px}.phone-device .stat-card,.phone-device .career-card,.phone-device .action-card{background:#fffdf5;border:1px solid #e5d9c3;border-radius:16px;margin-bottom:10px;padding:14px}.phone-device .stat-card>b{color:#007965}.phone-device .career-card:first-of-type{background:#d9f3ec;border-color:#a9d8cb}.phone-device .rank{color:#008a78;font-size:20px;font-weight:700}.phone-device .career-heading{gap:8px}.phone-device .career-heading>div{flex-basis:140px}.phone-device .badge{color:#007365;background:#c2e8de;border-radius:8px}.phone-device .badge.locked{color:#963b2e;background:#ffddd1}.phone-device .xp-bar{background:#dfe6e5;border-radius:8px;height:7px}.phone-device .xp-bar i{background:#22ab9d}.phone-device .balance-strip{background:#dff2fa;border:1px solid #bddce8;border-radius:14px;margin-bottom:12px}.phone-device .balance-strip b{color:#226899}.phone-device .action-card{grid-template-columns:28px minmax(0,1fr);gap:8px 10px}.phone-device .action-card>button{grid-column:2;justify-self:start;max-width:100%}.phone-device .card-icon{width:28px}.phone-device .town-map.small{aspect-ratio:1;border:3px solid #638979;border-radius:14px;width:100%;height:auto;margin:0}.phone-device .small .map-building{font-size:16px}.phone-device .map-side-location.compact{width:18px;height:18px}.phone-device .location-list>div,.phone-device .side-location-list>div{flex-direction:column;align-items:flex-start}.phone-device .location-list span,.phone-device .side-location-list span{text-align:left}body:has(.phone-overlay):has(.toast) .phone-device{height:min(760px,100dvh - 148px)}@media (max-width:700px){#modal.phone-overlay{justify-content:center;padding:12px}.phone-device{border-radius:38px;height:min(760px,100dvh - 24px);padding:32px 10px 8px}.phone-screen{border-radius:24px}.phone-device .phone-content{padding:4px 12px 12px}.phone-status{padding:12px 12px 4px}.phone-heading{padding:10px 12px 12px}.phone-heading h2{font-size:27px}.phone-navigation{gap:8px;padding:8px 8px 4px}.phone-navigation button{gap:6px;font-size:12px}.phone-navigation .phone-icon{width:18px;height:18px}.phone-app-grid{gap:12px 8px}.phone-app-icon{border-radius:18px}.phone-device button.phone-app{font-size:12px}body:has(.phone-overlay):has(.toast) #modal.phone-overlay{padding-bottom:124px}body:has(.phone-overlay):has(.toast) .phone-device{height:min(760px,100dvh - 136px)}}@media (max-width:350px){.phone-device .need span .phone-icon{display:none}.phone-day{font-size:10px}.phone-device .phone-needs{gap:6px}.phone-device .phone-needs .need{padding:8px 6px}}body:has(.grocery-hud) .interaction{display:none}.furniture-tabs,.furniture-actions,.furniture-editor-actions{flex-wrap:wrap;gap:8px;display:flex}.furniture-tabs{margin-bottom:14px}.furniture-card{border-bottom:1px solid #d9dfdc;align-items:center;gap:12px;padding:12px 0;display:flex}.furniture-card img{object-fit:contain;background:#edf0eb;border-radius:12px;width:82px;height:76px}.furniture-card>div{flex:1;min-width:0}.furniture-card h3{margin:0 0 4px;font-size:14px}.furniture-card p,.furniture-card small{color:#576961;margin:0 0 6px;font-size:11px}.furniture-card button{color:#234c40;background:#dcece3;padding:8px 10px;font-size:11px}.furniture-card>button{max-width:95px}#modal.visible.furniture-editor-overlay{pointer-events:none;background:0 0;align-items:flex-end;padding:16px}.furniture-editor-panel{pointer-events:auto;color:#29352d;background:#f4f0e6f5;border:1px solid #ccd6cc;border-radius:16px;width:min(780px,100%);padding:16px 20px;box-shadow:0 8px 30px #17241c40}.furniture-editor-panel h2{margin:0;font-size:18px}.furniture-editor-panel p{margin:8px 0;font-size:12px}.furniture-editor-panel button{color:#29352d;background:#dce6d6}#furniture-preview-status{min-height:20px;font-weight:600}#furniture-preview-status[data-valid=false]{color:#a63727}#furniture-preview-status[data-valid=true]{color:#24624a}@media (max-width:600px){.furniture-editor-panel{max-height:40dvh;padding:12px;overflow:auto}.furniture-editor-actions{gap:5px}.furniture-editor-actions button{padding:8px;font-size:11px}}.wall-color-control{flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0;font-weight:600;display:flex}.wall-color-control input{cursor:pointer;border:1px solid #b9c9bf;border-radius:8px;width:48px;height:36px;padding:3px}.wall-color-value{font-size:12px;font-weight:400}.wallpaper-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.wallpaper-card{border:1px solid #d4ded6;border-radius:12px;min-width:0;padding:10px}.wallpaper-card h3{margin:8px 0 4px;font-size:13px}.wallpaper-card p{color:#576961;min-height:44px;font-size:11px}.wallpaper-card button{color:#234c40;background:#dcece3;width:100%;padding:8px;font-size:11px}.wallpaper-swatch{background:var(--wall-color);isolation:isolate;border-radius:6px;height:72px;overflow:hidden}.wallpaper-swatch img{object-fit:cover;mix-blend-mode:multiply;width:100%;height:100%}.starter-furniture-badge{color:#234c40;background:#dcece3;border-radius:10px;place-items:center;width:100px;min-width:80px;height:80px;font-size:12px;display:grid}body:has(.study-hud) #hud{visibility:hidden}.study-hud{box-sizing:border-box;color:#2b454b;pointer-events:auto;background:#f3f0e5ee;border:1px solid #d8d8c7;border-radius:16px;width:280px;max-height:42vh;padding:16px;position:fixed;top:16px;left:16px;overflow:auto}.study-hud header{justify-content:space-between;align-items:start;gap:8px;display:flex}.study-hud header small{letter-spacing:.1em;color:#667c75;font-size:9px}.study-hud h2{margin:5px 0 10px;font-size:21px;line-height:1.1}.study-hud h3{margin:10px 0 4px;font-size:14px}.study-hud p{margin:5px 0;font-size:11px;line-height:1.45}.study-hud p:empty,.study-hud b:empty{display:none}.study-hud small{font-size:10px;line-height:1.4}.study-timer{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.study-progress{gap:4px;margin:0 0 10px;padding:0;list-style:none;display:flex}.study-progress li{text-align:center;background:#e3e5d9;border-radius:6px;flex:1;padding:6px 3px;font-size:9px}.study-progress li[aria-current]{color:#fff7db;background:#35595a}.study-selected{font-size:11px}.study-message{color:#65765c}.study-count,.study-reference{color:#60776d;font-weight:600}.study-shortcuts{color:#6b7d71;margin-top:8px;display:block}.study-course select{color:#34524f;background:#fffdf5;border:1px solid #b6c8bc;border-radius:8px;width:100%;margin-top:8px;padding:12px}.study-course p{color:#60776d;font-size:13px}.study-scene-controls{pointer-events:none;position:fixed;inset:0}.study-scene-control{pointer-events:none;border-radius:7px;width:44px;height:44px;position:absolute;top:0;left:0;transform:translate(-50%,-50%);color:#0000!important;box-shadow:none!important;background:0 0!important;border:0!important;margin:0!important;padding:0!important}.study-scene-control:focus-visible{outline-offset:3px;outline:3px solid #efcc7a}.study-scene-control:focus-visible:after{content:attr(aria-label);white-space:nowrap;color:#fff7da;background:#29494e;border-radius:7px;padding:7px 10px;font-size:12px;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}@media (max-width:760px){.study-hud{width:auto;height:auto;max-height:23vh;padding:10px 12px;top:8px;left:8px;right:8px}.study-hud h2{margin-bottom:5px;font-size:16px}.study-hud h3{margin-top:5px;font-size:12px}.study-hud .study-progress,.study-shortcuts{display:none}.study-hud .study-message{font-size:10px}}.nightclub-mark{width:70px;height:70px;margin:0 auto 16px;display:block}.nightclub-map-icon{vertical-align:middle;width:1.2em;height:1.2em}.dialogue-choices{flex-wrap:wrap;gap:10px;display:flex}.gym-scene-control:disabled{opacity:0}.club-visit-controls{bottom:max(18px, env(safe-area-inset-bottom));color:#f3e6cb;pointer-events:auto;text-align:center;background:#24212ef2;border:1px solid #d1ac78;border-radius:12px;width:min(440px,100% - 24px);max-height:48vh;padding:14px;position:absolute;left:50%;overflow:auto;transform:translate(-50%)}.club-visit-controls p{margin:8px 0}.club-visit-controls>div{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.club-visit-controls button,.club-visit-controls a{min-height:44px;padding:10px 14px}.club-visit-controls img{max-width:100%;max-height:20vh;margin:10px auto}.club-visit-controls a{color:#f3e6cb;display:inline-block}.club-visit-controls [hidden]{display:none}.club-visit-active .interaction,.club-visit-active .controls,.club-visit-active #hud{visibility:hidden}
