/* DinizOne Rádio & Vídeos — identidade visual própria (escuro, azul/roxo) */
:root {
  --bg: #070918;
  --bg-2: #0b0e24;
  --panel: #0f1330;
  --panel-2: #141a3d;
  --panel-3: #1a2150;
  --line: rgba(130, 145, 255, .13);
  --line-2: rgba(130, 145, 255, .24);
  --text: #eceeff;
  --text-2: #c3c8ee;
  --muted: #8b93c2;
  --brand: #3d6bff;
  --brand-2: #7b4dff;
  --grad: linear-gradient(135deg, #3d6bff 0%, #7b4dff 100%);
  --live: #ff3d61;
  --ok: #22c58b;
  --warn: #f5b23d;
  --danger: #ff5068;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  --player-h: 84px;
  --sidebar-w: 236px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}
.theme-meia-noite { --bg: #04050d; --bg-2: #070915; --panel: #0b0e22; --panel-2: #0f132c; --panel-3: #151a3a; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font: 15px/1.5 var(--font); color: var(--text);
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(123, 77, 255, .16), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(61, 107, 255, .12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid #8fa6ff; outline-offset: 2px; border-radius: 6px; }
.sprite { display: none; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* cores das estações */
.c-violeta { --c: #7c5cff; } .c-azul { --c: #2f7bff; } .c-ciano { --c: #18b6e8; } .c-verde { --c: #20c08a; }
.c-vermelho { --c: #ff4d5e; } .c-laranja { --c: #ff8a3d; } .c-rosa { --c: #ff4fb3; } .c-ambar { --c: #f5b83d; }

/* ---------------------------------------------------------------- estrutura */
.app { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: calc(100vh - var(--player-h)); }
.sidebar {
  position: sticky; top: 0; height: calc(100vh - var(--player-h)); overflow-y: auto;
  padding: 22px 14px; border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 19, 48, .92), rgba(9, 12, 32, .92));
  display: flex; flex-direction: column; gap: 6px; scrollbar-width: thin;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.brand-img { max-height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 21px; letter-spacing: .04em; font-weight: 800; }
.brand-text small { font-size: 10px; letter-spacing: .28em; color: #8fa2ff; margin-top: 3px; }
.brand-mark { display: inline-flex; align-items: center; gap: 3px; height: 30px; }
.brand-mark i { display: block; width: 4px; border-radius: 3px; background: var(--grad); }
.brand-mark i:nth-child(1) { height: 30%; } .brand-mark i:nth-child(2) { height: 65%; } .brand-mark i:nth-child(3) { height: 100%; }
.brand-mark i:nth-child(4) { height: 70%; } .brand-mark i:nth-child(5) { height: 40%; }
.brand-mark.lg { height: 46px; gap: 4px; } .brand-mark.lg i { width: 6px; }
.is-playing .brand-mark i { animation: eq 1.1s ease-in-out infinite; }
.is-playing .brand-mark i:nth-child(2) { animation-delay: -.3s; } .is-playing .brand-mark i:nth-child(3) { animation-delay: -.6s; }
.is-playing .brand-mark i:nth-child(4) { animation-delay: -.15s; } .is-playing .brand-mark i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.brand-mark i { transform-origin: center; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text-2);
  width: 100%; text-align: left; font-weight: 500; transition: background .15s, color .15s;
}
.nav-link:hover { background: rgba(110, 125, 255, .09); color: #fff; }
.nav-link.is-active { background: linear-gradient(135deg, rgba(61, 107, 255, .35), rgba(123, 77, 255, .28)); color: #fff; box-shadow: inset 0 0 0 1px rgba(140, 160, 255, .35); }
.nav-section { margin: 18px 12px 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dot-ic, .sq-ic { display: inline-grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--c, #7c5cff) 85%, #000); color: #fff; flex: none; }
.dot-ic { width: 26px; height: 26px; } .dot-ic .ic { width: 15px; height: 15px; }
.sq-ic { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--c, #7c5cff), color-mix(in srgb, var(--c, #7c5cff) 45%, #120c3a)); }
.sidebar-foot { margin-top: auto; padding: 14px 12px 0; font-size: 12px; color: var(--muted); }
.sidebar-foot a { display: flex; gap: 8px; align-items: center; } .sidebar-foot .ic { width: 16px; height: 16px; }

.main-col { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px;
  padding: 14px 28px; background: rgba(7, 9, 24, .78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.search { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 42px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.search:focus-within { border-color: var(--line-2); box-shadow: 0 0 0 3px rgba(61, 107, 255, .18); }
.search .ic { color: var(--muted); width: 18px; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; height: 100%; }
.search input::placeholder { color: var(--muted); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.onair-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 61, 97, .1); border: 1px solid rgba(255, 61, 97, .3); font-size: 13px; white-space: nowrap; }
.user-chip { display: flex; align-items: center; gap: 10px; line-height: 1.15; }
.user-chip small { display: block; color: var(--muted); font-size: 11px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-weight: 700; font-size: 13px; }
.only-mobile { display: none !important; }
.content { padding: 26px 28px 40px; outline: none; flex: 1; }
.is-navigating .content { opacity: .55; transition: opacity .2s; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 18px 28px 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer nav, .foot-right { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-right { margin-left: auto; }
.brand-small { padding: 0; } .brand-small .brand-mark { height: 20px; } .brand-small strong { color: var(--text); }

/* ---------------------------------------------------------------- componentes */
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; color: var(--text-2); transition: background .15s, color .15s; }
.icon-btn:hover { background: rgba(130, 145, 255, .12); color: #fff; }
.icon-btn.sm { width: 32px; height: 32px; } .icon-btn.sm .ic { width: 18px; height: 18px; }
.icon-btn.lg { width: 48px; height: 48px; } .icon-btn.lg .ic { width: 24px; height: 24px; }
.icon-btn[aria-pressed="true"] { color: #9db0ff; }
[data-fav][aria-pressed="true"], [data-act="fav-current"][aria-pressed="true"] { color: #ff5c8a; }
[data-fav][aria-pressed="true"] .ic, [data-act="fav-current"][aria-pressed="true"] .ic { fill: currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font-weight: 600; white-space: nowrap; transition: transform .1s, filter .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -12px rgba(80, 90, 255, .9); }
.btn-primary:hover { filter: brightness(1.12); color: #fff; }
.btn-ghost { background: rgba(130, 145, 255, .08); border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(130, 145, 255, .16); }
.btn-block { width: 100%; margin-top: 14px; }
.link-sm { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: #8fa6ff; }
.link-sm .ic { width: 14px; height: 14px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: color-mix(in srgb, var(--c, #6b7cff) 22%, transparent); color: color-mix(in srgb, var(--c, #9aa8ff) 60%, #fff); }
.pill .ic { width: 12px; height: 12px; }
.pill-live { --c: var(--live); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 61, 97, .6); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 97, .55); } 70% { box-shadow: 0 0 0 9px rgba(255, 61, 97, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 97, 0); } }
.empty { color: var(--muted); padding: 18px 4px; list-style: none; }
.note { display: flex; gap: 10px; margin-top: 22px; font-size: 13px; color: var(--muted); background: rgba(61, 107, 255, .06); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.note .ic { color: #8fa6ff; margin-top: 2px; }

.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel-head h2 { font-size: 16px; font-weight: 700; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.sec-head h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.sec-head h2 .ic { color: #9a7cff; }
.sec-title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 28px 0 14px; }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: 30px; font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 6px; }
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: #9aa8ff; }

/* sliders */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #4f7bff 0, #8b5cff var(--p, 0%), rgba(255, 255, 255, .14) var(--p, 0%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.range-vol { width: 110px; }

/* play */
.play-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(90, 100, 255, .95); transition: transform .12s, filter .15s; }
.play-btn:hover { filter: brightness(1.12); transform: scale(1.04); }
.play-btn .ic { width: 20px; height: 20px; }
.play-btn.xl { width: 64px; height: 64px; } .play-btn.xl .ic { width: 26px; height: 26px; }
.play-btn > span { display: grid; place-items: center; }
.play-btn .when-playing, .play-btn .when-loading { display: none; }
.is-playing .play-btn .when-paused { display: none; } .is-playing .play-btn .when-playing { display: grid; }
.is-loading .play-btn .when-paused, .is-loading .play-btn .when-playing { display: none; } .is-loading .play-btn .when-loading { display: grid; }
.spinner { width: 20px; height: 20px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.round-play { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.round-play .ic { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 28px 24px; border: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(25, 32, 90, .95), rgba(40, 25, 95, .9) 55%, rgba(15, 18, 52, .95)); box-shadow: var(--shadow); min-height: 100%; }
.hero-glow { position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(123, 77, 255, .45), transparent); pointer-events: none; }
.hero > * { position: relative; }
.badge-live { display: inline-flex; align-items: center; gap: 8px; padding: 4px 11px; border-radius: 7px; background: rgba(255, 61, 97, .16); border: 1px solid rgba(255, 61, 97, .45); color: #ffd3dc; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; }
.badge-live .live-dot { width: 7px; height: 7px; }
.hero-main { display: flex; align-items: center; gap: 24px; margin: 18px 0 20px; }
.hero-logo { width: 132px; height: 132px; flex: none; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(160deg, #0d1336, #181a52); border: 1px solid var(--line-2); box-shadow: 0 0 40px -6px rgba(61, 107, 255, .55); }
.hero-logo strong { font-size: 15px; letter-spacing: .06em; } .hero-logo small { font-size: 10px; letter-spacing: .3em; color: #8fa2ff; margin-top: -4px; }
.hero-text h1 { font-size: 30px; font-weight: 800; }
.hero-tag { color: var(--text-2); margin-top: 4px; }
.hero-np { display: flex; gap: 10px; margin-top: 16px; align-items: flex-start; }
.hero-np .ic { color: #a58bff; margin-top: 2px; }
.hero-np span { display: flex; flex-direction: column; }
.hero-np strong { font-size: 16px; } .hero-np span span { color: var(--muted); font-size: 14px; }
.hero-progress { display: flex; align-items: center; gap: 12px; font: 12.5px var(--mono); color: var(--text-2); }
.bar { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; }
.hero-controls { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.hero-vol { display: flex; align-items: center; gap: 10px; margin-left: 18px; color: var(--text-2); }

/* grids de página */
.grid-home, .grid-radio { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.grid-home .g-main, .grid-radio .g-main { min-width: 0; }
.grid-videos { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 9px 8px; border-radius: 10px; }
.timeline li.is-now { background: rgba(255, 61, 97, .08); box-shadow: inset 2px 0 0 var(--live); }
.timeline time { font: 600 13px var(--mono); color: #9db0ff; padding-top: 2px; }
.timeline strong { display: block; font-size: 14px; }
.timeline span { font-size: 12.5px; color: var(--muted); }

/* cards de estação */
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 180px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.row-scroll > * { scroll-snap-align: start; }
.videos-row { grid-auto-columns: minmax(220px, 260px); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.st-card, .pl-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .15s, border-color .15s; }
.st-card:hover, .pl-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.st-art, .pl-art { position: relative; display: grid; place-items: center; aspect-ratio: 1.25; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c, #7c5cff) 80%, #fff 0%), color-mix(in srgb, var(--c, #7c5cff) 35%, #0b0c2a) 75%); }
.pl-art { aspect-ratio: 1.3; background: var(--panel-3); }
.st-art img, .pl-art img { width: 100%; height: 100%; object-fit: cover; }
.st-glyph .ic { width: 46px; height: 46px; color: rgba(255, 255, 255, .9); }
.st-initials { position: absolute; right: 10px; bottom: 6px; font-weight: 800; font-size: 28px; color: rgba(255, 255, 255, .22); letter-spacing: -.02em; }
.st-play { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 10, 30, .65); backdrop-filter: blur(6px); color: #fff; opacity: 0; transform: translateY(-4px); transition: .15s; }
.st-play .ic { width: 16px; height: 16px; }
.st-card:hover .st-play, .pl-card:hover .st-play, .st-play:focus-visible { opacity: 1; transform: none; }
.st-body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 4px; }
.st-name { font-weight: 700; font-size: 14.5px; }
.st-body p { font-size: 12.5px; color: var(--muted); min-height: 2.6em; }
.st-body .pill { align-self: flex-start; margin-top: 2px; }
.pl-card { padding-bottom: 12px; } .pl-card .st-name, .pl-card small { display: block; padding: 10px 12px 0; } .pl-card small { padding-top: 2px; color: var(--muted); }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.auto-card { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.auto-card span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .auto-card small { color: var(--muted); }

/* listas */
.list-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.row-btn { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; width: 100%; text-align: left; }
button.row-btn:hover, a.row-btn:hover { background: rgba(130, 145, 255, .08); }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-text strong { font-size: 14px; } .row-text small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-btn > .ic { color: var(--muted); width: 16px; }
.sq-img { border-radius: 8px; object-fit: cover; }
.feature-art { aspect-ratio: 1.8; border-radius: 12px; overflow: hidden; display: grid; place-items: center; margin-bottom: 12px;
  background: radial-gradient(circle at 30% 30%, var(--c, #7c5cff), #0c0d2c 80%); }
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-size: 17px; } .feature p { color: var(--muted); font-size: 13.5px; margin: 4px 0 14px; }
.mini-pl { display: flex; align-items: center; gap: 12px; }
.mini-pl img { border-radius: 10px; object-fit: cover; }
.mini-pl div { flex: 1; display: flex; flex-direction: column; } .mini-pl span { font-size: 12.5px; color: #8fa6ff; }

/* faixas */
.tracks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.track { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 12px; }
.track:hover { background: rgba(130, 145, 255, .07); }
.track.is-current { background: rgba(61, 107, 255, .12); box-shadow: inset 2px 0 0 #6b8bff; }
.track-n { width: 24px; text-align: right; font: 13px var(--mono); color: var(--muted); }
.track-play { position: relative; width: 44px; height: 44px; border-radius: 9px; overflow: hidden; flex: none; }
.track-play img { width: 100%; height: 100%; object-fit: cover; }
.track-play-ic, .eq-anim { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 8, 26, .55); opacity: 0; transition: opacity .15s; }
.track-play-ic .ic { width: 18px; height: 18px; }
.track:hover .track-play-ic, .track-play:focus-visible .track-play-ic { opacity: 1; }
.eq-anim { display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 12px; }
.eq-anim i { width: 3px; height: 16px; background: #a9b8ff; border-radius: 2px; transform-origin: bottom; }
.track.is-current .eq-anim { opacity: 1; } .track.is-current:hover .eq-anim { opacity: 0; }
.is-playing .track.is-current .eq-anim i { animation: eq .9s ease-in-out infinite; }
.is-playing .track.is-current .eq-anim i:nth-child(2) { animation-delay: -.3s; } .is-playing .track.is-current .eq-anim i:nth-child(3) { animation-delay: -.6s; }
.track-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.track-meta strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-meta span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track.is-current .track-meta strong { color: #b4c2ff; }
.track-genre { font-size: 12px; color: var(--muted); width: 110px; }
.track-dur { font: 12.5px var(--mono); color: var(--muted); width: 48px; text-align: right; }
.tracks.compact .track-genre, .tracks.compact [data-enqueue] { display: none; }

/* detalhes */
.detail-head { display: flex; gap: 26px; align-items: flex-end; margin-bottom: 24px; padding: 22px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(120deg, color-mix(in srgb, var(--c, #3d6bff) 30%, #0d1030), #0d1030 70%); }
.detail-art { width: 180px; height: 180px; flex: none; border-radius: 16px; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow);
  background: radial-gradient(circle at 30% 25%, var(--c, #7c5cff), #0c0d2c 85%); }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: 34px; font-weight: 800; margin: 6px 0; }
.detail-info p { color: var(--text-2); max-width: 60ch; }
.detail-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filters input, .filters select { height: 42px; padding: 0 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); min-width: 200px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; padding-bottom: 2px; scrollbar-width: none; }
.tabs a { padding: 8px 16px; border-radius: 10px; white-space: nowrap; color: var(--text-2); background: rgba(130, 145, 255, .06); border: 1px solid transparent; font-size: 14px; }
.tabs a.is-active { background: var(--grad); color: #fff; }
.tabs a:not(.is-active):hover { border-color: var(--line-2); }

.sched { list-style: none; margin: 0; padding: 0; }
.sched li { display: flex; align-items: center; gap: 16px; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.sched li:last-child { border-bottom: 0; }
.sched li.is-now { background: rgba(255, 61, 97, .07); border-radius: 12px; }
.sched time { width: 64px; font: 700 17px var(--mono); display: flex; flex-direction: column; }
.sched time small { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.sched-text { flex: 1; display: flex; flex-direction: column; } .sched-text span { color: var(--muted); font-size: 13px; }

/* vídeos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.v-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.v-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.v-frame iframe, .v-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v-facade img { width: 100%; height: 100%; object-fit: cover; }
.v-play { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 30, 60, .92); color: #fff; }
.v-play .ic { width: 15px; height: 15px; }
.v-facade:hover .v-play { background: #ff1e3c; transform: scale(1.06); }
.v-badge { position: absolute; right: 10px; top: 10px; font-size: 11px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .7); }
.v-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #2a1150, #0f1a4a); color: var(--text-2); gap: 6px; }
.v-body { position: relative; padding: 10px 44px 12px 12px; display: flex; flex-direction: column; }
.v-body strong { font-size: 13.5px; line-height: 1.35; } .v-body span { font-size: 12px; color: var(--muted); }
.v-fav { position: absolute; right: 6px; top: 8px; }

.legal { max-width: 760px; }
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal h2 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text-2); margin-bottom: 10px; }
.legal a { color: #9db0ff; text-decoration: underline; }
.error-page { display: grid; place-items: center; gap: 12px; text-align: center; padding: 70px 0; }
.error-page h1 { font-size: 64px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }
.pager a { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.pager a.is-active { background: var(--grad); border-color: transparent; }
.fav-root section { margin-bottom: 8px; }

/* ---------------------------------------------------------------- player fixo */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--player-h) + env(safe-area-inset-bottom));
  padding: 0 22px env(safe-area-inset-bottom); display: grid; grid-template-columns: minmax(200px, 1fr) minmax(320px, 1.6fr) minmax(200px, 1fr); align-items: center; gap: 20px;
  background: rgba(10, 12, 32, .94); backdrop-filter: blur(18px); border-top: 1px solid var(--line-2); box-shadow: 0 -12px 40px rgba(0, 0, 0, .45);
}
.pl-progress-mini { display: none; }
.pl-now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pl-cover { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; background: var(--panel-3); }
.pl-meta { min-width: 0; }
.pl-title { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-artist { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-center { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pl-controls { display: flex; align-items: center; gap: 10px; }
.pl-progress { display: flex; align-items: center; gap: 10px; width: 100%; font: 12px var(--mono); color: var(--muted); }
.pl-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.pl-source { font-size: 12px; color: var(--muted); max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 6px; }
.when-muted { display: none; } .is-muted .when-muted { display: grid; } .is-muted .when-sound { display: none; }
.when-sound, .when-muted { place-items: center; }

.queue-panel { position: fixed; right: 16px; bottom: calc(var(--player-h) + 12px); z-index: 45; width: min(380px, calc(100vw - 32px)); max-height: min(70vh, 560px);
  display: flex; flex-direction: column; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.queue-panel header { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 6px 14px; }
.tabs-mini { display: flex; gap: 4px; }
.tabs-mini button { padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--text-2); }
.tabs-mini button.is-active { background: rgba(130, 145, 255, .16); color: #fff; }
.q-source { padding: 0 16px 8px; font-size: 12px; color: var(--muted); }
.q-list { list-style: none; margin: 0; padding: 0 8px 10px; overflow-y: auto; }
.q-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border-radius: 10px; text-align: left; }
.q-list button:hover { background: rgba(130, 145, 255, .08); }
.q-list img { border-radius: 6px; object-fit: cover; }
.q-list span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.q-list strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-list small { font-size: 12px; color: var(--muted); }
.q-list em { font: normal 11.5px var(--mono); color: var(--muted); }
.q-list .is-current strong { color: #a9baff; } .q-list .is-past { opacity: .55; }

.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 16px); transform: translateX(-50%); z-index: 60; padding: 10px 16px; border-radius: 12px;
  background: #1d2457; border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; max-width: calc(100vw - 32px); }

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 1280px) {
  .grid-home, .grid-radio { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1100px) {
  :root { --sidebar-w: 76px; }
  .sidebar { padding: 18px 10px; align-items: center; }
  .sidebar .brand-text, .sidebar .nav-link span, .nav-section, .nav-stations, .sidebar-foot { display: none; }
  .sidebar .brand { padding: 4px 0 16px; }
  .nav-link { justify-content: center; padding: 12px; }
  .grid-home, .grid-radio, .grid-videos { grid-template-columns: minmax(0, 1fr); }
  .pl-source { display: none; }
}
@media (max-width: 760px) {
  :root { --player-h: 70px; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 50; left: 0; top: 0; bottom: 0; height: auto; width: 270px; align-items: stretch; padding: 22px 14px;
    transform: translateX(-102%); transition: transform .22s ease; background: #0b0e28; }
  .sidebar .brand-text, .sidebar .nav-link span, .nav-section, .nav-stations, .sidebar-foot { display: revert; }
  .sidebar .nav-stations { display: flex; }
  .nav-link { justify-content: flex-start; }
  .menu-open .sidebar { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .6); }
  .scrim { position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .55); }
  .only-mobile { display: inline-flex !important; }
  .brand-mobile { padding: 0; gap: 8px; } .brand-mobile .brand-mark { height: 22px; } .brand-mobile strong { font-size: 16px; letter-spacing: .04em; }
  .topbar { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 40px; }
  .onair-chip { display: none; }
  .user-chip span:not(.avatar) { display: none; }
  .content { padding: 18px 16px 30px; }
  .page-head h1 { font-size: 24px; }
  .hero { padding: 20px 18px; }
  .hero-main { gap: 16px; }
  .hero-logo { width: 84px; height: 84px; } .hero-logo .brand-mark { height: 30px; } .hero-logo strong { font-size: 11px; } .hero-logo small { display: none; }
  .hero-text h1 { font-size: 22px; }
  .hero-controls { justify-content: center; }
  .detail-head { flex-direction: column; align-items: flex-start; padding: 16px; }
  .detail-art { width: 130px; height: 130px; }
  .detail-info h1 { font-size: 26px; }
  .hide-sm { display: none !important; }
  .player { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding: 0 10px env(safe-area-inset-bottom); }
  .pl-progress-mini { display: block; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: rgba(255, 255, 255, .08); }
  .pl-progress-mini i { display: block; height: 100%; width: 0; background: var(--grad); }
  .pl-cover { width: 44px; height: 44px; }
  .pl-center { flex-direction: row; } .pl-progress { display: none; }
  .pl-controls { gap: 2px; } .play-btn { width: 42px; height: 42px; }
  .pl-fav { display: none; }
  .site-footer { padding: 16px; } .foot-right { margin-left: 0; }
  .filters input, .filters select { min-width: 0; flex: 1; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 12px; }
  .st-play { opacity: 1; transform: none; }
  .track { gap: 10px; } .track-n { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
