:root {
  --bg: #f6f8fc;
  --primary: #224a96;
  --secondary: #91b6e5;
  --text: #183b77;
  --muted: #6b7fa0;
  --card: #ffffff;
  --line: #d9e3f2;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(24, 59, 119, 0.08);
  --font: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.frwp-main {
  flex: 1 0 auto;
  padding-bottom: 120px;
}

.frwp-container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.frwp-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.frwp-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  position: relative;
}
.frwp-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 0;
}
.frwp-header__rss-short { display: none; }
.frwp-nav__rss-mobile { display: none !important; }

.frwp-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.frwp-burger:hover {
  background: #eef4fc;
  border-color: var(--secondary);
}
.frwp-burger__lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}
.frwp-burger__lines span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
body.frwp-nav-open .frwp-burger__lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.frwp-nav-open .frwp-burger__lines span:nth-child(2) {
  opacity: 0;
}
body.frwp-nav-open .frwp-burger__lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.frwp-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.frwp-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.frwp-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform .25s ease, box-shadow .25s ease;
}
.frwp-logo:hover img {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(24, 59, 119, 0.18);
}
.frwp-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.frwp-logo__text strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}
.frwp-logo__text small {
  color: var(--muted);
  font-size: 12px;
}
.frwp-nav {
  display: flex;
  gap: 8px 20px;
  margin-left: auto;
  margin-right: 4px;
  align-items: center;
}
.frwp-nav > a:not(.frwp-btn) {
  position: relative;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  padding: 6px 2px 8px;
  transition: color .2s ease;
}
.frwp-nav > a:not(.frwp-btn)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}
.frwp-nav > a:not(.frwp-btn):hover {
  color: var(--primary);
}
.frwp-nav > a:not(.frwp-btn):hover::after,
.frwp-nav > a:not(.frwp-btn).is-active::after,
.frwp-nav > a:not(.frwp-btn):focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}
.frwp-nav > a:not(.frwp-btn).is-active {
  color: var(--primary);
}
.frwp-nav > a:not(.frwp-btn):focus-visible {
  outline: none;
  color: var(--primary);
}

.frwp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.frwp-btn--ghost {
  color: var(--primary);
  border-color: var(--secondary);
  background: #fff;
}
.frwp-btn--ghost:hover { background: #eef4fc; }
.frwp-btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.frwp-btn--primary:hover { background: #1a3b7a; }
.frwp-btn--header {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(145, 182, 229, 0);
}
.frwp-btn--header:hover {
  background: #e8f1fb;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 74, 150, 0.14);
}
.frwp-btn--header:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(34, 74, 150, 0.12);
}
.frwp-btn--header.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(34, 74, 150, 0.22);
}
.frwp-btn--header.is-active:hover {
  background: #1a3b7a;
  color: #fff;
}

.frwp-404 {
  padding-top: 28px;
}
.frwp-404__code {
  margin: 0 0 8px;
  font-size: clamp(56px, 8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--secondary);
}
.frwp-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.frwp-hero { padding: 40px 0 8px; }
.frwp-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.frwp-hero__lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
}

.frwp-section { padding: 28px 0 8px; }
.frwp-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.frwp-section__head h2,
.frwp-section > h2 {
  margin: 0;
  font-size: 22px;
}
.frwp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.frwp-arrow {
  width: 1em;
  height: 1em;
  flex: none;
  display: block;
  overflow: visible;
  transition: transform .22s ease;
}
.frwp-link:hover .frwp-arrow {
  transform: translateX(3px);
}

.frwp-fav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.frwp-fav-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.frwp-fav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(24, 59, 119, 0.12);
}
.frwp-fav-card__cover {
  height: 140px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-size: cover;
  background-position: center;
}
.frwp-fav-card__body { padding: 14px 16px 16px; }
.frwp-fav-card__body h3 { margin: 0 0 4px; font-size: 18px; }
.frwp-fav-card__body p { margin: 0; color: var(--muted); font-size: 13px; }

