/* =====================================================================
   WebRadio CMS - Folha de estilo principal
   ===================================================================== */
:root {
  --wr-primary: #6d28d9;
  --wr-primary-rgb: 109, 40, 217;
  --wr-secondary: #0ea5e9;
  --wr-accent: #f59e0b;
  --wr-bg: #080b16;
  --wr-bg-2: #0e1425;
  --wr-surface: rgba(20, 27, 46, .72);
  --wr-surface-2: #131a2b;
  --wr-border: rgba(255, 255, 255, .09);
  --wr-text: #eef1fb;
  --wr-muted: #a3aec9;
  --wr-radius: 18px;
  --wr-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --top-offset: 132px;
}

[data-theme="light"] {
  --wr-bg: #f4f6fc;
  --wr-bg-2: #eef1fa;
  --wr-surface: rgba(255, 255, 255, .82);
  --wr-surface-2: #ffffff;
  --wr-border: rgba(15, 23, 42, .1);
  --wr-text: #101828;
  --wr-muted: #5b6579;
  --wr-shadow: 0 18px 40px rgba(16, 24, 40, .12);
}

* { -webkit-tap-highlight-color: rgba(0, 0, 0, .08); }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 600px at 8% -12%, rgba(var(--wr-primary-rgb), .30), transparent 60%),
    radial-gradient(900px 520px at 96% 4%, rgba(14, 165, 233, .20), transparent 62%),
    var(--wr-bg);
  color: var(--wr-text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-top: var(--top-offset);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--wr-secondary); text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--wr-accent); }
h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -.02em; color: var(--wr-text); }
.text-muted, .wr-muted { color: var(--wr-muted) !important; }
img { max-width: 100%; height: auto; }

.container-xxl, .wr-container { max-width: 1280px; }

