/* Cecil AI Files — mobile-first, news-desk look. Preview only; not deployed. */

:root {
  --header-h: 5.6rem;
  --bg: #0c0b09;
  --bg-raised: #161310;
  --gold: #d4a017;
  --gold-bright: #e8b84a;
  --red: #9b1c1c;
  --red-bright: #c41e1e;
  --text: #e8e0d0;
  --muted: #a89880;
  --rule: rgba(212, 160, 23, 0.35);
  --bezel: #1a1612;
  --screen: #0a0b0e;
  --measure: 46rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Newsreader, "Source Serif Pro", Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--gold-bright); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--bg-raised);
  color: var(--gold);
  padding: 0.5rem 0.75rem;
}
.skip:focus { top: 0.75rem; }

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #0a0908;
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 1rem;
}
body { padding-top: var(--header-h); }
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.25rem;
}
.brand {
  text-decoration: none;
  color: var(--gold);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.brand:hover { color: var(--gold-bright); }
.brand-name {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.live-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--red);
  color: #f3e9d2;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22em 0.6em;
  line-height: 1.2;
}
.text-toggle {
  margin-left: auto;
  padding: 0.28em 0.7em;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--text);
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
}
.text-toggle:hover,
.text-toggle:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.text-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.text-toggle[aria-pressed="true"] {
  color: var(--gold);
  border-color: var(--gold);
}
.feed-toggle {
  margin: 0;
  padding: 0.28em 0.7em;
  border: 1px solid var(--rule);
  background: rgba(12, 11, 9, 0.78);
  color: var(--text);
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  pointer-events: auto;
  z-index: 4;
}
.feed-toggle:hover,
.feed-toggle:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.feed-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.feed-toggle[aria-pressed="true"] {
  color: var(--gold);
  border-color: var(--gold);
}
body.feed-hidden .feed-screen-head,
body.feed-hidden .feed-screen-list,
body.feed-hidden .feed-subscribe {
  display: none !important;
}
body.home.text-hidden .home-panel {
  display: none !important;
}
@media (max-width: 899px) {
  /* When the text is hidden, let the full desk still fill the space under the header. */
  body.home.text-hidden .studio-stage {
    height: calc(100dvh - var(--header-h));
    aspect-ratio: auto;
  }
  body.home.text-hidden .studio-stage .office-still img,
  body.home.text-hidden .studio-stage picture.office-still {
    object-fit: contain;
  }
  body.home.text-hidden .art-slot.feed-frame {
    display: none !important;
  }
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.1rem;
}
.site-nav a { text-decoration: none; color: var(--text); }
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.1rem;
}

/* Studio stage + art slot: see rules at the end of this file (body.home / body.story-page). */
.office-still, .office-still img { display: block; }

/* ART SLOT — percentages of the 16:9 office still, pinned to the upper-left monitors.
   Home uses .art-slot.rundown (title list). Story pages put that file's art (or .art-slot--empty) here. */
.art-slot {
  position: absolute;
  left: 2.4%;
  top: 4%;
  width: 29.4%;
  height: 43.5%;
  z-index: 2;
  background: var(--screen);
  border: 3px solid var(--bezel);
  box-shadow:
    0 0 0 1px #000,
    inset 0 0 0 1px rgba(0, 0, 0, 0.6),
    0 10px 28px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  box-sizing: border-box;
}
.art-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--screen);
}

/* —— Feed / articles —— */
.feed, .page {
  flex: 1;
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}
.feed-label, .page-kicker {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}
.feed-item {
  margin: 0 0 1.75rem;
  padding: 0 0 1.75rem;
  border-bottom: 1px solid var(--rule);
}
.feed-item:last-of-type { border-bottom: 0; margin-bottom: 0; }
.feed-item time, .file-meta time, .page-kicker time, .story-item time {
  display: block;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.feed-item h2, .story-item h2 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin: 0 0 0.55rem;
  color: var(--gold);
}
.feed-item h2 a { text-decoration: none; color: inherit; }
.feed-item h2 a:hover { color: var(--gold-bright); }
.feed-item p { margin: 0 0 0.7rem; }
.read-file {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.08rem;
}

/* —— File list —— */
.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.file-list li { border-bottom: 1px solid var(--rule); }
.file-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1rem 0;
}
.file-list a:hover .file-title { color: var(--gold-bright); }
.file-num {
  display: block;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.file-title {
  display: block;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.file-dek { display: block; color: var(--text); }

/* —— Case file pages —— */
.file-header { margin-bottom: 1.5rem; }
.file-header h1 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 6.5vw, 2.7rem);
  letter-spacing: 0.03em;
  color: var(--gold);
  line-height: 1.15;
  margin: 0.2rem 0 0;
}
.crumb {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.crumb a { text-decoration: none; }

.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.signoff {
  margin-top: 1.75rem;
  font-style: italic;
}
.prose figure {
  margin: 1.4rem 0;
}
.prose figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}
.prose figcaption {
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.45rem;
  text-align: center;
}
.garnish {
  max-width: 16rem;
  margin-left: auto;
  margin-right: auto;
}

/* —— Footer —— */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--rule);
  background: #0a0908;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer p { margin: 0; color: var(--muted); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

@media (min-width: 720px) {
  body { font-size: 1.3rem; }
  .brand-name { font-size: 2.05rem; }
  .site-header { padding: 1rem 1.5rem; }
  .feed, .page { padding: 1.75rem 1.25rem 4rem; }
  .feed-item h2, .story-item h2 { font-size: 1.9rem; }
  .site-nav { font-size: 1.2rem; }
}

.prose h2 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0.7rem;
}
.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.prose li { margin: 0 0 0.35rem; }
.prose .sources {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 1.1rem;
}
.prose .sources p { margin: 0 0 0.75rem; }

/* Home rundown panel (title list on the monitor). Slightly larger on phones so type stays readable, still in the top-left quadrant. */
.art-slot.rundown {
  display: flex;
  flex-direction: column;
  padding: 0.4em 0.45em 0.3em;
  background: #070d0a;
  color: #d8e8d4;
  overflow: hidden;
}
.art-slot.rundown::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.18) 2px,
    rgba(0, 0, 0, 0.18) 3px
  );
  opacity: 0.45;
}
.rundown-head {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  padding-bottom: 0.3em;
  margin-bottom: 0.25em;
  border-bottom: 1px solid rgba(212, 160, 23, 0.45);
}
.rundown-title {
  margin: 0;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(0.62rem, 2.5vw, 1.05rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--gold-bright);
}
.rundown-dateline {
  margin: 0.2em 0 0;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: clamp(0.48rem, 2vw, 0.7rem);
  line-height: 1.25;
  color: #b8c9b0;
  letter-spacing: 0.02em;
}
.dateline-label {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 0.4em;
}
.rundown-list {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #0a120e;
}
.rundown-list a {
  display: block;
  text-decoration: none;
  color: #e8e0d0;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(0.62rem, 2.4vw, 0.92rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  padding: 0.35em 0.15em;
  min-height: 1.7em;
  border-bottom: 1px solid rgba(212, 160, 23, 0.18);
}
.rundown-list a:last-child { border-bottom: 0; }
.rundown-list a:hover,
.rundown-list a:focus-visible {
  color: var(--gold-bright);
}
.rundown-list a:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: -1px;
}

