/* MUSE PAGE V5 template refinement */
.h5-page{background:#ece9ed}.h5-shell{isolation:isolate}.h5-shell:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:80;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.h5-shell section,.h5-shell header,.h5-shell footer{position:relative}.h5-shell img{background:#eee}.h5-footer-v4{letter-spacing:0;border-top:0;opacity:.68}.h5-footer-v4 span{font-weight:700}.h5-footer-v4 small{font-size:9px}
/* category personality */
.cat-sweet .soft-hero:before,.cat-sweet .glass-stage:before{content:"♡";position:absolute;font:700 130px/1 Georgia,serif;color:color-mix(in srgb,var(--accent) 8%,transparent);right:-12px;top:55px;transform:rotate(12deg)}
.cat-fan .mag-cover:before,.cat-fan .night-stage:before{content:"★";position:absolute;right:18px;top:80px;color:var(--accent);opacity:.6;font-size:32px;z-index:4}.cat-fan .story-intro span{letter-spacing:.24em}.cat-oc .minimal-head,.cat-oc .mag-head{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.cat-oc .minimal-hero:after{content:"FILE / 017";position:absolute;right:18px;bottom:18px;font:700 8px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;background:#111;color:#fff;padding:8px 9px}.cat-lolita .mag-cover img,.cat-lolita .photo-hero>img{filter:saturate(.82) contrast(1.03)}.cat-lolita .mag-head b,.cat-lolita .minimal-hero h1{font-family:Didot,"Bodoni 72",Georgia,serif;font-weight:500}.cat-journal .diary-paper,.cat-journal .scrap-page{background-image:linear-gradient(transparent 27px,rgba(95,83,85,.07) 28px)}.cat-couple .soft-quote:before{content:"♡";display:block;font-size:24px;margin-bottom:5px}.cat-couple .story-intro h1{font-family:Georgia,"Songti SC",serif}
/* softer, more expensive details */
.soft-hero{box-shadow:0 25px 55px color-mix(in srgb,var(--accent) 12%,transparent)}.soft-avatar{border:5px solid #fff}.soft-note,.soft-days,.soft-bento>img{box-shadow:0 12px 30px rgba(62,41,54,.055)}.soft-polaroids figure{border-radius:3px}.glass-card{box-shadow:0 24px 70px rgba(68,45,72,.12)}.glass-widgets>div{box-shadow:inset 0 1px 0 #fff}.scrap-page:after{content:"MUSE NOTE";position:absolute;right:17px;bottom:22px;font:700 7px/1 Arial,sans-serif;letter-spacing:.2em;color:#9c8877}.mag-cover>img{object-position:center}.mag-copy h1{overflow-wrap:anywhere}.bento-board .widget{box-shadow:0 12px 30px rgba(45,33,43,.055)}.diary-paper{box-shadow:0 -20px 60px rgba(71,53,62,.045)}.minimal-hero{position:relative}.profile-app{padding-bottom:22px}.profile-top>img{box-shadow:0 14px 30px rgba(36,26,34,.12)}.photo-film figure{overflow:hidden}.photo-film figure:nth-child(even){transform:translateY(16px)}.story-chapters .chapter:nth-child(even){background:color-mix(in srgb,var(--accent) 4%,white)}.dash-widget{box-shadow:0 12px 28px rgba(40,30,39,.055)}
/* Signature — make V8/V9 visibly premium */
.sig{min-height:100vh}.sig:before{content:"MUSE SIGNATURE";position:absolute;z-index:30;pointer-events:none;font:700 6px/1 Arial,sans-serif;letter-spacing:.24em;opacity:.6}.aurora:before,.fluid:before,.obsidian:before{left:22px;bottom:15px}.atelier:before,.lens:before,.mono:before,.ivory:before{right:22px;bottom:15px}.velvet:before,.couture:before,.chrome:before,.cinema:before,.archive:before{left:50%;bottom:15px;transform:translateX(-50%)}.sig header{position:relative;z-index:4}.sig h1{letter-spacing:-.045em}.sig img{transition:transform .7s cubic-bezier(.2,.8,.2,1),filter .7s}.sig:hover img{transform:scale(1.01)}.aurora .sig-glass{box-shadow:0 35px 90px rgba(95,67,125,.18)}.atelier-cover{box-shadow:0 28px 70px rgba(55,42,42,.08)}.fluid-hero img{box-shadow:0 30px 80px rgba(87,55,95,.13)}.lens-sheet{box-shadow:0 20px 60px rgba(45,48,55,.12)}.velvet-frame{box-shadow:0 35px 90px #0005}.mono-hero img{box-shadow:0 25px 60px #0002}.couture-main{box-shadow:0 30px 90px #0009}.obsidian-orb{animation:signaturePulse 7s ease-in-out infinite}.chrome-hero{box-shadow:0 30px 90px rgba(64,76,98,.25)}.cinema-frame{box-shadow:0 30px 90px #000}.ivory-hero img{box-shadow:0 28px 65px rgba(76,64,52,.14)}.archive-grid figure{transition:.25s}.archive-grid figure:hover{transform:translateY(-2px);border-color:#6f638d}
/* V9 advanced motion */
.motion-soft .h5-shell>section:first-of-type,.motion-soft .h5-shell>header:first-of-type{animation:museIntro .75s ease both}.motion-float .h5-shell img{animation:museFloat 7s ease-in-out infinite}.motion-float .h5-shell img:nth-of-type(even){animation-delay:-2.2s}.motion-glow .h5-shell{animation:museGlow 6s ease-in-out infinite}.motion-film .h5-shell{animation:museIntro .9s cubic-bezier(.2,.7,.2,1) both}.motion-film .h5-shell:after{content:"";position:absolute;inset:0;z-index:79;pointer-events:none;opacity:.08;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E")}
@keyframes museIntro{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes museFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes museGlow{0%,100%{filter:saturate(1)}50%{filter:saturate(1.08) brightness(1.015)}}@keyframes signaturePulse{0%,100%{box-shadow:0 0 70px #8a63ff35}50%{box-shadow:0 0 105px #a675ff58}}
@media(prefers-reduced-motion:reduce){.motion-soft *,.motion-float *,.motion-glow *,.motion-film *{animation:none!important;transition:none!important}}
@media(max-width:480px){body{background:var(--bg)}.h5-shell{width:100%;box-shadow:none}.h5-footer-v4{min-height:62px;padding:18px 17px}.h5-footer-v4 small{font-size:8px}.soft-hero{margin:0 12px;border-radius:31px;min-height:395px}.soft-bento{padding-left:12px;padding-right:12px}.soft-polaroids{padding-left:12px;padding-right:12px}.soft-quote{margin-left:12px;margin-right:12px}.glass-stage{padding-left:12px;padding-right:12px}.scrap-page{padding-left:17px;padding-right:17px}.mag-copy h1{font-size:44px}.photo-film{padding-bottom:16px}.sig{padding-left:16px;padding-right:16px}.couture{padding-left:17px;padding-right:17px}.archive{padding-left:15px;padding-right:15px}}
/* Keep long English editorial titles elegant on narrow split covers. */
.cat-lolita.layout-magazine .mag-copy h1{font-size:34px;line-height:.98;letter-spacing:-.045em;word-break:keep-all;overflow-wrap:normal}
@media(max-width:360px){.cat-lolita.layout-magazine .mag-copy h1{font-size:31px}}