/* ------------------------------- Topbar ------------------------------- */
.wr-topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1040;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in srgb, var(--wr-bg) 78%, transparent);
  border-bottom: 1px solid var(--wr-border);
}
.wr-topbar .navbar { padding: .55rem 0; }
.wr-brand { display: flex; align-items: center; gap: .65rem; font-weight: 900; font-size: 1.12rem; color: var(--wr-text); letter-spacing: -.03em; }
.wr-brand:hover { color: var(--wr-text); }
.wr-brand img { height: 40px; width: auto; border-radius: 10px; object-fit: contain; }
.wr-brand .wr-logo-badge {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--wr-primary), var(--wr-secondary));
  color: #fff; font-size: 1.25rem; box-shadow: 0 8px 22px rgba(var(--wr-primary-rgb), .45);
}
.wr-brand small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wr-muted); }
.wr-nav .nav-link {
  color: var(--wr-text); font-weight: 600; font-size: .93rem; padding: .55rem .85rem !important;
  border-radius: 10px; position: relative;
}
.wr-nav .nav-link:hover, .wr-nav .nav-link.active { color: #fff; background: rgba(var(--wr-primary-rgb), .28); }
.wr-nav .nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--wr-accent);
}
.wr-icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--wr-border); color: var(--wr-text);
  font-size: 1.05rem; transition: .2s;
}
.wr-icon-btn:hover { background: rgba(var(--wr-primary-rgb), .35); color: #fff; transform: translateY(-1px); }
.wr-searchbox { max-width: 240px; }
.wr-searchbox input {
  background: rgba(255, 255, 255, .07); border: 1px solid var(--wr-border); color: var(--wr-text);
  border-radius: 12px; font-size: .9rem;
}
.wr-searchbox input::placeholder { color: var(--wr-muted); }
.wr-searchbox input:focus { background: rgba(255, 255, 255, .1); color: var(--wr-text); box-shadow: 0 0 0 .2rem rgba(var(--wr-primary-rgb), .25); border-color: transparent; }

/* ------------------------------- Player ------------------------------- */
.wr-player {
  position: fixed; left: 0; right: 0; z-index: 1035;
  background: linear-gradient(180deg, rgba(15, 20, 36, .96), rgba(10, 14, 26, .99));
  border-bottom: 1px solid var(--wr-border);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .42);
  transition: box-shadow .3s ease;
}
[data-theme="light"] .wr-player { background: linear-gradient(180deg, #fff, #f3f5fc); }
.wr-player-inner { display: flex; align-items: center; gap: .85rem; padding: .55rem 0; }
.wr-cover {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(var(--wr-primary-rgb), .55), rgba(14, 165, 233, .4));
  box-shadow: 0 6px 18px rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .12);
}
.wr-cover-fallback { display: grid; place-items: center; color: #fff; font-size: 1.4rem; }
.wr-meta { min-width: 0; flex: 1 1 auto; }
.wr-now {
  font-weight: 700; font-size: .96rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: .45rem;
}
.wr-artist { font-size: .8rem; color: var(--wr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wr-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ef4444; flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, .7); animation: wrPulse 1.9s infinite;
}
@keyframes wrPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .65); }
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.wr-play {
  width: 52px; height: 52px; border-radius: 50%; border: 0; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--wr-primary), var(--wr-secondary));
  color: #fff; font-size: 1.3rem; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(var(--wr-primary-rgb), .48); transition: transform .16s ease, box-shadow .2s;
  touch-action: manipulation;
}
.wr-play:hover { transform: scale(1.06); box-shadow: 0 14px 32px rgba(var(--wr-primary-rgb), .6); }
.wr-play:active { transform: scale(.96); }
.wr-play.loading i { animation: wrSpin 1s linear infinite; }
@keyframes wrSpin { to { transform: rotate(360deg); } }
.wr-volume { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.wr-volume input[type=range] { width: 96px; accent-color: var(--wr-primary); cursor: pointer; }
.wr-eq { display: flex; align-items: flex-end; gap: 2px; height: 22px; width: 26px; flex: 0 0 auto; opacity: .35; transition: opacity .3s; }
.wr-eq.on { opacity: 1; }
.wr-eq span { width: 3px; background: linear-gradient(180deg, var(--wr-accent), var(--wr-primary)); border-radius: 2px; height: 6px; }
.wr-eq.on span { animation: wrEq .9s ease-in-out infinite; }
.wr-eq.on span:nth-child(2) { animation-delay: .15s; }
.wr-eq.on span:nth-child(3) { animation-delay: .3s; }
.wr-eq.on span:nth-child(4) { animation-delay: .45s; }
.wr-eq.on span:nth-child(5) { animation-delay: .6s; }
@keyframes wrEq { 0%, 100% { height: 5px; } 50% { height: 20px; } }
.wr-player.is-stopped .wr-eq { opacity: .25; }

/* ------------------------------- Cards -------------------------------- */
.wr-card {
  background: var(--wr-surface);
  border: 1px solid var(--wr-border);
  border-radius: var(--wr-radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--wr-shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.wr-card:hover { border-color: rgba(var(--wr-primary-rgb), .5); }
.wr-hover-lift:hover { transform: translateY(-4px); }

.wr-section { padding: 2.6rem 0; }
.wr-section-title { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; }
.wr-section-title h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); margin: 0; }
.wr-section-title .wr-bar { width: 5px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, var(--wr-primary), var(--wr-accent)); }
.wr-eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--wr-accent); }

