/* FAST Audio Player · 2026-08-10 · natural-height desktop player + mobile episode browser sheet
   Standalone, namespaced, responsive audio player. */
.fast-audio-player {
  --fap-bg: #030b17;
  --fap-panel: rgba(8, 25, 49, .72);
  --fap-panel-2: rgba(12, 35, 69, .76);
  --fap-line: rgba(213, 235, 255, .15);
  --fap-line-strong: rgba(111, 221, 255, .30);
  --fap-text: #f7fbff;
  --fap-muted: rgba(236, 246, 255, .70);
  --fap-soft: rgba(196, 219, 239, .52);
  --fap-cyan: #68ebff;
  --fap-blue: #25b8ff;
  --fap-violet: #6e69ff;
  --fap-danger: #ff8fa0;
  color: var(--fap-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  color-scheme: dark;
}

.fast-audio-player * { box-sizing: border-box; }
.fast-audio-player button,
.fast-audio-player input { font: inherit; }
.fast-audio-player button { color: inherit; }

.fap-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--fap-line);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(10, 35, 69, .76), rgba(4, 16, 34, .90) 52%, rgba(15, 18, 66, .84));
  box-shadow:
    0 36px 110px rgba(0, 0, 0, .36),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(24px);
}

.fap-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 9% 4%, rgba(77, 218, 255, .20), transparent 34%),
    radial-gradient(circle at 96% 94%, rgba(105, 91, 255, .18), transparent 39%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

.fap-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .035), transparent 24%, transparent 78%, rgba(255, 255, 255, .025));
}

.fap-loading,
.fap-error,
.fap-empty {
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 48px;
  color: var(--fap-muted);
  text-align: center;
}

.fap-error strong,
.fap-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--fap-text);
  font-size: 1.2rem;
}

.fap-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, .42fr);
  align-items: start;
}

.fap-main {
  position: relative;
  align-self: start;
  align-content: start;
  min-width: 0;
  min-height: 650px;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: clamp(26px, 3.4vw, 42px);
  overflow: hidden;
  padding: clamp(28px, 4.2vw, 54px);
  border-right: 1px solid var(--fap-line);
}

.fap-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 12, 25, .20), rgba(3, 12, 25, .56) 68%, rgba(3, 12, 25, .78)),
    linear-gradient(180deg, transparent 45%, rgba(3, 12, 25, .34));
}

.fap-ambient-art {
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -10%;
  width: min(72%, 720px);
  aspect-ratio: 1;
  object-fit: cover;
  opacity: .18;
  filter: blur(48px) saturate(1.35) contrast(1.05);
  transform: scale(1.14);
  pointer-events: none;
}

.fap-episode-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  min-width: 0;
}

.fap-art-wrap {
  position: relative;
  width: 100%;
  max-width: 350px;
  justify-self: center;
}

.fap-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  background: #061424;
  box-shadow:
    0 34px 82px rgba(0, 0, 0, .43),
    0 0 58px rgba(62, 195, 255, .11);
}

.fap-now-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(123, 230, 255, .26);
  border-radius: 999px;
  background: rgba(3, 15, 31, .72);
  color: #c9f7ff;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.fap-now-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fap-cyan), var(--fap-blue));
  box-shadow: 0 0 15px rgba(81, 215, 255, .75);
}

.fap-info { min-width: 0; }

.fap-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 13px;
  color: var(--fap-soft);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fap-kicker span + span::before {
  content: "·";
  margin-right: 12px;
  color: rgba(255, 255, 255, .28);
}

.fap-title {
  max-width: 15ch;
  margin: 0;
  color: var(--fap-text);
  font-size: clamp(2.05rem, 4vw, 4.45rem);
  line-height: .94;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.fap-title.is-long-title {
  font-size: clamp(1.9rem, 3.35vw, 3.65rem);
}

.fap-title.is-very-long-title {
  font-size: clamp(1.75rem, 2.85vw, 3.1rem);
  line-height: .98;
}

.fap-description-section {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.fap-description-label {
  display: block;
  margin-bottom: 12px;
  color: #79e8ff;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fap-description-copy {
  max-width: 82ch;
  color: rgba(236, 246, 255, .78);
  font-size: clamp(1rem, 1.28vw, 1.1rem);
  line-height: 1.78;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.fap-description-section.is-empty .fap-description-label {
  color: var(--fap-soft);
}

.fap-description-section.is-empty .fap-description-copy {
  color: var(--fap-soft);
  font-style: italic;
}

.fap-player-bar {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.fap-progress-block { margin-top: 0; }

.fap-range {
  width: 100%;
  height: 22px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.fap-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fap-cyan) 0 var(--fap-progress, 0%), rgba(255, 255, 255, .13) var(--fap-progress, 0%) 100%);
}

.fap-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
}

.fap-range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fap-cyan), var(--fap-violet));
}

