/*
 * NOWON Radio - Stations page.
 *
 * TABLE OF CONTENTS
 *  1. All stations
 *  2. Right now lanes
 *  3. Weekly schedule
 *  4. Playlist
 *  5. Mood picker
 *  6. Suggest a station
 *  7. Media queries
 */

/* ==========================================================================
   1. All stations
   ========================================================================== */
.stations-aside {
  display: flex;
  align-items: center;
  gap: 18px;
}

.stations-aside__count {
  text-align: right;
}

.stations-aside__live {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.stations-aside__ears {
  margin-top: 4px;
  font-weight: 700;
  font-size: 22px;
}

.stations-aside__ears span {
  font-weight: 300;
  font-size: 15px;
}

.station-scroll {
  border-radius: 20px;
}

.station-panels {
  display: flex;
  gap: 10px;
  height: clamp(480px, 36vw, 640px);
  min-width: 1000px;
}

.station-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--surface-2);
  transition: flex .7s var(--ease-fill), border-color .3s ease;
}

.station-panel.is-open {
  flex: 5.5 1 0;
  border-color: var(--acc-45);
}

.station-panel.is-on {
  border-color: var(--acc);
}

.station-panel__art,
.station-panel__shade {
  position: absolute;
  inset: 0;
}

.station-panel__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.55);
  transition: filter .6s ease, transform 1.2s ease;
}

.station-panel.is-open .station-panel__art {
  filter: none;
  transform: scale(1.06);
}

.station-panel__shade {
  background: linear-gradient(180deg, rgba(18, 17, 16, .05) 20%, rgba(18, 17, 16, .96));
}

.station-panel__ghost {
  position: absolute;
  right: -40px;
  top: -30px;
  color: transparent;
  font-weight: 900;
  font-size: 300px;
  line-height: .8;
  letter-spacing: -.06em;
  opacity: 0;
  transition: opacity .5s ease;
  -webkit-text-stroke: 1.5px var(--acc-25);
}

.station-panel.is-open .station-panel__ghost {
  opacity: 1;
}

.station-panel__top {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--acc);
  font-family: var(--mono);
  font-size: 12px;
}

.station-panel__on {
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--acc);
  color: var(--ink-dark);
  font-family: var(--font);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .15em;
}

.station-panel__on[hidden] {
  display: none;
}

.station-panel__vertical {
  position: absolute;
  left: 24px;
  bottom: 28px;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: .04em;
  white-space: nowrap;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: 0 100%;
  transition: opacity .3s ease;
}

.station-panel.is-on .station-panel__vertical {
  color: var(--acc);
}

.station-panel__level {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  transition: opacity .3s ease;
}

.station-panel__level-fill {
  display: block;
  width: var(--fill, 0%);
  height: 100%;
  border-radius: 2px;
  background: var(--acc);
}

.station-panel.is-open .station-panel__vertical,
.station-panel.is-open .station-panel__level {
  opacity: 0;
}

.station-panel__select {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
}

.station-panel.is-open .station-panel__select {
  visibility: hidden;
}

.station-panel__info {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 32px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.station-panel.is-open .station-panel__info {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .45s ease .2s, transform .55s ease .2s, visibility 0s;
}

.station-panel__name {
  font-weight: 900;
  font-size: clamp(40px, 5vw, 84px);
  line-height: .9;
  letter-spacing: -.045em;
}

.station-panel__line {
  margin-top: 10px;
  color: rgba(245, 237, 216, .8);
  font-size: 16px;
}

.station-panel__now {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 237, 216, .15);
}

.station-panel__track-box {
  min-width: 0;
}

.station-panel__track {
  margin-top: 5px;
  font-weight: 700;
  font-size: 17px;
}

.station-panel__play {
  width: 68px;
  height: 68px;
  font-size: 20px;
}

.station-panel.is-on .station-panel__play {
  box-shadow: 0 0 0 8px var(--acc-20), 0 0 40px var(--acc-45);
}

.station-panel__progress {
  display: block;
  height: 3px;
  margin-top: 18px;
  border-radius: 2px;
  background: var(--line);
}

