/* Theme 04 — module pieces, no cards */

/* Carousel */
.vcarousel { display: block; }

.vcarousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 96px) / 4);
  gap: 32px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.vcarousel__track::-webkit-scrollbar { display: none; }
.vcarousel__track > * { scroll-snap-align: start; }

.mod-pair .vcarousel__track { grid-auto-columns: calc((100% - 32px) / 2); }
.vcarousel--single .vcarousel__track { grid-auto-columns: 100%; gap: 0; }

.vcarousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 30px;
}

.vcarousel__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--fg);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color var(--ease), transform var(--ease);
}

.vcarousel__arrow:hover { color: var(--accent); background: none; }
.vcarousel__arrow--prev:hover { transform: translateX(-3px); }
.vcarousel__arrow--next:hover { transform: translateX(3px); }
.vcarousel__arrow[hidden] { visibility: hidden; }
.vcarousel__arrow svg { width: 22px; height: 22px; }

.vcarousel__dots {
  display: flex;
  align-items: center;
  width: 76px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

/* Track fills from the start up to the current slide */
.vcarousel__dots span { flex: 1 1 auto; height: 2px; background: var(--accent); transition: background var(--ease); }
.vcarousel__dots span.is-active ~ span { background: transparent; }

/* Highlights */
.hl {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 420px;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.hl::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.82) 6%, rgba(0, 0, 0, 0.45) 46%, rgba(0, 0, 0, 0.1));
}

/* Image highlight carries no text, so it carries no veil either */
.hl--plain::after { display: none; }

.hl__text { position: relative; z-index: 1; max-width: 62ch; }

.hl__cat {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hl__text b { display: block; margin-bottom: 8px; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.hl__desc { display: block; font-size: 16px; opacity: 0.86; }

.mod-pair .hl { height: 320px; padding: 26px; }
.mod-pair .hl__text b { font-size: 24px; }

/* Slides */
.slides__item { display: block; }
.slides__img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.slides--fade .vcarousel__track { grid-auto-flow: row; overflow: visible; }
.slides--fade .vcarousel__track > * { grid-area: 1 / 1; opacity: 0; transition: opacity var(--slide-speed, 400ms); }
.slides--fade .vcarousel__track > .is-on { opacity: 1; }

/* News */
.news { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 32px; }
.mod-pair .news { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.news__item { display: block; }
.news__item:hover .news__title { color: var(--accent); }

.news__media {
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
}

.news__body { display: block; }

.news__cat {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.news__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.6em;
  margin: 0;
  overflow: hidden;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--fg);
  transition: color var(--ease);
}

.news__date { display: block; margin-top: 9px; font-size: 16px; font-weight: 500; color: var(--muted-fg); }

/* External feed */
.feed { margin: 0; padding: 0; list-style: none; }
.feed li + li .feed__item { border-top: 1px solid var(--border-2); }

.feed__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 0; }
.feed__item:has(.feed__thumb) { grid-template-columns: 92px minmax(0, 1fr); }
.feed__thumb { aspect-ratio: 16 / 10; background-color: var(--surface); background-size: cover; background-position: center; border-radius: var(--radius-sm); }
.feed__date { display: block; margin-bottom: 5px; font-size: 16px; font-weight: 500; color: var(--muted-fg); }
.feed__title { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; }
.feed__item:hover .feed__title { color: var(--accent); }

/* Videos, albums, events, promos */
.vcard, .acard, .ecard, .promo { display: block; color: inherit; }

.vcard__thumb, .acard__thumb, .ecard__thumb, .promo__img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 13px;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
}

.vcard__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transition: background var(--ease);
}

.vcard__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -4px;
  border: 8px solid transparent;
  border-left: 12px solid #fff;
}

.vcard:hover .vcard__play { background: rgba(0, 0, 0, 0.5); }

.acard__name, .promo__name, .ecard__name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--fg);
}

/* Video title rides over the cover, shown on hover */
.vcard__thumb { margin-bottom: 0; overflow: hidden; }