/* Story with no still — CRT "no image" screen, not a reused drawing. */
.art-slot--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at center, #102418 0%, #070d0a 70%);
}
.no-image {
  margin: 0;
  padding: 0.3em;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(0.62rem, 2vw, 1.05rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  color: #7ed68a;
  text-shadow: 0 0 10px rgba(80, 200, 110, 0.4);
}

@media (max-width: 719px) {
  .art-slot {
    border-width: 2px;
  }
  /* Enlarge only the home rundown so titles stay readable; story art stays on the monitors. */
  .art-slot.rundown {
    left: 1.5%;
    top: 2.8%;
    width: 40%;
    height: 74%;
    padding: 0.35em 0.4em 0.25em;
  }
  .rundown-list a {
    padding: 0.42em 0.1em;
    min-height: 28px;
  }
}

@media (min-width: 720px) {
  .art-slot.rundown {
    padding: 0.55em 0.65em 0.4em;
  }
}


/* Layout for the overlay home / story pages is at the end of this file. */

/* —— Studio backdrop: list + story float OVER the office still —— */
.studio {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  background: #000;
  container-type: size;
  container-name: studio;
}
.studio-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(16 * max(100cqw / 16, 100cqh / 9));
  height: calc(9 * max(100cqw / 16, 100cqh / 9));
  transform: translate(-50%, -50%);
}
.studio-stage .office-still,
.studio-stage .office-still img,
.studio-stage picture.office-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.studio-stage .office-still img {
  object-fit: fill;
  height: 100%;
  width: 100%;
  max-width: none;
}

/* Art slot stays pinned to the upper-left monitors (percentages of the 16:9 stage). */
.studio-stage .art-slot {
  position: absolute;
  left: 2.4%;
  top: 4%;
  width: 29.4%;
  height: 43.5%;
  z-index: 2;
}

/* Amber ham radio: glow traces the radio's actual outline (not a rectangle). */
.studio-stage .radio-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  z-index: 3;
  opacity: 0.78;
  animation: radio-glow-pulse 3.2s ease-in-out infinite;
}
@keyframes radio-glow-pulse {
  0%, 100% { opacity: 0.70; filter: brightness(0.97); }
  50% { opacity: 0.95; filter: brightness(1.08); }
}
.studio-stage .radio-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  clip-path: polygon(3.35% 70.85%, 8.0% 70.8%, 13.5% 70.9%, 14.6% 71.6%, 15.8% 70.0%, 17.4% 68.6%, 19.2% 67.3%, 21.4% 66.3%, 24.0% 65.65%, 26.4% 65.45%, 28.5% 65.75%, 30.3% 66.55%, 31.45% 67.5%, 31.95% 69.2%, 32.15% 72.0%, 32.05% 75.4%, 31.75% 79.0%, 31.25% 82.4%, 30.4% 84.7%, 29.55% 85.95%, 27.1% 87.15%, 24.1% 88.7%, 20.9% 90.55%, 18.1% 92.0%, 15.9% 93.3%, 14.7% 94.1%, 13.0% 93.6%, 9.8% 93.15%, 6.6% 92.75%, 4.2% 92.45%, 3.3% 91.7%, 3.2% 84.0%, 3.25% 77.0%, 3.35% 70.85%);
}
.studio-stage .radio-link:disabled,
.studio-stage .radio-link.is-unavailable {
  cursor: default;
}
.studio-stage .radio-link:focus-visible {
  outline: none;
}
.studio-stage:has(.radio-link:hover:not(:disabled):not(.is-unavailable)) .radio-glow,
.studio-stage:has(.radio-link:focus-visible) .radio-glow,
.studio-stage:has(.radio-link.is-playing) .radio-glow {
  opacity: 1;
  animation: none;
  filter: brightness(1.18) saturate(1.06);
}
.art-slot[hidden] { display: none !important; }

