:root {
  --bg: #000000;
  --bg-soft: #1a1a1a;
  --text: #ffffff;
  --muted: #e6e6e6;
  --pink: #ff2e8b;
  --cyan: #00d5c8;
  --card: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.16);
  --shadow-pink: 0 0 30px rgba(255, 46, 139, 0.2);
  --shadow-cyan: 0 0 30px rgba(0, 213, 200, 0.18);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Inter, Manrope, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(0,213,200,0.18), transparent 20%),
    radial-gradient(circle at 90% 12%, rgba(255,46,139,0.22), transparent 20%),
    radial-gradient(circle at 70% 70%, rgba(0,213,200,0.13), transparent 18%),
    linear-gradient(180deg, #050505 0%, #111111 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
iframe { max-width: 100%; display: block; }

.noise::before,
.noise::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.noise::before {
  background-image:
    radial-gradient(circle at 6% 12%, rgba(0,213,200,0.95) 0 0.35rem, transparent 0.4rem),
    radial-gradient(circle at 12% 82%, rgba(255,46,139,0.9) 0 0.55rem, transparent 0.6rem),
    radial-gradient(circle at 88% 14%, rgba(255,46,139,0.85) 0 0.45rem, transparent 0.5rem),
    radial-gradient(circle at 92% 76%, rgba(0,213,200,0.9) 0 0.4rem, transparent 0.45rem),
    radial-gradient(circle at 76% 34%, rgba(255,46,139,0.75) 0 0.35rem, transparent 0.4rem),
    radial-gradient(circle at 24% 28%, rgba(0,213,200,0.8) 0 0.5rem, transparent 0.55rem);
  opacity: 0.9;
}
.noise::after {
  background: linear-gradient(transparent 0 97%, rgba(255,255,255,0.03) 100%);
  background-size: 100% 6px;
  opacity: 0.2;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(0,0,0,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(var(--shadow-cyan));
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  transition: 0.2s ease;
}
.nav a:hover,
.nav a.active {
  border-color: var(--pink);
  box-shadow: var(--shadow-pink);
}

.hero {
  padding: 42px 0 20px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border-radius: 34px;
  box-shadow: var(--shadow-pink), var(--shadow-cyan);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,213,200,0.09), transparent 30%, rgba(255,46,139,0.12));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 28px;
  padding: 32px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.kicker {
  display: inline-block;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.hero h1,
.page-title {
  margin: 0 0 16px;
  line-height: 0.95;
  font-size: clamp(2.8rem, 7vw, 6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.glitch {
  text-shadow: 3px 0 0 var(--pink), -3px 0 0 var(--cyan);
}
.hero p.lead {
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #f3f3f3;
  margin: 0 0 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  border: 2px solid #fff;
  background: #fff;
  color: #000;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}
.hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.hero-media img,
.poster img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.12);
  background: #fff;
}

.section {
  padding: 26px 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.section-title h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  text-transform: uppercase;
}
.section-title p {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.6;
}
.card,
.player-shell,
.form-shell {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.22);
}
.player-shell {
  padding: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.accent-pink { border-color: rgba(255,46,139,0.38); box-shadow: var(--shadow-pink); }
.accent-cyan { border-color: rgba(0,213,200,0.38); box-shadow: var(--shadow-cyan); }

.quote {
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.4;
  font-weight: 800;
}
.quote small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
}

.footer {
  padding: 30px 0 48px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.page-hero {
  padding: 56px 0 18px;
}
.page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}
.poster {
  overflow: hidden;
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,0.14);
  background: #000;
  box-shadow: var(--shadow-pink), var(--shadow-cyan);
}
.form-shell h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  text-transform: uppercase;
}
.form-shell p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
}
.form-grid {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.34);
  color: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  font: inherit;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid transparent;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255,46,139,0.15);
}
textarea { min-height: 150px; }
.form-note {
  font-size: 0.95rem;
  color: var(--muted);
}

.subscribe-block {
  text-align: center;
}

.subscribe-actions {
  margin: 16px 0;
}

.social-tag {
  margin: 18px 0;
  font-size: 18px;
  letter-spacing: 0.5px;
  font-weight: 800;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
}

.btn-outline:hover {
  background: var(--cyan);
  color: #000;
}

.subscribe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  text-align: center;
}

.subscribe-grid .btn {
  width: 100%;
}