.vcard__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82));
  opacity: 0;
  transition: opacity var(--ease);
}

.vcard:hover .vcard__thumb::after { opacity: 1; }

.vcard__title {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease);
}

.vcard:hover .vcard__title,
.vcard:focus-visible .vcard__title { opacity: 1; transform: translateY(0); }

.acard__meta, .ecard__meta {
  display: block;
  margin-top: 7px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted-fg);
}

.acard:hover .acard__name,
.ecard:hover .ecard__name,
.promo:hover .promo__name { color: var(--accent); }

.ecard__thumb { overflow: hidden; }

.ecard__date {
  position: absolute;
  top: 12px;
  left: 12px;
  display: block;
  padding: 8px 12px 7px;
  text-align: center;
  color: var(--fg);
  background: var(--bg);
  border-radius: 10px;
}

.ecard__date b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ecard__date span { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; line-height: 1; text-transform: uppercase; color: var(--muted-fg); }

.promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mod-pair .promos { grid-template-columns: minmax(0, 1fr); }

.promo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  padding: 26px;
  overflow: hidden;
  color: #fff;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.85));
  transition: opacity var(--ease);
}

.promo:hover::after { opacity: 0.82; }
.promo__info { position: relative; z-index: 1; display: block; }

.promo__date {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-fg);
  background: var(--accent);
  border-radius: 999px;
}

.promo__name { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: #fff; }
.promo:hover .promo__name { color: #fff; }

/* Top tracks */
.tracks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracks.vcarousel__track { grid-template-columns: none; gap: 24px; }
.mod-pair .tracks.vcarousel__track { grid-auto-columns: calc((100% - 48px) / 3); }
.mod-pair .tracks:not(.vcarousel__track) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mod-pair .tracks .tn { font-size: 34px; left: 12px; }

.tracks a { display: block; color: var(--fg); }

.tracks .tcv {
  position: relative;
  display: block;
  aspect-ratio: 1;
  margin-bottom: 12px;
  overflow: hidden;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.tracks .tcv::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.7));
}

/* Rank sits large on the cover corner, chart style */
.tracks .tn {
  position: absolute;
  bottom: 4px;
  left: 16px;
  z-index: 1;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}

.tracks .ti { display: block; min-width: 0; }
.tracks .ti b { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; }
.tracks .ti small { display: block; margin-top: 3px; font-size: 16px; font-weight: 500; color: var(--muted-fg); }
.tracks a:hover .ti b { color: var(--accent); }

/* On air, host online, last played — markup comes from utils.js */
.onair-card {
  position: relative;
  padding: 24px 28px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.onair-card__live {
  position: absolute;
  top: 24px;
  right: 28px;
  padding: 4px 13px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
}

.onair-card:not(:has(.onAir > *)) { display: none; }

.onAir > div, .locOnline > div { display: flex; align-items: center; gap: 20px; margin: 0 !important; padding: 0; }

.onAir .current-img {
  width: 86px !important;
  height: 86px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  border-radius: var(--radius-sm) !important;
}

.locOnline img {
  display: block;
  width: 74px !important;
  height: 74px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 50% !important;
}

.onAir .flex-grow-1 > small { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 700; color: var(--accent); }

.onAir p small { display: inline; margin: 0; font-size: 16px; font-weight: 500; color: var(--muted-fg); }
.onAir h6, .locOnline h5 { margin: 0 0 4px !important; font-size: 23px !important; font-weight: 800 !important; letter-spacing: -0.025em; }
.onAir p, .locOnline p { margin: 0; font-size: 16px !important; font-weight: 500; color: var(--muted-fg) !important; }
.locOnline .inner-circle { width: auto; height: auto; padding: 0; background: none; border: 0; border-radius: 0; animation: none; }

/* Live ring around the host photo */
.locOnline .outer-circle {
  position: relative;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
}

.locOnline .outer-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: locPulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes locPulse {
  0% { transform: scale(1); opacity: 0.85; }
  75% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

.locOnline p { display: flex; align-items: center; gap: 8px; }

.locOnline p::before {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  animation: locBlink 2.6s ease-in-out infinite;
}

@keyframes locBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .locOnline .outer-circle::after, .locOnline p::before { animation: none; }
}

.onair-next { margin-top: 30px; }

.onair-next__label {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.onair-next ul { margin: 0; padding: 0; list-style: none; }

.onair-next li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--border-2);
}

