/* ── Made In Person — shared design foundation ──
   Loaded by every page (static HTML + WordPress theme) so colors, fonts,
   the starfield background, and the .module container pattern stay in
   sync from one place instead of being duplicated per-file. */

:root {
  --lavender: #c084fc;
  --lavender-dark: #9333ea;
  --lavender-light: #e9d5ff;
  --lavender-pale: #f5f0ff;
  --gold: #d4a843;
  --gold-light: #f0d060;
  --hot-pink: #FF69B4;
  --deep-pink: #FF00AA;
  --cyan: #00CFFF;
  --lime: #CCFF00;
  --white: #ffffff;
  --off-white: #fdf8ff;
  --dark: #1a0030;
  --mid: #4a0080;
  --link: #6600cc;
  --link-hover: #ff00cc;
  --visited: #9900cc;
  --table-header: #c084fc;
  --table-row: rgba(224, 187, 255, 0.35);
  --table-row-alt: rgba(255,255,255,0.6);
  --border: #9333ea;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: #170029;
  font-family: 'Trebuchet MS', Arial, sans-serif;
  font-size: 15px;
  color: #1a0030;
  min-height: 100vh;
}

a { color: var(--link); text-decoration: underline; }
a:hover { color: var(--link-hover); }
a:visited { color: var(--visited); }

/* ── Starfield background (single layer, parallax via assets/starfield.js) ── */
.starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-color: #170029;
  background-repeat: repeat;
  background-size: 700px 700px;
  image-rendering: pixelated;
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700' viewBox='0 0 700 700'%3E%3Crect width='700' height='700' fill='%23170029'/%3E%3Cdefs%3E%3Cg id='sS'%3E%3Crect x='6' y='6' width='4' height='4'/%3E%3Crect x='7' y='0' width='2' height='6'/%3E%3Crect x='7' y='10' width='2' height='6'/%3E%3Crect x='0' y='7' width='6' height='2'/%3E%3Crect x='10' y='7' width='6' height='2'/%3E%3C/g%3E%3Cg id='sL'%3E%3Crect x='9' y='9' width='6' height='6'/%3E%3Crect x='11' y='0' width='2' height='9'/%3E%3Crect x='11' y='15' width='2' height='9'/%3E%3Crect x='0' y='11' width='9' height='2'/%3E%3Crect x='15' y='11' width='9' height='2'/%3E%3Crect x='3' y='3' width='2' height='2'/%3E%3Crect x='19' y='3' width='2' height='2'/%3E%3Crect x='3' y='19' width='2' height='2'/%3E%3Crect x='19' y='19' width='2' height='2'/%3E%3C/g%3E%3C/defs%3E%3Crect x='10' y='10' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='690' y='15' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='15' y='690' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='690' y='690' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='350' y='10' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='10' y='350' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='690' y='350' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='350' y='690' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='200' y='150' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='500' y='150' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='150' y='500' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='500' y='500' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='70' y='300' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='630' y='300' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='300' y='70' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='300' y='630' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='450' y='80' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='80' y='450' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='620' y='450' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='450' y='620' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='180' y='250' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='520' y='250' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='250' y='180' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='250' y='520' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='550' y='550' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='120' y='550' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='550' y='120' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='120' y='120' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='380' y='330' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Crect x='330' y='380' width='1' height='1' fill='%23ffffff' fill-opacity='0.5'/%3E%3Cline x1='80' y1='570' x2='130' y2='555' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='130' y1='555' x2='175' y2='562' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='175' y1='562' x2='210' y2='535' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='210' y1='535' x2='250' y2='515' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='250' y1='515' x2='285' y2='495' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='285' y1='495' x2='320' y2='520' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='450' y1='150' x2='530' y2='140' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='450' y1='150' x2='480' y2='210' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='530' y1='140' x2='520' y2='230' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='480' y1='210' x2='500' y2='220' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='500' y1='220' x2='520' y2='230' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='480' y1='210' x2='460' y2='290' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='520' y1='230' x2='540' y2='280' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='520' y1='520' x2='560' y2='490' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='560' y1='490' x2='600' y2='515' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='600' y1='515' x2='640' y2='485' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cline x1='640' y1='485' x2='680' y2='510' stroke='%23ffffff' stroke-opacity='0.35'/%3E%3Cuse href='%23sS' transform='translate(80,570) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(130,555) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(175,562) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(210,535) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(250,515) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(285,495) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(320,520) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(450,150) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(530,140) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(480,210) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(500,220) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(520,230) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(460,290) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(540,280) scale(0.9)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(520,520) scale(0.8)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(560,490) scale(0.8)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(600,515) scale(0.8)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(640,485) scale(0.8)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(680,510) scale(0.8)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(40,60) scale(0.8)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(150,40) scale(0.6)' fill='%2300CFFF'/%3E%3Cuse href='%23sS' transform='translate(250,90) scale(0.7)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(330,30) scale(0.6)' fill='%23FF69B4'/%3E%3Cuse href='%23sS' transform='translate(60,200) scale(0.7)' fill='%23f0d060'/%3E%3Cuse href='%23sS' transform='translate(620,60) scale(0.8)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(380,250) scale(0.6)' fill='%2300CFFF'/%3E%3Cuse href='%23sS' transform='translate(620,250) scale(0.7)' fill='%23FF69B4'/%3E%3Cuse href='%23sS' transform='translate(150,330) scale(0.6)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(380,400) scale(0.7)' fill='%2300CFFF'/%3E%3Cuse href='%23sS' transform='translate(60,420) scale(0.6)' fill='%23FF69B4'/%3E%3Cuse href='%23sS' transform='translate(250,460) scale(0.7)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(620,380) scale(0.6)' fill='%23f0d060'/%3E%3Cuse href='%23sS' transform='translate(330,600) scale(0.7)' fill='%2300CFFF'/%3E%3Cuse href='%23sS' transform='translate(160,650) scale(0.6)' fill='%23ffffff'/%3E%3Cuse href='%23sS' transform='translate(490,650) scale(0.7)' fill='%23FF69B4'/%3E%3Cuse href='%23sL' transform='translate(110,150) scale(1.1)' fill='%23f0d060'/%3E%3Cuse href='%23sL' transform='translate(560,40) scale(1.0)' fill='%23ffffff'/%3E%3Cuse href='%23sL' transform='translate(420,610) scale(1.2)' fill='%23f0d060'/%3E%3C/svg%3E");
}

