@font-face{font-family:Playfair Display;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/playfair-display-cyrillic-700-normal-Dw3uKy19.woff2) format("woff2"),url(/assets/playfair-display-cyrillic-700-normal-Dk1mTcxf.woff) format("woff")}@font-face{font-family:Playfair Display;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/playfair-display-latin-700-normal-CuDiGg7c.woff2) format("woff2"),url(/assets/playfair-display-latin-700-normal-Bc_1Q1cG.woff) format("woff")}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-cyrillic-400-normal-C7us6pn1.woff2) format("woff2"),url(/assets/golos-text-cyrillic-400-normal-BwL4n7Pb.woff) format("woff")}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-cyrillic-600-normal-lpQ9rVRR.woff2) format("woff2"),url(/assets/golos-text-cyrillic-600-normal-BgvEFMNR.woff) format("woff")}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/golos-text-latin-400-normal-Coi1FYaD.woff2) format("woff2"),url(/assets/golos-text-latin-400-normal-DOuJOmdK.woff) format("woff")}@font-face{font-family:Golos Text;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/golos-text-latin-600-normal-Bhk8uV1U.woff2) format("woff2"),url(/assets/golos-text-latin-600-normal-B_o32mE8.woff) format("woff")}:root{--bg: #f7f2ea;--surface: #fcf8f2;--surface-raised: #fffaf5;--title: #423b48;--rose: #c99aa8;--text: #6e696f;--muted: #8b858a;--line: rgba(66, 59, 72, .12);--button: #e7cbd3;--button-hover: #e2c0ca;--button-text: #45404a;--pill: #4a4550;--pill-text: #fbf7f1;--mark: #eed7dc;--mark-ink: #8b7b84;--shadow: 0 18px 40px -24px rgba(66, 59, 72, .45);--radius: 16px;--font-body: "Golos Text", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;--font-display: "Playfair Display", Didot, "Bodoni 72", Georgia, serif}*,*:before,*:after{box-sizing:border-box}html{color-scheme:light;-webkit-text-size-adjust:100%}body{margin:0;min-height:100vh;font-family:var(--font-body);line-height:1.5;color:var(--text);background:radial-gradient(ellipse at 50% 0%,#fbf7f0 0%,transparent 58%),var(--bg)}#root{min-height:100vh}h1,h2,p{margin-top:0}button{font:inherit}.page{display:flex;min-height:100vh;flex-direction:column;padding:24px 32px 0}.site-header{display:flex;width:100%;max-width:1590px;min-height:82px;align-items:center;justify-content:space-between;gap:24px;margin:0 auto;padding:0 32px;background:#fcf8f2eb;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 2px #423b480a}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-mark{display:grid;width:38px;height:38px;flex-shrink:0;place-items:center;color:var(--mark-ink);background:var(--mark);border-radius:11px}.brand-mark svg{width:23px;height:23px}.brand-name{font-family:var(--font-display);font-size:1.9rem;font-weight:700;line-height:1;letter-spacing:-.01em;color:var(--title)}.header-nav{display:flex;align-items:center;gap:18px}.nav-link{padding:5px 2px;color:var(--text);font-family:var(--font-body);font-size:.94rem;background:transparent;border:0;cursor:pointer;transition:color .14s ease}.nav-link:hover{color:var(--title)}.lang-button{min-width:96px;min-height:34px;padding:6px 14px;color:var(--pill-text);font-family:var(--font-body);font-size:.9rem;background:var(--pill);border:0;border-radius:999px;cursor:pointer;transition:background-color .14s ease}.lang-button:hover{background:#3f3a45}.hero{display:flex;width:100%;flex:1;flex-direction:column;align-items:center;padding:40px 0 0;text-align:center}.meta{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 24px;color:var(--muted);font-size:1rem;letter-spacing:.015em}.meta-dot{opacity:.8}.title{margin:0 0 18px;font-family:var(--font-display);font-size:clamp(3.1rem,8.7vw,9.1rem);font-weight:700;line-height:.9;letter-spacing:-.025em;color:var(--title)}.title-dark{color:var(--title)}.title-rose{color:var(--rose)}.intro{max-width:810px;margin:0 auto 30px;color:var(--text);font-size:clamp(1.05rem,1.5vw,1.6rem);line-height:1.5}.start-frame{padding:10px;background:var(--surface-raised);border:1px solid rgba(255,255,255,.85);border-radius:18px;box-shadow:0 14px 30px -18px #423b4880,0 1px #fff inset}.start-button{display:flex;width:272px;min-height:66px;align-items:center;justify-content:center;gap:12px;padding:0 24px;color:var(--button-text);font-family:var(--font-body);font-size:1.5rem;font-weight:600;background:var(--button);border:0;border-radius:12px;cursor:pointer;transition:background-color .14s ease,transform .1s ease}.start-button svg{width:26px;height:26px;flex-shrink:0}.start-button:hover{background:var(--button-hover)}.start-button:active{transform:translateY(1px)}.start-button:focus-visible,.nav-link:focus-visible,.lang-button:focus-visible{outline:3px solid var(--title);outline-offset:4px}.facts{display:flex;justify-content:center;gap:clamp(56px,7.5vw,128px);margin:40px 0 0}.fact{min-width:180px}.fact-value{margin:0 0 6px;font-family:var(--font-display);font-size:clamp(2rem,2.9vw,2.75rem);font-weight:700;line-height:1;letter-spacing:-.01em;color:var(--title)}.fact-caption{margin:0;color:var(--muted);font-size:1rem}.footer{padding:56px 0 40px;color:var(--muted);font-size:.84rem;letter-spacing:.01em}@media(max-width:1100px){.page{padding:20px 24px 0}.site-header{min-height:76px;padding:0 24px}.brand-name{font-size:1.65rem}}@media(max-width:760px){.page{padding:14px 14px 0}.site-header{min-height:64px;padding:0 16px;border-radius:14px}.brand{gap:10px}.brand-mark{width:32px;height:32px;border-radius:9px}.brand-mark svg{width:20px;height:20px}.brand-name{font-size:1.4rem}.header-nav{gap:12px}.nav-link{font-size:.9rem}.lang-button{min-height:40px;padding:8px 15px;font-size:.9rem}.hero{padding-top:30px}.meta{gap:6px;margin-bottom:22px;font-size:.85rem}.title{margin-bottom:20px;font-size:clamp(2.8rem,11vw,5rem)}.intro{max-width:560px;margin-bottom:30px;font-size:1.05rem;line-height:1.55}.start-button{width:250px;min-height:62px;font-size:1.25rem}.facts{gap:40px;margin-top:38px}.fact{min-width:140px}.fact-value{font-size:2rem}.fact-caption{font-size:.9rem}.footer{padding:48px 0 22px;font-size:.78rem}}@media(max-width:480px){.nav-link{display:none}.brand-name{font-size:1.3rem}.brand-mark{width:30px;height:30px}.hero{padding-top:26px}.title{font-size:clamp(2.5rem,13vw,3.6rem)}.intro{font-size:1rem}.start-button{width:232px;min-height:58px}.facts{flex-direction:column;gap:22px;margin-top:34px}.fact-caption{max-width:260px;margin-right:auto;margin-left:auto}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.debug-log{position:fixed;right:12px;bottom:12px;z-index:100;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.debug-log-toggle{padding:8px 12px;color:#f4efe9;font-size:.78rem;background:#2a2422;border:1px solid #4a413d;border-radius:8px;cursor:pointer}.debug-log-panel{width:min(680px,calc(100vw - 24px));padding:10px;background:#2a2422;border:1px solid #4a413d;border-radius:12px;box-shadow:0 18px 40px #00000059}.debug-log-text{width:100%;height:260px;padding:8px;color:#f4efe9;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem;line-height:1.4;resize:vertical;background:#151211;border:1px solid #3a3330;border-radius:8px}.debug-log-actions{display:flex;gap:8px;margin-top:8px}.debug-log-actions button{padding:6px 10px;color:#f4efe9;font-size:.75rem;background:#3a3330;border:1px solid #4a413d;border-radius:7px;cursor:pointer}.year-modal-dialog.about-modal{width:min(620px,100%)}.about-subtitle{margin:0 0 10px;font-family:var(--font-display);font-size:1.15rem;font-weight:700;color:var(--title)}.about-list{display:grid;gap:8px;margin:0 0 22px;padding:0;list-style:none}.about-list li{position:relative;padding-left:18px;color:var(--text);font-size:.94rem;line-height:1.5}.about-list li:before{position:absolute;top:.62em;left:0;width:6px;height:6px;background:var(--mark);border-radius:50%;content:""}.about-author{display:flex;align-items:center;gap:18px;margin:0 0 22px;padding:16px;background:var(--surface-raised);border:1px solid var(--line);border-radius:14px}.about-author-text{min-width:0}.about-author-kicker{margin:0 0 4px;color:var(--muted);font-size:.6rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}.about-author-line{margin:0 0 6px;color:var(--title);font-family:var(--font-display);font-size:1.05rem;font-weight:700;line-height:1.25}.about-marusya{margin:0;color:var(--text);font-size:.9rem;line-height:1.5}.about-author-figure{width:124px;flex-shrink:0;margin:0}.about-author-photo{display:block;width:124px;height:124px;object-fit:cover;background:var(--surface);border-radius:12px}.about-author-figure figcaption{margin-top:6px;color:var(--muted);font-size:.7rem;line-height:1.3;text-align:center}@media(max-width:560px){.about-author{flex-direction:column-reverse;align-items:stretch}.about-author-figure{width:100%}.about-author-photo{width:100%;height:180px}}.game-page{display:flex;min-height:100vh;justify-content:center;padding:24px 20px 56px}.game-shell{width:min(760px,100%)}.game-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;padding:0 4px}.game-brand{font-family:var(--font-display);font-size:1.5rem;font-weight:700;color:var(--title)}.game-header-actions{display:flex;align-items:center;gap:16px}.game-link{min-height:44px;padding:8px 4px;color:var(--text);background:transparent;border:0;border-bottom:1px solid var(--line);cursor:pointer}.game-link:hover{color:var(--title)}.game-panel{padding:clamp(22px,4vw,44px);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.game-kicker{margin:0 0 8px;color:var(--muted);font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.game-title{margin:0 0 18px;font-family:var(--font-display);font-size:clamp(1.9rem,4vw,2.8rem);font-weight:700;line-height:1.08;color:var(--title)}.game-text{margin:0 0 20px;color:var(--text);font-size:clamp(1.02rem,1.6vw,1.16rem);line-height:1.62}.game-note{margin:0 0 18px;color:var(--muted);font-size:.95rem}.game-meta{margin:0 0 20px;color:var(--muted);font-size:.85rem}.game-meta code{color:var(--title)}.game-button{min-height:48px;padding:12px 26px;color:var(--button-text);font-family:var(--font-body);font-size:1.02rem;font-weight:600;background:var(--button);border:0;border-radius:12px;cursor:pointer;transition:background-color .14s ease,transform .1s ease}.game-button:hover{background:var(--button-hover)}.game-button:active{transform:translateY(1px)}.hud{display:grid;gap:18px;margin:22px 0 24px;padding:18px;background:var(--surface-raised);border:1px solid var(--line);border-radius:14px}.hud-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px;color:var(--text);font-size:.82rem}.stat-track{height:8px;overflow:hidden;background:var(--mark);border-radius:999px}.stat-fill{display:block;height:100%;background:var(--rose);border-radius:inherit;transition:width .22s ease}.light{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;color:var(--text);font-size:.9rem;border-top:1px solid var(--line)}.light-dots{display:flex;gap:6px}.light-dot{width:14px;height:14px;background:transparent;border:1px solid var(--mark-ink);border-radius:50%}.light-dot.is-on{background:var(--button);border-color:var(--button);box-shadow:0 0 0 3px #e7cbd359}.world-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0;list-style:none}.world-row li{padding:5px 12px;color:var(--pill-text);font-size:.8rem;background:var(--pill);border-radius:999px}.odds-base{margin:0 0 18px;color:var(--muted);font-size:.9rem}.game-choices{display:grid;gap:12px;margin-top:4px}.choice{display:flex;flex-direction:column;gap:6px;width:100%;min-height:64px;padding:14px 18px;text-align:left;background:var(--surface-raised);border:1px solid var(--line);border-radius:12px;cursor:pointer;transition:border-color .14s ease,background-color .14s ease}.choice:hover:not(:disabled){background:#fffdf9;border-color:var(--rose)}.choice:disabled{cursor:not-allowed;opacity:.62}.choice-main{color:var(--title);font-weight:600}.choice-meta{display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--muted);font-size:.84rem}.choice-reason{color:#9a5c69;font-size:.82rem}.deltas{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0 0 18px}.delta{display:flex;gap:8px;padding:6px 12px;background:var(--mark);border-radius:999px;font-size:.88rem}.delta dt{color:var(--mark-ink)}.delta dd{margin:0;color:var(--title);font-weight:600}.recap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0}.recap-block{padding:18px;background:var(--surface-raised);border:1px solid var(--line);border-radius:14px}.recap-block h2{margin:0 0 8px;font-size:.95rem;color:var(--title)}.recap-block p{margin:0;color:var(--text);font-size:.94rem}.cta{margin:0 0 22px;padding:18px;color:var(--title);background:var(--mark);border-radius:14px;font-size:1rem;line-height:1.55}.life-panel{display:flex;flex-direction:column;gap:clamp(14px,2.2vh,22px);min-height:clamp(560px,calc(100dvh - 150px),780px)}.life-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 18px}.life-head .game-kicker{margin-bottom:4px}.life-age{margin:0;font-size:clamp(1.7rem,3.4vw,2.4rem)}.life-head-note{margin:0 0 4px;color:var(--muted);font-size:.84rem;white-space:nowrap}.life-head-note strong{color:var(--title);font-weight:600}.life-timeline{padding:14px 16px 12px;background:var(--surface-raised);border:1px solid var(--line);border-radius:14px}.timeline-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:22px;color:var(--muted);font-size:.78rem}.timeline-head strong{color:var(--title);font-weight:600}.timeline-track{position:relative;height:10px;margin:0 0 8px;background:var(--mark);border-radius:999px}.timeline-fill{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#b8d3bb,#e0b3a4);border-radius:999px;transition:width .1s linear}.timeline-tick{position:absolute;top:-4px;bottom:-4px;width:1px;background:#423b4833}.timeline-marker{position:absolute;top:50%;width:18px;height:18px;background:var(--title);border:3px solid var(--surface-raised);border-radius:50%;box-shadow:0 2px 8px #423b484d;transform:translate(-50%,-50%);transition:left .1s linear}.timeline-labels{position:relative;height:14px;margin:0 0 -4px;color:var(--muted);font-size:.66rem}.timeline-year-label{position:absolute;transform:translate(-50%);font-variant-numeric:tabular-nums}.timeline-year-label:first-child{transform:translate(0)}.timeline-year-label:last-child{transform:translate(-100%)}.speed-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}.speed-caption{margin:0;color:var(--muted);font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}.speed-buttons{display:grid;flex:1;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.speed-button{min-height:40px;padding:6px 8px;color:var(--text);font-family:var(--font-body);font-size:.84rem;font-weight:500;background:var(--surface-raised);border:1px solid var(--line);border-radius:999px;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.speed-button:hover{color:var(--title);border-color:var(--rose)}.speed-button.is-active{color:var(--button-text);font-weight:600;background:var(--button);border-color:var(--button)}.life-stage{display:grid;flex:1;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;align-items:stretch}.life-scene{min-height:150px;margin:0;overflow:hidden;background:linear-gradient(#d4d2e8 0% 70%,#d8d0c3 70% 100%);border:1px solid var(--line);border-radius:14px}.life-scene img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.game-scene{width:100%;margin:0 0 18px;overflow:hidden;aspect-ratio:467 / 279;background:#d4d2e8;border:1px solid var(--line);border-radius:14px}.game-scene img{display:block;width:100%;height:100%;object-fit:cover}.keeper-event-block .game-scene{max-height:160px;margin-bottom:10px}.outcome-modal-dialog .game-scene{max-height:220px}.life-stage-body{display:flex;min-width:0;flex-direction:column}.life-stage-body .world-row{margin-bottom:10px}.life-copy{margin:0 0 10px;color:var(--text);font-size:.95rem;line-height:1.55}.life-note{margin:auto 0 0;color:var(--muted);font-size:.82rem;line-height:1.4}.life-panel .hud{margin:0}.life-actions{display:grid;gap:10px;margin-top:auto}.life-primary{width:100%}.life-hint{margin:0;color:var(--muted);font-size:.78rem;text-align:center}.settings-list{display:grid;gap:10px;margin:0 0 24px}.settings-list div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}.settings-list dt{color:var(--muted)}.settings-list dd{margin:0;color:var(--title)}.settings-locale{display:inline-flex;gap:4px;padding:3px;background:var(--surface-raised);border:1px solid var(--line);border-radius:999px}.settings-locale-button{min-height:36px;padding:6px 14px;color:var(--text);font-size:.86rem;background:transparent;border:0;border-radius:999px;cursor:pointer}.settings-locale-button.is-active{color:var(--title);font-weight:600;background:var(--mark)}.settings-locale-button:focus-visible{outline:3px solid var(--title);outline-offset:2px}.game-button:focus-visible,.game-link:focus-visible,.choice:focus-visible,.speed-button:focus-visible{outline:3px solid var(--title);outline-offset:3px}@media(max-width:620px){.game-page{padding:14px 12px 40px}.hud-stats,.recap{grid-template-columns:1fr}.life-panel{min-height:0;gap:16px}.life-head-note{white-space:normal}.life-stage{grid-template-columns:minmax(0,1fr)}.life-scene{min-height:0;aspect-ratio:467 / 279}.speed-controls{align-items:stretch;flex-direction:column;gap:8px}.speed-buttons{gap:6px}.speed-button{min-height:44px;padding:6px 2px;font-size:.8rem}}@media(prefers-reduced-motion:reduce){.timeline-fill,.timeline-marker{transition:none}}.prologue-page{display:flex;width:min(1300px,100%);min-height:100vh;min-height:100dvh;flex-direction:column;margin:0 auto;padding:clamp(8px,1.4vh,14px) clamp(12px,2vw,24px) clamp(8px,1.4vh,16px)}.prologue-page .site-header{flex-shrink:0}.prologue-layout{display:grid;flex:1;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:clamp(12px,1.6vw,20px);align-items:stretch;min-height:0;margin-top:clamp(8px,1.6vh,22px)}.prologue-card{min-height:0;padding:clamp(16px,2.6vh,36px);background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 1px 2px #423b480a}.prologue-main{display:flex;flex-direction:column}.prologue-kicker{margin:0 0 clamp(8px,1.2vh,14px);color:var(--muted);font-size:.72rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase}.prologue-kicker span{padding:0 4px}.prologue-title{margin:0 0 clamp(14px,2.4vh,30px);font-family:var(--font-display);font-size:clamp(2rem,min(4.2vw,4.8vh),3.5rem);font-weight:700;line-height:1.04;letter-spacing:-.015em;color:var(--title)}.prologue-accent{color:var(--rose)}.prologue-lead{max-width:48ch;margin:0 0 clamp(8px,1.5vh,18px);color:var(--text);font-size:clamp(.94rem,1.9vh,1.04rem);line-height:1.55}.prologue-lead+.prologue-lead{margin-bottom:clamp(14px,2.4vh,30px)}.prologue-keeper{display:flex;align-items:center;gap:clamp(10px,1.4vw,20px);margin:0 0 clamp(14px,2.6vh,34px);padding:clamp(12px,2vh,20px) clamp(14px,2vw,26px);background:#f2f0ec;border-radius:12px}.prologue-keeper-icon{display:grid;width:clamp(38px,5vh,46px);height:clamp(38px,5vh,46px);flex-shrink:0;place-items:center;color:#94ad98;background:#dfe8dd;border-radius:11px}.prologue-keeper-icon svg{width:60%;height:60%}.prologue-keeper-title{margin:0;font-family:var(--font-display);font-size:clamp(1.35rem,2.6vh,1.85rem);font-weight:700;line-height:1.1;color:var(--title)}.prologue-keeper-subtitle{margin:3px 0 0;color:#9a8a90;font-family:var(--font-display);font-size:clamp(.9rem,1.9vh,1.1rem);font-style:italic;line-height:1.3}.prologue-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,30px);margin-top:auto;padding-top:clamp(10px,2vh,24px);border-top:1px solid var(--line)}.prologue-note-number{display:block;margin-bottom:4px;color:var(--muted);font-size:.68rem;letter-spacing:.08em}.prologue-notes p{margin:0;color:var(--text);font-size:clamp(.76rem,1.5vh,.88rem);line-height:1.42}.prologue-dog{display:flex;flex-direction:column;padding:clamp(16px,2.4vh,26px)}.prologue-scene{display:grid;flex-shrink:0;width:min(100%,258px);aspect-ratio:1 / 1;margin:0 auto clamp(8px,1.6vh,18px);overflow:hidden;border-radius:5px}.prologue-scene img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.prologue-dog-title{margin:0 0 clamp(4px,.8vh,8px);font-family:var(--font-display);font-size:clamp(1.4rem,2.7vh,2rem);font-weight:700;line-height:1.1;color:var(--title)}.prologue-dog-text{margin:0 0 clamp(9px,1.6vh,18px);color:var(--muted);font-size:clamp(.84rem,1.6vh,.92rem);line-height:1.42}.dog-facts{display:grid;grid-auto-rows:1fr;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 clamp(9px,1.8vh,20px);overflow:hidden;border:1px solid var(--line);border-radius:10px}.dog-facts div{padding:clamp(7px,1.2vh,13px) clamp(10px,1.4vw,16px);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.dog-facts div:nth-child(2n){border-right:0}.dog-facts div:nth-last-child(-n+2){border-bottom:0}.dog-facts dt{color:var(--muted);font-size:.62rem;letter-spacing:.14em;text-transform:uppercase}.dog-facts dd{margin:clamp(2px,.5vh,5px) 0 0;color:var(--title);font-size:clamp(.84rem,1.6vh,.92rem)}.prologue-stats{display:grid;gap:clamp(6px,1.2vh,11px);margin:0 0 clamp(10px,1.8vh,22px)}.prologue-stat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:clamp(3px,.6vh,5px);color:var(--text);font-size:clamp(.72rem,1.4vh,.78rem)}.prologue-stat-head>span{display:flex;align-items:center;gap:8px}.stat-dot{display:inline-block;width:8px;height:8px;flex-shrink:0;border-radius:50%}.stat-dot-health{background:#a9c6ad}.stat-dot-hope{background:#e0b3a4}.stat-dot-trust{background:#b9b2cf}.stat-dot-light{background:#e2c98f}.prologue-stat-track{height:clamp(4px,.7vh,6px);overflow:hidden;background:#ece7e1;border-radius:999px}.prologue-stat-fill{display:block;height:100%;border-radius:inherit}.prologue-cta{margin:auto 0 clamp(8px,1.4vh,16px);color:var(--title);font-family:var(--font-display);font-size:clamp(1rem,1.9vh,1.15rem);font-weight:700;text-align:center}.prologue-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:clamp(8px,1.2vw,10px)}.prologue-button{display:flex;min-height:clamp(44px,5.6vh,52px);align-items:center;justify-content:center;gap:9px;padding:8px 14px;border-radius:8px;cursor:pointer;transition:background-color .14s ease,border-color .14s ease}.prologue-back{color:var(--text);font-size:.88rem;background:var(--surface-raised);border:1px solid var(--line)}.prologue-back:hover{border-color:var(--rose)}.prologue-start{color:#6b5560;font-size:clamp(.88rem,1.6vh,.95rem);font-weight:600;background:#ead4d9;border:1px solid #ead4d9}.prologue-start:hover{background:#e4c9cf;border-color:#e4c9cf}.prologue-start svg{width:18px;height:18px}.prologue-button:focus-visible{outline:3px solid var(--title);outline-offset:3px}.prologue-footer{flex-shrink:0;margin:clamp(6px,1.2vh,16px) 0 0;color:var(--muted);font-size:.76rem;letter-spacing:.01em;text-align:center}@media(min-width:901px){.prologue-page{height:100vh;height:100dvh;min-height:0;overflow:hidden}}@media(max-height:1100px){.prologue-layout{gap:14px;margin-top:10px}.prologue-card{padding:18px 22px}.prologue-kicker{margin-bottom:8px}.prologue-title{margin-bottom:14px;font-size:clamp(1.8rem,4.6vh,2.8rem)}.prologue-lead{margin-bottom:9px}.prologue-lead+.prologue-lead{margin-bottom:14px}.prologue-keeper{margin-bottom:16px;padding:11px 16px}.prologue-keeper-title{font-size:clamp(1.25rem,2.8vh,1.6rem)}.prologue-keeper-subtitle{font-size:clamp(.85rem,2vh,1rem)}.prologue-notes{gap:14px;padding-top:12px}.prologue-notes p{font-size:.78rem}.prologue-scene{margin-bottom:10px}.prologue-dog-title{margin-bottom:5px;font-size:clamp(1.3rem,2.8vh,1.75rem)}.prologue-dog-text{margin-bottom:9px;font-size:.84rem}.dog-facts{margin-bottom:10px}.dog-facts div{padding:7px 12px}.prologue-stats{gap:7px;margin-bottom:10px}.prologue-cta{margin-bottom:8px}.prologue-button{min-height:44px}.prologue-footer{display:none}}@media(max-height:860px){.prologue-page{padding-top:6px;padding-bottom:6px}.prologue-title{font-size:clamp(1.6rem,4.4vh,2.4rem)}.prologue-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px}.prologue-cta{font-size:1rem}.prologue-footer{display:none}}@media(max-height:800px){.prologue-layout{grid-template-columns:minmax(0,2.2fr) minmax(0,1fr)}}@media(max-height:700px){.prologue-page .site-header{min-height:64px}.prologue-cta{display:none}.prologue-dog-text{margin-bottom:6px}.dog-facts,.prologue-stats{margin-bottom:8px}}@media(max-height:640px){.dog-facts,.prologue-notes{display:none}.prologue-keeper{margin-bottom:10px}}@media(max-width:900px){.prologue-page{height:auto;min-height:100dvh;overflow:visible}.prologue-layout{grid-template-columns:minmax(0,1fr)}.prologue-notes{margin-top:2.4rem}}@media(max-width:640px){.prologue-page{padding:12px 12px 32px}.prologue-card{padding:24px}.prologue-dog{padding:20px}.prologue-break{display:none}.prologue-title{margin-bottom:22px;font-size:clamp(2.1rem,9vw,2.8rem)}.prologue-keeper{align-items:flex-start;gap:14px;padding:16px}.prologue-keeper-title{font-size:1.55rem}.prologue-keeper-subtitle{font-size:1rem}.prologue-notes{grid-template-columns:minmax(0,1fr);gap:16px}.dog-facts{grid-template-columns:minmax(0,1fr)}.dog-facts div{border-right:0}.dog-facts div:nth-last-child(-n+2){border-bottom:1px solid var(--line)}.dog-facts div:last-child{border-bottom:0}}@media(max-width:420px){.prologue-actions{grid-template-columns:minmax(0,1fr)}}.game-page-wide{padding:18px 20px 36px}.game-shell-wide{width:min(1480px,100%)}.life-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:11px 18px;background:#fcf8f2eb;border:1px solid var(--line);border-radius:16px;box-shadow:0 1px 2px #423b480a}.life-brand{display:flex;min-width:0;align-items:center;gap:12px}.life-brand-mark{display:grid;width:38px;height:38px;flex-shrink:0;place-items:center;color:var(--mark-ink);background:var(--mark);border-radius:10px}.life-brand-mark svg{width:23px;height:23px}.life-brand-copy{display:flex;min-width:0;align-items:baseline;gap:10px}.life-brand-name{font-family:var(--font-display);font-size:1.55rem;font-weight:700;line-height:1;letter-spacing:-.01em;color:var(--title)}.life-brand-meta{overflow:hidden;color:var(--muted);font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.life-brand-meta span{padding-right:4px}.life-header-right{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px}.life-exit{display:flex;align-items:center;gap:10px}.life-settings{min-height:36px;padding:6px 4px;color:var(--muted);font-size:.8rem;background:transparent;border:0;border-bottom:1px solid transparent;cursor:pointer}.life-settings:hover{color:var(--title);border-bottom-color:var(--line)}.life-speed{display:flex;align-items:center;gap:9px}.life-speed-caption{color:var(--muted);font-size:.8rem;white-space:nowrap}.life-speed-group{display:flex;align-items:center;gap:2px;padding:3px;background:var(--surface-raised);border:1px solid var(--line);border-radius:999px}.life-speed-button{display:grid;min-width:34px;min-height:30px;place-items:center;padding:4px 9px;color:var(--text);font-family:var(--font-body);font-size:.76rem;background:transparent;border:0;border-radius:999px;cursor:pointer;transition:background-color .14s ease,color .14s ease}.life-speed-button svg{width:11px;height:11px}.life-speed-button:hover:not(:disabled){color:var(--title);background:#f4ecea}.life-speed-button.is-active{color:var(--title);font-weight:600;background:var(--mark)}.life-speed-button:disabled{cursor:not-allowed;opacity:.55}.life-dashboard{display:flex;flex-direction:column;gap:14px}.life-year-card,.life-dog-card,.life-history,.keeper-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 1px 2px #423b480a}.life-year-card{padding:12px 20px 9px}.life-year-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.life-year-title-row{display:flex;align-items:baseline;gap:10px}.life-year-title{margin:0;font-family:var(--font-display);font-size:clamp(1.55rem,2.3vw,1.95rem);font-weight:700;line-height:1;color:var(--title)}.life-year-age{margin:0;color:var(--muted);font-size:.84rem}.life-season{display:flex;align-items:center;gap:10px}.life-season-badge{display:flex;align-items:center;gap:7px;padding:4px 12px;color:#8d5f6b;font-size:.8rem;background:#f1dce0;border-radius:999px}.life-season-badge svg{width:14px;height:14px}.life-season-months{color:var(--muted);font-size:.76rem;white-space:nowrap}.year-progress{margin-top:8px}.year-progress-head{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.72rem}.year-progress-track{position:relative;height:8px;margin:5px 0 6px;overflow:hidden;background:#efe9e3;border-radius:999px}.year-progress-fill{display:block;height:100%;background:#d9b2bd;border-radius:inherit;transition:width .1s linear}.year-progress-labels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;color:var(--muted);font-size:.66rem}.year-progress-label{display:flex;align-items:center;gap:6px;white-space:nowrap}.year-progress-dot{width:7px;height:7px;flex-shrink:0;background:#e3ddd7;border-radius:50%}.year-progress-label.is-current{color:var(--title)}.year-progress-label.is-current .year-progress-dot{background:var(--rose)}.life-layout{display:grid;grid-template-columns:minmax(240px,.44fr) minmax(0,1fr);gap:14px;align-items:stretch}.life-dog-card{display:flex;align-self:stretch;flex-direction:column;min-width:0;padding:16px 18px 18px}.life-dog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:var(--muted);font-size:.72rem;letter-spacing:.16em;text-transform:uppercase}.life-mood{display:flex;align-items:center;gap:5px;padding:4px 10px;color:var(--mark-ink);font-size:.7rem;letter-spacing:0;text-transform:none;background:var(--mark);border-radius:999px}.life-mood svg{width:13px;height:13px}.life-mood.is-sick{color:#8d655e;background:#f1ded8}.life-mood.is-scared{color:#786e92;background:#e9e5f1}.life-mood.is-sad{color:#8d5f6b;background:#f1dce0}.life-mood.is-hopeful{color:#5f7d64;background:#e1ebe0}.life-dog-scene{display:grid;width:min(100%,260px);aspect-ratio:1 / 1;margin:0 auto 14px;overflow:hidden;border-radius:6px}.life-dog-scene img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.life-dog-name{margin:0 0 12px;font-family:var(--font-display);font-size:clamp(1.3rem,2vw,1.75rem);font-weight:700;line-height:1.1;color:var(--title)}.life-dog-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 14px;overflow:hidden;border:1px solid var(--line);border-radius:10px}.life-dog-facts div{min-width:0;padding:9px 13px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.life-dog-facts div:nth-child(2n){border-right:0}.life-dog-facts div:nth-last-child(-n+2){border-bottom:0}.life-dog-facts dt{color:var(--muted);font-size:.6rem;letter-spacing:.14em;text-transform:uppercase}.life-dog-facts dd{margin:3px 0 0;overflow:hidden;color:var(--title);font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.life-dog-stats{display:grid;gap:10px;margin-bottom:0}.life-stat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px;color:var(--text);font-size:.76rem}.life-stat-head>span{display:flex;align-items:center;gap:7px}.life-stat-track{height:6px;overflow:hidden;background:#ece7e1;border-radius:999px}.life-stat-fill{display:block;height:100%;border-radius:inherit;transition:width .22s ease}.life-stat-fill.key-health{background:#a9c6ad}.life-stat-fill.key-trust{background:#b9b2cf}.life-stat-fill.key-hope{background:#e0b3a4}.life-stat-fill.key-light{background:#e2c98f}.life-side{display:flex;align-self:stretch;min-width:0;flex-direction:column;gap:14px}.life-history{display:flex;min-height:0;flex:1;flex-direction:column;padding:18px 20px}.life-history-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:12px}.life-history-title{margin:0;font-family:var(--font-display);font-size:clamp(1.45rem,2.3vw,1.9rem);font-weight:700;line-height:1;color:var(--title)}.life-history-count{color:var(--muted);font-size:.76rem;white-space:nowrap}.life-history-list{display:flex;max-height:clamp(280px,43vh,470px);flex-direction:column;gap:9px;margin:0;padding:0 6px 0 0;overflow-y:auto;list-style:none;scrollbar-color:#ddd4cf transparent;scrollbar-width:thin}.life-history-list::-webkit-scrollbar{width:7px}.life-history-list::-webkit-scrollbar-thumb{background:#ddd4cf;border-radius:999px}.life-history-empty{margin:0;padding:18px;color:var(--muted);font-size:.88rem;background:var(--surface-raised);border:1px dashed var(--line);border-radius:12px}.history-entry{display:grid;grid-template-columns:40px minmax(0,1fr);gap:13px;padding:12px 14px;background:var(--surface-raised);border:1px solid var(--line);border-radius:12px}.history-entry.is-year{background:#eef4ee;border-color:#e2ebe2}.history-icon{display:grid;width:38px;height:38px;place-items:center;color:var(--mark-ink);background:var(--mark);border-radius:10px}.history-entry.is-year .history-icon{color:#7c9480;background:#dfe9de}.history-icon svg{width:19px;height:19px}.history-body{min-width:0}.history-meta{margin:0 0 3px;overflow:hidden;color:var(--muted);font-size:.65rem;letter-spacing:.08em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.history-text{display:-webkit-box;margin:0;overflow:hidden;color:var(--title);font-size:.86rem;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.history-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.history-chip{padding:2px 8px;color:#667d69;font-size:.68rem;background:#e3ece2;border-radius:6px}.history-chip.is-negative{color:#8d5f5f;background:#f2dfdf}.keeper-card{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.6fr) minmax(0,1.7fr);align-items:center;column-gap:18px;row-gap:10px;padding:18px 20px 20px}.keeper-head{display:flex;align-items:flex-start;flex-direction:column;justify-content:center;gap:6px;margin-bottom:0}.keeper-title{margin:0;font-family:var(--font-display);font-size:clamp(1.25rem,2vw,1.6rem);font-weight:700;line-height:1.05;color:var(--title)}.keeper-status{flex-shrink:0;color:var(--muted);font-size:.62rem;letter-spacing:.04em;text-align:left;text-transform:uppercase;white-space:pre-line}.keeper-event{margin:0;padding:16px;color:var(--text);font-size:.84rem;line-height:1.5;background:var(--surface-raised);border:1px solid var(--line);border-radius:10px}.keeper-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.keeper-grid.is-base{grid-column:2 / -1;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.keeper-choice{display:flex;min-height:104px;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 13px;text-align:left;background:var(--surface-raised);border:1px solid var(--line);border-radius:11px;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,opacity .14s ease}.keeper-choice:hover:not(:disabled){background:#fffdf9;border-color:var(--rose)}.keeper-choice:disabled{cursor:not-allowed;opacity:.55}.keeper-choice-icon{display:grid;width:32px;height:32px;place-items:center;color:#b9acb2;background:#f2eeea;border-radius:9px}.keeper-choice-icon svg{width:17px;height:17px}.keeper-choice-main{color:var(--title);font-size:.84rem;font-weight:600;line-height:1.3}.keeper-choice-hint{margin-top:auto;color:var(--muted);font-size:.68rem;line-height:1.35}.keeper-choice-hint.is-chance{margin-top:0;color:var(--mark-ink)}.keeper-choice-reason{color:#9a5c69;font-size:.66rem}.life-footer{margin:2px 0 0;color:var(--muted);font-size:.76rem;text-align:center}.life-speed-button:focus-visible,.life-settings:focus-visible,.keeper-choice:focus-visible,.life-year-title:focus-visible{outline:3px solid var(--title);outline-offset:3px}.skip-link{position:fixed;top:10px;left:10px;z-index:20;padding:12px 16px;color:var(--button-text);font-size:.9rem;font-weight:600;background:var(--button);border-radius:9px;transform:translateY(-160%);transition:transform .14s ease}.skip-link:focus-visible{outline:3px solid var(--title);outline-offset:3px;transform:translateY(0)}@media(max-width:1100px){.life-layout{grid-template-columns:minmax(220px,.5fr) minmax(0,1fr)}.keeper-card{grid-template-columns:minmax(120px,.75fr) minmax(0,1.5fr) minmax(0,1.6fr);column-gap:12px}.life-history-list{max-height:clamp(280px,38vh,420px)}}@media(min-width:901px){.game-page-wide{height:100vh;height:100dvh;min-height:0;overflow:hidden}.game-shell-wide{display:flex;height:100%;min-height:0;flex-direction:column}.life-header{flex-shrink:0;margin-bottom:clamp(8px,1.2vh,14px)}.life-dashboard{flex:1;min-height:0;gap:clamp(8px,1.2vh,14px)}.life-year-card{flex-shrink:0;padding-top:clamp(10px,1.6vh,16px);padding-bottom:clamp(8px,1.4vh,13px)}.life-layout{flex:1;min-height:0}.life-dog-card{min-height:0;overflow-y:auto;scrollbar-color:#ddd4cf transparent;scrollbar-width:thin}.life-dog-card::-webkit-scrollbar{width:7px}.life-dog-card::-webkit-scrollbar-thumb{background:#ddd4cf;border-radius:999px}.life-dog-scene{flex:0 0 auto;min-height:0}.life-side,.life-history{min-height:0}.life-history-list{flex:1;min-height:0;max-height:none}.keeper-card,.life-footer{flex-shrink:0}}@media(max-width:900px){.game-page-wide{padding:14px 14px 30px}.life-layout{grid-template-columns:minmax(0,1fr)}.life-history-list{max-height:none}.life-dog-card{max-width:560px}.keeper-card{display:flex;align-items:stretch;flex-direction:column;gap:12px}.keeper-head{flex-direction:row;align-items:center;justify-content:space-between}.keeper-status{text-align:right}}@media(max-width:720px){.life-header{align-items:stretch;flex-direction:column;gap:12px}.life-header-right{justify-content:space-between}.life-year-head{align-items:flex-start;flex-direction:column;gap:10px}.life-season{flex-wrap:wrap}.year-progress-labels{font-size:.6rem}}@media(max-width:560px){.game-page-wide{padding:10px 10px 24px}.life-brand-name{font-size:1.3rem}.life-brand-copy{flex-direction:column;gap:3px}.life-header{padding:12px 14px}.life-header-right{align-items:stretch;flex-direction:column;gap:10px}.life-speed{align-items:flex-start;flex-direction:column;gap:6px}.life-speed-group{width:100%;justify-content:space-between}.life-speed-button{flex:1}.life-exit,.life-settings{align-self:flex-end}.life-year-card,.life-dog-card,.life-history,.keeper-card{padding:16px}.life-dog-card{max-width:none}.keeper-head,.life-history-head{align-items:flex-start;flex-direction:column;gap:4px}.keeper-status{text-align:left}.keeper-grid,.keeper-grid.is-base{grid-template-columns:minmax(0,1fr)}.keeper-choice{min-height:0}.life-dog-facts{grid-template-columns:minmax(0,1fr)}.life-dog-facts div,.life-dog-facts div:nth-last-child(-n+2){border-right:0;border-bottom:1px solid var(--line)}.life-dog-facts div:last-child{border-bottom:0}.year-progress-label{gap:4px;font-size:.56rem}}@media(min-width:901px){.game-page-wide{padding:12px 16px 20px}.life-header{gap:14px;padding:8px 14px}.life-brand-mark{width:34px;height:34px;border-radius:9px}.life-brand-mark svg{width:20px;height:20px}.life-brand-name{font-size:1.4rem}.life-brand-meta{font-size:.76rem}.life-speed-button{min-width:31px;min-height:28px;padding:3px 8px;font-size:.72rem}.life-settings{min-height:32px;font-size:.76rem}.life-dashboard{gap:7px}.life-year-card{padding:8px 16px 6px}.life-year-head{gap:10px}.life-year-title-row{gap:8px}.life-year-title{font-size:clamp(1.35rem,1.9vw,1.65rem)}.life-year-age{font-size:.78rem}.life-season{gap:8px}.life-season-badge{padding:3px 10px;font-size:.74rem}.life-season-badge svg{width:12px;height:12px}.life-season-months{font-size:.7rem}.year-progress{margin-top:6px}.year-progress-head{font-size:.66rem}.year-progress-track{height:7px;margin:4px 0 5px}.year-progress-labels{font-size:.58rem}.life-layout{gap:9px}.life-dog-card{padding:12px}.life-dog-head{margin-bottom:7px;font-size:.66rem}.life-mood{padding:3px 8px;font-size:.66rem}.life-dog-scene{flex:0 0 auto;width:min(100%,220px);min-height:0;margin-bottom:10px}.life-dog-name{margin-bottom:8px;font-size:clamp(1.15rem,1.7vw,1.5rem)}.life-dog-facts{margin-bottom:10px}.life-dog-facts div{padding:7px 10px}.life-dog-facts dt{font-size:.56rem}.life-dog-facts dd{margin-top:2px;font-size:.78rem}.life-dog-stats{gap:7px;margin-bottom:0}.life-stat-head{margin-bottom:3px;font-size:.7rem}.life-stat-track{height:5px}.life-side{gap:9px}.life-history{padding:13px 15px}.life-history-head{margin-bottom:8px}.life-history-title{font-size:clamp(1.25rem,1.9vw,1.6rem)}.life-history-count{font-size:.7rem}.life-history-list{gap:7px}.history-entry{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:9px 11px;border-radius:10px}.history-icon{width:32px;height:32px;border-radius:8px}.history-icon svg{width:17px;height:17px}.history-meta{font-size:.6rem}.history-text{font-size:.8rem;line-height:1.35}.history-chips{margin-top:5px;gap:4px}.history-chip{padding:1px 6px;font-size:.62rem}.keeper-card{padding:13px 15px 15px}.keeper-head{margin-bottom:0}.keeper-title{font-size:clamp(1.1rem,1.7vw,1.35rem)}.keeper-status{font-size:.58rem;letter-spacing:.03em}.keeper-event{padding:13px;font-size:.78rem;line-height:1.45}.keeper-grid{gap:7px}.keeper-choice{min-height:88px;padding:9px 11px;gap:4px;border-radius:10px}.keeper-choice-icon{width:28px;height:28px;border-radius:8px}.keeper-choice-icon svg{width:15px;height:15px}.keeper-choice-main{font-size:.78rem}.keeper-choice-hint{font-size:.62rem}.keeper-choice-reason{font-size:.6rem}.life-footer{font-size:.7rem}}.year-modal{position:fixed;inset:0;z-index:80;display:grid;padding:20px;overflow-y:auto;background:#423b4852;backdrop-filter:blur(1.5px);place-items:center}.year-modal-dialog{width:min(560px,100%);max-height:calc(100dvh - 40px);padding:30px 34px 32px;overflow-y:auto;background:var(--surface);border:1px solid rgba(255,255,255,.6);border-radius:20px;box-shadow:0 30px 90px -24px #423b48a6}.year-modal-kicker{margin:0 0 8px;color:var(--muted);font-size:.66rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase}.year-modal-title{margin:0 0 8px;font-family:var(--font-display);font-size:clamp(1.9rem,3vw,2.4rem);font-weight:700;line-height:1.05;color:var(--title)}.year-modal-lead{margin:0 0 20px;color:var(--text);font-size:.94rem;line-height:1.5}.year-modal-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:20px}.year-modal-stat{display:flex;flex-direction:column;gap:6px;padding:11px 14px;background:var(--surface-raised);border:1px solid var(--line);border-radius:10px}.year-modal-stat.is-wide{grid-column:1 / -1}.year-modal-stat-label{color:var(--muted);font-size:.6rem;letter-spacing:.14em;text-transform:uppercase}.year-modal-stat-value{display:flex;align-items:baseline;gap:8px;color:var(--title);font-size:1.35rem;font-weight:700}.year-modal-delta{color:#5f7d64;font-size:.8rem;font-weight:600}.year-modal-delta.is-negative{color:#9a5c69}.year-modal-events{margin-bottom:22px}.year-modal-events-title{margin:0 0 8px;color:var(--muted);font-size:.62rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}.year-modal-events ul{display:flex;flex-direction:column;gap:5px;margin:0;padding:0;list-style:none}.year-modal-events li{position:relative;display:-webkit-box;overflow:hidden;padding-left:14px;color:var(--text);font-size:.84rem;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.year-modal-events li:before{position:absolute;top:.55em;left:0;width:4px;height:4px;background:var(--mark-ink);border-radius:50%;content:""}.year-modal-events-empty{margin:0;color:var(--muted);font-size:.84rem}.year-modal-button{display:flex;width:100%;min-height:46px;align-items:center;justify-content:center;gap:8px;padding:10px 18px;color:#6b5560;font-family:var(--font-display);font-size:1rem;font-weight:700;background:#ead4d9;border:1px solid #ead4d9;border-radius:9px;cursor:pointer;transition:background-color .14s ease,border-color .14s ease}.year-modal-button:hover{background:#e4c9cf;border-color:#e4c9cf}.year-modal-button svg{width:18px;height:18px}.year-modal-button:focus-visible{outline:3px solid var(--title);outline-offset:3px}.name-modal-dialog{width:min(480px,100%)}.name-modal-form{display:grid;gap:10px;margin-top:4px}.name-modal-label{color:var(--muted);font-size:.62rem;letter-spacing:.14em;text-transform:uppercase}.name-modal-row{display:flex;gap:8px}.name-modal-input{width:100%;min-width:0;padding:11px 13px;color:var(--title);font:inherit;background:var(--surface-raised);border:1px solid var(--line);border-radius:9px}.name-modal-input:focus-visible{outline:3px solid var(--title);outline-offset:2px}.name-modal-random{flex-shrink:0;padding:0 14px;color:var(--text);font:inherit;font-size:.82rem;background:var(--surface-raised);border:1px solid var(--line);border-radius:9px;cursor:pointer;transition:border-color .14s ease}.name-modal-random:hover{border-color:var(--rose)}.name-modal-random:focus-visible{outline:3px solid var(--title);outline-offset:2px}.year-modal-button:disabled{cursor:not-allowed;opacity:.55}.outcome-modal-dialog{width:min(520px,100%)}.outcome-modal-note{margin:-8px 0 16px;color:var(--muted);font-size:.82rem}.outcome-modal-meta{display:flex;flex-wrap:wrap;gap:4px 14px;margin:-6px 0 14px;color:var(--muted);font-size:.78rem;line-height:1.4}.outcome-modal-deltas{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}.outcome-modal-delta{display:flex;gap:7px;padding:6px 10px;font-size:.8rem;background:var(--mark);border-radius:8px}.outcome-modal-delta dt{color:var(--mark-ink)}.outcome-modal-delta dd{margin:0;color:var(--title);font-weight:600}.outcome-modal-flags{margin:0 0 18px;color:var(--muted);font-size:.8rem;line-height:1.45}@media(max-width:600px){.year-modal{padding:12px}.year-modal-dialog{padding:22px 18px 24px;border-radius:16px}.year-modal-stats{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.year-progress-fill,.life-stat-fill{transition:none}}