.onair-next span { font-size: 16px; font-weight: 700; color: var(--muted-fg); }
.onair-next b { font-size: 17px; font-weight: 600; }
.onair-next__host { font-size: 16px; font-style: normal; font-weight: 500; text-align: right; color: var(--muted-fg); }

@media (max-width: 700px) {
  .onair-card { padding: 22px; }
  .onair-card__live { position: static; display: inline-block; margin-bottom: 12px; }
  .onair-next li { grid-template-columns: 60px minmax(0, 1fr); }
  .onair-next__host { display: none; }
}

.played-list > * + * { border-top: 1px solid var(--border-2); }

/* utils.js fades older rows: this theme keeps them all at the same weight */
.played-list .played-item {
  display: flex !important;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 13px 0 !important;
  white-space: normal !important;
  opacity: 1 !important;
}

/* Global addons.css pins this badge and loads later, hence the overrides */
.played-list .played-item .list-count {
  position: static !important;
  display: grid;
  place-items: center;
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0;
  margin: 0 !important;
  color: var(--muted-fg) !important;
  background: var(--surface) !important;
  border-radius: 10px !important;
}

/* First row is the one playing */
.played-item:first-child .list-count { color: var(--accent-fg) !important; background: var(--accent) !important; }
.played-item .text-large { min-width: 0; font-size: 17px; font-weight: 600; color: var(--fg); }
.played-item:first-child .text-large { font-weight: 700; }
.played-waiting { padding: 0 !important; font-size: 16px; color: var(--muted-fg); }

/* Messages */
.msgs__item {
  position: relative;
  display: block;
  padding: 30px 34px 26px 76px;
  background: var(--surface);
  border-radius: var(--radius);
}

.msgs__item::before {
  content: '“';
  position: absolute;
  top: 8px;
  left: 26px;
  font-size: 74px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.msgs p { margin: 0 0 14px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.5; color: var(--fg); }
.msgs__h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; }
.msgs__h b { font-size: 16px; font-weight: 700; }
.msgs__h time { flex-shrink: 0; font-size: 16px; font-weight: 500; color: var(--muted-fg); }
.msgs__h time::before { content: "·"; margin-right: 12px; color: var(--border); }
.card__acts { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }

.card__acts .link-more {
  padding: 11px 22px;
  color: var(--accent-fg);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  transition: filter var(--ease);
}

.card__acts .link-more:hover { color: var(--accent-fg); filter: brightness(1.06); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  transition: gap var(--ease);
}

.link-more:hover { color: var(--accent); gap: 12px; }
.link-more svg { width: 18px; height: 18px; }

/* Poll */
.poll__q { margin: 0 0 18px; font-size: 19px; font-weight: 700; }
.poll__hint { margin: 0 0 14px; font-size: 16px; color: var(--muted-fg); }
.poll-area input { position: absolute; opacity: 0; pointer-events: none; }
.poll-area label { display: block; cursor: pointer; }
.poll-area .row { display: flex; align-items: center; gap: 12px; padding: 15px 0 13px; }
.poll-area .column { display: flex; align-items: center; gap: 12px; min-width: 0; }
.poll-area .text { font-size: 16px; font-weight: 600; }
.poll-area .percent { margin-left: auto; font-size: 16px; font-weight: 700; color: var(--accent); }

.poll-area .circle {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 50%;
  transition: border-color var(--ease), border-width var(--ease);
}

