:root {
  --site-top-offset: 190px;
  --bg-0: #05070c;
  --bg-1: #0b1020;
  --bg-2: #151515;
  --ink: #eef1ea;
  --muted: #b7bdb2;
  --line: rgba(238, 241, 234, 0.18);
  --panel: rgba(8, 12, 20, 0.74);
  --panel-soft: rgba(8, 12, 20, 0.54);
  --accent: #f2b84f;
  --accent-2: #ca6e2a;
  --accent-3: #94c7c3;
  --danger: #f16666;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-deep: 0 24px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 900px at 10% -20%, rgba(242, 184, 79, 0.09), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(148, 199, 195, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 40%, var(--bg-2));
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

img,
video,
audio,
iframe,
canvas,
svg {
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 3px, 3px 100%;
  mix-blend-mode: soft-light;
  opacity: 0.2;
}

#starfieldCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.site-top,
main,
footer {
  position: relative;
  z-index: 2;
}

.site-top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1100;
  backdrop-filter: blur(10px);
}

.sticky-nav {
  position: relative;
  top: auto;
  z-index: 1050;
  background: rgba(5, 8, 14, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.26rem;
  letter-spacing: 0.01em;
}

.nav-link {
  color: rgba(238, 241, 234, 0.86) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
}

@media (min-width: 992px) and (max-width: 1200px) {
  .navbar .navbar-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.08rem;
  }

  .navbar .nav-link {
    font-size: 0.9rem;
    padding: 0.28rem 0.48rem;
  }
}

.live-dock {
  position: relative;
  top: auto;
  z-index: 1040;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 8, 15, 0.9);
}

.live-dock-grid {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(280px, 1fr) minmax(250px, 360px);
  gap: 1rem;
  align-items: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.live-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(241, 102, 102, 0.8);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 102, 102, 0.8);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(241, 102, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241, 102, 102, 0);
  }
}

.live-help {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.2;
}

.live-player audio {
  width: 100%;
  height: 42px;
}

.live-player {
  padding-left: 0.7rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  overflow-x: clip;
}

.np-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.np-block {
  margin-top: 0.5rem;
}

.np-marquee {
  margin-top: 0.18rem;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding-left: 0.65rem;
  padding-right: 0.55rem;
  max-width: 100%;
}

.np-marquee::before,
.np-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12px;
  pointer-events: none;
  z-index: 1;
}

.np-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(4, 8, 15, 0.95), transparent);
}

.np-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(4, 8, 15, 0.95), transparent);
}

.np-track {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  min-width: 100%;
  white-space: nowrap;
  will-change: transform;
}

.np-segment {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.np-track.np-animate {
  animation: np-marquee var(--np-duration, 18s) linear infinite;
}

@keyframes np-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--np-distance, 240px)));
  }
}

.live-actions {
  display: grid;
  gap: 0.5rem;
}

.live-actions .btn {
  border-color: rgba(255, 255, 255, 0.34);
  white-space: normal;
  line-height: 1.2;
  text-align: center;
}

.history-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
}

main {
  padding: calc(var(--site-top-offset) + 2rem) 0 5rem;
}

section[id] {
  scroll-margin-top: calc(var(--site-top-offset) + 16px);
}

.hero {
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.section-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

.hero-kicker {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-3);
  font-weight: 700;
}

.hero h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
}

