/* Deep Dive Retro v2 — Poolsuite-inspired (own code) */
@font-face {
  font-family: "Silkscreen";
  src: url("assets/fonts/silkscreen-latin-400-normal.woff2") format("woff2"),
       url("assets/fonts/Silkscreen-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Silkscreen";
  src: url("assets/fonts/silkscreen-latin-700-normal.woff2") format("woff2"),
       url("assets/fonts/Silkscreen-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "SilkscreenAlt";
  src: url("assets/fonts/slkscr.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "VTPixel";
  src: url("assets/fonts/vt323-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}


@font-face {
  font-family: "ChiKareGo2";
  src: url("assets/fonts/ChiKareGo2.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "Pixel Operator";
  src: url("assets/fonts/PixelOperator.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pixel Operator";
  src: url("assets/fonts/PixelOperator-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pixel Operator Mono";
  src: url("assets/fonts/PixelOperatorMono.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pixel Operator Mono";
  src: url("assets/fonts/PixelOperatorMono-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pixelify Sans";
  src: url("assets/fonts/pixelify-sans-latin-400-normal.woff2") format("woff2"),
       url("assets/fonts/PixelifySans-Variable.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pixelify Sans";
  src: url("assets/fonts/pixelify-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Pixelify Sans";
  src: url("assets/fonts/pixelify-sans-latin-700-normal.woff2") format("woff2"),
       url("assets/fonts/PixelifySans-Variable.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Jersey 10";
  src: url("assets/fonts/Jersey10-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}


@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/EBGaramond-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/EBGaramond-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("assets/fonts/EBGaramond-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "Zilla Slab";
  src: url("assets/fonts/ZillaSlab-Regular.woff2") format("woff2"),
       url("assets/fonts/ZillaSlab-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("assets/fonts/ZillaSlab-Bold.woff2") format("woff2"),
       url("assets/fonts/ZillaSlab-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Libre Bodoni";
  src: url("assets/fonts/LibreBodoni-Bold.woff2") format("woff2"),
       url("assets/fonts/LibreBodoni-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("assets/fonts/CourierPrime-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("assets/fonts/CourierPrime-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
/* Default = Poolsuite pink (retro-prototype) */
:root {
  --bg: #f7d5d5;
  --panel: #ececec;
  --panel-hi: #f8f8f8;
  --panel-lo: #c8c8c8;
  --cream: #faf4e8;
  --ink: #111111;
  --muted: #666666;
  --yellow: #faf4c6;
  --yellow-bg: #fff8c8;
  --accent: #8fe0d4;          /* play / primary */
  --accent-2: #f6b6c2;        /* extra / secondary */
  --accent-3: #fb5858;        /* live dot / danger */
  --onair-bg: #ffffff;
  --onair-fg: #111111;
  --onair-muted: #333333;
  --live-pill-bg: #7ad7c7;
  --live-pill-fg: #111111;
  --dock-bg: #f8f8f8;
  --menu-bg: #f8f8f8;
  --titlebar-a: #ffffff;
  --titlebar-b: #e4e4e4;
  --shadow: rgba(0,0,0,.18);
  --grille-dot: #222222;
  --grille-bg: #d0d0d0;
  --photo-filter: none;
  --display: "Pixelify Sans", "Pixel Operator", sans-serif;
  --pixel: "ChiKareGo2", "Pixel Operator", monospace;
  --brand: "Pixelify Sans", "Pixel Operator", sans-serif;
  --serif: "Courier Prime", "Pixel Operator", monospace;
  --slab: "Courier Prime", "Pixel Operator", monospace;
  --body: "Courier Prime", "Pixel Operator", monospace;
  --mono: "Pixel Operator Mono", "VTPixel", monospace;
  /* aliases kept for existing rules */
  --teal: var(--live-pill-bg);
  --teal-btn: var(--accent);
  --pink-btn: var(--accent-2);
  --coral: var(--accent-3);
  --white: #ffffff;
}


/* ===== Mac Platinum (Valeria reference) ===== */
html[data-theme="platinum"] {
  --bg: #c5c5c5;
  --panel: #ececec;
  --panel-hi: #ffffff;
  --panel-lo: #b0b0b0;
  --cream: #f0f0f0;
  --ink: #000031;
  --muted: #4a4a5a;
  --yellow: #f9f4cb;
  --yellow-bg: #fff8c8;
  --accent: #eb4897;          /* hot pink play / LIVE */
  --accent-2: #f19e4b;        /* orange transport */
  --accent-3: #eb4897;
  --onair-bg: #000031;        /* navy video info bar */
  --onair-fg: #ffffff;
  --onair-muted: #d0d0d8;
  --live-pill-bg: #eb4897;
  --live-pill-fg: #ffffff;
  --dock-bg: #ffffff;
  --menu-bg: #ffffff;
  --titlebar-a: #ffffff;
  --titlebar-b: #e4e4e4;
  --shadow: #000031;          /* hard navy window shadow */
  --grille-dot: #000031;
  --grille-bg: #d0d0d0;
  --photo-filter: none;
  --display: "Pixelify Sans", "Pixel Operator", sans-serif;
  --brand: "Pixelify Sans", "Pixel Operator", sans-serif;
  --serif: "Courier Prime", "Pixel Operator", monospace;
  --slab: "Courier Prime", "Pixel Operator", monospace;
  --body: "Courier Prime", "Pixel Operator", monospace;
  --mono: "Pixel Operator Mono", "VTPixel", monospace;
  --pixel: "ChiKareGo2", "Pixel Operator", monospace;
  --teal: var(--live-pill-bg);
  --teal-btn: var(--accent);
  --pink-btn: var(--accent-2);
  --coral: var(--accent-3);
}

/* Subtle Mac Platinum desktop stipple */
html[data-theme="platinum"] body,
html[data-theme="platinum"] .desktop {
  background-color: var(--bg);
  background-image: radial-gradient(circle, #b8b8b8 0.6px, transparent 0.7px);
  background-size: 3px 3px;
}

/* ===== Valeria navy reference ===== */
html[data-theme="navy"] {
  --bg: #172038;
  --panel: #f8f1ea;
  --panel-hi: #fdf7f2;
  --panel-lo: #e0d6cc;
  --cream: #f9f3ec;
  --ink: #111111;
  --muted: #5a5560;
  --yellow: #f3e2a8;
  --yellow-bg: #fff4cc;
  --accent: #e8338a;          /* hot pink play / tickets */
  --accent-2: #f0a045;        /* orange prev/next */
  --accent-3: #e94693;
  --onair-bg: #0b0f1a;
  --onair-fg: #fdf7f2;
  --onair-muted: #d7d1cd;
  --live-pill-bg: #e8338a;
  --live-pill-fg: #ffffff;
  --dock-bg: #fdf7f2;
  --menu-bg: #fdf7f2;
  --titlebar-a: #ffffff;
  --titlebar-b: #ebe6e0;
  --shadow: rgba(0,0,0,.35);
  --grille-dot: #1a1a1a;
  --grille-bg: #e8dfd6;
  --photo-filter: grayscale(1) contrast(1.55) brightness(1.05);
  --display: "Pixelify Sans", "Pixel Operator", sans-serif;
  --brand: "Pixelify Sans", "Pixel Operator", sans-serif;
  --serif: "Courier Prime", "Pixel Operator", monospace;
  --slab: "Courier Prime", "Pixel Operator", monospace;
  --body: "Courier Prime", "Pixel Operator", monospace;
  --mono: "Pixel Operator Mono", "VTPixel", monospace;
  --pixel: "ChiKareGo2", "Pixel Operator", monospace;
  --teal: var(--live-pill-bg);
  --teal-btn: var(--accent);
  --pink-btn: var(--accent-2);
  --coral: var(--accent-3);
}

/* ===== Deep Dive brand (teal/navy) ===== */
html[data-theme="brand"] {
  --bg: #0b1922;
  --panel: #e9f2ef;
  --panel-hi: #f2f9f6;
  --panel-lo: #c3d6d1;
  --cream: #eaf3f0;
  --ink: #08161d;
  --muted: #5f7a74;
  --yellow: #d4f0c8;
  --yellow-bg: #e8f7df;
  --accent: #8fe3cf;          /* brand teal */
  --accent-2: #e8a87c;        /* warm sand complementary */
  --accent-3: #3ecf9a;
  --onair-bg: #123040;
  --onair-fg: #f2f9f6;
  --onair-muted: #a8bdb8;
  --live-pill-bg: #8fe3cf;
  --live-pill-fg: #08161d;
  --dock-bg: #f2f9f6;
  --menu-bg: #f2f9f6;
  --titlebar-a: #ffffff;
  --titlebar-b: #dcebe7;
  --shadow: rgba(0,0,0,.4);
  --grille-dot: #123040;
  --grille-bg: #c3d6d1;
  --photo-filter: none;
  --display: "Pixelify Sans", "Pixel Operator", sans-serif;
  --brand: "Pixelify Sans", "Pixel Operator", sans-serif;
  --serif: "Courier Prime", "Pixel Operator", monospace;
  --slab: "Courier Prime", "Pixel Operator", monospace;
  --body: "Courier Prime", "Pixel Operator", monospace;
  --mono: "Pixel Operator Mono", "VTPixel", monospace;
  --pixel: "ChiKareGo2", "Pixel Operator", monospace;
  --teal: var(--live-pill-bg);
  --teal-btn: var(--accent);
  --pink-btn: var(--accent-2);
  --coral: var(--accent-3);
}

/* ===== Warm 80s sunset ===== */
html[data-theme="sunset"] {
  --bg: #2a1830;
  --panel: #fff6ea;
  --panel-hi: #fffaf3;
  --panel-lo: #e8d5c0;
  --cream: #fff1df;
  --ink: #1a1020;
  --muted: #6b5260;
  --yellow: #ffe08a;
  --yellow-bg: #fff3c2;
  --accent: #ff6b4a;          /* coral sunset */
  --accent-2: #ffc857;        /* gold */
  --accent-3: #c44dff;        /* violet */
  --onair-bg: #1a1020;
  --onair-fg: #fff6ea;
  --onair-muted: #e8d5c0;
  --live-pill-bg: #ff6b4a;
  --live-pill-fg: #ffffff;
  --dock-bg: #fffaf3;
  --menu-bg: #fffaf3;
  --titlebar-a: #ffffff;
  --titlebar-b: #f0e0d0;
  --shadow: rgba(0,0,0,.4);
  --grille-dot: #2a1830;
  --grille-bg: #e8d5c0;
  --photo-filter: contrast(1.15) saturate(0.85);
  --display: "Pixelify Sans", "Pixel Operator", sans-serif;
  --brand: "Pixelify Sans", "Pixel Operator", sans-serif;
  --serif: "Courier Prime", "Pixel Operator", monospace;
  --slab: "Courier Prime", "Pixel Operator", monospace;
  --body: "Courier Prime", "Pixel Operator", monospace;
  --mono: "Pixel Operator Mono", "VTPixel", monospace;
  --pixel: "ChiKareGo2", "Pixel Operator", monospace;
  --teal: var(--live-pill-bg);
  --teal-btn: var(--accent);
  --pink-btn: var(--accent-2);
  --coral: var(--accent-3);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: auto;
  text-rendering: optimizeLegibility;
  image-rendering: auto;
  overflow: hidden;
  letter-spacing: 0;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

/* ===== Corner menu boxes (not full-width) ===== */
.menu-left, .menu-right {
  position: fixed; top: 8px; z-index: 1000;
  display: flex; gap: 6px; align-items: stretch;
}
.menu-left { left: 8px; }
.menu-right { right: 8px; }
.menu-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--menu-bg);
  border: 1.5px solid var(--ink);
  box-shadow: 1px 1px 0 var(--shadow);
  padding: 5px 10px;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  color: var(--ink);
}
.menu-box .logo {
  width: 16px; height: 16px;
  display: block;
  image-rendering: pixelated;
}
.menu-box.time-box { padding: 5px 8px; gap: 6px; }
.menu-box .clock {
  width: 14px; height: 14px;
}

/* ===== Desktop ===== */
.desktop {
  position: fixed; inset: 0;
  background: var(--bg);
  overflow: hidden;
}

/* ===== Windows ===== */
.window {
  position: absolute;
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--shadow);
  display: flex; flex-direction: column;
  z-index: 10;
  min-width: 260px;
}
.window.hidden { display: none !important; }
.window.active { z-index: 40; }
.window-titlebar {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 6px;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--titlebar-a) 0 2px,
      var(--titlebar-b) 2px 3px
    );
  border-bottom: 2px solid var(--ink);
  cursor: grab; user-select: none;
  min-height: 26px;
}
.window-titlebar:active { cursor: grabbing; }
.window-controls { display: flex; gap: 4px; align-items: center; }
.win-btn {
  width: 14px; height: 14px;
  border: 1.5px solid var(--ink);
  background: var(--panel-hi);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; line-height: 1; padding: 0;
  image-rendering: pixelated;
}
.win-btn.close:hover { background: var(--accent-3); color: #fff; }
.win-btn.tv { font-size: 8px; }
.win-btn.grow:hover { background: var(--accent); }
.window-title {
  margin-left: auto;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-right: 4px;
}
.window-body {
  flex: 1; overflow: auto;
  background: var(--panel-hi);
  position: relative;
}

/* ===== Player ===== */
/* Poolsuite video sizes: small 323×253, large 591×455 (stage) */
#win-player {
  width: 327px; /* 323 stage + 2px borders */
  height: auto;
  left: 50%; top: 36px;
  transform: translateX(-50%);
}
#win-player.size-sm { width: 327px; }
#win-player.size-lg { width: min(595px, 96vw); /* 591 + borders */ }

.player-stage {
  position: relative;
  background: #0a0a0a;
  width: 100%;
  height: 253px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
#win-player.size-sm .player-stage { height: 253px; }
#win-player.size-lg .player-stage { height: 455px; }
.player-stage video,
.player-stage iframe,
.player-stage #yt-player {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 640px) {
  .player-stage video,
  .player-stage iframe,
  .player-stage #yt-player { object-position: center center; }
}

/* Broken-TV static flash (Poolsuite-style tune-in / track change) */
.tv-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #111;
  display: block;
}
.tv-static.on {
  opacity: 1;
}
.scanlines {
  pointer-events: none; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom, transparent 0 2px, rgba(0,0,0,.14) 2px 3px
  );
}
.vignette {
  pointer-events: none; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.4) 100%);
}
.tv-bug {
  position: absolute; top: 8px; left: 8px;
  background: rgba(246,182,194,.9);
  border: 1.5px solid var(--ink);
  padding: 2px 6px;
  font-size: 9px;
  text-transform: uppercase;
  z-index: 2;
}
.video-chrome {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(30,30,30,.85);
  color: #ddd;
  padding: 3px 8px;
  font-size: 10px;
  z-index: 2;
}

/* Info panel */
.player-info {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px;
  background: var(--onair-bg);
  color: var(--onair-fg);
  border-bottom: 1.5px solid var(--ink);
  padding: 10px 12px;
}
.player-info .onair {
  text-transform: uppercase;
  font-size: 15px;
  display: flex; align-items: center; gap: 6px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-3); border: 1px solid var(--ink);
  animation: blink 1.4s step-end infinite;
}
@keyframes blink { 50% { opacity: .15; } }
.player-info .track {
  display: none !important;
}
.player-info .side-icons {
  display: flex; gap: 8px; align-items: center;
}
.player-info .side-icons button {
  background: none; border: 0; padding: 2px;
  font-size: 14px; line-height: 1;
  color: inherit;
}

/* Transport row */
.player-transport {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: var(--panel);
  border-bottom: 1.5px solid var(--ink);
}
.status-box {
  border: 1.5px solid var(--ink);
  background: var(--panel-hi);
  padding: 6px 10px;
  min-width: 78px;
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
}
.seg {
  display: flex; border: 1.5px solid var(--ink);
  background: var(--panel-hi);
}
.seg button {
  border: 0; border-right: 1.5px solid var(--ink);
  background: var(--panel-hi);
  width: 36px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  font-size: 12px;
}
.seg button:last-child { border-right: 0; }
.seg button.play { background: var(--accent); width: 44px; color: var(--ink); }
.seg button.prev, .seg button.next { background: var(--accent-2); }
.seg button.extra { background: var(--accent-2); width: 40px; }
html[data-theme="navy"] .seg button.extra { background: var(--accent); color: #fff; }
html[data-theme="navy"] .seg button.play { color: #fff; }
html[data-theme="platinum"] .seg button.extra { background: var(--accent); color: #fff; }
html[data-theme="platinum"] .seg button.play { color: #fff; }
html[data-theme="platinum"] .seg button.prev,
html[data-theme="platinum"] .seg button.next { color: #000031; }
.seg button:active { background: var(--panel-lo); }

/* Channel / volume row */
.player-channel {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: var(--panel-hi);
}
.channel-select {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--ink);
  background: var(--panel-hi);
  padding: 5px 8px;
  text-transform: uppercase;
  font-size: 10px;
}
.live-pill {
  background: var(--live-pill-bg);
  color: var(--live-pill-fg);
  border: 1px solid var(--ink);
  padding: 1px 5px;
  font-size: 9px;
}
.vol-box {
  display: flex; align-items: center; gap: 4px;
  border: 1.5px solid var(--ink);
  background: var(--panel-hi);
  padding: 4px 6px;
}
.vol-box input { width: 56px; accent-color: var(--accent); }
.grille {
  width: 36px; height: 22px;
  border: 1.5px solid var(--ink);
  background:
    radial-gradient(circle, var(--grille-dot) 1px, transparent 1.4px) 0 0 / 4px 4px,
    var(--grille-bg);
}

/* ===== Content windows ===== */
/* #win-events sizing handled by .window-newsroom / .window-events-nr */
/* #win-prologue sizing handled by .window-ecal */
#win-guestbook {
  width: min(400px, 94vw);
  height: auto;
  left: 14%; top: 80px;
}

.content-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 10px;
  border-bottom: 1.5px solid var(--ink);
}
.content-header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
html[data-theme="navy"] .content-header h2,
html[data-theme="sunset"] .content-header h2 {
  font-weight: 400;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
html[data-theme="navy"] .list-item h3,
html[data-theme="sunset"] .list-item h3 {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.content-header img { width: 40px; height: 40px; image-rendering: pixelated; }

.list { list-style: none; margin: 0; padding: 0; }
.list-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.18);
  text-decoration: none;
  color: inherit;
}
.list-item:hover { background: rgba(255,255,255,.45); }
.list-item img {
  width: 72px; height: 72px;
  object-fit: cover;
  border: 1.5px solid var(--ink);
  background: var(--panel-lo);
  image-rendering: auto;
  filter: var(--photo-filter);
}
.list-item .meta {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.list-item h3 {
  margin: 0 0 4px;
  font-family: var(--pixel);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}
.list-item p {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #333;
  font-family: var(--pixel);
}
.date-chip {
  padding: 5px 8px;
  font-size: 13px;
  font-family: var(--pixel);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(255,255,255,.75);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  align-self: start;
  font-weight: 400;
}
.month-head {
  padding: 8px 14px;
  font-size: 11px;
  text-transform: uppercase;
  background: var(--yellow);
  border-bottom: 1.5px solid var(--ink);
  position: sticky; top: 0; z-index: 2;
}
.ticket {
  display: inline-block;
  margin-top: 6px;
  border: 1.5px solid var(--ink);
  background: var(--panel-hi);
  padding: 4px 8px;
  font-size: 10px;
  text-transform: uppercase;
  text-decoration: none;
}
.ticket:hover { background: var(--accent); color: var(--ink); }
.badge {
  display: inline-block;
  border: 1px solid var(--ink);
  background: var(--teal);
  padding: 1px 4px;
  font-size: 9px;
  text-transform: uppercase;
  margin-left: 4px;
}


/* Track picker inside player (pink button opens overlay) */
.track-pop {
  display: none;
  position: absolute; left: 10px; right: 10px; bottom: 52px;
  background: var(--panel-hi);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--shadow);
  z-index: 5;
  max-height: 180px;
  overflow: auto;
}
.track-pop.open { display: block; }
.track-pop li {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
}
.track-pop ul { margin: 0; padding: 0; }
.track-pop button {
  border: 1.5px solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  padding: 4px 8px;
  font-size: 10px;
  text-transform: uppercase;
}
html[data-theme="navy"] .track-pop button { color: #fff; }
html[data-theme="platinum"] .track-pop button { color: #fff; }
.track-pop .note {
  padding: 6px 10px;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid #ddd;
}

/* ===== Dock ===== */
.dock {
  position: fixed;
  left: 50%; bottom: 10px;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  background: var(--dock-bg);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--shadow);
}
.dock-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  width: 78px;
  padding: 8px 6px 6px;
  background: transparent;
  border: 0;
  border-right: 1.5px solid var(--ink);
  text-decoration: none;
  color: inherit;
}
.dock-item:last-child { border-right: 0; }
.dock-item img {
  width: 42px; height: 42px;
  image-rendering: pixelated;
}
.dock-item:hover { background: var(--panel-hi); }
.dock-item:hover img { transform: translateY(-2px); }
.dock-item span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1.1;
}

/* Boot */
.boot {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; cursor: pointer;
}
.boot.gone { display: none; }

/* Base entrance type (simple layout — colours via data-entrance) */
.boot .boot-logo {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: clamp(36px, 9vw, 64px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--ink);
  text-shadow: none;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.boot .boot-sub {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: clamp(16px, 3.6vw, 24px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: var(--accent);
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: min(92vw, 720px);
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.boot .boot-hint {
  margin-top: 18px;
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: #1b2a6b;
  opacity: 1;
  animation: none;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  text-transform: none;
  letter-spacing: 0.02em;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.boot-enter, .boot-blink, .boot-dialog, .boot-mascot { display: none !important; }

/* ===== Entrance colour options (?entrance=1..4) ===== */
/* 1 Pink field — cream wordmark, orange tagline */
html[data-entrance="1"] .boot {
  background: #eb4897;
  background-image: none;
}
html[data-entrance="1"] .boot .boot-logo { color: #fdf7f2; }
html[data-entrance="1"] .boot .boot-sub { color: #f19e4b; }
html[data-entrance="1"] .boot .boot-hint { color: #1b2a6b; opacity: 1; }

/* 2 Orange field — navy wordmark, pink tagline */
html[data-entrance="2"] .boot {
  background: #f19e4b;
  background-image: none;
}
html[data-entrance="2"] .boot .boot-logo { color: #000031; }
html[data-entrance="2"] .boot .boot-sub { color: #eb4897; }
html[data-entrance="2"] .boot .boot-hint { color: #1b2a6b; opacity: 1; }

/* 3 Platinum stipple — Zilla entrance (Valeria f4d26cab / entr-final3) */
html[data-entrance="3"] .boot {
  background-color: #c5c5c5;
  background-image: radial-gradient(circle, rgba(0,0,49,.16) 0.55px, transparent 0.65px);
  background-size: 3px 3px;
}
html[data-entrance="3"] .boot .boot-logo {
  color: #eb4897;
  text-shadow: 2px 2px 0 #1b2a6b;
  font-family: "Zilla Slab", Georgia, serif;
}
html[data-entrance="3"] .boot .boot-sub {
  color: #c8561a;
  -webkit-text-stroke: 0;
  paint-order: normal;
  text-shadow: 1px 1px 0 #000031;
  font-family: "Zilla Slab", Georgia, serif;
}
html[data-entrance="3"] .boot .boot-hint { color: #1b2a6b; opacity: 1; font-family: "Zilla Slab", Georgia, serif; }

/* 4 Cream field — pink wordmark, orange tagline */
html[data-entrance="4"] .boot {
  background: #fdf7f2;
  background-image: none;
}
html[data-entrance="4"] .boot .boot-logo { color: #eb4897; }
html[data-entrance="4"] .boot .boot-sub { color: #f19e4b; }
html[data-entrance="4"] .boot .boot-hint { color: #1b2a6b; opacity: 1; }

/* Navy entrance: hot pink title, orange tagline */
html[data-theme="navy"] .boot-logo { color: #e8338a; }
html[data-theme="navy"] .boot-sub { color: #f0a045; }
html[data-theme="navy"] .boot-hint { color: #f8f1ea; }
/* Pink default (no data-theme): keep dark ink on pink bg */
html:not([data-theme]) .boot-logo { color: var(--ink); }
html:not([data-theme]) .boot-sub { color: var(--ink); }
html:not([data-theme]) .boot-hint { color: var(--muted); opacity: 1; }
html[data-theme="brand"] .boot-logo { color: var(--accent); }
html[data-theme="brand"] .boot-sub { color: var(--accent-2); }
html[data-theme="brand"] .boot-hint { color: var(--cream); }
html[data-theme="sunset"] .boot-logo { color: var(--accent); }
html[data-theme="sunset"] .boot-sub { color: var(--accent-2); }
html[data-theme="sunset"] .boot-hint { color: var(--cream); }

@media (max-width: 720px) {
  .menu-left, .menu-right { top: 6px; }
  .menu-left { left: 6px; }
  .menu-right { right: 6px; }
  .menu-box { font-size: 9px; padding: 4px 7px; }
  .menu-box .label-full { display: none; }
  #win-player,
  #win-player.size-sm {
    width: min(327px, 94vw);
    top: 40px;
  }
  #win-player.size-lg {
    width: min(595px, 96vw);
  }
  #win-player.size-sm .player-stage { height: auto; aspect-ratio: 323 / 253; }
  #win-player.size-lg .player-stage { height: auto; aspect-ratio: 591 / 455; }
  #win-guestbook {
    left: 3vw !important;
    width: 94vw !important;
    top: 44px;
    height: min(62vh, 480px);
  }
  #win-prologue, #win-events {
    left: 50% !important;
    width: 94vw !important;
    top: 40px;
  }
  .dock {
    bottom: 6px;
    max-width: 98vw;
  }
  .dock-item { width: 64px; padding: 6px 2px 4px; }
  .dock-item img { width: 34px; height: 34px; }
  .dock-item span { font-size: 12px; }
  .seg button { width: 30px; height: 28px; }
  .seg button.play { width: 36px; }
  .content-header h2 { font-size: 22px; }
}


/* Theme extras */
html[data-theme="navy"] .tv-bug,
html[data-theme="sunset"] .tv-bug,
html[data-theme="platinum"] .tv-bug {
  background: var(--accent);
  color: #fff;
}
html[data-theme="brand"] .tv-bug {
  background: var(--accent);
  color: #08161d;
}
html[data-theme="navy"] .window-title,
html[data-theme="brand"] .window-title,
html[data-theme="sunset"] .window-title,
html[data-theme="platinum"] .window-title {
  font-family: var(--brand);
}
/* Events newsroom chrome stays cream; Prologue ecal stays yellow — see blocks below */
.ticket { background: var(--panel-hi); }
html[data-theme="navy"] .ticket {
  background: var(--accent);
  color: #fff;
  border-color: var(--ink);
}
html[data-theme="platinum"] .ticket {
  background: var(--accent);
  color: #fff;
  border-color: var(--ink);
}
html[data-theme="brand"] .ticket {
  background: var(--accent);
  color: #08161d;
}
html[data-theme="sunset"] .ticket {
  background: var(--accent);
  color: #fff;
}
/* Stronger halftone feel for navy photos */
html[data-theme="navy"] .list-item img {
  filter: var(--photo-filter);
  mix-blend-mode: multiply;
  background: #fff;
}

/* Progress / seek tint */
input[type=range] { accent-color: var(--accent); }
html[data-theme="navy"] .player-info .onair { font-weight: 700; letter-spacing: 0.02em; }
html[data-theme="platinum"] .player-info .onair { font-weight: 700; letter-spacing: 0.02em; }
html[data-theme="brand"] .content-header h2 { font-family: var(--display); font-weight: 600; }


/* Guestbook — pixel/retro like EVENTS masthead (px2) */
#win-guestbook {
  width: min(400px, 94vw);
  background: var(--panel) !important;
}
#win-guestbook .window-body {
  background: #fff;
  overflow: auto;
}
.guestbook {
  padding: 22px 20px 26px;
  text-align: left;
  background: #fff;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  border-radius: 0 !important;
}
.guestbook .gb-ornament { display: none; }
.guestbook .gb-kicker { display: none; }
.guestbook h2,
.guestbook .gb-title {
  margin: 0 0 0;
  padding: 0 0 10px;
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif !important;
  font-weight: 700;
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #000;
  border-bottom: 2.5px solid #000;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
  border-radius: 0 !important;
}
.guestbook .sub {
  margin: 14px 0 18px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  color: #111;
  font-style: normal !important;
  max-width: none;
  -webkit-font-smoothing: none !important;
}
.guestbook form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 0;
  background: transparent;
  max-width: none;
  width: 100%;
  border-radius: 0 !important;
}
.guestbook input[type=email] {
  flex: none;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0 !important;
  border-top: 2px solid #6e6e6e;
  border-left: 2px solid #6e6e6e;
  border-right: 2px solid #f0f0f0;
  border-bottom: 2px solid #f0f0f0;
  outline: 1.5px solid #111;
  outline-offset: 0;
  background: #fff;
  color: #111;
  padding: 10px 12px;
  font-size: 15px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-weight: 400;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
  appearance: none;
  -webkit-appearance: none;
}
.guestbook input[type=email]::placeholder {
  color: #666;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  opacity: 1;
}
.guestbook button[type=submit] {
  width: 100%;
  border-radius: 0 !important;
  border-top: 2px solid #f0f0f0;
  border-left: 2px solid #f0f0f0;
  border-right: 2px solid #6e6e6e;
  border-bottom: 2px solid #6e6e6e;
  outline: 1.5px solid #111;
  outline-offset: 0;
  background: linear-gradient(180deg, #e8e8e8 0%, #c4c4c4 100%);
  box-shadow: 1px 1px 0 #111;
  color: #111 !important;
  padding: 11px 14px;
  text-transform: uppercase;
  font-size: 15px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
}
.guestbook button[type=submit]:active {
  border-top: 2px solid #6e6e6e;
  border-left: 2px solid #6e6e6e;
  border-right: 2px solid #f0f0f0;
  border-bottom: 2px solid #f0f0f0;
  box-shadow: none;
  background: #bdbdbd;
}
html[data-theme="navy"] .guestbook button[type=submit],
html[data-theme="sunset"] .guestbook button[type=submit],
html[data-theme="platinum"] .guestbook button[type=submit],
html[data-theme="pink"] .guestbook button[type=submit],
html[data-theme="brand"] .guestbook button[type=submit] {
  color: #111 !important;
}
.guestbook .msg {
  min-height: 18px;
  margin-top: 12px;
  color: #333;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-size: 14px;
  -webkit-font-smoothing: none !important;
}
.guestbook .hint {
  margin-top: 14px;
  font-size: 13px;
  color: #333;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  line-height: 1.35;
  -webkit-font-smoothing: none !important;
}
.guestbook .hint a {
  color: #111;
  text-decoration: underline;
  font-family: inherit !important;
}
.list-item .meta {
  font-family: var(--pixel);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.list-item h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  margin: 2px 0 4px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.list-item p {
  font-family: var(--serif);
  font-size: 13px;
  margin: 0;
  color: #333;
  line-height: 1.35;
}
.menu-box, .dock-item span, .status-box, .channel-select, .player-info .onair {
  font-family: var(--pixel);
  letter-spacing: 0.02em;
}
.dock-item span { font-size: 12px; }
.window-title {
  font-family: var(--brand);
  font-size: 16px;
  letter-spacing: 0.01em;
}



/* ===== Shared newsletter pill (Events / Prologue / Player) ===== */
.nr-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #b9e1e4;
  border: 1.5px solid #000;
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  font-family: "ChiKareGo2", "VTPixel", monospace;
  font-size: 11px;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}
.nr-pill:hover { filter: brightness(0.97); }
.nr-pill:active { filter: brightness(0.92); }
.nr-bell { font-size: 12px; line-height: 1; }
.player-titlebar .window-controls { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.player-titlebar .nr-pill { margin-left: 4px; }
@media (max-width: 560px) {
  .nr-pill span:last-child { max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
}

/* ===== EVENTS — Newsroom (cream frame, white panel, large film thumbs) ===== */
#win-events.window-newsroom {
  --nr-frame: #f7f0ea;
  --nr-ink: #000000;
  --nr-pill: #b9e1e4;
  --nr-tab-dot: #bfbfbf;
  --nr-thumb: #f7ef9a;
  --nr-white: #ffffff;
  width: min(540px, 94vw);
  max-height: min(820px, calc(100vh - 90px));
  height: min(820px, calc(100vh - 90px));
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--nr-frame) !important;
  border: 2px solid var(--nr-ink);
  box-shadow: 3px 3px 0 rgba(0,0,0,.25);
  color: var(--nr-ink);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  font-family: "ChiKareGo2", "VTPixel", monospace;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
#win-events .nr-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--nr-frame);
  padding: 8px 10px 6px;
  cursor: grab;
  user-select: none;
  flex-shrink: 0;
}
#win-events .nr-titlebar-left {
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
#win-events .nr-close {
  width: 22px; height: 22px;
  border: 1.5px solid var(--nr-ink);
  background: var(--nr-white);
  font-size: 14px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; cursor: pointer;
  font-family: inherit;
  color: var(--nr-ink);
}
#win-events .nr-close:hover { background: #fb5858; color: #fff; }
#win-events .nr-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--nr-pill);
  border: 1.5px solid var(--nr-ink);
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  font-family: "ChiKareGo2", "VTPixel", monospace;
  font-size: 11px;
  color: var(--nr-ink);
  cursor: pointer;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
}
#win-events .nr-pill:hover { filter: brightness(0.97); }
#win-events .nr-bell { font-size: 12px; line-height: 1; }
#win-events .nr-title {
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nr-ink);
  flex-shrink: 0;
}
#win-events .nr-shell {
  display: flex; flex-direction: column;
  padding: 0 10px 8px;
  min-height: 0; flex: 1;
}
#win-events .nr-panel {
  background: var(--nr-white);
  border: 2.5px solid var(--nr-ink);
  border-radius: 14px;
  overflow: hidden;
  min-height: 0; flex: 1;
  display: flex;
}
#win-events .nr-scroll {
  display: flex; width: 100%; min-height: 0; flex: 1;
}
#win-events .nr-scroll-inner {
  flex: 1; min-width: 0;
  overflow: auto;
  padding: 10px 12px 16px;
  scrollbar-width: none;
}
#win-events .nr-scroll-inner::-webkit-scrollbar { display: none; }
#win-events .nr-scrollbar {
  width: 18px; flex-shrink: 0;
  border-left: 2px solid var(--nr-ink);
  background:
    radial-gradient(circle, #9a9a9a 0.9px, transparent 1.1px) 0 0 / 3px 3px,
    #e8e8e8;
  display: flex; flex-direction: column;
}
#win-events .nr-sb-btn {
  height: 16px; border: 0; border-bottom: 1.5px solid var(--nr-ink);
  background: #ececec; color: var(--nr-ink);
  font-size: 8px; padding: 0; cursor: pointer; line-height: 1;
}
#win-events .nr-sb-btn.nr-sb-down { border-bottom: 0; border-top: 1.5px solid var(--nr-ink); }
#win-events .nr-sb-track { flex: 1; position: relative; padding: 2px 2px; }
#win-events .nr-sb-thumb {
  position: absolute; left: 2px; right: 2px; top: 8%;
  height: 28%;
  background: #f3ec8a;
  border: 1.5px solid var(--nr-ink);
}
#win-events .nr-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
#win-events .nr-tab {
  border: 1.5px solid var(--nr-ink);
  background:
    radial-gradient(circle, var(--nr-tab-dot) 0.85px, transparent 1px) 0 0 / 3px 3px,
    #f2f2f2;
  color: var(--nr-ink);
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  cursor: pointer;
  letter-spacing: 0.01em;
}
#win-events .nr-tab.is-active {
  background: #000;
  color: #fff;
}
#win-events .nr-masthead {
  text-align: center;
  margin: 10px 0 18px;
  background: #fff;
}
#win-events .nr-rule {
  height: 0;
  border: 0;
  border-top: 4px solid #000;
  margin: 4px 0 12px;
}
#win-events .nr-wordmark {
  margin: 4px 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.02em;
  font-family: "ChiKareGo2", "Pixel Operator", monospace !important;
  font-weight: 400;
  font-size: clamp(48px, 11vw, 68px);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: #000;
  /* fake Chicago bold: ~2x stem weight */
  text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000;
  -webkit-text-stroke: 0.4px #000;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
  font-smooth: never;
  text-rendering: geometricPrecision;
}
#win-events .nr-wordmark .nr-letter {
  display: inline-block;
  letter-spacing: 0.08em;
  text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000;
  -webkit-text-stroke: 0.4px #000;
}
#win-events .nr-wordmark .nr-o,
#win-events .nr-wordmark .nr-cocktail {
  display: inline-block;
  height: 1em;
  width: 0.62em;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  vertical-align: middle;
  margin: 0 0.02em 0;
  object-fit: contain;
  flex-shrink: 0;
  /* cancel text-shadow bleed on the img */
  filter: none;
}
#win-events .nr-kicker {
  margin: 10px 0 0;
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nr-ink);
  line-height: 1.35;
}
#win-events .nr-month {
  margin: 18px 0 10px;
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nr-ink);
}
#win-events .nr-month:first-of-type { margin-top: 4px; }
#win-events .nr-feed {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 22px;
}
#win-events .nr-item a {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}
#win-events .nr-thumb {
  width: 168px; height: 126px;
  border: 3.5px solid var(--nr-ink);
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;
  flex-shrink: 0;
}
#win-events .nr-thumb.nr-thumb-lg.film-frame {
  width: 168px;
  height: 126px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 3px #fff;
}
#win-events .nr-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: none !important;
  mix-blend-mode: normal !important;
  -webkit-filter: none !important;
}
#win-events .nr-copy h2 {
  margin: 2px 0 8px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--nr-ink);
}
#win-events .nr-copy time,
#win-events .nr-copy time.nr-date {
  display: block;
  margin: 0 0 8px;
  font-size: 0; /* chip holds the type */
}
#win-events .nr-date-chip {
  display: inline-block;
  font-family: "Pixel Operator Mono", "VTPixel", monospace;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #000031;
  background: #eb4897;
  border: 2px solid #000031;
  box-shadow: 2px 2px 0 #000031;
  padding: 4px 9px;
  text-transform: none;
}
html[data-theme="platinum"] #win-events .nr-date-chip {
  background: #eb4897;
  color: #ffffff;
  border-color: #000031;
  box-shadow: 2px 2px 0 #f19e4b;
}
html[data-theme="platinum"] #win-events .nr-date-chip {
  background: #eb4897;
  color: #ffffff;
  border-color: #000031;
  box-shadow: 2px 2px 0 #f19e4b;
}
html[data-theme="navy"] #win-events .nr-date-chip {
  background: #e8338a;
  color: #fff;
  border-color: #111;
  box-shadow: 2px 2px 0 #f0a045;
}
#win-events .nr-speaker {
  margin: 0 0 8px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif;
  font-size: 14px;
  color: #333;
}
#win-events .nr-ticket {
  display: inline-block;
  border: 1.5px solid var(--nr-ink);
  background: #fff;
  padding: 4px 10px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--nr-ink);
}
#win-events .nr-item.is-hidden,
#win-events .nr-month.is-hidden { display: none; }
#win-events .nr-status {
  padding: 6px 4px 2px;
  font-family: "ChiKareGo2", "VTPixel", monospace;
  font-size: 11px;
  color: var(--nr-ink);
  flex-shrink: 0;
}
@media (max-width: 560px) {
  #win-events.window-newsroom { width: 94vw; top: 40px; }
  #win-events .nr-item a { grid-template-columns: 110px 1fr; gap: 10px; }
  #win-events .nr-thumb,
  #win-events .nr-thumb.nr-thumb-lg.film-frame { width: 110px; height: 82px; }
  #win-events .nr-copy h2 { font-size: 15px; }
  #win-events .nr-pill span:last-child { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
}
#win-events.window-newsroom,
html[data-theme="navy"] #win-events.window-newsroom,
html[data-theme="brand"] #win-events.window-newsroom,
html[data-theme="sunset"] #win-events.window-newsroom,
html[data-theme="pink"] #win-events.window-newsroom,
html[data-theme="platinum"] #win-events.window-newsroom {
  background: #f7f0ea !important;
}
#win-events.window-newsroom .nr-titlebar.window-titlebar {
  background: #f7f0ea !important;
  border-bottom: 0 !important;
  padding: 8px 10px 6px !important;
}
#win-events .window-controls { display: none; }