/* ── Reusable container pattern: .module > .module-header (icon + title) + .module-body ── */
.module {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 2px 2px 4px rgba(100,0,180,0.15);
}
.module-header {
  background: linear-gradient(180deg, var(--lavender) 0%, var(--lavender-dark) 100%);
  padding: 4px 10px;
  font-size: 13px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.module-header .icon { font-size: 15px; }
.module-body { padding: 8px 10px; }

/* ── Spotify metadata widget (shared by homepage + WordPress playlists page) ── */
.spotify-widget {
  background: linear-gradient(135deg, rgba(192,132,252,0.12), rgba(255,0,170,0.06));
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.spotify-widget-header {
  padding: 12px 10px;
  background: linear-gradient(180deg, var(--lavender) 0%, var(--lavender-dark) 100%);
}
.spotify-widget-meta { color: white; overflow: hidden; }
.spotify-widget-meta .title { font-weight: bold; font-size: 23px; line-height: 1.2; }
.spotify-widget-meta .sub { font-size: 12px; opacity: 0.85; margin-top: 3px; }
.spotify-widget-meta a {
  color: white;
  font-size: 13px;
  text-decoration: underline;
  opacity: 0.85;
}
.spotify-widget-description {
  padding: 8px 10px 0;
  font-size: 13px;
  font-style: italic;
  color: var(--mid);
}
.spotify-widget-player {
  /* The Spotify embed draws a dark rounded card inside a full-rect iframe, so its
     rounded bottom corners reveal whatever is behind. Match that dark tone here so
     the corner wedges blend into the player instead of showing the light gradient. */
  background: #1a0b2e;
}
.spotify-widget-player iframe {
  display: block;
  width: 100%;
  height: 152px;
  border: none;
}
/* Spotify's embed renders at a fixed intrinsic content height at narrow
   widths — it does NOT grow to fill whatever height the iframe box is
   given, so oversizing this just adds blank canvas below the real content
   (confirmed empirically: 352px left ~45% blank, same ratio as 152px did).
   200px is sized to match what Spotify actually renders at mobile widths
   (180px clipped real content — too short). The remaining small gap is
   inside the iframe itself (cross-origin — we can't reach in to trim it),
   so padding-top on the wrapper balances it: roughly the same amount of
   dark space above the embed as Spotify leaves below it. Excludes .compact
   (the blog right-rail widget), which gets the same treatment in
   wp-theme.css since it's the same underlying embed. */
@media (max-width: 760px) {
  .spotify-widget:not(.compact) .spotify-widget-player { padding-top: 12px; }
  .spotify-widget:not(.compact) .spotify-widget-player iframe { height: 200px; }
}
.spotify-widget-status {
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--mid);
}
.spotify-widget-status a { color: var(--deep-pink); font-weight: bold; }

/* ── Large centered logo banner above the nav — desktop only.
   Sits against the page's starfield background (transparent), not the
   nav's pink bar, so the pink nav stays visually distinct/separate. ── */
.mip-logo-banner {
  display: block;
  text-align: center;
  padding: 16px 0 10px;
  background: transparent;
}
.mip-logo-banner img { height: 150px; width: auto; }

/* ── Shared site navbar (.mip-nav): one implementation for the static
   homepage, submit.html, and every WordPress page. Sticky on every
   breakpoint; only the internal layout (centering, dividers) changes
   responsively — the bar itself never toggles display. ── */
.mip-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--hot-pink), var(--deep-pink));
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.mip-nav-links {
  display: flex;
  align-items: center;
}
.mip-nav-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.02em;
  padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,0.45);
}
.mip-nav-links a:last-child { border-right: none; }
.mip-nav-links a:hover { text-decoration: underline; }
.mip-nav-submit {
  display: inline-block;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--lavender) 0%, var(--lavender-dark) 100%);
  color: var(--gold-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 16px;
  border-radius: 2px;
  border: 1px solid var(--lavender-dark);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  white-space: nowrap;
}
.mip-nav-submit:visited { color: var(--gold-light); }
.mip-nav-submit:hover { background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%); color: var(--lavender-dark); }

