/* One shared hierarchy for daily decisions, work, growth and records. */
:root{--bg:#101622;--surface:#1b2433;--surface2:#253145;--line:#3c495f;--text:#f4f6fc;--muted:#b9c5d8;--pink:#f5b4ce;--gold:#f1d49b;--teal:#9de0d0;--blue:#b2d4ff;--pink-dark:#3b293d}
body{background:var(--bg);line-height:1.75}button,select,input{font-size:1rem}button{touch-action:manipulation}h1,h2,h3{font-family:var(--sans);font-weight:600;letter-spacing:0}.card{background:var(--surface);border-color:var(--line);border-radius:18px;box-shadow:none}p{overflow-wrap:anywhere}.button{min-height:48px;height:auto;padding:12px 16px;font-size:1rem;border-radius:12px;white-space:normal;line-height:1.6}.quiet{background:var(--surface2);border-color:var(--line);color:var(--text)}.primary{background:var(--pink);color:#311b29;font-weight:700}.text-button{font-size:.875rem;min-height:44px}select,input[type=number]{background:var(--bg);border:1px solid #63718a;color:var(--text);min-height:48px;border-radius:10px;padding:10px;font-size:1rem}summary{cursor:pointer}summary:focus-visible{outline:2px solid var(--pink);outline-offset:3px}small,.small{font-size:.875rem}.eyebrow{font-family:var(--sans);font-size:.875rem;letter-spacing:.06em;color:var(--pink)}
.header{height:80px;padding:16px 28px;background:#101622f5;border-color:var(--line);gap:16px}.brand>span{font-size:1.2rem;letter-spacing:.08em}.brand small{font-size:.75rem;letter-spacing:.02em}.header-wallet{background:var(--surface);border-color:var(--line);color:var(--pink);min-height:44px;gap:8px}.header-wallet span{color:var(--text);font-size:.875rem}.header nav{left:20px;top:108px;bottom:24px;width:180px;gap:8px}.header .nav-item{border-radius:12px;min-height:58px;font-size:1rem;color:var(--muted);gap:12px;padding:14px 16px}.header .nav-item.active{background:#3d2c40;color:#ffd5e6;box-shadow:inset 3px 0 var(--pink)}.header .nav-item:hover{background:var(--surface2)}.settings-button{border-color:var(--line);min-width:44px;min-height:44px}main{margin:0 auto 0 220px;max-width:1440px;padding:0 32px 48px}.status-strip{min-height:58px;padding:14px 0;font-size:.875rem}.deadline-status{background:transparent;color:var(--muted);font-size:.875rem;min-height:36px}.daily-summary{display:grid;grid-template-columns:1fr 1fr 1.15fr;border:1px solid var(--line);border-radius:16px;background:var(--surface);margin-bottom:28px;overflow:hidden}.daily-summary>div,.daily-summary>button{padding:16px 24px;min-width:0;border-right:1px solid var(--line)}.daily-summary>button{background:#243046;text-align:left;border:0}.daily-summary span{display:block;font-size:.875rem;color:var(--muted)}.daily-summary strong{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:1.35rem;font-weight:600;font-variant-numeric:tabular-nums}.daily-summary>button strong{font-size:1rem;color:var(--gold)}
.today-guide{margin-bottom:22px}.guide-copy h1{font-size:clamp(1.35rem,2.2vw,1.9rem);margin:5px 0 7px;line-height:1.5}.guide-copy p{color:var(--muted);font-size:1rem}.daily-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.daily-choices>button{display:grid;grid-template-columns:44px 1fr 18px;grid-template-rows:auto auto;gap:0 12px;text-align:left;background:var(--surface);border:1px solid var(--line);padding:18px;border-radius:16px;color:var(--text);min-width:0}@media(hover:hover) and (pointer:fine){.daily-choices>button:hover{border-color:var(--pink);background:#344057}}.choice-icon{grid-row:1/3;align-self:center;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#ffffff0b;color:var(--pink)}.daily-choices strong{font-size:1.1rem}.daily-choices small{grid-column:2;font-size:.875rem;color:var(--muted)}.daily-choices>button>.icon{grid-column:3;grid-row:1/3;align-self:center;width:16px}.today-guide>.button{margin-top:18px}
.vitals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:16px;margin:0 0 24px}.vital-label{display:flex;align-items:center;gap:7px;font-size:.875rem;flex-wrap:wrap}.vital-label strong{margin-left:auto;font-size:1.1rem}.vital-label small{font-size:.75rem}.meter{height:7px;border-radius:5px;background:#ffffff15}.meter i{border-radius:5px}.home-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:24px;align-items:start}.home-room,.home-aside{min-width:0}.home-aside{display:grid;gap:18px}.home-aside>.card{margin:0}.room-card{background:var(--surface);padding-bottom:20px}.room-heading{padding:20px 22px 12px}.room-heading>div>span{color:var(--muted)}.room-scene-wrap{background:#222b3c}.room-viewport{height:clamp(320px,31vw,450px)}.room-life-bar{padding-top:16px}.room-activities button{background:var(--surface2);border-color:var(--line);color:var(--text);min-height:48px}.room-thought{border-color:var(--line)}.room-hint,.room-thought>span,.room-motion-note{font-size:.875rem;color:var(--muted)}.home-aside .finance{display:flex;padding:22px}.finance .debt-amount{font-size:2rem}.finance .deadline{gap:10px;flex-wrap:wrap}.finance .repay-button{width:100%;margin-top:18px}.condition-details>summary{font-size:1rem;color:var(--text);padding:16px}.condition-details{border-color:var(--line)}.receipt-preview{width:100%;padding:18px;gap:12px;flex-wrap:wrap;text-align:left}.receipt-preview>span:nth-child(2){flex:1;min-width:150px}.receipt-preview strong{font-size:1rem}.receipt-preview>b{font-size:1.15rem}.receipt-preview small,.receipt-day{font-size:.875rem}.welcome-note{padding:20px}.welcome-note p{font-size:1rem}
.page-heading{padding:0;margin:0 0 24px}.page-heading h1{font-size:clamp(1.5rem,2.6vw,2rem);font-family:var(--sans);line-height:1.5}.page-heading p{font-size:1rem;color:var(--muted);margin-top:8px}.work-steps{list-style:none;display:flex;padding:0;margin:0 0 24px;gap:24px;color:var(--muted);font-size:.875rem}.work-steps li{display:flex;align-items:center;gap:8px}.work-steps b{display:grid;place-items:center;background:var(--surface2);border:1px solid var(--line);color:var(--pink);width:28px;height:28px;border-radius:50%;flex-shrink:0}.work-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,1fr);gap:24px;align-items:start}.work-layout>aside{display:grid;gap:20px;min-width:0}.work-layout .vitals{grid-template-columns:1fr 1fr;margin:0}.plan-card{padding:24px}.card-heading h2{font-size:1.15rem}.mode-switch{background:var(--bg);padding:5px;gap:5px;border:1px solid var(--line);border-radius:12px}.mode-switch button{min-height:46px;font-size:.9375rem;border-radius:8px}.mode-switch .selected,.post-counts .selected,.face-options .selected{background:#483349;border-color:#a77792;color:#ffe0ee}.selected-shop{margin-top:18px;background:var(--surface2);border:0;border-radius:12px;padding:12px;gap:12px}.selected-shop small{font-size:.875rem}.plan-selects{gap:14px;margin-top:20px}.plan-selects label>span{font-size:.9375rem;color:var(--text)}.estimate{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:16px}.estimate strong{font-size:2rem;color:var(--teal)}.forecast-meta{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:.875rem;padding:14px 0}.work-button{width:100%;margin-top:12px}.rest-row{margin-top:12px;gap:8px}.rest-row .button{font-size:.9375rem}.plan-warning{font-size:.9375rem;background:#49312c;color:#ffdbc3;border-radius:10px;padding:12px;line-height:1.75}.plan-shortcuts button{background:var(--surface2);font-size:.875rem;min-height:46px}.work-support{padding:22px}.work-support h2{font-size:1.1rem;margin-bottom:14px}.work-support>button{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border-bottom:1px solid var(--line);padding:16px 0;text-align:left;min-height:56px}.work-support>button>.icon:last-child{margin-left:auto;width:16px}.work-support>button>span{font-size:.875rem;color:var(--muted)}.work-support p{font-size:.9375rem;color:var(--muted);margin-top:18px}.work-layout .receipt-preview{margin:0}
.travel-layout{gap:24px}.shop-card,.investment{border-color:var(--line);background:var(--surface)}.shop-card h2{font-family:var(--sans);font-size:1.2rem}.shop-card p,.investment p,.routine-card p{font-size:1rem}.shop-card.selected{border-color:var(--pink)}.shop-grid{gap:16px}.record-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;margin-bottom:20px}.record-tabs button{min-height:44px;border:1px solid var(--line);border-radius:10px;padding:8px 16px;font-size:.9375rem;white-space:nowrap;background:var(--surface)}.record-tabs .selected{background:#443148;color:#ffdaeb;border-color:#a67894}.journal-stats .card{border-radius:16px}.settings-card{background:var(--surface)}.diary-settings,.diary-preview,.diary-history{border-radius:18px}.diary-settings .small{font-size:.9375rem}.post-counts button{min-height:80px}.face-options button{padding:16px}.diary-effects{font-size:.9375rem}dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:22px}dialog::backdrop{background:#060b16bf;backdrop-filter:blur(5px)}.event-body,.event-choice small,.help-content p{font-size:1rem}.event-choice{background:var(--surface2);border-color:var(--line);padding:18px}.toast{background:#e5eefb;color:#172032}.balance-label{font-size:.9375rem}.status-strip .deadline-status{font-size:.875rem}
@media(min-width:1500px){main{margin-left:240px}}
@media(max-width:1150px){main{margin-left:184px;padding:0 22px 40px}.header nav{width:150px;left:16px}.home-layout,.work-layout{grid-template-columns:minmax(0,1fr)}.home-aside{grid-template-columns:1fr 1fr}.home-aside>*{min-width:0}.daily-choices>button{padding:14px;grid-template-columns:1fr 16px;gap:3px}.choice-icon{display:none}.daily-choices strong{grid-column:1}.daily-choices small{grid-column:1}.daily-choices>button>.icon{grid-column:2}.work-layout>aside{grid-template-columns:1fr 1fr}.work-support{grid-row:span 2}.room-activities{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:800px){.header{padding:12px 16px;height:70px;min-height:70px;gap:10px}.brand>span{font-size:1.05rem}.brand small{display:none}.header-wallet{margin-left:auto;padding:8px 10px}.header-wallet span{font-size:.875rem}.header-wallet>.icon{display:none}.header nav{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;height:auto;min-height:72px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:#111a29f5;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;backdrop-filter:blur(12px)}.header .nav-item{flex-direction:column;justify-content:center;gap:3px;min-height:58px;padding:7px 2px;font-size:.875rem;border-radius:10px}.header .nav-item .icon{width:22px;height:22px}.header .nav-item.active{box-shadow:inset 0 2px var(--pink)}main,.screen-life{margin:0;max-width:none;padding:0 16px calc(108px + env(safe-area-inset-bottom))}.status-strip{padding:10px 0;min-height:50px}.daily-summary{margin-bottom:24px;grid-template-columns:1fr 1fr;border-radius:14px}.daily-summary>div{padding:12px 16px}.daily-summary>div:nth-child(2){border-right:0}.daily-summary>button{grid-column:1/-1;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;min-height:46px}.daily-summary strong{font-size:1.2rem}.daily-summary>button strong{font-size:.875rem}.daily-summary span{font-size:.875rem}.guide-copy h1{font-size:1.35rem}.daily-choices{gap:8px;margin-top:16px}.daily-choices>button{padding:14px 8px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:6px}.choice-icon{display:grid;width:38px;height:38px}.daily-choices strong{font-size:1rem}.daily-choices small{font-size:.875rem;line-height:1.5}.daily-choices>button>.icon{display:none}.vitals{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px;margin-bottom:20px}.vital-label{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:.875rem}.vital-label>.icon{display:none}.vital-label strong{margin:0;font-size:1.05rem}.home-layout,.home-aside,.work-layout,.work-layout>aside{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.work-support{grid-row:auto}.room-viewport{height:340px}.room-activities{grid-template-columns:repeat(3,minmax(0,1fr))}.room-activities button{flex-direction:row}.room-heading{padding:18px 16px 10px}.room-thought{margin-bottom:0}.work-steps{gap:10px;justify-content:space-between;flex-wrap:wrap}.work-steps li{gap:5px;font-size:.875rem}.work-steps b{width:24px;height:24px}.plan-card{padding:18px}.plan-selects{gap:12px}.plan-selects .estimate strong{font-size:1.8rem}.work-layout .vitals{grid-template-columns:repeat(4,minmax(0,1fr))}.travel-layout{display:flex;flex-direction:column;gap:20px}.travel-layout>aside{width:100%}.investment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.diary-layout{display:flex;flex-direction:column}.diary-layout>aside{display:block}.diary-preview{max-width:440px;margin:auto}.diary-image{aspect-ratio:4/3}.diary-stats{display:grid;grid-template-columns:1fr 1fr;margin:16px 0}.diary-risk{margin-top:10px;font-size:.9375rem}.post-counts{gap:6px}.face-options{grid-template-columns:1fr 1fr}.receipt-sheet{border-radius:22px 22px 0 0}.toast{bottom:calc(92px + env(safe-area-inset-bottom))}.page-heading{margin-bottom:20px}#today-plan{scroll-margin-top:86px}}
@media(max-width:380px){.brand>.icon{display:none}.daily-summary>button{flex-wrap:wrap}.daily-choices small{font-size:.875rem}.investment-grid,.face-options{grid-template-columns:1fr}.work-steps{flex-direction:column}.rest-row{flex-wrap:wrap}.rest-row .button{flex:1}.header .nav-item{font-size:.8125rem}.vitals{gap:8px}.room-viewport{height:310px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.button{transition:none}}

.rest-modal-label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0;font-size:1rem}.rest-modal-label select{min-width:120px}.trait-label,.routine-card small,.routine-reason,.investment-effects,.growth-chip,.shop-kicker,.shop-familiarity small{font-size:.875rem}.routine-card p,.profile-intro p{font-size:1rem}

/* Narrative illustrations replace the WebGL room on Today. */
.illustrated-day{overflow:hidden}.illustrated-day>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px}.illustrated-day header>div>span{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:.875rem}.illustrated-day h2{font-size:1.3rem;margin-top:4px}.illustrated-day h2 small{font-size:.875rem;color:var(--muted);font-weight:400;margin-left:8px}.today-illustration{width:100%;aspect-ratio:9/4;background-image:var(--art-url);background-size:200% 300%;background-position:var(--art-x) var(--art-y);background-repeat:no-repeat;background-color:#303044}.illustration-caption{padding:20px 22px 12px}.illustration-state{font-size:1.1rem;font-weight:600;color:var(--pink)}.illustration-caption p{font-family:var(--serif);font-size:1.05rem;margin-top:8px;line-height:1.9}.illustration-mood{display:flex;align-items:center;gap:7px;margin-top:14px;color:var(--muted);font-size:.875rem}.illustration-note{margin:0 22px;padding:12px 0 18px;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted)}.modal-life-art{border-radius:14px;margin-bottom:20px;clear:both}.home-layout{grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr)}
@media(max-width:1150px){.home-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.illustrated-day>header{padding:15px;flex-wrap:wrap}.illustrated-day h2{font-size:1.2rem}.illustration-caption{padding:16px}.illustration-note{margin:0 16px}.illustrated-day header .text-button{font-size:.875rem}}
/* An ongoing story sits beside the daily economy. */
.story-shortcut{display:grid;width:100%;text-align:left;padding:18px 22px;gap:5px;margin:0 0 20px;background:linear-gradient(110deg,#35293e,#1d2b3c);border-color:#6b526e}.story-shortcut strong{font-size:1.1rem}.story-shortcut>span:last-child{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;color:var(--muted)}.story-chapter-label{color:var(--pink);font-size:.875rem}.chapter-track{display:flex;gap:6px;margin:0 0 24px}.chapter-track>span{flex:1;border-top:3px solid var(--line);padding-top:8px;font-size:.875rem;color:var(--muted);text-align:center}.chapter-track .active{color:var(--pink);border-color:var(--pink)}.chapter-track .done{color:var(--teal);border-color:var(--teal)}.story-intro{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;margin-bottom:24px}.story-intro .today-illustration{border-radius:16px}.story-intro h2{font-size:1.4rem;line-height:1.6;margin:8px 0}.story-intro p,.story-lead{font-size:1rem;color:var(--muted)}.story-lead{margin-bottom:22px}.route-grid,.offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.route-card{padding:22px;display:flex;flex-direction:column;gap:12px}.route-card>span{color:var(--pink);font-size:.875rem}.route-card h3{font-size:1.12rem}.route-card p{color:var(--muted);font-size:1rem;flex:1}.route-card.chosen{border-color:var(--pink);background:#342a3f}.route-card .button{width:100%}.route-steps,.story-offer{padding:24px;margin-top:24px}.route-steps h2,.story-offer h2{font-size:1.25rem}.route-steps ol{list-style:none;padding:0;margin:18px 0}.route-steps li{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);color:var(--muted)}.route-steps li>span{flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--surface2);display:grid;place-items:center}.route-steps li strong{display:block;color:var(--text)}.route-steps li small{font-size:.875rem}.route-steps .current>span{background:var(--pink);color:var(--bg)}.route-steps .done>span{color:var(--teal)}.route-steps li>b{margin-left:auto;font-size:.875rem;color:var(--pink)}.story-reason{font-size:.875rem;color:var(--muted);margin-top:10px}.story-success{color:var(--teal);padding:14px 0}.story-offer>p{color:var(--muted);margin:12px 0 20px}.offer-grid article{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--bg);display:flex;flex-direction:column;gap:12px}.offer-grid h3{font-size:1.05rem}.offer-grid article>p:not(.story-reason){flex:1;font-size:.9375rem;color:var(--muted)}.companion-grid{display:grid;gap:20px}.person-card{display:flex;gap:20px;padding:24px}.person-avatar{width:56px;height:56px;display:grid;place-items:center;flex-shrink:0;background:#403049;border-radius:16px;color:var(--pink)}.person-card h2{font-size:1.3rem}.person-card p{margin:12px 0;color:var(--muted)}.story-progress{display:block;font-size:.875rem;color:var(--pink);margin:12px 0}.client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.client-card{padding:22px}.client-card>header{display:flex;gap:12px;align-items:center}.client-card header h3{font-size:1.15rem}.client-card header div>span{font-size:.875rem;color:var(--pink)}.client-monogram{width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;border:1px solid #6c7d94;border-radius:50%;font-family:var(--serif);font-size:1.25rem;color:var(--blue);background:#2b374b}.client-card>p{font-size:1rem;margin:16px 0;color:var(--muted)}.client-status{display:flex;flex-wrap:wrap;gap:8px 20px;color:var(--muted);font-size:.875rem;margin-bottom:16px}.client-card .button[aria-pressed=true]{border-color:var(--pink);color:var(--pink)}.client-card .text-button{display:flex}.story-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.story-section-heading h2{font-size:1.3rem}.story-section-heading>span{white-space:nowrap;color:var(--pink)}.story-inbox{padding:22px;margin-bottom:24px;border-color:#866883}.story-inbox h2{font-size:1.15rem}.story-inbox>button{display:flex;justify-content:space-between;align-items:center;text-align:left;width:100%;padding:16px 0;background:transparent;border-bottom:1px solid var(--line);gap:12px}.story-inbox>button>span{font-size:.875rem;color:var(--muted)}.story-inbox strong{display:block;font-size:1.05rem;color:var(--text);margin-top:4px}.story-memory-list{list-style:none;padding:0;display:grid;gap:16px}.story-memory-list li{padding:22px}.story-memory-list li>span,.story-dialog-memory>span{font-size:.875rem;color:var(--pink)}.story-memory-list h3,.story-dialog-memory h3{font-size:1.1rem;margin:8px 0}.story-memory-list b,.story-dialog-memory b{font-size:.9375rem;font-weight:500;color:var(--muted)}.story-memory-list p,.story-dialog-memory p{font-size:1rem;margin-top:10px}.story-dialog-memory{padding:20px 0;border-bottom:1px solid var(--line)}.story-schedule-note,.story-receipt-notice{background:#3b2d42;border:1px solid #7f627d;border-radius:12px;padding:14px;font-size:.9375rem;margin-bottom:18px}.story-schedule-note .text-button{display:flex;color:var(--pink)}.story-receipt-notice p{margin-bottom:12px}
@media(max-width:1150px){.route-grid,.offer-grid{grid-template-columns:1fr}.route-card{display:grid;grid-template-columns:1fr auto}.route-card>span,.route-card>h3,.route-card>p{grid-column:1}.route-card>.button{grid-column:2;grid-row:1/4;align-self:center}.story-intro{grid-template-columns:1fr}}
@media(max-width:800px){.header nav{grid-template-columns:repeat(6,minmax(0,1fr))}.header .nav-item{font-size:.8125rem}.story-shortcut{padding:16px}.route-card{display:flex}.route-steps,.story-offer,.client-card,.person-card,.story-inbox{padding:18px}.client-grid{grid-template-columns:1fr}.person-card{gap:12px}.person-avatar{width:38px;height:38px;border-radius:10px}.person-card>div{min-width:0}.route-steps li>b{display:none}.story-section-heading{flex-wrap:wrap}.story-section-heading h2{font-size:1.15rem}.story-intro{gap:16px}.story-intro h2{font-size:1.25rem}.story-memory-list li{padding:18px}.story-shortcut strong{font-size:1rem}}

/* A conversation belongs to the day; recovery is a visible change of pace. */
.conversation-heading{display:flex;gap:14px;align-items:center;margin-bottom:22px}
.conversation-heading p{font-size:1.2rem;font-weight:600;margin-top:3px}
.conversation-modal .event-choice{display:flex;align-items:center;gap:14px;text-align:left}
.conversation-modal .event-choice>.icon{margin-left:auto;flex-shrink:0}
.conversation-modal .event-choice .choice-number{flex-shrink:0}
.conversation-modal .event-body{border-left:2px solid #ad8bac;padding-left:18px;line-height:1.95}
.conversation-reply{margin:18px 0;padding:16px 20px;border-left:3px solid var(--pink);background:var(--surface2);border-radius:0 12px 12px 0;font-size:1rem}
.conversation-saved{display:flex;gap:8px;align-items:center;font-size:.875rem;color:var(--muted);margin:24px 0}
.story-receipt-notice h3{font-size:1rem;display:flex;align-items:center;gap:8px}
.story-receipt-notice article{margin-top:14px;padding-top:14px;border-top:1px solid #ffffff20}
.story-receipt-notice article strong,.story-receipt-notice article small{display:block;font-size:.9375rem}
.story-receipt-notice article small{color:var(--muted);margin:6px 0}
.receipt-care-summary{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;padding:16px;margin:0 0 20px;border:1px solid #be8fa9;border-radius:12px;background:#402c41;font-size:1rem;color:#ffe4ee}
.receipt-care-summary span{font-size:.875rem}
.recovery-banner{margin:0 0 24px;padding:22px;border-color:#ac839e;background:linear-gradient(120deg,#30283c,#1e2a3d)}
.recovery-banner-heading{display:flex;align-items:center;gap:12px;color:#dfcadf}
.recovery-banner-heading>.icon{width:28px;height:28px}
.recovery-banner-heading>span:first-of-type{flex:1;font-size:.875rem}
.recovery-banner-heading strong{display:block;color:var(--text);font-size:1.3rem;margin-top:3px}
.recovery-badge{padding:4px 12px;border:1px solid #bf8eae;border-radius:8px;color:#ffd9e9;font-size:.875rem;white-space:nowrap}
.recovery-banner progress{display:block;width:100%;height:9px;appearance:none;border:0;border-radius:8px;background:#ffffff15;overflow:hidden;margin:18px 0 12px;accent-color:var(--pink)}
.recovery-banner progress::-webkit-progress-bar{background:#ffffff15;border-radius:8px}
.recovery-banner progress::-webkit-progress-value{background:var(--pink);border-radius:8px}
.recovery-banner progress::-moz-progress-bar{background:var(--pink);border-radius:8px}
.recovery-banner p{font-size:.9375rem;color:var(--muted)}
.recovery-banner .button{margin-top:16px}
dialog.recovery-modal{padding:0;width:min(680px,calc(100% - 32px));max-width:680px;max-height:calc(100dvh - 32px);border:1px solid #bd88a1;border-radius:24px;background:#191a28;box-shadow:0 22px 100px #03040ce6;overflow-y:auto;overscroll-behavior:contain}
dialog.recovery-modal::backdrop{background:#030511ed;backdrop-filter:blur(12px)}
.recovery-cinema{position:relative;overflow:hidden;border-bottom:1px solid #9e71804a}
.recovery-art{filter:saturate(.45) brightness(.65)}
.recovery-quote{position:absolute;inset:auto 0 0;padding:48px 24px 20px;background:linear-gradient(transparent,#191a28f5);font-family:var(--serif);font-size:clamp(1rem,3.3vw,1.3rem);text-align:center;color:#f4e2ea;line-height:1.8}
.recovery-content{padding:26px 32px 20px}
.recovery-label{display:flex;align-items:center;gap:8px;color:#e4adc8;font-size:.875rem;letter-spacing:.08em}
.recovery-content h2{font-family:var(--serif);font-size:clamp(1.8rem,7.2vw,3rem);line-height:1.45;letter-spacing:.02em;margin:12px 0 16px;color:#ffe1ed;overflow-wrap:anywhere}
.recovery-body{font-size:1rem;line-height:1.85;color:#d9d2e1}
.recovery-duration{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #816679;border-bottom:1px solid #816679;padding:18px 0;margin:24px 0}
.recovery-duration>span{font-size:1rem;color:#eed5e2}
.recovery-duration>span>small{display:block;font-size:.875rem;color:#c9bdd0;margin-top:5px}
.recovery-duration>strong{font-size:3.5rem;font-weight:500;color:#f5c5db;line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums}
.recovery-duration>strong>small{font-size:1.2rem;margin-left:6px}
.recovery-steps{display:grid;gap:18px;margin:0 0 22px;padding:0;list-style:none}
.recovery-steps li{display:flex;align-items:flex-start;gap:12px}
.recovery-steps li>span{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #6d6279;border-radius:9px;color:#c6b3ce}
.recovery-steps .current>span{background:#59394f;border-color:#d69ebc;color:#ffdfed}
.recovery-steps .done>span{color:var(--teal);border-color:#66998f}
.recovery-steps strong{font-size:1rem;font-weight:500}
.recovery-steps p{font-size:.875rem;color:#c9bdd0;line-height:1.7;margin-top:3px}
.recovery-return{display:flex;align-items:flex-start;gap:9px;font-size:.9375rem;color:#d4bfda;padding:14px;border-radius:12px;background:#ffffff08;margin:18px 0}
.recovery-return>.icon{margin-top:3px}
.recovery-cost-note{font-size:.875rem;color:#c9bdd0;margin:18px 0;line-height:1.75}
.recovery-content>.button{width:100%;margin:6px 0 0}
.recovery-sound{display:flex;width:100%;justify-content:center;margin-top:8px;color:#bbaec8}
.recovery-finish{display:flex;align-items:center;gap:12px;margin:24px 0;padding:20px;background:#34544b55;border:1px solid #659d8f;border-radius:14px;color:#b5e7d8;font-size:1rem}
.recovery-complete .recovery-art{filter:none}
.recovery-complete .recovery-content h2,.recovery-complete .recovery-label{color:#d4f1e6}
.recovery-complete .recovery-content>.primary{background:#b3e4d3;color:#20382f}
.recovery-start:not(.motion-paused) .recovery-art{animation:recovery-dim 1s ease-out both}
.recovery-start:not(.motion-paused) h2{animation:recovery-title .65s .2s cubic-bezier(.2,.8,.3,1.2) both}
.recovery-complete:not(.motion-paused) .recovery-cinema{animation:recovery-morning .85s ease-out both}
@keyframes recovery-dim{from{filter:saturate(.6) brightness(.28)}to{filter:saturate(.45) brightness(.65)}}
@keyframes recovery-title{from{opacity:0;transform:translateY(-10px) rotate(-3deg)}to{opacity:1;transform:none}}
@keyframes recovery-morning{from{opacity:.45}to{opacity:1}}
@media(max-width:600px){dialog.recovery-modal{width:100%;max-width:100%;max-height:100dvh;height:100dvh;margin:0;inset:0;border:0;border-radius:0}.recovery-content{padding:22px 22px calc(16px + env(safe-area-inset-bottom))}.recovery-cinema{padding-top:env(safe-area-inset-top)}.recovery-duration{padding:16px 0;margin:20px 0}.recovery-banner{padding:18px}.recovery-banner-heading strong{font-size:1.2rem}.recovery-content h2{font-size:2rem}}
@media(prefers-reduced-motion:reduce){.recovery-modal *{animation:none!important;transition:none!important}}