/* ===== PROLOGUE: Poolsuite Event Calendar exact ===== */
#win-prologue.window-ecal {
  --ecal-bg: #f9f4cb;
  --ecal-ink: #111;
  width: min(460px, 94vw);
  height: min(900px, calc(100vh - 70px));
  max-height: min(900px, calc(100vh - 70px));
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ecal-bg) !important;
  border: 2px solid var(--ecal-ink);
  box-shadow: 3px 3px 0 rgba(0,0,0,.28);
  color: var(--ecal-ink);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
#win-prologue .ecal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--ecal-bg) !important;
  border-bottom: 0 !important;
  padding: 8px 10px 4px !important;
  cursor: grab;
  user-select: none;
  flex-shrink: 0;
}
#win-prologue .ecal-titlebar-left {
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
#win-prologue .ecal-close {
  width: 22px; height: 22px;
  border: 1.5px solid var(--ecal-ink);
  background: #fff;
  font-size: 14px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; cursor: pointer;
  color: var(--ecal-ink);
  font-family: "ChiKareGo2", monospace;
}
#win-prologue .ecal-close:hover { background: #fb5858; color: #fff; }
#win-prologue .ecal-wintitle {
  font-family: "Pixel Operator Mono", "VTPixel", monospace;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ecal-ink);
  font-style: normal;
}
#win-prologue .ecal-shell {
  display: flex; flex-direction: column;
  flex: 1; min-height: 0;
  padding: 0 0 6px;
}
#win-prologue .ecal-scroll {
  display: flex;
  flex: 1; min-height: 0;
  border-top: 0;
}
#win-prologue .ecal-body {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 6px 18px 28px;
  background: var(--ecal-bg);
  scrollbar-width: none;
  font-style: normal;
}
#win-prologue .ecal-body::-webkit-scrollbar { display: none; }