.art-slot--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at center, #102418 0%, #070d0a 70%);
}
.no-image {
  margin: 0;
  padding: 0.4em 0.45em;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(0.58rem, 1.7vw, 1.05rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  color: #7ed68a;
  text-shadow: 0 0 10px rgba(80, 200, 110, 0.4);
}

body.home,
body.story-page {
  overflow: hidden;
  height: 100%;
  background: #000;
}
body.home .site-footer,
body.story-page .site-footer { display: none; }

/* LEFT THIRD: file list over the studio, from below the art slot to the bottom. */
.home-list {
  position: absolute;
  left: 0;
  width: 33.333%;
  top: var(--list-top, 48%);
  bottom: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.66);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0;
  box-sizing: border-box;
}
.home-list nav { padding: 0 0.85rem 0.8rem; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.list-subscribe {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.7rem 0.85rem 0.9rem;
  border-top: 1px solid var(--rule);
  background: #0a0908;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: var(--muted);
}
.list-subscribe a { color: var(--gold); }
.subscribe-line {
  margin: 1.5rem 0 0;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: 0.95rem;
  font-style: normal;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: var(--muted);
}
.home-list-head {
  position: relative;
  flex: 0 0 auto;
  z-index: 3;
  margin: 0;
  padding: 0.85rem 0.85rem 0.65rem;
  background: #0a0908;
  border-bottom: 1px solid var(--rule);
}
.home-list-head h1 {
  margin: 0;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.15;
}
.home-dateline {
  margin: 0.4rem 0 0;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: 1.05rem;
  color: var(--muted);
}
.home-dateline .dateline-label {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 0.45em;
}
.story-item {
  display: block;
  text-decoration: none;
  color: inherit;
  margin: 0;
  padding: 0.85rem 0.55rem 0.95rem;
  border-bottom: 1px solid var(--rule);
}
.story-item h2 {
  color: var(--gold);
  margin: 0.15rem 0 0.4rem;
}
.story-item p { margin: 0; color: var(--text); }
.story-item:hover h2,
.story-item:focus-visible h2 { color: var(--gold-bright); }

/* Gold selected highlight is desktop-only (dropped on phone). */
@media (min-width: 900px) {
  .story-item[aria-current="true"] {
    background: rgba(212, 160, 23, 0.08);
    box-shadow: inset 3px 0 0 var(--gold);
  }
  .home-list-head h1 { font-size: 1.85rem; }
}

/* RIGHT THIRD: see-through floating story panel, white text, scrolls inside. */
.home-panel {
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  width: calc(33.333% - 0.7rem);
  max-height: calc(100% - 1.4rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 6;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 1.35rem 1.45rem 1.7rem;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.home-panel .file-header { margin-bottom: 1.15rem; }
.home-panel .prose,
.home-panel .prose p,
.home-panel .signoff,
.home-panel .sources,
.home-panel .sources p,
.home-panel li { color: #fff; }
.home-panel .subscribe-line { color: rgba(255, 255, 255, 0.72); }
.home-panel a { color: #ffe08a; }
.home-panel a:hover { color: #fff; }
.home-panel .page-kicker,
.home-panel .page-kicker time,
.home-panel .crumb,
.home-panel .crumb a { color: rgba(255, 255, 255, 0.8); }
.home-panel .panel-title,
.home-panel .file-header h1 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.15;
  margin: 0.2rem 0 0;
}
.home-panel .story {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.home-panel .story[hidden] { display: none; }
.home-panel .sources {
  border-top-color: rgba(255, 255, 255, 0.25);
}
.home-panel .sources h2 { color: #ffe08a; }

.panel-close {
  display: none;
}
.sheet-art {
  display: none;
}

/* Phone: list as a bottom sheet over the studio; no selected highlight.
   Tapping a file opens a full-screen see-through overlay (not a new page). */
@media (max-width: 899px) {
  /* Standalone story pages still hide the slot; the home feed frame stays on the left monitors. */
  body.story-page .studio-stage .art-slot { display: none; }
  /* Lift the studio over the header so the sheet and close X are truly full-screen. */
  body.home.sheet-open .studio {
    z-index: 80;
    top: 0;
  }
  body.home .home-list {
    left: 0;
    width: 100%;
    top: auto;
    bottom: 0;
    max-height: 55%;
    padding: 0;
  }
  body.home .home-list-head { padding: 1rem 1rem 0.65rem; flex: 0 0 auto; }
  body.home .home-list nav { padding: 0 1rem 0.7rem; }
  body.home .list-subscribe { padding: 0.65rem 1rem 0.85rem; }
  /* Home story is no longer a full-screen blur overlay; see the later phone block. */
  body.home .home-panel.is-open { display: flex; }
  body.home .panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 70;
    width: 2.7rem;
    height: 2.7rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }
  body.home .panel-close:hover,
  body.home .panel-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  .sheet-art {
    display: block;
    margin: 0 auto 1.1rem;
    max-width: 16rem;
  }
  .sheet-art img {
    width: 100%;
    height: auto;
    max-height: 38vh;
    object-fit: contain;
    border: 3px solid var(--bezel);
    background: #0a0b0e;
  }
  .sheet-art .art-slot--empty,
  .sheet-art .no-footage-card {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #102418 0%, #070d0a 70%);
    border: 3px solid var(--bezel);
  }
  .sheet-art .no-image { font-size: 1.15rem; }
}

/* Standalone story URLs: same studio + see-through panel look. */
body.story-page .home-panel.is-static {
  display: block;
}
@media (max-width: 899px) {
  body.story-page .studio-stage .art-slot { display: none; }
  body.story-page .home-panel.is-static {
    position: absolute;
    inset: 0;
    width: auto;
    max-height: none;
    right: 0;
    top: 0;
    padding: 1.15rem 1.15rem 1.6rem;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
@media (min-width: 900px) {
  body.story-page .sheet-art { display: none; }
}


/* Desktop: feed-frame is a sibling of the 16:9 stage, aligned to it, with the
   screen itself inset to the top-left CRT glass. The photo's bezel, wear,
   lighting and shadow stay visible — no web-box border or drop shadow.
   Phone: a matching CRT-styled readable feed sits in document flow between
   the desk still and the story. */
.feed-screen[hidden],
.feed-art[hidden],
.home-panel[hidden] { display: none !important; }

.feed-bezel { display: none; }

.art-slot.feed-frame {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
  color: #8fd89a;
}

.feed-screen {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.45em 0.55em 0.4em;
  overflow: hidden;
  container-type: size;
  container-name: crt;
  background:
    radial-gradient(ellipse at 48% 40%, #145226 0%, #0b2e16 52%, #06140a 100%);
  color: #9aefaa;
}
.feed-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(210, 255, 220, 0.1) 0%, transparent 22%),
    radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, 0.5) 100%);
  box-shadow: inset 0 0 1.15rem rgba(0, 0, 0, 0.55);
}
.feed-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.2) 2px,
    rgba(0, 0, 0, 0.2) 3px
  );
  opacity: 0.45;
}
.feed-screen-head {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35em;
  padding-bottom: 0.22em;
  margin-bottom: 0.18em;
  border-bottom: 1px solid rgba(126, 214, 138, 0.4);
}
.feed-screen-label {
  margin: 0;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(0.7rem, 11cqw, 1.15rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #8ff5a0;
  text-shadow: 0 0 8px rgba(80, 220, 110, 0.55);
}
.feed-screen-date {
  margin: 0;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: clamp(0.42rem, 6.4cqw, 0.72rem);
  line-height: 1.2;
  color: rgba(160, 230, 170, 0.82);
  white-space: nowrap;
}
.feed-screen-list {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.feed-entry {
  margin: 0;
  padding: 0.08em 0 0.1em;
  border-bottom: 0;
}
.hear-broadcast {
  display: block;
  width: 100%;
  margin: 0 0 0.2em;
  padding: 0.15em 0.1em 0.28em;
  border: 0;
  border-bottom: 1px solid rgba(126, 214, 138, 0.18);
  background: transparent;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(0.46rem, 1.55vw, 0.68rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  line-height: 1.25;
  color: #7ed68a;
  text-shadow: 0 0 8px rgba(80, 200, 110, 0.4);
  cursor: pointer;
}
.hear-broadcast:hover,
.hear-broadcast:focus-visible {
  color: #e8ffe8;
}
.hear-broadcast:focus-visible {
  outline: 1px solid #7ed68a;
  outline-offset: 1px;
}
.hear-broadcast.is-unavailable,
.hear-broadcast:disabled {
  color: rgba(126, 214, 138, 0.48);
  text-shadow: none;
  cursor: not-allowed;
}
.hear-broadcast.is-playing {
  color: #e8ffe8;
  text-shadow: 0 0 10px rgba(80, 200, 110, 0.55);
}
.feed-hear {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0.05em 0 0.28em;
  padding: 0.12em 0.15em 0.18em;
  border-bottom-color: rgba(126, 214, 138, 0.4);
  font-size: clamp(0.42rem, 6cqw, 0.62rem);
  pointer-events: auto;
}
.home-panel .hear-broadcast {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0.65rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}
.feed-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.15em 0.05em 0.12em;
}
.feed-item h2 {
  margin: 0 0 0.15em;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(0.68rem, 10.5cqw, 1.12rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.12;
  color: #d8ffdc;
  text-shadow: 0 0 8px rgba(80, 220, 110, 0.5);
}
.feed-item p {
  margin: 0;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: clamp(0.48rem, 7.2cqw, 0.78rem);
  line-height: 1.3;
  color: rgba(170, 235, 180, 0.9);
  white-space: normal;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.feed-type {
  margin: 0 0 0.1em;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: clamp(0.4rem, 5.6cqw, 0.62rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(170, 235, 180, 0.88);
}
.entry-type {
  margin: 0.2rem 0 0;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 224, 138, 0.92);
}
.home-panel .entry-type { color: #ffe08a; }
.prose .evidence-locker a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.feed-entry.is-current .feed-item h2 { color: #f3fff4; }
.feed-item:hover h2,
.feed-item:focus-visible h2 { color: #f3fff4; }
.feed-item:focus-visible {
  outline: 1px solid #7ed68a;
  outline-offset: 1px;
}
.feed-subscribe {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  margin: 0.15em 0 0;
  padding-top: 0.2em;
  border-top: 1px solid rgba(126, 214, 138, 0.35);
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: clamp(0.42rem, 6cqw, 0.68rem);
  line-height: 1.25;
  color: rgba(160, 230, 170, 0.82);
  overflow-wrap: anywhere;
}
.feed-subscribe a {
  color: #c8ffd0;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}
.feed-subscribe a:hover { color: #f3fff4; }

.feed-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #070d0a;
  overflow: hidden;
}
.feed-art picture,
.feed-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #070d0a;
}

.stage-cue {
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-style: italic;
  font-size: 0.92em;
  letter-spacing: 0.02em;
  color: rgba(160, 190, 160, 0.48);
}
.home-panel .stage-cue {
  color: rgba(190, 220, 190, 0.42);
}

/* No close-to-empty state. The X appears only for a non-default file and returns to Who Is Cecil AI. */
body.home .home-panel.is-open .panel-close { display: none; }
body.home.file-alt .home-panel.is-open .panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 8;
  width: 2.3rem;
  height: 2.3rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
body.home.file-alt .home-panel.is-open .panel-close:hover,
body.home.file-alt .home-panel.is-open .panel-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 899px) {
  /* Phone: the desk still is in NORMAL DOCUMENT FLOW, full-width 16:9, directly
     under the header and ABOVE the story title. Not a fixed overlay. Desktop unchanged. */
  body.home {
    overflow: auto;
    height: auto;
    min-height: 100%;
  }
  body.home .studio {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    overflow: visible;
    background: #000;
    z-index: 1;
    container-type: normal;
  }
  body.home .studio-stage {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    transform: none;
    overflow: hidden;
  }
  body.home .studio-stage .office-still,
  body.home .studio-stage .office-still img,
  body.home .studio-stage picture.office-still {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  body.home .studio {
    display: flex;
    flex-direction: column;
  }
  body.home .art-slot.feed-frame {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin: 0.55rem 0.7rem 0.15rem;
    padding: 0.45rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    /* Worn CRT bezel, same era/colors as the wall monitors in the desk art. */
    background:
      linear-gradient(165deg, #2a231c 0%, #16110d 42%, #0c0a08 100%);
    border: 0;
    border-radius: 0.7rem;
    box-shadow:
      inset 0 1px 0 rgba(255, 230, 180, 0.08),
      inset 0 0 0 2px #0a0806,
      inset 0 0 0 5px #1c1713,
      inset 0 0 0 6px #3a3228,
      0 8px 18px rgba(0, 0, 0, 0.55);
    overflow: hidden;
  }
  body.home .feed-frame .feed-screen {
    position: relative;
    min-height: 11rem;
    height: auto;
    overflow: visible;
    container-type: inline-size;
    padding: 0.7rem 0.85rem 0.6rem;
    border-radius: 0.35rem;
    box-shadow: inset 0 0 1.4rem rgba(0, 0, 0, 0.55);
  }
  body.home .feed-screen-list {
    flex: 0 0 auto;
    overflow: visible;
    min-height: 0;
  }
  body.home .feed-frame .feed-art {
    position: relative;
    inset: auto;
    min-height: 11rem;
    aspect-ratio: 4 / 3;
    border-radius: 0.35rem;
    overflow: hidden;
  }
  body.home .feed-screen-label { font-size: 1.15rem; }
  body.home .feed-screen-date { font-size: 0.78rem; }
  body.home .feed-item { padding: 0.35em 0.05em 0.3em; }
  body.home .feed-type { font-size: 0.72rem; }
  body.home .feed-item h2 { font-size: 1.2rem; }
  body.home .feed-item p {
    font-size: 0.92rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }
  body.home .feed-subscribe { font-size: 0.8rem; margin-top: 0.35em; padding-top: 0.35em; }
  body.home .feed-subscribe-lead { display: inline; }
  body.home .feed-toggle {
    position: absolute;
    top: 0.62rem;
    right: 0.62rem;
    z-index: 5;
    font-size: 0.68rem;
    padding: 0.22em 0.55em;
  }
  body.home .feed-frame .feed-screen {
    padding-top: 2.15rem;
  }
  body.home .feed-hear {
    font-size: 0.78rem;
    margin: 0.15em 0 0.45em;
    padding: 0.2em 0.1em 0.25em;
  }
  body.home.feed-hidden .feed-frame .feed-screen {
    min-height: 11rem;
  }
  body.home .home-panel,
  body.home .home-panel.is-open {
    display: flex;
    flex-direction: column;
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 1rem 1rem 1.3rem;
    background: #0a0908;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 2;
  }
  body.home .home-panel .story {
    overflow: visible;
    flex: 0 1 auto;
  }
  body.home.file-alt .home-panel.is-open .file-header {
    padding-right: 3rem;
  }
  body.home.file-alt .home-panel.is-open .panel-close {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
  }
}

@media (min-width: 900px) {
  /* One CRT spanning the top-left 2x2 monitor bank. A painted bezel matches
     the room's dark worn frames; the glass is a single continuous phosphor. */
  body.home .art-slot.feed-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(16 * max(100cqw / 16, 100cqh / 9));
    height: calc(9 * max(100cqw / 16, 100cqh / 9));
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    padding: 0;
    margin: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  body.home .feed-bezel {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: fill;
    pointer-events: none;
    z-index: 3;
    background: transparent;
  }
  body.home .feed-frame .feed-screen,
  body.home .feed-frame .feed-art {
    pointer-events: auto;
    position: absolute;
    left: 4.35%;
    top: 6.55%;
    width: 29.0%;
    height: 36.6%;
    border: 0;
    border-radius: 5.0% / 6.6%;
    overflow: hidden;
    box-shadow: none;
    z-index: 1;
  }
  body.home .feed-frame .feed-screen {
    display: flex;
    flex-direction: column;
    padding: 1.05em 1.3em 0.95em 1.35em;
    background:
      radial-gradient(ellipse at 48% 38%, #165a28 0%, #0c3218 50%, #06150a 100%);
  }
  body.home .feed-screen-list,
  body.home .feed-entry,
  body.home .feed-item {
    display: block;
  }
  body.home .feed-screen-list {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    overflow-y: auto;
  }
  body.home .feed-screen-head {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.8em;
    padding: 0 0 0.4em;
    margin: 0 0 0.4em;
    border-bottom: 1px solid rgba(126, 214, 138, 0.38);
  }
  body.home .feed-screen-label {
    font-size: clamp(1.35rem, 5.2cqw, 2rem);
  }
  body.home .feed-screen-date {
    font-size: clamp(0.8rem, 2.8cqw, 1.05rem);
    white-space: nowrap;
  }
  body.home .feed-item {
    padding: 0.1em 0 0.15em;
  }
  body.home .feed-type {
    font-size: clamp(0.7rem, 2.4cqw, 0.9rem);
    margin-bottom: 0.15em;
  }
  body.home .feed-item h2 {
    padding: 0;
    margin: 0 0 0.35em;
    font-size: clamp(1.45rem, 5.8cqw, 2.15rem);
    line-height: 1.12;
  }
  body.home .feed-item p {
    padding: 0;
    margin: 0;
    font-size: clamp(0.95rem, 3.4cqw, 1.25rem);
    line-height: 1.4;
    -webkit-line-clamp: 8;
  }
  body.home .feed-subscribe {
    display: block;
    flex: 0 0 auto;
    margin: auto 0 0;
    padding: 0.55em 0 0;
    border-top: 1px solid rgba(126, 214, 138, 0.38);
    font-size: clamp(0.8rem, 2.7cqw, 1.05rem);
    line-height: 1.4;
  }
  body.home .feed-subscribe-lead { display: inline; }
  body.home .feed-toggle {
    position: absolute;
    left: auto;
    right: calc(100% - (4.35% + 29.0%) + 0.55em);
    top: calc(6.55% + 0.45em);
    z-index: 4;
    pointer-events: auto;
    font-size: clamp(0.58rem, 1.9cqw, 0.72rem);
    padding: 0.2em 0.5em;
    color: #f3fff4;
    border-color: rgba(200, 255, 210, 0.45);
    background: rgba(4, 16, 8, 0.72);
    text-shadow: 0 0 8px rgba(80, 220, 110, 0.45);
  }
  body.home .feed-toggle:hover,
  body.home .feed-toggle:focus-visible,
  body.home .feed-toggle[aria-pressed="true"] {
    color: #fff;
    border-color: #c8ffd0;
  }
  body.home .feed-screen-head {
    padding-right: 6.2em;
  }
  body.home .feed-hear {
    font-size: clamp(0.68rem, 2.2cqw, 0.82rem);
    margin: 0.02em 0 0.18em;
    padding: 0.08em 0.1em 0.12em;
  }
  body.home .feed-item p {
    -webkit-line-clamp: 2;
    font-size: clamp(0.85rem, 3cqw, 1.1rem);
    line-height: 1.3;
  }
  body.home .feed-item h2 {
    font-size: clamp(1.25rem, 5cqw, 1.85rem);
    margin: 0 0 0.2em;
  }
  body.home .feed-item {
    padding: 0.06em 0 0.08em;
  }
}


@media (min-width: 900px) {
  /* Desktop story panel: 100% transparent, type floats over the backdrop. */
  body.home .home-panel,
  body.home .home-panel.is-open {
    background: transparent;
    background-color: transparent;
    background-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  }
  body.home .home-panel,
  body.home .home-panel .story {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  }
  body.home .home-panel::-webkit-scrollbar,
  body.home .home-panel .story::-webkit-scrollbar { width: 6px; }
  body.home .home-panel::-webkit-scrollbar-track,
  body.home .home-panel .story::-webkit-scrollbar-track { background: transparent; }
  body.home .home-panel::-webkit-scrollbar-thumb,
  body.home .home-panel .story::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 3px;
  }
  body.home .home-panel,
  body.home .home-panel .file-header,
  body.home .home-panel .panel-title,
  body.home .home-panel .file-header h1,
  body.home .home-panel .prose,
  body.home .home-panel .prose p,
  body.home .home-panel .signoff,
  body.home .home-panel .sources,
  body.home .home-panel .sources p,
  body.home .home-panel .sources h2,
  body.home .home-panel li,
  body.home .home-panel .subscribe-line,
  body.home .home-panel .page-kicker,
  body.home .home-panel .page-kicker time,
  body.home .home-panel .entry-type,
  body.home .home-panel .stage-cue,
  body.home .home-panel .hear-broadcast,
  body.home .home-panel a {
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.9),
      0 0 8px rgba(0, 0, 0, 0.7),
      0 2px 14px rgba(0, 0, 0, 0.55);
  }
  body.home .home-panel .hear-broadcast {
    color: #c8f5ce;
  }
  body.home .home-panel .hear-broadcast.is-unavailable,
  body.home .home-panel .hear-broadcast:disabled {
    color: rgba(200, 245, 206, 0.7);
  }
}

/* Standing site disclaimer: pinned to the bottom of the story panel, not over the copy. */
.site-disclaimer {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.7rem 0 0;
  pointer-events: none;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
  color: #f3efe6;
}
@media (min-width: 900px) {
  body.home .home-panel .site-disclaimer {
    color: #f7f3ea;
    font-size: 0.88rem;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 1),
      0 0 12px rgba(0, 0, 0, 0.95),
      0 2px 18px rgba(0, 0, 0, 0.85);
  }
}
@media (max-width: 899px) {
  body.home .home-panel .site-disclaimer {
    margin-top: 0.35rem;
    padding: 0.55rem 0 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #f3efe6;
    text-align: left;
  }
}

/* —— File a Report / Recent Reports (added Nov 22, 2026) —— */
body.interior-page {
  overflow: auto;
  height: auto;
  min-height: 100vh;
  background: var(--bg);
}
body.interior-page .page h1 {
  margin: 0 0 0.6rem;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.1;
}
.page-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
}
.report-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 2rem;
}
.form-row { margin: 0; }
.form-row label,
.consent-label {
  display: block;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}
.consent-label {
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  line-height: 1.45;
}
.consent-label input { margin-top: 0.35rem; flex: 0 0 auto; }
.optional, .required {
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 0.8em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 400;
}
.report-form input[type="text"],
.report-form input[type="email"],
.report-form input[type="url"],
.report-form select,
.report-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--rule);
  background: var(--bg-raised);
  color: var(--text);
  font-family: Newsreader, Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.5;
  border-radius: 0;
}
.report-form textarea { resize: vertical; min-height: 10rem; }
.report-form input:focus-visible,
.report-form select:focus-visible,
.report-form textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.form-note {
  margin: 0;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-error {
  margin: 0;
  color: #f3b4b4;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 0.95rem;
}
.form-actions { margin: 0.25rem 0 0; }
.submit-btn {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}
.submit-btn:hover,
.submit-btn:focus-visible {
  color: var(--bg);
  background: var(--gold);
}
.submit-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cf-turnstile { margin: 0.2rem 0; }
.thank-you h2 {
  font-family: Oswald, "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.reports-list { display: flex; flex-direction: column; }
.report-card {
  margin: 0;
  padding: 1.1rem 0 1rem;
  border-bottom: 1px solid var(--rule);
}
.report-card .feed-type { margin: 0 0 0.25rem; }
.report-meta,
.report-category {
  margin: 0 0 0.2rem;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.report-story p { margin: 0.45rem 0 0; }
.read-more {
  margin: 0.45rem 0 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: none;
  color: var(--gold);
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.read-more:hover,
.read-more:focus-visible { color: var(--gold-bright); }

.recent-reports-strip {
  position: relative;
  z-index: 3;
  background: #0a0908;
  border-top: 1px solid var(--rule);
  padding: 1.25rem 1rem 1.8rem;
}
.recent-reports-inner {
  max-width: 72rem;
  margin: 0 auto;
}
.recent-reports-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.4rem;
}
.recent-reports-head .feed-label { margin: 0; }
.recent-reports-all {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.recent-reports-cards { display: grid; gap: 0 1.5rem; }
.recent-reports-cards .report-card { padding-top: 0.7rem; }
@media (min-width: 800px) {
  .recent-reports-cards { grid-template-columns: repeat(3, 1fr); }
}

/* Header nav sits with the hide-text control. */
.header-inner .site-nav {
  margin-left: auto;
  font-size: 0.85rem;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .header-inner .site-nav { font-size: 1rem; gap: 1.1rem; }
}
body.home .text-toggle { margin-left: 0; }

/* Make a Report button + form in the story panel */
.make-report-btn {
  display: inline-block;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35em 0.7em;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  line-height: 1.2;
}
.make-report-btn:hover,
.make-report-btn:focus-visible {
  color: var(--bg);
  background: var(--gold);
}
.header-inner .make-report-btn { margin-left: 0.2rem; }
.feed-cta { margin: 0.35em 0 0.15em; }
body.home .feed-cta .make-report-btn {
  color: #c8f5ce;
  border-color: rgba(126, 214, 138, 0.7);
  background: rgba(0, 0, 0, 0.25);
  font-size: clamp(0.55rem, 7cqw, 0.75rem);
}
body.home .feed-cta .make-report-btn:hover,
body.home .feed-cta .make-report-btn:focus-visible {
  color: #07110a;
  background: #c8f5ce;
}

body.file-alt .make-a-report { display: none; }
.make-a-report {
  margin: 0 0 1.5rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.make-a-report .page-lead { margin: 0.4rem 0 1rem; }
.make-a-report .report-form { gap: 0.75rem; }
.cecil-take, .report-comments {
  margin: 1.4rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
}
.cecil-take h3, .report-comments h3 {
  margin: 0 0 0.5rem;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.comment-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.comment-list li { margin: 0 0 0.8rem; }
.comment-meta {
  margin: 0 0 0.2rem;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (min-width: 900px) {
  body.home .home-panel .make-a-report,
  body.home .home-panel .make-a-report .page-lead,
  body.home .home-panel .make-a-report label,
  body.home .home-panel .cecil-take,
  body.home .home-panel .cecil-take h3,
  body.home .home-panel .report-comments,
  body.home .home-panel .report-comments h3,
  body.home .home-panel .form-note,
  body.home .home-panel .submit-btn {
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.9),
      0 0 8px rgba(0, 0, 0, 0.7),
      0 2px 14px rgba(0, 0, 0, 0.55);
  }
}

/* —— Cecil AI Reports: white text, comments rail, feed-who (Nov 22, 2026) —— */
body.cecil-reports {
  --comments-rail-h: 8.25rem;
}

/* Latest approved comments sit above the desk. Approved only; not a live chat. */
body.cecil-reports .comments-rail {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: var(--comments-rail-h);
  z-index: 40;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0.45rem 0.85rem 0.5rem;
}
body.cecil-reports .comments-rail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  flex: 0 0 auto;
  margin: 0 0 0.25rem;
}
body.cecil-reports .comments-rail-label {
  margin: 0;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
body.cecil-reports .comments-rail-note {
  margin: 0;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}
body.cecil-reports .comments-rail-log {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
body.cecil-reports .comments-rail-empty,
body.cecil-reports .comments-rail-error {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
body.cecil-reports .comments-rail-item {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.35;
  padding: 0.12rem 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.cecil-reports .comments-rail-item:last-of-type { border-bottom: 0; }
body.cecil-reports .comments-rail-item:hover,
body.cecil-reports .comments-rail-item:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
body.cecil-reports .comments-rail-name {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}
body.cecil-reports .comments-rail-on { color: rgba(255, 255, 255, 0.62); }
body.cecil-reports .comments-rail-report {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffe08a;
  margin-right: 0.45rem;
}
body.cecil-reports .comments-rail-text { color: #f3f3f3; }
body.cecil-reports.text-hidden {
  --comments-rail-h: 0px;
}
body.cecil-reports.text-hidden .comments-rail { display: none; }
body.cecil-reports.home .studio {
  top: calc(var(--header-h) + var(--comments-rail-h));
}

@media (max-width: 899px) {
  body.cecil-reports {
    --comments-rail-h: auto;
  }
  body.cecil-reports .comments-rail {
    position: relative;
    top: auto;
    height: auto;
    max-height: 10.5rem;
    z-index: 3;
  }
  body.cecil-reports.home .studio {
    top: auto;
  }
}

/* Who Is Cecil AI sits under the CRT feed, not as a File broadcast. */
body.cecil-reports .feed-who {
  margin: 0.35em 0 0.15em;
  padding: 0.15em 0 0;
  border-top: 1px solid rgba(126, 214, 138, 0.28);
}
body.cecil-reports .feed-who a {
  display: inline-block;
  color: #e8ffe8;
  text-decoration: none;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(0.55rem, 7cqw, 0.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.cecil-reports .feed-who a:hover,
body.cecil-reports .feed-who a:focus-visible,
body.cecil-reports .feed-who a.is-current {
  color: #f3fff4;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* White / near-white text on the dark right-hand panel. */
body.cecil-reports .home-panel,
body.cecil-reports .home-panel .prose,
body.cecil-reports .home-panel .prose p,
body.cecil-reports .home-panel li,
body.cecil-reports .home-panel .signoff,
body.cecil-reports .home-panel .page-lead,
body.cecil-reports .home-panel .form-note,
body.cecil-reports .home-panel .consent-label,
body.cecil-reports .home-panel .cecil-take,
body.cecil-reports .home-panel .cecil-take p,
body.cecil-reports .home-panel .report-comments,
body.cecil-reports .home-panel .report-comments p,
body.cecil-reports .home-panel .comment-list p,
body.cecil-reports .home-panel .thank-you,
body.cecil-reports .home-panel .thank-you p,
body.cecil-reports .home-panel .thank-you h2,
body.cecil-reports .home-panel .panel-title,
body.cecil-reports .home-panel .file-header h1,
body.cecil-reports .home-panel .form-row label,
body.cecil-reports .home-panel .report-card,
body.cecil-reports .home-panel .report-story p {
  color: #fff;
}
body.cecil-reports .home-panel .optional,
body.cecil-reports .home-panel .required,
body.cecil-reports .home-panel .comment-meta,
body.cecil-reports .home-panel .page-kicker,
body.cecil-reports .home-panel .page-kicker time,
body.cecil-reports .home-panel .crumb,
body.cecil-reports .home-panel .report-comments-empty,
body.cecil-reports .home-panel .subscribe-line {
  color: rgba(255, 255, 255, 0.8);
}
body.cecil-reports .home-panel .cecil-take h3,
body.cecil-reports .home-panel .report-comments h3,
body.cecil-reports .home-panel .entry-type {
  color: #fff;
}
body.cecil-reports .home-panel a { color: #ffe08a; }
body.cecil-reports .home-panel a:hover { color: #fff; }

body.cecil-reports .home-panel .report-form input[type="text"],
body.cecil-reports .home-panel .report-form input[type="email"],
body.cecil-reports .home-panel .report-form input[type="url"],
body.cecil-reports .home-panel .report-form select,
body.cecil-reports .home-panel .report-form textarea,
body.cecil-reports .home-panel .comment-form input[type="text"],
body.cecil-reports .home-panel .comment-form textarea {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  caret-color: #fff;
}
body.cecil-reports .home-panel .report-form input::placeholder,
body.cecil-reports .home-panel .report-form textarea::placeholder,
body.cecil-reports .home-panel .comment-form input::placeholder,
body.cecil-reports .home-panel .comment-form textarea::placeholder {
  color: #c4c4c4;
  opacity: 1;
}
body.cecil-reports .home-panel .report-form select option {
  background: #111;
  color: #fff;
}
body.cecil-reports .home-panel .report-form input:focus-visible,
body.cecil-reports .home-panel .report-form select:focus-visible,
body.cecil-reports .home-panel .report-form textarea:focus-visible,
body.cecil-reports .home-panel .comment-form input:focus-visible,
body.cecil-reports .home-panel .comment-form textarea:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
body.cecil-reports .home-panel .submit-btn {
  color: #fff;
  border-color: #fff;
}
body.cecil-reports .home-panel .submit-btn:hover,
body.cecil-reports .home-panel .submit-btn:focus-visible {
  color: #0a0a0a;
  background: #fff;
}
body.cecil-reports .home-panel .form-error { color: #ffc9c9; }

@media (min-width: 900px) {
  body.cecil-reports.home .home-panel .make-a-report,
  body.cecil-reports.home .home-panel .make-a-report .page-lead,
  body.cecil-reports.home .home-panel .make-a-report label,
  body.cecil-reports.home .home-panel .make-a-report .consent-label,
  body.cecil-reports.home .home-panel .cecil-take,
  body.cecil-reports.home .home-panel .cecil-take h3,
  body.cecil-reports.home .home-panel .cecil-take p,
  body.cecil-reports.home .home-panel .report-comments,
  body.cecil-reports.home .home-panel .report-comments h3,
  body.cecil-reports.home .home-panel .report-comments p,
  body.cecil-reports.home .home-panel .form-note,
  body.cecil-reports.home .home-panel .submit-btn,
  body.cecil-reports.home .home-panel .prose,
  body.cecil-reports.home .home-panel .prose p,
  body.cecil-reports.home .home-panel .panel-title {
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.95),
      0 0 8px rgba(0, 0, 0, 0.75),
      0 2px 14px rgba(0, 0, 0, 0.6);
  }
}

/* —— Cecil AI Reports: form errors, uploads (Nov 22, 2026) —— */
body.cecil-reports .home-panel .form-error {
  display: none;
  margin: 0.6rem 0 0;
  padding: 0.65rem 0.75rem;
  color: #fff !important;
  background: rgba(120, 20, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  text-shadow: none;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 1rem;
  line-height: 1.45;
}
body.cecil-reports .home-panel .form-error:not([hidden]) {
  display: block;
}
body.cecil-reports .home-panel .form-status {
  margin: 0.5rem 0 0;
  color: #fff;
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 0.95rem;
}
body.cecil-reports .home-panel input[type="file"] {
  display: block;
  width: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.45rem 0.5rem;
}
body.cecil-reports .home-panel input[type="file"]::file-selector-button {
  color: #0a0a0a;
  background: #fff;
  border: 0;
  padding: 0.3rem 0.7rem;
  margin-right: 0.7rem;
  font-family: Oswald, "Arial Narrow", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
body.cecil-reports .home-panel .report-files,
body.cecil-reports .home-panel .report-media {
  margin: 1rem 0 0;
  color: #fff;
}
body.cecil-reports .home-panel .report-links {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
}
body.cecil-reports .home-panel .report-file-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.4rem 0 0.2rem;
}
body.cecil-reports .home-panel .report-file-image figcaption,
body.cecil-reports .home-panel .report-file-audio span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}
body.cecil-reports .home-panel .report-file-audio audio {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
}

/* Evidence Locker exhibits (recordings play inline; photos display). */
.prose .evidence-locker .exhibit-label {
  display: block;
  margin: 0 0 0.4rem;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.home-panel .prose .evidence-locker .exhibit-label { color: #ffe08a; }
.prose .evidence-locker .evidence-exhibit { margin: 0 0 0.9rem; }
.prose .evidence-locker img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.35rem 0 0;
}
.prose .evidence-locker audio {
  display: block;
  width: 100%;
  margin: 0.35rem 0 0;
}


/* Standing disclaimer: a single scroll viewport sits in grid row 1; the
   disclaimer is row 2. Story text cannot paint under it. */
.home-panel { --disclaimer-h: 4.75rem; }

#listener-report-stories { display: block; }
#listener-report-stories:empty { display: none; }

/* Hidden stories must stay hidden even if a later display:block rule matches. */
.home-panel .story[hidden],
#listener-report-stories .story[hidden],
body.home .home-panel .story[hidden],
body.home .home-panel .story[hidden] * {
  display: none !important;
}

.comment-open-btn,
.home-panel .comment-open-btn {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}
.home-panel .comment-open-btn {
  color: #fff;
  border-color: #fff;
}
.home-panel .comment-open-btn:hover,
.home-panel .comment-open-btn:focus-visible {
  color: #0a0a0a;
  background: #fff;
}

.feed-crt-bezel { display: none; }

@media (max-width: 899px) {
  html, body.home {
    height: auto;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body.home .studio,
  body.home #main {
    height: auto;
    max-height: none;
    overflow: visible;
    flex: 0 0 auto;
  }
  body.home .art-slot.feed-frame {
    padding: 0.72rem 0.7rem 0.8rem;
    border-radius: 1rem;
    background:
      linear-gradient(165deg, #3d362e 0%, #1c1713 38%, #0c0a08 72%, #16110d 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 230, 180, 0.18),
      inset 0 -2px 4px rgba(0, 0, 0, 0.55),
      inset 0 0 0 2px #0a0806,
      inset 0 0 0 6px #1a1612,
      inset 0 0 0 7px #4a4036,
      0 10px 22px rgba(0, 0, 0, 0.6),
      0 3px 0 rgba(0, 0, 0, 0.35);
  }
  body.home .feed-frame .feed-screen,
  body.home .feed-frame .feed-art,
  body.home.feed-hidden .feed-frame .feed-screen {
    min-height: 14rem;
    border-radius: 0.42rem;
    box-shadow:
      inset 0 0 1.4rem rgba(0, 0, 0, 0.55),
      0 0 0 1px #050403;
  }
  body.home .home-panel,
  body.home .home-panel.is-open {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 1.1rem 1.15rem 3rem;
    margin: 0 auto;
  }
  body.home .home-panel .panel-scroll,
  body.home .home-panel .story:not([hidden]),
  #listener-report-stories,
  #listener-report-stories .story:not([hidden]) {
    position: relative;
    display: block;
    flex: 0 0 auto;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }
  /* Reserve space in the header only so the × does not sit on the dateline.
     Body copy keeps equal left and right padding. */
  body.home.file-alt .home-panel.is-open .file-header {
    padding-right: 3.4rem;
  }
  body.home .home-panel .site-disclaimer {
    position: relative;
    margin-top: 1.1rem;
    padding: 0.7rem 0 0.4rem;
  }
}

@media (min-width: 900px) {
  body.home .feed-bezel { display: none; }
  body.home .feed-crt-bezel {
    display: block;
    position: absolute;
    left: 2.55%;
    top: 4.5%;
    width: 32.5%;
    height: 41.15%;
    z-index: 2;
    pointer-events: none;
    border-radius: 3.6% / 4.5%;
    background:
      linear-gradient(165deg, #3d362e 0%, #221c18 28%, #14110e 58%, #0b0908 82%, #1a1612 100%);
    box-shadow:
      0 12px 26px rgba(0, 0, 0, 0.62),
      0 3px 0 rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 236, 200, 0.22),
      inset 0 -3px 6px rgba(0, 0, 0, 0.5),
      inset 0 0 0 1px #4a4338,
      inset 0 0 0 3px #1a1510;
  }
  body.home .feed-frame .feed-screen,
  body.home .feed-frame .feed-art {
    left: 3.95%;
    top: 6.15%;
    width: 29.7%;
    height: 37.7%;
    border-radius: 2.6% / 3.4%;
    z-index: 3;
    box-shadow:
      inset 0 0 1.15rem rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(0, 0, 0, 0.85);
  }
  body.home .feed-toggle {
    right: calc(100% - (3.95% + 29.7%) + 0.55em);
    top: calc(6.15% + 0.45em);
    z-index: 6;
  }

  /* Desktop panel: grid row 1 is the only scroller; row 2 is the disclaimer.
     Equal left/right padding. The close button is reserved in the header only. */
  body.home .home-panel,
  body.home .home-panel.is-open {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-columns: 1fr;
    align-content: stretch;
    top: 0.7rem;
    bottom: 0.7rem;
    height: auto;
    max-height: none;
    overflow: hidden;
    box-sizing: border-box;
    padding: 1.35rem 1.6rem 0.45rem;
  }
  body.home.file-alt .home-panel.is-open {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }
  body.home.file-alt .home-panel.is-open .file-header {
    padding-right: 2.8rem;
  }
  body.home .home-panel > .panel-close {
    grid-row: 1;
    grid-column: 1;
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 8;
  }
  body.home .home-panel .panel-scroll {
    grid-row: 1;
    grid-column: 1;
    min-height: 0;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 0.35rem;
  }
  body.home .home-panel .story,
  body.home .home-panel .story:not([hidden]),
  #listener-report-stories,
  #listener-report-stories .story,
  #listener-report-stories .story:not([hidden]) {
    position: static;
    display: block;
    flex: none;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }
  body.home .home-panel .story[hidden],
  #listener-report-stories .story[hidden] {
    display: none !important;
  }
  body.home .home-panel .site-disclaimer {
    grid-row: 2;
    grid-column: 1;
    position: relative;
    z-index: 2;
    flex: none;
    margin: 0;
    padding: 0.55rem 0 0.15rem;
    background: transparent;
    pointer-events: none;
  }
}



/* Hide Feed: the entire CRT (bezel, glass, file art) disappears so the
   original desk artwork is fully visible. A small Show Feed control stays
   in the corner where the feed was. */
body.home.feed-hidden .feed-screen,
body.home.feed-hidden .feed-art,
body.home.feed-hidden .feed-crt-bezel,
body.home.feed-hidden .feed-bezel {
  display: none !important;
}

@media (min-width: 900px) {
  body.home.feed-hidden .art-slot.feed-frame {
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
  }
  body.home.feed-hidden .feed-toggle {
    right: calc(100% - (3.95% + 29.7%) + 0.4em);
    top: calc(6.15% + 0.35em);
    z-index: 6;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding: 0.2em 0.55em;
    color: #f3efe6;
    border: 1px solid rgba(255, 236, 200, 0.38);
    background: rgba(10, 8, 6, 0.62);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
    border-radius: 0.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  }
  body.home.feed-hidden .feed-toggle:hover,
  body.home.feed-hidden .feed-toggle:focus-visible,
  body.home.feed-hidden .feed-toggle[aria-pressed="true"] {
    color: #fff;
    border-color: rgba(255, 236, 200, 0.7);
    background: rgba(10, 8, 6, 0.78);
  }
}

@media (max-width: 899px) {
  body.home.feed-hidden .art-slot.feed-frame {
    min-height: 0;
    height: auto;
    margin: 0.3rem 0.7rem 0.2rem;
    padding: 0;
    background: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: visible;
  }
  body.home.feed-hidden .feed-frame .feed-screen,
  body.home.feed-hidden .feed-frame .feed-art,
  body.home.feed-hidden .feed-frame .feed-screen {
    min-height: 0 !important;
    display: none !important;
  }
  body.home.feed-hidden .feed-toggle {
    position: relative;
    top: auto;
    right: auto;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    padding: 0.28em 0.65em;
    color: #f3efe6;
    border: 1px solid rgba(255, 236, 200, 0.38);
    background: rgba(10, 8, 6, 0.62);
    border-radius: 0.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  }
}

/* Listener report entries must stay visible in the CRT feed list. */
body.home:not(.feed-hidden) .feed-screen-list .listener-report-entry {
  display: block !important;
}

/* Reports desktop: fill the screen with cover (same 16:9 max() as Files).
   The Latest comments bar overlays the right-hand column instead of
   reserving height, so the CRT bezel is not cropped. */
@media (min-width: 900px) {
  body.cecil-reports.home .studio {
    top: var(--header-h);
  }
  body.cecil-reports .comments-rail {
    position: fixed;
    top: var(--header-h);
    left: auto;
    right: 0;
    width: calc(33.333% + 0.2rem);
    height: auto;
    max-height: 7rem;
    z-index: 45;
    background: rgba(10, 10, 10, 0.92);
  }
  body.cecil-reports.home .home-panel,
  body.cecil-reports.home .home-panel.is-open {
    top: calc(0.7rem + var(--comments-rail-h));
  }
  body.cecil-reports {
    --comments-rail-h: 5.5rem;
  }
  body.cecil-reports.text-hidden {
    --comments-rail-h: 0px;
  }
}

/* Privacy & Takedowns footer link and dialog */
.site-disclaimer .privacy-link {
  pointer-events: auto;
  margin-left: 0.55rem;
  color: #ffe08a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-size: 0.92em;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.site-disclaimer .privacy-link:hover,
.site-disclaimer .privacy-link:focus-visible {
  color: #fff;
}
.privacy-dialog {
  width: min(32rem, calc(100vw - 2rem));
  max-width: 32rem;
  padding: 1.3rem 1.4rem 1.15rem;
  border: 1px solid rgba(255, 224, 138, 0.35);
  background: #14110e;
  color: #f3efe6;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}
.privacy-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}
.privacy-dialog h2 {
  margin: 0 0 0.7rem;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffe08a;
}
.privacy-dialog p {
  margin: 0 0 1rem;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
.privacy-dialog a { color: #ffe08a; }
.privacy-dialog-close {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.privacy-dialog-close:hover,
.privacy-dialog-close:focus-visible {
  color: #0a0a0a;
  background: #fff;
}