.fap-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -6px;
  appearance: none;
  border: 3px solid #061424;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(104, 235, 255, .22), 0 0 20px rgba(79, 203, 255, .48);
}

.fap-range::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 3px solid #061424;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(104, 235, 255, .22);
}

.fap-time {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  color: var(--fap-soft);
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
}

.fap-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.fap-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fap-button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--fap-line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .055);
  color: var(--fap-text);
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.fap-button:hover {
  transform: translateY(-1px);
  border-color: var(--fap-line-strong);
  background: rgba(255, 255, 255, .10);
}

.fap-button:disabled {
  opacity: .38;
  cursor: default;
  transform: none;
}

.fap-button:focus-visible,
.fap-play:focus-visible,
.fap-list-item:focus-visible,
.fap-list-toggle:focus-visible,
.fap-mobile-close:focus-visible,
.fap-mobile-list-item:focus-visible {
  outline: 3px solid rgba(104, 235, 255, .32);
  outline-offset: 3px;
}

.fap-button svg,
.fap-play svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fap-play {
  appearance: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fap-cyan), var(--fap-blue) 48%, var(--fap-violet));
  color: #03111f;
  box-shadow: 0 0 36px rgba(62, 201, 255, .34);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.fap-play:hover {
  transform: scale(1.035);
  box-shadow: 0 0 45px rgba(62, 201, 255, .48);
}

.fap-play svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.3;
}

.fap-skip { position: relative; }
.fap-skip small {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: .55rem;
  font-weight: 950;
}

.fap-speed {
  width: auto;
  min-width: 52px;
  padding: 0 10px;
  font-size: .78rem;
  font-weight: 900;
}

.fap-volume {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fap-volume-range { width: 78px; }

.fap-playlist {
  position: relative;
  display: flex;
  align-self: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: rgba(2, 10, 22, .28);
}

.fap-playlist::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 54px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, rgba(4, 14, 31, 0), rgba(4, 14, 31, .95));
  transition: opacity .18s ease;
}

.fap-playlist.is-scrollable:not(.is-scrolled-to-end)::after { opacity: 1; }

.fap-playlist-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 27px 24px 20px;
  border-bottom: 1px solid var(--fap-line);
}

.fap-playlist-head strong,
.fap-playlist-head span { display: block; }

.fap-mobile-browse-copy { display: none !important; }

.fap-playlist-head strong {
  color: var(--fap-text);
  font-size: 1.15rem;
}

.fap-playlist-head span {
  margin-top: 5px;
  color: var(--fap-soft);
  font-size: .82rem;
  line-height: 1.45;
}

.fap-list-toggle {
  display: none;
  appearance: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--fap-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: var(--fap-text);
  font-size: .76rem;
  font-weight: 900;
  cursor: pointer;
}

.fap-list-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fap-list {
  display: grid;
  align-content: start;
  gap: 3px;
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .18) transparent;
  padding: 10px;
}

.fap-list::-webkit-scrollbar { width: 10px; }
.fap-list::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  background-clip: padding-box;
}

.fap-list-item {
  appearance: none;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.fap-list-item:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, .055);
}

.fap-list-item.is-active {
  border-color: rgba(98, 218, 255, .25);
  background: linear-gradient(135deg, rgba(50, 192, 255, .12), rgba(93, 86, 255, .10));
}

.fap-list-art {
  width: 66px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #071426;
}

.fap-list-copy { min-width: 0; }