.hero h1 {
  margin-top: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.hero .lead {
  margin: 0;
  color: #d2d8ce;
  font-size: clamp(1.03rem, 2.2vw, 1.2rem);
  max-width: none;
}

.hero-copy {
  margin: 0.7rem 0 0;
  color: #c7cec3;
  font-size: clamp(0.98rem, 1.9vw, 1.08rem);
  line-height: 1.58;
  max-width: none;
}

.hero-inline-icon {
  color: var(--accent-3);
  display: inline-block;
  min-width: 1.1em;
  text-align: center;
}

.live-dock-grid > *,
.news-band > *,
.day-trigger > *,
.gtl-slot-head > *,
.prog-item > *,
.row > [class^="col-"],
.row > [class*=" col-"] {
  min-width: 0;
}

.hero h1,
.hero .lead,
.hero-copy,
.subhead,
.repere-card p,
.project-title,
.project-desc,
.producer-bio,
.gtl-title,
.gtl-desc,
.prog-title,
.prog-desc,
.contrib-title,
.contrib-text,
.contrib-list,
.contrib-list li,
.manifest-item p,
.contact-box p {
  overflow-wrap: anywhere;
}

.kicker-line {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kicker-chip {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
  font-size: 0.83rem;
  color: #dce2d8;
  background: rgba(0, 0, 0, 0.22);
}

.news-band {
  margin-top: 1rem;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(90deg, rgba(242, 184, 79, 0.16), rgba(202, 110, 42, 0.08));
  color: #ffeec8;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
}

.news-label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.news-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.news-track {
  display: inline-block;
  padding-right: 2rem;
  font-size: 0.93rem;
  line-height: 1.35;
  white-space: nowrap;
  animation: news-ticker 34s linear infinite;
}

@keyframes news-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.news-band:hover .news-track {
  animation-play-state: paused;
}

.subsection {
  margin-top: 2rem;
}

.subsection h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  margin-bottom: 0.35rem;
}

.subsection .subhead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.history-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  padding: 0.95rem;
}

.history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.72rem;
}

.history-mode {
  margin: 0;
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-3);
  font-weight: 700;
}

.history-tz {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.history-controls {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(150px, 190px) auto auto;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.72rem;
}

.history-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  height: 39px;
  padding: 0 0.58rem;
}

.history-field i {
  color: var(--accent-3);
}

.history-field input {
  min-width: 0;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #eef1ea;
  font-size: 0.9rem;
}

.history-field input::-webkit-calendar-picker-indicator {
  filter: invert(100%) brightness(0.75);
}

.history-btn {
  border-color: rgba(255, 255, 255, 0.28);
}

.history-btn.is-active {
  border-color: rgba(242, 184, 79, 0.72);
  background: rgba(242, 184, 79, 0.15);
  color: #fff4d6;
}

.history-table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.26);
}

.history-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.history-table th,
.history-table td {
  padding: 0.58rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.history-table thead th {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9e0d4;
  background: rgba(255, 255, 255, 0.03);
}

.history-table tbody tr:last-child td {
  border-bottom: none;
}

.hist-date,
.hist-time {
  white-space: nowrap;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  color: #e6eccc;
  font-size: 0.82rem;
}

.hist-title {
  margin: 0;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.hist-meta {
  margin: 0.12rem 0 0;
  color: #aeb9d6;
  font-size: 0.81rem;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.history-empty {
  color: #bdc5b8;
  font-size: 0.9rem;
}

.repere-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  padding: 1rem;
}

.repere-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.repere-card p {
  margin: 0;
  color: #d8ddd4;
}

.project-grid .col {
  display: flex;
}

.project-card {
  height: 100%;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--panel);
  display: flex;
  flex-direction: column;
}

.project-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

.project-cover-wrap {
  position: relative;
}

.project-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f6f8f3;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(5px);
  overflow: hidden;
  will-change: auto;
}

.project-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.project-meta {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin: 0;
}

.project-title {
  margin: 0;
  font-size: 1.2rem;
}

.project-desc {
  margin: 0;
  color: #d2d9cf;
  line-height: 1.4;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tag {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: #e5ebdf;
  font-size: 0.74rem;
  line-height: 1;
  padding: 0.34rem 0.55rem;
}

.project-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-links .btn {
  font-size: 0.82rem;
  border-color: rgba(255, 255, 255, 0.3);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-box .btn,
.contrib-actions .btn {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.project-badge::after {
  content: "";
  position: absolute;
  top: -44%;
  bottom: -44%;
  left: -70%;
  width: 52%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  animation: badge-glint 2.8s linear infinite;
  pointer-events: none;
}

.project-grid .col:nth-child(2n) .project-badge::after {
  animation-delay: 1.45s;
}

.project-grid .col:nth-child(3n) .project-badge::after {
  animation-delay: 2.35s;
}

.producers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 0.9rem;
}

.producer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  padding: 0.95rem;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  align-items: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.producer-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.producer-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.producer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.producer-avatar::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(242, 184, 79, 0.4);
  box-shadow: 0 0 0 0 rgba(242, 184, 79, 0.3);
  animation: producer-ring 3.2s infinite;
  pointer-events: none;
}

@keyframes producer-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 184, 79, 0.28);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(242, 184, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 184, 79, 0);
  }
}