/* Retro Mac scrollbar */
#win-prologue .ecal-scrollbar {
  width: 18px; flex-shrink: 0;
  border-left: 1.5px solid #111;
  background:
    radial-gradient(circle, #9a9a9a 0.85px, transparent 1.1px) 0 0 / 3px 3px,
    #d8d8d8;
  display: flex; flex-direction: column;
}
#win-prologue .ecal-sb-btn {
  height: 16px; border: 0; border-bottom: 1.5px solid #111;
  background: #ececec; color: #111;
  font-size: 8px; padding: 0; cursor: pointer; line-height: 1;
}
#win-prologue .ecal-sb-btn.ecal-sb-down { border-bottom: 0; border-top: 1.5px solid #111; }
#win-prologue .ecal-sb-track { flex: 1; position: relative; padding: 2px; }
#win-prologue .ecal-sb-thumb {
  position: absolute; left: 2px; right: 2px; top: 6%;
  height: 32%;
  background:
    linear-gradient(#111, #111) center / 1.5px 40% no-repeat,
    #fff;
  border: 1.5px solid #111;
}

#win-prologue .ecal-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 4px;
}
#win-prologue .ecal-hero-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 70px);
  overflow: hidden;
  padding-right: 6px;
}
#win-prologue .ecal-heading {
  margin: 0 0 2px;
  font-family: "Libre Bodoni", "Zilla Slab", Georgia, serif !important;
  font-weight: 700;
  font-size: clamp(64px, 16vw, 92px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-transform: none;
  color: var(--ecal-ink);
  font-style: normal !important;
  transform: scaleX(0.72);
  transform-origin: left top;
  max-width: 130%;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  font-smooth: never;
  text-rendering: geometricPrecision;
  text-shadow: 0.4px 0 0 currentColor, -0.4px 0 0 currentColor;
}
#win-prologue .ecal-lead {
  margin: 18px 0 2px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-weight: 700;
  font-size: 16px;
  color: var(--ecal-ink);
  font-style: normal !important;
}
#win-prologue .ecal-sub {
  margin: 0 0 12px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-weight: 400;
  font-size: 15px;
  color: #222;
  line-height: 1.4;
  font-style: normal !important;
}
#win-prologue .ecal-icon {
  width: 56px; height: 56px;
  image-rendering: pixelated;
  flex: 0 0 56px;
  margin-top: 6px;
  position: relative;
  z-index: 2;
}
#win-prologue .ecal-subscribe {
  display: block;
  width: 100%;
  margin: 4px 0 18px;
  padding: 11px 12px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-weight: 700;
  font-size: 14px;
  color: #111;
  cursor: pointer;
  text-align: center;
  font-style: normal !important;
  border-top: 2px solid #f0f0f0;
  border-left: 2px solid #f0f0f0;
  border-right: 2px solid #6e6e6e;
  border-bottom: 2px solid #6e6e6e;
  outline: 1.5px solid #111;
  outline-offset: 0;
  background: linear-gradient(180deg, #e8e8e8 0%, #c4c4c4 100%);
  box-shadow: 1px 1px 0 #111;
}
#win-prologue .ecal-subscribe:active {
  border-top-color: #6e6e6e;
  border-left-color: #6e6e6e;
  border-right-color: #f0f0f0;
  border-bottom-color: #f0f0f0;
  background: #b8b8b8;
}
#win-prologue .ecal-divider {
  position: relative;
  text-align: center;
  margin: 4px 0 18px;
  height: 1em;
}
#win-prologue .ecal-divider::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1px solid #555;
}
#win-prologue .ecal-divider span {
  position: relative;
  background: var(--ecal-bg);
  padding: 0 12px;
  font-family: "Pixel Operator Mono", "VTPixel", monospace !important;
  font-style: normal !important;
  font-weight: 400;
  font-size: 13px;
  color: #222;
}
#win-prologue .ecal-list {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
#win-prologue .ecal-row {
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 14px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}
#win-prologue .ecal-main h2 {
  margin: 0 0 4px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-transform: none;
  color: var(--ecal-ink);
  font-style: normal !important;
  -webkit-font-smoothing: none;
}