.fap-list-title {
  display: block;
  overflow: hidden;
  color: var(--fap-text);
  font-size: .91rem;
  font-weight: 850;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fap-list-meta {
  display: flex;
  gap: 8px;
  margin-top: 5px;
  color: var(--fap-soft);
  font-size: .73rem;
}

.fap-list-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fap-list-meta span:first-child { flex: 1; }

.fap-list-playing {
  display: none;
  margin-top: 6px;
  color: #8aefff;
  font-size: .67rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fap-list-item.is-active .fap-list-playing { display: block; }
.fap-list-item.is-active .fap-list-title { color: #d9fbff; }


/* Mobile episode browser. The native dialog enters the browser top layer, so
   the episode list never becomes a nested scroll region inside the player. */
.fap-mobile-dialog {
  position: fixed;
  inset: auto 0 0;
  width: min(100%, 760px);
  max-width: none;
  height: min(88dvh, 820px);
  max-height: calc(100dvh - 18px);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(137, 222, 255, .24);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(63, 205, 255, .13), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(103, 91, 255, .18), transparent 39%),
    #061222;
  color: var(--fap-text);
  box-shadow: 0 -28px 90px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .06);
  overscroll-behavior: contain;
}

.fap-mobile-dialog::backdrop {
  background: rgba(0, 7, 17, .72);
  backdrop-filter: blur(8px);
}

.fap-mobile-dialog[open] { animation: fap-sheet-in .22s ease-out; }

@keyframes fap-sheet-in {
  from { transform: translateY(26px); opacity: .86; }
  to { transform: translateY(0); opacity: 1; }
}

.fap-mobile-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.fap-mobile-grabber {
  flex: 0 0 auto;
  width: 42px;
  height: 5px;
  margin: 10px auto 2px;
  border-radius: 999px;
  background: rgba(226, 243, 255, .24);
}

.fap-mobile-dialog-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 18px 16px;
}

.fap-mobile-dialog-head strong,
.fap-mobile-dialog-head span { display: block; }

.fap-mobile-dialog-head strong {
  color: var(--fap-text);
  font-size: 1.15rem;
  line-height: 1.2;
}

.fap-mobile-dialog-head span {
  margin-top: 4px;
  color: var(--fap-soft);
  font-size: .78rem;
}

.fap-mobile-close {
  appearance: none;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--fap-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: var(--fap-text);
  cursor: pointer;
}

.fap-mobile-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.fap-mobile-current {
  flex: 0 0 auto;
  padding: 13px 18px 17px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(135deg, rgba(51, 192, 255, .09), rgba(95, 83, 255, .07));
}

.fap-mobile-current-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #81edff;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.fap-mobile-current-head span:last-child {
  color: var(--fap-soft);
  letter-spacing: .06em;
}

.fap-mobile-current-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.fap-mobile-current-card > img {
  display: block;
  width: 68px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: #071426;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

.fap-mobile-current-card > div { min-width: 0; }

.fap-mobile-current-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fap-text);
  font-size: .96rem;
  font-weight: 850;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fap-mobile-current-meta {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  color: var(--fap-soft);
  font-size: .74rem;
}

.fap-mobile-current-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fap-mobile-current-meta span:first-child { flex: 1; }

.fap-mobile-browser {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.fap-mobile-browser-label {
  flex: 0 0 auto;
  padding: 13px 18px 8px;
  color: var(--fap-soft);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.fap-mobile-list {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
  gap: 4px;
  overflow-y: auto;
  padding: 2px 10px max(14px, env(safe-area-inset-bottom));
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .18) transparent;
  -webkit-overflow-scrolling: touch;
}

.fap-mobile-list::-webkit-scrollbar { width: 8px; }
.fap-mobile-list::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  background-clip: padding-box;
}

.fap-mobile-list-item {
  appearance: none;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.fap-mobile-list-item:active { background: rgba(255, 255, 255, .065); }

.fap-mobile-list-item.is-active {
  border-color: rgba(98, 218, 255, .28);
  background: linear-gradient(135deg, rgba(50, 192, 255, .13), rgba(93, 86, 255, .11));
}

.fap-mobile-list-art {
  display: block;
  width: 62px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 13px;
  background: #071426;
}

.fap-mobile-list-copy { min-width: 0; }

.fap-mobile-list-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fap-text);
  font-size: .91rem;
  font-weight: 820;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fap-mobile-list-item.is-active .fap-mobile-list-title { color: #d9fbff; }

.fap-mobile-list-meta {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  color: var(--fap-soft);
  font-size: .72rem;
}

.fap-mobile-list-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fap-mobile-list-meta span:first-child { flex: 1; }

.fap-live-bars {
  display: inline-flex;
  align-items: end;
  gap: 2px;
  height: 12px;
  margin-right: 5px;
  vertical-align: -1px;
}

.fap-live-bars i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: var(--fap-cyan);
  animation: fap-bar .8s ease-in-out infinite alternate;
}

