.stations-page {
  padding-top: 56px;
}

.stations-page-head {
  margin-bottom: 22px;
}

.stations-page-head h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}

.stations-page-head p {
  color: var(--text-soft);
}

.stations-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}

.stations-main {
  min-width: 0;
}

.stations-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.station-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--panel);
  border: 1px solid #dfe8f2;
  border-radius: 24px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.station-row-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #cfe0ff;
}

/* =========================
   Featured station card
========================= */
.station-row-card.is-featured {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.12);
}

.station-row-card.is-featured:hover {
  border-color: #f59e0b;
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.16);
}

.station-row-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  flex: 1;
}

.station-row-thumb {
  width: 152px;
  height: 96px;
  border-radius: 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  box-sizing: border-box;
}

.station-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
}

.station-row-thumb span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.station-row-content {
  min-width: 0;
  flex: 1;
}

.station-row-title-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.station-row-title-line h2 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.station-row-title-line h2 a {
  color: #e11d48;
  transition: color var(--transition);
}

.station-row-title-line h2 a:hover {
  color: #be123c;
}

.station-row-location {
  color: #64748b;
  font-style: italic;
  font-size: 1rem;
}

.station-row-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.station-category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

/* =========================
   Station tags
========================= */
.station-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.station-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #dbe5f0;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.station-tag-play {
  font-size: 0.75rem;
  color: #64748b;
}

button.station-tag-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

button.station-tag-more:hover {
  background: #e0e7ff;
  border-color: #a5b4fc;
  color: #3730a3;
}

button.station-tag-more:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}

.station-row-tags-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.station-row-tags-extra[hidden] {
  display: none !important;
}

.station-row-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.station-action-btn,
.station-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.station-action-btn svg,
.station-play-btn svg {
  display: block;
  flex-shrink: 0;
}

.station-action-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  color: #94a3b8;
}

.station-action-btn svg {
  width: 22px;
  height: 22px;
}

.station-action-btn:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  color: #64748b;
}

.station-play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef6a5b 0%, #d65347 100%);
  color: #ffffff;
  border: 4px solid #ffffff;
  box-shadow: 0 16px 34px rgba(214, 83, 71, 0.24);
}

.station-play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 3px;
}

.station-play-btn:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 18px 36px rgba(239, 68, 68, 0.28);
}

.stations-empty {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stations-empty strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.stations-empty span {
  color: var(--text-soft);
}

.home-hero.hero-compact {
  min-height: 70svh;
  padding: 170px 0 40px;
}

.home-hero.hero-compact .home-hero-title {
  margin-bottom: 14px;
}

.home-hero.hero-compact .home-hero-subtitle {
  margin: 0 auto 24px;
}

/* Favorites */
.station-favorite-form {
  margin: 0;
  display: inline-flex;
}

button.station-action-btn.station-favorite-btn {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 0;
}

.station-favorite-btn.is-active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: rgba(255, 255, 255, 0.96);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.24);
}

.station-favorite-btn.is-active:hover {
  background: linear-gradient(135deg, #f05252 0%, #c81e1e 100%);
  border-color: #ffffff;
  color: #ffffff;
}

/* Report */
.station-report-btn {
  cursor: pointer;
  color: #f59e0b;
}

.station-report-btn svg {
  width: 20px;
  height: 20px;
}

button.station-action-btn.station-report-btn {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
}

.station-report-btn:hover {
  transform: translateY(-1px);
  background: #fff7ed;
  border-color: #fdba74;
  color: #ea580c;
}

@media (max-width: 1199px) {
  .stations-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

@media (max-width: 991px) {
  .home-hero.hero-compact {
    min-height: auto;
    padding: 168px 0 34px;
  }

  .stations-layout {
    grid-template-columns: 1fr;
  }

  .station-row-card {
    flex-direction: column;
    align-items: stretch;
  }

  .station-row-actions {
    justify-content: center;
    padding-top: 10px;
  }
}

@media (max-width: 767px) {
  .home-hero.hero-compact {
    min-height: auto;
    padding: 180px 0 26px;
  }

  .home-hero.hero-compact .home-hero-title {
    max-width: 100%;
    margin: 0 auto 12px;
    white-space: normal;
    font-size: clamp(1.82rem, 8vw, 2.45rem);
    line-height: 1.1;
    text-align: center;
  }

  .home-hero.hero-compact .home-hero-subtitle {
    max-width: 620px;
    margin: 0 auto 18px;
    text-align: center;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .stations-page {
    padding-top: 32px;
  }

  .stations-page-head {
    margin-bottom: 18px;
    text-align: center;
  }

  .station-row-card {
    padding: 18px 16px 20px;
    border-radius: 22px;
    gap: 16px;
  }

  .station-row-left {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
  }

  .station-row-thumb {
    width: 100%;
    max-width: 320px;
    height: 150px;
    border-radius: 22px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 14px 18px;
    margin: 0 auto;
  }

  .station-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    display: block;
  }

  .station-row-content {
    width: 100%;
    text-align: center;
  }

  .station-row-title-line {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    text-align: center;
  }

  .station-row-title-line h2 {
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .station-row-location {
    font-size: 0.95rem;
  }

  .station-row-meta {
    justify-content: center;
    margin-bottom: 12px;
  }

  .station-row-tags,
  .station-row-tags-extra {
    justify-content: center;
  }

  .station-tag,
  .station-tag-more {
    justify-content: center;
  }

  .station-row-actions {
    width: 100%;
    justify-content: center;
    padding-top: 2px;
    gap: 12px;
  }

  .station-play-btn {
    width: 74px;
    height: 74px;
  }

  .station-play-btn svg {
    width: 26px;
    height: 26px;
  }

  .station-action-btn,
  .station-favorite-btn {
    width: 42px;
    height: 42px;
  }

  .station-action-btn svg,
  .station-favorite-btn svg {
    width: 20px;
    height: 20px;
  }
}