#win-prologue .ecal-date {
  width: 68px;
  min-height: 56px;
  border: 2px dotted #777;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  background: transparent;
  font-family: "Pixel Operator Mono", "VTPixel", monospace !important;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  color: #222;
  flex-shrink: 0;
  font-style: normal !important;
}
#win-prologue .ecal-date span { display: block; }

html[data-theme="navy"] #win-prologue.window-ecal,
html[data-theme="brand"] #win-prologue.window-ecal,
html[data-theme="sunset"] #win-prologue.window-ecal,
html[data-theme="pink"] #win-prologue.window-ecal,
html[data-theme="platinum"] #win-prologue.window-ecal {
  background: #f9f4cb !important;
}
#win-prologue .window-controls { display: none; }

@media (max-width: 560px) {
  #win-prologue.window-ecal { width: 94vw; top: 40px; }
  #win-prologue .ecal-heading { font-size: 52px; }
  #win-prologue .ecal-row { grid-template-columns: 1fr 58px; }
}

/* ===== Font lock: Zilla entrance; pixel Events/Prologue; Courier elsewhere ===== */
html, body, .window, .window * {
  font-style: normal !important;
}
/* Entrance: Zilla Slab (f4d26cab / entr-final3) */
.boot .boot-logo, .boot .boot-sub, .boot .boot-hint {
  font-family: "Zilla Slab", Georgia, serif !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}