@media (max-width: 940px) {
  .hero-grid,
  .page-grid,
  .grid-3,
  .subscribe-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-title {
    line-height: 1;
  }

  .poster {
    order: 2;
  }

  .form-shell {
    order: 1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .noise::before {
    opacity: 0.55;
  }

  .noise::after {
    opacity: 0.12;
  }

  .site-header .container {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-copy span {
    font-size: 0.82rem;
  }

  .nav {
    width: 100%;
    gap: 10px;
  }

  .nav a {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
  }

  .hero {
    padding: 18px 0 14px;
  }

  .hero-card {
    border-radius: 24px;
  }

  .hero-grid {
    padding: 18px;
    gap: 18px;
  }

  .kicker {
    margin-bottom: 14px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }

  .hero h1,
  .page-title {
    font-size: clamp(2.2rem, 13vw, 3.5rem);
    margin-bottom: 12px;
  }

  .glitch {
    text-shadow: 2px 0 0 var(--pink), -2px 0 0 var(--cyan);
  }

  .hero p.lead,
  .section-title p,
  .form-shell p,
  .card p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-actions,
  .subscribe-grid {
    gap: 12px;
  }

  .hero-actions .btn,
  .subscribe-grid .btn,
  .form-grid .btn,
  .btn {
    width: 100%;
  }

  .section,
  .page-hero,
  .footer {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .section-title h2,
  .form-shell h2 {
    line-height: 1.05;
  }

  .card,
  .player-shell,
  .form-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .player-shell iframe {
    min-height: 235px;
  }

  input,
  textarea {
    padding: 14px 16px;
    border-radius: 16px;
  }

  textarea {
    min-height: 130px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 20px, 1160px);
  }

  .hero-grid,
  .card,
  .player-shell,
  .form-shell {
    padding: 16px;
  }

  .hero-card,
  .poster,
  .hero-media img,
  .poster img,
  .card,
  .player-shell,
  .form-shell {
    border-radius: 18px;
  }

  .brand-copy span {
    font-size: 0.78rem;
  }

  .social-tag {
    font-size: 16px;
  }
}

/* ===== Mark page ===== */
.mark-layout {
  align-items: stretch;
}

.mark-poster {
  align-self: start;
}

.mark-shell {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  min-height: unset;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04)),
    radial-gradient(circle at 80% 10%, rgba(0,213,200,0.1), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(255,46,139,0.08), transparent 28%);
}

.mark-header {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.mark-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mark-shell h2 {
  margin: 0;
  max-width: 12ch;
  text-align: center;
  line-height: 0.95;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  text-transform: uppercase;
}

.glitch-lite {
  text-shadow: 2px 0 0 var(--pink), -2px 0 0 var(--cyan);
}

.mark-intro {
  margin: 0;
  max-width: 34rem;
  text-align: center;
  color: var(--muted);
  line-height: 1.65;
}

.embed-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.embed-status {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.embed-status strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.embed-status span {
  color: var(--muted);
  line-height: 1.55;
}

.form-frame {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.form-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.form-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,46,139,0.22);
  background: linear-gradient(135deg, rgba(255,46,139,0.11), rgba(255,255,255,0.04));
}

.accent-pink-soft {
  box-shadow: 0 0 24px rgba(255,46,139,0.08);
}

.form-cta-copy {
  display: grid;
  gap: 6px;
}

.form-cta-copy strong {
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.form-cta-copy span {
  color: var(--muted);
  line-height: 1.6;
}

.form-cta-actions {
  display: grid;
  gap: 10px;
}

.form-cta .btn {
  min-width: 250px;
  box-shadow: var(--shadow-pink);
}

.form-cta .btn-compact {
  min-width: 220px;
  padding: 12px 16px;
  line-height: 1.15;
  white-space: normal;
  text-wrap: balance;
  flex-direction: column;
  gap: 2px;
  font-size: 0.88rem;
}

.form-cta .btn-compact span {
  display: block;
}

@media (max-width: 1100px) {
  .form-frame {
    height: 540px;
  }

  .form-frame iframe {
    height: 690px;
    transform: translateY(-58px);
  }
}

@media (max-width: 940px) {
  .mark-shell h2 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .mark-shell {
    padding: 18px;
  }

  .embed-card {
    padding: 14px;
    border-radius: 20px;
  }

  .embed-status,
  .form-cta {
    grid-template-columns: 1fr;
  }

  .form-frame {
    height: 500px;
    border-radius: 18px;
  }

  .form-cta .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .mark-header {
    gap: 12px;
  }

  .mark-shell h2 {
    line-height: 1;
  }

  .form-frame {
    height: 460px;
    border-radius: 16px;
  }

  .form-cta .btn-compact {
    font-size: 0.84rem;
    padding: 12px 14px;
  }
}

@media (max-width: 420px) {
  .mark-shell,
  .embed-card,
  .form-cta {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mark-badge {
    font-size: 0.72rem;
    letter-spacing: 0.11em;
  }

  .form-frame {
    height: 430px;
  }

  .form-cta .btn-compact {
    font-size: 0.8rem;
    line-height: 1.1;
  }
}

/* ===== Playlist page ===== */
.playlist-channel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(0,213,200,0.32);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0,213,200,0.12), rgba(255,255,255,0.04));
}