@media (max-width: 760px) {
  .mip-logo-banner { display: none; }
  .mip-nav { flex-wrap: wrap; justify-content: center; padding: 8px 12px; }
  .mip-nav-links { flex-wrap: wrap; justify-content: center; }
  .mip-nav-links a { padding: 0 10px; border-right: 1px solid rgba(255,255,255,0.45); }
  .mip-nav-submit { order: -1; margin-bottom: 6px; }
}

/* ── Persistent radio player ─────────────────────────────────────────────────
   A slim bar fixed to the bottom of every page (assets/radio-player.js injects
   the markup) plus an inline hero card on the homepage. Y2K chrome-and-gold
   "device skin" look: bright cream-to-gold chassis, glossy play button, an
   inset LCD-style readout (Courier Prime) for track/artist text. Shared so
   the look and palette stay in sync with the rest of the site. ───────────── */

/* Reserve space so the fixed bar never covers the footer. */
body.mip-has-radio { padding-bottom: 66px; }

.mip-radio-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 60;                 /* above the sticky nav (z-index 50) */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  width: calc(100% - 32px);
  max-width: 1040px;           /* desktop: a touch wider than the 960px page content, not edge-to-edge */
  background: linear-gradient(135deg, #fffaf0 0%, #f7e7b8 55%, var(--gold-light) 100%);
  border: 3px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 -4px 16px rgba(74,0,128,0.25), inset 0 1px 0 rgba(255,255,255,0.9);
  color: var(--dark);
  transform: translateX(-50%);
  transition: transform 0.32s ease;
}
/* On the homepage the bar starts hidden and slides up once the hero docks. */
.mip-radio-bar.mip-radio-dockable { transform: translate(-50%, 110%); }
.mip-radio-bar.mip-radio-dockable.docked { transform: translate(-50%, 0); }

.mip-radio-play {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.95), rgba(255,255,255,0) 35%),
    radial-gradient(circle at 40% 35%, var(--gold-light), var(--gold) 70%);
  color: var(--dark);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(74,0,128,0.35), 0 0 0 2px var(--gold);
  transition: transform 0.1s ease;
}
.mip-radio-play:hover { transform: scale(1.06); }
.mip-radio-play:active { transform: scale(0.96); }
.mip-radio-play .ico-pause { display: none; }
.mip-radio-bar.is-playing .mip-radio-play .ico-play,
.mip-radio-hero.is-playing .mip-radio-play .ico-play { display: none; }
.mip-radio-bar.is-playing .mip-radio-play .ico-pause,
.mip-radio-hero.is-playing .mip-radio-play .ico-pause { display: inline; }
/* Autoplay blocked on a fresh page → gently pulse so the user knows to tap. */
.mip-radio-bar.needs-tap .mip-radio-play,
.mip-radio-hero.needs-tap .mip-radio-play { animation: mip-radio-pulse 1.1s ease-in-out infinite; }
@keyframes mip-radio-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,208,96,0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(240,208,96,0); }
}