/* Pixel display mastheads (not Events EVENTS wordmark: that is ChiKareGo2) */
.window-title,
#win-events .nr-kicker,
#win-events .nr-month,
#win-events .nr-tab,
.guestbook h2, .guestbook .gb-title,
.inv-title, .content-header h2 {
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif !important;
  font-style: normal !important;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
}
/* Events EVENTS wordmark: Chicago / ChiKareGo2 bitmap */
#win-events .nr-wordmark,
#win-events .nr-wordmark-events,
#win-events .nr-wordmark .nr-letter,
#win-events .nr-wordmark span {
  font-family: "ChiKareGo2", "Pixel Operator", monospace !important;
  font-style: normal !important;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
  font-smooth: never !important;
  letter-spacing: 0.08em !important;
  text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000 !important;
  -webkit-text-stroke: 0.4px #000;
}
/* Player / guestbook / involved reading: Courier Prime */
#win-player .window-body,
#win-player .window-body *,
#win-involved, #win-involved *,
.player-info, .player-info *,
.player-transport, .player-transport *,
.player-channel, .player-channel *,
.track-pop, .track-pop *,
.status-box, .channel-select, .video-chrome, .tv-bug, .live-pill,
.inv-btn, .inv-copy, .inv-body, .inv-lead, .inv-sub,
#win-involved button {
  font-family: "Courier Prime", "Pixel Operator", monospace !important;
  font-style: normal !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}
