:root{--forest:#1d473c;--forest-dark:#173c32;--forest-muted:#4f776b;--peach:#e7b09b;--peach-deep:#b87e71;--cream:#f8f7f3;--paper:#fffefa;--sage:#e9f0e7;--sage-dark:#dce8dc;--text:#273d35;--muted:#74857b;--line:#e4e9e2;--shadow:0 16px 45px rgba(21,52,42,.055);--radius:20px;--display:Georgia,'Times New Roman',serif;--sans:Inter,'Segoe UI',Arial,sans-serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--text);font:15px/1.6 var(--sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:#326c5a}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12}h1,h2{font-family:var(--display);letter-spacing:-.025em}h3{letter-spacing:-.01em}h1{font-size:clamp(38px,4.6vw,66px)}h2{font-size:clamp(28px,3vw,40px)}h3{font-size:20px}p{color:var(--muted)}:focus-visible{outline:3px solid #ce916d;outline-offset:3px}.skip-link{position:absolute;left:15px;top:-100px;background:white;padding:10px 15px;z-index:1000}.skip-link:focus{top:10px}
.shell{min-height:100vh;display:grid;grid-template-columns:252px minmax(0,1fr)}.sidebar{background:var(--forest-dark);color:#e6f3ea;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:28px 18px;gap:26px}.logo{display:flex;align-items:center;gap:10px;padding:3px 8px}.logo-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#eab7a1;color:var(--forest);font-size:23px;font-weight:bold}.logo-title{font-weight:800;font-size:21px;color:#fff;letter-spacing:-.06em}.logo-subtitle{font-size:9px;font-weight:800;letter-spacing:.19em;color:#afc8ba;line-height:1}.nav-label{font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.17em;color:#89b4a6;margin:14px 13px 12px}.nav-group{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;color:#d4e5dc;font-weight:650;font-size:13px;border-radius:11px;text-align:left;padding:12px 14px;transition:background .15s,color .15s}.nav-link:hover{background:#2b5d4f;color:white}.nav-link.active{background:#e7f1e9;color:var(--forest-dark)}.nav-icon{font-size:17px;width:20px;flex-shrink:0;text-align:center}.sidebar-bottom{margin-top:auto}.sidebar-quote{background:#2a6455;border-radius:14px;padding:20px 17px;color:#fff;margin-bottom:18px}.sidebar-quote .decor{font-size:24px;margin-bottom:12px}.sidebar-quote strong{font-size:15px;line-height:1.3;display:block}.sidebar-quote p{color:#d4e5dc;font-size:12px;margin:10px 0 0}.side-disclaimer{font-size:11px;color:#acc6b7;line-height:1.6;padding:0 9px}.main-layout{min-width:0;padding:0 clamp(18px,3vw,46px) 35px;max-width:1740px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);min-height:85px}.breadcrumb{font-size:12px;color:#88998f;font-weight:700}.breadcrumb strong{color:var(--text)}.top-actions{display:flex;gap:12px;align-items:center}.fiction-pill{display:inline-flex;align-items:center;gap:6px;background:#eaf0e9;border:1px solid #dae7dc;border-radius:50px;padding:7px 14px;font-size:11px;color:#47705f;font-weight:850;letter-spacing:.045em;white-space:nowrap}.circle-button{border:1px solid var(--line);border-radius:50%;background:white;display:grid;place-items:center;width:40px;height:40px;color:var(--forest);font-size:19px}.account-button{border:1px solid var(--line);background:var(--paper);padding:9px 15px;border-radius:100px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:800}.account-button span{font-size:18px;color:var(--forest-muted)}.page{padding-top:28px}.eyebrow{display:flex;align-items:center;gap:9px;color:#679988;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.19em;margin-bottom:15px}.eyebrow:before{content:"";width:18px;height:1px;background:#dfa28c}.hero{display:grid;grid-template-columns:1.07fr .93fr;align-items:stretch;border-radius:24px;overflow:hidden;background:#e6efe6;min-height:415px}.hero-copy{padding:clamp(28px,3.3vw,52px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero h1{color:var(--forest);font-size:clamp(37px,4.05vw,62px);max-width:590px;margin-bottom:18px}.hero h1 em{font-weight:400;color:#b97771}.hero-copy p{max-width:490px;line-height:1.8;font-size:14px}.hero-visual{position:relative;display:flex;align-items:flex-end;overflow:hidden;background:linear-gradient(150deg,#e1eee3,#f8eee6)}.hero-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center bottom;min-height:360px}.hero-label{position:absolute;right:23px;top:24px;display:flex;align-items:center;gap:9px;background:white;border-radius:14px;padding:13px 18px;box-shadow:var(--shadow);font-size:12px;font-weight:800;color:var(--forest)}.hero-label span{color:#63a88e;font-size:21px}.button-row{display:flex;flex-wrap:wrap;gap:11px;margin:18px 0}.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:13px;font-weight:800;line-height:1.15;text-align:center;border-radius:11px;padding:13px 21px;min-height:43px;transition:transform .1s,background .1s,box-shadow .1s}.btn:active{transform:translateY(1px)}.btn-primary{background:var(--forest);color:white}.btn-primary:hover{background:#346555;color:white}.btn-soft{background:var(--paper);border-color:#cbdccc;color:var(--forest)}.btn-soft:hover{background:#edf6ee}.btn-outline{border-color:#cbdccc;background:transparent;color:var(--forest)}.btn-peach{background:#e8b4a1;color:#4c352f}.btn-danger{background:#823f43;color:white}.btn:disabled{cursor:not-allowed;opacity:.55}.small-note{font-size:11px;color:#557768;display:flex;gap:8px;align-items:center;font-weight:650;margin-top:8px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:22px 0 33px}.stat-card{padding:19px 21px;background:white;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;gap:14px}.stat-emoji{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#edf4ec;font-size:23px}.stat-value{font:700 24px var(--display)}.stat-copy{font-size:11px;color:var(--muted)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:30px 0 18px}.section-heading h2{font-size:30px;margin:0;color:#293f37}.text-link{color:#316d59;text-decoration:underline;text-underline-offset:7px;font-size:12px;font-weight:750}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.story-card{overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px rgba(28,64,46,.035)}.card-art{height:173px;overflow:hidden;position:relative;background:#f5e5d9}.card-art.tone-sage{background:#e4ecdf}.card-art.tone-gold{background:#f8edd1}.card-art.tone-blue{background:#dceaf0}.card-art img{width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:scale(1.03)}.card-badge{position:absolute;top:12px;left:12px;border-radius:35px;background:#fffdf4;color:#60756a;font-weight:750;padding:5px 11px;font-size:10px}.card-body{padding:18px 20px 21px}.card-kicker{font-size:10px;letter-spacing:.12em;color:#8da599;font-weight:800;text-transform:uppercase}.card-body h3{font:700 23px var(--display);margin:5px 0 9px}.card-body p{font-size:12px;line-height:1.8;min-height:60px}.card-bottom{margin-top:21px;display:flex;align-items:center;justify-content:space-between;gap:8px}.card-bottom span{color:#9aac9f;font-size:10px}.feature-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:17px;margin:18px 0 40px}.surface{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:24px}.surface p{font-size:13px;line-height:1.8}.surface h3{font-size:18px;margin-bottom:8px}.information-bar{padding:11px 13px;background:#eff5ed;border-radius:10px;color:#5b7f6a;font-size:12px;border:1px solid #dce9db}.footer{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line);padding:20px 0 6px;color:#8b9c91;font-size:11px;flex-wrap:wrap}.footer-links{display:flex;gap:14px;flex-wrap:wrap}.footer a:hover{text-decoration:underline}.page-lead{max-width:770px;color:#738779;font-size:14px;line-height:1.8;margin:0 0 28px}.detail-banner{display:grid;grid-template-columns:1fr 190px;gap:25px;align-items:center;background:#e8efe7;padding:26px 30px;border-radius:21px;margin-bottom:22px}.detail-banner h1{font-size:44px;margin:0 0 8px}.detail-banner p{margin-bottom:4px}.detail-avatar{width:176px;height:145px;object-fit:contain;border-radius:70px}.room-columns{display:grid;grid-template-columns:minmax(0,1.34fr) minmax(285px,.8fr);gap:20px}.room-card{background:var(--paper);border:1px solid var(--line);border-radius:21px;padding:16px;overflow:hidden}.room-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 5px 16px}.room-title h3{font-family:var(--display);font-size:23px;margin:0}.room-stage{position:relative;overflow:hidden;border-radius:16px;background:#f6eee7}.room-stage>img{width:100%;display:block;aspect-ratio:900/550;object-fit:cover}.room-stage .floating-gift{position:absolute;bottom:19%;right:17%;font-size:clamp(32px,5vw,62px);filter:drop-shadow(0 7px 12px rgba(0,0,0,.18));animation:pop .42s ease-out;transform-origin:bottom}.room-stage .sunshine-float{position:absolute;top:9%;left:52%;font-size:44px;animation:appear .6s ease-out}.room-legend{color:var(--muted);font-size:12px;display:flex;justify-content:space-between;gap:14px;padding:13px 5px 1px}.room-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.room-message{font-size:12px;color:#5d806b;margin:12px 4px 2px}.gift-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gift-card{padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;min-height:124px}.gift-card:hover,.gift-card.selected{border-color:#9fbcaa;background:#f0f7ef}.gift-card .emoji{font-size:25px}.gift-card b{font-size:13px}.gift-card .price{font-size:12px;color:#4f806c;font-weight:800}.gift-card small{font-size:10px;color:var(--muted)}.side-panel{display:flex;flex-direction:column;gap:17px}.side-panel>.surface{padding:19px}.tabs{display:flex;gap:8px;margin-bottom:13px;flex-wrap:wrap}.tab{border:1px solid var(--line);background:white;border-radius:100px;padding:9px 13px;font-size:12px;font-weight:700;color:var(--forest)}.tab.active{background:var(--forest);color:white}.chapter{border:1px solid var(--line);background:var(--paper);border-radius:15px;padding:20px;margin-bottom:10px}.chapter.locked{background:#f4f4f1}.chapter h3{font-family:var(--display);margin:7px 0;font-size:23px}.chapter p{line-height:1.9;font-size:14px;color:#697d72}.chapter-number{font-size:11px;color:#7ca28e;text-transform:uppercase;font-weight:800;letter-spacing:.12em}.chapter-locked{display:flex;align-items:center;gap:8px;padding:13px;background:#edf3ed;border-radius:9px;font-size:12px;color:#527464}.modal-mask{position:fixed;inset:0;background:rgba(13,38,29,.58);display:grid;place-items:center;padding:18px;z-index:1000}.modal{width:min(510px,100%);max-height:90vh;overflow:auto;background:#fffdf9;border-radius:23px;padding:28px 30px;box-shadow:0 25px 90px rgba(0,0,0,.3)}.modal h2{font-size:29px;margin:0 0 12px}.modal .modal-close{float:right;border:0;background:#f0f2ed;border-radius:100%;height:33px;width:33px;font-size:18px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:15px}.field label{font-size:12px;color:#426557;font-weight:800}.field input,.field textarea,.field select{border:1px solid #d5dfd6;border-radius:10px;padding:11px 13px;min-height:43px;background:#fff;width:100%;color:var(--text)}.field textarea{min-height:105px;resize:vertical}.check-field{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#597166;margin:14px 0}.check-field input{margin-top:3px;accent-color:var(--forest)}.form-error{border-radius:10px;background:#ffe8e6;color:#8d3037;padding:10px 12px;font-size:12px;margin-bottom:12px}.form-good{border-radius:10px;background:#edf5ed;color:#396d50;padding:10px 12px;font-size:12px;margin-bottom:12px}.form-note{font-size:12px;color:var(--muted);line-height:1.7}.form-actions{display:flex;justify-content:space-between;gap:11px;margin-top:16px}.auth-links{display:flex;gap:13px;flex-wrap:wrap;margin-top:17px}.auth-links a{color:#396d59;text-decoration:underline;font-size:12px}.toast{position:fixed;bottom:28px;right:24px;max-width:min(430px,90vw);z-index:1300;border:1px solid #bed7c7;background:#eaf4eb;color:#245b42;box-shadow:0 15px 40px rgba(0,0,0,.13);padding:14px 19px;border-radius:13px;font-size:13px;font-weight:650}.toast.error{background:#ffeae7;color:#813e37;border-color:#f5c9c0}.small-spacer{height:14px}.empty{border:1px dashed #cbdbcc;border-radius:16px;padding:30px;color:var(--muted);text-align:center;background:#fbfefa}.pill{padding:6px 11px;border-radius:25px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;background:#e8f0e9;color:#56796b}.pill-peach{background:#f7e6dd;color:#8d665a}.long-list{display:grid;gap:13px}.list-entry{padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:white;display:flex;justify-content:space-between;align-items:center;gap:18px}.list-entry p{font-size:12px;margin:5px 0}.price-label{font:700 20px var(--display)}.gift-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-card{border:1px solid var(--line);border-radius:18px;background:white;padding:20px;display:flex;flex-direction:column;gap:8px}.product-emoji{display:grid;place-items:center;width:60px;height:60px;border-radius:17px;background:#f1f5eb;font-size:32px}.product-card h3{margin:3px 0;font:700 22px var(--display)}.product-card p{font-size:12px;flex:1}.product-card .btn{width:100%}.minor{color:var(--muted);font-size:12px}.account-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.admin-table{width:100%;border-collapse:collapse;font-size:12px}.admin-table th,.admin-table td{text-align:left;padding:10px;border-bottom:1px solid var(--line)}.admin-table th{color:var(--muted)}.admin-editor{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-editor .wide{grid-column:1/-1}.legal-page{background:var(--cream)}.legal-top{max-width:1030px;margin:auto;padding:24px 22px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);font-size:13px}.legal-top .brand-inline{font-size:22px;font-weight:850;color:var(--forest)}.legal-document{max-width:850px;margin:35px auto 100px;padding:0 23px}.legal-document h1{font-size:49px}.legal-document h2{font-size:23px;margin:30px 0 10px}.legal-document section p{font-size:14px;line-height:1.95;color:#5c7167}.legal-document a{text-decoration:underline}.legal-lead{background:#e9f1e8;border-radius:14px;padding:21px 24px;line-height:1.9;color:#476958}.legal-warning{background:#f9e5dc;padding:18px;border-radius:13px;margin-top:32px;font-size:13px}.muted{color:var(--muted)}.legal-document .muted{font-size:12px}.info-seal{display:flex;align-items:center;gap:8px;font-size:12px;color:#58816d}.loading-screen{min-height:100vh;display:grid;place-content:center;text-align:center}.loading-screen .load-icon{color:#e7ad99;font-size:50px}.loading-screen h1{font-size:38px}.noscript{max-width:600px;margin:50px auto;padding:22px}.qr-list{padding-left:20px;color:#71887a}.qr-list li{margin-bottom:14px}.mobile-tabs{display:none}.dark-mode{--cream:#14241f;--paper:#1d332b;--sage:#203a31;--sage-dark:#27483b;--text:#e1f2e8;--muted:#abc0b1;--line:#3a5245;--forest:#38725d;--forest-dark:#0e241c;color-scheme:dark}.dark-mode .stat-card,.dark-mode .surface,.dark-mode .chapter,.dark-mode .story-card,.dark-mode .product-card,.dark-mode .gift-card,.dark-mode .list-entry,.dark-mode .account-button,.dark-mode .circle-button,.dark-mode .modal{background:var(--paper)}.dark-mode .hero,.dark-mode .detail-banner{background:#2a4336}.dark-mode .hero h1,.dark-mode .section-heading h2{color:#e0f4e8}.dark-mode .btn-primary{background:#32765e}.dark-mode .btn-soft{background:#244534;color:#ecfff4}.dark-mode .fiction-pill{background:#244537}.dark-mode .card-art{background:#70554b}.dark-mode .field input,.dark-mode .field textarea,.dark-mode .field select{background:#243d31}.dark-mode .modal{color:var(--text)}
@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes pop{0%{opacity:0;transform:scale(.5) rotate(-15deg)}70%{opacity:1;transform:scale(1.1)}100%{transform:scale(1)}}
@media(max-width:1180px){.shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:20px 10px}.main-layout{padding:0 22px 26px}.hero{min-height:375px}.hero-copy{padding:29px}.hero h1{font-size:46px}}
@media(max-width:940px){.shell{grid-template-columns:1fr}.sidebar{display:none}.main-layout{padding:0 18px 100px}.mobile-tabs{position:fixed;display:flex;left:0;right:0;bottom:0;background:var(--forest-dark);z-index:100;padding:8px 6px max(8px,env(safe-area-inset-bottom));justify-content:space-around;box-shadow:0 -5px 20px #13292022}.mobile-tab{background:none;color:#d1e7da;border:none;display:flex;align-items:center;flex-direction:column;gap:1px;font-size:10px;padding:5px 6px;min-width:48px;font-weight:700}.mobile-tab span{font-size:19px}.mobile-tab.active{color:#ffcfb8}.hero h1{font-size:clamp(37px,5vw,54px)}}
@media(max-width:720px){.topbar{min-height:64px}.breadcrumb{font-size:10px}.fiction-pill{font-size:9px;padding:6px 9px}.account-button{font-size:0;padding:5px 9px}.account-button span{font-size:19px}.top-actions{gap:5px}.circle-button{width:33px;height:33px;font-size:16px}.hero{grid-template-columns:1fr}.hero-copy{padding:29px 26px 17px}.hero h1{font-size:43px}.hero-copy p{font-size:13px}.hero-visual img{min-height:250px;max-height:310px}.hero-label{top:14px;right:13px}.stat-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:12px;gap:8px}.stat-card:last-child{grid-column:1/-1}.stat-value{font-size:21px}.stat-copy{font-size:10px}.cards-grid,.gift-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.card-body{padding:12px}.card-art{height:140px}.card-body h3{font-size:19px}.card-body p{font-size:11px;min-height:100px}.card-bottom{flex-direction:column;align-items:start;margin-top:10px}.section-heading h2{font-size:27px}.feature-grid,.room-columns,.account-overview{grid-template-columns:1fr}.detail-banner{grid-template-columns:1fr 95px;padding:22px}.detail-banner h1{font-size:31px}.detail-avatar{width:95px;height:95px}.admin-editor{grid-template-columns:1fr}.gift-list{grid-template-columns:repeat(2,minmax(0,1fr))}.footer{padding-bottom:18px}}
@media(max-width:420px){.main-layout{padding-left:12px;padding-right:12px}.hero h1{font-size:38px}.hero-copy{padding:24px 21px}.cards-grid,.gift-catalog{grid-template-columns:1fr}.card-art{height:185px}.card-body p{min-height:0}.stat-copy{font-size:10px}.detail-banner{grid-template-columns:1fr}.detail-avatar{display:none}.modal{padding:23px}.fiction-pill{letter-spacing:0}.room-title h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
/* Do not stretch the room card to match a longer gift shelf. */
.room-columns{align-items:start}

/* v2 — original AI-created photographic fiction, human-readable inbox */
.card-art{height:220px;background:#ece5dd}
.card-art img{display:block;object-fit:cover;object-position:center 35%;transform:none}
.card-badge{color:#173d32;background:rgba(255,253,246,.95);border:1px solid rgba(255,255,255,.5);font-size:10px;letter-spacing:.02em}
.story-card:hover{box-shadow:0 12px 34px rgba(22,56,42,.12);transform:translateY(-1px);transition:box-shadow .2s,transform .2s}
.hero-visual img{object-position:37% center;min-height:385px}
.hero-label{background:rgba(255,255,255,.94);backdrop-filter:blur(8px)}
.detail-avatar{height:188px;width:188px;object-fit:cover;object-position:center 20%;border-radius:25px;box-shadow:0 14px 35px rgba(18,44,35,.13)}
.detail-banner{grid-template-columns:1fr 188px;min-height:225px;overflow:hidden}
.room-stage{background:#e4e5de}
.room-stage>img{aspect-ratio:3/2;object-fit:cover}
.room-stage .floating-gift{right:7%;bottom:12%;background:rgba(255,255,255,.91);border-radius:22px;border:1px solid rgba(255,255,255,.86);padding:10px 16px;filter:drop-shadow(0 7px 13px rgba(0,0,0,.13));line-height:1.2}
.room-legend{line-height:1.6}
.companion-actions{border-top:1px solid var(--line);margin-top:18px;padding:17px 4px 4px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.companion-actions>div{flex:1 1 100%}
.companion-actions strong{color:var(--text);font-size:14px}
.companion-actions p{font-size:12px;margin:4px 0;color:var(--muted)}
.inbox-shortcut{position:relative;flex-shrink:0}
.notification-dot{position:absolute;top:-6px;right:-5px;min-width:19px;height:19px;display:grid;place-items:center;background:#bf6958;color:white;border-radius:15px;font:800 10px var(--sans);padding:0 3px;border:2px solid var(--cream)}
.inbox-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.75fr);align-items:start;gap:18px;margin-bottom:45px}
.inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.inbox-heading h3{margin-bottom:6px}
.unread-count{font:800 10px var(--sans);color:#285c48;background:#e3efe7;padding:5px 9px;border-radius:14px;vertical-align:middle}
.inbox-message{position:relative;background:var(--paper);border:1px solid var(--line);padding:18px;border-radius:15px;margin:12px 0}
.inbox-message.is-unread{border-color:#83ab95;background:linear-gradient(150deg,rgba(231,243,235,.85),var(--paper));box-shadow:0 5px 18px rgba(24,67,46,.05)}
.inbox-message-head{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.inbox-message-head strong{color:var(--text)}
.inbox-message p{font-size:14px;line-height:1.72;color:var(--text);margin:12px 0 8px}
.mini-label{font-size:10px;color:#477863;border-radius:15px;padding:4px 8px;background:#e7eee8;margin-left:5px;display:inline-block}
.btn-small{padding:7px 11px;min-height:32px;font-size:11px}
.follow-entry{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}
.follow-entry .minor{display:block;margin-top:3px}
.hello-choices{display:grid;gap:10px;margin:20px 0}
.hello-choices .btn{justify-content:flex-start}
.dark-mode .inbox-message{background:var(--paper)}
.dark-mode .inbox-message.is-unread{background:#27483b}
.dark-mode .mini-label{color:#15402c}
@media(max-width:940px){.inbox-layout{grid-template-columns:1fr}}
@media(max-width:720px){.card-art{height:210px}.detail-banner{grid-template-columns:1fr 128px}.detail-avatar{width:126px;height:136px}.fiction-pill{display:none}}
@media(max-width:420px){.card-art{height:220px}.detail-banner{grid-template-columns:1fr}.detail-avatar{display:block;width:110px;height:108px;object-fit:cover}.mobile-tab{min-width:44px;padding:5px 3px;font-size:9px}.inbox-message{padding:13px}.inbox-layout>.surface{padding:16px}}

/* PatientVille v3: proof that THIS tab is serving the photorealistic application. */
.build-proof{display:inline-flex;align-items:center;gap:6px;border:1px solid #8dc9b9;border-radius:999px;background:#d8f6ec;color:#145d45;padding:8px 11px;font:850 11px system-ui,sans-serif;letter-spacing:.04em;white-space:nowrap;box-shadow:0 2px 8px rgba(12,92,62,.06)}
.hero-visual{background:#e0e4df;}
.hero-visual>img{width:100%;object-fit:cover;filter:none;}
.card-art img{width:100%;height:100%;object-fit:cover;object-position:50% 24%;}
@media(max-width:720px){.build-proof{font-size:10px;padding:6px 8px}.fiction-pill{display:none}}
@media(max-width:395px){.build-proof{font-size:9px;padding:5px 6px}}

/* v4: conversational rooms. Responsive, no third-party UI dependencies. */
.sr-only{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.pv-chat-head{display:flex;gap:25px;align-items:end;justify-content:space-between;margin-bottom:24px}
.pv-chat-head h1{margin:8px 0 7px;font-size:clamp(34px,4vw,58px);line-height:1.04}
.pv-chat-head p{max-width:820px;margin:0;line-height:1.6;color:var(--text-muted,#6a7b74)}
.pv-chat-layout{display:grid;grid-template-columns:minmax(205px,.8fr) minmax(350px,1.5fr) minmax(235px,.82fr);gap:15px;align-items:stretch}
.pv-chat-scene,.pv-chat-panel,.pv-chat-gifts{min-width:0;border:1px solid rgba(45,80,68,.12);border-radius:20px;background:var(--surface,#fff);overflow:hidden;box-shadow:0 8px 28px rgba(26,70,60,.045)}
.pv-chat-scene{padding:13px}
.pv-photo-wrap{position:relative;border-radius:14px;overflow:hidden;min-height:270px;aspect-ratio:3/4;background:#d8ddd4}
.pv-photo-wrap>img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.pv-chat-photo-portrait{position:absolute;top:12px;left:12px;width:70px;height:70px;overflow:hidden;border-radius:50%;border:3px solid white;box-shadow:0 4px 14px #0003;background:#eae4d8}
.pv-chat-photo-portrait img{width:100%;height:100%;object-fit:cover}
.pv-preview-object{position:absolute;bottom:22px;right:10px;min-width:82px;padding:10px 12px;text-align:center;background:rgba(255,255,255,.86);border-radius:17px;border:1px solid rgba(255,255,255,.8);box-shadow:0 15px 35px #22352535;backdrop-filter:blur(10px)}
.pv-preview-object div{font-size:58px;line-height:1.05;filter:drop-shadow(0 7px 4px #0002)}
.pv-preview-object span{display:block;color:#315d50;font-size:10px;font-weight:700;margin-top:5px}
.pv-scene-name h3{margin:16px 0 5px;font-size:25px}.pv-scene-name p{margin:0 0 14px;font-size:13px;line-height:1.6;color:#657c76}
.pv-mini-disclaimer{font-size:11px;line-height:1.6;background:#e9f1eb;border-radius:11px;padding:12px;color:#2c6556;margin:0 0 14px}
.pv-chat-scene>.text-link{display:inline-block;margin-bottom:5px}
.pv-chat-panel{display:flex;flex-direction:column;min-height:680px;max-height:800px}
.pv-chat-panel-top{padding:18px 18px 14px;border-bottom:1px solid #e6ebe6;display:flex;justify-content:space-between;align-items:center;gap:14px}
.pv-chat-panel-top strong{display:block;color:#1b443a;font-size:17px}.pv-chat-panel-top span{display:block;font-size:11px;color:#638078;margin-top:4px}
.pv-chat-messages{padding:20px 18px;flex:1;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:18px;min-height:300px}
.pv-chat-line,.chat-line{display:flex;flex-direction:column;max-width:86%;gap:5px}.chat-line.from-user{align-self:flex-end;align-items:flex-end}.chat-line.from-character{align-self:flex-start;align-items:flex-start}
.chat-bubble{font-size:14px;line-height:1.68;white-space:pre-line;background:#f2f4f1;padding:13px 16px;border-radius:18px 18px 18px 5px;color:#2d3f38}
.from-user .chat-bubble{background:#dbece0;border-radius:18px 18px 5px 18px;color:#173f31}
.chat-line .minor{font-size:10px;color:#77847e;padding:0 4px}
.pv-chat-bottom{padding:14px 16px 17px;border-top:1px solid #e7eae6;background:#fff}
.pv-chat-bottom p{font-size:13px;color:#5e7c6b;line-height:1.6}
.pv-suggested{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}
.pv-suggested button{background:#f4f8f4;color:#396554;border:1px solid #e3ebe5;font-size:11px;padding:7px 9px;border-radius:99px;cursor:pointer}
.pv-suggested button:hover{background:#e4efe5}
#chat-form{display:flex;gap:8px;align-items:center}
#chat-form textarea{resize:vertical;min-height:64px;max-height:145px;flex:1;border:1px solid #d6e0d9;border-radius:14px;padding:12px;font:inherit;font-size:14px;line-height:1.45}
#chat-form .btn{height:48px;flex-shrink:0}
.pv-chat-legal{font-size:10px;text-align:center;padding:11px;color:#7f9489;border-top:1px solid #f0f2ef}
.pv-chat-gifts{padding:18px;max-height:800px;overflow:auto}.pv-chat-gifts h3{font-size:24px;margin:8px 0}.pv-chat-gifts>p{color:#657b72;font-size:12px;line-height:1.65}
.pv-gift-list{display:flex;flex-direction:column;gap:7px;margin-top:17px}.pv-shop-item{background:#fafbf9;display:flex;align-items:center;gap:11px;width:100%;padding:9px;text-align:left;border:1px solid #e3eae3;border-radius:12px;cursor:pointer;color:#224b40}
.pv-shop-item:hover,.pv-shop-item.selected{border-color:#84b49b;background:#edf7ef}.pv-shop-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#ecf1e8;font-size:25px;flex-shrink:0}
.pv-shop-item span:nth-child(2){flex:1;min-width:0}.pv-shop-item b{font-size:12px;display:block}.pv-shop-item small{display:block;font-size:10px;color:#788a7f;margin-top:3px}.pv-shop-chevron{font-size:24px;color:#6c9c84}
.pv-premium-card{background:linear-gradient(135deg,#f1eae1,#f6f9f3);margin-top:15px;padding:17px;border-radius:15px}.pv-premium-card.muted{background:#f4f6f2}.pv-premium-card h3{font-size:19px;margin:8px 0}.pv-premium-card p{font-size:12px;line-height:1.5;color:#6a756f}.pv-premium-card strong{display:block;font-size:19px;margin-bottom:12px}.pv-premium-card .btn{width:100%;font-size:12px}
.dark-mode .pv-chat-scene,.dark-mode .pv-chat-panel,.dark-mode .pv-chat-gifts{background:#21382e;border-color:#425e52}.dark-mode .pv-chat-panel-top,.dark-mode .pv-chat-bottom,.dark-mode .pv-chat-legal{background:#21382e;border-color:#425e52}.dark-mode .pv-chat-panel-top strong{color:#e9f5ea}.dark-mode .chat-bubble{background:#38574c;color:#f5faf4}.dark-mode .from-user .chat-bubble{background:#416858;color:#f5fff5}.dark-mode .pv-chat-bottom textarea{background:#243c31;color:white;border-color:#527261}.dark-mode .pv-chat-legal{color:#b1c5b7}.dark-mode .pv-shop-item{background:#304a3e;color:#f0f8ee;border-color:#476857}.dark-mode .pv-shop-item small{color:#b4c7b9}.dark-mode .pv-premium-card,.dark-mode .pv-premium-card.muted{background:#3a5344;color:#f5f8ef}
@media(max-width:1280px){.pv-chat-layout{grid-template-columns:minmax(190px,.75fr) minmax(330px,1.35fr)}.pv-chat-gifts{grid-column:1/-1;max-height:none}.pv-gift-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.pv-chat-head{display:block}.pv-chat-head .btn{margin-top:13px}.pv-chat-layout{display:block}.pv-chat-scene{margin-bottom:12px}.pv-photo-wrap{min-height:190px;aspect-ratio:16/8}.pv-chat-panel{min-height:520px;max-height:none;margin-bottom:12px}.pv-chat-messages{min-height:300px;max-height:48vh}.pv-chat-gifts{padding:15px}.pv-gift-list{grid-template-columns:repeat(2,minmax(0,1fr))}.pv-chat-head h1{font-size:38px}}
@media(max-width:390px){#chat-form{flex-direction:column;align-items:stretch}.pv-gift-list{grid-template-columns:1fr}.pv-chat-panel-top{flex-direction:column;align-items:flex-start}.pv-chat-head h1{font-size:33px}}

/* Private-preview refinement: readable type, original artwork and quiet story rooms. */
:root{--muted:#52685c;--forest-muted:#476b5c;--line:#cdd8cd}
body{font-size:16px;line-height:1.65}
.page{padding-top:32px} .page:focus{outline:none}
h1{font-size:clamp(34px,4.2vw,58px)}
.eyebrow,.card-kicker,.chapter-number{color:#4f705e;font-size:11px;line-height:1.6}
.btn,.btn-small,.circle-button,.account-button,.tab{min-height:44px}
.btn{font-size:14px;line-height:1.4}.circle-button{min-width:44px}
p,.page-lead,.surface p,.card-body p,.chapter p,.product-card p{font-size:15px;line-height:1.8}
.text-link{font-size:14px;line-height:1.8}.minor,.small-note,.room-message,.form-note,.field label,.check-field{font-size:13px;line-height:1.7}
.topbar{gap:12px}.breadcrumb{font-size:11px;min-width:0}.top-actions{flex-shrink:0;gap:8px}
.build-proof{font-size:10px!important;letter-spacing:.08em;background:transparent!important;color:var(--muted)!important;border:1px solid var(--line)!important;padding:5px 8px!important;white-space:nowrap}
.fiction-pill{display:none}.sidebar{padding-top:32px}.nav-link{font-size:14px;min-height:48px}.nav-label{color:#acc6b7}
.hero{background:#e6ece1;min-height:450px}.hero h1{font-size:clamp(38px,4vw,58px)}.hero h1 em{color:#8f4f45}.hero-copy p{font-size:15px;color:#435a4c}.hero-visual img{object-position:center 30%;aspect-ratio:4/5;min-height:420px;max-height:560px}.hero-label{font-size:12px;top:auto;bottom:20px;right:16px;left:16px;justify-content:center;padding:12px}
.stat-card{box-shadow:none}.stat-copy{font-size:13px}.stat-value{font-size:25px}.stat-emoji{font-family:var(--display);font-size:22px}
.section-heading{align-items:center}.section-heading h2{font-size:30px;line-height:1.2}.section-heading .text-link{flex-shrink:0}
.cards-grid{gap:22px}.card-art{height:auto;aspect-ratio:4/3}.card-art img{object-position:center 28%}.card-badge{font-size:11px;top:12px;left:12px}.card-body{padding:22px}.card-body h3{font-size:25px;margin:10px 0}.card-body p{min-height:0}.card-bottom{align-items:center}.card-bottom span{font-size:12px;color:var(--muted)}
.fiction-disclosure{margin:36px 0 24px;padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:var(--sage);font-size:13px;color:var(--text)}.fiction-disclosure p{font-size:13px;color:var(--text);margin:7px 0}.fiction-disclosure a,.chat-privacy a,.pv-chat-bottom a:not(.btn){color:inherit;text-decoration:underline;text-underline-offset:3px}
.footer{font-size:12px;color:var(--muted)}.footer-links{gap:10px 16px}.footer a{display:inline-flex;align-items:center;min-height:44px}
.detail-banner{margin-top:20px;background:#e8ede4;border:1px solid var(--line);padding:30px;grid-template-columns:minmax(0,1fr) 190px;gap:28px}.detail-banner h1{font-size:44px}.detail-avatar{width:190px;height:230px;border-radius:16px}.character-age{display:block;font:500 15px/1.7 var(--sans);letter-spacing:0;color:var(--muted);margin:10px 0 14px}
.room-columns{grid-template-columns:minmax(0,1.6fr) minmax(260px,.8fr);gap:24px}.room-title{align-items:start}.room-title h2{font-size:28px;margin:0}.room-title .eyebrow{margin-bottom:8px}.room-title .pill{max-width:120px;text-align:center}.room-card{padding:18px}.scene-figure{margin:0}.scene-figure figcaption{font-size:13px;color:var(--muted);padding:14px 4px}.scene-tools{padding:4px}.scene-choices{display:flex;gap:10px;flex-wrap:wrap}.scene-choices [aria-pressed=true]{background:var(--forest-dark);color:white;border-color:var(--forest-dark)}.scene-tools .button-row{margin:14px 0}.scene-tools .minor{margin-bottom:0}.portrait-study img{max-height:420px;object-fit:contain}.side-panel .surface{padding:24px}.side-panel h2{font-size:29px;line-height:1.2}.interest-tags{display:flex;flex-wrap:wrap;gap:8px}.interest-tags span{padding:5px 11px;border:1px solid var(--line);border-radius:50px;font-size:12px;color:var(--text)}.chapters-layout{max-width:850px}.chapter{padding:28px}.chapter h3{font-size:28px}.chapter p{color:var(--text)}
.pv-chat-head{align-items:center}.pv-chat-head h1{font-size:clamp(34px,3.8vw,52px)}.pv-chat-head p{font-size:15px}.pv-chat-layout{grid-template-columns:minmax(230px,.65fr) minmax(0,1.45fr);align-items:start;gap:24px}.pv-chat-scene{overflow:hidden;padding:0;background:var(--paper);border:1px solid var(--line);border-radius:20px}.conversation-portrait{width:100%;display:block;aspect-ratio:4/4;object-fit:cover;object-position:center 25%}.pv-scene-name{padding:22px}.pv-scene-name h2{font-size:26px;margin:0 0 10px}.pv-scene-name p{font-size:14px;line-height:1.8}.pv-chat-panel{min-width:0;min-height:0;display:block;background:var(--paper);border-color:var(--line)}.pv-chat-panel-top{gap:14px;padding:20px;flex-wrap:wrap}.pv-chat-panel-top strong{font-size:16px}.pv-chat-panel-top span{font-size:12px;color:var(--muted)}.chat-privacy{padding:18px 22px;background:var(--sage);border-bottom:1px solid var(--line);font-size:14px}.chat-privacy p{font-size:13px;color:var(--text);line-height:1.7;margin:5px 0 0}.pv-chat-messages{height:auto;min-height:220px;max-height:540px;padding:24px;overflow-y:auto;overscroll-behavior:contain}.chat-line{max-width:94%;margin-bottom:20px}.chat-speaker{display:block;color:var(--muted);font-size:12px;line-height:1.6;margin:0 3px 7px}.chat-bubble{font-size:15px;line-height:1.85;padding:18px 20px;background:var(--sage);color:var(--text);border-radius:0 17px 17px 17px}.from-user .chat-bubble{background:#dceadd;color:#213d2d;border-radius:17px 0 17px 17px}.pv-chat-bottom{padding:20px 22px}.pv-chat-bottom p{margin:0 0 12px}.pv-chat-bottom .minor:last-child{margin:14px 0 0}.pv-suggested{gap:8px;flex-wrap:wrap}.pv-suggested button{min-height:44px;border:1px solid #8ca18d;color:var(--text);background:var(--paper);font-size:13px;padding:10px 14px;border-radius:10px}.pv-suggested button:hover{background:var(--sage)}.pv-chat-legal{font-size:12px;line-height:1.7;padding:15px 22px;color:var(--muted)}
.information-bar,.info-seal,.form-note,.check-field{color:var(--muted)}.information-bar{background:var(--sage)}.pill{color:var(--forest-dark)}.toast{bottom:28px}.modal-close{min-width:44px;min-height:44px}.field input,.field textarea{font-size:16px}.section-heading .eyebrow{margin-bottom:8px}
.dark-mode{--muted:#c0cfc4;--sage:#263f32;--forest-muted:#adcdb7;--line:#587261;--forest:#326b51}.dark-mode p,.dark-mode .page-lead,.dark-mode .hero-copy p,.dark-mode .card-kicker,.dark-mode .eyebrow,.dark-mode .chapter-number,.dark-mode .room-message,.dark-mode .form-note,.dark-mode .check-field,.dark-mode .field label,.dark-mode .stat-copy,.dark-mode .info-seal{color:var(--muted)}.dark-mode .text-link,.dark-mode .btn-outline,.dark-mode .tab,.dark-mode .circle-button{color:#e1f2e8}.dark-mode .hero h1 em{color:#efb5a0}.dark-mode .hero-label{color:#173c32}.dark-mode .detail-banner{background:#263f32}.dark-mode .stat-emoji{background:#263f32}.dark-mode .pill,.dark-mode .mini-label,.dark-mode .unread-count{background:#284c37;color:#e1f2e8}.dark-mode .chat-bubble{color:var(--text);background:#263f32}.dark-mode .from-user .chat-bubble{background:#345b43;color:#fff}.dark-mode .information-bar,.dark-mode .chapter-locked,.dark-mode .empty{background:#263f32;color:var(--text)}.dark-mode .chapter.locked{background:var(--paper)}
@media(max-width:1100px){.breadcrumb{max-width:200px}.room-columns{grid-template-columns:1fr}.side-panel{display:grid;grid-template-columns:1fr 1fr}.pv-chat-layout{grid-template-columns:minmax(210px,.7fr) minmax(0,1.4fr)}}
@media(max-width:940px){.main-layout{padding-bottom:100px}.topbar{min-height:72px}.mobile-tab{min-height:48px;font-size:11px}.toast{bottom:90px}.pv-chat-layout{gap:18px}}
@media(max-width:720px){.breadcrumb{max-width:130px;line-height:1.5}.topbar .build-proof{display:none}.circle-button{width:44px;height:44px}.account-button{font-size:12px;padding:8px 12px}.account-button span{display:none}.hero h1{font-size:40px}.hero-visual img{min-height:300px;max-height:380px;aspect-ratio:4/3;object-position:center 30%}.hero-copy{padding:30px 24px}.section-heading{align-items:start;flex-direction:column;gap:8px}.section-heading h2{font-size:28px}.cards-grid{gap:16px}.card-body{padding:18px}.card-body p{font-size:14px}.card-body h3{font-size:24px}.card-art{height:auto}.stat-card{padding:16px 12px}.stat-copy{font-size:12px}.detail-banner{grid-template-columns:minmax(0,1fr) 110px;padding:22px;gap:18px}.detail-banner h1{font-size:32px}.detail-avatar{display:block;width:110px;height:150px}.character-age{font-size:14px}.side-panel{grid-template-columns:1fr}.room-title{flex-wrap:wrap}.room-title .pill{max-width:none}.room-card{padding:14px}.scene-tools .btn{flex:1 1 130px}.pv-chat-layout{grid-template-columns:1fr}.pv-chat-scene{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:start;padding:14px;gap:14px}.conversation-portrait{width:100px;aspect-ratio:4/5;border-radius:12px}.pv-scene-name{padding:0}.pv-scene-name h2{font-size:24px}.pv-scene-name p{font-size:13px;margin-bottom:8px}.pv-scene-name p+p{display:none}.pv-scene-name .text-link{font-size:13px}.pv-chat-head{display:block}.pv-chat-head .btn{margin:0 0 20px}.pv-chat-messages{padding:20px;max-height:440px}.chat-line{max-width:100%}.chat-bubble{padding:16px}.pv-chat-panel-top,.chat-privacy,.pv-chat-bottom{padding:18px}.pv-suggested{display:grid;grid-template-columns:1fr}.pv-suggested button{text-align:left;font-size:14px}.fiction-disclosure{padding:18px}.chapter{padding:22px}.footer-links{gap:6px 14px}}
@media(max-width:420px){.main-layout{padding-left:16px;padding-right:16px}.hero h1{font-size:36px}.cards-grid,.gift-catalog{grid-template-columns:1fr}.detail-banner{grid-template-columns:1fr;padding:22px}.detail-avatar{width:100%;height:220px;object-position:center 27%;order:-1}.detail-banner h1{font-size:34px}.top-actions{gap:4px}.breadcrumb{font-size:10px;max-width:90px}.pv-chat-head h1{font-size:34px}.room-title h2{font-size:25px}.card-bottom{flex-direction:row;align-items:center}.card-art{aspect-ratio:4/3}.stat-grid{grid-template-columns:1fr}.stat-card:last-child{grid-column:auto}.stat-card{padding:14px 18px}.fiction-disclosure p{font-size:13px}.pv-chat-scene{grid-template-columns:80px minmax(0,1fr)}.conversation-portrait{width:80px}.pv-scene-name h2{font-size:22px}.modal{padding:22px}}
@media(prefers-contrast:more){:root{--muted:#293e31;--line:#657866}.dark-mode{--muted:#fff;--line:#c4ddcc}.btn,.surface,.story-card,.chapter,.room-card,.pv-chat-panel{border-width:2px}.eyebrow,.card-kicker{color:var(--text)}}
@media(forced-colors:active){.btn,.scene-choices button,.pv-suggested button,.chat-bubble,.story-card{border:1px solid ButtonText}.scene-choices [aria-pressed=true]{outline:3px solid Highlight}.card-badge{background:Canvas;color:CanvasText}:focus-visible{outline:3px solid Highlight}}

/* Keep long handles inside the narrow header; the full accessible name remains available. */
@media(max-width:720px){.account-button{display:block;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* v5 hospital benchmark: show the entire photographic scene at every width. */
.hospital-home{grid-template-columns:minmax(260px,.85fr) minmax(0,1.3fr);min-height:0;background:#e8efeb}
.hospital-home .hero-copy{padding:32px}.hospital-home h1{font-size:clamp(33px,3vw,46px)}
.hospital-home .hero-visual{align-items:center;background:#dbe4df}
.hospital-home .hero-visual img{aspect-ratio:3/2;object-fit:contain;min-height:0;max-height:none;height:auto;width:100%}
.hospital-home .hero-label{position:static;border-radius:0;padding:12px;box-shadow:none;background:#fff;min-height:46px}
.hospital-home .hero-visual{display:block;align-self:center}
.hospital-back{display:inline-flex;align-items:center;min-height:44px}
.hospital-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:16px 0 24px}
.hospital-heading .eyebrow{margin-bottom:10px}.hospital-heading h1{font-size:clamp(34px,3.7vw,48px);margin:0 0 10px;line-height:1.1}
.hospital-age{display:inline-block;margin-left:14px;font:400 22px/1.4 var(--sans);color:var(--muted);vertical-align:middle}
.hospital-heading p{margin:0;max-width:600px}.hospital-heading-actions{display:flex;align-items:flex-end;flex-direction:column;gap:12px;flex-shrink:0}
.hospital-fiction{display:inline-flex;padding:7px 12px;background:#e7efea;border:1px solid #a8bcb0;border-radius:40px;font-size:12px;font-weight:700;color:#264c3e}
.hospital-room{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--paper)}
.hospital-figure{margin:0}.hospital-stage{position:relative;aspect-ratio:3/2;isolation:isolate;background:#e1e8e4;overflow:hidden}
.hospital-stage img{width:100%;height:100%;object-fit:contain;display:block;aspect-ratio:3/2}
.hospital-stage .hospital-flowers{position:absolute;inset:0;opacity:0;transition:opacity 280ms ease-in-out;pointer-events:none}
.hospital-stage[data-decorated=true] .hospital-flowers{opacity:1}
.hospital-figure figcaption{display:flex;justify-content:space-between;gap:12px;padding:14px 20px;font-size:12px;line-height:1.7;color:var(--muted);border-bottom:1px solid var(--line)}
.hospital-figure figcaption a{text-decoration:underline;text-underline-offset:3px;flex-shrink:0;display:inline-flex;align-items:center;min-height:32px}
.hospital-controls{padding:26px 28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,1fr);gap:32px;align-items:start}
.hospital-controls .eyebrow{font-size:10px;margin-bottom:10px}.hospital-controls h2{font-size:29px;line-height:1.15;margin-bottom:12px}
.hospital-controls p{font-size:14px;margin-bottom:0;max-width:420px}.hospital-controls .scene-tools{padding:0}
.hospital-controls .scene-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hospital-controls .scene-choices .btn{padding:12px 10px}
.hospital-controls .scene-save{margin-top:12px;width:100%}.scene-save[aria-disabled=true]{background:#edf1ed;color:#465b4d;border-color:#b2bfb3;cursor:default}
.hospital-controls .scene-status{font-size:12px;line-height:1.65;min-height:40px;margin:10px 0 6px;color:var(--muted)}
.hospital-controls .scene-disclaimer{font-size:11px;color:var(--muted);margin-top:8px}
.hospital-details{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;margin:28px 0}
.hospital-details .surface{padding:30px}.hospital-details h2{font-size:32px;line-height:1.15}
.hospital-biography p{font-size:15px}.hospital-biography>.btn{margin-top:20px}
.approved-topics{list-style:none;padding:0;margin:20px 0 24px;border-top:1px solid var(--line)}
.approved-topics li{padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.approved-topics li::before{content:'↳';margin-right:12px;color:var(--muted)}
.hospital-conversation>.btn{width:100%}.hospital-conversation .minor{margin:12px 0 0;text-align:center;font-size:12px}
.hospital-notes{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 28px}.hospital-notes p{margin:0;font-size:13px}.hospital-notes h3{margin-bottom:7px}.hospital-notes .button-row{margin:0}
.pending-hospital{padding:24px;background:var(--sage);border-radius:14px}.pending-hospital h3{font-family:var(--display);font-size:28px}.pending-hospital p{font-size:15px}
.hospital-chat .conversation-portrait{width:100%;aspect-ratio:3/2;object-fit:contain;height:auto}.hospital-chat .pv-scene-name .conversation-ward{display:block;font-size:12px}
.dark-mode .hospital-fiction{background:#284638;border-color:#789885;color:#e8f6ed}.dark-mode .hospital-home{background:#263f32}
.dark-mode .hospital-home .hero-label{background:#dce9df;color:#183d2e}.dark-mode .scene-save[aria-disabled=true]{background:#294235;color:#d5e6d9;border-color:#789885}
@media(max-width:1100px){.hospital-heading{align-items:start}.hospital-heading-actions{max-width:190px}.hospital-heading-actions .btn{padding:12px 15px}.hospital-controls{gap:22px;padding:24px;grid-template-columns:1fr 1fr}.hospital-notes{display:block}.hospital-notes .button-row{margin-top:18px}}
@media(max-width:720px){.hospital-home{grid-template-columns:1fr}.hospital-home .hero-copy{padding:28px 24px}.hospital-home .hero-label{font-size:12px}.hospital-heading{flex-direction:column;gap:16px;margin:14px 0 22px}.hospital-heading h1{font-size:36px}.hospital-age{font-size:19px;margin-left:10px}.hospital-heading-actions{flex-direction:row;align-items:center;justify-content:space-between;width:100%;max-width:none;gap:10px}.hospital-heading-actions .btn{font-size:13px}.hospital-fiction{font-size:11px;padding:7px 9px}.hospital-heading p{font-size:14px}.hospital-heading .eyebrow{font-size:10px;letter-spacing:.12em}.hospital-room{border-radius:16px}.hospital-figure figcaption{display:block;padding:12px 16px}.hospital-figure figcaption a{display:flex;min-height:44px;justify-content:flex-start}.hospital-controls{grid-template-columns:1fr;padding:20px;gap:20px}.hospital-controls h2{font-size:28px}.hospital-controls p{max-width:none}.hospital-controls .scene-status{min-height:0}.hospital-controls .scene-disclaimer{font-size:12px}.hospital-details{grid-template-columns:1fr;gap:16px;margin:20px 0}.hospital-details .surface{padding:24px}.hospital-details h2{font-size:29px}.hospital-notes{padding:24px}.hospital-notes .button-row{display:grid;grid-template-columns:1fr}.hospital-chat .pv-chat-scene{display:block;padding:0}.hospital-chat .pv-scene-name{padding:18px}.hospital-chat .pv-scene-name p+p{display:none}.hospital-chat .pv-scene-name .conversation-ward{display:block}.hospital-chat .conversation-portrait{border-radius:0}}
@media(max-width:370px){.hospital-heading h1{font-size:28px}.hospital-heading-actions{flex-direction:column;align-items:stretch}.hospital-heading-actions .btn{width:100%}.hospital-fiction{align-self:flex-start}.hospital-controls{padding:18px}.hospital-controls .scene-choices{grid-template-columns:1fr}.hospital-heading p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.hospital-stage .hospital-flowers{transition:none}}
@media(forced-colors:active){.hospital-fiction,.hospital-room,.scene-save[aria-disabled=true]{border:1px solid CanvasText}.scene-choices [aria-pressed=true]{border:3px solid Highlight}.hospital-stage{forced-color-adjust:none}}

/* Author display rules must never override native hidden semantics. */
[hidden]{display:none!important}

.hospital-preview-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid var(--line)}
.hospital-preview-bar>span{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--muted)}
.hospital-preview-bar .scene-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hospital-preview-bar .btn{font-size:12px;padding:10px 14px;min-height:44px}
:focus-visible{outline-color:#22664f}.sidebar :focus-visible{outline-color:#f2c4ab}.dark-mode :focus-visible{outline-color:#f2c4ab}
@media(max-width:720px){.hospital-preview-bar{display:block;padding:12px}.hospital-preview-bar>span{display:block;margin-bottom:10px}.hospital-preview-bar .btn{padding:10px 8px}}
@media(forced-colors:active){:focus-visible,.sidebar :focus-visible,.dark-mode :focus-visible{outline-color:Highlight}}

/* Independent reading preferences; root theme applies before first paint. */
.preferences-panel{max-width:640px}.preference-availability{font-size:13px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--sage);color:var(--text)}
.public-chapter{max-width:800px;margin:0 auto}.public-chapter>.surface p{font-size:18px;line-height:1.9;color:var(--text)}.public-chapter nav{display:grid;gap:10px;margin-top:24px}.public-chapter nav a{text-decoration:underline;text-underline-offset:4px;padding:8px 0}.public-chapter [aria-current=page]{font-weight:700}
html.dark-mode{background:var(--cream)}.dark-mode .field label{color:var(--text)}.dark-mode .field select{color:var(--text)}
.dark-mode .modal-close{background:#294438;color:#e1f2e8}
.dark-mode .sidebar-quote p{color:#e0eee3}.chapter-character{display:block;font:400 22px/1.5 var(--sans);margin-top:16px;letter-spacing:0}
.breadcrumb{color:var(--muted)}
/* Long translated navigation stays inside its own dark, scrollable surface. */
.sidebar{overflow-y:auto;min-height:0}
.translation-notice{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 14px;max-width:65ch}
.preview-languages{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.preview-languages a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;color:var(--forest);font-size:13px;font-weight:700}
.preview-languages [aria-current=page]{background:var(--forest);color:var(--paper)}
.mobile-tab{min-width:0;overflow-wrap:anywhere;line-height:1.3}
@media(max-width:420px){.topbar{gap:8px}.account-button{padding:9px 10px}.preview-languages{gap:6px}.preview-languages a{padding:8px 9px}}

/* Original PatientVille artwork mark: 16px emblem, 44px interaction target. */
.artwork-frame,.card-art,.hero-visual,.hospital-stage{position:relative}
.artwork-disclosure{position:absolute;right:12px;bottom:12px;z-index:5;color:#264e40;font-family:var(--sans);text-align:left}
.artwork-disclosure>summary{position:relative;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:8px;background:transparent;color:#fffdf7;cursor:pointer;list-style:none;box-shadow:none}
.artwork-disclosure>summary::-webkit-details-marker{display:none}
.artwork-disclosure svg{width:16px;height:16px;stroke:#17382d;stroke-width:2px;paint-order:stroke fill}
.artwork-info{position:absolute;right:2px;bottom:2px;width:13px;height:13px;display:grid;place-items:center;border-radius:50%;background:#264e40;color:#fffdf7;font-size:10px;font-weight:800;line-height:1}
.artwork-disclosure[open]{z-index:25}
.artwork-explanation{position:absolute;right:0;bottom:54px;width:min(280px,calc(100vw - 64px));padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--text);box-shadow:0 8px 26px #13292026;font-size:13px;line-height:1.6}
.artwork-explanation strong{font-size:14px}.artwork-explanation p{color:var(--text);font-size:13px;line-height:1.6;min-height:0;margin:8px 0}.artwork-explanation a{display:inline-block;min-height:44px;padding-top:9px;text-decoration:underline;text-underline-offset:3px;color:var(--text);font-weight:700}
.dark-mode .artwork-disclosure>summary{background:transparent;color:#fffdf7}.dark-mode .artwork-info{background:#fff1da;color:#183b2e}
.story-card,.card-art,.hero-visual,.hospital-stage{overflow:visible}
.card-art>a{display:block;height:100%;overflow:hidden;border-radius:17px 17px 0 0}.card-art img{display:block}.hospital-card-art img{object-position:40% 36%}
.hero-visual>img{border-radius:0 24px 24px 0}.hospital-stage>img:first-child{border-radius:0 0 16px 16px}
.portrait-context,.card-body .portrait-context{min-height:0;font-size:11px;line-height:1.5;margin:8px 0;color:var(--muted)}
.conversation-mode{display:block;font-size:12px;line-height:1.6;color:var(--muted);font-weight:650;max-width:34ch}.card-body .conversation-mode{min-height:0;font-size:11px;margin:12px 0 0}
.hospital-heading-actions{max-width:320px}.hospital-heading-actions .conversation-mode{text-align:right}
.gift-preview-panel{scroll-margin-top:24px}.gift-digital-notice{font-size:12px!important;color:var(--muted);max-width:62ch}
.gift-story-note,.gift-ideas{border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:0 18px;margin:18px 0}
.gift-story-note summary,.gift-ideas summary,.chat-gift-preview>summary{cursor:pointer;min-height:48px;padding:14px 0;font-size:14px;font-weight:700;color:var(--text)}
.gift-story-note strong{display:block;font-size:12px;color:var(--muted)}.gift-story-note p{font-size:14px;line-height:1.8;max-width:68ch}
.gift-preview-panel:has(#hospital-stage[data-decorated="false"]) .gift-story-note{display:none}
.gift-showcase{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:20px;align-items:center}.gift-showcase img{width:100%;height:auto;display:block;border-radius:12px}.gift-showcase h2{font:400 36px var(--display)}.gift-showcase-copy{padding:12px}.gift-showcase-copy p{line-height:1.8}
.gift-idea-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.gift-idea-grid article{border-top:1px solid var(--line);padding:16px 0}.gift-idea-grid h3{font-family:var(--display);font-size:22px;margin:8px 0}.gift-idea-grid p{font-size:13px;line-height:1.7}
.chat-gift-preview{grid-column:1/-1;border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:0 20px;margin-top:8px}.chat-gift-preview>summary{padding:20px 0;font-size:16px}.chat-gift-preview .hospital-controls{padding:16px 0}.chat-gift-preview .hospital-preview-bar{margin-top:8px}
.conversation-art{position:relative}.conversation-art img{width:100%;display:block}.conversation-art .portrait-context{padding:0 16px}.conversation-gift-pending{padding:20px;border-top:1px solid var(--line)}
.about-characters{max-width:850px;margin:auto}.about-characters .surface{margin:22px 0}.about-emblem{width:64px;height:64px;color:var(--forest);margin:0 0 22px}.about-emblem svg{width:100%;height:100%}.dark-mode .about-emblem{color:#efd7bd}
.detail-banner{overflow:visible}
@media(min-width:421px) and (max-width:940px){.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.detail-portrait{order:-1}}
@media(max-width:720px){.gift-showcase{grid-template-columns:1fr;gap:8px;padding:12px}.gift-showcase-copy{padding:12px 4px}.gift-idea-grid{grid-template-columns:1fr 1fr}.chat-gift-preview{padding:0 12px}.hospital-heading-actions .conversation-mode{text-align:left}.hero-visual>img{border-radius:0}.artwork-disclosure{right:10px;bottom:10px}}
@media(max-width:374px){.gift-idea-grid{grid-template-columns:1fr}}
@media(forced-colors:active){.artwork-disclosure>summary{background:Canvas;color:CanvasText;border:2px solid ButtonText;box-shadow:none}.artwork-info{background:CanvasText;color:Canvas}.artwork-explanation{background:Canvas;color:CanvasText;border:2px solid CanvasText}.artwork-explanation a{color:LinkText}}

/* Original emblem: 16px visible artwork inside a transparent 44px target. */
.artwork-disclosure>summary:focus-visible{outline:3px solid #fff;outline-offset:1px;box-shadow:0 0 0 5px #17382d}
.ward-card-heading{padding:28px 24px 22px;background:var(--soft);border-bottom:1px solid var(--line);border-radius:18px 18px 0 0;color:var(--text);min-height:116px}
.ward-card-heading span{display:block;text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:750;margin-bottom:12px}
.ward-card-heading strong{font:400 23px/1.25 var(--display)}
.ward-introduction{border-left:2px solid var(--line);padding:20px;max-width:350px}.ward-introduction h2{font:400 26px/1.3 var(--display)}
.scene-save[hidden]{display:none}.scene-tools .scene-save{font-size:13px}
@media(forced-colors:active){.artwork-disclosure svg{stroke:CanvasText;color:Canvas;forced-color-adjust:auto}.artwork-disclosure>summary{background:transparent;border:0}.artwork-disclosure>summary:focus-visible{outline:3px solid Highlight;box-shadow:none}}
@media(max-width:720px){.ward-introduction{border-left:0;border-top:1px solid var(--line);max-width:none;padding:20px 0}.ward-card-heading{min-height:100px;padding:22px}}

/* Conversation-first rooms: the approved scene and authored interaction share one view. */
.chat-availability{display:inline-flex;align-items:center;gap:7px;font-size:12px;line-height:1.5;color:var(--text);font-weight:650}
.availability-dot{width:7px;height:7px;border:1px solid currentColor;border-radius:50%;flex-shrink:0}.is-available .availability-dot{background:#41765f;border-color:#41765f}
.dark-mode .is-available .availability-dot{background:#a7d2b5;border-color:#a7d2b5}
.conversation-home{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--sage);min-height:0;border:1px solid var(--line);border-radius:24px;overflow:visible}
.conversation-home .hero-copy{padding:32px}.conversation-home h1{font-size:clamp(38px,3.5vw,52px);margin:12px 0 20px}
.conversation-home .hero-visual{align-self:center;background:transparent;display:flex;align-items:center;position:relative;overflow:visible}
.conversation-home .hero-visual img{width:100%;height:auto;min-height:0;aspect-ratio:3/2;object-fit:contain;border-radius:0 20px 20px 0}
.conversation-home .hero-visual .artwork-disclosure{bottom:12px}
.featured-person{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:baseline}.featured-person strong{font-size:18px}.featured-person span{font-size:12px;color:var(--muted)}
.conversation-home .hero-copy>p{font-size:15px;margin:9px 0 14px;max-width:none}.conversation-home .button-row{margin-top:20px}.conversation-home .featured-disclosure{font-size:12px;line-height:1.7;margin:18px 0 0}
.conversation-invitation{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:20px 4px 32px;font-size:12px;color:var(--muted)}
.availability-explanation{font-size:13px;margin-top:-10px}.home-chapters{margin-top:28px}.card-body>.chat-availability{margin-bottom:12px}
.room-return{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:12px}.room-return>a{min-height:44px;display:inline-flex;align-items:center}
.inline-room-heading{margin:12px 0 22px}.inline-room-heading .eyebrow{margin-bottom:9px}.inline-room-heading h1{font-size:clamp(32px,3.6vw,46px);margin-bottom:8px}.inline-room-heading p{margin:0;max-width:760px;font-size:14px}
.room-conversation-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
.room-visual-column{min-width:0;border:1px solid var(--line);border-radius:20px;background:var(--paper)}
.room-visual-column .hospital-stage{border-radius:19px 19px 0 0;overflow:visible}.room-visual-column .hospital-stage>img:first-child{border-radius:19px 19px 0 0}.room-visual-column .hospital-flowers{border-radius:19px 19px 0 0}
.room-visual-column .hospital-figure figcaption{font-size:11px;padding:12px 16px;display:block}.room-visual-column .hospital-figure figcaption>a{min-height:44px;font-size:11px}.room-ward{padding:0 18px;font-size:11px;margin:14px 0}
.inline-conversation{max-height:none;scroll-margin-top:16px;border:1px solid var(--line);box-shadow:none}.inline-conversation .pv-chat-panel-top{padding:16px;flex-wrap:nowrap;align-items:start}.inline-conversation .pv-chat-panel-top strong{color:var(--text);font-size:16px}.inline-conversation .btn-small{padding:8px 10px;min-height:44px;font-size:12px;white-space:nowrap}
.inline-chat-disclosure{padding:14px 16px;background:var(--sage);border-bottom:1px solid var(--line)}.inline-chat-disclosure p{color:var(--text);font-size:13px;line-height:1.7;margin:0}.inline-chat-disclosure p+p{margin-top:6px;font-size:12px}
.inline-conversation .pv-chat-bottom{padding:16px;border-bottom:1px solid var(--line);border-top:0;background:var(--paper)}.inline-conversation .pv-chat-bottom p{font-size:12px;margin-bottom:8px;color:var(--text)}.inline-conversation .pv-suggested{margin-bottom:0;display:grid;grid-template-columns:1fr}.inline-conversation .pv-suggested button{text-align:left;min-height:44px;padding:10px 12px;font-size:13px}.inline-conversation .chat-load-status:empty{display:none}.inline-conversation .chat-load-status{margin-top:10px}
.inline-conversation .pv-chat-messages{min-height:110px;max-height:360px;padding:16px;gap:12px}.inline-conversation .chat-line{margin:0 0 8px;max-width:100%}.inline-conversation .chat-bubble{font-size:14px;line-height:1.75;padding:12px 14px}.inline-conversation .chat-speaker{font-size:11px;margin-bottom:5px}
.chat-privacy-details{padding:0 16px;border-top:1px solid var(--line)}.chat-privacy-details>summary{min-height:44px;padding:12px 0;font-size:12px;color:var(--text);cursor:pointer}.chat-privacy-details p{font-size:12px;color:var(--text)}.chat-privacy-details a{text-decoration:underline}
.gift-picker{margin:0 16px;border-top:1px solid var(--line)}.gift-picker>summary{display:flex;align-items:center;gap:12px;min-height:64px;padding:14px 0;cursor:pointer;font-size:14px;font-weight:650;list-style:none}.gift-picker>summary::-webkit-details-marker{display:none}.gift-picker>summary::after{content:'+';margin-left:auto;font-size:22px;font-weight:400}.gift-picker[open]>summary::after{content:'−'}.gift-picker>summary svg{width:22px;height:22px;fill:currentColor;color:var(--forest)}.dark-mode .gift-picker>summary svg{color:var(--text)}.gift-picker>summary small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}
.gift-picker .gift-preview-panel{padding:8px 0 18px}.gift-picker-copy h3{font:700 25px var(--display);margin:8px 0}.gift-picker-copy p,.gift-picker .gift-digital-notice{font-size:13px;line-height:1.7}.gift-picker .scene-choices{display:flex;flex-wrap:wrap;gap:8px}.gift-picker .scene-choices button{min-height:44px;padding:10px 12px;font-size:12px}.gift-picker .scene-tools{padding:0}.gift-picker .scene-save{font-size:12px;margin-top:10px;min-height:44px}.gift-picker .scene-status{font-size:12px;margin-top:10px}.gift-picker .close-gift-preview{font-size:12px;line-height:1.5;width:100%;margin-top:12px}.gift-picker .gift-idea-grid{grid-template-columns:1fr}.gift-picker .gift-story-note{margin:16px 0}.gift-picker .preview-room-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px}.gift-picker .gift-ideas{margin-top:16px}
.expanded-biography{margin:30px 0 22px}.expanded-biography h2{font-size:30px}.expanded-biography p{max-width:850px}.expanded-biography>.btn{margin-top:16px}.pending-gift{padding:0 20px}.pending-gift p{font-size:12px}.read-only-room{grid-template-columns:minmax(0,720px)}
#chapters{scroll-margin-top:20px;margin-top:30px}
@media(max-width:1100px){.room-conversation-grid{gap:16px}.inline-room-heading h1{font-size:36px}.conversation-home .hero-copy{padding:24px}.conversation-home h1{font-size:38px}}
@media(max-width:720px){.conversation-home{grid-template-columns:1fr}.conversation-home .hero-copy{padding:24px}.conversation-home .hero-visual{order:-1}.conversation-home .hero-visual img{border-radius:22px 22px 0 0;aspect-ratio:3/2;max-height:230px}.conversation-home .hero-copy>p{font-size:14px}.conversation-home h1{font-size:36px;margin:10px 0 16px}.conversation-invitation{gap:8px;font-size:11px}.room-conversation-grid{grid-template-columns:1fr;gap:18px}.inline-room-heading{margin:10px 0 16px}.inline-room-heading h1{font-size:32px}.inline-room-heading p{font-size:13px}.room-return{font-size:11px}.room-return>a:last-child{max-width:145px;text-align:right}.room-visual-column .hospital-stage{max-height:none}.room-visual-column .hospital-figure figcaption{padding:8px 14px}.room-visual-column .hospital-figure figcaption>span{display:none}.room-visual-column .hospital-figure figcaption>a{min-height:36px}.room-ward{display:none}.gift-picker>summary{min-height:56px;padding:10px 0}.inline-conversation .pv-chat-panel-top{padding:14px}.inline-conversation .pv-chat-messages{max-height:320px}.expanded-biography{margin-top:24px}.inline-room-heading .eyebrow{font-size:9px}.hospital-age{font-size:18px;margin-left:7px}}
@media(forced-colors:active){.availability-dot{background:CanvasText;border-color:CanvasText}.gift-picker>summary,.inline-conversation,.room-visual-column{border:1px solid CanvasText}.scene-choices [aria-pressed=true]{outline:2px solid Highlight}}

.room-conversation-grid .hospital-figure figcaption a{display:block;margin-top:4px}
/* Room entry: an honest illustrated waiting space until each portrait is approved. */
.room-directory{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.room-entry-card{overflow:hidden}.room-card-visual{position:relative;aspect-ratio:14/9;background:var(--sage)}.room-card-visual>img{width:100%;height:100%;object-fit:cover}.room-card-visual .artwork-disclosure{bottom:10px}.room-view-label,.illustration-label{position:absolute;left:12px;bottom:12px;background:#f7f8f3;color:#28443c;font-size:10px;padding:5px 9px;border-radius:6px;line-height:1.5}.illustrated-hospital{position:relative;aspect-ratio:14/9;overflow:hidden;width:100%;background:#e8eeeb}.illustrated-hospital svg{display:block;width:100%;height:100%}.room-entry-card .card-body{padding:18px}.room-entry-card h3{font-size:23px;margin:7px 0;display:flex;align-items:baseline;gap:8px}.room-entry-card h3 span{font:400 14px var(--body);color:var(--muted)}.room-entry-card .room-card-intro{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;margin:8px 0 15px}.room-entry-card .chat-availability{font-size:11px}.room-entry-link{width:100%;justify-content:space-between;margin-top:15px;min-height:44px}.room-entry-card .conversation-mode{font-size:10px;margin:10px 0 0}.room-card-visual .artwork-disclosure[open]{z-index:4}.room-entry-card:focus-within{outline:2px solid var(--forest);outline-offset:3px}
.room-view-heading{display:flex;justify-content:space-between;gap:12px;padding:11px 16px;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line)}.room-conversation-column{min-width:0}.room-conversation-column>.gift-picker{border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:0 16px;margin-top:14px}.room-conversation-column>.gift-picker>summary{min-height:66px}.room-pending-view{padding:0;overflow:hidden}.room-pending-view>.eyebrow,.room-pending-view>h2,.room-pending-view>p,.room-pending-view>a{margin:14px 18px}.room-pending-view>h2{font-size:24px}.room-pending-view>p{font-size:12px}.room-pending-view>a{display:inline-block}.room-pending-view .illustrated-hospital{border-radius:16px 16px 0 0}.room-pending-view .illustration-label{font-size:11px}
.room-chat .pv-chat-panel-top{padding:16px}.room-chat .inline-chat-disclosure{padding:10px 16px}.room-chat .inline-chat-disclosure p{font-size:11px;margin:0}.room-chat .inline-chat-disclosure .minor{margin-top:5px}.room-chat .pv-chat-messages{min-height:150px;max-height:280px;padding:16px;overflow-y:auto;overscroll-behavior:contain}.room-chat .chat-bubble{font-size:14px;line-height:1.7;border-radius:3px 16px 16px 16px;padding:12px 14px}.room-chat .from-user .chat-bubble{border-radius:16px 3px 16px 16px}.room-chat .chat-speaker{font-size:10px}.room-chat .greeting{margin-bottom:8px}.message-composer{padding:14px 16px!important;border-top:1px solid var(--line);background:var(--paper)}.composer-heading{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;margin-bottom:12px}.room-chat .pv-suggested{display:flex;flex-wrap:wrap;gap:8px}.room-chat .pv-suggested button{width:auto;min-height:44px;border-radius:22px;padding:10px 14px;font-size:12px;line-height:1.4;flex:0 1 auto;text-align:left;border:1px solid var(--line);background:var(--sage);color:var(--text)}.room-chat .pv-suggested button:hover{border-color:var(--forest)}.room-chat .chat-load-status:empty{display:none}.room-chat .chat-privacy-details{font-size:11px;padding:10px 16px}.room-chat .chat-privacy-details summary{min-height:28px}.optional-chapters{margin:24px 0;border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:20px}.optional-chapters>summary{display:flex;flex-direction:column;gap:6px;cursor:pointer;min-height:44px;list-style:none}.optional-chapters>summary strong{font:600 25px var(--display)}.optional-chapters>summary span{font-size:12px;color:var(--muted)}.optional-chapters>summary:after{content:'+';align-self:flex-end;font-size:22px;margin-top:-38px}.optional-chapters[open]>summary:after{content:'−'}.optional-chapters[open]>.section-heading{margin-top:30px}.optional-chapters .chapters-layout{grid-template-columns:1fr}.read-only-room .room-conversation-column:empty{display:none}
@media(max-width:1100px){.room-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.room-chat .pv-chat-panel-top{flex-wrap:nowrap}.room-chat .pv-chat-panel-top strong{font-size:15px}.room-chat .pv-chat-panel-top span{font-size:10px}}
@media(max-width:720px){.room-directory{grid-template-columns:1fr;gap:18px}.room-card-visual,.illustrated-hospital{aspect-ratio:16/9}.room-entry-card .card-body{padding:16px}.room-view-heading{font-size:10px;padding:8px 12px}.room-conversation-grid{gap:12px}.room-chat .pv-chat-panel-top{padding:12px}.room-chat .inline-chat-disclosure{padding:9px 12px}.room-chat .pv-chat-messages{min-height:130px;max-height:260px;padding:12px}.room-chat .chat-bubble{font-size:13px}.message-composer{padding:12px!important}.room-chat .pv-suggested{gap:6px}.room-chat .pv-suggested button{font-size:11px;padding:9px 12px}.room-conversation-column>.gift-picker{margin-top:12px}.room-pending-view>.eyebrow,.room-pending-view>h2,.room-pending-view>a{display:none}.room-pending-view>p{font-size:11px;margin:10px 12px}.optional-chapters{padding:16px}.conversation-home h1{font-size:34px}.conversation-home .hero-copy{padding:20px}.conversation-home .featured-disclosure{font-size:11px}}
@media(forced-colors:active){.room-entry-card,.message-composer,.room-chat .pv-suggested button,.optional-chapters{border:1px solid CanvasText}.room-view-label,.illustration-label{background:Canvas;color:CanvasText}.availability-dot{background:CanvasText}}

.room-card-visual>img,.room-card-visual .illustrated-hospital{border-radius:17px 17px 0 0}
@media(max-width:720px){.page:has(.inline-room-heading){padding-top:14px}.room-chat .pv-chat-panel-top{flex-direction:row;gap:10px}.room-chat .pv-chat-panel-top>div{min-width:0}.room-visual-column .hospital-stage{height:180px;aspect-ratio:auto}.room-visual-column .hospital-stage img{height:100%;object-fit:contain}.room-conversation-grid .hospital-figure figcaption{padding:0 12px}.room-conversation-grid .hospital-figure figcaption a{display:inline-flex;align-items:center;min-height:44px;margin:0}.inline-room-heading{margin:6px 0 12px}}

/* Room/chat/gift refocus: quiet artwork placeholders, native composer, design-only shop. */
.hospital-art-placeholder{display:grid;place-content:center;gap:12px;width:100%;height:100%;min-height:160px;text-align:center;background:var(--sage);color:var(--forest)}
.placeholder-flower{display:block;opacity:.25}.placeholder-flower svg{width:52px;height:52px}.placeholder-initials{font:400 36px var(--display);letter-spacing:.12em}.dark-mode .hospital-art-placeholder{color:var(--text)}
.card-body .artwork-review-note{font-size:10px;color:var(--muted);min-height:0;margin:0 0 14px}.room-pending-view .hospital-art-placeholder{height:260px;border-radius:16px 16px 0 0}
.room-chat{position:relative}.room-chat .pv-chat-messages{min-height:210px;max-height:380px;background:var(--paper)}.room-chat .pv-chat-messages:empty{min-height:0;padding:0}.chat-welcome{min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:28px;text-align:center}.chat-welcome>span{color:var(--muted);opacity:.4}.chat-welcome svg{width:30px;height:30px}.chat-welcome p{font:400 24px var(--display);margin:0;color:var(--text)}.chat-welcome button{background:none;border:0;min-height:44px;padding:8px 16px;font:600 13px var(--sans);cursor:pointer}.chat-welcome button:disabled{opacity:.55;cursor:default}
.message-picker>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:12px;color:var(--text);gap:8px}.message-picker>summary:before{content:'+';font-size:22px;font-weight:400}.message-picker>summary::-webkit-details-marker{display:none}.message-picker[open]>summary:before{content:'−'}.message-picker p{font-size:12px}.room-chat .message-picker .pv-suggested{display:grid;grid-template-columns:1fr;padding-bottom:12px}.room-chat .message-picker .pv-suggested button{border-radius:8px;width:100%;background:var(--paper)}
.composer-input-row{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}.composer-input-row input{min-width:0;flex:1;width:100%;border:0!important;background:transparent!important;box-shadow:none;padding:10px;font-size:14px;color:var(--text);height:44px}.composer-input-row input::placeholder{color:var(--muted);opacity:1}.composer-send{width:44px;height:44px;flex:0 0 44px;border:0;border-radius:10px;background:var(--forest);color:#fff;font:400 24px var(--sans);cursor:pointer}.composer-send:disabled{background:var(--line);color:var(--muted);cursor:default}.dark-mode .composer-send:not(:disabled){background:#e7cbaa;color:#162e27}.room-chat .composer-mode{color:var(--muted);margin:8px 0 0;font-size:11px}.room-chat .chat-privacy-details{padding:0 16px}.room-chat .chat-privacy-details summary{min-height:44px;display:flex;align-items:center}.room-chat .chat-privacy-details summary:before{content:'+';margin-right:8px}.room-chat .chat-privacy-details[open] summary:before{content:'−'}
.mini-gift-shop{padding:20px 16px;background:var(--paper);border:1px solid var(--line);border-radius:18px;margin-top:18px}.gift-shop-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.gift-shop-heading h2{font:400 25px var(--display);margin:0}.gift-shop-heading>a{font-size:11px;display:flex;align-items:center;min-height:44px}.gift-price-notice{font-size:11px;color:var(--muted);margin:8px 0 16px}.gift-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gift-product{border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;background:var(--paper)}.gift-product-art{display:grid;place-items:center;width:100%;height:70px;background:var(--sage);border-radius:8px;color:var(--forest)}.gift-product-art svg{width:54px;height:54px}.dark-mode .gift-product-art{color:var(--text)}.gift-product h3{font:650 12px/1.45 var(--sans);margin:12px 0 4px;min-height:35px;display:flex;align-items:center}.gift-product .gift-price{font-size:13px;margin:0 0 10px;color:var(--muted)}.gift-product .btn{padding:8px 5px;min-height:44px;width:100%;font-size:11px;line-height:1.3;margin-top:auto;white-space:normal}.gift-product .btn:disabled{opacity:.65;cursor:default}.checkout-preview{border-top:1px solid var(--line);padding-top:12px;margin-top:16px}.checkout-preview>.btn{font-size:12px;width:100%;cursor:default}.checkout-preview .minor{font-size:11px;margin:0 0 10px}.payment-plan-label{font-size:10px;color:var(--muted);margin:14px 0 8px}.planned-payments{display:flex;flex-wrap:wrap;gap:6px;color:var(--muted)}.planned-payments span{border:1px solid var(--line);border-radius:5px;padding:5px 8px;font:600 10px var(--sans)}
.gift-store{background:var(--paper);border:1px solid var(--line);padding:28px;border-radius:20px}.gift-store-recipient{display:flex;justify-content:space-between;gap:20px;align-items:center}.gift-store-recipient .field{width:min(100%,320px)}.gift-store-recipient select{width:100%}.gift-store h2{font:400 32px var(--display);margin:20px 0 0}.gift-store .gift-product-grid{gap:18px}.gift-store .gift-product{padding:16px}.gift-store .gift-product-art{height:130px}.gift-store .gift-product-art svg{width:76px;height:76px}.gift-store .gift-product h3{font-size:16px;min-height:0}.gift-store .gift-product .btn{max-width:180px;font-size:13px}.gift-store-footnote{max-width:74ch;font-size:12px;line-height:1.7;color:var(--muted);margin:20px 0 0}.gift-store .checkout-preview{max-width:400px;margin-top:24px}.room-conversation-column>.gift-picker{margin-left:0;margin-right:0}.mobile-tabs{grid-template-columns:repeat(4,1fr)}
@media(min-width:941px){.room-visual-column{position:sticky;top:20px;align-self:start}}
@media(max-width:720px){.chat-welcome{min-height:160px;padding:22px}.chat-welcome p{font-size:23px}.mini-gift-shop{padding:16px 12px}.gift-shop-heading{flex-wrap:wrap;gap:0}.gift-shop-heading h2{font-size:24px}.gift-product-grid{gap:7px}.gift-product{padding:7px}.gift-product-art{height:60px}.gift-product-art svg{width:45px;height:45px}.gift-product h3{font-size:11px}.gift-product .btn{font-size:10px}.gift-store{padding:16px}.gift-store-recipient{flex-wrap:wrap;gap:0}.gift-store .gift-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gift-store .gift-product{padding:10px}.gift-store .gift-product h3{font-size:14px;min-height:40px}.gift-store .gift-product-art{height:95px}.gift-store h2{font-size:28px}.room-pending-view .hospital-art-placeholder{height:160px}}
@media(forced-colors:active){.gift-product,.composer-input-row,.composer-send,.planned-payments span{border:1px solid ButtonText}.composer-send:disabled{color:GrayText}.gift-product-art,.hospital-art-placeholder{background:Canvas;color:CanvasText}}

/* Hospital cards retain complete photographic framing at every width. */
.room-card-visual{aspect-ratio:3/2}.room-card-visual>img{object-fit:contain;display:block}
/* Introductory directory text follows the accessible theme foreground. */
.page-lead{color:var(--muted)}

/* Market-aware digital card preview: a visible game decoration, never a photographic claim. */
.digital-card-studio{margin:20px 0;border:1px solid var(--line);border-radius:20px;background:var(--paper);overflow:hidden}.digital-card-studio>summary{padding:20px;cursor:pointer;font-weight:700}.digital-card-studio small{display:block;font-weight:400}.card-editor{padding:0 20px 20px}.card-editor label{display:block;margin:16px 0 6px;font-weight:600}.card-editor input,.card-editor select{width:100%;min-height:44px;background:var(--cream);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px}.card-presets{display:flex;flex-wrap:wrap;gap:8px}.card-presets button{flex:1;min-width:100px}.card-room-effect{padding:25px 10px}.decorative-card{max-width:320px;margin:auto;padding:30px 24px;text-align:center;border:5px double #5e8071;border-radius:8px;background:#f6f1e3;color:#244b3d;box-shadow:8px 10px 18px #0002;transform:rotate(-2deg)}.decorative-card>span{display:block;font-size:48px}.decorative-card strong{font-family:Georgia,serif;font-size:25px}.decorative-card[data-style=sunrise]{background:#fff1de;color:#6d3b16;border-color:#b47a3f}.decorative-card[data-style=midnight]{background:#183b4a;color:#fff4d9;border-color:#9bb6bf}.gift-description{font-size:12px;line-height:1.5}.market-notice{padding:12px;border-left:3px solid var(--green);font-size:13px}.card-editor [aria-invalid=true]{outline:2px solid #b03636}#local-funnel-report{white-space:pre-wrap;overflow-wrap:anywhere}

.card-room-effect .decorative-card p,.owned-digital-items .decorative-card p{color:inherit}
/* Static preview reuses the product grid. Only capability controls differ. */
.owner-preview-notice{text-align:center;font-size:11px;line-height:1.6;padding:4px 12px;color:var(--muted);background:var(--cream)}
.preview-preferences{position:relative;z-index:40}.preview-preferences>summary{cursor:pointer;font-size:12px;min-height:44px;display:flex;align-items:center;padding:8px 12px;border:1px solid var(--line);border-radius:20px;background:var(--paper)}
.preview-preferences-fields{position:absolute;right:0;top:100%;width:min(300px,calc(100vw - 40px));padding:18px;border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:14px}.preview-preferences-fields label{display:block;font-size:12px;margin:8px 0}.preview-preferences-fields select{width:100%;min-height:44px;color:var(--text);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:8px}
.hospital-figure figcaption{position:relative;padding-right:54px}.hospital-figure figcaption>.artwork-disclosure{top:8px;right:8px;bottom:auto}.static-preview .mobile-tabs{grid-template-columns:repeat(3,1fr)}

/* Keep the composer clear of the fixed mobile navigation when a choice receives focus. */
#conversation-message,.composer-send{scroll-margin-block:16px 110px}

/* The initial room shop is a short selection; the complete catalogue is opt-in. */
.mini-gift-shop{padding:16px 12px}.mini-gift-shop .gift-shop-heading h2{font-size:24px;line-height:1.2}.gift-recipient-caption{font-size:12px;margin:5px 0;color:var(--muted)}.mini-gift-shop .gift-price-notice{margin:4px 0 12px}.mini-gift-shop .gift-product-art{height:38px;background:transparent}.mini-gift-shop .gift-product-art svg{height:34px;width:34px}.mini-gift-shop .gift-product{padding:7px 5px}.mini-gift-shop .gift-product h3{margin:5px 0 3px;font-size:11px;line-height:1.3;min-height:29px}.mini-gift-shop .gift-price{font-size:12px;margin-bottom:7px}.more-room-gifts>summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;cursor:pointer;font-size:12px;font-weight:600;list-style:none}.more-room-gifts[open]>summary span{transform:rotate(45deg)}.more-room-gifts>.text-link{display:flex;align-items:center;min-height:44px;font-size:12px}.room-gift-disclosure{font-size:10px;line-height:1.5;color:var(--muted);margin:0}.more-room-gifts .gift-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.more-room-gifts summary:focus-visible{outline:3px solid var(--forest);outline-offset:3px;border-radius:4px}
@media(forced-colors:active){.more-room-gifts summary:focus-visible{outline-color:Highlight}}

/* Private pilot decorations reuse the existing card treatment. */
.owned-digital-items{margin-top:1rem}.owned-digital-items h2{font-size:1rem}.owned-digital-items .decorative-card{margin-block:.75rem}.pilot-order-review{margin-block:1rem;overflow-wrap:anywhere}.pilot-order-review button{margin:.4rem .4rem .4rem 0}

/* Existing room layout, shared guest/account chat lifecycle. */
.opening-greeting{font:400 14px/1.7 var(--sans);max-width:38em;color:var(--text)}
.chat-activation-notice,.chat-consent,.chat-end,.chat-account-link{margin:12px 16px;font-size:12px;line-height:1.6}
.chat-consent{display:flex;align-items:flex-start;gap:10px}.chat-consent input{width:20px;height:20px;flex:0 0 20px}.chat-consent label{cursor:pointer}
.room-chat .chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere}
.room-chat .conversation-status:empty{display:none}.room-chat .conversation-status{font-size:12px;line-height:1.6}
.room-chat .chat-end{min-height:44px;background:none;border:0;text-align:left;cursor:pointer;color:var(--text)}
@media(max-width:720px){.composer-input-row input{font-size:16px}.room-chat .pv-chat-messages{max-height: min(380px,45dvh)}.opening-greeting{font-size:13px}.chat-welcome{padding:18px}}

.static-preview-banner{padding:12px 18px;background:#1d473c;color:white;text-align:center;font-size:12px}.static-preview-banner+ .skip-link{top:-100px}

.ai-consent{display:flex;gap:10px;align-items:flex-start;margin:16px 0;text-align:left;font-size:14px}.ai-consent input{flex:none;width:20px;height:20px}.chat-welcome .btn{margin:8px 0}.chat-load-status:empty{display:none}.chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere}

/* Free-text conversation, scoped to preserve the existing room and gift layout. */
.freeform-chat .conversation-welcome{padding:38px 24px 30px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:14px;min-height:330px;justify-content:center}
.freeform-chat .conversation-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e8efe8;color:#234d3e;font:600 24px var(--display)}
.freeform-chat .conversation-welcome h2,.freeform-chat .conversation-empty h2{font:500 clamp(23px,2.2vw,30px) var(--display);margin:0;color:var(--text)}
.freeform-chat .conversation-welcome p{font:400 14px/1.65 var(--body,Arial,sans-serif);margin:0;max-width:400px;color:var(--muted)}
.freeform-chat .conversation-start{display:inline-flex!important;visibility:visible!important;opacity:1!important;background:#245d49!important;color:#fff!important;border:1px solid #245d49;min-height:50px;padding:14px 28px;margin:5px 0;box-shadow:0 3px 8px #173d3012}
.freeform-chat .conversation-start:hover{background:#173e31!important}
.freeform-chat .conversation-welcome .conversation-notice{font-size:12px;max-width:400px}
.freeform-chat .pv-chat-messages{min-height:280px;max-height:480px;padding:24px;display:flex;flex-direction:column;gap:24px}
.freeform-chat .conversation-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-height:220px;text-align:center}
.freeform-chat .chat-line{max-width:100%;margin:0;display:flex;flex-direction:column;gap:6px}
.freeform-chat .chat-line.from-user{align-items:flex-end;margin-left:28px}
.freeform-chat .chat-line.from-character{align-items:flex-start;margin-right:12px}
.freeform-chat .from-user .chat-bubble{background:var(--wash,#edf2ec);color:var(--text);border:0;border-radius:20px 20px 4px 20px;padding:12px 16px}
.freeform-chat .from-character .chat-bubble{background:transparent;border:0;padding:0;box-shadow:none;color:var(--text);line-height:1.75}
.freeform-chat .chat-speaker{font-size:12px;color:var(--muted)}
.freeform-chat .message-composer{padding:16px 20px 18px}
.freeform-chat .composer-input-row{align-items:flex-end;border:1px solid var(--line);border-radius:22px;padding:8px;background:var(--paper);box-shadow:0 2px 10px #183e3010}
.freeform-chat .composer-input-row:focus-within{outline:2px solid #5c8b76;outline-offset:2px}
.freeform-chat textarea{display:block;flex:1;min-width:0;width:100%;resize:none;min-height:58px;max-height:160px;border:0;outline:0!important;box-shadow:none;background:transparent;color:var(--text);padding:10px 8px;font:400 15px/1.55 var(--body,Arial,sans-serif)}
.freeform-chat textarea::placeholder{color:var(--muted);opacity:1}
.freeform-chat .composer-send{flex:none;border-radius:50%;width:40px;height:40px;min-width:40px;min-height:40px;background:#245d49;color:#fff}
.freeform-chat .composer-send:disabled{opacity:.4}
.freeform-chat .composer-mode{font-size:11px;margin:10px 4px;color:var(--muted)}
.freeform-chat .conversation-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 4px 0}
.freeform-chat .conversation-controls small{font-size:10px;line-height:1.5;color:var(--muted)}
.freeform-chat .conversation-controls button{background:transparent;color:var(--text);border:0;border-radius:6px;padding:6px 0;font:600 12px/1.4 var(--body,Arial,sans-serif);white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.freeform-chat .conversation-typing{font-size:13px;color:var(--muted);margin:0}
.freeform-chat .chat-load-status:not(:empty){padding:10px 4px;font-size:13px}
@media(max-width:600px){.freeform-chat .conversation-welcome{padding:28px 18px}.freeform-chat .pv-chat-messages{padding:18px;max-height:420px}.freeform-chat .message-composer{padding:12px}.freeform-chat .conversation-controls small{display:none}.freeform-chat .conversation-controls{justify-content:flex-end}.freeform-chat .chat-line.from-user{margin-left:12px}}

.freeform-chat .pv-chat-panel-top>div{min-width:0}.freeform-chat .conversation-location{font-size:11px;line-height:1.5;overflow-wrap:anywhere;margin-top:5px}.freeform-chat .pv-chat-panel-top>button{flex-shrink:0}

/* Compact hosted checkout and purchased decorations. */
.gift-buy{width:100%;margin-top:.5rem;font-size:.8rem;min-height:40px;white-space:normal}
.gift-payments{margin-top:1rem;padding:1rem;border:1px solid var(--border,#d6ded9);border-radius:16px;background:var(--surface,#fff)}
.payment-availability{font-weight:600;font-size:.88rem;margin:0 0 .65rem}
.payment-methods{display:flex;gap:.45rem;flex-wrap:wrap}
.payment-methods span{border:1px solid #c9d1cc;border-radius:6px;padding:.25rem .5rem;font-size:.76rem}
.payment-result:empty{display:none}.payment-result{font-size:.88rem;margin-top:.7rem}
.owned-gift{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin:.7rem 0}
.owned-gift small{width:100%;overflow-wrap:anywhere;font-size:.65rem;color:var(--muted,#59645c)}
.dark-mode .gift-payments{background:#202b27;border-color:#425248}

/* Persistent digital decorations, shared by all ten rooms. */
.room-gift-shelf{margin:16px 0 0;padding:18px;background:var(--surface,#fffefa);border:1px solid var(--border,#d6dfd4);border-radius:18px;color:var(--text,#203e34)}
.room-gift-shelf[hidden]{display:none}
.room-gift-shelf header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.room-gift-shelf h3{margin:4px 0 0;font-family:Georgia,serif;font-size:22px}.room-gift-shelf header small{letter-spacing:.16em;font-size:10px}
.room-gift-collection{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}
.room-gift-object{padding:14px 10px;text-align:center;border:1px solid #d3dfd3;border-radius:14px;background:#f2f6ed;color:#234d3d;animation:gift-arrival .3s ease-out}
.room-gift-object strong{display:block;font-size:13px;line-height:1.4}.room-gift-object small{display:block;font-size:10px;margin-top:6px;opacity:.8}.room-gift-object p{font-family:Georgia,serif;font-size:13px;margin:8px 0}
.room-gift-illustration{width:80px;height:80px;max-width:100%;margin:0 auto 10px;display:grid;place-items:center;background:#fffaf0;border-radius:50%;box-shadow:0 5px 0 #234d3d0b}.room-gift-illustration svg{width:64px;height:64px}
.gift-flowers{background:#f7eaf0;color:#934762}.gift-teddy-bear{background:#f4e9d8;color:#825e39}.gift-newspaper{background:#eef0f1;color:#3d5260}.gift-crossword-book{background:#e6eff0;color:#356171}.gift-tea-biscuits{background:#f3ecdd;color:#7f6035}.gift-sunshine-card{background:#fff2cc;color:#886515}.gift-custom-card[data-style="sunrise"]{background:#fff0d9;color:#915227}.gift-custom-card[data-style="midnight"]{background:#1d2f42;color:#f6e7c7}.gift-custom-card[data-style="midnight"] .room-gift-illustration{background:#32475c}
.room-gift-object.is-preview{border-style:dashed}.gift-product .gift-buy{width:100%;margin-top:6px}.room-gift-shelf>.minor{margin:14px 0 0;font-size:11px;line-height:1.6}
@keyframes gift-arrival{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.room-gift-object{animation:none}}
@media(max-width:480px){.room-gift-collection{grid-template-columns:repeat(2,minmax(0,1fr))}.room-gift-shelf{padding:12px}}

/* The room photograph leads into a personal care card; gifts stay in the shop. */
.patient-record{margin-top:20px;border:1px solid var(--border,#dce3dc);border-radius:18px;background:var(--surface,#fff);overflow:hidden;text-align:left}
.patient-record-header{display:flex;align-items:center;gap:12px;padding:20px 22px;background:rgba(83,124,104,.07);border-bottom:1px solid var(--border,#dce3dc)}
.patient-record-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:rgba(83,124,104,.1);color:var(--green,#38644e);flex:none}
.patient-record-icon svg{width:25px;height:25px}.patient-record-kicker{font-size:10px;letter-spacing:.13em;font-weight:700;color:var(--muted,#65756b)}
.patient-record-header h2{font-size:24px;line-height:1.25;margin:4px 0 0}.patient-record-status{margin-left:auto;font-size:11px;font-weight:600;border:1px solid #c9d8ce;border-radius:999px;padding:6px 9px;white-space:nowrap;color:var(--green,#38644e)}
.patient-record-identity{padding:20px 22px 16px;display:flex;flex-direction:column;gap:6px}.patient-record-identity strong{font-size:19px}.patient-record-identity span{font-size:13px}.patient-record-identity small{font-size:12px;color:var(--muted,#65756b);line-height:1.5}
.patient-record-notes{margin:0;padding:0 22px 20px;display:grid;gap:0}.patient-record-notes>div{border-top:1px solid var(--border,#e5e8e2);padding:14px 0}.patient-record-notes>div:last-child{padding-bottom:0}.patient-record-notes dt{font-size:11px;text-transform:uppercase;letter-spacing:.075em;font-weight:700;color:var(--muted,#65756b);margin-bottom:6px}.patient-record-notes dd{margin:0;font-size:14px;line-height:1.65}.patient-record footer{padding:12px 22px;background:rgba(83,124,104,.04);border-top:1px solid var(--border,#e5e8e2);font-size:11px;color:var(--muted,#65756b)}
.gift-wallet-hint{font-size:12px;line-height:1.7;margin:12px 0 0;text-align:center;color:var(--muted,#65756b)}.gift-wallet-hint small{font-size:11px}.mini-gift-shop>.room-gift-shelf{margin-top:18px}
@media(max-width:480px){.patient-record-header{flex-wrap:wrap;padding:17px}.patient-record-header h2{font-size:23px}.patient-record-status{font-size:10px}.patient-record-identity{padding:17px}.patient-record-notes{padding:0 17px 17px}.patient-record footer{padding:12px 17px}}
/* Get-well cards are sent with a visitor-chosen one-time amount. */
.get-well-card{grid-column:1/-1;text-align:left;background:var(--paper);padding:20px!important}.get-well-heading{display:flex;gap:12px;align-items:center;margin-bottom:12px}.get-well-heading>span{font-size:34px;line-height:1;color:var(--forest-muted)}.get-well-heading h3{margin:0 0 4px;font-family:var(--display);font-size:24px}.get-well-heading p{margin:0;font-size:13px;color:var(--muted)}.get-well-intro{font-size:13px;line-height:1.6}.get-well-fields{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}.get-well-fields label{display:block;font-size:12px;font-weight:700;margin:0 0 6px}.get-well-fields select,.get-well-fields input{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--cream);color:var(--text);padding:11px;font-size:14px;min-height:46px}.card-amount-wrap{position:relative}.card-amount-wrap input{padding-right:50px}.card-amount-wrap span{position:absolute;right:12px;top:12px;font-size:13px;pointer-events:none;color:var(--muted)}.get-well-card .minor{font-size:11px;margin:9px 0}.card-error:empty{display:none}.card-error{font-size:12px;color:#a03629;margin:8px 0}.get-well-card .card-purchase-disclosure{font-size:11px;line-height:1.6;color:var(--muted);margin:9px 0 0}.get-well-card .gift-buy{min-height:46px}.gift-product-grid:not(.room-gift-primary)>.get-well-card{max-width:none}.get-well-card input[aria-invalid=true]{border-color:#a03629}
@media(max-width:420px){.get-well-fields{grid-template-columns:1fr}.get-well-card{padding:16px!important}}

.room-gift-primary{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Conversation availability on patient photographs. */
.patient-online-badge{position:absolute;top:12px;right:12px;z-index:3;display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #c8dfcf;border-radius:999px;background:#f5fff7;color:#234d35;font:600 11px/1.4 var(--body);white-space:nowrap;box-shadow:0 2px 8px #163c2520;pointer-events:none}
.patient-online-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#22a447}

/* Public reading and SEO navigation, 20 October 2026 */
.seo-breadcrumbs{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;font-size:.78rem;color:#3c5149;margin:0 0 1.2rem;overflow-wrap:anywhere}.seo-breadcrumbs a{text-decoration:underline;text-underline-offset:3px}.price-table-wrap{overflow-x:auto;margin:1.5rem 0}.price-table{width:100%;border-collapse:collapse;background:var(--surface,#fff)}.price-table caption{text-align:left;padding:.75rem;font-weight:600}.price-table th,.price-table td{padding:.8rem;text-align:left;border-bottom:1px solid #d4ddd7}.story-reading{max-width:800px}.story-reading>p{font-size:1.1rem;line-height:1.85}.story-reading nav{line-height:2.2}.gift-effect-sample{width:100%;height:auto;border-radius:12px}.dark-mode .seo-breadcrumbs{color:#dae9e0}

.chat-safety-help{margin-top:16px;padding:14px;border:1px solid var(--line,#d4dfd8);border-radius:12px;font-size:14px;line-height:1.6}.chat-safety-help summary{cursor:pointer;font-weight:600;min-height:28px}.chat-safety-help a{text-decoration:underline}.card-price-presets{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.mini-gift-shop .gift-product h3{font-size:13px}.room-gift-disclosure{font-size:12px}.mini-gift-shop .gift-buy{min-height:44px}

/* A single quiet purchase note, with readable contrast in both themes. */
.gift-payments .checkout-disclosure{font-size:12px;line-height:1.6;font-weight:400;color:#536158;margin:10px 0;max-width:72ch}
.dark-mode .gift-payments .checkout-disclosure{color:#c5d1c9}

/* October audit: readable notices, focused mobile conversation, accessible card presets. */
[hidden]{display:none!important}.mobile-brand,.mobile-room-chat{display:none}.artwork-disclosure summary{display:flex;align-items:center;gap:5px;width:auto;padding:7px 9px;font:600 12px/1.2 sans-serif}.artwork-disclosure summary svg{width:20px;height:20px}.card-price-presets [aria-pressed="true"]{background:var(--primary,#315f50);color:#fff;border-color:var(--primary,#315f50)}.footer small{font-size:12px;line-height:1.8}.checkout-disclosure{font-size:12px;line-height:1.6;color:#555f5b}.dark-mode .checkout-disclosure{color:#c6d0ca}.support-form{max-width:640px;display:grid;gap:14px}.support-form input,.support-form textarea{width:100%;padding:12px;border:1px solid #9ca99f;border-radius:8px;font:inherit;background:transparent;color:inherit}.support-form label{display:grid;gap:6px}.language-suggestion{padding:10px 16px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;background:#edf3ed;color:#213b2c}.language-suggestion a{color:inherit;text-decoration:underline}.language-suggestion button{background:none;border:0;color:inherit;font:inherit}.mini-gift-shop{margin-top:32px}.support-result{white-space:pre-line}.get-well-fields [data-card-custom][hidden]{display:none}.payment-recovery{font-size:13px;line-height:1.6;margin:14px 0}
@media(max-width:720px){.mobile-brand{display:flex;align-items:center;gap:7px;font-family:Georgia,serif;font-size:20px;font-weight:700;white-space:nowrap}.topbar .breadcrumb{display:none}.topbar{justify-content:space-between;gap:8px}.preview-preferences summary{white-space:nowrap}.mobile-room-chat{display:flex;justify-content:center;margin:12px 0 20px;min-height:48px}.room-conversation-grid{display:flex;flex-direction:column}.room-visual-column,.room-conversation-column{width:100%;min-width:0}.footer{padding-bottom:90px}}

/* Four compact gifts directly below the conversation; greeting card spans the row. */
.room-conversation-column>.mini-gift-shop{margin:16px 0 0;padding:16px 12px}
.room-gift-primary>.gift-product:not(.get-well-card){padding:9px 5px}
.room-gift-primary>.gift-product:not(.get-well-card) .gift-buy{padding:10px 4px;font-size:11px;line-height:1.35;min-height:44px;white-space:normal}
.room-gift-primary>.gift-product:not(.get-well-card) h3{font-size:12px;min-height:32px;display:flex;align-items:center;justify-content:center}
.room-gift-primary>.get-well-card{margin-top:4px}
@media(max-width:720px){.room-gift-primary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.room-gift-primary>.gift-product:not(.get-well-card) h3{font-size:14px;min-height:20px}.room-gift-primary>.gift-product:not(.get-well-card) .gift-buy{font-size:13px;padding:11px 8px}}
@media(forced-colors:active){.patient-online-dot{background:CanvasText;border:1px solid CanvasText}.patient-online-badge{border:1px solid CanvasText}}

/* Compact mobile availability badge, below the portrait's face area. */
@media(max-width:720px){
 .patient-online-badge{top:auto;right:7px;bottom:7px;gap:4px;padding:3px 6px;font-size:10px;line-height:1.25;max-width:calc(100% - 14px);white-space:normal;box-shadow:0 1px 4px #163c2518}
 .patient-online-dot{width:6px;height:6px;flex-basis:6px}
}
