:root {
  /* Palette lifted from the iOS app (RetroColors, light mode). */
  --page: #fbfaf9;
  --paper: #ffffff;
  --elevated: #fefefd;
  --ink: #0a0a09;
  --muted: #5e5c54;
  --tertiary: #737066;
  --line: rgba(10, 10, 9, 0.1);
  --line-strong: rgba(10, 10, 9, 0.16);
  --control: #ece9e0;
  --orange: #ff4505;
  --orange-dark: #db2e03;
  --soft-orange: #ffbc85;
  --gold: #c99929;
  --error: #c71f1a;
  --glow: rgba(255, 69, 5, 0.14);
  --shadow-sm: 0 2px 10px rgba(20, 14, 8, 0.06);
  --shadow: 0 14px 40px rgba(30, 18, 8, 0.12);
  --shadow-lg: 0 24px 60px rgba(30, 18, 8, 0.16);
  --r-card: 20px;
  --r-control: 14px;
  --font-sans: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sidebar-w: 244px;
  color-scheme: light;
}

[data-theme="dark"] {
  --page: #15120d;
  --paper: #201c15;
  --elevated: #262016;
  --ink: #f6f3ec;
  --muted: #a9a294;
  --tertiary: #8d8779;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --control: #2d2619;
  --glow: rgba(255, 69, 5, 0.16);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }

/* The hidden attribute must always win over any display value below (modals, loaders, grid/list toggles). */
[hidden] { display: none !important; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  padding-bottom: 120px;
  background:
    radial-gradient(120% 460px at 50% -80px, var(--glow), rgba(255, 69, 5, 0) 72%),
    var(--page);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Shared loading + empty */
.fc-loading { display: flex; align-items: center; gap: 10px; padding: 20px 4px; color: var(--muted); font-size: 15px; font-weight: 600; }
.fc-spinner { width: 18px; height: 18px; border: 2px solid var(--line-strong); border-top-color: var(--orange); border-radius: 50%; animation: fc-spin 0.8s linear infinite; }
@keyframes fc-spin { to { transform: rotate(360deg); } }
.fc-empty { color: var(--muted); font-weight: 600; line-height: 1.5; padding: 24px 4px; max-width: 520px; }

/* ===================== AUTH SCREENS ===================== */
.fc-header {
  position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; gap: 14px;
  width: min(100% - 28px, 900px); margin: 14px auto 0; padding: 10px 16px;
  border-radius: var(--r-card); background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(18px); box-shadow: var(--shadow-sm);
}
.fc-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: inherit; text-decoration: none; }
.fc-brand img { border-radius: 9px; }
.fc-badge { padding: 4px 11px; border-radius: 999px; background: rgba(255, 69, 5, 0.12); color: var(--orange-dark); font-size: 12px; font-weight: 800; }

.fc-view { width: min(100% - 28px, 900px); margin: 28px auto; }
.fc-centered:not([hidden]) { display: flex; justify-content: center; }