.producer-meta {
  min-width: 0;
}

.producer-role {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-3);
  font-weight: 700;
}

.producer-name {
  margin: 0;
  font-size: 1.08rem;
}

.producer-bio {
  margin: 0.32rem 0 0;
  color: #d2d9cf;
  line-height: 1.35;
  font-size: 0.9rem;
}

.gtl-shell {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.86rem;
}

.gtl-switcher {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 0.24rem;
  margin-bottom: 0.7rem;
  scrollbar-width: thin;
}

.gtl-day-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: max-content;
  max-width: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #e9efe4;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.4rem 0.78rem;
  white-space: nowrap;
  line-height: 1.1;
  scroll-snap-align: start;
}

.gtl-day-label-short {
  display: none;
}

.gtl-day-btn.is-active {
  border-color: rgba(242, 184, 79, 0.75);
  background: rgba(242, 184, 79, 0.18);
  color: #fff5dc;
}

.gtl-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.gtl-day-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  overflow: hidden;
  background: rgba(8, 12, 20, 0.66);
}

.gtl-day-head {
  padding: 0.82rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.62rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.gtl-day-name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.gtl-day-icon {
  color: var(--accent-3);
  opacity: 0.85;
}

.gtl-track {
  position: relative;
  padding: 0.78rem 0.8rem 0.86rem 1.27rem;
}

.gtl-track::before {
  content: "";
  position: absolute;
  left: 0.93rem;
  top: 0.88rem;
  bottom: 0.88rem;
  width: 2px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(148, 199, 195, 0.8), rgba(148, 199, 195, 0.15));
}

.gtl-slot {
  position: relative;
  padding-left: 0.84rem;
}

.gtl-slot + .gtl-slot {
  margin-top: 0.58rem;
}

.gtl-slot::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffe4ad;
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 0 0 3px rgba(242, 184, 79, 0.14);
}

.gtl-slot-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  background: rgba(8, 12, 20, 0.56);
  padding: 0.54rem 0.63rem;
}

.gtl-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.56rem;
  flex-wrap: wrap;
}

.gtl-time {
  color: #ffe5af;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.79rem;
  font-weight: 700;
  white-space: nowrap;
}

.gtl-time.meta {
  color: rgba(233, 241, 255, 0.72);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gtl-title {
  margin: 0.2rem 0 0;
  color: #fff;
  font-size: 0.99rem;
  font-weight: 700;
  line-height: 1.2;
}

.gtl-title .fa-utensils {
  color: #c5cbd7;
}

.gtl-desc {
  margin: 0.2rem 0 0;
  color: #acb7d3;
  font-size: 0.84rem;
  line-height: 1.28;
}

.gtl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 4px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.11);
  color: #f4f7ff;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.gtl-badge::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -75%;
  width: 60%;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: badge-glint 2.5s linear infinite;
  pointer-events: none;
}

.gtl-slot-card.replay {
  border-left-color: #f2b84f;
}

.gtl-slot-card.replay .gtl-title {
  color: #ffd68a;
}

.gtl-slot-card.replay .gtl-badge {
  border-color: rgba(242, 184, 79, 0.55);
  background: rgba(242, 184, 79, 0.22);
  color: #ffe8b9;
}

.gtl-slot-card.focus-amber {
  border-left-color: #f2b84f;
}

.gtl-slot-card.focus-amber .gtl-title {
  color: #ffd68a;
}

