/* VYBEON FM - "Nightride" skin 3.0. Loaded by public/fm/index.html AFTER its own style block. It only changes colour, glow, border weight and type rendering: no element is moved, resized, added
   or removed, so FM's layout is exactly as it was, and VYBEON FM stays strictly ad-free (it loads nothing from the shared VYBEON layer).
   What is new in 3.0: the page palette is NOT forced any more. Every band and every station sets its own colours (fm-colors.js), and this file makes the WHOLE screen follow them:
   - the colours GLIDE when you change station (registered colour properties + a transition on <html>)
   - a neon glow in the station colour around the screen edges, breathing slowly, and a wash of the new colour at every change
   - text, borders, focus rings, selected rows and the LED spectrum glow in the station colour
   - the top logo keeps its own colours
   Turn the skin off:  <html data-nr="off">  (or delete the <link> to this file).   Created by Ashwani Kumar Sharma for vybeon.online */
@property --bg{syntax:'<color>';inherits:true;initial-value:#0a0620}
@property --fg{syntax:'<color>';inherits:true;initial-value:#ff6ad5}
@property --ac{syntax:'<color>';inherits:true;initial-value:#ffb3ec}
@property --band{syntax:'<color>';inherits:true;initial-value:#37e6ff}
@property --bandfg{syntax:'<color>';inherits:true;initial-value:#0a0620}
html:not([data-nr=off]){transition:--bg .9s ease,--fg .9s ease,--ac .9s ease,--band .9s ease,--bandfg .9s ease;--nr-hair:color-mix(in srgb,var(--fg) 24%,transparent)}
@media (prefers-reduced-motion:reduce){html:not([data-nr=off]){transition:none}}

html:not([data-nr=off]) body{
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:geometricPrecision;font-kerning:none;
  background:
    radial-gradient(120% 80% at 50% -10%,color-mix(in srgb,var(--ac) 46%,var(--bg)),color-mix(in srgb,var(--fg) 14%,var(--bg)) 34%,var(--bg) 64%),
    radial-gradient(95% 62% at 50% 122%,color-mix(in srgb,var(--band) 34%,var(--bg)),transparent 70%),
    radial-gradient(60% 50% at 0% 50%,color-mix(in srgb,var(--fg) 14%,transparent),transparent 70%),
    radial-gradient(60% 50% at 100% 50%,color-mix(in srgb,var(--band) 14%,transparent),transparent 70%),var(--bg);
}
/* the neon edge: the existing vignette overlay glows in the station colour and breathes (opacity only: no repaint) */
html:not([data-nr=off]) #vig{background:radial-gradient(ellipse at center,transparent 52%,color-mix(in srgb,var(--bg) 70%,#000) 100%),radial-gradient(ellipse at center,transparent 54%,color-mix(in srgb,var(--ac) 30%,transparent) 100%);animation:nrBreathe 7s ease-in-out infinite}
@keyframes nrBreathe{0%,100%{opacity:.78}50%{opacity:1}}
/* the wash at every station change: a sweep of the new colour from the middle of the screen */
html:not([data-nr=off])::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:95;opacity:0;background:radial-gradient(circle at 50% 34%,color-mix(in srgb,var(--ac) 70%,transparent),color-mix(in srgb,var(--fg) 26%,transparent) 38%,transparent 66%)}
html.nr-wash:not([data-nr=off])::after{animation:nrWash 1s ease-out}
@keyframes nrWash{0%{opacity:0;transform:scale(.7)}14%{opacity:.85}100%{opacity:0;transform:scale(1.5)}}
@media (prefers-reduced-motion:reduce){html:not([data-nr=off]) #vig{animation:none}html.nr-wash:not([data-nr=off])::after{animation:none}}

/* glow in the station colour (the existing text-glow setting still switches it) */
html:not([data-nr=off]) body.glow{text-shadow:0 0 1px var(--fg),0 0 11px color-mix(in srgb,var(--fg) 55%,transparent)}
html:not([data-nr=off]) #title{text-shadow:0 0 18px color-mix(in srgb,var(--ac) 60%,transparent)}
html:not([data-nr=off]) #title::before{background:var(--band);box-shadow:0 0 9px var(--band)}
/* crisp 1px hairlines in the station colour */
html:not([data-nr=off]) nav{border-bottom:1px solid var(--nr-hair)}
html:not([data-nr=off]) nav button{border-width:1px;margin-bottom:-1px}
html:not([data-nr=off]) nav button[aria-selected=true]{border-color:var(--fg);box-shadow:inset 0 -2px 0 var(--band),0 0 16px color-mix(in srgb,var(--ac) 42%,transparent)}
html:not([data-nr=off]) .chrow{border-width:1px;border-color:transparent}
html:not([data-nr=off]) .chrow.on{border-color:var(--fg);box-shadow:inset 3px 0 0 var(--band),inset 0 0 20px color-mix(in srgb,var(--ac) 22%,transparent),0 0 14px color-mix(in srgb,var(--fg) 26%,transparent)}
html:not([data-nr=off]) .exp{border-bottom:1px solid var(--nr-hair)}
html:not([data-nr=off]) .sr{border-bottom:1px solid color-mix(in srgb,var(--fg) 14%,transparent)}
html:not([data-nr=off]) .sr.on{border-left-color:var(--band);background:color-mix(in srgb,var(--ac) 14%,transparent);box-shadow:0 0 14px color-mix(in srgb,var(--ac) 20%,transparent) inset}
html:not([data-nr=off]) .sr .n .dot{background:var(--band);box-shadow:0 0 7px var(--band)}
html:not([data-nr=off]) .more{border:1px solid var(--nr-hair)}
html:not([data-nr=off]) .wl{border-right:1px solid var(--nr-hair)}
html:not([data-nr=off]) .wl button{border-bottom:1px solid color-mix(in srgb,var(--fg) 14%,transparent)}
html:not([data-nr=off]) .wl button.on{background:color-mix(in srgb,var(--ac) 14%,transparent);color:var(--ac)}
html:not([data-nr=off]) .wr .hd{border-bottom:1px solid var(--nr-hair)}
html:not([data-nr=off]) .wr .hd input{border:1px solid color-mix(in srgb,var(--fg) 40%,transparent);background:color-mix(in srgb,var(--fg) 5%,transparent)}
html:not([data-nr=off]) #wmode{border:1px solid color-mix(in srgb,var(--fg) 40%,transparent)}
html:not([data-nr=off]) .volpop,html:not([data-nr=off]) #settings{border:1px solid color-mix(in srgb,var(--fg) 45%,transparent);background:color-mix(in srgb,var(--bg) 92%,#000);box-shadow:0 20px 50px -20px #000,0 0 22px color-mix(in srgb,var(--ac) 22%,transparent)}
html:not([data-nr=off]) .panel{scrollbar-color:color-mix(in srgb,var(--fg) 60%,transparent) transparent}
html:not([data-nr=off]) .panel::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--fg) 60%,transparent)}
html:not([data-nr=off]) nav button:hover,html:not([data-nr=off]) .chrow:hover,html:not([data-nr=off]) .sr:hover{background:var(--band);color:var(--bandfg)}
html:not([data-nr=off]) :focus-visible{outline:2px solid var(--ac);outline-offset:2px}
/* CRT texture: subtle, still switched by your Scanlines / Noise / Flicker settings */
html:not([data-nr=off]) #scan{background:repeating-linear-gradient(0deg,rgba(0,0,0,.20) 0 1px,transparent 1px 3px)}
html:not([data-nr=off]) #scanbar{opacity:.55}
html:not([data-nr=off]) #cv-eq{image-rendering:pixelated;image-rendering:crisp-edges}
@media (min-resolution:2dppx){html:not([data-nr=off]) #cv-eq{image-rendering:auto}}
