/* A Warm Home v002. Visual layer over the unchanged r003 room and account flow. */
@font-face{font-family:"Mother City Room Labels";src:url("https://mother-city.oss-cn-shanghai.aliyuncs.com/mc-public/23607844a1cdb69d574e131a641af6739eeedeabeae23f8628cae19bbd62206a/room-labels-v1.woff2") format("woff2"), url("/assets/fonts/mother-city-brush-v1/room-labels-v1.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap;unicode-range:U+20,U+4E66,U+518C,U+661F,U+7C7D,U+8BB0,U+5F55,U+591C,U+5F52}
/* Match the room canvas at the system safe area; entry/day keep their own paper. */
html[data-account-runtime=required],body.scene-ui-v3{background-color:#b1bf94}
:root{--mc-system:system-ui,"PingFang SC","Microsoft YaHei",sans-serif;--mc-warm:"Mother City Hand",var(--mc-system);--mc-brush:"Mother City Brush",var(--mc-warm);--scene-hand:var(--mc-warm)}
body,body.scene-ui-v3{font-family:var(--mc-system);--scene-hand:var(--mc-warm)}
body :is(h1,h2,h3,h4,button,summary,label,.eyebrow,.primary,.secondary-button,.return-home){font-family:var(--mc-warm)!important}
body :is(input,textarea,select,blockquote,.raw-copy,.night-diary,.night-dedication,.companion-response,.supporting-copy,.status,.quiet-status){font-family:var(--mc-system)!important}
body :is(code,pre,input[type=password],#account-username,#account-recovery-code){font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important}
body :is(p,blockquote,textarea,input,.account-menu-panel,.seed-card){overflow-wrap:anywhere}
body :is(.seed-card,.seed-item,.day-panel){min-width:0}
.scene-ui-v3 .city-topbar{left:max(22px,env(safe-area-inset-left));top:max(24px,env(safe-area-inset-top));right:auto;max-width:calc(100% - 100px);padding:0;background:none;box-shadow:none;backdrop-filter:none;border-radius:0}
.scene-ui-v3 .city-mark{gap:10px;min-width:0;align-items:center}
.warm-city-icon{flex:none;border-radius:7px}
.scene-ui-v3 .city-mark-copy{min-width:0}
.scene-ui-v3 .city-mark-copy strong,.scene-ui-v3 .city-topbar-actions{display:none}
.scene-ui-v3 .city-mark-copy small{display:block;max-width:min(38vw,380px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 20px/1.4 var(--mc-warm);color:#24463c}
.scene-ui-v3 #account-bar{top:max(21px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right))}
.scene-ui-v3 #account-menu>summary{width:44px;height:44px;display:grid;place-items:center;padding:0;background:transparent;box-shadow:none;border-radius:50%;color:#335446}
.scene-ui-v3 #account-menu[open]>summary{background:#faf6e9}
.scene-ui-v3 .account-menu-panel{width:min(390px,calc(100vw - 36px));z-index:110}
.scene-ui-v3 .scene-v3-home-copy{top:10.6%;left:6.8%;width:38%;text-align:center;color:#23483a;text-shadow:0 1px 5px #f4efcf80;pointer-events:none}
.scene-ui-v3 .scene-v3-home-copy .eyebrow{font:400 15px/1.6 var(--mc-warm);letter-spacing:.1em}
.scene-ui-v3 .scene-v3-home-copy h1{margin:18px 0 0;font:400 clamp(34px,3.4vw,54px)/1.25 var(--mc-brush)}
.scene-ui-v3 .scene-v3-intro{display:none}
/* Night light: above the full-room hotspot container, below account and panels. */
body.scene-ui-v3 #scene-v3-orb-link{z-index:7;top:calc(10.6% + 128px);left:25.8%;width:168px;min-height:108px;display:none;grid-template-rows:64px minmax(44px,auto);justify-items:center;align-items:center;transform:translateX(-50%);animation:none;isolation:isolate;touch-action:manipulation;-webkit-tap-highlight-color:#fff2b966;border-radius:28px;color:#355344}
body.scene-ui-v3[data-morning-orb-ready=true][data-city-view=home] #scene-v3-orb-link{display:grid;pointer-events:auto}
body.scene-ui-v3 #scene-v3-orb-link::before{content:"";position:absolute;z-index:-1;top:2px;left:calc(50% - 31px);width:62px;height:60px;border-radius:46% 51% 47% 49%;background:radial-gradient(ellipse at 44% 40%,#fffdf0 0%,#fff5cd 25%,#eadb9bbd 53%,#c5ca9766 74%,transparent 96%);box-shadow:0 0 17px 3px #fff0b755,inset 3px 1px 8px #fffbe58c;filter:blur(.8px);pointer-events:none}
body.scene-ui-v3 #scene-v3-orb-link::after{content:"";position:absolute;z-index:-2;top:-15px;left:calc(50% - 55px);width:110px;height:96px;border-radius:50%;background:radial-gradient(ellipse,#fff3be70,#f9e7a52e 48%,transparent 72%);filter:blur(5px);animation:warm-nightlight-glow 4.8s ease-in-out infinite;pointer-events:none}
body.scene-ui-v3 #scene-v3-orb-link>.scene-v3-orb{grid-row:1;width:64px;height:64px;opacity:0;pointer-events:none}
body.scene-ui-v3 #scene-v3-orb-link>span{position:static;grid-row:2;display:flex;align-items:center;justify-content:center;min-height:44px;max-width:168px;padding:4px 8px;transform:none;border-radius:14px;background:transparent;box-shadow:none;color:inherit;font:400 15px/1.4 var(--mc-warm);text-shadow:0 1px 5px #fff8df,0 0 12px #fff6d4;pointer-events:auto;white-space:nowrap}
body.scene-ui-v3 #scene-v3-orb-link:focus-visible{outline:2px solid #875f30;outline-offset:3px;background:#fff6d12b}
body[data-homecoming] #scene-v3-orb-link,html[data-account-runtime=required]:not([data-account-state=ready]) #scene-v3-orb-link{display:none!important;pointer-events:none!important}
@keyframes warm-nightlight-glow{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:599px),(orientation:portrait) and (max-width:1023px){body.scene-ui-v3 #scene-v3-orb-link{top:calc(11.8% + 98px);left:42%;width:158px}body.scene-ui-v3 #scene-v3-orb-link>span{font-size:14px}}
@media(max-width:599px) and (max-height:700px){
 body.scene-ui-v3 #scene-v3-orb-link{left:50%;width:190px;min-height:44px;grid-template-columns:44px 1fr;grid-template-rows:44px}
 body.scene-ui-v3 #scene-v3-orb-link>.scene-v3-orb{grid-column:1;width:44px;height:44px}
 body.scene-ui-v3 #scene-v3-orb-link>span{grid-column:2;grid-row:1;padding-inline:4px}
 body.scene-ui-v3 #scene-v3-orb-link::before{top:4px;left:4px;width:36px;height:36px}
 body.scene-ui-v3 #scene-v3-orb-link::after{top:-10px;left:-18px;width:80px;height:64px}
}
@media(prefers-reduced-motion:reduce){body.scene-ui-v3 #scene-v3-orb-link::after{animation:none;opacity:.8}}
.scene-v3-home-copy .scene-v3-status-card{display:none}
.scene-ui-v3 .scene-v3-scrim{z-index:3;background:linear-gradient(0deg,#e0e5c6 0%,#e0e5c6b0 10%,transparent 28%)}
.scene-ui-v3 .scene-v3-hotspot::before{content:none}
.scene-ui-v3 .scene-v3-hotspot>.warm-room-label{display:flex;align-items:center;gap:7px;min-height:44px;max-width:150px;top:auto;right:auto;bottom:auto;left:auto;padding:0;border:0;background:none;transform:none;color:#24473b;font:400 18px/1.3 var(--mc-warm);text-shadow:0 1px 5px #fff9db,0 0 9px #fff9db;pointer-events:auto;white-space:nowrap}
.scene-ui-v3 .scene-v3-hotspot>.warm-room-label{font-family:"Mother City Room Labels",var(--mc-warm);font-size:21px;font-weight:400;letter-spacing:.045em;text-shadow:0 1px 4px #fff9dbb3}
/* A still, replaceable sky wash inside the painted glass. No decorative count or receipt. */
#warm-bowl-sky{position:absolute;z-index:4;pointer-events:none;border-radius:16% 16% 46% 46% / 10% 10% 48% 48%;background:radial-gradient(ellipse at 67% 38%,#c8bddd66,transparent 62%),linear-gradient(165deg,#88aaca66 3%,#688bbac7 40%,#759cc299 71%,#b1c5d038);-webkit-mask-image:radial-gradient(ellipse at 50% 42%,#000 0 49%,#000b 66%,transparent 75%);mask-image:radial-gradient(ellipse at 50% 42%,#000 0 49%,#000b 66%,transparent 75%)}
#scene-v3-stage[data-mode=night] #warm-bowl-sky{background:radial-gradient(ellipse at 65% 38%,#625289a6,transparent 66%),linear-gradient(155deg,#2638589c,#172342e6 42%,#263c67c9 72%,#587d933d)}
#scene-v3-stage[data-art-status=failed] #warm-bowl-sky{display:none}
/* Follow the visible top edge with a short fade, preserving the original illustration. */
.warm-room-edge{position:absolute;z-index:4;top:0;left:0;right:0;display:none;height:clamp(52px,9vh,90px);background:linear-gradient(#b1bf94 0 8px,#b1bf94e6 24%,#b1bf9466 59%,#b1bf9400);pointer-events:none}
@media(max-width:599px),(orientation:portrait) and (max-width:1023px){.warm-room-edge{display:block}}
#scene-v3-stage[data-mode=night] .warm-room-edge{display:none}
/* Stable scattered positions: the existing renderer still shows min(record count, 9). */
body.scene-ui-v3 #scene-v3-seeds{display:block}
body.scene-ui-v3 #scene-v3-seeds img{position:absolute;left:var(--seed-x);top:var(--seed-y);width:clamp(15px,2.7vw,24px);height:auto;transform:translate(-50%,-50%) rotate(var(--seed-turn)) scale(var(--seed-scale));filter:drop-shadow(0 0 3px #fff3c1a6) drop-shadow(0 1px 1px #785d4933);opacity:.94}
#scene-v3-seeds img:nth-child(1){--seed-x:49%;--seed-y:47%;--seed-turn:-12deg;--seed-scale:1}
#scene-v3-seeds img:nth-child(2){--seed-x:23%;--seed-y:72%;--seed-turn:18deg;--seed-scale:.74}
#scene-v3-seeds img:nth-child(3){--seed-x:78%;--seed-y:26%;--seed-turn:11deg;--seed-scale:.82}
#scene-v3-seeds img:nth-child(4){--seed-x:28%;--seed-y:17%;--seed-turn:-8deg;--seed-scale:.6}
#scene-v3-seeds img:nth-child(5){--seed-x:75%;--seed-y:79%;--seed-turn:24deg;--seed-scale:.66}
#scene-v3-seeds img:nth-child(6){--seed-x:9%;--seed-y:43%;--seed-turn:-22deg;--seed-scale:.5}
#scene-v3-seeds img:nth-child(7){--seed-x:91%;--seed-y:53%;--seed-turn:8deg;--seed-scale:.51}
#scene-v3-seeds img:nth-child(8){--seed-x:46%;--seed-y:88%;--seed-turn:25deg;--seed-scale:.48}
#scene-v3-seeds img:nth-child(9){--seed-x:54%;--seed-y:7%;--seed-turn:-16deg;--seed-scale:.4}
.warm-room-label i{width:5px;height:5px;border-radius:50%;background:#bba46c;box-shadow:0 0 4px #fff1ab;flex:none}
.scene-ui-v3 .scene-v3-hotspot:focus-visible{outline:3px solid #875f30;outline-offset:2px}
.warm-overview{position:fixed;z-index:20;right:max(40px,env(safe-area-inset-right));bottom:max(32px,env(safe-area-inset-bottom));width:320px;color:#234438}
.warm-overview .welcome-numbers{display:block;margin:0;padding:0;border:0;background:none;box-shadow:none;font-family:var(--mc-warm)!important}
.warm-overview .welcome-numbers p{margin:0;font:400 17px/1.5 var(--mc-warm)}
.warm-overview .welcome-numbers p:last-child{font-size:14px;color:#4c654c}
.warm-overview .welcome-numbers strong{font:400 23px/1.4 var(--mc-system);font-variant-numeric:tabular-nums}
.warm-overview .welcome-numbers p:last-child strong{font-size:16px}
.warm-stat-link{display:inline-flex;align-items:center;gap:14px;min-height:44px;max-width:100%;padding:0 4px;border-radius:8px;color:inherit;font:inherit;text-decoration:none;box-sizing:border-box;-webkit-tap-highlight-color:#fff5ca80}
.warm-stat-link:hover{background:#fff4cf66}
.warm-stat-link:focus-visible{outline:2px solid #875f30;outline-offset:3px;background:#fff4cf66}
.warm-stat-arrow{font:22px/1 var(--mc-system);color:#687c57;flex:none}
body:not([data-city-view=home]) .warm-overview{display:none}
html[data-account-runtime=required]:not([data-account-state=ready]) .warm-overview{display:none!important}
.scene-ui-v3 :is(.primary-button,button.primary,.primary){background:#566c40;color:#fff9e7}
.scene-ui-v3 .city-view-bar{top:88px}
.scene-ui-v3 .city-home>[data-city-view]:not(.welcome-panel):not(.home-scene):not(.day-path-card){top:150px}
#scene-v3-state,#scene-v3-connection{display:block}
@media(max-width:599px),(orientation:portrait) and (max-width:1023px){
 .scene-ui-v3 .city-mark-copy small{max-width:calc(100vw - 130px);font-size:19px}
 .scene-ui-v3 .scene-v3-home-copy{top:11.8%;left:12%;width:76%}
 .scene-ui-v3 .scene-v3-home-copy h1{width:auto;font-size:38px;margin-top:18px}
 .scene-ui-v3 .scene-v3-home-copy .eyebrow{font-size:14px}
 .scene-ui-v3 .scene-v3-scrim{background:linear-gradient(0deg,#e0e5c6 0%,#e0e5c6 14%,#e0e5c6e0 20%,transparent 31%)}
 .warm-overview{left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));bottom:calc(24px + env(safe-area-inset-bottom));width:auto}
 .scene-ui-v3 .city-view-bar,body[data-city-view=capture].scene-ui-v3 .city-view-bar{top:max(82px,calc(var(--scene-v3-vh,100svh) * .34));right:0;padding:10px 20px;min-height:64px}
 .scene-ui-v3 .city-home>[data-city-view]:not(.welcome-panel):not(.home-scene):not(.day-path-card),body[data-city-view=capture].scene-ui-v3 .city-home>[data-city-view=capture]{top:calc(max(82px,calc(var(--scene-v3-vh,100svh) * .34)) + 64px);padding:20px 22px calc(24px + env(safe-area-inset-bottom))}
 .scene-ui-v3.scene-v3-keyboard-open .city-view-bar{display:flex;top:env(safe-area-inset-top);min-height:54px;padding:5px 16px;border-radius:0}
 .scene-ui-v3.scene-v3-keyboard-open .city-home>[data-city-view]:not(.welcome-panel):not(.home-scene):not(.day-path-card){top:calc(54px + env(safe-area-inset-top));height:calc(var(--scene-v3-vh,100svh) - 54px - env(safe-area-inset-top));bottom:auto}
 .scene-ui-v3.scene-v3-keyboard-open[data-city-view=capture] #account-bar{display:none}
 .scene-ui-v3.scene-v3-keyboard-open #account-menu[open] .account-menu-panel{max-height:calc(var(--scene-v3-vh,100dvh) - 86px - env(safe-area-inset-top))}
}
@media(max-width:350px){.warm-overview{left:18px;right:18px;bottom:calc(16px + env(safe-area-inset-bottom))}.warm-overview .welcome-numbers p{font-size:16px}.scene-ui-v3 .scene-v3-hotspot>.warm-room-label{font-size:19px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

.scene-ui-v3 .scene-v3-home-copy h1{font-family:var(--mc-brush)!important}
body :is(.metric strong,.warm-overview strong,#night-diary,#night-dedication,.account-menu-panel p,.seed-card blockquote){font-family:var(--mc-system)!important}
.seed-card{grid-template-columns:minmax(0,1fr)}
.day-grid > *, .seed-list, .seed-card, .night-copy { min-width:0 }
.seed-card blockquote, .night-copy p, .day-status { overflow-wrap:anywhere }
.correction-form textarea, #day-quality { min-width:0;max-width:100% }
.day-grid,.day-hero{min-width:0}
/* Reading and capture remain clear and usable inside the new room composition. */
.scene-ui-v3 .city-home > [data-city-view] :is(p,blockquote,.ledger-response-preview,.reflection-text){font-family:var(--mc-system)!important}
.scene-ui-v3 #capture-card::after{content:none}
.scene-ui-v3 #capture-card .step{display:none}
.scene-ui-v3 #capture-heading{font-size:26px;margin:0 0 12px;line-height:1.35}
.scene-ui-v3 #capture-dictation{margin:6px 0 10px;min-height:44px;padding:8px}
.scene-ui-v3 #raw-input{min-height:150px;height:190px;max-height:45vh;padding:14px;border:1px solid #c8d0b5;border-radius:14px;background:#fffdf4;font-size:17px;line-height:1.7;resize:vertical}
.scene-ui-v3 #raw-input:focus-visible{outline:3px solid #875f30;outline-offset:2px}
.scene-ui-v3 #capture-form .supporting-copy{font-size:13px;margin:10px 0;line-height:1.6}
.scene-ui-v3 #capture-form .form-footer{margin-top:12px;gap:10px}
.scene-ui-v3 #save-button{background:#566c40;color:#fff9e7;border-color:#566c40;box-shadow:none}
.scene-ui-v3 #receipt-navigation a{background:#566c40;color:#fff9e7}
@media(max-width:599px),(orientation:portrait) and (max-width:1023px){
 .scene-ui-v3 #raw-input{height:145px;min-height:120px;max-height:35vh}
 .scene-ui-v3 #capture-heading{font-size:23px}
 .scene-ui-v3 #capture-form .form-footer{display:flex;flex-direction:row;align-items:center}
 .scene-ui-v3 #capture-form .form-footer .quiet-status{flex:1;min-width:0;margin:0}
 .scene-ui-v3 #save-button{width:auto;min-width:120px;max-width:65%;padding:12px 18px}
 .scene-ui-v3.scene-v3-keyboard-open #raw-input{height:120px;min-height:100px}
}
.scene-ui-v3 :is(.night-review-moment,.night-seed-choice)>span,
.scene-ui-v3 :is(#night-final-words,.ledger-response-preview){font-family:var(--mc-system)!important}
body.scene-ui-v3:is([data-city-view=night],[data-city-view=light],[data-city-view=hold],[data-city-view=share],[data-city-view=diary]) #account-menu:not([open])>summary{color:#f6f1d7;background:#223d3299}
@media(min-width:1024px),(min-width:600px) and (orientation:landscape){
 body.scene-ui-v3 .city-view-bar{left:auto!important;right:24px!important;width:500px!important;max-width:calc(100% - 48px);margin-inline:0!important}
 body.scene-ui-v3 .city-home>[data-city-view]:not(.welcome-panel):not(.home-scene):not(.day-path-card){left:auto!important;right:24px!important;width:500px!important;max-width:calc(100% - 48px);margin-inline:0!important;padding-inline:32px!important}
}
@media(max-width:599px),(orientation:portrait) and (max-width:1023px){
 body.scene-ui-v3.scene-v3-keyboard-open .city-view-bar{top:env(safe-area-inset-top)!important;min-height:54px;display:flex!important}
 body.scene-ui-v3.scene-v3-keyboard-open .city-home>[data-city-view]:not(.welcome-panel):not(.home-scene):not(.day-path-card){top:calc(54px + env(safe-area-inset-top))!important;height:calc(var(--scene-v3-vh,100svh) - 54px - env(safe-area-inset-top))!important;bottom:auto!important}
}
body.scene-ui-v3.scene-v3-keyboard-open .city-topbar{display:none!important}
/* Capture keeps its editing layout through visual viewport resize and scroll. */
@media(max-width:599px),(orientation:portrait) and (max-width:1023px){
 body.scene-ui-v3.scene-v3-capture-editing[data-city-view=capture] .city-view-bar{top:calc(var(--scene-v3-vv-top,0px) + env(safe-area-inset-top))!important;display:flex!important;height:54px;min-height:54px;padding:5px 16px;border-radius:0;animation:none}
 body.scene-ui-v3.scene-v3-capture-editing[data-city-view=capture] .city-home>#capture-card{top:calc(var(--scene-v3-vv-top,0px) + 54px + env(safe-area-inset-top))!important;height:calc(var(--scene-v3-vh,100svh) - 54px - env(safe-area-inset-top))!important;bottom:auto!important;min-height:0;max-height:none;overflow:auto;scroll-padding-block:12px;animation:none}
 body.scene-ui-v3.scene-v3-capture-editing[data-city-view=capture] #raw-input{height:120px;min-height:100px;max-height:none}
 body.scene-ui-v3.scene-v3-capture-editing[data-city-view=capture] :is(.city-topbar,#account-bar){display:none!important}
}
/* Homecoming v004: the original account lock still owns access to the room. */
html[data-account-runtime=required]:not([data-account-state=ready]) body>#warm-opening:not([hidden]){display:grid!important}
#warm-opening[hidden]{display:none!important}
#warm-opening{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;overflow:hidden;isolation:isolate;color:#364c3c;background:transparent;pointer-events:auto}
.warm-opening-paper{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 42%,#f7edc9,#e3e5d0 74%);transition:opacity var(--warm-settle-duration,1700ms) ease}
.warm-door-light{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 48%,#ffe7a8a0 0%,#fff2c930 24%,transparent 60%);transform:scale(.7);transition:transform 1.6s ease,opacity 1.6s ease;opacity:.7}
.warm-door-wing{position:absolute;top:-10%;height:120%;width:50%;background:linear-gradient(90deg,#dee1cb,#e8e7d4);box-shadow:0 0 55px #5664461f;transition:transform 1.6s cubic-bezier(.25,.6,.25,1),opacity 1.6s ease}
.warm-door-left{left:0;border-right:1px solid #f4db9d;transform:translateX(-28%);border-radius:0 46% 0 0}
.warm-door-right{right:0;border-left:1px solid #f4db9d;transform:translateX(28%);border-radius:46% 0 0 0}
.warm-door-frame{position:absolute;left:calc(50% - 96px);top:calc(45% - 130px);width:192px;height:290px;border:1px solid #baac7340;border-radius:100px 100px 0 0;box-shadow:0 0 45px #ffdc9240,inset 0 0 40px #fff3b540;transform-origin:50% 65%;transition:transform 1.6s cubic-bezier(.25,.6,.25,1),opacity 1.6s ease;opacity:.65}
.warm-opening-message{position:relative;align-self:center;text-align:center;width:min(340px,calc(100% - 48px));margin-top:0;transition:opacity .8s ease,transform 1.5s ease;text-shadow:0 1px 16px #fff9e1}
.warm-opening-icon{display:block;width:124px;height:124px;object-fit:contain;margin:0 auto 24px;border-radius:30px;box-shadow:0 10px 32px #36534320}
#warm-opening-title{font:400 clamp(18px,4.8vw,21px)/1.65 var(--mc-warm)!important;letter-spacing:.04em;margin:0;min-height:3.3em;max-height:32svh;overflow:auto;overflow-wrap:anywhere;text-wrap:pretty}
#warm-opening-copy{font:15px/1.8 var(--mc-system)!important;letter-spacing:.02em;margin:14px 0 0}
#warm-opening-copy:empty{display:none}
#warm-opening-exit{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 18px;margin-top:22px;color:#365343;background:#faf6e6;border:1px solid #a4ad8a;border-radius:22px;text-decoration:none;font:16px var(--mc-warm)}
#warm-opening-skip{position:absolute;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));min-width:88px;min-height:44px;padding:8px 14px;background:#f8f5e5;border:1px solid #a4ad8a;border-radius:22px;color:#365343;font:16px var(--mc-warm)}
#warm-opening :is(a,button):focus-visible{outline:3px solid #875f30;outline-offset:4px}
#warm-opening[data-stage=enter] .warm-door-left{transform:translateX(-72%)}
#warm-opening[data-stage=enter] .warm-door-right{transform:translateX(72%)}
#warm-opening[data-stage=enter] .warm-door-frame{transform:scale(2.1);opacity:.3}
#warm-opening[data-stage=enter] .warm-door-light{transform:scale(1.2);opacity:1}
#warm-opening[data-stage=enter] .warm-opening-message{transform:translateY(12px)}
#warm-opening[data-stage=settle] .warm-door-left{transform:translateX(-110%);opacity:0}
#warm-opening[data-stage=settle] .warm-door-right{transform:translateX(110%);opacity:0}
#warm-opening[data-stage=settle] .warm-door-frame{transform:scale(4);opacity:0}
#warm-opening[data-stage=settle] .warm-door-light{transform:scale(1.5);opacity:0}
#warm-opening[data-stage=settle][data-ready=true] .warm-opening-paper{opacity:0}
#warm-opening[data-stage=settle][data-ready=true] .warm-opening-message{opacity:0;transform:translateY(20px)}
#warm-opening:is([data-stage=waiting],[data-stage=waiting-explicit],[data-stage=blocked]) :is(.warm-door-frame,.warm-door-wing){opacity:0}
#warm-opening:is([data-stage=waiting],[data-stage=waiting-explicit],[data-stage=blocked]) .warm-opening-paper{opacity:1;transition:none}
body[data-homecoming] :is(.warm-overview,.city-topbar,#account-bar,.scene-v3-hotspots,.scene-v3-home-copy){opacity:0;pointer-events:none}
body[data-homecoming] #scene-v3-stage{filter:blur(5px);transition:filter 1.5s ease}
body[data-homecoming=settle] #scene-v3-stage{filter:blur(0)}
@media(max-width:599px){.warm-opening-icon{width:112px;height:112px;border-radius:27px}.warm-door-frame{top:calc(44% - 130px)}.warm-opening-message{margin-top:-7vh}}
@media(prefers-reduced-motion:reduce){#warm-opening *,#warm-opening *::before{animation:none!important;transition:none!important}body[data-homecoming] #scene-v3-stage{filter:none;transition:none}}

/* One participant entry beside the existing home overview. */
.warm-entry-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:0 18px;margin-top:8px;border:1px solid #a9af88;border-radius:24px;background:#f5f2dc;color:#355344;text-decoration:none;font:16px var(--mc-warm);box-sizing:border-box;touch-action:manipulation}
.warm-entry-link:focus-visible{outline:3px solid #875f30;outline-offset:3px}
@media(max-width:599px),(orientation:portrait) and (max-width:1023px){.warm-overview{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.warm-entry-link{flex:none;padding:0 12px;font-size:15px}}

html[data-account-runtime=required]{background-color:#b1bf94!important;min-height:100%}

.mc-safe-top{position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:#b1bf94;z-index:20000;pointer-events:none}