.gtl-slot-card.focus-amber .gtl-badge {
  border-color: rgba(242, 184, 79, 0.5);
  background: rgba(242, 184, 79, 0.2);
  color: #ffe1a7;
}

.gtl-slot-card.focus-danger {
  border-left-color: #f16666;
}

.gtl-slot-card.focus-danger .gtl-title {
  color: #ff9f9f;
}

.gtl-slot-card.focus-danger .gtl-badge {
  border-color: rgba(241, 102, 102, 0.55);
  background: rgba(241, 102, 102, 0.18);
  color: #ffc6c6;
}

.gtl-slot-card.focus-cyan {
  border-left-color: #71c8ea;
}

.gtl-slot-card.focus-cyan .gtl-title {
  color: #9fdfff;
}

.gtl-slot-card.focus-cyan .gtl-badge {
  border-color: rgba(113, 200, 234, 0.56);
  background: rgba(113, 200, 234, 0.2);
  color: #caeeff;
}

.gtl-slot-card.rituel {
  border-left-color: rgba(180, 188, 201, 0.8);
}

.gtl-slot-card.rituel .gtl-title {
  color: #f4f6fb;
}

.gtl-slot-card.rituel .gtl-badge {
  border-color: rgba(233, 241, 255, 0.24);
  background: rgba(228, 234, 246, 0.08);
  color: rgba(233, 241, 255, 0.9);
}

.schedule-accordion .accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-accordion .accordion-item + .accordion-item {
  margin-top: 0.95rem;
}

.schedule-accordion .accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.schedule-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.schedule-accordion .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.05);
  color: #fff3cd;
}

.schedule-accordion .accordion-button:focus {
  box-shadow: none;
}

.day-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.day-name {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.day-icon {
  color: var(--accent-3);
  opacity: 0.85;
}

.schedule-accordion .accordion-button::after {
  margin-left: 0.8rem;
  filter: invert(89%) sepia(18%) saturate(361%) hue-rotate(342deg) brightness(106%) contrast(101%);
}

.schedule-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.prog-item {
  display: flex;
  gap: 0.9rem;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease;
  position: relative;
}

.prog-item:last-child {
  border-bottom: none;
}

.prog-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.time-slot {
  color: #ffe5af;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 72px;
  padding-top: 2px;
}

.time-slot.meta {
  color: rgba(233, 241, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.prog-details {
  flex: 1;
}

.prog-title {
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.prog-desc {
  display: block;
  color: #aeb9d6;
  font-size: 0.86rem;
  line-height: 1.3;
}

.badge-genre {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-left: 0.4rem;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(245, 247, 252, 0.96);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  will-change: auto;
}

.badge-genre::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -75%;
  width: 60%;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: badge-glint 2.5s linear infinite;
  pointer-events: none;
}

.badge-rituel {
  background: rgba(228, 234, 246, 0.08);
  border-color: rgba(233, 241, 255, 0.24);
  color: rgba(233, 241, 255, 0.9);
}

.prog-item.replay-mark .prog-title {
  color: #ffd68a;
}

.prog-item.focus-amber,
.prog-item.focus-danger,
.prog-item.focus-cyan,
.prog-item.rituel-mark {
  border-left: 3px solid;
  padding-left: 0.82rem;
}

.prog-item.focus-amber {
  border-left-color: #f2b84f;
}

.prog-item.focus-danger {
  border-left-color: #f16666;
}

.prog-item.focus-cyan {
  border-left-color: #71c8ea;
}

.prog-item.rituel-mark {
  border-left-color: rgba(180, 188, 201, 0.8);
}

.prog-item.focus-amber .prog-title {
  color: #ffd68a;
}

.prog-item.focus-danger .prog-title {
  color: #ff9f9f;
}

.prog-item.focus-cyan .prog-title {
  color: #9fdfff;
}

.prog-item.rituel-mark .prog-title {
  color: #f4f6fb;
}

.prog-item.focus-amber .badge-genre {
  border-color: rgba(242, 184, 79, 0.5);
  background: rgba(242, 184, 79, 0.2);
  color: #ffe1a7;
}

.prog-item.focus-danger .badge-genre {
  border-color: rgba(241, 102, 102, 0.55);
  background: rgba(241, 102, 102, 0.18);
  color: #ffc6c6;
}

.prog-item.focus-cyan .badge-genre {
  border-color: rgba(113, 200, 234, 0.56);
  background: rgba(113, 200, 234, 0.2);
  color: #caeeff;
}

@keyframes badge-glint {
  0% {
    left: -75%;
    opacity: 0;
  }
  12% {
    opacity: 0.86;
  }
  52% {
    left: 120%;
    opacity: 0;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}


.contrib-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  padding: 1rem;
}

.contrib-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.contrib-step {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: #e9efe4;
  padding: 0.62rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  white-space: normal;
  line-height: 1.25;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.contrib-step:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.contrib-step.is-active {
  border-color: rgba(242, 184, 79, 0.7);
  background: rgba(242, 184, 79, 0.14);
  color: #fff6df;
}

.contrib-step:focus-visible {
  outline: 2px solid rgba(148, 199, 195, 0.8);
  outline-offset: 2px;
}

.contrib-panel {
  margin-top: 0.78rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.88rem 0.92rem;
}

.contrib-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-3);
  font-weight: 700;
}

.contrib-title {
  margin: 0.3rem 0 0;
  font-size: 1.25rem;
}

.contrib-text {
  margin: 0.38rem 0 0;
  color: #d6ddd2;
}

.contrib-list {
  margin: 0.52rem 0 0;
  padding-left: 1rem;
  color: #d6ddd2;
  display: grid;
  gap: 0.28rem;
}

.contrib-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.manifest-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--panel-soft);
}