/* Hero */
.wr-hero {
  position: relative; border-radius: 26px; overflow: hidden; padding: clamp(1.5rem, 1rem + 3vw, 3.4rem);
  background:
    radial-gradient(700px 320px at 88% 10%, rgba(14, 165, 233, .34), transparent 62%),
    linear-gradient(135deg, rgba(var(--wr-primary-rgb), .82), rgba(10, 14, 26, .92));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  color: #fff; margin-top: 1.4rem;
}
.wr-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05'%3E%3Cpath d='M0 50h100M50 0v100'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .5;
}
.wr-hero h1 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.05; }
.wr-hero p { color: rgba(255, 255, 255, .85); max-width: 46ch; }
.wr-hero .badge-live { background: rgba(239, 68, 68, .18); border: 1px solid rgba(239, 68, 68, .55); color: #fecaca; }
.wr-btn {
  --bs-btn-focus-shadow-rgb: var(--wr-primary-rgb);
  border-radius: 12px; font-weight: 700; padding: .68rem 1.25rem;
  display: inline-flex; align-items: center; gap: .5rem; transition: .2s;
  min-height: 46px;
}
.wr-btn-primary { background: linear-gradient(135deg, var(--wr-primary), var(--wr-secondary)); border: 0; color: #fff; box-shadow: 0 12px 28px rgba(var(--wr-primary-rgb), .4); }
.wr-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(var(--wr-primary-rgb), .55); }
.wr-btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.wr-btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.wr-btn-light { background: rgba(255, 255, 255, .92); color: #101828; border: 0; }
.wr-btn-light:hover { background: #fff; color: #101828; }

/* Notícias */
.wr-news-card { display: flex; flex-direction: column; height: 100%; }
.wr-news-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #1e293b, #0f172a); }
.wr-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.wr-news-card:hover .wr-news-thumb img { transform: scale(1.05); }
.wr-news-thumb .wr-cat-badge {
  position: absolute; top: .7rem; left: .7rem; font-size: .68rem; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 800; padding: .3rem .6rem; border-radius: 7px; color: #fff;
  backdrop-filter: blur(6px); box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.wr-news-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.wr-news-body h3 { font-size: 1.02rem; line-height: 1.32; margin: 0; }
.wr-news-body h3 a { color: var(--wr-text); }
.wr-news-body h3 a:hover { color: var(--wr-accent); }
.wr-news-body .wr-excerpt { font-size: .86rem; color: var(--wr-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wr-news-meta { font-size: .74rem; color: var(--wr-muted); display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-top: auto; }
.wr-source-tag { font-size: .68rem; background: rgba(var(--wr-primary-rgb), .18); color: #c4b5fd; border: 1px solid rgba(var(--wr-primary-rgb), .35); padding: .12rem .45rem; border-radius: 6px; }

.wr-hero-news { position: relative; border-radius: var(--wr-radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; }
.wr-hero-news img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wr-hero-news .wr-overlay { position: relative; width: 100%; padding: 1.5rem; background: linear-gradient(180deg, transparent, rgba(4, 7, 14, .94)); }
.wr-hero-news h2 { font-size: clamp(1.2rem, 1rem + 1.4vw, 1.9rem); color: #fff; }

.wr-list-item { display: flex; gap: .85rem; padding: .75rem 0; border-bottom: 1px dashed var(--wr-border); }
.wr-list-item:last-child { border-bottom: 0; }
.wr-list-item img { width: 74px; height: 58px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.wr-list-item h4 { font-size: .9rem; line-height: 1.3; margin: 0 0 .2rem; font-weight: 700; }
.wr-list-item h4 a { color: var(--wr-text); }
.wr-list-item small { font-size: .72rem; color: var(--wr-muted); }

/* Horários */
.wr-schedule-item {
  display: flex; gap: 1rem; align-items: center; padding: .9rem 1rem; border-radius: 14px;
  border: 1px solid var(--wr-border); background: rgba(255, 255, 255, .03); margin-bottom: .6rem; transition: .2s;
}
.wr-schedule-item:hover { background: rgba(var(--wr-primary-rgb), .12); border-color: rgba(var(--wr-primary-rgb), .4); }
.wr-schedule-item.live { border-color: rgba(239, 68, 68, .55); background: rgba(239, 68, 68, .09); }
.wr-time { font-variant-numeric: tabular-nums; font-weight: 800; font-size: .92rem; color: var(--wr-accent); min-width: 96px; }
.wr-schedule-item h4 { font-size: .98rem; margin: 0; }
.wr-schedule-item p { font-size: .8rem; color: var(--wr-muted); margin: 0; }

/* Locutores */
.wr-host-card { text-align: center; padding: 1.4rem 1rem; }
.wr-host-avatar {
  width: 104px; height: 104px; border-radius: 50%; margin: 0 auto .85rem; overflow: hidden;
  border: 3px solid rgba(var(--wr-primary-rgb), .5); background: linear-gradient(135deg, var(--wr-primary), var(--wr-secondary));
  display: grid; place-items: center; font-size: 2rem; font-weight: 900; color: #fff;
}
.wr-host-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wr-host-card h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.wr-host-role { font-size: .78rem; color: var(--wr-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.wr-host-bio { font-size: .84rem; color: var(--wr-muted); margin-top: .6rem; }

/* Páginas / conteúdo */
.wr-prose { font-size: 1.02rem; line-height: 1.75; color: var(--wr-text); }
.wr-prose p { margin-bottom: 1.1rem; }
.wr-prose h2 { font-size: 1.45rem; margin: 1.9rem 0 .8rem; }
.wr-prose h3 { font-size: 1.18rem; margin: 1.5rem 0 .6rem; }
.wr-prose img { border-radius: 14px; margin: 1rem 0; }
.wr-prose a { text-decoration: underline; text-underline-offset: 3px; }
.wr-prose blockquote { border-left: 4px solid var(--wr-primary); padding: .7rem 1.1rem; background: rgba(var(--wr-primary-rgb), .1); border-radius: 0 12px 12px 0; margin: 1.3rem 0; color: var(--wr-muted); }
.wr-prose ul, .wr-prose ol { padding-left: 1.3rem; margin-bottom: 1.1rem; }
.wr-prose li { margin-bottom: .4rem; }

.wr-article-head { margin-bottom: 1.4rem; }
.wr-article-head h1 { font-size: clamp(1.5rem, 1.2rem + 2vw, 2.4rem); line-height: 1.18; }
.wr-article-meta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; font-size: .82rem; color: var(--wr-muted); margin-top: .8rem; }
.wr-article-image { border-radius: var(--wr-radius); overflow: hidden; margin-bottom: 1.4rem; }
.wr-article-image img { width: 100%; max-height: 480px; object-fit: cover; }
.wr-source-box { border: 1px solid var(--wr-border); background: rgba(var(--wr-primary-rgb), .09); border-radius: 14px; padding: 1rem 1.15rem; margin: 1.6rem 0; font-size: .88rem; }

/* Formulários */
.form-control, .form-select {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--wr-border); color: var(--wr-text);
  border-radius: 12px; padding: .65rem .85rem; min-height: 46px;
}
.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, .08); color: var(--wr-text);
  border-color: var(--wr-primary); box-shadow: 0 0 0 .22rem rgba(var(--wr-primary-rgb), .22);
}
.form-control::placeholder { color: var(--wr-muted); }
.form-label { font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.form-text { color: var(--wr-muted); font-size: .76rem; }
[data-theme="light"] .form-control, [data-theme="light"] .form-select { background: #fff; }
.form-check-input:checked { background-color: var(--wr-primary); border-color: var(--wr-primary); }

/* Banner / patrocinadores */
.wr-banner img { border-radius: 14px; width: 100%; object-fit: cover; }
.wr-sponsor {
  display: grid; place-items: center; padding: 1.1rem; border-radius: 14px; min-height: 110px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--wr-border); transition: .2s;
}
.wr-sponsor:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.wr-sponsor img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: .2s; }
.wr-sponsor:hover img { filter: none; opacity: 1; }

/* Footer */
.wr-footer { margin-top: 3rem; border-top: 1px solid var(--wr-border); background: rgba(6, 9, 18, .72); padding: 2.6rem 0 1.4rem; }
.wr-footer h5 { font-size: .95rem; margin-bottom: .9rem; }
.wr-footer a { color: var(--wr-muted); font-size: .88rem; }
.wr-footer a:hover { color: var(--wr-accent); }
.wr-footer ul { list-style: none; padding: 0; margin: 0; }
.wr-footer li { margin-bottom: .5rem; }
.wr-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.wr-social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--wr-border); color: var(--wr-text); font-size: 1rem;
}
.wr-social a:hover { background: var(--wr-primary); color: #fff; transform: translateY(-2px); }

/* WhatsApp flutuante */
.wr-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 1030;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wr-wa:hover { transform: scale(1.08); color: #fff; }

/* Player flutuante expandido */
.wr-mini-expand { border-top: 1px solid var(--wr-border); padding: .8rem 0; display: none; }
.wr-player.expanded .wr-mini-expand { display: block; }
.wr-eq-large { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.wr-eq-large span { width: 5px; background: linear-gradient(180deg, var(--wr-accent), var(--wr-primary)); border-radius: 3px; height: 8px; animation: wrEq 1.1s ease-in-out infinite; }
.wr-eq-large span:nth-child(2n) { animation-delay: .2s; }
.wr-eq-large span:nth-child(3n) { animation-delay: .45s; }

/* Skeleton / loading */
.wr-skeleton { background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%); background-size: 400% 100%; animation: wrShimmer 1.4s ease infinite; border-radius: 10px; }
@keyframes wrShimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Página de instalação */
.wr-device-card { text-align: center; padding: 2rem 1.2rem; }
.wr-device-icon { font-size: 3rem; line-height: 1; margin-bottom: .8rem; }
.wr-step { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .9rem; }
.wr-step .num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--wr-primary-rgb), .25); color: #fff; font-weight: 800; font-size: .85rem;
  border: 1px solid rgba(var(--wr-primary-rgb), .5);
}
.wr-step p { margin: 0; font-size: .92rem; }

/* Animações de entrada */
.wr-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.wr-reveal.in { opacity: 1; transform: none; }

/* Paginação */
.pagination .page-link {
  background: rgba(255, 255, 255, .06); border: 1px solid var(--wr-border); color: var(--wr-text);
  border-radius: 10px !important; min-width: 42px; min-height: 42px; display: grid; place-items: center;
}
.pagination .page-item.active .page-link { background: var(--wr-primary); border-color: var(--wr-primary); color: #fff; }
.pagination .page-link:hover { background: rgba(var(--wr-primary-rgb), .3); color: #fff; }

/* Barra de progresso do carregamento (pjax) */
#wr-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000;
  background: linear-gradient(90deg, var(--wr-accent), var(--wr-primary), var(--wr-secondary));
  transition: width .25s ease, opacity .35s ease; opacity: 0;
}
#wr-progress.on { opacity: 1; }

/* Acessibilidade */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--wr-primary); color: #fff;
  padding: .7rem 1rem; z-index: 3000; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--wr-accent); outline-offset: 2px; }
.visually-hidden-focusable:focus { position: static !important; }

/* ------------------------------ Responsivo ----------------------------- */
@media (max-width: 991.98px) {
  .wr-nav { padding-top: .6rem; }
  .wr-nav .nav-link { padding: .7rem .9rem !important; font-size: 1rem; }
  .wr-searchbox { max-width: 100%; margin: .5rem 0; }
}
@media (max-width: 767.98px) {
  :root { --top-offset: 148px; }
  .wr-cover { width: 46px; height: 46px; border-radius: 10px; }
  .wr-play { width: 46px; height: 46px; font-size: 1.15rem; }
  .wr-player-inner { gap: .6rem; padding: .5rem 0; }
  .wr-volume input[type=range] { width: 62px; }
  .wr-now { font-size: .86rem; }
  .wr-artist { font-size: .72rem; }
  .wr-hero { border-radius: 18px; padding: 1.3rem; margin-top: .9rem; }
  .wr-section { padding: 1.8rem 0; }
  .wr-wa { width: 50px; height: 50px; font-size: 1.4rem; bottom: 12px; right: 12px; }
  .wr-eq { display: none; }
  .wr-hero-news { min-height: 260px; }
  body { padding-bottom: 0; }
}
@media (max-width: 575.98px) {
  .wr-now { max-width: 40vw; }
  .wr-player .wr-track-link { display: none; }
  .wr-volume { gap: .3rem; }
  .wr-volume input[type=range] { width: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* Modo standalone (PWA instalado) */
@media (display-mode: standalone) {
  .wr-install-hint { display: none !important; }
}
body.pwa-standalone .wr-install-hint { display: none !important; }

/* Impressão */
@media print {
  .wr-topbar, .wr-player, .wr-footer, .wr-wa, #wr-progress { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
}