/* Equalizer — only animates while playing (bar and hero share this rule). */
.mip-radio-eq { display: flex; align-items: flex-end; gap: 2px; height: 22px; flex-shrink: 0; }
.mip-radio-eq span {
  width: 3px;
  height: 5px;
  background: var(--lavender-dark);
  border-radius: 1px;
}
.mip-radio-bar.is-playing .mip-radio-eq span,
.mip-radio-hero.is-playing .mip-radio-eq span { animation: mip-radio-eq 0.8s ease-in-out infinite alternate; }
.mip-radio-eq span:nth-child(2) { animation-delay: 0.12s; background: var(--gold); }
.mip-radio-eq span:nth-child(3) { animation-delay: 0.24s; background: var(--deep-pink); }
.mip-radio-eq span:nth-child(4) { animation-delay: 0.16s; background: var(--lavender-dark); }
.mip-radio-eq span:nth-child(5) { animation-delay: 0.30s; background: var(--gold); }
@keyframes mip-radio-eq {
  0%   { height: 5px;  opacity: 0.6; }
  100% { height: 20px; opacity: 1; }
}

.mip-radio-art {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 2px solid var(--gold);
  background: var(--dark) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}
.mip-radio-art.has-art { font-size: 0; }

.mip-radio-meta { min-width: 0; flex: 1 1 auto; line-height: 1.3; }
.mip-radio-station {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  color: var(--lavender-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mip-radio-live { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; }
.mip-radio-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, var(--hot-pink), var(--deep-pink));
  box-shadow: 0 0 5px 1px rgba(255,0,170,0.65);
}
.mip-radio-live-label { color: var(--deep-pink); font-size: 10px; font-weight: bold; letter-spacing: 0.06em; }
.mip-radio-live-credit { font-size: 10px; font-weight: normal; opacity: 0.65; white-space: nowrap; }
.mip-radio-bar.is-playing .mip-radio-live { animation: mip-radio-blink 1.4s steps(1) infinite; }
@keyframes mip-radio-blink { 50% { opacity: 0.35; } }
.mip-radio-screen {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(120,80,20,0.35);
  border-radius: 4px;
  padding: 2px 8px;
  box-shadow: inset 0 1px 3px rgba(74,0,128,0.15);
}
.mip-radio-track {
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mip-radio-track .mip-radio-dot { opacity: 0.55; margin: 0 5px; }

.mip-radio-vol { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.mip-radio-mute {
  background: none;
  border: none;
  color: var(--lavender-dark);
  font-size: 17px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.mip-radio-volrange {
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: rgba(120,80,20,0.2);
  accent-color: var(--gold);
  cursor: pointer;
}
.mip-radio-volrange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold));
  border: 1px solid #fff;
  box-shadow: 0 1px 3px rgba(74,0,128,0.4);
  cursor: pointer;
}
.mip-radio-volrange::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold));
  border: 1px solid #fff;
  box-shadow: 0 1px 3px rgba(74,0,128,0.4);
  cursor: pointer;
}
.mip-radio-volrange::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(120,80,20,0.2); }

/* ── Homepage hero (markup in home.html, inside .now-playing) ──
   One "device chassis": a nameplate strip on top, the interactive control
   panel below, sharing one bordered/beveled shell (border/shadow live on
   .now-playing itself, set inline in home.html next to its other styles). ── */
.np-nameplate {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: 'Comic Neue', cursive;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  border-bottom: 1px solid rgba(120,80,20,0.3);
}
.np-nameplate-icon { font-size: 17.25px; }
.np-nameplate-title { font-family: Arial, sans-serif; font-weight: bold; text-transform: uppercase; font-size: 17.25px; }
.np-nameplate-text em { font-style: normal; font-weight: 400; opacity: 0.75; font-size: 13px; }