.manifest-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.manifest-item p {
  margin: 0;
  color: #d8ddd4;
}

.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: var(--panel-soft);
}

.contact-box p {
  color: #d7ddd3;
}

footer {
  padding-bottom: 2rem;
}

.footer-inner {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.footer-inner p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.18rem 0.4rem;
  margin: 0;
}

.footer-inner .footer-license {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer-license {
  color: inherit;
  text-decoration: none;
}

.footer-license:hover,
.footer-license:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  .live-badge::before,
  .np-track.np-animate,
  .news-track,
  .producer-avatar::after,
  .project-badge,
  .project-badge::after,
  .badge-genre,
  .badge-genre::after,
  .gtl-badge::after {
    animation: none !important;
  }
}

@media (max-width: 1200px) {
  .live-dock-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .live-actions {
    grid-template-columns: 1fr;
  }

  .live-player {
    padding-left: 0;
    border-left: none;
  }

  .np-marquee {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

@media (min-width: 993px) {
  .gtl-switcher {
    display: none;
  }
}

@media (max-width: 992px) {
  .sticky-nav .navbar-collapse {
    margin-top: 0.52rem;
    padding: 0.44rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(2, 6, 12, 0.82);
  }

  .sticky-nav .nav-link {
    padding: 0.44rem 0.35rem;
  }

  section[id] {
    scroll-margin-top: calc(var(--site-top-offset) + 16px);
  }

  .gtl-panels {
    grid-template-columns: 1fr;
  }

  .gtl-day-panel {
    display: none;
  }

  .gtl-day-panel.is-active {
    display: block;
  }

  .contrib-steps {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 576px) {
  :root {
    --site-top-offset: 232px;
  }

  .live-dock-grid {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    gap: 0.55rem;
  }

  .live-help {
    font-size: 0.8rem;
  }

  .live-player audio {
    height: 38px;
  }

  .live-actions .d-flex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem !important;
  }

  .live-actions .btn {
    font-size: 0.76rem;
    padding: 0.32rem 0.42rem;
  }

  .hero {
    padding: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(1.72rem, 8.8vw, 2.2rem);
    line-height: 1.08;
  }

  .hero .lead {
    font-size: 0.98rem;
  }

  .hero-copy {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .kicker-chip {
    font-size: 0.76rem;
    padding: 0.32rem 0.58rem;
  }

  .subsection {
    margin-top: 1.4rem;
  }

  .subsection h2 {
    font-size: 1.56rem;
    line-height: 1.15;
  }

  .subsection .subhead {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  .prog-item {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.68rem 0.85rem;
  }

  .time-slot {
    font-size: 0.8rem;
    min-width: 0;
  }

  .news-band {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .news-track {
    font-size: 0.88rem;
  }

  .history-shell {
    padding: 0.78rem;
  }

  .history-controls {
    grid-template-columns: 1fr;
  }

  .history-btn {
    width: 100%;
  }

  .history-table {
    min-width: 0;
    table-layout: fixed;
    width: 100%;
  }

  .history-table th,
  .history-table td {
    padding: 0.5rem 0.45rem;
    font-size: 0.82rem;
  }

  .history-table th:nth-child(1),
  .history-table td:nth-child(1) {
    width: 84px;
  }

  .history-table th:nth-child(2),
  .history-table td:nth-child(2) {
    width: 66px;
  }

  .hist-title {
    font-size: 0.84rem;
    line-height: 1.22;
  }

  .hist-meta {
    font-size: 0.74rem;
  }

  .gtl-shell {
    padding: 0.72rem;
  }

  .gtl-switcher {
    gap: 0.36rem;
    margin-bottom: 0.6rem;
  }

  .gtl-day-btn {
    font-size: 0.82rem;
    padding: 0.34rem 0.62rem;
  }

  .gtl-day-head {
    padding: 0.7rem 0.68rem;
  }

  .gtl-track {
    padding: 0.7rem 0.64rem 0.78rem 1.22rem;
  }

  .gtl-slot-card {
    padding: 0.48rem 0.54rem;
  }

  .gtl-title {
    font-size: 0.94rem;
  }

  .gtl-desc {
    font-size: 0.8rem;
  }

  .contrib-shell {
    padding: 0.8rem;
  }

  .contrib-panel {
    padding: 0.76rem 0.78rem;
  }

  .contrib-title {
    font-size: 1.1rem;
  }

  .contrib-text,
  .contrib-list {
    font-size: 0.88rem;
  }

  .project-badge {
    top: 0.55rem;
    left: 0.55rem;
    font-size: 0.69rem;
    padding: 0.28rem 0.5rem;
  }

  .project-body {
    padding: 0.82rem;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-desc {
    font-size: 0.9rem;
  }

  .project-tag {
    font-size: 0.7rem;
  }

  .producer-card {
    grid-template-columns: 72px 1fr;
    gap: 0.7rem;
    padding: 0.82rem;
  }

  .producer-avatar {
    width: 72px;
    height: 72px;
  }

  .producer-name {
    font-size: 1rem;
  }

  .producer-bio {
    font-size: 0.85rem;
  }
}

@media (max-width: 340px) {
  .container-xl {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .live-dock .container-xl {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .live-player audio {
    min-width: 0;
  }

  .live-actions .d-flex {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 430px) {
  .live-actions .d-flex {
    grid-template-columns: 1fr !important;
  }

  .news-band {
    padding: 0.62rem 0.72rem;
  }

  .news-label {
    font-size: 0.68rem;
  }

  .news-track {
    font-size: 0.82rem;
  }

  .producer-card {
    grid-template-columns: 64px 1fr;
    padding: 0.74rem;
    gap: 0.62rem;
  }

  .producer-avatar {
    width: 64px;
    height: 64px;
  }

  .gtl-switcher {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.28rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .gtl-day-btn {
    min-width: 0;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1;
    padding: 0.44rem 0.2rem;
  }

  .gtl-day-label-full {
    display: none;
  }

  .gtl-day-label-short {
    display: inline;
  }
}

@media (max-width: 340px) {
  .gtl-switcher {
    gap: 0.24rem;
  }

  .gtl-day-btn {
    font-size: 0.76rem;
    padding: 0.42rem 0.16rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
}