.poll-area input:checked + label .circle { border-color: var(--accent); border-width: 6px; }
.poll-area .progress { height: 2px; margin-bottom: 6px; background: var(--border-2); border-radius: 2px; overflow: hidden; }
.poll-area .input-captcha { margin-top: 28px; }
.votes-percentage-bg { display: block; height: 100%; background: var(--accent) !important; }
.poll__actions { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.parcialBtn { font-size: 16px; font-weight: 700; color: var(--muted-fg); background: none; border: 0; cursor: pointer; }
.parcialBtn:hover { color: var(--accent); }

/* Overrides pages.css, which loads later */
.poll__actions .voteBtn {
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-fg);
  background: var(--accent) !important;
  border: 0;
  border-radius: 999px;
  transition: filter var(--ease);
}

.poll__actions .voteBtn:hover { color: var(--accent-fg); filter: brightness(1.06); }

.poll__actions .voteBtn[disabled] {
  color: var(--muted-fg);
  background: var(--surface) !important;
  cursor: default;
  filter: none;
}
.poll__status { margin-top: 16px; }
.poll__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--muted-fg); }
.poll__badge svg { width: 16px; height: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.stat { display: flex; align-items: center; gap: 16px; }
.stat__icon { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; color: var(--accent); background: var(--surface); border-radius: var(--radius-sm); }
.stat__icon svg { width: 24px; height: 24px; }
.stat__info { display: block; min-width: 0; }
.stat__label { display: block; font-size: 16px; font-weight: 500; color: var(--muted-fg); }
.stat b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }

/* Links, side menu, socials */
.links { margin: 0; padding: 0; list-style: none; }
.links li + li { border-top: 1px solid var(--border-2); }
.links a { display: block; padding: 13px 0; font-size: 17px; font-weight: 600; color: var(--fg); }
.links li:first-child a { padding-top: 0; }
.links a:hover { color: var(--accent); }

.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(50px, 61px)); gap: 10px; }

.socials a {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-size: 25px;
  color: var(--fg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease), border-color var(--ease);
}

.socials a:hover { color: var(--accent-fg); background: var(--accent); border-color: var(--accent); }
.socials svg { width: 1em; height: 1em; }

/* App */
.app-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 36px; }
.app-card__text b { display: block; margin-bottom: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.app-card__text p { margin: 0; font-size: 16px; font-weight: 500; color: var(--muted-fg); }
.app-card__links { display: flex; flex-wrap: wrap; gap: 12px; }

.app-store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--fg);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  transition: border-color var(--ease);
}

.app-store:hover { color: var(--fg); border-color: var(--fg); }
.app-store svg { width: 26px; height: 26px; flex-shrink: 0; }
.app-store span { display: block; }
.app-store small { display: block; font-size: 16px; font-weight: 500; color: var(--muted-fg); }
.app-store b { display: block; font-size: 17px; font-weight: 700; }

/* Podcast */
.podcast { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: center; }

/* Square, the shape podcast artwork is made in: nothing is cropped or stretched */
.podcast__cover {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.podcast__play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--accent-fg);
  background: var(--accent);
  border-radius: 50%;
  transition: filter var(--ease);
}

.podcast__play svg { width: 19px; height: 19px; margin-left: 3px; }
.podcast__cover:hover .podcast__play { filter: brightness(1.08); }

.podcast__body { min-width: 0; }
.podcast__meta { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

.podcast__name {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--fg);
}

.podcast__name:hover { color: var(--accent); }
.podcast__desc { margin: 12px 0 0; font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--muted-fg); }

.podcast__last {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  border-top: 1px solid var(--border-2);
}

.podcast__last b { font-weight: 800; color: var(--muted-fg); }
.podcast__body .link-more { margin-top: 22px; }

.mod-pair .podcast { grid-template-columns: 150px minmax(0, 1fr); gap: 22px; }
.mod-pair .podcast__name { font-size: 21px; }
.mod-pair .podcast__desc, .mod-pair .podcast__last { display: none; }
.mod-pair .podcast__play { right: 10px; bottom: 10px; width: 42px; height: 42px; }
.mod-pair .podcast__play svg { width: 15px; height: 15px; }