/* Events + Prologue reading: Pixel Operator (px2) */
#win-events .nr-copy h2,
#win-events .nr-speaker,
#win-events .nr-ticket,
#win-events .nr-status,
#win-events .nr-pill span,
#win-prologue .ecal-lead,
#win-prologue .ecal-sub,
#win-prologue .ecal-subscribe,
#win-prologue .ecal-row h3,
#win-prologue .ecal-row p,
#win-prologue .ecal-divider span,
#win-prologue .ecal-main h2,
#win-prologue .ecal-main p,
#win-prologue .ecal-wintitle {
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-style: normal !important;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
}
/* Date chips / date boxes */
#win-events .nr-date-chip,
#win-prologue .ecal-date,
#win-prologue .ecal-date * {
  font-family: "Pixel Operator Mono", "VTPixel", monospace !important;
  font-style: normal !important;
  -webkit-font-smoothing: none !important;
}
/* OS chrome */
.menu-box, .dock-item span, .win-btn, #vid-size {
  font-family: "ChiKareGo2", "Pixel Operator", monospace !important;
  font-style: normal !important;
  -webkit-font-smoothing: none !important;
}


/* Prologue masthead: condensed newspaper serif (727a62c7) */
#win-prologue .ecal-heading {
  font-family: "Libre Bodoni", "Zilla Slab", Georgia, serif !important;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
  font-style: normal !important;
}
.guestbook .gb-kicker { display: none; }
/* Guestbook px2 lock (EVENTS-matching pixel stack) */
#win-guestbook .guestbook,
#win-guestbook .guestbook *,
#win-guestbook input,
#win-guestbook button {
  font-style: normal !important;
  border-radius: 0 !important;
}
#win-guestbook .guestbook h2,
#win-guestbook .guestbook .gb-title {
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif !important;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
}
#win-guestbook .guestbook .sub,
#win-guestbook .guestbook .msg,
#win-guestbook .guestbook .hint,
#win-guestbook .guestbook input,
#win-guestbook .guestbook button {
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
}