.frwp-pod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.frwp-pod-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  color: inherit;
  text-decoration: none !important;
}
.frwp-pod-card:hover { border-color: var(--secondary); }
.frwp-pod-card__cover {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #183b77, #91b6e5);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.frwp-pod-card h3 { margin: 0 0 2px; font-size: 14px; }
.frwp-pod-card p { margin: 0; color: var(--muted); font-size: 12px; }

.frwp-episode-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.frwp-episode-card {
  --i: 0;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  animation: frwp-card-in .45s ease both;
  animation-delay: calc(var(--i) * 45ms);
}
.frwp-episode-card:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
  box-shadow: 0 14px 32px rgba(24, 59, 119, 0.12);
}
@keyframes frwp-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.frwp-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--secondary);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(34, 74, 150, 0.18);
}
.frwp-play-btn__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 0;
}
.frwp-play-btn__ico svg {
  display: block;
}
.frwp-play-btn:hover {
  background: var(--primary);
  transform: scale(1.06);
}
.frwp-play-btn.is-active {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(145, 182, 229, 0.45);
  animation: frwp-play-pulse 1.7s ease-in-out infinite;
}
@keyframes frwp-play-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(145, 182, 229, 0.5);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(145, 182, 229, 0.18);
  }
}
.frwp-tag {
  display: inline-block;
  background: #e8f0fb;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  margin-right: 6px;
  text-decoration: none !important;
}
a.frwp-tag:hover {
  background: #d9e8f8;
  color: var(--primary);
}
.frwp-episode-card__body h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.3;
}
.frwp-episode-card__body h3 a {
  color: inherit;
  text-decoration: none;
}
.frwp-episode-card__body h3 a:hover { color: var(--primary); }
.frwp-episode-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.frwp-episode-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  color: var(--primary);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity .2s ease;
}
.frwp-episode-card:hover .frwp-episode-card__cta {
  opacity: 1;
}
.frwp-episode-card:hover .frwp-arrow {
  transform: translateX(3px);
}
.frwp-episode-card__cta:hover span { text-decoration: underline; }

/* Архив /episodes — фильтры */
.frwp-ep-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 4px 0 18px;
}
.frwp-ep-filters__search {
  flex: 1 1 220px;
  min-width: 0;
}
.frwp-ep-filters__podcast {
  flex: 0 1 260px;
  min-width: 0;
  position: relative;
  z-index: 5;
}
.frwp-ep-filters input[type="search"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.frwp-ep-filters input[type="search"]:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(145, 182, 229, 0.35);
}
.frwp-ep-filters .frwp-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
}
.frwp-ep-filters__hint {
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Кастомный select (нативный список не стилизуется) */
.frwp-select {
  position: relative;
  width: 100%;
}
.frwp-select__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 14px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.frwp-select__btn:hover {
  border-color: var(--secondary);
}
.frwp-select.is-open .frwp-select__btn,
.frwp-select__btn:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(145, 182, 229, 0.35);
}
.frwp-select__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frwp-select__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  color: var(--muted);
  transition: transform .18s ease, color .15s ease;
}
.frwp-select.is-open .frwp-select__chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.frwp-select__list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(24, 59, 119, 0.14);
  max-height: 280px;
  overflow-y: auto;
  z-index: 20;
}
.frwp-select.is-open .frwp-select__list {
  display: block;
  animation: frwp-select-in .16s ease both;
}
@keyframes frwp-select-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.frwp-select__list [role="option"] {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--text);
  cursor: pointer;
  outline: none;
}
.frwp-select__list [role="option"]:hover,
.frwp-select__list [role="option"]:focus {
  background: #eef4fc;
  color: var(--primary);
}
.frwp-select__list [role="option"][aria-selected="true"] {
  background: #e4edf8;
  color: var(--primary);
  font-weight: 700;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Архив /episodes — 4 колонки × 5 рядов */
.frwp-ep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.frwp-ep-tile {
  --i: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  animation: frwp-card-in .45s ease both;
  animation-delay: calc(var(--i) * 40ms);
  min-height: 100%;
}
.frwp-ep-tile:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
  box-shadow: 0 14px 32px rgba(24, 59, 119, 0.12);
}
.frwp-ep-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.frwp-play-btn--sm {
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 12px rgba(34, 74, 150, 0.16);
}
.frwp-play-btn--sm .frwp-play-btn__ico {
  width: 22px;
  height: 22px;
}
.frwp-ep-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 52px);
  min-width: 0;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: #eef3fa;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none !important;
  transition: border-color .15s ease, background .15s ease;
}
.frwp-ep-badge:hover {
  border-color: var(--secondary);
  background: #e4edf8;
}
.frwp-ep-badge__cover {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #183b77, #91b6e5);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.frwp-ep-badge__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frwp-ep-tile__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  flex: 1;
}
.frwp-ep-tile__title a {
  color: inherit;
  text-decoration: none;
}
.frwp-ep-tile__title a:hover { color: var(--primary); }
.frwp-ep-tile__meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.frwp-ep-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  margin-top: auto;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  opacity: 0.85;
}
.frwp-ep-tile:hover .frwp-ep-tile__cta { opacity: 1; }
.frwp-ep-tile:hover .frwp-arrow { transform: translateX(3px); }
.frwp-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.frwp-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.frwp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.frwp-pagination .page-numbers.current,
.frwp-pagination .page-numbers:hover {
  border-color: var(--secondary);
  color: var(--primary);
  background: #eef4fc;
}

