/* One continuous palette from birth card through the full life. */
body[data-screen="game"]{--paper:#08121d;--white:#10212e;--ink:#edf5f1;--muted:#a6b9c1;--line:#304650;--soft:#1b3339;--green:#b9ed83;--orange:#b6ec83;background:radial-gradient(ellipse at 85% 5%,#234b3930,transparent 45%),#08121d;color:#edf5f1;font-family:'DM Sans',Arial,sans-serif;color-scheme:dark}
body[data-screen="game"] header{border-color:#29394470}body[data-screen="game"] .brand{font:700 25px 'Manrope',Arial;letter-spacing:-1.5px;color:#f5f9f5}body[data-screen="game"] .brand-icon{color:#c5fa79;border:1px solid #aeea7999;background:#b3ef7310}body[data-screen="game"] .brand-sub{font-size:7px;letter-spacing:2px;color:#b4c7bb}body[data-screen="game"] header .quiet{color:#bbccd2}body[data-screen="game"] .header-shop{color:#c5fa79;background:#a8e76d0a}body[data-screen="game"] #pastCount{background:#233a35;color:#c5fa79}body[data-screen="game"] footer{border-color:#304650;color:#b4c5cc}body[data-screen="game"] footer .quiet{color:#b4c5cc}body[data-screen="game"] main{max-width:1440px;padding:0 28px}body[data-screen="game"] .muted{color:#a6b9c1}body[data-screen="game"] .tiny{font-size:11px;line-height:1.8}body[data-screen="game"] .quiet{font-size:12px;color:#acc5c5}body[data-screen="game"] .quiet:hover{color:#d5f5b8}body[data-screen="game"] .eyebrow{color:#b9e9b1;font-size:9px;letter-spacing:1.8px}body[data-screen="game"] .dot{background:#b9ed83}body[data-screen="game"] .game-top{margin:30px 0 22px;gap:20px}body[data-screen="game"] .game-top h1{font:500 30px/1.3 'Manrope',Arial;letter-spacing:-1px;margin:12px 0 0}.game-top-meta{display:flex;align-items:center;gap:24px}body[data-screen="game"] .saved-indicator{color:#9fc8b3;font-size:10px}body[data-screen="game"] .dashboard{display:grid;grid-template-columns:235px minmax(0,1fr)260px;gap:22px;align-items:start}body[data-screen="game"] .left-stack,body[data-screen="game"] .center-stack{min-width:0}.time-console{position:sticky;top:0;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 19px;border:1px solid #47604f;background:#11252ceF;backdrop-filter:blur(18px);border-radius:9px;margin:0 0 23px;box-shadow:0 8px 30px #0002}.clock-status{display:flex;align-items:center;gap:10px;min-width:150px}.clock-led{height:7px;width:7px;border-radius:50%;background:#9da4bf;box-shadow:0 0 0 4px #8992b912;flex-shrink:0}.clock-led.running{background:#b9ed83;box-shadow:0 0 0 4px #b9ed8318}.clock-status b{display:block;font-size:12px;font-weight:500;color:#d9e8de}.clock-status small{display:block;font-size:10px;margin-top:5px;color:#acbec3}.time-actions{display:flex;gap:8px;align-items:center}.time-actions button{border:1px solid #405b60;border-radius:5px;padding:11px 13px;min-height:41px;color:#c1d6d0;background:#172f36;font-size:11px;white-space:nowrap}.time-actions button:hover{border-color:#c5ee9b;color:#efffe0}.time-actions .skip-choice{background:#bdeb8a;border-color:#bdeb8a;color:#1b3323;font-weight:700;padding:11px 16px}.skip-choice span{margin-left:12px}.time-actions .skip-choice:hover{background:#c8f49b;color:#18301e}.speed-buttons{display:flex;gap:2px;border:1px solid #38535a;border-radius:5px;padding:3px}.time-actions .speed-buttons button{min-height:33px;padding:7px 12px;border:0;background:transparent;color:#acc2c8}.time-actions .speed-buttons .selected{background:#3b5743;color:#d8f4c5}.time-actions button:disabled{opacity:.4;cursor:not-allowed}.time-actions button:disabled:hover{transform:none}.pixel-person{image-rendering:pixelated;display:block;width:100%;height:100%}.pixel-avatar{background:radial-gradient(at 50% 20%,#41645a,#17333d)!important;border:1px solid #597966;border-radius:13px!important;overflow:hidden}.pixel-avatar .pixel-person{height:100%!important;width:100%!important;max-width:110px}.pixel-passport{background:linear-gradient(145deg,#3e6058,#253751);border-radius:15px!important;overflow:visible}.pixel-passport>.pixel-person{width:74px;height:84px;padding:4px}.pixel-passport>span{z-index:2}.pixel-body{transform-origin:50% 90%;animation:pixel-breathe 4s ease-in-out infinite}body[data-screen="game"] .card{background:linear-gradient(140deg,#142a3290,#10212e);border:1px solid #304650;border-radius:9px;padding:21px;box-shadow:0 5px 20px #0001}body[data-screen="game"] .profile{text-align:left;padding:20px 18px}.profile-identity{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.profile-identity .avatar{height:83px;width:73px;flex-shrink:0;margin:0}.profile-identity>div:last-child{min-width:0}.profile-kicker{font-size:7px;letter-spacing:1.6px;color:#b1ceb7}body[data-screen="game"] .profile h2{font:500 23px/1.35 'Manrope',Arial;letter-spacing:-.5px;margin:9px 0 7px;overflow-wrap:anywhere}body[data-screen="game"] .profile p{font-size:11px;line-height:1.8;color:#acc8c7;margin:0}body[data-screen="game"] .profile dl{margin-top:19px;padding-top:13px;border-color:#304650}body[data-screen="game"] .profile dl div{font-size:11px;padding:9px 0;line-height:1.6}body[data-screen="game"] .profile dt{color:#9db6c0}body[data-screen="game"] .profile dd{color:#e2ede5;max-width:120px}body[data-screen="game"] .card-heading{font-size:13px;color:#d3e4df;margin-bottom:20px;font-weight:500}body[data-screen="game"] .card-heading .tiny{font-size:9px;color:#a6bac2}body[data-screen="game"] .stats{margin-top:19px}body[data-screen="game"] .stat{margin:19px 0}body[data-screen="game"] .stat:last-child{margin-bottom:3px}body[data-screen="game"] .stat>div{font-size:12px;margin-bottom:9px}body[data-screen="game"] .stat b{font-weight:500;color:#e5efdf;font-size:13px}body[data-screen="game"] .stat b>small{font-size:9px;color:#a1b9c2}body[data-screen="game"] .bar{background:#293e48;height:5px}body[data-screen="game"] .bar i{background:#a8df8b}body[data-screen="game"] .bar .bar-joy{background:#e5bd86}body[data-screen="game"] .bar .bar-knowledge{background:#95bce6}body[data-screen="game"] .bar .bar-bonds{background:#b8a4ed}body[data-screen="game"] .bar .bar-stress{background:#df9a94}body[data-screen="game"] .age-panel{margin-bottom:15px;padding:19px 23px;border:1px solid #39594b;border-radius:9px;background:linear-gradient(110deg,#25443a,#17333a);color:#e9f4e6}body[data-screen="game"] .big-age{font:500 44px 'Manrope',Arial;letter-spacing:-2px}body[data-screen="game"] .big-age small{font-size:11px;letter-spacing:0;color:#c6dcc7}body[data-screen="game"] .age-panel .year{font:500 23px 'Manrope',Arial}body[data-screen="game"] .age-panel .year p{font:11px 'DM Sans',Arial;color:#bdd1ce;margin-top:5px}body[data-screen="game"] .scene{height:215px;border:1px solid #3c5656;background:#17333a;border-radius:9px;margin-bottom:0}body[data-screen="game"] .scene>svg{filter:none;height:100%;width:100%}.scene:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#071921b3);pointer-events:none}.scene-character{position:absolute;bottom:19px;left:46%;z-index:2;height:104px;width:84px;filter:drop-shadow(0 3px 4px #0005)}.scene-character .pixel-person{height:104px;width:84px}.scene-bubble{position:absolute;right:17px;bottom:20px;z-index:2;background:#0b2026e6;border:1px solid #66816a;display:flex;align-items:center;gap:9px;padding:11px 12px;border-radius:7px;max-width:175px}.scene-bubble svg{width:25px;height:25px!important;color:#bedf9e;flex-shrink:0}.scene-bubble span{font-size:10px;line-height:1.6;color:#d4e4d4}body[data-screen="game"] .scene-label{font-size:11px;color:#e2f0de;left:18px;bottom:20px;line-height:1.6;max-width:40%;z-index:2}body[data-screen="game"] .scene-label>span{font-size:7px;letter-spacing:1.2px;color:#c1d2c7;margin-bottom:7px}.household{border:1px solid #304650;background:#10242e;border-radius:0 0 9px 9px;margin-top:-5px;padding:19px 18px 14px}.household-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.household-heading>span{font-size:11px;color:#a9c8bc;display:flex;align-items:center;gap:7px}.household-heading>span svg{width:17px;height:17px;color:#b0d895}.household-heading .quiet{font-size:10px!important;padding:0}.household-people{display:flex;gap:15px;flex-wrap:wrap;margin-top:13px}.house-person{display:flex;align-items:center;gap:6px}.house-person>.pixel-person{height:40px;width:32px;flex-shrink:0}.house-person b{display:block;font-size:10px;color:#dce9df;font-weight:500}.house-person small{display:block;font-size:8px;color:#a5bdc2;margin-top:4px}.house-person.you{padding-left:12px;border-left:1px solid #3a4f54}body[data-screen="game"] .tabs{margin:23px 0 22px;gap:22px;border-color:#36505b;overflow-x:auto;scrollbar-width:thin}body[data-screen="game"] .tab{font-size:12px;color:#aabfc8;padding:0 0 13px;min-height:34px;letter-spacing:0}body[data-screen="game"] .tab.active{color:#d1f5a7;border-color:#c0ec92;font-weight:500}.game-tab-content{scroll-margin-top:110px;min-height:140px}body[data-screen="game"] .log{padding-bottom:27px;border-color:#3b575a}body[data-screen="game"] .log h3{font-size:15px;font-weight:500;color:#e0ece7;line-height:1.6;margin:7px 0}body[data-screen="game"] .log p{font-size:13px;color:#b3c6cd;line-height:1.9}body[data-screen="game"] .log small{font-size:10px;color:#a2bfba;letter-spacing:.7px}body[data-screen="game"] .log:before{background:#93bd9c}body[data-screen="game"] .star{color:#a6c093}body[data-screen="game"] .star.on{color:#d6f394}body[data-screen="game"] .inline-controls{margin-bottom:20px;gap:15px}body[data-screen="game"] .balance-amount{font:500 29px 'Manrope',Arial;letter-spacing:-.8px;color:#d6f3b9;overflow-wrap:anywhere}body[data-screen="game"] .moneyrows{margin-top:18px}body[data-screen="game"] .moneyrows>div{font-size:11px;color:#a9bec8;border-color:#304650;line-height:1.6;padding:11px 0;gap:15px}body[data-screen="game"] .moneyrows b{font-weight:500;color:#dfede4;white-space:nowrap}body[data-screen="game"] .moneyrows .positive,.positive{color:#b2e396!important}body[data-screen="game"] .moneyrows .negative,.negative{color:#efb0a7!important}.wealth-link{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid #4b6759;background:#9ed47a0b;padding:12px;color:#c3e4ad;font-size:11px;border-radius:6px;margin-top:18px}.wealth-link svg{height:19px;width:19px}body[data-screen="game"] .focus-options{gap:6px}body[data-screen="game"] .focus-btn{padding:11px 9px;border-radius:6px;border-color:transparent;color:#cadbd7}body[data-screen="game"] .focus-btn.active{background:#274139;border-color:#536d51}body[data-screen="game"] .focus-btn b{font-size:12px;font-weight:500;line-height:1.5}body[data-screen="game"] .focus-btn small{font-size:10px;line-height:1.7;color:#a6bdc5;margin-top:5px}body[data-screen="game"] .focus-btn .radio{border-color:#6b8b7e}body[data-screen="game"] .focus-btn.active .radio{background:#c1e991;border-color:#c1e991}body[data-screen="game"] .section-note{font-size:12px;color:#b2c5cb;line-height:1.9}body[data-screen="game"] .lifemap i{background:#263d46}body[data-screen="game"] .lifemap i.done{background:#77a682}body[data-screen="game"] .lifemap i.now{background:#c5ee8f;outline-color:#b6e18d}body[data-screen="game"] .lifemap-caption{color:#aac1c6;font-size:10px}body[data-screen="game"] .action-row{border-color:#354b54;padding:19px 0;gap:18px}body[data-screen="game"] .action-row h3{font-size:14px;font-weight:500;color:#dce9df;line-height:1.6}body[data-screen="game"] .action-row p{font-size:12px;line-height:1.8;color:#adc3cb}body[data-screen="game"] .action-row button{color:#d6eac2;border:1px solid #526b52;background:#263e37;padding:11px 14px;font-size:11px;white-space:nowrap;border-radius:5px}body[data-screen="game"] .hint{background:#192e36;border-color:#3d535a;color:#b7ccce;font-size:12px;line-height:1.9}body[data-screen="game"] .primary{background:#bdeb8a;color:#203723}body[data-screen="game"] .primary:hover{background:#caf49d}body[data-screen="game"] .secondary{background:#19323a;color:#d6e5dc;border-color:#4a6566}body[data-screen="game"] .chapter{background:#142a32;border-color:#3d535b;color:#e2eee4}body[data-screen="game"] .chapter h2{font:500 27px 'Manrope',Arial;color:#d5e9ce}body[data-screen="game"] .chapter p{font-size:14px;color:#bbcccf}.diary-wait{border:1px solid #4d6b57;padding:17px;border-radius:6px;color:#c5dfb4;font-size:12px;line-height:1.8;margin-bottom:25px}.panel-intro{margin:0 0 23px}.panel-intro h2{font:500 25px/1.4 'Manrope',Arial;letter-spacing:-.7px;margin:12px 0;color:#e0eee3}.panel-intro p{font-size:12px;color:#afc3ca;line-height:1.9;margin:0}.family-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:23px}.family-person{display:flex;gap:11px;align-items:center;padding:16px 13px;background:#132b35;border:1px solid #3b545b;border-radius:7px;min-width:0}.family-person>.pixel-person{width:39px;height:48px;flex-shrink:0}.family-person>div{min-width:0}.family-person>div>span{display:block;font-size:8px;letter-spacing:1.4px;color:#aecaa9;margin-bottom:7px}.family-person b{font-size:13px;color:#d9e9df;font-weight:500;overflow-wrap:anywhere}.family-person small{display:block;font-size:10px;color:#a3bec5;line-height:1.8;margin-top:6px}.family-person.remembered{border-color:#504f67;background:#24253960}.family-person.remembered .pixel-person{filter:saturate(.4)}.finance-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.finance-overview>div{padding:15px 13px;background:#18323a;border:1px solid #365658;border-radius:6px}.finance-overview span{display:block;font-size:10px;color:#aec8c7}.finance-overview b{display:block;font:500 17px/1.5 'Manrope',Arial;color:#d3efb8;margin-top:9px;overflow-wrap:anywhere}.finance-jumps{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 25px}.finance-jumps a{font-size:10px;padding:9px 12px;border:1px solid #3c555d;border-radius:20px;color:#bdcfd0}.finance-jumps a:hover{background:#254039;color:#d5efbf}.economy-section{padding:25px 0;border-top:1px solid #3a5059;scroll-margin-top:115px}.economy-heading{display:flex;align-items:flex-start;gap:13px;margin:0 0 22px}.economy-heading>span{font-size:10px;color:#9ccb95;padding-top:6px;letter-spacing:1px}.economy-heading h3{font:500 21px/1.4 'Manrope',Arial;letter-spacing:-.6px;color:#dcebe4;margin:0 0 8px}.economy-heading p{font-size:11px;color:#a5c0c7;line-height:1.8;margin:0}.budget-layout{display:grid;grid-template-columns:1fr 1fr;gap:23px}.budget-layout .moneyrows{margin-top:0!important}.lifestyle label{font-size:11px;color:#c9dcd5;display:block;margin-bottom:11px}body[data-screen="game"] select,body[data-screen="game"] input,body[data-screen="game"] textarea{color:#deebe5;border:1px solid #49626b;background:#10252f;font-size:12px;min-height:44px;border-radius:5px}.lifestyle p,.migration-layout p{font-size:11px;color:#a6bfc9;line-height:1.9;margin:14px 0}.lifestyle>small{display:block;font-size:10px;line-height:1.8;margin-top:8px;color:#aac3c6}.economy-action{display:block;width:100%;padding:12px 13px;border:1px solid #789d63;background:#274330;color:#d3edb7;border-radius:5px;font-size:11px;line-height:1.6;min-height:43px}.economy-action:hover{background:#345539;border-color:#b7dc8b}.economy-action:disabled{opacity:.5;cursor:not-allowed}.investment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.investment-card{padding:17px 14px;border:1px solid #3d5962;border-radius:7px;background:linear-gradient(145deg,#233a4350,#142c35);min-width:0}.investment-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.investment-glyph{font-size:22px;color:#b7dea1}.investment-top>span:last-child{font-size:8px;color:#bdd1d0;border:1px solid #456268;padding:4px 5px;border-radius:3px}.investment-card h4{font-size:14px;font-weight:500;color:#e0ece4;line-height:1.5;margin:17px 0 9px}.investment-card>b{font:500 18px 'Manrope',Arial;color:#baddaa;display:block;overflow-wrap:anywhere}.investment-card p{min-height:35px;font-size:10px;line-height:1.8;color:#b0c6ce;margin:12px 0 16px}.investment-card label{display:block;font-size:9px;color:#bdd1ce;margin-bottom:7px}.investment-card select{font-size:11px!important;padding:10px!important}.investment-card .economy-action{font-size:10px;margin-top:11px;padding:11px 6px}.fund-sell{font-size:10px;line-height:1.6;color:#c7d2dc;border:1px solid #52616d;border-radius:4px;display:block;width:100%;padding:10px 5px;margin-top:9px}.fund-sell:hover{background:#2b3d49}.investment-card>small{font-size:9px;color:#a6c3c5;line-height:1.8;display:block;margin-top:12px}.economy-note{padding:14px 16px;background:#9bcf8309;border:1px solid #3c5652;border-radius:6px;font-size:11px;color:#b5cfc8;line-height:1.9;margin-top:17px}.housing-options{display:grid;grid-template-columns:1fr 1fr;gap:13px}.housing-options>article{padding:22px 18px;border:1px solid #475d59;border-radius:7px;background:#1b333450;display:flex;flex-direction:column}.housing-options h4{font-size:16px;font-weight:500;margin:15px 0 12px;color:#e1eadb}.housing-options b{font:500 21px/1.6 'Manrope',Arial;color:#c1e3a9}.housing-options b small{font-size:10px;color:#bbccc3;font-weight:400}.housing-options p{font-size:11px;color:#b2c6c9;line-height:1.9;margin:14px 0 21px}.housing-options .economy-action{margin-top:auto}.housing-owned{display:flex;align-items:flex-start;gap:20px;flex-wrap:wrap;border:1px solid #4a6354;background:#233c3250;border-radius:7px;padding:23px}.house-outline{font-size:45px;color:#b4dc96}.housing-owned h4{font-size:16px;color:#deeddb;margin:0 0 10px}.housing-owned p{font-size:12px;color:#b6ccc7;line-height:1.9}.housing-owned b{font-size:12px;color:#d3e5c6;display:block;line-height:1.8}.housing-owned small{font-size:10px;color:#a9bfc5;display:block;margin-top:7px}.housing-owned .economy-action{width:100%;margin-top:8px}.migration-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.migration-layout label{display:block;font-size:11px;color:#cad9d4;margin-bottom:11px}.move-preview{border:1px solid #454c67;background:#282a4450;padding:18px;border-radius:7px}.move-preview>span{font-size:13px;color:#c8c7e9;line-height:1.7;display:block;margin-bottom:13px}.move-preview>div{display:flex;justify-content:space-between;gap:13px;padding:8px 0;border-bottom:1px solid #4a536050;font-size:10px}.move-preview small{color:#bbc8d2;font-size:10px;line-height:1.7}.move-preview b{color:#dde5e4;font-size:10px;white-space:nowrap;font-weight:500;line-height:1.7}.move-preview>p{font-size:11px;margin:14px 0 0;line-height:1.8}.spend-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.spend-grid article{border:1px solid #3d5660;border-radius:7px;padding:20px 18px;background:#142b35;display:flex;flex-direction:column}.spend-icon svg{width:27px;height:27px;color:#afd397}.spend-grid h4{font-size:15px;font-weight:500;color:#dcece4;margin:13px 0 10px}.spend-grid b{font:500 20px 'Manrope',Arial;color:#cadcb8}.spend-grid p{font-size:11px;color:#abc4ce;line-height:1.9;margin:13px 0 18px}.spend-grid .economy-action{margin-top:auto}.finance-disclaimer{font-size:10px;color:#a2bac6;line-height:2;border-top:1px solid #3d535d;padding-top:23px}body[data-screen="game"] #toast{background:#cfedba;color:#223b2b;border:1px solid #e0f6d0;font-size:12px;max-width:calc(100vw - 30px);line-height:1.8}#modal{background:linear-gradient(145deg,#173139,#101f2c);border:1px solid #4b6369;color:#dcebe4;border-radius:11px}#modal h2{font:500 29px 'Manrope',Arial;color:#e1f0e2;letter-spacing:-.8px}#modal h3{font-family:'Manrope',Arial;font-size:16px;color:#d2e6cc}#modal p{color:#afc4cc;font-size:13px;line-height:1.9}#modal .hint{background:#263d38;color:#cbdfc3;border-color:#4e6956}#modal .modal-close{color:#bfced2}#modal input,#modal textarea{background:#10212f;color:#e3ede7;border-color:#567076}#modal .primary{background:#b9e28e;color:#203924}#modal .secondary{background:#203c41;border-color:#527273;color:#d1e6db}#modal .quiet{color:#bfdbc1}#modal a{color:#c6e4b3}#modal .saved-life{border-color:#41545b}#modal .log h3{color:#d6e5d9}#modal .log small{color:#a5bfbf}
/* Raise contrast in the birth reveal without changing its visual direction. */
.birth-reveal>p{color:#afc6ce;font-size:14px}.passport-top>div>b{color:#aec6ca;font-size:10px}.passport-identity>div:nth-child(2)>small{color:#b5cfce;font-size:9px}.passport-identity p{color:#bbd0d2;font-size:12px}.passport-details>div>span,.birth-chances>div>span{color:#bdcdd3;font-size:12px}.passport-details small{color:#a9c2cb;font-size:10px}.birth-chances small{color:#b3c7d0;font-size:11px}.passport-code{color:#9db7c0;font-size:9px}.chance-explain summary{font-size:12px;color:#b7d3c7}.chance-explain p{font-size:12px;color:#acc6ce}.chance-explain a{font-size:12px}.reveal-note{font-size:11px!important;color:#a9c0ca!important}.reveal-credit{color:#b8d3b9;font-size:12px}.sex-badge{font-size:11px;color:#c2dbdd}.birth-cta-caption{font-size:11px;color:#acc4a2}.hero-tags>span{font-size:10px;color:#a7babd}.future-copy>p{color:#b3c4cc}.rhythm-header>p,.world-coordinate{color:#9bb9b0}.future-steps p{color:#acbfc7;font-size:12px}.premium-preview p{color:#aabcc6;font-size:12px}
@keyframes pixel-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-.3px)}}
@media(min-width:1051px) and (max-width:1250px){body[data-screen="game"] .dashboard{grid-template-columns:205px minmax(0,1fr)220px;gap:17px}body[data-screen="game"] main{padding:0 20px}body[data-screen="game"] .card{padding:18px}.investment-grid{grid-template-columns:1fr}.investment-card{display:grid;grid-template-columns:1fr 1fr;gap:8px 15px}.investment-card .investment-top{grid-column:1}.investment-card h4{grid-column:1;margin:3px 0}.investment-card>b{grid-column:1;grid-row:3}.investment-card p{grid-column:1;grid-row:4;margin:0}.investment-card label{grid-column:2;grid-row:1}.investment-card select{grid-column:2;grid-row:2}.investment-card .economy-action{grid-column:2;grid-row:3;margin-top:0}.investment-card .fund-sell{grid-column:2;grid-row:4}.investment-card>small{grid-column:1/-1}.scene-bubble{max-width:145px;right:10px}.scene-bubble span{font-size:9px}.budget-layout,.migration-layout{grid-template-columns:1fr}.family-grid{grid-template-columns:1fr}}
@media(max-width:1050px){body[data-screen="game"] .dashboard{grid-template-columns:210px minmax(0,1fr);gap:22px}body[data-screen="game"] .right-stack{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.time-console{gap:12px;padding:13px}.time-actions{gap:5px}.time-actions button{padding:10px;font-size:10px}.time-actions .speed-buttons button{padding:7px 10px}.clock-status{min-width:130px}.clock-status b{font-size:11px}.scene-bubble{max-width:150px}.investment-grid{gap:8px}.investment-card{padding:16px 11px}.investment-card h4{font-size:12px}.investment-card>b{font-size:16px}.budget-layout{gap:17px}.finance-overview{gap:7px}.finance-overview>div{padding:13px 11px}.finance-overview b{font-size:15px}.family-grid{grid-template-columns:1fr}}
@media(max-width:720px){body[data-screen="game"] header{height:78px;padding:14px 18px}body[data-screen="game"] .brand{font-size:22px}body[data-screen="game"] .brand-sub{display:none}body[data-screen="game"] header .quiet{font-size:8px}body[data-screen="game"] .header-shop{font-size:8px;padding:8px 9px}body[data-screen="game"] main{padding:0 16px}body[data-screen="game"] .game-top{margin:24px 0 20px;display:block}body[data-screen="game"] .game-top h1{font-size:27px;line-height:1.4;letter-spacing:-.8px;margin-top:10px}body[data-screen="game"] .game-top .eyebrow{font-size:8px}.game-top-meta{justify-content:space-between;margin-top:14px;gap:15px}body[data-screen="game"] .saved-indicator{font-size:9px}.game-top-meta .quiet{font-size:10px!important}.time-console{display:block;top:0;padding:13px 12px 12px;margin-bottom:18px;border-radius:7px}.clock-status{margin:0 0 12px}.clock-status b{font-size:11px}.clock-status small{font-size:9px}.time-actions{display:grid;grid-template-columns:1.1fr 1.5fr .8fr;gap:7px}.time-actions button{font-size:10px;padding:10px 6px;min-height:40px}.time-actions .speed-buttons{width:100%;justify-content:space-between;padding:3px 2px;gap:0}.time-actions .speed-buttons button{padding:7px 9px;min-height:32px;font-size:10px;flex:1}.time-actions .skip-choice{grid-column:1/-1;padding:11px 13px;display:flex;justify-content:space-between;font-size:11px;min-height:40px}body[data-screen="game"] .dashboard{display:flex;flex-direction:column;gap:18px}body[data-screen="game"] .left-stack,body[data-screen="game"] .center-stack,body[data-screen="game"] .right-stack{width:100%}body[data-screen="game"] .left-stack{display:grid;grid-template-columns:1fr;gap:15px}body[data-screen="game"] .profile{padding:18px}.profile-identity{flex-wrap:nowrap;gap:15px}.profile-identity .avatar{height:85px;width:72px}.profile-kicker{font-size:7px;letter-spacing:1.3px}body[data-screen="game"] .profile h2{font-size:25px;line-height:1.3;margin:8px 0}body[data-screen="game"] .profile p{font-size:11px}body[data-screen="game"] .profile dl{display:none}body[data-screen="game"] .stats{display:grid;grid-template-columns:1fr 1fr;gap:17px 21px;margin:0;padding:19px 18px}body[data-screen="game"] .stats .card-heading{display:flex;grid-column:1/-1;margin:0;font-size:13px}body[data-screen="game"] .stat{margin:0}body[data-screen="game"] .stat:last-child{grid-column:1/-1;margin:0}body[data-screen="game"] .stat>div{font-size:11px;margin-bottom:8px}body[data-screen="game"] .stat b{font-size:12px}body[data-screen="game"] .age-panel{padding:16px 19px;margin-bottom:13px}body[data-screen="game"] .big-age{font-size:40px}body[data-screen="game"] .big-age small{font-size:11px}body[data-screen="game"] .age-panel .year{font-size:24px}body[data-screen="game"] .scene{height:195px;border-radius:7px}.scene-character{width:70px;height:85px;left:43%;bottom:26px}.scene-character .pixel-person{height:85px;width:70px}.scene-bubble{bottom:18px;right:10px;width:112px;padding:10px 8px;gap:6px;display:block;text-align:center}.scene-bubble svg{height:24px!important;width:24px!important;margin:0 auto 7px;display:block}.scene-bubble span{font-size:9px;line-height:1.7;display:block}body[data-screen="game"] .scene-label{font-size:10px;max-width:41%;bottom:18px;left:13px;line-height:1.7}body[data-screen="game"] .scene-label>span{font-size:6px;letter-spacing:.8px;margin-bottom:5px}.household{padding:17px 13px 14px}.household-heading>span{font-size:10px}.household-heading .quiet{font-size:9px!important}.household-people{gap:12px;row-gap:15px}.house-person b{font-size:10px}.house-person small{font-size:8px}.house-person>.pixel-person{width:28px;height:36px}.house-person.you{padding-left:9px}body[data-screen="game"] .tabs{gap:20px;margin:24px 0 23px;padding-bottom:0}body[data-screen="game"] .tab{font-size:11px;padding-bottom:14px;min-height:34px}body[data-screen="game"] .inline-controls{gap:12px}body[data-screen="game"] .inline-controls .quiet{font-size:10px}body[data-screen="game"] .log h3{font-size:15px;line-height:1.6}body[data-screen="game"] .log p{font-size:13px;line-height:1.95}body[data-screen="game"] .log small{font-size:9px}body[data-screen="game"] .right-stack{display:grid;grid-template-columns:1fr;gap:15px}body[data-screen="game"] .card{padding:21px 19px}body[data-screen="game"] .right-stack .moneyrows>div{font-size:12px}.wealth-card{margin-top:4px}body[data-screen="game"] .balance-amount{font-size:33px}body[data-screen="game"] .focus-btn{padding:13px 10px}body[data-screen="game"] .focus-btn b{font-size:13px}body[data-screen="game"] .focus-btn small{font-size:11px}body[data-screen="game"] .action-row h3{font-size:14px}body[data-screen="game"] .action-row p{font-size:12px;line-height:1.9}body[data-screen="game"] .action-row button{font-size:10px;padding:11px}.panel-intro h2{font-size:25px;line-height:1.4;letter-spacing:-.6px}.panel-intro p{font-size:12px;line-height:1.95}.panel-intro .section-kicker{font-size:7px;letter-spacing:1.2px}.finance-overview{grid-template-columns:1fr 1fr;gap:9px}.finance-overview>div{padding:15px 12px}.finance-overview>div:last-child{grid-column:1/-1}.finance-overview b{font-size:18px}.finance-overview span{font-size:10px}.finance-jumps{gap:7px;margin:20px 0 24px}.finance-jumps a{font-size:10px;padding:10px 13px}.economy-section{padding:26px 0;scroll-margin-top:210px}.economy-heading{gap:12px;margin-bottom:23px}.economy-heading h3{font-size:22px;line-height:1.5;letter-spacing:-.6px}.economy-heading p{font-size:11px;line-height:1.9}.budget-layout{grid-template-columns:1fr;gap:20px}.budget-layout .moneyrows>div{font-size:12px!important}.lifestyle label{font-size:12px}.lifestyle p,.migration-layout p{font-size:12px;line-height:1.95}.lifestyle>small{font-size:10px}.investment-grid{grid-template-columns:1fr;gap:14px}.investment-card{padding:21px 19px}.investment-card h4{font-size:18px;margin-top:15px}.investment-card>b{font-size:25px}.investment-card p{font-size:12px;min-height:0;margin:14px 0 20px}.investment-card label{font-size:11px;margin-bottom:9px}.investment-top>span:last-child{font-size:9px}.investment-card select{font-size:13px!important;min-height:46px}.investment-card .economy-action{font-size:12px;padding:12px;margin-top:14px}.fund-sell{font-size:11px;padding:12px}.investment-card>small{font-size:10px;margin-top:14px}.economy-note{font-size:11px;padding:15px;line-height:1.95}.housing-options{grid-template-columns:1fr;gap:14px}.housing-options>article{padding:24px 20px}.housing-options h4{font-size:19px;margin-top:15px}.housing-options b{font-size:25px}.housing-options p{font-size:12px}.economy-action{font-size:12px;min-height:46px}.housing-owned{padding:23px 18px;gap:16px}.housing-owned h4{font-size:17px;line-height:1.6}.housing-owned p{font-size:12px}.housing-owned b{font-size:12px}.migration-layout{grid-template-columns:1fr;gap:20px}.migration-layout label{font-size:12px}.move-preview{padding:20px 17px}.move-preview>span{font-size:14px}.move-preview small,.move-preview b{font-size:11px}.move-preview>div{padding:11px 0}.move-preview>p{font-size:12px}.spend-grid{grid-template-columns:1fr;gap:14px}.spend-grid article{padding:23px 20px}.spend-grid h4{font-size:18px;margin:16px 0 11px}.spend-grid b{font-size:24px}.spend-grid p{font-size:12px}.family-grid{grid-template-columns:1fr;gap:12px}.family-person{padding:18px 15px}.family-person b{font-size:14px}.family-person small{font-size:11px}.family-person>div>span{font-size:8px}.family-person>.pixel-person{width:45px;height:54px}.game-tab-content{scroll-margin-top:212px}.finance-disclaimer{font-size:10px;line-height:2}.passport-identity>div:nth-child(2)>small{font-size:8px}.passport-identity p{font-size:11px}.passport-details>div>span{font-size:11px}.passport-details small{font-size:10px}.birth-chances small{font-size:10px}.birth-chances>div>span{font-size:12px}.chance-explain summary{font-size:11px}.chance-explain p{font-size:11px}.chance-explain a{font-size:11px}.passport-code{font-size:8px;line-height:1.8;letter-spacing:1px}.reveal-credit{font-size:11px}.reveal-note{font-size:10px!important}.pixel-passport>.pixel-person{height:69px;width:59px;padding:0}.pixel-passport{width:60px!important;height:66px!important}.sex-badge{font-size:10px}.hero-tags>span{font-size:9px}#modal h2{font-size:26px;line-height:1.4}#modal p{font-size:13px}.time-console .clock-status small{display:inline;margin-left:0}}
@media(prefers-reduced-motion:reduce){.pixel-body{animation:none}}
