/* V5.5 unified background: retain V5.4 hero video, controls, thumbnails, and status colors. */
body.hxm-midnight .page,body.hxm-midnight :is(.page>.wrap,.sec,.sec.band,.pgh,.jh,.vx-stage,.vq-hero,.vx-ph,.hb-hero,.foot){background-color:transparent;background-image:none}
body.hxm-midnight :is(.pgh,.jh,.vx-stage,.vq-hero,.vx-ph,.hb-hero,.sec.band,.foot)::before{background:radial-gradient(ellipse at 14% 36%,#ff369916,transparent 65%),radial-gradient(ellipse at 83% 42%,#9263e616,transparent 62%)}
body.hxm-midnight :is(.pgh,.jh,.vx-stage,.vq-hero,.vx-ph,.hb-hero,.sec.band,.foot)::after{background-image:none;mask:none;-webkit-mask:none}
body.hxm-midnight :is(.pgh,.jh,.vx-stage,.vq-hero,.vx-ph,.hb-hero,.sec.band){border-color:#ff79be20}
body.hxm-midnight :is(.tt-box,.tt-card,.tt-react,.tt-q,.tt-none,.tt-article,.hb-box,.hb-feat,.vx-panel,.vx-rows,.lvs-s,.lvs-t,.lvs-o,.job,.side,.pdm){background-color:#181824;color:#f5f2fa;border-color:#55465c}
body.hxm-midnight :is(.tt-skel,.skel){background:linear-gradient(90deg,#171924 25%,#292638 50%,#171924 75%) 0 0/200% 100%}
body.hxm-midnight .tt-body blockquote{background:#302037;color:#f9d2e7;border-color:#8d4e77}
body.hxm-midnight .tt-note.n-info{background:#172941;color:#cae5ff;border-color:#608bc4}body.hxm-midnight .tt-note.n-warn{background:#352719;color:#ffe0a1;border-color:#a07938}body.hxm-midnight .tt-note.n-ok{background:#16342e;color:#b7f6da;border-color:#51977f}
body.hxm-midnight :is(.tt-body mark,.tt-heart:not(.on)){background:#45213b;color:#ffd0e7}
body.hxm-midnight .hx55-relative{position:relative}
/* Hosts with existing fixed/sticky/absolute positioning retain their original position. */
body.hxm-midnight :is(.lbx,.tt-lb).hx55-host{position:fixed}
.hx55-layer{position:absolute;inset:0;display:block;pointer-events:none!important;user-select:none;z-index:3;overflow:hidden;border-radius:inherit;contain:layout style paint}
.hx55-art{position:absolute!important;display:block!important;object-fit:contain!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;pointer-events:none!important;filter:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;transform-origin:50% 35%;animation:hx55-bob var(--hx55-time,6s) ease-in-out infinite;animation-delay:-1.2s}
.hx55-sway{animation-name:hx55-sway}.hx55-float{animation-name:hx55-float}.hx55-static>.hx55-layer>.hx55-art{animation:none}.hx55-glow>.hx55-layer{box-shadow:inset 0 0 12px color-mix(in srgb,var(--hx55-accent,#ff84be) 13%,transparent)}
@keyframes hx55-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes hx55-sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes hx55-float{0%,100%{transform:translate(0,0) rotate(-2deg)}50%{transform:translate(0,-3px) rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.hx55-art{animation:none!important}.hxm-midnight .mp-atmosphere::before,.hxm-midnight .mp-atmosphere i{animation:none!important}}