@media (max-width: 700px) {
  .podcast { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .podcast__name { font-size: 20px; }
  .podcast__desc, .podcast__last { display: none; }
  .podcast__play { right: 8px; bottom: 8px; width: 38px; height: 38px; }
  .podcast__play svg { width: 13px; height: 13px; }
}

/* Free content, ads, requests, chat, tv, camera */
.free-content { font-size: 17px; line-height: 1.7; }
.free-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.free-content a { color: var(--accent); }

.spot { text-align: center; }

/* Never upscale: it blurs the advertiser artwork */
.spot img { display: inline-block; width: auto; max-width: 100%; height: auto; border-radius: var(--radius-sm); }

.request-banner { display: block; }
.request-banner img { display: block; width: 100%; height: auto; border-radius: var(--radius); }

.request-banner--plain {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 34px;
  background: var(--surface);
  border-radius: var(--radius);
}

.request-banner__icon { display: grid; place-items: center; width: 54px; height: 54px; flex-shrink: 0; color: var(--accent-fg); background: var(--accent); border-radius: 50%; }
.request-banner__icon svg { width: 22px; height: 22px; }
.request-banner__text { display: block; }
.request-banner__text strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.request-banner__text span { font-size: 16px; font-weight: 500; color: var(--muted-fg); }

.chat-frame, .tv-player, .camera-box { display: block; width: 100%; border: 0; border-radius: var(--radius); overflow: hidden; }
.chat-frame { height: 560px; }
.tv-player { aspect-ratio: 16 / 9; }
.tv-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.camera-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.camera-box--offline { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--surface); }
.camera-offline { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--muted-fg); }
.camera-offline svg { width: 18px; height: 18px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-fg);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: filter var(--ease);
}

.btn:hover { color: var(--accent-fg); background: var(--accent); filter: brightness(1.06); }
.btn[disabled] { opacity: 0.45; cursor: default; }
.btn--outline { color: var(--fg); background: none; border: 1px solid var(--border); }
.btn--outline:hover { color: var(--fg); background: var(--surface); filter: none; }
.btn--block { width: 100%; }

/* Small screens */
@media (max-width: 1100px) {
  .news, .promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vcarousel__track { grid-auto-columns: calc((100% - 32px) / 2); }
  .hl { height: 340px; }
  .hl__text b { font-size: 26px; }
  .app-card { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

@media (max-width: 700px) {
  .news, .promos, .stats { grid-template-columns: minmax(0, 1fr); }
  .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcarousel__track, .mod-pair .vcarousel__track { grid-auto-columns: 100%; }
  .hl { height: 280px; padding: 22px; }
  .hl__text b { font-size: 22px; }
  .request-banner--plain { padding: 24px; }
  .chat-frame { height: 460px; }
}

@media (max-width: 700px) {
  .card__h { flex-wrap: wrap; gap: 14px; }
  .card__acts { width: 100%; }

  .msgs__item { padding: 24px 20px 20px 54px; }
  .msgs__item::before { top: 10px; left: 18px; font-size: 54px; }
  .msgs p { font-size: 18px; }
  .msgs__h time::before { display: none; }
  .card__acts .link-more { padding: 10px 18px; }
}

/* Camera: play, stop and fullscreen over the picture */
/* A bar across the foot of the picture, the way a video player looks. It only
   shows up under the pointer, and stays put where there is no hover at all */
.camera-ctrl {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.camera-box:hover .camera-ctrl,
.camera-box:focus-within .camera-ctrl { opacity: 1; }

@media (hover: none) {
  .camera-ctrl { opacity: 1; }
}

.camera-ctrl__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.camera-ctrl__btn:hover { background: rgba(255, 255, 255, 0.18); }
.camera-ctrl__btn svg { width: 22px; height: 22px; }

/* Fullscreen: the box drops the reserved ratio and the picture fits whole */
.camera-box:fullscreen { padding-bottom: 0 !important; height: 100% !important; background: #000; }
.camera-box:fullscreen .camera-video { object-fit: contain; }
