@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700&display=swap');
:root{--paper:#f5f2e9;--ink:#243c33;--green:#284c42;--muted:#7b8174;--line:#dcded0;--coral:#b9654d;--soft:#e9ecdf;--white:#fffdf6;--serif:'Noto Serif KR',Georgia,serif;--sans:'Noto Sans KR',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.7;word-break:keep-all}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed}button{border:0;background:none}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b9654d;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{word-break:keep-all}h1,h2{font-family:var(--serif);font-weight:600;letter-spacing:-1.5px}button{transition:background .18s,border-color .18s,transform .18s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.header{max-width:1256px;margin:auto;min-height:96px;padding:20px 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px;font-family:var(--serif);font-size:20px;font-weight:700;padding:0}.brand-icon{font-family:var(--sans);font-size:31px;line-height:1}.brand-sub{font-family:var(--sans);font-size:9px;font-weight:500;letter-spacing:2px;margin-left:13px;color:var(--muted)}.header nav{display:flex;gap:24px;font-size:12px}.header nav button{padding:8px 0}.header nav button:hover{color:var(--coral)}.header nav span{margin-left:8px}main{max-width:1172px;margin:auto}.landing{padding:0 22px}.intro-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:60px;align-items:center;padding:76px 0 72px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;display:block;color:var(--muted)}.dot{display:inline-block;width:6px;height:6px;background:var(--coral);border-radius:50%;margin:0 8px 1px 0}.hero-copy h1{font-size:49px;line-height:1.55;margin:23px 0 23px;letter-spacing:-3px}.coral{color:var(--coral)}.lead{font-size:15px;line-height:2;color:#6a7467}.fact{display:flex;align-items:center;gap:19px;margin-top:34px;padding-top:21px;border-top:1px solid var(--line);max-width:345px}.fact>b{font-size:39px;font-family:var(--serif);font-weight:500;line-height:1.2}.fact>b>span{font:13px var(--sans);margin-left:6px}.fact p{font-size:10px;line-height:1.8;color:var(--muted)}.fact button{font-size:19px;align-self:flex-start;margin-left:auto}.hero-tags{display:flex;gap:24px;font-size:10px;color:var(--muted);margin-top:38px}.hero-art{position:relative;background:#fffdf4;padding:14px 14px 19px;box-shadow:0 8px 26px #39432b0b;transform:rotate(2deg);border:1px solid #e7e4d8}.hero-art:before{content:'';width:106px;height:30px;background:#d6c9aa70;position:absolute;top:-14px;left:37%;transform:rotate(-7deg);z-index:1}.scene{display:block;width:100%;height:auto}.photo-note{padding:19px 13px 3px;position:relative;display:flex;flex-direction:column;gap:4px}.photo-note>span:first-child{font-size:9px;color:var(--muted);letter-spacing:1px}.photo-note b{font-size:17px;font-family:var(--serif);font-weight:600}.stamp{position:absolute;right:12px;top:14px;width:45px;height:45px;display:grid;place-content:center;border:1px solid #b9654d90;color:#b9654d;font-family:var(--serif);font-size:12px;line-height:1.3;transform:rotate(-7deg)}.photo-caption{position:absolute;bottom:-33px;right:12px;font-size:10px;font-family:var(--serif);color:var(--muted);transform:rotate(-2deg)}.start-section{display:grid;grid-template-columns:.9fr 1.3fr;gap:90px;padding:56px 0 62px;border-top:1px solid var(--line)}.section-intro h2{font-size:27px;line-height:1.7;margin:12px 0 17px}.section-intro>p{font-size:12px;color:var(--muted);line-height:2}.resume{margin-top:24px;background:var(--soft);border:1px solid var(--line);padding:13px 17px;display:flex;flex-direction:column;align-items:flex-start;font-size:11px;gap:5px}.resume b{font-size:13px}.form-top{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{font-size:12px;font-weight:600;display:block}label>span{color:var(--muted);font-size:10px;font-weight:400;display:block;margin:2px 0 8px}input,select{background:#fffdf8;border:1px solid var(--line);border-radius:3px;padding:12px 13px;width:100%;color:var(--ink);font-size:14px;height:48px}.age-input{position:relative}.age-input input{font-size:22px;font-weight:600;padding-right:50px}.age-input b{position:absolute;right:17px;top:12px;font-size:13px;font-weight:400;color:var(--muted)}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{display:none}.age-preview{font-size:11px;color:var(--coral);margin-top:10px}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:23px 0 16px}.mode-tabs button{display:grid;text-align:left;border:1px solid var(--line);border-radius:4px;padding:15px 17px;grid-template-columns:28px 1fr;background:transparent;gap:2px 4px}.mode-tabs button>span{grid-row:span 2;font-size:25px;line-height:1.2;margin-top:2px}.mode-tabs b{font-size:12px}.mode-tabs small{font-size:10px;color:var(--muted)}.mode-tabs button.active{background:#e7ecdf;border-color:#6c8875}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--green);color:#fffdf6;padding:17px 22px;min-height:55px;border-radius:3px;font-size:13px;font-weight:600}.primary:hover:not(:disabled){background:#376454}.primary>span{font-size:19px;font-weight:400}.primary:disabled{background:#d8dbd0;color:#899382}.privacy-note{color:#909484;font-size:9px;text-align:center;margin-top:12px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:16px 0}.field-grid label{font-size:11px}.field-grid select{margin-top:7px;font-size:12px}.presets{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.presets>span{font-size:10px;color:var(--muted);margin-right:5px}.presets button{border:1px solid var(--line);font-size:10px;padding:5px 9px;border-radius:2px}.presets .active{background:var(--green);color:white}.field-note{font-size:10px;color:var(--muted);line-height:1.9;margin:12px 0 18px}.three-notes{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding:40px 0 47px;gap:48px}.three-notes article>span{font-family:var(--serif);font-size:14px;color:var(--coral)}.three-notes h3{font-size:14px;font-weight:600;margin:8px 0 9px}.three-notes p{font-size:11px;color:var(--muted);line-height:2}footer{max-width:1172px;display:flex;justify-content:space-between;gap:20px;margin:auto;border-top:1px solid var(--line);padding:24px 22px 30px;font-size:9px;color:var(--muted)}footer button{font-size:9px;padding:0}.birth-page{padding:55px 22px 70px}.birth-page>h1{font-size:35px;margin:16px 0 13px}.birth-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;margin-top:35px;align-items:center}.birth-art{position:relative;border:10px solid #fffdf6;box-shadow:0 8px 25px #2539280d}.birth-year{font-family:var(--serif);font-size:35px;color:var(--white);position:absolute;bottom:18px;left:23px;text-shadow:0 2px 3px #0003}.family-location{font-size:12px;color:var(--muted)}.birth-family h3,.modal h3{font-size:21px;font-family:var(--serif);margin:8px 0 22px}.parents{display:flex;gap:36px}.parents p{display:flex;flex-direction:column;gap:3px}.parents span{font-size:10px;color:var(--muted)}.parents b{font-size:14px}.story-note{font-size:12px;color:#71806c;line-height:1.95;margin:22px 0}.birth-facts{display:flex;gap:35px;border-block:1px solid var(--line);padding:20px 0;margin:22px 0}.birth-facts div{display:flex;flex-direction:column;gap:4px}.birth-facts span{font-size:10px;color:var(--muted)}.birth-facts b{font-size:15px}.birth-facts small{font-size:9px;color:var(--muted)}.text-button{font-size:11px;padding:12px 0;color:var(--muted);text-decoration:underline;text-underline-offset:5px}.text-button:hover{color:var(--coral)}.game-page{padding:30px 22px 65px}.hud{background:var(--green);color:var(--white);padding:27px 34px 18px;border-radius:5px}.hud-main{display:flex;align-items:center;justify-content:space-between}.light{color:#b8c9b6;font-size:9px}.hud-year{font-family:var(--serif);font-size:41px;line-height:1.65;letter-spacing:-1px}.hud-year>span{font-family:var(--sans);font-size:13px;margin-left:5px;color:#bdccba}.hud-year>b{font-family:var(--sans);font-size:13px;margin-left:20px;font-weight:400;background:#476a5a;padding:5px 12px;border-radius:30px;vertical-align:middle;letter-spacing:0}.hud-main p{font-size:10px;color:#c4d0bc}.hud-main p span{padding:0 9px}.wallet{text-align:right;display:flex;flex-direction:column;gap:3px}.wallet>span{font-size:10px;color:#c4d0bc}.wallet strong{font-family:var(--serif);font-size:27px;font-weight:500}.wallet small{font-size:9px;color:#adc3ad}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin:24px 0}.stat>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:10px}.stat b{font-size:11px;font-weight:500}.stat-track{height:4px;background:#ffffff20;margin-top:8px;border-radius:5px;overflow:hidden}.stat-track i{height:100%;display:block;background:#aec89c}.stat-track .knowledge{background:#c7b886}.stat-track .bonds{background:#c39782}.stat-track .happiness{background:#93b7ad}.progress-line{height:1px;background:#ffffff30;margin-top:29px}.progress-line i{height:2px;display:block;background:#c9d5b9}.progress-label{display:flex;justify-content:space-between;font-size:8px;color:#a7bda7;margin-top:7px}.game-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:31px;margin-top:32px}.section-label{display:flex;align-items:center;gap:12px;font-size:12px}.section-label>b{font-size:10px;color:var(--coral);font-weight:500;border:1px solid #d9c5ad;width:23px;height:23px;display:grid;place-content:center;border-radius:50%;flex-shrink:0}.section-label h2{font:600 14px var(--sans);letter-spacing:0}.focus-options{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:18px}.focus-option{background:transparent;border:1px solid var(--line);border-radius:3px;display:flex;flex-direction:column;align-items:center;padding:13px 4px 12px;gap:7px}.focus-option>span{font-size:22px;line-height:1.3;color:#7f927c}.focus-option>b{font-size:10px;font-weight:600}.focus-option>small{font-size:8px;color:var(--muted);letter-spacing:-.3px}.focus-option.selected{background:#e6ebdd;border-color:#789071}.focus-option.selected>span{color:var(--green)}.tutor-toggle{display:flex;align-items:center;gap:9px;padding:12px 0 0;font-size:10px}.tutor-toggle input{width:15px;height:15px;accent-color:var(--green);flex-shrink:0}.tutor-toggle span{display:flex;flex-direction:column;gap:3px;margin:0;color:#5a6c56}.tutor-toggle b{font-size:10px}.tutor-toggle small{font-size:9px;font-weight:400;color:var(--muted)}.event-card{padding:27px 27px 14px;background:var(--white);border:1px solid var(--line);margin-top:25px;border-radius:4px;box-shadow:0 5px 15px #46523403}.event-card .section-label>span{font-size:10px;color:var(--muted)}.event-card .tiny-year{margin-left:auto;font-size:9px}.event-card h1{font-size:25px;line-height:1.7;margin:20px 0 13px;letter-spacing:-1px}.event-body{font-size:12px;color:#707768;line-height:2}.choices{display:flex;flex-direction:column;gap:10px;margin-top:26px}.choice{border:1px solid var(--line);border-radius:4px;display:flex;align-items:center;gap:14px;padding:16px 17px;text-align:left;width:100%;background:#fffefa}.choice:hover:not(:disabled){background:#f0f4e8;border-color:#879c7e}.choice.selected{background:#edf1e6;border-color:#627f66;box-shadow:inset 3px 0 #627f66}.choice-letter{height:23px;width:23px;border:1px solid var(--line);border-radius:50%;font-family:var(--serif);font-size:11px;display:grid;place-content:center;flex-shrink:0}.choice.selected .choice-letter{background:var(--green);color:#fff;border-color:var(--green)}.choice-copy{display:flex;flex-direction:column;gap:4px;flex:1}.choice-copy>b{font-size:12px;font-weight:600}.choice-copy>small{font-size:9px;color:var(--muted)}.choice-copy .choice-cost{font-size:9px;color:#958367}.choice-check{color:#7d9675;opacity:0}.choice.selected .choice-check{opacity:1}.choice.locked{opacity:.55;background:#eeeee6}.choice-copy .locked-reason{color:#a85d44;font-size:9px}.chance{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}.chance b{font-size:19px;font-family:var(--serif);font-weight:500}.chance small{font-size:8px;color:var(--muted)}.year-btn{margin-top:23px}.choice-hint{font-size:9px;text-align:center;color:var(--muted);margin:10px 0 0}.news-panel{border:1px solid var(--line);padding:21px 23px;background:#efefe5;border-radius:3px}.newspaper-title{display:flex;justify-content:space-between;font:600 17px var(--serif);padding-bottom:15px;border-bottom:2px solid #6d7c65;letter-spacing:-.5px;align-items:center}.newspaper-title>span{font:10px var(--sans);color:var(--muted)}.president{display:flex;justify-content:space-between;gap:9px;padding:12px 0;border-bottom:1px solid var(--line);font-size:9px}.president>span{color:var(--muted);flex-shrink:0}.president>b{font-weight:500;text-align:right}.news-panel article{padding:19px 0;border-bottom:1px solid var(--line)}.news-category{font-size:8px;letter-spacing:1px;color:var(--coral)}.news-panel h3{font-family:var(--serif);font-size:15px;margin:7px 0 10px;line-height:1.7}.news-panel article p{font-size:10px;line-height:2;color:#75806e}.news-panel a{font-size:8px;color:#829077;display:block;margin-top:12px}.news-foot{font-size:8px;color:#939785;margin-top:15px}.home-mini{padding:22px 6px}.home-mini .eyebrow{font-size:8px}.home-mini h3{font-size:13px;font-family:var(--serif);margin:9px 0}.home-mini p{font-size:10px;color:var(--muted)}.home-mini b{font-weight:500;color:var(--ink);margin-left:8px}.home-mini .text-button{font-size:9px}.auto-btn{font-size:9px;color:#969b8a}.report-page{padding:45px 22px 70px}.report-page>h1,.ending>h1{font-size:36px;margin:13px 0}.report-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;margin-top:30px}.report-paper{padding:32px;background:var(--white);border:1px solid var(--line);border-radius:5px}.result-badge{font-size:13px;color:#4e7552;border-bottom:1px solid var(--line);padding-bottom:17px}.result-badge:before{content:'✦';margin-right:10px}.result-badge.uncertain{color:#a07851}.model-note{font-size:10px;color:var(--muted);margin:12px 0}.report-deltas{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:24px 0}.report-deltas>div{display:flex;flex-direction:column;align-items:center;gap:4px}.report-deltas span{font-size:10px;color:var(--muted)}.report-deltas b{font-size:22px;font-family:var(--serif);font-weight:500}.positive{color:#527852}.negative{color:#b26e4e}.report-deltas small{font-size:9px;color:#929785}.school-report{background:#eff1e7;padding:20px;border-radius:3px}.school-report>span{font-size:9px;color:var(--muted)}.school-report h3{font-size:15px;font-family:var(--serif);margin:6px 0}.school-report p{font-size:10px;color:#78836e}.school-report b{color:var(--green)}.ledger{padding:23px 0}.ledger h3{font-size:12px;margin-bottom:12px}.ledger p{display:flex;justify-content:space-between;gap:14px;padding:5px 0;font-size:11px}.ledger p>span{color:var(--muted)}.ledger b{font-weight:500}.ledger .ledger-total{padding:13px 0 0;margin-top:10px;border-top:1px solid var(--line);font-size:14px}.ledger-total>span{color:var(--ink)!important}.impact-note{font-size:10px;color:#9a805f;margin:0 0 12px}.report-paper .text-button{display:block;margin:9px auto 0;font-size:10px}.ending{padding:55px 22px 65px}.ending-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:45px;align-items:start;margin-top:34px}.life-card{background:#e9eee3;border:1px solid #cbd6c3;padding:28px 30px 30px;border-radius:3px}.life-card-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #cbd6c3;padding-bottom:16px}.life-card-top span{font:600 18px var(--serif)}.life-card-top b{font-size:9px;font-weight:400;color:var(--muted)}.portrait{height:180px;overflow:hidden;margin:23px 0}.portrait .scene{height:100%;object-fit:cover}.life-card h2{font-size:24px;margin-bottom:7px}.life-card>p{font-size:10px;color:var(--muted)}.end-facts{display:grid;grid-template-columns:1fr 1fr;gap:25px 15px;margin:28px 0}.end-facts>div{display:flex;flex-direction:column;gap:5px}.end-facts span{font-size:9px;color:var(--muted)}.end-facts b{font-size:13px;font-weight:600}.life-card .stats-grid{grid-template-columns:repeat(3,1fr);gap:18px 22px}.life-card .stat-track{background:#cbd5c4}.life-card .stat-track i{background:#688869}.life-motto{font-family:var(--serif);font-size:12px;line-height:2;margin-top:27px;padding-top:21px;border-top:1px solid #cbd6c3;color:#73806a}.life-motto b{font-weight:500;color:var(--ink)}.ending-side h2{font-size:22px;line-height:1.7;margin:10px 0 23px}.memory-list{padding:15px 0 20px}.memory-list p{display:flex;gap:20px;padding:17px 0;border-bottom:1px solid var(--line);font-size:11px;color:#798371}.memory-list b{font-family:var(--serif);color:var(--coral);font-weight:500}.secondary{border:1px solid #a9b69e;min-height:50px;width:100%;margin-top:11px;border-radius:3px;font-size:12px}.secondary:hover{background:var(--soft)}.ending-side>.text-button{display:block;margin:4px auto}.end-timeline{border-top:1px solid var(--line);padding-top:35px;margin-top:40px}.year-chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.year-chips button{display:flex;flex-direction:column;text-align:left;border:1px solid var(--line);padding:11px 15px;border-radius:3px;min-width:110px}.year-chips b{font-family:var(--serif);font-size:16px;font-weight:500}.year-chips span{font-size:9px;color:var(--muted)}.year-chips button:hover{background:var(--soft);border-color:#94a486}.compare-card{padding:23px;background:#e9e9db;border:1px solid var(--line);margin-bottom:25px}.compare-card p{font-size:10px;color:var(--muted);margin-bottom:17px}.compare-card h2{margin-bottom:10px}.compare-row{display:flex;justify-content:space-between;font-size:10px;border-top:1px solid #d9dccc;padding:9px 0;gap:16px}.compare-row b{font-weight:500}.modal-backdrop{position:fixed;inset:0;background:#1b2d27a8;z-index:20;padding:30px 20px;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(3px)}.modal{background:var(--paper);max-width:720px;width:100%;max-height:90dvh;overflow:auto;border-radius:6px;box-shadow:0 30px 80px #0003;outline:none}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--paper);z-index:1}.modal-head h2{font-size:20px;line-height:1.6;letter-spacing:-.8px}.modal-head button{font-size:30px;font-weight:400;line-height:1;padding:5px;flex-shrink:0}.modal-body{padding:25px 28px}.modal-body>p{font-size:12px;line-height:1.95;color:var(--muted);margin-bottom:20px}.source-lead{font-family:var(--serif);font-size:17px!important;color:var(--ink)!important}.source-explain{padding:20px;background:var(--soft);border-radius:3px}.source-explain h3{font:600 12px var(--sans);margin:15px 0 9px}.source-explain h3:first-child{margin-top:0}.source-explain p{font-size:10px;line-height:2;color:#7a826f;margin-bottom:10px}.sources-list article{padding:20px 0;border-bottom:1px solid var(--line)}.sources-list a{font-size:12px;line-height:1.8}.sources-list small{font-size:9px;display:block;color:var(--coral);margin:7px 0}.sources-list p{font-size:10px;color:var(--muted);line-height:1.9}.timeline-list{display:flex;flex-direction:column}.timeline-list button{display:flex;text-align:left;gap:20px;border-top:1px solid var(--line);padding:17px 0;align-items:center}.timeline-list button>b{font:500 19px var(--serif);display:flex;flex-direction:column;min-width:50px}.timeline-list small{font:9px var(--sans);color:var(--muted);margin-top:5px;display:block}.timeline-list strong{font-size:12px;font-weight:500}.timeline-list i{margin-left:auto;font-style:normal;color:var(--coral)}.timeline-list button:hover{background:var(--soft)}.modal .stat-track{background:#d7ddce}.modal .stat-track i{background:#7a946d}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:var(--green);color:#fff;border-radius:5px;padding:13px 23px;z-index:40;opacity:0;pointer-events:none;font-size:12px;transition:opacity .2s,transform .2s;max-width:90%;box-shadow:0 5px 25px #0002}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1450px){.intro-grid{padding-block:85px}.hero-copy h1{font-size:54px}}
@media(max-width:950px){.header{padding-inline:27px}.intro-grid{gap:32px;padding-top:55px}.hero-copy h1{font-size:38px;letter-spacing:-2.3px}.hero-tags{gap:12px;font-size:8px}.start-section{gap:40px;grid-template-columns:.8fr 1.2fr}.section-intro h2{font-size:24px}.game-columns,.report-grid{grid-template-columns:minmax(0,1fr) 245px;gap:20px}.event-card{padding:23px 20px 14px}.news-panel{padding:19px 17px}.focus-options{gap:5px}.focus-option>small{display:none}.focus-option>b{font-size:9px}.choice{padding:14px 12px;gap:10px}.choice-copy>b{font-size:11px}.choice-copy>small{font-size:8px}.ending-grid{gap:28px}.life-card{padding:23px}.parents{gap:25px}}
@media(max-width:700px){body{font-size:13px}.header{padding:17px 20px;min-height:72px}.brand{font-size:17px;gap:5px}.brand-icon{font-size:27px}.brand-sub{display:none}.header nav{gap:15px;font-size:10px}.header nav span{display:none}.landing{padding-inline:24px}.intro-grid{grid-template-columns:1fr;gap:33px;padding:38px 0 48px}.hero-copy .eyebrow{font-size:9px;letter-spacing:1px}.hero-copy h1{font-size:37px;line-height:1.6;letter-spacing:-2.5px;margin:17px 0 15px}.lead{font-size:12px;line-height:2}.hero-copy .lead br:last-child{display:none}.fact{margin-top:23px;padding-top:17px;gap:15px;max-width:none}.fact>b{font-size:34px}.fact p{font-size:9px}.fact button{align-self:center}.hero-tags{display:none}.hero-art{max-width:480px;width:93%;justify-self:center;padding:9px 9px 12px;transform:rotate(1.6deg)}.hero-art .scene{max-height:240px;object-fit:cover}.photo-note{padding:11px 10px 3px}.photo-note b{font-size:15px}.photo-note>span:first-child{font-size:8px}.stamp{top:9px;width:35px;height:35px;font-size:10px}.photo-caption{font-size:9px;bottom:-28px}.start-section{display:block;padding:35px 0 34px}.section-intro h2{font-size:25px;margin:8px 0 8px}.section-intro>p{font-size:11px}.section-intro>p br{display:none}.section-intro .eyebrow{font-size:8px}.section-intro{margin-bottom:25px}.resume{width:100%;margin-top:14px;flex-direction:row;justify-content:space-between;align-items:center}.resume b{font-size:11px}.form-top{gap:13px}.mode-tabs{gap:10px}.mode-tabs button{padding:14px 10px;grid-template-columns:23px 1fr;gap:2px}.mode-tabs b{font-size:11px}.mode-tabs small{font-size:8px}.mode-tabs button>span{font-size:21px}.privacy-note{font-size:8px}.three-notes{grid-template-columns:1fr;gap:24px;padding:28px 0}.three-notes article{position:relative;padding-left:38px}.three-notes article>span{position:absolute;left:2px;top:7px}.three-notes h3{margin:3px 0 4px;font-size:12px}.three-notes p{font-size:10px}.three-notes p br{display:none}footer{margin-inline:22px;padding:18px 0 23px;flex-wrap:wrap;gap:8px 18px;font-size:8px}footer button{font-size:8px}.birth-page{padding:32px 23px 45px}.birth-page>h1{font-size:26px;line-height:1.7;margin:12px 0 8px;letter-spacing:-1.5px}.birth-page .eyebrow{font-size:8px}.birth-grid{grid-template-columns:1fr;gap:24px;margin-top:23px}.birth-art .scene{max-height:240px;object-fit:cover}.birth-family h3{font-size:22px}.birth-facts{justify-content:space-between;gap:20px}.game-page{padding:18px 16px 38px}.hud{padding:21px 22px 15px;border-radius:5px}.hud-year{font-size:33px}.hud-year>b{font-size:10px;padding:4px 9px;margin-left:13px}.hud-year>span{font-size:10px}.light{font-size:8px;letter-spacing:1px}.hud-main p{font-size:8px;max-width:190px}.hud-main p span{padding:0 4px}.wallet strong{font-size:19px;white-space:nowrap}.wallet>span{font-size:8px}.wallet small{font-size:7px;max-width:125px}.stats-grid{gap:17px;margin:20px 0 16px}.stat>div:first-child{font-size:9px}.stat b{font-size:9px}.stat-track{height:3px;margin-top:6px}.progress-line{margin-top:23px}.progress-label{font-size:7px}.game-columns,.report-grid{display:flex;flex-direction:column;gap:20px;margin-top:23px}.game-columns aside{display:flex;flex-direction:column}.game-columns .news-panel{order:0}.focus-options{gap:6px;margin-top:14px}.section-label h2{font-size:12px}.focus-option{padding:11px 3px 10px}.focus-option>span{font-size:20px}.focus-option>b{font-size:9px}.tutor-toggle{padding-top:11px}.tutor-toggle b{font-size:10px}.tutor-toggle small{font-size:8px}.event-card{margin-top:19px;padding:20px 17px 13px}.event-card h1{font-size:22px;margin:16px 0 12px;line-height:1.7}.event-body{font-size:11px;line-height:2}.event-card .section-label>span{font-size:9px}.event-card .tiny-year{font-size:8px}.choices{margin-top:21px;gap:9px}.choice{padding:14px 12px;gap:10px}.choice-copy>b{font-size:11px;line-height:1.8}.choice-copy>small{font-size:8px}.choice-letter{width:20px;height:20px;font-size:10px}.chance b{font-size:17px}.chance small{font-size:7px}.year-btn{margin-top:18px}.choice-hint{font-size:8px}.primary{font-size:12px;padding:15px 18px;min-height:51px}.news-panel{padding:20px}.news-panel article p{font-size:11px}.news-panel h3{font-size:16px}.news-panel a{font-size:9px}.home-mini{padding:20px 5px 0}.auto-btn{align-self:flex-start}.report-page{padding:32px 17px 40px}.report-page>h1,.ending>h1{font-size:28px;line-height:1.7;letter-spacing:-1.5px}.report-page>.eyebrow{font-size:9px}.report-paper{padding:22px 19px}.report-deltas{gap:5px}.report-deltas b{font-size:20px}.report-deltas span,.report-deltas small{font-size:8px}.result-badge{font-size:11px}.model-note{font-size:9px}.ledger p{font-size:10px}.ending{padding:33px 20px 45px}.ending>.eyebrow{font-size:8px}.ending-grid{grid-template-columns:1fr;gap:25px;margin-top:25px}.life-card{padding:22px}.life-card h2{font-size:23px}.portrait{height:160px}.ending-side h2{font-size:23px}.memory-list{padding-top:5px}.year-chips{gap:7px}.year-chips button{padding:9px 12px;min-width:96px}.year-chips b{font-size:14px}.year-chips span{font-size:8px}.modal-backdrop{padding:15px 12px}.modal{max-height:94dvh}.modal-head{padding:16px 18px}.modal-head h2{font-size:17px}.modal-body{padding:21px 19px}.source-lead{font-size:15px!important}.source-explain{padding:15px}.source-explain p{font-size:10px}.modal .birth-facts{gap:20px}.modal .family-location{font-size:11px}.modal h3{font-size:20px}.timeline-list button{gap:13px}.timeline-list strong{font-size:11px}#toast{font-size:10px;padding:11px 17px;min-width:240px;text-align:center}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.town-custom{margin:14px 0}.town-custom input{font-size:12px}.year-news-link{display:flex;align-items:center;gap:14px;width:100%;padding:12px 5px 0;text-align:left;font-size:10px;color:#7b8174}.year-news-link>span{font-size:8px;border:1px solid #dcded0;padding:2px 6px;white-space:nowrap;flex-shrink:0}.year-news-link>b{font-weight:500;flex:1}.year-news-link>i{font-style:normal;color:#b9654d}.year-news-link:hover{color:#284c42}@media(max-width:700px){.year-news-link{font-size:10px;line-height:1.9;gap:10px;padding-top:15px}.year-news-link>span{font-size:8px}.choice-copy>b{font-size:12px}.event-body{font-size:12px}.focus-option>b{font-size:10px}}
.school-memory-photo{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:62% 50%;filter:sepia(.035)}.school-photo{padding-bottom:34px}.photo-origin{position:absolute;bottom:8px;left:27px;color:#a09c8e;font-size:8px;letter-spacing:.3px}.school-photo .photo-caption{bottom:-32px}.school-photo .photo-note b{font-size:16px}.school-photo .stamp{font-size:11px}.hero-copy h1{font-size:47px;letter-spacing:-2.5px}.hero-copy .lead{font-size:14px}.start-btn{gap:12px}.start-btn>span{flex-shrink:0}@media(max-width:950px){.hero-copy h1{font-size:37px}.hero-copy .lead{font-size:12px}.school-photo .photo-note b{font-size:14px}}@media(max-width:700px){.hero-copy h1{font-size:37px;letter-spacing:-2.2px}.hero-copy .lead br:last-child{display:initial}.school-photo{width:100%;padding-bottom:28px}.school-memory-photo{aspect-ratio:4/3;object-position:66% 50%}.school-photo .photo-note b{font-size:14px}.photo-origin{left:19px;bottom:7px;font-size:7px}.start-btn{font-size:12px}}

/* 50Milion: family archive and the year's newspaper */
.hero-copy .game-title{font-family:var(--serif);font-size:88px;letter-spacing:-6px;line-height:1.2;margin:20px 0 15px}.game-title>span{display:block;font-family:var(--sans);font-size:16px;font-weight:400;letter-spacing:7px;margin:12px 0 0 6px;color:var(--coral)}.game-subtitle{font-family:var(--serif);font-size:23px;letter-spacing:-1px;line-height:1.8;margin:22px 0 20px}.history-select{margin:20px 0}.history-select select{margin-top:9px;font-size:12px}.brand-sub{letter-spacing:1px}.family-money{padding:0 0 25px}.family-money p{display:flex;justify-content:space-between;gap:12px;margin:12px 0 5px;font-size:12px}.family-money p>span{color:var(--muted)}.family-money small{display:block;font-size:10px;line-height:1.9;color:var(--muted)}.roots-card{margin:35px 0 15px;background:#ebe7da;border:1px solid #d9d3c2;padding:30px}.roots-card h2{font-size:25px;margin:10px 0 14px}.roots-card>p{font-size:13px;line-height:2;color:#757361}.generation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.generation-grid>div{background:#f7f4ec;padding:14px;display:flex;flex-direction:column;gap:4px}.generation-grid span,.generation-grid small{font-size:10px;color:var(--muted)}.generation-grid b{font-size:13px}.roots-card blockquote{font-family:var(--serif);font-size:18px;line-height:1.8;margin:25px 0 15px;padding-left:20px;border-left:2px solid var(--coral);color:#795c49}.roots-card .field-note{font-size:10px;margin-bottom:0}.front-page{margin-top:30px;background:#faf8f0;padding:26px 30px}.front-page .newspaper-title{display:block;text-align:center;padding:0 0 18px}.newspaper-title .newspaper-kicker{display:block;color:var(--coral);font:11px var(--sans);letter-spacing:5px;margin-bottom:9px}.newspaper-title>b{display:block;font:600 27px var(--serif);line-height:1.6}.front-page .president{font-size:10px;align-items:center;line-height:1.8}.president button{color:var(--coral);font-size:10px;padding:6px 0;flex-shrink:0}.front-stories{display:grid;grid-template-columns:1fr 1fr;gap:24px}.front-page article{padding:21px 0;min-width:0}.front-story figure{margin:0 0 15px}.front-story img{width:100%;height:220px;object-fit:cover;display:block;filter:saturate(.75);border:1px solid #d9d4c6}.front-story figcaption{font-size:8px;line-height:1.7;color:#8b8a7d;padding-top:5px}.front-story figcaption>span{display:block}.front-story figcaption a{display:inline;font-size:8px;margin:0;color:inherit}.front-page .news-category{font-size:10px}.front-page h3{font-size:22px;line-height:1.55;margin:9px 0}.front-page article p{font-size:12px;line-height:1.9}.front-page .news-copy>a{font-size:10px}.alternate-label{display:inline-block;background:#ede8dc;color:#947252;padding:4px 8px;margin-top:12px;font-size:9px}.alternate-label.prevented{color:#476e56;background:#dfebdc}.front-page .news-foot{font-size:10px;line-height:1.8;margin-top:14px}.more-headlines{margin-top:12px}.more-headlines summary,.sources-details summary{cursor:pointer;font-size:12px;color:var(--coral);padding:12px 0}.extra-stories{grid-template-columns:repeat(3,1fr)}.extra-stories h3{font-size:16px}.extra-stories img{height:145px}.extra-stories p{font-size:11px!important}.report-grid .front-stories,.report-grid .extra-stories{display:block}.report-grid .front-page{margin:0;padding:20px}.report-grid .front-page .newspaper-title>b{font-size:20px}.report-grid .front-page .president{display:block}.report-grid .front-page img{height:160px}.report-grid .front-page h3{font-size:17px}.intervention{padding:18px 22px;background:#e7ebdf;border:1px solid #d4ddca;border-top:0}.intervention label{font-size:12px}.intervention select{margin-top:10px;font-size:12px;max-width:680px}.intervention p{font-size:10px;color:var(--muted);line-height:1.9;margin-top:8px;max-width:750px}.activity-panel{margin-top:25px;padding:19px;background:#f0f0e5;border-radius:3px}.activity-panel select{font-size:12px;margin-top:14px;max-width:100%}.activity-panel>p{font-size:11px;line-height:1.9;margin-top:9px;color:var(--muted)}.partner-note{border-top:1px solid var(--line);margin-top:12px;padding-top:12px;color:#8a6554;font-size:11px;line-height:1.9}.activity-result{padding:17px;background:#f0ece1;margin:10px 0 20px}.activity-result>b{font-size:12px}.activity-result p{font-size:11px;color:var(--muted);line-height:2;margin-top:7px}.home-mini p{margin-top:10px;line-height:1.9}.sources-details{margin-top:18px}.game-columns aside .home-mini{position:sticky;top:20px}
@media(max-width:700px){.hero-copy .game-title{font-size:76px;letter-spacing:-5px;margin-top:15px}.game-title>span{font-size:13px;letter-spacing:6px;margin-top:10px}.game-subtitle{font-size:19px;line-height:1.8;letter-spacing:-.7px;margin:17px 0}.hero-copy .lead{font-size:13px}.form-top{grid-template-columns:1fr}.form-top select{font-size:14px}.history-select select{font-size:11px}.family-money p{font-size:12px}.family-money small{font-size:10px}.roots-card{padding:22px 18px;margin-top:25px}.roots-card h2{font-size:22px}.roots-card>p{font-size:12px}.generation-grid{grid-template-columns:1fr 1fr;gap:9px}.generation-grid>div{padding:11px}.generation-grid span{font-size:9px}.generation-grid b{font-size:12px}.roots-card blockquote{font-size:17px;padding-left:12px}.front-page{margin-top:22px;padding:19px 17px}.newspaper-title>b{font-size:21px}.front-stories{display:block}.front-page .president{display:block;font-size:10px}.president button{display:block;margin-top:4px}.front-story img{height:195px}.front-page h3{font-size:21px}.front-page article p{font-size:13px}.front-story figcaption,.front-story figcaption a{font-size:9px}.front-page .news-foot{font-size:10px}.alternate-label{font-size:10px}.extra-stories{display:block}.extra-stories img{height:190px}.extra-stories h3{font-size:19px}.intervention{padding:17px}.intervention select{font-size:11px}.intervention p{font-size:11px}.activity-panel{padding:16px 12px}.activity-panel select{font-size:11px}.activity-panel p{font-size:11px}.choice-copy>b{font-size:13px}.choice-copy>small{font-size:10px}.chance small{font-size:9px}.event-body{font-size:13px}.activity-result p,.impact-note{font-size:12px}.activity-result>b{font-size:13px}.parents b{font-size:14px}.home-mini p{font-size:12px}.hud-main p{font-size:10px}.brand-sub{display:block;font-size:9px;margin-left:5px;letter-spacing:.5px}.source-explain p{font-size:11px}.modal .roots-card{padding:16px}.family-location{font-size:13px}.game-columns aside .home-mini{position:static}}

/* The first day: a simple birth-year choice, two ways back. */
.header-note{font-size:12px;color:var(--muted,#7c857b);letter-spacing:.04em}.birth-year-field{display:block;font-weight:700}.birth-year-field select{display:block;width:100%;margin-top:10px;font-size:22px;padding:14px 16px;background:#fffdf6;border:1px solid #cbd1c4;border-radius:8px;color:#284c42}.memory-link{display:inline-flex;align-items:center;gap:28px;color:#365a4b;font-weight:700;text-decoration:none;margin-top:30px;border-bottom:1px solid #b3bda9;padding-bottom:9px}.mode-tabs b{font-size:16px;line-height:1.55}.mode-tabs small{line-height:1.5}.start-options{margin:20px 0;color:#58685c;font-size:13px}.start-options summary{cursor:pointer;margin-bottom:12px}.start-options .field-grid{margin-top:16px}.roots-unopened{padding:28px;margin-top:24px;background:#edece3;border:1px dashed #c5ccbe;border-radius:12px;color:#7c857a;line-height:1.7}.roots-unopened span{font-weight:700;color:#536c5a}.life-thread{display:block;font-size:12px;line-height:1.6;padding:9px 0;color:#48735b;border-top:1px solid #dce2d5}.game-main>.activity-panel{padding:22px;background:#eeeee5;border:1px solid #d7ded0;border-radius:12px;margin-bottom:22px}.game-main>.activity-panel h2{font-size:17px}.event-card>.choice-hint{text-align:left;margin:20px 0 14px;color:#7d7767}.front-story figure{margin:0}.front-story figure img{height:210px;object-fit:cover;width:100%;display:block}.news-panel.front-page{padding-bottom:18px}.front-stories:has(>.front-story:only-child){grid-template-columns:1fr}.front-story.has-photo:only-child{display:grid;grid-template-columns:minmax(200px,.8fr) 1.2fr;gap:24px}.front-story.has-photo:only-child img{height:100%;min-height:190px;max-height:270px}.choice:not(:disabled){cursor:pointer}.choice:not(:disabled):active{transform:scale(.99)}
@media(max-width:650px){.header-note{display:none}.mode-tabs b{font-size:14px}.mode-tabs small{font-size:11px}.birth-year-field select{font-size:20px}.front-story.has-photo:only-child{display:block}.front-story.has-photo:only-child img,.front-story figure img{height:180px;min-height:0}.memory-link{margin-top:20px}.start-options .field-grid{grid-template-columns:1fr}.game-main>.activity-panel{padding:18px}.start-btn{font-size:15px}}

/* Life stages unlock on the page, without a separate explanation screen. */
.header nav a{color:#546d5b;text-decoration:none;font-size:13px;font-weight:700}.unlock-panel{background:#e7efdb;border:1px solid #c2d1af;border-radius:14px;padding:22px 28px;margin:18px 0 25px;animation:unlock-in .45s ease-out}.unlock-panel span{font-size:11px;letter-spacing:.12em;color:#5e7a43;font-weight:700}.unlock-panel h2{font-size:22px;margin:8px 0;color:#31563b}.unlock-panel p{font-size:14px;margin:4px 0;color:#5b7157}.age-focus{grid-template-columns:repeat(3,minmax(0,1fr))}.age-focus .focus-option small{line-height:1.6;font-size:10px}.focus-consequence{padding:12px 15px;background:#eee9db;border-radius:8px;color:#74664e;font-size:12px;line-height:1.7}.inline-family .family-location{font-size:13px;margin-bottom:6px}.inline-family .parents p{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}.inline-family .birth-facts{display:block;padding-top:14px}.inline-family .birth-facts>div{margin-bottom:14px}.inline-family .birth-facts b{font-size:20px}.inline-family .family-money{font-size:12px}.family-now{margin-top:16px;padding-top:12px;border-top:1px solid #d4dbce;line-height:1.7;font-size:12px}.game-columns aside>.roots-card{padding:20px;margin-top:18px}.game-columns aside>.roots-card h2{font-size:20px;line-height:1.45}.game-columns aside>.roots-card .generation-grid{grid-template-columns:1fr}.game-columns aside>.roots-card p{font-size:13px;line-height:1.8}.game-columns aside>.roots-card blockquote{font-size:14px}.inline-history{margin-top:34px;padding-top:28px;border-top:1px solid #cbd4c3;scroll-margin-top:80px}.inline-history h2{font-size:24px;margin:8px 0}.inline-history>p{font-size:13px;color:#798374}.inline-year-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}.inline-year-list button{display:flex;text-align:left;gap:12px;border:1px solid #d5dccb;background:#f5f3e9;border-radius:8px;padding:13px;color:#3e5b47;cursor:pointer}.inline-year-list button>b{font-size:17px;flex-shrink:0}.inline-year-list small{display:block;font-size:10px;color:#7a8473;line-height:1.7;font-weight:400}.inline-year-list button>span{font-size:12px;line-height:1.6}.inline-jump{display:flex;align-items:center;justify-content:center;text-decoration:none}.game-columns aside{position:static;align-self:start}@keyframes unlock-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.age-focus{grid-template-columns:repeat(3,minmax(0,1fr))}.age-focus .focus-option small{display:block;font-size:9px}.age-focus .focus-option{padding:12px 5px}.unlock-panel{padding:18px}.unlock-panel h2{font-size:20px}.inline-year-list{grid-template-columns:1fr}.game-columns aside>.roots-card .generation-grid{grid-template-columns:1fr 1fr}.inline-family .birth-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.inline-family .birth-facts b{font-size:19px}}
@media(prefers-reduced-motion:reduce){.unlock-panel{animation:none}}
.game-columns aside .home-mini{position:static;top:auto}.game-columns aside>.roots-unopened{margin:18px 0;padding:20px}.game-columns aside>.auto-btn{font-size:12px;padding:12px 0}
/* Education, work and qualification records stay in the same page. */
.parent-school{display:block;font-size:11px;font-weight:400;color:#748176;margin-top:4px}
.wage-panel{display:flex;gap:18px;align-items:center;background:#e9eadc;border:1px solid #d8ddca;border-radius:13px;padding:20px 24px;margin:0 0 24px}
.wage-symbol{font-size:32px;color:#526e56}.wage-panel h2{font-size:17px;margin:0 0 5px}.wage-panel p{font-size:13px;line-height:1.8;margin:0;color:#657164}
.academic-panel,.career-panel{padding:24px;background:#fffdf7;border:1px solid #dddcd0;border-radius:12px;margin:18px 0}.academic-panel h3,.career-panel h3{font-size:20px;line-height:1.5;margin:10px 0 16px}.academic-panel h4{font-size:13px;margin:18px 0 9px}.learning-summary p{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:10px 0;color:#6d786e}.learning-summary b{color:#365348;white-space:nowrap}
.exam-score{border-top:1px solid #e6e4d8;margin-top:18px}.score-kind{font-size:11px;color:#7b847a;margin-top:-2px}.subject-scores{display:grid;grid-template-columns:1fr 1fr;gap:8px}.subject-scores>div{display:flex;flex-direction:column;background:#f0f2e9;padding:12px;border-radius:7px}.subject-scores span{font-size:11px;color:#687565}.subject-scores b{font-size:22px;line-height:1.6;color:#35574a}.subject-scores small,.gpa-summary small{font-size:12px;font-weight:400;color:#899083}.subject-scores em{font-size:10px;font-style:normal;color:#6e7d67}.score-total{display:flex;justify-content:space-between;font-size:13px}.gpa-summary{display:flex;flex-direction:column;border-top:1px solid #e6e4d8;padding-top:18px;margin-top:18px;gap:5px;font-size:11px;color:#76816e}.gpa-summary strong{font-size:31px;color:#35574a}.course-scores{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.course-scores span{display:flex;justify-content:space-between;font-size:11px;border-bottom:1px solid #f0efe6;padding:7px 0}.course-scores b{color:#416a56}.career-panel p{font-size:12px;line-height:1.9;color:#687565}.career-panel .pay-amount b{font-size:19px;color:#35574a}.pay-amount small{display:block;font-size:10px}.employment-base,.career-result,.exam-progress{border-top:1px solid #e9e7dd;padding-top:12px}.certificate-list{display:flex;flex-wrap:wrap;gap:6px}.certificate-list span{font-size:11px;padding:5px 9px;background:#e1e8d9;color:#3c614e;border-radius:4px}.ending-learning{display:grid;grid-template-columns:1fr 1fr;gap:24px}.report-grid aside>.academic-panel{margin-top:24px}
@media(max-width:700px){.wage-panel{padding:16px;gap:12px}.wage-panel h2{font-size:15px}.ending-learning{grid-template-columns:1fr;gap:0}.subject-scores{grid-template-columns:repeat(3,minmax(0,1fr))}.subject-scores>div{padding:10px}.subject-scores b{font-size:20px}}

.report-grid{align-items:start}

/* Compact entry screen and touch-friendly, fully visible setup controls. */
.header{min-height:56px;height:56px;padding:8px 32px}.brand{font-size:18px;line-height:1.2}.brand-icon{font-size:25px}.brand-sub{font-size:8px;margin-left:5px}.header nav{gap:10px}.header-resume{font-size:12px;color:var(--green)}
.hero-copy h1.game-title{margin-top:0}.intro-grid{padding-top:48px;padding-bottom:42px}.start-section{padding-top:30px}.school-photo{margin-bottom:8px}
.birth-year-field select#birthYear{box-sizing:border-box;display:block;min-height:56px;height:56px;font-family:var(--sans);font-size:21px;font-weight:600;line-height:1.25;letter-spacing:0;padding:10px 42px 10px 16px;text-overflow:ellipsis;vertical-align:middle}
.birth-year-field select#birthYear option{font-size:18px;font-weight:400}.setup-buttons{display:grid;gap:18px;margin:24px 0}.setup-choice{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}.setup-choice legend{font-size:12px;font-weight:700;padding:0;margin-bottom:9px}.setup-choice label{position:relative;cursor:pointer;min-width:0}.setup-choice input{position:absolute;width:1px;height:1px;opacity:0}.setup-choice label span{display:flex;justify-content:center;align-items:center;min-height:48px;border:1px solid var(--line);border-radius:6px;font-size:14px;color:var(--muted);background:#fffdf7}.setup-choice input:checked+span{border-color:var(--green);background:#e7ecde;color:var(--green);font-weight:700}.setup-choice input:focus-visible+span{outline:3px solid #b47a55;outline-offset:3px}
.childhood-receipt{margin:24px 0;padding:22px;background:#f4efe1;border:1px solid #e4dcc8;border-radius:6px}.childhood-receipt>span,.memory-detour>span{font-size:11px;letter-spacing:1px;color:var(--coral)}.childhood-receipt h3,.memory-detour h3{font-family:var(--serif);font-size:19px;margin:5px 0 10px}.childhood-receipt p,.memory-detour p{font-size:13px;line-height:1.9;color:#687262}.childhood-receipt ul{padding:0;margin:16px 0 0;list-style:none}.childhood-receipt li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px dashed #d5ccb7}.childhood-receipt li b{font-size:13px}.childhood-receipt li small{display:block;font-size:11px;color:var(--muted)}.childhood-receipt li strong{font-size:13px;white-space:nowrap;color:#9d6049}.childhood-receipt .saving-note{font-size:12px;margin-top:12px}.memory-detour{border-left:3px solid #bf8b5c;background:#f7efe3;padding:20px;margin:22px 0}.memory-detour>small{display:block;font-size:11px;color:#986643;margin-top:12px}
@media(max-width:700px){.header{height:48px;min-height:48px;padding:5px 20px}.brand{font-size:17px}.brand-icon{font-size:22px}.intro-grid{padding-top:32px;padding-bottom:28px;gap:24px}.birth-year-field select#birthYear{height:54px;min-height:54px;font-size:20px;line-height:1.25;padding:10px 40px 10px 14px}.start-section{padding-top:24px;padding-bottom:24px;gap:10px}.section-intro h2{font-size:25px;margin:0 0 18px}.setup-buttons{margin-top:20px}}
/* Annual life flow: one news page, one choice, one result. */
.header{min-height:52px;padding-top:10px;padding-bottom:10px}.header .brand{font-size:20px}.header .brand-sub{font-size:10px}
.hud-income{font-size:16px!important;margin-top:10px!important}.hud-income b{display:inline-block;margin-left:7px;color:#fff}.hud-identity{line-height:1.6!important;overflow-wrap:anywhere}
.life-details{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;border-top:1px solid #ffffff30;padding-top:15px;margin-top:20px}.life-details p{display:flex;gap:12px;justify-content:space-between;font-size:13px;line-height:1.6;margin:3px 0}.life-details span{color:#d0dacf;white-space:nowrap}.life-details b{text-align:right;font-weight:500}
.spouse-summary{padding:16px 18px;border:1px solid #ffffff35;margin-top:18px;border-radius:4px}.spouse-summary>span{display:block;font-size:14px;margin-top:6px}.spouse-summary p{font-size:13px;margin:8px 0 0}.spouse-summary small{opacity:.65}.hud .partner-note{color:#e6eddf;border-color:#ffffff40}
.daily-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.daily-button{min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 12px;background:var(--paper,#fcfaf4);border:1px solid #d9dccf;border-radius:4px;color:#284c42}.daily-button>span{font-size:25px}.daily-button b{font-size:15px}.daily-button small{font-size:12px;line-height:1.6;color:#7e8479}.daily-button.selected{background:#e1ead9;border-color:#527a62;box-shadow:inset 0 0 0 1px #527a62}.activity-hint{font-size:12px;color:#81877c;margin-bottom:18px}
.rank-panel{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;margin:22px 0}.rank-panel h3{margin:8px 0}.rank-panel>p{grid-column:1/-1;font-size:13px;border-top:1px solid #e0e0d5;margin:0;padding-top:14px}.rank-number{display:flex;flex-direction:column;text-align:right}.rank-number strong{font-size:36px;color:#284c42}.rank-number strong small{font-size:16px;margin-left:4px}.rank-number>span{font-size:13px;color:#81877c}
.report-grid{display:block;width:100%;min-width:0}.report-page{width:100%;max-width:940px;box-sizing:border-box}.report-page>.lead{max-width:none;overflow-wrap:anywhere}.report-paper{width:100%;min-width:0;box-sizing:border-box}.report-paper .impact-note{font-size:15px;line-height:1.9;color:#70796a;padding:12px 0;border-bottom:1px solid #e8e8dc}.report-paper .school-report small{font-size:16px;font-weight:400}.living-receipt{border-top:1px solid #d9ded2;margin:24px 0;padding-top:20px}.living-receipt>p{display:flex;align-items:start;justify-content:space-between;gap:16px;font-size:14px;line-height:1.7}.living-receipt p:first-of-type{display:block;color:#7d857a}.living-receipt small{display:block;font-size:11px;color:#8b8f83}.living-receipt b{white-space:nowrap}.report-paper .exam-score{margin-top:24px}
.front-page{scroll-margin-top:18px}.front-story.subject-photo figure{background:#e6e3d9}.front-story.subject-photo img{object-fit:contain;max-height:250px}.front-story figcaption{font-size:10px;color:#7f8278;padding:4px 6px}.auto-running{position:sticky;top:0;z-index:5;background:#e5ecdd;border:1px solid #bdcab8;padding:12px 16px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.auto-running>b{font-size:13px}.auto-running .secondary{width:auto;padding:9px 16px;font-size:13px}.auto-running p{flex-basis:100%;font-size:12px;margin:0}.game-page .game-columns{margin-top:24px}
@media(max-width:650px){.header{min-height:48px;padding:10px 20px}.header .brand{font-size:18px}.header .brand-sub{font-size:9px}.game-page,.report-page{padding-left:16px;padding-right:16px}.hud{padding:22px 18px}.hud-main{display:block}.hud .wallet{text-align:left;margin-top:20px}.hud .wallet strong{font-size:27px}.life-details{grid-template-columns:1fr;gap:6px}.report-paper{padding:24px 18px}.report-page>h1{font-size:29px;line-height:1.4}.report-page>.lead{font-size:15px;line-height:1.7;margin-bottom:24px}.report-deltas{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.report-deltas>div{min-width:0}.daily-buttons{gap:7px}.daily-button{padding:16px 7px}.daily-button b{font-size:13px}.daily-button small{font-size:11px}.rank-number strong{font-size:30px}.rank-panel{padding:20px 18px}.rank-panel h3{font-size:20px}.ledger p{gap:12px;font-size:13px}.ledger p span{max-width:63%}.ledger b{white-space:nowrap}.subject-scores{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-panel{padding:20px 14px}.front-story.subject-photo img{height:220px}.hud-year{font-size:44px}.hud-year b{font-size:25px}.end-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.end-facts b{overflow-wrap:anywhere}}
body:has(.auto-running) .front-page{scroll-margin-top:104px}.auto-running{margin:18px 0;box-shadow:0 4px 16px #29473e12}.auto-running>p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}
#auto-controls[hidden]{display:none}#auto-controls{position:fixed;z-index:50;top:8px;left:16px;right:16px;max-width:600px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;border:1px solid #9db296;border-radius:6px;background:#e7eedf;box-shadow:0 6px 22px #203e3026;color:#284c42}#auto-controls b{font-size:13px}#auto-controls span{display:block;font-size:12px;margin-top:4px}#auto-controls button{background:#284c42;color:#fff;padding:10px 14px;border:0;border-radius:4px;font-size:13px;white-space:nowrap}body:has(#auto-controls:not([hidden])) .front-page{scroll-margin-top:96px}
/* The same grade, a concrete family history, and the face at the end. */
.life-details .parent-age{color:#eef2e7;white-space:normal;font-size:12px}.life-details b{overflow-wrap:anywhere}.neighborhood-photo{width:100%;aspect-ratio:3/2;object-fit:cover}.portrait{position:relative;overflow:hidden}.portrait>img,.portrait>video{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.portrait.selfie-live>img{display:none}.portrait>video{transform:scaleX(-1)}.selfie-controls{font-size:12px;color:var(--muted);margin:-14px 0 20px}.selfie-controls .text-button{font-size:12px;margin:8px 0}.selfie-optin{display:flex;align-items:flex-start;gap:11px;padding:16px;margin:18px 0;background:#e9ecdf;border-radius:4px;font-weight:400}.selfie-optin input{width:19px;height:19px;flex-shrink:0;accent-color:#284c42;margin:4px 0}.selfie-optin>span{display:block;margin:0;color:#4f6456}.selfie-optin b{font-size:13px}.selfie-optin small{display:block;font-size:11px;line-height:1.8;margin-top:5px}.memory-list p{align-items:flex-start;line-height:1.9}.memory-list p>b{flex-shrink:0}.memory-list p{overflow-wrap:anywhere}footer a{overflow-wrap:anywhere}footer{gap:10px;flex-wrap:wrap}.age-focus{grid-template-columns:repeat(3,minmax(0,1fr))}.rank-panel>p{line-height:1.7}
@media(max-width:650px){.life-details p{align-items:flex-start}.life-details p>b{min-width:0;max-width:none;width:100%}.parent-age{font-size:12px}.focus-option{min-width:0}.focus-option b{font-size:14px}.age-focus .focus-option{padding:16px 6px}.rank-panel{grid-template-columns:1fr auto;gap:8px}.rank-number>span{font-size:11px}.rank-panel>div:first-child{min-width:0}.rank-panel h3{font-size:19px}.rank-panel>p{font-size:12px}.memory-list p{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;font-size:14px}.portrait{margin-left:0;margin-right:0}footer{padding-top:18px;padding-bottom:18px;font-size:10px;justify-content:flex-start}}

.life-details .parent-summary{display:flex;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:2px 10px}.life-details .parent-job{color:#fff;white-space:normal}.life-details .parent-age{white-space:nowrap}

.health-story{background:#edeadd;border:1px solid #dcd8c9;padding:20px;margin:22px 0;border-radius:5px}.health-story>span{font-size:11px;color:#81735d}.health-story h3{font-size:19px;line-height:1.6;margin:8px 0}.health-story>p{font-size:14px;line-height:1.9;color:#6c7467}
.front-story .news-memory{border-left:2px solid #a6b7a2;padding-left:14px;margin-top:18px;font-size:14px;line-height:1.85;color:#53695c}

/* v8: one life, one ending; compact, full-width mobile scenes. */
.header .brand{font-family:var(--serif,serif);font-size:clamp(22px,4vw,30px);line-height:1.2}.hero-copy .game-subtitle{font-size:clamp(32px,4.8vw,62px);line-height:1.6;font-weight:500;letter-spacing:-.045em;margin:0 0 24px}.hero-art.school-photo{appearance:none;border:0;text-align:left;color:inherit;font:inherit;cursor:pointer;background:#fffcf2}.hero-art.school-photo:focus-visible{outline:3px solid #33594d;outline-offset:8px}.start-btn{justify-content:flex-end;text-align:right}.negative-wealth{color:#ffd2bd!important}.life-scene{margin:30px 0;border:1px solid #d5d9cc;background:#f8f5ed;overflow:hidden;border-radius:4px}.life-scene img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.life-scene figcaption{padding:22px}.life-scene h3{font-family:var(--serif,serif);font-size:clamp(24px,4vw,32px);line-height:1.5;margin:8px 0 16px}.life-scene p{font-size:16px;line-height:1.9}.life-scene figcaption>span{font-size:12px;letter-spacing:.08em;color:#8a7160}.funeral-scene img{filter:blur(2px) saturate(.5)}.drawer-scene{display:grid;grid-template-columns:55px minmax(0,1fr);gap:16px;border-bottom:1px solid #dbdbce;padding:22px 0}.drawer-scene>b{color:#a26f5c;font-size:20px}.memory-list .drawer-scene p{display:block;border:0;padding:0;margin:0 0 12px;line-height:1.9;font-size:15px}.memory-list .drawer-scene p:last-child{margin-bottom:0}.rebirth-btn{margin-top:28px}.ending-side .secondary{margin-top:12px}footer{justify-content:flex-end;text-align:right;gap:0;font-size:11px;line-height:1.8}footer a{color:inherit}footer>span{max-width:100%}.life-details .parent-summary{min-width:0;flex-wrap:wrap}.health-breakdown{font-size:13px;color:#7f857b}
@media(max-width:600px){.hero-copy .game-subtitle{font-size:36px;line-height:1.6}.hero-copy{padding-top:12px}.header{min-height:60px}.life-scene figcaption{padding:18px}.life-scene{margin-left:0;margin-right:0}.drawer-scene{gap:12px;grid-template-columns:48px minmax(0,1fr)}footer{padding:24px 12px;font-size:9px;white-space:normal}.report-page .report-grid,.report-paper{width:100%;min-width:0}.report-page>.lead{width:100%;min-width:0}}
.music-toggle{margin-left:auto;display:inline-flex;align-items:center;gap:5px;border:1px solid #d3d9cc;border-radius:20px;padding:6px 10px;background:transparent;color:#53685d;font-size:11px;white-space:nowrap;min-height:32px}.music-toggle span:first-child{font-size:16px}.investment-report{margin:24px 0;padding:20px;background:#eef1e6;border:1px solid #cbd5c6;border-radius:12px}.investment-report h3{margin:0 0 15px;font-size:18px}.investment-card{display:flex;align-items:center;gap:14px;border-top:1px solid #cfd8c9;padding:16px 0}.investment-card>div{flex:1;min-width:0}.investment-card p{font-size:14px;line-height:1.75;margin:6px 0 0;word-break:keep-all;overflow-wrap:anywhere}.sell-button{flex-shrink:0;align-self:center;background:#294f43;color:#fff;border:0;border-radius:8px;padding:11px 13px;min-height:44px;font-size:13px;font-weight:700}.sell-button:disabled{background:#d3ddce;color:#50634e;cursor:default}.sale-confirmation{color:#295342}.investment-cash{font-size:13px;border-top:1px solid #cfd8c9;padding-top:14px;margin-bottom:0}.investment-cash b{white-space:nowrap}@media(max-width:480px){.investment-report{padding:16px}.investment-card{align-items:flex-start;gap:10px}.sell-button{font-size:12px;padding:10px}.investment-card.is-sold{flex-wrap:wrap}.investment-card.is-sold>div{flex-basis:100%}.music-toggle{font-size:10px;padding:5px 8px}}
.start-btn{justify-content:center!important;text-align:center!important}
.journey-loading{min-height:70vh;max-width:600px;padding:72px 28px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.journey-loading h1{font-size:clamp(28px,6vw,42px);margin:16px 0}.journey-loading>p{color:var(--muted);font-size:14px}.journey-year{font-family:var(--serif);font-size:64px;line-height:1.5;font-variant-numeric:tabular-nums;margin:24px 0}.journey-progress{width:min(100%,320px);height:5px;background:#dce2d4;border-radius:4px;overflow:hidden}.journey-progress i{display:block;background:var(--green);height:100%;width:0;transition:width .25s}.journey-loading #journey-progress-text{font-size:12px;margin-top:12px}.story-drawing{width:62px;height:62px;color:#668571;display:block}.journey-sketch .story-drawing{width:84px;height:84px}.event-sketch{float:right;margin:12px 0 12px 16px;transform:rotate(6deg)}.event-sketch .story-drawing{width:72px;height:72px}.activity-sketch{float:right;margin-left:14px}.activity-sketch .story-drawing{width:46px;height:46px}.birth-art .childhood-home-photo{aspect-ratio:3/2;object-fit:cover}.home-photo-note{font-size:13px;line-height:1.9;padding:20px 6px;color:#6b7565}.birth-art .birth-year{pointer-events:none}.ending-comfort{background:#e7ebdf;padding:30px 27px;border:1px solid #cdd8c5;margin-bottom:38px}.ending-comfort>span{display:block;font-size:12px;letter-spacing:.06em;color:#738270;margin:14px 0}.ending-comfort h2{font-size:27px;line-height:1.6;margin-bottom:18px}.ending-comfort p{font-size:16px;line-height:2;color:#52644f;margin-bottom:20px}.ending-comfort>b{display:block;font-weight:500;font-size:14px;line-height:1.9;color:#315744;border-top:1px solid #cbd4c1;padding-top:18px}.portrait.mirror-portrait{height:auto;aspect-ratio:1;background:#e4dfd1}.portrait.mirror-portrait>img,.portrait.mirror-portrait>video{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}.life-scene.illustrated-scene{display:flex;gap:6px;padding:10px;background:#eff0e5;border-color:#d7dfcd}.illustrated-scene>.story-drawing{flex-shrink:0;margin:24px 0 0 12px;width:58px;height:58px}.illustrated-scene figcaption{padding:20px 16px}.illustrated-scene h3{font-size:23px}.illustrated-scene p{font-size:15px}
@media(max-width:650px){.journey-loading{padding:45px 24px}.journey-year{font-size:56px}.ending-comfort{padding:24px 21px}.ending-comfort h2{font-size:25px}.event-sketch .story-drawing{width:52px;height:52px}.life-scene.illustrated-scene{display:block;padding:17px}.illustrated-scene>.story-drawing{margin:0;width:47px;height:47px}.illustrated-scene figcaption{padding:10px 0 0}.illustrated-scene h3{font-size:22px}.home-photo-note{font-size:12px}}

/* Shared family finances remain visible side by side, including on narrow screens. */
.hud-main{display:block}.hud-assets{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;width:100%;margin:23px 0 8px}.hud-assets .wallet{text-align:left;min-width:0}.hud-assets .parent-wallet{text-align:right}.hud-assets .wallet strong{font-size:clamp(25px,3.2vw,34px);line-height:1.55;overflow-wrap:anywhere}.hud-assets .wallet small{line-height:1.7}.hud-assets .wallet>span{font-size:11px}.parent-home-row{border-top:1px solid #ffffff25;padding-top:14px}.parent-home-row b,.pet-row b{font-size:12px;line-height:1.8}.stress-relief{display:block;color:#456d50;font-size:13px;border-top:1px solid #ccd6c4;padding-top:12px;margin-top:16px}.hud-person{width:100%}
@media(max-width:480px){.hud-assets{gap:14px;margin:21px 0 5px}.hud-assets .wallet strong{font-size:25px;letter-spacing:-.6px}.hud-assets .wallet small{font-size:10px}.hud-assets .wallet>span{font-size:11px}.parent-home-row b,.pet-row b{font-size:11px}.life-details .parent-summary{gap:1px 8px}}

/* Keep the year inside the photograph, independently of the caption height. */
.birth-photo{position:relative;isolation:isolate;overflow:hidden}
.birth-photo .birth-year{left:14px;bottom:14px;z-index:1;display:block;max-width:calc(100% - 28px);padding:6px 14px 8px;border-radius:5px;background:rgba(0,0,0,.62);color:#fff;font-size:clamp(25px,5vw,35px);line-height:1.2;text-shadow:none;pointer-events:none}
/* v14: compact controls, touch targets and safe modal flows */
button,select,input{min-height:44px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b36329;outline-offset:3px}.admin-entry{font:inherit;font-size:12px;padding:4px 8px;border:0;background:transparent;color:inherit;min-height:44px}.life-controls{margin:12px 0;background:#f3f0e8;border:1px solid #c4d0c1;border-radius:12px;padding:14px}.life-controls summary,.ledger summary{cursor:pointer;font-weight:700;min-height:32px}.control-fields{display:grid;gap:12px;padding-top:16px}.control-fields label{display:grid;gap:6px}.control-fields p{font-size:14px;margin:0}.stat-source{font-size:12px;color:#52665b;line-height:1.6}.life-dialog{border:1px solid #b8c5b5;border-radius:18px;padding:22px;width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;background:#f7f4ec;color:#263f36;box-shadow:0 24px 100px #10251d55}.life-dialog::backdrop{background:#10251db3}.dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:start}.dialog-head h2{font-size:23px;margin:0 0 18px}.dialog-head button{min-width:44px;border:0;background:transparent;font-size:26px}.life-dialog p{line-height:1.7}.life-dialog label{display:grid;gap:8px;margin:12px 0}.life-dialog input:not([type=checkbox]){max-width:100%;width:100%;padding:10px;font-size:16px;box-sizing:border-box}.dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.dialog-actions button,.control-fields button,.life-dialog button:not(.dialog-head button){padding:10px 16px;border:1px solid #87998a;border-radius:9px;background:#e5e9df;color:#244237}.dialog-actions .primary{background:#294e3f!important;color:white!important}.camera-object,#photo-preview,#photo-video,#share-preview{display:block;width:100%;max-height:50dvh;object-fit:contain;border-radius:10px;background:#e7e5db}.camera-object{max-height:32dvh}#photo-video{transform:scaleX(-1)}[hidden]{display:none!important}.face-option{display:flex!important;align-items:center;gap:10px}.face-option input{width:20px;height:20px;min-height:20px}.share-url{overflow-wrap:anywhere;font-size:13px}.life-dialog table{width:100%;border-collapse:collapse;font-size:13px}.life-dialog th,.life-dialog td{border-bottom:1px solid #c8d0c3;text-align:left;padding:8px;overflow-wrap:anywhere}.table-scroll{overflow:auto}.focus-grid{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}.ledger{padding:16px}.life-dialog img:not([src]){display:none}.mirror-portrait video{width:100%;height:100%;object-fit:cover}main{padding-bottom:max(22px,env(safe-area-inset-bottom))}@media(max-width:600px){.life-dialog{padding:16px}.game-page,.report-page{overflow-wrap:anywhere}.dialog-actions button{flex:1 1 120px}.choice-card{min-height:52px}.selfie-controls{display:block}.focus-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.header .music-toggle{min-height:44px}.life-controls summary,.ledger summary{min-height:44px;display:flex;align-items:center}.focus-options{grid-template-columns:repeat(auto-fit,minmax(95px,1fr))}.life-dialog{scroll-padding-bottom:24px}

/* v15: readable text at mobile text zoom and keyboard-safe dialogs. */
.life-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)}
.offer-comparison{padding:12px;background:#edf0e6;border:1px solid #c4d0c1;border-radius:9px;margin-bottom:12px}.offer-comparison p{margin:3px 0;font-size:14px}
.choice-copy small,.choice-hint,.activity-note,.focus-option small,.life-controls small{font-size:12px!important;line-height:1.65}.chance small{font-size:11px}
.news-panel a,.news-foot,.news-category{font-size:12px}.ledger p,.report-deltas small,.hud-assets .wallet small{font-size:12px}.impact-note{font-size:14px;line-height:1.8;color:#675643}
.news-panel article p{font-size:14px;color:#52624f}.family-money,.home-mini p{font-size:13px}.stat-source{overflow-wrap:anywhere}
.life-dialog:focus{outline:none}.dialog-actions button{white-space:normal;overflow-wrap:anywhere}.life-dialog .table-scroll{max-width:100%}
@media(max-width:420px){.report-paper{padding:18px}.report-deltas{grid-template-columns:repeat(3,minmax(0,1fr))}.header{gap:8px;padding-inline:14px}.header .brand{font-size:24px}.music-toggle span{white-space:normal}.choice{padding:14px 10px;gap:9px}.choice-letter{flex-shrink:0}.choice-copy{min-width:0}.end-facts{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* v16: readable finances, personal relationships and explicit camera controls */
.ledger h3,.living-breakdown>h3{font-size:1.1rem;margin:0 0 16px}.living-breakdown{margin:24px 0;padding-top:24px;border-top:1px solid #c8cabc}.rebirth-btn{justify-content:center!important;text-align:center!important}
.romance-panel{margin:28px 0;padding:24px;background:#f4ede4;border:1px solid #d7cebf;border-radius:18px}.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.contact-card{background:#fffaf3;border:1px solid #d7cebf;border-radius:14px;overflow:hidden}.contact-card>img{width:100%;height:260px;object-fit:cover;object-position:50% 25%}.contact-body{padding:16px}.contact-body h3{margin:0 0 8px}.contact-body h3 small{font-weight:400;font-size:.8em}.contact-body p{font-size:.9rem;line-height:1.65}.bond-track{height:6px;background:#e3e5db;border-radius:9px;overflow:hidden}.bond-track i{display:block;height:100%;background:#587565}.contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.contact-actions button,.plan-buttons button{min-height:44px;border:1px solid #c0c8bb;border-radius:9px;background:#fff;padding:9px 10px;font-size:.86rem;color:#284a3d}.contact-actions button small{display:block;font-size:.75rem}.contact-actions button:disabled{opacity:.45}.contact-actions .confess-button{grid-column:1/-1;background:#35594a;color:#fff}.relationship-help{font-size:.9rem;color:#4c5e54}.relationship-result{padding:14px;background:#e2eadd;border-radius:9px}.family-plan{padding:18px 4px}.plan-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.plan-buttons [aria-pressed=true]{background:#35594a;color:#fff}.family-plan small{display:block;font-size:.82rem;line-height:1.6}.choice-portrait{width:96px;height:120px;border-radius:8px;object-fit:cover;flex-shrink:0}.choice:has(.choice-portrait){align-items:center;gap:14px}.choice:has(.choice-portrait) .choice-letter{display:none}.ending-spouse{display:flex;gap:18px;align-items:center;margin:20px 30px}.ending-spouse img{width:104px;height:130px;object-fit:cover;border-radius:12px}.ending-spouse small{display:block;font-size:.8rem;margin-top:5px}
.camera-stage{position:relative;background:#1c2722;border-radius:16px;overflow:hidden;min-height:300px}.camera-stage video,.camera-stage img{display:block;width:100%;height:min(56vh,520px);object-fit:cover;margin:0!important}.camera-stage [hidden]{display:none!important}.camera-bottom{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center}.camera-shutter{display:grid;place-items:center;width:76px;height:76px;min-width:76px;border-radius:50%;background:#fff;color:#244537;border:5px solid #cbd5ce;box-shadow:0 2px 10px #0006}.camera-shutter:disabled{opacity:.5}.dialog-actions{flex-wrap:wrap}.life-dialog{max-height:92dvh;overflow:auto;padding-bottom:max(24px,env(safe-area-inset-bottom))}
@media(max-width:600px){.romance-panel{padding:16px 12px}.contact-grid{grid-template-columns:1fr}.contact-card{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:start}.contact-card>img{width:100px;height:142px}.contact-body{padding:12px}.contact-actions{grid-template-columns:1fr 1fr}.choice-portrait{width:75px;height:100px}.choice-copy{min-width:0}.choice-copy small{line-height:1.5}.ending-spouse{margin:16px}.camera-shutter{width:68px;height:68px;min-width:68px}.ledger p{gap:12px}.ledger p span{min-width:0}.ledger b{white-space:nowrap}.family-plan{padding:16px 0}.life-dialog{width:calc(100% - 20px);max-width:560px}}

.life-dialog .camera-shutter{border-radius:50%;display:grid;place-items:center;padding:0;width:76px;height:76px;min-width:76px;min-height:76px}.life-dialog .camera-bottom{display:flex;justify-content:center}

/* v16.1: compact footer metadata, recognizable speaker, rear-camera preview. */
.header .music-toggle{width:44px;height:44px;min-width:44px;padding:9px;justify-content:center;border:0;background:transparent;border-radius:50%;flex-shrink:0}
.music-toggle svg{display:block;flex-shrink:0}.music-toggle[aria-busy=true]{opacity:.55}
#photo-video{transform:none}
/* Readable metadata with wrapping on small screens. */
footer{font-size:12px;white-space:normal}
footer>span{flex-wrap:wrap;white-space:normal;justify-content:center}
.goal-status{font-size:13px;line-height:1.5}

/* v18: a compact newspaper and quieter, distinguishable stat tones. */
.news-panel.front-page{background:#f5efdf url('./assets/newspaper-paper-v18.svg') center/640px 800px;border:1px solid #d4cbb6;border-radius:2px;box-shadow:0 3px 0 -1px #e9e2d2,0 4px 0 #cfc5af;margin-top:20px;padding:22px 24px 18px;color:#35463d}
.front-page .newspaper-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;text-align:left;border-top:3px double #747766;border-bottom:3px double #747766;padding:9px 0;margin-bottom:16px}
.front-page .newspaper-title .newspaper-kicker{margin-bottom:0;font-family:var(--serif);font-size:27px;font-weight:800;letter-spacing:-1.4px;white-space:nowrap;color:#35463d}
.front-page .newspaper-title>b{font-family:var(--sans);font-size:12px;letter-spacing:0;font-weight:500}
.front-stories{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.front-story{min-width:0;margin:0;background:transparent}

.front-story figure img{height:170px;filter:saturate(.72);border:1px solid #d2cbb9}
.front-page .front-story h3{font-family:var(--serif);font-size:21px;line-height:1.45;letter-spacing:-.6px;margin:5px 0 7px}
.front-page .news-category{font-size:10px;color:#687064;line-height:1.5;display:block}
.front-page .news-copy{margin-top:8px}.front-page article p{font-size:13px;line-height:1.75;color:#586256}
.front-story .news-memory{margin-top:9px;padding-left:9px;font-size:12px;border-color:#a6aa92}
.game-columns aside>.auto-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;width:auto;margin:12px 0 0;padding:7px 12px;font-size:11px;line-height:1.4;border:1px solid #aebbac;border-radius:6px;background:#e7ecdf;color:#355447;text-decoration:none;font-weight:600}
.auto-btn:hover{background:#dce5d5}.auto-btn[aria-pressed=true]{background:#355447;color:white}
.stat-bonds{--stat-up:#466f69;--stat-down:#6f8581;--stat-bg:#e5eeea}
.stat-happiness{--stat-up:#87674f;--stat-down:#9c7f6c;--stat-bg:#f2e9df}
.stat-knowledge{--stat-up:#526b8a;--stat-down:#7b879c;--stat-bg:#e7ecf2}
.stat-health{--stat-up:#577249;--stat-down:#7f8d74;--stat-bg:#e8eee2}
.stat-talent{--stat-up:#7d6781;--stat-down:#948797;--stat-bg:#eee7ee}
.stat-career{--stat-up:#736b45;--stat-down:#908a72;--stat-bg:#eeece0}
.stat-change{display:inline-block;white-space:nowrap;font-weight:600}.stat-up{color:var(--stat-up)}.stat-down{color:var(--stat-down)}
.report-deltas>div{background:var(--stat-bg);border-bottom:2px solid var(--stat-up);border-radius:5px;padding:9px 4px}
.report-deltas .positive{color:var(--stat-up)}.report-deltas .negative{color:var(--stat-down)}
.nostalgia-memory{margin:18px 0;border:1px solid #d7cdb9;background:#f4ecdd;border-radius:5px;overflow:hidden}
.nostalgia-copy{padding:18px}.nostalgia-copy>span{font-size:10px;letter-spacing:.1em;color:#7b705b}.nostalgia-copy h3{font-family:var(--serif);font-size:22px;margin:4px 0 8px}.nostalgia-copy p{font-size:14px;line-height:1.85}.nostalgia-copy a{font-size:10px;color:#7a7566}.nostalgia-photo{margin:0}.nostalgia-photo img{width:100%;max-height:240px;object-fit:contain;background:#e2ddcf;display:block}.nostalgia-photo figcaption{font-size:10px;padding:6px 14px;color:#716c60}.nostalgia-photo a{font-size:inherit}
@media(max-width:650px){
 .header{padding-block:5px;min-height:50px}.game-page,.report-page{padding-inline:13px;padding-top:16px}
 .hud{padding:15px 14px 12px}.hud-assets{gap:10px;margin:13px 0 5px}.hud .wallet{margin-top:7px}.stats-grid{margin-top:14px;gap:10px}
 .game-page .game-columns{margin-top:16px;gap:12px}.focus-options{gap:6px;margin-top:10px}.focus-option{padding:9px 4px;gap:4px;min-height:64px}.focus-option small{line-height:1.4!important}
 .game-main>.activity-panel{margin:14px 0;padding:12px}.daily-button{padding:10px 7px}.activity-panel select{margin-top:8px}
 .event-card{margin-top:14px;padding:16px 13px 13px}.event-card h1{font-size:24px;line-height:1.45;margin-top:10px}.event-body{margin-top:10px;line-height:1.7}.event-card>.choice-hint{margin:12px 0 10px}.event-sketch{margin:4px 0 6px 9px}.event-sketch .story-drawing{width:40px;height:40px}
 .choices{margin-top:12px;gap:7px}.choice{padding:11px 10px;gap:9px;min-height:64px}.choice-copy>b{font-size:14px}.choice-copy small{margin-top:3px;line-height:1.5!important}
 .news-panel.front-page{margin-top:14px;padding:12px 13px}.front-page .newspaper-title{gap:8px;margin-bottom:11px;padding:7px 0}.front-page .newspaper-title .newspaper-kicker{font-size:23px}.front-page .newspaper-title>b{font-size:10px;text-align:right;max-width:125px}
 .front-stories{display:grid;grid-template-columns:1fr;gap:12px}
 .front-story.has-photo{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:start;gap:11px}.front-story.has-photo figure{grid-column:1;grid-row:1}.front-story.has-photo .news-copy{grid-column:2;margin:0}
 .front-story figure img,.front-story.subject-photo img{height:95px;min-height:0;max-height:95px;object-fit:cover}.front-story.subject-photo img{object-fit:contain}.front-story figcaption{font-size:8px;padding:3px 0;line-height:1.5}
 .front-page .front-story h3{font-size:17px;margin:3px 0 5px;line-height:1.45}.front-page article p{font-size:12px;line-height:1.65}.front-story .news-memory{font-size:11px;margin-top:7px;padding-left:7px}.front-page .news-category{font-size:9px}
 .game-columns aside>.auto-btn{margin-top:2px;min-height:36px;padding:7px 10px;font-size:10px}.report-paper{padding:16px 13px}.report-page>.lead{margin-bottom:16px}.report-deltas{gap:6px;margin-block:14px}.report-deltas>div{padding:8px 3px}.nostalgia-copy{padding:14px}.nostalgia-copy h3{font-size:20px}.nostalgia-copy p{font-size:13px}.living-breakdown{margin:16px 0;padding-top:16px}
}

.memory-rating{display:block;font-size:10px;line-height:1.6;color:#706957;margin:8px 0 3px}

/* v19: two decisions, plain paper, and direction rather than category colours. */
.news-panel.front-page{background:#f5efdf;background-image:none;box-shadow:none}
.front-story figure img{filter:none}
.focus-section>.focus-options{grid-template-columns:repeat(4,minmax(0,1fr))}
.focus-help,.focus-section .focus-help{font-size:12px;line-height:1.7;color:#687467;margin:10px 0}
.other-focus{margin-top:10px}.other-focus summary,.optional-actions summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px;color:#526557}
.other-focus summary::after,.optional-actions summary::after{content:'＋';margin-left:auto}.other-focus[open]>summary::after,.optional-actions[open]>summary::after{content:'−'}
.optional-actions{padding:10px 14px;background:#eeeee5;margin:16px 0;border:1px solid #d7ded0;border-radius:6px}
.optional-actions p{font-size:12px;line-height:1.8}.optional-actions .daily-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
.stat-change.stat-up{color:#216347}.stat-change.stat-down{color:#ae3e36}
.report-deltas>div{background:#f6f3eb;border:1px solid #d9d9cc;border-bottom:3px solid #858b80;color:#66705f;display:flex;align-items:center;flex-direction:column;gap:4px}
.report-deltas>.stat-up{border-bottom-color:#216347}.report-deltas>.stat-down{border-bottom-color:#ae3e36}
.report-deltas>.stat-up b,.report-deltas>.stat-up em{color:#216347}.report-deltas>.stat-down b,.report-deltas>.stat-down em{color:#ae3e36}
.report-deltas>.stat-same b,.report-deltas>.stat-same em{color:#657060}.report-deltas>div>b{margin:0;line-height:1.4}.report-deltas em{font-size:11px;font-style:normal;font-weight:600}.report-deltas>div small{margin:0}
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.state-guide{font-size:12px;line-height:1.7;margin-top:15px;border-top:1px solid #ffffff35;padding-top:8px}.state-guide>summary{cursor:pointer;min-height:32px}.state-guide p{font-size:12px}.state-guide dl{margin:10px 0}.state-guide dl>div{display:grid;grid-template-columns:95px 1fr;gap:8px;padding:6px 0}.state-guide dt{font-weight:600}.state-guide dd{margin:0;color:inherit;opacity:.85}.state-guide h3{font-size:13px}
.ledger h3{font-size:15px;line-height:1.7;margin:0 0 14px}
.source-note,.stat-source,.nostalgia-copy .source-note,.nostalgia-photo figcaption{display:block;font-size:9px;line-height:1.6;font-weight:400;color:#727466;text-decoration:none}
.front-story .photo-credit{font-size:8px;line-height:1.5;color:#6d7165;overflow-wrap:anywhere}
.credits-entry{font-size:10px;border:0;background:transparent;color:inherit;padding:4px 8px;min-height:36px}
.media-credits{border:1px solid #b8c5b5;border-radius:12px;padding:22px;width:min(700px,calc(100vw - 24px));max-height:85dvh;overflow:auto;background:#f7f4ec;color:#263f36}.media-credits::backdrop{background:#10251da6}.media-credits article{border-top:1px solid #d5d9cc;padding:12px 0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.media-credits h2{font-size:22px}.media-credits h3{font-size:14px;margin:0}.media-credits p{font-size:12px}.media-credits a{font-size:12px}.media-credits .close-credits{float:right;padding:8px;border:1px solid #8a9e89;border-radius:6px;background:transparent;color:inherit}
@media(max-width:650px){.focus-section>.focus-options{grid-template-columns:repeat(2,minmax(0,1fr))}.focus-option{min-height:72px}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.source-note,.stat-source,.nostalgia-copy .source-note,.nostalgia-photo figcaption{font-size:9px}.state-guide dl>div{grid-template-columns:80px 1fr}}

.generated-camera{margin:0 0 16px}.generated-camera .source-note{margin-top:5px}.generated-camera .camera-object{max-height:32dvh;object-fit:contain;background:#eee8dd}

.economic-source-note{font-family:var(--font-sans,sans-serif);font-size:12px;line-height:1.65;color:#697168;margin:14px 0 22px}.media-credits article small{display:block;margin-top:4px}

/* v22: readable records, uncropped photographs and compact choices at every width. */
.hud .life-details,.family-card .parents{grid-template-columns:minmax(0,1fr)}
.progress-label{font-size:14px;line-height:1.6;color:#e0e8da;margin-top:10px;gap:12px}
.progress-line{height:5px}
.spouse-summary{display:grid;grid-template-columns:100px minmax(0,1fr);gap:18px;align-items:start}
.spouse-summary>img{width:100%;height:auto;max-height:170px;object-fit:contain;border-radius:5px}
.spouse-summary:not(:has(>img)){grid-template-columns:1fr}
.spouse-copy>span{display:block;margin-top:6px;font-size:14px}
.focus-section>.compact-focus{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.age-focus.compact-focus .focus-option{min-height:82px;padding:9px 7px;gap:3px}
.compact-focus .focus-option>span{font-size:20px}
.compact-focus .focus-option>b{font-size:14px}
.compact-focus .focus-option>small{font-size:11px!important;line-height:1.45!important}
.contact-grid{grid-template-columns:1fr;gap:16px}
.contact-card{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:start}
.contact-card>img{width:100%;height:auto;max-height:340px;object-fit:contain;object-position:top;background:#eee9df}
.contact-body{min-width:0;padding:18px}
.bond-score{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px}
.bond-score>span{margin-left:auto;font-size:12px;color:#687465}
.contact-action{min-width:0}
.contact-action button{width:100%;height:100%;min-height:48px}
.contact-action:has(.relationship-result){grid-column:1/-1}
.contact-action:has(.relationship-result) button{height:auto}
.contact-action.confession{grid-column:1/-1}
.contact-action .relationship-result{margin:8px 0 0;padding:12px 14px;font-size:14px;line-height:1.75}
.plan-options{display:flex;flex-wrap:wrap;gap:10px 18px}
.plan-options label{display:flex;gap:7px;align-items:center;padding:8px 0;cursor:pointer}
.plan-options input{accent-color:#35594a;width:18px;height:18px}
.family-plan fieldset{border:0;padding:0;margin:18px 0}
.family-plan legend{font-weight:600;margin-bottom:4px}
.family-plan .primary{margin-top:20px}
.children-summary{padding:18px 22px;background:#efeee5;margin:20px 0;border:1px solid var(--line)}
.children-summary h3{font-size:16px;margin-top:0}
.children-summary p{font-size:14px;line-height:1.8}
.life-scene.has-image{display:grid;grid-template-columns:minmax(180px,32%) minmax(0,1fr);align-items:start}
.life-scene.has-image>img{width:100%;height:auto;max-height:420px;aspect-ratio:auto;object-fit:contain;align-self:start}
.life-scene .scene-prose{white-space:pre-line}
.funeral-scene .scene-prose{line-height:2.05}
.funeral-scene{scroll-margin-top:25px}
.front-story.has-photo,.front-story.has-photo:only-child{display:grid;grid-template-columns:minmax(90px,30%) minmax(0,1fr);gap:14px;align-items:start}
.front-story.has-photo figure{grid-column:1;grid-row:1}
.front-story.has-photo .news-copy{grid-column:2}
.front-story figure img,.front-story.has-photo:only-child img{height:auto;min-height:0;max-height:240px;object-fit:contain}
.front-story .news-copy>p{font-size:14px;line-height:1.85;margin:8px 0}
.front-story .news-source{display:block;font-size:9px;line-height:1.5;color:#74776b;margin-top:8px}
.front-story.illustrative-photo figure img{max-height:115px;object-fit:contain}
@media(max-width:700px){
 .progress-label{font-size:13px}
 .focus-section>.compact-focus{grid-template-columns:repeat(2,minmax(0,1fr))}
 .age-focus.compact-focus .focus-option{min-height:72px;padding:8px 5px}
 .contact-card{grid-template-columns:100px minmax(0,1fr)}
 .contact-card>img{height:auto;max-height:none;object-fit:contain}
 .contact-body{padding:12px}
 .contact-actions{grid-template-columns:1fr 1fr}
 .contact-actions button{font-size:13px;padding:8px 5px}
 .life-scene.has-image{display:block}
 .life-scene.has-image>img{width:100%;height:auto;max-height:360px;object-fit:contain}
 .front-story.has-photo,.front-story.has-photo:only-child{grid-template-columns:86px minmax(0,1fr);gap:11px}
 .front-story figure img,.front-story.has-photo:only-child img{height:auto;max-height:120px;object-fit:contain}
 .front-story .news-copy>p{font-size:13px;line-height:1.8}
 .spouse-summary{grid-template-columns:80px minmax(0,1fr);gap:13px;padding:14px}
 .spouse-copy>span,.spouse-summary p{font-size:12px}
}
.spouse-daily{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;align-items:start;margin:24px 0;padding:18px;background:#efeee5}
.spouse-daily>img{width:100%;height:auto;object-fit:contain;border-radius:5px}
.spouse-daily h3{font-size:17px;margin:0 0 10px}
.spouse-daily p{font-size:15px;line-height:1.9;margin:0 0 10px}
.nostalgia-memory .memory-context{font-size:13px;line-height:1.75;color:#6e7566;margin-bottom:14px}
@media(min-width:701px){.nostalgia-memory:has(.nostalgia-photo){display:grid;grid-template-columns:minmax(150px,30%) minmax(0,1fr);align-items:start}.nostalgia-photo img{height:auto;max-height:280px;object-fit:contain}}
@media(max-width:700px){.spouse-daily{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:14px}.spouse-daily p{font-size:14px}}

.birth-family .parents,.inline-family .parents{display:grid;grid-template-columns:1fr;gap:12px}

/* v23: a shared column start for both parents, and a separate save action. */
.hud .life-details .parent-life-row{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:start;gap:12px}
.hud .parent-summary{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:18px;text-align:left;align-items:start;font-weight:500}
.hud .parent-job,.hud .parent-age{display:block;line-height:1.7;margin:0}
.hud .parent-age{text-align:right;font-variant-numeric:tabular-nums}
.birth-family .parents p,.inline-family .parents p{display:grid;grid-template-columns:60px minmax(0,1fr);gap:12px;align-items:baseline;margin:0}
.birth-family .parents b,.inline-family .parents b{display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:16px;align-items:baseline}
.parents .parent-school{margin:0;text-align:right}
.life-card-column{min-width:0;align-self:start}
.face-option[hidden]{display:none!important}
.save-life-button{margin-top:16px;justify-content:center;font-size:16px;min-height:54px}
.ending .life-motto{font-size:16px;line-height:1.95;text-align:left}
.ending .life-motto b{display:block;margin-top:12px;font-size:18px;line-height:1.85}
.scene-photo-pair{display:grid;gap:8px;background:#eee9df;align-self:start}
.scene-photo-pair img{display:block;width:100%;height:auto;object-fit:contain}
.end-facts>.parent-end-fact{grid-column:1/-1;display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:baseline}
.parent-end-fact b{font-size:14px!important;line-height:1.7;text-align:left}
@media(max-width:700px){
 .hud .life-details .parent-life-row{grid-template-columns:48px minmax(0,1fr);gap:12px}
 .hud .parent-summary{grid-template-columns:1fr;gap:2px}
 .hud .parent-age{text-align:right;font-size:12px;color:#c6d7cc}
 .birth-family .parents b,.inline-family .parents b{grid-template-columns:1fr;gap:2px}
 .parents .parent-school{text-align:left}
 .scene-photo-pair{grid-template-columns:1fr 1fr}
 .scene-photo-pair:has(img:only-child){grid-template-columns:1fr}
 .ending .life-motto{font-size:15px}.ending .life-motto b{font-size:17px}
}

/* v24: portraits are independent controls beside the choices, with no crop. */
.person-choice-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;align-items:stretch}
.person-choice-row .choice{height:100%;margin:0;min-width:0}
.portrait-button{display:block;align-self:start;width:100%;padding:0;border:0;background:#e9e4da;cursor:zoom-in;border-radius:8px;overflow:hidden;color:var(--ink)}
.portrait-button img{display:block;width:100%;height:auto!important;max-height:none;object-fit:contain!important}
.portrait-button>span{display:block;text-align:center;font-size:11px;padding:7px}
.portrait-button:focus-visible{outline:3px solid #a87843;outline-offset:3px}
.contact-grid{grid-template-columns:1fr}
.contact-card{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:start}
.contact-body{min-width:0;padding:20px}
.initial-affinity{margin-top:10px;color:#325b4b!important;font-size:14px!important}
.portrait-enlarged{margin:14px 0 0;text-align:center}
.portrait-enlarged img{width:100%;height:auto;max-height:72vh;object-fit:contain}
.portrait-enlarged figcaption,.enlistment-photo figcaption{font-size:11px;color:#687465;line-height:1.6;margin-top:8px}
.hud .life-details .parent-life-row{grid-column:1/-1}
.hud .life-details .parent-last-row{border-bottom:1px solid rgba(235,241,228,.28);padding-bottom:18px;margin-bottom:6px}
.enlistment-photo{margin:24px 0}
.enlistment-photo img{display:block;width:min(100%,640px);height:auto;object-fit:contain}
@media(max-width:700px){
 .person-choice-row{grid-template-columns:92px minmax(0,1fr);gap:10px}
 .person-choice-row .choice{padding:14px 10px;gap:8px}
 .person-choice-row .choice-letter{display:none}
 .contact-card{grid-template-columns:100px minmax(0,1fr)}
 .contact-body{padding:12px}
 .initial-affinity{font-size:12px!important}
}

/* v25: consistent footer type, with comfortable touch targets at both sizes. */
footer.site-footer{justify-content:center;font-size:14px;line-height:1.6;padding:20px 16px 28px;white-space:normal}
.site-footer .footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px 14px;max-width:100%}
.site-footer .footer-links>*{font:inherit;letter-spacing:0;white-space:nowrap}
.site-footer a,.site-footer button{display:inline-flex;align-items:center;min-height:44px;padding:0;color:inherit}
@media(max-width:650px){footer.site-footer{font-size:11px;padding:16px 13px 24px}.site-footer .footer-links{gap:0 10px}}

/* v26 — readable type, quiet rules, dedicated administration */
#app{min-height:100dvh;display:flex;flex-direction:column}#app>.header,#app>main,#app>.site-footer{width:100%}#app>.header{flex:none;margin-block:0}#app>main{flex:1;margin-block:0}#app>.site-footer{flex:none;margin-top:auto}
.header{height:auto;min-height:76px;gap:20px;align-items:center}.header .brand{font-family:var(--sans);font-size:32px;font-weight:800;letter-spacing:-1.7px;line-height:1.2}.header .header-resume{margin:0 0 0 auto;align-self:center;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;font-size:15px;line-height:1}.music-toggle{flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;align-self:center;min-height:44px;margin:0}.music-toggle svg{width:26px;height:26px}.speaker-off{stroke-width:2.2}
h1,h2,.newspaper-kicker,.life-card-top{font-family:var(--sans);letter-spacing:-.055em}.newspaper-kicker{font-weight:700}.game-subtitle{font-weight:700}
.site-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 26px;padding:28px 24px;font-size:14px;line-height:1.6}.footer-links{display:flex;align-items:center;justify-content:center;gap:24px}.footer-contact{display:inline-flex;align-items:center;gap:5px}.site-footer .admin-entry,.site-footer .credits-entry,.site-footer a{font:inherit;margin:0;padding:0}.footer-copyright{opacity:.8}.footer-contact a{white-space:nowrap}
.hud-stats{position:relative;padding-top:18px;margin-top:10px}.hud-stats .stats-grid{margin-top:8px}.stats-help{position:absolute;right:0;top:-7px;width:27px;height:27px;border:1px solid #ffffff80;border-radius:50%;font:600 16px/1 var(--sans);color:#f7f5eb;display:grid;place-items:center}.life-details{grid-template-columns:1fr;gap:10px;margin-top:22px;padding-top:20px}.life-details>p,.life-details .parent-life-row{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:baseline;gap:12px;margin:0;font-size:14px}.life-details>p>b{text-align:right}.life-details .parent-summary{display:flex;justify-content:flex-end;align-items:baseline;flex-wrap:wrap;gap:4px 12px;text-align:right;font-weight:600}.parent-age{white-space:nowrap}.life-details .parent-last-row{border-bottom:0;padding-bottom:0;margin-bottom:0}.life-details .parent-home-row{border-top:1px solid #ffffff30;padding-top:14px;margin-top:6px}.parent-home-row b{text-align:right}.hud .progress-label{font-size:12px}.wallet small:empty{display:none}
.state-guide-content{font-size:15px;line-height:1.8}.state-guide-content dl>div{display:grid;grid-template-columns:95px 1fr;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.state-guide-content dt{font-weight:700}.state-guide-content dd{margin:0}.state-guide-content h3{margin-top:24px}.life-dialog .dialog-head{position:sticky;top:-22px;background:var(--paper);z-index:2}.life-dialog .dialog-head button{min-width:44px;min-height:44px;font-size:30px}
.media-credits{position:fixed;inset:0;padding:0;max-height:min(88dvh,900px);overflow:hidden;width:min(800px,calc(100vw - 24px))}.media-credits .credits-scroll{overflow-y:auto;max-height:min(88dvh,900px);padding:64px 30px 30px;overscroll-behavior:contain}.media-credits .close-credits{position:absolute;top:12px;right:12px;z-index:5;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#284c42;color:#fff;box-shadow:0 2px 10px #0002;margin:0;font:32px/1 var(--sans)}.media-credits h2{margin-top:0}.media-credits article{overflow-wrap:anywhere}.media-credits::backdrop{background:#12291fcc}
.front-story.has-photo{grid-template-columns:minmax(165px,42%) minmax(0,1fr);gap:20px;align-items:start}.front-story.has-photo figure{width:100%;height:auto;max-height:none;position:relative}.front-story.has-photo figure img,.front-story.subject-photo figure img{width:100%;height:auto;max-height:360px;object-fit:contain;object-position:center;display:block}.front-story .photo-credit,.front-story .news-source{display:none}.news-illustration-label{position:absolute;bottom:6px;right:6px;background:#243c33d9;color:#fff;padding:2px 6px;font-size:10px;border-radius:3px}.auto-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px}.report-deltas>div{padding-block:16px}.report-deltas small{display:block;margin-top:10px}.impact-note{margin:0;padding:18px 0;border-bottom:0}.impact-note+.impact-note{border-top:1px solid var(--line)}.living-breakdown{border-top:1px solid var(--line);margin-top:0;padding-top:22px}.childhood-receipt li{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.childhood-receipt li>b{font-weight:500}.childhood-receipt li>strong{white-space:nowrap}.childhood-receipt li>strong small{display:inline;font-size:12px;font-weight:400;margin-right:6px}
.admin-page{max-width:1200px;padding:40px 30px 64px;margin-inline:auto}.admin-page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:24px;border-bottom:1px solid var(--line)}.admin-page h1{font-size:36px;margin:6px 0}.admin-page h2{font-size:22px;margin:0 0 18px}.admin-page button{min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:6px}.admin-page .primary{background:var(--green);color:white}.admin-toolbar{display:flex;align-items:center;gap:12px;margin:24px 0}.admin-toolbar p{margin-right:auto}.admin-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.admin-metrics article{background:#e5eadf;border:1px solid var(--line);padding:26px;border-radius:8px}.admin-metrics span{display:block;color:#52665a}.admin-metrics strong{font-size:36px;display:block;margin-top:12px}.admin-note{color:#6c7467;font-size:14px;margin:22px 0}.admin-section{padding:26px 0;border-top:1px solid var(--line)}.admin-section table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.admin-section th{background:#e7eadd;color:var(--green);font-weight:600;white-space:nowrap}.admin-section th,.admin-section td{padding:14px 12px;border-bottom:1px solid var(--line)}.admin-empty{padding:22px;background:#eeeee5;color:#697566}.admin-login{max-width:440px;margin:65px auto;padding:32px;border:1px solid var(--line);background:var(--white);border-radius:10px}.admin-login label,.admin-login input{display:block;width:100%;margin-bottom:12px}.admin-login input{padding:12px;border:1px solid #9aab98;border-radius:4px}.admin-login .primary{width:100%;margin-top:8px}.admin-login [role=status]{min-height:1.5em;font-size:14px;color:#934b37}.admin-toolbar button{white-space:nowrap}.admin-section .table-scroll{overflow-x:auto}
@media(min-width:769px){body{font-size:16px}.hero-copy .lead,.event-body,.lead{font-size:19px}.choice-copy b{font-size:18px}.choice-copy small,.choice-cost,.choice-hint{font-size:14px}.focus-option b{font-size:16px}.focus-option small,.focus-help,.activity-hint{font-size:14px}.focus-option span{font-size:26px}.news-copy h3{font-size:22px}.news-copy p{font-size:16px;line-height:1.8}.news-category{font-size:12px}.front-story .news-memory{font-size:15px}.newspaper-title b{font-size:14px}.section-label,.tiny-year{font-size:14px}.life-details>p,.life-details .parent-life-row{font-size:15px}.hud-identity,.hud-income{font-size:17px}.stats-grid .stat>div>span,.stats-grid .stat>div>b{font-size:15px}.report-deltas span,.report-deltas small{font-size:14px}.report-deltas b{font-size:28px}.impact-note,.nostalgia-copy p,.scene-prose,.living-receipt p,.childhood-receipt p{font-size:17px;line-height:1.9}.school-report>span,.gpa-summary>span{font-size:14px}.news-panel{padding:24px}.report-paper{padding:32px}.academic-panel p,.rank-number>span{font-size:14px}}
@media(max-width:768px){.header{min-height:64px;padding:10px 18px;gap:8px}.header .brand{font-size:25px;letter-spacing:-1.2px}.header .header-resume{font-size:13px;padding-inline:10px}.site-footer{font-size:11px;gap:9px;padding:22px 14px}.footer-links{gap:18px}.life-details>p,.life-details .parent-life-row{grid-template-columns:60px minmax(0,1fr);font-size:12px;gap:8px}.life-details .parent-summary{gap:2px 8px}.hud .progress-label{font-size:11px}.front-story.has-photo{display:block}.front-story.has-photo figure{margin-bottom:16px}.front-story.has-photo figure img{max-height:340px;width:100%}.media-credits .credits-scroll{padding:64px 20px 24px}.childhood-receipt li{flex-wrap:wrap;gap:2px}.childhood-receipt li>strong{margin-left:auto}.admin-page{padding:28px 18px}.admin-page-head{align-items:flex-start;gap:12px}.admin-page h1{font-size:26px}.admin-page-head button{font-size:12px;padding:7px 9px}.admin-metrics{gap:8px}.admin-metrics article{padding:14px 10px}.admin-metrics span{font-size:11px}.admin-metrics strong{font-size:25px}.admin-toolbar{flex-wrap:wrap}.admin-toolbar p{width:100%;margin:0}.admin-login{padding:24px;margin:35px auto}.state-guide-content dl>div{grid-template-columns:75px 1fr}.report-deltas>div{padding-block:12px}}
/* Browser-verified cascade corrections: retain one separator and readable labels. */
.hud .life-details .parent-last-row{border-bottom:0;padding-bottom:0;margin-bottom:0}.report-paper .impact-note{border-bottom:0;margin:0;padding:18px 0}.report-paper .impact-note+.impact-note{border-top:1px solid var(--line)}
.hud .stats-help{width:44px;height:44px;min-height:44px;border:0;font-size:14px;top:-18px;right:-8px}.hud .stats-help::before{content:'';position:absolute;inset:9px;border:1px solid #ffffff80;border-radius:50%;pointer-events:none}
.hero-copy .game-subtitle{font-family:var(--sans);font-weight:650;letter-spacing:-.055em;line-height:1.45}.journey-loading h1{font-family:var(--sans)}
@media(min-width:769px){.hud .hud-identity{font-size:17px;line-height:1.7}.hud .eyebrow,.birth-page .eyebrow,.ending>.eyebrow{font-size:12px}.hud .life-details .parent-age{font-size:14px}.front-story .news-copy>p{font-size:16px;line-height:1.85}.front-page .news-category{font-size:12px}.report-paper .impact-note{font-size:17px}.start-section label,.start-section legend,.age-preview{font-size:14px}.mode-tabs b{font-size:17px}.mode-tabs small{font-size:13px}.start-section .primary,.birth-family .primary,.report-paper>.primary{font-size:17px}.primary.start-btn{font-size:17px}.birth-page .family-money p,.birth-page .home-photo-note,.birth-page .story-note{font-size:16px}.footer-copyright{font-size:14px}}
.game-columns aside>.auto-btn{display:flex;width:100%;align-self:stretch;min-height:52px;font-size:15px;padding:12px 16px}
@media(max-width:768px){.game-columns aside>.auto-btn{width:100%;font-size:14px;min-height:48px}}

/* v29: one reading column, one type scale, locally hosted NAVER OFL font. */
@font-face{font-family:'NanumSquareNeo';src:url('./assets/fonts/NanumSquareNeo-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'NanumSquareNeo';src:url('./assets/fonts/NanumSquareNeo-bold.woff2') format('woff2');font-weight:600 900;font-style:normal;font-display:swap}
:root{--sans:'NanumSquareNeo','Malgun Gothic','Apple SD Gothic Neo',sans-serif;--text-body:16px;--text-small:14px;--text-card:21px;--text-title:30px}
body,button,input,select,textarea{font-family:var(--sans)}
h1,h2,h3,h4,.event-card h1,.report-page>h1,.ending>h1,.life-card h2,.school-report h3,.memory-detour h3,.nostalgia-copy h3,.life-scene figcaption h3{font-family:var(--sans)}
.game-columns{display:flex;flex-direction:column;gap:24px;grid-template-columns:none;align-items:stretch}
.game-columns .game-main,.game-columns .game-tools,.game-columns>.auto-btn{width:100%;min-width:0;max-width:none}
.game-tools{display:grid;grid-template-columns:1fr;gap:18px}.game-tools:empty{display:none}.game-tools .activity-panel{margin-top:0}
.game-columns>.auto-btn{display:flex;align-items:center;justify-content:center;align-self:stretch;font-size:var(--text-body);min-height:56px;margin:0;padding:16px}
.section-label,.section-label h2,.section-label>span:not(.tiny-year),.activity-panel>summary,.career-panel>summary{font-size:var(--text-body);font-weight:700}
.event-card h1,.report-page>h1,.ending>h1{font-size:var(--text-title);line-height:1.5;letter-spacing:-.045em}
.event-card .event-body,.event-body,.front-story .news-copy>p,.report-paper .impact-note,.life-scene figcaption p,.nostalgia-copy p,.activity-result p,.contact-body>p{font-size:var(--text-body);line-height:1.85}
.choice-copy>b,.focus-option>b,.contact-body h3,.activity-result>b,.daily-button>b{font-size:var(--text-body);line-height:1.6}
.choice-copy>small,.focus-option>small,.choice-hint,.event-card .choice-hint,.activity-panel>.activity-hint,.focus-help,.daily-button>small,.contact-actions button small,.section-label .tiny-year,.relationship-help{font-size:var(--text-small);line-height:1.65}
.life-scene figcaption h3,.nostalgia-copy h3,.memory-detour h3,.school-report h3,.immediate-admission h2{font-size:var(--text-card);line-height:1.55}
.front-page .newspaper-title .newspaper-kicker{font-family:var(--serif);font-size:32px;font-weight:700;letter-spacing:-1.2px}
.front-page .front-stories{display:flex;flex-direction:column;gap:0}
.front-page .front-story,.front-page .front-story.has-photo,.front-page .front-story.has-photo:only-child{display:grid;grid-template-columns:minmax(260px,38%) minmax(0,1fr);gap:28px;padding:26px 0;border:0;border-bottom:1px solid #d6cfbc;align-items:center}
.front-page .front-story:last-child{border-bottom:0;padding-bottom:8px}
.front-page .front-story figure{margin:0;position:relative;max-height:none;width:100%}
.front-page .front-story figure img,.front-page .front-story.has-photo:only-child img,.front-page .front-story.illustrative-photo figure img{width:100%;height:auto;max-height:320px;object-fit:contain;object-position:center;filter:none;background:transparent;border:0}
.front-page .front-story h3{font-family:var(--serif);font-size:24px;line-height:1.55;letter-spacing:-.03em;margin:10px 0}
.front-page .news-category{font-size:var(--text-small)}
.news-illustration-label{font-family:var(--sans);font-size:10px;background:rgba(250,248,240,.9);padding:3px 7px;position:absolute;bottom:6px;left:6px}
.immediate-admission{padding:24px;background:#e9eee4;border:1px solid #c6d3bf;margin:24px 0 32px}.immediate-admission>p{font-size:var(--text-body);line-height:1.8}.immediate-admission .choices{margin-top:18px}.immediate-admission .choice{background:#fffdf7}
.game-title-card{min-height:160px;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:28px;background:#263e40;color:#f8f3e6;border:1px solid #718377;margin-bottom:20px;text-align:left}.game-title-card>span{font-size:12px;letter-spacing:.14em;color:#c2d1be}.game-title-card>strong{font:700 29px/1.35 var(--sans);letter-spacing:-.04em}.game-title-card>small{font-size:13px;color:#d7dece}
@media(max-width:768px){
 :root{--text-body:15px;--text-small:12px;--text-card:19px;--text-title:26px}
 .game-columns{gap:18px}.game-columns>.auto-btn{min-height:52px}
 .front-page .newspaper-title .newspaper-kicker{font-size:25px}
 .front-page .front-story,.front-page .front-story.has-photo,.front-page .front-story.has-photo:only-child{grid-template-columns:minmax(110px,38%) minmax(0,1fr);gap:16px;padding:20px 0;align-items:start}
 .front-page .front-story h3{font-size:19px}.front-page .front-story figure img{max-height:240px}
 .news-illustration-label{font-size:9px;bottom:3px;left:3px;padding:2px 4px}
 .immediate-admission{padding:18px}.game-title-card{min-height:130px;padding:20px}.game-title-card>strong{font-size:24px}
}
@media(max-width:440px){.front-page .front-story,.front-page .front-story.has-photo,.front-page .front-story.has-photo:only-child{grid-template-columns:1fr}.front-page .front-story figure img{max-height:240px}.front-page .front-story h3{font-size:20px}}

.front-page .front-story .news-copy{grid-column:auto;grid-row:auto}.front-page .front-story figure{grid-row:auto}

.front-page .news-illustration-label{color:#3d5044;right:auto;max-width:calc(100% - 12px);border-radius:2px}

/* Work preparation shares one annual optional action; always visible while employed. */
.work-actions{margin:24px 0;padding:24px;border:1px solid var(--line,#d8d7c8);background:#edf0e5;border-radius:12px}.work-actions h2{font:700 21px/1.4 'NanumSquareNeo',sans-serif;margin:0 0 8px}.work-actions>p{font-size:15px;line-height:1.65;margin:8px 0 18px}.work-action-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.work-action-buttons .daily-button{min-height:116px;padding:18px}.work-study-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.work-study-options h3{grid-column:1/-1;font-size:17px;margin:4px 0}.work-study-options .daily-button{padding:16px}.work-action-selection{font-weight:700;color:#294b40}.work-actions button:disabled{opacity:.55;cursor:not-allowed}.optional-actions{margin:20px 0}.daily-button small{line-height:1.6}
@media(max-width:640px){.work-actions{padding:16px}.work-actions h2{font-size:18px}.work-action-buttons,.work-study-options{grid-template-columns:1fr}.work-action-buttons .daily-button{min-height:76px}.work-actions>p{font-size:13px}}

/* v32: exact source images retain their complete frame; no photo captions. */
.front-page .front-story.text-only{grid-template-columns:minmax(0,1fr)}
.front-page .front-story.portrait-photo figure img{max-height:360px;object-fit:contain}
.front-page .front-story.game-art-photo figure img{max-height:320px;object-fit:contain}
.game-title-card.has-game-art{display:grid;grid-template-columns:minmax(120px,34%) minmax(0,1fr);gap:24px;align-items:center}
.game-title-card.has-game-art img{width:100%;max-height:230px;object-fit:contain}
.game-title-card.has-game-art .game-title-copy{display:flex;flex-direction:column;gap:12px}
.game-title-copy>strong{font:700 26px/1.4 var(--sans)}
.game-title-copy>span,.game-title-copy>small{font-size:13px}
@media(max-width:440px){.game-title-card.has-game-art{grid-template-columns:1fr}.game-title-card.has-game-art img{max-height:180px}}

.front-page .front-story .news-image-frame.dark-image{background:#203832;padding:16px}
.front-page .front-story .news-image-frame.light-image,.game-title-card img.light-image{background:#f8f5ec;padding:12px}

/* v33: the right edge belongs to the whole information column. */
.hud .life-details>p{min-width:0;width:100%;align-items:baseline}
.hud .life-details>p>b{min-width:0;max-width:none;width:100%;justify-self:stretch;text-align:right}
.hud .life-details .parent-summary{display:flex;justify-content:flex-end;align-items:baseline;flex-wrap:wrap;gap:2px 10px;text-align:right}
.hud .life-details .parent-job{min-width:0;white-space:normal;text-align:right}
.hud .life-details .parent-age{white-space:nowrap;text-align:right}
.hud .life-details .parent-home-row>b{font-size:inherit;text-align:right}

/* A full-width action, with the same visual weight on touch and desktop. */
.game-columns>.auto-btn{width:100%;min-height:56px;margin:8px 0 0;padding:16px 20px;border:1px solid var(--green);border-radius:6px;background:var(--green);color:var(--white);font-weight:700;line-height:1.5;box-shadow:0 2px 5px #183c2920}
.game-columns>.auto-btn:hover{background:#376454;border-color:#376454}
.game-columns>.auto-btn:focus-visible{outline:3px solid var(--coral);outline-offset:4px}
.game-columns>.auto-btn>span{font-size:16px;flex:none}

/* v34: intrinsic-width items on desktop, two compact rows on mobile. */
footer.site-footer{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 20px;width:100%;max-width:1172px;min-width:0;margin-inline:auto;padding:16px 12px 22px;font-size:14px;line-height:1.4;text-align:center;white-space:normal}
footer.site-footer>span{width:auto;max-width:100%;margin:0;flex:0 0 auto}
footer.site-footer .footer-copyright{font:inherit;white-space:nowrap}
footer.site-footer .footer-contact{display:inline-flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:3px;min-width:0;white-space:normal}
footer.site-footer .footer-contact a,footer.site-footer button{font:inherit;letter-spacing:0;min-height:44px;padding:0;margin:0}
footer.site-footer button{flex:none;white-space:nowrap}
footer.site-footer .footer-contact a{min-width:0;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){
 footer.site-footer{display:grid;grid-template-columns:minmax(0,max-content) max-content;gap:0 12px;padding:14px 12px 18px;font-size:12px}
 footer.site-footer .footer-copyright{grid-column:1/-1}
 footer.site-footer .footer-contact{grid-column:1}
 footer.site-footer>.credits-entry{grid-column:2}
 footer.site-footer .footer-contact a,footer.site-footer button{min-height:32px}
}
@media(max-width:360px){.hud .life-details .parent-summary{column-gap:7px}}

/* v36: quiet, compact outline control; retain a touch-friendly hit area. */
.game-columns>.auto-btn{width:auto;max-width:100%;min-height:44px;align-self:center;margin:4px 0 0;padding:8px 15px;border:1px solid #8d9d91;border-radius:5px;background:transparent;color:var(--green);font-size:13px;font-weight:500;line-height:1.4;box-shadow:none}
.game-columns>.auto-btn:hover,.game-columns>.auto-btn[aria-pressed=true]{background:transparent;color:var(--green);border-color:var(--green)}
.game-columns>.auto-btn>span{font-size:11px}
@media(max-width:768px){.game-columns>.auto-btn{font-size:12px;padding:8px 12px;min-height:44px}}

/* v37: compact help glyph; the surrounding touch target stays usable. */
.hud .stats-help{font-size:7px}
.hud .stats-help::before{inset:15.5px}
.spouse-summary:has(>.spouse-portrait-button){grid-template-columns:100px minmax(0,1fr)}
.spouse-portrait-button{display:block;padding:0;border:0;background:transparent;min-height:0;width:100%;cursor:zoom-in}
.spouse-portrait-button img{display:block;width:100%;height:auto;max-height:170px;object-fit:contain;border-radius:5px}
.parent-debt{margin-top:12px;font-size:13px;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.parent-debt button{border:1px solid #c4d2c0;color:inherit;background:transparent;border-radius:4px;padding:6px 10px;font-size:12px;min-height:34px}
.adult-focus .focus-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.adult-focus .focus-option{min-width:0;min-height:116px}
.adult-focus .career-options-toggle{font-size:13px;margin-top:10px;padding:8px 0}
.activity-selection{font-size:13px;margin:10px 0 0;color:var(--green)}
.life-dialog .investment-amount-label{display:flex;justify-content:space-between;gap:12px;margin:26px 0 12px;font-size:16px}
.investment-amount-label output{font-weight:700;color:var(--green)}
.life-dialog input.investment-range{display:block;width:100%;padding:0;margin:0;min-height:40px;accent-color:var(--green)}
.life-dialog .investment-number-label{display:flex;align-items:center;gap:12px;margin:14px 0;font-size:13px}
.investment-number-label input{min-width:0;flex:1;padding:10px;font-size:16px}
.life-dialog #investment-remaining{font-size:14px}
.focus-option .stat-change{font-size:inherit}
.adult-focus .effect-arrows{font-size:13px;line-height:1.6;color:var(--green)}
.adult-focus .effect-help{font-size:12px;line-height:1.5;color:#657366;margin:12px 0 0}
.life-dialog .grouped-action-options{display:grid;gap:10px}
.life-dialog .grouped-action-options button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:16px;background:#fffdf7}
.grouped-action-options b{font-size:17px}
.grouped-action-options small{font-size:14px;line-height:1.6}
.grouped-action-options button:disabled{opacity:.5;cursor:not-allowed}
.gpa-summary .gpa-school{font-size:19px;color:#284c42;line-height:1.5}
.end-facts .end-school-gpa{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.end-school-gpa .gpa-school{font-size:17px}
@media(max-width:768px){.spouse-summary:has(>.spouse-portrait-button){grid-template-columns:80px minmax(0,1fr)}.adult-focus .focus-options{grid-template-columns:repeat(2,minmax(0,1fr))}.parent-debt{font-size:12px}.life-dialog .investment-number-label{align-items:flex-start;flex-direction:column}.investment-number-label input{width:100%;box-sizing:border-box}}

/* v39: compact adult choices, clear footer hierarchy and persistent portfolio returns. */
.adult-focus .focus-option{min-height:88px;padding:10px 12px;gap:4px}
.adult-focus .focus-option>span{font-size:24px;line-height:1;height:24px;margin:0}
.life-choice-icon{width:24px;height:24px;display:inline-block;vertical-align:middle}
.adult-focus .focus-option b{line-height:1.4}
.adult-focus .focus-option small{line-height:1.4;font-size:12px}
footer.site-footer .footer-contact,footer.site-footer>.credits-entry{font-size:.85em}
footer.site-footer .footer-contact button,footer.site-footer .footer-contact a{font-size:inherit}
.ending-current{font-size:clamp(24px,3vw,36px);line-height:1.3;font-weight:700;margin:0 0 16px;color:var(--green)}
.proposal-photo{margin:20px 0;width:100%}
.proposal-photo img{display:block;width:100%;max-height:480px;object-fit:contain;border-radius:4px}
.living-receipt .funeral-expense strong{font-weight:750}
.investment-profit.profit-up strong{color:#245b4c}
.investment-profit.profit-down strong{color:#ac493e}
.game-page>.investment-report{margin:20px 0}

/* v41: keep the full uploaded and archival image visible. */
.front-page .front-story.subject-photo .news-image-frame img,.life-scene.keep-photo-frame>img{object-fit:contain;filter:none;background:#eeeae0;}

/* The destination settles on the same location and home used by the new life. */
.journey-loading{margin-inline:auto;padding-block:40px;min-height:calc(100svh - 90px)}
.journey-loading>p{margin:0 0 16px}
.journey-place{width:min(100%,400px);padding:20px 16px 22px;border:1px solid #d5dece;background:#f0f2e8;transition:background .35s,border-color .35s,box-shadow .35s}
.journey-place.is-settled{background:#e7eddf;border-color:#7f9a79;box-shadow:0 6px 24px #32503912}
.journey-sketch{height:104px;display:grid;place-items:center}
.journey-sketch .story-drawing{width:100px;height:100px;stroke-width:1.4}
#journey-home-label{display:block;min-height:1.6em;font-size:12px;color:#697d62;margin:6px 0 18px}
.journey-location{min-height:90px;display:flex;flex-direction:column;justify-content:center;gap:8px;border-top:1px solid #d4ddcd;padding-top:18px}
#journey-region{font-size:12px;color:#6b7b61;letter-spacing:.12em}
#journey-town{font-size:clamp(22px,5.8vw,29px);line-height:1.4;letter-spacing:-.045em;color:#334c36;overflow-wrap:anywhere}
.journey-year{font-size:42px;line-height:1.2;margin:20px 0}
.journey-loading #journey-progress-text{min-height:3em;max-width:360px;line-height:1.7;margin:12px 0 0}
@media(max-width:650px){.journey-loading{padding:24px 22px}.journey-loading h1{font-size:27px}.journey-place{padding:16px 14px}.journey-sketch{height:88px}.journey-sketch .story-drawing{width:86px;height:86px}.journey-year{font-size:36px;margin:18px 0}}
@media(prefers-reduced-motion:reduce){.journey-place,.journey-progress i{transition:none}}