.station-panel__progress-fill {
  display: block;
  width: calc(var(--progress, 0) * 1%);
  height: 100%;
  border-radius: 2px;
  background: var(--acc);
}

/* ==========================================================================
   2. Right now lanes
   ========================================================================== */
.now-cells {
  display: flex;
  gap: 14px;
}

.now-cell {
  padding: 14px 20px;
  border: 1px solid rgba(245, 237, 216, .1);
  border-radius: 12px;
  background: var(--surface-2);
}

.now-cell--local {
  border-color: color-mix(in srgb, var(--acc) 30%, transparent);
  background: var(--surface-inset);
}

.now-cell__value {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 36px;
}

.now-cell__what {
  margin-top: 2px;
  color: var(--ink-60);
  font-size: 11px;
}

.lanes-scroll {
  border-radius: 20px;
}

.lanes {
  min-width: 1100px;
  padding: 22px 24px 46px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--surface-inset);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}

.lanes__hours {
  display: flex;
  justify-content: space-between;
  height: 22px;
  margin-left: 210px;
}

.lanes__hour {
  display: flex;
  justify-content: center;
  width: 0;
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.lanes__body {
  position: relative;
}

.lane {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 10px -6px 0;
  padding: 6px;
  border-radius: 14px;
  transition: background .25s ease;
}

.lane:hover {
  background: rgba(245, 237, 216, .04);
}

.lane__station {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lane__play {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--acc);
  color: var(--acc);
  font-size: 12px;
}

.lane__play[aria-pressed="true"] {
  background: var(--acc);
  color: var(--ink-dark);
}

.lane__name {
  font-size: 15px;
  letter-spacing: .06em;
  transition: color .25s ease;
}

.lane:hover .lane__name,
.lane.is-on .lane__name {
  color: var(--acc);
}

.lane__meta {
  margin-top: 2px;
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 11px;
}

.lane__blocks {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  height: 66px;
  background: repeating-linear-gradient(90deg, rgba(245, 237, 216, .05) 0 1px, transparent 1px calc(100% / 9));
}

.lane-block {
  display: block;
  min-width: 0;
  height: 100%;
  padding: 0 3px;
  text-align: left;
}

.lane-block--span-1 { grid-column: span 1; }
.lane-block--span-2 { grid-column: span 2; }
.lane-block--span-3 { grid-column: span 3; }
.lane-block--span-4 { grid-column: span 4; }
.lane-block--span-5 { grid-column: span 5; }

.lane-block__box {
  position: relative;
  display: block;
  height: 100%;
  padding: 10px 14px;
  overflow: hidden;
  border: 1.5px solid transparent;
  border-radius: 10px;
  transition: transform .25s ease;
}

.lane:hover .lane-block__box {
  transform: translateY(-2px);
}

.lane-block--past .lane-block__box {
  background: #1a1917;
  color: var(--ink-60);
}

.lane-block--live .lane-block__box {
  background: var(--acc);
  color: var(--ink-dark);
}

.lane-block--next .lane-block__box {
  border-color: rgba(245, 237, 216, .25);
}

.lane-block__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--progress, 0) * 1%);
  background: rgba(18, 17, 16, .14);
  transition: width 1s linear;
}

.lane-block__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.lane-block__name {
  font-size: 14px;
}

.lane-block__tag {
  flex: none;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: .15em;
}

.lane-block__sub {
  position: relative;
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

.lanes__now {
  position: absolute;
  left: calc(210px + (100% - 210px) * var(--frac, .4));
  top: 0;
  bottom: -10px;
  width: 2px;
  margin-left: -1px;
  background: var(--live);
  box-shadow: 0 0 16px rgba(226, 64, 47, .9);
  pointer-events: none;
  transition: left 1s linear;
}

.lanes__now-tag {
  position: absolute;
  left: 50%;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--live);
  color: var(--on-live);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* ==========================================================================
   3. Weekly schedule
   ========================================================================== */
.schedule-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.station-tabs {
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  background: var(--surface-2);
}

.station-tabs .segmented__item {
  height: 40px;
  letter-spacing: .12em;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(245, 237, 216, .7);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .15em;
}

.legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend__swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.legend__swatch--live {
  background: var(--acc);
}

.legend__swatch--replay {
  background: #3a3732;
}

.legend__swatch--next {
  border: 1px solid rgba(245, 237, 216, .4);
}

.day-scroll {
  border-radius: 18px;
}

.day-cols {
  display: flex;
  gap: 8px;
  height: 640px;
  min-width: 1100px;
}

.day-col {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 237, 216, .06);
  border-radius: 18px;
  background: #161513;
  cursor: pointer;
  transition: flex .6s var(--ease-fill), border-color .3s ease;
}

