/* 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; }
.brand-mark.xl { height: 64px; gap: 6px; } .brand-mark.xl i { width: 9px; border-radius: 5px; }
.brand-text strong { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.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 { position: relative; }

.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 .hero-track { 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; }
/* botão do topo = "ao vivo": só mostra pausa quando a programação ao vivo está tocando */
.hero .play-btn .when-playing, .hero .play-btn .when-loading { display: none !important; }
.hero .play-btn .when-paused { display: grid !important; }
.on-live.is-playing .hero .play-btn .when-paused { display: none !important; }
.on-live.is-playing .hero .play-btn .when-playing { display: grid !important; }
.on-live.is-loading .hero .play-btn .when-paused { display: none !important; }
.on-live.is-loading .hero .play-btn .when-loading { display: grid !important; }
.hero-next { display: none; }
.on-live .hero-next { display: inline-grid; }
.hero-back { display: none; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.hero-back .ic { width: 16px; height: 16px; }
body.is-playing:not(.on-live) .hero-back { display: inline-flex; }
.q-clear { margin-left: auto; margin-right: 6px; }
.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); }
/* Ao vivo: transmissão contínua — sem tempo/posição, sem "anterior", sem aleatório/repetir */
.hero-progress, .pl-progress { display: none; }
.has-seek .hero-progress, .has-seek .pl-progress { display: flex; }
.is-live [data-act="prev"], .is-live [data-act="shuffle"], .is-live [data-act="repeat"] { display: none; }
.pl-live { display: none; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #ffd3dc; }
.pl-live-src { font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pl-live-src:not(:empty)::before { content: "· "; }
.is-live .pl-live { display: inline-flex; }
.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-group, .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-group, .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 .hero-track { 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; } .has-seek .pl-progress, .pl-live { display: none !important; }
  .is-live .pl-progress-mini { 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; }
}
/* ---------------------------------------------------------------- informação recolhida (ícone → "saiba mais") */
.info-tip { display: inline-block; position: relative; vertical-align: middle; }
.info-tip summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: #8fa6ff; border-radius: 50%; padding: 3px; }
.info-tip summary::-webkit-details-marker { display: none; }
.info-tip summary:hover { color: #fff; background: rgba(130, 145, 255, .14); }
.info-tip summary .ic { width: 17px; height: 17px; }
.info-body { position: absolute; z-index: 30; left: -6px; top: calc(100% + 8px); width: min(320px, calc(100vw - 40px));
  padding: 12px 14px; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.5; color: var(--text-2); font-weight: 400; letter-spacing: 0; text-transform: none; }
.info-body a { color: #9db0ff; text-decoration: underline; }
.info-tip.up .info-body { top: auto; bottom: calc(100% + 8px); left: 0; transform: none; width: 210px; }
.with-info { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.page-sub { color: var(--muted); margin-top: 6px; }
.with-info, .panel-head { position: relative; }
.with-info .info-tip, .panel-head .info-tip { position: static; }
.with-info .info-body, .panel-head .info-body { left: 0; max-width: 100%; }
.panel-head h2 { display: inline-flex; align-items: center; gap: 6px; }
.brand-text small { display: inline-flex; align-items: center; gap: 6px; }
.nav-live { margin-left: -4px; width: 7px; height: 7px; flex: none; }
@media (min-width: 761px) and (max-width: 1100px) { .nav-link { position: relative; } .nav-live { position: absolute; top: 9px; right: 9px; } }
.brand-text small .live-dot, .auth-brand small .live-dot { width: 7px; height: 7px; }
.auth-brand small { display: inline-flex; align-items: center; gap: 6px; }

/* ---------------------------------------------------------------- links legais no rodapé do menu (desktop) */
:root { --foot-h: 0px; }
.side-legal { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.side-legal a { color: var(--muted); }
.side-legal a:hover { color: #fff; }
.side-legal span { opacity: .5; }
.side-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 11.5px; }
.side-meta a { color: var(--muted); }
.side-meta a:hover { color: #fff; }
@media (min-width: 1101px) {
  .site-footer { display: none; }
  /* menu: estações rolam por dentro, links legais sempre visíveis no pé */
  .sidebar { overflow-y: auto; scrollbar-width: thin; }
  .sidebar-foot { flex: none; padding-top: 12px; border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- telas grandes / ultrawide */
.content, .site-footer { width: 100%; max-width: 1760px; margin-inline: auto; }
@media (min-width: 1101px) { .topbar { padding-inline: max(28px, calc((100% - 1760px) / 2 + 28px)); } }
.hero-viz { display: none; }
@media (min-width: 1500px) {
  .hero-viz { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); width: min(30%, 520px); height: 120px;
    display: flex; align-items: center; gap: 5px; opacity: .55; pointer-events: none; }
  .hero-viz i { flex: 1; height: 18%; border-radius: 4px; background: linear-gradient(180deg, #8b5cff, #3d6bff); transform-origin: center; transition: height .4s; }
  .hero-viz i:nth-child(3n) { height: 42%; } .hero-viz i:nth-child(4n+1) { height: 66%; } .hero-viz i:nth-child(5n+2) { height: 30%; } .hero-viz i:nth-child(7n) { height: 85%; }
  .is-playing .hero-viz i { animation: viz 1.2s ease-in-out infinite; }
  .is-playing .hero-viz i:nth-child(2n) { animation-duration: .9s; animation-delay: -.3s; }
  .is-playing .hero-viz i:nth-child(3n) { animation-duration: 1.4s; animation-delay: -.6s; }
  .is-playing .hero-viz i:nth-child(5n) { animation-duration: 1.05s; animation-delay: -.2s; }
}
@keyframes viz { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1.15); } }
@media (min-width: 1600px) {
  .row-scroll { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); overflow: visible; }
  .videos-row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .grid-home, .grid-radio { grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; }
  .grid-videos { grid-template-columns: minmax(0, 1fr) 340px; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (min-width: 2400px) {
  .content, .site-footer { max-width: 2100px; }
  .topbar { padding-inline: max(28px, calc((100% - 2100px) / 2 + 28px)); }
}
@media (min-width: 1900px) {
  :root { --sidebar-w: 260px; --player-h: 92px; }
  body { font-size: 16px; }
  .hero { padding: 32px 36px 30px; }
  .hero-text .hero-track, .page-head h1 { font-size: 36px; }
  .hero-logo { width: 150px; height: 150px; }
  .player { grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.4fr) minmax(260px, 1fr); }
  .pl-cover { width: 60px; height: 60px; }
}

/* ---------------------------------------------------------------- tablet: player compacto */
@media (min-width: 761px) and (max-width: 1100px) {
  .player { grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr); gap: 12px; padding: 0 14px; }
  .player [data-act="shuffle"], .player [data-act="repeat"], .pl-fav { display: none; }
  .pl-progress { width: 300px; }
  .range-vol { width: 80px; }
  .content { padding: 22px 22px 36px; }
  .topbar { padding-inline: 22px; }
}

/* ---------------------------------------------------------------- celulares pequenos */
@media (max-width: 400px) {
  .content { padding: 16px 12px 28px; }
  .hero { padding: 16px 14px; }
  .hero-main { gap: 12px; }
  .hero-logo { width: 68px; height: 68px; } .hero-logo strong { display: none; }
  .hero-text .hero-track { font-size: 20px; } .hero-tag { font-size: 13.5px; }
  .player { padding: 0 6px env(safe-area-inset-bottom); }
  .pl-cover { width: 40px; height: 40px; }
  .pl-controls .icon-btn { width: 34px; height: 34px; }
  .detail-info h1 { font-size: 22px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- vídeo em janela ampliada */
.video-modal { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.vm-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 20, .86); backdrop-filter: blur(4px); cursor: pointer; }
.vm-box { position: relative; min-width: 0; max-width: 100%; width: min(1280px, 100%, calc((100vh - 120px) * 16 / 9)); display: flex; flex-direction: column; gap: 10px; }
.vm-head { display: flex; align-items: center; gap: 12px; color: #fff; }
.vm-title { flex: 1; min-width: 0; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-close { background: rgba(255, 255, 255, .12); }
.vm-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.vm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.modal-open { overflow: hidden; }
@media (max-width: 640px) { .video-modal { padding: 12px; } .vm-box { width: 100%; } }

/* ---------------------------------------------------------------- menu: estações recolhíveis + rodapé do menu */
.nav-group { margin-top: 10px; }
.nav-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 8px 4px 4px; padding: 8px; border-radius: 10px; user-select: none; white-space: nowrap; letter-spacing: .1em; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.ng-toggle { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 7px; border: 1px solid var(--line); color: #c9d2ff; }
.ng-toggle .ic { width: 14px; height: 14px; }
.ng-minus, .nav-group[open] .ng-plus { display: none; }
.nav-group[open] .ng-minus { display: grid; } .ng-plus { display: grid; }
.nav-more span { font-size: 12.5px; color: #8fa6ff; padding-left: 4px; }
.sidebar-foot { display: flex; flex-direction: column; gap: 8px; }
.side-legal { flex-wrap: nowrap; white-space: nowrap; }
.side-meta { margin-top: 0; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.side-contact { display: inline-flex; align-items: center; gap: 6px; }
.side-contact .ic { width: 14px; height: 14px; }
.side-shield > summary { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.side-shield > summary .ic { width: 14px; height: 14px; color: #6fe3a6; }
.side-shield > summary:hover { color: #fff; }

/* ================================================================ etapa 2 — refinamento */
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; } .btn-sm .ic { width: 15px; height: 15px; }
/* menu agrupado */
.nav-title { margin: 14px 12px 4px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: .8; }
@media (min-width: 761px) and (max-width: 1100px) { .nav-title { display: none; } }
.nav-link:focus-visible, .btn:focus-visible, .icon-btn:focus-visible, .chip:focus-visible, .play-btn:focus-visible { outline: 2px solid #9db0ff; outline-offset: 2px; }

/* Início: Tocando agora → Estações → Vídeos → Últimas / Programação */
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: stretch; margin-bottom: 26px; }
.home-hero { min-width: 0; }
.home-sec { margin-bottom: 26px; min-width: 0; }
.home-bottom { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.continue { display: flex; flex-direction: column; gap: 12px; }
.continue-box { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(130, 145, 255, .07); border: 1px solid var(--line); }
.continue-box img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.continue-box { display: grid; grid-template-columns: 64px 1fr; align-items: center; }
.continue-box .btn { grid-column: 1 / -1; justify-content: center; }
.cb-text { display: flex; flex-direction: column; min-width: 0; }
.cb-text small { font-size: 11.5px; color: var(--muted); }
.cb-text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.continue-links { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.continue-links a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); font-size: 14px; }
.continue-links a:hover { background: rgba(130, 145, 255, .08); color: #fff; }
.continue-links .ic { width: 17px; height: 17px; color: #9db0ff; }
@media (max-width: 1100px) { .home-top { grid-template-columns: minmax(0, 1fr); } .continue-links { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 900px) { .home-bottom { grid-template-columns: minmax(0, 1fr); } }

/* player principal */
.hero-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-status { font-size: 12.5px; color: var(--text-2); }
.hero-logo { padding: 0; cursor: pointer; position: relative; overflow: hidden; }
.hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.on-live .hero-cover { opacity: 1; }
.on-live .hero-logo .brand-mark { opacity: 0; }
.hero-text { min-width: 0; }
.hero-site { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9db0ff; font-weight: 700; }
.hero-text .hero-track { font-size: 28px; line-height: 1.15; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hero-artist { color: var(--text-2); margin-top: 4px; font-size: 15px; }
.hero-station { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.hero-station .ic { width: 16px; height: 16px; color: #a58bff; }
.hero-station strong { color: var(--text); font-weight: 600; }
.hero-vol .icon-btn { width: 32px; height: 32px; }
@media (max-width: 760px) { .hero-text .hero-track { font-size: 20px; } .hero-artist { font-size: 13.5px; } }

/* estações: experiência de rádio */
.st-kind { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9db0ff; font-weight: 700; }
.st-kind .ic { width: 12px; height: 12px; }
.st-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.st-count { font-size: 12px; color: var(--muted); }
.st-listen { margin-top: 8px; align-self: stretch; justify-content: center; background: rgba(61, 107, 255, .16); border: 1px solid rgba(130, 145, 255, .3); color: #fff; }
.st-listen:hover { background: var(--grad); }
.st-listen .ic { width: 14px; height: 14px; }
.st-now { position: absolute; left: 8px; top: 8px; display: none; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 7px; font-size: 11px; font-weight: 700;
  background: rgba(8, 10, 30, .78); color: #ffd3dc; border: 1px solid rgba(255, 61, 97, .45); }
.st-now .live-dot { width: 7px; height: 7px; }
.st-card.is-now { border-color: rgba(255, 61, 97, .55); box-shadow: 0 0 0 1px rgba(255, 61, 97, .25); }
.st-card.is-now .st-now { display: inline-flex; }
.st-card.is-now .st-listen { background: rgba(255, 61, 97, .18); border-color: rgba(255, 61, 97, .45); }
.row-scroll { grid-auto-columns: minmax(170px, 190px); }
.pl-card .st-kind { padding: 10px 12px 0; }
.pl-card .st-kind + .st-name { padding-top: 2px; }
.pl-card-actions { display: flex; align-items: center; gap: 6px; padding: 8px 12px 0; }
.pl-card-actions .st-listen { margin-top: 0; flex: 1; }
.mypl-art { background: linear-gradient(135deg, #24196a, #10245e); }
.mypl-art .st-glyph .ic { width: 40px; height: 40px; }
.mypl { margin-bottom: 26px; }
.mypl-head { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.mypl-head h2 { font-size: 26px; }
.mypl-empty { grid-column: 1 / -1; }

/* listas de músicas */
.track-actions { display: flex; align-items: center; gap: 2px; }
.track-actions .icon-btn[disabled] { opacity: .3; pointer-events: none; }
.tracks.compact .track-actions [data-addpl] { display: inline-grid; }
.tracks-table .track { border-bottom: 1px solid rgba(130, 145, 255, .06); border-radius: 10px; }
.list-count { margin: 4px 0 8px; }
.song-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); margin-bottom: 14px; max-width: 640px; }
.song-search input { flex: 1; background: none; border: 0; color: var(--text); font: inherit; font-size: 15px; outline: none; min-width: 0; }
.song-search .ic { color: var(--muted); }
.song-search:focus-within { border-color: #6b8bff; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { padding: 7px 14px; border-radius: 99px; font-size: 13.5px; color: var(--text-2); background: rgba(130, 145, 255, .07); border: 1px solid var(--line); white-space: nowrap; }
.chip:hover { border-color: var(--line-2); color: #fff; }
.chip.is-active { background: var(--grad); color: #fff; border-color: transparent; }
.chips-sub .chip { font-size: 12.5px; padding: 5px 12px; }
.chip-n:not(:empty) { margin-left: 4px; font-size: 11.5px; opacity: .8; }

/* vídeos */
.v-body { padding: 10px 44px 4px 12px; }
.v-text { display: flex; flex-direction: column; min-width: 0; }
.v-text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v-watch { display: flex; align-items: center; gap: 6px; width: calc(100% - 24px); margin: 6px 12px 12px; padding: 7px 10px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: rgba(130, 145, 255, .08); border: 1px solid var(--line); color: var(--text); }
.v-watch:hover { background: rgba(255, 30, 60, .16); border-color: rgba(255, 30, 60, .4); }
.v-watch .ic { width: 14px; height: 14px; color: #ff4d6a; }
.v-watch small { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.vm-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.vm-note .ic { width: 14px; height: 14px; }

/* programação */
.sched-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.ss-item { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 44px 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.ss-item.is-now { border-color: rgba(255, 61, 97, .5); background: linear-gradient(135deg, rgba(255, 61, 97, .12), var(--panel)); }
.ss-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .12em; font-weight: 800; color: #9db0ff; text-transform: uppercase; }
.ss-item.is-now .ss-label { color: #ffd3dc; }
.ss-item strong { font-size: 15px; } .ss-item small { font-size: 12px; color: var(--muted); }
.ss-item .icon-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.sched-day { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 2px 8px 6px; }
@media (max-width: 760px) { .sched-strip { grid-template-columns: minmax(0, 1fr); } }

/* player fixo: abre o player completo */
.pl-open { display: flex; align-items: center; gap: 12px; min-width: 0; text-align: left; border-radius: 12px; padding: 2px; }
.pl-open:hover .pl-title { text-decoration: underline; text-underline-offset: 3px; }
.pl-meta { display: flex; flex-direction: column; }
.pl-title, .pl-artist { display: block; }

/* fila */
.q-item { display: flex; align-items: center; gap: 4px; border-radius: 10px; }
.q-item:hover { background: rgba(130, 145, 255, .06); }
.q-list .q-main { flex: 1; min-width: 0; }
.q-list .q-main:hover { background: transparent; }
.q-list .q-acts { flex: none; display: flex; flex-direction: row; align-items: center; gap: 0; opacity: .55; }
.q-item:hover .q-acts, .q-item:focus-within .q-acts { opacity: 1; }
.q-list .q-acts button { width: 26px; height: 26px; padding: 0; justify-content: center; display: inline-grid; place-items: center; border-radius: 7px; }
.q-list .q-acts button[disabled] { opacity: .3; pointer-events: none; }
.icon-btn.xs .ic { width: 14px; height: 14px; }
.q-list .live-dot.ok { width: 6px; height: 6px; background: var(--ok); vertical-align: middle; }

/* Agora tocando (gaveta) e escolha de playlist */
.np-drawer, .pl-picker { position: fixed; inset: 0; z-index: 150; }
.np-drawer[hidden], .pl-picker[hidden] { display: none; }
.pl-picker { z-index: 170; display: grid; place-items: center; padding: 16px; }
.np-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 20, .72); backdrop-filter: blur(3px); }
.np-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--panel-2); border-left: 1px solid var(--line-2); box-shadow: var(--shadow); animation: np-in .22s ease; }
@keyframes np-in { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.np-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px 20px; }
.np-eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #9db0ff; font-weight: 800; }
.np-body { flex: 1; overflow-y: auto; padding: 6px 20px 24px; }
.np-hero { display: flex; flex-direction: column; gap: 16px; }
.np-cover { width: min(300px, 100%); aspect-ratio: 1; height: auto; border-radius: 18px; object-fit: cover; align-self: center; box-shadow: 0 24px 60px -18px rgba(61, 107, 255, .6); background: var(--panel-3); }
.np-info { display: flex; flex-direction: column; gap: 6px; }
.np-title { font-size: 22px; line-height: 1.2; }
.np-artist { color: var(--text-2); }
.np-source { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.np-source strong { color: var(--text); font-weight: 600; }
.np-live-tag { display: none; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #ffd3dc; padding: 2px 8px; border-radius: 6px; background: rgba(255, 61, 97, .14); border: 1px solid rgba(255, 61, 97, .4); }
.np-live-tag .live-dot { width: 6px; height: 6px; }
.is-live .np-live-tag { display: inline-flex; }
.np-progress { margin-top: 6px; }
.np-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 8px 0 4px; }
.np-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.np-actions .btn[aria-pressed="true"] { color: #9db0ff; border-color: rgba(157, 176, 255, .5); }
.np-next { margin-top: 22px; }
.np-next h3 { font-size: 15px; }
.np-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.np-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px; border-radius: 10px; text-align: left; }
.np-list button:hover { background: rgba(130, 145, 255, .08); }
.np-list img { border-radius: 6px; object-fit: cover; flex: none; }
.np-list span:not(.np-n) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.np-list strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-list small { font-size: 12px; color: var(--muted); }
.np-list em { font: normal 11.5px var(--mono); color: var(--muted); }
.np-n { width: 22px; font: 12px var(--mono); color: var(--muted); }
.pp-box { position: relative; width: min(400px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); padding-bottom: 14px; }
.pp-box > :not(.np-head) { margin-left: 18px; margin-right: 18px; }
.pp-box .np-head { padding-left: 18px; }
.pp-song { margin-bottom: 8px; }
.pp-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.pp-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px; text-align: left; background: rgba(130, 145, 255, .06); border: 1px solid var(--line); }
.pp-list button:hover { border-color: #6b8bff; }
.pp-list span { flex: 1; display: flex; flex-direction: column; } .pp-list small { color: var(--muted); font-size: 12px; }
.pp-list .ic { width: 16px; height: 16px; color: #9db0ff; }
.pp-new { display: flex; gap: 8px; margin-bottom: 10px; }
.pp-new input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font: inherit; }
.pp-box .muted .ic { width: 13px; height: 13px; vertical-align: -2px; }
.st-card { display: flex; flex-direction: column; }
.st-card .st-body { flex: 1; }
.st-card .st-listen { margin-top: auto; }
.st-card .st-meta { margin-bottom: 8px; }
.st-meta .pill { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-card { display: flex; flex-direction: column; }
.v-card .v-body { flex: 1; }
.v-watch { justify-content: flex-start; white-space: nowrap; }
.v-watch small { margin-left: auto; }
@media (min-width: 761px) and (max-width: 1100px) { .sidebar .sidebar-foot, .sidebar .nav-group { display: none; } }

/* ================================================================ AO VIVO × ESTAÇÃO (modos separados) */
/* AO VIVO: só ligar, volume e desligar */
.live-stop { display: none !important; }
.is-live .live-stop { display: inline-flex !important; }
.is-live .player [data-act="prev"], .is-live .player [data-act="next"],
.is-live .player [data-act="shuffle"], .is-live .player [data-act="repeat"], .is-live .player [data-act="queue"],
.is-live .np-controls [data-act="prev"], .is-live .np-controls [data-act="next"],
.is-live .np-progress, .is-live .pl-progress, .is-live .pl-progress-mini, .is-live .np-fullqueue { display: none !important; }
.live-stop { gap: 8px; }
.player .live-stop { background: rgba(255, 61, 97, .14); border: 1px solid rgba(255, 61, 97, .45); color: #ffd3dc; }
.player .live-stop:hover { background: rgba(255, 61, 97, .26); }
.live-stop .ic { width: 14px; height: 14px; }
.np-sched, .np-live-note { display: none; }
.is-live .np-sched { display: inline; }
.is-live .np-live-note { display: flex; align-items: center; gap: 6px; margin: -4px 0 8px; }
.np-live-note .ic { width: 14px; height: 14px; }
.np-row { display: flex; align-items: center; gap: 10px; padding: 6px; }
.np-row img { border-radius: 6px; object-fit: cover; flex: none; }
.np-row span:not(.np-n) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.np-row strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-row small { font-size: 12px; color: var(--muted); }
.np-row em { font: normal 11.5px var(--mono); color: var(--muted); }

/* barra informativa (não arrastável) */
.live-bar { display: none; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; pointer-events: none; }
.live-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff3d61, #7b4dff); border-radius: inherit; transition: width .5s linear; }
.is-live .live-bar { display: block; }
.hero .live-bar { margin: 0 0 4px; }
.pl-livebar { width: min(320px, 100%); }
.np-livebar { margin: 8px 0 2px; }

/* player principal: Ligar rádio / Desligar */
.hero .play-btn .when-playing, .hero .play-btn .when-loading, .hero .play-btn .when-paused { display: none; }
.hero-power { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 14px; min-width: 170px; }
.hero-power .when-off, .hero-power .when-on { display: inline-flex; align-items: center; gap: 8px; }
.hero-power .when-on, .hero-power .when-loading { display: none; }
.is-live .hero-power .when-off { display: none; }
.is-live .hero-power .when-on { display: inline-flex; }
.is-live.is-loading .hero-power .when-on { display: none; }
.is-live.is-loading .hero-power .when-loading { display: grid; }
.is-live .hero-power { background: rgba(255, 61, 97, .16); border: 1px solid rgba(255, 61, 97, .5); color: #ffe1e7; box-shadow: none; }
.is-live .hero-power:hover { background: rgba(255, 61, 97, .28); }
.hero-next { display: none !important; }
.hero-back { display: none; font-size: 13px; }
body.is-station.is-playing .hero-back { display: inline-flex; }
.hero-slot { font: 600 13px var(--mono); color: #9db0ff; margin-top: 4px; }
.hero-song { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; font-size: 15px; }
.hero-song .ic { width: 16px; height: 16px; color: #a58bff; flex: none; align-self: center; }
.hero-song strong { font-weight: 700; }
.hero-song .hero-artist { color: var(--text-2); font-size: 14px; margin: 0; }
.hero-text .hero-track { -webkit-line-clamp: 1; }
.badge-live { opacity: .55; }
.is-live .badge-live { opacity: 1; }
.badge-live .live-dot { animation: none; }
.is-live .badge-live .live-dot { animation: pulse 1.8s infinite; }

/* ---------------------------------------------------------------- botão único do ao vivo
   Padrão de players de rádio: um só botão. ▶ = ligar · ❚❚ = desligar (volta sempre no ponto ao vivo).
   Cor indica o estado: azul/roxo = desligado · vermelho pulsando = no ar. */
.is-off .player [data-act="prev"], .is-off .player [data-act="next"], .is-off .player [data-act="shuffle"],
.is-off .player [data-act="repeat"], .is-off .player .pl-progress, .is-off .np-controls [data-act="prev"], .is-off .np-controls [data-act="next"] { display: none !important; }
.hero .play-btn .when-paused { display: grid; }
.hero .play-btn .when-playing, .hero .play-btn .when-loading { display: none; }
.is-live.is-playing .hero .play-btn .when-paused { display: none; }
.is-live.is-playing .hero .play-btn .when-playing { display: grid; }
.is-live.is-loading .hero .play-btn .when-paused, .is-live.is-loading .hero .play-btn .when-playing { display: none; }
.is-live.is-loading .hero .play-btn .when-loading { display: grid; }
.is-live .play-btn[data-act="toggle"], .is-live .hero .play-btn { background: linear-gradient(135deg, #ff3d61, #b42a8c); box-shadow: 0 0 0 0 rgba(255, 61, 97, .55), 0 10px 26px -10px rgba(255, 61, 97, .9); }
.is-live.is-playing .play-btn[data-act="toggle"], .is-live.is-playing .hero .play-btn { animation: live-ring 2s infinite; }
@keyframes live-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 97, .5), 0 10px 26px -10px rgba(255, 61, 97, .9); } 70% { box-shadow: 0 0 0 14px rgba(255, 61, 97, 0), 0 10px 26px -10px rgba(255, 61, 97, .9); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 97, 0), 0 10px 26px -10px rgba(255, 61, 97, .9); } }
@media (prefers-reduced-motion: reduce) { .is-live.is-playing .play-btn { animation: none !important; } }
.hero-power-label { display: flex; flex-direction: column; line-height: 1.2; }
.hero-power-label strong { font-size: 15px; } .hero-power-label small { font-size: 12px; color: var(--muted); }
.when-on-txt { display: none; }
.is-live .when-on-txt { display: block; } .is-live .when-off-txt { display: none; }
.is-live .hero-power-label strong { color: #ffd3dc; }

/* ---------------------------------------------------------------- menu mais largo + rodapé alinhado */
@media (min-width: 1101px) { :root { --sidebar-w: 262px; } }
.sidebar-foot { align-items: center; text-align: center; }
.sidebar-foot .side-legal { justify-content: center; flex-wrap: nowrap; white-space: nowrap; gap: 0 5px; }
.sidebar-foot .side-meta { justify-content: center; width: 100%; }
.side-social { font-size: 11px; }

/* ---------------------------------------------------------------- Início: painéis de baixo com a mesma altura e contraste */
.home-bottom { align-items: stretch; }
.home-bottom > .panel { margin-top: 0; display: flex; flex-direction: column; }
.home-bottom > .panel .btn-block { margin-top: auto; }
.is-live .pl-center { gap: 3px; padding-top: 4px; }
.sidebar-foot .side-shield .info-body { left: 50%; right: auto; transform: translateX(-50%); width: 220px; text-align: left; }
.sidebar-foot .side-shield { position: relative; }

/* ================================================================ etapa 3 */
/* relógio da rádio + no ar (topo) */
.clock-chip { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px 0 16px; border-radius: 14px; white-space: nowrap;
  background: linear-gradient(135deg, rgba(25, 32, 90, .85), rgba(40, 25, 95, .75)); border: 1px solid var(--line-2); box-shadow: 0 8px 24px -14px rgba(61, 107, 255, .8); color: var(--text); }
.clock-chip:hover { border-color: rgba(157, 176, 255, .5); }
.cc-time { display: flex; flex-direction: column; line-height: 1.05; align-items: flex-end; }
.cc-time time { font: 700 19px var(--mono); letter-spacing: .02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #cdd7ff, #a58bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cc-time small { font-size: 10.5px; color: var(--muted); text-transform: capitalize; letter-spacing: .04em; }
.cc-sep { width: 1px; height: 24px; background: var(--line-2); }
.cc-live { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cc-live .live-dot { width: 7px; height: 7px; flex: none; }
.cc-label { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #ffd3dc; text-transform: uppercase; }
.cc-live strong { font-size: 13.5px; font-weight: 600; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.is-live .clock-chip { border-color: rgba(255, 61, 97, .45); box-shadow: 0 8px 24px -14px rgba(255, 61, 97, .9); }
@media (max-width: 760px) {
  .clock-chip { height: 36px; padding: 0 10px; gap: 8px; border-radius: 11px; margin-left: auto; }
  .cc-time time { font-size: 15px; } .cc-time small, .cc-label, .cc-sep { display: none; }
  .cc-live strong { max-width: 92px; font-size: 12px; }
  .topbar-right { margin-left: 0; }
}

/* início: espaço entre as seções */
.home-bottom { margin-bottom: 26px; }

/* ao vivo: barra sempre cheia, com um brilho correndo (sinal de "no ar") */
.live-bar i { width: 100% !important; transition: none; background: linear-gradient(90deg, #ff3d61, #7b4dff, #3d6bff, #ff3d61); background-size: 300% 100%; animation: live-flow 6s linear infinite; }
@keyframes live-flow { from { background-position: 0 0; } to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .live-bar i { animation: none; } }

/* rodapé do menu: instalar app + termos/contato */
.nav-install { width: 100%; justify-content: center; margin-bottom: 10px; border: 1px dashed rgba(157, 176, 255, .35); }
.nav-install .ic { color: #9db0ff; }
@media (min-width: 761px) and (max-width: 1100px) { .sidebar .nav-install { display: none; } }

/* termos e privacidade (página única) */
.legal-nav { position: sticky; top: 72px; z-index: 5; padding: 8px 0; background: linear-gradient(var(--bg) 70%, transparent); }
.legal-nav .chip { display: inline-flex; align-items: center; gap: 6px; } .legal-nav .ic { width: 14px; height: 14px; }
.legal-wrap { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.legal-sec { scroll-margin-top: 130px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.legal-title { font-size: 22px; margin-bottom: 4px; }
.legal h3 { font-size: 16.5px; margin: 22px 0 8px; }
.legal-badge { display: flex; gap: 14px; align-items: center; padding: 14px 16px; margin: 14px 0 6px; border-radius: 14px; background: rgba(34, 197, 139, .08); border: 1px solid rgba(34, 197, 139, .35); }
.legal-badge .lb-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 197, 139, .16); color: #6fe3a6; }
.legal-badge div { display: flex; flex-direction: column; } .legal-badge span { color: var(--text-2); font-size: 14px; }

/* instalar app */
.app-hero { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 18px 40px -16px rgba(61, 107, 255, .8); flex: none; }
.app-hero h1 { font-size: 30px; margin: 4px 0; }
.app-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 720px; margin-bottom: 16px; }
.app-os { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; text-align: left; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.app-os:hover { border-color: var(--line-2); }
.app-os.is-active { border-color: #6b8bff; background: linear-gradient(135deg, rgba(61, 107, 255, .2), rgba(123, 77, 255, .14)); }
.app-os span:last-child { display: flex; flex-direction: column; } .app-os strong { font-size: 16px; } .app-os small { color: var(--muted); font-size: 12.5px; }
.os-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.os-ic .ic { width: 24px; height: 24px; }
.os-android { background: rgba(61, 220, 132, .14); color: #5ee39a; }
.os-ios { background: rgba(255, 255, 255, .1); color: #f2f4ff; }
.app-steps { max-width: 720px; }
.app-now { margin-bottom: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 6px; }
.steps li > span { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-weight: 800; font-size: 14px; }
.steps div { display: flex; flex-direction: column; } .steps small { color: var(--muted); font-size: 13px; }
.kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 7px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-2); font-size: 14px; vertical-align: middle; }
.kbd .ic { width: 15px; height: 15px; }
.app-done { display: flex; align-items: center; gap: 10px; max-width: 720px; padding: 12px 16px; margin-bottom: 16px; border-radius: 14px; background: rgba(34, 197, 139, .1); border: 1px solid rgba(34, 197, 139, .4); color: #b5f3d2; }
.app-note { max-width: 720px; margin-top: 14px; display: flex; align-items: center; gap: 6px; } .app-note .ic { width: 14px; height: 14px; }
@media (max-width: 600px) { .app-pick { grid-template-columns: minmax(0, 1fr); } .app-hero { flex-direction: column; align-items: flex-start; } .app-hero h1 { font-size: 24px; } }
/* app instalado: respeita a área segura do iPhone */
@media (display-mode: standalone) { .topbar { padding-top: max(14px, env(safe-area-inset-top)); } }
.cc-time small { text-transform: none; }
.legal-sec { margin: 0; }
.legal-sec > .legal-title { margin-top: 0; }

/* página Rádio: duas colunas independentes (sem buracos) */
.radio-cols { align-items: start; }
.radio-main, .radio-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.radio-main > .panel, .radio-side > .panel { margin-top: 0; }
.radio-main .hero { min-height: 0; }
.live-next .panel-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.live-next .live-dot { width: 7px; height: 7px; }
.ln-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.ln-list li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: rgba(130, 145, 255, .05); border: 1px solid var(--line); min-width: 0; }
.ln-list li.empty { grid-column: 1 / -1; background: none; border: 0; }
.ln-list time { font: 600 12px var(--mono); color: #9db0ff; flex: none; }
.ln-list img { border-radius: 8px; object-fit: cover; flex: none; }
.ln-list span { display: flex; flex-direction: column; min-width: 0; }
.ln-list strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-list small { font-size: 12px; color: var(--muted); }
.ln-foot { margin-top: 10px; }
@media (max-width: 760px) { .ln-list li:nth-child(n+4) { display: none; } }

/* menu: Minhas playlists */
.side-pl { position: relative; display: flex; align-items: center; }
.side-pl .nav-link { flex: 1; min-width: 0; padding-right: 36px; }
.side-pl .nav-link span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-pl-play { position: absolute; right: 6px; opacity: 0; transition: opacity .15s; }
.side-pl:hover .side-pl-play, .side-pl-play:focus-visible { opacity: 1; }
.nav-more .ic { width: 14px; height: 14px; vertical-align: -2px; }

/* Etapa 1 — botões redondos nunca deformam; no celular estreito o volume desce para a linha de baixo */
.play-btn, .icon-btn { flex-shrink: 0; }
.hero-controls { flex-wrap: wrap; row-gap: 10px; }
.hero-power-label { min-width: 0; }
@media (max-width: 400px) {
  .hero-controls { justify-content: flex-start; }
  .hero-vol { margin-left: 0; flex: 1 1 100%; }
  .hero-vol .range-vol { flex: 1; min-width: 0; }
}

/* Etapa 1 — programação: programas que já passaram hoje ficam recolhidos; no celular, texto com espaço */
.sched.hide-past li.is-past { display: none; }
.sched-past-btn { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px 6px; padding: 6px 10px; border-radius: 9px; font-size: 13px; color: var(--text-2); background: rgba(130, 145, 255, .06); }
.sched-past-btn .ic { width: 14px; height: 14px; transform: rotate(90deg); }
.sched-past-btn:hover { color: var(--text); }
.sched-text { min-width: 0; }
@media (max-width: 600px) {
  .sched li { gap: 10px; padding: 12px 4px; align-items: flex-start; }
  .sched li > .sq-ic { display: none; }
  .sched time { width: 50px; font-size: 15px; }
  .sched-text strong { font-size: 15px; }
}

/* Etapa 4 — contato */
.contact-form { display: grid; gap: 14px; max-width: 760px; padding: 22px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); min-width: 0; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); font-weight: 400; color: var(--text); }
.contact-form input, .contact-form select { height: 44px; }
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.contact-form :is(input, select, textarea):focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(130, 145, 255, .07); font-size: 14px; overflow-wrap: anywhere; }
.contact-item .ic { width: 18px; height: 18px; flex-shrink: 0; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.contact-actions small { flex: 1 1 260px; }
.contact-done { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; padding: 22px; }
.contact-done h2 { font-size: 18px; margin-bottom: 4px; }
.form-errors { padding: 10px 14px; border-radius: 12px; background: rgba(255, 80, 104, .12); border: 1px solid rgba(255, 80, 104, .4); color: #ffc2cb; font-size: 14px; display: grid; gap: 4px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.report-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.report-link:hover { color: var(--text); }
.report-link .ic { width: 14px; height: 14px; }
@media (max-width: 600px) { .contact-row { grid-template-columns: minmax(0, 1fr); } .contact-form, .contact-done { padding: 16px; } }
.vm-note { flex-wrap: wrap; }
.vm-report { margin-left: auto; color: rgba(255, 255, 255, .6); }
.np-report { margin-top: 12px; }

/* Etapa 5 — timer para dormir */
.sleep-btn { position: relative; }
.sleep-btn.is-on { color: #ffd27f; }
.icon-btn.sleep-btn .sleep-left:not(:empty) { position: absolute; top: -4px; right: -8px; padding: 1px 5px; border-radius: 8px; background: #f5b23d; color: #1a1300; font: 700 10px/1.4 var(--font, inherit); white-space: nowrap; }
.btn.sleep-btn .sleep-left:not(:empty)::before { content: "· "; }
.sleep-menu { position: fixed; z-index: 160; right: max(16px, env(safe-area-inset-right)); bottom: calc(var(--player-h) + 12px + env(safe-area-inset-bottom)); width: min(320px, calc(100vw - 32px)); padding: 14px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 10px; }
.sleep-menu[hidden] { display: none; }
.sleep-title { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sleep-title .ic { width: 18px; height: 18px; color: #ffd27f; }
.sleep-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sleep-opts button { height: 40px; border-radius: 10px; background: rgba(130, 145, 255, .08); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.sleep-opts button:hover, .sleep-opts button:focus-visible { border-color: var(--line-2); outline: none; background: rgba(130, 145, 255, .16); }
.sleep-opts button[aria-checked="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.sleep-menu small { font-size: 12.5px; line-height: 1.4; }

/* Etapa 5 — backup e playlist compartilhada */
.backup-box { display: grid; gap: 10px; margin: 18px 0; }
.backup-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.backup-code, .backup-input { flex: 1 1 260px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font: 13px/1.4 var(--mono); }
.backup-input { resize: vertical; }
.backup-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.shared-pl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; margin-bottom: 16px; border-color: rgba(123, 77, 255, .45); }
.shared-pl h2 { font-size: 20px; margin: 4px 0; }
.share-out { width: 100%; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font: 13px var(--mono); }

/* Etapa 5 — próximo programa */
.ln-nextprog { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(130, 145, 255, .07); font-size: 13.5px; }
.ln-nextprog .ic { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-2); }
.ln-nextprog [data-next-start] { color: #ffd27f; font-weight: 600; }

/* Etapa 5 — sugestões da busca */
.search { position: relative; }
.suggest { position: absolute; z-index: 90; top: calc(100% + 6px); left: 0; right: 0; max-height: min(70vh, 460px); overflow-y: auto; padding: 6px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.suggest[hidden] { display: none; }
.sg-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text); min-width: 0; }
.sg-item:hover, .sg-item[aria-selected="true"] { background: rgba(130, 145, 255, .12); }
.sg-ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(130, 145, 255, .12); flex-shrink: 0; }
.sg-ic .ic { width: 16px; height: 16px; }
.sg-text { display: grid; min-width: 0; }
.sg-text strong, .sg-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-text small { color: var(--muted); font-size: 12px; }
.sg-all { color: var(--text-2); font-size: 13px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.sg-all .ic { width: 16px; height: 16px; }

/* sons de ambiente */
.amb-btn { position: relative; }
.amb-btn.is-on { color: #7fe3d2; }
.amb-count:not(:empty) { position: absolute; top: -4px; right: -6px; min-width: 16px; padding: 1px 4px; border-radius: 8px; background: #2fc4a8; color: #04201b; font: 700 10px/1.4 var(--font, inherit); text-align: center; }
.btn .amb-count { display: none; }
.amb-menu { width: min(360px, calc(100vw - 32px)); }
.amb-menu .sleep-title .ic { color: #7fe3d2; }
.amb-list { display: grid; gap: 6px; }
.amb-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 10px; padding: 4px 6px 4px 4px; border-radius: 10px; }
.amb-row.is-on { background: rgba(47, 196, 168, .1); }
.amb-toggle { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 9px; background: rgba(130, 145, 255, .08); border: 1px solid var(--line); color: var(--text); font-weight: 600; text-align: left; }
.amb-toggle:hover, .amb-toggle:focus-visible { border-color: var(--line-2); outline: none; }
.amb-toggle[aria-pressed="true"] { background: rgba(47, 196, 168, .22); border-color: rgba(47, 196, 168, .6); }
.amb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.amb-toggle[aria-pressed="true"] .amb-dot { background: #2fc4a8; box-shadow: 0 0 0 3px rgba(47, 196, 168, .25); }
.amb-row .range { width: 100%; opacity: .55; }
.amb-row.is-on .range { opacity: 1; }
.amb-menu [data-amb-off] { justify-self: start; }

/* modo foco (Pomodoro) */
.focus-btn.is-on { color: #ff9d7a; }
.focus-menu { width: min(340px, calc(100vw - 32px)); }
.focus-menu .sleep-title .ic { color: #ff9d7a; }
.focus-idle, .focus-run { display: grid; gap: 10px; }
.focus-idle[hidden], .focus-run[hidden] { display: none; }
.focus-presets button { height: auto; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.focus-presets button small { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.focus-presets button[aria-checked="true"] small { color: rgba(255, 255, 255, .85); }
.focus-opt { display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.focus-opt input { width: 17px; height: 17px; accent-color: #7c5cff; }
.focus-phase { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #ff9d7a; }
.focus-phase.is-break { color: #7fe3d2; }
.focus-time { font: 700 44px/1 var(--mono, ui-monospace, monospace); letter-spacing: .02em; }
.focus-bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.focus-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff9d7a, #ffd27f); transition: width .9s linear; }
.focus-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.focus-today:empty { display: none; }
.focus-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(255, 157, 122, .45);
  background: rgba(255, 157, 122, .12); color: #ffd6c7; font: 700 13px/1 var(--mono, ui-monospace, monospace); white-space: nowrap; }
.focus-chip .ic { width: 16px; height: 16px; color: #ff9d7a; }
.focus-chip.is-break { border-color: rgba(47, 196, 168, .5); background: rgba(47, 196, 168, .12); color: #c4f3ea; }
.focus-chip.is-break .ic { color: #7fe3d2; }
.focus-chip[hidden] { display: none; }
@media (max-width: 640px) {
  .focus-chip { height: 36px; padding: 0 8px; gap: 4px; font-size: 12px; border-radius: 11px; }
  .topbar-right:has(.focus-chip:not([hidden])) { margin-left: auto; gap: 6px; }
  .topbar-right:has(.focus-chip:not([hidden])) .clock-chip { margin-left: 0; }
  .focus-chip .fc-label { display: none; }
  .topbar-right:has(.focus-chip:not([hidden])) .cc-live, .topbar-right:has(.focus-chip:not([hidden])) .cc-sep { display: none; }
}
@media (max-width: 360px) { .topbar:has(.focus-chip:not([hidden])) .brand-mobile strong { display: none; } }

/* tocou agora há pouco (ao vivo) */
.live-recent { margin-top: 18px; }
.live-recent .panel-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.live-recent .panel-head h2 .ic { width: 18px; height: 18px; color: var(--muted); }
.lr-foot { margin: 10px 0 0; }
.lr-foot .ic { width: 13px; height: 13px; vertical-align: -2px; }
@media (max-width: 420px) { .cc-live strong { max-width: 64px; } }
@media (max-width: 370px) { .cc-live, .cc-sep { display: none; } }

/* modo TV */
.tv { position: fixed; inset: 0; z-index: 190; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(16px, 3vw, 44px); background: #05060f; color: #fff; overflow: hidden; }
.tv[hidden] { display: none; }
.tv-bg { position: absolute; inset: -10%; z-index: 0; }
.tv-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(60px) saturate(1.4) brightness(.6); transform: scale(1.1); transition: opacity .8s; }
.tv::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 30% 40%, transparent 0, rgba(3, 4, 12, .55) 70%); pointer-events: none; }
.tv > :not(.tv-bg) { position: relative; z-index: 1; }
.tv-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tv-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: clamp(15px, 1.4vw, 22px); letter-spacing: .03em; opacity: .9; }
.tv-brand .brand-mark { height: 22px; }
.tv-clock { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.tv-clock time { font: 700 clamp(26px, 3.4vw, 56px)/1 var(--mono, ui-monospace, monospace); letter-spacing: .03em; }
.tv-clock small { margin-top: 6px; font-size: clamp(11px, .9vw, 15px); color: rgba(255, 255, 255, .65); text-transform: capitalize; }
.tv-tools { display: flex; gap: 8px; }
.tv-tools .icon-btn { background: rgba(255, 255, 255, .08); }
.tv-main { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 72px); padding: clamp(10px, 3vh, 40px) 0; min-height: 0; }
.tv-cover { width: min(42vw, 54vh); aspect-ratio: 1; object-fit: cover; border-radius: clamp(14px, 1.6vw, 28px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); }
.tv-info { display: flex; flex-direction: column; gap: clamp(8px, 1.4vh, 18px); min-width: 0; }
.tv-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: clamp(13px, 1.2vw, 20px); color: rgba(255, 255, 255, .78); }
.tv-live { display: none; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 61, 97, .18); border: 1px solid rgba(255, 61, 97, .5); color: #ffd0d8; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8em; }
.tv.is-live .tv-live { display: inline-flex; }
.tv-title { font-size: clamp(30px, 5.2vw, 96px); line-height: 1.02; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.tv-artist { font-size: clamp(18px, 2.2vw, 40px); color: rgba(255, 255, 255, .78); }
.tv-progress { height: 6px; max-width: 640px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.tv-progress i { display: block; height: 100%; width: 0; background: #fff; }
.tv.is-live .tv-progress, .tv:not(.has-track) .tv-progress { display: none; }
.tv-next { font-size: clamp(13px, 1.25vw, 22px); color: rgba(255, 255, 255, .6); }
.tv-next:empty { display: none; }
.tv-bottom { display: flex; align-items: center; gap: 18px; }
.tv-hint { color: rgba(255, 255, 255, .45); font-size: 13px; }
.tv-top, .tv-bottom { transition: opacity .6s; }
.tv.is-idle { cursor: none; }
.tv.is-idle .tv-tools, .tv.is-idle .tv-bottom { opacity: 0; }
@media (max-width: 760px), (orientation: portrait) {
  .tv-main { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; align-content: center; }
  .tv-cover { width: min(72vw, 40vh); }
  .tv-tag, .tv-info { align-items: center; justify-content: center; }
  .tv-progress { width: 100%; }
  .tv-bottom { justify-content: center; }
  .tv-hint { display: none; }
  .tv-brand { font-size: 14px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .tv { padding: 14px 20px; } .tv-main { padding: 6px 0; }
  .tv-cover { width: min(34vw, 56vh); }
  .tv-bottom .play-btn.xl { width: 52px; height: 52px; }
  .tv-hint { display: none; }
}

/* despertador */
.sleep-menu { max-height: calc(100vh - var(--player-h) - 40px); overflow-y: auto; }
.alarm-sec { display: grid; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.alarm-sec .sleep-title .ic { color: #9fd0ff; }
.alarm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.alarm-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.alarm-switch input { width: 18px; height: 18px; accent-color: #7c5cff; }
.alarm-time { height: 40px; padding: 0 10px; border-radius: 10px; background: rgba(130, 145, 255, .08); border: 1px solid var(--line); color: var(--text); font: 700 18px var(--mono, ui-monospace, monospace); color-scheme: dark; }
.alarm-field { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.alarm-field select { height: 38px; padding: 0 8px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.alarm-sec.is-on .alarm-time { border-color: rgba(159, 208, 255, .6); }
.alarm-chip { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 10px; border-radius: 11px; border: 1px solid rgba(159, 208, 255, .4); background: rgba(159, 208, 255, .1); color: #d6ecff; font: 700 13px/1 var(--mono, ui-monospace, monospace); }
.alarm-chip[hidden] { display: none; }
.alarm-chip .ic { width: 16px; height: 16px; color: #9fd0ff; }
.alarm-ring { position: fixed; inset: 0; z-index: 195; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 16, .82); backdrop-filter: blur(6px); }
.alarm-ring[hidden] { display: none; }
.ar-box { width: min(420px, 100%); display: grid; justify-items: center; gap: 10px; text-align: center; padding: 28px 22px; border-radius: 22px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.ar-ic .ic { width: 44px; height: 44px; color: #9fd0ff; }
.ar-title { font-size: 26px; }
.ar-time { font: 700 48px/1 var(--mono, ui-monospace, monospace); }
.ar-actions { display: grid; gap: 8px; width: 100%; margin-top: 6px; }
@media (max-width: 640px) { .alarm-chip { height: 36px; padding: 0 7px; font-size: 12px; } .topbar-right:has(.alarm-chip:not([hidden])) { margin-left: auto; gap: 6px; } .topbar-right:has(.alarm-chip:not([hidden])) .clock-chip { margin-left: 0; } .topbar-right:has(.alarm-chip:not([hidden])) .cc-live, .topbar-right:has(.alarm-chip:not([hidden])) .cc-sep { display: none; } }

/* transição entre músicas (fila) */
.q-xfade { display: flex; align-items: center; gap: 8px; margin: 0 16px 8px; font-size: 13px; color: var(--muted); }
.q-xfade .ic { width: 15px; height: 15px; }
.q-xfade select { margin-left: auto; height: 32px; padding: 0 8px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-size: 13px; }
.q-xfade-note { display: block; margin: -4px 16px 8px; font-size: 12px; }
.q-xfade-note[hidden] { display: none; }
