/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.fixed{position:fixed}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}:root{--ink:#123c2f;--ink-2:#0a2b22;--paper:#f8f1df;--cream:#fffaf0;--lime:#d8ef72;--lime-2:#b8d94c;--orange:#ff7048;--blue:#80c6e8;--yellow:#ffd85b;--red:#d94f38;--muted:#66746c;--line:#123c2f2e;--shadow:0 24px 70px #143a2c24}*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--paper)}body{color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;margin:0;font-family:Microsoft YaHei UI,PingFang SC,Noto Sans SC,Arial,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.site-shell{min-height:100vh;overflow:hidden}.site-header{border-bottom:2px solid var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:20;background:#f8f1dff0;justify-content:space-between;align-items:center;height:88px;padding:0 clamp(24px,5vw,76px);display:flex;position:relative}.brand{align-items:center;gap:12px;display:flex}.brand-coin{border:2px solid var(--ink);background:var(--yellow);width:42px;height:42px;box-shadow:3px 3px 0 var(--ink);border-radius:50%;place-items:center;font:900 23px/1 Georgia,serif;display:grid}.brand b{letter-spacing:-.05em;font-size:22px;display:block}.brand small{letter-spacing:.12em;color:var(--muted);margin-top:4px;font-size:9px;font-weight:800;display:block}.site-header nav{gap:10px;display:flex}.site-header nav a{border-radius:999px;padding:12px 18px;font-size:14px;font-weight:800}.site-header nav a:hover,.site-header nav a.active{background:var(--ink);color:#fff}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:#557167;align-items:center;gap:9px;font:900 12px/1.2 Arial,sans-serif;display:inline-flex}.eyebrow:before{content:"";background:var(--orange);border-radius:50%;width:9px;height:9px}.button{border:2px solid var(--ink);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:18px;min-height:54px;padding:0 24px;font-size:15px;font-weight:900;transition:transform .16s,box-shadow .16s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-3px)}.button:disabled{opacity:.42;cursor:not-allowed}.button.primary{background:var(--ink);color:#fff;box-shadow:6px 6px 0 var(--lime-2)}.button.ghost{background:var(--cream);color:var(--ink)}.button.dark{background:var(--ink-2);color:#fff}.button.big{min-height:62px;padding-inline:30px;font-size:17px}.hero{background:radial-gradient(circle at 12% 20%,#d8ef7280,transparent 28rem),var(--paper);border-bottom:2px solid var(--ink);grid-template-columns:minmax(390px,.78fr) minmax(520px,1.22fr);align-items:center;gap:clamp(42px,6vw,92px);padding:66px clamp(24px,5vw,76px) 72px;display:grid}.hero-copy h1{letter-spacing:-.08em;margin:22px 0 26px;font-size:clamp(60px,6.6vw,100px);font-weight:950;line-height:.91}.hero-copy h1 em{color:var(--orange);font-style:normal}.hero-copy>p{color:#50665e;max-width:610px;margin:0;font-size:18px;line-height:1.9}.hero-actions{gap:14px;margin-top:34px;display:flex}.hero-facts{gap:28px;margin-top:43px;display:flex}.hero-facts span{color:var(--muted);font-size:12px;font-weight:700}.hero-facts b{color:var(--ink);margin-bottom:5px;font-size:22px;display:block}.hero-art{margin:0;position:relative;transform:rotate(1deg)}.hero-art img{border:2px solid var(--ink);width:100%;box-shadow:16px 16px 0 var(--ink);object-fit:cover;border-radius:28px}.hero-art figcaption{background:var(--blue);border:2px solid var(--ink);box-shadow:4px 4px 0 var(--ink);padding:13px 18px;font-size:13px;font-weight:900;position:absolute;bottom:22px;left:-20px;transform:rotate(-3deg)}.game-intro,.life-road,.play-section{padding-inline:clamp(24px,5vw,76px)}.game-intro{background:var(--cream);padding-top:100px;padding-bottom:105px}.section-lead{max-width:760px}.section-lead h2,.section-heading h2,.play-heading h2{letter-spacing:-.065em;margin:15px 0 18px;font-size:clamp(44px,5vw,72px);line-height:1}.section-lead p,.play-heading p{color:var(--muted);margin:0;font-size:17px;line-height:1.8}.resource-cards{grid-template-columns:repeat(3,1fr);gap:20px;margin-top:52px;display:grid}.resource{border:2px solid var(--ink);min-height:310px;box-shadow:8px 8px 0 var(--ink);border-radius:20px;padding:30px;transition:transform .18s;position:relative}.resource:hover{transform:translateY(-6px)}.resource>span{border:2px solid var(--ink);background:var(--cream);border-radius:18px;place-items:center;width:62px;height:62px;font:900 30px/1 Georgia,serif;display:grid}.resource h3{letter-spacing:-.05em;margin:52px 0 14px;font-size:32px}.resource p{margin:0;font-size:15px;line-height:1.8}.resource.joy{background:#ff9b79}.resource.wealth{background:var(--lime)}.resource.time{background:var(--blue)}.life-road{border-block:2px solid var(--ink);background:#dcebb8;padding-top:90px;padding-bottom:110px}.section-heading{justify-content:space-between;align-items:end;display:flex}.section-heading h2{margin-bottom:0}.section-heading>a,.play-heading>a{border-bottom:2px solid var(--ink);padding-bottom:7px;font-size:14px;font-weight:900}.road-line{grid-template-columns:repeat(6,1fr);margin-top:58px;display:grid;position:relative}.road-line:before{content:"";background:var(--ink);height:5px;position:absolute;top:42px;left:7%;right:7%}.road-line article{text-align:center;padding:0 14px;position:relative}.stage-icon{border:3px solid var(--ink);background:var(--cream);width:84px;height:84px;box-shadow:5px 5px 0 var(--ink);z-index:2;border-radius:50%;place-items:center;margin:0 auto 20px;font-size:35px;display:grid;position:relative}.road-line article:nth-child(2n) .stage-icon{background:var(--yellow)}.road-line article>b{font:950 38px/1 Arial,sans-serif}.road-line article>b small{font-size:14px}.road-line h3{margin:9px 0;font-size:20px}.road-line p{color:#53675e;margin:0;font-size:13px;line-height:1.65}.play-section{background:radial-gradient(circle at 90% 30%,#80c6e84d,transparent 28rem),var(--paper);padding-top:100px;padding-bottom:120px}.play-heading{justify-content:space-between;align-items:end;margin-bottom:44px;display:flex}.play-heading h2{margin-bottom:12px}.play-heading p{font-size:16px}.game-frame{border:3px solid var(--ink);background:var(--cream);box-shadow:16px 16px 0 var(--ink);border-radius:26px;position:relative;overflow:hidden}.game-topbar{background:var(--ink);color:#fff;grid-template-columns:260px 1fr 120px;align-items:center;gap:25px;min-height:116px;padding:20px 26px;display:grid}.age-token{align-items:center;gap:14px;display:flex}.age-token>span{background:var(--yellow);width:60px;height:60px;color:var(--ink);border-radius:18px;place-items:center;font-size:31px;display:grid}.age-token small,.turn-number small{color:#b8c8c2;font-size:11px;font-weight:800;display:block}.age-token b{margin:5px 0 3px;font-size:20px;display:block}.age-token em{color:var(--lime);font-size:12px;font-style:normal;font-weight:800}.life-progress{grid-template-columns:repeat(6,1fr);align-items:center;gap:4px;display:grid}.life-progress>div{background:#ffffff1a;border:2px solid #ffffffb3;border-radius:999px;grid-column:1/-1;height:15px;overflow:hidden}.life-progress>div span{background:linear-gradient(90deg,var(--orange),var(--yellow),var(--lime));height:100%;transition:width .3s;display:block}.life-progress small{text-align:center;color:#b8c8c2;font-size:10px}.turn-number{text-align:right}.turn-number b{color:var(--lime);margin-top:7px;font:950 30px/1 Arial,sans-serif;display:block}.scoreboard{border-bottom:2px solid var(--ink);grid-template-columns:repeat(3,1fr) 190px;display:grid}.score{border-right:1px solid var(--line);align-items:center;gap:14px;min-height:106px;padding:20px 24px;display:flex}.score>span{color:var(--orange);font:900 27px/1 Georgia,serif}.score small{color:var(--muted);font-size:11px;font-weight:800;display:block}.score b{margin-top:7px;font:950 28px/1 Courier New,monospace;display:block}.score.happiness{background:#fff0e7}.score.total{background:var(--lime)}.market-pill{background:#edf3e9;padding:20px}.market-pill small,.market-pill span{color:var(--muted);font-size:10px;font-weight:800;display:block}.market-pill b{margin:7px 0;font:950 24px/1 Courier New,monospace;display:block}.positive{color:#218553!important}.negative{color:var(--red)!important}.game-body{grid-template-columns:minmax(0,1fr) 330px;display:grid}.decision-panel{border-right:2px solid var(--ink);min-width:0}.panel-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:26px 28px;display:flex}.panel-title span{color:var(--muted);letter-spacing:.1em;font-size:11px;font-weight:900}.panel-title h3{letter-spacing:-.05em;margin:6px 0 0;font-size:29px}.available{border:2px solid var(--ink);background:var(--lime);text-align:right;border-radius:12px;padding:12px 15px}.available small{font-size:10px;font-weight:800;display:block}.available b{margin-top:4px;font:900 20px/1 Courier New,monospace;display:block}.available.over{color:var(--red);background:#ffd3c7}.cash-equation{border-bottom:1px solid var(--line);background:#eef3e8;grid-template-columns:1fr 20px 1fr 20px 1fr 20px 1fr;align-items:center;gap:7px;padding:22px 28px;display:grid}.cash-equation span small{color:var(--muted);font-size:10px;font-weight:800;display:block}.cash-equation span b{margin-top:6px;font:900 16px/1 Courier New,monospace;display:block}.cash-equation i{color:#8a9992;font-style:normal;font-weight:900}.equation-result b{color:#218553}.strategy-toggle{border-bottom:1px solid var(--line);background:#fffdf8;grid-template-columns:110px 1fr 1fr;align-items:center;gap:10px;padding:17px 28px;display:grid}.strategy-toggle>span{font-size:13px;font-weight:900}.strategy-toggle button{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:10px;padding:11px 13px}.strategy-toggle button b,.strategy-toggle button small{display:block}.strategy-toggle button b{font-size:12px}.strategy-toggle button small{color:var(--muted);margin-top:4px;font-size:10px}.strategy-toggle button.active{border:2px solid var(--ink);background:var(--yellow)}.allocation-list{padding:4px 28px}.allocation{border-bottom:1px solid var(--line);grid-template-columns:52px 195px 1fr 90px;align-items:center;gap:14px;min-height:96px;display:grid}.allocation:last-child{border-bottom:0}.allocation-icon{border:2px solid var(--ink);border-radius:13px;place-items:center;width:46px;height:46px;font:950 23px/1 Georgia,serif;display:grid}.allocation-icon.orange{background:#ff9b79}.allocation-icon.green{background:var(--lime)}.allocation-icon.blue{background:var(--blue)}.allocation-icon.yellow{background:var(--yellow)}.allocation-copy b,.allocation-copy small{display:block}.allocation-copy b{font-size:15px}.allocation-copy small{color:var(--muted);margin-top:5px;font-size:11px}.allocation input{width:100%;height:7px;accent-color:var(--ink);cursor:pointer}.allocation output{text-align:right;font:950 17px/1 Courier New,monospace}.turn-actions{border-top:2px solid var(--ink);background:#eef3e8;grid-template-columns:1fr auto auto;align-items:center;gap:13px;padding:22px 28px 27px;display:grid}.turn-tip span,.turn-tip small{display:block}.turn-tip span{font-size:14px;font-weight:800}.turn-tip span b{color:var(--orange)}.turn-tip small{color:var(--muted);margin-top:5px;font-size:10px}.turn-tip.warning span{color:var(--red)}.game-sidebar{background:#f4edda;align-content:start;gap:14px;padding:18px;display:grid}.event-card,.assets-card,.month-log{border:2px solid var(--ink);background:#fff;border-radius:16px;padding:22px}.event-card{background:var(--blue);box-shadow:5px 5px 0 var(--ink)}.event-icon{font-size:38px}.event-card>small{letter-spacing:.1em;margin-top:15px;font-size:10px;font-weight:900;display:block}.event-card h3{margin:7px 0 10px;font-size:25px}.event-card p{margin:0;font-size:13px;line-height:1.65}.side-title{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.side-title h3,.month-log h3{margin:0;font-size:18px}.side-title small{font:900 13px/1 Courier New,monospace}.asset-row{border-top:1px solid var(--line);grid-template-columns:10px 1fr auto;align-items:center;gap:8px;padding:12px 0;font-size:12px;display:grid}.asset-row b{font:900 13px/1 Courier New,monospace}.asset-dot{background:#aaa;border-radius:50%;width:9px;height:9px}.asset-dot.cash{background:var(--yellow)}.asset-dot.stock{background:var(--lime-2)}.asset-dot.retire{background:var(--blue)}.asset-dot.annuity{background:var(--orange)}.month-log h3{margin-bottom:10px}.month-log>div{border-top:1px solid var(--line);justify-content:space-between;gap:8px;padding:10px 0;font-size:11px;display:flex}.month-log b{font:900 11px/1 Courier New,monospace}.finish-panel{z-index:10;text-align:center;color:#fff;background:#0a2b22f2;flex-direction:column;justify-content:center;align-items:center;padding:50px;display:flex;position:absolute;inset:0}.finish-heart{background:var(--orange);width:90px;height:90px;box-shadow:7px 7px 0 var(--yellow);border-radius:50%;place-items:center;font-size:48px;display:grid}.finish-panel>small{color:var(--lime);letter-spacing:.14em;margin-top:28px;font-size:12px;font-weight:900}.finish-panel h2{letter-spacing:-.06em;margin:12px 0 25px;font-size:48px}.finish-stats{border:2px solid #fff;border-radius:15px;grid-template-columns:repeat(3,1fr);width:min(620px,100%);display:grid;overflow:hidden}.finish-stats span{border-right:1px solid #ffffff4d;padding:18px}.finish-stats span:last-child{border-right:0}.finish-stats small,.finish-stats b{display:block}.finish-stats small{color:#bbcbc5;font-size:10px}.finish-stats b{margin-top:8px;font:950 22px/1 Courier New,monospace}.finish-panel>p{color:#cbd7d2;max-width:650px;margin:25px auto;font-size:14px;line-height:1.8}.finish-save{gap:10px;display:flex}.finish-save input{min-width:180px;color:var(--ink);background:#fff;border:2px solid #fff;border-radius:12px;padding:0 15px}.saved-message{color:var(--lime);margin-top:16px}.leaderboard{border-top:2px solid var(--ink);grid-template-columns:.75fr 1.25fr;gap:65px;margin-top:88px;padding-top:70px;display:grid}.leaderboard h2{letter-spacing:-.06em;margin:15px 0;font-size:clamp(40px,4vw,60px)}.leaderboard>div>p{max-width:450px;color:var(--muted);margin:0;font-size:15px;line-height:1.75}.leaderboard-board{border:2px solid var(--ink);box-shadow:9px 9px 0 var(--ink);background:#fff;border-radius:18px;overflow:hidden}.leaderboard-board>div{border-bottom:1px solid var(--line);grid-template-columns:50px 1fr 70px 90px;align-items:center;min-height:67px;padding:0 22px;display:grid}.leaderboard-board>div:last-child{border-bottom:0}.leaderboard-board .winner{background:var(--yellow)}.rank{border:2px solid var(--ink);border-radius:50%;place-items:center;width:32px;height:32px;font-weight:900;display:grid}.leaderboard-board b{font-size:15px}.leaderboard-board small{color:var(--muted);font-size:11px}.leaderboard-board strong{text-align:right;font:950 18px/1 Courier New,monospace}.rules-page{background:var(--paper)}.rules-hero{border-bottom:2px solid var(--ink);background:#dcebb8;grid-template-columns:.8fr 1.2fr;align-items:center;gap:60px;min-height:650px;padding:68px clamp(24px,5vw,76px);display:grid}.rules-hero h1{letter-spacing:-.075em;margin:18px 0 23px;font-size:clamp(55px,6vw,88px);line-height:.94}.rules-hero p{color:#53675e;max-width:560px;margin:0 0 30px;font-size:17px;line-height:1.8}.rules-hero img{border:2px solid var(--ink);box-shadow:13px 13px 0 var(--ink);border-radius:24px;transform:rotate(1deg)}.rules-jump{border-bottom:2px solid var(--ink);background:var(--cream);white-space:nowrap;align-items:center;gap:9px;padding:26px clamp(24px,5vw,76px);display:flex;overflow-x:auto}.rules-jump b{margin-right:12px;font-size:13px}.rules-jump a{border:1px solid var(--line);border-radius:999px;padding:9px 12px;font-size:11px;font-weight:800}.rules-jump a:hover{background:var(--ink);color:#fff}.rules-list{background:var(--cream);padding:75px clamp(24px,10vw,165px)}.rules-list article{border-bottom:2px solid var(--ink);grid-template-columns:75px 85px 1fr;align-items:start;gap:25px;min-height:205px;padding:34px 0;scroll-margin-top:30px;display:grid}.rule-number{color:var(--orange);font:950 22px/1 Arial,sans-serif}.rule-icon{border:2px solid var(--ink);background:var(--lime);width:68px;height:68px;box-shadow:4px 4px 0 var(--ink);border-radius:18px;place-items:center;font-size:31px;display:grid}.rules-list article:nth-child(3n+2) .rule-icon{background:var(--blue)}.rules-list article:nth-child(3n) .rule-icon{background:var(--yellow)}.rules-list h2{letter-spacing:-.045em;margin:0 0 15px;font-size:31px}.rules-list p{color:#53675e;max-width:850px;margin:0;font-size:16px;line-height:1.9}.rules-list strong{color:var(--ink)}.rules-example{background:var(--blue);border-block:2px solid var(--ink);padding:80px clamp(24px,7vw,110px)}.rules-example h2{letter-spacing:-.06em;margin:14px 0 35px;font-size:clamp(38px,4vw,58px)}.example-flow{grid-template-columns:1fr 30px 1.2fr 30px 1fr 30px 1.2fr 30px 1fr;align-items:center;gap:8px;display:grid}.example-flow span{border:2px solid var(--ink);background:var(--cream);border-radius:14px;padding:20px}.example-flow small,.example-flow b{display:block}.example-flow small{color:var(--muted);font-size:10px;font-weight:800}.example-flow b{margin-top:9px;font:950 17px/1 Courier New,monospace}.example-flow i{text-align:center;font-size:22px;font-style:normal;font-weight:900}.rules-example>p{max-width:900px;margin:32px 0 0;font-size:15px;line-height:1.8}.rules-cta{text-align:center;background:var(--ink);color:#fff;padding:100px 24px}.rules-cta>span{color:var(--lime);font-size:13px;font-weight:900}.rules-cta h2{letter-spacing:-.06em;margin:14px 0 30px;font-size:clamp(45px,5vw,70px)}.rules-cta .button{border-color:#fff}footer{background:var(--cream);border-top:2px solid var(--ink);grid-template-columns:1fr 1fr auto;align-items:center;gap:30px;min-height:150px;padding:35px clamp(24px,5vw,76px);display:grid}footer p{color:var(--muted);font-size:12px;line-height:1.6}.footer-links{flex-wrap:wrap;justify-content:flex-end;gap:10px 16px;display:flex}.footer-links a{border-bottom:2px solid var(--ink);font-size:12px;font-weight:900}.scoreboard{grid-template-columns:repeat(2,1fr) 240px}.finish-stats{grid-template-columns:1fr;width:min(360px,100%)}.finish-stats span{border-right:0}.finish-stats b{color:var(--lime);font-size:38px}.happiness-chart{background:var(--paper);border-block:2px solid var(--ink);padding:80px clamp(24px,7vw,110px)}.happiness-chart-heading{justify-content:space-between;align-items:end;gap:35px;display:flex}.happiness-chart-heading h2{letter-spacing:-.055em;margin:12px 0 10px;font-size:clamp(36px,4vw,56px)}.happiness-chart-heading p{color:var(--muted);margin:0;font-size:16px}.chart-result{border:2px solid var(--ink);background:var(--orange);min-width:175px;box-shadow:5px 5px 0 var(--ink);border-radius:16px;padding:18px 20px}.chart-result small,.chart-result strong{display:block}.chart-result small{font-size:11px;font-weight:900}.chart-result strong{margin-top:8px;font:950 34px/1 Courier New,monospace}.chart-controls{grid-template-columns:repeat(3,1fr);gap:25px;margin:38px 0 24px;display:grid}.chart-controls label span{justify-content:space-between;gap:15px;margin-bottom:10px;font-size:13px;font-weight:900;display:flex}.chart-controls label b{font-family:Courier New,monospace}.chart-controls input{width:100%;accent-color:var(--ink)}.chart-legend{flex-wrap:wrap;gap:24px;margin-bottom:12px;font-size:12px;font-weight:900;display:flex}.chart-legend span:before{content:"";vertical-align:middle;background:var(--orange);width:22px;height:4px;margin-right:8px;display:inline-block}.chart-legend .reference:before{background:var(--blue);height:2px}.happiness-chart svg{width:100%;height:auto;color:var(--ink);display:block;overflow:visible}.happiness-chart svg text{fill:var(--ink);font-size:12px}.chart-frame{fill:var(--cream);stroke:var(--ink);stroke-width:2px}.chart-grid{stroke:var(--line);stroke-width:1px}.curve-reference,.curve-selected{fill:none;stroke-linecap:round;stroke-linejoin:round}.curve-reference{stroke:var(--blue);stroke-width:3px}.curve-selected{stroke:var(--orange);stroke-width:6px}.chart-guide{stroke:var(--ink);stroke-width:1.5px;stroke-dasharray:5 5}.chart-marker{fill:var(--yellow);stroke:var(--ink);stroke-width:3px}.chart-marker-label,.axis-title{font-weight:900}.chart-formula{border:2px solid var(--ink);background:var(--cream);border-radius:16px;padding:24px 28px}.chart-formula code{white-space:normal;font:800 14px/1.75 Courier New,monospace}.chart-formula p{color:var(--muted);margin:13px 0 0;font-size:14px;line-height:1.7}@media (max-width:1100px){.hero{grid-template-columns:1fr;gap:50px}.hero-copy{max-width:760px}.hero-art{max-width:900px}.resource-cards{grid-template-columns:repeat(3,1fr)}.road-line{grid-template-columns:repeat(3,1fr);row-gap:45px}.road-line:before{display:none}.game-body{grid-template-columns:1fr}.decision-panel{border-right:0;border-bottom:2px solid var(--ink)}.game-sidebar{grid-template-columns:repeat(3,1fr)}.scoreboard{grid-template-columns:repeat(2,1fr)}.market-pill{grid-column:1/-1;align-items:center;gap:20px;display:flex}.rules-hero{grid-template-columns:1fr}.rules-hero img{max-width:900px}.example-flow{grid-template-columns:1fr}.example-flow i{transform:rotate(90deg)}.example-flow span{text-align:center}}@media (max-width:760px){.site-header{height:74px;padding-inline:16px}.brand-coin{width:36px;height:36px}.brand b{font-size:18px}.brand small{display:none}.site-header nav a{padding:10px 11px;font-size:12px}.hero{padding:45px 18px 55px}.hero-copy h1{font-size:clamp(52px,16vw,74px)}.hero-copy>p{font-size:16px}.hero-actions{display:grid}.hero-facts{gap:15px}.hero-facts b{font-size:18px}.hero-art{transform:none}.hero-art img{box-shadow:8px 8px 0 var(--ink);border-radius:16px}.hero-art figcaption{margin-top:13px;position:static;transform:none}.game-intro,.life-road,.play-section{padding-inline:16px;padding-top:65px;padding-bottom:75px}.resource-cards{grid-template-columns:1fr}.resource{min-height:auto}.resource h3{margin-top:30px}.section-heading,.play-heading{display:block}.section-heading>a,.play-heading>a{margin-top:18px;display:inline-block}.road-line{grid-template-columns:repeat(2,1fr);gap:35px 5px}.road-line article{padding-inline:7px}.stage-icon{width:70px;height:70px;font-size:29px}.game-frame{box-shadow:7px 7px 0 var(--ink);border-radius:17px}.game-topbar{grid-template-columns:1fr auto;padding:16px}.life-progress{grid-area:2/1/auto/-1}.turn-number{grid-area:1/2}.scoreboard{grid-template-columns:1fr 1fr}.score{min-height:88px;padding:15px}.score.total,.market-pill{grid-column:1/-1}.panel-title{padding:20px 17px}.panel-title h3{font-size:23px}.available{padding:10px}.cash-equation{grid-template-columns:1fr 15px 1fr;padding:17px}.cash-equation span:nth-of-type(3),.cash-equation span:nth-of-type(4),.cash-equation i:nth-of-type(2),.cash-equation i:nth-of-type(3){display:none}.strategy-toggle{grid-template-columns:1fr 1fr;padding:15px}.strategy-toggle>span{grid-column:1/-1}.allocation-list{padding-inline:17px}.allocation{grid-template-columns:45px 1fr 75px;padding:16px 0}.allocation-icon{width:41px;height:41px}.allocation input{grid-area:2/1/auto/-1}.allocation output{grid-area:1/3}.turn-actions{grid-template-columns:1fr;padding:17px}.turn-actions .button{width:100%}.game-sidebar{grid-template-columns:1fr}.finish-panel{padding:42px 18px;position:relative}.finish-panel h2{font-size:37px}.finish-stats{grid-template-columns:1fr}.finish-stats span{border-bottom:1px solid #ffffff4d;border-right:0}.finish-save{width:100%;display:grid}.finish-save input{min-height:52px}.leaderboard{grid-template-columns:1fr;gap:25px;margin-top:60px;padding-top:50px}.leaderboard-board>div{grid-template-columns:42px 1fr 50px 72px;padding-inline:12px}.rules-hero{padding:50px 18px}.rules-hero h1{font-size:clamp(49px,14vw,70px)}.rules-jump{padding-inline:16px}.rules-list{padding:45px 18px}.rules-list article{grid-template-columns:55px 1fr;gap:16px}.rule-number{grid-column:1}.rule-icon{grid-area:2/1;width:52px;height:52px;font-size:24px}.rules-list article>div:last-child{grid-area:1/2/3}.rules-list h2{font-size:25px}.rules-list p{font-size:15px}.rules-example{padding:55px 18px}footer{grid-template-columns:1fr;gap:15px;padding-block:30px}.footer-brand{margin-bottom:5px}.happiness-chart{padding:55px 18px}.happiness-chart-heading{display:block}.chart-result{margin-top:24px}.chart-controls{grid-template-columns:1fr;gap:20px;margin-top:30px}.chart-legend{gap:12px}.happiness-chart svg text{font-size:11px}.chart-formula{padding:18px}.leaderboard-board>div{grid-template-columns:42px 1fr 45px 92px}}.site-header nav{align-items:center}.site-header nav .sign-in{background:var(--orange);color:#fff;border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink)}.site-header nav .auth-link{padding-inline:14px}.account-chip{border:2px solid var(--ink);background:var(--lime);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;align-items:center;gap:7px;max-width:180px;padding:9px 13px;font-size:12px;font-weight:900;display:flex;overflow:hidden}.account-chip>span{background:var(--ink);color:#fff;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;display:grid}.save-bar{border-bottom:2px solid var(--ink);background:var(--yellow);justify-content:space-between;align-items:center;min-height:52px;padding:9px 22px;font-size:12px;display:flex}.save-bar.cloud{background:var(--lime)}.save-bar>div{align-items:center;gap:9px;display:flex}.save-bar>div>span{font-size:21px}.save-bar b{font-size:13px}.save-bar small{color:var(--muted);border-left:1px solid #123c2f4d;padding-left:10px}.save-bar>a{border:2px solid var(--ink);background:var(--cream);border-radius:999px;padding:8px 12px;font-weight:900}.finish-login{color:var(--yellow);margin-top:14px;font-size:12px;font-weight:900;text-decoration:underline}@media (max-width:760px){.site-header nav>a:not(.auth-link){display:none}.site-header nav a{padding:9px 10px;font-size:11px}.account-chip{max-width:110px;padding:7px 9px}.site-header nav .auth-link{padding-inline:9px}.save-bar{padding:9px 12px}.save-bar small{display:none}.save-bar>a{padding:7px 9px;font-size:10px}}.language-switch{border:2px solid var(--ink);background:var(--blue);min-height:42px;color:var(--ink);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:0 13px;font-size:12px;font-weight:900;display:flex}.language-switch:hover{background:var(--yellow)}.language-switch span{font-family:Arial,sans-serif;font-size:11px}@media (max-width:760px){.language-switch{min-height:38px;padding-inline:9px}.language-switch span{display:none}}.family-choice{border-bottom:2px solid var(--ink);background:#ffd6c4;justify-content:space-between;align-items:center;gap:20px;padding:17px 28px;display:flex}.family-choice>div{align-items:center;gap:13px;display:flex}.family-choice>div>span{border:2px solid var(--ink);background:var(--cream);border-radius:13px;place-items:center;width:45px;height:45px;font-size:24px;display:grid}.family-choice p{margin:0}.family-choice b,.family-choice small{display:block}.family-choice b{font-size:15px}.family-choice small{color:#52675e;margin-top:4px;font-size:10px}.family-choice button,.family-choice>strong{border:2px solid var(--ink);background:var(--lime);box-shadow:3px 3px 0 var(--ink);white-space:nowrap;border-radius:11px;padding:10px 15px;font-size:12px;font-weight:950}.family-choice button{cursor:pointer}.family-choice.active{background:#fff0b8}.family-choice.grown{background:#dcebb8}.time-allocation{border-bottom:2px solid var(--ink);background:var(--blue);padding:22px 28px}.time-head{justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;display:flex}.time-head b,.time-head small{display:block}.time-head b{font-size:17px}.time-head small{color:#405f55;margin-top:5px;font-size:11px}.time-head strong{border:2px solid var(--ink);background:var(--cream);box-shadow:3px 3px 0 var(--ink);border-radius:12px;padding:9px 13px;font:950 17px/1 Courier New,monospace}.time-grid{gap:9px;display:grid}.time-row{background:#ffffff8c;border:1px solid #123c2f59;border-radius:12px;grid-template-columns:230px 1fr 54px;align-items:center;gap:14px;padding:12px 14px;display:grid}.time-row span b,.time-row span small{display:block}.time-row span b{font-size:13px}.time-row span small{color:#48675c;margin-top:3px;font-size:9px}.time-row input{width:100%;accent-color:var(--ink)}.time-row output{text-align:right;font:950 17px/1 Courier New,monospace}.time-effects{flex-wrap:wrap;gap:7px;margin-top:13px;display:flex}.time-effects span,.time-effects em{background:#123c2f1a;border-radius:999px;padding:6px 9px;font-size:10px;font-style:normal;font-weight:850}.time-effects em{background:var(--yellow)}.allocation.locked{opacity:.72;background:#123c2f0f}.allocation.locked input{cursor:not-allowed}.asset-dot.stable{background:#6fbf73}.asset-dot.growth{background:var(--orange)}@media (max-width:760px){.family-choice{flex-direction:column;align-items:flex-start;padding:15px 17px}.family-choice button,.family-choice>strong{margin-left:58px}.time-allocation{padding:18px 17px}.time-head{align-items:flex-start}.time-row{grid-template-columns:1fr 45px}.time-row>span{grid-column:1/-1}.time-row input{grid-column:1}.time-row output{grid-column:2}}.education-choice{border-bottom:2px solid var(--ink);background:var(--yellow);grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:18px 28px;display:grid}.education-choice b,.education-choice small{display:block}.education-choice small{margin-top:5px;font-size:10px}.education-choice button,.account-action button,.claim-card button{border:2px solid var(--ink);background:var(--cream);cursor:pointer;border-radius:10px;padding:10px 13px;font-size:12px;font-weight:900}.education-choice button.active,.claim-card button{background:var(--ink);color:#fff}.retirement-actions{border-top:2px solid var(--ink);background:#f3ead5;padding:24px 28px}.retirement-actions h3{margin:0 0 14px;font-size:19px}.account-action{border-top:1px solid var(--line);grid-template-columns:1fr 120px 84px;align-items:center;gap:10px;min-height:67px;padding:10px 0;display:grid}.account-action b,.account-action small{display:block}.account-action b{font-size:12px}.account-action small{color:var(--muted);margin-top:4px;font-size:10px}.account-action input{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;padding:9px}.claim-card{border:2px solid var(--ink);background:var(--lime);border-radius:13px;justify-content:space-between;align-items:center;gap:15px;margin-top:12px;padding:16px;display:flex}.claim-card b,.claim-card small{display:block}.claim-card small{margin-top:5px;font-size:10px}.income-status{border:2px solid var(--ink);background:var(--blue);border-radius:10px;margin-top:10px;padding:13px;font-size:12px;font-weight:900}.auto-invest{border-bottom:2px solid var(--ink);background:#fffdf8;padding:18px 28px}.auto-invest.enabled{background:#e9f6df}.auto-toggle{cursor:pointer;align-items:center;gap:12px;display:flex}.auto-toggle>input{width:20px;height:20px;accent-color:var(--ink)}.auto-toggle b,.auto-toggle small{display:block}.auto-toggle small{color:var(--muted);margin-top:4px;font-size:10px}.auto-fields{grid-template-columns:170px 1fr auto;align-items:end;gap:16px;margin-top:15px;display:grid}.auto-fields label span{justify-content:space-between;margin-bottom:6px;font-size:11px;font-weight:900;display:flex}.auto-fields input[type=number]{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;padding:9px}.auto-fields input[type=range]{width:100%;accent-color:var(--ink)}.auto-fields>strong{white-space:nowrap;padding-bottom:10px;font-size:11px}@media (max-width:760px){.education-choice{grid-template-columns:1fr;padding:16px}.auto-invest{padding:16px}.auto-fields{grid-template-columns:1fr}.account-action{grid-template-columns:1fr 1fr}.account-action>span{grid-column:1/-1}.claim-card{flex-direction:column;align-items:stretch}.retirement-actions{padding:20px 17px}}.auto-fields{grid-template-columns:1fr;align-items:stretch}.auto-fields label{background:#ffffff85;border:1px solid #123c2f47;border-radius:11px;grid-template-columns:170px minmax(0,1fr);align-items:center;gap:12px;min-height:54px;padding:9px 11px;display:grid}.auto-fields label span{margin-bottom:0}.auto-fields>strong{grid-column:1/-1;padding-bottom:2px}@media (max-width:760px){.auto-fields{grid-template-columns:1fr}.auto-fields label{grid-template-columns:1fr;gap:7px}}.happiness-baseline{border-bottom:2px solid var(--ink);background:#fff0e7;padding:20px 28px}.baseline-title{align-items:center;gap:12px;display:flex}.baseline-title>span{border:2px solid var(--ink);background:var(--orange);border-radius:12px;place-items:center;width:42px;height:42px;font-size:22px;display:grid}.baseline-title>div{flex:1}.baseline-title b,.baseline-title small{display:block}.baseline-title b{font-size:14px}.baseline-title small{color:var(--muted);margin-top:5px;font-size:10px}.baseline-title strong{font:950 15px/1 Courier New,monospace}.baseline-track{border:2px solid var(--ink);background:#fff;border-radius:999px;height:14px;margin-top:15px;position:relative}.baseline-track>span{background:linear-gradient(90deg,var(--yellow),var(--orange));border-radius:999px;max-width:100%;height:100%;transition:width .2s;display:block}.baseline-track>i{background:var(--ink);width:3px;position:absolute;top:-6px;bottom:-6px;transform:translate(-3px)}.happiness-baseline p{color:#53675e;margin:10px 0 0;font-size:11px;line-height:1.5}.happiness-baseline.above{background:#ffe4c3}.happiness-baseline.above .baseline-track>span{background:var(--orange)}.longevity-choice{border-bottom:2px solid var(--ink);background:#dff4ff;padding:20px 28px}.longevity-head{align-items:center;gap:12px;display:flex}.longevity-head>span{border:2px solid var(--ink);background:var(--blue);border-radius:13px;place-items:center;width:44px;height:44px;font-size:22px;display:grid}.longevity-head>div{flex:1}.longevity-head b,.longevity-head small{display:block}.longevity-head b{font-size:15px}.longevity-head small{color:var(--muted);margin-top:4px;font-size:10px}.longevity-head>strong{border:2px solid var(--ink);background:var(--lime);border-radius:10px;padding:9px 12px;font:950 15px/1 Courier New,monospace}.longevity-choice>label{grid-template-columns:210px 1fr 58px;align-items:center;gap:14px;margin-top:16px;font-size:11px;font-weight:900;display:grid}.longevity-choice input{width:100%;accent-color:var(--ink)}.longevity-choice output{text-align:right;font:950 16px/1 Courier New,monospace}.longevity-stats{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px;display:grid}.longevity-stats span{background:#ffffff9e;border:1px solid #123c2f52;border-radius:10px;padding:10px 12px}.longevity-stats small,.longevity-stats b{display:block}.longevity-stats small{color:var(--muted);font-size:9px}.longevity-stats b{margin-top:4px;font:950 13px/1 Courier New,monospace}.longevity-options{grid-template-columns:repeat(10,1fr);gap:6px;margin-top:14px;display:grid}.longevity-options button{min-width:0;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #123c2f73;border-radius:9px;padding:9px 4px;font-size:11px;font-weight:950}.longevity-options button:hover,.longevity-options button.active{border:2px solid var(--ink);background:var(--lime);box-shadow:2px 2px 0 var(--ink)}@media (max-width:760px){.happiness-baseline,.longevity-choice{padding:18px 17px}.baseline-title,.longevity-head{flex-wrap:wrap;align-items:flex-start}.baseline-title strong{width:100%;padding-left:54px}.longevity-head>strong{margin-left:56px}.longevity-choice>label{grid-template-columns:1fr 50px}.longevity-choice>label>span{grid-column:1/-1}.longevity-stats{grid-template-columns:1fr 1fr}.longevity-options{grid-template-columns:repeat(5,1fr)}}@media (min-width:1180px){.play-section{padding:28px clamp(16px,2vw,32px) 42px}.play-heading{align-items:center;margin-bottom:16px}.play-heading h2{margin:5px 0 4px;font-size:38px}.play-heading p{font-size:12px;line-height:1.4}.game-frame{box-shadow:8px 8px 0 var(--ink);border-radius:16px}.save-bar{padding-block:7px}.game-topbar{grid-template-columns:210px 1fr 90px;gap:14px;min-height:72px;padding:10px 16px}.age-token>span{border-radius:12px;width:43px;height:43px;font-size:23px}.age-token b{font-size:15px}.turn-number b{font-size:21px}.scoreboard{grid-template-columns:1fr 1fr 220px}.score{min-height:64px;padding:10px 15px}.score b{text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:3px;font-size:20px;overflow:hidden}.market-pill{padding:10px 14px}.market-pill b{margin:4px 0;font-size:17px}.game-body{grid-template-columns:minmax(0,1fr) 350px}.decision-panel{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"education education""family family""title cash""time newmoney""baseline baseline""longevity longevity""allocation allocation""retirement retirement";align-content:start;display:grid}.education-choice{grid-area:education;padding:9px 14px}.family-choice{grid-area:family;padding:9px 14px}.panel-title{grid-area:title;padding:12px 15px}.panel-title h3{font-size:20px}.cash-equation{grid-area:cash;padding:10px 14px}.cash-equation span b{overflow-wrap:anywhere;font-size:12px}.time-allocation{grid-area:time;padding:12px 14px}.time-head{margin-bottom:8px}.time-head b{font-size:14px}.time-row{grid-template-columns:150px 1fr 38px;gap:8px;min-height:44px;padding:6px 8px}.time-row output{font-size:13px}.time-effects{margin-top:7px}.time-effects span,.time-effects em{padding:4px 6px;font-size:8px}.happiness-baseline{grid-area:baseline;padding:12px 14px}.baseline-title>span{width:34px;height:34px}.baseline-track{height:10px;margin-top:9px}.happiness-baseline p{margin-top:7px;font-size:9px}.longevity-choice{grid-area:longevity;padding:12px 14px}.longevity-head>span{width:36px;height:36px}.longevity-options,.longevity-stats{margin-top:9px}.longevity-stats span{padding:7px 9px}.auto-invest{grid-area:newmoney;padding:12px 14px}.auto-fields{grid-template-columns:1fr;gap:8px;margin-top:9px}.auto-fields label{grid-template-columns:140px minmax(0,1fr);min-height:44px;padding:6px 8px}.auto-fields label span,.auto-fields>strong{font-size:9px}.allocation-list{grid-area:allocation;min-width:0;padding:0 14px}.allocation{grid-template-columns:34px 170px minmax(0,1fr) 84px;gap:9px;min-height:58px}.allocation-icon{border-radius:9px;width:30px;height:30px;font-size:16px}.allocation-copy b{font-size:11px}.allocation-copy small{margin-top:2px;font-size:8px}.allocation output{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;overflow:hidden}.retirement-actions{grid-area:retirement;padding:12px 14px}.retirement-actions h3{margin-bottom:8px;font-size:15px}.account-action{grid-template-columns:1fr 88px 72px;min-height:48px;padding:6px 0}.account-action small{font-size:8px}.account-action input{padding:6px}.claim-card{margin-top:7px;padding:9px}.income-status{padding:8px}.game-sidebar{gap:9px;padding:10px}.event-card,.assets-card,.month-log{border-radius:11px;min-width:0;padding:12px}.event-icon{font-size:25px}.event-card>small{margin-top:7px}.event-card h3{margin:3px 0 5px;font-size:18px}.event-card p{font-size:10px;line-height:1.4}.side-title{min-width:0}.side-title h3{font-size:14px}.side-title small{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:105px;font-size:10px;overflow:hidden}.asset-row{grid-template-columns:8px minmax(0,1fr) minmax(0,105px);padding:7px 0;font-size:10px}.asset-row b{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:10px;overflow:hidden}.month-log h3{font-size:14px}.month-log>div{min-width:0;padding:6px 0;font-size:9px}.month-log>div span{min-width:0}.month-log b{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:108px;font-size:9px;overflow:hidden}}@media (min-width:1500px){.decision-panel{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:"education education education education education education""family family family family family family""title title cash cash cash cash""time time time newmoney newmoney newmoney""baseline baseline baseline baseline baseline baseline""longevity longevity longevity longevity longevity longevity""allocation allocation allocation allocation allocation allocation""retirement retirement retirement retirement retirement retirement"}.game-body{grid-template-columns:minmax(0,1fr) 370px}}.stock-transfer{border-bottom:1px solid var(--line);grid-template-columns:34px 170px 84px minmax(330px,1fr);align-items:center;gap:9px;min-height:72px;display:grid}.stock-transfer>output{text-align:right;font:950 11px/1 Courier New,monospace}.stock-transfer-controls{grid-template-columns:minmax(90px,1fr) auto auto;gap:7px;display:grid}.stock-transfer-controls input{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;padding:7px}.stock-transfer-controls button{border:2px solid var(--ink);background:var(--cream);cursor:pointer;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:900}.stock-transfer-controls button:first-of-type{background:var(--lime)}.stock-transfer-controls button:disabled{cursor:not-allowed;opacity:.45}@media (max-width:760px){.stock-transfer{grid-template-columns:41px 1fr auto;padding:14px 0}.stock-transfer>output{grid-column:3}.stock-transfer-controls{grid-column:1/-1;grid-template-columns:1fr 1fr}.stock-transfer-controls input{grid-column:1/-1}}.baseline-metrics{justify-items:end;gap:5px;display:grid;flex:none!important}.baseline-metrics em{background:var(--lime);white-space:nowrap;border-radius:8px;padding:6px 9px;font-size:10px;font-style:normal;font-weight:950}.baseline-metrics em.warning{color:var(--red);background:#ffd3c7}.sidebar-actions{border:2px solid var(--ink);background:#eef3e8;border-radius:11px;gap:8px;padding:12px;display:grid}.sidebar-actions small{color:var(--muted);font-size:9px;line-height:1.4}.sidebar-actions .button{width:100%;min-height:42px;padding-inline:10px;font-size:11px}.game-sidebar>.game-topbar{border:2px solid var(--ink);border-radius:11px;grid-template-columns:1fr auto;gap:10px;min-height:0;padding:12px}.game-sidebar>.game-topbar .age-token>span{width:40px;height:40px;font-size:21px}.game-sidebar>.game-topbar .life-progress{grid-area:2/1/auto/-1}.game-sidebar>.game-topbar .turn-number{grid-area:1/2}.game-sidebar>.scoreboard{border:2px solid var(--ink);background:#fff;border-radius:11px;grid-template-columns:1fr 1fr;overflow:hidden}.game-sidebar>.scoreboard .score{min-width:0;min-height:58px;padding:9px}.game-sidebar>.scoreboard .score>span{font-size:18px}.game-sidebar>.scoreboard .score b{font-size:15px}.game-sidebar>.scoreboard .market-pill{grid-column:1/-1;padding:9px}.game-sidebar>.scoreboard .market-pill b{font-size:14px}.game-sidebar>.scoreboard .market-pill small,.game-sidebar>.scoreboard .market-pill span{font-size:8px}@media (max-width:1100px){.game-sidebar>.game-topbar,.game-sidebar>.scoreboard,.sidebar-actions{grid-column:1/-1}}@media (max-width:760px){.baseline-title{align-items:flex-start}.baseline-metrics{justify-items:start;width:100%;padding-left:54px}.game-sidebar>.game-topbar,.game-sidebar>.scoreboard,.sidebar-actions{grid-column:1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.legal-page{background:radial-gradient(circle at 12% 8%,#d8ef728c,transparent 30rem),var(--paper);min-height:100vh;padding:72px clamp(20px,8vw,120px)}.legal-card{border:3px solid var(--ink);background:var(--cream);max-width:980px;box-shadow:14px 14px 0 var(--ink);border-radius:26px;margin:0 auto;padding:clamp(28px,5vw,68px)}.legal-card h1{letter-spacing:-.065em;margin:18px 0 14px;font-size:clamp(42px,6vw,74px);line-height:1}.legal-card h1 em{color:var(--orange);font-style:normal}.legal-card h2{letter-spacing:-.035em;margin:38px 0 10px;font-size:25px}.legal-card p{color:#53675e;margin:9px 0;font-size:15px;line-height:1.8}.legal-date{font-weight:800}.legal-links{border-top:2px solid var(--ink);flex-wrap:wrap;gap:16px 24px;margin-top:40px;padding-top:24px;display:flex}.legal-links a{border-bottom:2px solid var(--ink);font-weight:900}.delete-control{margin-top:28px}.delete-control .button{max-width:100%}.legal-success{font-weight:800;color:#218553!important}.legal-error{font-weight:800;color:var(--red)!important}.rules-list .rule-resource-link{color:#6a776f;margin-top:12px;font-size:14px}.rule-resource-link a{color:var(--ink);border-bottom:2px solid var(--lime);font-weight:900}@media (max-width:760px){html{scroll-padding-top:calc(64px + env(safe-area-inset-top));overscroll-behavior-y:none}body{-webkit-text-size-adjust:100%;text-rendering:optimizelegibility;overscroll-behavior-y:none;font-size:16px}button,a,input{touch-action:manipulation}input[type=number],input[type=text]{font-size:16px}.site-shell{min-height:100dvh;overflow:clip}.site-header{z-index:50;height:auto;min-height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;background:#f8f1dff5;position:sticky;top:0;box-shadow:0 2px 14px #123c2f1f}.site-header .brand{gap:9px;min-width:0}.site-header .brand-coin{width:34px;height:34px;box-shadow:2px 2px 0 var(--ink);font-size:19px}.site-header .brand b{letter-spacing:-.035em;font-size:17px}.site-header nav{gap:6px;min-width:0}.site-header nav a{justify-content:center;align-items:center;min-height:40px;display:inline-flex}.site-header nav .sign-in{box-shadow:2px 2px 0 var(--ink);padding-inline:11px}.site-header nav .auth-link{padding-inline:7px}.language-switch{min-width:42px;min-height:40px;padding-inline:8px}.account-chip{max-width:76px;min-height:40px;padding:6px 8px}.eyebrow{letter-spacing:.1em;font-size:10px}.button{border-radius:14px;min-height:52px;padding-inline:18px;font-size:15px}.hero{background:radial-gradient(circle at 12% 12%,#d8ef7285,transparent 20rem),var(--paper);gap:26px;min-height:auto;padding:28px 16px 42px}.hero-copy h1{letter-spacing:-.067em;margin:16px 0 18px;font-size:clamp(43px,13vw,58px);line-height:.95}.hero-copy>p{font-size:15px;line-height:1.68}.hero-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.hero-actions .button{width:100%;padding-inline:10px}.hero-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:24px;display:grid}.hero-facts span{text-align:center;background:#ffffff94;border:1px solid #123c2f38;border-radius:14px;min-width:0;padding:12px 8px;font-size:10px;line-height:1.35}.hero-facts b{white-space:nowrap;margin-bottom:4px;font-size:17px}.hero-art{margin:0}.hero-art picture{display:block}.hero-art img{aspect-ratio:3/2;object-fit:cover;object-position:center;width:100%;height:auto;box-shadow:6px 6px 0 var(--ink);border-radius:20px}.hero-art figcaption{box-shadow:3px 3px 0 var(--ink);background:#80c6e8f0;border-radius:11px;margin:0;padding:10px 12px;font-size:11px;line-height:1.4;position:absolute;bottom:12px;left:12px;right:12px;transform:none}.game-intro,.life-road{padding:48px 16px}.section-lead h2,.section-heading h2,.play-heading h2{margin:10px 0 13px;font-size:36px;line-height:1.02}.section-lead p,.play-heading p{font-size:15px;line-height:1.65}.resource-cards{gap:12px;margin-top:28px}.resource{min-height:0;box-shadow:4px 4px 0 var(--ink);border-radius:18px;grid-template-rows:auto auto;grid-template-columns:52px minmax(0,1fr);gap:6px 15px;padding:20px;display:grid}.resource:hover{transform:none}.resource>span{border-radius:15px;grid-row:1/3;width:52px;height:52px;font-size:25px}.resource h3{grid-column:2;align-self:end;margin:0;font-size:24px}.resource p{grid-column:2;margin:0;font-size:14px;line-height:1.62}.life-road{overflow:hidden}.section-heading>a,.play-heading>a{margin-top:10px;font-size:13px}.road-line{overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;grid-template-columns:none;grid-auto-columns:minmax(166px,70vw);grid-auto-flow:column;gap:12px;margin:28px -16px 0;padding:0 16px 12px;overflow-x:auto}.road-line::-webkit-scrollbar{display:none}.rules-jump::-webkit-scrollbar{display:none}.road-line article{border:2px solid var(--ink);scroll-snap-align:start;text-align:left;background:#ffffff8c;border-radius:18px;min-height:250px;padding:20px 16px}.road-line article:nth-child(2n){background:#ffe26685}.stage-icon{width:58px;height:58px;box-shadow:3px 3px 0 var(--ink);border-width:2px;margin:0 0 18px;font-size:27px}.road-line article>b{font-size:31px}.road-line h3{margin:7px 0;font-size:20px}.road-line p{font-size:13px;line-height:1.55}.play-section{padding:48px 0 max(72px,env(safe-area-inset-bottom))}.play-heading{margin-bottom:24px;padding-inline:16px}.play-heading>a{align-items:center;min-height:42px;display:inline-flex}.game-frame{box-shadow:none;border-inline:0;border-radius:0;overflow:hidden}.save-bar{min-height:48px;padding:8px 12px;font-size:11px}.save-bar b{font-size:12px}.save-bar>a{align-items:center;min-height:34px;display:flex}.game-body{background:#f4edda;flex-direction:column;display:flex}.decision-panel{border-right:0;border-bottom:2px solid var(--ink);background:var(--cream);order:3}.game-sidebar{display:contents}.game-sidebar>.game-topbar{background:var(--ink);border:0;border-radius:0;order:0;margin:0;padding:14px 16px}.game-sidebar>.scoreboard{border:0;border-bottom:2px solid var(--ink);border-radius:0;order:1;margin:0}.game-sidebar>.event-card{order:2;margin:12px 12px 0}.game-sidebar>.assets-card{order:4;margin:12px 12px 0}.game-sidebar>.month-log{order:5;margin:0 12px}.game-sidebar>.sidebar-actions{padding-bottom:calc(12px + env(safe-area-inset-bottom));order:6;margin:0 12px 12px}.game-sidebar>.game-topbar .age-token>span{border-radius:13px;width:44px;height:44px;font-size:23px}.game-sidebar>.game-topbar .age-token b{font-size:17px}.game-sidebar>.game-topbar .age-token em{font-size:11px}.game-sidebar>.game-topbar .turn-number b{font-size:23px}.game-sidebar>.game-topbar .life-progress>div{height:12px}.game-sidebar>.scoreboard .score{min-height:76px;padding:12px 14px}.game-sidebar>.scoreboard .score>span{font-size:22px}.game-sidebar>.scoreboard .score small{font-size:10px}.game-sidebar>.scoreboard .score b{font-size:19px}.game-sidebar>.scoreboard .market-pill{padding:11px 14px}.game-sidebar>.scoreboard .market-pill small,.game-sidebar>.scoreboard .market-pill span{font-size:9px}.game-sidebar>.scoreboard .market-pill b{font-size:16px}.event-card,.assets-card,.month-log{border-radius:16px;padding:17px}.event-card{box-shadow:4px 4px 0 var(--ink)}.event-icon{font-size:29px}.event-card>small{margin-top:9px;font-size:9px}.event-card h3{margin:4px 0 7px;font-size:22px}.event-card p{font-size:13px;line-height:1.55}.panel-title{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px;display:grid}.panel-title span{font-size:10px}.panel-title h3{font-size:24px;line-height:1.08}.available{border-radius:12px;max-width:138px;padding:9px 10px}.available small{font-size:9px}.available b{text-overflow:ellipsis;max-width:116px;font-size:17px;overflow:hidden}.cash-equation{background:#eef3e8;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;display:grid}.cash-equation i{display:none!important}.cash-equation span,.cash-equation span:nth-of-type(3),.cash-equation span:nth-of-type(4){background:#ffffffb8;border:1px solid #123c2f33;border-radius:12px;min-width:0;padding:11px;display:block}.cash-equation span small{font-size:9px;line-height:1.3}.cash-equation span b{text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:14px;overflow:hidden}.education-choice{gap:8px;padding:14px}.education-choice>div{padding-bottom:3px}.education-choice b{font-size:15px}.education-choice small{font-size:11px;line-height:1.5}.education-choice button{min-height:48px;font-size:13px}.family-choice{gap:12px;padding:15px 16px}.family-choice>div{align-items:flex-start}.family-choice>div>span{flex:0 0 44px}.family-choice b{font-size:14px}.family-choice small{font-size:11px;line-height:1.45}.family-choice button,.family-choice>strong{align-items:center;min-height:44px;margin-left:57px;display:flex}.time-allocation{padding:18px 14px}.time-head{margin-bottom:13px}.time-head b{font-size:18px}.time-head small{font-size:11px;line-height:1.4}.time-head strong{flex:none;padding:9px 11px;font-size:16px}.time-grid{gap:10px}.time-row{border-radius:14px;grid-template-columns:minmax(0,1fr) 44px;gap:8px 10px;min-height:100px;padding:13px}.time-row>span{grid-column:1/-1}.time-row span b{font-size:14px}.time-row span small{margin-top:4px;font-size:10px;line-height:1.4}.time-row input{min-height:32px}.time-row output{font-size:16px}.time-effects{gap:6px;margin-top:12px}.time-effects span,.time-effects em{padding:7px 9px;font-size:9px;line-height:1.35}.auto-invest{padding:18px 14px}.auto-toggle b{font-size:17px}.auto-toggle small{font-size:11px;line-height:1.5}.auto-fields{gap:9px;margin-top:13px}.auto-fields label{border-radius:13px;gap:8px;min-height:78px;padding:11px 12px}.auto-fields label span{font-size:12px}.auto-fields input[type=range]{min-height:30px}.auto-fields>strong{white-space:normal;padding:3px 2px 0;font-size:11px;line-height:1.4}.happiness-baseline{padding:18px 14px}.baseline-title{gap:11px}.baseline-title>span{width:44px;height:44px}.baseline-title b{font-size:15px}.baseline-title small{font-size:10px;line-height:1.4}.baseline-metrics{gap:7px;padding-left:55px}.baseline-metrics strong{font-size:15px}.baseline-metrics em{padding:7px 10px;font-size:11px}.baseline-track{height:13px}.happiness-baseline p{font-size:11px;line-height:1.5}.longevity-choice{padding:18px 14px}.longevity-head b{font-size:15px}.longevity-head small{font-size:10px;line-height:1.45}.longevity-options{gap:7px}.longevity-options button{min-height:44px;font-size:11px}.longevity-stats span{padding:11px}.allocation-list{padding:4px 12px 10px}.stock-transfer,.allocation{background:#fff9;border:1px solid #123c2f33;border-radius:15px;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;min-height:0;margin-top:10px;padding:13px}.allocation-icon{border-radius:12px;width:42px;height:42px;font-size:21px}.allocation-copy b{font-size:14px}.allocation-copy small{margin-top:4px;font-size:10px;line-height:1.4}.stock-transfer>output,.allocation output{text-overflow:ellipsis;white-space:nowrap;max-width:104px;font-size:13px;overflow:hidden}.stock-transfer-controls{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px}.stock-transfer-controls input{border-radius:11px;grid-column:1/-1;min-height:48px;padding:10px 12px}.stock-transfer-controls button{border-radius:11px;min-height:46px;font-size:12px}.allocation input{grid-area:auto/1/auto/-1;min-height:34px;margin-top:3px}.allocation output{grid-area:1/3}.retirement-actions{padding:20px 14px}.retirement-actions h3{font-size:19px}.account-action{grid-template-columns:1fr 1fr;gap:9px;padding:14px 0}.account-action b{font-size:14px}.account-action small{font-size:10px;line-height:1.45}.account-action input,.account-action button{min-height:48px}.claim-card{border-radius:14px;padding:14px}.claim-card b{font-size:14px}.claim-card small{font-size:10px;line-height:1.5}.claim-card button{min-height:48px}.income-status{padding:12px;font-size:11px;line-height:1.45}.side-title h3,.month-log h3{font-size:17px}.side-title small{max-width:130px;font-size:12px}.asset-row{min-height:44px;padding:10px 0;font-size:12px}.asset-row b{max-width:130px;font-size:12px}.month-log>div{min-height:42px;padding:9px 0;font-size:11px}.month-log b{max-width:130px;font-size:11px}.sidebar-actions{background:#eef3e8f7;border-radius:15px;gap:9px}.sidebar-actions small{font-size:10px;line-height:1.45}.sidebar-actions .button{border-radius:12px;min-height:52px;font-size:14px}.leaderboard{gap:22px;margin-top:52px;padding:42px 16px 0}.leaderboard h2{font-size:36px}.leaderboard>div>p{font-size:14px}.leaderboard-board{box-shadow:5px 5px 0 var(--ink);border-radius:16px}.leaderboard-board>div{grid-template-columns:38px minmax(0,1fr) 38px 86px;min-height:62px;padding:0 10px}.leaderboard-board b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.leaderboard-board strong{font-size:14px}.rules-hero{gap:28px;min-height:auto;padding:34px 16px 40px}.rules-hero h1{margin:14px 0 17px;font-size:clamp(41px,12.2vw,55px);line-height:.96}.rules-hero p{margin-bottom:22px;font-size:15px;line-height:1.68}.rules-hero .button{width:100%}.rules-hero picture{display:block}.rules-hero picture img{aspect-ratio:3/2;object-fit:cover;object-position:center;width:100%;box-shadow:6px 6px 0 var(--ink);border-radius:20px;transform:none}.rules-jump{top:calc(60px + env(safe-area-inset-top));z-index:15;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);scroll-snap-type:x proximity;scrollbar-width:none;background:#f8f1dff5;gap:7px;padding:10px 12px;position:sticky}.rules-jump b{margin-right:3px;font-size:11px}.rules-jump a{scroll-snap-align:start;background:#fff;border-radius:999px;align-items:center;min-height:38px;padding:10px 12px;font-size:11px;display:flex}.rules-list{background:#efe5ce;padding:16px}.rules-list article{border:2px solid var(--ink);background:var(--cream);border-radius:18px;grid-template-columns:46px minmax(0,1fr);gap:10px 13px;min-height:0;margin-bottom:12px;padding:18px 16px;box-shadow:3px 3px #123c2fe6}.rules-list article:last-child{margin-bottom:0}.rule-number{text-align:center;font-size:14px}.rule-icon{width:46px;height:46px;box-shadow:2px 2px 0 var(--ink);border-radius:13px;font-size:22px}.rules-list article>div:last-child{grid-area:1/2/3}.rules-list h2{margin-bottom:9px;font-size:22px;line-height:1.15}.rules-list p{font-size:15px;line-height:1.72}.happiness-chart{padding:48px 16px}.happiness-chart-heading h2{font-size:34px;line-height:1.05}.happiness-chart-heading p{font-size:14px;line-height:1.6}.chart-result{min-width:0;box-shadow:4px 4px 0 var(--ink);border-radius:14px;margin-top:18px;padding:15px 17px}.chart-result strong{font-size:29px}.chart-controls{gap:10px;margin:26px 0 20px}.chart-controls label{background:#ffffff8c;border:1px solid #123c2f38;border-radius:13px;padding:13px}.chart-controls label span{font-size:12px}.chart-controls input{min-height:32px}.chart-legend{font-size:11px;line-height:1.4}.happiness-chart svg text{font-size:23px}.happiness-chart svg .axis-title{font-size:21px}.curve-selected{stroke-width:9px}.curve-reference{stroke-width:5px}.chart-formula{border-radius:14px;padding:17px}.chart-formula code{font-size:12px;line-height:1.65}.chart-formula p{font-size:13px;line-height:1.6}.rules-example{padding:48px 16px}.rules-example h2{margin:10px 0 24px;font-size:34px;line-height:1.08}.example-flow{gap:7px}.example-flow span{text-align:left;border-radius:13px;padding:15px}.example-flow small{font-size:11px}.example-flow b{font-size:18px}.example-flow i{font-size:18px;transform:rotate(90deg)}.rules-example>p{margin-top:24px;font-size:14px;line-height:1.65}.rules-cta{padding:62px 16px calc(62px + env(safe-area-inset-bottom))}.rules-cta h2{font-size:40px;line-height:1.05}.rules-cta .button{width:100%}footer{min-height:0;padding:28px 16px calc(28px + env(safe-area-inset-bottom));gap:14px}footer p{font-size:11px;line-height:1.55}.footer-links{justify-content:flex-start;gap:12px 18px}.footer-links a{align-items:center;min-height:34px;display:flex}.legal-page{padding:24px 14px calc(40px + env(safe-area-inset-bottom))}.legal-card{box-shadow:6px 6px 0 var(--ink);border-width:2px;border-radius:20px;padding:26px 20px}.legal-card h1{font-size:38px}.legal-card h2{margin-top:30px;font-size:21px}.legal-card p{font-size:14px;line-height:1.7}.legal-links{gap:14px;display:grid}.delete-control .button{width:100%;height:auto;padding-block:14px;line-height:1.4}}@media (max-width:420px){.site-header{padding-inline:10px}.site-header .brand b{font-size:16px}.account-chip{max-width:62px}.hero-actions{grid-template-columns:1fr}.hero-facts b{font-size:15px}.panel-title{grid-template-columns:1fr}.available{text-align:left;max-width:none}.available b{max-width:none}.longevity-options{grid-template-columns:repeat(3,1fr)}.leaderboard-board>div{grid-template-columns:34px minmax(0,1fr) 34px 78px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