.day-col.is-open {
  flex: 6 1 0;
  border-color: var(--acc-45);
  background: var(--surface-2);
}

.day-col__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(245, 237, 216, .1);
  text-align: left;
}

.day-col__date {
  display: block;
}

.day-col__week {
  display: block;
  color: var(--ink-60);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .2em;
}

.day-col.is-today .day-col__week {
  color: var(--acc);
}

.day-col__num {
  display: block;
  margin-top: 4px;
  font-weight: 900;
  font-size: 34px;
  line-height: .9;
  letter-spacing: -.03em;
  transition: font-size .4s ease;
}

.day-col.is-open .day-col__num {
  font-size: 64px;
}

.day-col__full {
  display: block;
  text-align: right;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease .2s;
}

.day-col.is-open .day-col__full,
.day-col.is-open .slot__text,
.day-col.is-open .slot__cta,
.day-col.is-open .day-col__now-tag {
  opacity: 1;
  visibility: visible;
}

.day-col__name {
  display: block;
  font-weight: 200;
  font-size: 30px;
  letter-spacing: -.02em;
}

.day-col__tag {
  display: block;
  margin-top: 2px;
  color: var(--ink-60);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
}

.day-col__slots {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 6px;
}

.slot {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  gap: 16px;
  min-height: 0;
  margin: 3px 0;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  white-space: nowrap;
}

.slot--live {
  background: var(--acc);
  color: var(--ink-dark);
}

.slot--past {
  background: #24221f;
  color: var(--ink-60);
}

.slot--next {
  border-color: rgba(245, 237, 216, .18);
}

.slot__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--progress, 0) * 1%);
  background: rgba(18, 17, 16, .14);
}

.slot__time {
  position: relative;
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
}

.slot__text {
  position: relative;
  flex: 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease .2s;
}

.slot__name {
  display: block;
  font-size: 17px;
}

.slot__host {
  display: block;
  margin-top: 2px;
  font-size: 12px;
}

.slot__cta {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .12em;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease .25s, background .2s ease, color .2s ease;
}

.slot__cta[hidden] {
  display: none;
}

.slot__cta[aria-pressed="true"] {
  border-color: transparent;
  background: var(--acc);
  color: var(--ink-dark);
}

.slot--past .slot__cta {
  color: var(--ink);
}

.slot--live .slot__cta {
  border-color: var(--ink-dark);
  background: var(--ink-dark);
  color: var(--acc);
}

.day-col__now {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--now-top, 50%);
  z-index: 1;
  height: 2px;
  background: var(--live);
  box-shadow: 0 0 12px rgba(226, 64, 47, .8);
  pointer-events: none;
}

.day-col__now-tag {
  position: absolute;
  left: 10px;
  top: -10px;
  display: flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: var(--live);
  color: var(--on-live);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  white-space: pre;
  opacity: 0;
  visibility: hidden;
}

/* ==========================================================================
   4. Playlist
   ========================================================================== */
.playlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
  gap: 48px;
  align-items: stretch;
}

.now-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent);
  border-radius: 24px;
  background: var(--surface-2);
}

.now-card__num {
  position: absolute;
  right: -20px;
  top: -30px;
  color: transparent;
  font-weight: 900;
  font-size: 220px;
  line-height: .8;
  letter-spacing: -.06em;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--acc) 12%, transparent);
}

.now-card__top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 34px;
}

