/* M-027 — Horror Host Registry (hub + host pages). Palette + fonts from fmf-global.css. */

/* Dark page surface across Kadence's containers (the Warren / reel-watch list): without it the
   theme's light paper shows through and the bone and white text disappears. */
body.fmf-hosts-page,
body.fmf-hosts-page .site,
body.fmf-hosts-page .site-container,
body.fmf-hosts-page #inner-wrap,
body.fmf-hosts-page .content-area,
body.fmf-hosts-page .site-main { background: #0d0d0d; }

.fmf-hh-wrap { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; background: #0d0d0d; color: var(--fm-bone); line-height: 1.65; }
.fmf-hh-wrap p, .fmf-hh-wrap li { text-align: left; }
.fmf-hh-crumbs { font-size: .9rem; margin: 0 0 1.25rem; color: var(--fm-muted, #9c8d76); }
.fmf-hh-crumbs a { color: var(--fm-amber); }
.fmf-hh-crumbs span[aria-hidden] { margin: 0 .45em; }
.fmf-hh-wrap a { color: var(--fm-amber); }
.fmf-hh-wrap a:hover { color: var(--fm-red-bright); }

.fmf-hh-eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--fm-green-toxic, #7bd34a); margin: 0 0 .4rem; }
.fmf-hh-title { font-family: 'Nosifer', cursive; font-size: clamp(1.7rem, 5vw, 3rem); color: #fff; margin: 0 0 .6rem; line-height: 1.25; text-shadow: 0 2px 14px rgba(139,0,0,.5); text-wrap: balance; }
.fmf-hh-h2 { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 500; font-size: 1.55rem; letter-spacing: .02em; color: var(--fm-red-bright, #e8362a); margin: 2.4rem 0 .9rem; text-wrap: balance; }
.fmf-hh-h3 { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 500; font-size: 1.2rem; color: #fff; margin: 1.6rem 0 .6rem; }
.fmf-hh-small { font-size: .88rem; color: var(--fm-muted, #9c8d76); }

/* figures + FM title card (hosts with no rights-clear photo) */
.fmf-hh-figure { margin: 0; }
.fmf-hh-figure img { display: block; width: 100%; height: auto; border: 3px solid var(--fm-amber); box-shadow: 0 6px 24px rgba(201,134,10,.25); }
.fmf-hh-credit { font-size: .78rem; color: var(--fm-muted, #9c8d76); margin-top: .35rem; }
.fmf-hh-titlecard { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; aspect-ratio: 3 / 4;
  background: radial-gradient(circle at 50% 35%, #3a0d0b 0%, #160605 70%); border: 3px solid var(--fm-amber); padding: 1rem; }
.fmf-hh-tc-eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--fm-amber); }
.fmf-hh-tc-name { font-family: 'Nosifer', cursive; font-size: clamp(1.1rem, 3vw, 1.6rem); color: #fff; line-height: 1.3; margin: .6rem 0; text-shadow: 0 2px 10px rgba(139,0,0,.6); }
.fmf-hh-tc-place { font-family: 'Special Elite', monospace; font-size: .9rem; color: var(--fm-bone); }

/* host page header */
.fmf-hh-head { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: 1.75rem; align-items: start; }
.fmf-hh-aka, .fmf-hh-played { margin: .2rem 0; font-size: 1.05rem; }
.fmf-hh-flag { display: inline-block; margin: .5rem 0; padding: .2rem .6rem; border: 1px dashed var(--fm-amber); font-size: .85rem; }
@media (max-width: 680px) { .fmf-hh-head { grid-template-columns: 1fr; } .fmf-hh-head-fig { max-width: 300px; } }

.fmf-hh-follow { margin: .6rem 0 0; font-size: 1rem; }
.fmf-hh-follow span { font-weight: 700; }
.fmf-hh-watch { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }
.fmf-hh-watch-n { font-weight: 700; }
.fmf-hh-watch-done { color: var(--fm-green-toxic, #7bd34a); font-weight: 700; }
.fmf-hh-watch-form { margin: 0; }

/* on-air table + facts */
.fmf-hh-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.fmf-hh-table th, .fmf-hh-table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--fm-border, #2a2015); vertical-align: top; }
.fmf-hh-table th { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 500; color: #fff; letter-spacing: .03em; }
@media (max-width: 640px) {
  .fmf-hh-table thead { display: none; }
  .fmf-hh-table tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--fm-border, #2a2015); }
  .fmf-hh-table td { display: block; border: 0; padding: .1rem 0; }
  .fmf-hh-table td:first-child { font-weight: 700; color: #fff; }
}
.fmf-hh-sup { font-size: .7em; margin-left: .15em; }
.fmf-hh-facts { margin: 1rem 0 0 1.1rem; }
.fmf-hh-prose { margin-top: 2rem; font-size: 1.05rem; max-width: 780px; }   /* same reading measure as the Warren pages */

/* FM issues */
.fmf-hh-issue-list, .fmf-hh-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.fmf-hh-issue-list a { display: block; text-decoration: none; font-size: .9rem; }
.fmf-hh-issue-list img { display: block; width: 100%; height: auto; border: 2px solid var(--fm-border, #2a2015); margin-bottom: .35rem; }

/* memories */
.fmf-hh-mem-list { list-style: none; margin: 0; padding: 0; }
.fmf-hh-mem { border-left: 3px solid var(--fm-amber); padding: .2rem 0 .2rem 1rem; margin: 0 0 1.4rem; }
.fmf-hh-mem blockquote { margin: 0; font-style: italic; }
.fmf-hh-mem-by { margin: .3rem 0 0; font-size: .92rem; color: var(--fm-muted, #9c8d76); }
.fmf-hh-empty { font-style: italic; }

/* form: the portal's convention (Cover Library filters + theme inputs) = bold uppercase bone labels,
   LIGHT bone fields with dark text. Never dark-on-dark (Alec, 2026-11-29). */
.fmf-hh-form-wrap { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--fm-border, #2a2015); background: #151009; }
.fmf-hh-form .fmf-hh-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1.1rem; }
.fmf-hh-field { margin: 0 0 1rem; }
.fmf-hh-field label { display: block; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--fm-bone); margin-bottom: .35rem; }
.fmf-hh-field label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.fmf-hh-wrap .fmf-hh-field input, .fmf-hh-wrap .fmf-hh-field select, .fmf-hh-wrap .fmf-hh-field textarea {
  width: 100%; box-sizing: border-box; padding: .6rem .7rem; background: var(--fm-bone, #e8dcc8); color: #1a1208;
  border: 2px solid #c9b896; border-radius: 3px; font: inherit; font-size: 1rem; }
.fmf-hh-wrap .fmf-hh-field input::placeholder, .fmf-hh-wrap .fmf-hh-field textarea::placeholder { color: #6b5d48; opacity: 1; }
.fmf-hh-wrap .fmf-hh-field input:focus, .fmf-hh-wrap .fmf-hh-field select:focus, .fmf-hh-wrap .fmf-hh-field textarea:focus {
  outline: none; border-color: var(--fm-amber, #e0a020); box-shadow: 0 0 0 3px rgba(224,160,32,.35); }
.fmf-hh-wrap .fmf-hh-field input[type=checkbox] { width: auto; margin-right: .4rem; transform: scale(1.2); accent-color: #e8362a; }
.fmf-hh-field.fmf-hh-bad input, .fmf-hh-field.fmf-hh-bad select, .fmf-hh-field.fmf-hh-bad textarea { border-color: var(--fm-red-bright, #e8362a) !important; }
.fmf-hh-consent label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1rem; }
.fmf-hh-help { margin: -.5rem 0 1rem; font-size: .95rem; color: var(--fm-bone); }
.fmf-hh-form-wrap .fmf-hh-small { color: var(--fm-bone); }
.fmf-hh-form-wrap .fmf-hh-intro { margin: 0 0 1.25rem; max-width: 62ch; line-height: 1.6; color: var(--fm-bone); }
.fmf-hh-notice { padding: .6rem .8rem; border-left: 4px solid; margin: 0 0 1rem; color: var(--fm-bone); }
.fmf-hh-notice--ok { border-color: var(--fm-green-toxic, #7bd34a); background: rgba(123,211,74,.12); }
.fmf-hh-notice--err { border-color: var(--fm-red-bright, #e8362a); background: rgba(232,54,42,.12); }
.fmf-hh-addhost { margin: .8rem 0 0; font-size: 1.05rem; font-weight: 700; }

/* hub */
.fmf-hh-hub-head { display: grid; grid-template-columns: minmax(220px, 420px) 1fr; gap: 2rem; align-items: start; }
@media (max-width: 760px) { .fmf-hh-hub-head { grid-template-columns: 1fr; } }
.fmf-hh-map { height: 560px; border: 2px solid var(--fm-border, #2a2015); background: #0b0907; }
/* Big on-screen year while the map plays or a year is picked (Alec 2026-11-29) */
.fmf-hh-mapwrap { position: relative; }
/* "a little spooky" (Alec): the site's dripping Nosifer, blood-red glow, a ghost echo. No flicker (Alec: "i don't care for the flashing"). */
.fmf-hh-yearbig { position: absolute; left: 18px; bottom: 16px; z-index: 2; pointer-events: none; font-family: 'Nosifer', cursive; font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1; color: #c8160f; letter-spacing: .03em;
  text-shadow: 0 0 6px rgba(255,40,20,.55), 0 0 26px rgba(139,0,0,.85), 0 0 2px #000, 4px 6px 0 rgba(0,0,0,.6); }
.fmf-hh-yearbig::before { content: attr(data-year); position: absolute; left: 6px; top: -6px; color: transparent; text-shadow: 0 0 14px rgba(220,230,255,.22); filter: blur(1px); z-index: -1; }
.fmf-hh-yearbig span { display: block; margin-top: .35rem; font-family: 'Special Elite', monospace; font-size: clamp(.8rem, 1.5vw, 1rem); letter-spacing: .05em; color: var(--fm-bone); text-shadow: 0 0 8px #000, 0 1px 2px #000; }
@media (max-width: 640px) { .fmf-hh-map { height: 420px; } }
.fmf-hh-timeline { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; margin: .9rem 0 .4rem; }
.fmf-hh-timeline input[type=range] { flex: 1 1 220px; accent-color: #e8362a; }
.fmf-hh-timeline output { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-size: 1.4rem; color: #fff; min-width: 5.5ch; }
.fmf-hh-year-label { font-weight: 700; }
.fmf-hh-national { font-size: .95rem; margin: .4rem 0; }
.fmf-hh-legend { font-size: .88rem; color: var(--fm-muted, #9c8d76); }
.fmf-hh-card a { display: block; text-decoration: none; color: var(--fm-bone); }
.fmf-hh-card-fig img { aspect-ratio: 3 / 4; object-fit: cover; }
.fmf-hh-card-name { display: block; font-family: 'Oswald', 'Arial Narrow', sans-serif; font-size: 1.1rem; color: #fff; margin-top: .45rem; }
.fmf-hh-card-meta, .fmf-hh-card-show, .fmf-hh-card-n { display: block; font-size: .85rem; }
.fmf-hh-card-show { font-style: italic; }
.fmf-hh-card-n { color: var(--fm-amber); }
.fmf-hh-card .fmf-hh-titlecard .fmf-hh-tc-name { font-size: 1rem; }
.fmf-hh-hub-credits { margin-top: 2rem; }
.fmf-hh-decades p { line-height: 1.9; }

/* map popup */
.fmf-hh-pop .maplibregl-popup-content { background: #17120d; color: var(--fm-bone); border: 1px solid var(--fm-amber); font-size: .9rem; line-height: 1.45; }
.fmf-hh-pop .maplibregl-popup-content img { float: left; margin: 0 .6rem .3rem 0; object-fit: cover; border: 1px solid var(--fm-amber); }
.fmf-hh-pop .maplibregl-popup-tip { border-top-color: var(--fm-amber); border-bottom-color: var(--fm-amber); }
.fmf-hh-pop .maplibregl-popup-close-button { color: var(--fm-bone); }

/* M-027 videos: "See <host> on the air" (click-to-load, same pattern as the Warren pages) */
.fmf-hh-videos { margin-top: 2.5rem; }
.fmf-hh-videos .fmf-hh-small { margin-top: .75rem; }
.fmf-hh-yt { margin: 1rem 0; }
@media (min-width: 900px) { .fmf-hh-videos { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } .fmf-hh-videos > h2, .fmf-hh-videos > .fmf-hh-vlinks, .fmf-hh-videos > p { grid-column: 1 / -1; } }
.fmf-hh-yt-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.fmf-hh-yt-btn { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.fmf-hh-yt-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fmf-hh-yt-play { position: absolute; inset: 0; display: grid; place-items: center; }
.fmf-hh-yt-play path:first-child { fill: #c00; opacity: .9; transition: opacity .15s; }
.fmf-hh-yt-btn:hover .fmf-hh-yt-play path:first-child, .fmf-hh-yt-btn:focus-visible .fmf-hh-yt-play path:first-child { opacity: 1; }
.fmf-hh-yt-btn:focus-visible { outline: 3px solid var(--fm-amber, #E0A020); outline-offset: -3px; }
.fmf-hh-yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fmf-hh-yt figcaption { margin-top: .45rem; font-size: .92rem; color: var(--fm-bone); line-height: 1.45; }
.fmf-hh-yt figcaption a, .fmf-hh-vlinks a { color: var(--fm-amber, #E0A020); }
.fmf-hh-vby { color: var(--fm-muted, #9c8d76); }
.fmf-hh-vlinks { margin: .5rem 0 0; padding-left: 1.2rem; color: var(--fm-bone); }
@media (prefers-reduced-motion: reduce) { .fmf-hh-yt-play path:first-child { transition: none; } }

/* M-205 SEO pass */
.fmf-hh-titlecard [data-t]::before { content: attr(data-t); }   /* card words come from CSS so they don't repeat the H1 as page text */
.fmf-hh-card-who { display: block; font-size: .85rem; color: var(--fm-bone); }
.fmf-hh-related { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem 1.2rem; }
.fmf-hh-related li { line-height: 1.4; }
.fmf-hh-related a { font-weight: 700; }
.fmf-hh-related span { display: block; font-size: .85rem; color: var(--fm-muted, #9c8d76); }
.fmf-hh-hub-text .fmf-hh-q { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 500; font-size: 1.2rem; color: #fff; margin: 1.3rem 0 .35rem; letter-spacing: .02em; }
.fmf-hh-glance { margin-top: 2rem; }
.fmf-hh-glance .fmf-hh-table td:first-child a { font-weight: 700; }
/* Glance table on phones: two lines per host (name, then "who · show · station · where · years"), not six. */
@media (max-width: 640px) {
  .fmf-hh-glance .fmf-hh-table td { display: inline; padding: 0; font-size: .92rem; }
  .fmf-hh-glance .fmf-hh-table td:first-child { display: block; font-size: 1rem; margin-bottom: .1rem; }
  .fmf-hh-glance .fmf-hh-table td:nth-child(n+3):not(:empty)::before { content: " · "; color: var(--fm-muted, #9c8d76); }
  .fmf-hh-glance .fmf-hh-table tr { padding: .45rem 0; }
}
/* M-205 mobile: map controls as one tidy panel (Alec: "the mobile map controls look like shit").
   Row 1: Play | year readout · Row 2: slider · Row 3: All years | Whole world. Equal gaps, 44px targets. */
@media (max-width: 640px) {
  .fmf-hh-timeline:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "play out" "range range" "all world";
    gap: .6rem; align-items: center; margin: .75rem 0 0; padding: .75rem; border: 1px solid var(--fm-border, #2a2015); background: #120d08; }
  .fmf-hh-timeline .fmf-btn { margin: 0; width: 100%; min-height: 44px; padding: .5rem .4rem; font-size: .8rem; line-height: 1.2; white-space: normal; text-wrap: balance; box-sizing: border-box; }
  .fmf-hh-play { grid-area: play; }
  .fmf-hh-all { grid-area: all; }
  .fmf-hh-worldview { grid-area: world; }
  .fmf-hh-timeline output { grid-area: out; justify-self: end; min-width: 0; font-size: 1.5rem; line-height: 1; }
  .fmf-hh-timeline input[type=range] { grid-area: range; width: 100%; height: 44px; margin: 0; }
  .fmf-hh-year-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fmf-hh-national, .fmf-hh-addhost, .fmf-hh-legend { margin: .75rem 0 0; }
  .fmf-hh-map { height: 420px; }
}
.fmf-hh-natlist { list-style: none; margin: .35rem 0 0; padding: 0; }
.fmf-hh-natlist li { margin: 0 0 .3rem; line-height: 1.4; }
.fmf-hh-natlist span { color: var(--fm-muted, #9c8d76); font-size: .92rem; }
.fmf-hh-national strong { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 500; color: #fff; letter-spacing: .03em; }
@media (max-width: 640px) {
  .fmf-hh-timeline:not([hidden]) { align-items: stretch; }
  .fmf-hh-timeline output { align-self: center; }
  /* Slider: thin track + red handle (the 44px-tall native box drew as a beige slab). Touch area stays 44px. */
  .fmf-hh-timeline input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
  .fmf-hh-timeline input[type=range]::-webkit-slider-runnable-track { height: 6px; background: var(--fm-bone, #e8dcc8); border-radius: 3px; }
  .fmf-hh-timeline input[type=range]::-moz-range-track { height: 6px; background: var(--fm-bone, #e8dcc8); border-radius: 3px; }
  .fmf-hh-timeline input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #e8362a; border: 2px solid #fff; }
  .fmf-hh-timeline input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #e8362a; border: 2px solid #fff; }
  .fmf-hh-timeline input[type=range]:focus-visible { outline: 3px solid var(--fm-amber, #E0A020); outline-offset: 2px; }
}
@media (max-width: 640px) { .fmf-hh-timeline input[type=range] { border: 0; box-shadow: none; padding: 0; border-radius: 0; } }
.fmf-hh-byline { margin: .45rem 0 .2rem; font-size: .92rem; color: var(--fm-muted, #9c8d76); }
.fmf-hh-byline a { font-weight: 700; }