.frwp-related {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.frwp-related .frwp-section__head {
  margin-bottom: 16px;
}
.frwp-related .frwp-section__head h2 {
  font-size: 20px;
  line-height: 1.3;
}

.frwp-listen { margin: 8px 0 24px; }
.frwp-listen h2 { margin: 0 0 12px; font-size: 20px; }
.frwp-theses { margin-bottom: 16px; }
.frwp-prose--transcript { max-width: 760px; font-size: 16px; line-height: 1.7; }
.frwp-single { padding: 32px 0 48px; }
.frwp-single h1 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.2;
}
.frwp-single__meta { color: var(--muted); margin: 0 0 20px; }
.frwp-breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}
.frwp-prose { margin: 24px 0; max-width: 720px; }
.frwp-prose p { margin: 0 0 12px; }
.frwp-transcript {
  margin-top: 32px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.frwp-podcast-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.frwp-podcast-head__cover {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.frwp-conditions {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 18px 0;
  box-shadow: var(--shadow);
}
.frwp-conditions h2 { margin-top: 0; }
.frwp-conditions ul,
.frwp-conditions ol { margin: 0; padding-left: 20px; }
.frwp-conditions li { margin: 8px 0; }

.frwp-empty { color: var(--muted); }

.frwp-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 13px;
  background: #eef3fa;
}
.frwp-footer__inner {
  display: grid;
  gap: 18px;
}
.frwp-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.frwp-footer__brand strong {
  color: var(--text);
  font-size: 16px;
}
.frwp-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.frwp-footer__nav a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.frwp-footer__nav a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.frwp-footer__copy { margin: 0; }

/* Sticky player */
.frwp-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(24, 59, 119, 0.12);
  padding: 12px 0;
  transform: translateY(110%);
  transition: transform .28s ease;
}
.frwp-player.is-visible,
.frwp-player:not([hidden]) {
  transform: translateY(0);
}
.frwp-player__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.frwp-player__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.frwp-player__skip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.frwp-player__skip:hover {
  background: #eef4fc;
  border-color: var(--secondary);
  transform: scale(1.05);
}
.frwp-player__skip.is-skip-fwd {
  animation: frwp-skip-fwd .38s ease;
}
.frwp-player__skip.is-skip-back {
  animation: frwp-skip-back .38s ease;
}
.frwp-player__skip.is-skip-fwd svg,
.frwp-player__skip.is-skip-back svg {
  display: block;
}
@keyframes frwp-skip-fwd {
  0%   { transform: rotate(0deg) scale(1); }
  35%  { transform: rotate(22deg) scale(1.1); background: #eef4fc; border-color: var(--secondary); }
  100% { transform: rotate(0deg) scale(1); }
}
@keyframes frwp-skip-back {
  0%   { transform: rotate(0deg) scale(1); }
  35%  { transform: rotate(-22deg) scale(1.1); background: #eef4fc; border-color: var(--secondary); }
  100% { transform: rotate(0deg) scale(1); }
}
.frwp-player__play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 8px 18px rgba(34, 74, 150, 0.28);
}
.frwp-player__play:hover {
  transform: scale(1.06);
  background: #1a3b7a;
}
.frwp-player__play.is-playing {
  box-shadow: 0 0 0 4px rgba(145, 182, 229, 0.45);
  animation: frwp-play-pulse 1.7s ease-in-out infinite;
}
.frwp-player__play-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}
.frwp-player__play-icon .frwp-ico-pause { display: none; }
.frwp-player__play-icon[data-icon="pause"] .frwp-ico-play { display: none; }
.frwp-player__play-icon[data-icon="pause"] .frwp-ico-pause { display: block; }
.frwp-player__play-icon[data-icon="play"] .frwp-ico-play { display: block; margin-left: 2px; }
.frwp-player__title {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frwp-player__sub {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frwp-player__progress-wrap {
  position: relative;
}
.frwp-player__progress {
  width: 100%;
  accent-color: var(--secondary);
  cursor: pointer;
}
.frwp-player__right {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.frwp-player__vol {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.frwp-player__volume {
  width: 84px;
  accent-color: var(--primary);
  cursor: pointer;
}
.frwp-player__time {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.frwp-player__rate {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.frwp-player__rate:hover {
  background: #eef4fc;
  border-color: var(--secondary);
}

@media (max-width: 1100px) {
  .frwp-ep-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .frwp-fav-grid { grid-template-columns: 1fr; }
  .frwp-pod-grid { grid-template-columns: 1fr 1fr; }
  .frwp-ep-grid { grid-template-columns: repeat(2, 1fr); }

  .frwp-header__inner {
    flex-wrap: wrap;
    gap: 12px 14px;
    min-height: 64px;
    padding: 10px 0;
  }
  .frwp-logo {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
  }
  .frwp-logo__text small {
    display: none;
  }
  .frwp-header__actions {
    margin-left: auto;
  }
  .frwp-burger {
    display: inline-flex;
  }
  .frwp-header__rss {
    padding: 9px 12px;
    white-space: nowrap;
  }
  .frwp-header__rss-full { display: none; }
  .frwp-header__rss-short { display: inline; }

  .frwp-nav {
    display: none;
    order: 3;
    width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 0 4px;
    border-top: 1px solid var(--line);
  }
  body.frwp-nav-open .frwp-nav {
    display: flex;
    animation: frwp-nav-in .22s ease both;
  }
  .frwp-nav > a:not(.frwp-btn) {
    padding: 12px 4px;
    font-size: 16px;
  }
  .frwp-nav > a:not(.frwp-btn)::after {
    left: 0;
    width: 28px;
    transform: translateX(0) scaleX(0);
    transform-origin: left center;
  }
  .frwp-nav > a:not(.frwp-btn):hover::after,
  .frwp-nav > a:not(.frwp-btn).is-active::after,
  .frwp-nav > a:not(.frwp-btn):focus-visible::after {
    transform: translateX(0) scaleX(1);
  }
  .frwp-nav__rss-mobile {
    display: inline-flex !important;
    margin-top: 8px;
    width: 100%;
  }

  .frwp-episode-card {
    grid-template-columns: 48px 1fr;
  }
  .frwp-episode-card__cta {
    grid-column: 2 / -1;
  }
  .frwp-podcast-head {
    grid-template-columns: 1fr;
  }
  .frwp-player__inner {
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .frwp-player__right {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
  .frwp-player__volume { width: 72px; }
}
@keyframes frwp-nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 560px) {
  .frwp-ep-grid { grid-template-columns: 1fr; }
  .frwp-pod-grid { grid-template-columns: 1fr; }
  .frwp-header__inner {
    gap: 10px 12px;
  }
  .frwp-logo img {
    width: 36px;
    height: 36px;
  }
  .frwp-logo__text strong {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frwp-play-btn.is-active,
  .frwp-player__play.is-playing,
  .frwp-player__skip.is-skip-fwd,
  .frwp-player__skip.is-skip-back {
    animation: none;
  }
  .frwp-nav a::after,
  .frwp-logo,
  .frwp-logo img,
  .frwp-btn--header,
  .frwp-burger__lines span,
  .frwp-nav {
    transition: none !important;
    animation: none !important;
  }
}
