  :root{
    /* palette pulled from the bus photo: terracotta-red body, sandstone fort,
       cream roof/paint, deep umber shadow, dusty sky blue accent */
    --bg: #1a0f08;
    --surface: #2b1a10;
    --surface-2: #3a2415;
    --line: #6e4726;
    --gold: #d9a54a;
    --gold-soft: #b17f36;
    --red: #a53f2e;
    --terracotta: #c1552f;
    --sandstone: #c98f5a;
    --sky: #6f9db0;
    --cream: #f6e9d2;
    --muted: #cdac86;
    --shadow: rgba(0,0,0,0.6);
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-md:   1.0625rem;
    --text-lg:   1.375rem;
    --text-2xl:  clamp(2rem, 7vw, 3.625rem);
    --r-sm:   4px;
    --r-md:   10px;
    --r-lg:   16px;
    --r-xl:   20px;
    --r-full: 999px;
    --container-max: 1280px;
  }

  * { box-sizing: border-box; }

  html, body{
    margin:0; padding:0;
    min-height:100vh;
    background: var(--bg);
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    overflow-x:hidden;
    scroll-behavior: smooth;
  }
 body {
  background: var(--bg);
  position: relative;
}

.hero-bg-wrap {
  position: relative;
  min-height: 100vh;
  background-image: url('../../bus-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-bg-wrap > * {
  position: relative;
  z-index: 1;
}

  /* ---------- Full-screen hero with bus photo ---------- */
  .hero{
    position:relative;
    width:100%;
    height: 100%;
    min-height: 360px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    overflow:hidden;
  }
  .hero img{
    position:absolute;
    inset:0;
    width:100%; height:100%;
    object-fit:cover;
    object-position: center 42%;
    filter: saturate(1.08) contrast(1.03);
  }
.hero-bg-wrap {
  position: relative;
}

.hero-bg-wrap::before{
    content:"";
    position:absolute; inset:0;
    background:
      linear-gradient(180deg, rgba(15,8,3,0.35) 0%, rgba(15,8,3,0.4) 40%, rgba(15,8,3,0.75) 78%, var(--bg) 100%),
      linear-gradient(90deg, rgba(15,8,3,0.65) 0%, rgba(15,8,3,0.15) 30%, rgba(15,8,3,0.15) 70%, rgba(15,8,3,0.65) 100%),
      radial-gradient(120% 90% at 50% 100%, rgba(15,8,3,0.2), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

  /* top nav overlaid on hero */
  .navbar{
    position:absolute;
    top:0; left:0; right:0;
    z-index:5;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding: 18px clamp(16px, 4vw, 48px);
    max-width: var(--container-max);
    margin: 0 auto;
    width:100%;
  }
  .nav-brand{
    font-family:'Yeseva One', serif;
    font-size: clamp(15px, 2.4vw, 19px);
    color: var(--cream);
    text-shadow:
  0 1px 4px rgba(0,0,0,0.95),
  0 4px 16px rgba(0,0,0,0.75);
    white-space:nowrap;
  }
  .nav-brand span{ color: var(--gold); }

  .nav-online{
    display:flex;
    align-items:center;
    gap:8px;
    font-family:'DM Mono', monospace;
    font-size: var(--text-xs);
    color: var(--cream);
    background: rgba(20,11,5,0.45);
    border: 1px solid rgba(246,233,210,0.18);
    padding: 7px 14px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    white-space:nowrap;
  }
  .nav-online .dot{
    width:7px; height:7px;
    border-radius:50%;
    background: #6fbf73;
    box-shadow: 0 0 0 3px rgba(111,191,115,0.25);
    flex-shrink:0;
    animation: pulse-dot 1.8s ease-in-out infinite;
  }
  @keyframes pulse-dot{ 0%,100%{ opacity:1; } 50%{ opacity:0.4; } }

  .nav-sources{
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
  }
  .source-btn,
  .cat-tab {
    font-family: 'DM Mono', monospace;
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--r-full);
    padding: 7px 14px;
    border: 1px solid rgba(246,233,210,0.18);
    background: rgba(20,11,5,0.45);
    color: var(--cream);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
  }
  .source-btn:hover{ background: rgba(20,11,5,0.7); transform: translateY(-1px); }
  /* .source-btn.active{
    background: linear-gradient(160deg, var(--gold), var(--gold-soft));
    color: var(--bg);
    border-color: transparent;
  } */
  .source-btn svg{ width:14px; height:14px; flex-shrink:0; }
  .source-btn .label{ display:none; }
  @media (min-width:560px){ .source-btn .label{ display:inline; } }

  .hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    padding: 130px clamp(16px,4vw,20px) 64px;
    max-width: 640px;
  }
  .eyebrow {
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: clamp(10px, 2vw, 11px);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
  .eyebrow::before, .eyebrow::after{
    content:"";
    width: 26px; height:1px;
    background: linear-gradient(90deg, transparent, var(--gold-soft));
  }
  .eyebrow::after{ background: linear-gradient(90deg, var(--gold-soft), transparent); }

  h1{
    font-family:'Yeseva One', serif;
    font-weight:400;
    font-size: clamp(32px, 7vw, 58px);
    margin: 0 0 14px;
    line-height:1.08;
    color: var(--cream);
    text-shadow: 0 4px 18px rgba(0,0,0,0.65);
  }
  h1 span{ color: var(--gold); }

  .hero-content p{
    color: var(--muted);
    font-size: clamp(13px, 2.2vw, 15px);
    line-height:1.6;
    max-width: 460px;
    margin: 0 auto;
    text-shadow:
  0 1px 4px rgba(0,0,0,0.95),
  0 4px 16px rgba(0,0,0,0.75);
  background: rgba(10, 5, 2, 0.52);
  padding: 10px 18px;
  border-radius: var(--r-md);
  }

  /* ---------- Main content ---------- */
  main{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding: 0 clamp(16px,4vw,20px) 10px;
    margin-top: -34px;
    position:relative;
    z-index:3;
    max-width: var(--container-max);
    margin-left:auto;
    margin-right:auto;
  }

  /* ---------- Player card ---------- */
  .player{
    width:100%;
    max-width: 460px;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 24px 60px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
    position:relative;
    overflow:hidden;
  }
  .player::before{
    content:"";
    position:absolute; inset:0;
    border-radius:20px;
    padding:1px;
    background: linear-gradient(160deg, rgba(224,168,63,0.4), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events:none;
  }

  .now-row{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap: wrap;
  }

  .disc{
    position:relative;
    width:64px; height:64px;
    border-radius:50%;
    flex-shrink:0;
    background:
      radial-gradient(circle at 50% 50%, var(--bg) 0 8px, transparent 8.5px),
      conic-gradient(from 0deg, #241408, #34200f 8%, #241408 16%);
    border: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    animation: spin 6s linear infinite paused;
  }
  .disc img{
    position:absolute; inset:9px;
    width: calc(100% - 18px); height: calc(100% - 18px);
    border-radius:50%;
    object-fit:cover;
    border: 2px solid var(--bg);
  }
  .disc.spinning{ animation-play-state: running; }
  @keyframes spin{ to{ transform: rotate(360deg); } }

  .meta{ min-width:0; flex:1 1 140px; }
  .meta .title{
    font-family:'Yeseva One', serif;
    font-size: var(--text-md);
    color: var(--cream);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .meta .artist{
    font-size: var(--text-xs);
    color: var(--muted);
    margin-top: 4px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .controls{
    display:flex;
    align-items:center;
    gap: 14px;
    flex-shrink:0;
    margin-left:auto;
    justify-content: center;
  }
  .ctrl-btn{
    background: transparent;
    border: none;
    color: var(--cream);
    cursor:pointer;
    padding:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0.8;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .player .now-row .share-btn {
      align-self: flex-start;
    }
    .ctrl-btn.active {
      color: var(--gold);
      opacity: 1;
    }
  .ctrl-btn:hover{ opacity:1; transform: translateY(-1px); }
  .ctrl-btn:focus-visible{ outline: 2px solid var(--gold); outline-offset:3px; border-radius:6px; }

  .play-btn{
    border-radius:50%;
    background: linear-gradient(160deg, var(--gold), var(--gold-soft));
    color: var(--bg);
    opacity:1;
    box-shadow: 0 8px 20px rgba(224,168,63,0.3);
  }
  .play-btn:hover{ transform: translateY(-1px) scale(1.03); }
  .play-btn svg{ width:18px; height:18px; }

  /* progress */
  .progress-row{
    display:flex;
    align-items:center;
    gap: 10px;
    margin-top: 18px;
  }
  .time{
    font-family:'DM Mono', monospace;
    font-size: var(--text-xs);
    color: var(--muted);
    width: 38px;
    text-align:center;
    flex-shrink:0;
  }
  .bar{
    flex:1;
    height: 6px;
    border-radius: 6px;
    background: repeating-linear-gradient(45deg, #55371c 0 6px, #432b16 6px 12px);
    position:relative;
    cursor:pointer;
    overflow:hidden;
  }
  .bar-fill{
    position:absolute; left:0; top:0; bottom:0;
    width:0%;
    background: linear-gradient(90deg, var(--red), var(--gold));
    border-radius:6px;
  }
  .bar-knob{
    position:absolute; top:50%; left:0%;
    width:12px; height:12px;
    background: var(--cream);
    border-radius:50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    transition: left 0.1s linear;
  }

  /* ---------- Playlist ---------- */
  .playlist{
    width:100%;
    max-width: 460px;
    margin-top: 30px;
  }
  .playlist-label{
    font-family:'DM Mono', monospace;
    font-size:11px;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    padding-left: 4px;
  }
  .track{
    display:flex;
    align-items:center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    cursor:pointer;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
  }
  .track:hover{ background: rgba(255,255,255,0.04); }
  .track.active{
    background: rgba(224,168,63,0.09);
    border-color: rgba(224,168,63,0.32);
  }
  .track-num{
    font-family:'DM Mono', monospace;
    font-size: var(--text-xs);
    color: var(--muted);
    width: 18px;
    text-align:center;
    flex-shrink:0;
  }
  .track.active .track-num{ color: var(--gold); }
  .track-thumb{
    width: 38px; height:38px;
    border-radius:8px;
    object-fit:cover;
    flex-shrink:0;
    border: 1px solid var(--line);
  }
  .track-info{ min-width:0; flex:1; }
  .track-info .t{
    font-size:14px;
    color: var(--cream);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .track-info .a{
    font-size:11.5px;
    color: var(--muted);
    margin-top:2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .track-eq{
    width:16px; height:14px;
    display:flex;
    align-items:flex-end;
    gap:2px;
    flex-shrink:0;
    opacity:0;
  }
  .track.active .track-eq{ opacity:1; }
  .track-eq span{
    width:3px;
    background: var(--gold);
    border-radius:1px;
    animation: eq 0.9s ease-in-out infinite;
  }
  .track-eq span:nth-child(1){ height:40%; animation-delay:0s; }
  .track-eq span:nth-child(2){ height:100%; animation-delay:0.2s; }
  .track-eq span:nth-child(3){ height:65%; animation-delay:0.4s; }
  @keyframes eq{ 0%,100%{ transform: scaleY(0.4);} 50%{ transform: scaleY(1);} }

  /* footer
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ===== SHARED CONTAINER (matches .player / .playlist width) ===== */
/* ===== BOOTSTRAP-STYLE RESPONSIVE CONTAINER ===== */
.info-container {
  box-sizing: border-box;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
}

/* sm ≥576px */
@media (min-width: 576px) {
  .info-container {
    max-width: 540px;
  }
}

/* md ≥768px */
@media (min-width: 768px) {
  .info-container {
    max-width: 720px;
  }
}

/* lg ≥992px */
@media (min-width: 992px) {
  .info-container {
    max-width: 960px;
  }
}

/* xl ≥1200px */
@media (min-width: 1200px) {
  .info-container {
    max-width: 1140px;
  }
}

/* xxl ≥1400px */
@media (min-width: 1400px) {
  .info-container {
    max-width: 1320px;
  }
}

.info-section {
  padding-block: 56px;
}

.info-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.info-heading {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 18px;
  line-height: 1.3;
}

.info-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* About cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 18px;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(224,172,79,0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 8px;
}

.info-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* FAQ */
.faq-section {
  padding-top: 40px;
  background: var(--surface);
}

.faq-list {
  width: 100%;
  max-width: 700px;
  margin: 8px auto 0;
  text-align: left;
}

.faq-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-caret {
  font-family: 'DM Mono', monospace;
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
  margin-left: 14px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
  padding: 0 18px 16px;
}

.faq-row.open .faq-answer {
  max-height: 300px;
}

/* ===== FOOTER ===== */
footer[role="contentinfo"] {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 30px 24px 24px;
  background: var(--bg);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-col { display: flex; align-items: center; }

.footer-col-brand { flex: 1 1 240px; }
.footer-logo-img { max-width: 250px; width: 100%; height: auto; }

.footer-col-mid {
  flex: 1 1 320px;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 4px 32px;
}

.footer-col-illustration { flex: 1 1 240px; justify-content: flex-end; }
.footer-bus-img { max-width: 250px; width: 100%; height: auto; }

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--line);
}

.social-pill.whatsapp {
  background: rgba(37,211,102,0.12);
  color: #25d366;
  border-color: rgba(37,211,102,0.3);
}

.social-pill.instagram {
  background: rgba(225,48,108,0.12);
  color: #e1306c;
  border-color: rgba(225,48,108,0.3);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
}

.footer-links a { color: var(--cream); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom-bar {
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.footer-bottom-icon { color: var(--gold); flex-shrink: 0; }

.footer-bottom-right {
  gap: 8px;
  margin-left: auto;
}

.footer-bottom-right a {
  color: var(--gold-soft);
  text-decoration: none;
}
.footer-bottom-right a:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-col-mid {
    order: -1;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-col-brand, .footer-col-illustration { justify-content: center; }
}

@media (max-width: 600px) {
  .footer-bottom-bar { justify-content: center; text-align: center; }
  .footer-bottom-right { margin-left: 0; }
  .footer-bottom-item span { white-space: normal; }
}
  /* ---------- Responsive (standard breakpoints) ---------- */

  /* Large desktop / wide screens */
  @media (min-width: 1280px){
    .player{ max-width: 520px; }
    .playlist{ max-width: 520px; }
  }

  /* Tablet landscape */
  @media (max-width: 1024px){
    .hero{ height: 86vh; }
  }

  /* Tablet portrait */
  @media (max-width: 768px){.hero{ height: auto !important; min-height: unset !important;   padding-top: 100px; }
    .navbar{ padding: 14px 20px; }
    .nav-online .label-text{ display:none; }
    .navbar{ padding: 14px 20px; }
    .nav-online .label-text{ display:none; }

    .nav-brand{ order:1; flex: 1 1 auto; }
    .nav-online{ order:3; flex: 1 1 100%; justify-content:center; }
    .nav-sources{ order:2; }
    .now-row{ gap:12px; }
    .controls{ width:100%; justify-content:center; margin-left:0; order:3; margin-top:6px; gap: 5px; }
    .meta{ order:2; }
    .disc{ order:1; }
    .player{ padding:18px; border-radius:16px; }
  }

  /* Small mobile */
  @media (max-width: 380px){
    .meta .title{ font-size:15px; }
    .track-info .t{ font-size:13px; }
    .source-btn{ padding: 6px 9px; }
  }

  @media (prefers-reduced-motion: reduce){
    .disc, .track-eq span{ animation: none !important; }
  }


  /* ===== CATEGORY BOTTOM SHEET ===== */

.cat-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 2, 0.55);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.cat-sheet {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: min(460px, calc(100vw - 32px));
  z-index: 100;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
  padding: 0 0 16px;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.65);
  max-height: 420px;
  display: flex;
  flex-direction: column;
  /* Default hidden state */
  bottom: -420px;
  transition: bottom 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-sheet.open {
  bottom: 160px;
}

/* Top gold shimmer border */
.cat-sheet::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 20px 20px 0 0;
}

/* Drag handle pill */
.cat-handle {
  width: 36px;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

/* ---- Tabs ---- */
.cat-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 12px;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.cat-tabs-wrapper::-webkit-scrollbar { display: none; }


.cat-tab:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}
/* .cat-tab.active {
  background: linear-gradient(160deg, var(--gold), var(--gold-soft));
  color: var(--bg);
  border-color: transparent;
  font-weight: 700;
} */

.source-btn.active,
.cat-tab.active {
  background: linear-gradient(160deg, var(--gold), var(--gold-soft));
  color: var(--bg);
  border-color: transparent;
  font-weight: 700;
  display: flex;
  gap: 5px;
  align-items: center;
  text-decoration: none;
}
.cat-tab.disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.cat-coming-soon {
  font-size: 9px;
  letter-spacing: 0.08em;
  background: var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ---- Song list body ---- */
.cat-body {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.cat-body::-webkit-scrollbar { width: 4px; }
.cat-body::-webkit-scrollbar-track { background: transparent; }
.cat-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.cat-track-list {
  list-style: none;
  margin: 0;
  padding: 0 8px;
}

/* Reuse .track styles — just override container */
.cat-track-list .track {
  border-radius: 10px;
}

/* ---- Loading & Error states ---- */
.cat-status {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  font-family: 'DM Mono', monospace;
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: 0.08em;
  gap: 10px;
}
.cat-status.error { color: var(--terracotta); }

.cat-spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: cat-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes cat-spin { to { transform: rotate(360deg); } }

/* ===== END CATEGORY BOTTOM SHEET ===== */

.seo-content {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

#repeat-btn {
  position: relative;
}
#repeat-btn.active::after {
    content: "1";
    position: absolute;
    top: 10px;
    right: 11px;
    font-size: 9px;
    font-weight: 700;
    line-height: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    color: var(--gold);
    text-align: center;
}
/* ===== VOLUME CONTROL ===== */
.volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 64px;
  height: 8px;
  border-radius: var(--r-sm);
  background: var(--line);
  outline: none;
  cursor: pointer;
  opacity: 1;
  transition: none;
  overflow: visible;
}

/* .ctrl-btn:hover .volume-slider {
  width: 70px;
  opacity: 1;
} */

/* Track fill */
.volume-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    var(--gold) 0%,
    var(--gold) var(--vol-pct, 100%),
    var(--line) var(--vol-pct, 100%),
    var(--line) 100%
  );
}

/* Thumb */
.volume-slider::-webkit-slider-thumb {
  webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  margin-top: -5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  cursor: pointer;
}

.volume-slider::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}
/* ===== END VOLUME CONTROL ===== */
.volume-slider::-webkit-slider-thumb:hover::after {
  content: attr(data-vol);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  color: var(--cream);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}



.volume-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.volume-tooltip {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  color: var(--cream);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  border: 1px solid var(--line);
}

.volume-slider-wrap:hover .volume-tooltip {
  opacity: 1;
}

/* ===== SHARE ===== */
.share-wrap {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
}

.share-popup {
  position: absolute;
  bottom: 3px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.share-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--cream);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}


.share-icon:hover {
  background: var(--gold);
  color: var(--bg);
}

.share-icon.copied {
  background: var(--gold);
  color: var(--bg);
}

.cat-search-wrap {
  padding: 10px 16px 8px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
}

.cat-search {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--text-xs);
  color: var(--cream);
  outline: none;
  transition: border-color 0.15s ease;
}

.cat-search:focus {
  border-color: var(--gold);
}

.cat-search::placeholder {
  color: var(--muted);
}
/* ===== END SHARE ===== */

.track-more-like-this {
  justify-content: center;
  color: var(--gold);
  font-weight: 600;
  cursor: pointer;
}
.track-more-like-this .more-like-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
.track-more-like-this.loading {
  opacity: 0.6;
  pointer-events: none;
}
.track-more-like-this.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
/* ====================== Legal ==================================== */

.legal-content.container{
  align-items: start !important;
}
.container {
    box-sizing: border-box;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  @media (min-width: 576px)  { .container { max-width: 540px; } }
  @media (min-width: 768px)  { .container { max-width: 720px; } }
  @media (min-width: 992px)  { .container { max-width: 960px; } }
  @media (min-width: 1200px) { .container { max-width: 1140px; } }

 
  .nav-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: var(--r-full);
  }
  .nav-back:hover { color: var(--cream); border-color: var(--gold); }

  /* ===== HERO ===== */
  .legal-hero {
    text-align: center;
    padding: 56px 0 8px;
  }
  .legal-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 14px;
  }
  .legal-title {
    font-family: 'Yeseva One', serif;
    font-weight: 400;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.25;
    margin: 0 0 16px;
    color: var(--cream);
  }
  .legal-updated {
    font-size: 13px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
  }

  /* ===== TOC ===== */
  .toc {
    max-width: 760px;
    margin: 40px auto 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px 24px;
  }
  .toc-title {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    font-family: 'DM Mono', monospace;
    margin: 0 0 14px;
  }
  .toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 28px;
  }
  .toc li { margin-bottom: 8px; break-inside: avoid; }
  .toc a {
    font-size: 13.5px;
    color: var(--cream);
    text-decoration: none;
  }
  .toc a:hover { color: var(--gold-soft); }

  /* ===== CONTENT ===== */
  .legal-content {
    max-width: 760px;
    margin: 48px auto 0;
    padding: 0 0 72px;
  }
  .legal-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 90px;
  }
  .legal-section:last-child { border-bottom: none; }
  .legal-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--cream);
    margin: 0 0 14px;
  }
  .legal-section h2 .num {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    color: var(--bg);
    background: var(--gold);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .legal-section p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    margin: 0 0 14px;
  }
  .legal-section p:last-child { margin-bottom: 0; }
  .legal-section ul {
    margin: 0 0 14px;
    padding-left: 20px;
  }
  .legal-section li {
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .legal-section strong { color: var(--cream); }

  .contact-box {
    margin-top: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 16px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .contact-box a {
    color: var(--gold-soft);
    text-decoration: none;
    font-weight: 500;
  }

  /* ===== FOOTER ===== */
  .legal-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
  }

  @media (max-width: 600px) {
    .toc ol { columns: 1; }
  }