:root {
  --blue-950: #0d2347;
  --blue-900: #173a72;
  --blue-700: #244f8f;
  --blue-100: #dbe7fb;
  --yellow: #ffd21a;
  --yellow-strong: #f4c400;
  --ink: #0c1730;
  --muted: #64748b;
  --surface: #ffffff;
  --line: rgba(12, 23, 48, 0.12);
  --shadow: 0 18px 45px rgba(10, 25, 55, 0.18);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f9fd;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(620px, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(44px, 7vw, 96px) clamp(18px, 5vw, 80px);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(13, 35, 71, 0.98), rgba(36, 79, 143, 0.92)),
    url("assets/familyradioH.png") center / cover no-repeat;
  overflow: hidden;
}

.hero__content {
  max-width: 500px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(3.2rem, 7.2vw, 6rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span {
  font-style: italic;
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  margin-bottom: 0.08em;
}

.hero h1 span:last-child {
  color: var(--yellow);
}

.hero__tagline {
  margin: 22px 0 0;
  color: var(--yellow);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 900;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 470px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.18rem, 2.3vw, 1.65rem);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button--primary {
  color: var(--blue-950);
  background: var(--yellow);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
}

.button--small {
  min-height: 40px;
  color: var(--blue-900);
  background: var(--yellow);
}

.history-section,
.facebook-section,
.listen-section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 80px);
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto 24px;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue-950);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.facebook-section .section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  max-width: none;
  white-space: nowrap;
}

.player-shell {
  width: 100%;
  max-width: 1040px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  justify-self: end;
}

.player-dashboard {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.now-card,
.mini-history,
.player-controls {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.now-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  min-height: 330px;
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
}

.now-card .cover-stack {
  display: contents;
}

.cover {
  width: min(280px, 100%);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--blue-900);
}

.cover-stack {
  display: grid;
  gap: 8px;
  align-content: start;
}

.cover-stack .cover {
  grid-column: 1;
  grid-row: 1;
}

.cover-stack .track-progress {
  grid-column: 1 / -1;
  grid-row: 2;
}

.cover-stack .track-progress__time {
  grid-column: 1 / -1;
  grid-row: 3;
}

.track-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(12, 23, 48, 0.12);
}

.track-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
}

.track-progress__time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.now-card__text {
  min-width: 0;
  align-self: center;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.status-dot.is-live {
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.16);
}

.label {
  display: inline;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
}

.now-card h3 {
  margin: 10px 0 4px;
  color: var(--blue-950);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.track-title {
  margin: 0 0 12px;
  color: var(--blue-900);
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: var(--blue-900);
  font-size: clamp(1.02rem, 1.6vw, 1.35rem);
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.music-links,
.history-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.music-link,
.history-music-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 10px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-900);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.music-link--apple,
.history-music-link--apple {
  background: var(--blue-900);
}

.music-link--spotify,
.history-music-link--spotify {
  color: #0c1730;
  background: #1ed760;
}

.music-link.is-hidden {
  display: none;
}

.now-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.player-controls {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 0.42fr) minmax(360px, 0.72fr);
  grid-template-rows: auto auto;
  gap: 14px;
  align-content: center;
  align-items: stretch;
  min-width: 0;
  padding: 16px;
}

.control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.player-status {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.play-button {
  width: 100%;
  min-height: 122px;
  border: 0;
  border-radius: 8px;
  color: var(--blue-950);
  background: var(--yellow);
  font-size: 1.2rem;
  font-weight: 1000;
  cursor: pointer;
}

.play-icon,
.pause-icon {
  display: block;
  margin: 0 auto;
  width: 0;
  height: 0;
}

.play-icon {
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--blue-950);
  transform: translateX(2px);
}

.pause-icon {
  width: 22px;
  height: 26px;
  border-left: 8px solid var(--blue-950);
  border-right: 8px solid var(--blue-950);
}

.player-status {
  margin: 0;
  color: var(--blue-900);
  font-weight: 900;
  line-height: 1.35;
}