/* Prologue Event Calendar fonts (match Poolsuite reference) */
#win-prologue.window-ecal,
#win-prologue.window-ecal .ecal-body,
#win-prologue.window-ecal .ecal-body * {
  font-style: normal !important;
}
#win-prologue .ecal-lead,
#win-prologue .ecal-sub,
#win-prologue .ecal-subscribe,
#win-prologue .ecal-divider span,
#win-prologue .ecal-main h2,
#win-prologue .ecal-main p,
#win-prologue .ecal-wintitle {
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
}
#win-prologue .ecal-date,
#win-prologue .ecal-date * {
  font-family: "Pixel Operator Mono", "VTPixel", monospace !important;
}
/* Keep Prologue heading Bodoni even under .ecal-body * pixel locks */
#win-prologue .ecal-heading,
#win-prologue.window-ecal .ecal-body .ecal-heading {
  font-family: "Libre Bodoni", "Zilla Slab", Georgia, serif !important;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
  font-style: normal !important;
}

/* Hidden YouTube IFrame music host (controls drive it) */
.yt-music-host {
  position: fixed;
  width: 1px;
  height: 1px;
  left: -9999px;
  top: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}


/* ===== Get involved ===== */
#win-involved.window-involved {
  width: min(440px, 94vw);
  max-height: min(640px, calc(100vh - 90px));
  height: auto;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel) !important;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(0,0,0,.28);
}
#win-involved .window-body {
  background: var(--cream);
  overflow: auto;
  max-height: min(580px, calc(100vh - 140px));
}
.involved {
  padding: 16px 18px 22px;
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif;
  color: var(--ink);
}
.involved h2 {
  margin: 0 0 8px;
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-style: normal;
}
.involved .inv-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.35;
  font-style: normal;
}
.inv-card {
  border: 2px solid var(--ink);
  background: #fff;
  padding: 12px 14px 14px;
  margin: 0 0 12px;
}
.inv-card h3 {
  margin: 0 0 6px;
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif;
  font-weight: 700;
  font-size: 16px;
  font-style: normal;
}
.inv-card p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.35;
  font-style: normal;
}
.inv-btn {
  display: inline-block;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: "Pixelify Sans", "Pixel Operator", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 2px 2px 0 var(--ink);
}
.inv-btn:hover { filter: brightness(1.05); }
.inv-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.inv-btn-alt {
  background: var(--panel-hi);
  color: var(--ink);
}
html[data-theme="navy"] .inv-btn { background: #e8338a; color: #fff; }
html[data-theme="navy"] .inv-btn-alt { background: #172038; color: #fdf7f2; }
html[data-theme="platinum"] .inv-btn { background: #eb4897; color: #fff; }
html[data-theme="platinum"] .inv-btn-alt { background: #000031; color: #ffffff; }
@media (max-width: 560px) {
  #win-involved.window-involved { width: 94vw; top: 40px; }
}

/* Prologue rows as buttons (in-site articles) */
#win-prologue button.ecal-row {
  display: grid;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
#win-prologue button.ecal-row:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* Prologue article window (Newsroom mini) */
#win-article.window-article {
  width: min(460px, 96vw);
  max-height: min(720px, calc(100vh - 70px));
  height: min(720px, calc(100vh - 70px));
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  background: var(--panel) !important;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
}
#win-article .article-body {
  background: #fff;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}
#win-article .article-card {
  padding: 14px 16px 22px;
}
#win-article .article-cover {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
  border: 2.5px solid #111;
  border-radius: 0;
  margin: 0 0 14px;
  background: #ddd;
  image-rendering: auto;
}
#win-article .article-heading {
  margin: 0 0 12px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: #111;
  font-style: normal !important;
  -webkit-font-smoothing: none !important;
}
#win-article .article-text {
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-size: 15px;
  line-height: 1.45;
  color: #111;
  font-style: normal !important;
  -webkit-font-smoothing: none !important;
}
#win-article .article-text p {
  margin: 0 0 12px;
  font-family: inherit !important;
  font-style: normal !important;
}
#win-article .article-text em,
#win-article .article-text i {
  font-style: normal !important;
}

#win-article .article-text ol {
  margin: 0 0 14px;
  padding-left: 22px;
  font-family: inherit !important;
  font-size: 14px;
  line-height: 1.45;
}
#win-article .article-text li {
  margin: 0 0 8px;
  font-family: inherit !important;
  font-style: normal !important;
}
#win-article .article-text h2 {
  margin: 18px 0 8px;
  font-family: "Pixel Operator", "ChiKareGo2", sans-serif !important;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: #111;
  font-style: normal !important;
}
