/* ThisIsHalloween.tv V4.0 — cohesive UI refinement; follows all historical style layers. */
:root{--v40-outline:#ff9b4a;--v40-dark:#261812;--v40-paper:#fff4e3}
html{scroll-padding-top:18px}body{min-width:0}
:where(main,article,section,.wrap,.editorial-page,.home-wrap){min-width:0}
:where(main) :is(p,li,figcaption){overflow-wrap:break-word}
:where(main) :is(button,[role="button"],a,input,select,textarea):focus-visible,
:where(.site-head,.footer) :is(a,button,input):focus-visible{outline:3px solid var(--v40-outline)!important;outline-offset:3px!important;position:relative}
.nav-links a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-style:normal!important}
.nav-links a[aria-current="page"]{background:#e66a2a!important;color:#1d130d!important;transform:none!important;font-style:normal!important;text-decoration:none!important;box-shadow:inset 0 -3px 0 #f8d4a1}
.nav-links .nav-home:not([aria-current="page"]){background:transparent!important;color:inherit!important;transform:none!important}
.nav-links .nav-home:not([aria-current="page"]):hover{background:#4b2927!important;color:#fff!important}
:is(.v3910-guide-choice,.v3910-more,.v38-carousel-bar button,.v24-play,.v398-footer-social a,.footer-lower a){touch-action:manipulation}
.v38-carousel-bar>button:not(.v38-carousel-toggle){min-width:40px;min-height:40px}
.v38-carousel-dots button{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border:6px solid #1c120e!important;background-clip:padding-box}
.v38-carousel-dots button.is-active{background-color:#f57e37!important}
.v3910-guide-choice{min-height:76px;padding-block:12px;word-break:normal}
.v3910-guide-choice[aria-pressed="true"]{box-shadow:inset 0 -4px 0 #e77c36}
.v3910-watch-guide .v3910-intro p{max-width:76ch;line-height:1.6}
.v3910-guide-status{line-height:1.5}
.v40-anime-link-hub{background:linear-gradient(135deg,#35251b,#241a15);border:1px solid #96613e;padding:clamp(18px,2.4vw,30px);display:flex;flex-direction:column;justify-content:center;gap:13px;min-width:0}
.v40-eyebrow{font:800 11px/1.5 system-ui,sans-serif;letter-spacing:.12em;color:#ffb77c}
.v40-anime-link-hub h3{font:500 clamp(29px,3vw,43px)/1 'Bebas Neue',Impact,'Arial Narrow',sans-serif;color:#fff0d6;letter-spacing:.025em;margin:0}
.v40-anime-link-hub>p{color:#e4cdb5;font:400 14px/1.7 system-ui,sans-serif;margin:0;max-width:58ch}
.v40-anime-link-hub p.v40-anime-note{font:500 12px/1.55 system-ui,sans-serif;color:#d4a582}
.v40-anime-actions{display:flex;flex-wrap:wrap;gap:9px;padding-top:6px}
.v40-anime-actions a{display:inline-flex;align-items:center;justify-content:center;padding:12px 14px;min-height:44px;border:1px solid #ed8f53;background:#f9dfb7!important;color:#3d2418!important;font:800 11px/1.3 system-ui,sans-serif;letter-spacing:.03em;text-align:center;text-decoration:none}
.v40-anime-actions a:hover{background:#ffb76e!important;color:#211411!important}
.v40-anime-direct-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 22px}
.v40-anime-direct-card{background:#35261d;border:1px solid #83563c;min-width:0;display:flex;flex-direction:column;transition:border-color .15s}
.v40-anime-direct-card:hover{border-color:#d77a42}
.v40-anime-link-copy{display:flex;flex-direction:column;gap:8px;padding:16px 16px 18px;flex:1}
.v40-anime-link-copy h3{font:500 clamp(21px,2vw,27px)/1.12 'Bebas Neue',Impact,sans-serif!important;margin:0;color:#fff3df}
.v40-anime-link-copy p{color:#e0c4aa;font:400 13px/1.6 Arial,sans-serif;margin:0}
.v40-anime-link-copy .v3989-type{color:#ffb780;letter-spacing:.06em;font:700 10px/1.4 Arial,sans-serif}
.v40-anime-direct-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:auto;padding:10px 12px;border:1px solid #cf8051;color:#fff2de!important;background:#553322;font:800 11px/1.4 Arial,sans-serif;text-decoration:none;text-align:center}
.v40-anime-direct-action:hover{background:#a7471e;color:#fff!important}
.v40-anime-direct-links~p{max-width:70ch}
body .v3989-anime-clips{padding-block:10px}
body .v40-anime-link-hub :is(a,button):focus-visible{outline:3px solid #ffba7e;outline-offset:2px}
/* All source images stay responsive. Avoid forced crops in editorial galleries. */
article :is(.v25-article-hero,.v25-article-break) img{max-width:100%;height:auto}
.v24-video-tile,.v3989-card,.v40-anime-direct-card{min-width:0}
:is(.ed-crosslinks,.story-resources,.v24-article-videos,.footer-lower nav){overflow-wrap:anywhere}
/* Preserve the text-only directory, including category subpages. */
.v3988-directory :is(.v3988-listing,.v3988-row){min-width:0}
@media(max-width:980px){.v40-anime-direct-links{grid-template-columns:repeat(2,minmax(0,1fr))}.anime36-showcase{grid-template-columns:minmax(0,1fr) minmax(250px,.85fr)}}
@media(max-width:760px){.anime36-showcase,.v40-anime-direct-links{grid-template-columns:1fr}.v3910-guide-choice{min-height:64px}.v40-anime-link-hub{padding:20px 17px}.v40-anime-actions a{width:100%}.v40-anime-direct-card{border-radius:0}}
@media(max-width:540px){.nav-links a{min-height:45px}.v3910-guide-choice{flex-basis:132px}.v3910-intro h1{line-height:1.06}.footer-lower nav{flex-wrap:wrap;gap:9px 14px}.v38-carousel-bar{gap:7px}.v40-anime-link-hub h3{font-size:30px}.v40-anime-direct-links{gap:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.v40-anime-direct-card{transition:none!important}}
