/* PM34/35: homepage paper garden; no global tokens or functional-panel skin changes. */
body[data-hero-scene="home"]{background:#F7F2E8;color:#3E3B35;border:18px solid #E6DECD;min-height:100svh;position:relative}
html[data-theme="dark"] body[data-hero-scene="home"]{background:#2D2A25;color:#F1EADD;border-color:#454035}
body[data-hero-scene="home"]::before{opacity:.010;pointer-events:none}
body[data-hero-scene="home"] #site-shell{min-height:calc(100svh - 36px)}
body[data-hero-scene="home"] :is(.home-header,.home-poster,.site-footer){color:#3E3B35}
html[data-theme="dark"] body[data-hero-scene="home"] :is(.home-header,.home-poster,.site-footer){color:#F1EADD}
body[data-hero-scene="home"] .home-header{padding-block:12px;min-height:88px;background:transparent}
body[data-hero-scene="home"] .home-header :is(.nav-link,.brand){border-radius:0;transition:background-color 160ms ease,transform 120ms ease}
body[data-hero-scene="home"] .home-header .nav-link{font-size:14px;font-weight:400;line-height:1.5;min-height:44px;display:flex;align-items:center}
body[data-hero-scene="home"] .home-header .nav-link:after{height:1px;background:currentColor}
body[data-hero-scene="home"] :is(.home-header select,.story-controls button,.admin-entry){color:#3E3B35;border:1px solid #827668;background:transparent;box-shadow:none}
html[data-theme="dark"] body[data-hero-scene="home"] :is(.home-header select,.story-controls button,.admin-entry){color:#F1EADD;border-color:#BCAE95}
body[data-hero-scene="home"] :is(.home-header select,.story-controls button,.admin-entry):focus-visible{outline:3px solid #6D5849;outline-offset:3px}
html[data-theme="dark"] body[data-hero-scene="home"] :is(.home-header select,.story-controls button,.admin-entry):focus-visible{outline-color:#E3C8A8}
body[data-hero-scene="home"] .home-poster{--garden-extra:0px;isolation:isolate;min-height:calc(max(660px,100svh - 146px) + var(--garden-extra));padding:0;display:block;position:relative}
body[data-hero-scene="home"] .poster-art{inset:var(--garden-extra) 0 0;display:block;pointer-events:none;z-index:0}
body[data-hero-scene="home"] .poster-art .garden-svg{position:absolute;inset:0;width:100%;height:100%;max-width:none;min-width:0;transform:none;overflow:visible}
body[data-hero-scene="home"] .home-mobile{display:none}
body[data-hero-scene="home"] .poster-title{position:relative;z-index:1;padding-top:clamp(30px,5vh,70px);margin:0 auto;width:min(88%,900px);max-width:100%;text-align:center;font-family:"Noto Serif SC","Songti SC","STSong","SimSun",serif;font-size:clamp(64px,6.5vw,100px);font-weight:400;line-height:1.25;letter-spacing:.08em;overflow-wrap:anywhere;text-shadow:none;opacity:1;transform:none}
body[data-hero-scene="home"] .poster-title.english{font-family:Georgia,"Times New Roman",serif;font-size:clamp(54px,6.5vw,90px);letter-spacing:.025em;width:min(88%,1040px)}
body[data-hero-scene="home"] .garden-material{opacity:.85;filter:blur(1px)}
body[data-hero-scene="home"] .garden-material[data-front="false"]{opacity:.70}
body[data-hero-scene="home"] :is(.garden-wind,.garden-crown-wind){transform-box:view-box;transform-origin:0 0}
body[data-hero-scene="home"] :is(.story-controls button,.admin-entry){font-size:13px;font-weight:400;min-height:44px;border-radius:0}
body[data-hero-scene="home"] .admin-entry{display:inline-flex;align-items:center;justify-content:center}
body[data-hero-scene="home"] .home-header :is(.nav-link,.brand):is(:active,.pointer-pressed){background:#F1EADD;transform:scale(.98)}
html[data-theme="dark"] body[data-hero-scene="home"] .home-header :is(.nav-link,.brand):is(:active,.pointer-pressed){background:#373129}
body[data-hero-scene="home"].home-static-fallback .poster-art{visibility:hidden}
body[data-hero-scene="home"].home-static-fallback :is(.poster-title,.home-header,.admin-entry){opacity:1;transform:none}
@media(hover:hover) and (pointer:fine){body[data-hero-scene="home"] .home-header :is(.nav-link,.brand):hover{background:#F1EADD;transform:translateY(-2px)}html[data-theme="dark"] body[data-hero-scene="home"] .home-header :is(.nav-link,.brand):hover{background:#373129}}
@media(min-width:640px) and (max-width:1023px){body[data-hero-scene="home"]{border-width:10px}body[data-hero-scene="home"] .home-poster{min-height:calc(680px + var(--garden-extra))}}
@media(max-width:639px){body[data-hero-scene="home"]{border-width:6px}body[data-hero-scene="home"] .home-desktop{display:none}body[data-hero-scene="home"] .home-mobile{display:block}body[data-hero-scene="home"] .home-header{padding:8px 14px;min-height:126px}body[data-hero-scene="home"] .home-header .nav-link{padding-inline:4px}body[data-hero-scene="home"] main{padding-inline:12px}body[data-hero-scene="home"] .home-poster{min-height:calc(max(620px,100svh - 158px) + var(--garden-extra))}body[data-hero-scene="home"] .poster-title{padding-top:38px;width:calc(100% - 48px);font-size:clamp(38px,10.8vw,52px);line-height:1.25;letter-spacing:.08em}body[data-hero-scene="home"] .poster-title.english{font-size:clamp(38px,10.8vw,52px);width:calc(100% - 48px);letter-spacing:.025em}body[data-hero-scene="home"] .garden-material{filter:blur(.65px)}}
@media(prefers-reduced-motion:reduce){body[data-hero-scene="home"] .home-header :is(.nav-link,.brand){transform:none!important}}

body[data-hero-scene="home"]:not([data-home-assets]) .poster-art,body[data-hero-scene="home"][data-home-assets="pending"] .poster-art{visibility:hidden}
html[data-story-pending] body[data-hero-scene="home"] .poster-title{opacity:0}