.volume-control {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.volume-control label {
  writing-mode: horizontal-tb;
  transform: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.volume-control input {
  align-self: center;
  width: 100%;
  accent-color: var(--yellow-strong);
}

@supports (appearance: slider-vertical) {
  .volume-control {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    min-height: 122px;
  }

  .volume-control input {
    width: 34px;
    height: 104px;
    writing-mode: vertical-lr;
    direction: rtl;
    appearance: slider-vertical;
  }
}

.next-track {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.player-controls > .next-track {
  align-content: start;
}

.player-controls > .next-track {
  grid-row: 1 / span 2;
}

.mini-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 330px;
  padding: 18px;
}

.mini-history h2 {
  margin: -6px 0 2px;
  color: var(--blue-950);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1;
}

.mini-history__list {
  display: grid;
  gap: 10px;
}

.mini-history__item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.mini-history__item img {
  width: 54px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--blue-900);
}

.mini-history__item strong,
.mini-history__item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-history__item strong {
  color: var(--blue-950);
  font-size: 0.96rem;
}

.mini-history__item span,
.mini-history__empty {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.mini-history__empty {
  margin: 0;
}

.next-track strong {
  display: block;
  margin-top: 6px;
  color: var(--blue-950);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.next-track .label {
  color: var(--muted);
}

.next-track--soft .label {
  display: block;
  margin-bottom: 14px;
}

.next-track span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.next-song-title {
  color: var(--blue-900);
}

.program-description {
  margin: 14px 0 0;
  color: var(--blue-900);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.program-description:empty {
  display: none;
}

.next-track--soft {
  background: #fff;
}

.next-preview {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.next-cover {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--blue-900);
}

.next-cover.is-hidden {
  display: none;
}

.player-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.history-section {
  background: #fff;
}

.listen-section {
  color: #fff;
  background:
    linear-gradient(110deg, rgba(13, 35, 71, 0.98), rgba(36, 79, 143, 0.94)),
    url("assets/familyradioH.png") center / cover no-repeat;
}

.listen-section .section-heading h2 {
  color: #fff;
}

.listen-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.listen-item {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(10, 25, 55, 0.18);
  backdrop-filter: blur(8px);
}

.listen-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.listen-item strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  line-height: 1.25;
}

.history-list {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.history-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.history-item img {
  width: 68px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.history-item strong {
  display: block;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
  word-break: normal;
}

.history-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.history-music-link {
  width: max-content;
  max-width: 100%;
  margin-top: 6px;
  white-space: normal;
}

.history-time {
  color: var(--blue-700);
  font-weight: 900;
}

.facebook-section {
  background: var(--yellow);
}

.feed-grid {
  max-width: 1120px;
  margin: 0 auto;
  columns: 3 280px;
  column-gap: 18px;
}

.fb-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.fb-card:focus-visible {
  outline: 4px solid var(--blue-900);
  outline-offset: 3px;
}

.fb-card__inner {
  padding: 16px;
}

.fb-card__head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.fb-avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--blue-900);
}

.fb-name {
  margin: 0;
  color: #f2bd00;
  font-weight: 1000;
}

.fb-date {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.fb-message {
  margin: 0 0 14px;
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.38;
}

.fb-card__image {
  display: block;
  width: 100%;
  height: auto;
}

.fb-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.fb-stats a {
  margin-left: auto;
  color: var(--blue-900);
  font-weight: 900;
  text-decoration: none;
}

.empty-state {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  border: 1px dashed rgba(12, 23, 48, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 80px);
  color: #fff;
  background: var(--blue-950);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 900;
}

.mobile-player {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 80;
  display: none;
  grid-template-columns: 52px minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #fff;
  background: rgba(13, 35, 71, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.mobile-player__cover {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--blue-900);
}

.mobile-player__meta {
  min-width: 0;
}

.mobile-player__meta strong,
.mobile-player__meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-player__meta strong {
  font-size: 0.95rem;
}

.mobile-player__meta span,
.mobile-player__meta small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.mobile-player__progress {
  height: 4px;
  margin: 7px 0 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mobile-player__progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
}

.mobile-player__button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--yellow);
  cursor: pointer;
}

.post-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.post-modal.is-open {
  display: block;
}

.post-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.post-modal__dialog {
  position: absolute;
  inset: 5vh clamp(14px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.post-modal__media {
  display: grid;
  place-items: center;
  min-height: 420px;
  background: #06152f;
}

.post-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-media-placeholder {
  color: var(--yellow);
  font-size: 2rem;
  font-weight: 1000;
}

.post-modal__side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px;
  overflow: auto;
}

.post-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--blue-950);
  background: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
}

.post-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 72px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.34);
  font-size: 4rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.post-modal__nav--prev {
  left: 0;
}

.post-modal__nav--next {
  right: 0;
}

.post-modal__nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.modal-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
  padding: 12px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--blue-900);
  font-size: 0.86rem;
  font-weight: 800;
}

.modal-comments {
  margin-top: 4px;
}

.modal-comments h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.modal-comment {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.modal-comment__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-900);
  font-weight: 900;
}

.modal-comment p {
  margin: 0;
  line-height: 1.35;
}

.modal-comment time,
.modal-empty {
  color: var(--muted);
  font-size: 0.84rem;
}