.mip-radio-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.4);
  border-radius: 0 0 14px 14px;
  box-shadow: inset 0 2px 6px rgba(74,0,128,0.12);
}
.mip-radio-hero .mip-radio-play { width: 60px; height: 60px; font-size: 22px; }
.mip-radio-hero-art {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  background: var(--dark) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}
.mip-radio-hero-art.has-art { font-size: 0; }
.mip-radio-eq.mip-radio-eq--hero { height: 30px; }
.mip-radio-hero-info { min-width: 0; flex: 1 1 auto; line-height: 1.35; }
.mip-radio-hero-live {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
}
.mip-radio-hero-live .mip-radio-led { width: 8px; height: 8px; }
.mip-radio-hero-live .mip-radio-live-label { font-size: 11px; }
.mip-radio-hero-live .mip-radio-live-credit { font-size: 11px; }
.mip-radio-hero.is-playing .mip-radio-hero-live { animation: mip-radio-blink 1.4s steps(1) infinite; }
.mip-radio-hero-screen {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(120,80,20,0.35);
  border-radius: 5px;
  padding: 4px 10px;
  box-shadow: inset 0 1px 3px rgba(74,0,128,0.15);
}
.mip-radio-hero-track {
  font-family: 'Courier Prime', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mip-radio-hero-artist {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  color: var(--mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 760px) {
  body.mip-has-radio { padding-bottom: 58px; }
  /* Full-bleed edge-to-edge on mobile — the narrower centered "floating
     card" treatment is desktop-only (see the base .mip-radio-bar rule). */
  .mip-radio-bar {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    gap: 10px;
    padding: 7px 12px;
    border-width: 0;
    border-top-width: 3px;
    border-radius: 16px 16px 0 0;
    transform: none;
  }
  .mip-radio-bar.mip-radio-dockable { transform: translateY(110%); }
  .mip-radio-bar.mip-radio-dockable.docked { transform: translateY(0); }
  .mip-radio-eq { display: none; }              /* save width on mobile */
  .mip-radio-volrange { display: none; }        /* device volume governs */
  .mip-radio-play { width: 44px; height: 44px; }
  .mip-radio-mute { font-size: 20px; padding: 6px; }
  .mip-radio-art { width: 34px; height: 34px; font-size: 16px; }
  .mip-radio-bar .mip-radio-live-credit { display: none; }     /* bar's single-line station row is tight on mobile; the hero has room */
  .np-nameplate { padding: 6px 10px; font-size: 13px; }
  .np-nameplate-text em { display: block; margin-top: 2px; }   /* subtitle stacks below the title on mobile instead of hiding */
  .np-nameplate-dash { display: none; }         /* the "— " connector only makes sense inline (desktop) */
  .mip-radio-hero { padding: 10px 12px; gap: 10px; }
  .mip-radio-hero .mip-radio-play { width: 48px; height: 48px; font-size: 18px; }
  .mip-radio-hero-art { width: 48px; height: 48px; font-size: 20px; }
  .mip-radio-eq.mip-radio-eq--hero { display: none; }
}

/* ── Site footer (.page-footer / .footer-bottom) — shared by every page
   (home.html, submit.html, subscribe.html, and the WordPress theme) so the
   footer lives in one place, like .mip-nav above. ─────────────────────────── */
.page-footer {
  background: #c084fc;
  border-top: 3px solid var(--gold);
  padding: 20px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: bold;
  color: #4a0080;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(74,0,128,0.3);
  padding-bottom: 4px;
}
.footer-col a, .footer-col p {
  font-size: 13px;
  color: #1a0030;
  text-decoration: none;
  margin-bottom: 4px;
  line-height: 1.5;
}
.footer-col p { display: block; }
.footer-col a { display: flex; align-items: center; gap: 6px; }
.footer-col a.footer-submit { font-weight: bold; }
.footer-ico { width: 16px; height: 16px; flex-shrink: 0; object-fit: contain; border-radius: 3px; }
.footer-col a:hover { color: #4a0080; }
.footer-bottom {
  background: #c084fc;
  border-top: 1px solid rgba(74,0,128,0.2);
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(74,0,128,0.7);
}
.footer-legal a { color: rgba(74,0,128,0.85); text-decoration: underline; }
.footer-legal a:hover { color: #4a0080; }
@media (max-width: 760px) {
  .page-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .page-footer { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 4px; text-align: center; }
}