.fc-card { width: min(100%, 430px); margin-top: 26px; padding: 32px 28px; border-radius: 26px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.fc-card h1 { margin: 0 0 8px; font-size: 27px; font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; }
.fc-sub { margin: 0 0 22px; color: var(--muted); font-weight: 500; line-height: 1.5; }
.fc-emoji { width: 66px; height: 66px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 69, 5, 0.1); font-size: 30px; }
.fc-field { display: block; margin-bottom: 14px; text-align: left; font-size: 13px; font-weight: 700; color: var(--muted); }
.fc-field input { width: 100%; margin-top: 6px; padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: var(--r-control); background: var(--elevated); color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 600; }
.fc-field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 69, 5, 0.16); }
.fc-primary { width: 100%; padding: 15px 18px; border: none; border-radius: var(--r-control); background: var(--orange); color: #fff; font-family: inherit; font-weight: 800; font-size: 17px; box-shadow: 0 8px 20px rgba(255, 69, 5, 0.28); transition: background 0.15s ease, transform 0.1s ease; }
.fc-primary:hover { background: var(--orange-dark); }
.fc-primary:active { transform: scale(0.98); }
.fc-primary:disabled { opacity: 0.5; box-shadow: none; cursor: default; }
.fc-apple { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border: none; border-radius: var(--r-control); background: var(--ink); color: var(--page); font-family: inherit; font-weight: 700; font-size: 15px; }
.fc-or { position: relative; margin: 18px 0; color: var(--tertiary); font-size: 13px; font-weight: 700; }
.fc-or::before, .fc-or::after { content: ""; position: absolute; top: 50%; width: 40%; height: 1.5px; background: var(--line); }
.fc-or::before { left: 0; } .fc-or::after { right: 0; }
.fc-error { margin: 0 0 14px; padding: 11px 13px; border-radius: 12px; background: rgba(199, 31, 26, 0.1); color: var(--error); font-size: 14px; font-weight: 600; text-align: left; word-break: break-word; }
.fc-fineprint { margin: 18px 0 0; font-size: 12px; font-weight: 600; color: var(--tertiary); }

/* ===================== APP SHELL ===================== */
.fc-app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

.fc-sidebar {
  position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column;
  gap: 6px; padding: 20px 14px; background: color-mix(in srgb, var(--paper) 70%, transparent);
  backdrop-filter: blur(16px); border-right: 1px solid var(--line);
}
.fc-brand-side { padding: 6px 10px 14px; font-size: 18px; }
.fc-nav { display: flex; flex-direction: column; gap: 3px; }
.fc-nav-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 13px; border: none;
  border-radius: 13px; background: transparent; color: var(--muted); font-weight: 700; font-size: 15px; text-align: left;
  transition: background 0.12s ease, color 0.12s ease;
}
.fc-nav-item:hover { background: var(--control); color: var(--ink); }
.fc-nav-item.is-active { background: rgba(255, 69, 5, 0.12); color: var(--orange-dark); }
.fc-nav-ico { width: 20px; text-align: center; font-size: 16px; opacity: 0.9; }
.fc-nav-sep { height: 1px; background: var(--line); margin: 8px 12px; }

.fc-sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding: 12px 8px 4px; }
.fc-theme { display: inline-flex; padding: 4px; gap: 3px; background: var(--control); border-radius: 12px; }
.fc-theme-btn { flex: 1; padding: 7px 0; border: none; border-radius: 9px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 800; }
.fc-theme-btn.is-active { background: var(--paper); color: var(--orange-dark); box-shadow: var(--shadow-sm); }
.fc-signout { padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: transparent; color: var(--ink); font-weight: 700; font-size: 14px; }
.fc-signout:hover { border-color: var(--orange); color: var(--orange-dark); }

.fc-main-wrap { min-width: 0; }
.fc-topbar {
  position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px;
  padding: 18px clamp(16px, 4vw, 40px) 12px; background: linear-gradient(var(--page) 60%, transparent);
}
.fc-menu-toggle { display: none; width: 42px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--paper); font-size: 18px; }
.fc-page-title { margin: 0; font-size: clamp(24px, 4vw, 32px); font-weight: 900; letter-spacing: -0.02em; }
.fc-main { padding: 4px clamp(16px, 4vw, 40px) 40px; max-width: 1120px; }

/* Blocks / rows (Home) */
.fc-page { animation: fc-fade 0.22s ease; }
@keyframes fc-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fc-block { margin-bottom: 30px; }
.fc-block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.fc-block-head h2, .fc-subhead { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.fc-subhead { margin: 24px 0 12px; }
.fc-more { border: none; background: transparent; color: var(--orange-dark); font-weight: 800; font-size: 14px; }
.fc-more:hover { text-decoration: underline; }
.fc-count { margin-left: 6px; font-size: 16px; font-weight: 700; color: var(--tertiary); }
.fc-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 12px; }