.now-card__disc {
  position: relative;
  flex: none;
  width: 260px;
  height: 260px;
  padding: 8px;
  border-radius: 50%;
  background: conic-gradient(var(--acc) 0 var(--deg, 0deg), rgba(245, 237, 216, .1) var(--deg, 0deg) 360deg);
}

.now-card__disc-time {
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--ink-dark);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.now-card__intro {
  min-width: 0;
}

.now-card__status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.now-card__title {
  margin-top: 12px;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.now-card__artist {
  margin-top: 6px;
  color: var(--ink-75);
  font-size: 17px;
}

.now-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.now-card__tag {
  height: 28px;
  padding: 0 12px;
  border-color: rgba(245, 237, 216, .22);
  letter-spacing: .12em;
}

.now-card__wave {
  position: relative;
  width: 100%;
  height: 56px;
  margin-top: 30px;
}

.now-card__times {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 12px;
}

.now-card__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.now-card__fact {
  min-width: 0;
  padding: 14px 0 14px 14px;
  border-left: 1px solid var(--line);
}

.now-card__fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.now-card__fact-label {
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
}

.now-card__fact-value {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 14px;
}

.now-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.is-channel-on .now-card__play[aria-pressed="true"] {
  box-shadow: 0 0 0 6px var(--acc-20);
}

.now-card__save,
.now-card__link {
  height: 52px;
  font-size: 12px;
}

.now-card__save {
  padding: 0 22px;
}

.now-card__link {
  padding: 0 20px;
  font-weight: 700;
}

.now-card__save[aria-pressed="true"] {
  border-color: var(--acc);
  background: var(--acc);
  color: var(--ink-dark);
}

.history {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 34px;
}

.history::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1.5px;
  background: linear-gradient(var(--acc), rgba(245, 237, 216, .1));
}

.history__head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  color: var(--ink-60);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
}

.history__rows {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.history-row {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 12px;
  transition: background .25s ease, transform .25s ease;
}

.history-row::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -6px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: rgba(245, 237, 216, .35);
}

.history-row--first::before {
  background: var(--acc);
}

.history-row:hover {
  background: var(--surface-2);
  transform: translateX(6px);
}

.history-row__art {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  transition: box-shadow .25s ease;
}

.history-row:hover .history-row__art {
  box-shadow: 0 8px 18px rgba(0, 0, 0, .5);
}

.history-row__text {
  min-width: 0;
}

.history-row__title {
  display: block;
  font-size: 16px;
  transition: color .25s ease;
}

.history-row:hover .history-row__title {
  color: var(--acc);
}

.history-row__artist {
  display: block;
  margin-top: 2px;
  color: var(--ink-60);
  font-size: 12px;
}

.history-row__len {
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 12px;
}

.history-row__like {
  width: 36px;
  height: 36px;
}

/* ==========================================================================
   5. Mood picker
   ========================================================================== */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}

.mood-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 26px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
  text-align: left;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s cubic-bezier(.3, 1.3, .5, 1);
}

.mood-card:hover {
  border-color: var(--acc);
}

.mood-card[aria-pressed="true"] {
  border-color: var(--acc);
  background: var(--acc);
  color: var(--ink-dark);
  transform: translateY(-8px);
}

.mood-card__icon {
  font-size: 34px;
  line-height: 1;
}

.mood-card__name {
  margin-top: auto;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -.03em;
}

.mood-card__text {
  margin-top: 6px;
  font-size: 13px;
}

.mood-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 22px 26px;
  border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent);
  border-radius: 18px;
  background: var(--surface-2);
}

