.game-scene{width:100%;max-width:100%;margin:0;overflow:hidden;border-radius:22px 22px 12px 12px;background:#eaf4fb;color:#3f4554}.game-scene-art{display:block;width:100%;max-width:100%;height:160px}.game-scene figcaption{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;padding:4px 13px 9px;font-size:12px;line-height:1.4}.game-scene figcaption>span:first-child{font-weight:700}.game-scene-caption-detail{color:#656979}.scene-choice-reaction{transform-box:fill-box;transform-origin:50% 100%;animation:scene-choice-nod .5s ease-out both}.scene-person-breathe{transform-box:fill-box;transform-origin:50% 100%;animation:scene-breathe 4.8s ease-in-out infinite}.scene-person-head{--head-tilt: 0deg;transform-box:fill-box;transform-origin:50% 90%;transform:rotate(var(--head-tilt))}.game-scene[data-health=exhausted] .scene-person-head{--head-tilt: -4deg}.game-scene[data-health=tired] .scene-person-head{--head-tilt: -2deg}.game-scene[data-talking=true] .scene-person-head{animation:scene-talk-nod 2.2s ease-in-out infinite}.scene-eyes{transform-box:fill-box;transform-origin:50% 50%;animation:scene-blink 6.4s ease-in-out infinite}.scene-mouth-talk{opacity:0}.game-scene[data-talking=true] .scene-mouth-talk{transform-box:fill-box;transform-origin:center;animation:scene-speak .38s steps(1,end) infinite}.game-scene[data-talking=true] .scene-mouth-rest{animation:scene-mouth-rest .38s steps(1,end) infinite}.scene-voice{animation:scene-voice 1.1s ease-in-out infinite}.scene-plant-leaves{transform-box:fill-box;transform-origin:50% 100%;animation:scene-plant-sway 7.5s ease-in-out infinite}.scene-steam{transform-box:fill-box;transform-origin:center;animation:scene-steam-rise 3.4s ease-in-out infinite}@keyframes scene-choice-nod{0%,to{transform:translateY(0)}38%{transform:translateY(-5px) rotate(-2deg)}72%{transform:translateY(1.5px) rotate(.5deg)}}@keyframes scene-talk-nod{0%,to{transform:rotate(var(--head-tilt))}35%{transform:translateY(1.4px) rotate(calc(var(--head-tilt) - 2deg))}70%{transform:rotate(calc(var(--head-tilt) + 1deg))}}@keyframes scene-breathe{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.013)}}@keyframes scene-blink{0%,90%,95%,to{transform:scaleY(1)}92%,93%{transform:scaleY(.12)}}@keyframes scene-speak{0%,52%{opacity:1;transform:scaleY(1)}28%,78%{opacity:0;transform:scaleY(.6)}}@keyframes scene-mouth-rest{0%,52%{opacity:0}28%,78%{opacity:1}}@keyframes scene-voice{0%,to{opacity:.25}50%{opacity:.9}}@keyframes scene-plant-sway{0%,to{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}@keyframes scene-steam-rise{0%,to{opacity:.25;transform:translateY(1px)}50%{opacity:.8;transform:translateY(-3px)}}.game-scene[data-animated=false] *,.game-scene[data-animated=false]{animation:none!important;transition:none!important}.game-scene[data-animated=false] .scene-mouth-talk,.game-scene[data-animated=false] .scene-voice{display:none}@media(max-height:680px){.game-scene-art{height:120px}.game-scene figcaption{padding-top:0;padding-bottom:7px}}@media(prefers-reduced-motion:reduce){.game-scene,.game-scene *{animation:none!important;transition:none!important}.scene-mouth-talk,.scene-voice{display:none}}.living-office-background,.living-office-foreground{pointer-events:none}.living-office-clay-highlights{display:none}.living-office-protagonist{transform-box:fill-box;transform-origin:50% 100%;animation:living-office-desk-life 8s ease-in-out infinite}.living-office-working-hand{transform-box:fill-box;transform-origin:50% 60%;animation:living-office-type .9s ease-in-out infinite}.living-office-cup-hand{transform-box:fill-box;transform-origin:20% 50%;animation:living-office-sip 8s ease-in-out infinite}.living-office-person-cup{opacity:0;animation:living-office-cup-appear 8s ease-in-out infinite}.living-office-sun{transform-box:fill-box;transform-origin:center;animation:living-office-sunrise 42s ease-in-out infinite}.living-office-cloud{animation:living-office-cloud-drift 20s ease-in-out infinite alternate}.living-office-passer{transform:translate(-70px,129px) scale(.76)}.living-office-coworker{animation:living-office-back-walk 24s linear infinite;animation-delay:-4s}.living-office-thief{animation:living-office-sneak 29s linear infinite;animation-delay:-14s}.living-office-cleaner{animation:living-office-clean 24s linear infinite;animation-delay:-4s}.living-office-walk-bob{animation:living-office-footstep .62s ease-in-out infinite}.living-office-leg-left,.living-office-leg-right,.living-office-walking-arm{transform-box:fill-box;transform-origin:50% 0%}.living-office-leg-left{animation:living-office-stride .62s ease-in-out infinite alternate}.living-office-leg-right{animation:living-office-stride .62s ease-in-out infinite alternate-reverse}.living-office-walking-arm{animation:living-office-arm-swing .62s ease-in-out infinite alternate}.living-office-cat{transform:translate(480px,174px) scale(.9);animation:living-office-cat-cross 21s linear infinite;animation-delay:-11s}.living-office-cat-bob{animation:living-office-footstep .4s ease-in-out infinite}.living-office-cat-tail{transform-box:fill-box;transform-origin:100% 100%;animation:living-office-arm-swing 1.8s ease-in-out infinite alternate}.living-office-mop{transform-box:fill-box;transform-origin:center;animation:living-office-mop-swish .7s ease-in-out infinite alternate}.living-office-falling-cup,.living-office-puddle,.living-office-coffee-splash{opacity:0;animation-duration:24s;animation-delay:-4s;animation-iteration-count:infinite}.living-office-falling-cup{transform-origin:316px 153px;animation-name:living-office-cup-fall}.living-office-puddle{animation-name:living-office-spill}.living-office-coffee-splash{animation-name:living-office-splash}.game-scene[data-illustration-style=clay]{background:#dce8e2;border-radius:27px 23px 18px 24px}.game-scene[data-illustration-style=clay] .living-office-wall{fill:#dce8e2}.game-scene[data-illustration-style=clay] .living-office-floor{fill:#d8ceb7}.game-scene[data-illustration-style=clay] .living-office-clay-highlights{display:inline}.game-scene[data-illustration-style=clay] .living-office-clay-contact-shadow{filter:blur(1.6px)}.game-scene[data-illustration-style=clay] .living-office-protagonist,.game-scene[data-illustration-style=clay] .living-office-walk-bob,.game-scene[data-illustration-style=clay] .living-office-cat-bob{filter:drop-shadow(1.5px 2.5px 1.8px #6b695c35) drop-shadow(-.6px -.8px .5px #fff8e990)}.game-scene[data-illustration-style=clay] .living-office-protagonist,.game-scene[data-illustration-style=clay] .living-office-working-hand,.game-scene[data-illustration-style=clay] .living-office-cup-hand,.game-scene[data-illustration-style=clay] .living-office-walk-bob,.game-scene[data-illustration-style=clay] .living-office-passer,.game-scene[data-illustration-style=clay] .living-office-cat{animation-timing-function:steps(12,end)}.game-scene[data-illustration-style=clay] .living-office-set>g>rect{rx:13px;stroke-width:2.6px}.game-scene[data-illustration-style=clay] .living-office-set [data-testid=scene-character]{stroke:#645751;stroke-width:2.3px}.game-scene[data-illustration-style=comic]{border:2px solid #3f384d;border-radius:5px 17px 7px 11px;background:#fff6d9}.game-scene[data-illustration-style=comic] .living-office-wall{fill:#fff6d9}.game-scene[data-illustration-style=comic] .living-office-floor{fill:#e0d7ed}.game-scene[data-illustration-style=comic] .living-office-set>g,.game-scene[data-illustration-style=comic] .living-office-set [data-testid=scene-character],.game-scene[data-illustration-style=comic] .living-office-foreground{stroke:#3f384d;stroke-width:2.5px}.game-scene[data-illustration-style=comic] .living-office-protagonist{animation-timing-function:cubic-bezier(.7,0,.3,1)}.game-scene[data-illustration-style=comic] .living-office-working-hand,.game-scene[data-illustration-style=comic] .living-office-walk-bob{animation-timing-function:steps(3,end)}.game-scene[data-illustration-style=comic] figcaption{background:#fffdf4;border-top:2px solid #3f384d}@keyframes living-office-desk-life{0%,to{transform:translate(0) rotate(0)}12%{transform:translate(1px,2px) rotate(2deg)}28%{transform:translate(-1px) rotate(-1deg)}46%{transform:translateY(2px) rotate(2deg)}64%,76%{transform:translateY(-5px) rotate(-4deg)}87%{transform:translateY(-1px) rotate(1deg)}}@keyframes living-office-type{0%,to{transform:translate(0)}35%{transform:translate(2px,-3px) rotate(-8deg)}65%{transform:translate(-1px,1px)}}@keyframes living-office-sip{0%,48%,94%,to{transform:translate(0)}63%,77%{transform:translate(-14px,-22px) rotate(-17deg)}}@keyframes living-office-cup-appear{0%,47%,93%,to{opacity:0}53%,85%{opacity:1}}@keyframes living-office-sunrise{0%,to{transform:translate(-8px,28px);fill:#f2ae87}35%{transform:translate(8px,-8px);fill:#ffdd84}65%{transform:translate(25px,-2px);fill:#ffdd84}}@keyframes living-office-cloud-drift{to{transform:translate(20px)}}@keyframes living-office-back-walk{0%{transform:translate(-55px,129px) scale(.76)}42%,to{transform:translate(455px,129px) scale(.76)}}@keyframes living-office-sneak{0%,42%{transform:translate(465px,172px) scale(.7)}83%,to{transform:translate(-55px,172px) scale(.7)}}@keyframes living-office-clean{0%,51%{transform:translate(465px,174px) scale(.72)}67%{transform:translate(318px,174px) scale(.72)}75%{transform:translate(302px,174px) scale(.72)}to{transform:translate(-55px,174px) scale(.72)}}@keyframes living-office-cat-cross{0%{transform:translate(460px,175px) scale(.85)}51%,to{transform:translate(-60px,175px) scale(.85)}}@keyframes living-office-footstep{0%,to{transform:translateY(0)}50%{transform:translateY(-2px) rotate(1.5deg)}}@keyframes living-office-stride{0%{transform:rotate(-22deg)}to{transform:rotate(22deg)}}@keyframes living-office-arm-swing{0%{transform:rotate(-10deg)}to{transform:rotate(10deg)}}@keyframes living-office-mop-swish{0%{transform:translate(-6px) rotate(-4deg)}to{transform:translate(6px) rotate(4deg)}}@keyframes living-office-cup-fall{0%,25%{opacity:0;transform:translateY(-9px) rotate(0)}27%{opacity:1;transform:translateY(-9px) rotate(0)}30%,68%{opacity:1;transform:translate(5px,12px) rotate(86deg)}72%,to{opacity:0;transform:translate(5px,12px) rotate(86deg)}}@keyframes living-office-spill{0%,29%{opacity:0;transform:scaleX(.1);transform-origin:314px 168px}31%,67%{opacity:.65;transform:scaleX(1);transform-origin:314px 168px}75%,to{opacity:0;transform:scaleX(.1);transform-origin:314px 168px}}@keyframes living-office-splash{0%,29%,33%,to{opacity:0}30%,31%{opacity:1}}@media(prefers-reduced-motion:reduce){.game-scene .living-office-set *,.game-scene .living-office-set{animation:none!important;transition:none!important}}.ending-showcase{margin:12px 0 26px}.ending-projector{display:flex;align-items:center;gap:7px;margin-bottom:9px;font-size:13px;font-weight:750}.ending-projector>span:first-child{color:#bb5268;font-size:10px}.ending-projector>span:last-child{margin-left:auto;font-size:11px;font-weight:500;color:#677184}.ending-screen{position:relative;overflow:hidden;border-radius:12px;background:#e9efff;box-shadow:0 8px #d3dae7,0 12px 28px #303a5018}.ending-screen>svg{display:block;width:100%;height:auto}.ending-curtain{position:absolute;z-index:1;pointer-events:none;top:0;bottom:0;width:51%;background:repeating-linear-gradient(90deg,#596b99 0,#596b99 18px,#485a88 18px,#485a88 36px);transform:translate(-102%)}.ending-curtain-left{left:0}.ending-curtain-right{right:0;transform:translate(102%)}.ending-export-controls{padding-top:23px}.ending-reflection{margin:26px 2px 0;color:#34475e;word-break:keep-all;overflow-wrap:break-word}.ending-reflection h2{margin:0;font-size:20px;line-height:1.5;word-break:keep-all}.ending-reflection ul{margin:15px 0;padding-left:19px}.ending-reflection li{padding:6px 0 6px 3px;font-size:14px;line-height:1.75}.ending-reflection li::marker{color:#9b7b36}.ending-reflection .reflection-closing{margin:0;padding:12px 0 0;border-top:1px solid #d7dce4;font-size:14px;line-height:1.8;color:#65566c}.ending-formats{display:flex;gap:8px}.ending-formats button{flex:1;padding:9px 8px;border:1.5px solid #c8d0e3;border-radius:14px;background:#fff;font-size:13px;font-weight:700}.ending-formats button[aria-pressed=true]{border-color:#596b99;background:#e5eafb;box-shadow:inset 0 0 0 1px #596b99}.ending-name-option{display:flex;align-items:center;min-height:48px;gap:8px;font-size:13px}.ending-name-option input{width:19px;height:19px;accent-color:#596b99}.ending-export-controls .ending-save{margin-top:0}.ending-save:disabled{background:#e2e6ee;border-color:#c8d0df;box-shadow:0 3px #c8d0df}.ending-share-note{margin-top:14px;color:#626a7a;font-size:12px;line-height:1.6}.ending-public-link{display:block;color:#45506a;font-size:12px;line-height:1.5;overflow-wrap:anywhere;padding:10px 0}.ending-export-status{min-height:0;font-size:12px;color:#276e58}.ending-export-status:empty{display:none}.ending-export-error{margin-top:12px;padding:12px;background:#fff0f2;border-radius:12px;font-size:13px}.ending-export-error details{margin-top:8px;overflow-wrap:anywhere}.ending-picture,.ending-final-number,.ending-last-line{transform-box:fill-box;transform-origin:center}@media(prefers-reduced-motion:no-preference){.ending-showcase[data-animated=true] .ending-curtain-left{animation:ending-curtain-left 1.15s cubic-bezier(.22,.7,.22,1) both}.ending-showcase[data-animated=true] .ending-curtain-right{animation:ending-curtain-right 1.15s cubic-bezier(.22,.7,.22,1) both}.ending-showcase[data-animated=true] .ending-picture{animation:ending-picture-in 1.05s .2s both}.ending-showcase[data-animated=true] .ending-final-number{animation:ending-number-in .7s .75s both}.ending-showcase[data-animated=true] .ending-last-line{animation:ending-number-in .6s 1.1s both}.ending-showcase[data-animated=true] .ending-confetti{animation:ending-confetti-in 1.5s .5s both;transform-box:fill-box;transform-origin:center}}@keyframes ending-curtain-left{0%{transform:translate(0)}to{transform:translate(-102%)}}@keyframes ending-curtain-right{0%{transform:translate(0)}to{transform:translate(102%)}}@keyframes ending-picture-in{0%{opacity:.3;transform:scale(.93)}to{opacity:1;transform:scale(1)}}@keyframes ending-number-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes ending-confetti-in{0%{opacity:0;transform:translateY(-22px) rotate(-5deg)}to{opacity:1;transform:translateY(0) rotate(0)}}.ending-replay{margin-top:22px;padding:17px 14px 13px;background:#e2f3e9;border:2px solid #80ad9c;border-radius:17px;color:#304e47}.ending-replay h2{margin:0 0 9px;font-size:22px;line-height:1.45;word-break:keep-all}.replay-invitation{font-size:13px;line-height:1.7;margin-bottom:16px}.ending-replay .replay-again{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:54px;padding:12px;border:2px solid #365e54;border-radius:13px;background:#3e7565;color:#fff;box-shadow:0 4px #264f44;font-size:16px;font-weight:800}.replay-again>span{font-size:25px;line-height:1}.ending-replay .replay-detail{margin:12px 0 0;font-size:11px;line-height:1.7}.ending-replay h3{margin-top:20px;font-size:14px}.ending-replay h3+.replay-detail{margin-top:4px}.replay-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}.replay-levels button{min-height:73px;padding:9px 7px;border:1.5px solid #8daf9e;border-radius:12px;background:#fffdf7;color:inherit;text-align:left}.replay-levels button>span{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:11px}.replay-levels strong{font-size:15px}.replay-levels small{padding:0 5px;border-radius:7px;font-size:10px;background:#d9ecd5}.replay-levels button>span+span{margin-top:5px}.ending-replay .replay-repack{display:block;width:100%;min-height:48px;margin:12px 0 0;padding:10px 6px;border:0;border-bottom:1px dashed #8daf9e;background:transparent;color:#345d52;text-decoration:underline;text-underline-offset:3px;font-size:12px}.ending-replay .replay-card-hook{margin-top:12px;font-size:11px;line-height:1.7}.historical-sheet>.notice{position:sticky;top:0;z-index:2;margin:0;padding:10px 12px;border-radius:8px;background:#fff6dc}.life-art{display:block;width:100%;max-height:190px;overflow:hidden;isolation:isolate;border-radius:12px}.life-art .life-art-person-body{transform-origin:0 -25px;animation:life-person-breathe 2.7s ease-in-out infinite}.life-art .life-art-friend-body{transform-origin:0 -25px;animation:life-person-breathe 2.9s .7s ease-in-out infinite}.life-art .life-art-arm-right{transform-origin:21px -65px;animation:life-person-hand 2.3s ease-in-out infinite}.life-art .life-art-arm-left{transform-origin:-21px -65px;animation:life-person-left 3s ease-in-out infinite}.life-art .life-art-head{transform-origin:0 -77px;animation:life-person-head 3.8s ease-in-out infinite}.life-art .life-art-sun{animation:life-sun 9s ease-in-out infinite}.life-art .life-art-cloud{animation:life-cloud 11s ease-in-out infinite}.life-art .life-art-happy-eyes,.life-art .life-art-worried-mouth,.life-art .life-art-mess,.life-art .life-art-sweat,.life-art .life-art-impact,.life-art .life-art-stamp-mark{opacity:0}.life-art .life-art-volume-light,.life-art .life-art-volume-shadow,.life-art .life-art-fingerprints{display:none}.life-art[data-illustration-style=clay] .life-art-volume-light,.life-art[data-illustration-style=clay] .life-art-volume-shadow,.life-art[data-illustration-style=clay] .life-art-fingerprints{display:block}.life-art[data-illustration-style=clay] .life-art-person-body,.life-art[data-illustration-style=clay] .life-art-friend-body{animation-timing-function:steps(18,end)}.life-art[data-illustration-style=clay] .life-art-head,.life-art[data-illustration-style=clay] .life-art-arm-right,.life-art[data-illustration-style=clay] .life-art-arm-left{animation-timing-function:steps(12,end)}.life-art[data-illustration-style=comic] .life-art-set{stroke-width:2.8}.life-art[data-illustration-style=comic] .life-art-person-body{animation-timing-function:steps(5,end)}.life-art[data-illustration-style=comic]{border-radius:3px}.life-art .life-art-steam{animation:life-steam 2.4s ease-in-out infinite}.life-art[data-pose=playing] .life-art-coffee{transform-origin:245px 119px;animation:life-coffee-wobble 1.1s ease-in-out infinite}.life-art[data-pose=playing] .life-art-stamp{animation:life-stamp-hover .75s ease-in-out infinite}.life-art[data-pose=playing] .life-art-phone{transform-origin:243px 132px;animation:life-phone .9s ease-in-out infinite}.life-art[data-pose=playing] .life-art-shared-work{transform-origin:233px 126px;animation:life-coffee-wobble 1.1s ease-in-out infinite}.life-art[data-pose=perfect] .life-art-person-body,.life-art[data-pose=good] .life-art-person-body{animation:life-success .65s ease-out both}.life-art[data-pose=perfect] .life-art-arm-right,.life-art[data-pose=good] .life-art-arm-right{transform:rotate(-26deg);animation:none}.life-art[data-pose=perfect] .life-art-happy-eyes,.life-art[data-pose=good] .life-art-happy-eyes{opacity:1}.life-art[data-pose=perfect] .life-art-eyes,.life-art[data-pose=good] .life-art-eyes{opacity:0}.life-art[data-pose=perfect] .life-art-impact,.life-art[data-pose=good] .life-art-impact{animation:life-impact .65s ease-out both}.life-art[data-pose=perfect] .life-art-stamp,.life-art[data-pose=good] .life-art-stamp{transform:translateY(12px)}.life-art[data-pose=perfect] .life-art-coffee,.life-art[data-pose=good] .life-art-coffee{transform:translate(-54px,-3px) rotate(-8deg);transform-origin:245px 119px}.life-art[data-pose=perfect] .life-art-phone,.life-art[data-pose=good] .life-art-phone{transform:translate(-48px,-7px) rotate(-9deg);transform-origin:243px 132px}.life-art[data-pose=perfect] .life-art-stamp-mark,.life-art[data-pose=good] .life-art-stamp-mark,.life-art[data-pose=miss] .life-art-sweat,.life-art[data-pose=miss] .life-art-worried-mouth{opacity:1}.life-art[data-pose=miss] .life-art-mouth{opacity:0}.life-art[data-pose=miss] .life-art-person-body{animation:life-oops .65s ease-in-out both}.life-art[data-pose=miss] .life-art-coffee{transform:rotate(24deg) translate(25px,11px);transform-origin:245px 119px}.life-art[data-pose=miss] .life-art-mess{opacity:.7}.life-art[data-pose=miss] .life-art-stamp{transform:translate(16px,13px) rotate(12deg);transform-origin:263px 104px}.life-art[data-pose=miss] .life-art-phone{transform:rotate(9deg);transform-origin:243px 132px}.life-art[data-life-state=success] .life-art-keepsake{animation:life-keepsake 3s ease-in-out infinite;transform-origin:270px 125px}.life-art[data-life-goal=FREEDOM] .life-art-page{transform-origin:239px 129px;animation:life-page-turn 3.6s ease-in-out infinite}.life-art[data-life-goal=CRAFT] .life-art-tool{transform-origin:199px 126px;animation:life-pencil 2.4s ease-in-out infinite}.life-art[data-life-state=success] .life-art-goal-book{transform:translate(-12px,-3px)}.life-art .life-art-river-ripples{animation:life-river 5s ease-in-out infinite}.life-art[data-animated=false] *,.life-art[data-animated=false] *:before{animation-play-state:paused!important}@keyframes life-person-breathe{0%,to{transform:translateY(0) rotate(-.3deg)}50%{transform:translateY(-2px) rotate(.5deg)}}@keyframes life-person-hand{0%,to{transform:rotate(-3deg)}50%{transform:rotate(-10deg)}}@keyframes life-person-left{0%,to{transform:rotate(0)}50%{transform:rotate(4deg)}}@keyframes life-person-head{0%,to{transform:rotate(-1deg)}55%{transform:rotate(1.5deg)}}@keyframes life-sun{0%,to{transform:translateY(2px)}50%{transform:translateY(-3px)}}@keyframes life-cloud{0%,to{transform:translate(-5px)}50%{transform:translate(9px)}}@keyframes life-steam{0%,to{opacity:.35;transform:translateY(1px)}50%{opacity:.8;transform:translateY(-2px)}}@keyframes life-coffee-wobble{0%,to{transform:rotate(-6deg)}50%{transform:rotate(5deg) translateY(-4px)}}@keyframes life-stamp-hover{0%,to{transform:translateY(-3px)}50%{transform:translateY(-12px)}}@keyframes life-phone{0%,to{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes life-success{0%{transform:translateY(0) rotate(0)}35%{transform:translateY(-9px) rotate(-4deg)}70%{transform:translateY(-1px) rotate(2deg)}to{transform:translateY(0) rotate(0)}}@keyframes life-impact{0%{opacity:0;transform:scale(.9)}30%{opacity:1}to{opacity:0;transform:scale(1.04)}}@keyframes life-oops{0%,to{transform:translate(0)}25%{transform:translate(5px) rotate(3deg)}60%{transform:translate(-3px) rotate(-2deg)}}@keyframes life-keepsake{0%,to{transform:rotate(-1deg)}50%{transform:rotate(1deg) translateY(-2px)}}@keyframes life-page-turn{0%,to{transform:skewY(-2deg)}50%{transform:skewY(4deg) scaleX(.92)}}@keyframes life-pencil{0%,to{transform:rotate(-3deg)}50%{transform:rotate(5deg) translateY(-1px)}}@keyframes life-river{0%,to{transform:translate(-2px);opacity:.6}50%{transform:translate(5px);opacity:1}}@media(prefers-reduced-motion:reduce){.life-art *{animation:none!important}}.life-goal-preview{margin:10px 0 14px;overflow:hidden;border-radius:22px 10px 20px 12px}.life-goal-preview .life-art{display:block;width:100%;max-height:148px}.life-journey{margin:12px 0;padding:13px 14px;border-left:4px solid #4d8497;background:#edf5f7;color:#344c64;border-radius:3px 15px 15px 3px}.life-journey-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.life-journey-heading small{display:block;font-size:10px;color:#5e778b;line-height:1.4}.life-journey-heading strong{display:block;font-size:15px;margin-top:2px}.life-journey-heading>span{font-size:12px;font-weight:800;white-space:nowrap}.life-journey-steps{display:flex;gap:5px;margin-top:9px}.life-journey-steps span{flex:1;height:4px;background:#d3e1e8;border-radius:4px}.life-journey-steps span[data-complete=true]{background:#5a917b}.life-journey-next{margin:8px 0 0;font-size:12px;line-height:1.5}.life-journey-details{margin-top:8px;font-size:11px;line-height:1.65}.life-journey-details summary{cursor:pointer;min-height:28px;display:list-item;align-content:center}.life-journey-details p{margin:8px 0;font-size:11px}.life-journey-details dl{margin:8px 0}.life-journey-details dl>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 8px;padding:5px 0;border-bottom:1px solid #d2e1e6}.life-journey-details dd{margin:0;font-weight:750}.life-journey-result{padding:0 0 15px;background:#edf5f7;border:0;border-radius:18px;overflow:hidden}.life-journey-result>.life-art{width:100%;display:block;max-height:240px}.life-journey-result>:not(.life-art){margin-left:16px;margin-right:16px}.life-journey-result .life-journey-heading{margin-top:13px}.life-result-outcome{font-size:14px;line-height:1.7;font-weight:650}.life-memories{padding:0;list-style:none}.life-memories li{display:flex;align-items:flex-start;gap:7px;padding:8px 0;border-top:1px solid #d2e1e6;font-size:12px;line-height:1.65}.life-memories li>span{color:#a17b31}.life-progress-record{font-size:12px;line-height:1.7}.historical-frame[data-life-mode=true] .historical-ranking{margin-top:6px}.life-ranking-summary{margin:16px 0 0;font-size:12px;color:#655b6e}.life-ranking-summary>summary{cursor:pointer;padding:10px 0}@media(max-width:350px){.guided-setup__progress{gap:4px}.guided-setup__progress li{font-size:10px;gap:3px}.guided-setup__progress li>span{width:20px;height:20px;flex-basis:20px}.life-goal-preview .life-art{max-height:120px}}.life-moment{--moment-ink:#35455E;color:var(--moment-ink);background:#f8fcfa;border:2px solid #B8D1D0;padding:12px;border-radius:15px;width:100%;box-sizing:border-box}.life-moment .life-moment-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;margin:0 0 8px}.life-moment .life-moment-heading h2{margin:0;color:var(--moment-ink);font-size:clamp(16px,4.6vw,21px);line-height:1.3}.life-moment .life-moment-heading>span{font-size:11px;font-weight:700;color:#587774}.life-moment .life-art{max-height:160px;border-radius:9px}.life-moment .life-moment-instruction{margin:10px 0 9px;font-size:14px;line-height:1.4;font-weight:750}.life-moment .life-moment-timing{padding:0 7px}.life-moment .life-moment-track{position:relative;height:24px;background:#d6e5e7;border-radius:8px;box-shadow:inset 0 2px #bed1d5}.life-moment .life-moment-target{position:absolute;top:0;height:100%;border-radius:5px;background:#f7de83;box-shadow:inset 0 0 0 2px #d0aa49}.life-moment .life-moment-target>span{position:absolute;top:4px;bottom:4px;border-radius:3px;background:#fff6ca;border-left:1px solid #D6B254;border-right:1px solid #D6B254}.life-moment .life-moment-marker{display:block;position:absolute;top:-4px;width:9px;height:32px;border-radius:5px;background:#414d75;transform:translate(-50%);box-shadow:0 0 0 2px #fffdf0}.life-moment .life-moment-track-label{display:flex;justify-content:space-between;gap:8px;margin:7px 0 10px;font-size:11px;line-height:1.2;font-weight:650;color:#526e78}.life-moment .life-moment-controls{display:grid;grid-template-columns:1.1fr 1fr;gap:8px}.life-moment .life-moment-controls>button{min-height:49px;padding:7px 9px;font:inherit;font-size:14px;font-weight:800;line-height:1.25;color:#fffdf2;background:#566886;border:2px solid #3F506C;border-radius:10px;box-shadow:0 3px #3f506c;cursor:pointer;touch-action:manipulation}.life-moment .life-moment-controls>button:active{transform:translateY(2px);box-shadow:0 1px #3f506c}.life-moment .life-moment-controls>.life-moment-auto{background:#eef5ee;color:#496660;border-color:#a8c4b7;box-shadow:0 3px #a8c4b7;font-size:12px}.life-moment .life-moment-controls>button small{display:block;font-size:10px;font-weight:500;margin-top:3px;opacity:.85}.life-moment button:focus-visible{outline:3px solid #E3AD43;outline-offset:4px}.life-moment button:disabled{cursor:default;opacity:.5}.life-moment .life-moment-result{min-height:49px;display:flex;justify-content:center;flex-direction:column;align-items:center;gap:3px;background:#e2efe5;color:#3d6253;border-radius:10px}.life-moment .life-moment-result strong{font-size:17px}.life-moment .life-moment-result span{font-size:12px}.life-moment .life-moment-result[data-grade=miss]{background:#f2ecd9;color:#716448}.life-moment .life-moment-footnote{margin:9px 0 0;font-size:10px;line-height:1.35;color:#607577}.life-moment .life-moment-pause,.life-moment .life-moment-error{margin:8px 0 0;font-size:12px;line-height:1.4;color:#745737}.life-moment .life-moment-error button{padding:5px 8px;margin:4px 0 0 6px;font:inherit;border:1px solid #BDA47D;border-radius:6px;background:#fff8df}@media(max-width:340px),(max-height:700px){.life-moment{padding:9px}.life-moment .life-art{max-height:123px}.life-moment .life-moment-instruction{margin:7px 0;font-size:13px}.life-moment .life-moment-heading>span{display:none}.life-moment .life-moment-footnote{margin-top:6px}}.dialogue{--dialogue-ink: #414b5b;position:relative;margin:.45rem .25rem 0;color:var(--dialogue-ink);text-align:left;font-family:inherit}.dialogue .dialogue-bubble{position:relative;display:block;width:100%;min-height:7.5rem;padding:1.5rem 1.1rem .7rem;border:2px solid #c2d7d0;border-radius:1.15rem 1.4rem 1.3rem .6rem;background:#fffefa;box-shadow:0 3px #dae5dd;color:var(--dialogue-ink);font:inherit;text-align:left;cursor:pointer}.dialogue .dialogue-bubble:before{content:"";position:absolute;top:-.47rem;left:2rem;width:.8rem;height:.8rem;border-top:2px solid #c2d7d0;border-left:2px solid #c2d7d0;background:#fffefa;transform:rotate(45deg)}.dialogue .dialogue-bubble[aria-disabled=true]{opacity:1;color:var(--dialogue-ink);cursor:default}.dialogue .dialogue-speaker{position:absolute;top:-.63rem;right:1rem;display:inline-flex;align-items:center;gap:.35rem;max-width:calc(100% - 5rem);padding:.22rem .75rem;border:1px solid #b9cfc6;border-radius:.6rem .6rem .6rem .2rem;background:#dceee0;color:#3b584b;font-size:.78rem;font-weight:750;overflow-wrap:anywhere}.dialogue .dialogue-portrait{flex:0 0 auto;margin:-.18rem 0 -.18rem -.25rem}.dialogue .dialogue-copy{display:grid;min-height:3.1rem;font-size:.98rem;font-weight:500;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}.dialogue .dialogue-measure,.dialogue .dialogue-printed{grid-area:1 / 1}.dialogue .dialogue-measure{visibility:hidden}.dialogue .dialogue-controls{display:flex;justify-content:space-between;gap:.5rem;margin-top:.5rem;color:#556c62;font-size:.7rem;line-height:1.5}.dialogue .dialogue-controls>span:last-child{margin-left:auto}.dialogue .dialogue-dots{padding-left:.25rem;letter-spacing:.08em}.dialogue-thought{margin:2px 9px 5px;padding:7px 9px;border-radius:9px;background:#fff3ce;color:#615334;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.dialogue-thought>span{margin-right:7px;font-size:10px;font-weight:750}.dialogue-with-replies .dialogue-conversation{border:2px solid #c2d7d0;border-radius:1.15rem 1.4rem 1.3rem .6rem;background:#fffefa;box-shadow:0 3px #dae5dd}.dialogue-with-replies .dialogue-bubble{min-height:0;padding:1.35rem .85rem .45rem;border:0;border-radius:1rem 1.2rem 0 0;background:transparent;box-shadow:none}.dialogue-with-replies .dialogue-bubble:before{top:-.57rem}.dialogue-with-replies .dialogue-copy{min-height:0;line-height:1.6}.dialogue-with-replies .dialogue-controls{margin-top:.3rem}.dialogue .dialogue-replies{padding:.65rem .6rem .75rem;border-top:1px dashed #baccc2;border-radius:0 0 1.15rem .45rem;background:#f0f5ed}.dialogue .dialogue-reply-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .5rem;margin:0 .2rem .55rem;font-size:.75rem;line-height:1.5;color:#4b6254}.dialogue .dialogue-reply-heading strong{font-size:.83rem;color:#375945}.dialogue .dialogue-replies .choice-list{gap:.55rem}.dialogue .dialogue-replies .choice{min-height:48px;padding:.65rem .7rem;gap:.3rem;border-color:#c9d5c5;border-radius:.85rem .85rem .85rem .25rem;background:#fffefa;box-shadow:0 3px #dce4d5}.dialogue .dialogue-replies .choice-name{gap:.5rem}.dialogue .dialogue-replies .choice:disabled{background:#f2f0ef;border-color:#d8d3d1;box-shadow:none}.dialogue .dialogue-replies .choice:active:not(:disabled){border-color:#a38ebd;background:#f4effa;box-shadow:0 1px #dce4d5}.dialogue .dialogue-transcript{margin:.4rem .65rem 0;font-size:.75rem}.dialogue .dialogue-transcript summary{width:fit-content;padding:.2rem .1rem;color:#4b6259;cursor:pointer}.dialogue .dialogue-transcript ol{margin:.35rem 0 .6rem;padding-left:1.3rem}.dialogue .dialogue-transcript li{padding:.25rem 0}.dialogue .dialogue-transcript p{margin:.2rem 0;line-height:1.6;overflow-wrap:anywhere}.dialogue .dialogue-bubble:focus-visible,.dialogue .dialogue-transcript summary:focus-visible{outline:3px solid #627fac;outline-offset:4px}.dialogue .dialogue-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(max-width:360px){.dialogue .dialogue-bubble{padding:1.4rem .8rem .6rem}.dialogue-with-replies .dialogue-bubble{padding:1.3rem .65rem .4rem}.dialogue .dialogue-replies{padding-inline:.45rem}.dialogue .dialogue-replies .choice{padding-inline:.55rem}.dialogue .dialogue-copy{font-size:.91rem}}@container (max-width: 240px){.dialogue .dialogue-speaker{position:static;display:flex;width:fit-content;max-width:100%;margin:-.2rem 0 .55rem}.dialogue .dialogue-bubble:before{display:none}}@media(prefers-reduced-motion:reduce){.dialogue *,.dialogue *:before{animation:none;transition:none}}.craft-map-game{color:#51465e}.craft-map-instruction{margin:2px 3px 7px;font-size:12px;font-weight:700;line-height:1.45}.craft-map-sheet{position:relative;width:100%;aspect-ratio:280 / 164;background:#fffdf5;border:1px solid #d3c9dd;border-radius:3px 10px 4px 3px;box-shadow:2px 3px #e7deed;isolation:isolate}.craft-map-sheet:after{content:"";position:absolute;top:0;right:49%;bottom:0;left:49%;z-index:-1;border-inline:1px solid #e9e2d5;transform:skewY(-3deg)}.craft-map-drawing{position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;pointer-events:none}.craft-map-road{stroke:#e5d9be;stroke-width:16}.craft-map-old-route{stroke:#b79bc7;stroke-width:3;stroke-dasharray:4 5}.craft-map-correct-route{stroke:#7f9c89;stroke-width:3}.craft-map-destination{position:absolute;top:7px;width:37%;min-height:79px;border:2px solid #b5a4c5;border-radius:7px;background:#fbf8ff;display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto 31px;align-items:center;justify-items:center;gap:2px;padding:4px;color:inherit;font-size:11px;font-weight:750;line-height:1.2;text-align:center}.craft-map-destination svg{width:34px;height:31px;grid-column:1/-1}.craft-map-sign{font-size:28px;line-height:1}.craft-map-laundry{left:6px}.craft-map-restaurant{right:6px;border-color:#93ab99;background:#f2faf3}.craft-map-destination:hover{transform:translateY(-1px);box-shadow:0 2px #d6c9df}.craft-map-destination:active{transform:translateY(1px)}.craft-map-game button:focus-visible{outline:3px solid #624b89;outline-offset:3px}.craft-map-game button:disabled{opacity:.55}.craft-map-office{position:absolute;bottom:4px;left:50%;transform:translate(-50%);background:#fffdf5;border-radius:2px;font-size:10px;font-weight:700;white-space:nowrap}.craft-map-feedback{min-height:29px;margin:7px 2px 2px;font-size:11px;line-height:1.4}.craft-map-game[data-wrong-turn=true] .craft-map-feedback{color:#78533b}.craft-map-game[data-wrong-turn=true] .craft-map-laundry svg{animation:craft-map-wobble .32s ease-out}.craft-map-effect{font-size:10px;margin:2px 2px 5px;color:#6d6376}.craft-map-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:5px}.craft-map-shortcuts button{min-height:45px;padding:5px 6px;border:1px solid #d2c8dd;border-radius:8px;background:#f5f0f9;color:inherit;font-size:11px;text-align:left;line-height:1.35}.craft-map-shortcuts small{display:block;font-size:9px;font-weight:400;margin-top:2px}.craft-map-numbers{margin-top:5px}.craft-map-steam{animation:craft-map-steam 2.6s ease-in-out infinite}.craft-map-game[data-paused=true] .craft-map-steam{animation-play-state:paused}.craft-project-prop{position:absolute;top:26%;left:22%;width:61px;pointer-events:none;transform:rotate(-5deg)}.craft-project-prop svg{display:block;width:61px;height:55px}.craft-project-prop>span{display:block;width:max-content;max-width:82px;padding:2px 4px;margin-top:-3px;border-radius:3px;background:#fffdf5;color:#51465e;font-size:8px;line-height:1.2;box-shadow:0 1px #d3c9dd}.craft-financial-notice{margin:8px 0;padding:8px 10px;border-left:4px solid #ba8751;background:#fff1cf;font-size:11px;line-height:1.4}.craft-financial-notice strong{font-size:12px}.craft-financial-notice p{margin:3px 0 6px}.craft-financial-notice button{min-height:44px;border:1px solid #927145;background:#fffaf0;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:700;color:#584326}.craft-financial-notice button:focus-visible{outline:3px solid #624b89;outline-offset:3px}[data-illustration-style=clay] .craft-map-sheet{border-width:2px;box-shadow:inset 2px 3px 5px #f0e6ce,3px 4px #d6c9bd}[data-illustration-style=clay] .craft-map-destination{box-shadow:inset 1px 2px 3px #fff,1px 2px #c8b9bc;border-radius:10px 8px 11px 7px}[data-illustration-style=comic] .craft-map-sheet{border:2px solid #53465f;box-shadow:3px 3px #53465f}[data-illustration-style=comic] .craft-map-destination{border:2px solid #53465f;box-shadow:2px 2px #53465f}@keyframes craft-map-steam{0%,to{transform:translateY(0);opacity:.6}50%{transform:translateY(-2px);opacity:1}}@keyframes craft-map-wobble{25%{transform:rotate(-9deg)}75%{transform:rotate(9deg)}}@media(prefers-reduced-motion:reduce){.craft-map-steam,.craft-map-game[data-wrong-turn=true] .craft-map-laundry svg{animation:none}}.guided-setup.investment-setup{padding:12px 16px 20px}.guided-setup__progress{display:flex;list-style:none;margin:0 0 20px;padding:0;gap:8px}.guided-setup__progress li{flex:1;display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.35;color:#746b7c}.guided-setup__progress li>span{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border:1px solid #d8cfe0;border-radius:50%;font-weight:750;background:#fff}.guided-setup__progress li[aria-current=step]{color:#51425f;font-weight:750}.guided-setup__progress li[aria-current=step]>span{color:#fff;background:#695b72;border-color:#695b72}.guided-setup__progress li[data-complete=true]>span{color:#3d6549;background:#e1f1e4;border-color:#799b83}.guided-setup__step-count{margin:0 0 5px;font-size:11px;color:#746b7c}.guided-setup.investment-setup h1{margin:0;color:#44394f;font-size:24px;letter-spacing:-.045em;line-height:1.4;word-break:keep-all;scroll-margin-top:16px}.guided-setup h1:focus{outline:none}.guided-setup__intro{margin:8px 0 17px;color:#655b6e;font-size:13px;line-height:1.65;word-break:keep-all}.guided-setup__options{display:grid;gap:8px}.guided-setup__option{display:grid;gap:4px;min-width:0;width:100%;min-height:68px;padding:11px 12px;text-align:left;border:1.5px solid #d8cfdf;border-radius:8px;color:#504658;background:#fffdfd;line-height:1.5}.guided-setup__option>span:not(.guided-setup__option-title){font-size:12px;color:#64596e;word-break:keep-all}.guided-setup__option-title{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;row-gap:3px;font-size:15px}.guided-setup__option-title strong{font-weight:750}.guided-setup__option-title i{margin-left:auto;color:#3d6549;font-size:16px;font-style:normal;font-weight:800}.guided-setup__badge{padding:1px 5px;color:#3d6549;border-radius:4px;background:#e1f1e4;font-size:10px;font-weight:700}.guided-setup__option[aria-pressed=true]{border-color:#799b83;background:#edf6ef;box-shadow:inset 3px 0 #799b83}.guided-setup__option:focus-visible,.guided-setup__back:focus-visible,.guided-setup summary:focus-visible,.guided-setup .investment-picks button:focus-visible,.guided-setup .roulette-button:focus-visible{outline:3px solid #8056a8;outline-offset:2px}.guided-setup .guided-setup__bag{margin:14px 0 0;padding:9px 12px;gap:12px;border-radius:8px 20px 20px 8px}.guided-setup .guided-setup__bag svg{width:50px;height:48px;flex-basis:50px}.guided-setup .guided-setup__bag strong{font-size:24px}.guided-setup .guided-setup__bag small{font-size:12px}.guided-setup__note{margin:12px 0 0;color:#685e71;font-size:12px;line-height:1.65;word-break:keep-all}.guided-setup__era{min-height:90px;gap:6px}.guided-setup__allocation{gap:3px;padding-block:10px}.guided-setup__ratios{color:#72687b;font-size:11px;line-height:1.6}.guided-setup__packed{margin-top:16px;border-block:1px solid #e3dce6;padding:12px 0}.guided-setup__packed>p{margin:0;font-size:11px;line-height:1.65;color:#655b6e}.guided-setup__packed .allocation-view{margin-top:8px}.guided-setup__packed .allocation-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:0}.guided-setup__packed .allocation-legend dt{font-size:11px}.guided-setup__packed .allocation-legend dd{font-size:14px}.guided-setup__packed .allocation-legend small{font-size:11px}.guided-setup__details{margin-top:9px;border-bottom:1px solid #e3dce6;padding-bottom:8px}.guided-setup__details summary{min-height:48px;padding:12px 0;font-size:13px;font-weight:700;cursor:pointer;line-height:1.5}.guided-setup__details .guided-setup__note{margin:0 0 12px}.guided-setup__details .investment-picks>div{grid-template-columns:1fr;gap:6px}.guided-setup__details .investment-picks legend{margin-bottom:8px;font-size:13px}.guided-setup__details .investment-picks button{grid-template-columns:minmax(0,1fr);align-items:center;min-height:48px;padding:9px 26px 9px 10px}.guided-setup__details .investment-picks button b{font-size:13px}.guided-setup__details .investment-picks button span{font-size:12px}.guided-setup__details .investment-picks button i{top:11px}.guided-setup__details .roulette-button{margin-top:12px}.guided-setup .setup-message{font-size:12px;line-height:1.6;min-height:0;margin:10px 0 0}.guided-setup .setup-message:empty{display:none}.guided-setup__actions{display:flex;align-items:stretch;gap:10px;margin-top:20px}.guided-setup__actions .primary{flex:1;min-width:0;min-height:50px;margin:0;padding:11px 8px;font-size:15px}.guided-setup__back{flex:0 0 68px;min-height:50px;padding:10px 8px;border:1.5px solid #c9bdcf;border-radius:12px;color:#62526f;background:#fff;font-size:14px}.guided-setup button:disabled{opacity:.6;cursor:wait}@container (max-width: 340px){.guided-setup.investment-setup{padding-inline:12px}.guided-setup.investment-setup h1{font-size:22px}.guided-setup__progress{gap:5px}.guided-setup__progress li{gap:4px;font-size:10px}.guided-setup__option{padding-inline:10px}.guided-setup__option-title{font-size:14px}}.illustration-preview{margin:0 0 14px;border-radius:16px;overflow:hidden}.illustration-preview .game-scene{margin:0}.illustration-preview .game-scene-art{height:156px}.illustration-preview figcaption{display:none}.market-break{text-align:left}.market-board{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:2px;margin:0 0 7px}.market-board span{text-align:center;font-size:9px;line-height:18px;border-radius:4px;color:#a89ab4;background:#eee6f4;border-bottom:2px solid #d4c6df}.market-board [data-passed=true]{background:#dcecdf;color:#64826a;border-color:#b7d0be}.market-board [data-current=true]{background:#ffdf8e;color:#725c35;transform:translateY(-2px);border-color:#bea166}.market-stop{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#796581}.market-stop strong{font-weight:600}.market-break h2{font-size:21px;line-height:1.3;margin:6px 0;letter-spacing:-.04em}.market-art{display:block;width:100%;height:100px;margin:3px 0 5px;overflow:hidden}.market-facts{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#f0e7f5;border-radius:10px;padding:7px 10px}.market-facts span{display:grid;font-size:9px;line-height:1.4}.market-facts b{font-size:15px;overflow-wrap:anywhere}.market-break .dialogue-bubble{margin-top:8px}.market-break .dialogue-copy{font-size:13px;line-height:1.5}.market-break .dialogue-thought{padding-block:5px}.market-break .dialogue-controls{margin-top:.15rem}.market-break .market-choice{min-height:52px}.market-break .dialogue .dialogue-replies .market-choice{padding:7px 9px;gap:2px}.market-break .market-choice .choice-name{font-size:12px}.market-evidence{font-size:10px;color:#716377;margin:7px 0 2px;line-height:1.5}.market-evidence summary{cursor:pointer;min-height:28px}.market-evidence p{margin-top:5px}.market-receipt{font-size:11px;line-height:1.5;background:#fff1c7;border-left:3px solid #bea166;padding:3px 10px;margin:0 0 6px}@media(prefers-reduced-motion:no-preference){.market-art[data-reaction=gain][data-animated=true] .market-person{animation:market-celebrate 1.8s ease-in-out both}.market-art[data-reaction=loss][data-animated=true] .market-person{animation:market-collapse 1.8s ease-in-out both}.market-art[data-reaction=flat][data-animated=true] .market-person{animation:market-breathe 2.1s ease-in-out infinite}.market-art:not([data-reaction=flat])[data-animated=true] .market-face{animation:market-double-take 1.1s ease-out both;transform-origin:84px 44px}.market-art[data-reaction=gain][data-animated=true] .market-confetti{animation:market-confetti 1.8s ease-out both;transform-origin:84px 55px}.market-art[data-reaction=loss][data-animated=true] .market-phone,.market-art[data-reaction=loss][data-animated=true] .market-hand-phone{animation:market-rattle .15s ease-in-out .18s 5}.market-art[data-animated=true] .market-sweat{animation:market-sweat .7s ease-in .3s 2 both}.market-art[data-animated=true] .market-soul{animation:market-soul 1.9s ease-out both}.market-art[data-animated=true] .market-bill{animation:market-bill .35s ease-in-out 4}.market-art[data-animated=true] .market-chart-line{animation:market-chart-reveal .65s ease-out both;stroke-dasharray:180}.market-art[data-animated=true] .market-reaction-caption{animation:market-caption-pop .6s cubic-bezier(.2,1.7,.5,1) both;transform-origin:153px 30px}}.market-person{transform-origin:84px 95px}.market-art{--reaction-hop: -9px;--reaction-shake: 2px;--reaction-tilt: 3deg;--reaction-head: 1.08}.market-art[data-intensity=big]{--reaction-hop: -14px;--reaction-shake: 5px;--reaction-tilt: 7deg;--reaction-head: 1.2}.market-art[data-reaction=loss] .market-person{transform:translateY(5px) rotate(-5deg) scale(1.04,.91)}.market-phone{transform-origin:237px 60px}.market-hand-phone{transform-origin:107px 73px}@keyframes market-breathe{50%{transform:translateY(-2px)}}@keyframes market-celebrate{0%,to{transform:none}12%{transform:translateY(3px) scale(1.12,.82)}28%{transform:translateY(var(--reaction-hop)) rotate(-9deg) scale(.94,1.1)}42%{transform:translateY(1px) rotate(6deg) scale(1.08,.94)}60%{transform:translateY(var(--reaction-hop)) rotate(9deg)}78%{transform:translateY(2px) rotate(-5deg) scale(1.06,.93)}}@keyframes market-collapse{0%{transform:none}10%{transform:translateY(-4px) scale(1.06)}23%,35%{transform:translate(calc(-1 * var(--reaction-shake))) rotate(calc(-1 * var(--reaction-tilt)))}29%,41%{transform:translate(var(--reaction-shake)) rotate(var(--reaction-tilt))}64%,to{transform:translateY(5px) rotate(-5deg) scale(1.04,.91)}}@keyframes market-double-take{0%,to{transform:none}18%{transform:scale(var(--reaction-head)) rotate(calc(-1 * var(--reaction-tilt)))}42%{transform:rotate(var(--reaction-tilt))}65%{transform:rotate(-4deg)}}@keyframes market-rattle{25%{transform:rotate(calc(-1 * var(--reaction-tilt)))}75%{transform:rotate(var(--reaction-tilt))}}@keyframes market-sweat{0%{opacity:0}20%{opacity:1}to{transform:translateY(17px);opacity:0}}@keyframes market-confetti{0%{opacity:0;transform:scale(.3)}30%{opacity:1;transform:scale(1.15)}70%{opacity:1}to{opacity:0;transform:translateY(-6px) scale(1.3)}}@keyframes market-soul{0%,25%{opacity:0;transform:translate(20px,28px) scale(.3)}40%{opacity:1}to{opacity:0;transform:translate(-8px,-16px) rotate(-15deg)}}@keyframes market-bill{50%{transform:translateY(7px) rotate(8deg)}}@keyframes market-chart-reveal{0%{stroke-dashoffset:180}to{stroke-dashoffset:0}}@keyframes market-caption-pop{0%{transform:translateY(5px) scale(.7);opacity:0}to{transform:none;opacity:1}}@media(max-height:720px){.market-art{height:73px}.market-break h2{font-size:19px}.market-break .dialogue-copy{font-size:12px}.market-facts{padding-block:5px}}@media(max-width:350px){.market-stop strong{font-size:9px}.market-art{height:70px}.market-break h2{font-size:18px}.market-facts b{font-size:13px}}.historical-frame[data-historical-phase=MARKET] .historical-stats>div{display:none}.historical-frame[data-historical-phase=MARKET] .historical-stats{padding-bottom:0}.historical-frame[data-historical-phase=MARKET] .historical-play{padding-top:4px}.market-company-note{font-size:12px;color:#5b4f43;margin:0 0 7px;line-height:1.45;background:#fff0c4;border-radius:4px 9px 9px;padding:6px 9px}@media(max-height:720px){.market-overview{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:center}.market-art{height:70px;margin:0}.market-facts{grid-template-columns:1fr;gap:3px}.market-facts b{font-size:13px}.market-break .dialogue-bubble{padding-block:8px 4px}.market-board{display:none}.market-break h2{margin-block:4px}.market-break .market-choice{min-height:48px}}.surprise-art{display:block;width:100%;height:145px;overflow:hidden}.surprise-art .surprise-person{transform-origin:81px 115px}.surprise-art .surprise-face{transform-origin:81px 73px}.surprise-art .surprise-chair{transform-origin:81px 124px}.surprise-art .surprise-envelope{transform-origin:251px 98px}.surprise-art .surprise-envelope-flap{transform-origin:251px 77px}.surprise-art .surprise-call{transform-origin:252px 84px}.surprise-art .surprise-car{transform-origin:246px 121px}.surprise-art .surprise-washer{transform-origin:251px 128px}.surprise-art .surprise-laundry{transform-origin:251px 95px}.surprise-art .surprise-caption{transform-origin:180px 18px}.surprise-art[data-reaction=blank] .surprise-envelope{transform:rotate(180deg)}.surprise-art[data-phase=revealed] .surprise-envelope-flap{transform:translateY(-22px) scaleY(-.75)}.surprise-art[data-reaction=loss] .surprise-person{transform:translateY(3px) rotate(-5deg)}@media(prefers-reduced-motion:no-preference){.surprise-art[data-animated=true][data-phase=waiting] .surprise-person{animation:surprise-art-breathe 2.6s ease-in-out infinite}.surprise-art[data-animated=true][data-phase=waiting] .surprise-envelope{animation:surprise-art-tempt 2.6s ease-in-out infinite}.surprise-art[data-animated=true][data-phase=waiting] .surprise-call{animation:surprise-art-ring 2.6s ease-in-out infinite}.surprise-art[data-animated=true][data-phase=opening] .surprise-prop{animation:surprise-art-rattle .16s ease-in-out 8;transform-origin:251px 100px}.surprise-art[data-animated=true][data-phase=opening] .surprise-envelope-flap{animation:surprise-art-unseal 1.2s ease-in-out both}.surprise-art[data-animated=true][data-phase=opening] .surprise-laundry{animation:surprise-art-spin .65s ease-in-out 2}.surprise-art[data-animated=true][data-phase=revealed] .surprise-caption{animation:surprise-art-pop .45s cubic-bezier(.2,1.5,.5,1) both}.surprise-art[data-animated=true][data-reaction=jackpot] .surprise-person{animation:surprise-art-jackpot 1.5s ease-in-out both}.surprise-art[data-animated=true][data-reaction=jackpot] .surprise-chair{animation:surprise-art-chair .9s ease-out both}.surprise-art[data-animated=true][data-reaction=gain] .surprise-person{animation:surprise-art-grin 1.1s ease-in-out both}.surprise-art[data-animated=true][data-reaction=gain] .surprise-confetti,.surprise-art[data-animated=true][data-reaction=jackpot] .surprise-confetti{animation:surprise-art-celebrate 1.6s ease-out both;transform-origin:180px 100px}.surprise-art[data-animated=true][data-reaction=blank] .surprise-envelope{animation:surprise-art-empty 1.8s ease-in-out both}.surprise-art[data-animated=true][data-reaction=blank] .surprise-envelope-dust{animation:surprise-art-dust 1.8s ease-in both}.surprise-art[data-animated=true][data-reaction=blank] .surprise-face{animation:surprise-art-disbelief 1.3s ease-in-out both}.surprise-art[data-animated=true][data-reaction=loss] .surprise-person{animation:surprise-art-deflate 1.2s ease-out both}.surprise-art[data-animated=true][data-reaction=loss] .surprise-soul{animation:surprise-art-soul 2s ease-out both}.surprise-art[data-animated=true][data-reaction=loss] .surprise-bill{animation:surprise-art-bill .6s ease-in-out 2;transform-origin:320px 43px}.surprise-art[data-animated=true][data-reaction=loss] .surprise-car,.surprise-art[data-animated=true][data-reaction=loss] .surprise-washer{animation:surprise-art-rattle .16s ease-in-out 6}.surprise-art[data-animated=true][data-reaction=loss] .surprise-smoke{animation:surprise-art-smoke 1.8s ease-out both}}@keyframes surprise-art-breathe{50%{transform:translateY(-2px)}}@keyframes surprise-art-tempt{0%,75%,to{transform:none}80%,90%{transform:rotate(-3deg)}85%,95%{transform:rotate(3deg)}}@keyframes surprise-art-ring{0%,70%,to{transform:none}75%,85%{transform:rotate(-5deg)}80%,90%{transform:rotate(5deg)}}@keyframes surprise-art-rattle{25%{transform:translate(-3px) rotate(-2deg)}75%{transform:translate(3px) rotate(2deg)}}@keyframes surprise-art-unseal{0%,35%{transform:none}70%,to{transform:translateY(-22px) scaleY(-.75)}}@keyframes surprise-art-spin{to{transform:rotate(360deg)}}@keyframes surprise-art-pop{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:none}}@keyframes surprise-art-jackpot{0%,to{transform:none}12%{transform:translateY(4px) scale(1.12,.86)}27%{transform:translateY(-16px) rotate(-9deg) scale(.96,1.06)}45%{transform:translateY(2px) rotate(5deg)}62%{transform:translateY(-13px) rotate(9deg)}80%{transform:translateY(2px) rotate(-4deg)}}@keyframes surprise-art-chair{20%{transform:translate(7px) rotate(11deg)}50%{transform:translate(4px) rotate(-5deg)}to{transform:none}}@keyframes surprise-art-grin{30%,65%{transform:translateY(-6px) rotate(-4deg)}45%,85%{transform:translateY(1px) rotate(3deg)}}@keyframes surprise-art-celebrate{0%{opacity:0;transform:scale(.4)}25%{opacity:1;transform:scale(1.12)}70%{opacity:1}to{opacity:.65;transform:translateY(-6px) scale(1.06)}}@keyframes surprise-art-empty{0%{transform:none}28%{transform:rotate(180deg)}40%,60%,80%{transform:translateY(-5px) rotate(186deg)}50%,70%,90%{transform:translateY(3px) rotate(174deg)}to{transform:rotate(180deg)}}@keyframes surprise-art-dust{0%,30%{opacity:0}40%{opacity:1}to{opacity:.3;transform:translateY(-18px)}}@keyframes surprise-art-disbelief{30%,65%{transform:rotate(-7deg)}45%,80%{transform:rotate(5deg)}}@keyframes surprise-art-deflate{0%{transform:none}20%{transform:translateY(-4px) scale(1.06)}35%{transform:rotate(6deg)}55%,to{transform:translateY(3px) rotate(-5deg)}}@keyframes surprise-art-soul{0%,15%{opacity:0;transform:translate(-36px,29px) scale(.4)}35%{opacity:1}to{opacity:.5;transform:translate(8px,-13px) rotate(12deg)}}@keyframes surprise-art-bill{50%{transform:rotate(8deg) translateY(4px)}}@keyframes surprise-art-smoke{0%{opacity:0;transform:translateY(7px)}to{opacity:.7;transform:translateY(-5px)}}@media(max-width:350px){.surprise-art{height:130px}}.surprise-break{color:#51475e}.surprise-arrival{margin:0 0 4px;color:#79613a;font-size:11px}.surprise-break h2{margin:0 0 6px;font-size:22px;line-height:1.25;letter-spacing:-.035em}.surprise-break .surprise-art{display:block;width:100%;height:140px;margin-bottom:9px}.surprise-break .dialogue{margin-top:8px}.surprise-break .surprise-choice{min-height:56px;display:grid;text-align:left}.surprise-preview{font-size:11px;color:#665338;line-height:1.4}.surprise-odds{margin:7px 3px 0;font-size:11px;line-height:1.5}.surprise-odds summary{cursor:pointer;min-height:28px;padding-block:5px}.surprise-odds p{margin:5px 0}.surprise-break button:focus-visible{outline:3px solid #8056a8;outline-offset:3px}.surprise-opening{display:grid;place-items:center;min-height:190px;gap:18px;text-align:center;padding:16px;background:#fff1c8;border-radius:6px 22px 22px}.surprise-opening strong{font-size:20px;line-height:1.5}.surprise-skip{min-height:48px;border:1px solid #b59764;border-radius:12px;background:#fffdf8;color:#665338;padding:8px 18px;font-size:13px}.surprise-result{padding:12px 14px;background:#fff0bd;border:2px solid #d9b968;border-radius:6px 22px 22px}.surprise-result[data-tone=loss]{background:#efeaf6;border-color:#bdaed1}.surprise-result[data-tone=blank]{background:#f4efe8;border-color:#cec3b6}.surprise-result h3{font-size:13px;display:flex;justify-content:space-between;gap:8px;align-items:center;margin:0}.surprise-result h3 strong{font-size:27px;letter-spacing:-.04em}.surprise-result h3:focus{outline:none}.surprise-money-line{margin:4px 0 8px;font-size:11px}.surprise-outcome{font-size:14px;line-height:1.6;margin:6px 0}.surprise-thought{display:flex;gap:7px;font-size:12px;line-height:1.5;color:#6a5a73;margin:8px 0}.surprise-thought span{flex-shrink:0;font-weight:700}.surprise-result .surprise-continue{min-height:48px;margin:10px 0 0;font-size:14px}.historical-frame[data-historical-phase=SURPRISE] .historical-stats>div{display:none}.historical-frame[data-historical-phase=SURPRISE] .historical-play{padding-top:4px}.surprise-records{padding:0;list-style:none}.surprise-records li{margin:10px 0;padding:10px;border-left:3px solid #d7b66b;background:#fff4d8;font-size:12px;line-height:1.5}.surprise-records strong,.surprise-records time{display:block}.surprise-records time{font-size:10px;color:#74644b}.surprise-records p{margin:5px 0 0}@media(max-height:740px){.surprise-break .surprise-art{height:102px;margin-bottom:5px}.surprise-break h2{font-size:20px}.surprise-break .dialogue-copy{font-size:13px}}@media(prefers-reduced-motion:no-preference){.historical-frame[data-choice-hint=true] .surprise-choice:not(:disabled),.historical-frame[data-choice-hint=true] .surprise-continue{animation:choice-invite 2.4s ease-in-out 3}}.office-board-strip{margin:0 0 7px;color:#61516e}.office-pocket-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px}.office-help-pocket{display:flex;gap:6px;align-items:center;min-width:0}.office-help-pocket>svg{width:26px;height:34px;flex-shrink:0;transform:rotate(-7deg)}.office-help-pocket>span{display:grid;min-width:0}.office-help-pocket strong{font-size:11px;line-height:1.3}.office-help-pocket small{font-size:11px;line-height:1.4}.office-help-pocket[data-held=true] strong{color:#725525}.office-desk{display:flex;align-items:center;gap:5px;flex-shrink:0}.office-desk>span{font-size:11px;white-space:nowrap;flex-shrink:0;line-height:1.3}.office-desk ol{display:flex;list-style:none;padding:0;margin:0;gap:3px}.office-desk li{width:29px;height:31px;color:#b7a8bf;border:1px dashed #d7cbdc;border-radius:4px;background:#f9f5fa}.office-desk li[data-filled=true]{color:#71567f;background:#f9e7c8;border:1px solid #dcc498;box-shadow:0 2px #e5d9c3;transform:rotate(4deg)}.office-desk li:nth-child(2){transform:rotate(-5deg)}.office-desk svg{width:100%;height:100%}.office-preview{display:flex;gap:7px;align-items:baseline;border-bottom:1px dashed #d4c4dc;margin:5px 0 0;padding:4px 2px 5px;line-height:1.35}.office-preview>span:first-child{flex-shrink:0;font-size:10px;color:#7a697d}.office-preview strong{font-size:11px}.historical-frame[data-office-board=true] .historical-stage .game-scene-art{height:82px}.historical-frame[data-office-board=true] .historical-stage .story-prop{width:39px;height:39px;top:20%}.historical-frame[data-office-board=true] .historical-play .event-choice{padding-block:6px}.historical-play .event-choice[data-help=true]{border-color:#ba995b;background:#fff4d4;box-shadow:0 2px #dfcea4}.historical-frame[data-help-available=true] .historical-stage .game-scene-art{height:58px}.historical-frame[data-help-available=true] .historical-stats>div>small{display:none}.historical-frame[data-help-available=true] .historical-play>h1{font-size:19px;margin-bottom:5px}.historical-frame[data-help-available=true] .historical-stage figcaption{display:none}.historical-frame[data-help-available=true] .historical-play .choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.historical-frame[data-help-available=true] .historical-play .event-choice{min-width:0;align-content:start;padding:6px 7px}.historical-frame[data-help-available=true] .historical-play .choice-name{display:block;font-size:12px;line-height:1.35}.historical-frame[data-help-available=true] .historical-play .choice-letter{display:inline-grid;width:16px;height:16px;margin-right:4px;font-size:9px;vertical-align:1px}.historical-frame[data-help-available=true] .historical-play .effect-line{padding-left:0;line-height:1.3}.historical-frame[data-help-available=true] .historical-play .dialogue-copy{font-size:13px;line-height:1.45}.historical-frame[data-help-available=true] .historical-play .dialogue-controls{display:none}.historical-frame[data-help-available=true] .dialogue-thought{padding-block:5px;margin-block:5px}.office-collection{display:flex;gap:12px;padding:0;list-style:none;flex-wrap:wrap;font-size:12px}.office-collection li{display:grid;gap:5px;place-items:center;width:90px;text-align:center}.office-collection svg{width:34px;height:34px;color:#71567f}@media(max-height:740px){.historical-frame[data-office-board=true] .historical-stage .game-scene-art{height:64px}.historical-frame[data-office-board=true] .historical-play .dialogue-copy{font-size:13px}.historical-frame[data-office-board=true] .office-board-strip{margin-bottom:4px}}@container (max-width: 300px){.office-help-pocket{gap:4px}.office-help-pocket strong,.office-help-pocket small{font-size:11px}.office-desk{gap:3px}.office-desk li{width:25px;height:28px}}.era-arrival.era-reveal{padding:4px 20px 24px;text-align:center}.era-arrival-stage{position:relative;max-width:360px;height:185px;margin:0 auto}.era-travel-art{display:block;width:100%;height:100%;overflow:hidden}.era-travel-art .living-office-protagonist *{animation:none}.era-travel-art .scene-mouth-talk{display:block;opacity:1}.era-travel-art .scene-mouth-rest{display:none}.era-arrival[data-phase=ready] .scene-mouth-rest{display:block}.era-traveler{transform-box:view-box;transform-origin:180px 108px;animation:era-travel-float 1.2s ease-in-out infinite;animation-play-state:paused}.era-tunnel{transform-box:view-box;transform-origin:180px 108px;animation:era-tunnel-turn 2.8s linear infinite;animation-play-state:paused}.era-arrival[data-animated=true] .era-traveler,.era-arrival[data-animated=true] .era-tunnel{animation-play-state:running}.era-arrival[data-phase=ready] .era-traveler,.era-arrival[data-phase=ready] .era-tunnel{animation:none}.era-exclamation{position:absolute;top:12px;left:calc(50% + 32px);color:#655374;font-size:25px;font-weight:800;transform:rotate(8deg)}.era-arrival[data-phase=ready] .era-exclamation{visibility:hidden}.era-arrival .era-year{margin:-2px 0 0;color:#655374;font-size:clamp(64px,20vw,86px);font-weight:850;line-height:1;letter-spacing:-.045em;animation:none}.era-arrival .era-arrival-date{margin:7px 0 15px;color:#716878;font-size:12px;line-height:1.5}.era-arrival-copy{max-width:330px;min-height:82px;margin:0 auto 14px}.era-arrival .era-arrival-copy p{margin:0;font-size:15px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}.era-arrival .era-arrival-copy p:first-child{margin-bottom:6px;font-weight:750}.era-arrival .era-arrival-copy p:last-child{color:#716878;font-size:14px}.era-arrival>.primary{width:100%;min-height:48px}.era-arrival[data-phase=travel] .era-year,.era-arrival[data-phase=travel] .era-arrival-date{opacity:0}.era-arrival:not([data-phase=ready]) .era-arrival-copy{visibility:hidden}@keyframes era-travel-float{0%,to{transform:translateY(4px) rotate(-8deg) scale(.94)}50%{transform:translateY(-12px) rotate(9deg) scale(1.05)}}@keyframes era-tunnel-turn{0%{transform:rotate(-9deg) scale(.88)}to{transform:rotate(9deg) scale(1.05)}}@media(prefers-reduced-motion:no-preference){.era-year,.era-arrival-date{transition:opacity .35s ease-out}}@media(prefers-reduced-motion:reduce){.era-arrival .era-traveler,.era-arrival .era-tunnel{animation:none}}@media(max-height:700px){.era-arrival-stage{height:125px}.era-arrival .era-year{font-size:64px}.era-arrival .era-arrival-date,.era-arrival-copy{margin-bottom:10px}}.historical-frame{background:#fffaf7}.historical-frame .masthead{margin-inline:14px}.investment-setup{padding:5px 16px 0}.departure-bag{display:flex;gap:14px;align-items:center;padding:8px 12px;background:#fff3ce;border-radius:10px 24px 24px 10px;margin-bottom:12px}.departure-bag svg{width:68px;height:66px;flex:0 0 68px;transform:rotate(-7deg)}.departure-bag div{display:grid}.departure-bag span{font-size:12px}.departure-bag strong{font-size:29px;line-height:1.25;letter-spacing:-.04em}.departure-bag small{font-size:11px;color:#746640}.investment-setup h1{font-size:24px}.setup-instruction{font-size:12px;margin:3px 0 10px;color:#65616e}.allocation-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.allocation-presets button{position:relative;min-width:48px;min-height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1.5px solid #ddd4e4;background:#fff;border-radius:12px;padding:8px 3px;line-height:1.2}.allocation-presets button>span{font-size:24px;line-height:1;color:#6f6081}.allocation-presets strong{font-size:11px;word-break:keep-all}.allocation-presets small{position:absolute;top:-8px;font-size:9px;background:#4d715b;color:#fff;border-radius:6px;padding:2px 4px}.allocation-presets button[aria-pressed=true]{border-color:#799b83;background:#e1f1e4;box-shadow:0 3px #799b83;transform:translateY(-1px)}.allocation-view{margin-top:12px}.allocation-bar{display:flex;height:9px;border-radius:7px;overflow:hidden;background:#efedf0}.allocation-bar span{min-width:0}.asset-deposit{--asset-color: #b7dac8}.asset-stocks{--asset-color: #d0c0e7}.asset-coins{--asset-color: #f8d17a}.asset-property{--asset-color: #f1b99d}.allocation-bar span{background:var(--asset-color)}.allocation-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:6px 0;gap:4px}.allocation-legend div{border-left:4px solid var(--asset-color);padding-left:5px}.allocation-legend dt{font-size:10px;color:#605c6b}.allocation-legend dd{margin:0;line-height:1.35;font-size:13px;font-weight:750}.allocation-legend small{display:block;font-size:10px;font-weight:400}.budget-check{display:flex;gap:5px;font-size:11px;align-items:baseline}.budget-check span{margin-left:auto;color:#676371;font-size:10px}.budget-check strong{color:#386548}.investment-picks{margin:10px 0 0;padding:0;border:0;min-width:0}.investment-picks legend{font-size:12px;font-weight:750;margin-bottom:4px}.investment-picks>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.coin-picks>div{grid-template-columns:repeat(3,minmax(0,1fr))}.investment-picks button{position:relative;border:1.5px solid #ded7e5;border-radius:11px;padding:5px 18px 5px 8px;min-height:49px;display:grid;text-align:left;background:#fff;line-height:1.3}.investment-picks button b{font-size:12px}.investment-picks button span{font-size:10px;color:#61596f}.investment-picks button i{position:absolute;right:6px;top:12px;font-style:normal;font-size:15px}.investment-picks button[aria-pressed=true]{background:#eee6f7;border-color:#a995c5;box-shadow:inset 0 -2px #d4c4e6}.roulette-button{display:flex;gap:9px;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:8px;border:1.5px dashed #b39b78;background:#fff5dc;border-radius:12px;font-size:13px;font-weight:700}.roulette-button span{font-size:25px;line-height:1}.setup-message{font-size:10px;color:#64606f;min-height:16px;margin-top:6px}.investment-setup .primary{margin-top:6px}.historical-frame .primary:disabled{opacity:.6;box-shadow:none}.historical-text-button{display:block;width:calc(100% - 32px);margin:3px 16px;border:0;background:transparent;font-size:12px;min-height:48px}.data-error{padding:14px 16px;background:#fff0ee;font-size:13px}.data-error code{display:block;overflow-wrap:anywhere;font-size:10px}.historical-stats{padding:5px 14px 8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;background:#fffaf7}.historical-stats>div{display:grid;text-align:center;border-radius:12px;background:#eee6f7;padding:5px 2px}.historical-stats>div:nth-of-type(2){background:#fff0be}.historical-stats>div:nth-of-type(3){background:#ffe5d8}.historical-stats span{font-size:11px}.historical-stats strong{font-size:20px;line-height:1.25;font-variant-numeric:tabular-nums}.historical-stats small{font-size:11px;line-height:1.3;color:#655c70}.historical-stats .net-worth{grid-column:1/-1;display:flex;align-items:center;gap:10px;border:0;border-radius:12px;background:#def0e3;min-height:48px;padding:6px 10px}.historical-stats .net-worth strong{font-size:23px;letter-spacing:-.04em}.historical-stats .net-worth small{margin-left:auto}.era-reveal{padding:10px 20px 30px}.era-reveal .game-scene{margin:0 0 15px}.era-reveal h1{font-size:34px;margin:8px 0 12px;color:#78608f}.era-reveal p{font-size:14px}.historical-clock{display:flex;align-items:center;justify-content:space-between;margin:4px 18px;font-size:12px}.historical-clock strong{font-size:15px}.historical-clock time{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.historical-clock .calendar-year{font-size:23px;line-height:1;color:#5c4d70;letter-spacing:-.04em}.historical-clock .calendar-month{font-size:13px;font-weight:700}.historical-clock .clock-progress{display:grid;text-align:right;font-size:10px;line-height:1.25}.historical-clock .clock-progress small{font-size:11px;color:#72677a}.historical-play{padding:9px 16px 20px}.historical-play>h1{font-size:21px;margin-bottom:8px}.historical-stage{position:relative}.historical-stage .game-scene{margin:0 0 8px}.historical-stage .game-scene-art{height:110px}.historical-stage figcaption{font-size:10px;min-height:20px}.story-prop{position:absolute;top:36%;left:25%;width:48px;height:48px;transform:rotate(-6deg);pointer-events:none;overflow:visible}.historical-play .dialogue-bubble{padding-block:13px 6px}.historical-play .dialogue-copy{font-size:14px;line-height:1.5}.historical-play .dialogue-measure{min-height:0}.historical-play .dialogue-controls{font-size:11px}.historical-play .dialogue-portrait{width:22px;height:22px}.historical-play .dialogue-speaker{font-size:11px}.historical-play .dialogue-replies{padding:7px}.historical-play .dialogue-reply-heading{font-size:10px;margin-bottom:5px}.historical-play .choice-list{gap:5px}.historical-play .event-choice{min-height:48px;padding:7px 9px;gap:2px;border-radius:12px;box-shadow:0 2px #e4dce7}.historical-play .choice-name{font-size:12px;gap:5px;line-height:1.35}.historical-play .choice-letter{width:19px;height:19px;flex-basis:19px;font-size:10px;margin-top:0}.historical-play .effect-line{font-size:10px;line-height:1.3;padding-left:24px}.historical-last-result{margin:7px 0;padding:9px 11px;border-radius:10px;background:#f6eedb;font-size:12px;line-height:1.5}.quarter-change{font-size:11px;display:flex;justify-content:space-between;margin-top:7px}.quarter-composition{font-size:11px;color:#65616d;margin-top:3px;line-height:1.5;word-break:keep-all;overflow-wrap:break-word}.holding-ledger small{display:block;font-size:11px;font-weight:400}.historical-ranking{list-style:none;margin:8px 0 0;padding:0}.historical-ranking li{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;font-size:12px;min-height:30px;padding:3px 9px;border-radius:8px}.historical-ranking li[data-player=true]{background:#e5f2e7;color:#365842}.historical-ranking li>b{color:#7d6c83}.historical-ranking li strong{font-size:12px;font-variant-numeric:tabular-nums}.historical-ranking li small{display:block;font-size:9px;color:#6b6572}.historical-result{margin-top:10px;padding:12px;background:#fff1bf;border-radius:15px;font-size:14px}.historical-source-links{display:flex;flex-wrap:wrap;gap:8px 15px}.historical-source-links a{color:#5b5378;min-height:38px;display:inline-flex;align-items:center}.historical-sheet .fineprint{font-size:12px}@media(prefers-reduced-motion:no-preference){.roulette-button[data-spinning=true] span{animation:bag-spinner .2s linear infinite}.era-reveal h1{animation:era-pop .4s ease-out}.historical-stage .story-prop{animation:prop-wobble 3.6s ease-in-out infinite}.story-prop .prop-stamp{animation:stamp-nod 2.8s ease-in-out infinite;transform-origin:58px 60px}.story-prop .prop-flame{animation:candle-flicker 1.2s ease-in-out infinite}}@keyframes bag-spinner{to{transform:rotate(360deg)}}@keyframes era-pop{0%{transform:translateY(8px) scale(.92);opacity:0}to{transform:none;opacity:1}}@keyframes prop-wobble{0%,to{transform:rotate(-8deg)}50%{transform:rotate(5deg) translateY(-2px)}}@keyframes stamp-nod{0%,85%,to{transform:rotate(0)}90%{transform:rotate(-10deg)}}@keyframes candle-flicker{0%,to{opacity:1}50%{opacity:.5}}.historical-stage .story-prop[data-animated=false],.historical-stage .story-prop[data-animated=false] *{animation:none}@media(max-height:680px){.departure-bag{padding:4px 9px;margin-bottom:7px}.departure-bag svg{width:47px;height:45px;flex-basis:47px}.departure-bag strong{font-size:24px}.investment-setup h1{font-size:21px}.allocation-presets button{min-height:61px}.allocation-presets button>span{font-size:20px}.investment-picks{margin-top:6px}.investment-setup .primary{min-height:48px;padding-block:8px}.historical-text-button{min-height:48px}.historical-stage .game-scene-art{height:70px}.historical-stage .story-prop{top:14px;width:38px;height:38px}}@container (max-width: 340px){.investment-setup{padding-inline:10px}.allocation-presets strong{font-size:10px}.allocation-presets{gap:3px}.historical-play{padding-inline:12px}.historical-stats .net-worth strong{font-size:20px}.historical-stats small{font-size:9px}}@container (max-width: 240px){.allocation-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.investment-picks>div,.allocation-legend,.historical-stats{grid-template-columns:1fr 1fr}.budget-check{flex-wrap:wrap}.budget-check span{margin-left:0}.historical-stats .net-worth{flex-wrap:wrap}.historical-play .dialogue-copy{font-size:16px}.historical-play .choice-name{font-size:15px}.historical-play .effect-line{font-size:12px}.historical-ranking li{grid-template-columns:15px 1fr}.historical-ranking li strong{grid-column:2}}.difficulty-picker{border:0;padding:0;margin:0 0 12px;min-width:0}.difficulty-picker legend{font-size:15px;font-weight:800;margin-bottom:6px}.difficulty-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.difficulty-picker button{background:#fff;border:1.5px solid #d6cde0;border-radius:12px;padding:8px 3px;min-height:58px;display:grid;gap:3px}.difficulty-picker button[aria-pressed=true]{background:#e1f1e4;border-color:#577f64}.difficulty-picker strong{font-size:14px}.difficulty-picker strong small{font-size:9px;margin-left:5px;color:#3d6549}.difficulty-picker button span{font-size:10px}.difficulty-picker p{font-size:11px;line-height:1.5;margin:6px 0 0}.money-desk{border:2px solid #afa0ba;border-radius:18px;background:#fffdf8;padding:12px;text-align:left}.money-heading{display:flex;gap:9px;align-items:center}.money-heading>span{display:grid;place-items:center;font-size:30px;width:48px;height:45px;border-radius:12px 12px 4px;background:#ffedb4;color:#645473;transform:rotate(-5deg)}.money-heading h2{font-size:18px;line-height:1.3;margin:0}.money-heading p{font-size:11px;line-height:1.4;margin:4px 0}.money-pocket{display:grid;grid-template-columns:1fr 1fr;padding:6px 0;gap:6px}.money-pocket span{font-size:10px;display:grid;color:#645973}.money-pocket strong{font-size:17px;line-height:1.2;color:#393040;overflow-wrap:anywhere}.money-tabs{display:flex;gap:3px;border-bottom:2px solid #bcaec6}.money-tabs button{flex:1;border:0;border-radius:9px 9px 0 0;padding:9px 3px;font-size:12px;background:#ece4f2}.money-tabs [aria-selected=true]{background:#675675;color:#fff;font-weight:800}.money-panel{padding-top:6px}.money-panel .primary{padding:10px 6px;min-height:48px;font-size:13px}.deposit-buttons{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:10px}.deposit-buttons button{padding:6px 2px;border:1px solid #9bb7a4;border-radius:8px;background:#edf5ef;font-size:11px;min-height:44px}.deposit-buttons small{display:block;font-size:10px;margin-top:2px}.investment-sources{display:grid;grid-template-columns:1fr 1fr;gap:5px}.investment-sources button,.money-portions button{border:1px solid #d3c5df;border-radius:8px;padding:8px 3px;background:#fff;font-size:11px;min-height:38px}.investment-sources [aria-pressed=true],.money-portions [aria-pressed=true]{background:#ffedb4;border-color:#b98e42;font-weight:800}.investment-tip{position:relative;font-size:12px;line-height:1.6;padding:9px 11px;border:1.5px solid #d4c6de;border-radius:4px 14px 14px;background:#f7f0fc;margin:9px 0 6px}.money-cost,.money-fine{font-size:10px;line-height:1.55;color:#665b70;margin:7px 0}.money-fine{font-size:9px}.money-select{display:flex;gap:8px;align-items:center;font-size:11px;min-width:0}.money-select select{min-width:0;flex:1;border:1px solid #bcaec6;background:#fff;padding:8px 5px;border-radius:7px;color:#392f43;font:inherit}.money-portions{display:flex;gap:5px;margin:8px 0}.money-portions button{flex:1}.holding-sale{margin-top:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}.holding-sale .secondary{padding:7px 5px;font-size:10px;margin:0}.housing-regions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.housing-regions button{display:grid;gap:3px;background:#fff5e4;border:1.5px solid #decbb1;border-radius:12px;padding:8px 3px;font-size:21px;line-height:1.15;min-width:0}.housing-regions [aria-pressed=true]{background:#e1f1e4;border-color:#577f64}.housing-regions strong{font-size:11px}.housing-regions span{font-size:10px;overflow-wrap:anywhere}.house-quote{padding:7px 10px;margin:9px 0;background:#f8f1e9;border-radius:9px}.house-quote div{display:flex;justify-content:space-between;gap:8px;font-size:11px;line-height:1.25;padding:4px 0}.house-quote dd{margin:0;font-weight:750;text-align:right}.owned-home{background:#fff3d6;border-radius:14px;padding:10px 12px}.owned-home h3{font-size:19px;margin:0 0 7px}.owned-home p,.career-pay{font-size:12px;line-height:1.6}.repay-debt{width:100%;margin-top:9px}.money-continue.primary{margin:9px 0 0;background:#567961;border-color:#3c5f46;min-height:46px;font-size:13px}.money-event-result{margin:4px 0 10px;padding:9px 11px;background:#edf4ef;border-radius:10px;font-size:11px;line-height:1.55}.career-summary{font-size:10px;margin:0 0 7px;color:#665b70}.money-desk button:disabled{opacity:.5}.money-desk button:focus-visible,.difficulty-picker button:focus-visible{outline:3px solid #8056a8;outline-offset:2px}@media(max-width:350px){.money-desk{padding:9px}.money-heading h2{font-size:16px}.money-pocket strong{font-size:15px}.holding-sale{grid-template-columns:1fr}}.money-desk button{min-height:48px;min-width:48px}.historical-frame[data-historical-phase=MONEY] .historical-stats>div{display:none}.historical-frame[data-historical-phase=MONEY] .historical-stats{padding-bottom:0}.historical-frame[data-historical-phase=MONEY] .historical-play{padding-top:4px}.investment-sources{grid-template-columns:repeat(4,minmax(0,1fr))}.money-rules{font-size:10px;margin-top:7px;line-height:1.5;color:#665b70}.money-rules summary{cursor:pointer;min-height:26px}.money-event-result{font-size:10px;margin-bottom:7px;padding:6px 9px}.money-debt-alert{padding:6px 8px;border-left:3px solid #b15c65;background:#fff0ed;font-size:10px;line-height:1.4}.money-continue.primary{position:static;color:#fffdf8}.historical-frame[data-historical-phase=MONEY] .historical-play{padding-bottom:8px}.historical-frame[data-historical-phase=MONEY] .money-panel{padding-bottom:4px}.money-panel .ledger{margin:8px 0;font-size:12px}.money-panel .ledger>div{padding-block:5px}.money-panel .career-pay{font-size:11px;line-height:1.5;margin:8px 0}.money-panel .housing-regions button{padding-block:5px;gap:2px;font-size:18px}.money-panel .house-quote{padding:4px 8px;margin-block:6px}.money-panel .house-quote div{padding-block:3px;line-height:1.2}.money-panel .money-portions{margin-block:6px}.money-panel .money-cost{margin-block:4px}.money-panel>.primary{margin-top:6px}.reply-numbers{margin:7px 0 0;font-size:11px;color:#665b70;line-height:1.5}.reply-numbers summary,.office-recap summary{cursor:pointer;padding:7px 0}.reply-numbers p{margin:8px 0}.reply-numbers b,.reply-numbers span{display:block}.reply-numbers span{margin-top:3px}.office-recap{font-size:11px;line-height:1.6;color:#665b70}@media(prefers-reduced-motion:no-preference){.historical-frame[data-choice-hint=true] .money-continue{animation:choice-invite 2.4s ease-in-out 3}}.money-desk{container-type:inline-size}.money-desk button{overflow-wrap:anywhere}.money-panel .ledger>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:6px}.money-panel .ledger dd,.house-quote dd{overflow-wrap:anywhere;min-width:0}@container (max-width: 240px){.investment-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width: 180px){.money-tabs{flex-wrap:wrap}.money-tabs button{flex-basis:100%}.housing-regions,.deposit-buttons,.money-pocket{grid-template-columns:1fr}.money-portions{flex-wrap:wrap}.money-portions button{flex-basis:35%}.money-panel .ledger>div,.house-quote div{display:block}.house-quote dd{text-align:left}}.historical-stats .net-worth.underwater{background:#ffe3df;color:#963e4b}.money-heading>div{min-width:0;overflow-wrap:anywhere}.money-close{margin-left:auto;flex:0 0 48px;font-size:11px;padding:3px;background:#efe7f4;border:1px solid #c4b6ce;border-radius:9px}.office-break h2{margin:0 0 8px;font-size:22px}.office-break .game-scene{margin:0 0 10px}.office-break .game-scene-art{height:125px}.office-break .game-scene figcaption{font-size:10px}.office-aftermath{font-size:15px;line-height:1.65;padding:13px 14px;background:#fff0c4;border-radius:4px 15px 15px}.office-market-result{font-size:11px;line-height:1.5;margin:8px 0;color:#706377}.office-break .money-continue{position:static;min-height:48px;margin-top:14px;color:#fffdf8;box-shadow:0 3px #c9d7c6}.office-money-button{width:100%;min-height:48px;margin-top:8px;border:1px solid #cabbd6;border-radius:11px;background:#f0e9f5;font-size:13px}.quick-investment-button{display:grid;gap:4px;padding:8px;background:#edf4ef;border-color:#9bb7a4;color:#365842;font-weight:700}.quick-investment-button small{font-size:10px;line-height:1.4;font-weight:400}.quick-investment-button:disabled{opacity:.65}.quick-investment-result{padding:9px 11px;margin:8px 0 0;background:#edf4ef;border-radius:10px;font-size:11px;line-height:1.5;color:#365842}.office-break-note{margin:8px 0 0;color:#71677a;font-size:10px;line-height:1.5}@media(max-height:720px){.office-break .game-scene-art{height:95px}}@media(max-height:680px){.office-break[data-quick-investment=true] .game-scene-art{height:58px}.office-break[data-quick-investment=true] .office-aftermath{font-size:13px;line-height:1.5;padding:10px 11px}}@container (max-width: 180px){.investment-sources{grid-template-columns:1fr}}.run-controls{display:flex;justify-content:flex-end;gap:8px;padding:0 16px}.run-controls button,.metric-help-toggle{min-height:44px;border:0;background:transparent;color:#665572;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px}.run-controls button{padding:6px 10px}.metric-help-toggle{display:block;padding:4px 16px;text-align:left}.metric-explanation{margin:0 16px 10px;padding:8px 12px;border-left:3px solid #b7dac8;background:#edf5ef;font-size:12px;line-height:1.6}.metric-explanation p{margin:4px 0 9px}.passing-months{display:flex;list-style:none;gap:8px;padding:0;margin:12px 0}.passing-months li{flex:1;text-align:center;padding:8px 2px;background:#e8eee5;border-bottom:3px solid #b5cbb4;border-radius:6px;font-size:14px;font-weight:700}.auto-story-note{font-size:12px;color:#5f5e6b;text-align:center;margin:8px 0 0}.office-break .historical-text-button{display:block;width:100%;min-height:44px}.run-action-dialog .primary,.run-action-dialog .secondary{width:100%;min-height:48px;margin-top:12px}.historical-last-result summary{min-height:44px;display:flex;align-items:center;cursor:pointer}@media(prefers-reduced-motion:no-preference){.office-break .passing-months li{animation:month-arrives 2.4s ease-out both}.office-break .passing-months li:nth-child(2){animation-delay:.3s}.office-break .passing-months li:nth-child(3){animation-delay:.6s}}@keyframes month-arrives{0%{opacity:.35;transform:translateY(3px)}35%,to{opacity:1;transform:none}}.run-controls .plan-money-control{margin-right:auto;color:#405d47}.run-controls .plan-money-control[aria-pressed=true]{background:#dcecdf;border-radius:8px;font-weight:700}.historical-frame[data-metric-help=false] .historical-stats>div{display:none}.passage-tools{display:flex;gap:8px;align-items:stretch;margin:8px 0}.passage-tools>button{flex:1;width:auto;min-width:0;min-height:48px;margin:0;padding:8px;font:inherit;font-size:12px}.historical-frame .living-stage{position:sticky;top:0;z-index:4;margin:0 16px;padding:4px 0;background:#fffaf7}.historical-frame .living-stage .game-scene{margin:0}.historical-frame .historical-stage.living-stage .game-scene-art{height:168px}.historical-frame .living-stage figcaption{display:none}.historical-frame .living-stage .story-prop{top:30%;width:38px;height:38px}.story-callback{padding:8px 10px;margin:6px 0;background:#edf4e9;border-left:3px solid #a6c2a2;border-radius:6px;font-size:12px;line-height:1.5}.money-feedback{position:absolute;top:12px;right:12px;color:#704e17;background:#fff0a9;border:1px solid #e0be52;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:700;pointer-events:none}.money-feedback span{display:block;color:#cb941b;text-align:center;letter-spacing:10px}@media(prefers-reduced-motion:no-preference){.calendar-turn{animation:calendar-turn .4s ease-out}.money-feedback{animation:coin-receipt .85s ease-out both}}@keyframes calendar-turn{0%{transform:translateY(-3px);opacity:.5}to{transform:none;opacity:1}}@keyframes coin-receipt{0%{transform:translateY(10px) scale(.88);opacity:0}20%,70%{transform:none;opacity:1}to{transform:translateY(-12px);opacity:0}}@media(max-height:680px){.historical-frame .historical-stage.living-stage .game-scene-art{height:132px}}.story-market-callback{display:block;border-top:1px solid #cddcca;margin-top:6px;padding-top:6px;font-size:11px;color:#56664f}.historical-frame[data-scene-paused=true] .illustration-preview *{animation-play-state:paused!important}.scene-net-worth{position:absolute;top:10px;right:10px;z-index:3;display:grid;gap:1px;max-width:44%;min-width:0;min-height:48px;padding:5px 8px;border:1px solid #b3cfbe;border-radius:10px;background:#edf7ef;color:#345b44;text-align:right;line-height:1.2;box-shadow:0 2px #c9d9cc}.scene-net-worth>span,.scene-net-worth>small{font-size:10px}.scene-net-worth>strong{font-size:clamp(13px,4vw,17px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.scene-net-worth.underwater{border-color:#dfb2b2;background:#ffe9e5;color:#963e4b}.scene-net-worth:focus-visible{outline:3px solid #567893;outline-offset:3px}.historical-frame .living-stage .money-feedback{top:auto;bottom:10px;right:10px}.game-intro__guide{display:grid;gap:9px;margin:10px 0 0;padding-left:17px;color:#535563;font-size:12px;line-height:1.55}.game-intro__guide strong{display:block;color:#242637;font-weight:800}.mobile-frame.opening-sequence{display:grid;grid-template-rows:auto 1fr auto;padding:calc(12px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left))}.opening-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.opening-toolbar>span{color:#706576;font-size:12px}.opening-toolbar button{border:1px solid #ddd3df;border-radius:16px;background:#fff;padding:0 12px;font-size:12px}.opening-story{align-self:center;text-align:center;padding:18px 0}.opening-story h1{font-size:clamp(25px,7.8vw,34px);line-height:1.25;word-break:keep-all}.opening-art{display:block;width:100%;max-width:420px;height:auto;margin:18px auto 8px;overflow:visible}.opening-caption{min-height:3.1em;display:grid;align-content:center;font-size:21px;line-height:1.45;font-weight:750;word-break:keep-all}.opening-static-copy{font-size:15px;line-height:1.5;font-weight:650}.opening-static-copy p+p{margin-top:5px}.opening-dots{display:flex;justify-content:center;gap:7px;margin:10px 0 0}.opening-dots span{width:7px;height:7px;border-radius:50%;background:#e1d7e6}.opening-dots span[data-current=true]{background:#b28dbb;width:20px;border-radius:5px}.opening-progress{height:4px;border-radius:4px;overflow:hidden;background:#e9e2ec}.opening-progress>span{display:block;height:100%;border-radius:inherit;background:#9ebba9}.opening-languages{display:flex;justify-content:center;gap:8px;margin-top:8px}.opening-languages button{border:0;border-radius:12px;background:transparent;font-size:12px;padding:0 16px}.opening-languages button[aria-pressed=true]{background:#e5f0e8;font-weight:750}.opening-replay{display:block;width:100%;margin-top:7px;border:0;background:transparent;font-size:12px;color:#655773}@media(prefers-reduced-motion:no-preference){.opening-art[data-phase="0"] .opening-worker,.opening-art[data-phase="0"] .opening-briefcase{animation:opening-arrive 1.15s ease-out both}.opening-art[data-phase="0"] .opening-door{animation:opening-door .9s ease-out both;transform-origin:100px 245px}.opening-art[data-phase="1"] .opening-worker{animation:opening-startle .55s ease-out both;transform-origin:214px 260px}.opening-art[data-phase="1"] .opening-paper{animation:opening-paper-tumble 1.4s ease-in-out both;transform-origin:195px 210px}.opening-art[data-phase="2"] .opening-worker{animation:opening-ready .65s ease-out both}.opening-art[data-phase="2"] .opening-coin{animation:opening-coin-toss 1.6s ease-in-out both;transform-box:fill-box;transform-origin:center}.opening-art .opening-chart>path:nth-of-type(2){stroke-dasharray:190;animation:opening-chart-draw 1.1s ease-out both}}.opening-sequence[data-animated=false] *,.opening-sequence[data-animated=false] *:before{animation-play-state:paused!important}@keyframes opening-arrive{0%{transform:translate(55px)}35%{transform:translate(30px,-7px)}70%{transform:translate(10px,-2px)}to{transform:none}}@keyframes opening-door{0%{transform:scaleX(.6)}to{transform:scaleX(1)}}@keyframes opening-startle{0%{transform:none}40%{transform:translateY(-8px) rotate(-4deg)}to{transform:none}}@keyframes opening-paper-tumble{0%{transform:translateY(-22px) rotate(-5deg)}45%{transform:translate(3px,3px) rotate(3deg)}to{transform:none}}@keyframes opening-ready{0%,to{transform:none}45%{transform:translateY(-5px)}}@keyframes opening-coin-toss{0%{transform:translateY(18px) scaleX(1)}30%{transform:translateY(-12px) scaleX(.15)}55%{transform:translateY(-18px) scaleX(1)}80%{transform:translateY(0) scaleX(.15)}to{transform:none}}@keyframes opening-chart-draw{0%{stroke-dashoffset:190}to{stroke-dashoffset:0}}.mobile-frame.language-choice{display:grid;align-items:center;padding:calc(32px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left))}.language-choice-content{width:100%;max-width:360px;margin-inline:auto;text-align:center}.language-choice h1{font-size:clamp(23px,6.5vw,29px);line-height:1.4;word-break:keep-all}.language-choice h1 span,.language-choice p span{display:block}.language-choice h1 span+span{margin-top:7px;font-size:.85em;letter-spacing:-.025em}.language-choice p{margin-top:20px;color:#706576;font-size:14px}.language-choice p span+span{margin-top:4px}.language-choice-buttons{display:grid;gap:14px;margin-top:32px}.language-choice-buttons button{width:100%;min-height:72px;padding:12px 18px;border:1.5px solid var(--rule);border-radius:22px;background:var(--paper);box-shadow:0 3px #e9e1dc;font-size:23px;font-weight:750}.language-choice-buttons button[data-suggested=true]{border-color:#a7c5b1;background:#e5f0e8}.language-choice-buttons button:active{transform:translateY(2px);box-shadow:0 1px #e9e1dc}.hud strong{font-size:21px}.mobile-frame .hud{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr)}.mobile-frame .hud button.stat strong{white-space:nowrap}.mobile-frame .hud button.stat-netAssets strong{font-size:14px;line-height:1.4;letter-spacing:-.04em;min-height:29px;align-items:center}.mobile-frame .hud button.stat-rep strong{font-size:19px}.stat-feeling{display:block;font-size:10px;line-height:1.3;color:#525e6b;margin-top:3px}.hud .stat-change{font-size:9px}.mobile-frame .hud button.stat-skill strong,.mobile-frame .hud button.stat-health strong{font-size:21px}.mobile-frame .hud .stat-label svg,.mobile-frame .hud .stat-meter{display:none}.mobile-frame .hud .stat-change{margin:2px 0}.mobile-frame .hud .stat-label{font-size:9.5px}.mobile-frame[data-phase] .masthead{min-height:48px}.mobile-frame[data-phase=EVENT] .progress-row{margin-block:0 2px}.ledger dd>small{display:block;font-size:11px;font-weight:400}@media(max-height:620px){.mobile-frame[data-phase=PREP] .stat-feeling{display:none}}@container (max-width: 340px){.hud{gap:4px;padding-inline:7px}.hud button{padding-inline:3px}.mobile-frame .hud button.stat-netAssets strong{font-size:12px}.mobile-frame .hud button.stat-rep strong{font-size:17px}.mobile-frame .hud button.stat-health strong{font-size:19px}.stat-feeling{font-size:9px}}@container (max-width: 240px){.mobile-frame .hud{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-frame .hud button.stat-netAssets strong{font-size:15px}.stat-feeling{font-size:12px}.mobile-frame[data-phase=PREP] .stat-feeling{display:block}}.prep-board{margin-top:4px;color:var(--ink)}.prep-board .prep-board-guide{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;gap:6px;min-height:48px;margin-bottom:6px}.prep-board .prep-board-guide-copy{min-width:0}.prep-board .prep-board-guide-copy strong{display:block;font-size:13px;line-height:1.4}.prep-board .prep-board-guide-copy p{margin:2px 0 0;font-size:11px;line-height:1.35;color:#586b63}.prep-board .prep-inspect{min-width:48px;min-height:48px;padding:4px;border:1px solid #c7d6cc;border-radius:12px;background:#fffefa;font-size:11px;line-height:1.4;font-weight:700}.prep-board .prep-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:7px}.prep-board .prep-tab{min-width:48px;min-height:48px;padding:4px 2px;border:1.5px solid #d2ceda;border-radius:12px 12px 5px 5px;background:#f1edf6;color:#625c70;line-height:1.35}.prep-board .prep-tab strong{display:block;font-size:13px}.prep-board .prep-tab span{display:block;font-size:10px;margin-top:1px}.prep-board .prep-tab[aria-selected=true]{background:#dceedd;border-color:#89ac91;color:#355a40;box-shadow:inset 0 -3px #89ac91}.prep-board .prep-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 6px;align-items:stretch}.prep-board .prep-choice{display:flex;flex-direction:column;align-items:flex-start;width:100%;height:auto;min-height:65px;padding:4px 6px;gap:1px;border:1.5px solid #bfcebf;border-radius:11px 11px 11px 4px;background:#fffefa;box-shadow:0 2px #dae3d5}.prep-board .prep-choice .choice-name{display:block;font-size:13px;line-height:1.2;font-weight:750}.prep-board .prep-choice .effect-line{font-size:11px;line-height:1.2;white-space:pre-line;color:#52697b}.prep-board .prep-choice .lock-reason{display:block;margin:0;padding:0;border:0;font-size:10px;line-height:1.2;color:#8e4657;text-align:left}.prep-board .prep-choice:disabled{border-color:#d3d0d1;background:#f2f0ef;box-shadow:none}.prep-board .prep-choice:active:not(:disabled){border-color:#7e9e86;background:#eaf5e9;box-shadow:none;transform:translateY(1px)}.prep-board .prep-footnote{margin:6px 1px 0;font-size:10px;line-height:1.4;color:#626876}.prep-board[data-hint=true] .prep-board-guide-copy strong{color:#326444}@container (max-width: 240px){.prep-board .prep-board-guide{grid-template-columns:minmax(0,1fr) 48px}.prep-board .prep-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.prep-board .prep-action-grid{grid-template-columns:1fr}.prep-board .prep-choice{min-height:60px;padding:8px}.prep-board .prep-choice .choice-name{font-size:14px}.prep-board .prep-choice .effect-line{font-size:12px}.prep-board .prep-choice .lock-reason{font-size:11px}}@media(min-height:720px){.prep-board .prep-board-guide{margin-bottom:9px;min-height:52px}.prep-board .prep-board-guide-copy strong{font-size:15px}.prep-board .prep-board-guide-copy p{font-size:12px}.prep-board .prep-tabs{gap:7px;margin-bottom:10px}.prep-board .prep-tab{min-height:54px}.prep-board .prep-tab strong{font-size:15px}.prep-board .prep-tab span{font-size:11px}.prep-board .prep-action-grid{gap:8px}.prep-board .prep-choice{min-height:90px;padding:10px;gap:4px}.prep-board .prep-choice .choice-name{font-size:15px;line-height:1.35}.prep-board .prep-choice .effect-line{font-size:12.5px;line-height:1.4}.prep-board .prep-choice .lock-reason{font-size:11px;line-height:1.4}.prep-board .prep-footnote{font-size:11px}}:root{font-family:ui-rounded,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Segoe UI,sans-serif;color:#3f4554;background:#ece9f1;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--paper: #ffffff;--base: #fffaf7;--ink: #3f4554;--accent: #e79e7d;--red: #b43e58;--green: #276e58;--rule: #e4deda}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.6}button,input{font:inherit}button,summary,label{-webkit-tap-highlight-color:transparent}button{min-width:48px;min-height:48px;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed}button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #426b8e;outline-offset:3px}button,summary,input,p,h1,h2,h3{overflow-wrap:anywhere}h1,h2,h3,p{margin:0}h1{font-size:25px;line-height:1.3;letter-spacing:-.035em;font-weight:780}h1:focus{outline:none}h2{font-size:19px;line-height:1.5;margin:25px 0 10px}h3{font-size:17px}p+p{margin-top:12px}small{font-size:13px}[hidden]{display:none!important}.mobile-frame{container-type:inline-size;max-width:480px;margin:0 auto;background:var(--base);min-height:100vh;min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-shadow:0 0 50px #23384c14}.masthead{min-height:54px;margin:0 18px;display:flex;align-items:center;gap:8px}.wordmark{flex:1;min-width:0;font-size:14px;font-weight:750;letter-spacing:-.025em}.wordmark:before{content:"";display:inline-block;vertical-align:-3px;width:17px;height:17px;border:1.5px solid var(--ink);border-radius:7px 7px 6px 6px;margin-right:8px;transform:rotate(-7deg);background:radial-gradient(circle at 32% 56%,#3f4554 1px,transparent 1.5px),radial-gradient(circle at 69% 56%,#3f4554 1px,transparent 1.5px),#ffc9ad}.menu-button{border:1.5px solid #e4deda;border-radius:18px;background:#fff;padding:0 11px;font-size:13px;font-weight:700;box-shadow:0 2px #e9e1dc}.landing{padding:16px 22px 30px}.hero-title{font-size:clamp(34px,10vw,45px);line-height:1.2;letter-spacing:-.055em;max-width:350px;margin-bottom:22px;word-break:keep-all;overflow-wrap:anywhere}.landing .game-scene{margin:0 0 20px}.landing .game-scene-art{height:184px}.landing>.hero-title{margin-bottom:12px}.landing>.game-scene{margin-bottom:12px}.landing>.game-scene .game-scene-art{height:128px}.game-intro{margin-bottom:14px}.game-intro h2{font-size:17px;line-height:1.4;margin-bottom:7px;word-break:keep-all}.game-intro p{font-size:12px;line-height:1.5;margin-top:5px;color:#535563}.legacy-mode-note{font-size:11px;color:#65616e;margin:12px 0 3px}.legacy-mode-goal{font-size:13px;line-height:1.5;margin-bottom:10px}.intro{font-size:19px;font-weight:650;line-height:1.5;margin-bottom:10px;word-break:keep-all}.duration{color:#576f82;font-size:13px;line-height:1.6;margin-bottom:20px}.primary,.secondary,.danger{display:block;width:100%;border:1px solid transparent;border-radius:18px;padding:13px 15px;margin-top:12px;min-height:54px;text-align:center;font-weight:700}.primary{color:#3f4554;background:#ffc9ad;border:2px solid #d99b7e;box-shadow:0 4px #d99b7e}.secondary{background:#f1edf8;border-color:#d8cfe7;box-shadow:0 2px #e2daed}.danger{color:#a83446;border-color:#d6a1aa;background:#fff6f7}.start-button{display:flex;justify-content:center;align-items:center;gap:10px}.start-button svg{width:18px;height:18px;fill:#81533e}.name-field{margin:20px 0 16px}.name-field label{display:block;margin-bottom:7px;font-size:15px;font-weight:750}.name-field input{display:block;width:100%;min-width:0;min-height:54px;border:1.5px solid #b9acca;border-radius:15px;padding:12px 14px;background:#fff;color:var(--ink);font-size:16px}.name-field input::placeholder{color:#74717d}.name-field p{margin-top:7px;font-size:12px;line-height:1.6;color:#626574}.player-name{overflow-wrap:anywhere;font-weight:800}.game-scene figcaption>span{min-width:0;max-width:100%;overflow-wrap:anywhere}.archive-player-name{font-weight:750}.about-game{margin:10px 0;color:#50697d;font-size:14px}.about-game>p{font-size:16px;color:var(--ink)}.language{display:flex;justify-content:center;margin:15px 0 10px;gap:8px}.language button{padding:0 16px;min-height:48px;background:transparent;border:0;border-radius:8px}.language button[aria-pressed=true]{font-weight:750;background:#e7f1e9;color:#3f4554;box-shadow:inset 0 0 0 1.5px #c7dfcf}.save-control{display:flex;align-items:center;gap:12px;min-height:54px;margin:10px 0;cursor:pointer}input[type=checkbox],input[type=radio]{flex:0 0 22px;width:22px;height:22px;margin:0;accent-color:#426b8e}.fineprint{color:#576f82;font-size:14px;line-height:1.65}.fiction-notice{margin:16px 0 4px;color:#626574;font-size:12px;line-height:1.65}.content-notice{border-top:1px solid var(--rule);margin-top:20px}summary{cursor:pointer;min-height:48px;padding:12px 0}details>p{margin:4px 0 14px}.dev-seed{display:grid;gap:8px;margin-top:20px}.dev-seed input{width:100%;min-height:48px;background:#fff;border:1px solid var(--rule);padding:8px}.hud{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;position:sticky;top:0;z-index:2;background:var(--base);padding:5px 10px 9px;border-bottom:1px solid var(--rule)}.hud button{min-width:48px;min-height:73px;border:2px solid #d9e5dc;padding:2px 4px 3px;background:#e7f4ed;text-align:left;border-radius:15px 15px 11px 11px;box-shadow:0 2px #d9e5dc}.hud .stat-rep{background:#eee8f9;border-color:#dfd6ee;box-shadow:0 2px #dfd6ee}.hud .stat-skill{background:#fff4cd;border-color:#e9ddb4;box-shadow:0 2px #e9ddb4}.hud .stat-health{background:#ffe7dc;border-color:#efd3c5;box-shadow:0 2px #efd3c5}.stat-label{display:flex;align-items:center;gap:3px;font-size:10.5px;line-height:1.25;color:#525e6b;min-height:17px}.stat-label svg{flex:0 0 13px;width:13px;height:13px;stroke-width:2}.hud strong{display:flex;align-items:baseline;flex-wrap:wrap;font-variant-numeric:tabular-nums;font-size:25px;line-height:1.3;font-weight:750;letter-spacing:-.035em}.hud strong small{font-size:10px;margin-left:2px;font-weight:600;letter-spacing:-.02em}.stat-change{display:block;font-size:10px;line-height:1.25;font-variant-numeric:tabular-nums;margin:3px 0 5px;color:#50697d}.stat-change b{font-weight:700;white-space:nowrap}.stat-meter{display:block;height:3px;border-radius:3px;background:#ffffffb3;margin-top:4px;overflow:hidden}.stat-meter i{display:block;height:100%;background:#85a1b6}.stat-health .stat-meter i{background:#73a394}.stat-skill .stat-meter i{background:#e4a578}.stat-rep .stat-meter i{background:#8598ba}.progress-row{margin:10px 18px 5px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#5d6270}.progress-row>span:first-child{font-weight:700}.progress-row>span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}.run-progress{display:block;height:3px;width:calc(100% - 36px);margin:0 18px;border:0;border-radius:3px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#e9e2ef;color:#aa96c8}.run-progress::-webkit-progress-bar{background:#e9e2ef;border-radius:3px}.run-progress::-webkit-progress-value{background:#aa96c8;border-radius:3px}.run-progress::-moz-progress-bar{background:#aa96c8;border-radius:3px}.chapter-content{padding:6px 18px 20px}.chapter-content>h1{margin:5px 0 15px}.chapter-content>.game-scene{margin-bottom:18px}.chapter-content>p{margin-bottom:20px}.situation{position:relative;font-size:16px;line-height:1.65;margin-bottom:20px;word-break:keep-all;padding:12px 14px;border:1.5px solid #e4deda;border-radius:18px 18px 18px 5px;background:#fff;box-shadow:0 3px #eee7e1}.situation:before{content:"";position:absolute;left:19px;top:-7px;width:11px;height:11px;border-top:1.5px solid #e4deda;border-left:1.5px solid #e4deda;transform:rotate(45deg);background:#fff}.choice-list{display:grid;gap:10px}.choice{display:flex;width:100%;flex-direction:column;text-align:left;background:#fff;border:2px solid #dbd5df;border-radius:18px;padding:13px 14px;gap:6px;line-height:1.5;font-size:16px;box-shadow:0 4px #e4dce7}.choice-name{display:flex;align-items:baseline;gap:10px;font-size:16px;font-weight:700;line-height:1.5}.choice-letter{flex:0 0 23px;height:23px;border-radius:9px;border:1px solid #c1dccd;background:#d9efe3;color:#3f6152;display:inline-flex;justify-content:center;align-items:center;font-size:12px;font-weight:800;align-self:flex-start;margin-top:1px}.choice-wrap:nth-child(2) .choice-letter{background:#e6ddf5;border-color:#d3c5e8;color:#64537d}.choice-wrap:nth-child(3) .choice-letter{background:#ffedb4;border-color:#e6d59a;color:#736234}.choice-wrap:nth-child(4) .choice-letter{background:#ffd9c6;border-color:#e8baa3;color:#80563e}.effect-line{display:block;font-size:13px;color:#576f82;font-weight:400;line-height:1.55}.event-choice .effect-line{padding-left:33px}.recommended{margin-left:auto;font-size:12px;color:#28745e;background:#e7f1eb;border-radius:5px;padding:2px 5px;white-space:nowrap}.choice:disabled{background:#f2f0ef;color:#666c73;border-style:dashed;border-color:#d8d3d1;box-shadow:none}.choice:disabled .effect-line{color:#617383}.choice:active:not(:disabled){border-color:#a38ebd;background:#f4effa;box-shadow:0 1px #e4dce7;transform:translateY(2px)}.lock-reason{margin:7px 2px 0;padding:3px 0 3px 10px;color:#a83446;font-size:13px;border-left:2px solid #ce9aa2}.income-notice{color:#50697d;font-size:13px;border-top:1px solid var(--rule);padding-top:7px}.career-list .choice{position:relative;padding-left:63px;min-height:140px}.career-symbol{position:absolute;left:14px;top:17px;display:grid;place-items:center;width:34px;height:38px;border:1.5px solid #c4d9cb;border-radius:12px;background:#d9efe3;font-size:24px;color:#496c59;transform:rotate(-4deg)}.career-PLATFORM{background:#f5e9dc;color:#8b5b32;border-color:#d2b28b}.career-OPS{background:#e9efe8;color:#4e7764;border-color:#b4c9bb}.prep-group{margin:12px 0 18px}.prep-group>summary{font-weight:750;font-size:16px}.prep-group>.choice-list{grid-template-columns:repeat(2,minmax(0,1fr))}.prep-choice{height:auto;min-height:110px;padding:12px;border-radius:18px 18px 18px 7px}.prep-choice .choice-name{font-size:15px}.prep-choice .effect-line{font-size:12px}.market-strip{border:1px solid #e4d9bd;padding:10px 12px;border-radius:13px;font-size:13px;color:#6a614a;background:#fff4d8}.market-change{margin:16px 0;padding:14px;background:#eef3f7;border-radius:8px;font-size:14px}.status-line{margin:0 18px 8px;font-size:13px;color:#536d81;border-top:1px solid var(--rule)}.status-line summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}.recent-result{margin:25px 0 0;padding:16px;border:1.5px solid #e4d5b9;background:#fff5df;border-radius:18px 18px 7px;box-shadow:0 3px #eee0c6}.recent-result-heading{display:grid;gap:4px;font-size:13px}.recent-result-heading>span{color:#836b52}.recent-result-heading>strong{font-weight:650}.recent-result .result-line{margin-top:8px;font-size:15px;line-height:1.7}.recent-result summary{font-size:13px;color:#6c645b}.outcome{padding:14px;background:#eef3f7;border-radius:8px;font-size:15px;line-height:1.65}.outcome p+p{margin-top:5px}.outcome-title{font-size:13px;font-weight:750}.deltas{display:grid;grid-template-columns:1fr 1fr;column-gap:10px;row-gap:5px;margin-top:10px;font-size:12px;font-variant-numeric:tabular-nums}.positive{color:var(--green)}.negative{color:var(--red)}.outcome details{margin-top:8px;border-top:1px solid var(--rule)}.outcome summary{font-size:13px}.outcome .compact{font-size:13px}.old-record{padding:11px 13px;background:#f0eaf8;border:1.5px solid #d9cce9;border-radius:14px 14px 14px 5px;margin-bottom:17px;font-size:14px}.old-record p{margin-top:4px}.ledger{margin:14px 0 20px;font-variant-numeric:tabular-nums}.ledger>div{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:7px 0;border-bottom:1px solid var(--rule)}.ledger dt{margin:0}.ledger dd{margin:0;font-weight:650;text-align:right}.goal,.market-preview{border:1px solid var(--rule);padding:14px;margin-top:20px;border-radius:10px;background:#fff}.goal h2,.market-preview h2{margin-top:0}.goal p{font-size:15px}.report-choices{padding-left:22px;font-size:15px}.report-choices li{padding:5px 0}.report-quote{font-size:18px;line-height:1.8}.report-metrics{margin-top:20px}.ending-stamp{display:inline-block;font-size:13px;font-weight:650;color:#647f92;padding:4px 0;margin-bottom:10px}.ending-story{font-size:20px;line-height:1.8}.result h2{border-top:1px solid var(--rule);padding-top:20px;margin-top:28px}.score{font-variant-numeric:tabular-nums;font-size:50px;line-height:1.35;letter-spacing:-.055em;font-weight:750}.score span{font-size:17px;letter-spacing:0;color:#50697d;font-weight:400}.epilogue{margin-top:17px;line-height:1.8}.traces{padding-left:20px}.traces li{padding:12px 0 18px;border-bottom:1px dashed var(--rule)}.traces p{margin-top:7px}.trace-line{color:#6a88a0}.replay-buttons{display:grid;gap:8px}.topic{border:0;margin:30px 0 0;padding:0}.topic legend{font-size:18px;font-weight:700;margin-bottom:12px}.topic label{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 0}.tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;border-top:1px solid var(--rule);margin:0 18px;padding:10px 0 24px}.tools button{font-size:13px;border:0;background:transparent;padding:8px 2px}.notice{margin:12px 18px;border-left:2px solid #bc7d59;padding-left:12px;font-size:14px}.outcome .notice{margin:8px 0}.sheet{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:16px 20px 24px;border:2px solid #d5c7e0;border-radius:25px;background:var(--base);color:var(--ink);overscroll-behavior:contain;box-shadow:0 7px #c3b3d1,0 12px 60px #3f455430}.sheet::backdrop{background:#3f3b50a3}.sheet-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#50697d}.sheet-top button{border:0;background:transparent;font-size:28px}.sheet h2{margin-top:12px;font-size:23px}.sheet p{margin-top:14px}.sheet .ledger{font-size:16px}.path-chapter{margin-top:24px}.path-list{list-style:none;margin:12px 0;padding:0 0 0 12px}.path-list li{border-left:2px solid var(--rule);padding:0 0 24px 20px;position:relative}.path-list li:before{content:"";position:absolute;left:-6px;top:6px;width:10px;height:10px;border:1px solid var(--rule);border-radius:50%;background:var(--base)}.path-list .visited{border-color:#6e91ad}.path-list .visited:before{border-color:#6e91ad;background:#6e91ad}.path-list p{margin-top:3px}.alternate-path{display:block;border-left:1px solid var(--rule);padding:6px 0 6px 10px;margin-top:8px}.archive-summary{padding:14px 0;border-bottom:1px solid var(--rule)}.archive-summary p{font-size:14px;margin-top:6px}.goal-badge{display:inline-block;color:var(--green);background:#e6f1eb;padding:2px 6px;border-radius:4px;margin-left:8px}.undiscovered{color:#50697d}.rotate{display:grid;align-content:center;justify-items:center;min-height:100vh;min-height:100dvh;max-width:600px;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));margin:auto;text-align:center}.rotate p{margin-top:12px}.rotate-icon{font-size:50px;color:#bc7d59;line-height:1.1;margin-bottom:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(prefers-reduced-motion:no-preference){button{transition:background-color .15s,border-color .15s}}@container (max-width: 340px){.stat-label svg{display:none}.prep-group>.choice-list{grid-template-columns:1fr}.career-list .choice{padding-left:54px}.career-symbol{left:10px;width:30px}}@container (max-width: 240px){.hud{grid-template-columns:repeat(2,minmax(0,1fr))}.deltas{grid-template-columns:1fr}.masthead{margin-inline:12px}.chapter-content,.landing{padding-inline:12px}.wordmark:before{display:none}.choice{padding:12px}.event-choice .effect-line{padding-left:0}}@media(max-height:680px){.chapter-content>.game-scene{margin-bottom:14px}.landing .game-scene-art{height:144px}}.sound-button{display:flex;align-items:center;justify-content:center;gap:4px;border:1.5px solid #c9dcd1;border-radius:18px;background:#edf5ef;padding:0 8px;font-size:11px;font-weight:700;flex-shrink:0}.sound-button>.sound-symbol{font-size:18px}.sound-button>.sound-label{min-width:0;overflow-wrap:anywhere}.sound-button[aria-pressed=true]{background:#d9efe3;border-color:#789d88}.sound-error{margin:5px 18px 12px;padding:10px;background:#fff0e8;border:1px solid #d99a73;border-radius:10px;font-size:13px}.sound-error details{font-size:12px}.masthead .wordmark{font-size:12px}.chapter-content>.dialogue{margin-bottom:18px}[data-testid=event]>.dialogue{margin-bottom:14px}.landing>.dialogue{margin-bottom:22px}@container (max-width: 240px){.masthead{flex-wrap:wrap;gap:6px;padding:6px 0}.masthead .wordmark{flex-basis:100%}.masthead .sound-button,.masthead .menu-button{flex:1;min-width:48px}}.mobile-frame[data-phase=PREP] .masthead{min-height:48px;margin-inline:12px}.mobile-frame[data-phase=PREP] .hud{position:static;padding:3px 10px 5px;gap:5px}.mobile-frame[data-phase=PREP] .hud button{min-height:48px;padding:3px 5px;border-radius:12px}.mobile-frame[data-phase=PREP] .hud strong{font-size:21px;line-height:1.15}.mobile-frame[data-phase=PREP] .hud .stat-change,.mobile-frame[data-phase=PREP] .hud .stat-meter{display:none}.mobile-frame[data-phase=PREP] .progress-row{margin:4px 12px 3px;line-height:1.4}.mobile-frame[data-phase=PREP] .run-progress{width:calc(100% - 24px);margin-inline:12px}.mobile-frame[data-phase=PREP] .chapter-content{padding:4px 12px 8px}.mobile-frame[data-phase=PREP] .chapter-content>h1{font-size:20px;margin:2px 0 5px;line-height:1.25}.mobile-frame[data-phase=PREP] .game-scene{display:flex;align-items:center;margin-bottom:7px;border-radius:13px}.mobile-frame[data-phase=PREP] .game-scene-art{width:104px;height:52px;flex:0 0 104px}.mobile-frame[data-phase=PREP] .game-scene figcaption{display:grid;gap:0;padding:4px 8px;min-width:0;font-size:12px}.mobile-frame[data-phase=PREP] .game-scene-caption-detail{font-size:11px}.prep-detail{margin-top:18px;padding-top:12px;border-top:1px solid var(--rule)}.prep-detail p{font-size:14px}.mobile-frame[data-choice-hint=true] .choice:not(:disabled),.mobile-frame[data-choice-hint=true] .prep-tab[data-guide-tab=true],.mobile-frame[data-choice-hint=true] .start-button,.mobile-frame[data-choice-hint=true] [data-testid=next-chapter]{border-color:#b58b38;box-shadow:0 0 0 3px #f6e3a5,0 3px #d7c28b;animation:choice-invite 2.4s ease-in-out 3}.mobile-frame[data-choice-hint=true] .dialogue-reply-heading{color:#765b24;font-weight:700}@keyframes choice-invite{0%,to{box-shadow:0 0 0 2px #f6e3a580,0 3px #d7c28b}50%{box-shadow:0 0 0 5px #f6e3a5,0 3px #d7c28b}}@media(max-height:680px){.mobile-frame[data-phase=PREP] .game-scene-art{width:86px;height:42px;flex-basis:86px}.mobile-frame[data-phase=PREP] .game-scene{margin-bottom:4px}.mobile-frame[data-phase=PREP] .game-scene figcaption{padding-block:2px}.mobile-frame[data-phase=PREP] .game-scene-caption-detail{display:none}}@media(max-height:620px){.mobile-frame[data-phase=PREP] .hud strong{font-size:20px;line-height:1.1}.mobile-frame[data-phase=PREP] .progress-row{margin-block:2px;font-size:11px;line-height:1.2}.mobile-frame[data-phase=PREP] .chapter-content>h1{font-size:19px;line-height:1.2;margin-bottom:4px}.mobile-frame[data-phase=PREP] .game-scene-art{width:76px;height:32px;flex-basis:76px}}@media(min-height:720px){.mobile-frame[data-phase=PREP] .chapter-content>h1{font-size:22px;margin-block:5px 8px}.mobile-frame[data-phase=PREP] .game-scene-art{width:160px;height:80px;flex-basis:160px}.mobile-frame[data-phase=PREP] .game-scene{margin-bottom:10px}}@media(prefers-reduced-motion:reduce){.mobile-frame[data-choice-hint=true] .choice:not(:disabled),.mobile-frame[data-choice-hint=true] .prep-tab[data-guide-tab=true],.mobile-frame[data-choice-hint=true] .start-button,.mobile-frame[data-choice-hint=true] [data-testid=next-chapter]{animation:none}}