/* Playing Next cards (hero carousel) */
.fc-queue-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.fc-queue-card { position: relative; flex: 0 0 auto; width: 200px; height: 286px; padding: 0; border: none; border-radius: 14px; overflow: hidden; background-color: var(--control); background-size: cover; background-position: center; scroll-snap-align: start; box-shadow: var(--shadow); color: #fff; transition: transform 0.14s ease; }
.fc-queue-card:hover { transform: translateY(-3px); }
.fc-queue-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 6, 4, 0.04) 0%, rgba(8, 6, 4, 0.12) 45%, rgba(8, 6, 4, 0.82) 100%); }
.fc-queue-body { position: absolute; inset: auto 0 0 0; padding: 14px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.fc-queue-podcast { font-size: 12px; font-weight: 700; opacity: 0.85; }
.fc-queue-title { font-size: 16px; font-weight: 800; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-queue-play { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.24); backdrop-filter: blur(6px); }
.fc-queue-play-icon { font-size: 11px; }
.fc-queue-progress { flex: 1; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.32); position: relative; }
.fc-queue-progress > span { position: absolute; left: 0; top: 0; bottom: 0; background: #fff; border-radius: 3px; }
.fc-queue-dur { font-size: 12px; font-weight: 800; }

/* Playlists — circular chips */
.fc-playlist-row { display: flex; flex-wrap: wrap; gap: 18px; padding: 4px 2px 12px; }
.fc-playlist-chip { flex: 0 0 auto; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 8px; border: none; background: transparent; text-align: center; }
.fc-playlist-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 26px; box-shadow: var(--shadow-sm); transition: transform 0.14s ease; }
.fc-playlist-chip:hover .fc-playlist-icon { transform: translateY(-2px); }
.fc-playlist-name { font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--ink); }
.fc-playlist-count { font-size: 12px; font-weight: 600; color: var(--muted); }

/* Shows grid (images only) + small variant */
.fc-shows-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.fc-shows-grid-sm { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); grid-auto-flow: column; grid-template-rows: 1fr; grid-auto-columns: 128px; overflow-x: auto; padding-bottom: 8px; }
.fc-show-tile { position: relative; aspect-ratio: 1; padding: 0; border: none; border-radius: 9px; overflow: hidden; background: var(--control); box-shadow: var(--shadow-sm); transition: transform 0.14s ease, box-shadow 0.14s ease; }
.fc-show-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fc-show-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-tile-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 34px; }

/* Toolbar (All shows) */
.fc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.fc-toolbar-count { color: var(--muted); font-weight: 700; font-size: 14px; }
.fc-toolbar-controls { display: flex; gap: 10px; }
.fc-seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--control); border-radius: 11px; }
.fc-seg-btn { padding: 7px 13px; border: none; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 800; font-size: 14px; }
.fc-seg-btn.is-active { background: var(--paper); color: var(--orange-dark); box-shadow: var(--shadow-sm); }