.mood-result__text {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.mood-result__disc {
  --play-state: running;
  flex: none;
  width: 64px;
  height: 64px;
}

.mood-result__name {
  margin-top: 4px;
  font-weight: 900;
  font-size: 26px;
}

.mood-result__why {
  margin-top: 2px;
  color: rgba(245, 237, 216, .65);
  font-size: 13px;
}

/* ==========================================================================
   6. Suggest a station
   ========================================================================== */
.suggest {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 60px;
  align-items: center;
}

.suggest__label {
  margin-top: 26px;
  color: var(--ink-60);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3em;
}

.suggest__label--first {
  margin-top: 34px;
}

.suggest__genres {
  margin-top: 12px;
}

.suggest__genres .chips {
  gap: 8px;
}

.suggest__genres .chip {
  height: 42px;
  padding: 0 18px;
  letter-spacing: .12em;
}

.suggest__moods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.suggest-mood,
.suggest-time {
  border: 1.5px solid rgba(245, 237, 216, .2);
  font-weight: 700;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.suggest-mood:hover,
.suggest-time:hover {
  border-color: var(--acc);
}

.suggest-mood[aria-pressed="true"],
.suggest-time[aria-pressed="true"] {
  border-color: var(--acc);
  background: var(--acc);
  color: var(--ink-dark);
}

.suggest-mood {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 70px;
  border-radius: 14px;
}

.suggest-mood__icon {
  font-size: 20px;
}

.suggest-mood__label {
  font-size: 11px;
  letter-spacing: .12em;
}

.suggest__times {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.suggest-time {
  flex: 1;
  height: 46px;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .1em;
}

.sleeve-stage {
  --sleeve: min(400px, 72vw);
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
  height: calc(var(--sleeve) + 160px);
  overflow: hidden;
}

.sleeve-stage__disc {
  --play-state: running;
  position: absolute;
  left: calc(var(--sleeve) * .375);
  top: calc(var(--sleeve) * .1);
  width: calc(var(--sleeve) * .9);
  height: calc(var(--sleeve) * .9);
}

.sleeve-stage__disc .vinyl {
  animation-duration: 4s;
}

.sleeve {
  position: absolute;
  left: 0;
  top: calc(var(--sleeve) * .05);
  display: flex;
  flex-direction: column;
  width: var(--sleeve);
  height: var(--sleeve);
  padding: calc(var(--sleeve) * .075);
  border-radius: 8px;
  background: var(--acc);
  color: var(--ink-dark);
  box-shadow: 24px 0 50px rgba(0, 0, 0, .55);
  transition: background .5s ease;
}

.sleeve[data-sleeve="1"] {
  background: #ff6a2b;
}

.sleeve[data-sleeve="2"] {
  background: #8fe3b6;
}

.sleeve[data-sleeve="3"] {
  background: #b8a4ff;
}

.sleeve__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
}

.sleeve__icon {
  margin-top: auto;
  font-size: 40px;
  line-height: 1;
}

.sleeve__name {
  margin-top: 12px;
  font-weight: 900;
  font-size: calc(var(--sleeve) * .125);
  line-height: .9;
  letter-spacing: -.04em;
}

.sleeve__sub {
  margin-top: 10px;
  font-weight: 600;
  font-size: 13px;
}

.sleeve-send {
  position: absolute;
  left: 0;
  bottom: 30px;
  width: var(--sleeve);
  min-height: 62px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: var(--acc);
  color: var(--ink-dark);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .12em;
  transition: background .25s ease;
}

.sleeve-send.is-sent {
  background: var(--cream);
}

/* ==========================================================================
   7. Media queries (widest first)
   ========================================================================== */
@media (max-width: 1599.98px) {
  .now-card__disc {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 1199.98px) {
  .suggest {
    gap: 40px;
  }

  .sleeve-stage {
    justify-self: start;
  }
}

@media (max-width: 767.98px) {
  .section-head--inner > div {
    min-width: 0;
  }

  .stations-aside {
    width: 100%;
  }

  .stations-aside__count {
    flex: 1;
    text-align: left;
  }

  .stations-aside__live {
    justify-content: flex-start;
  }

  /* All stations: the row of tall panels becomes a vertical accordion. */
  .station-scroll {
    overflow: visible;
  }

  .station-panels {
    flex-direction: column;
    height: auto;
    min-width: 0;
  }

  .station-panel,
  .station-panel.is-open {
    flex: none;
  }

  .station-panel {
    height: 72px;
    transition: height .5s var(--ease-fill), border-color .3s ease;
  }

  .station-panel.is-open {
    height: 420px;
  }

  .station-panel__ghost {
    right: -20px;
    top: -10px;
    font-size: 200px;
  }

  .station-panel__top {
    top: 22px;
  }

  .station-panel__vertical {
    left: 84px;
    top: 20px;
    bottom: auto;
    font-size: 22px;
    letter-spacing: 0;
    transform: none;
  }

  .station-panel__level {
    bottom: 10px;
  }

  .station-panel__info {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .station-panel__track {
    white-space: normal;
  }

  .station-panel__play {
    width: 60px;
    height: 60px;
  }

  .now-cells {
    flex-wrap: wrap;
    width: 100%;
  }

  .now-cell {
    flex: 1 1 140px;
  }

  .now-cell__value {
    font-size: 26px;
  }

  .schedule-aside {
    align-items: flex-start;
  }

  .station-tabs {
    border-radius: 24px;
  }

  .station-tabs .segmented__item {
    padding: 0 12px;
  }

  .legend,
  .now-card__fact-label,
  .now-cell__what,
  .lane__meta,
  .lanes__hour,
  .lanes__now-tag,
  .lane-block__sub,
  .slot__cta,
  .day-col__tag,
  .day-col__now-tag,
  .now-card__times,
  .suggest__label,
  .history__head,
  .suggest-mood__label,
  .history-row__len,
  .history-row__artist,
  .lane-block__tag,
  .sleeve__top,
  .station-panel__top,
  .station-panel__on,
  .now-card__tag {
    font-size: 12px;
  }

  /* Schedule: one row per day, the open day shows its slots. */
  .day-scroll {
    overflow: visible;
  }

  .day-cols {
    flex-direction: column;
    height: auto;
    min-width: 0;
  }

  .day-col,
  .day-col.is-open {
    flex: none;
  }

  .day-col__slots {
    display: none;
  }

  .day-col.is-open .day-col__slots {
    display: flex;
  }

  .day-col__now {
    display: none;
  }

  .day-col__head {
    padding: 14px 16px;
  }

  .day-col__full {
    opacity: 1;
    visibility: visible;
  }

  .day-col__name {
    font-size: 20px;
  }

  .day-col.is-open .day-col__num {
    font-size: 44px;
  }

  .slot {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 12px;
    white-space: normal;
  }

  .slot__text {
    flex: 1 1 60%;
  }

  .slot__cta {
    margin-left: 52px;
  }

  /* Playlist */
  .now-card {
    padding: 20px;
  }

  .now-card__num {
    font-size: 140px;
  }

  .now-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .now-card__title {
    font-size: 32px;
  }

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

  .now-card__fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .now-card__fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .now-card__link {
    flex: 1 1 auto;
  }

  .history {
    padding-left: 24px;
  }

  .history::before {
    left: 4px;
  }

  .history-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px 4px;
  }

  .history-row::before {
    left: -26px;
  }

  .history-row:hover {
    transform: none;
  }

  .history-row__art {
    width: 44px;
    height: 44px;
  }

  .history-row__len {
    display: none;
  }

  /* Mood picker */
  .mood-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 8px;
  }

  .mood-card {
    min-height: 176px;
    padding: 18px;
  }

  .mood-card__name {
    font-size: 24px;
  }

  .mood-card__text {
    font-size: 13px;
  }

  .mood-result {
    padding: 18px;
  }

  .mood-result__name {
    font-size: 22px;
  }

  .mood-result .btn {
    width: 100%;
  }

  /* Suggest */
  .suggest__times {
    flex-wrap: wrap;
  }

  .suggest-time {
    flex: 1 1 40%;
  }

  .sleeve-stage {
    height: auto;
    padding-top: calc(var(--sleeve) * 1.05);
  }

  .sleeve-send {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 379.98px) {
  .stations-aside {
    flex-wrap: wrap;
  }

  .stations-aside__count {
    flex-basis: 100%;
  }

  .station-panel__name {
    font-size: 34px;
  }

  .station-panel__play {
    width: 52px;
    height: 52px;
  }

  .now-card__save,
  .now-card__link {
    width: 100%;
  }

  .now-card__disc {
    width: 180px;
    height: 180px;
  }

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

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

  .mood-card {
    min-height: 140px;
  }

  .mood-result__text {
    flex-direction: column;
    align-items: flex-start;
  }
}