.playlist-channel-copy {
  display: grid;
  gap: 6px;
}

.playlist-channel-copy strong {
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.playlist-channel-copy span {
  color: var(--muted);
  line-height: 1.6;
}

.playlist-channel .btn {
  min-width: 240px;
}

.playlist-frame {
  height: 837px;
  max-height: 82vh;
  min-height: 640px;
}

.playlist-frame iframe {
  height: 100%;
  transform: none;
}

.latest-playlist {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0,213,200,0.1), rgba(255,46,139,0.08)),
    rgba(0,0,0,0.24);
  box-shadow: var(--shadow-cyan);
}

.latest-playlist-header {
  display: grid;
  gap: 10px;
}

.latest-playlist-header h2 {
  max-width: none;
  margin: 0 0 8px;
  text-align: left;
  font-size: clamp(1.65rem, 4vw, 2.6rem);
}

.latest-playlist-header p {
  max-width: 68ch;
  margin: 0;
}

.latest-playlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.latest-playlist-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  background: rgba(0,0,0,0.28);
}

.latest-playlist-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.latest-playlist-card-header h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.latest-playlist-card-header a {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.playlist-embed-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: #000;
}

.playlist-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transform: none;
}

.playlist-embed-frame-yandex {
  height: 556px;
}

.playlist-embed-frame-spotify {
  height: 352px;
}
.playlist-catalog {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255,46,139,0.34);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,46,139,0.1), rgba(0,213,200,0.06)),
    rgba(0,0,0,0.22);
  box-shadow: var(--shadow-pink);
}

.playlist-catalog-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.playlist-catalog-header > div:first-child {
  display: grid;
  gap: 10px;
}

.playlist-catalog h2 {
  max-width: none;
  text-align: left;
  font-size: clamp(1.65rem, 4vw, 2.6rem);
}

.playlist-controls {
  display: flex;
  align-items: end;
  gap: 12px;
}

.playlist-week-label {
  min-width: min(310px, 45vw);
  gap: 6px;
}

.playlist-week-label span {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.playlist-week-label select {
  min-height: 50px;
  padding: 12px 44px 12px 14px;
  cursor: pointer;
}

.playlist-refresh {
  min-width: 150px;
  cursor: pointer;
  font: inherit;
}

.playlist-refresh:focus-visible,
.playlist-table-region:focus-visible,
.playlist-week-label select:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.playlist-refresh:disabled,
.playlist-week-label select:disabled {
  cursor: wait;
  opacity: 0.62;
}

.playlist-status {
  min-height: 1.6em;
  margin: 0;
  padding: 10px 12px;
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  background: rgba(0,213,200,0.08);
}

.playlist-catalog[data-state="request-error"] .playlist-status,
.playlist-catalog[data-state="configuration-error"] .playlist-status {
  border-left-color: var(--pink);
  background: rgba(255,46,139,0.12);
  color: #fff;
}

.playlist-table-region {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(0,0,0,0.28);
}

.playlist-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  table-layout: fixed;
}

.playlist-table th,
.playlist-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.playlist-table th:first-child,
.playlist-table td:first-child {
  width: 38%;
}

.playlist-table th {
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,213,200,0.08);
}

.playlist-table tbody tr:last-child td {
  border-bottom: 0;
}

.playlist-table-empty-value {
  color: var(--muted);
  font-style: italic;
}

.playlist-empty {
  margin: 0;
  padding: 28px 18px;
  text-align: center;
}

@media (max-width: 768px) {
  .latest-playlist-grid {
    grid-template-columns: 1fr;
  }

  .latest-playlist-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .latest-playlist-card-header a {
    text-align: left;
  }

  .playlist-embed-frame-yandex {
    height: 520px;
  }

  .playlist-channel {
    grid-template-columns: 1fr;
  }

  .playlist-channel .btn {
    width: 100%;
    min-width: 0;
  }

  .playlist-frame {
    min-height: 560px;
  }

  .playlist-catalog-header,
  .playlist-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .playlist-week-label {
    min-width: 0;
  }

  .playlist-refresh {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .latest-playlist,
  .latest-playlist-card {
    padding: 14px;
  }

  .playlist-embed-frame-yandex {
    height: 500px;
  }

  .playlist-channel {
    padding: 14px;
  }

  .playlist-frame {
    min-height: 520px;
  }


  .playlist-catalog {
    padding: 14px;
  }

  .playlist-table {
    min-width: 0;
    table-layout: auto;
  }

  .playlist-table th,
  .playlist-table td {
    padding: 12px;
  }
}
