:root {
  --background: #050608;
  --foreground: #f5f7fb;
  --card: #101218;
  --card-foreground: #f5f7fb;
  --popover: #11141a;
  --popover-foreground: #f5f7fb;
  --primary: #f03647;
  --primary-foreground: #ffffff;
  --secondary: #181c24;
  --secondary-foreground: #f5f7fb;
  --muted: #171a21;
  --muted-foreground: #a2aabc;
  --accent: #1c2029;
  --accent-foreground: #f5f7fb;
  --destructive: #ff5362;
  --border: #292e39;
  --input: #343a47;
  --ring: #f03647;
  --radius: 0.9rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 7%, rgba(227, 34, 51, .13), transparent 27rem),
    radial-gradient(circle at 12% 42%, rgba(79, 92, 125, .08), transparent 26rem),
    linear-gradient(180deg, #07080b 0%, var(--background) 42rem);
  color: var(--foreground);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}
button, input, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
svg {
  display: block; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 2.25rem; padding: .5rem .9rem; border: 0; border-radius: .65rem;
  color: white; background: #232834; font-size: .875rem; font-weight: 700;
  cursor: pointer; transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { background: #303745; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { cursor: wait; opacity: .7; }
.btn:focus-visible, .card-main:focus-visible, .region-button:focus-visible, .region-select:focus-visible, input:focus-visible {
  outline: 3px solid rgba(227,34,51,.3); outline-offset: 2px;
}
.btn-outline { color: #f4f6fb; background: #11141a; border: 1px solid #343a47; }
.btn-outline:hover { background: #1c2029; }
.btn-ghost { padding: .4rem; color: #aab2c1; background: transparent; }
.btn-ghost:hover { color: #fff; background: #1c2029; }
.btn svg { width: 1rem; height: 1rem; }
.site-shell { min-height: 100vh; padding-bottom: 6.5rem; }
.topbar {
  position: sticky; top: .75rem; z-index: 30;
  width: calc(100% - 2rem); height: 4.5rem; display: flex; align-items: center; justify-content: space-between;
  max-width: 76rem; margin: .75rem auto 0; padding: 0 1rem;
  background: rgba(10, 12, 16, .78); border: 1px solid rgba(255, 255, 255, .1); border-radius: 1.15rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .26); backdrop-filter: blur(18px) saturate(135%);
}
.brand {
  color: #f8f9fc; display: inline-flex; align-items: center; gap: .65rem;
  font-size: 1.25rem; font-weight: 850; letter-spacing: -.035em; text-decoration: none;
}
.brand > span:last-child > span { color: #e32233; }
.brand-mark {
  width: 2.3rem; height: 2.3rem; display: grid; place-items: center; color: white;
  border-radius: .75rem; background: #e32233; transform: rotate(-4deg);
  box-shadow: 0 8px 18px rgba(227, 34, 51, .22);
}
.brand-mark svg { width: 1.25rem; }
.live-status {
  display: flex; align-items: center; gap: .5rem; color: #a7afbf;
  font-size: .875rem; font-weight: 650;
}
.live-status span, .now-live span {
  width: .55rem; height: .55rem; border-radius: 50%; background: #e32233;
  box-shadow: 0 0 0 .3rem rgba(227, 34, 51, .11); animation: pulse 1.8s infinite;
}
main { max-width: 76rem; margin: 0 auto; padding: 2.4rem 1.5rem 4rem; }
.top-actions { display: flex; align-items: center; gap: 1rem; }
.top-link { color: #c0c6d2; font-size: .875rem; font-weight: 700; text-decoration: none; transition: color .18s ease; }
.top-link:hover { color: white; }
.contact-trigger { min-height: 2.4rem; padding-inline: .85rem; }
.topbar a.btn { text-decoration: none; }
.intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .72fr);
  align-items: end; gap: 3rem; margin: 2rem 0 2.3rem;
}
.eyebrow {
  display: flex; align-items: center; gap: .45rem; color: #e32233;
  font-size: .75rem; font-weight: 800; letter-spacing: .16em; margin: 0 0 .7rem;
}
.eyebrow svg { width: 1rem; }
h1 {
  max-width: none; margin: 0; color: #f8f9fc; white-space: nowrap;
  font-size: clamp(2rem, 5vw, 4.65rem); line-height: .96;
  letter-spacing: -.06em; font-weight: 850;
}
.intro-copy {
  color: #a5adbd; max-width: 38rem; margin: 1rem 0 0;
  font-size: 1.05rem; line-height: 1.65;
}
.search-wrap {
  height: 3.75rem; display: flex; align-items: center; gap: .35rem;
  padding: 0 .7rem 0 1rem; background: #101218; border: 1px solid #292e39;
  border-radius: 1rem; box-shadow: 0 12px 32px rgba(0, 0, 0, .26);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.search-wrap:focus-within { background: #13161d; border-color: #555e70; box-shadow: 0 0 0 4px rgba(227, 34, 51, .1), 0 18px 40px rgba(0, 0, 0, .3); }
.search-wrap > svg { color: #8e97a8; width: 1.2rem; flex: none; }
.search-wrap input {
  height: 100%; padding-inline: .4rem; border: 0; box-shadow: none;
  color: #f5f7fb; background: transparent; font-size: 1rem;
  width: 90%;
}
.search-wrap input:focus-visible { box-shadow: none; }
.featured {
  position: relative; overflow: hidden; min-height: 18rem; display: grid;
  grid-template-columns: 15rem minmax(0, 1fr) 19rem; align-items: center;
  gap: 2.5rem; padding: 2.5rem 3rem; border-radius: 1.7rem;
  background: linear-gradient(120deg, #0d0f15 0%, #090b0f 56%, #13090d 100%); color: white;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 28px 70px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.featured::before {
  content: ""; position: absolute; width: 25rem; height: 25rem; right: -7rem; top: -12rem;
  border: 1px solid rgba(255,255,255,.09); border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255,255,255,.025), 0 0 0 8rem rgba(255,255,255,.02);
}
.featured-art { display: grid; place-items: center; position: relative; }
.sound-rings {
  position: absolute; width: 12.8rem; height: 12.8rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1.1rem rgba(255,255,255,.035), 0 0 0 2.2rem rgba(255,255,255,.025);
}
.station-logo {
  width: 3.35rem; height: 3.35rem; border-radius: 1rem; color: white;
  display: grid; place-items: center; overflow: hidden; flex: none;
  font-size: .95rem; font-weight: 900; letter-spacing: -.03em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.station-logo img { width: 100%; height: 100%; object-fit: contain; background: white; }
.station-logo-large {
  position: relative; width: 9.5rem; height: 9.5rem; border-radius: 2.2rem;
  font-size: 2.5rem; transform: rotate(-3deg);
  box-shadow: 0 22px 45px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.28);
}
.now-live {
  display: flex; align-items: center; gap: .55rem; margin: 0 0 .6rem;
  color: #ffadb4; font-size: .75rem; font-weight: 850; letter-spacing: .16em;
}
.featured-info { position: relative; z-index: 1; }
.featured-info h2 {
  margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.045em;
}
.featured-info > p:not(.now-live) {
  display: flex; align-items: center; gap: .45rem; color: #bfc8da; margin: .75rem 0 1.5rem;
}
.featured-info > p svg { width: 1rem; }
.track-info {
  max-width: 28rem; display: flex; align-items: center; gap: .7rem;
  margin: -.45rem 0 1.2rem; padding: .65rem .8rem;
  color: white; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1); border-radius: .75rem;
}
.track-info > svg { width: 1.1rem; flex: none; color: #ff737f; }
.track-info > span { min-width: 0; display: grid; gap: .05rem; }
.track-info small { color: #ffadb4; font-size: .62rem; font-weight: 850; letter-spacing: .12em; }
.track-info strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .82rem; }
.main-play {
  height: 3.2rem; padding-inline: 1.25rem; border-radius: .9rem;
  background: #e32233; font-size: .95rem; box-shadow: 0 9px 22px rgba(227, 34, 51, .28);
}
.main-play svg { width: 1.15rem; }
.equalizer {
  height: 7rem; display: flex; align-items: center; justify-content: center;
  gap: .32rem; position: relative; z-index: 1;
}
.equalizer i {
  width: .27rem; height: 22%; display: block; background: rgba(255,255,255,.2);
  border-radius: 1rem; transition: height .3s ease;
}
.equalizer.active i { animation: equalize .8s ease-in-out infinite alternate; background: #ff6471; }
.equalizer.active i:nth-child(3n) { animation-duration: .55s; }
.equalizer.active i:nth-child(4n) { animation-duration: 1.05s; }
.equalizer.active i:nth-child(5n) { animation-delay: -.4s; }
.error-message {
  display: flex; align-items: center; gap: .65rem; margin: 1rem 0 0;
  padding: .8rem 1rem; border: 1px solid #60232b; border-radius: .8rem; background: #241014;
  color: #ffabb3; font-size: .9rem;
}
.error-message svg { width: 1.1rem; }
.directory { margin-top: 4rem; scroll-margin-top: 6.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading h2 { margin: 0; color: #f8f9fc; font-size: 2rem; letter-spacing: -.04em; }
.directory-summary { display: grid; justify-items: end; gap: .15rem; }
.directory-summary p { margin: 0; }
#catalog-status { color: #8f98aa; font-size: .72rem; }
#station-count { color: #c2c8d4; font-size: .875rem; }
.genre-tabs {
  display: flex; gap: .55rem; overflow-x: auto; padding: 1.4rem 0 1.1rem; scrollbar-width: none;
}
.genre-tabs button { border-radius: 999px; box-shadow: none; }
.genre-tabs button svg { width: .9rem; height: .9rem; }
.filter-button {
  color: #dbe0e9; background: #101218; border: 1px solid #303641;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.filter-button:hover { background: #1b1f27; border-color: #424958; transform: translateY(-1px); }
.filter-button.active { color: white; background: linear-gradient(135deg, #e32233, #bb1423); border-color: #ef3b4b; box-shadow: 0 8px 20px rgba(227, 34, 51, .22); }
.filter-button[data-filter="Favoritas"] svg { transition: fill .2s ease; }
.filter-button[data-filter="Favoritas"].active svg { fill: currentColor; }
.directory-layout { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); align-items: start; gap: 1rem; }
.catalog-content { min-width: 0; scroll-margin-top: 6.75rem; }
.region-sidebar {
  min-width: 0; max-width: 100%; position: sticky; top: 6.4rem; padding: 1rem;
  border: 1px solid #292e39; border-radius: 1.1rem; background: linear-gradient(145deg, #10131a, #0b0d11);
}
.region-heading { padding: .15rem .25rem .8rem; border-bottom: 1px solid #292e39; }
.region-heading .eyebrow { margin-bottom: .35rem; }
.region-heading h3 { margin: 0; color: #f2f4f8; font-size: 1rem; letter-spacing: -.02em; }
.region-select {
  display: none; width: 100%; min-height: 2.8rem; margin-top: .75rem; padding: .65rem 2.35rem .65rem .75rem;
  color: #f2f4f8; background: #151820; border: 1px solid #3a414e; border-radius: .75rem;
  font: inherit; font-size: .85rem; font-weight: 700; color-scheme: dark;
}
.region-list { min-width: 0; max-width: 100%; display: grid; gap: .22rem; margin-top: .65rem; }
.region-button {
  width: 100%; min-height: 2.35rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .5rem .6rem; color: #a9b1c0; background: transparent; border: 1px solid transparent; border-radius: .65rem;
  font: inherit; font-size: .78rem; font-weight: 700; text-align: left; cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.region-button:hover { color: #fff; background: #181c24; transform: translateX(2px); }
.region-button.active { color: #fff; background: rgba(227, 34, 51, .12); border-color: rgba(227, 34, 51, .34); }
.region-button small {
  min-width: 1.6rem; padding: .12rem .35rem; color: #9ea7b7; background: #20242c; border-radius: 999px;
  font-size: .65rem; font-weight: 800; text-align: center;
}
.region-button.active small { color: #fff; background: #c51b2a; }
.station-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.station-card {
  min-width: 0; display: flex; align-items: center; gap: .25rem; padding: .75rem;
  background: linear-gradient(145deg, #12151c, #0d0f14); border: 1px solid #252a34; border-radius: 1.15rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.station-card:hover { transform: translateY(-3px); border-color: #495160; box-shadow: 0 16px 34px rgba(0, 0, 0, .34); }
.station-card.current { background: linear-gradient(145deg, #18131a, #0e0f14); border-color: rgba(227, 34, 51, .58); box-shadow: inset 0 0 0 1px rgba(227, 34, 51, .1), 0 14px 34px rgba(0, 0, 0, .28); }
.card-main {
  min-width: 0; flex: 1; display: flex; align-items: center; gap: .85rem;
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left;
}
.card-copy { min-width: 0; flex: 1; display: grid; gap: .28rem; }
.card-copy strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .98rem; }
.card-copy small {
  display: flex; align-items: center; color: #949daf; font-size: .75rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-copy small svg { width: .8rem; margin-right: .2rem; }
.card-copy em {
  width: fit-content; margin-top: .08rem; padding: .15rem .38rem;
  color: #126ca4; background: #e4f4ff; border-radius: .3rem;
  font-size: .58rem; font-style: normal; font-weight: 850; letter-spacing: .1em;
}
.card-play {
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  flex: none; border-radius: 50%; background: #20242c; color: #f5f7fb;
}
.current .card-play { background: #e32233; color: white; }
.card-play svg { width: .9rem; }
.favorite { width: 2rem; height: 2rem; min-height: 2rem; padding: 0; color: #8c96a8; flex: none; }
.favorite.saved { color: #e32233; }
.favorite.saved svg { fill: currentColor; }
.card-detail { width: 2rem; height: 2rem; min-height: 2rem; padding: 0; color: #aeb7c7; flex: none; }
.card-detail:hover { color: #fff; background: #282d37; }
.empty-state {
  text-align: center; padding: 4rem 1rem; background: #0d0f14;
  border: 1px dashed #343a46; border-radius: 1.2rem;
}
.empty-state > svg { width: 2.2rem; height: 2.2rem; color: #e32233; }
.empty-title { display: block; margin: .8rem 0 .2rem; color: #f5f7fb; font-size: 1.17rem; }
.empty-state p { color: #9ca5b5; margin: 0 0 1rem; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 1.75rem; }
.load-more-wrap .btn { min-width: 12rem; border: 1px solid #3e4553; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
footer {
  max-width: 76rem; margin: 0 auto; padding: 2.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  border-top: 1px solid #252a34; color: #949dae; font-size: .82rem;
}
.footer-copy { display: flex; align-items: center; gap: 1rem; }
.footer-copy p { margin: 0; }
.footer-contact { padding: 0; border: 0; color: #d5dae4; background: none; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.footer-contact:hover { color: white; }
.seo-content {
  margin-top: 5rem; padding: 3rem; border: 1px solid #252a34; border-radius: 1.5rem;
  background: linear-gradient(145deg, #0d0f14, #08090c);
}
.seo-intro { max-width: 48rem; }
.seo-intro h2 { margin: 0; color: #f8f9fc; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.045em; }
.seo-intro > p:last-child { color: #a5adbd; font-size: 1rem; line-height: 1.7; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 2rem; }
.benefit-grid article { padding: 1.25rem; border: 1px solid #292e38; border-radius: 1rem; background: #12151b; }
.benefit-grid h3 { margin: 0 0 .5rem; font-size: 1rem; }
.benefit-grid p { margin: 0; color: #99a2b2; font-size: .86rem; line-height: 1.55; }
.faq-list { display: grid; gap: .6rem; margin-top: 1.8rem; }
.faq-list details { padding: 1rem 1.1rem; border: 1px solid #292e38; border-radius: .85rem; background: #0d0f14; }
.faq-list summary { color: #edf0f6; font-weight: 750; cursor: pointer; }
.faq-list details p { margin: .8rem 0 0; color: #9ca5b5; line-height: 1.6; }
.contact-dialog {
  width: min(36rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0;
  color: #f5f7fb; background: transparent; border: 0; border-radius: 1.25rem;
}
.contact-dialog::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(5px); }
.dialog-panel { padding: 1.5rem; border: 1px solid #303641; border-radius: 1.25rem; background: #101218; box-shadow: 0 28px 80px rgba(0, 0, 0, .62); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.dialog-title { display: block; margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.dialog-close { width: 2.5rem; height: 2.5rem; min-height: 2.5rem; }
.dialog-copy { margin: 1rem 0 1.2rem; color: #a5adbd; line-height: 1.55; }
.form-field { display: grid; gap: .4rem; margin-top: .85rem; }
.form-field label { color: #d9dee8; font-size: .82rem; font-weight: 750; }
.form-field input, .form-field textarea {
  width: 100%; padding: .75rem .85rem; color: #f5f7fb; background: #090b0f;
  border: 1px solid #343a47; border-radius: .7rem; resize: vertical;
}
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 3px solid rgba(227, 34, 51, .28); border-color: #e32233; }
.honeypot { position: fixed; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.25rem; margin: .8rem 0 0; color: #b8bfcc; font-size: .82rem; }
.form-status.success { color: #71d6a5; }
.form-status.error { color: #ff8994; }
.form-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .6rem; }
.form-actions .main-play { height: 2.75rem; }
.toast {
  position: fixed; left: 50%; bottom: 7rem; z-index: 40; transform: translateX(-50%);
  max-width: calc(100% - 2rem); padding: .75rem 1rem; color: #f7f8fb; background: #20242c;
  border: 1px solid #414856; border-radius: .75rem; box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  font-size: .84rem; font-weight: 700; text-align: center;
}
.brand.compact { font-size: 1rem; }
.brand.compact .brand-mark { width: 1.9rem; height: 1.9rem; border-radius: .6rem; }
.brand.compact .brand-mark svg { width: 1rem; }
.player-bar {
  position: fixed; left: 50%; bottom: 1rem; z-index: 20;
  width: min(48rem, calc(100% - 2rem)); transform: translate(-50%, calc(100% + 2rem));
  opacity: 0; transition: transform .35s ease, opacity .25s ease;
}
.player-bar.visible { transform: translate(-50%, 0); opacity: 1; }
.player-inner {
  display: flex; align-items: center; gap: .85rem; padding: .72rem .8rem;
  color: white; background: rgba(10, 12, 16, .97);
  border: 1px solid rgba(255,255,255,.13); border-radius: 1.3rem;
  box-shadow: 0 18px 50px rgba(10, 20, 40, .3); backdrop-filter: blur(16px);
}
.player-copy { min-width: 0; flex: 1; display: grid; }
.player-copy small { color: #ff737f; font-size: .65rem; font-weight: 850; letter-spacing: .12em; }
.player-copy strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .9rem; }
.player-copy span {
  max-width: 25rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: #bfc8d8; font-size: .7rem;
}
.player-play {
  width: 2.5rem; height: 2.5rem; min-height: 2.5rem; padding: 0;
  flex: none; border-radius: 50%; color: white; background: #e32233;
}
.player-play:hover, .main-play:hover { background: #c91e2e; }
.player-volume { width: 9rem; display: flex; align-items: center; gap: .45rem; }
.player-volume button { min-height: 2rem; color: #bec7d8; }
.volume-slider {
  width: 100%; height: .3rem; accent-color: #f24a59; cursor: pointer;
}
.search-clear { width: 2rem; height: 2rem; min-height: 2rem; padding: 0; flex: none; }
.spin { animation: spin 1s linear infinite; }

.radio-detail-main { padding-top: 1.5rem; }
.breadcrumbs {
  display: flex; align-items: center; gap: .55rem; margin: .5rem 0 1.4rem;
  color: #8f98a8; font-size: .8rem;
}
.breadcrumbs a { color: #c8ced9; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2rem; }
.detail-featured { margin-top: 0; }
.detail-featured .featured-info h1 {
  margin: 0; color: #f8f9fc; white-space: normal;
  font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.045em;
}
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
#detail-favorite.saved { color: #ff6b78; border-color: rgba(227, 34, 51, .55); background: rgba(227, 34, 51, .1); }
#detail-favorite.saved svg { fill: currentColor; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(19rem, .82fr); gap: 1rem; margin-top: 1rem; }
.station-about, .related-radios {
  padding: 2rem; border: 1px solid #292e39; border-radius: 1.3rem;
  background: linear-gradient(145deg, #10131a, #0b0d11);
}
.station-about h2, .related-radios h2 { margin: 0; color: #f5f7fb; font-size: 1.55rem; letter-spacing: -.035em; }
.station-about > p:not(.eyebrow) { color: #aab2c1; line-height: 1.7; }
.station-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin: 1.5rem 0; }
.station-facts div { min-width: 0; padding: .8rem; border: 1px solid #292f39; border-radius: .8rem; background: #151820; }
.station-facts dt { color: #818b9d; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.station-facts dd { margin: .3rem 0 0; color: #edf0f5; font-size: .82rem; line-height: 1.35; }
.detail-note { margin-bottom: 0; padding-top: 1rem; border-top: 1px solid #282d36; font-size: .86rem; }
.related-list { display: grid; gap: .55rem; margin-top: 1.2rem; }
.related-list a {
  min-width: 0; display: flex; align-items: center; gap: .7rem; padding: .65rem;
  color: #edf0f6; border: 1px solid #292f39; border-radius: .85rem; background: #151820; text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.related-list a:hover { transform: translateX(2px); border-color: #474f5e; background: #1a1e27; }
.related-list a > span:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: .2rem; }
.related-list strong, .related-list small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.related-list strong { font-size: .88rem; }
.related-list small { color: #9099aa; font-size: .68rem; }
.related-list > a > svg { width: 1rem; color: #98a1b2; flex: none; }
.related-logo { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; flex: none; border-radius: .75rem; font-size: .75rem; font-weight: 900; }
.detail-footer p { margin: 0; }
.detail-not-found { max-width: 42rem; margin: 5rem auto; padding: 3rem; text-align: center; border: 1px solid #292e39; border-radius: 1.5rem; background: #0d0f14; }
.detail-not-found .eyebrow { justify-content: center; }
.detail-not-found h1 { white-space: normal; font-size: clamp(2.2rem, 6vw, 4rem); }
.detail-not-found p { margin: 1rem 0 1.5rem; color: #aab2c1; line-height: 1.6; }

.back-to-top {
  position: fixed; right: .75rem; bottom: .5rem; z-index: 35;
  width: 2.8rem; height: 2.8rem; display: inline-flex; align-items: center; justify-content: center; padding: 0;
  color: #fff; background: linear-gradient(135deg, #e32233, #b91423); border: 1px solid #f04453; border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4), 0 6px 18px rgba(227, 34, 51, .22);
  font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer;
  transition: bottom .3s ease, transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.back-to-top[hidden] { display: none !important; }
.back-to-top svg { width: 1rem; height: 1rem; }
.back-to-top:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 36px rgba(0, 0, 0, .46), 0 8px 22px rgba(227, 34, 51, .28); }
.back-to-top:active { transform: translateY(0) scale(.97); }
.back-to-top:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(227, 34, 51, .22), 0 16px 36px rgba(0, 0, 0, .46); }
.has-player .back-to-top { bottom: 6rem; }

::selection { color: #fff; background: #a81422; }
* { scrollbar-color: #404754 #0a0c10; scrollbar-width: thin; }

@keyframes equalize { from { height: 16%; } to { height: 88%; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 .5rem rgba(227, 34, 51, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-height: 850px) and (min-width: 901px) {
  .region-sidebar { position: static; }
}

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .featured { grid-template-columns: 10rem minmax(0, 1fr); padding: 2rem; }
  .featured-art { grid-row: 1; }
  .equalizer { display: none; }
  .station-logo-large { width: 7.5rem; height: 7.5rem; font-size: 2rem; }
  .sound-rings { width: 9.4rem; height: 9.4rem; }
  .directory-layout { grid-template-columns: 1fr; }
  .region-sidebar { position: static; padding: .8rem; }
  .region-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .65rem; }
  .region-heading .eyebrow { margin: 0; }
  .region-list { display: none; }
  .region-select { display: block; }
  .station-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .site-shell { padding-bottom: 6rem; }
  .topbar { top: .5rem; width: calc(100% - 1rem); height: 4.25rem; margin-top: .5rem; padding-inline: .75rem; border-radius: 1rem; }
  .live-status { font-size: 0; }
  .top-actions { gap: .55rem; }
  .top-link { display: none; }
  .contact-trigger { padding-inline: .7rem; }
  main { padding: 1.3rem 1rem 3rem; }
  .intro { margin-top: 1rem; }
  h1 { font-size: clamp(1.65rem, 8vw, 2.35rem); }
  .featured { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; padding: 2rem 1.2rem; }
  .featured-info > p { justify-content: center; }
  .station-grid { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 1.65rem; }
  .section-heading { align-items: flex-start; }
  .directory-summary { justify-items: end; text-align: right; }
  .seo-content { margin-top: 3rem; padding: 1.4rem; }
  footer { flex-direction: column; align-items: flex-start; }
  .footer-copy { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .contact-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .dialog-panel { padding: 1.2rem; }
  .toast { bottom: 6rem; }
  .player-bar { width: calc(100% - 1rem); bottom: .5rem; }
  .back-to-top { right: .5rem; bottom: .5rem; }
  .has-player .back-to-top { bottom: 5.5rem; }
  .player-inner { gap: .55rem; padding: .65rem; border-radius: 1rem; }
  .player-inner > .station-logo { width: 2.85rem; height: 2.85rem; border-radius: .8rem; }
  .player-volume { width: 5.8rem; gap: .2rem; }
  .player-volume button { width: 2rem; padding: .35rem; }
  .volume-slider { min-width: 0; }
  .radio-detail-main { padding-top: 1rem; }
  .breadcrumbs { margin-top: .25rem; }
  .detail-featured .featured-info h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .detail-actions { justify-content: center; }
  .station-about, .related-radios { padding: 1.25rem; }
  .station-facts { grid-template-columns: 1fr; }
  .detail-footer { align-items: flex-start; }
}
@media (max-width: 400px) {
  .player-inner > .station-logo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
