/* Christmas accents stay outside the reading column. */
.h1-snow-host{position:relative}
.h1-snow{position:absolute;inset:0 0 auto;height:115px;overflow:hidden;pointer-events:none;z-index:2;contain:layout paint}
.h1-snow i{position:absolute;top:-12px;width:4px;height:4px;border-radius:50%;background:#fff;box-shadow:0 0 6px #fff8;opacity:0;animation:h1-snowfall 13s linear infinite;animation-play-state:paused}
.h1-snow-host.h1-in-view .h1-snow i{animation-play-state:running}
.h1-snow i:nth-child(3n){width:3px;height:3px;animation-duration:17s}
.h1-snow i:nth-child(4n){width:6px;height:6px;animation-duration:19s}
.h1-snow i:nth-child(1){left:3%;animation-delay:-3s}.h1-snow i:nth-child(2){left:11%;animation-delay:-10s}.h1-snow i:nth-child(3){left:19%;animation-delay:-6s}.h1-snow i:nth-child(4){left:28%;animation-delay:-15s}.h1-snow i:nth-child(5){left:36%;animation-delay:-8s}.h1-snow i:nth-child(6){left:45%;animation-delay:-2s}.h1-snow i:nth-child(7){left:54%;animation-delay:-11s}.h1-snow i:nth-child(8){left:63%;animation-delay:-5s}.h1-snow i:nth-child(9){left:72%;animation-delay:-13s}.h1-snow i:nth-child(10){left:80%;animation-delay:-7s}.h1-snow i:nth-child(11){left:89%;animation-delay:-4s}.h1-snow i:nth-child(12){left:96%;animation-delay:-12s}
@keyframes h1-snowfall{0%{transform:translate3d(-9px,-8px,0);opacity:0}12%{opacity:.6}85%{opacity:.35}100%{transform:translate3d(18px,138px,0);opacity:0}}
.h1-natal-control{position:fixed;left:14px;bottom:14px;z-index:80;font-family:Arial,Helvetica,sans-serif;color:#fff}
.h1-natal-toggle{display:flex;align-items:center;gap:8px;min-height:42px;padding:10px 14px;border:1px solid #dbba6b8c;border-radius:24px;background:#16365bf5;color:#fff;box-shadow:0 3px 14px #0002;font-size:11px;font-weight:700;cursor:pointer}
.h1-natal-star{color:#edcc81;font-size:18px;line-height:1}
.h1-natal-panel{width:min(282px,calc(100vw - 28px));padding:18px;margin-bottom:10px;background:#142f52;border:1px solid #dbba6b66;border-radius:16px;box-shadow:0 8px 35px #0004}
.h1-natal-panel[hidden]{display:none}
.h1-natal-panel strong{display:block;font-size:16px;color:#f3d99c;margin-bottom:5px}
.h1-natal-panel p{font-size:12px;line-height:1.5;margin:0 0 13px;color:#e4ebf4}
.h1-natal-panel button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:9px 11px;margin:7px 0 0;border:1px solid #ffffff35;border-radius:8px;background:#ffffff0b;color:#fff;font-size:12px;cursor:pointer}
.h1-natal-control button:focus-visible{outline:3px solid #edcc81;outline-offset:3px}
.h1-natal-control button span[data-h1-state]{font-size:10px;font-weight:700;color:#f3d99c}
.h1-natal-panel .h1-natal-audio-status{font-size:11px;line-height:1.5;margin:10px 0 0;color:#e4ebf4}
.h1-natal-panel .h1-natal-audio-status:empty{display:none}
.h1-page-curtain{position:fixed;inset:0;z-index:2147483000;pointer-events:none;visibility:hidden;overflow:hidden;contain:strict}
.h1-curtain-band{position:absolute;inset:0;transform:translate3d(-105%,0,0);background:#15385f}
.h1-curtain-band:nth-child(1){background:#ed193b}
.h1-curtain-band:nth-child(2){background:#2459a0}
.h1-curtain-band:nth-child(3){background:linear-gradient(125deg,#112a49,#1b4679)}
.h1-curtain-brand{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:14px;opacity:0;transform:translateY(8px);transition:opacity .14s,transform .2s;color:#fff}
.h1-curtain-brand img{width:190px;height:auto;max-width:55vw}
.h1-curtain-brand small{font:700 10px/1.5 Arial,sans-serif;letter-spacing:2.5px;text-transform:uppercase;color:#ead3a0}
.h1-page-curtain.is-leaving,.h1-page-curtain.is-arriving{visibility:visible}
.h1-page-curtain.is-leaving .h1-curtain-band{animation:h1-cover .28s cubic-bezier(.4,0,.2,1) both}
.h1-page-curtain.is-leaving .h1-curtain-band:nth-child(2){animation-delay:.035s}.h1-page-curtain.is-leaving .h1-curtain-band:nth-child(3){animation-delay:.07s}
.h1-page-curtain.is-leaving .h1-curtain-brand{opacity:1;transform:translateY(0);transition-delay:.17s}
.h1-page-curtain.is-arriving .h1-curtain-band{animation:h1-reveal .4s cubic-bezier(.4,0,.2,1) both}
.h1-page-curtain.is-arriving .h1-curtain-band:nth-child(2){animation-delay:.025s}.h1-page-curtain.is-arriving .h1-curtain-band:nth-child(1){animation-delay:.05s}
@keyframes h1-cover{to{transform:translate3d(0,0,0)}}
@keyframes h1-reveal{from{transform:translate3d(0,0,0)}to{transform:translate3d(105%,0,0)}}
.h1-story-arrival{animation:h1-story-arrival .6s ease-out}
@keyframes h1-story-arrival{from{opacity:.65;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
html.h1-natal-paused .h1-snow i,html.h1-natal-hidden .h1-snow i{animation-play-state:paused!important;opacity:0}
html.h1-natal-paused .h1-snow{display:none}
@media(max-width:680px){.h1-natal-control{left:10px;bottom:10px}.h1-natal-toggle{padding:9px 12px;min-height:40px}.h1-snow i:nth-child(even){display:none}.h1-snow{height:90px}}
@media(prefers-reduced-motion:reduce){.h1-snow{display:none}.h1-page-curtain{display:none}.h1-story-arrival{animation:none}.h1-curtain-brand{transition:none}}