.modal-facebook-link {
  margin-top: auto;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero__content {
    max-width: 760px;
  }

  .player-shell {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 1280px) and (min-width: 1121px) {
  .hero {
    grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
    gap: 28px;
    padding-left: 48px;
    padding-right: 48px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 5.4vw, 4.5rem);
  }

  .hero__lead {
    font-size: clamp(1.08rem, 2vw, 1.35rem);
  }

  .player-dashboard {
    grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  }

  .now-card {
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
    padding: 22px;
  }

  .now-card h3 {
    font-size: clamp(1.45rem, 2.6vw, 2.45rem);
    overflow-wrap: break-word;
  }

  .track-title {
    font-size: clamp(1rem, 1.45vw, 1.2rem);
  }

  .player-controls {
    grid-template-columns: minmax(230px, 0.34fr) minmax(0, 0.42fr) minmax(330px, 0.75fr);
  }
}

@media (max-width: 900px) {
  .player-dashboard,
  .player-controls {
    grid-template-columns: 1fr;
  }

  .mini-history {
    min-height: auto;
  }

  .mini-history__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-status {
    grid-column: auto;
    grid-row: auto;
  }

  .player-controls > .next-track {
    grid-row: auto;
  }

  .volume-control {
    grid-template-columns: 1fr;
  }

  .volume-control label {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .volume-control input {
    width: 100%;
    height: auto;
    writing-mode: horizontal-tb;
    direction: ltr;
    appearance: auto;
  }

  .listen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 86px;
  }

  .mobile-player {
    display: grid;
  }

  .hero,
  .player-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .now-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 18px;
    order: 1;
  }

  .now-card .cover-stack {
    display: grid;
  }

  .cover-stack .cover,
  .cover-stack .track-progress,
  .cover-stack .track-progress__time {
    grid-column: 1;
  }

  .mini-history {
    order: 2;
  }

  .cover {
    width: min(240px, 100%);
    height: auto;
    aspect-ratio: 1;
    justify-self: center;
  }

  .cover-stack {
    justify-items: center;
  }

  .cover-stack .track-progress,
  .cover-stack .track-progress__time {
    width: min(240px, 100%);
  }

  .control-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .play-button {
    width: 58px;
    min-height: 58px;
  }

  .mini-history__list {
    grid-template-columns: 1fr;
  }

  .section-heading--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .listen-grid {
    grid-template-columns: 1fr;
  }

  .history-item img {
    width: 54px;
  }

  .history-time {
    grid-column: 2;
  }

  .post-modal__dialog {
    inset: 12px;
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .post-modal__media {
    min-height: 280px;
    max-height: 46vh;
  }

  .post-modal__nav {
    top: 28%;
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 22px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
    line-height: 0.84;
    overflow-wrap: normal;
  }

  .hero__lead {
    margin-top: 16px;
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
    min-height: 44px;
    max-width: 100%;
  }

  .player-shell,
  .player-dashboard,
  .player-controls {
    gap: 12px;
  }

  .mini-history,
  .now-card,
  .player-controls {
    border-radius: 8px;
  }

  .mini-history {
    padding: 14px;
  }

  .mini-history h2 {
    font-size: 1.55rem;
  }

  .now-card h3 {
    font-size: clamp(1.55rem, 8vw, 2.4rem);
  }

  .track-title {
    font-size: clamp(1rem, 5vw, 1.28rem);
    -webkit-line-clamp: 3;
  }

  .control-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .play-button {
    width: 54px;
    min-height: 54px;
  }

  .next-preview {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .next-cover {
    width: 72px;
    height: 72px;
  }

  .history-section,
  .facebook-section,
  .listen-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 12vw, 3rem);
  }

  .facebook-section .section-heading h2 {
    white-space: normal;
  }

  .history-item {
    gap: 10px;
    padding: 10px;
  }

  .feed-grid {
    columns: 1;
  }

  .fb-card__inner {
    padding: 14px;
  }

  .fb-stats {
    gap: 8px 12px;
    padding: 10px 14px 14px;
  }

  .fb-stats a {
    width: 100%;
    margin-left: 0;
  }

  .listen-item {
    min-height: auto;
    padding: 16px;
  }

  .footer {
    display: grid;
    justify-content: stretch;
    padding-left: 14px;
    padding-right: 14px;
  }

  .post-modal__dialog {
    inset: 8px;
    border-radius: 8px;
  }

  .post-modal__media {
    min-height: 220px;
    max-height: 42vh;
  }

  .post-modal__side {
    padding: 14px;
  }

  .post-modal__nav {
    top: 24%;
    width: 38px;
    height: 58px;
    font-size: 3rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.5rem);
  }

  .cover {
    width: min(210px, 100%);
  }

  .now-card h3 {
    font-size: clamp(1.35rem, 8.5vw, 2rem);
  }

  .control-row {
    grid-template-columns: 1fr;
  }

  .play-button {
    width: 100%;
    min-height: 54px;
  }
}
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
