/* Approved November 10 artwork; native text and controls stay above the scene. */
:root{--night-safe-top:env(safe-area-inset-top,0px);--night-safe-bottom:env(safe-area-inset-bottom,0px)}
.site-wrap{position:relative;max-width:none;padding:0 0 var(--night-safe-bottom)}
.site-header{position:absolute;z-index:3;top:var(--night-safe-top);left:50%;transform:translateX(-50%);width:min(1062px,calc(100% - 64px));height:104px;color:#fff0db}
.site-header .logo{font-family:'LXGW WenKai','Kaiti SC',STKaiti,serif;font-size:28px;font-weight:400;gap:8px}
.site-header .logo-symbol,.site-header .logo-dot{color:#fff0db}
.site-header .dim-switch{background:transparent;border:1px solid #f4e4cfbd;color:#fff0db;box-shadow:none;font-size:14px;font-weight:400;min-height:44px;padding:8px 14px}
.site-header .switch-star{color:#f2dfbe}
.hero{display:block;min-height:0;border-radius:0;background:#896b74;box-shadow:none;color:#fff0db;isolation:isolate}
.hero-background{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero-background picture{display:block;width:100%;height:100%}
.hero-background img,.hero-video{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:filter .5s ease}
.hero-video{position:absolute;inset:0;opacity:0}.hero-video.is-ready{opacity:1}
.hero-inner{display:flex;flex-direction:column;position:relative;width:min(1062px,calc(100% - 64px));min-height:clamp(780px,62.5vw,1000px);margin:0 auto;padding:calc(150px + var(--night-safe-top)) 0 38px}
.hero-copy{padding:0;width:50%;position:relative;z-index:1}
.hero .eyebrow{color:#f7e9d6;font-size:15px;line-height:1.6;letter-spacing:.06em;font-weight:400}
.hero .eyebrow-star{color:#f0c8c9}
.hero h1{font-size:clamp(46px,4.6vw,64px);font-weight:400;line-height:1.25;letter-spacing:0;color:#fff0db;margin:30px 0 26px}
.hero h1 span{color:#f4c4ca;white-space:normal;overflow-wrap:anywhere}
.hero .hero-lede{max-width:440px;color:#fff0df;font-size:17px;line-height:1.85;margin:0}
.hero-room-space{flex:1;min-height:105px}
.hero-footer{width:470px;max-width:100%;position:relative;z-index:1}
.hero .time-ribbon{width:100%;max-width:none;margin:0;gap:24px}
.hero .time-part{gap:5px}
.hero .time-part b{font-family:'LXGW WenKai','Kaiti SC',STKaiti,serif;font-size:32px;font-weight:400;line-height:1.1;color:#fff0d9}
.hero .time-part span{font-size:14px;color:#fff0dc;line-height:1.7;white-space:nowrap}
.hero .time-trail{display:flex;align-items:center;gap:12px;height:auto;min-width:50px;flex:1;color:#f6e3c8}
.hero .time-trail i{flex:1;height:1px;width:auto;border-radius:0;background:#dfc0b4}
.hero .time-trail svg{flex:none;width:18px;height:18px}
.hero .time-footnote{margin:16px 0 0;font-size:14px;line-height:1.7;color:#f3dfd0;text-align:left}
.hero .scene-caption{position:static;align-self:flex-end;margin-top:22px;font-size:14px;line-height:1.7;letter-spacing:.04em;color:#fff0df}
.hero .scene-caption span{color:#e9cba7}
.hero .scene-details{align-self:flex-end;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px 14px;margin-top:22px}
.hero .scene-details .scene-caption{margin:0}
.rituals,.worry-section,.bed-section,.goodnight-section,.footer{width:min(1062px,calc(100% - 64px));margin-left:auto;margin-right:auto}

/* A paper note in the approved moon-window panel. Nine-slice scaling preserves the curl. */
.worry-section{display:block;min-height:0;margin-top:96px;border-radius:42px;background:#947783;isolation:isolate;color:#fff4e5}
.pocket-background{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;object-position:top right;pointer-events:none;transition:filter .5s ease}
.worry-content{padding:72px 54px 32px}
.worry-content>.overline{display:block;color:#fff3e6;font-size:32px;font-weight:400;letter-spacing:.12em;line-height:1.5}
.worry-section h2{font-size:clamp(36px,5.5vw,70px);line-height:1.5;letter-spacing:.025em;margin:32px 0 22px;color:#fff3e6;font-weight:400}
.worry-section h2 em{color:#f3bdc8;font-style:normal}
.worry-section p{font-size:32px;line-height:1.85;color:#fff0e6;margin:0 0 44px}
.worry-form{display:flex;flex-direction:column;gap:38px}
.pocket-note{position:relative;min-width:0;border-style:solid;border-color:transparent;border-width:20px 32px 30px 24px;border-image-source:url('pocket-paper.webp');border-image-slice:120 220 150 100 fill;border-image-width:40px 95px 70px 40px;border-image-repeat:stretch;isolation:isolate}
.paper-lines{position:absolute;z-index:-1;inset:0;pointer-events:none}
.paper-lines hr{position:absolute;left:0;right:0;margin:0;border:0;border-top:1px solid #b88f9c75}
.paper-lines hr:first-child{top:45%}.paper-lines hr:last-child{top:78%}
.worry-form textarea{display:block;appearance:none;font:inherit;font-size:32px;line-height:1.9;color:#795364;background:transparent;border:0;border-radius:8px;width:100%;height:260px;min-width:0;padding:8px 12px;resize:none;box-shadow:none;outline-offset:4px;scrollbar-width:thin;scrollbar-color:#b08e9c transparent}
.worry-form textarea::placeholder{color:#87566c;opacity:1}
.worry-form textarea:focus::placeholder{opacity:0}
.worry-form textarea:focus{outline:none}
.worry-form #pocketSubmit{align-self:flex-end;width:75%;min-height:82px;border-radius:999px;border:1px solid #efddcb;background:#73545f80;color:#fff2e3;font-size:34px;line-height:1.5;padding:17px 25px;white-space:normal;overflow-wrap:anywhere;box-shadow:inset 0 1px 1px #ffffff17;transition:background .25s}
.worry-form #pocketSubmit:hover{background:#674956a6}
.pocket-idle>span{display:inline-block;margin-left:15px;font-family:inherit;font-size:1.15em;font-weight:400}
.worry-content .worry-message{margin-top:15px;min-height:26px;color:#fff1e7;font-size:14px;line-height:1.7}
.worry-form .pocket-confirm{gap:8px}
.worry-form .pocket-scene{width:90px;height:44px}
body.dimmed .hero{background:#71545f}
body.dimmed .hero-background img,body.dimmed .hero-video,body.dimmed .pocket-background{filter:brightness(.76)}
body.dimmed .site-header .dim-switch{background:#59434b52;border-color:#ebd8c9b3;color:#fff0db}
body.dimmed .hero :is(h1,.hero-lede,.time-part b,.time-part span,.eyebrow,.scene-caption){color:#ffefdc}
body.dimmed .hero h1 span,body.dimmed .worry-section h2 em{color:#f4c4ca}
body.dimmed .hero .time-footnote{color:#f0d9d0}
body.dimmed .worry-section{background:#715764}
body.dimmed .worry-section :is(h2,p,.overline,.worry-message){color:#fff0e4}
body.dimmed .worry-form #pocketSubmit{background:#62455499;color:#fff0df;border-color:#d8bdc7}

@media(min-width:701px) and (max-width:1050px){
  .hero-copy{width:55%}.hero h1{font-size:48px}.hero-inner{min-height:900px}.hero-background img,.hero-video{object-position:right center}
  .hero .hero-lede{max-width:350px;font-size:16px}.hero-footer{width:430px}
  .worry-content{padding:48px 40px 26px}.worry-section h2{font-size:44px}
  .worry-content>.overline{font-size:23px}.worry-section p{font-size:24px}.worry-form textarea{font-size:24px;height:220px}
}
@media(max-width:700px){
  .site-header{width:calc(100% - 52px);height:72px}
  .site-header .logo{font-size:22px;gap:5px;letter-spacing:.03em}
  .site-header .logo-symbol{width:27px;height:30px}.site-header .logo-symbol svg{width:27px;height:30px}
  .site-header .logo-dot{display:none}.site-header .dim-switch{font-size:14px;gap:7px;padding:5px 11px;min-height:36px}
  .site-header .switch-star{font-size:16px}
  .hero-inner{width:100%;padding:calc(86px + var(--night-safe-top)) 32px 28px;min-height:max(844px,216.4vw)}
  .hero-background{top:auto;height:216.4vw;mask-image:linear-gradient(to bottom,transparent,#000 7%)}
  .hero-background img,.hero-video{object-position:center bottom}
  .hero-copy{width:100%;padding:0}
  .hero .eyebrow{font-size:14px;letter-spacing:.035em}
  .hero h1{font-size:clamp(34px,11.28vw,44px);line-height:1.25;letter-spacing:0;margin:18px 0 8px}
  .hero .hero-lede{font-size:16px;line-height:1.7;max-width:none}
  .hero-room-space{min-height:345px;flex:1}
  .hero-footer{width:100%;padding:0 7px}
  .hero .time-ribbon{gap:14px}
  .hero .time-part{gap:5px}.hero .time-part b{font-size:29px;line-height:1.1}
  .hero .time-part span{font-size:14px;letter-spacing:0}
  .hero .time-trail{gap:11px;min-width:30px}.hero .time-trail svg{width:15px;height:18px}
  .hero .time-footnote{font-size:14px;line-height:1.7;margin-top:15px;text-align:center}
  .hero .scene-caption{font-size:14px;margin-top:24px;letter-spacing:.015em}
  .rituals,.worry-section,.bed-section,.goodnight-section,.footer{width:calc(100% - 32px)}
  .worry-section{margin-top:68px;border-radius:26px}
  .pocket-background{object-fit:cover;object-position:right top}
  .worry-content{padding:31px 22px 20px}
  .worry-content>.overline{font-size:16px;letter-spacing:.08em}
  .worry-section h2{font-size:30px;line-height:1.55;letter-spacing:0;margin:94px 0 16px}
  .worry-section p{font-size:16px;line-height:1.8;margin:0 0 24px}
  .worry-form{gap:20px}
  .pocket-note{border-width:13px 20px 22px 14px;border-image-width:15px 34px 24px 16px}
  .worry-form textarea{font-size:16px;line-height:1.9;height:130px;padding:4px 5px}
  .worry-form #pocketSubmit{width:100%;min-height:58px;padding:12px 12px;font-size:19px;border-radius:36px}
  .pocket-idle>span{margin-left:8px}
  .worry-form .pocket-scene{width:76px;height:38px}
  .worry-content .worry-message{font-size:14px;min-height:24px;margin-top:12px}
}
@media(max-width:365px){
  .hero-background{height:max(216.4vw,780px)}
  .site-header{width:calc(100% - 36px)}.site-header .logo{font-size:21px}.site-header .switch-star{display:none}
  .hero-inner{padding-inline:24px;min-height:844px}
  .hero h1{font-size:37px}.hero .time-ribbon{gap:8px}.hero-footer{padding-inline:0}
  .hero .time-trail{gap:6px;min-width:16px}.hero .time-part b{font-size:27px}
  .worry-content{padding-inline:18px}.worry-section h2{font-size:27px}
}
@media(prefers-reduced-motion:reduce){.hero-background img,.hero-video,.pocket-background{transition:none}.hero-video{display:none}}
