:root{--paper:#f5f1e9;--paper2:#faf7f0;--ink:#24362f;--muted:#77847b;--green:#385c4c;--green2:#e1ebe3;--border:#e0ded5;--rose:#b46b60;--cream:#f1e4d1;--gold:#be9c68;--shadow:0 14px 60px rgba(38,54,44,.06);font-synthesis:none}
.mortality-choice{margin:4px 0 18px;padding:14px;border:1px solid var(--border);border-radius:6px;background:#faf9f5}.mortality-choice .check-line{display:flex;align-items:flex-start;gap:9px;font-size:12px;font-weight:700}.mortality-choice input[type=checkbox]{width:auto;margin:4px 0 0;flex:none}.mortality-choice .tone-note{min-height:0;margin:7px 0 0}.mortality-choice #mortality-table-wrap{margin-top:12px}.mortality-choice #mortality-table-wrap label{display:block;font-size:12px;font-weight:700;margin-bottom:6px}.mortality-choice select{width:100%}.family-route-item .route-note{display:block;line-height:1.5;margin-top:6px}.family-route-item .mini-actions{flex-wrap:wrap}
.mortality-method{border-top:1px solid var(--border);padding-top:10px}.mortality-method summary{cursor:pointer;color:var(--green);font-size:12px;font-weight:700}.mortality-method summary:focus-visible{outline:3px solid #89aa92;outline-offset:3px}.mortality-method>p{margin:8px 0;font-size:12px;color:#64746c}.mortality-method label{margin-top:10px}
.start-registration{margin:12px 0 4px;padding:10px 0;border-bottom:1px solid var(--border)}.start-registration summary{cursor:pointer;color:var(--green);font-size:12px;font-weight:700}.start-registration label{display:block;font-size:12px;font-weight:700;margin:12px 0 6px}.start-registration select{width:100%}.start-registration p{font-size:12px;color:var(--muted);margin-top:8px}.start-registration summary:focus-visible{outline:3px solid #89aa92;outline-offset:3px}
.identity-self-panel{border:1px solid var(--border);background:var(--paper2);border-radius:8px;padding:clamp(14px,2.5vw,24px);margin:0 0 24px}.identity-self-panel h3{margin:6px 0 12px;font-family:Georgia,serif;font-size:1.4rem}.identity-self-panel details{margin-top:12px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fffdfa}.identity-self-panel summary{cursor:pointer;font-weight:650;min-height:36px}.identity-self-panel input,.identity-self-panel select{max-width:100%;width:100%;margin:7px 0 13px}.identity-self-panel a{display:inline-block;margin:10px 0;color:inherit;text-decoration:underline}.identity-self-panel button{margin:8px 0;min-height:40px}.identity-self-brief{font-size:.77rem;color:var(--muted);padding:5px 0 9px}.identity-self-panel :focus-visible{outline:3px solid #89aa92;outline-offset:3px}
.identity-reflections{border-top:1px solid var(--border);padding-top:10px;margin-top:10px;font-size:12px}.identity-reflections ul{margin:6px 0 0;padding-left:20px}.identity-reflections li{margin:5px 0}
.birth-name-form{display:grid;gap:8px;margin-top:14px;padding:14px;border:1px solid var(--border);border-radius:6px;background:#fbfaf5}.birth-name-form label{font-size:13px;font-weight:700;color:var(--ink)}.birth-name-form input{width:100%;padding:11px 12px;border:1px solid #cbd9ca;border-radius:4px;background:#fff}.birth-name-form small{font-size:11px;color:#69776f;line-height:1.45}.birth-name-form button{justify-self:start;margin-top:3px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible{outline:3px solid #89aa92;outline-offset:2px}button:hover:not(:disabled){transition:background .15s,border-color .15s,transform .15s}em{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1,h2,h3,h4,p{margin:0}h1,h2,h3{line-height:1.15}h1,h2,.serif,.hero-head{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:clamp(3.4rem,5.2vw,6.15rem);letter-spacing:-.065em}h2{font-size:clamp(2rem,2.5vw,3.4rem);letter-spacing:-.048em}h3{font-size:1.6rem;letter-spacing:-.02em}p{line-height:1.68}.hidden{display:none!important}.eyebrow,.small-overline,.form-label,.form-stamp{font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--muted)}.tiny-line{display:inline-block;vertical-align:middle;width:23px;height:1px;background:#bb9877;margin-right:9px}.logo{display:flex;align-items:center;gap:11px;font-size:13px;letter-spacing:.145em;font-weight:850;line-height:1.1}.logo small{display:block;color:#9aaba0;letter-spacing:.20em;font-size:8px;margin-top:6px}.logo-mark{width:38px;height:38px;display:grid;place-items:center;background:var(--green);color:#fff8e8;border-radius:10px;font-size:22px;font-weight:400}
.start-screen{min-height:100vh}.start-header{max-width:1440px;margin:auto;padding:34px 54px;display:flex;justify-content:space-between;align-items:center}.start-container{max-width:1440px;margin:auto;padding:28px 54px 78px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.74fr);gap:7%;align-items:start}.intro-text{padding-top:55px}.intro-text h1{margin:28px 0 28px}.intro-text h1 em{color:#a86f57}.intro-text>p{max-width:490px;font-size:16px;color:#64746c}.hero-points{display:flex;flex-wrap:wrap;gap:22px;color:#8a948b;font-size:12px;margin:26px 0 12px}.illustration{position:relative;overflow:hidden;height:340px;margin:32px 0 0;background:linear-gradient(180deg,#e9e8dd 3%,#e6d9c7 65%,#d4d6bf 100%);border-radius:8px 90px 8px 8px;box-shadow:0 15px 55px #93897d21}.illustration:before{content:'';position:absolute;bottom:27px;left:0;right:0;height:86px;background:#afbdab}.sun{position:absolute;right:24%;top:30px;width:130px;height:130px;border-radius:50%;background:#edc99d;box-shadow:0 0 0 34px #edc99d27}.cloud{position:absolute;background:#f7f2e8ac;left:12%;top:56px;width:170px;height:17px;border-radius:50%;filter:blur(5px)}.cloud.c2{left:63%;top:114px;width:130px}.building{position:absolute;bottom:50px;display:grid;grid-template-columns:repeat(2,25px);grid-auto-rows:37px;gap:17px 25px;justify-content:center;align-content:start;padding-top:36px;box-shadow:9px 0 15px #54614f16}.building i{background:#667c731f;border:5px solid #d3c2aa;border-bottom:9px solid #d3c2aa;border-radius:12px 12px 0 0}.building.b-left{left:4%;width:27%;height:192px;background:#c4ae98;clip-path:polygon(0 16%,45% 0,100% 13%,100% 100%,0 100%)}.building.b-center{left:34%;width:31%;height:265px;background:#efe1cb;clip-path:polygon(0 8%,40% 0,100% 9%,100% 100%,0 100%)}.building.b-right{right:-2%;width:30%;height:205px;background:#b7c3af;clip-path:polygon(0 9%,100% 0,100% 100%,0 100%)}.building.b-center i{border-color:#b7b7a8;background:#6e867e50}.building.b-right i{border-color:#cdd7c5}.street{position:absolute;bottom:0;left:0;right:0;height:57px;background:#d8ccba}.tree.trunk{position:absolute;right:26%;bottom:49px;width:11px;height:92px;background:#756c55}.tree.crown{position:absolute;right:20%;bottom:114px;width:91px;height:87px;background:#6e8c6d;border-radius:50% 50% 46% 54%;box-shadow:-18px -2px 0 #7d9977,17px 8px 0 #71886b}.figure{position:absolute;left:52%;bottom:36px;width:14px;height:39px;background:#384b46;border-radius:8px 8px 2px 2px;box-shadow:8px 7px 0 -4px #384b46,-8px 7px 0 -4px #384b46}.figure span{position:absolute;top:-14px;left:1px;width:12px;height:12px;border-radius:50%;background:#b17e61}.scene-caption{position:absolute;bottom:14px;left:19px;color:#fff9e8;font-size:9px;letter-spacing:.19em;font-weight:700}.start-form-panel{background:#fffefb;border:1px solid #e5e1d6;border-radius:9px;padding:34px 36px 24px;box-shadow:var(--shadow)}.start-form-panel h2{font-size:clamp(2.3rem,3vw,3.35rem);margin:16px 0}.start-form-panel h2 em{color:var(--rose)}.form-hint{color:#768077;font-size:13px;margin-bottom:26px}.start-form-panel input{margin:9px 0 0;padding:12px 14px;width:100%;border:1px solid var(--border);border-radius:5px;background:#fdfcf9;color:var(--ink);outline:0}.space-top{margin-top:23px}.scenario-options{margin-top:10px;border:1px solid var(--border);border-radius:6px;overflow:hidden}.scenario-option{width:100%;display:flex;align-items:center;text-align:left;gap:16px;padding:10px 13px;border:0;border-bottom:1px solid var(--border);background:#fff;color:var(--ink)}.scenario-option:last-child{border-bottom:0}.scenario-option>span:first-child{font-size:11px;color:#afafa7}.scenario-name{font-size:13px;flex:1;font-weight:750}.scenario-name small{display:block;font-size:11px;color:#959a8e;font-weight:400}.scenario-option>b{font-weight:400;color:#acb2a7}.scenario-option.selected{background:#ecf1e9}.scenario-option.selected .scenario-name{color:var(--green)}.tone-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.tone-switch button{border:1px solid var(--border);padding:10px 6px;background:#fff;border-radius:5px;color:#708074;font-size:12px}.tone-switch button.selected{background:var(--green);border-color:var(--green);color:#fff}.tone-note{color:#8c938a;font-size:11px;min-height:36px;margin:8px 0 14px}.primary-cta{width:100%;background:var(--green);color:#fff;border:none;border-radius:4px;padding:14px 19px;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700}.primary-cta span{font-size:21px;font-weight:400}.primary-cta:hover{background:#29463a}.small-disclaimer{font-size:10px;color:#a6aaa1;margin:12px 0 0}
.game-shell{min-height:100vh;display:flex}.game-nav{width:235px;min-width:235px;background:#fdfbf5;border-right:1px solid #e6e2d9;display:flex;flex-direction:column;padding:31px 21px 21px;position:sticky;top:0;height:100vh}.game-logo{font-size:11px;letter-spacing:.12em}.game-logo .logo-mark{width:33px;height:33px;font-size:19px}.chapter-tag{background:#eaece3;padding:19px 15px;margin-top:58px;border-radius:6px;color:#617266;font-size:10px;letter-spacing:.15em}.chapter-tag strong{display:block;font:38px Georgia,serif;color:#3d6554;letter-spacing:0}.chapter-tag span{display:block;font-size:9px}#main-nav{margin-top:31px;display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:15px;border:0;background:transparent;width:100%;padding:11px 14px;border-radius:5px;text-align:left;color:#7b857b;font-weight:650;font-size:13px}.nav-item.active{color:#355d49;background:#e7ede5}.nav-ico{font-family:Georgia,serif;font-size:22px;font-weight:400;line-height:1;width:23px;text-align:center}.nav-bottom{margin-top:auto;border-top:1px solid var(--border);padding:20px 8px 0}.save-indicator{font-size:11px;color:#637869;margin:12px 0;display:flex;align-items:center;gap:8px}.save-dot{height:7px;width:7px;border-radius:50%;background:#82b18a}.text-link{display:block;border:0;background:none;padding:6px 0;color:#849187;font-size:11px;text-align:left}.text-link:hover{color:var(--green)}.game-workspace{flex:1;min-width:0}.game-topbar{height:112px;border-bottom:1px solid var(--border);padding:24px 4%;display:flex;align-items:center;justify-content:space-between}.game-topbar h2{font:28px Georgia,serif;margin-top:6px;letter-spacing:-.035em}.top-right{display:flex;align-items:center;gap:18px}.date-tag{font-size:10px;letter-spacing:.14em;font-weight:800;color:#69776f;text-transform:uppercase}.profile-bubble{height:39px;width:39px;border-radius:50%;display:grid;place-items:center;background:#d1dfd0;color:#345445;font:18px Georgia,serif}.game-columns{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:0;min-height:calc(100vh - 112px)}.game-main{min-width:0;padding:28px max(25px,5%);max-width:1100px;width:100%;margin:auto}.stats-panel{border-left:1px solid var(--border);padding:34px 22px;background:#fbf9f3}.stats-panel>.small-overline{margin-bottom:15px}.stat-card{border-bottom:1px solid var(--border);padding:16px 0}.stat-card .value{font:29px Georgia,serif;letter-spacing:-.04em;margin:3px 0}.stat-label{font-size:11px;color:#889189}.stat-meta{font-size:12px;color:#7d8e80}.meter-row{display:flex;justify-content:space-between;font-size:12px;margin:15px 0 5px}.meter{height:5px;background:#e5e9df;border-radius:8px;overflow:hidden}.meter>span{display:block;height:100%;border-radius:8px;background:#779b80}.meter.coral>span{background:#c3917b}.stats-subtitle{font-size:11px;font-weight:800;letter-spacing:.08em;color:#64746a;margin:25px 0 10px;text-transform:uppercase}.side-person{display:flex;align-items:center;gap:11px;padding:7px 0}.person-avatar{flex:none;width:37px;height:37px;border-radius:45% 45% 41% 41%;display:grid;place-items:center;font:20px Georgia,serif;color:#58735f;background:#d8e4d5}.person-avatar.alt{color:#956e63;background:#f0ddd2}.person-avatar.green{background:#dfebdd}.side-person strong{font-size:12px;display:block}.side-person small{font-size:11px;color:#8b958c}.subtle-button{border:1px solid #d4dfd3;background:#f5f8f2;color:#42604d;border-radius:5px;padding:11px 14px;font-size:12px;font-weight:700}.subtle-button:hover{background:#e7f0e4}.side-person-list{margin-bottom:23px}.mobile-nav{display:none}
.scene-hero{border-radius:8px;overflow:hidden;background:linear-gradient(115deg,#d5ddcd 0%,#d8dbc8 48%,#e4d1b7 100%);position:relative;min-height:200px;padding:32px;display:flex;align-items:end;isolation:isolate;margin-bottom:24px}.scene-hero:before{content:'';position:absolute;width:165px;height:165px;right:12%;top:-60px;background:#f6e4be9c;border-radius:50%;z-index:-1}.scene-hero:after{content:'';position:absolute;bottom:0;right:0;left:40%;height:105px;background:linear-gradient(90deg,transparent 0%,#acbda5 50%,#839e8f 100%);clip-path:polygon(0 100%,7% 36%,22% 36%,22% 12%,38% 12%,38% 55%,46% 55%,46% 19%,65% 19%,65% 0,81% 0,81% 46%,100% 46%,100% 100%);opacity:.8;z-index:-1}.hero-text{max-width:66%}.hero-text .small-overline{color:#67806f}.hero-head{font-size:clamp(27px,3vw,41px);line-height:1.1;margin:9px 0 7px;color:#345344}.hero-sub{font-size:12px;color:#516e5b}.page-section-label{display:flex;align-items:center;justify-content:space-between;margin:25px 0 13px}.section-heading{font:24px Georgia,serif;letter-spacing:-.03em}.muted{color:#78867c}.small{font-size:12px}.tiny{font-size:10px}.story-block{border:1px solid #e1ddd1;border-radius:7px;padding:27px;background:#fffdf8;box-shadow:var(--shadow);margin:0 0 24px;position:relative}.story-block:before{content:'“';position:absolute;right:24px;top:8px;font:75px Georgia,serif;color:#e0e9de}.story-head{display:flex;align-items:center;gap:9px;margin:0 0 12px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#8c9a8b}.story-block h3{font:27px Georgia,serif;margin:0 45px 12px 0}.story-block p{max-width:680px;color:#68796e;font-size:14px}.choice-list{display:grid;gap:9px;margin-top:22px}.choice{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--border);background:#fffdfa;padding:15px 16px;border-radius:5px;color:var(--ink)}.choice:hover{border-color:#90ad98;background:#f2f7ef;transform:translateY(-1px)}.choice-index{width:25px;height:25px;border-radius:50%;border:1px solid #d5ded2;display:grid;place-items:center;color:#7a987f;font-size:11px}.choice-label{flex:1;font-size:13px;font-weight:650}.choice-arrow{font-size:20px;color:#90a798}.skip-action{margin-top:14px;background:none;border:none;color:#92a094;text-decoration:underline;padding:5px;font-size:11px}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.action-card{border:1px solid #e4e0d6;background:#fffefa;padding:18px 18px;min-height:115px;border-radius:6px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.action-card:hover{border-color:#a0b5a0;background:#fafcf5;transform:translateY(-2px)}.action-icon{font:27px Georgia,serif;color:#658877}.action-title{font-weight:750;font-size:13px}.action-desc{color:#92a096;font-size:11px}.action-card-footer{display:flex;gap:8px;align-items:center}.subsection{font-size:11px;letter-spacing:.1em;color:#8b998b;font-weight:800;text-transform:uppercase;margin:26px 0 13px}.quote{padding:17px 18px;background:#eff1e8;border-left:3px solid #82a08a;border-radius:2px;color:#526d5b;font:14px/1.6 Georgia,serif}.mini-footnote{font-size:11px;color:#8a948b;margin-top:14px}.cards-grid{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:13px}.person-card{background:#fffefa;border:1px solid var(--border);border-radius:6px;padding:17px}.person-card-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}.person-name{font:20px Georgia,serif}.person-detail{color:#899589;font-size:11px}.relation-tag{font-size:9px;color:#6d9179;background:#edf2e9;padding:3px 7px;border-radius:3px;display:inline-block;margin:0 0 5px}.person-card .meter{margin:12px 0}.mini-actions{display:flex;gap:7px;flex-wrap:wrap}.mini-actions button{border:1px solid #dfe5d9;background:#f4f7f0;color:#45634e;border-radius:4px;padding:7px 11px;font-size:11px}.mini-actions button:hover{background:#e7efe4}.ledger-panel{background:#fffefa;border:1px solid var(--border);border-radius:6px;padding:23px}.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0 24px}.overview-card{padding:20px;background:#e9eee5;border-radius:5px}.overview-card.rose{background:#f2e7df}.overview-card.cream{background:#f5eddf}.overview-card .v{font:29px Georgia,serif;margin-top:7px}.ledger-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 0;border-bottom:1px solid #f0eee7;font-size:13px}.ledger-row:last-child{border-bottom:none}.ledger-row span:first-child{color:#738176}.ledger-row strong{font-size:13px}.progress-bar{height:9px;border-radius:20px;background:#eeeae1;overflow:hidden;margin-top:9px}.progress-bar span{display:block;height:100%;background:#9cb398}.note-panel{background:#eff1e7;border:1px solid #e0e6da;padding:19px;border-radius:5px;margin:20px 0;font-size:13px;color:#6a766a}.note-panel strong{color:var(--ink)}.care-card{background:#fffefa;border:1px solid var(--border);border-radius:7px;padding:23px;margin-bottom:16px}.care-card h3{font:24px Georgia,serif;margin-bottom:10px}.pill{display:inline-flex;align-items:center;gap:5px;background:#e7eee6;color:#56745a;border-radius:18px;padding:4px 10px;font-size:10px;font-weight:700}.pill.rose{background:#f5e9e5;color:#aa7167}.pill.amber{background:#f5ecd8;color:#a3824f}.btn-small{font-size:12px;border-radius:5px;padding:10px 13px;border:1px solid #d8e2d7;color:#41654f;background:#eff4ed;font-weight:700}.btn-small:hover{background:#e3efe2}.btn-small.primary{background:var(--green);color:#fff}.review-row{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0 5px}.review-row button{flex:1;min-width:110px}.care-hours-list{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.care-hours-list button{padding:8px 12px;border-radius:20px;border:1px solid #d9e3d7;background:#f8faf4;color:#5a785e;font-size:12px}.care-hours-list button.selected{background:#3c624f;color:#fff}.helper-list{display:grid;gap:12px}.helper-item{display:flex;gap:10px;font-size:13px}.helper-item .bullet{width:7px;height:7px;border-radius:50%;margin-top:8px;flex:none;background:#8dafa0}.timeline{margin:14px 0;padding:0 0 0 14px;border-left:1px solid #d5dfd4;display:grid;gap:17px}.timeline-item{position:relative;padding-left:10px;color:#6c7a6d;font-size:13px}.timeline-item:before{content:'';position:absolute;left:-19px;top:7px;width:8px;height:8px;border-radius:50%;border:1px solid #8bad97;background:var(--paper)}.timeline-item strong{display:block;color:#415e4a;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px}.warning{color:#ab685c}.empty-state{padding:40px 20px;text-align:center;color:#839085;background:#fffdf8;border:1px dashed var(--border);border-radius:6px}.empty-state .decor{font:45px Georgia,serif;color:#98ac96}.avatar-line{display:flex;gap:8px;align-items:center}.avatar-line .person-avatar{width:32px;height:32px;font-size:16px}.toast{position:fixed;z-index:40;bottom:24px;right:24px;background:#284c3c;color:#fff;padding:13px 19px;border-radius:6px;box-shadow:0 10px 30px #0003;max-width:420px;font-size:13px;pointer-events:none}.toast.error{background:#9a5b50}.busy{position:fixed;inset:0;z-index:60;display:flex;justify-content:center;align-items:center;gap:12px;background:#f7f5edc9;backdrop-filter:blur(3px);color:#4a6a55;font:16px Georgia,serif}.spinner{height:22px;width:22px;border:2px solid #b9cbb8;border-top-color:#426854;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1180px){.game-columns{grid-template-columns:minmax(0,1fr) 250px}.game-nav{width:195px;min-width:195px}.game-main{padding:28px 24px}.stats-panel{padding:30px 17px}}
@media(max-width:990px){.game-nav{display:none}.game-columns{grid-template-columns:1fr}.stats-panel{display:none}.game-topbar{height:88px;padding:20px 24px}.game-main{padding:24px 24px 110px;max-width:800px}.mobile-nav{display:flex;position:fixed;z-index:25;bottom:0;left:0;right:0;align-items:stretch;justify-content:space-around;background:#fffdf7;border-top:1px solid #e0e1d7;padding:9px 10px calc(8px + env(safe-area-inset-bottom))}.mobile-nav button{display:grid;justify-items:center;gap:0;background:none;border:0;color:#9ba69a;font-size:10px;padding:4px 7px}.mobile-nav button span{font:24px Georgia,serif;line-height:1.25}.mobile-nav button.active{color:#42674c}.start-container{padding:10px 32px 60px;gap:25px;grid-template-columns:1fr 1fr}.start-header{padding:25px 32px}.intro-text{padding-top:45px}.intro-text h1{font-size:clamp(3.2rem,5vw,4.5rem)}.start-form-panel{padding:25px 24px}}
@media(max-width:700px){.start-container{grid-template-columns:1fr;padding:0 20px 55px}.start-header{padding:20px}.start-number{display:none}.intro-text{padding-top:22px}.intro-text h1{font-size:clamp(3.4rem,11vw,5rem);margin:15px 0}.intro-text>p{font-size:14px}.illustration{height:250px;margin-top:21px}.start-form-panel{padding:25px 23px}.game-topbar h2{font-size:23px}.date-tag{font-size:9px}.game-main{padding:20px 15px 110px}.scene-hero{min-height:173px;padding:21px}.hero-text{max-width:78%}.hero-head{font-size:29px}.story-block{padding:21px 17px}.story-block h3{font-size:23px}.action-grid{gap:9px}.action-card{padding:14px;min-height:120px}.cards-grid{grid-template-columns:1fr}.overview-grid{grid-template-columns:1fr 1fr}.overview-card:last-child{grid-column:span 2}.top-right{gap:8px}.date-tag{max-width:75px;text-align:right}.toast{bottom:82px;right:12px;left:12px}.review-row button{min-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* v1.2 — life chapters, lifecycle scenes and persistent memories. */
.birth-story-option{border:1px solid #b4c6b5;background:linear-gradient(125deg,#edf4e8,#f7eddc 88%);padding:20px;border-radius:9px;margin:17px 0 8px;box-shadow:0 5px 26px #5f806515}
.birth-option-kicker{font-size:10px;font-weight:850;letter-spacing:.18em;color:#557962}
.birth-story-option h3{font:27px/1.15 Georgia,serif;color:#315b44;margin:10px 0}
.birth-story-option p{font-size:12px;line-height:1.7;color:#5c6d60;margin:0 0 13px}
.birth-story-option small{display:block;color:#78907b;font-size:10px;line-height:1.6;margin-top:13px}
.birth-city-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.birth-city{background:#fffdf8;border:1px solid #cbd7c7;border-radius:5px;color:#40604a;text-align:left;padding:12px 10px;font-size:12px;font-weight:750;min-height:43px}
.birth-city:hover,.birth-city.selected{border-color:#4f765d;background:#dfe9db;color:#244d33;box-shadow:inset 0 0 0 1px #4f765d}
.stage-tag{display:inline-block;background:#fff9ecca;border:1px solid #f5f5e6;border-radius:20px;padding:4px 11px;margin-top:12px;font-weight:750;font-size:11px;color:#557563}
.scene-hero.phase-nourrisson{background:linear-gradient(110deg,#d8e5df 0%,#f5e5d5 80%)}
.scene-hero.phase-ecole{background:linear-gradient(105deg,#dcebd3 0%,#f6dcb6 100%)}
.scene-hero.phase-ado{background:linear-gradient(105deg,#d9dedb 0%,#e7cdc2 100%)}
.scene-hero.phase-maturite{background:linear-gradient(105deg,#c5d6d0 0%,#decfae 100%)}
.scene-hero.phase-senior{background:linear-gradient(105deg,#c9d4b9 0%,#e9dbc5 100%)}
.scene-hero .hero-text{position:relative;z-index:2}
.hero-landscape{pointer-events:none;position:absolute;right:-4%;bottom:0;width:45%;height:95%;opacity:.54}
.hero-landscape .sky-moon{position:absolute;width:82px;height:82px;right:30%;top:4%;border-radius:50%;background:#fffce6}
.hero-landscape .house-shape{position:absolute;width:43%;height:51%;bottom:0;right:8%;background:#748e82;clip-path:polygon(0 28%,50% 0%,100% 28%,100% 100%,0 100%)}
.hero-landscape .house-shape:after{content:'';position:absolute;left:35%;bottom:0;width:28%;height:50%;background:#e7e9d5}
.hero-landscape .landscape-trees{position:absolute;width:42%;height:55%;bottom:0;left:3%;border-radius:60% 60% 0 0;background:#9bb3a0}
.life-rail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;position:relative;margin:0 0 22px;padding:12px 7px;background:#fdfbf5;border:1px solid #e9e7db;border-radius:8px}
.rail-step{display:grid;gap:4px;justify-items:center;align-content:start;opacity:.55;position:relative}
.rail-step:not(:first-child):before{content:'';width:calc(100% - 20px);height:2px;background:#d9ddcf;position:absolute;top:7px;right:calc(50% + 10px);transform:translateX(100%)}
.rail-step.passed{opacity:1}.rail-step.passed:before{background:#9faf97}
.rail-step.active{opacity:1}
.rail-dot{height:15px;width:15px;display:block;border-radius:50%;background:#e9e7dc;border:2px solid #cbd4c4;z-index:1}
.passed .rail-dot{background:#94af94;border-color:#94af94}
.active .rail-dot{background:#34654d;border:3px solid #e1eddd;box-shadow:0 0 0 2px #34654d}
.rail-age{font-size:10px;font-weight:800;color:#4f6857}
.rail-name{font-size:9px;color:#758777}
.child-observation{margin:14px 0 21px;padding:0 3px;max-width:770px}
.child-observation h2{font:27px/1.2 Georgia,serif;max-width:760px;color:#30533f;margin:9px 0}
.child-observation p{font-size:13px;color:#66766b;line-height:1.75}
.child-progress-card{border:1px solid #d1decb;background:#f0f5ea;border-radius:9px;padding:25px 24px;margin-bottom:24px}
.child-progress-card h3{font:25px Georgia,serif;margin:9px 0;color:#355744}
.child-progress-card .form-label{display:block;margin:20px 0 8px}
.story-select{display:block;width:100%;padding:13px;border:1px solid #c4d4be;border-radius:6px;background:#fffdf8;color:#3f5945;font-size:13px;max-width:480px}
.chapter-buttons{display:flex;gap:10px;align-items:center;margin-top:17px;flex-wrap:wrap}
.chapter-buttons .compact{margin:0;padding:13px 17px;min-width:185px;max-width:290px;font-size:12px}
.chapter-buttons .btn-small{padding:13px 17px;background:#fffdf7;border-color:#a7bfa8}
.child-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.child-stats>div{border-radius:8px;background:#f5f0e6;padding:18px;min-width:0}
.child-stats span{display:block;color:#8d9a8b;letter-spacing:.1em;font-size:10px;font-weight:750;margin-bottom:7px}
.child-stats strong{font:18px Georgia,serif;color:#46634c;overflow-wrap:anywhere}
.chapter-story{background:linear-gradient(130deg,#fffdf7,#f4f3e7);border-color:#bbd1b7;border-left:4px solid #507a5a}
.chapter-story h3{color:#365e44;font-size:clamp(26px,3vw,37px);max-width:650px}
.chapter-story p{font-size:15px;line-height:1.8;max-width:700px}
.chapter-echo{border:1px solid #dedec9;border-radius:8px;padding:19px;margin-bottom:17px;background:#f0efe4}
.chapter-echo span{display:block;font-size:10px;color:#82927c;letter-spacing:.13em;font-weight:800}
.chapter-echo strong{font:23px Georgia,serif;display:block;margin:7px 0;color:#47634d}
.chapter-echo p{color:#5d7562;margin:0;font-size:13px}
.memory-preview{margin:28px 0}
.memory-snippet{display:flex;gap:18px;padding:18px 12px;border-bottom:1px solid #e8e8dc}
.memory-snippet>span{width:64px;flex:none;font:italic 15px Georgia,serif;color:#8a9c86}
.memory-snippet strong{display:block;font-size:13px;color:#426349}
.memory-snippet p{color:#819083;font-size:12px;margin:6px 0 0;line-height:1.5}
.person-memory{font:12px/1.6 Georgia,serif;color:#557565;background:#f3f5ef;border-radius:5px;padding:10px}
.muted-person{opacity:.72}
.journal-entry{display:grid;grid-template-columns:63px minmax(0,1fr);gap:21px;background:#fffdf8;border:1px solid #e4e6d8;border-radius:8px;padding:19px;margin-bottom:11px}
.journal-age{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e5ede2;border-radius:7px;color:#45684c;min-height:70px}
.journal-age span{font:30px Georgia,serif}
.journal-age small{font-size:9px;letter-spacing:.12em}
.journal-entry h3{font:21px Georgia,serif;color:#47644e;margin:7px 0}
.journal-entry p{font-size:13px;color:#718474;margin:6px 0;line-height:1.65}
.journal-person{display:inline-block;color:#7d997d;font-size:11px;margin-top:5px}
@media(max-width:900px){.mobile-nav{justify-content:space-between}}
@media(max-width:700px){.life-rail{padding:9px 1px;gap:0}.rail-name{font-size:8px}.rail-age{font-size:9px}.rail-dot{width:12px;height:12px}.rail-step:not(:first-child):before{top:5px}.hero-landscape{width:54%;opacity:.38}.child-progress-card{padding:18px 15px}.child-stats{grid-template-columns:1fr 1fr}.child-stats>div:last-child{grid-column:1/-1}.child-stats>div{padding:14px}.chapter-buttons{flex-direction:column;align-items:stretch}.chapter-buttons .compact,.chapter-buttons .btn-small{max-width:none;width:100%}.chapter-story p{font-size:14px}.mobile-nav button{font-size:9px;padding:4px 3px}.mobile-nav button span{font-size:22px}.journal-entry{grid-template-columns:52px 1fr;gap:12px;padding:13px}.journal-entry h3{font-size:18px}}
.rail-step:not(:first-child):before{right:auto;left:calc(-50% + 10px);width:calc(100% - 20px);transform:none}
.chapter-companion{display:flex;align-items:center;gap:12px;background:#ecf0e6;border-radius:7px;padding:12px 14px;margin:16px 0 5px;max-width:440px}
.chapter-companion strong{display:block;color:#3c5f45;font-size:13px}
.chapter-companion small{font-size:11px;color:#809081;display:block;margin-top:3px}
.companion-state{margin-left:auto;font-size:10px;color:#718f75;white-space:nowrap}

/* v1.3 · Life chapters for adulthood. All content is connected to engine state. */
.adult-pace{position:relative;background:linear-gradient(128deg,#e7ede3,#f5e9d8 98%);border:1px solid #ced9c9;border-radius:10px;padding:25px;margin:22px 0 28px;box-shadow:0 6px 20px rgba(70,94,67,.04)}
.adult-pace-head{display:flex;justify-content:space-between;gap:16px;align-items:start}
.adult-pace-head h3{font:clamp(25px,3vw,35px)/1.2 Georgia,serif;color:#355644;margin:9px 0}
.adult-pace-head p{font-size:13px;line-height:1.7;color:#677f6e;max-width:550px;margin:0 0 18px}
.pace-symbol{font:66px Georgia,serif;color:#a4bba4;line-height:1}
.adult-pace .form-label{display:block;font-size:11px;font-weight:750;letter-spacing:.04em;margin:8px 0}
.adult-pace .story-select{max-width:none;min-width:0;font-size:13px}
.pace-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.pace-buttons button{background:#fcfbf6;border:1px solid #c6d5c3;padding:13px 6px;min-height:46px;border-radius:6px;color:#47634f;font-weight:750;font-size:12px;white-space:normal;line-height:1.3}
.pace-buttons button.emphasis{background:#43694e;border-color:#43694e;color:#fff;box-shadow:0 5px 13px #44675127}
.pace-buttons button:hover{transform:translateY(-2px);border-color:#75957b}
.pace-recap{border-top:1px solid #ccdac9;padding-top:13px;margin-top:18px;color:#637666;font-size:12px;line-height:1.7}
.pace-recap span{font-size:10px;letter-spacing:.1em;font-weight:850;display:inline-block;margin-right:8px}
.career-journey{margin:27px 0;padding:0 0 9px}
.career-journey-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.life-stat{padding:18px 19px;background:#fbfaf4;border:1px solid #e5e7d9;border-radius:8px;min-width:0}
.life-stat>span{font-size:10px;letter-spacing:.1em;color:#77917d;font-weight:800;display:block}
.life-stat strong{font:21px/1.3 Georgia,serif;color:#395d45;display:block;margin:9px 0}
.life-stat small{font-size:11px;color:#8c9b8c}
.career-journey p{line-height:1.65}
.learning-bar{height:9px;background:#e6e9dc;border-radius:10px;margin:17px 0 5px;overflow:hidden}
.learning-bar span{height:100%;background:#709574;display:block;transition:width .2s}
.adult-moment{border-left:5px solid #7ba585;background:linear-gradient(135deg,#fffdfa,#f3f5ed)}
.adult-moment .choice-button{display:flex;flex-direction:column;gap:5px;text-align:left;padding:15px 19px;background:#fffef9;border:1px solid #d9e3d6;border-radius:7px;color:#3b5b46;min-height:62px}
.adult-moment .choice-button:hover:not(:disabled){background:#eaf4e8;border-color:#8baa91;transform:translateY(-1px)}
.adult-moment .choice-button:disabled{background:#f5f3ed;border-color:#e1dfd5;opacity:1;color:#7b8178}
.adult-moment .choice-button:disabled small{color:#82624f}
.choice-button span{font-size:13px;font-weight:780}
.choice-button small{font-size:11px;color:#829084;line-height:1.6}
.living-world-feed{margin-top:35px}
.world-news{display:grid;grid-template-columns:100px 1fr;gap:14px;border-bottom:1px solid #e9e7db;padding:11px 3px;align-items:start}
.world-news span{color:#76917a;font-size:11px;font-weight:750}
.world-news p{margin:0;font-size:13px;color:#566e5a;line-height:1.65}
.adult-memories{margin:40px 0}
.adult-memories h3{font:27px Georgia,serif;color:#395d45;margin:8px 0 18px}
.adult-memory-row{display:grid;grid-template-columns:110px 1fr;gap:20px;padding:16px 10px;border-bottom:1px solid #e7e7d9}
.adult-memory-row>span{font-size:12px;color:#819183}
.adult-memory-row strong{display:block;font-size:14px;color:#45664d}
.adult-memory-row small{display:block;font-size:11px;color:#849586;margin-top:6px}
@media(max-width:700px){.adult-pace{padding:18px 14px;margin-top:18px}.pace-symbol{font-size:44px}.adult-pace-head h3{font-size:26px}.pace-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.pace-buttons button{min-height:49px;font-size:11px}.career-journey-grid{grid-template-columns:1fr}.world-news{grid-template-columns:75px 1fr;gap:8px}.adult-memory-row{grid-template-columns:70px 1fr;gap:10px}.adult-moment h3{font-size:27px}}
.lifetime-review{padding:25px;margin:30px 0;background:linear-gradient(120deg,#ebeee3,#f3ebdd);border:1px solid #dee4d9;border-radius:9px}
.lifetime-review h3{font:25px Georgia,serif;color:#3c5e48;margin:11px 0}.lifetime-review>p{font-size:13px;color:#647967;line-height:1.8}
.review-stats{display:flex;gap:12px;flex-wrap:wrap}.review-stats span{font-size:11px;background:#fffdf8;border:1px solid #d8e3d4;padding:8px 12px;border-radius:6px;color:#496d54}

/* V1.4 — illustrated city settings, persistent cast, intergenerational saga */
.hero-landscape.city-art{position:relative;overflow:hidden;min-width:34%;background:transparent;align-self:stretch}
.city-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 58%;opacity:.97;filter:saturate(.88)}
.scene-hero .hero-text{position:relative;z-index:2}
.character-portrait{width:58px;height:65px;display:inline-flex;flex-shrink:0;overflow:hidden;border-radius:12px;background:#e3ddd1;box-shadow:inset 0 0 0 1px rgba(34,49,49,.1)}
.character-portrait svg{width:100%;height:100%;display:block}
.side-person .character-portrait{width:44px;height:47px}
.chapter-companion .character-portrait{width:58px;height:62px}
.person-card .character-portrait{width:63px;height:71px}
.family-saga-story{background:#fffaf1;border:1px solid #d5bfb0;border-radius:19px;overflow:hidden;margin:26px 0 32px;box-shadow:0 12px 40px rgba(61,49,39,.075)}
.saga-kicker{padding:13px 25px;background:#6d806f;color:#fff9ed;font-size:10px;letter-spacing:.18em;font-weight:750}
.saga-scene{display:grid;grid-template-columns:37% 63%;min-height:265px}
.saga-art{background-color:#d7e1d5;background-position:center;background-size:cover;min-height:235px}
.saga-content{padding:29px 31px 22px}
.saga-content h2{font-size:clamp(25px,2.5vw,35px);font-family:Georgia,serif;font-weight:500;line-height:1.15;margin:8px 0 10px;color:#363d37}
.saga-subtitle{font-size:14px!important;font-style:italic;color:#8b716a;margin:0 0 12px!important}
.saga-narrative{font-size:15px;line-height:1.85;color:#43504a}
.chapter-count{letter-spacing:.15em;font-size:10px;font-weight:750;color:#7d9381}
.saga-cast{padding:17px 25px;border-top:1px solid #eadfd1;border-bottom:1px solid #eadfd1;display:flex;flex-wrap:wrap;gap:18px;background:#faf2e7}
.saga-actor{display:flex;gap:9px;align-items:center}
.saga-actor .character-portrait{width:40px;height:46px}
.saga-actor strong{display:block;color:#48514a;font-size:13px}
.saga-actor small{color:#877d71;font-size:11px;display:block}
.saga-choices{padding:22px 25px 5px}
.saga-option{width:100%;text-align:left;display:flex;align-items:center;gap:16px;padding:16px 13px;margin:9px 0;background:#f8f4eb;border:1px solid #e4dcd0;border-radius:11px;cursor:pointer;color:#39453e;transition:background .18s,transform .18s}
.saga-option:hover{background:#eaf0e9;transform:translateY(-1px);border-color:#a7bcab}
.saga-option>span:nth-child(2){flex:1}
.saga-option strong{font-size:14px;display:block;font-weight:720}
.saga-option small{font-size:12px;display:block;color:#778278;line-height:1.5;margin-top:3px}
.saga-option b{color:#75937c}
.saga-index{font:italic 25px Georgia,serif;color:#aaa69d;min-width:33px}
.family-saga-story>.mini-footnote{padding:4px 27px 15px}
.saga-progress{border:1px solid #e2ddce;background:#f9f6ee;border-radius:13px;padding:20px 22px;margin:21px 0}
.saga-progress p{font-size:13px;color:#65756b;margin:12px 0}
.saga-progress-meter{height:6px;background:#e2e6df;border-radius:4px;overflow:hidden}
.saga-progress-meter>div{height:100%;background:#7b9b82;border-radius:4px;transition:width .5s}
.saga-album-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}
.saga-album-note{background:#fffefa;border-left:2px solid #a8b9a9;padding:9px 10px;min-width:0}
.saga-album-note span,.saga-album-note small{display:block;font-size:10px;color:#78847c}
.saga-album-note strong{font-size:12px;display:block;color:#4a5c50;margin:4px 0}
.rights-card{background:#fffaf2;border-radius:14px;border:1px solid #ded6c9;padding:22px;margin:22px 0}
.rights-card h3{font:26px Georgia,serif;margin:0 0 14px;color:#445348}
.rights-card>p{color:#637165;line-height:1.7;font-size:14px}
.rights-card .cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.rights-program{background:#f4f0e8;padding:15px;border-radius:10px;display:flex;flex-direction:column;gap:10px}
.rights-program strong{font-size:14px;color:#465247}
.rights-program small{font-size:12px;color:#737e71}
.rights-program .btn-small{align-self:flex-start}
@media(max-width:900px){.saga-scene{grid-template-columns:1fr}.saga-art{min-height:165px}.saga-content{padding:22px}.hero-landscape.city-art{min-width:30%}.saga-album-preview{grid-template-columns:1fr 1fr}.mobile-nav{overflow-x:auto;justify-content:space-between;gap:0;scrollbar-width:none}.mobile-nav button{font-size:10px;min-width:55px;flex:1;padding-left:3px;padding-right:3px}}
@media(max-width:520px){.hero-landscape.city-art{min-width:100%;height:115px;max-height:115px;order:2}.scene-hero{flex-direction:column!important}.saga-cast{padding:13px;gap:11px}.saga-choices{padding:17px 12px 3px}.saga-option{gap:8px}.saga-content h2{font-size:28px}.saga-album-preview{grid-template-columns:1fr}.rights-card{padding:14px}.rights-card .cards-grid{grid-template-columns:1fr}}

/* v1.4 reciprocal family commitment — not a civil register */
.union-story{padding:26px 26px 20px;background:linear-gradient(117deg,#f4e9dc,#f8f2e6);border:1px solid #e5d6c7;border-radius:14px;margin:28px 0}
.union-head{display:flex;gap:17px;align-items:center;margin:14px 0}
.union-head span{font:49px Georgia,serif;color:#af7a7b;line-height:1}
.union-head h3{font:29px/1.17 Georgia,serif;font-weight:500;color:#6c5352;margin:0}
.union-story>p{font-size:13px;line-height:1.8;color:#735e60;max-width:640px}
.union-options{display:flex;flex-wrap:wrap;gap:9px;margin:17px 0}
.union-story .btn-small{min-height:42px}
@media(max-width:700px){.union-story{padding:20px 16px}.union-head h3{font-size:25px}.union-options{flex-direction:column}.union-options button{width:100%}}

.saga-beats{margin-top:17px;border-top:1px solid #e5ddd3;padding-top:7px}
.saga-beat{margin-top:14px}
.saga-beat small{display:block;font-weight:800;letter-spacing:.09em;text-transform:uppercase;font-size:9px;color:#7a9a84}
.saga-beat p{margin:4px 0 0;font-size:12px;line-height:1.72;color:#67756e}

/* v1.5 — staged original French dialogue, responsive and reduced-motion safe. */
.dramatic-performance{background:#fbf7ef;border-color:#cfc0ae}
.stage-environment{height:230px;position:relative;overflow:hidden;background:#e2e8dd}
.stage-artwork{position:absolute;inset:-9%;background-size:cover;background-position:center 57%;filter:saturate(.86) contrast(.99);transform:scale(1.06);animation:stage-breathe 24s ease-in-out infinite alternate}
.stage-vignette{position:absolute;inset:0;background:linear-gradient(90deg,rgba(35,45,35,.62),rgba(48,47,40,.04) 74%),linear-gradient(0deg,rgba(29,36,28,.38),transparent 52%)}
.stage-caption{position:absolute;bottom:20px;left:29px;display:grid;gap:4px;max-width:min(90%,520px);color:#fff9ef;text-shadow:0 2px 8px #20291f9c}
.stage-caption span{font-size:10px;letter-spacing:.16em;font-weight:800;text-transform:uppercase}
.stage-caption strong{font:clamp(25px,3vw,38px)/1.15 Georgia,serif}
.stage-caption small{font-size:12px;line-height:1.55;opacity:.94}
.stage-heading{padding:26px 34px 12px}
.stage-heading h2{font:clamp(27px,3vw,42px)/1.13 Georgia,serif;color:#423d36;margin:8px 0 6px}
.stage-heading p{font:italic 15px/1.55 Georgia,serif;color:#806b61;margin:0}
.dramatic-lines{margin:5px 34px 15px;border-left:1px solid #cdbfae;padding-left:22px}
.dramatic-beat{padding:11px 12px 13px 17px;border-radius:12px;position:relative;margin:8px 0;animation:dramatic-enter .38s ease-out both}
.dramatic-beat p{font:16px/1.75 Georgia,serif;color:#49483e;margin:0}
.dramatic-beat.spoken{background:#fffdf7;box-shadow:0 2px 16px rgba(69,71,62,.05);border:1px solid #e6ded0}
.dramatic-beat.spoken p{padding-top:3px;color:#3c4e40;font-size:17px}
.dramatic-speaker{display:flex;gap:11px;align-items:center;margin-bottom:7px}
.dramatic-speaker .character-portrait{width:38px;height:42px;border-radius:9px}
.dramatic-speaker strong{display:block;color:#496854;font-size:13px}
.dramatic-speaker small{display:block;color:#89877e;font-size:11px;margin-top:2px}
.dramatic-type{font-size:10px;letter-spacing:.13em;color:#928b79;font-weight:800;margin-bottom:4px}
.dramatic-beat.direction{background:linear-gradient(135deg,#f2ecdf,#f9f7ef);font-style:italic}
.dramatic-beat.memory{background:#ebefe8;border-left:3px solid #9bab91}
.dramatic-beat.memory p{font-size:14px;color:#536351}
.dramatic-beat.aside{background:#f5f1e8}
.dramatic-callback{display:flex;gap:14px;padding:16px 18px;margin:17px 34px;background:#ecefe8;border-radius:10px;border:1px solid #dae2d6;color:#4e6452}
.dramatic-callback span{font:28px Georgia,serif}
.dramatic-callback strong{font-size:13px}
.dramatic-callback p{font:13px/1.6 Georgia,serif;margin:5px 0 0}
.dramatic-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:21px 34px;border-top:1px solid #e7ded0;background:#f8f3e9;flex-wrap:wrap}
.dramatic-count{font-size:11px;color:#867e6f}
.dramatic-buttons{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.dramatic-buttons button{border-radius:9px;min-height:43px;cursor:pointer;font-size:12px;font-weight:700;padding:10px 14px}
.drama-next{background:#4c6b52;color:#fff;border:1px solid #4c6b52;box-shadow:0 4px 12px #4c6b521c}
.drama-next:hover{background:#375a3d}
.drama-skip{border:1px solid #d7cbb9;color:#62665b;background:#fefcf7}
.drama-skip:hover{background:#f0eade}
.dramatic-end{margin:10px 34px 0;border-top:1px solid #ded5c7;padding:21px 0 6px}
.dramatic-end p{font:italic 14px Georgia,serif;color:#747566;line-height:1.65}
.dramatic-credits{padding:16px 34px;border-top:1px solid #e3dbcd;background:#f1ebdf}
.dramatic-cast{display:flex;gap:18px;flex-wrap:wrap;margin-top:11px}
.dramatic-cast>div{display:flex;align-items:center;gap:7px}
.dramatic-cast .character-portrait{width:31px;height:34px;border-radius:6px}
.dramatic-cast strong{font-size:11px;color:#5b6259}
.dramatic-archive{padding:24px 0;margin:30px 0}
.dramatic-archive h3{font:clamp(24px,3vw,33px) Georgia,serif;color:#405745;margin:10px 0 17px}
.relic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.relic-card{padding:16px 13px;display:flex;flex-direction:column;gap:8px;border:1px solid #ded8c9;border-radius:12px;background:linear-gradient(133deg,#faf6ee,#f0eee4);min-width:0}
.relic-icon{font:25px Georgia,serif;color:#a89e83}
.relic-card strong{font:17px/1.3 Georgia,serif;color:#3f5947}
.relic-card small{font-size:11px;line-height:1.4;color:#849085}
@keyframes dramatic-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes stage-breathe{from{transform:scale(1.05)}to{transform:scale(1.15)}}
@media(max-width:700px){.stage-environment{height:188px}.stage-caption{left:17px;bottom:14px}.stage-caption strong{font-size:27px}.stage-heading{padding:21px 17px 11px}.stage-heading h2{font-size:29px}.dramatic-lines{margin:3px 14px 12px;padding-left:8px}.dramatic-beat{padding:11px 10px}.dramatic-beat p{font-size:15px}.dramatic-beat.spoken p{font-size:16px}.dramatic-controls{padding:16px;align-items:stretch}.dramatic-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.dramatic-buttons button{font-size:11px}.dramatic-callback{margin:12px 15px}.dramatic-end{margin:12px 16px}.dramatic-credits{padding:14px}.relic-grid{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.dramatic-buttons{grid-template-columns:1fr}.relic-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.stage-artwork,.dramatic-beat{animation:none!important}.drama-next,.drama-skip{transition:none!important}}
.dramatic-beat.player-line{background:#e8eee6;border-left:3px solid #81a287;margin-left:12px}
.dramatic-beat.player-line p{color:#365944}
.protagonist-name{color:#52755d}

/* v1.6 — character threads: archive, returning voices and persistent memories. */
.relationship-stage .stage-vignette{background:linear-gradient(90deg,rgba(38,47,40,.65),rgba(42,49,44,.07) 75%),linear-gradient(0deg,rgba(32,38,31,.35),transparent)}
.relationship-stage .stage-artwork{filter:saturate(.76) sepia(.08)}
.saga-thread-pills{margin:16px 0;display:flex;gap:8px;flex-wrap:wrap}
.saga-thread-pills>div{display:flex;gap:7px;align-items:center;padding:8px 11px;border-radius:99px;background:#eaf0e7;border:1px solid #d6e0d2;font-size:11px;color:#546a58}
.saga-thread-pills strong{color:#345443}
.relationship-archive{margin:33px 0 15px;padding-top:18px;border-top:1px solid #ded9ca}
.relationship-archive h3{font:clamp(24px,3vw,34px)/1.2 Georgia,serif;color:#42634c;margin:9px 0 13px}
.relationship-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0}
.relationship-track{padding:21px;border-radius:13px;border:1px solid #e3d9c9;background:linear-gradient(140deg,#fdf9f0,#f4eee2);min-width:0}
.relationship-track header{display:flex;align-items:center;gap:11px}
.relationship-track header>div{flex:1;min-width:0}
.relationship-track header strong{display:block;font:19px Georgia,serif;color:#485d4c}
.relationship-track header small{font:11px/1.5 system-ui;color:#7d8076;display:block;margin-top:5px}
.storyline-ornament{font-size:27px;color:#9aa989}
.storyline-status{font:9px system-ui;letter-spacing:.06em;color:#8e8578}
.storyline-outcome{font:italic 13px Georgia,serif;color:#7d7166;border-bottom:1px solid #e8dece;padding-bottom:12px}
.timeline-moment{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #ece2d5;align-items:start}
.timeline-moment:last-child{border-bottom:0}
.timeline-age{flex-shrink:0;font:11px system-ui;color:#63836b;background:#e8efe6;padding:5px 7px;border-radius:7px}
.timeline-moment strong{display:block;font:13px/1.5 Georgia,serif;color:#4d574b}
.timeline-moment small{display:block;color:#9b9083;margin-top:3px;font-size:10px}
@media(max-width:700px){.relationship-timeline{grid-template-columns:1fr}.relationship-track{padding:16px}.storyline-status{font-size:8px}}

/* v1.7 — close-up character acting; all motion is decorative and optional. */
.ensemble-stage{position:absolute;right:5%;bottom:-2px;display:flex;align-items:flex-end;justify-content:flex-end;gap:14px;width:52%;height:86%;pointer-events:none;z-index:2}
.stage-rig{height:86%;width:clamp(82px,11vw,158px);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative;filter:drop-shadow(0 10px 18px #28362c40);transform-origin:center bottom;transition:transform .45s ease,opacity .35s ease,filter .35s ease}
.stage-rig.rig-focused{transform:translateY(-6px) scale(1.05);opacity:1;filter:drop-shadow(0 12px 18px #17261860)}
.stage-rig.rig-quiet{transform:scale(.94);opacity:.7;filter:brightness(.84)}
.rig-head{width:clamp(76px,8.5vw,123px);height:clamp(95px,10vw,135px);position:relative;z-index:2;border-radius:43% 43% 20% 20%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.rig-head .character-portrait{width:100%;height:100%;display:block;border-radius:34% 34% 18% 18%;overflow:hidden;border:3px solid #f5efe6;box-shadow:0 5px 16px #243b355c}
.rig-head .character-portrait svg{height:100%;width:100%;display:block}
.rig-monogram{width:100%;height:100%;border-radius:37% 37% 15% 15%;background:linear-gradient(135deg,#ddd0b4,#adbaa7);border:3px solid #f1e7d8;color:#4d6358;display:flex;justify-content:center;align-items:center;font:50px Georgia,serif;box-shadow:0 5px 14px #182f2466}
.rig-shoulders{width:88%;height:50%;margin-top:-6px;z-index:1;border-radius:45% 45% 12% 12%;background:linear-gradient(130deg,#b7a59c,#5b8278);border:2px solid #e9d8c7;transform-origin:center bottom}
.npc-rig .rig-shoulders{background:linear-gradient(130deg,#8a958e,#485d61)}
.rig-label{position:absolute;bottom:11px;color:#fffdf5;background:#263e32cc;font:700 11px/1.4 system-ui,sans-serif;padding:4px 9px;border-radius:99px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:4}
.rig-blink{pointer-events:none;position:absolute;top:43%;left:28%;width:44%;height:2px;transform:scaleY(0);background:#293e40;opacity:.78;animation:rig-blink 6s steps(1) infinite}
.rig-mouth{pointer-events:none;position:absolute;top:65%;left:46%;width:12%;height:3px;background:#744d4d;border-radius:50%;opacity:0;transform:scaleY(.5);z-index:3}
.rig-speaking .rig-mouth{opacity:1;animation:mouth-speak .18s ease-in-out infinite alternate}
.rig-speaking .rig-shoulders{animation:rig-talk .45s ease-in-out infinite alternate}
.rig-focused.gesture-look-away{transform:rotate(-2deg) translateY(-5px)}
.rig-focused.gesture-open-hand .rig-shoulders,.rig-focused.gesture-point .rig-shoulders{transform:rotate(3deg)}
.rig-focused.mood-vulnerable,.rig-focused.mood-tired{transform:translateY(3px) rotate(1deg)}
.rig-focused.mood-firm{transform:translateY(-9px) scale(1.04)}
.character-direction{display:flex;gap:13px;align-items:flex-start;margin:5px 34px 17px;background:#e9efe8;border:1px solid #d9e3d6;border-radius:11px;padding:12px 17px;color:#4b6558}
.character-direction-mark{font-size:21px;line-height:1.4;color:#8ca896}
.character-direction strong{font:700 14px/1.4 Georgia,serif}
.character-direction p{font:italic 13px/1.6 Georgia,serif;margin:4px 0 2px}
.character-direction small{font:11px/1.5 system-ui,sans-serif;color:#7a8a7e}
.voice-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:9px 34px 14px}
.voice-toolbar button,.line-stage-cues button{border:1px solid #d9d4c4;border-radius:8px;background:#fffaf1;color:#365548;font-weight:650;cursor:pointer;padding:7px 10px;min-height:35px;font-size:11px}
.voice-toolbar button:hover,.line-stage-cues button:hover{background:#ecf1e8}
.voice-status{font-size:11px;color:#6f7e71;flex:1 1 200px}
.line-stage-cues{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:9px}
.line-stage-cues span{font:italic 10px Georgia,serif;color:#879185}
.line-stage-cues button{min-height:30px;padding:4px 8px;font-size:10px}
.dramatic-beat.beat-now{border-color:#9fb29e;box-shadow:0 2px 12px #53785f12}
.voice-persona-card{display:flex;flex-direction:column;gap:4px;border-left:3px solid #98ada0;background:#f1f4ed;padding:9px 11px;margin:9px 0}
.voice-persona-card span{font:800 9px system-ui,sans-serif;letter-spacing:.08em;color:#728877}
.voice-persona-card strong{font:16px Georgia,serif;color:#496356}
.voice-persona-card small{font:12px/1.6 Georgia,serif;color:#687e70}
@keyframes rig-blink{0%,42%,44%,100%{transform:scaleY(0)}43%{transform:scaleY(2)}}
@keyframes mouth-speak{from{height:2px;transform:scaleY(.7)}to{height:9px;transform:scaleY(1)}}
@keyframes rig-talk{from{transform:rotate(-.4deg)}to{transform:rotate(.6deg)}}
@media(max-width:700px){
 .ensemble-stage{width:53%;right:1%;gap:5px;height:81%}
 .stage-rig{width:82px}.rig-head{width:74px;height:88px}.rig-shoulders{height:46%}.rig-monogram{font-size:37px}
 .stage-caption{max-width:49%;left:13px;bottom:14px}.stage-caption strong{font-size:22px}.stage-caption small{font-size:10px}
 .stage-caption span{font-size:9px}
 .character-direction{margin:5px 14px 10px;padding:10px 12px}.voice-toolbar{padding:10px 14px 12px}
 .voice-toolbar button{flex:1;min-height:39px}.voice-status{flex-basis:100%}
 .dramatic-beat .line-stage-cues button{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 .stage-rig,.rig-shoulders,.rig-blink,.rig-mouth{animation:none!important;transition:none!important}
 .rig-blink{opacity:0!important}.rig-mouth{opacity:0!important}
}

/* v1.8: an authored thread of a person's life, not a numerical relationship score. */
.premium-life-stage .stage-vignette{background:linear-gradient(90deg,rgba(34,39,34,.28),transparent 55%)}
.premium-object-note{margin:16px 0;padding:14px 17px;border-left:3px solid #ad8b61;background:#f5f0e7;border-radius:0 12px 12px 0;display:grid;gap:4px}
.premium-object-note span,.longform-persona-card small{font-size:10px;letter-spacing:.13em;color:#876e58;font-weight:800}
.premium-object-note strong{font-family:Georgia,serif;font-size:18px;color:#55473b}
.premium-object-note small{font-size:11px;line-height:1.5;color:#7c6c5f}
.longform-persona-card{background:#f5f1e9;border:1px solid #e6dccf;border-radius:12px;padding:12px;margin:11px 0;display:grid;gap:5px}
.longform-persona-card strong{font:600 16px Georgia,serif;color:#46594f}
.longform-persona-card span{font-size:12px;line-height:1.5;color:#6c7069}
.premium-life-archive{margin-top:27px;padding:22px;border-radius:20px;background:#f6f2eb;border:1px solid #e9e2d7}
.premium-life-archive h3{font:600 27px Georgia,serif;margin:9px 0 12px}
.longform-arcs{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:13px;margin-top:19px}
.longform-arc{border-radius:14px;background:#fffefa;padding:15px;border:1px solid #e3dfd7;min-width:0}
.longform-arc-head{display:flex;align-items:center;gap:11px;padding-bottom:12px;border-bottom:1px solid #ece7dc}
.longform-arc-head>span{font-size:25px;color:#b28c73}
.longform-arc-head>div{flex:1;display:grid;gap:3px}
.longform-arc-head small{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#777267}
.longform-arc-head strong{font:600 19px Georgia,serif;color:#394b41}
.longform-arc-head em{font-style:normal;color:#857b69;font-size:12px}
.longform-memory{display:flex;gap:12px;padding-top:12px}
.longform-memory>span{width:84px;flex-shrink:0;font-size:10px;color:#7a756d;padding-top:3px}
.longform-memory>div{display:grid;gap:3px;min-width:0}
.longform-memory strong{font-size:12px;color:#3d5147;line-height:1.5}
.longform-memory small{font-size:11px;color:#8b756a}
@media(max-width:600px){.premium-life-archive{padding:15px}.longform-arcs{grid-template-columns:1fr}.premium-life-archive h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){.premium-life-stage .stage-rig,.premium-life-stage .rig-head{animation:none!important;transition:none!important}}

/* v1.9.2: individual lives. No audio controls, no animated playback. */
.biographical-project{display:flex;flex-direction:column;gap:6px;border:1px solid #e1dfd4;border-radius:12px;padding:12px 14px;background:#f7f5ed;margin:10px 0;font:13px/1.5 Georgia,serif;color:#33483e}
.biographical-project span{font:700 10px system-ui,sans-serif;letter-spacing:.08em;color:#647b68}
.biographical-project strong{font:17px Georgia,serif}
.biographical-project p{margin:1px 0}
.biographical-project small{font-size:11px;color:#596a60}

/* v1.10 - practical on-boarding, visible consequences and optional repeat-life markers */
.start-preview{border:1px solid #dce4d6;background:#f0f3e9;border-radius:10px;padding:18px 19px;margin:22px 0 22px}
.start-preview h3{font:23px/1.3 Georgia,serif;color:#395847;margin:7px 0}
.start-preview p{font-size:12px;color:#667b6d;margin-bottom:9px}
.start-preview small{display:block;color:#597c65;font-weight:700;font-size:11px}
.other-lives{margin-top:21px}.archive-explain{font-size:11px;color:#829086;margin:8px 0}
.archive-items{display:grid;gap:8px}.archive-item{padding:12px;background:#faf9f5;border:1px solid #e4e1d9;border-radius:8px;display:flex;gap:12px;align-items:center;justify-content:space-between}
.archive-item strong,.archive-item small{display:block}.archive-item strong{font-size:13px}.archive-item small{font-size:11px;color:#798b7d}
.archive-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.archive-actions button{background:#f0f5ec;border:1px solid #d5e0d1;border-radius:6px;color:#385847;padding:7px 9px;font-size:11px}
.life-compass{margin:15px 0 19px;padding:20px 23px;border:1px solid #e1ddce;border-radius:12px;background:#f7f2e7}
.life-compass h3{font:24px/1.23 Georgia,serif;color:#385645;margin:8px 0}.life-compass p{font-size:12px;color:#6f7f71;margin:7px 0 12px}.compass-top{display:flex;align-items:start;justify-content:space-between;gap:10px}
.compass-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.compass-options button{background:#fffefa;border:1px solid #e0e0d4;padding:10px 11px;display:flex;justify-content:space-between;gap:8px;text-align:left;border-radius:7px;color:#42624c;font-size:12px;font-weight:700}.compass-options button:hover{background:#eaf0e6}.compass-options button span{color:#8ba08d}
.compass-progress{height:9px;border-radius:9px;background:#e3dfd3;overflow:hidden;margin:13px 0}.compass-progress span{display:block;background:#719775;height:100%;transition:width .2s}
.compass-facts{display:grid;gap:4px}.compass-facts strong{color:#3e654b;font-size:12px}.compass-facts small{font-size:11px;color:#758879}
.impact-card{margin:16px 0;padding:19px 23px;border:1px solid #c5d8c4;background:#eaf2e8;border-radius:11px}.impact-heading{display:flex;align-items:start;justify-content:space-between;gap:10px}.impact-heading h3{font:24px Georgia,serif;color:#2f5744;margin:6px 0 10px}.impact-heading button{border:0;background:transparent;font-size:23px;color:#617b69}
.impact-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.impact-rows>div{border:1px solid #dae4d4;background:#fffefa;border-radius:7px;padding:10px 12px;min-width:0}.impact-rows span{font-size:10px;color:#79917d;display:block}.impact-rows strong{display:block;font-size:15px;color:#3c694b;margin:4px 0;overflow-wrap:anywhere}
@media(max-width:700px){.start-preview{padding:15px}.life-compass,.impact-card{padding:16px 14px}.compass-options{grid-template-columns:1fr}.archive-item{flex-direction:column;align-items:stretch}.impact-rows{grid-template-columns:1fr 1fr}}

.replay-actions{margin:28px 0 10px;border:1px dashed #cbd8c8;background:#f9faf4;border-radius:11px;padding:18px 21px}.replay-actions p{font-size:12px;color:#708372;margin:9px 0 14px}.replay-buttons{display:flex;flex-wrap:wrap;gap:8px}.replay-buttons button{border:1px solid #c8d7c6;padding:10px 12px;border-radius:7px;color:#42614b;background:#eff5ed;font-size:12px;font-weight:750}.replay-buttons button:last-child{background:#fffdfa}
@media(max-width:700px){.replay-actions{padding:16px 14px}.replay-buttons{display:grid;grid-template-columns:1fr 1fr}.replay-buttons button:first-child{grid-column:1/-1}}

/* v1.10 · faster mobile first impression */
.birth-story-option summary{list-style:none;cursor:pointer;display:grid;gap:4px}.birth-story-option summary::-webkit-details-marker{display:none}.birth-story-option summary strong{font:25px Georgia,serif;color:#3c6150;margin:4px 0}.birth-story-option summary small{font:11px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#76907d}.birth-story-option[open] summary{margin-bottom:10px}
.quick-start-mobile{display:none}
@media(max-width:700px){
 .start-screen{padding-bottom:95px}
 .start-header{padding-top:19px;padding-bottom:12px}
 .start-container{padding-top:3px}
 .intro-text{padding-top:9px}
 .intro-text h1{font-size:clamp(39px,10vw,52px);margin:11px 0 12px}
 .intro-text>p{font-size:13px;line-height:1.6}
 .hero-points{gap:9px;margin:12px 0}
 .illustration{height:145px;margin-top:12px;border-radius:9px 30px 9px 9px}
 .illustration .building{transform:scale(.7);transform-origin:bottom center}
 .start-form-panel{padding:23px 17px}
 .start-form-panel h2{font-size:32px;margin:7px 0 10px}
 .form-hint{margin-bottom:14px}
 .space-top{margin-top:15px}
 .quick-start-mobile{display:block;position:fixed;z-index:31;bottom:0;left:0;right:0;background:#fffdf9f5;border-top:1px solid #dadfd2;box-shadow:0 -9px 25px #243b261c;padding:9px 15px calc(9px + env(safe-area-inset-bottom))}
 .quick-start-context{font-size:10px;color:#667d6c;font-weight:750;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .quick-start-row{display:grid;grid-template-columns:1fr 1.5fr;gap:8px}
 .quick-start-row button{min-height:43px;border:1px solid #cfdbcc;border-radius:8px;background:#eff3e9;color:#3e604a;font-size:12px;font-weight:800}
 .quick-start-row #quick-start-now{color:#fff;background:#395f4c;border-color:#395f4c}
}

/* Finance V2.3: real game transactions on the original service */
.finance-v23{max-width:100%;display:grid;gap:20px}.finance-v23>h2{font:clamp(25px,3vw,37px)/1.2 Georgia,serif;margin:0;color:#28483e}
.fin-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fin-summary>div{border:1px solid #e1e3d8;border-radius:10px;padding:15px;background:#fafaf5;min-width:0}
.fin-summary small{display:block;color:#687c70;font-size:11px}.fin-summary strong{display:block;color:#315347;font:24px Georgia,serif;margin-top:6px;overflow-wrap:anywhere}
.fin-section{border:1px solid #dcded3;border-radius:12px;padding:18px;background:#fffefb;min-width:0}.fin-section>h3,.fin-category>h3{font:21px Georgia,serif;color:#304c40;margin:0 0 8px}
.fin-section p{color:#6d7d70;font-size:12px;line-height:1.6}.fin-control{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.fin-control>label{font-size:12px}
.fin-control input,.fin-asset-actions input,.fin-select{min-height:40px;border-radius:7px;border:1px solid #d9dfd5;background:white;color:#254437;padding:7px 10px;max-width:140px}
.fin-asset,.fin-item{padding:14px 0;border-bottom:1px solid #edf0e9;display:flex;gap:10px;align-items:center;justify-content:space-between;min-width:0}.fin-item>div,.fin-asset>div:first-child{min-width:0;flex:1}
.fin-item strong,.fin-asset strong{display:block;color:#344e41;font-size:13px}.fin-item small,.fin-asset small{display:block;font-size:11px;color:#728476;line-height:1.5;margin-top:3px}
.fin-asset{align-items:flex-start;flex-wrap:wrap}.fin-asset-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.fin-asset-actions label{font-size:11px;color:#728476}.fin-asset-actions input{width:72px}
.fin-category{margin:18px 0}.fin-category>h3{font-size:17px}.fin-ledger{padding:9px 0;display:flex;gap:10px;justify-content:space-between;border-bottom:1px solid #e6e7df;font-size:12px;overflow-wrap:anywhere}
@media(max-width:700px){.fin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fin-summary strong{font-size:19px}.fin-section{padding:13px}.fin-item{flex-wrap:wrap}.fin-asset-actions{width:100%}.fin-control input{max-width:125px}}

/* v2.4 – Real game-engine life operations */
.operations-hub{display:grid;gap:16px;margin-bottom:28px}.operations-hub>h2{margin:4px 0 0;font-size:clamp(1.55rem,3vw,2.2rem)}
.operations-group{border:1px solid #ddd9cf;background:#fffdf8;border-radius:15px;margin:12px 0;overflow:hidden}
.operations-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:17px 19px;font-weight:650;list-style:none}
.operations-group>summary::-webkit-details-marker{display:none}.operations-group>summary:after{content:'⌄';color:#668075;margin-left:auto}
.operations-group[open]>summary{border-bottom:1px solid #e5e0d7}.operations-group>summary small{font-size:.76rem;font-weight:400;color:#777;max-width:30%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.operations-content{display:grid;gap:12px;padding:17px 20px}.operations-content h4{margin:12px 0 0;font-size:1rem}
.operations-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.operations-summary>div{display:grid;gap:6px;padding:14px;border:1px solid #e4e0d6;border-radius:12px;background:#fffdf8;min-width:0}
.operations-summary small{color:#6d7874}.operations-summary strong{font-size:1.07rem;overflow-wrap:anywhere}
.operations-alert{background:#f8eee4;padding:14px;border-radius:12px;border:1px solid #cfa68b;line-height:1.6}
.operations-info{padding:14px;border-radius:12px;background:#e7eee9;color:#2c493e;line-height:1.6}
.operations-info p{margin:.3rem 0 .7rem}.operations-shortcut{margin:20px 0;padding:20px;border:1px solid #cddcd3;background:#edf4ef;border-radius:14px}
.operations-shortcut p{margin:.5rem 0 1rem}.operation-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ece9e2}
.operation-entry>div{display:grid;gap:4px}.operation-entry small{color:#69746d}.operations-field{display:grid;gap:7px;color:#394d43;font-size:.92rem;min-width:0}
.operations-field>select,.operations-field>input{width:100%;min-height:42px;padding:10px;border:1px solid #cbcfc6;border-radius:8px;background:white;color:#253e34;font:inherit}
.operations-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.operations-inline{display:flex;gap:12px;align-items:end}.operations-inline .operations-field{flex:1}
.operation-button-row{display:flex;flex-wrap:wrap;gap:10px}.operations-hub button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.operations-summary{grid-template-columns:1fr 1fr}.operations-summary>div:last-child{grid-column:1/-1}.operations-two{grid-template-columns:1fr}.operation-entry,.operations-inline{flex-direction:column;align-items:stretch}.operations-group>summary{padding:14px}.operations-content{padding:14px}}

/* V2.5 — small, accessible variation control. No replacement of prior UI. */
.start-variation {margin:15px 0 18px} .start-variation[hidden]{display:none!important}
.start-variation select{width:100%;min-height:46px} .start-variation .tone-note{margin:8px 0 0}
.start-profile-facts{color:#28483E;font-size:.9rem;font-weight:600;margin:10px 0 4px}

/* V2.8: practical finance cards: avoid oversized controls on small screens. */
.finance-v23 [aria-label="Patrimoine et crédit"] { border-left: 3px solid var(--green, #416d5b); }
.finance-v23 [aria-label="Patrimoine et crédit"] .fin-control { display:flex;flex-wrap:wrap;gap:10px;align-items:end; }
.finance-v23 [aria-label="Patrimoine et crédit"] .fin-control input,
.finance-v23 [aria-label="Patrimoine et crédit"] .fin-control select { min-width:92px;max-width:200px; }
@media(max-width:600px) { .finance-v23 [aria-label="Patrimoine et crédit"] .fin-control > * { width:100%;max-width:100%!important; } }

/* V2.11 readable reference result; horizontal scroll on mobile */
.public-fin-result{white-space:pre-wrap;word-break:break-word;max-height:300px;overflow:auto;font-size:.8rem;line-height:1.5}
.public-finance-panel .operations-content{display:flex;flex-direction:column;gap:10px}

/* V2.12 · end-of-life recap, intentionally calm and non-transactional. */
.estate-ending{max-width:100%;}.estate-ending h3{font-size:clamp(26px,3vw,40px)}
.estate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:23px 0}
.estate-summary{border:1px solid #dde6db;background:#edf2e9;border-radius:7px;padding:18px;min-width:0}
.estate-summary span{display:block;color:#687b6c;font-size:12px;line-height:1.4}
.estate-summary strong{display:block;font:clamp(18px,2vw,28px) Georgia,serif;color:#2e5142;margin-top:7px;overflow-wrap:anywhere}
.estate-details{border:1px solid #dfdfd3;border-radius:7px;padding:15px;margin:15px 0}
.estate-details summary{cursor:pointer;font-weight:700;color:#375948}
.estate-details h4,.estate-people h4{font:20px Georgia,serif;color:#3e5d48;margin:18px 0 10px}
.estate-line{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid #e9eae2;font-size:13px}
.estate-line strong{white-space:nowrap}.estate-people ul{margin:0;padding-left:22px;line-height:1.75;font-size:13px}
.estate-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
@media(max-width:700px){.estate-grid{grid-template-columns:1fr;gap:8px}.estate-summary{padding:13px 15px}.estate-actions{display:grid;grid-template-columns:1fr}.estate-actions button{min-height:44px}}

/* V2.13 Living Life Interface: information architecture, not a new simulation. */
.game-shell{background:#f7f5ef}
.game-nav{width:252px;min-width:252px;padding:23px 17px;background:#fffdf8;overflow-y:auto}
.game-logo{margin-bottom:16px}
.chapter-tag{margin-top:6px;padding:12px 14px}
.chapter-tag strong{font-size:28px}
#main-nav{margin-top:15px;gap:3px}
.nav-item{padding:10px 12px;min-height:42px}
.nav-bottom{padding-top:15px}
.identity-panel{margin-top:13px;padding:16px 14px;background:#f2f3eb;border:1px solid #e2e8de;border-radius:11px}
.identity-name{font:23px Georgia,serif;color:#284d3b}
.identity-meta,.identity-phase{color:#63766a;font-size:12px;margin-top:4px}
.identity-phase{padding-bottom:12px;border-bottom:1px solid #d5dfd5;margin-bottom:14px}
.identity-meter{margin:11px 0}
.identity-meter>div{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#596f61}
.identity-meter b{font-weight:600;font-variant-numeric:tabular-nums}
.identity-track{display:block;margin-top:5px;height:5px;border-radius:5px;background:#d9e3da;overflow:hidden}
.identity-track i{display:block;height:100%;background:#719680;border-radius:5px}
.identity-stress i{background:#bf8b75}
.identity-money,.identity-work{padding-top:12px;margin-top:12px;border-top:1px solid #dce3d8;display:flex;flex-direction:column;gap:3px}
.identity-money span,.identity-work small{font-size:11px;color:#63796b}
.identity-money strong{font:23px Georgia,serif;color:#264e3b}
.identity-work strong{font-size:12px;color:#3e5948}
.identity-link{background:transparent;border:0;color:#315b43;text-decoration:underline;font-size:12px;text-align:left;margin-top:13px;padding:7px 0}
.game-topbar{height:auto;min-height:89px;padding:17px 3%;gap:12px;background:#fffdf9}
.game-topbar h2{font-size:23px}
.top-right{gap:10px;flex-wrap:wrap;justify-content:flex-end}
.time-controls{display:flex;gap:7px;align-items:center}
.time-controls button{padding:10px 12px;border:1px solid #c9dacb;border-radius:8px;background:#e9f0e8;color:#315b41;font-weight:750;cursor:pointer;white-space:nowrap}
.time-controls button:hover{background:#dceade}
.time-locked{color:#885949;font-size:11px;max-width:180px}
.game-columns{grid-template-columns:minmax(0,1fr) 266px}
.game-main{padding:23px clamp(18px,3vw,45px);max-width:880px}
.stats-panel{padding:27px 17px;background:#fbfaf6}
.right-people-head h3{font:25px Georgia,serif;color:#304f3e;margin:6px 0 15px}
.right-person-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e6e8e1}
.right-person-row>div:last-child{min-width:0}
.right-person-row strong{display:block;font-size:13px}
.right-person-row small{display:block;font-size:11px;color:#7a8b80;margin:3px 0}
.right-person-row .person-avatar{flex-shrink:0}
.stats-panel .subtle-button{width:100%;margin-top:14px;min-height:43px}
.side-divider{border:0;border-top:1px solid #e1e5dd;margin:25px 0}
.right-context{font-size:13px;line-height:1.6;color:#65776b}
.living-heading{margin:0 0 18px}
.living-heading>span{font-size:10px;letter-spacing:.10em;text-transform:uppercase;color:#708275}
.living-heading h2{font:30px Georgia,serif;color:#2c503e;margin:5px 0 0}
.scene-hero{min-height:155px!important;margin-bottom:18px!important}
.action-card{min-height:88px!important;padding:13px 15px!important}
.recent-life{margin:20px 0;padding:19px 20px;background:#fffefb;border:1px solid #e5e8df;border-radius:11px}
.recent-life-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.recent-life-head h3{font:24px Georgia,serif;color:#365943;margin:0}
.recent-life-item{padding:13px 0;border-top:1px solid #e7eae3}
.recent-life-item>span{display:block;color:#779082;font-size:10px;margin-bottom:5px}
.recent-life-item strong{display:block;color:#3c5745;font-size:14px}
.recent-life-item p{font-size:12px;color:#6e7e71;line-height:1.55;margin:4px 0 0}
.mobile-glance,.mobile-more{display:none}
@media(max-width:1250px){.game-nav{width:220px;min-width:220px}.game-columns{grid-template-columns:minmax(0,1fr) 230px}}
@media(max-width:990px){
 .game-nav,.stats-panel{display:none}
 .game-columns{grid-template-columns:1fr}
 .game-topbar{padding:14px 18px;min-height:74px}
 .game-main{max-width:850px;padding:17px 20px 100px}
 .mobile-glance{display:flex;justify-content:space-between;gap:10px;max-width:850px;margin:0 auto;padding:12px 20px;background:#eef1e9;border-bottom:1px solid #e0e5dc}
 .mobile-glance span{display:flex;flex-direction:column;gap:4px;min-width:0}
 .mobile-glance strong{font-size:11px;color:#365b44}
 .mobile-glance small{font-size:11px;color:#6c806f}
 .mobile-nav{display:flex;justify-content:space-around;gap:0;overflow:visible}
 .mobile-nav button{min-height:47px;min-width:53px;flex:1;font-size:11px}
 .mobile-more{display:grid;position:fixed;z-index:27;bottom:calc(68px + env(safe-area-inset-bottom));left:12px;right:12px;gap:6px;background:#fffdf7;box-shadow:0 -10px 36px #22382724;border:1px solid #dfe5da;border-radius:12px;padding:12px}
 .mobile-more.hidden{display:none!important}
 .mobile-more button{border:0;text-align:left;padding:14px;background:#f4f6ef;border-radius:7px;color:#355d46;min-height:44px;font-weight:700}
 .top-right .date-tag{display:none}
}
@media(max-width:620px){
 .game-topbar h2{font-size:19px}
 .game-topbar{gap:7px}
 .profile-bubble{display:none}
 .time-controls button{font-size:11px;padding:8px 10px;min-height:40px}
 .game-main{padding:14px 13px 115px}
 .mobile-glance{padding:10px 12px;gap:5px}
 .mobile-glance strong,.mobile-glance small{font-size:10px}
 .living-heading h2{font-size:25px}
 .scene-hero{min-height:125px!important}
 .recent-life{padding:15px}
 .recent-life-head h3{font-size:21px}
 .mobile-nav button{font-size:10px}
 .mobile-nav button span{font-size:21px}
}

/* V2.14 — Monthly truth / yearly pace */
.life-auto-bar{display:grid;grid-template-columns:minmax(95px,130px) minmax(100px,1fr) auto;align-items:center;gap:13px;padding:12px 3% 9px;background:#fbfaf4;border-bottom:1px solid #e5e6dc}
.life-auto-identity{display:flex;flex-direction:column;gap:4px}
.life-auto-identity strong{font:19px Georgia,serif;color:#2d503f}
.life-auto-identity span{font-size:12px;color:#708173}
.life-progress-block{min-width:0}
.life-progress-track{height:9px;background:#dfe5dc;border:1px solid #d6dfd4;border-radius:20px;overflow:hidden}
.life-progress-track span{height:100%;display:block;width:0;background:linear-gradient(90deg,#3f7662,#bd8865);transition:width .32s ease-out}
.life-month-marks{display:flex;justify-content:space-between;padding-top:5px;font-size:9px;letter-spacing:.06em;color:#829086}
.life-auto-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.life-auto-actions button{background:#295444;border:1px solid #295444;color:white;border-radius:9px;padding:10px 15px;cursor:pointer;min-height:42px;font-weight:700}
.life-auto-actions button[aria-pressed="true"]{background:#f7eee6;color:#71483d;border-color:#d9bbb0}
.life-auto-actions label{font-size:11px;color:#68786c}
.life-auto-actions select{min-height:42px;border:1px solid #cbd8cc;border-radius:8px;background:#fffdf8;color:#25493a;padding:7px}
.life-auto-status{font-size:11px;color:#78867b;grid-column:1/-1;margin:0}
.life-decision-overlay{position:fixed;inset:0;z-index:110;display:flex;justify-content:center;align-items:center;padding:16px;isolation:isolate}
.life-decision-overlay.hidden{display:none!important}
.decision-scrim{position:absolute;inset:0;background:rgba(21,29,26,.72);backdrop-filter:blur(3px)}
.decision-window{position:relative;width:min(620px,100%);max-height:min(90dvh,900px);display:flex;flex-direction:column;border-radius:17px;background:#fffdf8;box-shadow:0 25px 80px rgba(0,0,0,.25);overflow:hidden}
.decision-top{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#6b443e;color:#fff7f1;padding:14px 20px;font-size:11px;letter-spacing:.07em}
.decision-top span:last-child{font-size:11px;opacity:.84;text-align:right;letter-spacing:0}
.decision-scroll{padding:18px 20px;overflow-y:auto;overscroll-behavior:contain}
.decision-scroll .story-block{margin:0!important;box-shadow:none!important;background:transparent!important;border:0!important;padding:0!important;max-width:none!important}
.decision-scroll h3{font:clamp(23px,3vw,32px) Georgia,serif;color:#244b3e}
.decision-scroll .choice,.decision-scroll .choice-button{width:100%;min-height:50px}
.decision-scroll button:focus-visible{outline:3px solid #447a62;outline-offset:3px}
.decision-foot{display:flex;justify-content:space-between;gap:20px;padding:12px 20px;border-top:1px solid #e4e4db;color:#737d75;font-size:11px}
body.decision-open{overflow:hidden}
.pending-story-summary{background:#f3ebe3;border-left:4px solid #a65e52;padding:15px;margin:0 0 14px;border-radius:5px;color:#6c443d}
.month-story-card{background:#fffdf8;border:1px solid #e3e8dc;border-radius:11px;padding:20px 22px;margin:0 0 18px}
.month-story-card h3{font:clamp(22px,2.6vw,28px) Georgia,serif;color:#2d4e3d;margin:9px 0 10px}
.month-story-card p{font-size:14px;line-height:1.75;color:#566859}
.month-story-facts{border-left:3px solid #b1cbb7;padding-left:12px;margin-top:12px}
.month-story-facts p{margin:4px 0}
.month-ledger-summary{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid #e3e8e0;margin-top:12px;padding-top:11px;color:#526955;font-size:12px}
.year-memory-panel{border:1px solid #e2e8de;background:#fffdf7;border-radius:12px;padding:20px;margin-top:18px}
.year-entry{border-top:1px solid #e4e8df;padding:10px 0}
.decade-entry{border-top:1px solid #e4e8df;padding:10px 0}
.decade-entry > summary{color:#355b47;cursor:pointer;font:700 17px Georgia,serif;display:flex;justify-content:space-between}
.decade-entry > summary small{font:400 12px Georgia,serif;color:#7b887e}
.decade-entry > .year-entry{margin-left:14px}
.year-entry summary{color:#355b47;cursor:pointer;font-weight:750;font-size:16px;display:flex;justify-content:space-between}
.year-entry summary small{font-size:11px;color:#7b887e;font-weight:400}
.year-entry-row{display:grid;grid-template-columns:75px minmax(0,1fr);gap:10px;padding:11px 0;border-bottom:1px solid #eef0e8}
.year-entry-row time{font-size:12px;color:#8a967e}
.year-entry-row p{font-size:13px;line-height:1.7;margin:0;color:#3e5849}
@media(max-width:850px){.life-auto-bar{grid-template-columns:1fr auto;gap:10px;padding:12px 16px}.life-progress-block{grid-column:1/-1;grid-row:2}.life-auto-actions{grid-column:2;grid-row:1}.life-auto-status{grid-row:3}.life-auto-actions label{display:none}}
@media(max-width:580px){.life-auto-identity strong{font-size:16px}.life-auto-actions button{font-size:11px;padding:8px 10px}.life-auto-actions select{font-size:12px;padding:5px}.decision-window{max-height:calc(100dvh - 24px)}.decision-scroll{padding:15px}.decision-top,.decision-foot{padding:12px 15px}.decision-foot{flex-direction:column;gap:4px}.month-story-card,.year-memory-panel{padding:15px}}
@media(prefers-reduced-motion:reduce){.life-progress-track span{transition:none}.decision-scrim{backdrop-filter:none}}

.decision-resume-control{background:transparent;border:1px solid #c8d7ca;color:#325c43;border-radius:7px;cursor:pointer;padding:6px;font-size:11px}

.year-ledger-recap{padding:11px 2px;color:#536958;font-size:12px;border-bottom:1px solid #e8ece4;line-height:1.6}

/* V2.16 — Literary reflections are marked as editorial, not game events. */
.narrative-quote{margin:12px 0 15px;padding:9px 0 9px 14px;border-left:2px solid #a39a77;background:transparent;max-width:67ch}
.narrative-quote blockquote{margin:0;font:italic 15px/1.6 Georgia,serif;color:#38503c}
.narrative-quote figcaption{margin-top:5px;font-size:11px;color:#778275;letter-spacing:.025em}
.month-story-card .narrative-more{display:inline-flex;align-items:center;max-width:100%;min-height:44px;margin-top:2px;padding:10px 14px;border:1px solid #cbd9c9;border-radius:8px;background:#f1f5ee;color:#31543e;font-size:12px;font-weight:700;line-height:1.4;text-align:left;white-space:normal;transition:background-color .16s ease,border-color .16s ease}
.month-story-card .narrative-more:hover:not(:disabled){background:#e5eee2;border-color:#83a388}
@media(max-width:580px){.narrative-quote{margin:10px 0;padding:6px 0 6px 10px}.narrative-quote blockquote{font-size:14px}}

.scene-continuity{font:italic 14px/1.7 Georgia,serif;color:#576652;padding:10px 12px;border-left:2px solid #a8a184;background:#f6f4ed;border-radius:0 6px 6px 0}
.scene-continuity strong{display:block;font:600 11px/1.4 sans-serif;letter-spacing:.025em;text-transform:uppercase;color:#637661;margin-bottom:5px}

/* V2.17 — grounded shared-memory archive, responsive and accessible. */
.shared-memory-archive{margin:24px 0 32px;padding:27px;background:linear-gradient(145deg,#fdfcf8,#f2eee4);border:1px solid #dddcd0;border-radius:11px}
.shared-memory-archive h3{font:31px/1.2 Georgia,serif;margin:10px 0 12px;color:#294b3d}
.shared-memory-archive .muted{color:#67756b;max-width:680px}
.memory-coverage{margin:16px 0;padding:11px 15px;background:#e7ede4;border-radius:6px;color:#42624e;font-size:12px}
.memory-person-filters{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 19px}
.memory-person-filter{padding:9px 13px;border:1px solid #cad8c9;background:#fffdf8;color:#53745b;border-radius:18px;font-size:12px}
.memory-person-filter.selected{background:#3b604e;color:white;border-color:#3b604e}
.memory-person-filter:focus-visible,.memory-more:focus-visible{outline:3px solid #94b497;outline-offset:3px}
.memory-cards{display:grid;gap:10px}
.memory-fact-card{padding:17px 19px;border:1px solid #e3e1d6;border-radius:7px;background:#fffefa}
.memory-fact-card time{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:750;color:#7d8b7d}
.memory-fact-card h4{font:21px/1.25 Georgia,serif;margin:8px 0 9px;color:#385848}
.memory-fact-card p{font-size:12px;color:#647368;line-height:1.6}
.memory-person-names{color:#4d705a!important;margin:9px 0}
.memory-fact-card details{margin-top:12px;padding-top:10px;border-top:1px solid #eeeae1;font-size:11px;color:#697a6b}
.memory-fact-card summary{cursor:pointer;user-select:none}
.memory-fact-card details p{font-size:11px;margin-top:8px}
.memory-more{margin-top:16px;width:100%}
.memory-loading,.memory-empty{font-size:13px;padding:20px 0;color:#6d7b6f}
@media(max-width:700px){.shared-memory-archive{padding:19px 14px}.shared-memory-archive h3{font-size:25px}.memory-fact-card{padding:15px}}


/* V2.18 — symbolic living portraits, not photographed or inferred meetings. */
.memory-illustration{margin:14px 0 12px;min-width:0}
.memory-visual-trigger{display:block;width:100%;padding:0;border:1px solid #d9ccba;background:#f5efe4;overflow:hidden;border-radius:9px;text-align:left;color:#526653;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease}
.memory-visual-trigger:hover{border-color:#8eab8a;box-shadow:0 7px 22px rgba(75,82,60,.09)}
.memory-visual-trigger:focus-visible{outline:3px solid #6b9c84;outline-offset:3px}
.memory-visual-thumb{display:block;max-height:225px;overflow:hidden}
.living-memory-svg{display:block;width:100%;height:auto;aspect-ratio:760/412;object-fit:cover}
.living-memory-svg.v225-scene{aspect-ratio:auto;object-fit:contain}
.v225-phone{display:none}
@media(max-width:700px){.v225-wide{display:none}.v225-phone{display:block}.v225-phone .v225-scene{max-width:420px;margin-inline:auto}}
.v225-motion-setting{display:flex;flex-wrap:wrap;gap:6px;width:fit-content;max-width:100%;margin:0 0 22px;padding:9px 11px 11px;border:1px solid #d9d0c4;border-radius:8px}
.v225-motion-setting legend{padding:0 5px;color:#625a52;font-size:12px}
.v225-motion-setting button{border:1px solid #c8baaa;border-radius:5px;background:#faf7f1;color:#514a44;padding:6px 11px;cursor:pointer}
.v225-motion-setting button[aria-pressed="true"]{background:#4d6258;border-color:#4d6258;color:#fff}
.v225-motion-setting button:focus-visible{outline:2px solid #1f5144;outline-offset:2px}
@keyframes v225-scene-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes v225-scene-fade{from{opacity:0}to{opacity:1}}
html[data-v225-motion="standard"] .memory-expanded-art .v225-scene,html[data-v225-motion="standard"] .album-image-expanded .v225-scene{animation:v225-scene-enter 620ms ease-out both}
html[data-v225-motion="reduced"] .memory-expanded-art .v225-scene,html[data-v225-motion="reduced"] .album-image-expanded .v225-scene{animation:v225-scene-fade 150ms ease-out both}
html[data-v225-motion="static"] .v225-scene{animation:none}
.v225-current-moment{margin:18px 0 24px;border:1px solid #d7c8b6;border-radius:12px;overflow:hidden;background:#faf6ef;box-shadow:0 8px 28px #4b493b12}
.v225-current-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 20px;color:#5d635b}
.v225-current-head time{font-size:12px}
.v225-current-art{background:#e9dfd0}
.v225-current-art .v225-scene{width:100%;height:auto;max-height:480px}
.v225-current-phone{display:none}
.v225-current-body{padding:17px 20px 20px}
.v225-current-body h3{margin:0 0 8px;font:28px/1.2 Georgia,serif;color:#3e4b41}
.v225-current-body p{margin:0 0 14px;color:#5f675e;line-height:1.55}
.v225-current-actions{display:flex;flex-wrap:wrap;gap:8px}
.v225-current-actions button{min-height:44px;padding:9px 14px;border:1px solid #aeb9a8;border-radius:6px;background:#fffdfa;color:#3e5849;cursor:pointer}
.v225-current-actions button:last-child{background:#405c4c;color:#fff;border-color:#405c4c}
.v225-current-actions button:focus-visible{outline:2px solid #1c5444;outline-offset:2px}
html[data-v225-motion="standard"] .v225-current-moment[data-playback="presenting"] .v225-scene,html[data-v225-motion="standard"] .v225-current-moment[data-playback="paused"] .v225-scene{animation:v225-scene-fade 250ms ease-out both}
html[data-v225-motion="reduced"] .v225-current-moment[data-playback="presenting"] .v225-scene,html[data-v225-motion="reduced"] .v225-current-moment[data-playback="paused"] .v225-scene{animation:v225-scene-fade 150ms ease-out both}
.v225-current-moment[data-playback="paused"] .v225-scene{animation-play-state:paused!important}
@keyframes v225-stage-reveal{0%,18%{opacity:0}44%,100%{opacity:1}}
@keyframes v225-stage-later{0%,44%{opacity:0}76%,100%{opacity:1}}
@keyframes v225-stage-light{0%,35%{opacity:.12}68%,100%{opacity:1}}
html[data-v225-motion="standard"] .v225-current-moment:is([data-playback="presenting"],[data-playback="paused"]) [data-v225-part]{animation:v225-stage-reveal var(--v225-stage-duration,1900ms) ease-in-out both}
html[data-v225-motion="standard"] .v225-current-moment:is([data-playback="presenting"],[data-playback="paused"]) [data-v225-part="child"],html[data-v225-motion="standard"] .v225-current-moment:is([data-playback="presenting"],[data-playback="paused"]) [data-v225-part="current-person"]{animation-name:v225-stage-later}
html[data-v225-motion="standard"] .v225-current-moment:is([data-playback="presenting"],[data-playback="paused"]) [data-v225-part="door-light"]{animation-name:v225-stage-light}
.v225-current-moment[data-scene-type="child_birth"]{--v225-stage-duration:1850ms}
.v225-current-moment[data-scene-type="child_placement"]{--v225-stage-duration:2000ms}
.v225-current-moment[data-scene-type="reconnection"]{--v225-stage-duration:2100ms}
.v225-current-moment[data-scene-type="memorial"]{--v225-stage-duration:2050ms}
.v225-current-moment[data-playback="paused"] [data-v225-part]{animation-play-state:paused!important}
@media(max-width:700px){.v225-current-card{display:none}.v225-current-phone{display:block;max-width:420px;margin-inline:auto}.v225-current-art .v225-scene{max-height:none}.v225-current-head{padding:12px 14px}.v225-current-body{padding:15px}.v225-current-body h3{font-size:24px}}

/* V2.25 private museum: a vertical exhibition over the verified memory index. */
.museum-shell{max-width:1280px;margin:0 auto 48px;color:#3e443d}
.museum-shell h2,.museum-shell h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}
.museum-shell button{cursor:pointer}
.museum-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,36%);gap:28px;align-items:center;padding:32px;border:1px solid #d9cbbc;border-radius:12px;background:#f8f2e8}
.museum-hero h2{font-size:clamp(38px,5vw,66px);line-height:1.05;margin:16px 0 14px;overflow-wrap:anywhere}
.museum-hero p{color:#697168;line-height:1.6}
.museum-cover{min-height:185px;display:grid;place-items:center;overflow:hidden;border:8px solid #ede2d3;box-shadow:0 12px 30px #4b403323;background:#d9c9b5}
.museum-cover .v225-scene{display:block;width:100%;height:auto}
.museum-cover-empty{font:72px Georgia,serif;color:#8f7f68}
.museum-coverage{padding:14px 18px;border-left:3px solid #a6977a;background:#f8f4eb;color:#5b625b}
.museum-editor-toggle{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0 8px;color:#626a60;font-size:13px}
.museum-editor-toggle button,.museum-edit-controls button{min-height:44px;padding:8px 12px;border:1px solid #677d68;border-radius:5px;background:#fffdf7;color:#3e5a47}
.museum-edit-controls{margin-top:18px;padding-top:15px;border-top:1px solid #d5c9b9;display:grid;gap:8px}
.museum-edit-controls label{display:grid;gap:6px;color:#536456;font-size:13px}
.museum-edit-controls textarea{width:100%;resize:vertical;min-height:80px;padding:9px;border:1px solid #b6c0b0;border-radius:4px;background:#fffdf9;color:#3e443d;font:14px/1.5 system-ui,sans-serif}
.museum-edit-controls button{justify-self:start}
.museum-note{padding:10px 13px;background:#f1e8d7;border-left:2px solid #b39a75;font-style:italic}
.museum-exhibit-hidden{opacity:.7}
.museum-filters,.museum-memorial-rooms,.museum-exhibition-people,.museum-years{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 0}
.museum-filters button,.museum-memorial-rooms button,.museum-exhibition-people button,.museum-years button,.museum-more{min-height:44px;padding:10px 15px;border:1px solid #c7b9a7;border-radius:5px;background:#fdfbf6;color:#475448}
.museum-exhibition-people button small{margin-left:8px;opacity:.72}
.museum-filters button{display:flex;gap:14px;align-items:center}
.museum-filters button small{color:#7d796d}
.museum-filters .selected,.museum-memorial-rooms .selected,.museum-exhibition-people .selected,.museum-years .selected{background:#425a4b;color:#fff;border-color:#425a4b}
.museum-filters .selected small{color:#e6e8db}
.museum-years{margin:16px 0 24px;padding-bottom:20px;border-bottom:1px solid #d7cbbb}
.museum-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-top: 24px}
.museum-gallery-intro{margin:34px 0 -8px;max-width:690px}
.museum-gallery-intro h3{font:clamp(28px,3vw,38px)/1.15 Georgia,serif;color:#2f4e40;margin:8px 0}
.museum-gallery-intro p{font-size:15px;line-height:1.65;color:#647268;margin:0}
.museum-gallery-traces{grid-template-columns:1fr;gap:10px}
.museum-gallery-traces .museum-trace{box-shadow:none;background:#f9f8f3}
.museum-gallery-traces .museum-trace .museum-exhibit-label{padding:16px 20px}
.museum-gallery-traces .museum-trace h3{font-size:19px}
.museum-chapter{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr)}
.museum-chapter .museum-exhibit-art{height:100%;min-height:260px}
.museum-kind{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;color:#6a816e;margin-bottom:7px}
.museum-chapter .museum-kind{color:#916a55}
.museum-art-svg{display:block;width:100%;height:auto;aspect-ratio:12/7}
.museum-art-unavailable{padding:30px;font-size:13px;color:#65736a;text-align:center}
.museum-exhibit-actions{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center}
.museum-detail-facts{display:grid;gap:4px;font-size:13px;color:#5c6b60}
.museum-detail-facts strong{font:20px Georgia,serif;color:#355444;margin-bottom:5px}
.museum-exhibit-detail{display:grid;gap:8px}
.museum-exhibit-detail p{margin:5px 0}
.museum-family-intro{max-width:660px;margin:0 0 20px}
.family-history{padding:22px;margin:20px 0 28px;border:1px solid #cfc7b6;background:#f5f2e9;border-radius:8px}
.family-history h3{font:32px/1.15 Georgia,serif;margin:8px 0}
.family-history>p{color:#637065;line-height:1.6}
.family-history-controls{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.family-history-controls button,.family-people-list button,.family-link-row button{min-height:40px;padding:7px 11px;border:1px solid #a8b7a7;border-radius:5px;background:#fffdf8;color:#395a45}
.family-history-controls button[aria-pressed="true"]{background:#405c4a;color:#fff;border-color:#405c4a}
.family-graph-visual{position:relative;box-sizing:border-box;width:100%;max-width:700px;aspect-ratio:16/9;margin:18px auto;background:#fffcf6;border:1px solid #d4c8b6;overflow:hidden}
.family-graph-visual{touch-action:none;cursor:grab}
.family-graph-visual:active{cursor:grabbing}
.family-graph-stage{position:absolute;inset:0;transform-origin:center;will-change:transform}
.family-graph-visual svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.family-graph-tools{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.family-graph-tools button{min-height:40px;padding:6px 10px;border:1px solid #a8b7a7;border-radius:5px;background:#fffdf8;color:#395a45}
.family-graph-node{position:absolute;transform:translate(-50%,-50%);width:94px;min-height:54px;padding:6px;border:2px solid #899f8d;border-radius:50%;background:#fffdf7;color:#3d5544;font:12px/1.2 system-ui,sans-serif;box-shadow:0 3px 9px #6356451b;overflow-wrap:anywhere}
.family-graph-node.is-center{background:#425d4b;border-color:#425d4b;color:white;font-weight:700}
.family-people-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:15px 0}
.family-people-list strong{width:100%;font-size:13px;color:#667064}
.family-people-list span{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:7px;background:#fffdf8;border:1px solid #ded5c8;border-radius:5px;font-size:13px}
.family-link-list{display:grid;gap:8px;margin:18px 0}
.family-link-row{display:flex;gap:12px;padding:12px 14px;border:1px solid #ded5c8;background:#fffdf8}
.family-link-mark{flex:0 0 5px;background:var(--family-line)}
.family-link-row>div{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;min-width:0}
.family-link-row strong{width:100%;font-size:14px}
.family-link-row small{width:100%;color:#647067;line-height:1.5}
.family-link-row button{font-size:12px;min-height:36px}
.family-legend{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}
.family-legend span{padding:5px 9px;border:1px solid #c7d0c3;border-radius:4px;background:#fffdf8;font-size:12px;color:#536554}
.museum-family-intro h3{font-size:30px;margin:8px 0}
.museum-family-intro p{line-height:1.6;color:#627066}
.museum-gallery-family{grid-template-columns:1fr;border-left:2px solid #bfa98d;padding-left:22px}
.museum-gallery-family .museum-exhibit{position:relative;display:grid;grid-template-columns:minmax(150px,35%) minmax(0,1fr)}
.museum-gallery-family .museum-exhibit::before{content:'';position:absolute;left:-30px;top:25px;width:12px;height:12px;border-radius:50%;background:#698371;border:2px solid #f8f4ed}
.museum-gallery-family .museum-exhibit-art{min-height:180px}
.museum-exhibit{min-width:0;background:#fbf8f1;border:1px solid #ddcfbd;box-shadow:0 5px 17px #50423312}
.museum-exhibit-art{min-height:150px;display:grid;place-items:center;background:#e8dece;overflow:hidden;color:#9d8e79;font:64px Georgia,serif}
.museum-exhibit-art .v225-scene{display:block;width:100%;height:auto}
.museum-exhibit-label{padding:19px 20px 22px}
.museum-exhibit-label time{font-size:12px;letter-spacing:.08em;color:#68756b;text-transform:uppercase}
.museum-exhibit-label h3{font-size:26px;line-height:1.18;margin:9px 0}
.museum-exhibit-label p{color:#60675d;line-height:1.55;margin:8px 0 16px}
.museum-exhibit-label button,.museum-exhibit-detail button{min-height:44px;padding:8px 0;background:none;border:0;border-bottom:1px solid #496451;color:#385846;text-align:left}
.museum-exhibit-detail{margin-top:12px;padding-top:12px;border-top:1px solid #d9cbbb}
.museum-exhibit-detail p{font-size:13px}
.museum-empty{grid-column:1/-1;padding:28px;background:#f8f3e9;color:#616b61}
.museum-more{margin:24px 0 12px}
.museum-data-toggle{display:block;margin:18px 0;min-height:44px;padding:10px 15px;border:1px solid #8da08e;border-radius:5px;background:#eff3e9;color:#3e5a47}
.museum-data{margin:24px 0;padding:24px;background:#f7f3eb;border:1px solid #dacdba}
.museum-data h3{font:30px Georgia,serif;margin:8px 0 20px}
.museum-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.museum-data-block{padding:18px;background:#fffdf8;border:1px solid #dfd5c7}
.museum-data-block h4{font:22px Georgia,serif;margin:0 0 10px}
.museum-data-block p{color:#627066;font-size:13px;line-height:1.55}
.museum-data-block svg{display:block;width:100%;height:35px;margin:8px 0}
.museum-data-sources{display:grid;gap:4px}
.museum-data-sources button{justify-self:start;min-height:36px;padding:4px 0;border:0;border-bottom:1px solid #8fa493;background:none;color:#3d6049;text-align:left;font-size:12px}
.museum-resource-values{display:grid;gap:4px;margin:7px 0 12px;color:#536459;font-size:13px}
.museum-resource-values strong{font-weight:650;color:#3d5343}
.museum-resource-values small{line-height:1.5}
.museum-resource-values button{justify-self:start;min-height:38px;padding:5px 0;border:0;border-bottom:1px solid #8fa493;background:none;color:#3d6049}
.museum-shell button:focus-visible{outline:3px solid #3c6a52;outline-offset:3px}
@media(max-width:700px){.museum-hero{grid-template-columns:1fr;padding:20px;gap:18px}.museum-gallery{grid-template-columns:1fr;gap:18px}.museum-cover{max-width:430px;width:100%}.museum-exhibit-label h3{font-size:23px}.museum-gallery-family{padding-left:14px}.museum-gallery-family .museum-exhibit{display:block}.museum-gallery-family .museum-exhibit::before{left:-22px}.museum-gallery-family .museum-exhibit-art{min-height:140px}.museum-data{padding:16px}.museum-data-grid{grid-template-columns:1fr}.family-history{padding:16px}.family-graph-visual,.family-graph-tools{display:none}.family-history h3{font-size:27px}}
@media(max-width:700px){.museum-chapter{display:block}.museum-chapter .museum-exhibit-art{min-height:0}.museum-exhibit-actions{gap:4px 14px}}
.album-person-cover{display:flex;align-items:center;gap:16px;margin:14px 14px 20px;padding:14px;background:#f5eee4;border:1px solid #e2d6c7;border-radius:10px}
.album-person-cover .character-portrait{width:84px;height:96px;border-radius:8px}
.album-person-cover strong{display:block;margin:5px 0;font:28px/1.15 Georgia,serif;color:#3e5145}
.album-person-cover p{margin:0;color:#69746a;font-size:13px}
.memory-visual-thumb .living-memory-svg{max-height:225px;object-fit:cover}
.memory-visual-action{padding:10px 15px;display:flex;align-items:center;justify-content:space-between;font:600 12px/1.4 system-ui,sans-serif;letter-spacing:.025em;background:#fefdf8}
.memory-visual-expanded{margin:9px 0 3px;border:1px solid #d9ccba;border-radius:10px;background:#fdfbf6;overflow:hidden}
.memory-expanded-art{padding:12px;background:#eee6da}
.memory-expanded-art .living-memory-svg{box-shadow:0 5px 20px #675f5024;max-width:850px;margin:0 auto;border-radius:3px}
.memory-visual-info{padding:14px 18px 17px}
.memory-visual-info>strong{display:block;font:19px/1.28 Georgia,serif;color:#355443;margin-bottom:9px}
.memory-visual-info p{max-width:660px;color:#657568;font-size:12px;line-height:1.7;margin:0 0 13px}
.memory-age-chips{display:flex;flex-wrap:wrap;gap:8px}
.memory-age-chip{display:flex;flex-direction:column;gap:3px;background:#f0eee6;border:1px solid #dedace;border-radius:7px;padding:9px 12px;min-width:115px;max-width:100%}
.memory-age-chip strong{color:#3b5745;font-size:12px;word-break:break-word}
.memory-age-chip small{color:#778173;font-size:11px}
.memory-fact-card{min-width:0}
@media(max-width:700px){.memory-visual-thumb{max-height:186px}.memory-visual-thumb .living-memory-svg{max-height:186px}.memory-visual-info{padding:12px}.memory-expanded-art{padding:7px}.memory-visual-info>strong{font-size:16px}.memory-age-chip{flex:1 1 120px;min-width:0}}
@media(prefers-reduced-motion:reduce){.memory-visual-trigger{transition:none}}

/* V2.19 — Les vies croisées: memoir-first relationship album. */
.relationship-albums{margin:23px 0 24px;border:1px solid #dfddcf;border-radius:17px;overflow:hidden;background:#fffdf8;box-shadow:0 12px 32px rgba(63,73,52,.045);min-width:0}
.album-intro{position:relative;display:flex;justify-content:space-between;gap:10px;background:#e8ebe0;padding:28px 28px 24px;overflow:hidden}
.album-intro .small-overline{color:#64806b;font-size:10px;font-weight:800;letter-spacing:.15em}
.album-intro h3{font:clamp(27px,3.2vw,38px)/1.16 Georgia,serif;color:#304f40;letter-spacing:-.025em;margin:10px 0}
.album-intro p{font-size:13px;line-height:1.75;max-width:540px;color:#5e6e60;margin:0}
.album-flower{font:100px/.92 Georgia,serif;color:#bec9b8;align-self:center;transform:rotate(-15deg);pointer-events:none}
.album-overview,.album-detail{padding:24px 27px 28px}
.album-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.album-group{position:relative;display:flex;align-items:center;gap:12px;min-width:0;text-align:left;background:#f7f5ec;border:1px solid #e6e2d3;border-radius:11px;color:#385746;padding:16px 17px;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.album-group:hover,.album-person:hover{background:#eef2e9;border-color:#a2b9a5;transform:translateY(-1px)}
.album-group-glyph{width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#e5e9dd;color:#5c8166;display:grid;place-items:center;font-size:23px}
.album-group strong,.album-person strong{font-size:14px;line-height:1.3;min-width:0;overflow-wrap:anywhere}
.album-group small{display:block;font-size:11px;color:#7a8778;margin-top:4px}
.album-group>span:last-child{margin-left:auto;color:#7d947f;font-size:18px}
.album-group{display:grid;grid-template-columns:40px minmax(0,1fr) 20px;grid-template-rows:auto auto;align-items:center}
.album-group-glyph{grid-row:1/3}
.album-group strong{grid-column:2;grid-row:1;align-self:end}
.album-group small{grid-column:2;grid-row:2;align-self:start}
.album-group>span:last-child{grid-column:3;grid-row:1/3}
.album-people-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:30px 0 13px;border-bottom:1px solid #e2e1d7;padding-bottom:12px}
.album-people-head h4{font:23px/1.25 Georgia,serif;color:#395649;margin:0}
.album-people-head>span{font-size:11px;color:#7c8a7d}
.album-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.album-person{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e9e5dc;border-radius:9px;background:#fffefa;padding:12px;cursor:pointer;color:#3c5a48;min-width:0}
.album-person .character-portrait{width:54px;height:58px;min-width:54px;flex:none;overflow:hidden;border-radius:9px;background:#e7e6dc}
.album-person .character-portrait svg{width:100%;height:100%;display:block}
.album-avatar{border-radius:50%;width:43px;height:43px;display:grid;place-items:center;flex:none;background:linear-gradient(145deg,#dce6d9,#c6d5c5);color:#527560;font:22px Georgia,serif}
.album-person-name{display:flex;flex-direction:column;gap:5px;min-width:0}
.album-person-name small{color:#79897c;font-size:11px;line-height:1.3}
.album-person-arrow{margin-left:auto;color:#819c83}
.album-scope-note{background:#f6f4ed;padding:12px 27px;color:#718073;font-size:11px;line-height:1.65;border-top:1px solid #ece7db}
.album-empty{padding:26px 8px;color:#738174;font-size:13px;line-height:1.7}
.album-back{border:0;background:transparent;color:#4f7257;padding:9px 0;font-size:12px;font-weight:700;cursor:pointer}
.album-detail-head{margin:18px 0 18px}
.album-detail-head h4{font:clamp(29px,4vw,43px)/1.15 Georgia,serif;color:#2b4e3d;margin:8px 0 12px;overflow-wrap:anywhere}
.album-title-relation{font:500 15px/1.5 system-ui,sans-serif;color:#647d69;white-space:nowrap}
.album-detail-head h4:focus{outline:none}
.album-detail-head p{font-size:13px;line-height:1.8;color:#6b7a6e;max-width:670px}
.album-detail-head strong{color:#405d47}
.album-fact-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #e5e1d6;margin:18px 0;padding:14px 0}
.album-fact-strip>div{padding:5px 14px;border-right:1px solid #e6e2d9}
.album-fact-strip>div:first-child{padding-left:0}.album-fact-strip>div:last-child{border-right:0}
.album-fact-strip strong{display:block;font:26px Georgia,serif;color:#3c6049}
.album-fact-strip span{display:block;font-size:10px;color:#7a8a7d;line-height:1.6}
.album-editorial{font:italic 16px/1.75 Georgia,serif;color:#697869;background:#f5f3eb;border-left:3px solid #c5d1bf;margin:20px 0;padding:14px 18px}
.album-editorial cite{display:block;font:10px/1.6 system-ui,sans-serif;color:#899587;margin-top:6px}
.album-year{position:relative;margin:27px 0}
.album-year>h4{display:flex;align-items:baseline;gap:12px;font:27px Georgia,serif;color:#2d5844;margin:0 0 8px}
.album-year>h4 small{font:11px system-ui,sans-serif;color:#859083}
.album-moments{list-style:none;margin:0 0 0 9px;padding:0 0 0 25px;border-left:2px solid #e0e8de}
.album-moment{position:relative;margin:0 0 15px;min-width:0}
.album-moment-dot{position:absolute;width:12px;height:12px;left:-32px;top:26px;border:3px solid #fcfbf7;border-radius:50%;background:#7e9d81;box-shadow:0 0 0 1px #b5c6ae}
.album-moment article{border:1px solid #e6e5dc;background:#fffefa;border-radius:10px;padding:16px;min-width:0}
.album-moment.album-trace article{border-color:#eceae2;background:#faf9f4;padding:13px 16px}
.album-moment.album-trace h5{font-size:17px;margin:5px 0}
.album-moment-kind{display:block;font-size:10px;font-weight:750;letter-spacing:.13em;color:#6c866f;margin-bottom:7px}
.album-moment.album-trace .album-moment-kind{color:#879287}
.album-provenance{padding:12px 27px;border-top:1px solid #ece7db;color:#69796c;font-size:12px}
.album-provenance summary{cursor:pointer;font-weight:700}
.album-provenance p{line-height:1.65}
.album-moment time{font-size:10px;text-transform:uppercase;letter-spacing:.10em;font-weight:700;color:#879782}
.album-moment h5{font:21px/1.28 Georgia,serif;color:#335746;margin:7px 0 9px;overflow-wrap:anywhere}
.album-moment p{font-size:13px;line-height:1.7;color:#637265;margin:9px 0}
.album-actual-choice{background:#f2f4ec;border-radius:5px;padding:10px 12px;color:#4f7058!important}
.album-moment-people{color:#58785e;font-size:11px;margin:10px 0}
.album-image-button{display:block;width:100%;padding:0;overflow:hidden;border:1px solid #d6d2c6;border-radius:8px;text-align:left;background:#eee9de;color:#4c6854;cursor:pointer;margin:12px 0 0}
.album-image-thumb{display:block;max-height:210px;overflow:hidden}
.album-image-thumb .living-memory-svg{max-height:210px;width:100%}
.album-image-button>span:last-child{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;background:#f9f7f0;font-size:12px;font-weight:650}
.album-image-expanded{padding:12px;background:#f0ece2;border:1px solid #ddd7c9;border-radius:8px;margin-top:8px}
.album-image-expanded>.living-memory-svg{max-width:740px;margin:0 auto;border-radius:4px}
.album-image-caveat{background:#fffefa;padding:12px 15px;margin-top:10px;border-radius:6px}
.album-image-caveat>strong{font:16px Georgia,serif;color:#47624d}
.album-image-caveat p{font-size:11px}
.album-image-ages{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#758675}
.album-evidence{font-size:11px;margin-top:13px;padding-top:11px;border-top:1px solid #ece8dd;color:#7a8879}
.album-evidence summary{cursor:pointer;user-select:none}
.album-evidence p{font-size:11px;overflow-wrap:anywhere}
.album-next{width:100%;background:#3f654d;color:white;border:0;border-radius:9px;padding:14px;font-size:13px;font-weight:700;cursor:pointer;margin-top:10px}
.album-disclaimer{font-size:11px;line-height:1.7;color:#8a9489;margin:20px 0 0}
.album-raw-toggle{margin:16px 0 22px}
.album-raw-toggle>.subtle-button{margin-bottom:8px}
.person-album-link{width:100%;text-align:left;padding:10px 12px;border-radius:6px;border:1px solid #c9d9c9;background:#f4f7ef;color:#42724e;margin:12px 0 6px;cursor:pointer;font-size:12px;font-weight:700}
.relationship-albums button:focus-visible,.person-album-link:focus-visible{outline:3px solid #83b18a;outline-offset:3px}
@media(max-width:700px){.album-intro{padding:20px 18px}.album-flower{font-size:63px;position:absolute;right:8px;top:8px;opacity:.35}.album-intro>div{position:relative;z-index:1}.album-overview,.album-detail{padding:18px 14px}.album-group-grid,.album-people-grid{grid-template-columns:1fr}.album-group{padding:12px 13px}.album-people-head h4{font-size:20px}.album-people-head>span{font-size:10px}.album-fact-strip>div{padding:5px 7px}.album-fact-strip strong{font-size:22px}.album-moments{padding-left:15px}.album-moment-dot{left:-22px}.album-moment article{padding:13px}.album-moment h5{font-size:19px}.album-year>h4{font-size:24px}.album-image-expanded{padding:6px}.album-scope-note{padding:12px 17px}}
@media(max-width:360px){.album-intro h3{font-size:27px}.album-people-head{flex-direction:column;align-items:flex-start}.album-fact-strip span{font-size:9px}.album-editorial{font-size:14px}}
@media(prefers-reduced-motion:reduce){.album-group,.album-person{transition:none}}
.album-gap{background:#f1f1e9;border-radius:5px;color:#738775;font:italic 12px/1.65 Georgia,serif;padding:11px 13px;margin:7px 0 15px;list-style:none}
.album-moment .album-factual-note{font-style:italic;color:#809084;font-size:12px}

/* V2.20 — Keepsakes: a private illustrated print studio, not an image generator. */
.keepsake-workshop{margin:27px 0 30px;border:1px solid #dcd4c2;border-radius:17px;background:#fbfaf4;overflow:hidden;box-shadow:0 16px 44px rgba(65,63,44,.075);min-width:0}
.keepsake-hero{padding:28px 31px 25px;background:linear-gradient(108deg,#e9e3d6 0%,#f4eee3 69%,#e6ebdf 100%);border-bottom:1px solid #e1d6c8}
.keepsake-hero h3{font:clamp(25px,3vw,36px)/1.16 Georgia,serif;letter-spacing:-.028em;color:#3e5445;margin:12px 0 9px}
.keepsake-hero p{font:13px/1.7 system-ui,sans-serif;color:#67746b;max-width:660px;margin:0}
.keepsake-inner{display:grid;grid-template-columns:minmax(210px,.9fr) minmax(0,1.2fr);gap:0;align-items:stretch;min-width:0}
.keepsake-tools{padding:19px 18px 24px;border-right:1px solid #e6e2d6;min-width:0;background:#faf9f3}
.keepsake-modes{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 19px}
.keepsake-mode{border:1px solid #d8dcd0;background:#f1f3ec;border-radius:18px;padding:8px 11px;cursor:pointer;font-size:11px;font-weight:700;color:#607465;min-height:35px}
.keepsake-mode.active{background:#405f4d;color:#fff;border-color:#405f4d}
.keepsake-shelf-head{display:flex;align-items:baseline;justify-content:space-between;gap:9px;border-bottom:1px solid #e5e1d7;margin:17px 0 11px;padding-bottom:10px}
.keepsake-shelf-head h4{font:19px Georgia,serif;color:#435a4b;margin:0}
.keepsake-shelf-head span{font:600 10px/1.4 system-ui,sans-serif;color:#879183;white-space:nowrap}
.keepsake-hint{color:#879185;font:11px/1.65 system-ui,sans-serif;margin:-2px 0 9px}
.keepsake-saved{max-height:280px;overflow-y:auto;overscroll-behavior:contain}
.keepsake-suggestions{max-height:365px;overflow-y:auto;overscroll-behavior:contain}
.keepsake-row{display:flex;gap:7px;align-items:center;border-bottom:1px solid #eee9dc;padding:8px 0;min-width:0}
.keepsake-row.chosen{background:#f0efe6}
.keepsake-row-view{min-width:0;flex:1;padding:6px 4px;border:0;background:transparent;cursor:pointer;text-align:left}
.keepsake-row-view time{display:block;font:10px/1.5 system-ui,sans-serif;color:#79897a}
.keepsake-row-view strong{display:block;font:15px/1.35 Georgia,serif;color:#3c5b49;overflow-wrap:anywhere;margin:2px 0 4px}
.keepsake-row-view span{font:600 10px system-ui,sans-serif;color:#729279}
.keepsake-pin{flex:0 0 auto;display:flex;align-items:center;gap:5px;border:1px solid #d3d5ca;background:#f6f6ef;color:#586f5f;border-radius:18px;padding:7px 9px;font:700 10px system-ui,sans-serif;cursor:pointer}
.keepsake-pin[aria-pressed="true"]{background:#f6e8e2;border-color:#ddc4b9;color:#a06160}
.keepsake-pin span{font-size:16px;line-height:1}
.keepsake-empty{color:#7f8a7d;font:12px/1.7 system-ui,sans-serif;padding:18px 7px 24px;margin:0}
.keepsake-preview{padding:23px 23px 27px;min-width:0;background:linear-gradient(#fdfcf8,#f8f5eb)}
.keepsake-preview-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}
.keepsake-preview-top h4{font:clamp(20px,2.2vw,28px)/1.25 Georgia,serif;color:#3b5646;margin:7px 0}
.keepsake-preview-top p{font-size:11px;line-height:1.6;color:#7a867a;margin:0}
.keepsake-back{font:700 11px system-ui,sans-serif;border:1px solid #d5dace;border-radius:9px;padding:10px;background:#f5f6ed;color:#53725e;cursor:pointer;flex:0 0 auto}
.keepsake-canvas-frame{background:#e6e2d9;padding:14px;box-shadow:inset 0 0 0 1px #d4cfc2;border-radius:10px;max-width:520px;margin:0 auto}
#keepsake-canvas{display:block;max-width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;background:#f7f3e9;box-shadow:0 6px 24px #3c46331c}
.keepsake-paint-status{font:11px/1.6 system-ui,sans-serif;color:#778477;text-align:center;margin:12px 0 0;min-height:17px}
.keepsake-export{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:19px 0 12px}
.keepsake-export button{border:0;border-radius:8px;padding:12px 16px;min-height:43px;cursor:pointer;font:700 12px/1.3 system-ui,sans-serif;background:#415f4b;color:white}
.keepsake-export button+button{background:#e7ebe0;color:#426149;border:1px solid #c8d2c4}
.keepsake-export button:disabled{opacity:.45;cursor:not-allowed}
.keepsake-privacy{font:10px/1.65 system-ui,sans-serif;color:#7e897e;margin:0 auto;max-width:420px;text-align:center}
.keepsake-error{color:#9b4540;padding:20px;font:13px system-ui,sans-serif}
.keepsake-loading{color:#718474;padding:25px;font:12px system-ui,sans-serif}
.album-save-moment{display:flex;align-items:center;gap:10px;margin:12px 0 4px}
.album-save-loading{color:#839083;font-size:10px}
.album-poster-link{display:block;background:#f0f2e9;border:1px solid #ced9c9;border-radius:8px;padding:11px 14px;color:#41694d;font-weight:750;font-size:12px;cursor:pointer;text-align:left;margin:0 0 21px}
.keepsake-workshop button:focus-visible,.album-save-moment button:focus-visible,.album-poster-link:focus-visible{outline:3px solid #80a88a;outline-offset:3px}
@media(max-width:1020px){.keepsake-inner{grid-template-columns:1fr}.keepsake-tools{border-right:0;border-bottom:1px solid #e6e2d6}.keepsake-saved,.keepsake-suggestions{max-height:255px}.keepsake-preview{padding:22px 17px}}
@media(max-width:700px){.keepsake-hero{padding:20px 18px}.keepsake-tools{padding:16px 13px}.keepsake-preview{padding:16px 13px}.keepsake-canvas-frame{padding:8px}.keepsake-preview-top{align-items:flex-start;flex-wrap:wrap}.keepsake-preview-top h4{font-size:23px}}
@media(max-width:360px){.keepsake-mode{font-size:10px;padding:7px 9px}.keepsake-export button{font-size:11px;padding:10px 12px}.keepsake-hero h3{font-size:26px}}
@media(prefers-reduced-motion:reduce){.keepsake-workshop button{transition:none}}

/* Make the poster visible immediately on phones: theme → visual → archive shelf. */
.keepsake-inner{grid-template-rows:auto 1fr}
.keepsake-lens{grid-column:1;grid-row:1;padding:20px 18px 8px;border-right:1px solid #e6e2d6;background:#faf9f3;min-width:0}
.keepsake-lens .keepsake-modes{margin-bottom:10px}
.keepsake-lens .keepsake-hint{margin:0 0 8px}
.keepsake-tools{grid-column:1;grid-row:2;padding-top:5px}
.keepsake-preview{grid-column:2;grid-row:1/3}
@media(max-width:1020px){
 .keepsake-inner{grid-template-columns:1fr;grid-template-rows:auto auto auto}
 .keepsake-lens{grid-column:1;grid-row:1;border-right:0;padding:17px 15px 12px}
 .keepsake-preview{grid-column:1;grid-row:2;border-bottom:1px solid #e2dbcd}
 .keepsake-tools{grid-column:1;grid-row:3;border-bottom:0;padding:17px 14px}
}

/* V2.21 — an actual, legible, multi-page private photo book */
.photo-book-panel{background:#f4f0e7;border-top:1px solid #d7d1c3;min-width:0}
.photo-book-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 31px 25px;background:linear-gradient(120deg,#eceae0,#f4efe7 65%,#e6e9dc)}
.photo-book-intro h4{font:clamp(26px,3vw,39px)/1.17 Georgia,serif;letter-spacing:-.03em;color:#384e40;margin:9px 0 10px}
.photo-book-intro p{font:13px/1.7 system-ui,sans-serif;color:#667566;max-width:640px;margin:0}
.photo-book-mark{font:65px Georgia,serif;color:#adad8e}
.photo-book-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(235px,.68fr);gap:0;min-width:0}
.photo-book-reader{min-width:0;padding:24px 26px 33px;background:#fbfaf5}
.photo-book-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.photo-book-current{font:700 13px/1.5 system-ui,sans-serif;letter-spacing:.04em;color:#3e604b}
.photo-book-private{font:600 11px/1.5 system-ui,sans-serif;color:#7b867a}
.photo-book-canvas-mat{border:1px solid #d8d1c4;background:#e7e1d6;padding:13px;max-width:465px;margin:auto;box-shadow:inset 0 0 0 1px #ede6d9}
#photo-book-canvas{display:block;width:100%;height:auto;aspect-ratio:4/5;background:#f8f3e9;box-shadow:0 13px 38px #38382920}
.photo-book-status,.photo-book-progress{font:12px/1.65 system-ui,sans-serif;text-align:center;color:#718272;min-height:21px;margin:12px auto 0}
.photo-book-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px}
.photo-book-navigation>button{flex:0 0 auto;min-height:40px;border-radius:7px;border:1px solid #c9d4c9;background:#eaf0e6;color:#3f6148;font:700 11px system-ui,sans-serif;cursor:pointer;padding:9px 12px}
.photo-book-navigation>button:disabled{opacity:.35;cursor:not-allowed}
.photo-book-page-tabs{min-width:0;display:flex;overflow-x:auto;gap:5px;scrollbar-width:thin;padding:7px 3px}
.photo-book-page-tab{flex:0 0 29px;min-height:29px;border:1px solid #cbd6c9;border-radius:4px;background:#f8f8ef;color:#637a65;font:600 10px system-ui,sans-serif;cursor:pointer}
.photo-book-page-tab.active,.photo-book-page-tab[aria-current="page"]{background:#466853;border-color:#466853;color:white}
.photo-book-exports{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px}
.photo-book-exports button{min-height:43px;border-radius:8px;border:1px solid #cbd5c7;background:#e8ede4;color:#3d6149;padding:10px 13px;font:700 11px system-ui,sans-serif;cursor:pointer}
.photo-book-exports button:last-child{background:#3f604b;color:#fff;border-color:#3f604b}
.photo-book-exports button:disabled{opacity:.4;cursor:not-allowed}
.photo-book-details{padding:29px 24px;min-width:0;background:#f6f3e9;border-left:1px solid #e0d9cb}
.photo-book-details h5{font:27px/1.3 Georgia,serif;color:#405844;margin:11px 0 17px;overflow-wrap:anywhere}
.photo-book-details>p{font:12px/1.7 system-ui,sans-serif;color:#748174}
.photo-book-facts{margin:27px 0 20px;padding:20px 0;border-top:1px solid #d8d4c8;border-bottom:1px solid #d8d4c8}
.photo-book-facts strong{font:700 13px/1.55 system-ui,sans-serif;color:#526954}
.photo-book-facts ul{margin:15px 0 0;padding-left:19px;display:grid;gap:13px}
.photo-book-facts li{font:13px/1.55 Georgia,serif;color:#536454;overflow-wrap:anywhere}
.photo-book-facts li strong{font:600 14px/1.5 Georgia,serif;color:#365440}
.photo-book-proof{display:block;font:11px/1.5 system-ui,sans-serif;color:#899184;margin-top:3px}
.photo-book-disclaimer summary{font:700 12px system-ui,sans-serif;color:#56755c;cursor:pointer}
.photo-book-disclaimer p{font:12px/1.7 system-ui,sans-serif;color:#7b8377}
.photo-book-empty{padding:48px 28px 56px;text-align:center;color:#7d8b7e}
.photo-book-empty span{font:60px Georgia,serif;color:#b6bda9}
.photo-book-empty h5{font:27px Georgia,serif;color:#4d6b55;margin:12px 0 8px}
.photo-book-empty p{max-width:510px;margin:auto;font:13px/1.75 system-ui,sans-serif}
.photo-book-error{padding:21px 29px;font:13px system-ui,sans-serif;color:#984943}
.photo-book-error button{border:1px solid #c99;border-radius:7px;background:#fff;padding:9px;cursor:pointer}
.photo-book-panel button:focus-visible,.photo-book-disclaimer summary:focus-visible{outline:3px solid #8db499;outline-offset:3px}
@media(max-width:1020px){.photo-book-layout{grid-template-columns:1fr}.photo-book-details{border-left:0;border-top:1px solid #e0d9cb}.photo-book-reader{padding:23px 20px 31px}.photo-book-canvas-mat{max-width:440px}}
@media(max-width:700px){.photo-book-intro{padding:22px 17px 17px}.photo-book-mark{font-size:42px}.photo-book-reader{padding:16px 12px 22px}.photo-book-details{padding:23px 17px}.photo-book-canvas-mat{padding:7px}.photo-book-toolbar{flex-wrap:wrap}.photo-book-current{font-size:11px}.photo-book-navigation{gap:4px}.photo-book-navigation>button{padding:8px 7px;font-size:10px}.photo-book-page-tab{flex-basis:26px}.photo-book-exports button{flex:1;min-width:105px}}
@media(max-width:360px){.photo-book-exports{gap:6px}.photo-book-navigation>button{min-height:38px}.photo-book-intro h4{font-size:27px}}
@media(prefers-reduced-motion:reduce){.photo-book-panel *{scroll-behavior:auto!important}}
.photo-book-toolbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.photo-book-toolbar-actions button{border:1px solid #cad5c9;border-radius:7px;background:#e9eee5;color:#42634d;padding:8px 10px;cursor:pointer;font:700 11px system-ui,sans-serif}
.photo-book-dialog{width:min(96vw,760px);max-width:96vw;max-height:94dvh;padding:12px;border:1px solid #dad2c4;background:#fbf8f0;border-radius:9px;overflow:auto;box-shadow:0 25px 80px rgba(34,35,26,.27)}
.photo-book-dialog::backdrop{background:rgba(26,38,30,.78)}
.photo-book-dialog img{display:block;width:100%;height:auto;margin:auto;max-width:680px;background:#f8f4ea}
.photo-book-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:10px;color:#536d57;font:15px Georgia,serif}
.photo-book-dialog-top button{padding:9px 12px;border:0;background:#42654e;color:white;border-radius:5px;cursor:pointer;font:700 12px system-ui,sans-serif}

/* V2.22 · chapter navigation, touch-friendly image reading, low-memory export */
.photo-book-chapter-jump{display:flex;align-items:center;justify-content:space-between;gap:10px;max-width:465px;margin:14px auto 4px}
.photo-book-chapter-jump label{font:700 12px system-ui,sans-serif;color:#556a58}
.photo-book-chapter-jump select{min-width:0;max-width:72%;padding:10px 30px 10px 12px;border-radius:8px;border:1px solid #bccabb;background:#fffdfa;color:#385a45;font:600 12px/1.4 system-ui,sans-serif}
.photo-book-page-progress{height:3px;max-width:465px;margin:11px auto 0;background:#dce4d9;border-radius:5px;overflow:hidden}
.photo-book-page-progress span{display:block;height:100%;background:#547762;transition:width 160ms ease-out}
.photo-book-canvas-mat{touch-action:pan-y;user-select:none; -webkit-user-select:none}
.photo-book-export-help{max-width:430px;margin:10px auto 0;text-align:center;font:11px/1.7 system-ui,sans-serif;color:#6b7a6c}
.photo-book-exports button.photo-book-cancel{background:#f7eae5;color:#904938;border:1px solid #d9b2a6}
.photo-book-panel select:focus-visible{outline:3px solid #8db499;outline-offset:3px}
@media(max-width:700px){.photo-book-page-tab{min-width:31px;min-height:36px}.photo-book-chapter-jump{flex-wrap:wrap}.photo-book-chapter-jump select{width:100%;max-width:100%;font-size:13px}.photo-book-exports button{font-size:12px}.photo-book-navigation>button{font-size:11px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.photo-book-page-progress span{transition:none}}

/* V2.23 — Life Player. The moving light is non-authoritative.
   Only the opaque dark-green section represents server-settled months. */
.life-auto-bar{grid-template-columns:minmax(114px,168px) minmax(180px,1fr) auto;column-gap:21px;row-gap:7px;padding:16px clamp(14px,2.6vw,35px) 12px;background:#f9f8f2;box-shadow:0 1px 0 rgba(46,80,61,.04);position:relative}
.life-auto-identity .pace-overline{letter-spacing:.12em;font-size:9px;color:#8b917d}
.life-auto-identity strong{font:600 clamp(17px,1.65vw,22px)/1.22 Georgia,serif;letter-spacing:-.02em;color:#284e3e}
.life-year-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:11px;color:#647c6c;margin-bottom:8px}
.life-year-caption span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.life-progress-track{height:13px;border-radius:100px;border:1px solid #d3dfd3;background:linear-gradient(180deg,#e6ebe1,#dfe7de);position:relative;overflow:visible}
.life-progress-track span{position:absolute;left:0;top:0;bottom:0;border-radius:100px;transition:none;pointer-events:none}
.life-progress-track #life-year-preview{z-index:1;background:linear-gradient(90deg,rgba(96,137,109,.10),rgba(112,160,124,.57));box-shadow:inset 0 0 0 1px rgba(95,138,112,.08)}
.life-progress-track #life-year-progress{z-index:2;background:linear-gradient(90deg,#315e49,#558269);box-shadow:inset 0 1px rgba(255,255,255,.22);transition:width .13s ease-out}
.life-progress-track #life-time-head{z-index:3;position:absolute;top:50%;width:11px;height:11px;margin-top:-5.5px;margin-left:-5.5px;border:2px solid #faf9f2;border-radius:50%;background:#64967a;box-shadow:0 0 0 2px #6e9a7d,0 0 12px rgba(98,144,111,.32);left:0;transition:none;opacity:0}
.life-auto-bar.is-playing .life-progress-track #life-time-head{opacity:1}
.life-auto-bar.is-waiting .life-progress-track #life-time-head{background:#a48b69;box-shadow:0 0 0 2px #bdad8b}
.life-month-marks{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0;margin-top:3px;padding:0;overflow:visible}
.life-month-marks span{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;color:#98a29b;font-size:9px;text-align:center}
.life-month-marks span i{width:3px;height:4px;background:#ced7ce;border-radius:2px;display:block}
.life-month-marks span small{font-size:8px;letter-spacing:.005em;white-space:nowrap}
.life-month-marks span.lived{color:#627c67}
.life-month-marks span.lived i{background:#59866b}
.life-month-marks span.current{color:#315f46;font-weight:800}
.life-month-marks span.current i{height:7px;background:#39654c}
.life-auto-actions{gap:9px;flex-wrap:nowrap;align-items:stretch}
.life-auto-actions #life-auto-toggle{border-radius:11px;min-width:123px;background:#2d6048;color:#fff;font-size:12px;padding:10px 13px;border:1px solid #2d6048;letter-spacing:.005em;white-space:nowrap}
.life-auto-actions #life-auto-toggle[aria-pressed="true"]{background:#f6eee0;border-color:#b7a888;color:#6a4a34}
.life-auto-actions #life-auto-toggle:disabled{background:#e7eae3;color:#68786a;border-color:#cdd6c9;cursor:not-allowed}
.life-auto-actions button:focus-visible{outline:3px solid #7fa38d;outline-offset:2px}
.life-speed-switch{display:flex;gap:2px;align-items:center;padding:3px;background:#e7ede5;border:1px solid #d4ded1;border-radius:12px}
.life-auto-actions .life-speed-switch button{min-width:35px;min-height:36px;padding:5px 7px;border:0;border-radius:9px;color:#476a51;background:transparent;font-size:11px;font-weight:700;box-shadow:none;letter-spacing:0}
.life-auto-actions .life-speed-switch button[aria-pressed="true"]{background:#fffefa;color:#264b37;box-shadow:0 2px 6px rgba(35,72,47,.13)}
.life-auto-bar .life-pace-footer{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;justify-content:space-between;min-height:19px}
.life-auto-bar .life-auto-status{font-size:11px;color:#657b6d;line-height:1.35;grid-column:auto}
.life-auto-bar .pace-safety{font-size:10px;color:#88998a;line-height:1.35}
.life-auto-bar.has-decision{border-bottom-color:#d4ad93;background:#faf5ef}
.life-auto-bar.has-decision .life-progress-track{border-color:#d2b49a}
@media(max-width:1030px){.life-auto-bar{grid-template-columns:minmax(130px,1fr) auto;gap:10px 14px}.life-progress-block{grid-column:1/-1;grid-row:2}.life-auto-actions{grid-column:2;grid-row:1;align-self:center}.life-auto-bar .life-pace-footer{grid-column:1/-1;grid-row:3}}
@media(max-width:610px){.life-auto-bar{padding:13px 15px 11px;grid-template-columns:1fr;row-gap:9px}.life-auto-identity{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 12px}.life-auto-identity .pace-overline{grid-column:1/-1}.life-auto-identity strong{font-size:18px}.life-auto-identity #life-month-label{justify-self:end}.life-progress-block{grid-column:1;grid-row:2}.life-auto-actions{grid-column:1;grid-row:3;justify-content:space-between;width:100%}.life-auto-actions #life-auto-toggle{flex:1;min-width:114px}.life-speed-switch{flex:0 0 auto}.life-auto-actions .life-speed-switch button{min-width:31px;padding:5px 5px}.life-auto-bar .life-pace-footer{grid-column:1;grid-row:4}.life-month-marks span small{font-size:8px}}
@media(max-width:350px){.life-auto-actions .life-speed-switch button{min-width:28px;padding:5px 3px}.life-auto-actions #life-auto-toggle{font-size:11px;padding:8px 9px}.life-auto-bar .pace-safety{display:none}}
@media(prefers-reduced-motion:reduce){.life-progress-track #life-year-progress{transition:none}.life-auto-bar .life-progress-track #life-time-head{display:none}}

/* V2.23 editorial hierarchy: one story, not repeated status paragraphs. */
.life-breadcrumb{margin:0 0 10px!important;padding:0!important;color:#738476;letter-spacing:.08em;font-size:10px}
.scene-hero-v223{height:clamp(110px,14vw,185px)!important;min-height:0!important;margin-bottom:0!important;border-radius:13px 13px 0 0!important;border-bottom:none!important;position:relative;overflow:hidden}
.player-life-portrait{display:grid;grid-template-columns:minmax(125px,190px) 1fr;gap:clamp(18px,4vw,38px);align-items:center;padding:22px clamp(22px,4vw,40px);margin:0 0 18px;border:1px solid #d9d5c9;border-radius:15px;background:linear-gradient(115deg,#e8e4d7 0%,#f7f3e9 54%,#eee8d9 100%);box-shadow:0 14px 35px rgba(43,55,44,.08);overflow:hidden}
.player-life-portrait-art{height:210px;width:100%;max-width:190px;display:grid;place-items:center;overflow:hidden;border:8px solid #f9f5eb;border-radius:95px 95px 10px 10px;background:#e4d7c5;box-shadow:0 10px 24px rgba(53,64,52,.14)}
.player-life-portrait-art svg{display:block;width:100%;height:100%}
.player-life-initial{font:88px Georgia,serif;color:#557567}
.player-life-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.19em;color:#718a72}
.player-life-portrait-copy h3{margin:10px 0 9px;font:clamp(30px,4vw,52px)/1.05 Georgia,serif;letter-spacing:-.05em;color:#263f37;overflow-wrap:anywhere}
.player-life-portrait-copy p{margin:0;color:#465f52;font-size:15px}
.player-life-note{display:block;margin-top:28px;color:#866c59;font:italic 16px Georgia,serif}
.profile-bubble{overflow:hidden;border:2px solid #f9f4e8;box-shadow:0 2px 8px #233a3226}
.profile-bubble svg{display:block;width:100%;height:100%}
@media(max-width:610px){.player-life-portrait{grid-template-columns:104px 1fr;gap:15px;padding:15px;margin-bottom:15px}.player-life-portrait-art{height:132px;border-width:5px}.player-life-portrait-copy h3{font-size:28px}.player-life-portrait-copy p{font-size:12px}.player-life-note{margin-top:12px;font-size:12px}}
.scene-hero-v223 .hero-landscape{position:absolute;inset:0;width:100%;height:100%;max-height:none;overflow:hidden;opacity:.94}
.scene-hero-v223 .hero-landscape img{width:100%;height:100%;object-fit:cover;object-position:center 60%}
.scene-hero-v223 .scene-place-label{position:absolute;bottom:10px;left:15px;z-index:2;padding:4px 10px;background:rgba(248,246,237,.90);border-radius:20px;font-size:10px;letter-spacing:.04em;color:#4a6854}
.scene-hero-v223 + .month-story-card{border-radius:0 0 13px 13px;border-top:none;margin-top:0}
.month-story-card{padding:clamp(18px,2vw,25px);box-shadow:0 6px 22px rgba(52,75,53,.045)}
.month-story-card h3{font-size:clamp(24px,2.9vw,33px);line-height:1.21;margin-top:9px}
.month-story-card .month-story-body{max-width:71ch;font-size:clamp(14px,1.3vw,16px);line-height:1.76;color:#475c4e}
.month-story-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}
.month-significance{font-size:10px;color:#7b604d;background:#f5e8dc;border-radius:25px;padding:4px 8px}
.authored-life-label{display:inline-flex;font-size:10px;color:#7d816e;background:#f2f1e6;border-radius:7px;padding:5px 9px;margin:10px 0 4px;line-height:1.3}
.month-more-details{margin-top:16px;padding-top:12px;border-top:1px solid #e8ece3;font-size:13px;color:#526c58}
.month-more-details summary{cursor:pointer;font-size:12px;color:#41634c;font-weight:650}
.month-more-details p{font-size:13px;margin-top:8px}
.year-glimpse{border:1px solid #e6e8dc;background:#fdfdf9;border-radius:12px;padding:16px 19px;margin:18px 0 10px}
.year-glimpse-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.year-glimpse h3{font:20px/1.3 Georgia,serif;color:#305440;margin:8px 0}
.year-glimpse > p{font-size:13px;color:#6d806e;margin:5px 0}
.year-glimpse-highlights p{display:grid;gap:5px;margin:10px 0;font-size:13px;border-top:1px solid #e7ece4;padding-top:11px;color:#566b59}
.year-glimpse-highlights span{max-width:75ch;line-height:1.6}
.optional-explore{border:1px solid #e6e8df;border-radius:11px;padding:13px 16px;background:#fcfbf7;margin:15px 0}
.optional-explore > summary{color:#4c6756;cursor:pointer;font-size:13px;font-weight:650}
.optional-explore > *:not(summary){margin-top:15px}
@media(max-width:610px){.scene-hero-v223{height:120px!important}.month-story-card h3{font-size:25px}.month-story-card .month-story-body{font-size:14px}.year-glimpse{padding:13px 14px}}

/* V2.23: reduce the visual weight of operation forms; keep all actions available. */
.more-actions,.pace-extras,.child-stats-details{border-top:1px solid #e2e9de;margin:11px 0 0;padding:10px 0;color:#50705d;font-size:13px}
.more-actions > summary,.pace-extras > summary,.child-stats-details > summary{font-weight:650;cursor:pointer;color:#35674e;padding:7px 3px}
.more-actions .action-grid{margin-top:11px}
.adult-pace-v223{padding:clamp(15px,2vw,20px);margin-top:15px}
.adult-pace-v223 .adult-pace-head{margin-bottom:9px}
.adult-pace-v223 .adult-pace-head h3{font-size:24px;margin:4px 0}
.adult-pace-v223 .pace-buttons{margin-top:11px}
.adult-pace-v223 .pace-buttons button{font-size:12px;min-height:43px}
.adult-pace-v223 .pace-extras{margin-top:9px}
.adult-pace-v223 .pace-soft-help{font-size:11px;line-height:1.5}
.opening-tail{font-size:12px!important;color:#7b836f!important;padding-top:10px;border-top:1px solid #e9ece3}
.child-stats-details{margin-bottom:16px}
.child-stats-details .child-stats{margin-top:10px}
@media(max-width:610px){.action-grid{gap:8px}.action-card{min-height:95px;padding:12px}.adult-pace-v223 .pace-buttons button{padding:9px 7px;font-size:11px}}

/* Persistent household expenses stay visible without replacing every story. */
.household-budget-context{display:block;margin-top:10px;padding:9px 12px;border-left:2px solid #b58d65;background:#f6eee3;color:#765a3d;font-size:12px;line-height:1.55;border-radius:0 7px 7px 0}

/* V2.23: persistent household financial state belongs to the sidebar, not
   to the storytelling surface every single month. */
.identity-panel .household-budget-context{margin:10px 0 3px;padding:10px 11px;font-size:11px;line-height:1.6}
.household-budget-context strong{display:block;margin-bottom:3px;color:#765a3d;font-weight:650}
.household-budget-context span{display:block}
@media(max-width:580px){.identity-panel .household-budget-context{font-size:12px}}


/* V2.24I-D — explicit child lineage and current dependency status */
.child-lineage{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0 12px}
.child-lineage span{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border:1px solid var(--line,#ded8ce);border-radius:999px;font-size:.72rem;line-height:1.25;color:var(--ink-soft,#5c5a55);background:var(--surface-soft,#f7f5f0)}
.child-lineage .lineage-origin{font-weight:650;color:var(--ink,#25231f);background:var(--surface,#fff)}
@media(max-width:640px){.child-lineage{gap:5px}.child-lineage span{font-size:.7rem;min-height:28px}}


/* V2.24I-D.2 — distinguish current and ended relationships without erasing history */
.relationship-state-tag{display:inline-flex;align-items:center;margin:0 0 6px 6px;padding:3px 8px;border:1px solid var(--line,#ded8ce);border-radius:999px;font-size:.68rem;line-height:1.25;color:var(--ink-soft,#5c5a55);background:var(--surface-soft,#f7f5f0)}
.relationship-state-tag.is-current{font-weight:650;color:var(--ink,#25231f)}
.relationship-state-tag.is-ended,.relationship-state-tag.is-bereaved{opacity:.82}

.danger-link{color:#8a3f38!important}
.danger-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.keepsake-export-choice,.photo-book-export-choice{margin:1rem 0;padding:1rem 1.15rem;border:1px solid #d7cdbd;border-radius:12px;background:#f8f4eb;color:#3d5146}
.keepsake-export-choice strong,.photo-book-export-choice strong{display:block;font-size:.9rem;letter-spacing:.04em}
.keepsake-export-choice p,.photo-book-export-choice p{margin:.35rem 0 .65rem;line-height:1.45}
.keepsake-export-choice label,.photo-book-export-choice label{display:flex;align-items:flex-start;gap:.55rem;line-height:1.45;cursor:pointer}
.keepsake-export-choice input,.photo-book-export-choice input{flex:none;width:1.1rem;height:1.1rem;margin:.15rem 0 0;accent-color:#3c6351}

/* Homepage: a clear simulation promise and illustrated chapters. */
.start-header .logo{letter-spacing:.105em}
.start-container{grid-template-columns:minmax(0,1.18fr) minmax(365px,.75fr);gap:clamp(36px,5vw,82px)}
.intro-text{padding-top:38px}
.intro-text h1{font-size:clamp(3.4rem,5.1vw,5.7rem);line-height:1.04;margin:20px 0 21px}
.intro-text>p{max-width:610px;color:#4f6257;font-size:15px;line-height:1.66;margin:0 0 11px}
.intro-text>.home-lead{font-size:17px;line-height:1.58;color:#304a3b;margin-bottom:13px}
.home-lead strong{font-weight:720;color:#254936}
.hero-points{gap:0;margin:18px 0 17px;color:#486650;font-size:12px;font-weight:700;letter-spacing:.02em}
.hero-points span{display:inline-flex;align-items:center;white-space:nowrap}
.hero-points span+span:before{content:'✦';font-size:8px;color:#bd9671;margin:0 13px}
.home-hero-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid #365d46;background:#365d46;color:#fffaf1;border-radius:4px;padding:14px 19px;font-size:13px;font-weight:750;letter-spacing:.02em;box-shadow:0 8px 24px #2c4b3726}
.home-hero-cta span{font-size:18px;font-weight:400;line-height:1}
.home-hero-cta:hover:not(:disabled){background:#244936;border-color:#244936;transform:translateY(-2px)}
.home-hero-cta:focus-visible{outline:3px solid #bb9868;outline-offset:4px}
.home-illustration{height:auto;aspect-ratio:1120/620;margin:24px 0 0;background:#e9d3b4;border-radius:7px 65px 7px 7px;box-shadow:0 17px 42px #5e5a4630}
.home-illustration:before{display:none}
.home-illustration img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.home-illustration figcaption{position:absolute;bottom:12px;left:16px;background:#faf5e8e8;padding:6px 9px;color:#365042;font-size:9px;letter-spacing:.13em;font-weight:800;border-radius:2px}
.home-discover{max-width:1440px;margin:0 auto;padding:20px 54px 100px}
.home-section-heading{max-width:780px;margin:20px 0 30px}
.home-section-heading h2{font-size:clamp(2.1rem,3.5vw,3.6rem);color:#2b4537;margin:13px 0 13px}
.home-section-heading p{max-width:670px;color:#667568;font-size:15px}
.home-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #c8c9b9;border-bottom:1px solid #c8c9b9}
.home-steps>div{display:grid;grid-template-columns:38px 1fr;column-gap:14px;row-gap:6px;padding:23px 29px 27px 0}
.home-steps>div+div{border-left:1px solid #d5d4c8;padding-left:26px}
.home-steps b{grid-row:1/3;color:#b47d62;font:italic 24px/1 Georgia,serif}
.home-steps strong{font-size:14px;color:#304c39}
.home-steps span{grid-column:2;color:#657468;font-size:12px;line-height:1.55}
.home-life-heading{margin-top:87px}
.home-feature-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.home-feature{grid-column:span 2;min-width:0;background:#fffdf8;border:1px solid #e2dfd1;border-radius:6px;padding:15px 17px 20px;box-shadow:0 8px 25px #534d3c0c}
.home-feature:nth-child(4),.home-feature:nth-child(5){grid-column:span 3}
.home-feature-visual{height:132px;display:grid;place-items:center;overflow:hidden;background:#e9e4d5;border-radius:4px;margin-bottom:18px}
.home-feature-visual svg{width:min(100%,205px);height:100%}
.visual-grow{background:#e6ebdb}.visual-work{background:#eee3d2}.visual-relate{background:#e8e8d9}.visual-home{background:#e9decf}.visual-memory{background:#e6e9df}
.home-feature-tag{display:block;color:#9a795d;font-size:9px;font-weight:800;letter-spacing:.16em;margin:0 0 8px}
.home-feature h3{font:400 clamp(1.35rem,2vw,1.8rem)/1.18 Georgia,serif;color:#2d4537;margin-bottom:8px}
.home-feature p{font-size:13px;color:#667367;max-width:44ch}
.home-ending{display:flex;align-items:end;justify-content:space-between;gap:26px;background:#e6ecdf;border:1px solid #d5dfd0;border-radius:7px;padding:34px 39px;margin-top:65px}
.home-ending h2{font-size:clamp(1.9rem,2.8vw,3rem);margin:11px 0 7px;color:#2c4c39}
.home-ending p{color:#5c6d5c;font-size:13px;max-width:57ch}
.home-ending .home-hero-cta{flex:none}
@media(max-width:1050px){.start-container{gap:28px;grid-template-columns:minmax(0,1fr) minmax(335px,.84fr);padding-left:32px;padding-right:32px}.start-header,.home-discover{padding-left:32px;padding-right:32px}.intro-text h1{font-size:clamp(3rem,5vw,4.5rem)}.intro-text>p{font-size:14px}.intro-text>.home-lead{font-size:16px}}
@media(max-width:700px){.start-container{display:block;padding:0 20px 50px}.start-header,.home-discover{padding-left:20px;padding-right:20px}.intro-text{padding-top:18px}.intro-text h1{font-size:clamp(2.9rem,11vw,4.4rem);margin:17px 0 18px}.intro-text>p{font-size:14px;line-height:1.6;margin-bottom:10px}.intro-text>.home-lead{font-size:15px}.hero-points{gap:7px;margin:16px 0}.hero-points span+span:before{margin:0 7px}.home-hero-cta{width:100%;min-height:48px}.home-illustration{height:auto;aspect-ratio:1.72;margin:20px 0 32px;border-radius:5px 43px 5px 5px}.home-illustration figcaption{font-size:7px;bottom:7px;left:8px}.home-discover{padding-bottom:115px}.home-section-heading{margin-top:15px}.home-steps{display:block}.home-steps>div,.home-steps>div+div{border-left:0;border-top:1px solid #d5d4c8;padding:18px 0}.home-steps>div:first-child{border-top:0}.home-life-heading{margin-top:52px}.home-feature-grid{display:grid;grid-template-columns:1fr;gap:13px}.home-feature,.home-feature:nth-child(4),.home-feature:nth-child(5){grid-column:auto}.home-feature-visual{height:120px}.home-ending{display:block;margin-top:42px;padding:27px 22px}.home-ending .home-hero-cta{margin-top:20px}}
@media(max-width:390px){.hero-points{font-size:11px}.hero-points span+span:before{margin:0 5px}.start-header .logo{font-size:11px}}

.saved-lives{margin-top:24px}
.saved-lives:empty{display:none}
.saved-lives .small-overline{display:block;margin-bottom:5px}
.saved-life-list{display:grid;gap:7px;margin-top:12px}
.saved-life-item{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #d9dfd1;border-radius:5px;background:#f8faf4}
.saved-life-item>div{min-width:0;flex:1}
.saved-life-item strong,.saved-life-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.saved-life-item strong{font-size:12px;color:#365240}
.saved-life-item small{font-size:11px;color:#6d7a6c}
.saved-life-item button,.save-load-error button{border:1px solid #a8bdab;border-radius:4px;background:#edf3e9;color:#31583d;padding:7px 10px;font-size:11px;font-weight:700}
.saved-life-item button:last-child{padding:7px 9px}
.save-load-error{padding:13px 14px;margin:0 0 15px;border:1px solid #c9a685;border-radius:5px;background:#f9f1e6;color:#654837}
.save-load-error strong{display:block;font-size:13px}
.save-load-error p{font-size:12px;margin:5px 0 9px}
#cloud-recovery{padding:16px 18px;border:1px solid #d9dfd1;border-radius:8px;background:#f8faf4}
#cloud-recovery p{font-size:12px;line-height:1.55;color:#526558;margin:7px 0 12px}
.cloud-recovery-actions{display:flex;flex-wrap:wrap;gap:8px}
.cloud-recovery-actions button,.cloud-recovery-import{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid #a8bdab;border-radius:6px;background:#edf3e9;color:#31583d;font-size:12px;font-weight:700;cursor:pointer}
.cloud-recovery-import{background:transparent}
.cloud-recovery-import input{position:absolute;width:1px;height:1px;opacity:0}
.cloud-recovery-actions button:focus-visible,.cloud-recovery-import:focus-within{outline:3px solid #769b80;outline-offset:2px}
#cloud-recovery-status:empty{display:none}
.digital-life-moment{margin:16px 0 22px;padding:20px 22px;background:#f3efe5;border:1px solid #e0d6bf;border-radius:16px;color:#3e4b3c}
.digital-life-moment h3{font-family:Georgia,serif;font-size:22px;font-weight:normal;margin:7px 0}
.digital-life-moment p{line-height:1.65;margin:7px 0 14px}
.digital-life-moment-bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:13px;flex-wrap:wrap}
.digital-life-moment-bottom strong{font-variant-numeric:tabular-nums}
.nav-digital-life .overview-grid{margin:16px 0}
.nav-digital-life .overview-card .v{font-size:28px}
.daily-focus{margin:0 0 1.4rem;padding:1.4rem 1.6rem;border:1px solid #cbd9c9;border-left:4px solid #6c9679;border-radius:10px;background:#f3f6ee;color:#314c3c}
.daily-focus h2{margin:.45rem 0;font:normal clamp(1.6rem,2.5vw,2.15rem)/1.2 Georgia,serif}
.daily-focus p{max-width:68ch;margin:.45rem 0 1rem;font-size:1rem;line-height:1.6}
.daily-focus .btn-small{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.nav-digital-life .operations-content>details{margin-top:16px;border-top:1px solid #d9dfd1;padding-top:12px}
.nav-digital-life .operations-content>details>summary{cursor:pointer;font-weight:700;color:#365240}
@media(max-width:650px){.digital-life-moment{padding:16px}.digital-life-moment h3{font-size:20px}.nav-digital-life .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-digital-life .overview-card:last-child{grid-column:auto}}

.digital-decisions,.digital-talk{margin:19px 0;border:1px solid #d9e1d5;background:#fffdf8;border-radius:12px;padding:20px}
.digital-decisions h4,.digital-talk h4{font:23px Georgia,serif;margin:7px 0 9px;color:#365b48}
.digital-choice-list{display:grid;gap:10px;margin:16px 0}
.digital-choice-item{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e6e6da;background:#faf9f3;border-radius:8px;padding:13px 15px}
.digital-choice-item>div{min-width:0;flex:1}.digital-choice-item strong{display:block;font-size:13px;color:#3b5a46}.digital-choice-item small{display:block;color:#6d7f70;font-size:11px;line-height:1.6;margin-top:4px}
.digital-choice-item button{flex:none;min-width:143px;min-height:42px}
.digital-outcome{background:#edf2e9;border:1px solid #d4e1d0;border-radius:9px;padding:14px 16px;display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;color:#3f604e}
.digital-outcome>span{font-size:12px}.digital-outcome>strong{font:26px Georgia,serif}.digital-outcome>small{grid-column:1/-1;color:#697f6e;font-size:11px}
.digital-talk-actions{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0}.digital-talk-actions button{min-height:43px}
.digital-talk-memory{margin-top:13px;padding:14px;background:#f2f0e6;border-left:3px solid #96ac8d;border-radius:4px}.digital-talk-memory strong{font-size:12px}.digital-talk-memory p{font-size:12px;color:#687767;line-height:1.6;margin-top:6px}
@media(max-width:660px){.digital-decisions,.digital-talk{padding:15px}.digital-choice-item{flex-direction:column;align-items:stretch;gap:10px}.digital-choice-item button{width:100%}.digital-outcome{grid-template-columns:1fr}.digital-outcome>strong{font-size:24px}.digital-talk-actions{flex-direction:column}.digital-talk-actions button{width:100%}}

.digital-household{margin:20px 0;padding:20px;border:1px solid #d7dfd3;border-radius:14px;background:#faf9f3}
.digital-household h4{font:23px Georgia,serif;color:#355943;margin:7px 0 10px}
.digital-household h5{font:18px Georgia,serif;margin:0 0 10px}
.digital-household-list{display:grid;gap:10px;margin-top:14px}
.digital-household-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 18px;padding:15px;border:1px solid #dce2d7;border-radius:10px;background:#fffdf8}
.digital-household-entry strong,.digital-household-essential strong{display:block;color:#345741;font-size:14px}
.digital-household-entry small,.digital-household-essential small{display:block;color:#6d786c;font-size:12px;line-height:1.6;margin-top:4px}
.digital-household-entry>.operations-field{grid-column:1/-1;margin:0;max-width:100%}
.digital-household-entry>button{min-height:44px}
.digital-household-essential{background:#eef3e9;border-radius:9px;padding:12px 15px}
.digital-household-offers{margin-top:18px;padding-top:14px;border-top:1px solid #e0e3d8}
.digital-household-offer{background:#f2eee4;padding:15px;border-radius:9px;margin:10px 0}
.digital-household-offer p{margin:0 0 8px;font-size:13px;line-height:1.6}
@media(max-width:660px){.digital-household{padding:15px}.digital-household-entry{grid-template-columns:1fr}.digital-household-entry>button{width:100%}}

.digital-time{margin-top:18px;padding:18px;border:1px solid #d7dfd3;border-radius:13px;background:#fffdf8}
.digital-time h4{margin:5px 0 9px;font:22px Georgia,serif;color:#355943}
.digital-time-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}
.digital-time-slot{border:1px solid #dfe3d9;border-radius:9px;padding:11px 12px;background:#faf9f3;display:grid;gap:4px}
.digital-time-slot span{font-size:12px;color:#667667}.digital-time-slot strong{font-size:14px;color:#355943}
.digital-time-pressure{font-size:12px;color:#a4513d}
.digital-time-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #e1e6dc}
.digital-time-option strong,.digital-time-option small{display:block}.digital-time-option strong{color:#355943;font-size:14px}
.digital-time-option small{color:#68736b;font-size:12px;line-height:1.6;margin-top:4px}
.digital-time-option button{min-height:44px;min-width:84px}
@media(max-width:660px){.digital-time{padding:14px}.digital-time-slots{grid-template-columns:1fr}.digital-time-option{grid-template-columns:1fr}.digital-time-option button{width:100%}}

.digital-negotiation{margin:18px 0;padding:16px;border:1px solid #d7dfd3;border-radius:12px;background:#fffdf8}
.digital-negotiation>summary{cursor:pointer;min-height:36px;font:18px Georgia,serif;color:#355943}
.digital-negotiation-topic,.digital-negotiation-state{margin-top:13px;padding:14px;border:1px solid #e0e5db;border-radius:9px;background:#faf9f3}
.digital-negotiation-topic>strong,.digital-negotiation-state>strong{display:block;color:#355943;font-size:14px}
.digital-negotiation-topic .operations-field,.digital-negotiation-state .operations-field{display:flex;flex-direction:column;gap:5px;margin:11px 0}
.digital-negotiation-topic select,.digital-negotiation-state select{max-width:100%;min-width:0}
.digital-negotiation-state p{font-size:12px;color:#68736b;line-height:1.6;margin:8px 0}
.digital-shared-space{margin:18px 0;padding:17px;border:1px solid #d7e0d4;border-radius:9px;background:#faf9f3}
.digital-shared-space h5{font:20px Georgia,serif;color:#385b48;margin:0 0 9px}
.digital-shared-space p{line-height:1.6}
.digital-routine-changes{margin:14px 0;border:1px solid #d7e0d4;border-radius:9px;background:#fffdf8;padding:11px 14px}
.digital-routine-changes summary{cursor:pointer;font-weight:650;color:#355943;line-height:1.5;min-height:36px;display:list-item}
.digital-routine-changes p{margin:8px 0 0;padding:7px 0;border-top:1px solid #e9e9e1;line-height:1.65}
.digital-routine-changes:focus-within{outline:2px solid #789b80;outline-offset:2px}
@media(max-width:660px){.digital-negotiation,.digital-shared-space,.digital-routine-changes{padding:12px}.digital-negotiation>summary,.digital-routine-changes summary{min-height:44px}.digital-negotiation-topic button,.digital-negotiation-state button,.digital-shared-space button{width:100%;min-height:44px}}
.public-tax-preview{margin-top:18px}
.public-tax-preview .public-tax-amount{font:400 clamp(1.7rem,3vw,2.5rem)/1.2 Georgia,serif;color:#2d523b;margin:9px 0}
.public-tax-preview .public-tax-amount small{display:block;font:600 12px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#657366;margin-top:3px}
.public-tax-preview p{font-size:13px;margin:6px 0;color:#526558}
.public-tax-preview>small{font-size:11px;color:#6c776e}
.social-life-panel{scroll-margin-top:110px}
.social-life-scenes{display:grid;gap:14px;margin:12px 0}
.social-life-scene{padding:16px;border:1px solid var(--border,#ded8ce);border-radius:10px;background:var(--surface,#fffdfa)}
.social-life-scene h4{font-family:Georgia,serif;font-size:1.12rem;margin:6px 0}
.social-life-scene p{line-height:1.55;margin:8px 0 12px}
.social-life-choices{display:flex;gap:8px;flex-wrap:wrap}
.social-life-choices button{flex:1 1 160px;min-height:44px;padding:8px 12px;white-space:normal;text-align:left;border:1px solid var(--border,#ded8ce);border-radius:8px;background:var(--surface-soft,#f7f5f0)}
.social-life-choices button:hover{border-color:var(--ink-soft,#52675a)}
.social-life-choices button:focus-visible{outline:2px solid #366a59;outline-offset:3px}
.social-life-history{border-top:1px solid var(--border,#ded8ce);margin-top:15px;padding-top:10px}
.social-life-history h4{margin:2px 0 10px}
@media(max-width:550px){.social-life-scene{padding:12px}.social-life-choices{flex-direction:column}.social-life-choices button{width:100%;flex:auto}}

.social-life-institutions{margin:1rem 0;display:grid;gap:.7rem}
.social-institution-requests{display:grid;gap:.7rem}
.social-institution-requests h4{margin:0}
.social-institution-requests .social-institution-card p{margin:.45rem 0}
.social-institution-older{display:grid;gap:.7rem;margin-top:.7rem}
.social-institution-card{border:1px solid var(--border,#ded8ce);border-radius:12px;padding:1rem;background:var(--surface-soft,#f7f5f0)}
.social-institution-person{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;padding:.45rem 0}
.social-institution-person span{flex:1 1 9rem;min-width:0}
.social-institution-person button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:520px){.social-institution-person{align-items:stretch;flex-direction:column}.social-institution-person .btn-small{width:100%}}

/* Separate public landing, start flow and addressable game sections. */
.landing-v230{background:#f5f1e9}
.landing-header{max-width:1440px;margin:auto;padding:30px 54px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.landing-header nav{display:flex;align-items:center;gap:22px}
.landing-v230 a,.route-start a,.game-logo,.nav-item,.mobile-nav a,.mobile-more a{text-decoration:none}
.landing-v230 a:focus-visible,.route-start a:focus-visible,.game-logo:focus-visible,.nav-item:focus-visible,.mobile-nav a:focus-visible,.mobile-more a:focus-visible{outline:3px solid #bb9868;outline-offset:4px}
.landing-logo,.game-logo{color:var(--ink)}
.landing-start-link{display:inline-flex;align-items:center;gap:13px;border:1px solid #d4d9cb;border-radius:4px;padding:10px 14px;color:#355b46;font-size:12px;font-weight:750}
.landing-start-link:hover,.landing-resume:hover,.start-back-link:hover{color:#213f2d;background:#e7ede5}
.landing-resume,.start-back-link{color:#42624d;font-size:12px;font-weight:700;padding:10px 12px;border-radius:4px}
.landing-v230 [hidden]{display:none!important}
@media(max-width:700px){.landing-features:not(.expanded) .home-feature:nth-child(n+3){display:none}.home-features-toggle{display:block;width:100%;min-height:44px;margin-top:13px;border:1px solid #c8d6c6;border-radius:8px;background:#f6f9f3;color:#3b5e47;font-size:12px;font-weight:700}}
@media(min-width:701px){.home-features-toggle{display:none}}
.landing-hero{max-width:1440px;margin:auto;padding:55px 54px 70px;display:grid;grid-template-columns:minmax(380px,.92fr) minmax(0,1.08fr);gap:clamp(30px,5vw,78px);align-items:center}
.landing-copy{max-width:680px}
.landing-copy h1{margin:25px 0 24px;font-size:clamp(3.4rem,5.2vw,5.8rem);line-height:1.04;color:#294536}
.landing-copy h1 em{color:#ad7059}
.landing-copy p{color:#53685b;font-size:15px;line-height:1.7;margin:0 0 11px;max-width:59ch}
.landing-copy .landing-lead{font-size:18px;color:#344f3d}
.landing-copy .landing-lead strong{font-weight:750}
.landing-copy .hero-points{margin:23px 0}
.landing-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.landing-actions .home-hero-cta,.home-ending .home-hero-cta{color:#fffaf1}
.landing-art{margin:0;align-self:center;min-height:0;aspect-ratio:1120/620;width:100%}
.landing-art img{object-fit:contain;object-position:center}
.landing-features .home-feature-visual img{width:100%;height:100%;object-fit:cover}
.route-start{background:radial-gradient(circle at 50% 6%,#e7eddf 0,#f5f1e9 54%)}
.route-start .start-container{display:block;max-width:720px;padding:35px 20px 90px}
.route-start .start-form-panel{padding:clamp(24px,4vw,44px)}
.route-start .quick-start-mobile{display:none!important}
.nav-item{cursor:pointer}
.mobile-nav a{display:grid;justify-items:center;gap:0;background:none;border:0;color:#9ba69a;font-size:10px;padding:4px 7px;text-align:center}
.mobile-nav a span{font:24px Georgia,serif;line-height:1.25}
.mobile-nav a.active{color:#42674c}
.mobile-more a{border:0;text-align:left;padding:14px;background:#f4f6ef;border-radius:7px;color:#355d46;min-height:44px;font-size:13px;font-weight:700}
.mobile-more a.active{background:#e3ede2;color:#284b37}
@media(max-width:1050px){.landing-header,.landing-hero{padding-left:32px;padding-right:32px}.landing-hero{grid-template-columns:minmax(320px,1fr) minmax(0,1fr)}.landing-copy h1{font-size:clamp(3rem,5vw,4.7rem)}}
@media(max-width:700px){.landing-header{padding:20px;align-items:flex-start}.landing-logo{font-size:11px}.landing-header nav{gap:5px}.landing-header .landing-resume{display:none}.landing-start-link{padding:8px 10px;white-space:nowrap}.landing-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:20px 20px 40px}.landing-copy h1{font-size:clamp(2.8rem,11vw,4.2rem);margin:18px 0}.landing-copy p{font-size:14px}.landing-copy .landing-lead{font-size:16px}.landing-art{min-height:0;aspect-ratio:1.72;margin-top:28px}.landing-actions .home-hero-cta{width:auto;min-height:48px}.route-start .start-header{padding:21px 20px}.route-start .start-container{padding:15px 20px 60px}.mobile-nav a{font-size:10px;min-width:53px;min-height:47px;flex:1;padding:4px 3px}.mobile-nav a span{font-size:21px}}
@media(max-width:390px){.landing-header{gap:8px}.landing-start-link{font-size:11px}.landing-logo small{font-size:7px}.landing-copy h1{font-size:2.7rem}}

/* One readable page per documented month, with the most recent month first. */
.year-story{margin:19px 0 23px;padding:clamp(18px,2.7vw,27px);border:1px solid #dce6d8;border-radius:14px;background:#fffdf8;box-shadow:0 8px 27px rgba(41,72,50,.07)}
.year-story-head{display:flex;align-items:end;justify-content:space-between;gap:13px}
.year-story-head h3{margin:5px 0 0;color:#2c503b;font:clamp(24px,2.5vw,31px)/1.16 Georgia,serif;letter-spacing:-.035em}
.year-story-count{flex:none;padding:6px 9px;border-radius:7px;background:#e9efe6;color:#3b6348;font-size:11px;font-weight:750;font-variant-numeric:tabular-nums}
.year-story-intro{margin:11px 0 15px;color:#67796c;font-size:12px;line-height:1.55}
.year-story-progress{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px;margin:0 0 5px}
.year-story-progress span{min-width:0;padding:6px 0;border-top:3px solid #e3e9df;color:#9aa89b;text-align:center;font-size:9px;font-weight:700;letter-spacing:.02em}
.year-story-progress span.is-recorded{border-top-color:#5b8061;color:#3d6549}
.year-story-list{border-top:1px solid #e7ece3}
.year-story-month{display:grid;grid-template-columns:108px minmax(0,1fr);gap:16px;padding:19px 4px;border-bottom:1px solid #e7ece3}
.year-story-month:last-child{border-bottom:0;padding-bottom:3px}
.year-story-month.is-newest{margin:0 -9px;padding:19px 13px;border-radius:9px;background:#f1f6ee}
.year-story-date{display:flex;flex-direction:column;gap:4px;padding-top:4px}
.year-story-date time{color:#3f674b;font:18px/1.2 Georgia,serif}
.year-story-date small{color:#809080;font-size:11px}
.year-story-text h4{margin:0 0 6px;color:#284536;font:21px/1.22 Georgia,serif}
.year-story-text p{max-width:72ch;margin:0;color:#506759;font-size:13px;line-height:1.7}
.year-story-extra{margin-top:13px;padding-top:11px;border-top:1px solid #dfe8dc}
.year-story-extra strong{display:block;margin-bottom:4px;color:#3d5d47;font-size:12px}
.year-story-empty{padding:24px 0;color:#697c6d;font-size:13px}
.year-entry-moment+.year-entry-moment{margin-top:12px;padding-top:11px;border-top:1px solid #e7ece4}
.year-entry-moment strong{display:block;margin-bottom:4px;color:#355a42;font-size:13px}
.year-story-month.is-quiet{padding-top:12px;padding-bottom:12px}
.year-story-month.is-quiet .year-story-text h4{font-size:18px;margin-bottom:2px}
.year-story-month.is-quiet .year-story-text>p{font-size:12px;color:#708274}
.year-story-quiet-detail>summary{width:max-content;max-width:100%;padding:6px 10px;border:1px solid #d7e2d5;border-radius:8px;color:#506e58;background:#f7faf5;cursor:pointer;font-size:12px;font-weight:650;list-style:none}
.year-story-quiet-detail>summary::-webkit-details-marker{display:none}
.year-story-quiet-detail>summary::after{content:'⌄';display:inline-block;margin-left:13px;color:#718b75}
.year-story-quiet-detail[open]>summary::after{transform:rotate(180deg)}
.year-story-quiet-detail[open] h4{margin-top:11px}
.year-story-quiet{margin-top:7px;color:#4d6b55;font-size:12px}
.year-story-quiet summary{cursor:pointer;font-weight:650}
.year-story-quiet strong{display:block;margin:9px 0 3px;color:#3c6047}
.year-story-quiet:not([open])> :not(summary){display:none}

/* People read as a personal album before any optional details. */
.person-card{padding:0;overflow:hidden;border-color:#d9e2d5;background:#fffdf8;box-shadow:0 5px 20px #263e2910;transition:border-color .2s ease,box-shadow .2s ease}
.person-card:hover,.person-card[open]{border-color:#a9bda9;box-shadow:0 9px 26px #263e2917}
.person-card-head{list-style:none;cursor:pointer;min-height:110px;padding:17px 44px 17px 18px;margin:0;position:relative;align-items:flex-start}
.person-card-head::-webkit-details-marker{display:none}
.person-card-head:after{content:'⌄';position:absolute;right:18px;top:21px;color:#66846b;font:24px Georgia,serif;transition:transform .2s ease}
.person-card[open] .person-card-head:after{transform:rotate(180deg)}
.person-card-head:focus-visible{outline:3px solid #6b9877;outline-offset:-4px}
.person-card-identity{min-width:0;flex:1}
.person-name{font:24px/1.12 Georgia,serif;color:#294739;overflow-wrap:anywhere}
.person-role-line{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:7px 0 8px}
.person-role-line .relation-tag{margin:0}
.person-connection{font-size:11px;line-height:1.4;color:#4e775a;margin-top:8px;font-weight:650}
.person-card-body{border-top:1px solid #e7e9df;padding:15px 18px 18px}
.person-card-body .longform-persona-card:first-child{margin-top:0}
.person-memory-highlight{display:grid;gap:5px;padding:13px 15px;margin:0 0 15px;background:#f1f4ec;border-left:3px solid #83a184;border-radius:0 6px 6px 0}
.person-memory-highlight span{font-size:9px;font-weight:750;letter-spacing:.1em;color:#68806a}
.person-memory-highlight strong{font:17px/1.3 Georgia,serif;color:#345342}
@media(max-width:700px){.person-card-head{min-height:96px;padding:15px 36px 15px 13px}.person-name{font-size:21px}.person-card-body{padding:14px}}
@media(max-width:620px){.year-story{padding:16px 14px}.year-story-head{align-items:start}.year-story-head h3{font-size:25px}.year-story-progress{gap:2px}.year-story-progress span{font-size:8px}.year-story-month,.year-story-month.is-newest{grid-template-columns:1fr;gap:7px;padding:16px 9px}.year-story-date{flex-direction:row;align-items:baseline;gap:8px}.year-story-text h4{font-size:20px}.year-story-text p{font-size:13px}.year-entry-row{grid-template-columns:1fr;gap:5px}.year-entry-row time{font-weight:700}}
.top-lives,.top-home{border:0;background:none;color:#3e6250;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap;padding:8px 2px}.top-lives:hover,.top-home:hover{text-decoration:underline}.nav-bottom .text-link{font-size:12px;cursor:pointer}
.life-list-status{display:block;margin-bottom:5px;color:#698875;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.saved-life-item strong{display:block}
.saved-life-item .saved-life-actions{display:flex;flex:0 0 auto;gap:7px;flex-wrap:wrap;justify-content:flex-end}.saved-life-actions button:last-child{background:#f8faf4}.saved-life-item:has(.saved-life-actions){flex-wrap:wrap}@media(max-width:550px){.saved-life-item .saved-life-actions{width:100%;justify-content:flex-start}}
.life-library-dialog,.life-switch-dialog{border:0;border-radius:16px;padding:0;max-width:min(650px,calc(100vw - 28px));width:100%;box-shadow:0 30px 90px #172b2780;color:#243d33;background:#fbf8f0}.life-library-dialog::backdrop,.life-switch-dialog::backdrop{background:#1b312cc2;backdrop-filter:blur(6px)}
.life-library-shell,.life-switch-shell{padding:30px}.life-library-shell>header{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #d8decf;padding-bottom:15px}.life-library-shell h2,.life-switch-shell h2{font:42px/1.1 Georgia,serif;letter-spacing:-.04em;margin:6px 0}.life-library-shell>header button{border:0;background:#e9eee4;width:38px;height:38px;border-radius:50%;font-size:25px;color:#3c5b49}.life-library-shell>p,.life-switch-shell>p{color:#597063;line-height:1.55}.life-library-shell .saved-life-list{max-height:min(55vh,540px);overflow:auto;padding-right:4px}.life-library-shell>.btn-small{margin-top:19px}.life-switch-actions{display:flex;gap:12px;margin-top:25px}.life-switch-actions button{flex:1;min-height:48px;border:1px solid #bfd0bf;border-radius:7px;background:#f3f6ee;color:#385946;font-weight:700}.life-switch-actions .primary-cta{display:block;background:#315c43;color:#fff;border-color:#315c43}
.life-finale{display:grid;grid-template-columns:230px 1fr;gap:35px;align-items:center;border-radius:16px;padding:30px;background:linear-gradient(130deg,#e5e8dd,#f8f2e8 60%,#e8d7c3);border:1px solid #d8d5c9}.life-finale-portrait{height:255px;overflow:hidden;border:8px solid #fffaf0;border-radius:115px 115px 12px 12px;box-shadow:0 13px 27px #354b3b27}.life-finale-portrait svg{width:100%;height:100%;display:block}.life-finale-copy h3{font:clamp(34px,4vw,52px)/1.05 Georgia,serif;letter-spacing:-.04em;margin:12px 0;color:#284437}.life-finale-copy p{max-width:550px;color:#53665b;line-height:1.65}.life-finale-identity{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:baseline;margin-top:25px;border-top:1px solid #bbcab9;padding-top:15px}.life-finale-identity strong{font:24px Georgia,serif}.life-finale-identity span{font-size:13px;color:#607566}.life-finale-moments{margin:18px 0 26px;padding:25px;border:1px solid #dbe0d5;border-radius:13px;background:#fcfbf6}.life-finale-moments ol{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.life-finale-moments li{padding:16px;background:#f2f2e9;border-radius:8px}.life-finale-moments time{display:block;color:#79917e;font-size:11px;margin-bottom:8px}.life-finale-moments strong{font:17px/1.35 Georgia,serif}.life-finale-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.life-replay{padding:clamp(22px,4vw,42px);border-radius:16px;border:1px solid #d6ddcf;background:#faf8f1}.life-replay>header h3{font:clamp(32px,4vw,49px)/1.1 Georgia,serif;margin:10px 0;color:#2d4b3a}.life-replay>header p{color:#6d7a70}.life-replay-page{display:grid;grid-template-columns:minmax(180px,34%) 1fr;gap:clamp(20px,4vw,45px);align-items:center;min-height:390px;padding:23px;margin:28px 0 18px;border-radius:11px;background:linear-gradient(130deg,#e4e7d9,#efe5d5);border:1px solid #d4d9c9}.life-replay-art{height:315px;overflow:hidden;border:8px solid #fcf8ee;border-radius:130px 130px 9px 9px}.life-replay-art svg{width:100%;height:100%;display:block}.life-replay-date{font-size:11px;font-weight:800;letter-spacing:.14em;color:#738e78;text-transform:uppercase}.life-replay-page h4{font:clamp(29px,3.6vw,45px)/1.1 Georgia,serif;letter-spacing:-.03em;margin:14px 0}.life-replay-page p{font:18px/1.6 Georgia,serif;color:#415849}.life-replay-page blockquote{font:italic 18px/1.5 Georgia,serif;color:#8b705f;border-left:2px solid #c39e83;padding-left:17px;margin:25px 0 0}.life-replay-controls,.life-replay-exit{display:flex;flex-wrap:wrap;gap:8px}.life-replay-controls button,.life-replay-exit button{border:1px solid #c9d5c6;border-radius:6px;padding:10px 14px;background:#f8faf4;color:#355947;font-weight:700}.life-replay-controls button:nth-child(2){background:#315c43;color:white}.life-replay-controls button:disabled{opacity:.4}.life-replay-rail{display:flex;gap:6px;margin:22px 0 30px}.life-replay-rail button{height:7px;flex:1;border:0;border-radius:20px;background:#d4dcd0}.life-replay-rail button[aria-current="step"]{background:#426c50}.life-replay-empty{padding:35px;background:#f5f4e9;border-radius:12px}
@media(max-width:1180px){.top-lives,.top-home{display:none}}
@media(max-width:680px){.life-library-shell,.life-switch-shell{padding:22px}.life-library-shell h2,.life-switch-shell h2{font-size:34px}.life-switch-actions{flex-direction:column}.life-finale{grid-template-columns:110px 1fr;gap:15px;padding:17px}.life-finale-portrait{height:160px;border-width:5px}.life-finale-copy h3{font-size:28px}.life-finale-copy p{font-size:12px}.life-finale-moments ol{grid-template-columns:1fr}.life-replay{padding:15px}.life-replay-page{grid-template-columns:1fr;gap:17px}.life-replay-art{height:220px;width:180px;margin:auto}.life-replay-page h4{font-size:29px}.life-replay-page p{font-size:15px}}

/* V2.25B · new and renewed relationships */
.social-circle-moment{position:relative;overflow:hidden;background:linear-gradient(115deg,#f5f1e7,#e8efe6);border:1px solid #d7e1d4;border-left:4px solid #63856d;border-radius:10px;padding:24px 27px;color:#3f5748;box-shadow:0 10px 28px #25442a0a}
.social-circle-moment .small-overline{color:#63856d;letter-spacing:.13em}
.social-circle-moment h3,.social-circle-recent h3{font:normal clamp(23px,2.6vw,31px)/1.15 Georgia,serif;color:#294a39;margin:8px 0 12px}
.social-circle-moment p{font-size:14px;line-height:1.65;margin:10px 0 15px;max-width:62ch}
.social-circle-moment p strong{color:#294a39;font-size:16px}
.social-circle-moment .subtle-button{display:inline-flex;min-height:36px;align-items:center}
.social-circle-recent{background:#f9f8f2;border-color:#e2e4d7;border-radius:9px;padding:23px 27px}
.social-circle-recent>p{line-height:1.6;margin:0 0 13px}
.social-circle-recent ul{list-style:none;margin:0;padding:0;display:grid;gap:0}
.social-circle-recent li{border-top:1px solid #dce3d8;padding:11px 0;line-height:1.5}
@media(max-width:600px){.social-circle-moment,.social-circle-recent{padding:19px 20px}}

/* V2.25C · relationships that keep their history */
.social-life-panel{background:#fcfaf4;border:1px solid #deded0;border-radius:11px;padding:25px 27px;color:#43584a}
.social-life-panel .small-overline{color:#718979;letter-spacing:.13em}
.social-life-panel h3{font:normal clamp(25px,2.7vw,33px)/1.15 Georgia,serif;color:#2c493a;margin:8px 0 10px}
.social-life-panel>p{line-height:1.6;max-width:64ch;margin:0 0 14px}
.social-life-panel ul{list-style:none;margin:17px 0 0;padding:0;border-top:1px solid #dfe4d9}
.social-life-panel li{display:flex;flex-direction:column;gap:4px;padding:13px 0;border-bottom:1px solid #dfe4d9;line-height:1.5}
.social-life-panel li strong{font:normal 19px Georgia,serif;color:#2c493a}
.social-life-panel li span{font-size:12px;color:#617669}
.social-life-panel .social-life-note{background:#eef2ea;border-radius:6px;padding:12px 15px;margin:15px 0 0}
@media(max-width:600px){.social-life-panel{padding:20px 21px}}
.family-rhythm-panel{background:#fbf7ee;border:1px solid #dfd5c4;border-radius:11px;padding:25px 27px;color:#4d5b4e;scroll-margin-top:110px}
.family-rhythm-panel .small-overline{color:#8a7962;letter-spacing:.13em}
.family-rhythm-panel h3{font:normal clamp(25px,2.7vw,33px)/1.15 Georgia,serif;color:#344b3e;margin:8px 0 10px}
.family-rhythm-panel>p{line-height:1.6;max-width:64ch}
.family-rhythm-panel .social-life-person{display:grid;gap:7px;padding:14px 0;border-top:1px solid #e5ded2}
.family-rhythm-panel .social-life-person strong{font:normal 18px Georgia,serif;color:#344b3e}
.family-rhythm-panel .social-life-person .mini-actions{margin-top:6px}
.family-rhythm-panel .mini-actions{flex-wrap:wrap;align-items:end;margin-top:18px}
.family-rhythm-panel .mini-actions label{display:grid;gap:6px;min-width:min(100%,190px);flex:1;color:#536254;font-size:12px;font-weight:700}
.family-rhythm-panel select{width:100%;min-height:43px}
.family-rhythm-panel .mini-actions button{min-height:43px}
@media(max-width:600px){.family-rhythm-panel{padding:20px 21px}.family-rhythm-panel .mini-actions>*{width:100%}}
.childhood-discoveries{margin:19px 0 24px;padding:20px 23px;background:#faf7ef;border:1px solid #e3ddcf;border-radius:10px;color:#405748}
.childhood-discoveries summary{font:normal clamp(20px,2.2vw,26px)/1.25 Georgia,serif;cursor:pointer;list-style-position:inside}
.childhood-discoveries summary::marker{color:#74917b}
.childhood-discoveries ol{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:0}
.childhood-discoveries li{display:grid;gap:5px;padding:13px 0;border-top:1px solid #e5e3d9}
.childhood-discoveries li span{color:#768b7b;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.childhood-discoveries li strong{font:normal 19px Georgia,serif;color:#334e3d}
.childhood-discoveries li p{margin:0;max-width:65ch;line-height:1.55;font-size:13px}
.childhood-discoveries .mini-footnote{border-top:1px solid #e5e3d9;padding-top:12px;line-height:1.5}
.life-stories-panel{margin:20px 0 25px;padding:26px 29px;border:1px solid #d8d9ce;border-radius:12px;background:linear-gradient(145deg,#fbfaf5,#f2f3eb);color:#385044;scroll-margin-top:110px}
.life-stories-panel .small-overline{color:#6e8a74;letter-spacing:.13em}
.life-stories-panel h3{font:normal clamp(25px,2.8vw,34px)/1.15 Georgia,serif;color:#2e493d;margin:8px 0 10px}
.life-stories-panel>p{max-width:62ch;line-height:1.6;margin:0 0 18px}
.life-story-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:12px}
.life-story-track{align-self:start;background:#fffdf8;border:1px solid #d9ddd2;border-radius:9px;overflow:hidden}
.life-story-track[open]{box-shadow:0 9px 24px #263f2a0d}
.life-story-track summary{min-height:75px;padding:15px 17px;display:flex;justify-content:space-between;align-items:center;gap:13px;cursor:pointer;list-style:none}
.life-story-track summary::-webkit-details-marker{display:none}
.life-story-track summary>span:first-child{display:grid;gap:5px}
.life-story-track summary strong{font:normal 20px/1.2 Georgia,serif;color:#294639}
.life-story-track summary small{font-size:12px;line-height:1.4;color:#617668}
.life-story-track summary>span:last-child{font-size:19px;color:#7c9480;transition:transform .2s}
.life-story-track[open] summary>span:last-child{transform:rotate(180deg)}
.life-story-track ol{list-style:none;padding:0 17px;margin:0}
.life-story-track li{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:12px 0;border-top:1px solid #e6e9e0;line-height:1.45;font-size:13px}
.life-story-track li time{color:#748878;font-size:11px}
.life-story-track li>span{display:grid;gap:5px}
.life-story-track li>span strong{font:normal 16px/1.3 Georgia,serif;color:#31483d}
.life-story-track li>span small{font-size:12px;line-height:1.55;color:#596b60}
.life-story-track .mini-actions{padding:9px 17px 17px;display:flex;gap:8px;flex-wrap:wrap}
.life-story-track .mini-actions button{min-height:39px}
.playable-stories-panel{background:linear-gradient(150deg,#fcfaf2,#f2f5ed);border-color:#d9e2d4}
.playable-story-track .playable-story-body{padding:0 17px 15px}
.playable-story-track .playable-story-state{margin:0 0 9px;padding:10px 12px;border-left:2px solid #8aa98d;background:#f2f6ee;color:#435f4e;font-size:13px;line-height:1.45}
.playable-story-track ol{padding:0}
.playable-story-track .mini-actions{padding:15px 0 2px}
.playable-story-track .mini-actions button:is([data-arc-action="write"],[data-arc-action="revisit"],[data-arc-action="partner_voice"],[data-arc-action="meet"],[data-arc-action="family_time"]){background:#315640;color:#fff;border-color:#315640}
.playable-story-track .mini-actions button:is([data-arc-action="write"],[data-arc-action="revisit"],[data-arc-action="partner_voice"],[data-arc-action="meet"],[data-arc-action="family_time"]):hover{background:#244633}
.playable-story-wait{margin:12px 0 0}
@media(max-width:600px){.life-stories-panel{padding:20px 18px}.life-story-track li{grid-template-columns:80px 1fr}}
@media(prefers-reduced-motion:reduce){.life-story-track summary>span:last-child{transition:none}}
.recomposed-family-panel{margin:20px 0 25px;padding:26px 29px;border:1px solid #dfd5c5;border-radius:12px;background:#faf6ee;color:#4c5146;scroll-margin-top:110px}
.recomposed-family-panel .small-overline{color:#997e64;letter-spacing:.13em}
.recomposed-family-panel h3{font:normal clamp(25px,2.8vw,34px)/1.15 Georgia,serif;color:#414c3e;margin:8px 0 10px}
.recomposed-family-panel>p{line-height:1.6;max-width:64ch;margin:0 0 16px}
.recomposed-family-card{padding:17px 0;border-top:1px solid #e4dacc;display:grid;gap:5px}
.recomposed-family-card>strong{font:normal 20px Georgia,serif;color:#394c3f}
.recomposed-family-card>small{color:#8a8072;font-size:11px}
.recomposed-family-card>p{margin:4px 0 8px;line-height:1.55;font-size:13px}
.recomposed-family-card .mini-actions{display:flex;gap:8px;flex-wrap:wrap;margin:7px 0 3px}
.recomposed-family-card button{min-height:42px}
.child-voice-panel{border-color:#d5ded2;background:linear-gradient(160deg,#fbfcf7,#f5f4e9)}
.child-voice-panel .recomposed-family-card>p{font-size:14px;color:#44584a}
.recomposed-family-panel .mini-footnote{border-top:1px solid #e4dacc;padding-top:15px;margin:6px 0 0;color:#766d61}
.family-timeline-panel{margin:20px 0 25px;padding:22px 28px;border:1px solid #dce1d5;border-radius:12px;background:#f8faf5;color:#3e5548}
.family-timeline-panel summary{cursor:pointer;list-style:none;display:grid;gap:7px}
.family-timeline-panel summary::-webkit-details-marker{display:none}
.family-timeline-panel summary .small-overline{color:#78917b;letter-spacing:.13em}
.family-timeline-panel summary strong{font:normal clamp(22px,2.4vw,30px)/1.2 Georgia,serif;color:#315143}
.family-timeline-panel ol{list-style:none;padding:0;margin:18px 0 0}
.family-timeline-panel li{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:12px 0;border-top:1px solid #e1e6dc}
.family-timeline-panel li time{font-size:11px;color:#6e8975}
.family-timeline-panel li span{display:grid;gap:4px}
.family-timeline-panel li strong{font-size:13px;font-weight:650}
.family-timeline-panel li small{font-size:12px;color:#788779}
@media(max-width:600px){.recomposed-family-panel,.family-timeline-panel{padding:20px 18px}.recomposed-family-card .mini-actions>*{width:100%}.family-timeline-panel li{grid-template-columns:80px 1fr}}

/* The current life is a small, living illustration. The city and the saved
   character remain separate SVG layers, so exports keep their static artwork. */
.scene-hero-v223.is-illustrated{height:clamp(180px,22vw,242px)!important;background:#d9e3d8}
.scene-hero-v223.is-illustrated .hero-landscape img{width:103%;height:103%;max-width:none;transform-origin:center bottom;animation:nav-life-landscape 19s ease-in-out infinite alternate}
.scene-hero-v223 .scene-life-label{position:absolute;z-index:2;left:18px;top:18px;display:flex;flex-direction:column;align-items:flex-start;min-width:160px;max-width:48%;padding:13px 17px 12px;border:1px solid #e8ddc9;border-radius:9px;background:#fffaf0e9;box-shadow:0 9px 24px #29413516;color:#294638}
.scene-hero-v223 .scene-life-label small{font-size:9px;font-weight:750;letter-spacing:.16em;color:#708879}
.scene-hero-v223 .scene-life-label strong{font:normal clamp(24px,3vw,35px)/1.1 Georgia,serif;letter-spacing:-.04em;margin:5px 0 3px;overflow-wrap:anywhere}
.scene-hero-v223 .scene-life-label span{font-size:12px;color:#576e5e}
.scene-hero-v223 .scene-figure{position:absolute;right:10%;bottom:-3px;z-index:2;width:auto;height:98%;aspect-ratio:180/290;transform-origin:center bottom;animation:nav-life-breath 4.8s ease-in-out infinite}
.scene-hero-v223 .scene-figure:before{content:"";position:absolute;inset:10% -20% 5%;border-radius:52% 52% 28% 28%;background:radial-gradient(ellipse at center,#fff4dc9e 0%,#fff4dc47 43%,transparent 72%)}
.scene-hero-v223 .scene-figure:after{content:"";position:absolute;left:10%;right:10%;bottom:1%;height:7%;border-radius:50%;background:#344a3c39}
.scene-hero-v223.is-infant .scene-figure:after{z-index:2;left:-7%;right:-7%;bottom:0;height:23%;border-radius:7px 7px 22px 22px;background:linear-gradient(#e8d8c0,#cab89f);border:2px solid #ae9a81;box-shadow:0 7px 15px #554d4240}
.scene-hero-v223.is-infant .scene-figure{animation:none}
.scene-hero-v223 .scene-figure-pose{position:absolute;inset:0;display:block;z-index:1}
.scene-hero-v223 .scene-figure-pose svg{display:block;width:100%;height:100%}
.scene-hero-v223 .scene-figure-rest{animation:nav-life-rest 4.8s steps(1,end) infinite}
.scene-hero-v223 .scene-figure-step{opacity:0;animation:nav-life-step 4.8s steps(1,end) infinite}
.scene-hero-v223 .scene-place-label{z-index:3;box-shadow:0 2px 10px #243c3021}
.scene-hero-v223:not(.motion-paused) .scene-figure,.scene-hero-v223:not(.motion-paused) .hero-landscape img{will-change:transform}
.scene-hero-v223.motion-paused .scene-figure,.scene-hero-v223.motion-paused .scene-figure-pose,.scene-hero-v223.motion-paused .hero-landscape img{animation-play-state:paused;will-change:auto}
@keyframes nav-life-landscape{from{transform:translateX(0) scale(1)}to{transform:translateX(-1.2%) scale(1.025)}}
@keyframes nav-life-breath{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes nav-life-rest{0%,45%,65%,100%{opacity:1}46%,64%{opacity:0}}
@keyframes nav-life-step{0%,45%,65%,100%{opacity:0}46%,64%{opacity:1}}
html[data-v225-motion="reduced"] .scene-hero-v223 .scene-figure,html[data-v225-motion="reduced"] .scene-hero-v223 .scene-figure-pose,html[data-v225-motion="reduced"] .scene-hero-v223 .hero-landscape img,
html[data-v225-motion="static"] .scene-hero-v223 .scene-figure,html[data-v225-motion="static"] .scene-hero-v223 .scene-figure-pose,html[data-v225-motion="static"] .scene-hero-v223 .hero-landscape img{animation:none!important;will-change:auto}
html[data-v225-motion="reduced"] .scene-hero-v223 .scene-figure-rest,html[data-v225-motion="static"] .scene-hero-v223 .scene-figure-rest{opacity:1}
html[data-v225-motion="reduced"] .scene-hero-v223 .scene-figure-step,html[data-v225-motion="static"] .scene-hero-v223 .scene-figure-step{opacity:0}
@media(max-width:610px){.scene-hero-v223.is-illustrated{height:184px!important}.scene-hero-v223 .scene-figure{right:5%;height:94%}.scene-hero-v223 .scene-life-label{left:11px;top:11px;min-width:0;max-width:54%;padding:9px 11px}.scene-hero-v223 .scene-life-label small{font-size:8px}.scene-hero-v223 .scene-life-label strong{font-size:24px}.scene-hero-v223 .scene-life-label span{font-size:11px}.scene-hero-v223 .scene-place-label{left:11px;bottom:10px}}
.impact-story{background:#f7f6ef;border-color:#dfe4d9;box-shadow:none}
.impact-story-body{max-width:68ch;margin:5px 0 0;color:#344d3f;font-size:16px;line-height:1.72}
.impact-numbers{margin-top:14px;border-top:1px solid #d9e2d6;padding-top:10px}
.impact-numbers summary{cursor:pointer;color:#42654f;font-size:14px;font-weight:650}
.impact-numbers .impact-rows{margin-top:12px}
.year-story-fold{margin:18px 0;border-top:1px solid #dce5da;border-bottom:1px solid #dce5da;padding:13px 0}
.year-story-fold>summary{cursor:pointer;list-style:none;color:#315743;font:normal 20px/1.35 Georgia,serif;padding:7px 3px}
.year-story-fold>summary::-webkit-details-marker{display:none}
.year-story-fold>summary:after{content:'⌄';float:right;font:23px/1 sans-serif;color:#6c8b75;margin-right:8px}
.year-story-fold[open]>summary:after{transform:rotate(180deg)}
.year-story-fold>.year-story{margin-top:14px}
.right-person-row{align-items:flex-start}
.right-person-row strong{font-size:16px}
.right-person-row small{font-size:13px;line-height:1.45}
.right-person-row .person-latest{color:#42644e;font-size:14px;margin-top:7px;line-height:1.5}
.year-story-text p{font-size:15px}
.month-story-card .month-story-body{font-size:16px}
@media(max-width:620px){.year-story-text p{font-size:15px}.impact-story-body{font-size:16px}}
