/* GTA6Guide Radio v15 — compact, swipeable station badges over the existing map.
   All styles are scoped to the radio so vehicles, filters and map remain untouched. */
#g6r-root,#g6r-launch{font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
#g6r-root[hidden],#g6r-launch[hidden]{display:none!important}
#g6r-root{--g6r-accent:#ff77c6;position:fixed;inset:auto 0 0;z-index:9000;display:flex;justify-content:center;align-items:end;pointer-events:none;color:#fff}
#g6r-root *{box-sizing:border-box}
#g6r-root .g6r-panel{pointer-events:auto;position:relative;width:min(100%,920px);background:linear-gradient(145deg,rgba(22,13,40,.96),rgba(34,14,44,.97) 58%,rgba(13,21,35,.98));border:1px solid rgba(255,120,205,.48);border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -10px 48px rgba(0,0,0,.58),0 0 30px rgba(250,44,162,.19);overflow:hidden;padding:0 0 max(env(safe-area-inset-bottom),8px)}
#g6r-root .g6r-panel:before{content:'';height:4px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,#19e8ef,#ff58bc,#ffb956,#bb6fff);box-shadow:0 0 18px #ff4fa7}
#g6r-root .g6r-header{display:flex;align-items:center;gap:12px;padding:14px 18px 10px}
#g6r-root .g6r-brand{min-width:0;flex:1;display:flex;align-items:baseline;flex-wrap:wrap;gap:7px}
#g6r-root .g6r-brand strong{font-size:19px;font-weight:950;letter-spacing:-.03em;text-shadow:0 2px 8px #c43a86}
#g6r-root .g6r-brand em{font-style:italic;color:#ff7dc7}
#g6r-root .g6r-brand small{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#c8b8d4;font-weight:850}
#g6r-root button{cursor:pointer;font:inherit}
#g6r-root .g6r-close{width:40px;height:40px;flex:0 0 40px;font-size:26px;line-height:1;background:#402446;color:white;border:1px solid #966f98;border-radius:11px}
#g6r-root .g6r-row{display:grid;grid-template-columns:33px minmax(0,1fr) 33px;align-items:center;gap:4px;padding:0 10px 5px}
#g6r-root .g6r-arrow{border:1px solid #7d5689;border-radius:8px;background:#291b3d;color:#f8d7ed;height:46px;font-size:25px;line-height:1}
#g6r-root .g6r-stations{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none;padding:7px 6px 10px;min-width:0;touch-action:pan-x pan-y}
#g6r-root .g6r-stations::-webkit-scrollbar{display:none}
#g6r-root .g6r-station{flex:0 0 clamp(66px,13vw,94px);min-width:0;border:2px solid transparent;border-radius:13px;background:#130f20;padding:3px;scroll-snap-align:center;box-shadow:0 1px 9px #0008;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
#g6r-root .g6r-station img{width:100%;height:auto;aspect-ratio:1;display:block;object-fit:cover;border-radius:8px}
#g6r-root .g6r-station[aria-pressed="true"]{border-color:#ffe16b;box-shadow:0 0 0 1px #ffde91aa,0 0 17px #fa4eaeaa;transform:translateY(-4px);background:#3f2244}
#g6r-root .g6r-station:active{transform:scale(.96)}
#g6r-root .g6r-now{display:flex;align-items:center;gap:11px;margin:0 18px;padding:10px 12px;background:linear-gradient(105deg,#301d45,#1b162d);border:1px solid #744d75;border-radius:14px;min-width:0}
#g6r-root .g6r-now-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
#g6r-root .g6r-now-copy strong{font-size:16px;line-height:1.1;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#g6r-root .g6r-now-copy span{font-size:11px;color:#dfc5d9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#g6r-root .g6r-now-dot{width:8px;height:8px;background:#ff68bb;border-radius:50%;box-shadow:0 0 13px #ff68bb;flex:0 0 8px}
#g6r-root .g6r-play{border:0;border-radius:10px;background:linear-gradient(115deg,#ffca59,#ff80b9);color:#211027;min-height:40px;padding:9px 15px;font-weight:900;white-space:nowrap}
#g6r-root .g6r-player{margin:8px 18px 0;border-radius:10px;overflow:hidden}
#g6r-root .g6r-player[hidden]{display:none!important}
#g6r-root .g6r-embed{min-width:280px;height:80px;min-height:80px;padding:0}
#g6r-root .g6r-embed iframe{display:block;width:100%;height:80px;min-height:80px;border:0;border-radius:10px}
#g6r-root .g6r-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;padding:8px 19px 4px}
#g6r-root .g6r-link{font-size:12px;color:#94fbeb;font-weight:750;text-decoration:underline;text-underline-offset:3px}
#g6r-root .g6r-hint{font-size:11px;color:#d3bdd3}
#g6r-root .g6r-message{margin:0;padding:0 19px 7px;font-size:11px;color:#cdbbd3;line-height:1.35}
#g6r-root button:focus-visible,#g6r-root a:focus-visible{outline:3px solid #85f7ed;outline-offset:3px}
#g6r-launch{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));right:14px;z-index:8900;width:52px;height:52px;background:linear-gradient(130deg,#2b1738,#82235b);color:white;border:2px solid #ff7dbb;border-radius:50%;box-shadow:0 0 23px #ff55bd55;display:grid;place-items:center;cursor:pointer}
@media(max-width:600px){#g6r-root .g6r-panel{width:100%;border-radius:17px 17px 0 0}#g6r-root .g6r-header{padding:11px 12px 7px}#g6r-root .g6r-brand strong{font-size:17px}#g6r-root .g6r-row{grid-template-columns:26px minmax(0,1fr) 26px;gap:2px;padding:0 5px 3px}#g6r-root .g6r-arrow{height:40px;font-size:20px}#g6r-root .g6r-stations{gap:7px;padding:8px 4px}#g6r-root .g6r-station{flex-basis:clamp(70px,21vw,91px)}#g6r-root .g6r-now{margin:0 10px;padding:10px}#g6r-root .g6r-now-copy strong{font-size:15px}#g6r-root .g6r-play{padding:9px 12px}#g6r-root .g6r-player{margin:6px 10px 0}#g6r-root .g6r-footer{padding:6px 13px 4px}#g6r-root .g6r-message{padding:0 13px 6px}}
@media(max-width:365px){#g6r-root .g6r-brand small{display:none}#g6r-root .g6r-station{flex-basis:69px}#g6r-root .g6r-play{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){#g6r-root .g6r-station{transition:none}#g6r-root .g6r-stations{scroll-behavior:auto}}

#g6r-root .g6r-player iframe{display:block;width:100%;height:80px;border:0;border-radius:10px}
#g6r-root .g6r-player{min-height:80px}
#g6r-root .g6r-badge{width:36px;height:36px;object-fit:cover;border-radius:7px}
#g6r-root .g6r-mini-close,#g6r-root .g6r-expand{display:none}
#g6r-root .g6r-message:empty{display:none}
#g6r-root[data-view="mini"]{position:relative;inset:auto;flex:0 0 auto;z-index:10;background:#201428;pointer-events:auto}
#g6r-root[data-view="mini"] .g6r-panel{width:min(100%,920px);padding:3px 8px max(3px,env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:none;display:grid;grid-template-columns:minmax(220px,1fr) minmax(280px,1.35fr);align-items:center}
#g6r-root[data-view="mini"] .g6r-header,#g6r-root[data-view="mini"] .g6r-row,#g6r-root[data-view="mini"] .g6r-footer{display:none}
#g6r-root[data-view="mini"] .g6r-now{margin:0;min-height:44px;padding:3px 8px;gap:8px;border:0;background:transparent}
#g6r-root[data-view="mini"] .g6r-player{margin:2px}
#g6r-root[data-view="mini"] .g6r-expand,#g6r-root[data-view="mini"] .g6r-mini-close{display:block;min-height:40px;border:0;background:transparent;color:#ffe1f0}
#g6r-root[data-view="mini"] .g6r-expand{font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
#g6r-root[data-view="mini"] .g6r-mini-close{font-size:22px;min-width:36px}
#g6r-root[data-view="mini"] .g6r-message{grid-column:1/-1;padding:2px 8px}
@media(max-width:580px){
  #g6r-root[data-view="mini"] .g6r-panel{grid-template-columns:minmax(0,1fr)}
  #g6r-root[data-view="mini"] .g6r-badge{width:31px;height:31px}
}
