/* DMC UI polish: final shared overrides. Loaded after all earlier styles. */
:root {
  --dmc-player-height:56px;
  --dmc-nav-height:82px;
  --dmc-content-width:1200px;
  --dmc-focus:#b5ff25;
}
html {scroll-padding-top:calc(var(--dmc-player-height) + var(--dmc-nav-height) + 18px)}
body {padding-bottom:0;line-height:1.55;background:#0a081a;overflow-x:clip}
body,button,input,textarea,select { -webkit-font-smoothing:antialiased }
img,svg,video,iframe { max-width:100% }
img { height:auto }
[hidden] { display:none!important }
.container {width:100%;max-width:var(--dmc-content-width);margin-inline:auto;padding-inline:clamp(18px,4vw,36px)}
:where(a,button,input,select,textarea,summary):focus-visible {outline:3px solid var(--dmc-focus);outline-offset:3px}
.button,.header-cta,.top-radio-station-link,.top-radio-expand,.top-radio-play {transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s,transform .18s}
.button {text-align:center;line-height:1.25;white-space:normal;min-width:0}
.button:hover {filter:brightness(1.08)}
button:disabled {cursor:not-allowed;opacity:.65;transform:none!important}
.header {top:var(--dmc-player-height);height:var(--dmc-nav-height);min-height:0;padding-inline:clamp(18px,3vw,40px);gap:clamp(12px,1.7vw,22px);box-shadow:0 7px 22px #0007}
.header .brand {flex:0 0 auto;min-width:0;max-width:240px}
.header .brand-logo {width:54px;height:54px;object-fit:contain;border:none;box-shadow:none;background:transparent}
.header .brand span {min-width:0}
.header .brand strong {font-size:30px}
.header .brand small {letter-spacing:.1em;line-height:1.4}
.header .nav {gap:clamp(9px,1.15vw,19px);min-width:0}
.header .nav a {font-size:11px;line-height:1.45;white-space:nowrap}
.header-cta {margin-left:auto;flex:0 0 auto}
.station-playerbar {position:sticky;top:0;z-index:120;isolation:isolate}
.station-playerbar-row {height:var(--dmc-player-height);max-width:var(--dmc-content-width);padding:4px clamp(14px,3vw,36px)}
.top-radio-ident {gap:12px}
.top-radio-ident img {width:44px;height:44px;object-fit:contain;flex-shrink:0}
.top-radio-ident strong {display:block;font-size:13px;line-height:1.25}
.top-radio-ident small {display:block;line-height:1.3;font-size:10px}
.top-radio-controls {gap:10px}
.top-radio-play {min-width:38px;width:38px;height:38px}
.top-radio-expand,.top-radio-station-link {min-height:34px;display:inline-flex;align-items:center;justify-content:center}
.top-radio-details {z-index:125;max-height:min(72vh,620px);overscroll-behavior:contain}
.top-radio-details-inner {gap:24px}
.top-radio-details #live-player {width:min(540px,100%);height:110px;min-height:110px}
.station-ticker {position:relative;z-index:1}
.hero.container {min-height:0;padding-top:clamp(35px,4vw,62px);padding-bottom:clamp(55px,6vw,95px);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(25px,4vw,70px);align-items:center}
.hero-copy,.hero .visual {min-width:0}
.hero-copy {display:flex;flex-direction:column;align-items:flex-start}
.hero-brand-logo {width:min(100%,550px);max-height:440px;object-fit:contain;object-position:left center;display:block;margin:10px 0 12px;filter:drop-shadow(0 12px 30px #fc28bc29)}
.hero-copy .lead {max-width:510px;font-size:clamp(14px,1.35vw,17px);line-height:1.75}
.hero-actions {display:flex;flex-wrap:wrap;gap:12px}
.hero-actions .button {min-height:50px}
.hero .visual {width:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hero .deck {margin:0;width:min(100%,475px);transform:rotate(-3deg);max-width:100%}
.hero .visual-tag {right:3%;top:2%}
.hero .equalizer {position:relative;left:auto;bottom:auto;transform:none;margin-top:30px}
.section-header {gap:18px;align-items:flex-start}
.section-desc {max-width:720px;line-height:1.7}
.feature-grid,.genre-grid,.tool-grid,.steps-grid,.faq-grid {min-width:0}
.feature-tile,.genre-grid article,.inner-card,.tool-card,.library-card,.juke-panel {min-width:0;overflow-wrap:anywhere}
.feature-tile {min-height:220px;padding:22px;border-radius:16px}
.feature-tile:hover {transform:translateY(-3px)}
.inner-hero {padding-top:clamp(30px,5vw,58px)}
.inner-hero h1 {overflow-wrap:normal;word-break:normal;text-wrap:balance}
.inner-card {gap:14px;border-radius:16px}
.inner-grid {gap:22px}
.catalog-browser,.juke-main,.juke-side {min-width:0}
.catalog-song,.song-row,.request-row {min-width:0;overflow-wrap:anywhere}
.catalog-tools input,.jukebox input,.contact-form input,.contact-form select,.contact-form textarea {max-width:100%;font-size:16px}
.juke-layout {min-width:0}
.juke-actions {flex-wrap:wrap}
.station-large-embed {max-width:100%}
footer {padding-block:18px}
.footer-inner {gap:18px;align-items:center}
.footer-links {display:flex;gap:clamp(8px,1.5vw,18px);flex-wrap:wrap}
:where(.footer-links a,.nav a,.top-radio-station-link) {text-underline-offset:4px}
@media (max-width:1180px) {
  .header {gap:14px}
  .header .nav {gap:10px}
  .header .nav a {font-size:10px}
}
@media (max-width:1100px) {
  :root {--dmc-nav-height:72px}
  .header {justify-content:space-between;height:var(--dmc-nav-height)}
  .header .nav {display:none;position:absolute;top:100%;left:0;right:0;z-index:130;padding:12px clamp(18px,4vw,32px) 22px;max-height:calc(100dvh - var(--dmc-player-height) - var(--dmc-nav-height));overflow-y:auto;background:#130c2e;border-bottom:2px solid var(--dmc-pink);box-shadow:0 18px 35px #000b;gap:4px;flex-direction:column;align-items:stretch}
  .header .nav.open {display:flex}
  .header .nav a {font-size:15px;display:block;padding:12px 14px;border-radius:7px;white-space:normal}
  .header .nav a:hover,.header .nav a[aria-current="page"] {background:#291847;color:var(--dmc-acid);border-bottom-color:transparent}
  .menu-toggle {display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;margin-left:auto;border-radius:7px}
  .header-cta {margin-left:0}
  .hero.container {gap:30px}
}
@media (max-width:820px) {
  .hero.container {grid-template-columns:1fr;gap:30px;padding-top:32px}
  .hero-copy {align-items:center;text-align:center}
  .hero-brand-logo {width:min(100%,540px);max-height:360px;object-position:center}
  .hero-copy .lead {max-width:600px}
  .hero-actions {justify-content:center}
  .hero .visual {margin:0 auto;max-width:490px}
  .hero .deck {margin:0 auto}
  .hero .equalizer {margin-top:25px}
  .feature-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .top-radio-details-inner {flex-direction:column;align-items:stretch}
  .top-radio-details #live-player {width:100%}
}
@media (max-width:600px) {
  :root {--dmc-player-height:54px;--dmc-nav-height:68px}
  .header {height:var(--dmc-nav-height);padding-inline:16px}
  .header .brand-logo {height:48px;width:48px}
  .header .brand strong {font-size:26px}
  .header .brand small {font-size:8px}
  .header-cta {display:none}
  .station-playerbar-row {height:54px;padding:4px 12px;gap:9px}
  .top-radio-ident {gap:7px}
  .top-radio-ident img {width:38px;height:38px}
  .top-radio-ident strong {font-size:11px;max-width:45vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .top-radio-ident small {font-size:9px;max-width:45vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .top-radio-controls {gap:5px}
  .top-radio-play {width:37px;height:37px;min-width:37px}
  .top-radio-station-link {display:none}
  .top-radio-expand {padding:6px 9px;font-size:10px}
  .hero.container {padding-bottom:56px}
  .hero-brand-logo {max-height:300px}
  .hero .deck {transform:none}
  .hero .visual-tag {right:0}
  .feature-grid {grid-template-columns:1fr}
  .feature-tile {min-height:150px}
  .section-header {flex-direction:column;align-items:flex-start}
  .inner-card {padding:21px}
  .inner-hero h1 {font-size:clamp(43px,10.5vw,66px)}
  .inner-cta h2 {font-size:38px}
  .contact-form .button {width:100%}
  .footer-inner {flex-direction:column;align-items:flex-start}
  .footer-links {width:100%}
}
@media (max-width:390px) {
  .top-radio-ident img {width:31px;height:31px}
  .top-radio-ident strong {max-width:42vw;font-size:10px}
  .top-radio-ident small {max-width:42vw;font-size:9px}
  .top-radio-expand {padding-inline:7px}
  .hero-actions .button {width:100%}
  .hero .deck {padding:10px}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  .feature-tile:hover {transform:none}
  .hero .deck {transform:none}
}
/* Contain moving decorative elements without clipping menus or sticky controls. */
.station-ticker,.rave-marquee,.laser-grid {overflow:hidden;max-width:100%}
.ambient {pointer-events:none}
body {overflow-x:hidden}
body::before,body::after {max-width:100vw}
.ambient-one{right:0;width:min(500px,100vw)}
.ambient-two{left:0;width:min(340px,100vw)}