.fap-live-bars i:nth-child(1) { height: 5px; }
.fap-live-bars i:nth-child(2) { height: 11px; animation-delay: .14s; }
.fap-live-bars i:nth-child(3) { height: 7px; animation-delay: .28s; }

@keyframes fap-bar {
  to { height: 3px; opacity: .55; }
}

.fap-shell:not(.is-playing) .fap-live-bars i { animation-play-state: paused; }
.fap-shell:not(.is-playing) .fap-list-playing { opacity: .75; }

.fap-status {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 4;
  padding: 10px 14px;
  border: 1px solid rgba(255, 143, 160, .25);
  border-radius: 13px;
  background: rgba(80, 17, 30, .82);
  color: #ffe4e8;
  font-size: .82rem;
}

.fap-status[hidden] { display: none; }

@media (max-width: 1120px) {
  .fap-layout { grid-template-columns: 1fr; }
  .fap-main {
    align-self: stretch;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--fap-line);
  }
  .fap-episode-hero {
    grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr);
  }
  .fap-art-wrap { max-width: 300px; }
  .fap-playlist {
    align-self: stretch;
    min-height: 0;
    overflow: hidden;
  }
  .fap-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(56vh, 560px);
  }
  .fap-playlist-head { align-items: center; }
}

@media (max-width: 760px) {
  .fap-shell { border-radius: 24px; }
  .fap-main {
    gap: 26px;
    padding: 22px 20px 20px;
  }
  .fap-ambient-art {
    top: -4%;
    right: -22%;
    width: 105%;
    opacity: .12;
    filter: blur(54px) saturate(1.25);
  }
  .fap-episode-hero {
    grid-template-columns: 1fr;
    gap: 23px;
    align-items: start;
  }
  .fap-art-wrap { max-width: 230px; }
  .fap-now-badge { left: 12px; top: 12px; }
  .fap-info { text-align: left; }
  .fap-kicker {
    justify-content: flex-start;
    margin-bottom: 10px;
    text-align: left;
  }
  .fap-title,
  .fap-title.is-long-title,
  .fap-title.is-very-long-title {
    max-width: none;
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 1;
  }
  .fap-player-bar { padding-top: 18px; }
  .fap-description-section { padding-top: 22px; }
  .fap-description-copy {
    max-width: none;
    font-size: .98rem;
    line-height: 1.72;
  }
  .fap-controls {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 7px;
  }
  .fap-controls > .fap-control-group:first-child {
    width: auto;
    justify-content: center;
  }
  .fap-control-group { gap: 7px; }
  .fap-volume { display: none; }
  .fap-speed { min-width: 48px; }
  .fap-playlist::after { display: none; }
  .fap-playlist-head {
    align-items: center;
    padding: 19px 20px;
    cursor: pointer;
  }
  .fap-playlist-description { display: none !important; }
  .fap-mobile-browse-copy {
    display: block !important;
    color: rgba(196, 219, 239, .62) !important;
  }
  .fap-list-toggle {
    display: inline-flex;
    min-height: 40px;
    padding-inline: 12px 10px;
  }
  .fap-list { display: none !important; }
  .fap-loading,
  .fap-error,
  .fap-empty {
    min-height: 300px;
    padding: 32px 20px;
  }
}

@media (max-width: 420px) {
  .fap-main { padding: 17px 15px 16px; }
  .fap-art-wrap { max-width: 205px; }
  .fap-controls { gap: 4px; }
  .fap-button {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .fap-play { width: 56px; height: 56px; }
  .fap-control-group { gap: 4px; }
  .fap-speed { min-width: 44px; padding-inline: 7px; }
  .fap-title,
  .fap-title.is-long-title,
  .fap-title.is-very-long-title { font-size: 1.72rem; }
  .fap-playlist-head { padding: 17px 16px; }
  .fap-list-toggle span { display: none; }
  .fap-list-toggle {
    width: 40px;
    min-width: 40px;
    padding: 0;
  }
  .fap-mobile-dialog {
    height: min(92dvh, 820px);
    border-radius: 24px 24px 0 0;
  }
  .fap-mobile-dialog-head { padding-inline: 15px; }
  .fap-mobile-current { padding-inline: 15px; }
  .fap-mobile-browser-label { padding-inline: 15px; }
  .fap-mobile-list { padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .fap-button,
  .fap-play,
  .fap-list-item,
  .fap-mobile-list-item { transition: none; }
  .fap-mobile-dialog[open] { animation: none; }
  .fap-live-bars i { animation: none; }
}