/* Lists (episodes + shows list mode) */
.fc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fc-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border: none; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-sm); text-align: left; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.fc-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fc-item.is-active { box-shadow: 0 0 0 2px var(--orange), var(--shadow-sm); }
.fc-art { flex: none; width: 52px; height: 52px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; overflow: hidden; background: var(--control); }
.fc-art img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.fc-item-text { min-width: 0; flex: 1; }
.fc-item-title { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.fc-item-meta { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.fc-item-chev { color: var(--tertiary); font-size: 20px; }

/* Detail page */
.fc-back { margin-bottom: 16px; padding: 9px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; }
.fc-back:hover { border-color: var(--orange); color: var(--orange-dark); }
.fc-detail-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.fc-art-xl { width: 120px; height: 120px; border-radius: 14px; font-size: 44px; flex: none; }
.fc-detail-meta { min-width: 0; }
.fc-detail-title { margin: 4px 0 8px; font-size: clamp(21px, 3.5vw, 28px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.12; }
.fc-detail-desc { margin: 0; color: var(--muted); font-weight: 500; line-height: 1.5; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Coming soon */
.fc-soon { max-width: 460px; margin: 40px auto; text-align: center; padding: 40px 28px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow-sm); }
.fc-soon-emoji { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 69, 5, 0.1); color: var(--orange-dark); font-size: 28px; }
.fc-soon h2 { margin: 0 0 10px; font-size: 22px; font-weight: 800; }
.fc-soon p { margin: 0 0 18px; color: var(--muted); font-weight: 500; line-height: 1.55; }
.fc-search { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-control); background: var(--elevated); color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600; }

/* Account (link sign-in methods) */
.fc-account { max-width: 480px; }
.fc-acct-card { padding: 22px 24px 20px; border-radius: 22px; background: var(--paper); box-shadow: var(--shadow-sm); }
.fc-acct-methods { list-style: none; margin: 8px 0 4px; padding: 0; }
.fc-acct-methods li { display: flex; justify-content: space-between; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--line); font-weight: 700; }
.fc-acct-methods li:last-child { border-bottom: none; }
.fc-acct-state { font-weight: 800; font-size: 13px; }
.fc-acct-state.ok { color: #1d9e75; }
.fc-acct-state.no { color: var(--tertiary); }
.fc-acct-action { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.fc-acct-action .fc-apple, .fc-acct-action .fc-primary { margin-top: 8px; }
.fc-acct-msg { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.fc-acct-msg.ok { background: rgba(29, 158, 117, 0.14); color: #167a5b; }
.fc-acct-msg.err { background: rgba(199, 31, 26, 0.1); color: var(--error); }

/* Attribution (Home footer) */
.fc-attribution { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--tertiary); line-height: 1.55; max-width: 640px; }

/* ===================== PLAYER BAR ===================== */
.fc-playerbar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 30; display: flex; flex-direction: column; gap: 7px; width: min(100% - 24px, 880px); padding: 10px 18px 12px; border-radius: 22px; background: color-mix(in srgb, var(--elevated) 90%, transparent); backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.fc-pb-timeline { display: flex; align-items: center; gap: 10px; width: 100%; }
.fc-pb-timeline #seek { flex: 1; }
.fc-pb-controls { display: flex; align-items: center; gap: 16px; width: 100%; }
.fc-np { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 180px; border: none; background: transparent; padding: 4px; border-radius: 12px; text-align: left; }
.fc-np:hover { background: var(--control); }
.fc-np .fc-art { width: 46px; height: 46px; font-size: 19px; }
.fc-np-text { min-width: 0; display: flex; flex-direction: column; }
.fc-np-text strong { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.fc-muted { color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-transport { display: flex; align-items: center; gap: 8px; }
.fc-icon { min-width: 46px; padding: 8px 6px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: transparent; color: var(--orange-dark); font-weight: 800; font-size: 13px; }
.fc-icon:hover { border-color: var(--orange); background: rgba(255, 69, 5, 0.08); }
.fc-play { width: 54px; height: 54px; border: none; border-radius: 50%; background: var(--orange-dark); color: #fff; font-size: 20px; line-height: 1; box-shadow: 0 6px 16px rgba(219, 46, 3, 0.34); }
.fc-play:hover { background: var(--orange); }
.fc-play:active { transform: scale(0.96); }
.fc-time { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); min-width: 42px; text-align: center; }
#seek, #mp-seek, #pa-seek { accent-color: var(--orange); height: 6px; }
.fc-vol { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }
.fc-vol input { width: 84px; accent-color: var(--orange); height: 5px; }
.fc-speed { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.fc-speed select { padding: 7px 9px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--elevated); color: var(--ink); font-family: inherit; font-weight: 700; }

/* ===================== MINI PLAYER MODAL ===================== */
.fc-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.fc-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 6, 4, 0.5); backdrop-filter: blur(6px); animation: fc-fade 0.2s ease; }
.fc-modal-card { position: relative; width: min(100% - 24px, 440px); margin-bottom: 14px; padding: 20px 22px 24px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-lg); text-align: center; animation: fc-rise 0.24s cubic-bezier(0.2, 0.8, 0.3, 1); }
@keyframes fc-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.fc-modal-close { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 44px; height: 22px; border: none; background: transparent; color: var(--tertiary); font-size: 22px; line-height: 1; }
.fc-mp-art { width: min(72vw, 300px); height: min(72vw, 300px); margin: 20px auto 18px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 72px; overflow: hidden; box-shadow: var(--shadow); background: var(--control); }
.fc-mp-art img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.fc-mp-meta { margin-bottom: 6px; }
.fc-mp-title { display: block; font-size: 19px; font-weight: 800; line-height: 1.25; }
.fc-mp-podcast { display: block; margin-top: 4px; color: var(--muted); font-weight: 600; font-size: 14px; }
.fc-mp-chapter { margin: 8px 0 0; color: var(--orange-dark); font-weight: 700; font-size: 13px; }
.fc-mp-progress { margin: 18px 0 8px; }
.fc-mp-progress input[type="range"] { width: 100%; display: block; height: 7px; accent-color: var(--orange); }
.fc-mp-times { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.fc-mp-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 12px 0 6px; }
.fc-mp-skip { position: relative; width: 52px; height: 52px; border: none; border-radius: 50%; background: var(--control); color: var(--ink); font-size: 20px; font-weight: 800; display: grid; place-items: center; }
.fc-mp-skip span { position: absolute; font-size: 10px; font-weight: 800; }
.fc-mp-play { width: 74px; height: 74px; border: none; border-radius: 50%; background: var(--orange-dark); color: #fff; font-size: 28px; box-shadow: 0 8px 22px rgba(219, 46, 3, 0.4); }
.fc-mp-play:hover { background: var(--orange); }
.fc-mp-play:active { transform: scale(0.96); }
.fc-mp-side { width: 44px; height: 44px; border: none; border-radius: 50%; background: transparent; color: var(--muted); font-size: 18px; }
.fc-mp-side:hover { color: var(--ink); }
.fc-mp-speed { justify-content: center; margin-top: 10px; }

/* Pop-out player window (popout.html) */
.fc-popout-body { margin: 0; min-height: 100vh; display: grid; place-items: center; color: var(--ink); font-family: var(--font-sans); background: radial-gradient(120% 420px at 50% -60px, var(--glow), rgba(255, 69, 5, 0) 72%), var(--page); }
.fc-popout { width: 100%; max-width: 384px; padding: 18px 18px 24px; text-align: center; }
.fc-popout .fc-mp-art { margin-top: 8px; }

/* ===================== RESPONSIVE ===================== */
.fc-scrim { position: fixed; inset: 0; z-index: 24; background: rgba(8, 6, 4, 0.4); backdrop-filter: blur(2px); }

@media (max-width: 860px) {
  .fc-app { grid-template-columns: 1fr; }
  .fc-sidebar {
    position: fixed; top: 0; left: 0; z-index: 25; width: 280px; height: 100vh;
    transform: translateX(-100%); transition: transform 0.24s ease; background: var(--paper);
  }
  .fc-app.nav-open .fc-sidebar { transform: none; }
  .fc-menu-toggle { display: grid; place-items: center; }
}

@media (max-width: 720px) {
  .fc-playerbar { border-radius: 20px; padding: 9px 14px 11px; }
  .fc-pb-controls { flex-wrap: wrap; gap: 10px 14px; }
  .fc-np { flex-basis: 58%; }
  .fc-transport { margin-left: auto; }
  .fc-vol { display: none; }
}

@media (max-width: 480px) {
  .fc-badge { display: none; }
  .fc-card { padding: 26px 20px; }
  .fc-shows-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
  .fc-detail-head { gap: 14px; }
  .fc-art-xl { width: 92px; height: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fc-spinner { animation: none; }
  .fc-page, .fc-modal-backdrop, .fc-modal-card { animation: none; }
  .fc-show-tile, .fc-item, .fc-primary, .fc-play, .fc-queue-card, .fc-playlist-icon, .fc-sidebar { transition: none; }
}
