/* ThisIsHalloween.TV V3.9.3 — approved V3.9.2 + six requested refinements. */
/* User-supplied repeating retro VHS wallpaper: visible at the sides of every page. */
html{background-color:#0b0909!important}
body{background-color:#090807!important;background-image:url('retro-vhs-halloween-pattern.webp')!important;background-repeat:repeat!important;background-position:center top!important;background-size:555px 555px!important;background-attachment:scroll!important}
@media (max-width:720px){body{background-size:380px 380px!important}}
/* Clear, consistently styled main navigation; only the current page receives orange highlighting. */
body .nav-links a,body .nav-links .nav-home,body .nav-links a[aria-current=page]{transform:none!important;skew:none!important;font-style:normal!important;white-space:nowrap;letter-spacing:.055em!important}
body .nav-links a:not([aria-current=page]){background:transparent!important;color:#fff6ef!important}
body .nav-links a[aria-current=page]{background:#c8561d!important;color:#fff9e9!important}
body .nav-links a:hover{background:#a74522!important;color:#fff9e9!important}
/* No vast wallpaper-only break between the final body section and the footer. */
body footer.footer.v20-footer{margin-top:0!important}
body footer.footer.v20-footer .v20-witch-float{bottom:auto!important;top:0!important;right:2%!important;left:auto!important;width:clamp(110px,15vw,225px)!important;height:auto!important;opacity:.32;z-index:0!important;overflow:hidden!important}
body footer.footer.v20-footer{isolation:isolate!important}
body footer.footer.v20-footer > :not(.v20-witch-float){position:relative;z-index:1}
/* Keep parchment as a continuous page panel between header and footer. */
body main#main{min-height:calc(100vh - 430px);padding-bottom:0!important}
body main#main > .wrap{padding-bottom:max(28px,3vw)}
body main#main > .wrap.editorial-page{min-height:calc(100vh - 430px)}
/* Thumbnail art must be entirely visible, not squeezed into thin strips. */
body .v15-story-side>a:has(>img){display:grid!important;grid-template-columns:minmax(0,41%) minmax(0,1fr)!important;align-items:stretch!important;min-height:170px!important;gap:0!important}
body .v15-story-side>a>img{display:block!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;padding:7px!important;background:#ecd6b8!important;border:0!important;border-right:1px solid #bb916e!important;align-self:stretch!important}
body .v15-story-side>a>div{min-width:0!important;padding:clamp(12px,2vw,22px)!important}
body .v15-story-image img{height:auto!important;aspect-ratio:3/2;object-fit:contain!important;background:#ecdbbe!important}
/* Preserve whole publisher thumbnails, even when the publisher uses a wide header photo. */
body .v392-news-image{object-fit:contain!important;object-position:center!important;background:#f0dfc3!important}
body .v392-news-home .v392-news-image{width:100%!important;max-height:none!important}
/* Make the Time Machine preview itself a functioning Tune In control. */
#halloween-time-machine #tm35-screen[role=button]{cursor:pointer;outline-offset:3px}
#halloween-time-machine #tm35-screen[role=button]:focus-visible{outline:3px solid #ffb568}
#halloween-time-machine #tm35-screen[role=button]:hover .tm35-tune-icon{background:#f9863c}
#halloween-time-machine #tm35-screen[role=button] .tm35-tune{pointer-events:none}
#halloween-time-machine #tm35-screen:has(iframe){cursor:auto}
#halloween-time-machine .tm35-dial{margin-top:16px!important}
#halloween-time-machine .tm35-counter{display:none!important}
@media(max-width:760px){body .v15-story-side>a:has(>img){grid-template-columns:minmax(0,36%) minmax(0,1fr)!important;min-height:125px!important}body .v15-story-side>a>img{padding:3px!important}body .v15-story-side>a>div{padding:12px!important}}
@media(max-width:480px){body .v15-story-side>a:has(>img){grid-template-columns:minmax(0,37%) minmax(0,1fr)!important;min-height:128px!important}}
/* Publisher pictures from live RSS or corresponding originals in the archive. */
.v393-publisher-art{width:100%;aspect-ratio:16/9;background:#e7ceb1;display:grid;place-items:center;overflow:hidden;border:1px solid #bf936a}
.v393-publisher-art .v393-original-news-image{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important;border:0!important;margin:0!important}
.v393-image-unavailable{font:700 .78rem/1.35 Arial,Helvetica,sans-serif;color:#6c5038;text-align:center;padding:10px}
#halloween-time-machine .tm35-item .tm35-poster[role=button]{cursor:pointer;outline-offset:2px}
#halloween-time-machine .tm35-item .tm35-poster[role=button]:focus-visible{outline:3px solid #ffb568}
