/* ════════════════════════════════════════════════════════════════════
   00-tokens.css — Westside WebTV Design System
   Single source of truth for ALL design tokens.
   NUNCA hardcode uma cor — use var(--w-*).
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand Colors ── */
  --w-red: #e60000;           /* primary — use this everywhere */
  --w-red-blood: #e60000;     /* alias (legacy compat) */
  --w-red-neon: #ff1a1a;      /* accent / hover / glow */
  --w-red-dark: #cc0000;      /* darker shade for hover states */

  /* ── Red Opacity Variants ── */
  --w-red-5: rgba(230, 0, 0, 0.05);   /* subtle backgrounds */
  --w-red-10: rgba(230, 0, 0, 0.10);  /* badges, highlights */
  --w-red-15: rgba(230, 0, 0, 0.15);  /* glass buttons */
  --w-red-20: rgba(230, 0, 0, 0.20);  /* active states */
  --w-red-30: rgba(230, 0, 0, 0.30);  /* hover glass, shadows */
  --w-red-40: rgba(230, 0, 0, 0.40);  /* borders, HUD */

  /* ── Neutrals ── */
  --w-black: #080808;          /* page background */
  --w-dark-gray: #111111;      /* card backgrounds */
  --w-hud-bg: #1a1a1a;         /* HUD, panels, inputs */
  --w-slate: #2a2a2a;          /* elevated surfaces */
  --w-border: #222222;         /* default border */
  --w-border-subtle: #1a1a1a;  /* subtle borders */
  --w-ash: #888888;            /* muted text */
  --w-white: #ffffff;          /* primary text */

  /* ── Semantic Colors ── */
  --w-success: #0cc880;        /* online, ok, live */
  --w-warning: #f80;           /* fura-fila, alert */
  --w-info: #6ac;              /* type badges */
  --w-gold: #da0;              /* tier, premium */

  /* ── Borders ── */
  --w-border-hud: var(--w-red-40);
  --w-border-card: var(--w-border);

  /* ── Spacing ── */
  --w-page-padding: 5%;
  --w-max-width: 1600px;
  --w-nav-height: 60px;
  --nav-height: 60px; /* legacy alias — theater/video reference this */

  /* ── Motion ── */
  --motion-fast: cubic-bezier(0.25, 1, 0.5, 1);
  --motion-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;

  /* ── Typography ── */
  --font-primary: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 600;
  --font-weight-black: 800;
  --font-weight-ultra: 900;

  /* ── Chat System ── */
  --chat-bg: rgba(8, 8, 12, 0.92);
  --chat-surface: rgba(255, 255, 255, 0.025);
  --chat-surface-hover: rgba(255, 255, 255, 0.05);
  --chat-border: rgba(255, 255, 255, 0.06);
  --chat-border-active: rgba(230, 0, 0, 0.35);
  --chat-msg-radius: 6px;
  --chat-input-bg: rgba(17, 17, 24, 0.95);
  --chat-input-border: rgba(255, 255, 255, 0.08);
  --chat-input-focus: rgba(230, 0, 0, 0.5);
  --chat-accent: var(--w-red);
  --chat-system-bg: rgba(34, 197, 94, 0.06);
  --chat-system-border: rgba(34, 197, 94, 0.2);
  --chat-online-glow: rgba(34, 197, 94, 0.4);
  --chat-reaction-bg: rgba(255, 255, 255, 0.06);
  --chat-reaction-active: rgba(230, 0, 0, 0.15);
  --chat-gold-glow: rgba(255, 215, 0, 0.25);
  --chat-silver-glow: rgba(192, 192, 192, 0.2);
  --chat-bronze-glow: rgba(205, 127, 50, 0.2);

  /* ── Z-Index Scale ── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-nav: 1000;
  --z-modal: 2000;
  --z-player: 9000;
  --z-overlay: 9999;
}
/* ════════════════════════════════════════════════
   Module: 01-reset.css
   Sources: 01-reset.css
   ════════════════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Uppercase only on headings, nav, labels — NOT body text */
h1, h2, h3, h4, h5, h6,
.architectural-nav, .nav-links,
.section-header, .scene-title,
.banner-separator, .pre-footer-title,
.panel-btn, .card-badge, .bento-tag,
.footer-col h4, .editorial-title {
  text-transform: uppercase;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--w-black);
  color: var(--w-white);
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(8,8,8,0.9), rgba(8,8,8,0.9)),
    url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></svg>');
  background-size: 200px 200px;
}

/* -------------------------------------
   HUD ARCHITECTURAL NAV (EXCEPTION)
-------------------------------------- */
.architectural-nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--w-red-blood);
  z-index: 9999;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  gap: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand-logotype {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo {
  height: 38px;
  width: auto;
  filter: brightness(1);
  transition: filter 0.3s;
}
.nav-logo:hover {
  filter: brightness(1.2);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links a {
  color: var(--w-ash);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  transition: all 0.3s;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--w-white);
  border-bottom: 2px solid var(--w-red-neon);
  text-shadow: 0 0 10px var(--w-red-neon);
}

/* ── Nav Actions (right-aligned compact group) ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-search-btn,
.nav-missions-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--w-ash);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0;
  flex-shrink: 0;
}
.nav-search-btn:hover,
.nav-missions-btn:hover {
  color: var(--w-white);
  border-color: var(--w-red-neon);
  background: rgba(230, 0, 0, 0.15);
  box-shadow: 0 0 12px rgba(230, 0, 0, 0.3);
}

.btn-entrar {
  background: transparent;
  color: var(--w-white);
  padding: 0.6rem 1.5rem;
  border: 1.5px solid var(--w-red-blood);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.btn-entrar:hover {
  background: var(--w-red-blood);
  box-shadow: 0 0 20px var(--w-red-blood);
  color: #fff;
}

/* -------------------------------------
   PERSISTENT SPA PLAYER (EXCEPTION)
-------------------------------------- */

/* Theater Mode (Home) */

/* Floating Mode PIP (Other Pages) */

/* Glow & HUD for Theater only */

.ambient-glow.inactive { opacity: 0; }

.live-dot, .live-dot-core {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--w-red-neon);
  border-radius: 50%;
  animation: pings 1.5s infinite;
}

@keyframes pings {
  0% { box-shadow: 0 0 0 0 rgba(255, 26, 26, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 26, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 26, 26, 0); }
}

/* -------------------------------------
   DATA GRID (EXCEPTION ESPORTS CARD)
-------------------------------------- */
.main-wrapper {
  margin-top: 70px; /* nav (60px) + 10px breathing room; home resets via .wsr-theater ~ .main-wrapper */
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Quando o theater está presente (home), o main vem direto após */
.wsr-theater ~ .main-wrapper {
  margin-top: 0;
}

.page-content-grid {
  padding: 4rem 5%;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.section-header::before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  background: var(--w-red-blood);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2rem;
  width: 100%;
}

/* ── News Card Content (high specificity to beat framework CSS) ── */
.news-grid .card-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.news-grid .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.news-grid .exception-card:hover .card-img-wrapper img {
  filter: grayscale(0%) contrast(1.1);
  transform: scale(1.03);
}
.news-grid .card-content {
  padding: 1.2rem 1rem;
  display: flex !important;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.news-grid .card-badge {
  display: inline-block;
  background: #e63946 !important;
  color: #fff !important;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
  width: fit-content;
}
.news-grid .card-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  text-transform: none;
}
.news-grid .card-desc {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.5;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-grid .card-meta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  padding: 0.8rem 1rem;
  border-top: 1px solid #222;
  margin-top: auto;
  background: transparent;
  text-align: left;
}
.news-grid .card-date {
  font-size: 0.8rem;
  color: #666;
  text-transform: none;
}
.news-grid .card-read {
  font-size: 0.8rem;
  color: #e63946;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.news-grid .exception-card:hover .card-read {
  color: #ff4757;
}

.exception-card {
  width: 100%;
  background: var(--w-black);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

/* 4 Bracket Corners for IN-GAME HUD */
.exception-card::before, .exception-card::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
  border: 3px solid var(--w-red-blood);
  pointer-events: none;
}
.exception-card::before {
  top: 0; left: 0;
  border-right: none; border-bottom: none;
}
.exception-card::after {
  bottom: 0; right: 0;
  border-left: none; border-top: none;
}

.card-bracket-helper {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.card-bracket-helper::before, .card-bracket-helper::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
  border: 3px solid var(--w-white);
  pointer-events: none;
}
.card-bracket-helper::before {
  top: 0; right: 0;
  border-left: none; border-bottom: none;
}
.card-bracket-helper::after {
  bottom: 0; left: 0;
  border-right: none; border-top: none;
}

.exception-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(230,0,0,0.2);
}

.exception-card:hover .card-thumb {
  filter: grayscale(0%) contrast(1.2);
}

/* card-meta styles now defined above in News Card Content section */

/* -------------------------------------
   TWITCH PANELS BAR (BOUTONS DES PANNEAUX)
-------------------------------------- */
.twitch-panels-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.panel-btn {
  background: #111;
  border-left: 4px solid var(--w-red-blood);
  border-right: 4px solid var(--w-red-blood);
  color: var(--w-white);
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.panel-btn:hover {
  background: var(--w-red-blood);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(230, 0, 0, 0.4);
}

/* -------------------------------------
   GRITTY SCENES SECTION (LOCUTOR / RANKING)
-------------------------------------- */
.gritty-scenes-section {
  width: 100%;
  padding: 8rem 4rem;
  background-color: #0d0d0d;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(230,0,0,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(230,0,0,0.15) 0%, transparent 50%),
    url('data:image/svg+xml;utf8,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.05"/></svg>');
  background-blend-mode: overlay, normal, normal;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.scenes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1600px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .scenes-grid {
    grid-template-columns: 1fr;
  }
}

.scene-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.scene-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--w-white);
  letter-spacing: 5px;
  margin-bottom: 2rem;
  font-style: italic;
  /* Red marker line under title */
  border-bottom: 2px solid var(--w-red-blood);
  padding-bottom: 0.5rem;
  display: inline-block;
  align-self: flex-start;
}

/* -------------------------------------
   EXCEPTION HTML TABLE (RANKING)
-------------------------------------- */
.exception-table-wrapper {
  width: 100%;
  background: rgba(0,0,0,0.8);
  padding: 2rem;
  border: 1px solid #333;
}

.exception-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.exception-table th {
  color: var(--w-ash);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  padding: 1.5rem 1rem;
  border-bottom: 2px solid var(--w-slate);
}

.exception-table td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid #222;
  color: var(--w-white);
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.exception-table tr:hover td {
  background: rgba(230,0,0,0.1);
  border-bottom: 1px solid var(--w-red-blood);
}

.exception-table .rank-col {
  color: var(--w-red-blood);
  font-weight: 900;
  font-size: 1.5rem;
  width: 80px;
}

.exception-table .pts-col {
  color: var(--w-ash);
  font-style: italic;
  font-weight: 600;
  text-align: right;
}

/* -------------------------------------
   BANNER SEPARATOR (OVERLAYS)
-------------------------------------- */
.banner-separator {
  width: 100%;
  padding: 3.5rem 0;
  background: var(--w-red-blood);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 5rem 0;
  position: relative;
  box-shadow: inset 0 10px 20px rgba(0,0,0,0.3);
}

.banner-separator h2 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--w-white);
  letter-spacing: 5px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  font-style: italic;
}

/* Footer → see 10-components.css */


/* ════════════════════════════════════════════════
   Module: 02-layout.css
   Sources: 10-ui-polish.css
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   UI/UX POLISH — Global improvements
═══════════════════════════════════════ */

/* Smoother page transitions */
.main-wrapper { animation: pageFadeIn 0.25s ease; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Improved panel buttons */
.panel-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.panel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(230,0,0,0.2);
}

/* Better focus rings for accessibility */
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--w-red);
  outline-offset: 2px;
}

/* Queue item hover lift */
.queue-item {
  transition: background 0.15s, transform 0.15s;
}
.queue-item:hover {
  background: rgba(230,0,0,0.04);
  transform: translateX(2px);
}

/* Feed event entry animation */
.feed-event {
  animation: feedSlideIn 0.3s ease;
}
@keyframes feedSlideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }

/* Ranking table row hover */
.exception-table tbody tr {
  transition: background 0.15s;
}
.exception-table tbody tr:hover {
  background: rgba(230,0,0,0.04);
}

/* Smooth nav link underline */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--w-red);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* queue-vote-btn hover enhancement: merged into canonical L5174 (PRD-016) */

/* Chat message entry animation */

@keyframes chatSlideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Sub-hover for legacy item list */
.exception-card {
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.exception-card:hover {
  border-color: rgba(230,0,0,0.3) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}


/* ════════════════════════════════════════════════════════════════════
   03-theater.css — Player, YouTube, PiP, Video
   Tudo relacionado a reprodução de mídia na WebTV.
   ════════════════════════════════════════════════════════════════════ */

/* ── Video Loop Player ── */

@keyframes pulse-badge {
  0%,100% { opacity: .7; }
  50% { opacity: 1; }
}

.loop-playlist-card.active {
  border-color: var(--w-red);
  box-shadow: 0 0 12px rgba(200,0,0,.15);
}
.loop-playlist-card.active .loop-card-meta h4 { color: #fff; }

/* ── WebTV Premium Player ── */

@keyframes lt-slide-in {
  0% { transform: translateX(-100%); opacity: 0; }
  10% { transform: translateX(0); opacity: 1; }
  80% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}

@keyframes spin { to { transform: rotate(360deg); } }

.webtv-playlist-scroll::-webkit-scrollbar { width: 3px; }
.webtv-playlist-scroll::-webkit-scrollbar-thumb { background: #2a2a2a; }
.webtv-playlist-item.active {
  background: rgba(153,0,0,0.12);
  border-left: 2px solid var(--w-red);
}
.webtv-playlist-item.active .webtv-item-title { color: #fff; }

@keyframes pickPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* ── WSR Theater — Homepage Cinema Player ── */

.wsr-theater {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--nav-height));
  min-height: 400px;
  overflow: hidden;
  background: #000;
  margin-top: var(--nav-height);
}

@keyframes wsrBgFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.wsr-theater::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.wsr-theater-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 3rem 2rem;
  gap: 0.75rem;
}

.wsr-theater-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

/* Badge AO VIVO */
.wsr-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--w-red-15);
  border: 1px solid rgba(230, 0, 0, 0.5);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff3333;
  backdrop-filter: blur(8px);
}

.wsr-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff3333;
  animation: pulseRed 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseRed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

/* Botão play/pause do teatro */
.wsr-play-btn {
  margin-top: 1rem;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.wsr-play-btn:hover {
  background: var(--w-red-20);
  border-color: rgba(230, 0, 0, 0.7);
  transform: scale(1.08);
}
.wsr-play-btn.playing {
  background: var(--w-red-15);
  border-color: rgba(230, 0, 0, 0.5);
}

/* Home layout wrapper */
.home-layout-wrapper {
  background: #000;
  position: relative;
  z-index: 2;
}
.home-layout-wrapper::before {
  content: '';
  display: block;
  height: 150px;
  margin-top: -150px;
  background: linear-gradient(to bottom, transparent, #000);
  position: relative;
  pointer-events: none;
}

@media (max-width: 640px) {
  .wsr-theater { height: calc(100svh - var(--nav-height)); min-height: 320px; }
  .wsr-theater-overlay { padding: 2rem 1.25rem; }
  .wsr-play-btn { width: 54px; height: 54px; }
}

/* ── PiP Video — Mini player ── */

.wsr-pip {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9998;
  display: flex; flex-direction: column;
  border: 1px solid rgba(230,0,0,0.5);
  border-radius: 0 0 10px 10px;
  overflow: visible; opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.7), 0 0 0 1px var(--w-red-15);
  width: 280px;
}
.wsr-pip.wsr-pip--visible { opacity: 1; pointer-events: all; transform: translateY(0); }

.wsr-pip-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; padding: 0.5rem 0.75rem;
  background: rgba(6,6,6,0.97);
  border-top: 1px solid rgba(230,0,0,0.25);
  backdrop-filter: blur(12px);
}
.wsr-pip-info {
  display: flex; flex-direction: row; align-items: center;
  gap: 8px; min-width: 0; overflow: hidden; flex: 1;
}
.wsr-pip-title {
  font-size: 0.67rem; font-weight: 800; letter-spacing: 0.1em;
  color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-transform: uppercase;
}

/* TV overlay — floats on top-right of video area above the bar */
.wsr-pip-tv-overlay {
  position: absolute;
  bottom: calc(100% + 6px); right: 6px;
  width: 32px; height: 32px;
  border-radius: 6px;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  backdrop-filter: blur(8px);
  z-index: 1;
}
.wsr-pip-tv-overlay:hover {
  background: rgba(230,0,0,0.6);
  border-color: rgba(230,0,0,0.8);
  transform: scale(1.1);
}

.wsr-pip-btn {
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.wsr-pip-btn:hover { background: var(--w-red-20); border-color: rgba(230,0,0,0.5); }

.wsr-pip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,80,80,0.5); display: inline-block; flex-shrink: 0;
}
.wsr-pip-dot.on { background: #ff3333; box-shadow: 0 0 8px #ff3333; animation: pip-blink 1.4s infinite; }

@keyframes pip-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

@media (max-width: 640px) {
  .wsr-pip {
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    right: 0.75rem;
    z-index: 9999; /* acima do footer + global-player-bar */
  }
  .wsr-pip-video-wrap { width: 180px; }

  /* iframe PiP: garantia de z-index em mobile */
  .wsr-yt-mode-pip {
    z-index: 9999 !important;
    bottom: max(calc(0.75rem + 56px), calc(env(safe-area-inset-bottom, 0px) + 56px)) !important;
  }
}

/* ── YouTube Theater — iFrame fullscreen ── */

.wsr-yt-frame.wsr-yt-hidden { opacity: 0; pointer-events: none; }

.wsr-theater-gradient {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.wsr-theater-clip-title {
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 800; letter-spacing: 0.05em; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.9);
  line-height: 1.2; max-width: 700px; text-align: center;
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}

.wsr-theater-artist {
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 600; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.65);
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
  text-transform: uppercase; margin: 0;
}

.wsr-live-badge--clip {
  background: rgba(0,0,180,0.2);
  border-color: rgba(100,100,255,0.5);
  color: #aaaaff;
}

.wsr-theater-controls {
  display: flex; align-items: center; gap: 1rem; margin-top: 1rem;
}

/* Player Mode Classes */
.wsr-yt-mode-theater {
  position: fixed;
  top: var(--nav-height); left: 0;
  width: 100%; height: calc(100vh - var(--nav-height));
  z-index: 1;
}
.wsr-yt-mode-theater iframe,
.wsr-yt-mode-theater #wsr-yt-player,
#wsr-yt-persistent iframe {
  width: 100% !important; height: 100% !important; border: none;
}
.wsr-yt-mode-pip {
  position: fixed;
  bottom: calc(1.5rem + 46px); right: 1.5rem;
  width: 280px; height: 158px;
  z-index: 9999;
  border: 1px solid var(--w-red-40);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: #000;
}
/* [BUG-FIX] Ensure iframe/video inside PiP is contained properly for different aspect ratios */
.wsr-yt-mode-pip iframe {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  border: none;
}
.wsr-yt-mode-pip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PiP transition — GPU compositing hint (PRD-025 Phase 2) */
#wsr-media-persistent {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout;
}

/* ── ColorfulTicker ── */
.colorful-ticker-wrapper {
  width: 100%; overflow: hidden;
  background: linear-gradient(90deg, #0a0000 0%, #1a0505 50%, #0a0000 100%);
  border-top: 1px solid rgba(230, 57, 70, 0.15);
  border-bottom: 1px solid rgba(230, 57, 70, 0.15);
  padding: 6px 0;
}
.colorful-ticker-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.ticker-item {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 3px;
  color: var(--w-red); text-transform: uppercase; flex-shrink: 0;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

@keyframes newsProgress {
  0% { width: 0; }
  100% { width: 100%; }
}

.news-hero-card:hover img { transform: scale(1.05); }

/* ── [SPEC-043 F-014] Fura-fila Promotion Toast ── */

@keyframes wsrToastSlide {
  0%   { transform: translateY(100%); opacity: 0; }
  10%  { transform: translateY(0); opacity: 1; }
  85%  { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

.wsr-promo-toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(20,0,0,0.95) 0%, rgba(40,0,0,0.95) 100%);
  border: 1px solid rgba(230,0,0,0.6);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(230,0,0,0.25), 0 0 0 1px rgba(230,0,0,0.1);
  animation: wsrToastSlide 5s ease-in-out forwards;
  max-width: 380px;
  pointer-events: none;
}

.wsr-promo-toast-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(230,100,0,0.5));
}

.wsr-promo-toast-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.wsr-promo-toast-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--w-red, #e60000);
  text-transform: uppercase;
}

.wsr-promo-toast-track {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wsr-promo-toast-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .wsr-promo-toast {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
/* ════════════════════════════════════════════════════════════════════
   04-chat.css — Westside WebTV LiveChat (SPEC-022 / SPEC-049)
   Refactored: messenger-style, flags, avatars, translate, guest mode
   ════════════════════════════════════════════════════════════════════ */

/* ── Chat + Listener Panel Grid (70/30 side-by-side) ── */
.chat-listener-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  align-items: stretch;
}

/* ── Section Container (child of .chat-listener-grid) ── */
.live-chat-section {
  display: flex;
  flex-direction: column;
  background: var(--chat-bg, rgba(8, 8, 12, 0.92));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  min-height: 520px;
  max-height: 680px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* ── Header ── */
.live-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--chat-border);
  gap: 8px;
  flex-shrink: 0;
}

.live-chat-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--w-red, #e60000);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(230, 0, 0, 0); }
}

.live-chat-label {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold, 600);
  font-size: 0.8rem;
  color: var(--w-red, #e60000);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chat-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--w-success, #0cc880);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-online-badge:hover {
  background: rgba(34, 197, 94, 0.18);
  transform: scale(1.04);
}

.online-dot {
  width: 6px;
  height: 6px;
  background: var(--w-success, #0cc880);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--chat-online-glow);
}

.live-chat-me {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--w-ash, #888);
}

.live-chat-login-btn {
  background: var(--w-red-15, rgba(230,0,0,0.15));
  color: var(--w-red-neon, #ff1a1a);
  border: 1px solid var(--w-red-30, rgba(230,0,0,0.3));
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.live-chat-login-btn:hover {
  background: var(--w-red-30);
  box-shadow: 0 0 16px rgba(230, 0, 0, 0.25);
}

.chat-free-truva-tag {
  background: linear-gradient(135deg, rgba(218, 170, 0, 0.15), rgba(218, 170, 0, 0.08));
  border: 1px solid rgba(218, 170, 0, 0.25);
  color: var(--w-gold, #da0);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Online Panel ── */
.chat-online-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--chat-border);
  max-height: 100px;
  overflow-y: auto;
}

.chat-online-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--chat-surface);
  border: 1px solid var(--chat-border);
  border-radius: 14px;
  padding: 3px 10px 3px 4px;
  font-size: 0.68rem;
  color: var(--w-white);
  cursor: pointer;
  transition: background 0.2s;
}

.chat-online-chip:hover {
  background: var(--chat-surface-hover);
}

.chat-online-chip.tier-gold { border-color: rgba(245, 158, 11, 0.35); }
.chat-online-chip.tier-silver { border-color: rgba(148, 163, 184, 0.3); }

.chat-online-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-online-initial {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--w-slate, #2a2a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--w-white);
}

.chat-online-initial.tier-gold { background: linear-gradient(135deg, #b45309, #f59e0b); }
.chat-online-initial.tier-silver { background: linear-gradient(135deg, #475569, #94a3b8); }

/* ── Message List ── */
.live-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.live-chat-messages::-webkit-scrollbar {
  width: 4px;
}
.live-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.live-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}
.live-chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.15);
}

.chat-empty {
  text-align: center;
  color: var(--w-ash);
  font-size: 0.82rem;
  padding: 40px 0;
  opacity: 0.5;
}

/* ── Single Message ── */
.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--chat-msg-radius, 6px);
  position: relative;
  transition: background 0.18s;
  animation: msgSlide 0.3s var(--motion-fast);
  max-width: 88%;
}

.chat-msg:hover {
  background: var(--chat-surface-hover);
}

/* Own messages — right-aligned */
.chat-msg.own {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg.own .chat-msg-body {
  align-items: flex-end;
}

.chat-msg.own .chat-msg-header {
  flex-direction: row-reverse;
}

.chat-msg.own .chat-text {
  background: rgba(230, 0, 0, 0.12);
  border: 1px solid rgba(230, 0, 0, 0.2);
  border-radius: 14px 14px 4px 14px;
  padding: 6px 12px;
  color: var(--w-white);
}

.chat-msg.grouped {
  margin-top: -2px;
}

@keyframes msgSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Avatar */
.chat-msg-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--w-slate, #2a2a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--w-white);
  overflow: hidden;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.chat-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat-msg-avatar.tier-gold { border-color: rgba(245, 158, 11, 0.6); box-shadow: 0 0 8px var(--chat-gold-glow); }
.chat-msg-avatar.tier-silver { border-color: rgba(148, 163, 184, 0.5); box-shadow: 0 0 6px var(--chat-silver-glow); }
.chat-msg-avatar.tier-bronze { border-color: rgba(205, 127, 50, 0.5); box-shadow: 0 0 6px var(--chat-bronze-glow); }

/* Body */
.chat-msg-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.chat-msg-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chat-flag {
  font-size: 0.9rem;
  margin-right: 2px;
  vertical-align: middle;
  line-height: 1;
}

.chat-username {
  font-weight: var(--font-weight-bold, 600);
  font-size: 0.78rem;
  color: var(--w-white);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-username-own {
  color: var(--w-red-neon, #ff1a1a);
}

.chat-pts-badge {
  font-size: 0.6rem;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: var(--w-ash);
  font-weight: 600;
  white-space: nowrap;
}

.chat-pts-badge.gold { background: var(--chat-gold-glow); color: #f59e0b; }
.chat-pts-badge.silver { background: var(--chat-silver-glow); color: #cbd5e1; }
.chat-pts-badge.bronze { background: var(--chat-bronze-glow); color: #cd7f32; }

.chat-timestamp {
  font-size: 0.62rem;
  color: var(--w-ash, #888);
  opacity: 0.6;
  white-space: nowrap;
}

/* Message text */
.chat-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.4;
  word-break: break-word;
  padding: 4px 10px;
  background: var(--chat-surface, rgba(255,255,255,0.025));
  border: 1px solid var(--chat-border, rgba(255,255,255,0.06));
  border-radius: 4px 14px 14px 14px;
}

/* ── Translate ── */
.chat-translate-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 2px;
}

.chat-translate-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--w-ash, #888);
  font-size: 0.65rem;
  cursor: pointer;
  padding: 2px 0;
  transition: color 0.2s;
  opacity: 0.7;
  white-space: nowrap;
}

.chat-translate-btn:hover {
  color: var(--w-red-neon, #ff1a1a);
  opacity: 1;
}

.chat-translate-btn:disabled {
  cursor: wait;
  opacity: 0.4;
}

.chat-translated-text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  padding: 3px 10px;
  background: rgba(230, 0, 0, 0.06);
  border-left: 2px solid var(--w-red-30, rgba(230,0,0,0.3));
  border-radius: 0 6px 6px 0;
  line-height: 1.35;
}

/* ── Reactions ── */
.chat-msg-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

.chat-reaction {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--chat-reaction-bg);
  border: 1px solid var(--chat-border);
  border-radius: 12px;
  padding: 2px 6px;
  font-size: 0.68rem;
  cursor: pointer;
  transition: all 0.15s;
}

.chat-reaction:hover {
  background: var(--chat-surface-hover);
  transform: scale(1.08);
}

.chat-reaction.active {
  background: var(--chat-reaction-active);
  border-color: var(--chat-border-active);
}

.chat-reaction-count {
  font-size: 0.6rem;
  color: var(--w-ash);
}

.chat-reaction-bar {
  display: none;
  position: absolute;
  top: -28px;
  right: 8px;
  background: var(--w-hud-bg, #1a1a1a);
  border: 1px solid var(--chat-border);
  border-radius: 16px;
  padding: 3px 4px;
  gap: 2px;
  z-index: var(--z-dropdown, 100);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.chat-msg:hover .chat-reaction-bar {
  display: flex;
}

.chat-reaction-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s;
}

.chat-reaction-btn:hover {
  background: var(--chat-surface-hover);
  transform: scale(1.2);
}

/* ── Reward Message ── */
.chat-msg-reward {
  background: var(--chat-system-bg) !important;
  border: 1px solid var(--chat-system-border) !important;
  border-radius: 8px;
  text-align: center;
  padding: 8px 12px !important;
  max-width: 100% !important;
  justify-content: center;
}

.chat-msg-reward .chat-text {
  background: transparent;
  border: none;
  color: var(--w-success, #0cc880);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0;
}

/* ── New Messages Button ── */
.chat-new-msgs {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--w-red);
  color: var(--w-white);
  border: none;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  z-index: var(--z-dropdown);
  box-shadow: 0 4px 16px rgba(230, 0, 0, 0.4);
  animation: msgSlide 0.3s var(--motion-fast);
  transition: transform 0.2s, background 0.2s;
}

.chat-new-msgs:hover {
  background: var(--w-red-neon);
  transform: translateX(-50%) scale(1.05);
}

/* ── Input Row ── */
.live-chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--chat-input-bg, rgba(17,17,24,0.95));
  border-top: 1px solid var(--chat-border);
  position: relative;
  flex-shrink: 0;
}

.live-chat-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--chat-input-border, rgba(255,255,255,0.08));
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--w-white);
  font-size: 0.82rem;
  font-family: var(--font-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.live-chat-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.live-chat-input:focus {
  border-color: var(--chat-input-focus, rgba(230,0,0,0.5));
  box-shadow: 0 0 0 2px rgba(230, 0, 0, 0.12);
}

.chat-char-count {
  font-size: 0.6rem;
  color: var(--w-ash);
  opacity: 0.5;
  white-space: nowrap;
}

.chat-char-count.warn {
  color: var(--w-warning, #f80);
  opacity: 1;
}

.chat-emoji-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--chat-border);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-emoji-btn:hover {
  background: var(--chat-surface-hover);
  border-color: var(--chat-border-active);
}

.live-chat-send-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--w-red);
  border: none;
  border-radius: 50%;
  color: var(--w-white);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.live-chat-send-btn:hover:not(:disabled) {
  background: var(--w-red-neon);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(230, 0, 0, 0.35);
}

.live-chat-send-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Emoji Picker ── */
.chat-emoji-picker-wrap {
  position: absolute;
  bottom: 54px;
  right: 12px;
  background: var(--w-hud-bg, #1a1a1a);
  border: 1px solid var(--chat-border);
  border-radius: 12px;
  padding: 10px;
  z-index: var(--z-dropdown, 100);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  animation: msgSlide 0.2s var(--motion-fast);
}

.chat-emoji-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.chat-emoji-item {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.chat-emoji-item:hover {
  background: var(--chat-surface-hover);
  transform: scale(1.2);
}

/* ── Guest Locked Input ── */
.live-chat-locked {
  padding: 10px 12px;
  background: var(--chat-input-bg);
  border-top: 1px solid var(--chat-border);
  text-align: center;
  flex-shrink: 0;
}

.live-chat-locked button {
  background: var(--w-red-15);
  color: var(--w-red-neon);
  border: 1px solid var(--w-red-30);
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}

.live-chat-locked button:hover {
  background: var(--w-red-20);
  box-shadow: 0 0 16px rgba(230, 0, 0, 0.2);
}

/* ── Translation Preferences ── */
.chat-translate-prefs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--chat-border);
  flex-shrink: 0;
}

/* Compact header variant — inline in the chat title row */
.chat-translate-select--header {
  margin-left: auto;
  padding: 2px 6px;
  font-size: 0.65rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--chat-border, rgba(255,255,255,0.08));
  color: var(--w-ash, #888);
  cursor: pointer;
  outline: none;
  font-family: var(--font-primary);
  transition: border-color 0.2s, color 0.2s;
}

.chat-translate-select--header:hover,
.chat-translate-select--header:focus {
  border-color: var(--chat-border-active, rgba(230,0,0,0.3));
  color: var(--w-white, #fff);
}

.chat-translate-prefs-label {
  font-size: 0.68rem;
  color: var(--w-ash);
  white-space: nowrap;
}

.chat-translate-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--chat-border);
  border-radius: 8px;
  color: var(--w-white);
  font-size: 0.7rem;
  padding: 4px 8px;
  outline: none;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: border-color 0.2s;
}

.chat-translate-select:focus {
  border-color: var(--chat-border-active);
}

.chat-translate-select option {
  background: var(--w-dark-gray, #111);
  color: var(--w-white);
}

/* ── User Popup ── */
.user-popup {
  position: absolute;
  z-index: var(--z-dropdown, 100);
  background: var(--w-hud-bg, #1a1a1a);
  border: 1px solid var(--chat-border);
  border-radius: 12px;
  padding: 12px;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  animation: msgSlide 0.2s var(--motion-fast);
}

.user-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.user-popup-avatar, .user-popup-initial {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.user-popup-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--w-white);
}

.user-popup-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--w-white);
}

.user-popup-tier {
  font-size: 0.68rem;
  font-weight: 500;
}

.user-popup-stats {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--w-ash);
}

.chat-artist-mention,
.artist-mention-link {
  color: var(--w-red);
  font-weight: 800;
  text-decoration: none;
}
.chat-artist-mention:hover,
.artist-mention-link:hover {
  text-decoration: underline;
}
.news-artist-mentions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.news-artist-mentions a {
  border: 1px solid rgba(230,57,70,0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}
.content-reaction-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 6px;
}
.content-reaction-bar button {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
}
.content-reaction-bar button.active {
  background: rgba(230,57,70,0.18);
  border-color: rgba(230,57,70,0.55);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .live-chat-section {
    border-radius: 8px;
    min-height: 350px;
    max-height: 500px;
  }

  .chat-emoji-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .chat-msg {
    max-width: 94%;
  }
}

/* ── Listener Panel ── */
.listener-panel {
  background: linear-gradient(180deg, rgba(10, 10, 14, 0.98), rgba(5, 5, 8, 0.99));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-height: 0;
  max-height: 680px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  scrollbar-width: thin;
  scrollbar-color: rgba(230, 0, 0, 0.2) transparent;
}

.listener-panel::-webkit-scrollbar { width: 4px; }
.listener-panel::-webkit-scrollbar-track { background: transparent; }
.listener-panel::-webkit-scrollbar-thumb { background: rgba(230, 0, 0, 0.25); border-radius: 4px; }

.lp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lp-username {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--w-white, #fff);
  margin: 0.25rem 0 0;
}

.lp-logout-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--w-ash, #888);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.lp-logout-btn:hover { border-color: #444; color: #888; }

.lp-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-tabs button {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--w-ash, #888);
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}
.lp-tabs button.active {
  color: var(--w-red, #e60000);
  border-bottom-color: var(--w-red, #e60000);
}

.lp-stats {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lp-stat-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.85rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.lp-stat-box:hover {
  border-color: rgba(230, 0, 0, 0.2);
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.04) 0%, rgba(255,255,255,0.02) 100%);
}

.lp-stat-box--dimmed {
  opacity: 0.5;
}
.lp-stat-box--dimmed:hover {
  opacity: 0.7;
}

.lp-stat-icon { font-size: 1.15rem; }
.lp-stat-value { font-size: 1.05rem; font-weight: 900; color: var(--w-white); letter-spacing: 1px; }
.lp-stat-label { font-size: 0.55rem; font-weight: 900; letter-spacing: 2px; color: var(--w-ash); text-transform: uppercase; }

.lp-reward-progress { display: flex; flex-direction: column; gap: 0.5rem; }
.lp-reward-header { display: flex; justify-content: space-between; font-size: 0.62rem; font-weight: 900; letter-spacing: 2px; color: var(--w-ash); }
.lp-progress-bar { height: 4px; background: rgba(255,255,255,0.04); overflow: hidden; border-radius: 2px; }
.lp-progress-fill { height: 100%; background: var(--w-red); transition: width 0.5s ease; }
.lp-reward-desc { font-size: 0.72rem; color: var(--w-ash); line-height: 1.5; margin: 0; }
.lp-reward-desc strong { color: #ccc; }

.lp-free-truvas {
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.15);
  padding: 0.85rem;
  border-radius: 8px;
}
.lp-free-truvas-count { font-size: 0.75rem; font-weight: 900; color: var(--w-success, #0cc880); display: block; margin-bottom: 0.4rem; }
.lp-free-truvas p { font-size: 0.72rem; color: var(--w-ash); margin: 0; line-height: 1.5; }

/* ── Guest CTA (logged-out panel) ── */
.lp-guest-cta {
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.08) 0%, rgba(230, 0, 0, 0.03) 100%);
  border: 1px solid rgba(230, 0, 0, 0.2);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-guest-cta-text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

.lp-guest-cta-btn {
  background: var(--w-red, #e60000);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.lp-guest-cta-btn:hover {
  background: #ff1a1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.35);
}

.lp-board { padding: 1rem; overflow-y: auto; }
.lp-board-empty { font-size: 0.8rem; color: var(--w-ash); text-align: center; padding: 2rem 0; }
.lp-board-table { width: 100%; }
.lp-th-right { text-align: right !important; }
.lp-board-name { font-weight: 700; }
.lp-board-badges { margin-left: 4px; }
.lp-board-badge { font-size: 0.8rem; cursor: help; }

/* ── Translation Settings (Listener Panel sidebar) ── */
.lp-translate-settings {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.lp-translate-title {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--w-red, #e60000);
  text-transform: uppercase;
  margin: 0;
}

.lp-translate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lp-translate-label {
  font-size: 0.72rem;
  color: var(--w-ash, #888);
  font-weight: 600;
}

/* Toggle switch */
.lp-toggle {
  position: relative;
  width: 36px;
  height: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
  flex-shrink: 0;
}

.lp-toggle.active {
  background: rgba(230, 0, 0, 0.25);
  border-color: rgba(230, 0, 0, 0.4);
}

.lp-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--w-ash, #888);
  transition: transform 0.2s, background 0.2s;
}

.lp-toggle.active .lp-toggle-thumb {
  transform: translateX(16px);
  background: var(--w-red, #e60000);
}

/* Select dropdown */
.lp-translate-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: var(--w-white, #fff);
  font-size: 0.7rem;
  padding: 4px 8px;
  outline: none;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: border-color 0.2s;
}

.lp-translate-select:focus {
  border-color: var(--w-red, #e60000);
}

.lp-translate-select option {
  background: #111;
  color: var(--w-white);
}

/* Checkbox row */
.lp-translate-checkbox-row {
  cursor: pointer;
  justify-content: flex-start;
  gap: 8px;
}

.lp-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.lp-checkbox:checked {
  background: var(--w-red, #e60000);
  border-color: var(--w-red, #e60000);
}

.lp-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.6rem;
  font-weight: 900;
}

/* ── Mobile: listener panel stacks below chat ── */
@media (max-width: 900px) {
  .listener-panel {
    border-left: none;
    border-top: 1px solid rgba(230, 0, 0, 0.12);
    max-height: none !important;
  }
}

/* ════════════════════════════════════════════════
   Module: 05-queue.css
   Sources: 04-queue-legacy.css 39-queue-panel.css
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   A11Y — Focus & Target-Size Compliance
   WCAG 2.4.7 (focus-visible), 2.5.8 (44px targets)
═══════════════════════════════════════ */
.queue-panel button:focus-visible,
.queue-panel a:focus-visible,
.queue-panel input:focus-visible,
.pn-tag-pill:focus-visible,
.pn-card:focus-visible,
.premium-news-featured:focus-visible {
  outline: 2px solid var(--w-red, #e63946);
  outline-offset: 2px;
}

/* Minimum target size for vote/action buttons */
.queue-panel button {
  min-height: 44px;
  min-width: 44px;
}

/* Tag pills: ensure minimum touch target */
.pn-tag-pill {
  min-height: 44px;
}

/* Skip-to-content visible indicator for queue panel */
.queue-panel:target {
  scroll-margin-top: calc(var(--nav-height, 60px) + 1rem);
}

/* ═══════════════════════════════════════
   FURA-FILA · SISTEMA DE GAMIFICAÇÃO
═══════════════════════════════════════ */
.queue-panel {
  background: #080808;
  border-top: 2px solid var(--w-red);
  border-bottom: 1px solid #1a1a1a;
}

/* HEADER */
.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid #111;
}
.queue-header-left { display: flex; flex-direction: column; gap: 0.4rem; }
.queue-eyebrow {
  font-size: 0.65rem; font-weight: 900; letter-spacing: 4px;
  color: var(--w-red); display: block;
}
.queue-header h2 {
  font-size: 1.4rem; font-weight: 900; letter-spacing: 4px; color: #fff; margin: 0;
}
.queue-header p { font-size: 0.8rem; color: #666; margin: 0; letter-spacing: 1px; }

.queue-live-badge {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(230,0,0,0.12);
  border: 1px solid rgba(230,0,0,0.3);
  padding: 0.5rem 1rem;
  font-size: 0.7rem; font-weight: 900; letter-spacing: 2px; color: var(--w-red);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--w-red);
  animation: pulse-red 1.2s infinite;
}
/* A11y: prefers-reduced-motion — stop pulsing animations */
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}
@keyframes pulse-red {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* LIVE BANNER */
.queue-live-banner {
  background: rgba(230,0,0,0.08); border-bottom: 1px solid rgba(230,0,0,0.2);
  padding: 1rem 2rem; font-size: 0.85rem; color: var(--w-ash); text-align: center;
}

/* EMPTY */
.queue-empty {
  padding: 3rem; text-align: center;
  color: #555; font-size: 0.9rem; line-height: 2;
}
.queue-empty a { color: var(--w-red); }

/* LIST */
.queue-list { display: flex; flex-direction: column; }

.queue-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #111;
  transition: background 0.15s;
}
.queue-item:hover { background: #0d0d0d; }
.queue-item.ready { background: rgba(34,197,94,0.04); border-bottom-color: rgba(34,197,94,0.1); }

.queue-rank {
  font-size: 1.4rem; flex-shrink: 0; width: 2rem; text-align: center;
}

.queue-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.queue-track-name { font-size: 1rem; font-weight: 900; color: #fff; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-artist { font-size: 0.75rem; font-weight: 700; color: #666; letter-spacing: 1px; }

/* POINTS BAR */
.q-bar-wrap { display: flex; align-items: center; gap: 0.75rem; }
.q-bar-track {
  flex: 1; height: 4px; background: #1a1a1a; position: relative; overflow: hidden;
}
.q-bar-fill {
  height: 100%; background: var(--w-red);
  transition: width 0.5s ease;
}
.q-bar-label { font-size: 0.7rem; font-weight: 900; color: #666; min-width: 32px; text-align: right; }

.queue-meta {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  font-size: 0.7rem; color: #555; letter-spacing: 1px;
}
.q-next-pt { color: #888; border: 1px solid #1e1e1e; padding: 1px 6px; }
.q-badge { font-size: 0.65rem; font-weight: 800; padding: 2px 6px; letter-spacing: 1px; }
.truva-badge { background: rgba(230,0,0,0.1); border: 1px solid rgba(230,0,0,0.2); color: #e60000; }
.destruva-badge { background: rgba(100,0,100,0.1); border: 1px solid rgba(100,0,100,0.2); color: #bb00bb; }

.queue-ready-badge {
  font-size: 0.7rem; font-weight: 900; letter-spacing: 2px;
  color: #22c55e; border: 1px solid rgba(34,197,94,0.3);
  padding: 4px 10px; flex-shrink: 0;
}

/* queue-vote-btn: canonical definition moved to L5174 (PRD-016) */
.q-btn-sep { margin: 0 0.4rem; color: #333; }

/* LIVE FEED */
.queue-feed {
  border-top: 1px solid #111;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.queue-feed-title { font-size: 0.65rem; font-weight: 900; letter-spacing: 3px; color: #e60000; margin-bottom: 0.25rem; }
.feed-event {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--w-ash);
  padding: 0.4rem 0.75rem;
  border-left: 2px solid #222;
  animation: slideIn 0.3s ease;
}
.feed-event.truvar { border-left-color: var(--w-red); }
.feed-event.destruvar { border-left-color: #bb00bb; }
.feed-event.promoted { border-left-color: #22c55e; }
.feed-time { font-size: 0.65rem; color: #555; flex-shrink: 0; margin-left: 1rem; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* FOOTER */
.queue-footer-info {
  padding: 1rem 2rem;
  border-top: 1px solid #111;
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  font-size: 0.7rem; color: #444; letter-spacing: 1px;
}

/* PAGINATION */
.q-pagination {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid #111;
}
.q-page-arrow {
  background: none; border: 1px solid #222; color: #666;
  font-size: 0.85rem; font-weight: 900; letter-spacing: 3px;
  padding: 0.55rem 1.25rem; cursor: pointer;
  transition: all 0.2s;
}
.q-page-arrow:hover:not(:disabled) { border-color: var(--w-red); color: var(--w-red); }
.q-page-arrow:disabled { opacity: 0.25; cursor: not-allowed; }
.q-page-indicator {
  font-size: 0.7rem; font-weight: 900; letter-spacing: 2px; color: #555;
}

/* ─── MODAL ─────────────────────────────── */
.q-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.15s ease;
}
.q-modal {
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-top: 2px solid var(--w-red);
  width: 100%; max-width: 480px;
  max-height: 85vh; overflow-y: auto;
  position: relative;
  animation: slideUp 0.2s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.q-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: #555; font-size: 1rem;
  cursor: pointer; transition: color 0.2s;
}
.q-modal-close:hover { color: var(--w-red); }

.q-modal-track {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #1a1a1a;
}
.q-modal-eyebrow { font-size: 0.65rem; font-weight: 900; letter-spacing: 3px; color: #666; display: block; margin-bottom: 0.25rem; }
.q-modal-track h3 { font-size: 1.1rem; font-weight: 900; color: #fff; margin: 0 0 0.75rem; }
.q-modal-pts { margin-top: 0.5rem; }

/* VOTE TYPES */
.q-modal-choose { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.q-vote-types { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.q-vote-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.35rem; padding: 1.25rem;
  background: #111; border: 1px solid #1e1e1e;
  color: #666; cursor: pointer;
  font-size: 0.75rem; font-weight: 900; letter-spacing: 2px;
  transition: all 0.2s;
}
.q-vote-btn:hover { background: #161616; }
.q-vote-btn.active.truvar { border-color: var(--w-red); color: var(--w-red); background: rgba(230,0,0,0.06); }
.q-vote-btn.active.destruvar { border-color: #bb00bb; color: #bb00bb; background: rgba(187,0,187,0.06); }
.q-vote-icon { font-size: 1.5rem; }
.q-vote-sub { font-size: 0.6rem; opacity: 0.6; font-weight: 600; }

/* PACKAGES */
.q-pkg-label { font-size: 0.65rem; font-weight: 900; letter-spacing: 3px; color: #555; }
.q-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.q-pkg-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.25rem; padding: 1rem 0.75rem;
  background: #111; border: 1px solid #1e1e1e;
  color: #666; cursor: pointer;
  transition: all 0.2s;
}
.q-pkg-btn:hover { background: #161616; }
.q-pkg-btn.active { border-color: var(--w-red); background: rgba(230,0,0,0.06); }
.q-pkg-pts { font-size: 0.85rem; font-weight: 900; color: #fff; }
.q-pkg-btn.active .q-pkg-pts { color: var(--w-red); }
.q-pkg-price { font-size: 0.7rem; font-weight: 700; color: #888; letter-spacing: 1px; }
.q-pkg-note { font-size: 0.72rem; color: #444; text-align: center; }

/* CONFIRM BTN */
.q-confirm-btn {
  width: 100%; background: var(--w-red); border: none;
  color: #fff; font-family: inherit; font-size: 0.78rem;
  font-weight: 900; letter-spacing: 3px; padding: 1rem;
  cursor: pointer; transition: all 0.2s;
}
.q-confirm-btn:hover { background: #cc0000; }
.q-confirm-btn:disabled { background: #222; color: #555; cursor: not-allowed; }

/* PAYER FORM */
.q-modal-payer { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.q-payer-desc { font-size: 0.85rem; color: var(--w-ash); padding: 0.75rem 1rem; background: #111; border: 1px solid #1e1e1e; }
.q-field { display: flex; flex-direction: column; gap: 0.4rem; }
.q-field label { font-size: 0.62rem; font-weight: 900; letter-spacing: 3px; color: #555; }
.q-field input {
  background: #111; border: 1px solid #1e1e1e; color: #fff;
  padding: 0.85rem 1rem; font-size: 0.9rem; font-family: inherit;
  outline: none; transition: border-color 0.2s;
}
.q-field input:focus { border-color: var(--w-red); }
.q-field input::placeholder { color: #333; }
.q-payer-actions { display: flex; gap: 0.75rem; }
.q-back-btn {
  background: none; border: 1px solid #222; color: #666;
  font-size: 0.7rem; font-weight: 900; letter-spacing: 2px;
  padding: 0.85rem 1rem; cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.q-back-btn:hover { border-color: #444; color: #888; }

/* PIX */
.q-modal-pix { padding: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.q-pix-title { font-size: 0.65rem; font-weight: 900; letter-spacing: 4px; color: #666; }
.q-qr { width: 200px; height: 200px; border: 2px solid #1e1e1e; display: block; }
.q-copy-btn {
  width: 100%; background: #111; border: 1px solid #1e1e1e;
  color: #ccc; font-family: inherit; font-size: 0.75rem;
  font-weight: 800; letter-spacing: 2px; padding: 0.85rem; cursor: pointer;
  transition: all 0.2s;
}
.q-copy-btn:hover { border-color: var(--w-red); color: var(--w-red); }
.q-pix-note { font-size: 0.78rem; color: var(--w-ash); text-align: center; line-height: 1.6; }
.q-pix-note strong { color: #fff; }
.q-pix-expire { font-size: 0.72rem; color: #555; }

/* SUCCESS */
.q-modal-success {
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; text-align: center;
}
.q-success-icon { font-size: 3rem; }
.q-modal-success h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: 4px; color: #fff; }
.q-modal-success p { color: var(--w-ash); font-size: 0.9rem; }
.q-modal-success strong { color: #fff; }



/* ═══════════════════════════════════════════════════════════════════════════
   QUEUE PANEL — SPEC-020 Programação + Fura-Fila
   ═══════════════════════════════════════════════════════════════════════════ */

.queue-panel {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 24px 20px 16px;
  margin: 0 auto;
  max-width: 1200px;
}

/* Header */
.queue-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.queue-eyebrow { font-size: 0.65rem; font-weight: 800; letter-spacing: 3px; color: var(--w-red); text-transform: uppercase; }
.queue-header h2 { font-size: 1.4rem; font-weight: 900; letter-spacing: 2px; margin: 4px 0 6px; }
.queue-header p { font-size: 0.78rem; color: var(--w-ash); line-height: 1.4; margin: 0; }
.queue-header .queue-social-copy {
  color: #ddd;
  font-weight: 700;
}
.queue-live-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(230, 57, 70, 0.08); border: 1px solid rgba(230, 57, 70, 0.25);
  border-radius: 4px; padding: 6px 14px; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 1px; color: var(--w-red); text-transform: uppercase; white-space: nowrap;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--w-red); animation: livePulse 1.5s infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── TAB SWITCHER ── */
.queue-tabs {
  display: flex; gap: 0; margin-bottom: 14px;
  border-bottom: 2px solid #1a1a1a;
}
.queue-tab {
  flex: 1; padding: 12px 20px; font-size: 0.82rem; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase; color: #555;
  background: transparent; border: none; border-bottom: 3px solid transparent;
  cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s;
  text-align: center;
}
.queue-tab:hover { color: #aaa; background: rgba(255,255,255,0.02); }
.queue-tab.active {
  color: #fff; border-bottom-color: var(--w-red);
  background: linear-gradient(180deg, rgba(230, 0, 0, 0.06) 0%, transparent 100%);
  text-shadow: 0 0 12px rgba(230, 0, 0, 0.3);
}

/* ── LIVE BANNER ── */
.queue-live-banner {
  background: rgba(230, 57, 70, 0.06); border: 1px solid rgba(230, 57, 70, 0.15);
  border-radius: 4px; padding: 10px 16px; font-size: 0.78rem; color: var(--w-ash);
  margin-bottom: 12px; text-align: center;
}

/* ── NOW PLAYING ── */
.queue-now-playing {
  background: linear-gradient(90deg, rgba(230, 0, 0, 0.08) 0%, transparent 60%);
  border-left: 3px solid var(--w-red); padding: 10px 14px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px; border-radius: 0 4px 4px 0;
}
.q-now-label { font-size: 0.65rem; font-weight: 800; letter-spacing: 1.5px; color: var(--w-red); white-space: nowrap; }
.q-now-info { display: flex; align-items: center; gap: 8px; min-width: 0; }
.q-now-title { font-size: 0.85rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-now-artist { font-size: 0.78rem; color: var(--w-ash); white-space: nowrap; }

/* ── QUEUE LIST ── */
.queue-list { display: flex; flex-direction: column; gap: 2px; }
.queue-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: 4px;
  background: rgba(255,255,255,0.015);
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
  min-height: 44px;
}
.queue-item:hover { background: rgba(255,255,255,0.035); border-color: #222; }
.queue-next {
  background: rgba(230, 0, 0, 0.04) !important;
  border-color: rgba(230, 0, 0, 0.12) !important;
}
.queue-item.ready { border-color: rgba(0, 200, 80, 0.3); background: rgba(0, 200, 80, 0.04); }

/* Rank number */
.queue-rank {
  width: 28px; flex-shrink: 0; text-align: center;
  font-size: 0.75rem; font-weight: 800; color: #444;
}
.queue-next .queue-rank { color: var(--w-red); font-size: 1rem; }

/* Track info */
.queue-info { flex: 1; min-width: 0; }
.queue-track-line {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.queue-track-name {
  font-size: 0.82rem; font-weight: 700; color: #eee;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex-shrink: 1; min-width: 0;
}
.q-next-label { color: var(--w-red); font-weight: 800; font-size: 0.68rem; letter-spacing: 0.5px; }
.queue-artist {
  font-size: 0.72rem; color: #666;
  white-space: nowrap; flex-shrink: 0;
}
.queue-artist span { color: #555; }
.queue-meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; flex-wrap: wrap; }

/* Type badges (YT / MP3) */
.q-type-badge {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.5px; padding: 1px 5px;
  border-radius: 2px; text-transform: uppercase;
}
.q-type-yt { background: rgba(255, 0, 0, 0.12); color: #e44; }
.q-type-mp3 { background: rgba(100, 200, 255, 0.1); color: #6ac; }

/* NOW PLAYING — premium highlight */
.queue-now-playing {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; margin-bottom: 6px;
  background: linear-gradient(135deg, rgba(230,0,0,0.14) 0%, rgba(230,0,0,0.04) 100%);
  border: 1px solid rgba(230,0,0,0.35);
  border-left: 4px solid var(--w-red);
  border-radius: 6px;
  gap: 16px;
}
.q-now-left {
  display: flex; align-items: flex-start; gap: 12px;
  min-width: 0; flex: 1;
}
.q-now-icon {
  font-size: 1.4rem; flex-shrink: 0; margin-top: 2px;
  animation: nowPulse 1.5s ease-in-out infinite;
}
@keyframes nowPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.q-now-info-block {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.q-now-label {
  font-size: 0.6rem; font-weight: 900; letter-spacing: 2px;
  color: var(--w-red); text-transform: uppercase; line-height: 1;
}
.q-now-title {
  font-size: 1.05rem; font-weight: 800; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3; max-width: 500px;
}
.q-now-meta {
  display: flex; align-items: center; gap: 8px;
}
.q-now-artist {
  font-size: 0.78rem; color: #999; flex-shrink: 0;
  white-space: nowrap;
}

/* ── COUNTDOWN TIMER ── */
.q-countdown-wrap {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 4px; flex-shrink: 0; min-width: 90px;
}
.q-countdown-bar {
  width: 90px; height: 3px; background: #1a1a1a;
  border-radius: 2px; overflow: hidden;
}
.q-countdown-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--w-red), #ff4444);
  transition: width 1s linear;
}
.q-countdown-time {
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem; font-weight: 700; color: var(--w-red);
  letter-spacing: 1px; line-height: 1;
}

/* Enter countdown on EM SEGUIDA */
.q-enter-countdown {
  flex-shrink: 0; margin-left: auto;
}
.q-enter-countdown .q-countdown-time {
  font-size: 0.72rem; color: #888;
}
.q-enter-countdown .q-countdown-time::before {
  content: 'entra em '; font-family: inherit;
  font-size: 0.58rem; font-weight: 600; color: #555;
  letter-spacing: 0.5px; text-transform: uppercase;
}

/* Score badge */
.queue-score {
  font-size: 0.6rem; font-weight: 700; color: #f80;
  background: rgba(255,120,0,0.08); padding: 1px 6px;
  border-radius: 2px; flex-shrink: 0; letter-spacing: 0.3px;
}

/* Source badges */
.q-source-badges { display: flex; gap: 4px; }
.q-badge {
  font-size: 0.58rem; font-weight: 700; padding: 1px 6px;
  border-radius: 2px; letter-spacing: 0.3px;
}
.q-ff-badge { background: rgba(255, 120, 0, 0.12); color: #f80; }
.q-tier-badge { background: rgba(255, 215, 0, 0.1); color: #da0; }
/* PRD-016 RF-01/RF-05: texto legível em badges */
.truva-badge { color: #fff; background: rgba(230,0,0,0.2); border: 1px solid rgba(230,0,0,0.3); }
.destruva-badge { color: #ccc; background: rgba(100,0,100,0.15); border: 1px solid rgba(100,0,100,0.25); }

/* Vote button — glass/ghost style (Paulo preference) */
.queue-vote-btn {
  flex-shrink: 0; padding: 6px 14px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.15), rgba(230, 0, 0, 0.08));
  border: 1px solid rgba(230, 0, 0, 0.25); border-radius: 4px;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.queue-vote-btn:hover {
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.3), rgba(230, 0, 0, 0.15));
  border-color: var(--w-red); transform: scale(1.05);
  box-shadow: 0 0 16px rgba(230, 0, 0, 0.3);
}
.q-btn-sep { color: #444; margin: 0 2px; }

.queue-ready-badge {
  flex-shrink: 0; font-size: 0.7rem; font-weight: 800; color: #0c8;
  letter-spacing: 0.5px;
}

/* ── Points bar (fura-fila) ── */
.q-bar-wrap { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.q-bar-track { flex: 1; height: 4px; background: #1a1a1a; border-radius: 2px; overflow: hidden; max-width: 180px; }
.q-bar-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--w-red), #ff4444);
  transition: width 0.5s ease;
}
.q-bar-label { font-size: 0.62rem; font-weight: 700; color: #555; white-space: nowrap; }
.q-next-pt { font-size: 0.6rem; color: #555; }

/* ── EMPTY STATE ── */
.queue-empty {
  text-align: center; padding: 28px 20px; color: #555;
}
.queue-empty p { font-size: 0.9rem; margin-bottom: 4px; }
.queue-empty small { font-size: 0.75rem; color: #444; }
.queue-empty a { color: var(--w-red); text-decoration: none; }
.queue-empty a:hover { text-decoration: underline; }

/* ── FEED ── */
.queue-feed {
  margin-top: 14px; padding-top: 10px; border-top: 1px solid #1a1a1a;
}
.queue-feed-title { font-size: 0.65rem; font-weight: 800; letter-spacing: 2px; color: var(--w-red); margin-bottom: 6px; }
.feed-event {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; font-size: 0.75rem; color: #888;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.feed-event.truvar { color: #f80; }
.feed-event.destruvar { color: #888; }
.feed-event.promoted { color: #0c8; }
.feed-time { font-size: 0.65rem; color: #444; }

/* ── FOOTER INFO ── */
.queue-footer-info {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid #1a1a1a;
  font-size: 0.68rem; color: #444;
}

/* ── MODAL ── */
.q-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.q-modal {
  background: #111; border: 1px solid #222; border-radius: 10px;
  width: 100%; max-width: 440px; padding: 28px 24px;
  position: relative; max-height: 90vh; overflow-y: auto;
}
.q-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; color: #666; font-size: 1.1rem;
  cursor: pointer; padding: 4px;
}
.q-modal-close:hover { color: #fff; }

.q-modal-track { text-align: center; margin-bottom: 20px; }
.q-modal-eyebrow { font-size: 0.7rem; color: var(--w-ash); letter-spacing: 1px; }
.q-modal-track h3 { font-size: 1.1rem; font-weight: 800; margin: 4px 0 10px; }
.q-modal-pts { display: flex; justify-content: center; }

/* Vote type buttons */
.q-vote-types { display: flex; gap: 8px; margin-bottom: 18px; }
.q-vote-btn {
  flex: 1; padding: 14px 10px; text-align: center; border-radius: 6px;
  border: 2px solid #222; background: #0d0d0d; cursor: pointer;
  transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.q-vote-btn span { font-size: 0.75rem; font-weight: 800; color: #888; letter-spacing: 0.5px; }
.q-vote-icon { font-size: 1.3rem; }
.q-vote-sub { font-size: 0.6rem !important; font-weight: 600 !important; color: #555 !important; }
.q-vote-btn.truvar.active { border-color: #f80; background: rgba(255,120,0,0.06); }
.q-vote-btn.truvar.active span { color: #f80; }
.q-vote-btn.destruvar.active { border-color: #666; background: rgba(150,150,150,0.06); }
.q-vote-btn.destruvar.active span { color: #aaa; }

/* Packages */
.q-pkg-label { font-size: 0.68rem; font-weight: 800; letter-spacing: 2px; color: var(--w-ash); text-align: center; margin-bottom: 8px; text-transform: uppercase; }
.q-packages { display: flex; gap: 8px; margin-bottom: 10px; }
.q-pkg-btn {
  flex: 1; padding: 12px 8px; text-align: center;
  background: #0d0d0d; border: 2px solid #222; border-radius: 6px;
  cursor: pointer; transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.q-pkg-btn:hover { border-color: #444; }
.q-pkg-btn.active { border-color: var(--w-red); background: rgba(230,0,0,0.05); }
.q-pkg-pts { font-size: 0.85rem; font-weight: 800; color: #fff; }
.q-pkg-price { font-size: 0.7rem; color: var(--w-ash); }
.q-pkg-note { font-size: 0.65rem; color: #555; text-align: center; margin-bottom: 14px; }

/* Confirm button */
.q-confirm-btn {
  width: 100%; padding: 12px; background: var(--w-red); color: #fff;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; border: none; border-radius: 4px;
  cursor: pointer; transition: all 0.2s;
}
.q-confirm-btn:hover:not(:disabled) { background: #cc0000; transform: translateY(-1px); }
.q-confirm-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Payer form */
.q-payer-desc { text-align: center; font-size: 0.85rem; color: var(--w-ash); margin-bottom: 16px; }
.q-field { margin-bottom: 12px; }
.q-field label { display: block; font-size: 0.62rem; font-weight: 800; letter-spacing: 1.5px; color: #555; margin-bottom: 4px; text-transform: uppercase; }
.q-field input {
  width: 100%; padding: 10px 12px; background: #0a0a0a; border: 1px solid #222;
  border-radius: 4px; color: #fff; font-size: 0.88rem; outline: none;
  transition: border-color 0.2s;
}
.q-field input:focus { border-color: var(--w-red); }
.q-payer-actions { display: flex; gap: 8px; margin-top: 16px; }
.q-back-btn {
  padding: 10px 20px; background: transparent; border: 1px solid #333;
  color: #888; font-size: 0.78rem; font-weight: 700; border-radius: 4px;
  cursor: pointer; transition: all 0.2s;
}
.q-back-btn:hover { border-color: #666; color: #fff; }
.q-payer-actions .q-confirm-btn { flex: 1; }

/* PIX display */
.q-pix-title { font-size: 0.85rem; font-weight: 800; text-align: center; margin-bottom: 14px; letter-spacing: 1px; }
.q-qr { display: block; margin: 0 auto 14px; width: 200px; height: 200px; border-radius: 8px; border: 2px solid #222; }
.q-copy-btn {
  width: 100%; padding: 10px; background: #1a1a1a; border: 1px solid #333;
  color: #fff; font-size: 0.8rem; font-weight: 700; border-radius: 4px;
  cursor: pointer; margin-bottom: 12px; transition: all 0.2s;
}
.q-copy-btn:hover { background: #222; border-color: var(--w-red); }
.q-pix-note { font-size: 0.75rem; color: var(--w-ash); text-align: center; line-height: 1.5; }
.q-pix-expire { font-size: 0.7rem; color: #555; text-align: center; margin-top: 8px; }

/* Success screen */
.q-modal-success { text-align: center; padding: 20px 0; }
.q-success-icon { font-size: 3rem; margin-bottom: 10px; }
.q-modal-success h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 8px; letter-spacing: 1px; }
.q-modal-success p { color: var(--w-ash); font-size: 0.88rem; margin-bottom: 20px; }

/* ── SPEC-045 F-004: Auth Badge, Free Truva Card, Login Banner ── */
.q-auth-badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 1.5px;
  color: #22c55e; background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
}

.q-free-truva-card {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 16px;
  background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, rgba(34,197,94,0.04) 100%);
  border: 2px solid rgba(34,197,94,0.3);
  border-radius: 8px; cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}
.q-free-truva-card:hover:not(:disabled) {
  border-color: #22c55e;
  background: linear-gradient(135deg, rgba(34,197,94,0.16) 0%, rgba(34,197,94,0.06) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(34,197,94,0.15);
}
.q-free-truva-card:disabled {
  opacity: 0.5; cursor: wait;
}
.q-free-icon { font-size: 1.6rem; flex-shrink: 0; }
.q-free-text {
  display: flex; flex-direction: column; gap: 2px; flex: 1;
}
.q-free-text strong {
  font-size: 0.82rem; font-weight: 900; letter-spacing: 1px;
  color: #22c55e;
}
.q-free-text small {
  font-size: 0.68rem; color: #888; font-weight: 600;
}
.q-free-arrow {
  font-size: 1.2rem; color: #22c55e; font-weight: 800; flex-shrink: 0;
}

.q-login-banner {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: #666;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  text-align: center;
  justify-content: center;
}
.q-login-link {
  background: none; border: none; color: var(--w-red);
  font-size: 0.72rem; font-weight: 800; cursor: pointer;
  text-decoration: underline; padding: 0;
  transition: color 0.2s;
}
.q-login-link:hover { color: #ff4444; }

/* Readonly input style for pre-filled listener name */
.q-field input[readonly] {
  background: rgba(34,197,94,0.04);
  border-color: rgba(34,197,94,0.2);
  color: #22c55e;
  cursor: default;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .queue-panel { padding: 16px 12px 12px; border-radius: 0; }
  .queue-header { flex-direction: column; gap: 8px; }
  .queue-header h2 { font-size: 1.1rem; }
  .queue-tabs { gap: 0; }
  .queue-tab { padding: 10px 12px; font-size: 0.72rem; letter-spacing: 0.8px; }
  .queue-item { padding: 6px 8px; gap: 8px; }
  .queue-track-name { font-size: 0.78rem; max-width: 160px; }
  .queue-vote-btn { padding: 5px 10px; font-size: 0.62rem; }
  .queue-footer-info { font-size: 0.6rem; gap: 4px; }
  .q-modal { padding: 20px 16px; }
  .q-vote-types { flex-direction: column; }
  /* NOW PLAYING mobile */
  .queue-now-playing { padding: 12px 14px; gap: 10px; }
  .q-now-icon { font-size: 1.1rem; }
  .q-now-title { font-size: 0.88rem; max-width: 200px; }
  .q-now-artist { font-size: 0.72rem; }
  .q-countdown-wrap { min-width: 70px; }
  .q-countdown-bar { width: 70px; }
  .q-countdown-time { font-size: 0.72rem; }
  .q-enter-countdown .q-countdown-time { font-size: 0.62rem; }
  .q-enter-countdown .q-countdown-time::before { font-size: 0.5rem; }
}


/* ── HERO NOW PLAYING ── */
.queue-hero-playing {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(230,0,0,0.18) 0%, rgba(20,0,0,0.4) 100%);
  border: 1px solid rgba(230,0,0,0.4);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}
.queue-hero-playing::before {
  content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 6px;
  background: var(--w-red); box-shadow: 0 0 15px var(--w-red);
}
.q-hero-main-content {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; position: relative; z-index: 2; gap: 20px;
}
.q-now-label-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.q-hero-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--w-red); box-shadow: 0 0 10px var(--w-red);
  animation: livePulse 1.5s infinite;
}
.queue-hero-playing .q-now-title { font-size: 1.4rem; font-weight: 900; letter-spacing: 0.5px; margin-bottom: 4px; display: block; }
.queue-hero-playing .q-now-artist { font-size: 1rem; color: #ccc; font-weight: 600; }
.q-hero-right { display: flex; align-items: center; flex-direction: column; gap: 6px; }
.queue-hero-playing .q-countdown-bar { width: 140px; height: 4px; background: rgba(0,0,0,0.5); }
.queue-hero-playing .q-countdown-time { font-size: 1rem; }
.queue-hero-playing .q-now-icon { font-size: 2.2rem; filter: drop-shadow(0 0 15px rgba(230,0,0,0.5)); }

/* ================================================================
   PREMIUM NEWS LAYOUT — Homepage News Grid
   ================================================================ */
.premium-news-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Featured Article (Hero) */
.premium-news-featured {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  min-height: 480px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.premium-news-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.pn-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pn-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.premium-news-featured:hover .pn-featured-img img {
  transform: scale(1.05);
}
.pn-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 40%, #050505 100%);
  z-index: 1;
}
.pn-featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pn-featured-meta { display: flex; gap: 8px; }
.pn-badge {
  background: var(--w-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
}
.pn-featured-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.pn-featured-excerpt {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.5;
  margin: 0;
  max-width: 800px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pn-featured-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #888;
}
.pn-author { font-weight: 700; color: #aaa; }
.pn-date { font-weight: 500; }

/* 3-Column Grid */
.premium-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pn-card {
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}
.pn-card:hover {
  transform: translateY(-4px);
  border-color: #333;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.pn-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.pn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pn-card:hover .pn-card-img img {
  transform: scale(1.05);
}
.pn-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pn-badge-sm {
  font-size: 0.65rem;
  padding: 3px 8px;
  align-self: flex-start;
  margin-bottom: 12px;
}
.pn-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 12px 0;
}
.pn-card-excerpt {
  font-size: 0.95rem;
  color: #888;
  line-height: 1.5;
  margin: 0 0 20px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.pn-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1a1a1a;
  padding-top: 16px;
  margin-top: auto;
}
.pn-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--w-red);
  letter-spacing: 0.5px;
}

/* Compact Row (Extra News) */
.premium-news-extra {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.pn-card-compact {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 100px;
}
.pn-card-compact:hover {
  background: #151515;
  border-color: #333;
}
.pn-card-img-sm {
  width: 100px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  background: #111;
}
.pn-card-compact .pn-card-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pn-badge-xs {
  font-size: 0.6rem;
  padding: 2px 6px;
  margin-bottom: 6px;
  align-self: flex-start;
  background: #222;
  color: #ccc;
  border-radius: 4px;
}
.pn-card-compact .pn-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pn-card-compact .pn-date {
  font-size: 0.75rem;
  color: #666;
}

/* Tag Bar (Filter) */
.pn-tag-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1a1a1a;
}
.pn-tag-pill {
  background: #111;
  border: 1px solid #222;
  color: #888;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pn-tag-pill:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #444;
}
.pn-tag-active {
  background: var(--w-red);
  border-color: var(--w-red);
  color: #fff;
}
.pn-tag-active:hover {
  background: #cc0000;
  border-color: #cc0000;
}
.pn-tag-count {
  font-size: 0.65rem;
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .premium-news-grid { grid-template-columns: repeat(2, 1fr); }
  .premium-news-extra { grid-template-columns: repeat(2, 1fr); }
  .pn-featured-title { font-size: 2rem; }
}
@media (max-width: 768px) {
  .pn-featured-content { padding: 24px; }
  .pn-featured-title { font-size: 1.5rem; }
  .pn-featured-excerpt { font-size: 0.95rem; -webkit-line-clamp: 3; }
  .premium-news-grid { grid-template-columns: 1fr; }
  .premium-news-extra { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   Module: 06-artists.css
   Sources: 02-artists.css 03-artist-portal.css
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   ARTISTAS (público)
═══════════════════════════════════════ */
.artistas-root {
  min-height: 100vh;
  padding: 100px 5% 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.artistas-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.artistas-search {
  flex: 1;
  min-width: 200px;
  padding: 12px 18px;
  background: #111;
  border: 1px solid #222;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.artistas-search:focus { border-color: var(--w-red); }

.artistas-tier-btns { display: flex; gap: 6px; }
.artistas-tier-btns.social { flex: 1 1 100%; }
.artistas-tier-btn {
  padding: 8px 16px;
  background: #111;
  border: 1px solid #222;
  color: #888;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}
.artistas-tier-btn.active, .artistas-tier-btn:hover {
  background: var(--w-red);
  border-color: var(--w-red);
  color: #fff;
}

.artistas-count { font-size: 12px; color: #555; margin-bottom: 16px; letter-spacing: 1px; }
.artistas-loading { text-align: center; padding: 60px; color: #666; font-size: 14px; }

.artistas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.artista-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}
.artista-card:hover {
  border-color: var(--w-red);
  background: #111;
  transform: translateY(-2px);
}

.artista-card-main {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.artista-claim-inline {
  width: 100%;
  padding: 9px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(230,0,0,0.42);
  border-radius: 7px;
  background: rgba(230,0,0,0.14);
}

.artista-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #222, #333);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.artista-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artista-initial { font-size: 20px; font-weight: 900; color: var(--w-red); }

.artista-info { min-width: 0; }
.artista-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artista-badge { font-size: 11px; color: #f59e0b; font-weight: 600; }
.artista-profile-type {
  display: block;
  margin-top: 2px;
  color: #777;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.artista-stats { display: flex; gap: 10px; margin-top: 4px; }
.artista-stat { font-size: 11px; color: #555; }

/* Profile page */
.artista-profile-header {
  display: flex; align-items: center; gap: 30px;
  margin-bottom: 40px; padding: 30px;
  background: #0a0a0a; border: 1px solid #1a1a1a; border-radius: 16px;
}
.artista-profile-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, #222, var(--w-red));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.artista-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artista-initial-lg { font-size: 40px; font-weight: 900; color: #fff; }
.artista-profile-name { font-size: 28px; font-weight: 900; letter-spacing: 1px; }
.artista-badge-lg { font-size: 14px; color: #f59e0b; font-weight: 700; display: block; margin-top: 4px; }

.artista-profile-stats {
  display: flex; gap: 24px; margin-top: 16px;
}
.artista-profile-stat { text-align: center; }
.stat-num { font-size: 22px; font-weight: 900; color: var(--w-red); display: block; }
.stat-label { font-size: 10px; color: #555; letter-spacing: 1.5px; font-weight: 700; }

.artista-section-title {
  font-size: 14px; font-weight: 800; letter-spacing: 2px; color: #888;
  border-bottom: 1px solid #1a1a1a; padding-bottom: 10px; margin-bottom: 16px;
}

.artista-tracklist { display: flex; flex-direction: column; gap: 2px; }

.artista-track {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: #0a0a0a; border-radius: 6px;
  transition: background 0.15s;
}
.artista-track:hover { background: #111; }
.artista-track-num { font-size: 12px; color: #333; font-weight: 700; width: 24px; }
.artista-track-type { font-size: 14px; }
.artista-track-title { flex: 1; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artista-track-duration { font-size: 11px; color: #444; font-weight: 600; }
.artista-track-plays { font-size: 11px; color: #333; }

.artista-back { margin-top: 30px; }
.artista-back a { color: #555; font-size: 13px; text-decoration: none; transition: color 0.2s; }
.artista-back a:hover { color: var(--w-red); }

/* Inactive artist card */
.artista-card--inactive {
  opacity: 0.5;
  border-color: #111;
  filter: grayscale(0.4);
}
.artista-card--inactive:hover { opacity: 0.8; filter: grayscale(0); }

/* Unclaimed badge */
.artista-badge--unclaimed {
  color: #f59e0b !important;
  font-size: 10px;
  display: inline-block;
  margin-top: 2px;
}
.artista-stat--inactive { color: #444; font-style: italic; }

/* Profile: unclaimed banner */
.artista-unclaimed-banner {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 8px 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  font-size: 12px; font-weight: 700;
  color: #fbbf24; letter-spacing: 0.5px;
}
.artista-unclaimed-icon { font-size: 16px; }

/* Profile: genre tag */
.artista-genre-tag {
  display: inline-block; margin-top: 6px;
  padding: 3px 10px; font-size: 10px;
  font-weight: 800; letter-spacing: 2px;
  color: var(--w-red);
  background: rgba(230, 0, 0, 0.08);
  border: 1px solid rgba(230, 0, 0, 0.2);
  border-radius: 4px;
}

/* Profile: bio */
.artista-bio {
  margin-top: 12px; font-size: 13px;
  color: #888; line-height: 1.6;
  max-width: 500px;
}

/* Profile: social links */
.artista-social-links {
  display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.artista-social-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 14px; font-size: 11px; font-weight: 700;
  color: #ccc; background: #111; border: 1px solid #222;
  border-radius: 6px; text-decoration: none;
  transition: all 0.2s; letter-spacing: 0.5px;
}
.artista-social-link:hover {
  border-color: var(--w-red); color: #fff;
  transform: translateY(-1px);
}

/* Track: metadata row */
.artista-track-meta {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 8px;
}
.artista-track-meta .artista-track-title {
  flex: 1; min-width: 0;
}
.artista-track-genre {
  flex-shrink: 0; font-size: 9px; font-weight: 800;
  letter-spacing: 1.5px; color: #555;
  background: rgba(255,255,255,0.04);
  padding: 2px 8px; border-radius: 3px;
}

/* Track: archived */
.artista-track--archived { opacity: 0.4; }
.artista-track-status {
  font-size: 9px; font-weight: 800;
  letter-spacing: 1.5px; color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  padding: 2px 8px; border-radius: 3px;
}

/* Track: YouTube link */
.artista-track-yt-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: #ff4444;
  text-decoration: none; padding: 4px 12px;
  background: rgba(255, 68, 68, 0.06);
  border: 1px solid rgba(255, 68, 68, 0.15);
  border-radius: 4px; transition: all 0.2s;
  white-space: nowrap;
}
.artista-track-yt-link:hover {
  background: rgba(255, 68, 68, 0.12);
  border-color: rgba(255, 68, 68, 0.3);
  color: #ff6666;
}

/* Empty state */
.artista-empty-state {
  text-align: center; padding: 60px 20px;
  color: #444;
}
.artista-empty-icon { font-size: 48px; display: block; margin-bottom: 16px; }
.artista-empty-state p { font-size: 14px; line-height: 1.6; }

@media (max-width: 600px) {
  .artista-profile-header { flex-direction: column; text-align: center; }
  .artista-profile-stats { justify-content: center; }
  .artista-social-links { justify-content: center; }
}

.artistas-platform-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin: 0 0 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(230,0,0,0.10), transparent 45%),
    #0d0d0d;
}

.artistas-platform-intro span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--w-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.artistas-platform-intro h2 {
  max-width: 860px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.98;
  letter-spacing: 0;
}

.artistas-platform-intro p {
  max-width: 760px;
  margin: 0;
  color: #aaa;
  font-size: 15px;
  line-height: 1.65;
  text-transform: none;
}

.artistas-platform-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.artistas-platform-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
}

.artistas-platform-actions a:first-child {
  border-color: rgba(230,0,0,0.45);
  background: var(--w-red);
}

.artistas-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.artistas-feature-card {
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: #0b0b0b;
}

.artistas-feature-card strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artistas-feature-card p {
  margin: 0;
  color: #8d8d8d;
  font-size: 13px;
  line-height: 1.55;
  text-transform: none;
}

@media (max-width: 900px) {
  .artistas-platform-intro {
    grid-template-columns: 1fr;
  }
  .artistas-platform-actions {
    justify-content: flex-start;
  }
  .artistas-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .artistas-feature-grid {
    grid-template-columns: 1fr;
  }
  .artistas-tier-btns {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

/* Public artist showcase */
.artist-showcase {
  max-width: none;
  padding: 70px 0 60px;
}

.artist-public-hero {
  position: relative;
  min-height: clamp(360px, 48vw, 560px);
  display: flex;
  align-items: flex-end;
  padding: clamp(120px, 16vw, 220px) 5% clamp(32px, 5vw, 58px);
  background-color: #101010;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.artist-public-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.58), rgba(0,0,0,0.78)),
    linear-gradient(0deg, #080808 0%, transparent 55%);
}

.artist-public-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
  width: min(100%, 1380px);
  margin: 0 auto;
}

.artist-public-avatar {
  width: clamp(104px, 10vw, 156px);
  height: clamp(104px, 10vw, 156px);
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171717;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.artist-public-avatar img,
.artist-public-gallery img,
.artist-public-release-art img,
.artist-featured-release img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-public-avatar span {
  color: var(--w-red);
  font-size: 44px;
  font-weight: 900;
}

.artist-public-kicker,
.artist-featured-release small,
.artist-public-toolkit small,
.artist-campaign-brief span {
  color: var(--w-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.artist-public-title h1 {
  margin: 4px 0 8px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.9;
  letter-spacing: 0;
}

.artist-public-title p {
  max-width: 720px;
  color: #d0d0d0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  text-transform: none;
}

.artist-public-tags,
.artist-public-actions,
.artist-public-links,
.artist-public-release-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.artist-public-tags {
  margin: 14px 0;
}

.artist-public-tags span {
  padding: 5px 9px;
  color: #ddd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
}

.artist-public-tags .artist-profile-type-badge {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}

.artist-public-actions button,
.artist-public-actions a,
.artist-public-release-links button,
.artist-public-release-links a,
.artist-public-links a {
  min-height: 40px;
  padding: 10px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
}

.artist-public-actions button:first-child,
.artist-public-release-links button {
  border-color: var(--w-red);
  background: var(--w-red);
}

.artist-featured-release {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(12px);
}

.artist-featured-release img,
.artist-featured-release > span {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  background: #181818;
}

.artist-featured-release > span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w-red);
  font-weight: 900;
}

.artist-featured-release strong {
  display: block;
  margin: 3px 0;
  font-size: 16px;
}

.artist-featured-release em {
  color: #aaa;
  font-size: 12px;
  font-style: normal;
}

.artist-public-toast {
  width: min(90%, 960px);
  margin: 18px auto 0;
  padding: 12px 16px;
  color: #d9fce7;
  border: 1px solid rgba(34,197,94,0.24);
  border-radius: 9px;
  background: rgba(34,197,94,0.08);
}

.artist-public-nav {
  position: sticky;
  top: var(--w-nav-height);
  z-index: 30;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 5%;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(14px);
}

.artist-public-nav a {
  flex: 0 0 auto;
  color: #aaa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 10px;
}

.artist-public-main {
  width: min(90%, 1380px);
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.artist-public-section {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: #0d0d0d;
}

.artist-public-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.artist-public-gallery img {
  aspect-ratio: 1;
  border-radius: 8px;
}

.artist-public-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.artist-public-stats div {
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px;
  background: rgba(255,255,255,0.035);
}

.artist-public-stats strong {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.artist-public-stats span {
  color: #888;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.artist-public-about h2,
.artist-section-head h2,
.artist-contact-card h2,
.artist-fan-band h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: 0;
}

.artist-public-about p,
.artist-section-head p,
.artist-fan-band p,
.artist-contact-card p {
  max-width: 860px;
  color: #aaa;
  font-size: 15px;
  line-height: 1.7;
  text-transform: none;
}

.artist-public-about button {
  margin-top: 10px;
  color: #fff;
  background: none;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 7px;
  padding: 8px 12px;
  cursor: pointer;
}

.artist-public-toolkit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.artist-public-toolkit article,
.artist-track-card,
.artist-public-release-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
}

.artist-public-toolkit h3,
.artist-track-card h3,
.artist-public-release-card h3 {
  margin: 8px 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
}

.artist-public-toolkit p,
.artist-track-card p,
.artist-public-release-card p,
.artist-public-empty,
.artist-muted {
  color: #999;
  font-size: 14px;
  line-height: 1.55;
  text-transform: none;
}

.artist-public-release-grid,
.artist-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.artist-public-release-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
}

.artist-public-release-art,
.artist-public-release-art span {
  width: 96px;
  height: 96px;
  border-radius: 9px;
  overflow: hidden;
  background: #181818;
}

.artist-public-release-art span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w-red);
  font-weight: 900;
}

.artist-release-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.artist-release-mini-stats span,
.artist-badge-reserved {
  color: #ddd;
  font-size: 12px;
  font-weight: 800;
}

.artist-embed-grid,
.artist-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.artist-embed-card,
.artist-event-card {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.artist-embed-card.wide {
  grid-column: span 2;
}

.artist-embed-card iframe {
  width: 100%;
  min-height: 352px;
  border: 0;
  border-radius: 8px;
}

.artist-embed-card small,
.artist-event-card small {
  color: var(--w-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Embed Facade (click-to-load) */
.embed-facade {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #181818;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.embed-facade:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.embed-facade-yt {
  aspect-ratio: 16 / 9;
  min-height: unset;
}

.embed-facade-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.embed-facade:hover .embed-facade-thumb {
  opacity: 0.9;
}

.embed-facade-play {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
  transition: transform 0.2s ease;
}

.embed-facade:hover .embed-facade-play {
  transform: scale(1.1);
}

.embed-facade-spotify {
  flex-direction: column;
  gap: 14px;
  min-height: 352px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(29,185,84,0.12), transparent 60%),
    #181818;
}

.embed-facade-spotify-icon {
  filter: drop-shadow(0 4px 16px rgba(29,185,84,0.4));
  transition: transform 0.2s ease;
}

.embed-facade:hover .embed-facade-spotify-icon {
  transform: scale(1.15);
}

.embed-facade-label {
  color: #aaa;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@keyframes embed-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.embed-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: embed-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

.artist-event-card h3,
.artist-external-fallback h3 {
  margin: 8px 0;
  color: #fff;
}

.artist-event-card p,
.artist-external-fallback p {
  color: #aaa;
  line-height: 1.55;
}

.artist-event-card a,
.artist-external-fallback a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.artist-superfan-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.artist-superfan-list span {
  padding: 9px 10px;
  color: #ddd;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  background: rgba(0,0,0,0.18);
}

.artist-showcase-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.artist-showcase-video,
.artist-showcase-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.artist-showcase-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.artist-showcase-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.artist-showcase-video p,
.artist-showcase-photo figcaption {
  margin: 0;
  padding: 10px 12px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.45;
}

.artist-fan-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: center;
}

.artist-public-empty {
  padding: 18px;
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 9px;
}

@media (max-width: 960px) {
  .artist-public-hero-content {
    grid-template-columns: 1fr;
  }
  .artist-featured-release {
    max-width: 420px;
  }
  .artist-public-toolkit,
  .artist-fan-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .artist-showcase {
    padding-top: 58px;
  }
  .artist-public-hero {
    padding-inline: 18px;
  }
  .artist-public-main {
    width: calc(100% - 24px);
  }
  .artist-public-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .artist-public-release-card {
    grid-template-columns: 1fr;
  }
  .artist-embed-card.wide {
    grid-column: auto;
  }
}

/* Artist studio dashboard */
.artist-studio {
  max-width: none;
  padding: 70px 0 60px;
}

.artist-studio-hero {
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0d0d0d;
}

.artist-studio-cover {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.42;
}

.artist-studio-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #080808, rgba(8,8,8,0.28));
}

.artist-studio-hero-inner {
  position: relative;
  z-index: 1;
  width: min(90%, 1280px);
  margin: 0 auto;
  padding: 110px 0 32px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: end;
}

.artist-studio-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  background: #181818;
  border: 2px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.artist-studio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-studio-avatar span { color: var(--w-red); font-size: 40px; font-weight: 900; }

.artist-studio-kicker {
  color: var(--w-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.artist-studio-hero h1 {
  margin: 3px 0 6px;
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.92;
  letter-spacing: 0;
}

.artist-studio-hero p:not(.artist-studio-kicker) {
  color: #ccc;
  font-size: 16px;
  line-height: 1.55;
  text-transform: none;
}

.artist-studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.artist-studio-actions a,
.artist-studio-actions button,
.artist-studio-tabs button,
.studio-panel-head button,
.artist-form-actions button,
.artist-copy-row button,
.artist-release-actions button,
.artist-primary-btn {
  min-height: 38px;
  padding: 9px 13px;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
}

.artist-primary-btn,
.studio-panel-head button {
  border-color: var(--w-red);
  background: var(--w-red);
}

.artist-studio-toast,
.artist-studio-lock {
  width: min(90%, 1280px);
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 9px;
}

.artist-studio-toast {
  color: #d9fce7;
  border: 1px solid rgba(34,197,94,0.24);
  background: rgba(34,197,94,0.08);
}

.artist-studio-lock {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: #fbd38d;
  border: 1px solid rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.08);
}

.artist-studio-lock a {
  color: #fff;
  font-weight: 900;
}

.artist-studio-tabs {
  width: min(90%, 1280px);
  margin: 18px auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.artist-studio-tabs button {
  flex: 0 0 auto;
  color: #999;
}

.artist-studio-tabs button.active {
  color: #fff;
  border-color: var(--w-red);
  background: rgba(230,0,0,0.16);
}

.artist-studio-grid {
  width: min(90%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.studio-span-2 { grid-column: span 2; }
.studio-span-3 { grid-column: 1 / -1; }

.artist-studio-panel {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: #0d0d0d;
}

.artist-studio-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 20px;
  letter-spacing: 0;
}

.studio-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.studio-panel-head span {
  color: var(--w-red);
  font-weight: 900;
}

.artist-progress {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #1a1a1a;
}

.artist-progress span {
  display: block;
  height: 100%;
  background: var(--w-red);
}

.artist-checklist,
.artist-metric-list,
.artist-release-list,
.artist-table-list,
.artist-track-table,
.artist-history-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.artist-checklist {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.artist-checklist span,
.artist-metric-list span,
.artist-history-mini span {
  color: #888;
  font-size: 13px;
  text-transform: none;
}

.artist-checklist span.done,
.artist-metric-list strong {
  color: #fff;
}

.artist-campaign-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(230,0,0,0.10), transparent 48%),
    #0d0d0d;
}

.artist-campaign-brief p {
  max-width: 760px;
  color: #aaa;
  line-height: 1.6;
  text-transform: none;
}

.artist-campaign-brief ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #ddd;
  font-weight: 800;
}

.artist-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  color: #777;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.artist-field input,
.artist-field textarea,
.artist-field select,
.artist-copy-row input {
  width: 100%;
  padding: 12px 13px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid #222;
  border-radius: 8px;
  background: #111;
  outline: none;
}

.artist-field textarea {
  resize: vertical;
  min-height: 90px;
}

.studio-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.studio-three-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.artist-form-actions,
.artist-copy-row,
.artist-release-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.artist-copy-row input {
  flex: 1;
  min-width: 220px;
}

.artist-release-row,
.artist-table-list > div,
.artist-track-table > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px;
  background: rgba(255,255,255,0.03);
}

.artist-release-cover {
  width: 58px;
  height: 58px;
  border-radius: 7px;
  overflow: hidden;
  background: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w-red);
  font-weight: 900;
}

.artist-release-cover img { width: 100%; height: 100%; object-fit: cover; }

.artist-release-row h3,
.artist-release-row p {
  margin: 0;
  text-transform: none;
}

.artist-release-row p,
.artist-release-row small,
.artist-table-list small,
.artist-track-table small,
.artist-track-table em {
  color: #888;
  font-size: 12px;
  line-height: 1.4;
  text-transform: none;
}

.artist-big-number {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.artist-search-results {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.artist-search-results button {
  text-align: left;
  padding: 10px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  background: #111;
}

.artist-table-list button,
.artist-track-table button {
  padding: 8px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}

.artist-fan-analytics {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

@media (max-width: 980px) {
  .artist-studio-grid,
  .artist-campaign-brief {
    grid-template-columns: 1fr;
  }
  .studio-span-2,
  .studio-span-3 {
    grid-column: auto;
  }
  .artist-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .artist-studio-hero-inner {
    grid-template-columns: 1fr;
  }
  .artist-studio-grid,
  .artist-studio-tabs,
  .artist-studio-hero-inner,
  .artist-studio-toast,
  .artist-studio-lock {
    width: calc(100% - 24px);
  }
  .studio-two-cols,
  .studio-three-cols {
    grid-template-columns: 1fr;
  }
  .artist-release-row,
  .artist-table-list > div,
  .artist-track-table > div {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════
   ACCOUNT STATUS & ACTIVATION
═══════════════════════════════════════ */

/* Status badge inline na hero */
.artist-studio-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 8px;
}

.artist-account-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
}

.artist-account-badge.active {
  color: #a7f3c0;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.artist-account-badge.pending {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.artist-trust-mini {
  color: #555;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Botão de ativar conta na hero */
.artist-btn-activate {
  background: linear-gradient(135deg, #e60000, #9a0000) !important;
  border-color: #e60000 !important;
  color: #fff !important;
  animation: pulse-red 2.2s ease-in-out infinite;
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,0,0,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(230,0,0,0); }
}

/* Banner de lock proeminente */
.artist-studio-lock.prominent {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(245,158,11,0.35);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(230,80,0,0.06));
  backdrop-filter: blur(8px);
}

.artist-lock-icon {
  font-size: 28px;
  text-align: center;
  opacity: 0.9;
}

.artist-lock-body strong {
  display: block;
  color: #fde68a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.artist-lock-body p {
  color: #ccc;
  font-size: 13px;
  line-height: 1.55;
  text-transform: none;
  margin: 0 0 10px;
}

.artist-lock-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.artist-lock-steps span {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 20px;
  text-transform: none;
}

.artist-lock-steps span.done {
  color: #a7f3c0;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.22);
}

.artist-lock-steps span.pending {
  color: #888;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.artist-lock-cta {
  display: inline-block;
  flex-shrink: 0;
  padding: 11px 20px;
  background: linear-gradient(135deg, #e60000, #9a0000);
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.artist-lock-cta:hover { opacity: 0.85; }

/* Tab highlight quando conta pendente */
.artist-studio-tabs button.tab-highlight {
  color: #fde68a;
  border-color: rgba(245,158,11,0.4);
  background: rgba(245,158,11,0.08);
  animation: pulse-amber 3s ease-in-out infinite;
}

.artist-studio-tabs button.tab-highlight.active {
  color: #fde68a;
  background: rgba(245,158,11,0.16);
  border-color: rgba(245,158,11,0.6);
  animation: none;
}

@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.4); }
  50%       { box-shadow: 0 0 0 4px rgba(245,158,11,0); }
}

/* ═══ ABA ATIVAR CONTA ═══ */
.artist-activation-panel {
  background: linear-gradient(135deg, rgba(245,158,11,0.05), #0d0d0d 60%) !important;
  border-color: rgba(245,158,11,0.18) !important;
}

.activation-header { margin-bottom: 24px; }

.activation-status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 10px;
}

.activation-status-badge.pending {
  color: #fde68a;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
}

.activation-status-badge.active {
  color: #a7f3c0;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
}

.activation-header h2 { margin: 0 0 8px; }
.activation-header p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  text-transform: none;
}

.activation-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.activation-step {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  transition: border-color 0.2s;
}

.activation-step.done {
  border-color: rgba(34,197,94,0.2);
  background: rgba(34,197,94,0.04);
}

.activation-step.pending { opacity: 0.88; }

.activation-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.activation-step.done .activation-step-number {
  color: #a7f3c0;
  background: rgba(34,197,94,0.14);
  border: 1px solid rgba(34,197,94,0.3);
}

.activation-step.pending .activation-step-number {
  color: #666;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.activation-step-body strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 3px;
}

.activation-step-body span {
  color: #777;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.activation-step-cta {
  flex-shrink: 0;
  padding: 7px 14px;
  background: var(--w-red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.activation-step-cta:hover { opacity: 0.8; }

.activation-cta-block {
  padding: 20px;
  border-radius: 10px;
  background: rgba(230,0,0,0.06);
  border: 1px solid rgba(230,0,0,0.2);
  text-align: center;
}

.artist-claim-btn-large {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #e60000, #9a0000);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 9px;
  margin-bottom: 12px;
  transition: opacity 0.2s, transform 0.15s;
}

.artist-claim-btn-large:hover { opacity: 0.88; transform: translateY(-1px); }

.activation-done-block {
  padding: 24px;
  border-radius: 10px;
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.18);
  text-align: center;
}

.activation-done-block h3 {
  margin: 0 0 8px;
  color: #a7f3c0;
  font-size: 18px;
  letter-spacing: 0;
}

/* Mobile */
@media (max-width: 640px) {
  .artist-studio-lock.prominent {
    grid-template-columns: 40px minmax(0,1fr);
  }
  .artist-lock-cta { grid-column: 1 / -1; text-align: center; }
  .activation-step {
    grid-template-columns: 36px minmax(0,1fr);
  }
  .activation-step-cta { grid-column: 2; }
}

/* ═══════════════════════════════════════
   PORTAL DO ARTISTA
═══════════════════════════════════════ */
.artist-portal {
  min-height: 100vh;
  padding-top: 80px;
}

.portal-hero {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.6), #080808),
    radial-gradient(ellipse at 50% 0%, rgba(230,0,0,0.18) 0%, transparent 65%);
  border-bottom: 2px solid var(--w-red);
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.portal-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--w-red);
  border: 1px solid rgba(230,0,0,0.4);
  padding: 4px 12px;
  margin-bottom: 1.5rem;
}
.portal-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.portal-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--w-ash);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
}

/* MODE CHOOSE */
.portal-choose { padding: 4rem 2rem; }
.portal-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 900px;
  margin: 0 auto 3rem;
}
@media (max-width: 640px) { .portal-choose-grid { grid-template-columns: 1fr; } }

.portal-mode-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  padding: 3rem 2.5rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.portal-mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--w-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.portal-mode-card:hover { background: #111; border-color: #333; transform: translateY(-3px); }
.portal-mode-card:hover::before { transform: scaleX(1); }
.portal-mode-card:hover .portal-card-arrow { color: var(--w-red); }

.mode-card-icon { color: var(--w-red); margin-bottom: 0.5rem; }
.portal-mode-card h2 { font-size: 1.2rem; font-weight: 900; letter-spacing: 3px; color: #fff; }
.portal-mode-card p { color: var(--w-ash); font-size: 0.9rem; line-height: 1.6; }
.mode-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: rgba(230,0,0,0.12);
  color: var(--w-red);
  border: 1px solid rgba(230,0,0,0.25);
  padding: 3px 8px;
}

/* INFO STRIP */

/* FORM SECTION */
.portal-form-section { padding: 3rem 2rem; }
.portal-form-container { max-width: 760px; margin: 0 auto; }

.back-btn {
  background: none; border: 1px solid #333; color: var(--w-ash);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 3px;
  padding: 8px 16px; cursor: pointer; margin-bottom: 2rem;
  transition: all 0.2s;
}
.back-btn:hover { border-color: var(--w-red); color: var(--w-red); }

.portal-form-header { margin-bottom: 2.5rem; }
.portal-form-header h2 {
  font-size: 1.5rem; font-weight: 900; letter-spacing: 3px;
  color: #fff; margin-bottom: 0.5rem;
}
.portal-form-header p { color: var(--w-ash); font-size: 0.85rem; }

/* DRAG & DROP */
.drop-zone {
  border: 2px dashed #2a2a2a;
  background: #0d0d0d;
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 2rem;
  color: var(--w-ash);
}
.drop-zone:hover, .drop-zone.drag-active { border-color: var(--w-red); background: rgba(230,0,0,0.04); }
.drop-zone.has-file { border-style: solid; border-color: #2a2a2a; }
.drop-zone svg { margin-bottom: 1rem; opacity: 0.5; }
.drop-zone p { font-size: 0.95rem; margin-bottom: 0.5rem; color: #ccc; }
.drop-zone span { font-size: 0.7rem; letter-spacing: 2px; color: #555; }

.file-selected { display: flex; align-items: center; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.file-info { text-align: left; }
.file-info strong { display: block; color: #fff; font-size: 0.9rem; }
.file-info span { color: var(--w-ash); font-size: 0.8rem; }
.file-change {
  background: none; border: 1px solid #333; color: #888;
  font-size: 0.7rem; letter-spacing: 2px; padding: 6px 12px;
  cursor: pointer; transition: all 0.2s;
}
.file-change:hover { border-color: #666; color: #ccc; }

/* FIELDS */
.portal-fields { display: flex; flex-direction: column; gap: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.field-group { display: flex; flex-direction: column; gap: 0.5rem; }
.field-group label { font-size: 0.65rem; font-weight: 800; letter-spacing: 3px; color: #666; }
.field-group input, .field-group select {
  background: #0d0d0d; border: 1px solid #1e1e1e; color: #fff;
  padding: 0.85rem 1rem; font-size: 0.9rem; font-family: inherit;
  transition: border-color 0.2s; outline: none;
}
.field-group input:focus, .field-group select:focus { border-color: var(--w-red); }
.field-group input::placeholder { color: #444; }
.field-group select { cursor: pointer; }
.field-group select option { background: #111; }

/* URL INPUT */
.url-input-block {
  display: flex; align-items: center;
  background: #0d0d0d; border: 1px solid #1e1e1e;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}
.url-input-block:focus-within { border-color: var(--w-red); }
.url-prefix { padding: 0 1rem; color: #444; flex-shrink: 0; }
.url-input {
  flex: 1; background: none; border: none;
  color: #fff; padding: 1rem 1rem 1rem 0;
  font-size: 0.9rem; font-family: inherit; outline: none;
}
.url-input::placeholder { color: #444; }

.url-ok { color: #22c55e; font-weight: 800; font-size: 1rem; }

/* VIP BLOCK */

/* AUTH BLOCK */
.auth-block { background: #0d0d0d; border: 1px solid #1e1e1e; padding: 1.25rem 1.5rem; }
.auth-label { display: flex; align-items: flex-start; gap: 1rem; cursor: pointer; }
.auth-label input { margin-top: 3px; accent-color: var(--w-red); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.auth-label span { font-size: 0.82rem; color: var(--w-ash); line-height: 1.6; }
.auth-label strong { color: #ccc; }

/* FEEDBACK */
.form-feedback {
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.form-feedback.error { background: rgba(230,0,0,0.1); border: 1px solid rgba(230,0,0,0.3); color: #ff6666; }
.form-feedback.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }

/* SUBMIT BTN */
.submit-btn {
  width: 100%; background: var(--w-red); border: none; color: #fff;
  font-family: inherit; font-size: 0.8rem; font-weight: 900;
  letter-spacing: 3px; padding: 1.2rem 2rem; cursor: pointer;
  transition: all 0.2s; position: relative; overflow: hidden;
}
.submit-btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.submit-btn:hover::after { transform: translateX(0); }
.submit-btn:disabled { background: #333; color: #666; cursor: not-allowed; }
.submit-btn:disabled::after { display: none; }


@keyframes blink { 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } }

/* SUCCESS */
.portal-success {
  display: flex; align-items: center; justify-content: center;
  min-height: 70vh; padding: 4rem 2rem;
}
.success-inner { text-align: center; max-width: 520px; }
.success-icon {
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(230,0,0,0.08);
  border: 2px solid rgba(230,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
}
.success-inner h2 {
  font-size: 2rem; font-weight: 900; letter-spacing: 4px; color: #fff; margin-bottom: 1rem;
}
.success-inner p { color: var(--w-ash); line-height: 1.7; margin-bottom: 2rem; }
.success-inner strong { color: #fff; }
.success-id {
  background: #0d0d0d; border: 1px solid #1e1e1e;
  padding: 1rem 1.5rem; margin-bottom: 2rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  flex-wrap: wrap;
}
.success-id span { font-size: 0.7rem; letter-spacing: 3px; color: #555; font-weight: 800; }
.success-id code { font-family: 'Courier New', monospace; color: var(--w-red); font-size: 0.8rem; }


/* ═══════════════════════════════════════
   ARTIST CLAIM SYSTEM (SPEC-031 Sprint 3)
═══════════════════════════════════════ */

/* ── Claim & Verify: Shared ── */
.artist-claim-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(230,0,0,0.06) 0%, transparent 60%),
    #080808;
}

.artist-claim-card {
  width: 100%;
  max-width: 480px;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.artist-claim-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--w-red), #ff6b35, var(--w-red));
  background-size: 200% 100%;
  animation: claim-shimmer 3s ease infinite;
}
@keyframes claim-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.artist-claim-header {
  text-align: center;
  margin-bottom: 32px;
}
.artist-claim-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}
.artist-claim-header h1 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 8px;
}
.artist-claim-header p {
  color: #888;
  font-size: 14px;
  line-height: 1.6;
}

/* ── Claim Form ── */
.artist-claim-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.artist-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.artist-form-group label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #666;
  text-transform: uppercase;
}
.artist-form-group input {
  background: #111;
  border: 1px solid #222;
  color: #fff;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 8px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.artist-form-group input:focus {
  border-color: var(--w-red);
  box-shadow: 0 0 0 3px rgba(230,0,0,0.08);
}
.artist-form-group input.valid {
  border-color: #22c55e;
}
.artist-form-group input.invalid {
  border-color: #ef4444;
}

.field-hint {
  font-size: 11px;
  font-weight: 600;
}
.field-hint.error { color: #ef4444; }
.field-hint.success { color: #22c55e; }
.optional { color: #444; font-weight: 400; text-transform: none; letter-spacing: 0; }

.artist-form-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #ff6b6b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.artist-form-success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #4ade80;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.artist-form-fallback {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.artist-form-fallback p {
  color: #fbbf24;
  font-size: 13px;
  margin-bottom: 12px;
}
.whatsapp-link {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.artist-claim-btn {
  width: 100%;
  padding: 16px;
  background: var(--w-red);
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.artist-claim-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.artist-claim-btn:hover:not(:disabled)::after { transform: translateX(0); }
.artist-claim-btn:disabled {
  background: #222;
  color: #555;
  cursor: not-allowed;
}

.artist-claim-footer {
  margin-top: 24px;
  text-align: center;
}
.artist-claim-footer p {
  font-size: 11px;
  color: #444;
  line-height: 1.8;
}
.artist-claim-footer a {
  color: #888;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.artist-claim-footer a:hover { color: var(--w-red); }

.artist-global-claim {
  align-items: flex-start;
}

.artist-claim-card-wide {
  max-width: 920px;
}

.artist-claim-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: -8px 0 24px;
}

.artist-claim-steps span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid #222;
  border-radius: 999px;
  background: #111;
}

.artist-claim-steps span.active {
  color: #fff;
  border-color: var(--w-red);
  background: rgba(230,0,0,0.18);
}

.artist-claim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.artist-claim-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  text-transform: none;
}

.artist-claim-checkbox input {
  margin-top: 4px;
  accent-color: var(--w-red);
}

.artist-claim-result {
  text-align: center;
}

.artist-trust-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}

.artist-trust-badge.auto_verified {
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.12);
}

.artist-trust-badge.blocked,
.artist-trust-badge.restricted {
  border-color: rgba(239,68,68,0.35);
  background: rgba(239,68,68,0.12);
}

.artist-claim-result h2 {
  max-width: 680px;
  margin: 0 auto 12px;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.artist-claim-result p {
  color: #aaa;
  text-transform: none;
}

.artist-risk-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0;
}

.artist-risk-list span {
  padding: 6px 9px;
  color: #fbd38d;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 999px;
  background: rgba(245,158,11,0.08);
}

@media (max-width: 640px) {
  .artist-claim-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Country Searchable Autocomplete ── */
.country-autocomplete-wrap {
  position: relative;
  width: 100%;
}
.country-autocomplete-input {
  width: 100%;
  padding: 14px 38px 14px 16px;
  background: #111;
  border: 1px solid #222;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  border-radius: 8px;
  outline: none;
  cursor: text;
  transition: border-color 0.25s;
}
.country-autocomplete-input:focus {
  border-color: var(--w-red);
}
.country-autocomplete-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 12px;
  cursor: pointer;
  pointer-events: all;
  user-select: none;
}
.country-lang-badge {
  font-size: 10px;
  background: rgba(255,255,255,0.07);
  padding: 2px 7px;
  border-radius: 4px;
  color: #888;
  margin-left: 6px;
  font-weight: 400;
  vertical-align: middle;
}
.country-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #0d0d0d;
  border: 1px solid #222;
  border-radius: 8px;
  z-index: 999;
  padding: 4px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.country-dropdown::-webkit-scrollbar { width: 5px; }
.country-dropdown::-webkit-scrollbar-track { background: transparent; }
.country-dropdown::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }

.country-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: #ccc;
  transition: background 0.15s, color 0.15s;
}
.country-dropdown-item:hover,
.country-dropdown-item.highlighted {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.country-dropdown-item.selected {
  background: rgba(239, 68, 68, 0.1);
  color: var(--w-red);
  font-weight: 600;
}
.country-dropdown-item .country-flag {
  font-size: 18px;
  flex-shrink: 0;
}
.country-dropdown-item .country-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-dropdown-item .country-code {
  font-size: 10px;
  color: #555;
  font-weight: 600;
  flex-shrink: 0;
}
.country-dropdown-empty {
  padding: 16px;
  text-align: center;
  color: #555;
  font-size: 13px;
}

.required { color: var(--w-red); font-weight: 800; }
.optional { color: #555; font-weight: 400; font-size: 11px; }

.field-hint {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.field-hint.error { color: #ff4444; }
.field-hint.success { color: #22c55e; }

.artist-form-group input.valid  { border-color: #22c55e !important; }
.artist-form-group input.invalid { border-color: #ff4444 !important; }

.artist-fraud-notice {
  margin: 12px 0;
  padding: 14px 18px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: 8px;
  font-size: 11px;
  color: #a8a29e;
  line-height: 1.7;
}
.artist-fraud-notice strong { color: #fbbf24; }

.artist-form-fallback {
  padding: 16px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  text-align: center;
}
.artist-form-fallback p {
  color: #a8a29e;
  font-size: 13px;
  margin-bottom: 10px;
}
.whatsapp-link {
  display: inline-block;
  padding: 10px 20px;
  background: #22c55e;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s;
}
.whatsapp-link:hover { background: #16a34a; }

/* ── OTP Verify ── */
.artist-otp-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
}
.artist-otp-digit {
  width: 52px;
  height: 60px;
  background: #111;
  border: 2px solid #222;
  border-radius: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  font-family: 'Courier New', monospace;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  caret-color: var(--w-red);
}
.artist-otp-digit:focus {
  border-color: var(--w-red);
  box-shadow: 0 0 0 3px rgba(230,0,0,0.12);
}

.artist-verify-loading {
  text-align: center;
  color: var(--w-red);
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0;
  animation: pulse 1.2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.artist-verify-meta {
  text-align: center;
  margin-top: 20px;
}
.timer {
  font-size: 13px;
  color: #666;
  font-weight: 600;
  margin-bottom: 12px;
}
.timer.expired { color: #ef4444; }

.artist-resend-btn {
  background: none;
  border: 1px solid #333;
  color: #888;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.artist-resend-btn:hover:not(:disabled) {
  border-color: var(--w-red);
  color: var(--w-red);
}
.artist-resend-btn:disabled {
  color: #444;
  cursor: not-allowed;
}

/* ── Dashboard ── */
.artist-dashboard-root {
  min-height: 100vh;
  padding: 100px 5% 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.artist-dashboard-loading {
  text-align: center;
  padding: 100px 20px;
  color: #666;
  font-size: 14px;
}

.artist-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 24px 28px;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
}
.artist-dashboard-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}
.artist-dash-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #222, var(--w-red));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.artist-dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-dash-initial { font-size: 24px; font-weight: 900; color: #fff; }

.artist-dashboard-header h1 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}
.artist-dash-tier {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.artist-logout-btn {
  background: none;
  border: 1px solid #333;
  color: #888;
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.artist-logout-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* Stats cards */
.artist-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.artist-stat-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s;
}
.artist-stat-card:hover { border-color: #333; }
.stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--w-red);
  display: block;
  margin-bottom: 4px;
}
/* stat-label already defined above (reused) */

/* Upload section */
.artist-upload-section {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 32px;
}
.artist-upload-section h2 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.artist-upload-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.artist-upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .artist-upload-row { grid-template-columns: 1fr; }
}

.artist-file-input {
  background: #111;
  border: 1px solid #222;
  padding: 12px;
  border-radius: 8px;
  color: #aaa;
  font-size: 13px;
  cursor: pointer;
}
.artist-file-input::file-selector-button {
  background: var(--w-red);
  border: none;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  margin-right: 12px;
}

.artist-upload-btn {
  padding: 14px;
  background: var(--w-red);
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.artist-upload-btn:hover:not(:disabled) {
  background: #ff2222;
  transform: translateY(-1px);
}
.artist-upload-btn:disabled {
  background: #222;
  color: #555;
  cursor: not-allowed;
}

/* Tracks section */
.artist-tracks-section {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 28px;
}
.artist-tracks-section h2 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.artist-no-tracks {
  text-align: center;
  color: #555;
  padding: 40px;
  font-size: 14px;
}

.artist-tracks-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.artist-tracks-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 80px;
  gap: 12px;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #555;
  text-transform: uppercase;
  border-bottom: 1px solid #1a1a1a;
}
.artist-track-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 80px;
  gap: 12px;
  padding: 12px 14px;
  align-items: center;
  border-radius: 6px;
  transition: background 0.15s;
}
.artist-track-row:hover { background: #111; }

.track-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-genre { font-size: 12px; color: #666; }
.track-status { font-size: 11px; font-weight: 700; }
.status-active { color: #22c55e; }
.status-pending { color: #eab308; }
.status-archived { color: #888; }
.status-rejected { color: #ef4444; }
.track-plays { font-size: 12px; color: #888; text-align: right; }

/* ═══════════════════════════════════════
   DASHBOARD TABS (SPEC-046 F-017)
═══════════════════════════════════════ */
.artist-dash-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  overflow-x: auto;
}
.artist-dash-tab {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  color: #666;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
.artist-dash-tab:hover { color: #aaa; background: #111; }
.artist-dash-tab.active {
  background: var(--w-red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(230,0,0,0.3);
}

.artist-dash-city {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

/* ═══════════════════════════════════════
   ANALYTICS BAR CHART (F-017)
═══════════════════════════════════════ */
.artist-analytics-section {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 24px;
}
.artist-analytics-section h2 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.artist-analytics-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.analytics-bar-row {
  display: grid;
  grid-template-columns: 30px 2fr 3fr 80px;
  gap: 12px;
  align-items: center;
}
.analytics-rank {
  font-size: 11px;
  font-weight: 800;
  color: #555;
}
.analytics-title {
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.analytics-bar-track {
  height: 22px;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
}
.analytics-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--w-red), #ff6b35);
  border-radius: 4px;
  transition: width 0.6s ease;
  min-width: 4px;
}
.analytics-plays {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  text-align: right;
}

/* ═══════════════════════════════════════
   PROFILE EDIT (F-017)
═══════════════════════════════════════ */
.artist-profile-edit-section {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 28px;
}
.artist-profile-edit-section h2 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.artist-section-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}
.artist-profile-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.artist-textarea {
  background: #111;
  border: 1px solid #222;
  color: #fff;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 8px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}
.artist-textarea:focus { border-color: var(--w-red); }
.field-counter {
  font-size: 10px;
  color: #444;
  text-align: right;
  font-weight: 600;
}
.disabled-input {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════
   CORRECTIONS (F-018) + CLAIMS (F-019)
═══════════════════════════════════════ */
.artist-corrections-section,
.artist-claims-section {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 28px;
}
.artist-corrections-section h2,
.artist-claims-section h2 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.artist-correction-form,
.artist-claim-form-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.artist-form-group select {
  background: #111;
  border: 1px solid #222;
  color: #fff;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 8px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.artist-form-group select:focus { border-color: var(--w-red); }
.artist-form-group select option { background: #111; }

/* ── Claim Search ── */
.claim-search-wrap {
  position: relative;
}
.claim-search-wrap input {
  width: 100%;
  background: #111;
  border: 1px solid #222;
  color: #fff;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 8px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.claim-search-wrap input:focus { border-color: var(--w-red); }
.claim-searching {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--w-red);
  font-weight: 700;
  animation: pulse 1.2s ease infinite;
}
.claim-search-results {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 200px;
  overflow-y: auto;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  margin-top: 4px;
}
.claim-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.claim-result-item:hover { background: #1a1a1a; }
.claim-result-title { font-weight: 600; }
.claim-result-artist { font-size: 11px; color: #666; flex-shrink: 0; margin-left: 12px; }

.claim-selected {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #4ade80;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.claim-selected strong { color: #fff; }
.claim-clear {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  margin-left: auto;
  padding: 2px 6px;
  transition: color 0.2s;
}
.claim-clear:hover { color: #ef4444; }

/* ── History Lists ── */
.artist-history-list {
  margin-top: 32px;
}
.artist-history-list h3 {
  font-size: 14px;
  font-weight: 800;
  color: #888;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a1a1a;
}
.history-item {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}
.history-item:hover { border-color: #333; }
.history-item.history-approved { border-left: 3px solid #22c55e; }
.history-item.history-rejected { border-left: 3px solid #ef4444; }
.history-item.history-pending { border-left: 3px solid #eab308; }

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.history-field {
  font-size: 12px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.history-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.badge-pending { background: rgba(234,179,8,0.1); color: #eab308; }
.badge-approved { background: rgba(34,197,94,0.1); color: #22c55e; }
.badge-rejected { background: rgba(239,68,68,0.1); color: #ef4444; }

.history-values {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.history-old { color: #555; text-decoration: line-through; }
.history-arrow { color: #444; }
.history-new { color: #fff; font-weight: 600; }

.history-claim-track {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 4px;
}
.history-claim-track em { color: #666; font-style: italic; }

.history-date {
  font-size: 10px;
  color: #444;
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

/* ── Claim Notice ── */
.artist-claim-notice {
  margin-top: 24px;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 12px;
  color: #aaa;
  line-height: 1.7;
}
.artist-claim-notice strong { color: #fbbf24; }
.artist-claim-notice a {
  color: var(--w-red);
  text-decoration: none;
  font-weight: 700;
}
.artist-claim-notice a:hover { text-decoration: underline; }

.artist-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.artist-news-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  min-height: 112px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.025);
}
.artist-news-card img {
  width: 96px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
}
.artist-news-card small,
.artist-mini-activity p,
.artist-mini-activity small {
  color: #888;
}
.artist-news-card h3 {
  margin: 4px 0 6px;
  font-size: 15px;
  line-height: 1.25;
}
.artist-news-card p {
  margin: 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.45;
}
.artist-activity-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.artist-mini-activity {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.artist-mini-activity h3 {
  margin: 0 0 4px;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.artist-mini-activity div,
.artist-mini-activity a {
  color: #ddd;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}
.artist-campaign-analytics {
  display: grid;
  gap: 16px;
}

.faq-root {
  max-width: none;
  padding-inline: 0;
}

.faq-main {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 80px;
  display: grid;
  gap: 34px;
}

.faq-section h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.faq-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: #0d0d0d;
}

.faq-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
}

.faq-card p {
  margin: 0;
  color: #aaa;
  font-size: 14px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   RESPONSIVE (Dashboard expanded)
═══════════════════════════════════════ */
@media (max-width: 600px) {
  .artist-dashboard-header { flex-direction: column; gap: 16px; text-align: center; }
  .artist-dashboard-stats { grid-template-columns: 1fr; }
  .artist-tracks-header,
  .artist-track-row { grid-template-columns: 1fr; gap: 4px; }
  .artist-otp-digit { width: 44px; height: 52px; font-size: 20px; }
  .artist-dash-tabs { gap: 2px; }
  .artist-dash-tab { font-size: 11px; padding: 10px 8px; letter-spacing: 0; }
  .analytics-bar-row { grid-template-columns: 24px 1fr 60px; }
  .analytics-bar-track { display: none; }
  .artist-upload-row { grid-template-columns: 1fr; }
  .artist-activity-columns { grid-template-columns: 1fr; }
  .artist-news-card { grid-template-columns: 1fr; }
  .artist-news-card img { width: 100%; height: 160px; }
}
/* ════════════════════════════════════════════════
   Module: 06-perfil.css — SPEC-049 Profile Dashboard
   Desktop multi-column layout + searchable selects
   ════════════════════════════════════════════════ */

.pf-loading {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; color: #555; font-size: 0.9rem;
}

.pf-page {
  max-width: 1100px; margin: 0 auto;
  padding: 32px 24px 60px;
  display: flex; flex-direction: column; gap: 28px;
}

/* ── DESKTOP GRID: 2-column layout ── */
.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.pf-grid-full { grid-column: 1 / -1; }
/* [BUG-002] Keeps grid column slot alive when child returns null,
   preventing badges from collapsing into col-1. */
.pf-grid-slot { min-height: 1px; }

/* ── HEADER ── */
.pf-header {
  display: flex; align-items: center; gap: 20px;
  padding: 24px; background: #0d0d0d;
  border: 1px solid #1a1a1a; border-radius: 12px;
}
.pf-avatar-wrap { flex-shrink: 0; }
.pf-avatar-circle {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; position: relative;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  border: 2px solid #222;
}
.pf-avatar-upload { cursor: pointer; }
.pf-avatar-hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.6); font-size: 1.4rem;
  opacity: 0; transition: opacity 0.2s;
  border-radius: 50%;
}
.pf-avatar-upload:hover .pf-avatar-hover { opacity: 1; }
.pf-avatar-upload:hover { border-color: var(--w-red); }
.pf-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.pf-avatar-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 900; color: var(--w-red);
  background: linear-gradient(135deg, rgba(230,0,0,0.12), rgba(230,0,0,0.04));
  letter-spacing: 2px;
}
.pf-header-info { flex: 1; min-width: 0; }
.pf-tier-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1.5px;
  color: #888; margin-top: 4px;
}

/* ── EDITABLE FIELDS ── */
.pf-editable-section {
  display: flex; flex-direction: column; gap: 2px;
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
  overflow: hidden;
}
.pf-editable {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #111;
}
.pf-editable:last-child { border-bottom: none; }
.pf-editable:hover { background: rgba(255,255,255,0.02); }
.pf-editable-label {
  font-size: 0.6rem; font-weight: 900; letter-spacing: 2px;
  color: #444; min-width: 60px; flex-shrink: 0;
}
.pf-editable-value {
  flex: 1; font-size: 0.88rem; color: #ddd;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pf-placeholder { color: #333; font-style: italic; }
.pf-edit-icon { font-size: 0.75rem; opacity: 0; transition: opacity 0.2s; flex-shrink: 0; }
.pf-editable:hover .pf-edit-icon { opacity: 0.5; }

.pf-edit-wrap {
  padding: 12px 18px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  border-bottom: 1px solid #111;
}
.pf-edit-input {
  flex: 1; min-width: 200px;
  background: #0a0a0a; border: 1px solid var(--w-red); border-radius: 4px;
  color: #fff; padding: 8px 10px; font-size: 0.88rem;
  font-family: inherit; outline: none; resize: vertical;
}
.pf-edit-actions { display: flex; gap: 4px; }
.pf-edit-save, .pf-edit-cancel {
  width: 32px; height: 32px; border-radius: 4px;
  border: 1px solid #222; background: #111;
  color: #888; font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.pf-edit-save:hover { border-color: #22c55e; color: #22c55e; background: rgba(34,197,94,0.06); }
.pf-edit-cancel:hover { border-color: var(--w-red); color: var(--w-red); }
.pf-edit-counter {
  font-size: 0.6rem; color: #333; letter-spacing: 1px;
  width: 100%; text-align: right;
}

/* ── SEARCHABLE SELECT (Country/State autocomplete) ── */
.pf-search-select {
  position: relative; flex: 1;
}
.pf-search-input {
  width: 100%; box-sizing: border-box;
  background: #0a0a0a; border: 1px solid #222; border-radius: 6px;
  color: #ddd; padding: 8px 12px; font-size: 0.85rem;
  font-family: inherit; outline: none; cursor: text;
  transition: border-color 0.2s;
}
.pf-search-input:focus { border-color: var(--w-red); }
.pf-search-input::placeholder { color: #444; }
.pf-search-dropdown {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: 240px; overflow-y: auto; z-index: 100;
  background: #111; border: 1px solid #333; border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  scrollbar-width: thin; scrollbar-color: #333 transparent;
}
.pf-search-option {
  padding: 10px 14px; font-size: 0.85rem; color: #ccc;
  cursor: pointer; transition: background 0.1s;
  border-bottom: 1px solid #1a1a1a;
}
.pf-search-option:last-child { border-bottom: none; }
.pf-search-option:hover,
.pf-search-option.active { background: rgba(230,0,0,0.08); color: #fff; }
.pf-search-option .pf-flag { margin-right: 8px; }
.pf-search-empty {
  padding: 16px; text-align: center;
  font-size: 0.78rem; color: #555;
}

/* ── UF / STATE FIELD ── */
.pf-uf-field {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
}
.pf-uf-select {
  flex: 1;
  background: #0a0a0a; border: 1px solid #222; border-radius: 6px;
  color: #ddd; padding: 8px 12px; font-size: 0.85rem;
  font-family: inherit; outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s;
}
.pf-uf-select:hover { border-color: #444; }
.pf-uf-select:focus { border-color: var(--w-red); }
.pf-uf-select option { background: #0a0a0a; color: #ddd; }

/* ── STATS GRID ── */
.pf-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
  overflow: hidden;
}
.pf-stat {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 20px 12px;
  background: #0d0d0d; transition: background 0.15s;
}
.pf-stat:hover { background: rgba(255,255,255,0.02); }
.pf-stat-value {
  font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: 0.5px;
}
.pf-stat-label {
  font-size: 0.55rem; font-weight: 900; letter-spacing: 2px;
  color: #444; text-align: center;
}

/* ── PROGRESS BAR ── */
.pf-progress {
  padding: 18px 20px;
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
}
.pf-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.65rem; font-weight: 900; letter-spacing: 2px; color: #555;
  margin-bottom: 10px;
}
.pf-progress-bar {
  height: 6px; background: #1a1a1a; border-radius: 3px;
  overflow: hidden; margin-bottom: 10px;
}
.pf-progress-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--w-red), #ff4444);
  transition: width 0.5s ease;
}
.pf-progress-note {
  font-size: 0.72rem; color: #444; text-align: center; margin: 0;
}

/* ── BADGES ── */
.pf-badges { padding: 0; }
.pf-section-title {
  font-size: 0.78rem; font-weight: 900; letter-spacing: 2px;
  color: #666; margin: 0 0 14px;
}
.pf-badges-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.pf-badge-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 16px 10px;
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 10px;
  transition: all 0.2s;
}
.pf-badge-card.earned {
  border-color: rgba(230,0,0,0.2);
  background: linear-gradient(135deg, rgba(230,0,0,0.06), transparent);
}
.pf-badge-card.earned:hover {
  border-color: rgba(230,0,0,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(230,0,0,0.1);
}
.pf-badge-card.locked { opacity: 0.35; }
.pf-badge-emoji { font-size: 1.8rem; }
.pf-badge-name {
  font-size: 0.72rem; font-weight: 900; letter-spacing: 1px; color: #ddd;
}
.pf-badge-desc {
  font-size: 0.6rem; color: #555; text-align: center;
}

/* ── VOTE HISTORY ── */
.pf-history { padding: 0; }
.pf-loading-text, .pf-empty-text {
  font-size: 0.82rem; color: #444; text-align: center; padding: 20px;
}
.pf-history-list {
  display: flex; flex-direction: column; gap: 2px;
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
  overflow: hidden; max-height: 400px; overflow-y: auto;
}
.pf-history-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid #111;
  transition: background 0.15s;
}
.pf-history-item:last-child { border-bottom: none; }
.pf-history-item:hover { background: rgba(255,255,255,0.02); }
.pf-history-icon { font-size: 1.2rem; flex-shrink: 0; }
.pf-history-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.pf-history-track {
  font-size: 0.82rem; font-weight: 700; color: #ddd;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pf-history-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.65rem; color: #555; letter-spacing: 0.5px;
}
.pf-history-mode {
  font-weight: 800; padding: 1px 6px;
  border-radius: 3px; font-size: 0.6rem;
}
.pf-history-mode.free { background: rgba(34,197,94,0.1); color: #22c55e; }
.pf-history-mode.pix { background: rgba(230,0,0,0.1); color: var(--w-red); }
.pf-history-mode.anon { background: rgba(255,255,255,0.05); color: #666; }

/* ── SECURITY SECTION ── */
.pf-security-section {
  display: flex; flex-direction: column; gap: 8px;
}
.pf-security-card {
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
  overflow: hidden;
}
.pf-security-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; cursor: pointer;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 2px; color: #888;
  transition: background 0.15s;
}
.pf-security-header:hover { background: rgba(255,255,255,0.02); }
.pf-chevron {
  font-size: 0.8rem; transition: transform 0.25s ease;
  display: inline-block;
}
.pf-chevron.open { transform: rotate(180deg); }

.pf-security-body {
  padding: 4px 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
  animation: pfSlideDown 0.2s ease-out;
}
@keyframes pfSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pf-security-input {
  width: 100%; box-sizing: border-box;
  background: #0a0a0a; border: 1px solid #222; border-radius: 6px;
  color: #ddd; padding: 10px 14px; font-size: 0.85rem;
  font-family: inherit; outline: none;
  transition: border-color 0.2s;
}
.pf-security-input:focus { border-color: var(--w-red); }
.pf-security-input::placeholder { color: #444; }

.pf-otp-input {
  text-align: center; font-size: 1.6rem;
  letter-spacing: 8px; font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  max-width: 260px;
}

.pf-security-btn {
  background: linear-gradient(135deg, var(--w-red), #ff2222);
  color: #fff; border: none; border-radius: 8px;
  padding: 12px 24px; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 1.5px; cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.pf-security-btn:hover { opacity: 0.9; }
.pf-security-btn:active { transform: scale(0.98); }
.pf-security-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.pf-security-btn-secondary {
  background: none; border: 1px solid #333;
  color: #888; border-radius: 6px;
  padding: 10px 20px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; cursor: pointer;
  transition: all 0.2s;
}
.pf-security-btn-secondary:hover { border-color: #555; color: #bbb; }

.pf-security-msg {
  font-size: 0.78rem; font-weight: 600; margin: 0;
  padding: 8px 12px; border-radius: 6px;
}
.pf-security-msg.ok {
  color: #22c55e; background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.15);
}
.pf-security-msg.err {
  color: #ef4444; background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.15);
}
.pf-security-hint { font-size: 0.78rem; color: #666; margin: 0; }
.pf-security-hint strong { color: #999; }

/* ── MINI RANKING ── */
.pf-mini-rank { padding: 0; }
.pf-rank-list {
  display: flex; flex-direction: column; gap: 2px;
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
  overflow: hidden;
}
.pf-rank-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; font-size: 0.85rem;
  border-bottom: 1px solid #111;
  transition: background 0.15s;
}
.pf-rank-item:last-child { border-bottom: none; }
.pf-rank-item:hover { background: rgba(255,255,255,0.02); }
.pf-rank-item.me {
  background: rgba(230,0,0,0.06);
  border-left: 3px solid var(--w-red);
}
.pf-rank-pos {
  min-width: 32px; font-weight: 900; color: #888;
  text-align: center; font-size: 0.9rem;
}
.pf-rank-name {
  flex: 1; color: #ddd; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pf-rank-pts {
  font-size: 0.72rem; font-weight: 800; color: #555; letter-spacing: 0.5px;
}
.pf-rank-mypos {
  font-size: 0.78rem; color: #666;
  text-align: center; margin: 10px 0 0;
}
.pf-rank-mypos strong { color: var(--w-red); }
.pf-rank-link {
  display: block; text-align: center;
  margin-top: 12px; font-size: 0.72rem;
  font-weight: 800; letter-spacing: 2px;
  color: var(--w-red); text-decoration: none;
  transition: opacity 0.2s;
}
.pf-rank-link:hover { opacity: 0.8; }

/* ── DANGER ZONE ── */
.pf-danger-zone {
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
  overflow: hidden;
}
.pf-danger-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; cursor: pointer;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 2px;
  color: #ef4444; transition: background 0.15s;
}
.pf-danger-header:hover { background: rgba(239,68,68,0.04); }
.pf-danger-body {
  padding: 4px 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
  animation: pfSlideDown 0.2s ease-out;
}
.pf-danger-text {
  font-size: 0.82rem; color: #888; line-height: 1.5; margin: 0;
}
.pf-danger-text strong { color: #ef4444; }
.pf-danger-confirm {
  padding: 14px; border-radius: 8px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
}
.pf-danger-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pf-danger-btn {
  background: none; border: 1px solid rgba(239,68,68,0.3);
  color: #ef4444; border-radius: 8px;
  padding: 12px 24px; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 1.5px; cursor: pointer; transition: all 0.2s;
}
.pf-danger-btn:hover {
  background: rgba(239,68,68,0.08); border-color: #ef4444;
}
.pf-danger-btn-final {
  background: #ef4444; color: #fff;
  border: none; border-radius: 8px;
  padding: 12px 24px; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 1.5px; cursor: pointer; transition: all 0.2s;
}
.pf-danger-btn-final:hover { background: #dc2626; }
.pf-danger-btn-final:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── GUEST CTA ── */
.pf-guest-cta {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  min-height: 50vh; gap: 16px; padding: 40px 20px;
}
.pf-guest-icon { font-size: 4rem; }
.pf-guest-title {
  font-size: 1.4rem; font-weight: 900; letter-spacing: 3px;
  color: #fff; margin: 0;
}
.pf-guest-text {
  font-size: 0.88rem; color: #666; line-height: 1.6;
  max-width: 420px; margin: 0;
}
.pf-guest-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w-red), #ff2222);
  color: #fff; padding: 14px 36px; border-radius: 8px;
  font-weight: 800; font-size: 0.88rem; letter-spacing: 1.5px;
  text-decoration: none; transition: opacity 0.2s, transform 0.1s;
}
.pf-guest-btn:hover { opacity: 0.9; }
.pf-guest-btn:active { transform: scale(0.98); }
.pf-guest-back {
  font-size: 0.78rem; color: #555; text-decoration: none;
  font-weight: 700; letter-spacing: 1px; transition: color 0.2s;
}
.pf-guest-back:hover { color: #888; }

/* ── AVATAR UPLOADING SPINNER ── */
.pf-avatar-uploading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.7); border-radius: 50%;
}
.pf-avatar-spinner {
  width: 24px; height: 24px;
  border: 3px solid #333; border-top-color: var(--w-red);
  border-radius: 50%; animation: pfSpin 0.6s linear infinite;
}
@keyframes pfSpin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════
   SPEC-049 Sprint 010 — dNFT Gallery
   ══════════════════════════════════════════════ */

.pf-dnft-gallery {
  padding: 0;
}

/* ── Header ── */
.pf-dnft-header {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 16px;
}
.pf-dnft-title-row {
  display: flex; align-items: center; gap: 10px;
}
.pf-dnft-subtitle {
  font-size: 0.68rem; color: #555; letter-spacing: 1px;
  font-weight: 600;
}

/* ── Grid ── */
.pf-dnft-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

/* ── Card base ── */
.pf-dnft-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 18px 10px 14px;
  background: var(--tier-bg, #0d0d0d);
  border: 1px solid var(--tier-border, #1a1a1a);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Level pill */
.pf-dnft-level {
  position: absolute; top: 6px; left: 8px;
  font-size: 0.55rem; font-weight: 900; letter-spacing: 1.5px;
  color: #555; opacity: 0.7;
}

/* Emoji */
.pf-dnft-emoji { font-size: 2rem; line-height: 1; }

/* Name */
.pf-dnft-name {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
  color: #ccc; text-align: center;
}

/* EP requirement */
.pf-dnft-ep {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 1px;
  color: #444;
}

/* ── Card states ── */

/* Locked */
.pf-dnft-card.locked {
  opacity: 0.3;
  filter: grayscale(0.6);
}

/* Unlocked (sub-VIP) */
.pf-dnft-card.unlocked {
  border-color: var(--tier-border);
  box-shadow: 0 0 12px var(--tier-glow, transparent);
}
.pf-dnft-card.unlocked:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--tier-glow, transparent);
}

/* Crystallized — on-chain confirmed */
.pf-dnft-card.crystallized {
  border-color: var(--tier-border);
  box-shadow: 0 0 16px var(--tier-glow, transparent),
              inset 0 0 20px rgba(255,255,255,0.02);
}
.pf-dnft-card.crystallized::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.06) 45%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 55%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: dnftSheen 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: 12px;
}

/* Minting in progress */
.pf-dnft-card.minting {
  border-color: var(--tier-border);
  animation: dnftPulse 2s ease-in-out infinite;
}

/* Success flash */
.pf-dnft-card.success-flash {
  animation: dnftSuccess 0.6s ease-out;
}

/* ── Animations ── */
@keyframes dnftSheen {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes dnftPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}
@keyframes dnftSuccess {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 var(--tier-glow); }
  50%  { transform: scale(1.05); box-shadow: 0 0 30px var(--tier-glow); }
  100% { transform: scale(1); box-shadow: 0 0 16px var(--tier-glow); }
}

/* ── Status pill ── */
.pf-dnft-status {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 4px;
  margin-top: 2px;
}
.pf-dnft-status.status-revealed {
  background: rgba(73,234,203,0.12);
  color: #49eacb;
  border: 1px solid rgba(73,234,203,0.2);
}
.pf-dnft-status.status-pending {
  background: rgba(255,255,255,0.04);
  color: #888;
  border: 1px solid #222;
}
.pf-dnft-status.status-pinned {
  background: rgba(59,130,246,0.08);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,0.15);
}
.pf-dnft-status.status-committing {
  background: rgba(251,191,36,0.08);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.15);
}

/* Pulse dot */
.pf-dnft-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: dnftPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Crystallize CTA ── */
.pf-dnft-cta {
  display: flex; align-items: center; gap: 5px;
  margin-top: 4px; padding: 5px 10px;
  background: linear-gradient(135deg, rgba(73,234,203,0.15), rgba(73,234,203,0.05));
  border: 1px solid rgba(73,234,203,0.3);
  border-radius: 6px;
  color: #49eacb; font-size: 0.6rem; font-weight: 800;
  letter-spacing: 1px; cursor: pointer;
  transition: all 0.2s ease;
}
.pf-dnft-cta:hover {
  background: linear-gradient(135deg, rgba(73,234,203,0.25), rgba(73,234,203,0.1));
  border-color: #49eacb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(73,234,203,0.15);
}
.pf-dnft-cta:active { transform: scale(0.97); }

/* Minting spinner */
.pf-dnft-minting {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.6rem; color: #888; font-weight: 700;
  letter-spacing: 0.5px;
}
.pf-dnft-spinner-sm {
  width: 14px; height: 14px;
  border: 2px solid #333; border-top-color: #49eacb;
  border-radius: 50%;
  animation: pfSpin 0.6s linear infinite;
}

/* VIP hint */
.pf-dnft-hint {
  font-size: 0.55rem; color: #333; font-weight: 700;
  letter-spacing: 0.5px; margin-top: 2px;
}

/* Loading */
.pf-dnft-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; min-height: 120px;
}
.pf-dnft-spinner {
  width: 28px; height: 28px;
  border: 3px solid #222; border-top-color: #49eacb;
  border-radius: 50%;
  animation: pfSpin 0.7s linear infinite;
}

/* Error */
.pf-dnft-error {
  font-size: 0.78rem; color: #ef4444; font-weight: 600;
  margin: 10px 0 0; padding: 8px 14px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 6px;
}

/* ── Confirmation Dialog ── */
.pf-dnft-confirm-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  animation: dnftFadeIn 0.2s ease-out;
}
@keyframes dnftFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.pf-dnft-confirm-dialog {
  background: #111; border: 1px solid #2a2a2a;
  border-radius: 16px; padding: 32px 28px;
  max-width: 380px; width: 90%;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: dnftDialogIn 0.25s ease-out;
}
@keyframes dnftDialogIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.pf-dnft-confirm-emoji { font-size: 3rem; }
.pf-dnft-confirm-title {
  font-size: 1.1rem; font-weight: 900; color: #fff;
  letter-spacing: 1px; margin: 0;
}
.pf-dnft-confirm-text {
  font-size: 0.82rem; color: #888; line-height: 1.5; margin: 0;
}
.pf-dnft-confirm-actions {
  display: flex; gap: 10px; margin-top: 8px; width: 100%;
}
.pf-dnft-confirm-yes {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #49eacb, #36d1b0);
  color: #0d1117; border: none; border-radius: 8px;
  padding: 12px 20px; font-size: 0.82rem; font-weight: 800;
  letter-spacing: 1px; cursor: pointer;
  transition: all 0.2s;
}
.pf-dnft-confirm-yes:hover { opacity: 0.9; transform: translateY(-1px); }
.pf-dnft-confirm-yes:disabled { opacity: 0.5; cursor: not-allowed; }
.pf-dnft-confirm-no {
  flex: 1; background: none; border: 1px solid #333;
  color: #888; border-radius: 8px;
  padding: 12px 20px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 1px; cursor: pointer;
  transition: all 0.2s;
}
.pf-dnft-confirm-no:hover { border-color: #555; color: #bbb; }

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 768px) {
  .pf-page { padding: 16px 12px 40px; gap: 20px; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-header { flex-direction: column; text-align: center; padding: 20px 16px; }
  .pf-avatar-circle { width: 64px; height: 64px; }
  .pf-avatar-initials { font-size: 1.2rem; }
  .pf-stats { grid-template-columns: repeat(2, 1fr); }
  .pf-stat-value { font-size: 1.2rem; }
  .pf-badges-grid { grid-template-columns: repeat(3, 1fr); }
  .pf-badge-emoji { font-size: 1.4rem; }
  .pf-badge-name { font-size: 0.65rem; }
  .pf-rank-item { font-size: 0.8rem; padding: 8px 12px; }

  /* dNFT Gallery responsive */
  .pf-dnft-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pf-dnft-card { padding: 14px 8px 12px; }
  .pf-dnft-emoji { font-size: 1.6rem; }
  .pf-dnft-name { font-size: 0.65rem; }
  .pf-dnft-ep { font-size: 0.55rem; }
  .pf-dnft-cta { font-size: 0.55rem; padding: 4px 8px; }
  .pf-dnft-confirm-dialog { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════
   SPEC-049 Sprint 014 — Withdrawn Badge
   ══════════════════════════════════════════════ */
.pf-dnft-withdrawn {
  background: rgba(251,191,36,0.1); color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.2);
}
.pf-dnft-withdraw-btn {
  display: flex; align-items: center; gap: 4px;
  margin-top: 4px; padding: 4px 8px;
  background: linear-gradient(135deg, rgba(251,191,36,0.12), rgba(251,191,36,0.04));
  border: 1px solid rgba(251,191,36,0.25); border-radius: 5px;
  color: #fbbf24; font-size: 0.55rem; font-weight: 800;
  letter-spacing: 0.8px; cursor: pointer; transition: all 0.2s;
}
.pf-dnft-withdraw-btn:hover {
  background: linear-gradient(135deg, rgba(251,191,36,0.22), rgba(251,191,36,0.08));
  border-color: #fbbf24; transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(251,191,36,0.12);
}

/* ══════════════════════════════════════════════
   SPEC-049 Sprint 014 — WithdrawPanel Modal
   ══════════════════════════════════════════════ */
.wp-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  animation: dnftFadeIn 0.2s ease-out;
}
.wp-modal {
  background: #0f0f0f; border: 1px solid #222; border-radius: 16px;
  max-width: 440px; width: 92%; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  animation: dnftDialogIn 0.25s ease-out;
}
.wp-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid #1a1a1a;
}
.wp-header-title { display: flex; align-items: center; gap: 8px; }
.wp-header-title h3 {
  font-size: 0.88rem; font-weight: 900; letter-spacing: 1px;
  color: #eee; margin: 0;
}
.wp-close {
  background: none; border: none; color: #555; font-size: 1.1rem;
  cursor: pointer; padding: 4px; transition: color 0.15s;
}
.wp-close:hover { color: #fff; }

/* Stepper */
.wp-stepper {
  display: flex; align-items: center; gap: 0;
  padding: 16px 20px; border-bottom: 1px solid #111;
}
.wp-step {
  display: flex; align-items: center; gap: 6px; flex: 1;
}
.wp-step-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 800; flex-shrink: 0;
  background: #1a1a1a; color: #555; border: 1px solid #222;
  transition: all 0.3s;
}
.wp-step.active .wp-step-dot {
  background: linear-gradient(135deg, #49eacb, #36d1b0);
  color: #0d1117; border-color: #49eacb;
}
.wp-step.done .wp-step-dot {
  background: rgba(73,234,203,0.15); color: #49eacb;
  border-color: rgba(73,234,203,0.3);
}
.wp-step-label {
  font-size: 0.55rem; font-weight: 800; letter-spacing: 1px;
  color: #444;
}
.wp-step.active .wp-step-label { color: #49eacb; }
.wp-step.done .wp-step-label { color: #666; }
.wp-step-line {
  flex: 1; height: 1px; background: #222; margin: 0 4px;
}

/* Badge preview */
.wp-badge-preview {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: rgba(255,255,255,0.02);
  border-bottom: 1px solid #111;
}
.wp-badge-emoji { font-size: 1.6rem; }
.wp-badge-info { display: flex; flex-direction: column; gap: 2px; }
.wp-badge-name { font-size: 0.78rem; font-weight: 800; color: #ddd; letter-spacing: 0.5px; }
.wp-badge-id { font-size: 0.6rem; color: #555; font-family: monospace; }

/* Body */
.wp-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.wp-label {
  font-size: 0.6rem; font-weight: 900; letter-spacing: 2px;
  color: #555; margin: 0;
}
.wp-input-wrap {
  position: relative; display: flex; align-items: center;
}
.wp-input-icon {
  position: absolute; left: 12px; pointer-events: none; opacity: 0.5;
}
.wp-input {
  width: 100%; box-sizing: border-box;
  background: #0a0a0a; border: 1px solid #222; border-radius: 8px;
  color: #ddd; padding: 12px 14px 12px 36px; font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace; outline: none;
  transition: border-color 0.2s;
}
.wp-input:focus { border-color: #49eacb; }
.wp-input.wp-input-error { border-color: #ef4444; }
.wp-input-otp {
  text-align: center; font-size: 1.8rem; letter-spacing: 10px;
  font-weight: 800; padding-left: 14px; max-width: 240px;
}
.wp-input-code {
  text-align: center; font-size: 1.1rem; letter-spacing: 4px;
  font-weight: 800; padding-left: 14px; max-width: 200px;
}
.wp-field-error { font-size: 0.72rem; color: #ef4444; margin: 0; }
.wp-hint { font-size: 0.68rem; color: #444; margin: 0; }

/* Warning */
.wp-warning {
  padding: 12px 14px; border-radius: 8px;
  background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15);
}
.wp-warning p { font-size: 0.75rem; color: #ef4444; margin: 0; line-height: 1.5; }

/* Actions */
.wp-actions { display: flex; gap: 10px; margin-top: 8px; }
.wp-btn-primary {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #49eacb, #36d1b0);
  color: #0d1117; border: none; border-radius: 8px;
  padding: 12px 20px; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 1px; cursor: pointer; transition: all 0.2s;
}
.wp-btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.wp-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.wp-btn-secondary {
  background: none; border: 1px solid #333; color: #888;
  border-radius: 8px; padding: 12px 20px; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: all 0.2s;
}
.wp-btn-secondary:hover { border-color: #555; color: #bbb; }
.wp-btn-confirm { background: linear-gradient(135deg, #fbbf24, #f59e0b); }

/* Spinner */
.wp-spinner {
  width: 14px; height: 14px; border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #0d1117; border-radius: 50%;
  animation: pfSpin 0.6s linear infinite; flex-shrink: 0;
}

/* OTP sent badge */
.wp-otp-sent {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 8px;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.15);
  font-size: 0.78rem; color: #22c55e; font-weight: 600;
}
.wp-otp-sent-icon { font-size: 1.2rem; }

/* Timer */
.wp-timer {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.72rem; color: #666; font-weight: 700; letter-spacing: 0.5px;
}
.wp-timer-value { font-size: 1rem; font-weight: 900; color: #49eacb; font-family: monospace; }
.wp-timer-warn .wp-timer-value { color: #ef4444; }

/* Summary */
.wp-summary {
  display: flex; flex-direction: column; gap: 2px;
  background: #0a0a0a; border: 1px solid #1a1a1a; border-radius: 8px;
  overflow: hidden; margin-top: 4px;
}
.wp-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-bottom: 1px solid #111;
}
.wp-summary-row:last-child { border-bottom: none; }
.wp-summary-label { font-size: 0.6rem; font-weight: 900; letter-spacing: 1.5px; color: #444; }
.wp-summary-value { font-size: 0.78rem; font-weight: 700; color: #ddd; }
.wp-addr-truncated { font-family: monospace; font-size: 0.7rem; }

/* Error banner */
.wp-error-banner {
  display: flex; align-items: center; gap: 8px;
  margin: 0 20px; padding: 10px 14px; border-radius: 8px;
  background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15);
  font-size: 0.78rem; color: #ef4444; font-weight: 600;
}

/* Result */
.wp-result { align-items: center; text-align: center; }
.wp-result-icon { font-size: 3rem; }
.wp-result-title { font-size: 1.1rem; font-weight: 900; color: #fff; margin: 0; }
.wp-result-text { font-size: 0.82rem; color: #888; margin: 0; }
.wp-tx-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px;
  background: rgba(73,234,203,0.08); border: 1px solid rgba(73,234,203,0.15);
  color: #49eacb; font-size: 0.75rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
}
.wp-tx-link:hover { background: rgba(73,234,203,0.15); }
.wp-tx-id { font-family: monospace; font-size: 0.65rem; color: #666; }

/* ══════════════════════════════════════════════
   SPEC-049 Sprint 014 — FoundersShowcase
   ══════════════════════════════════════════════ */
.fs-showcase { padding: 0; }
.fs-header { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.fs-title-row { display: flex; align-items: center; gap: 10px; }
.fs-subtitle { font-size: 0.68rem; color: #555; letter-spacing: 1px; font-weight: 600; }

.fs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.fs-card {
  position: relative; display: flex; flex-direction: column;
  align-items: center; gap: 8px; padding: 24px 16px 18px;
  background: var(--fs-bg, #0d0d0d);
  border: 1px solid var(--fs-border, #1a1a1a); border-radius: 14px;
  box-shadow: 0 0 20px var(--fs-glow, transparent);
  transition: all 0.3s ease;
}
.fs-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--fs-glow, transparent); }
.fs-card.fs-sold-out { opacity: 0.5; }
.fs-rarity {
  position: absolute; top: 8px; right: 10px;
  font-size: 0.5rem; font-weight: 900; letter-spacing: 1.5px;
  color: var(--fs-border, #555); text-transform: uppercase;
}
.fs-emoji { font-size: 2.2rem; }
.fs-tier-name {
  font-size: 0.82rem; font-weight: 900; letter-spacing: 1px;
  color: #eee; margin: 0; text-transform: capitalize;
}
.fs-price {
  font-size: 1.4rem; font-weight: 900; color: #fff;
  background: var(--fs-accent, linear-gradient(135deg, #fff, #ccc));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Supply counter */
.fs-supply {
  width: 100%; display: flex; flex-direction: column; gap: 4px;
  margin-top: 4px;
}
.fs-supply-label { font-size: 0.55rem; font-weight: 800; letter-spacing: 1.5px; color: #555; }
.fs-supply-count { font-size: 0.78rem; color: #ddd; }
.fs-supply-count strong { color: #fff; font-weight: 900; }
.fs-supply-sold {
  font-size: 0.65rem; font-weight: 900; letter-spacing: 2px;
  color: #ef4444; text-align: center;
}
.fs-supply-bar {
  width: 100%; height: 4px; background: #1a1a1a;
  border-radius: 2px; overflow: hidden;
}
.fs-supply-fill {
  height: 100%; border-radius: 2px;
  background: var(--fs-accent, linear-gradient(90deg, #49eacb, #36d1b0));
  transition: width 0.5s ease;
}

/* Benefits */
.fs-benefits { width: 100%; margin-top: 6px; }
.fs-benefits-title {
  font-size: 0.55rem; font-weight: 900; letter-spacing: 2px;
  color: #444; margin-bottom: 6px; display: block;
}
.fs-benefits-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.fs-benefits-list li {
  font-size: 0.68rem; color: #888; padding-left: 14px;
  position: relative; line-height: 1.4;
}
.fs-benefits-list li::before {
  content: '✦'; position: absolute; left: 0; color: var(--fs-border, #555);
  font-size: 0.5rem;
}

/* CTA */
.fs-cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 8px; padding: 10px;
  background: var(--fs-accent, linear-gradient(135deg, #49eacb, #36d1b0));
  color: #0d1117; border: none; border-radius: 8px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
  cursor: pointer; transition: all 0.2s;
}
.fs-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.fs-cta:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }

/* Loading */
.fs-loading { display: flex; align-items: center; justify-content: center; padding: 40px; }
.fs-loading-sm { display: flex; align-items: center; justify-content: center; padding: 20px; }

/* My Orders */
.fs-my-orders { margin-top: 20px; }
.fs-orders-title {
  font-size: 0.78rem; font-weight: 900; letter-spacing: 2px;
  color: #666; margin: 0 0 12px;
}
.fs-no-orders { font-size: 0.82rem; color: #444; text-align: center; padding: 16px; }
.fs-orders-list { display: flex; flex-direction: column; gap: 6px; }
.fs-order-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: #0d0d0d;
  border: 1px solid var(--fs-border, #1a1a1a); border-radius: 10px;
  transition: background 0.15s;
}
.fs-order-card:hover { background: rgba(255,255,255,0.02); }
.fs-order-emoji { font-size: 1.3rem; }
.fs-order-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.fs-order-tier { font-size: 0.78rem; font-weight: 800; color: #ddd; text-transform: capitalize; }
.fs-order-edition { font-size: 0.6rem; color: #555; font-family: monospace; }
.fs-order-status {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 4px;
}
.fs-status-pending { background: rgba(255,255,255,0.04); color: #888; }
.fs-status-paid { background: rgba(59,130,246,0.1); color: #60a5fa; }
.fs-status-minting { background: rgba(251,191,36,0.1); color: #fbbf24; }
.fs-status-minted { background: rgba(73,234,203,0.1); color: #49eacb; }
.fs-status-delivered { background: rgba(34,197,94,0.1); color: #22c55e; }
.fs-order-tx {
  display: flex; padding: 6px; border-radius: 6px;
  background: rgba(73,234,203,0.08); transition: background 0.15s;
}
.fs-order-tx:hover { background: rgba(73,234,203,0.15); }

/* ══════════════════════════════════════════════
   SPEC-049 Sprint 014 — Artist Handle Page
   ══════════════════════════════════════════════ */
.ah-root { min-height: 100vh; }
.ah-hero {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 70vh; padding: 60px 24px;
}
.ah-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, rgba(230,0,0,0.08) 0%, transparent 60%);
}
.ah-hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; max-width: 600px; text-align: center;
}
.ah-avatar-wrap { position: relative; }
.ah-avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid #222; box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.ah-avatar-initial {
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; font-weight: 900; color: var(--w-red);
  background: linear-gradient(135deg, rgba(230,0,0,0.12), rgba(230,0,0,0.04));
  border: 3px solid #222;
}
.ah-tier-badge {
  position: absolute; bottom: -4px; right: -4px;
  font-size: 0.5rem; font-weight: 900; letter-spacing: 1.5px;
  padding: 3px 8px; border-radius: 4px;
  background: #111; border: 1px solid #333; color: #888;
}
.ah-tier-partner { border-color: var(--w-red); color: var(--w-red); }
.ah-tier-featured { border-color: #fbbf24; color: #fbbf24; }
.ah-name { font-size: 2rem; font-weight: 900; color: #fff; margin: 0; letter-spacing: 1px; }
.ah-handle { font-size: 0.88rem; color: #555; font-weight: 700; letter-spacing: 0.5px; }
.ah-stats { display: flex; gap: 28px; margin-top: 8px; }
.ah-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ah-stat-value { font-size: 1rem; font-weight: 900; color: #eee; }
.ah-stat-label { font-size: 0.55rem; font-weight: 800; letter-spacing: 2px; color: #444; }
.ah-bio { font-size: 0.88rem; color: #888; line-height: 1.6; margin: 0; max-width: 480px; }
.ah-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ah-social-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; background: #0d0d0d;
  border: 1px solid #1a1a1a; border-radius: 8px;
  color: #aaa; font-size: 0.72rem; font-weight: 700;
  text-decoration: none; text-transform: capitalize;
  transition: all 0.2s;
}
.ah-social-link:hover { border-color: var(--w-red); color: #fff; background: rgba(230,0,0,0.04); }
.ah-social-icon { font-size: 1rem; }
.ah-social-name { letter-spacing: 0.5px; }

/* ── Sprint 014 — Mobile overrides ── */
@media (max-width: 768px) {
  .wp-modal { max-width: 96%; }
  .wp-input-otp { font-size: 1.4rem; letter-spacing: 6px; }
  .fs-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fs-card { padding: 18px 12px 14px; }
  .fs-emoji { font-size: 1.8rem; }
  .fs-price { font-size: 1.1rem; }
  .ah-avatar, .ah-avatar-initial { width: 90px; height: 90px; }
  .ah-name { font-size: 1.5rem; }
  .ah-stats { gap: 16px; }
}
@media (max-width: 480px) {
  .fs-grid { grid-template-columns: 1fr 1fr; }
  .ah-hero { min-height: 60vh; padding: 40px 16px; }
}

/* ══════════════════════════════════════════════
   SPEC-046 F-038 — Referral Widget
   ══════════════════════════════════════════════ */

.pf-referral-section { padding: 0; }

.pf-referral-subtitle {
  font-size: 0.78rem; color: #666; margin: -8px 0 16px;
  line-height: 1.5;
}

.pf-referral-loading {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; min-height: 80px;
}

/* ── Code Card ── */
.pf-referral-card {
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 0;
}

.pf-referral-code-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px;
  border-bottom: 1px solid #111;
}
.pf-referral-code-label {
  font-size: 0.6rem; font-weight: 900; letter-spacing: 2px;
  color: #444; flex-shrink: 0;
}
.pf-referral-code-box {
  display: flex; align-items: center; gap: 8px;
}
.pf-referral-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem; font-weight: 900; letter-spacing: 3px;
  color: #fff;
  background: linear-gradient(135deg, rgba(230,0,0,0.08), rgba(230,0,0,0.02));
  padding: 6px 14px; border-radius: 6px;
  border: 1px solid rgba(230,0,0,0.15);
}
.pf-referral-copy-btn {
  width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid #222; background: #111;
  color: #888; font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.pf-referral-copy-btn:hover {
  border-color: var(--w-red); color: var(--w-red);
  background: rgba(230,0,0,0.04);
}
.pf-referral-copy-btn.copied {
  border-color: #22c55e; color: #22c55e;
  background: rgba(34,197,94,0.06);
}

/* ── Link display ── */
.pf-referral-link-row {
  padding: 10px 18px;
  border-bottom: 1px solid #111;
}
.pf-referral-url {
  font-size: 0.72rem; color: #555;
  font-family: 'JetBrains Mono', monospace;
  word-break: break-all;
}

/* ── Action buttons ── */
.pf-referral-actions {
  display: flex; gap: 8px; padding: 14px 18px;
}
.pf-referral-share-btn,
.pf-referral-qr-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 16px;
  border-radius: 8px; border: 1px solid #222;
  background: #111; color: #ddd;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 1px;
  cursor: pointer; transition: all 0.2s;
}
.pf-referral-share-btn:hover {
  border-color: var(--w-red); color: #fff;
  background: linear-gradient(135deg, rgba(230,0,0,0.08), rgba(230,0,0,0.02));
}
.pf-referral-qr-btn:hover,
.pf-referral-qr-btn.active {
  border-color: #49eacb; color: #49eacb;
  background: rgba(73,234,203,0.06);
}

/* ── Feedback ── */
.pf-referral-feedback {
  padding: 8px 18px; font-size: 0.75rem; font-weight: 600;
  text-align: center; animation: pfSlideDown 0.2s ease-out;
}
.pf-referral-feedback.ok,
.pf-referral-feedback.copied {
  color: #22c55e; background: rgba(34,197,94,0.06);
}
.pf-referral-feedback.error {
  color: #ef4444; background: rgba(239,68,68,0.06);
}

/* ── QR Code ── */
.pf-referral-qr-wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 20px 18px;
  border-top: 1px solid #111;
  animation: pfSlideDown 0.25s ease-out;
}
.pf-referral-qr-container {
  padding: 16px; background: #0d0d0d;
  border: 1px solid #222; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.pf-referral-qr-hint {
  font-size: 0.65rem; color: #444; letter-spacing: 1px;
  font-weight: 700; text-align: center;
}

/* ── Stats grid ── */
.pf-referral-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
  overflow: hidden; margin-top: 12px;
}
.pf-referral-stat {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 18px 12px;
  background: #0d0d0d; transition: background 0.15s;
}
.pf-referral-stat:hover { background: rgba(255,255,255,0.02); }
.pf-referral-stat-value {
  font-size: 1.4rem; font-weight: 900; color: #fff;
  letter-spacing: 0.5px;
}
.pf-referral-stat-label {
  font-size: 0.55rem; font-weight: 900; letter-spacing: 2px;
  color: #444; text-align: center;
}

/* ── Recent referrals ── */
.pf-referral-recent { margin-top: 12px; }
.pf-referral-recent-title {
  display: block; font-size: 0.65rem; font-weight: 900;
  letter-spacing: 2px; color: #555; margin-bottom: 8px;
}
.pf-referral-recent-list {
  display: flex; flex-direction: column; gap: 2px;
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 10px;
  overflow: hidden;
}
.pf-referral-recent-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 0.82rem;
  border-bottom: 1px solid #111;
  transition: background 0.15s;
}
.pf-referral-recent-item:last-child { border-bottom: none; }
.pf-referral-recent-item:hover { background: rgba(255,255,255,0.02); }
.pf-referral-recent-icon { font-size: 0.9rem; flex-shrink: 0; }
.pf-referral-recent-name {
  flex: 1; color: #ddd; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pf-referral-recent-date {
  font-size: 0.65rem; color: #555; font-weight: 700;
  letter-spacing: 0.5px; flex-shrink: 0;
}

/* ── Leaderboard ── */
.pf-referral-leaderboard { margin-top: 16px; }
.pf-referral-lb-title {
  font-size: 0.72rem; font-weight: 900; letter-spacing: 2px;
  color: #666; margin: 0 0 10px;
}
.pf-referral-lb-list {
  display: flex; flex-direction: column; gap: 2px;
  background: #0d0d0d; border: 1px solid #1a1a1a; border-radius: 12px;
  overflow: hidden;
}
.pf-referral-lb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; font-size: 0.82rem;
  border-bottom: 1px solid #111;
  transition: background 0.15s;
}
.pf-referral-lb-item:last-child { border-bottom: none; }
.pf-referral-lb-item:hover { background: rgba(255,255,255,0.02); }
.pf-referral-lb-item.me {
  background: rgba(230,0,0,0.06);
  border-left: 3px solid var(--w-red);
}
.pf-referral-lb-pos {
  min-width: 28px; font-weight: 900; color: #888;
  text-align: center; font-size: 0.85rem;
}
.pf-referral-lb-name {
  flex: 1; color: #ddd; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pf-referral-lb-count {
  font-size: 0.68rem; font-weight: 800; color: #555;
  letter-spacing: 0.5px; flex-shrink: 0;
}
.pf-referral-lb-mypos {
  font-size: 0.75rem; color: #666;
  text-align: center; margin: 8px 0 0;
}
.pf-referral-lb-mypos strong { color: var(--w-red); }

/* ── F-038 Responsive ── */
@media (max-width: 768px) {
  .pf-referral-code { font-size: 0.95rem; letter-spacing: 2px; }
  .pf-referral-stats { grid-template-columns: repeat(3, 1fr); }
  .pf-referral-stat-value { font-size: 1.1rem; }
  .pf-referral-actions { flex-direction: column; }
  .pf-referral-lb-item { font-size: 0.78rem; padding: 8px 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   F-020C PUSH MANAGER WIDGET
   ═══════════════════════════════════════════════════════════════════════════ */
.pf-push-manager {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease;
}
.pf-push-manager:hover {
  border-color: rgba(255,255,255,0.15);
}

.pf-push-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pf-push-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(255,180,50,0.4));
}
.pf-push-info { flex: 1; }
.pf-push-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pf-push-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 4px 0 0 0;
  line-height: 1.4;
}

/* Enable Button */
.pf-push-enable-btn {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pf-push-enable-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.pf-push-enable-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Toggle Row */
.pf-push-toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pf-push-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}
.pf-push-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.pf-push-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  transition: all 0.3s ease;
}
.pf-push-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}
.pf-push-toggle input:checked + .pf-push-slider {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.pf-push-toggle input:checked + .pf-push-slider::before {
  transform: translateX(24px);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pf-push-status {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pf-push-devices {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-left: auto;
}

/* Blocked State */
.pf-push-blocked {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
}
.pf-push-blocked-icon { font-size: 1.2rem; }
.pf-push-blocked-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.pf-social-panel {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 20px;
}
.pf-social-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.pf-social-head span {
  color: var(--w-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pf-social-head a,
.pf-social-head button {
  background: #151515;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}
.pf-feed-list,
.pf-notification-list {
  display: grid;
  gap: 10px;
}
.pf-feed-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.pf-feed-item img,
.pf-feed-item > span {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #151515;
  display: grid;
  place-items: center;
  color: var(--w-red);
  font-weight: 900;
}
.pf-feed-item small,
.pf-notification-list small {
  color: #888;
  font-size: 11px;
  text-transform: uppercase;
}
.pf-feed-item strong,
.pf-notification-list strong {
  display: block;
  color: #fff;
  font-size: 15px;
}
.pf-feed-item p,
.pf-notification-list span {
  color: #aaa;
  display: block;
  font-size: 13px;
  line-height: 1.4;
  margin: 3px 0 0;
}
.pf-following-strip,
.pf-following-grid,
.pf-public-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.pf-following-strip a,
.pf-public-badges span {
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.24);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  text-decoration: none;
}
.pf-notification-list a {
  border-left: 3px solid transparent;
  color: #fff;
  padding: 10px 12px;
  text-decoration: none;
}
.pf-notification-list a.unread {
  background: rgba(230,57,70,0.08);
  border-left-color: var(--w-red);
}
.pf-public-name {
  color: #fff;
  font-size: 32px;
  margin: 0 0 8px;
}
.pf-following-grid a {
  align-items: center;
  color: #fff;
  display: flex;
  gap: 8px;
  text-decoration: none;
}
.pf-following-grid img {
  border-radius: 50%;
  height: 32px;
  object-fit: cover;
  width: 32px;
}

/* ── F-020C Responsive ── */
@media (max-width: 768px) {
  .pf-push-manager { padding: 16px 18px; }
  .pf-push-title { font-size: 0.9rem; }
  .pf-push-desc { font-size: 0.78rem; }
  .pf-social-head { flex-direction: column; }
}
/* ════════════════════════════════════════════════
   Module: 07-pages.css
   Sources: 20-news-card.css 30-news-page.css 31-programacao.css 32-eventos.css 23-ranking.css 11-article-exception.css
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   NEWS CARD — card de notícia com imagem
   ═══════════════════════════════════════════════════════════════ */

.news-card .card-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: #111;
}

.news-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* ── Skeleton loading ── */

.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 70%; }

@keyframes skeletonPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ── Responsivo: twitch-panels 2 col em mobile (já definido acima via @media) ── */



/* ═══════════════════════════════════════════════════════════════════════════
   NEWS PAGE — MASONRY ADAPTIVE GRID (PRD-007 Sprint 1)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Filtros de tipo — pills */
.news-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.news-filter-pill {
  padding: 6px 18px;
  border: 1px solid #333;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--w-ash);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
}
.news-filter-pill:hover { border-color: var(--w-red); color: #fff; }
.news-filter-pill.active {
  background: var(--w-red);
  border-color: var(--w-red);
  color: #fff;
}
.news-filter-pill .pill-count {
  font-size: 0.6rem;
  opacity: 0.6;
  margin-left: 4px;
}

/* Hero destaque */
.news-hero-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: border-color 0.3s;
  text-decoration: none;
  color: inherit;
  min-height: 360px;
}
.news-hero-featured:hover { border-color: var(--w-red); }
.news-hero-img-wrap {
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0a0000, #1a0808);
}
.news-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.news-hero-featured:hover .news-hero-img-wrap img { transform: scale(1.04); }
.news-hero-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.news-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--w-red);
}
.news-hero-title {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
}
.news-hero-excerpt {
  font-size: 0.88rem;
  color: var(--w-ash);
  line-height: 1.65;
}
.news-hero-author {
  font-size: 0.68rem;
  font-weight: 700;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .news-hero-featured { grid-template-columns: 1fr; min-height: auto; }
  .news-hero-img-wrap { aspect-ratio: 16/9; }
  .news-hero-body { padding: 20px; }
}

/* Masonry Grid */
.news-masonry {
  width: 100%;
  padding: 20px 5% 60px;
}
.news-masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (min-width: 1800px) { .news-masonry-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1200px) { .news-masonry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .news-masonry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .news-masonry-grid { grid-template-columns: 1fr; } }

/* Card base */
.news-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 5px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.news-card:hover { border-color: var(--w-red); transform: translateY(-3px); }

/* Card destacada — span 2 colunas */
.news-card--featured {
  grid-column: span 2;
}
.news-card--featured .news-card-img { aspect-ratio: 21/9; }
.news-card--featured .news-card-title { font-size: 1.2rem; }
@media (max-width: 768px) { .news-card--featured { grid-column: span 1; } }

/* In-feed ad card */
.news-card--ad {
  grid-column: 1 / -1;
  padding: 0;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
}
.news-card--ad:hover {
  transform: none;
  border-color: #333;
}
.news-card--ad .banner-slot { cursor: pointer; }
.news-card--ad .banner-slot-media { border-radius: 12px; }

/* Card imagem — adapta a aspect ratio */
.news-card-img {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0a0000, #1a0808);
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #110000, #220808);
  color: var(--w-red);
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 0.75rem;
}

/* Card meta */
.news-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.news-card-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  width: fit-content;
}
.news-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}
.news-card-excerpt {
  font-size: 0.76rem;
  color: var(--w-ash);
  line-height: 1.55;
}
.news-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  color: #444;
  font-weight: 700;
  margin-top: auto;
  padding-top: 6px;
}
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--w-ash);
  font-style: italic;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PROGRAMAÇÃO PAGE (PRD-007 Sprint 2)
   ═══════════════════════════════════════════════════════════════════════════ */

.prog-page {
  width: 100%;
  padding: 40px 5% 60px;
}

/* Seção da grade */
.prog-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1a1a1a;
}
.prog-section-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--w-red);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Timetable grid */
.prog-timetable {
  display: grid;
  grid-template-columns: 100px repeat(7, 1fr);
  gap: 1px;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 50px;
}
.prog-tt-header {
  background: #111;
  padding: 14px 8px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--w-ash);
  text-transform: uppercase;
}
.prog-tt-header.today { color: var(--w-red); border-bottom: 2px solid var(--w-red); }
.prog-tt-time {
  background: #0a0a0a;
  padding: 12px 8px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #555;
  font-variant-numeric: tabular-nums;
}
.prog-tt-slot {
  background: #0d0d0d;
  padding: 10px 8px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--w-ash);
  transition: background 0.2s;
  cursor: default;
}
.prog-tt-slot.active {
  background: rgba(230, 57, 70, 0.12);
  color: #fff;
  font-weight: 800;
  border-left: 2px solid var(--w-red);
}
.prog-tt-slot.rotation {
  color: #666;
  font-size: 0.62rem;
  font-weight: 500;
  font-style: italic;
}
.prog-tt-slot:hover { background: rgba(255,255,255,0.03); }
@media (max-width: 900px) {
  .prog-timetable { grid-template-columns: 70px repeat(7, 1fr); }
  .prog-tt-header { font-size: 0.6rem; padding: 10px 4px; }
  .prog-tt-slot { font-size: 0.58rem; padding: 8px 4px; }
}
@media (max-width: 600px) {
  .prog-timetable { display: none; }
  .prog-timetable-mobile { display: block; }
}
.prog-timetable-mobile { display: none; }
.prog-mobile-divider {
  padding: 12px 16px;
  background: rgba(230,0,0,0.08);
  color: var(--w-red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  border-bottom: 1px solid #1a1a1a;
}
.prog-mobile-slot--program {
  border-left: 3px solid var(--w-red);
}
.prog-mobile-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #1a1a1a;
  background: #0d0d0d;
}
.prog-mobile-slot .prog-mobile-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--w-red);
  min-width: 60px;
}
.prog-mobile-slot .prog-mobile-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex: 1;
}
.prog-mobile-slot .prog-mobile-day {
  font-size: 0.7rem;
  color: var(--w-ash);
}

/* Programa cards — hover-to-play video */
.prog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
@media (min-width: 1200px) { .prog-cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .prog-cards-grid { grid-template-columns: 1fr; } }

.prog-card {
  position: relative;
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: border-color 0.4s, transform 0.35s, box-shadow 0.4s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  will-change: transform;
}
.prog-card:hover,
.prog-card--playing {
  border-color: var(--w-red);
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 30px rgba(230,57,70,0.08);
}

/* Poster layer — visible by default, covers the card */
.prog-card-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.05);
}
.prog-card:hover .prog-card-poster,
.prog-card--playing .prog-card-poster {
  opacity: 0.7;
  transform: scale(1);
}
.prog-card-poster--hidden {
  opacity: 0 !important;
  pointer-events: none;
}

/* Video layer — hidden until loaded + playing */
.prog-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.05);
}
.prog-card video.prog-card-video--active {
  opacity: 0.7;
  transform: scale(1);
}

/* Gradient overlay */
.prog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.6) 40%,
    rgba(0,0,0,0.15) 70%,
    transparent 100%
  );
  z-index: 1;
  transition: opacity 0.4s;
}
.prog-card:hover .prog-card-overlay,
.prog-card--playing .prog-card-overlay { opacity: 0.85; }

/* Top glow line */
.prog-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--w-red), transparent);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s;
}
.prog-card:hover .prog-card-glow,
.prog-card--playing .prog-card-glow { opacity: 1; }

/* Content */
.prog-card-content { position: relative; z-index: 2; }
.prog-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.prog-card-time {
  display: inline-block;
  background: var(--w-red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.prog-card-badge--soon {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: var(--w-ash);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1.5px;
  border: 1px solid rgba(255,255,255,0.1);
}
.prog-card-category {
  font-size: 0.85rem;
  line-height: 1;
}
.prog-card-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: text-shadow 0.4s;
}
.prog-card:hover .prog-card-name,
.prog-card--playing .prog-card-name {
  text-shadow:
    0 2px 12px rgba(0,0,0,0.8),
    0 0 20px rgba(230,57,70,0.15);
}
.prog-card-desc {
  font-size: 0.82rem;
  color: #bbb;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Off-air cards (subtle) */
.prog-card--offair { opacity: 0.85; }
.prog-card--offair:hover { opacity: 1; }

/* Mobile play hint */
.prog-card-play-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
@media (hover: none) {
  .prog-card-play-hint { opacity: 1; }
}
@media (hover: hover) {
  .prog-card-play-hint { display: none; }
}

/* Artistas grid */
.prog-artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.prog-artist-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 20px 14px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.prog-artist-card:hover { border-color: var(--w-red); transform: translateY(-2px); }
.prog-artist-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1a1a1a;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--w-red);
  overflow: hidden;
  border: 2px solid #222;
}
.prog-artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.prog-artist-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.prog-artist-stats {
  font-size: 0.65rem;
  color: var(--w-ash);
}


/* ═══════════════════════════════════════════════════════════════════════════
   EVENTOS AGENDA (PRD-007 Sprint 3 + International v4.3)
   ═══════════════════════════════════════════════════════════════════════════ */

.evt-page {
  width: 100%;
  padding: 40px 5% 60px;
}

/* Filtros */
.evt-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
  padding: 16px 0;
  border-bottom: 1px solid #1a1a1a;
}
.evt-month-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 4px;
}
.evt-month-btn {
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  color: var(--w-ash);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-size: 1rem;
}
.evt-month-btn:hover { background: #222; color: #fff; }
.evt-month-label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  min-width: 140px;
  text-align: center;
  text-transform: uppercase;
}
.evt-country-select,
.evt-city-select {
  padding: 8px 16px;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.evt-country-select:focus,
.evt-city-select:focus { border-color: var(--w-red); }
.evt-results-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--w-ash);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Timeline */
.evt-timeline { display: flex; flex-direction: column; gap: 0; }
.evt-date-group { margin-bottom: 8px; }
.evt-date-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  position: sticky;
  top: 56px;
  background: #080808;
  z-index: 5;
}
.evt-date-marker {
  min-width: 64px;
  height: 64px;
  background: var(--w-red);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.evt-date-marker.past { background: #333; }
.evt-date-day {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.evt-date-month {
  font-size: 0.6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.evt-date-weekday {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.evt-date-line {
  flex: 1;
  height: 1px;
  background: #1a1a1a;
}

/* Event cards */
.evt-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  padding-left: 80px;
  margin-bottom: 16px;
}
@media (max-width: 768px) { .evt-cards-list { padding-left: 0; grid-template-columns: 1fr; } }
a.evt-card,
div.evt-card,
.evt-card {
  display: flex;
  gap: 14px;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: default;
}
a.evt-card { cursor: pointer; }
a.evt-card:hover,
.evt-card:hover { border-color: var(--w-red); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(230,57,70,0.08); }
.evt-card.past { opacity: 0.5; }
.evt-card-img {
  width: 120px;
  min-height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1a1a, #1a2d2d);
  display: flex;
  align-items: center;
  justify-content: center;
}
.evt-card-img img { width: 100%; height: 100%; object-fit: cover; }
.evt-card-img-placeholder {
  font-size: 2rem;
}
.evt-card-body {
  padding: 14px 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.evt-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.evt-card-type {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #2a9d8f;
  text-transform: uppercase;
}
.evt-card-country {
  font-size: 0.75rem;
  line-height: 1;
}
.evt-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.evt-card-desc {
  font-size: 0.72rem;
  color: #888;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.evt-card-location {
  font-size: 0.72rem;
  color: var(--w-ash);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.evt-card-time {
  font-size: 0.68rem;
  color: #555;
  font-weight: 700;
}
.evt-card-source {
  font-size: 0.62rem;
  color: #444;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Empty state */
.evt-empty {
  text-align: center;
  padding: 80px 20px;
  background: #0d0d0d;
  border: 1px dashed #222;
  border-radius: 12px;
}
.evt-empty h3 {
  font-size: 1.4rem;
  color: var(--w-ash);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.evt-empty p {
  color: #555;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Event Submit CTA [Sprint 003] ── */
.evt-submit-cta {
  margin-top: 3rem;
  padding: 0;
}
.evt-submit-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(230,57,70,0.06) 0%, rgba(230,57,70,0.02) 100%);
  border: 1px solid rgba(230,57,70,0.15);
  border-radius: 12px;
}
.evt-submit-cta-text h3 {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
}
.evt-submit-cta-text p {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}
.evt-submit-cta-btn {
  padding: 12px 28px;
  background: var(--w-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s;
}
.evt-submit-cta-btn:hover {
  background: #c5303c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,57,70,0.3);
}
@media (max-width: 640px) {
  .evt-submit-cta-inner { flex-direction: column; text-align: center; }
}

/* ── Event Submit Modal [Sprint 003] ── */
.evt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: evtModalFadeIn 0.25s ease-out;
}
@keyframes evtModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.evt-modal {
  background: #0d0d0d;
  border: 1px solid #222;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  animation: evtModalSlideIn 0.3s ease-out;
}
@keyframes evtModalSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.evt-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none; border: none;
  color: #666; font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}
.evt-modal-close:hover { color: #fff; }

.evt-modal-header {
  margin-bottom: 1.5rem;
}
.evt-modal-header h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  margin: 0 0 6px;
}
.evt-modal-header p {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

.evt-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.evt-modal-row {
  display: flex;
  gap: 12px;
}
.evt-modal-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.evt-modal-field--sm { max-width: 140px; }
.evt-modal-field label {
  font-size: 0.73rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.evt-modal-field input,
.evt-modal-field select,
.evt-modal-field textarea {
  padding: 10px 14px;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.evt-modal-field input:focus,
.evt-modal-field select:focus,
.evt-modal-field textarea:focus {
  border-color: var(--w-red);
}
.evt-modal-field textarea { resize: vertical; }

.evt-modal-error {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 600;
}

.evt-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.evt-modal-btn--ghost {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #333;
  border-radius: 8px;
  color: #999;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.evt-modal-btn--ghost:hover { border-color: #666; color: #fff; }
.evt-modal-btn--primary {
  padding: 10px 24px;
  background: var(--w-red);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s;
}
.evt-modal-btn--primary:hover { background: #c5303c; }
.evt-modal-btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }

.evt-modal-success {
  text-align: center;
  padding: 2rem 1rem;
}
.evt-modal-success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.evt-modal-success h3 {
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 8px;
}
.evt-modal-success p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
@media (max-width: 480px) {
  .evt-modal-row { flex-direction: column; }
  .evt-modal-field--sm { max-width: none; }
}

/* ── Global Hip-Hop Agenda [SPEC-055] ── */
.evt-page--agenda {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 28px;
}
.evt-agenda-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 26px 0 22px;
  border-bottom: 1px solid #1b1b1b;
}
.evt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2a9d8f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.evt-agenda-head h1,
.evt-detail-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  font-weight: 950;
}
.evt-agenda-head p,
.evt-detail-hero-copy p {
  max-width: 720px;
  margin: 10px 0 0;
  color: #aaa;
  line-height: 1.6;
}
.evt-primary-action,
.evt-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.evt-primary-action {
  background: var(--w-red);
  color: #fff;
}
.evt-secondary-action {
  background: #101010;
  color: #fff;
  border-color: #292929;
}
.evt-search-panel {
  margin: 18px 0;
  padding: 16px;
  background: #0c0c0c;
  border: 1px solid #202020;
  border-radius: 8px;
}
.evt-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: #050505;
  border: 1px solid #242424;
  border-radius: 8px;
  color: #777;
}
.evt-search-field input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
}
.evt-filter-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.evt-select-filter {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.evt-select-filter span {
  color: #777;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.evt-select-filter select {
  height: 42px;
  background: #111;
  border: 1px solid #252525;
  border-radius: 8px;
  color: #fff;
  padding: 0 10px;
  font-weight: 800;
  min-width: 0;
}
.evt-filter-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  color: #888;
  font-size: 0.8rem;
  font-weight: 800;
}
.evt-filter-summary span,
.evt-card-cta,
.evt-card-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.evt-filter-summary button {
  background: transparent;
  border: 0;
  color: #ddd;
  font-weight: 900;
  cursor: pointer;
}
.evt-package-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}
.evt-package-pill {
  text-align: left;
  border: 1px solid #252525;
  background: #0b0b0b;
  color: #fff;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.evt-package-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.evt-pill-tier {
  display: block;
  color: #888;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.evt-pill-benefit {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  flex: 1;
}
.evt-pill-cta {
  display: block;
  margin-top: 4px;
  color: #999;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.evt-package-pill:hover .evt-pill-cta { color: #fff; }
.evt-package-pill.tier-premium,
.evt-card-package.tier-premium { border-color: rgba(42,157,143,0.45); }
.evt-package-pill.tier-premium:hover { border-color: rgba(42,157,143,0.7); box-shadow: 0 4px 20px rgba(42,157,143,0.15); }
.evt-package-pill.tier-enterprise,
.evt-card-package.tier-enterprise { border-color: rgba(251,191,36,0.5); }
.evt-package-pill.tier-enterprise:hover { border-color: rgba(251,191,36,0.7); box-shadow: 0 4px 20px rgba(251,191,36,0.15); }
.evt-cards-list--agenda {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}
.evt-card--premium,
.evt-card--enterprise {
  border-color: rgba(42,157,143,0.3);
}
.evt-card--enterprise {
  min-height: 160px;
  border-color: rgba(251,191,36,0.45);
}
.evt-card-package {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
  background: #111;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.evt-card-cta {
  margin-top: 4px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}
.evt-modal--wide {
  max-width: 920px;
}
.evt-package-chooser {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.evt-package-chooser label {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #111;
  border: 1px solid #242424;
  border-radius: 8px;
  cursor: pointer;
}
.evt-package-chooser label.active {
  border-color: var(--w-red);
}
.evt-package-chooser input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.evt-package-chooser span {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.evt-package-chooser strong {
  color: #999;
  font-size: 0.8rem;
}
.evt-modal-field span {
  font-size: 0.73rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.evt-modal-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  font-size: 0.86rem;
  font-weight: 800;
}
.evt-modal-price {
  margin-right: auto;
  color: #888;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}
.evt-modal-success svg {
  color: #2a9d8f;
}
.evt-modal-success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.evt-detail-page {
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px 5% 70px;
}
.evt-detail-hero {
  min-height: min(72vh, 680px);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 32px;
  align-items: end;
  padding: 34px 0;
  border-bottom: 1px solid #1d1d1d;
}
.evt-detail-hero-media {
  min-height: 420px;
  border-radius: 8px;
  background-image: linear-gradient(to top, rgba(0,0,0,0.38), rgba(0,0,0,0.02)), var(--evt-hero-image);
  background-size: cover;
  background-position: center;
  border: 1px solid #222;
}
.evt-detail-hero-copy {
  padding-bottom: 12px;
}
.evt-detail-meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #ddd;
  font-weight: 800;
}
.evt-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.evt-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.evt-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  margin: 26px 0;
}
.evt-detail-main,
.evt-detail-side,
.evt-artist-card {
  border: 1px solid #222;
  background: #0c0c0c;
  border-radius: 8px;
}
.evt-detail-main,
.evt-detail-side {
  padding: 22px;
}
.evt-detail-main h2,
.evt-lineup-head h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.5rem;
}
.evt-detail-main p,
.evt-detail-side p {
  color: #aaa;
  line-height: 1.7;
}
.evt-detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}
.evt-detail-facts div {
  padding: 12px;
  background: #090909;
  border: 1px solid #1c1c1c;
  border-radius: 8px;
}
.evt-detail-facts dt {
  color: #777;
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 900;
}
.evt-detail-facts dd {
  margin: 6px 0 0;
  color: #fff;
  font-weight: 900;
}
.evt-lineup-section {
  margin-top: 26px;
}
.evt-lineup-head {
  margin-bottom: 14px;
}
.evt-artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.evt-artist-card {
  display: flex;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  padding: 12px;
}
.evt-artist-image {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 8px;
  overflow: hidden;
  background: #141414;
  display: grid;
  place-items: center;
  color: #777;
}
.evt-artist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.evt-artist-card strong {
  display: block;
  color: #fff;
}
.evt-artist-card span,
.evt-artist-card p {
  display: block;
  color: #888;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 5px 0 0;
}
.evt-empty--compact {
  padding: 34px 20px;
}
@media (max-width: 980px) {
  .evt-agenda-head,
  .evt-detail-hero,
  .evt-detail-body {
    grid-template-columns: 1fr;
  }
  .evt-filter-row,
  .evt-package-strip,
  .evt-package-chooser {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .evt-detail-hero-media {
    min-height: 320px;
  }
}
@media (max-width: 640px) {
  .evt-filter-row,
  .evt-package-strip,
  .evt-package-chooser,
  .evt-cards-list--agenda {
    grid-template-columns: 1fr;
  }
  .evt-agenda-head {
    align-items: stretch;
  }
  .evt-card {
    flex-direction: column;
  }
  .evt-card-img {
    width: 100%;
    height: 180px;
  }
  .evt-card-body {
    padding: 14px;
  }
  .evt-modal-actions {
    justify-content: stretch;
  }
  .evt-modal-price {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RANKING PAGE
   ═══════════════════════════════════════════════════════════════ */
.ranking-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.ranking-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.ranking-tab {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #aaa;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.ranking-tab.active { background: #e6394622; border-color: #e63946; color: #fff; }
.ranking-tab:hover { border-color: #555; }
.ranking-loading { text-align: center; color: #666; padding: 3rem; }
.ranking-empty { text-align: center; color: #555; padding: 3rem; font-size: 0.9rem; }
.ranking-list { display: flex; flex-direction: column; gap: 0; }
.ranking-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #1a1a1a;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.ranking-item:hover { background: rgba(255,255,255,0.03); }
.ranking-pos {
  width: 2rem;
  text-align: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: #555;
  flex-shrink: 0;
}
.ranking-pos.top3 { font-size: 1.3rem; }
.ranking-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #666;
  overflow: hidden;
}
.ranking-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ranking-avatar.type { border-radius: 8px; font-size: 1.3rem; }
.ranking-info { flex: 1; min-width: 0; }
.ranking-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #eee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ranking-meta { display: block; font-size: 0.78rem; color: #666; margin-top: 2px; }
.ranking-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.ranking-yt-link {
  color: #e63946;
  font-size: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .ranking-page { padding: 1rem 1rem 3rem; }

  .ranking-avatar { width: 36px; height: 36px; }
  .ranking-period-filter { gap: 4px; }
  .ranking-period-btn { padding: 6px 12px; font-size: 0.7rem; }
}

/* ── Sprint 4: Period filter ── */
.ranking-period-filter {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1.5rem;
}
.ranking-period-btn {
  background: #111;
  border: 1px solid #222;
  color: #888;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}
.ranking-period-btn.active {
  background: rgba(230,57,70,0.12);
  border-color: var(--w-red);
  color: #fff;
}
.ranking-period-btn:hover:not(.active) { border-color: #444; }

/* ── Sprint 4: Listener badges in ranking ── */
.ranking-listener-badges {
  display: inline-flex;
  gap: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.listener-badge-emoji {
  font-size: 0.8rem;
  cursor: help;
  transition: transform 0.15s;
}
.listener-badge-emoji:hover { transform: scale(1.3); }

.listener-avatar {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #00d4ff;
  font-weight: 900;
}

.ranking-listener-stats {
  flex-shrink: 0;
  text-align: right;
}
.listener-pts {
  font-size: 0.85rem;
  font-weight: 800;
  color: #f59e0b;
}


/* ═══════════════════════════════════════
   ARTICLE CONTENT EXCEPTION (MIGRATED PHP DATA)
═══════════════════════════════════════ */
.article-content {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  text-transform: none; /* Override global uppercase */
  color: #c4c4c4;
  font-size: 1.15rem;
  line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  color: var(--w-white);
  margin-top: 2.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
  line-height: 1.2;
}

.article-content h1 {
  font-size: 2.6rem;
  font-weight: 900;
  border-bottom: 2px solid var(--w-slate);
  padding-bottom: 0.8rem;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.9);
}

.article-content h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--w-white);
  border-left: 4px solid var(--w-red-blood);
  padding-left: 1.2rem;
}

.article-content h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #eaeaea;
}

.article-content p {
  margin-bottom: 1.6rem;
  letter-spacing: 0.3px;
  text-align: left;
}

.article-content p:first-of-type {
  font-size: 1.3rem;
  color: #e0e0e0;
  font-weight: 500;
  line-height: 1.9;
}

.article-content a {
  color: var(--w-red-neon);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px dashed rgba(255, 26, 26, 0.4);
}

.article-content a:hover {
  color: var(--w-white);
  border-bottom-color: var(--w-white);
  text-shadow: 0 0 10px rgba(255, 26, 26, 0.6);
}

.article-content img, .article-content iframe, .article-content video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2.5rem 0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.05);
  display: block;
}

.article-content blockquote {
  position: relative;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--w-white);
  margin: 3.5rem 0;
  padding: 2.5rem 3rem;
  background: rgba(230,0,0,0.05);
  border-left: 4px solid var(--w-red-blood);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
  border-radius: 0 8px 8px 0;
  font-weight: 500;
}

.article-content blockquote::before {
  content: '“';
  font-family: 'Rajdhani', sans-serif;
  position: absolute;
  top: -15px;
  left: 15px;
  font-size: 7rem;
  color: rgba(230,0,0,0.15);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.article-content blockquote p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.article-content ul, .article-content ol {
  margin: 1.5rem 0 1.5rem 2.5rem;
  color: #c4c4c4;
}

.article-content li {
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
  line-height: 1.6;
}

.article-content ul li::marker {
  color: var(--w-red-blood);
}

.article-content strong, .article-content b {
  color: #fff;
  font-weight: 700;
}
/* ════════════════════════════════════════════════
   Module: 08-commercial.css
   Sources: 33-anuncie.css 34-about.css 35-contato-vip.css 36-page-hero.css
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   ANUNCIE PAGE — MEDIA KIT (PRD-007 Sprint 4)
   ═══════════════════════════════════════════════════════════════════════════ */

.adv-page {
  width: 100%;
  padding: 20px 5% 60px;
}

/* Hero */

.adv-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #080808, transparent);
}

.adv-hero-sub {
  font-size: 1.1rem;
  color: var(--w-ash);
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
}

/* Métricas */
.adv-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}
@media (max-width: 768px) { .adv-metrics { grid-template-columns: repeat(2, 1fr); } }
.adv-metric-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  border-top: 3px solid var(--w-red);
}
.adv-metric-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.adv-metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--w-ash);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.adv-b2b-proof {
  margin-bottom: 50px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(230, 0, 0, 0.10), transparent 44%),
    #0d0d0d;
}

.adv-b2b-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
  margin-bottom: 24px;
}

.adv-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--w-red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.adv-b2b-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.3vw, 3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.adv-b2b-head p {
  margin: 0;
  color: #aaa;
  font-size: 0.96rem;
  line-height: 1.65;
  text-transform: none;
}

.adv-b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.adv-b2b-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.adv-b2b-card span {
  display: block;
  color: #fff;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
}

.adv-b2b-card small {
  display: block;
  margin: 5px 0 22px;
  color: var(--w-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.adv-b2b-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.adv-b2b-card p {
  margin: 0;
  color: #999;
  font-size: 0.86rem;
  line-height: 1.55;
  text-transform: none;
}

.adv-data-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: #666;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.adv-period-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.adv-period-tabs button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #888;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.adv-period-tabs button.active {
  background: var(--w-red);
  color: #fff;
}

.adv-brief-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: 50px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #0d0d0d;
}

.adv-brief-copy h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.7rem, 2.4vw, 2.7rem);
  line-height: 1;
}

.adv-brief-copy p {
  margin: 0;
  color: #aaa;
  font-size: 0.96rem;
  line-height: 1.65;
}

.adv-brief-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.adv-brief-points span {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-left: 3px solid var(--w-red);
  background: rgba(255, 255, 255, 0.035);
  color: #ddd;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adv-brief-form {
  display: grid;
  gap: 12px;
}

.adv-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adv-brief-form label {
  display: grid;
  gap: 7px;
  color: #777;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adv-brief-form input,
.adv-brief-form select,
.adv-brief-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #242424;
  border-radius: 8px;
  background: #050505;
  color: #fff;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.adv-brief-form textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}

.adv-format-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.adv-format-toggles button {
  min-height: 36px;
  border: 1px solid #282828;
  border-radius: 8px;
  background: #090909;
  color: #999;
  padding: 0 12px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.adv-format-toggles button.active {
  border-color: rgba(230, 0, 0, 0.55);
  background: rgba(230, 0, 0, 0.16);
  color: #fff;
}

.adv-brief-status {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.adv-brief-status.ok {
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #8ff0b2;
  background: rgba(46, 204, 113, 0.08);
}

.adv-brief-status.error {
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: #ff8d96;
  background: rgba(230, 57, 70, 0.08);
}

@media (max-width: 900px) {
  .adv-b2b-head,
  .adv-b2b-grid,
  .adv-brief-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .adv-data-note,
  .adv-form-row {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
}

/* Formatos de mídia */
.adv-formats {
  margin-bottom: 50px;
}
.adv-formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.adv-format-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 30px 24px;
  transition: border-color 0.2s;
}
.adv-format-card:hover { border-color: #333; }
.adv-format-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.adv-format-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.adv-format-desc {
  font-size: 0.85rem;
  color: var(--w-ash);
  line-height: 1.6;
  margin-bottom: 14px;
}
.adv-format-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}
.adv-format-specs li {
  font-size: 0.72rem;
  color: #555;
  padding: 4px 0;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
}
.adv-format-specs li span { color: var(--w-ash); font-weight: 600; }

/* WHY section — profissional */
.adv-why-section {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 50px 40px;
  margin-bottom: 50px;
}
.adv-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 10px;
}
.adv-why-card {
  padding: 10px 0;
}
.adv-why-icon {
  margin-bottom: 16px;
  line-height: 0;
}
.adv-why-title {
  color: var(--w-red);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.adv-why-text {
  color: var(--w-ash);
  font-size: 0.9rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .adv-why-section { padding: 30px 20px; }
  .adv-why-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .adv-why-grid { grid-template-columns: 1fr; }
}
/* Tech specs table */
.adv-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.adv-specs-table th {
  text-align: left;
  padding: 0.6rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--w-red);
  border-bottom: 2px solid #222;
  white-space: nowrap;
}
.adv-specs-table td {
  padding: 0.6rem 0.8rem;
  color: #bbb;
  border-bottom: 1px solid #1a1a1a;
  white-space: nowrap;
}
.adv-specs-table tr:hover td {
  color: #fff;
  background: rgba(230, 57, 70, 0.05);
}
.adv-specs-table td:first-child {
  color: #fff;
  font-weight: 700;
}

.adv-cta-section {
  background: linear-gradient(135deg, #0d0000, #111);
  border: 1px solid rgba(230,0,0,0.2);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
}
.adv-cta-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.adv-cta-sub {
  color: var(--w-ash);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.adv-cta-btn {
  display: inline-block;
  background: var(--w-red);
  color: #fff;
  padding: 16px 44px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.adv-cta-btn:hover { background: #cc0000; transform: translateY(-2px); }
.adv-cta-secondary {
  display: inline-block;
  margin-left: 16px;
  border: 2px solid #333;
  color: #fff;
  padding: 14px 36px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
  transition: border-color 0.2s;
}
.adv-cta-secondary:hover { border-color: var(--w-red); }

/* ── Event monetization track [SPEC-055] ── */
.adv-events-track {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 24px;
  align-items: start;
  margin: 26px 0;
  padding: 26px;
  border: 1px solid #222;
  border-radius: 8px;
  background: #0b0b0b;
}
.adv-events-copy h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin: 0 0 12px;
}
.adv-events-copy p {
  color: #aaa;
  line-height: 1.65;
  margin: 0;
}
.adv-events-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.adv-events-package-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.adv-events-package-table article,
.adv-dashboard-form,
.adv-dashboard-events,
.adv-event-row,
.adv-orders-box {
  border: 1px solid #242424;
  border-radius: 8px;
  background: #101010;
}
.adv-events-package-table article {
  padding: 16px;
  min-height: 150px;
}
.adv-events-package-table span {
  display: block;
  color: #2a9d8f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.adv-events-package-table strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 1.4rem;
}
.adv-events-package-table p {
  color: #999;
  line-height: 1.45;
  font-size: 0.86rem;
  margin: 10px 0 0;
}
.adv-dashboard-page {
  max-width: 1280px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 44px 5% 70px;
  color: #fff;
}
.adv-dashboard-auth {
  max-width: 560px;
  margin: 48px auto;
  padding: 26px;
  border: 1px solid #242424;
  border-radius: 8px;
  background: #0c0c0c;
}
.adv-dashboard-auth h1,
.adv-dashboard-head h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
}
.adv-dashboard-auth p,
.adv-dashboard-head p {
  color: #aaa;
  line-height: 1.6;
}
.adv-dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #1c1c1c;
}
.adv-dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.adv-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}
.adv-dashboard-form {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.adv-dashboard-form h2,
.adv-dashboard-events h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.2rem;
}
.adv-dashboard-form label {
  display: grid;
  gap: 6px;
  color: #888;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.adv-dashboard-form input,
.adv-dashboard-form select,
.adv-dashboard-form textarea {
  width: 100%;
  min-height: 42px;
  background: #050505;
  border: 1px solid #282828;
  border-radius: 8px;
  color: #fff;
  padding: 10px 12px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.adv-dashboard-link {
  margin-top: 14px;
  background: transparent;
  border: 0;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.adv-dashboard-events {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.adv-dashboard-empty {
  color: #888;
  border: 1px dashed #2a2a2a;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.adv-event-row {
  display: grid;
  gap: 12px;
  padding: 14px;
}
.adv-event-row strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}
.adv-event-row span,
.adv-event-row small,
.adv-orders-box span {
  display: block;
  color: #888;
  margin-top: 5px;
  font-size: 0.82rem;
  font-weight: 800;
}
.adv-provider-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.adv-provider-row button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #080808;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.adv-paid-note {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #2a9d8f !important;
}
.adv-orders-box {
  padding: 14px;
}
.adv-orders-box h3 {
  margin: 0 0 8px;
  color: #fff;
}
@media (max-width: 900px) {
  .adv-events-track,
  .adv-dashboard-head,
  .adv-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .adv-dashboard-head {
    display: grid;
  }
}
@media (max-width: 640px) {
  .adv-events-package-table,
  .adv-form-row {
    grid-template-columns: 1fr;
  }
}

.adv-proof-page {
  min-height: 100vh;
  padding: 58px 5%;
  background: #050505;
  color: #fff;
}

.adv-proof-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.adv-proof-back {
  display: inline-flex;
  margin-bottom: 26px;
  color: #999;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.adv-proof-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.adv-proof-header h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.adv-proof-header p,
.adv-proof-shell > p {
  margin: 0;
  color: #aaa;
  line-height: 1.6;
}

.adv-proof-privacy {
  padding: 18px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.08);
  color: #f8d98b;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.5;
}

.adv-proof-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.adv-proof-metric {
  min-height: 116px;
  padding: 18px;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  background: #0d0d0d;
}

.adv-proof-metric span {
  display: block;
  color: #777;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adv-proof-metric strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.adv-proof-section {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  background: #0d0d0d;
}

.adv-proof-section h2 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adv-proof-table,
.adv-proof-series {
  display: grid;
  gap: 10px;
}

.adv-proof-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 160px 110px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #1b1b1b;
  color: #aaa;
  font-size: 0.86rem;
}

.adv-proof-row strong {
  color: #fff;
}

.adv-proof-day {
  display: grid;
  grid-template-columns: 100px minmax(120px, 1fr) 180px;
  gap: 12px;
  align-items: center;
  color: #aaa;
  font-size: 0.86rem;
}

.adv-proof-day div {
  height: 10px;
  border-radius: 999px;
  background: #1b1b1b;
  overflow: hidden;
}

.adv-proof-day i {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: var(--w-red);
}

.adv-proof-day strong {
  color: #fff;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .adv-proof-header,
  .adv-proof-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .adv-proof-row,
  .adv-proof-day {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .adv-proof-metrics {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT / QUEM SOMOS PAGE (PRD-007 Sprint 4)
   ═══════════════════════════════════════════════════════════════════════════ */

.about-page {
  width: 100%;
  padding: 20px 5% 60px;
}

/* Manifesto hero */

/* Story section */
.about-story {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  align-items: start;
}
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; } }
.about-story-text {
  color: var(--w-ash);
  font-size: 1rem;
  line-height: 1.8;
}
.about-story-text p { margin-bottom: 18px; }

/* Métricas */
.about-metrics-panel {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-right: 3px solid var(--w-red);
  border-radius: 8px;
  padding: 30px;
}
.about-metrics-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-metrics-note {
  font-size: 0.78rem;
  color: var(--w-ash);
  margin-bottom: 20px;
}
.about-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #1a1a1a;
}
.about-metric-row:last-child { border-bottom: none; }
.about-metric-label { color: var(--w-ash); font-size: 0.9rem; }
.about-metric-value { color: #fff; font-size: 1.2rem; font-weight: 900; }

/* Mídias grid */
.about-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}
.about-media-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.about-media-card:hover { border-color: var(--w-red); transform: translateY(-3px); }
.about-media-icon { font-size: 2rem; margin-bottom: 12px; }
.about-media-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.about-media-desc {
  font-size: 0.75rem;
  color: var(--w-ash);
  line-height: 1.5;
}

/* Team grid */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.about-team-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  border-top: 3px solid var(--w-red);
  transition: transform 0.2s;
}
.about-team-card:hover { transform: translateY(-3px); }
.about-team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(230,0,0,0.08);
  border: 2px solid rgba(230,0,0,0.25);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--w-red);
  overflow: hidden;
}
.about-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-team-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.about-team-role {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--w-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.about-team-bio {
  font-size: 0.88rem;
  color: var(--w-ash);
  line-height: 1.6;
}

/* CTA final */
.about-cta {
  background: linear-gradient(135deg, #0d0000, #111);
  border: 1px solid rgba(230,0,0,0.15);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CONTATO VIP HUB (PRD-007 Sprint 5)
   ═══════════════════════════════════════════════════════════════════════════ */

.vip-hub {
  width: 100%;
  padding: 20px 5% 60px;
}

/* Hero */
.vip-hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: radial-gradient(ellipse at 50% 0%, rgba(230,0,0,0.06) 0%, transparent 50%);
  border-bottom: 2px solid #1a1a1a;
  margin-bottom: 40px;
}
.vip-hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--w-red);
  margin-bottom: 12px;
}
.vip-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.vip-hero-title span { color: var(--w-red); }
.vip-hero-sub {
  color: var(--w-ash);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 3 path cards */
.vip-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
@media (max-width: 900px) { .vip-paths { grid-template-columns: 1fr; } }
.vip-path-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.vip-path-card:hover { border-color: var(--w-red); transform: translateY(-5px); }
.vip-path-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(230,0,0,0.08);
  border: 2px solid rgba(230,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: background 0.3s;
}
.vip-path-card:hover .vip-path-icon { background: rgba(230,0,0,0.15); }
.vip-path-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.vip-path-desc {
  font-size: 0.88rem;
  color: var(--w-ash);
  line-height: 1.6;
}
.vip-path-cta {
  display: inline-block;
  margin-top: auto;
  padding: 10px 28px;
  background: var(--w-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.vip-path-cta:hover { background: #cc0000; }
.vip-path-cta--outline {
  background: transparent;
  border: 2px solid #333;
}
.vip-path-cta--outline:hover { border-color: var(--w-red); background: transparent; }

/* Community links */
.vip-communities {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin-bottom: 40px;
}
.vip-comm-title {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.vip-comm-sub {
  color: var(--w-ash);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.vip-comm-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.vip-comm-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: border-color 0.2s, transform 0.2s;
}
.vip-comm-link:hover { border-color: var(--w-red); transform: translateY(-2px); }
.vip-comm-link svg { flex-shrink: 0; }

/* ─── INLINE STYLES EXTRACTED FROM PAGE.JSX (RF-07) ─── */
.panel-btn-live { background: #e63946; color: #fff; border-color: #fff; }
.icon-shrink-0 { flex-shrink: 0; }
.host-card-bg { width: 100%; aspect-ratio: 16/9; background: radial-gradient(circle at center, #1a1a1a, #000); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.host-card-avatar { width: 200px; height: 200px; border-radius: 50%; border: 4px solid #e60000; margin-bottom: 1rem; filter: grayscale(100%); }
.host-card-name { font-size: 3.5rem; font-weight: 900; color: #e60000; font-style: italic; text-shadow: 2px 2px 0 #000; letter-spacing: 4px; }
.host-card-program { font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; color: #fff; }
.leader-table-wrap { height: 100%; min-height: 400px; }
.align-right { text-align: right; }
.leader-empty { color: #444; text-align: center; padding: 2rem; }
/* [FIX-001] Avatar redondo no ranking — sem CSS causava imagem gigante */
.leader-listener { display: flex; align-items: center; gap: 10px; }
.leader-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1a1a;
  border: 2px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #888;
}
.leader-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-listener-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.leader-listener-name { font-size: 0.8rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader-listener-region { font-size: 0.65rem; color: #555; letter-spacing: 0.5px; }
.news-ticker-container { padding: 0 20px; max-width: 1600px; margin: 0 auto 10px; }
.banner-link-btn { color: var(--w-red-neon); font-size: 0.75rem; letter-spacing: 0.15em; font-weight: 700; }
.pt-0 { padding-top: 0; }
.card-img-cover { width: 100%; height: 100%; object-fit: cover; }
.legacy-news-content { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.legacy-news-badge { display: inline-block; background: #e63946; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 2px; letter-spacing: 1px; width: fit-content; text-transform: uppercase; }
.legacy-news-title { font-size: 1rem; font-weight: 800; line-height: 1.35; color: #fff; text-transform: none; }
.legacy-news-desc { font-size: 0.85rem; color: #999; line-height: 1.5; text-transform: none; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.legacy-news-footer { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-top: 1px solid #222; margin-top: auto; }
.legacy-news-date { font-size: 0.8rem; color: #666; text-transform: none; }
.legacy-news-cta { font-size: 0.8rem; color: #e63946; font-weight: 700; letter-spacing: 0.5px; }
.legacy-empty { color: var(--w-ash); font-style: italic; }


/* ═══════════════════════════════════════════════════════════
   PAGE HERO — Internal pages hero banner (image or video)
   Standard: 1920x400 (4.8:1)
   Image: JPG/WebP ≤300KB · Video: MP4 ≤2MB, max 15s
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 60%,
    rgba(10, 10, 10, 0.95) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5% 2rem;
}

.page-hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
  line-height: 1;
}

.page-hero-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--w-red);
  margin-top: 0.6rem;
  border-radius: 2px;
}

.page-hero-subtitle {
  font-size: 1rem;
  color: #aaa;
  margin: 0.5rem 0 0;
  font-weight: 400;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .page-hero { height: 200px; }
  .page-hero-title { font-size: 1.8rem; letter-spacing: 2px; }
  .page-hero-subtitle { font-size: 0.85rem; }
  .page-hero-overlay { padding: 0 4% 1.2rem; }
}



/* ── POLÍTICA DE PRIVACIDADE ── */
.privacy-page { min-height: 100vh; padding-top: 80px; }
.privacy-hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), #080808),
    radial-gradient(ellipse at 50% 0%, rgba(230,0,0,0.12) 0%, transparent 65%);
  border-bottom: 2px solid var(--w-red);
  padding: 5rem 2rem 3rem;
  text-align: center;
}
.privacy-hero-inner { max-width: 700px; margin: 0 auto; }
.privacy-hero h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.privacy-hero p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}
.privacy-content section { margin-bottom: 2.5rem; }
.privacy-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  border-left: 3px solid var(--w-red);
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.privacy-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin: 1.5rem 0 0.5rem;
}
.privacy-content p { margin-bottom: 1rem; font-size: 0.95rem; }
.privacy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.privacy-content li { margin-bottom: 0.5rem; font-size: 0.95rem; }
.privacy-content a { color: var(--w-red); text-decoration: underline; }
.privacy-content a:hover { color: #ff3333; }
.privacy-content strong { color: #fff; }
.privacy-contact-box {
  background: rgba(230,0,0,0.08);
  border: 1px solid rgba(230,0,0,0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
}
.privacy-contact-box p { margin-bottom: 0.3rem; }
.privacy-footer-info {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.privacy-footer-info p { margin-bottom: 0.3rem; }
/* ════════════════════════════════════════════════
   Module: 09-admin.css
   Sources: 06-auth.css 07-admin.css 16-glassmorphism.css
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   NAV AUTH — Login Modal & User Dropdown
   [SPEC-046 F-011] Glassmorphism Redesign
   [SPEC-046 F-012] NavAuth Refactor
   [SPEC-046 F-014] Forgot Password Flow
═══════════════════════════════════════ */
.nav-user-wrap { position: relative; }
.btn-logged { background: rgba(230,0,0,0.1) !important; border-color: var(--w-red) !important; color: var(--w-red) !important; }

/* [F-012] Desktop CRIAR CONTA ghost button */
.btn-criar-conta {
  background: none; border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7);
  font-family: inherit; font-size: 0.65rem; font-weight: 900; letter-spacing: 2px;
  padding: 0.55rem 1rem; cursor: pointer; transition: all 0.2s; clip-path: var(--clip-btn);
}
.btn-criar-conta:hover { border-color: var(--w-red); color: var(--w-red); }

/* ── Overlay ── */
.nav-auth-overlay {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  animation: fadeIn 0.2s ease;
}

/* ── Modal Glass ── */
.nav-auth-modal {
  background: #0d0d0d; border: 1px solid #1e1e1e; border-top: 2px solid var(--w-red);
  width: 100%; max-width: 420px; position: relative; animation: slideUp 0.25s ease;
}
.nav-auth-glass {
  background: rgba(13,13,13,0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.06); border-top: 2px solid var(--w-red);
  border-radius: 16px; box-shadow: 0 0 80px rgba(230,0,0,0.08), 0 24px 48px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* ── Close ── */
.nav-auth-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: #555; font-size: 1.2rem; cursor: pointer; z-index: 2; transition: color 0.2s; }
.nav-auth-close:hover { color: var(--w-red); }

/* ── Brand Header ── */
.nav-auth-brand { padding: 1.8rem 1.5rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); text-align: center; }
.nav-auth-brand .nav-auth-eyebrow { font-size: 0.55rem; font-weight: 900; letter-spacing: 4px; color: var(--w-red); display: block; margin-bottom: 0.4rem; }
.nav-auth-brand h3 { font-size: 1.2rem; font-weight: 900; letter-spacing: 4px; color: #fff; margin: 0 0 0.4rem; }
.nav-auth-brand p { font-size: 0.72rem; color: #555; margin: 0; line-height: 1.4; }

/* ── Tabs ── */
.nav-auth-tabs { display: flex; border-bottom: 1px solid rgba(255,255,255,0.04); }
.nav-auth-tabs button {
  flex: 1; background: none; border: none; border-bottom: 2px solid transparent;
  color: #555; font-family: inherit; font-size: 0.65rem; font-weight: 900;
  letter-spacing: 2px; padding: 0.85rem; cursor: pointer; transition: all 0.2s;
}
.nav-auth-tabs button:hover { color: rgba(255,255,255,0.6); }
.nav-auth-tabs button.active { color: var(--w-red); border-bottom-color: var(--w-red); }

/* ── Google Sign-In ── */
.nav-auth-social { padding: 1.25rem 1.25rem 0; }
.nav-auth-google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: none; border-radius: 8px; color: #333;
  font-family: inherit; font-size: 0.82rem; font-weight: 600; padding: 0.75rem 1rem;
  cursor: pointer; transition: box-shadow 0.2s, transform 0.1s;
}
.nav-auth-google-btn:hover { box-shadow: 0 2px 12px rgba(66,133,244,0.3); transform: translateY(-1px); }
.nav-auth-google-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.nav-auth-google-btn svg { flex-shrink: 0; }

/* ── Divider ── */
.nav-auth-divider {
  display: flex; align-items: center; padding: 0 1.25rem; gap: 12px;
  margin: 0.75rem 0 0;
}
.nav-auth-divider::before, .nav-auth-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.06);
}
.nav-auth-divider span { font-size: 0.6rem; color: #444; letter-spacing: 2px; text-transform: uppercase; }

/* ── Form ── */
.nav-auth-form { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }
.nav-auth-field { display: flex; flex-direction: column; gap: 0.35rem; }
.nav-auth-field label { font-size: 0.6rem; font-weight: 900; letter-spacing: 3px; color: #555; }
.nav-auth-field input {
  background: rgba(17,17,17,0.8); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px;
  color: #fff; padding: 0.8rem 1rem; font-size: 0.9rem; font-family: inherit;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-auth-field input:focus { border-color: var(--w-red); box-shadow: 0 0 0 3px rgba(230,0,0,0.1); }
.nav-auth-field input::placeholder { color: #333; }
.nav-auth-error { font-size: 0.72rem; color: var(--w-red); text-align: center; padding: 0.5rem; background: rgba(230,0,0,0.05); border-radius: 6px; }
.nav-auth-submit {
  background: var(--w-red); border: none; border-radius: 8px; color: #fff;
  font-family: inherit; font-size: 0.75rem; font-weight: 900; letter-spacing: 3px;
  padding: 1rem; cursor: pointer; transition: background 0.2s, transform 0.1s;
}
.nav-auth-submit:hover { background: #cc0000; transform: translateY(-1px); }
.nav-auth-submit:disabled { background: #222; color: #555; cursor: not-allowed; transform: none; }

/* ── [F-014] Forgot Password Link ── */
.nav-auth-forgot {
  background: none; border: none; color: #555; font-family: inherit;
  font-size: 0.7rem; cursor: pointer; text-align: right; padding: 0;
  transition: color 0.2s;
}
.nav-auth-forgot:hover { color: var(--w-red); }

/* ── [F-014] Back to login ── */
.nav-auth-back {
  background: none; border: none; color: #555; font-family: inherit;
  font-size: 0.72rem; cursor: pointer; text-align: center; padding: 0.5rem;
  transition: color 0.2s;
}
.nav-auth-back:hover { color: #fff; }

/* ── [F-011] ToS Checkbox ── */
.nav-auth-tos {
  display: flex; align-items: flex-start; gap: 8px; cursor: pointer;
  font-size: 0.7rem; color: #666; line-height: 1.4;
}
.nav-auth-tos input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 16px; height: 16px; min-width: 16px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; background: #111;
  cursor: pointer; position: relative; margin-top: 1px; transition: all 0.2s;
}
.nav-auth-tos input[type="checkbox"]:checked {
  background: var(--w-red); border-color: var(--w-red);
}
.nav-auth-tos input[type="checkbox"]:checked::after {
  content: '✓'; position: absolute; top: -1px; left: 2px; color: #fff;
  font-size: 12px; font-weight: 900;
}
.nav-auth-tos a { color: var(--w-red); text-decoration: none; }
.nav-auth-tos a:hover { text-decoration: underline; }

/* ── User Dropdown ── */
.nav-user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: rgba(13,13,13,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06); border-top: 2px solid var(--w-red);
  border-radius: 12px; min-width: 240px; z-index: 9999;
  animation: slideUp 0.15s ease; box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.nav-user-info { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.nav-user-tier { font-size: 1.4rem; }
.nav-user-info div { display: flex; flex-direction: column; gap: 0.2rem; }
.nav-user-info strong { font-size: 0.85rem; color: #fff; font-weight: 900; }
.nav-user-info span { font-size: 0.65rem; color: #666; letter-spacing: 1px; }
.nav-user-free { padding: 0.5rem 1rem; font-size: 0.7rem; color: #22c55e; border-bottom: 1px solid rgba(255,255,255,0.04); }
.nav-user-actions { padding: 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.nav-user-actions button, .nav-user-profile-link {
  width: 100%; display: block; background: none; border: 1px solid rgba(255,255,255,0.06);
  color: #666; font-size: 0.65rem; font-weight: 900; letter-spacing: 2px; font-family: inherit;
  padding: 0.6rem; cursor: pointer; transition: all 0.2s; text-align: center; text-decoration: none;
  border-radius: 6px;
}
.nav-user-actions button:hover, .nav-user-profile-link:hover { border-color: var(--w-red); color: var(--w-red); }

/* ── Mini Avatar in Nav ── */
.nav-mini-avatar {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(230,0,0,0.4); vertical-align: middle; margin-right: 6px;
}

/* ── Dropdown Avatar ── */
.nav-drop-avatar { position: relative; width: 36px; height: 36px; flex-shrink: 0; }
.nav-drop-avatar-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--w-red); }
.nav-drop-avatar-init {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(230,0,0,0.15);
  border: 2px solid var(--w-red); color: var(--w-red); font-size: 0.85rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* ── [F-012] Mobile Drawer Auth Items ── */
.nav-drawer-auth {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(5,5,5,0.98); backdrop-filter: blur(16px);
  padding: 1.25rem 2rem; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-drawer-auth-btn {
  width: 100%; display: block; font-family: inherit; font-size: 0.72rem;
  font-weight: 900; letter-spacing: 2px; padding: 0.8rem; cursor: pointer;
  border-radius: 6px; text-align: center; transition: all 0.2s;
}
.nav-drawer-login { background: var(--w-red); border: none; color: #fff; }
.nav-drawer-login:hover { background: #cc0000; }
.nav-drawer-register { background: none; border: 1px solid rgba(255,255,255,0.12); color: #ccc; }
.nav-drawer-register:hover { border-color: var(--w-red); color: var(--w-red); }
.nav-drawer-app-badge {
  text-align: center; font-size: 0.68rem; color: #555; padding: 0.5rem 0 0;
  letter-spacing: 1px;
}

/* ── [F-013] Cookie Consent Banner ── */
.cookie-consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: rgba(13,13,13,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 1.5rem; animation: slideFromBottom 0.4s ease;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
}
.cookie-consent-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cookie-consent-text { display: flex; align-items: center; gap: 12px; flex: 1; }
.cookie-consent-icon { font-size: 1.5rem; }
.cookie-consent-text p { font-size: 0.75rem; color: #999; line-height: 1.5; margin: 0; }
.cookie-consent-text a { color: var(--w-red); text-decoration: none; }
.cookie-consent-text a:hover { text-decoration: underline; }
.cookie-consent-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cookie-consent-accept {
  background: var(--w-red); border: none; border-radius: 6px; color: #fff;
  font-family: inherit; font-size: 0.7rem; font-weight: 900; letter-spacing: 2px;
  padding: 0.6rem 1.2rem; cursor: pointer; transition: background 0.2s;
}
.cookie-consent-accept:hover { background: #cc0000; }
.cookie-consent-more {
  font-size: 0.68rem; color: #666; text-decoration: none; white-space: nowrap;
  letter-spacing: 1px; transition: color 0.2s;
}
.cookie-consent-more:hover { color: var(--w-red); }

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideFromBottom { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }


/* ═══════════════════════════════════════
   ADMIN PANEL
═══════════════════════════════════════ */
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #050505; }
.admin-login-box { background: #0d0d0d; border: 1px solid #1e1e1e; border-top: 2px solid var(--w-red); padding: 2rem; width: 100%; max-width: 380px; }
.admin-login-box .admin-eyebrow { font-size: 0.6rem; font-weight: 900; letter-spacing: 4px; color: #555; display: block; margin-bottom: 0.5rem; }
.admin-login-box h1 { font-size: 1.5rem; font-weight: 900; letter-spacing: 4px; color: #fff; margin: 0 0 1.5rem; }
.admin-login-box input { width: 100%; background: #111; border: 1px solid #1e1e1e; color: #fff; padding: 0.85rem 1rem; font-size: 0.95rem; font-family: inherit; outline: none; box-sizing: border-box; transition: border-color 0.2s; margin-bottom: 0.5rem; }
.admin-login-box input:focus { border-color: var(--w-red); }
.admin-login-box button { width: 100%; background: var(--w-red); border: none; color: #fff; font-family: inherit; font-size: 0.8rem; font-weight: 900; letter-spacing: 3px; padding: 1rem; cursor: pointer; }
.admin-login-box button:disabled { background: #222; color: #555; cursor: not-allowed; }
.admin-error { font-size: 0.72rem; color: var(--w-red); margin: 0.3rem 0; }

.admin-shell { display: flex; min-height: 100vh; background: #050505; }
.admin-sidebar { width: 200px; flex-shrink: 0; background: #080808; border-right: 1px solid #111; display: flex; flex-direction: column; padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-brand { padding: 1.25rem 1rem 1rem; border-bottom: 1px solid #111; display: flex; flex-direction: column; }
.admin-brand span:first-child { font-size: 1rem; font-weight: 900; color: var(--w-red); letter-spacing: 3px; }
.admin-brand span:last-child { font-size: 0.6rem; color: #555; font-weight: 900; letter-spacing: 4px; }
.admin-nav-btn { background: none; border: none; border-left: 2px solid transparent; color: #555; font-family: inherit; font-size: 0.7rem; font-weight: 900; letter-spacing: 1px; padding: 0.85rem 1rem; cursor: pointer; text-align: left; transition: all 0.15s; width: 100%; }
.admin-nav-btn:hover { color: #888; background: rgba(255,255,255,0.02); }
.admin-nav-btn.active { color: #fff; border-left-color: var(--w-red); background: rgba(230,0,0,0.04); }
.admin-logout { margin-top: auto; border-top: 1px solid #111; color: #444; }
.admin-logout:hover { color: var(--w-red) !important; }

.admin-main { flex: 1; padding: 2rem; overflow-y: auto; }
.admin-section h2 { font-size: 1.1rem; font-weight: 900; letter-spacing: 4px; color: #fff; margin: 0 0 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid #111; }
.admin-sub { font-size: 0.7rem; font-weight: 900; letter-spacing: 3px; color: #555; margin: 1.5rem 0 0.75rem; }
.admin-empty { font-size: 0.85rem; color: #444; padding: 1.5rem 0; }
/* .admin-loading → see 10-components.css (has spinner) */

.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 2px; margin-bottom: 1.5rem; }
.admin-stat-card { background: #111; border: 1px solid #1e1e1e; padding: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; }
.admin-stat-card span:first-child { font-size: 1.5rem; }
.admin-stat-card strong { font-size: 1.5rem; font-weight: 900; color: #fff; }
.admin-stat-card span:last-child { font-size: 0.58rem; font-weight: 900; letter-spacing: 2px; color: #555; }

.admin-live-status { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; background: #111; border: 1px solid #1e1e1e; font-size: 0.8rem; color: var(--w-ash); margin-bottom: 1rem; }
.admin-live-warn { padding: 0.75rem 1rem; background: rgba(230,0,0,0.08); border: 1px solid rgba(230,0,0,0.2); color: var(--w-red); font-size: 0.78rem; font-weight: 900; letter-spacing: 1px; margin-bottom: 1rem; }

.admin-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: #0d0d0d; border: 1px solid #111; margin-bottom: 2px; flex-wrap: wrap; }
.admin-card-dim { opacity: 0.6; }
.admin-card-info { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.admin-card-info strong { font-size: 0.9rem; color: #fff; font-weight: 900; }
.admin-card-info span { font-size: 0.75rem; color: #666; }
.admin-bio { color: #555 !important; font-style: italic; max-width: 500px; }
.admin-link { color: var(--w-red) !important; font-size: 0.72rem !important; word-break: break-all; }
.admin-date { font-size: 0.65rem !important; color: #444 !important; }
.admin-card-actions { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-end; flex-shrink: 0; }

.admin-badge { font-size: 0.65rem; font-weight: 900; letter-spacing: 1px; }
.admin-btn { background: #111; border: 1px solid #1e1e1e; color: #888; font-family: inherit; font-size: 0.65rem; font-weight: 900; letter-spacing: 2px; padding: 0.45rem 0.85rem; cursor: pointer; white-space: nowrap; transition: all 0.15s; }
.admin-btn:hover { border-color: #333; color: #ccc; }
.admin-btn-green { border-color: rgba(34,197,94,0.3); color: #22c55e; background: rgba(34,197,94,0.05); }
.admin-btn-green:hover { background: rgba(34,197,94,0.1); }
.admin-btn-danger { border-color: rgba(230,0,0,0.3); color: var(--w-red); background: rgba(230,0,0,0.05); }
.admin-btn-danger:hover { background: rgba(230,0,0,0.1); }

.admin-audio { width: 100%; height: 32px; filter: invert(1) hue-rotate(180deg); margin-bottom: 0.3rem; }

.admin-live-controls { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem; background: #111; border: 1px solid #1e1e1e; }
.admin-live-form { display: flex; flex-direction: column; gap: 1rem; max-width: 500px; }
.admin-field { display: flex; flex-direction: column; gap: 0.4rem; }
.admin-field label { font-size: 0.6rem; font-weight: 900; letter-spacing: 3px; color: #555; }
.admin-field input { background: #111; border: 1px solid #1e1e1e; color: #fff; padding: 0.75rem 1rem; font-size: 0.9rem; font-family: inherit; outline: none; transition: border-color 0.2s; }
.admin-field input:focus { border-color: var(--w-red); }
.admin-table { margin-top: 0.5rem; }

/* ─── Channel Ops ─── */
.channel-now-playing { background: #0d0d0d; border: 1px solid #1e1e1e; border-left: 3px solid var(--w-red); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.now-playing-label { font-size: 0.6rem; font-weight: 900; letter-spacing: 4px; color: var(--w-red); margin-bottom: 0.75rem; }
.now-playing-card { display: flex; align-items: center; gap: 1rem; }
.now-thumb { width: 64px; height: 64px; object-fit: cover; flex-shrink: 0; border: 1px solid #222; }
.now-info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.now-info strong { font-size: 1rem; color: #fff; font-weight: 900; }
.now-info span { font-size: 0.75rem; color: #666; }
.now-clip-state { font-size: 0.62rem !important; font-weight: 900 !important; letter-spacing: 2px !important; color: #444 !important; }
.now-badge { font-size: 0.65rem; font-weight: 900; letter-spacing: 2px; color: var(--w-red); border: 1px solid rgba(230,0,0,0.3); padding: 4px 10px; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.encoder-health-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; background: #111; border: 1px solid #1e1e1e; font-size: 0.7rem; font-weight: 900; letter-spacing: 2px; color: #555; margin-bottom: 1rem; }
.health-dot { font-size: 0.8rem; }
.health-ok { color: #22c55e; }
.health-degraded { color: #f59e0b; }
.health-critical { color: var(--w-red); }
.channel-controls { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.schedule-list { display: flex; flex-direction: column; gap: 2px; }
.schedule-item { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 1rem; background: #0d0d0d; border: 1px solid #111; font-size: 0.78rem; }
.sched-time { font-size: 0.7rem; font-weight: 900; color: var(--w-red); min-width: 50px; flex-shrink: 0; }
.sched-title { flex: 1; color: #ccc; font-weight: 700; }
.sched-dur { font-size: 0.65rem; color: #444; flex-shrink: 0; }

/* ─── Library & Rights ─── */
.library-stats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 1rem; }
.lib-stat-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem; background: #111; border: 1px solid #1e1e1e; color: #555; font-family: inherit; font-size: 0.62rem; font-weight: 900; letter-spacing: 1px; cursor: pointer; transition: all 0.15s; }
.lib-stat-btn:hover { color: #888; border-color: #333; }
.lib-stat-btn.active { border-color: rgba(230,0,0,0.4); background: rgba(230,0,0,0.06); color: #fff; }
.lib-state-dot { font-size: 0.7rem; }
.lib-stat-btn strong { font-size: 0.75rem; color: #fff; margin-left: 0.25rem; }
.admin-search { width: 100%; max-width: 400px; background: #111; border: 1px solid #1e1e1e; color: #fff; padding: 0.65rem 1rem; font-size: 0.85rem; font-family: inherit; outline: none; margin-bottom: 1rem; display: block; transition: border-color 0.2s; }
.admin-search:focus { border-color: var(--w-red); }
.admin-search::placeholder { color: #333; }
.library-table-wrap { overflow-x: auto; }
.clip-state-tag { font-size: 0.62rem; font-weight: 900; letter-spacing: 1px; }
.rights-tag { font-size: 0.62rem; font-weight: 900; letter-spacing: 1px; padding: 2px 6px; border: 1px solid; }

.asset-type-badge { font-size: 1rem; }

/* ─── News Appolis ─── */
.news-admin-toolbar { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.5rem; }
.news-admin-toolbar .admin-search { margin-bottom: 0; }
.pagination { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; font-size: 0.75rem; color: #555; font-weight: 900; letter-spacing: 1px; }


/* ═══════════════════════════════════════════════════════════════════
   GLASSMORPHISM — Admin panels premium
═══════════════════════════════════════════════════════════════════ */

/* Admin section com glass background */
.admin-section {
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.04);
  border-top: 1px solid rgba(230,0,0,0.2);
}

/* Stat cards com glass hover */
.admin-stat-card {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.admin-stat-card:hover {
  border-color: rgba(230,0,0,0.3);
  background: rgba(30,10,10,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,0,0,0.1);
}

/* Metric cards (sponsors) */
.metric-card {
  background: rgba(20,20,20,0.9);
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}
.metric-card:hover {
  border-color: rgba(230,0,0,0.25);
  transform: scale(1.02);
}

/* Vinheta cards glass */
.vinheta-card {
  background: rgba(15,15,15,0.9);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.vinheta-card:hover {
  border-color: rgba(0,230,118,0.3);
  box-shadow: 0 4px 16px rgba(0,230,118,0.06);
}

/* SEO cards glass */
.seo-card {
  background: rgba(15,15,15,0.9);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
.seo-card:hover {
  border-color: rgba(230,0,0,0.25);
  background: rgba(230,0,0,0.04);
}

/* Status badge pulse para ONLINE */

@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Admin nav btn active: glow red */
.admin-nav-btn.active {
  box-shadow: inset 0 0 0 1px rgba(230,0,0,0.3), 0 0 12px rgba(230,0,0,0.1);
}

/* Admin card hover lift */
.admin-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.admin-card:hover {
  border-color: rgba(230,0,0,0.2) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Lib stat buttons */
.lib-stat-btn {
  transition: all 0.2s ease;
  will-change: transform;
}
.lib-stat-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Locale badge transition */
.locale-badge {
  transition: all 0.2s ease;
}
.locale-active {
  transition: all 0.2s ease;
}



/* ── Admin shared inputs (from theater cleanup) ── */
.admin-select {
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  color: var(--w-white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%23888'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}
.admin-select:focus,
.admin-select:hover { border-color: var(--w-red); }

.admin-input {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  color: var(--w-white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  text-transform: none;
}
.admin-input:focus { border-color: var(--w-red); }
.admin-input::placeholder { color: #444; text-transform: none; }
textarea.admin-input { resize: vertical; min-height: 80px; }
/* ════════════════════════════════════════════════
   Module: 10-components.css
   Sources: 08-ads.css 09-image-banner.css 37-ad-slots.css 38-banner-opec.css 24-footer.css 40-poll-widget.css 41-native-ad.css 42-newsletter.css 43-columnist.css 15-skeleton.css
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   A11Y — Focus & Target-Size Compliance
   WCAG 2.4.7 (focus-visible), 2.5.8 (44px targets)
═══════════════════════════════════════ */
.ad-cta-btn:focus-visible,
.ad-dot:focus-visible,
.img-banner-dot:focus-visible,
.img-banner-arrow:focus-visible,
.app-banner-close:focus-visible,
.app-banner-cta:focus-visible,
.reward-toast-close:focus-visible,
.footer-cta:focus-visible,
.locale-selector__trigger:focus-visible,
.locale-selector__option:focus-visible,
.ranking-cta-btn:focus-visible,
.footer-newsletter-form button:focus-visible,
.footer-newsletter-form input:focus-visible {
  outline: 2px solid var(--w-red, #e63946);
  outline-offset: 2px;
}

/* Minimum target sizes (WCAG 2.5.8) */
.img-banner-arrow {
  min-width: 44px;
  min-height: 44px;
}
.img-banner-dot {
  min-width: 24px;
  min-height: 24px;
}
.ad-dot {
  min-width: 24px;
  min-height: 24px;
}
.app-banner-close {
  min-width: 44px;
  min-height: 44px;
}
.reward-toast-close {
  min-width: 44px;
  min-height: 44px;
}

/* A11y: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .img-banner-slide { transition: none; }
  .img-banner-progress-fill { animation: none; width: 100%; }
  .ad-progress-fill { animation: none; width: 100%; }
  .reward-toast { animation: none; }
  .app-banner { animation: none; }
  .newsletter-msg { animation: none; }
  .about-columnist-card { transition: none; }
  .pn-card { transition: none; }
  .premium-news-featured:hover .pn-featured-img img { transform: none; }
}

/* ═══════════════════════════════════════
   AD BANNER — Sistema de Anúncios Rotativos
═══════════════════════════════════════ */
.ad-banner {
  position: relative;
  border: 1px solid rgba(230,0,0,0.2);
  padding: 1rem 1.25rem 1.5rem;
  margin: 0;
  overflow: hidden;
}
.ad-banner-compact {
  padding: 0.75rem 1.25rem 1.25rem;
}
.ad-label {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
.ad-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ad-text { flex: 1; min-width: 200px; }
.ad-title {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 0.3rem;
  line-height: 1.2;
}
.ad-banner-compact .ad-title { font-size: 0.85rem; }
.ad-desc {
  font-size: 0.78rem;
  color: #888;
  margin: 0;
  line-height: 1.4;
}
.ad-cta-btn {
  display: inline-block;
  border: 1px solid;
  background: transparent;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.ad-cta-btn:hover {
  background: currentColor;
  filter: brightness(0.15);
}
.ad-dots {
  display: flex;
  gap: 6px;
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
}
.ad-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  background: #333;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.ad-dot.active { transform: scale(1.3); }
.ad-progress-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: rgba(255,255,255,0.04);
}
.ad-progress-fill {
  height: 100%;
  width: 0;
  animation: adProgressFill linear forwards;
}
@keyframes adProgressFill {
  from { width: 0; }
  to { width: 100%; }
}


/* ═══════════════════════════════════════
   IMAGE BANNER — Slideshow Rotativo
═══════════════════════════════════════ */
.img-banner-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #050505;
}
@media (max-width: 768px) { .img-banner-wrap { height: 180px; } }
@media (min-width: 1400px) { .img-banner-wrap { height: 320px; } }

.img-banner-slide {
  display: block;
  position: absolute;
  inset: 0;
  text-decoration: none;
  transition: opacity 0.25s ease;
  opacity: 1;
}
.img-banner-slide.fading { opacity: 0; }

.img-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
  display: flex;
  align-items: center;
  padding: 0 3rem;
}
.img-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 500px;
}
.img-banner-label {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--w-red);
  text-transform: uppercase;
}
.img-banner-caption {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
@media (max-width: 768px) { .img-banner-caption { font-size: 0.75rem; } }
.img-banner-cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--w-red);
  border: 1px solid var(--w-red);
  padding: 0.4rem 1rem;
  transition: all 0.2s;
}
.img-banner-slide:hover .img-banner-cta {
  background: var(--w-red);
  color: #fff;
}

/* Dots */
.img-banner-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.img-banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.img-banner-dot.active {
  background: var(--w-red);
  border-color: var(--w-red);
  transform: scale(1.3);
}

/* Progress */
.img-banner-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 10;
}
.img-banner-progress-fill {
  height: 100%;
  width: 0;
  background: var(--w-red);
  animation: imgBannerFill linear forwards;
}
@keyframes imgBannerFill { from { width: 0; } to { width: 100%; } }

/* Arrow buttons */
.img-banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  line-height: 1;
}
.img-banner-arrow:hover { background: var(--w-red); border-color: var(--w-red); }
.img-banner-arrow.prev { left: 1rem; }
.img-banner-arrow.next { right: 1rem; }


/* ═══════════════════════════════════════════════════════════
   PRE-FOOTER AD SLOT
   Standard: 728x90 desktop / 320x100 mobile
   ═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════
   BANNER SLOT — OPEC Waterfall Component
   ═══════════════════════════════════════════════════════════ */
.banner-slot {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.banner-slot-media {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s, opacity 0.3s;
}

.banner-slot:hover .banner-slot-media {
  transform: scale(1.01);
  opacity: 0.95;
}

.banner-slot-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #888;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  pointer-events: none;
}

/* Page-Hero slot (replaces hero image when OPEC ad active) */
.banner-slot--page-hero {
  width: 100%;
  height: 280px;
  margin-top: -10px;
}
.banner-slot--page-hero .banner-slot-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pre-footer slot */
.banner-slot--pre-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 5%;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  background: linear-gradient(180deg, #080808, #0a0a0a);
}
.banner-slot--pre-footer .banner-slot-media {
  max-width: 728px;
  border-radius: 8px;
}

/* In-feed slot (news articles) */
.banner-slot--in-feed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1a1a1a;
  background: #0d0d0d;
}
.banner-slot--in-feed .banner-slot-media {
  border-radius: 12px;
}
.banner-slot--in-feed .banner-slot-tag {
  top: auto;
  bottom: 8px;
}

@media (max-width: 768px) {
  .banner-slot--page-hero { height: 200px; }
  .banner-slot--pre-footer { padding: 1.5rem 4%; }
  .banner-slot--pre-footer .banner-slot-media { max-width: 100%; }
}

/* ================================================================
   AO VIVO PAGE — extracted from inline styles (PRD-011 RF-07)
   ================================================================ */

.aovivo-container { min-height: 150vh; }
.aovivo-content { text-align: center; padding: 100px 20px; color: #666; }
.aovivo-title { font-size: 1.5rem; font-weight: 900; letter-spacing: 2px; color: var(--w-white); }
.aovivo-sub { margin-top: 10px; }
.aovivo-cards { margin-top: 80px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.aovivo-card { padding: 40px; background: #111; width: 300px; }
.aovivo-card-title { color: var(--w-red); margin-bottom: 10px; }

/* ================================================================
   SOBRE CTA — extracted from inline styles (PRD-011 RF-07)
   ================================================================ */

.about-cta-heading { font-size: 1.8rem; font-weight: 900; margin-bottom: 14px; }
.about-cta-text { color: var(--w-ash); max-width: 600px; margin: 0 auto 36px; font-size: 1.05rem; line-height: 1.6; }
.about-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   ANUNCIE PAGE — extracted from inline styles (PRD-011 RF-07)
   ================================================================ */

.adv-specs-intro { text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.adv-specs-group { margin-bottom: 1.5rem; }
.adv-specs-group-title { margin-bottom: 1rem; }
.adv-table-scroll { overflow-x: auto; }
.adv-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   PROGRAMAS [SLUG] — extracted from inline styles (PRD-011 RF-07)
   ================================================================ */

.progslug-not-found { height: 70px; padding: 100px 20px; text-align: center; color: #fff; }
.progslug-back-link { color: #e63946; text-decoration: none; margin-top: 20px; display: inline-block; }

.progslug-hero { position: relative; height: 60vh; min-height: 400px; display: flex; align-items: flex-end; padding: 60px 40px; }
.progslug-hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.progslug-hero-gradient { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.3) 100%); z-index: -1; }
.progslug-hero-content { max-width: 900px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }

.progslug-back { color: #aaa; text-decoration: none; font-size: 0.9rem; margin-bottom: 20px; display: inline-block; }
.progslug-back:hover { color: var(--w-white); }
.progslug-badges { display: flex; gap: 10px; margin-bottom: 15px; }
.progslug-badge-time { background: #e63946; color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 4px; }
.progslug-badge-host { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #ccc; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.progslug-title { font-size: 4rem; font-weight: 900; margin: 0 0 15px; line-height: 1; }
.progslug-desc { font-size: 1.2rem; color: #ccc; max-width: 700px; line-height: 1.6; }

.progslug-vod-section { max-width: 900px; margin: 60px auto; padding: 0 40px; }
.progslug-vod-title { font-size: 1.8rem; border-bottom: 1px solid #222; padding-bottom: 15px; margin-bottom: 30px; }
.progslug-vod-placeholder { background: #111; border: 1px solid #222; border-radius: 12px; padding: 40px; text-align: center; }
.progslug-vod-main { color: #666; font-size: 1.1rem; }
.progslug-vod-sub { color: #444; font-size: 0.9rem; }

@media (max-width: 768px) {
  .progslug-title { font-size: 2.5rem; }
  .progslug-hero { height: 50vh; padding: 40px 20px; }
  .progslug-vod-section { padding: 0 20px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM FOOTER (4-Column Editorial Style)
   Single source of truth for ALL footer styles.
═══════════════════════════════════════════════════════════════════════════ */

/* ── Container & Pre-footer ── */
.global-footer-container { width: 100%; margin-top: 5rem; }
.pre-footer-banner::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 10px 10px; pointer-events: none;
}

/* ── Footer Grid ── */
.footer-robust-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  padding: 60px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col h4,
.footer-col-heading {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after,
.footer-col-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #e63946;
}

.footer-positioning {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-cta.primary {
  background: #e63946;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.2s;
}
.footer-cta.primary:hover {
  background: #c5303c;
  transform: translateY(-2px);
}

.links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.links-col ul li a {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}
.links-col ul li a:hover {
  color: #e63946;
  padding-left: 5px;
}

/* Quick Links em 2 colunas lado a lado */
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

/* Link de privacidade no footer legal */
.footer-privacy-link {
  color: #666;
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.footer-privacy-link:hover {
  color: var(--w-red);
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}
.footer-newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-size: 0.9rem;
  border-right: none;
  outline: none;
  border-radius: 4px 0 0 4px;
}
.footer-newsletter-form input::placeholder {
  color: #555;
}
.footer-newsletter-form input:focus {
  border-color: #e63946;
}
.footer-newsletter-form button {
  padding: 12px 20px;
  background: #e63946;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0 4px 4px 0;
  transition: background 0.3s;
}
.footer-newsletter-form button:hover {
  background: #c5303c;
}

.social-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #999;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.social-grid a:hover {
  background: #e63946;
  color: #fff;
  transform: translateY(-3px);
}

/* ── Footer brand & legal ── */
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand-logo { width: 80px; height: auto; display: block; }
.footer-brand-tag { color: var(--w-red); font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; }
.footer-ctas-group { margin-top: 20px; }
.footer-newsletter-desc { font-size: 0.9rem; color: #999; margin-bottom: 15px; }
.footer-legal { font-size: 0.75rem; color: #555; font-weight: 500; letter-spacing: 0.5px; line-height: 1.6; }
.main-footer {
  background: var(--w-black); text-align: center;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px;
}
.main-footer p { font-size: 0.9rem; color: var(--w-ash); font-weight: 600; letter-spacing: 1px; }

/* ── Apps & Platforms Strip ── */
.footer-apps-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.015);
  flex-wrap: wrap;
}
.footer-strip-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin: 0;
}
.footer-apps-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #aaa;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.25s;
}
.footer-app-badge:hover {
  background: rgba(230,57,70,0.1);
  border-color: rgba(230,57,70,0.4);
  color: #fff;
  transform: translateY(-1px);
}
.footer-apps-soon {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(230,57,70,0.5);
  padding: 3px 10px;
  border: 1px solid rgba(230,57,70,0.2);
  border-radius: 4px;
}

/* ── Trust & Payments Bar ── */
.footer-trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}
.footer-trust-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.footer-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-trust-section,
.footer-payments-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}
.footer-trust-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
  white-space: nowrap;
}
.footer-trust-badges,
.footer-payment-icons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: 6px;
  color: rgba(34,197,94,0.7);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.trust-badge svg {
  flex-shrink: 0;
  stroke: rgba(34,197,94,0.7);
}
.trust-badge:hover {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.3);
}
.payment-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #888;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.25s;
  height: 34px;
}
.payment-icon svg {
  flex-shrink: 0;
}
.payment-icon:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
/* ── Brand-specific payment icon colors ── */
.payment-icon--pix {
  border-color: rgba(50,188,173,0.2);
  color: rgba(50,188,173,0.8);
}
.payment-icon--pix:hover {
  border-color: rgba(50,188,173,0.5);
  background: rgba(50,188,173,0.08);
}
.payment-icon--paypal {
  border-color: rgba(0,48,135,0.25);
}
.payment-icon--paypal:hover {
  border-color: rgba(23,155,215,0.5);
  background: rgba(23,155,215,0.08);
}
.payment-icon--visa {
  border-color: rgba(20,52,203,0.2);
}
.payment-icon--visa:hover {
  border-color: rgba(20,52,203,0.4);
  background: rgba(20,52,203,0.08);
}
.payment-icon--mc {
  border-color: rgba(235,0,27,0.15);
}
.payment-icon--mc:hover {
  border-color: rgba(247,158,27,0.4);
  background: rgba(247,158,27,0.06);
}
.payment-icon--bitcoin {
  border-color: rgba(247,147,26,0.2);
  color: rgba(247,147,26,0.8);
}
.payment-icon--bitcoin:hover {
  border-color: rgba(247,147,26,0.5);
  color: rgba(247,147,26,1);
  background: rgba(247,147,26,0.08);
}
.payment-icon--kaspa {
  border-color: rgba(73,234,203,0.2);
  color: rgba(73,234,203,0.7);
}
.payment-icon--kaspa:hover {
  border-color: rgba(73,234,203,0.5);
  color: rgba(73,234,203,0.9);
  background: rgba(73,234,203,0.08);
}
/* ── Roku badge ── */
.footer-app-badge--roku {
  padding: 4px 8px;
}
@media (max-width: 768px) {
  .footer-trust-bar { gap: 1rem; padding: 1.25rem 1rem; }
  .footer-trust-section,
  .footer-payments-section { justify-content: center; }
  .footer-apps-strip { gap: 0.75rem; padding: 1rem; }
}
/* Powered by Kaspa badge */
.powered-by-kaspa {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s;
  margin-left: 0.5rem;
}
.powered-by-kaspa:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.powered-by-kaspa img {
  border-radius: 10px;
}
/* Credits line */
.footer-credits-line {
  width: 100%;
  text-align: center;
  font-size: 0.68rem;
  color: #555;
  letter-spacing: 0.3px;
  padding-top: 0.75rem;
}
.footer-credits-line a {
  color: #888;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.footer-credits-line a:hover {
  color: #e63946;
}

/* ── Contact ── */
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.contact-item { display: flex; align-items: center; gap: 10px; }
.contact-text { font-size: 1rem; color: #ccc; }

/* ── Social ── */
.footer-social-bar { text-align: center; padding-top: 40px; margin-top: 20px; }
.footer-social-title { color: #fff; margin-bottom: 10px; }
.footer-social-desc { color: #666; font-size: 0.9rem; margin-bottom: 20px; }
/* ═══════════════════════════════════════
   POLL WIDGET (F-024)
═══════════════════════════════════════ */
.poll-section {
  padding: 2rem 5%;
  max-width: 700px;
  margin: 0 auto;
}

.poll-widget {
  background: linear-gradient(135deg, #0d0d0d 0%, #111 100%);
  border: 1px solid #222;
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.poll-widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--w-red-blood), var(--w-red-neon), var(--w-red-blood));
  animation: poll-glow-line 3s linear infinite;
}
@keyframes poll-glow-line {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.poll-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.poll-icon {
  font-size: 1.4rem;
}
.poll-question {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1.4;
  text-transform: none;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.poll-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid #222;
  border-radius: 10px;
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  text-align: left;
}
.poll-option:hover:not(:disabled) {
  border-color: var(--w-red-blood);
  background: rgba(230, 0, 0, 0.05);
  color: #fff;
  transform: translateX(4px);
}
.poll-option:disabled {
  cursor: default;
}

.poll-option-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, rgba(230, 0, 0, 0.15), rgba(230, 0, 0, 0.25));
  border-right: 2px solid var(--w-red-blood);
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}
.poll-option-voted .poll-option-bar {
  animation: poll-bar-glow 2s ease-out;
}
@keyframes poll-bar-glow {
  0% { box-shadow: inset 0 0 20px rgba(230, 0, 0, 0.5); }
  100% { box-shadow: none; }
}

.poll-option-label,
.poll-option-text {
  position: relative;
  z-index: 1;
}
.poll-option-pct {
  position: relative;
  z-index: 1;
  font-weight: 900;
  color: var(--w-red-neon);
  font-size: 1rem;
  min-width: 45px;
  text-align: right;
}
.poll-option-check {
  position: relative;
  z-index: 1;
  color: var(--w-red-neon);
  font-weight: 900;
  margin-left: 8px;
}

.poll-option-selected,
.poll-option-mine {
  border-color: var(--w-red-blood) !important;
  background: rgba(230, 0, 0, 0.08);
}

.poll-option-animate {
  animation: poll-vote-pulse 0.5s ease;
}
@keyframes poll-vote-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.poll-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #1a1a1a;
}
.poll-total {
  font-size: 0.8rem;
  color: #555;
  font-weight: 600;
}
.poll-expires {
  font-size: 0.75rem;
  color: #444;
}
.poll-error {
  color: #ff4757;
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: 600;
}

.poll-widget-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #1a1a1a;
}
.poll-total-votes {
  font-size: 0.8rem;
  color: #555;
  font-weight: 600;
}
.poll-thanks {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
}


/* ═══════════════════════════════════════
   NATIVE AD CARD (F-034 — Publieditorial)
═══════════════════════════════════════ */
.native-ad-card {
  position: relative;
  border: 1px solid rgba(218, 165, 32, 0.2) !important;
  background: linear-gradient(135deg, #0d0d0d, #111) !important;
}
.native-ad-card:hover {
  border-color: rgba(218, 165, 32, 0.4) !important;
  box-shadow: 0 4px 20px rgba(218, 165, 32, 0.08);
}
.native-ad-img {
  position: relative;
}
.native-ad-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #b8860b, #daa520);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
}
.native-ad-label {
  background: rgba(218, 165, 32, 0.15) !important;
  color: #daa520 !important;
  border: 1px solid rgba(218, 165, 32, 0.3);
}
.native-ad-sponsor {
  font-size: 0.75rem;
  color: #888;
  font-style: italic;
}


/* ═══════════════════════════════════════
   NEWSLETTER FORM (F-025)
═══════════════════════════════════════ */
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-newsletter-form input[type="email"] {
  padding: 12px 16px;
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}
.footer-newsletter-form input[type="email"]:focus {
  border-color: var(--w-red-blood);
}
.footer-newsletter-form input:disabled {
  opacity: 0.5;
}
.footer-newsletter-form button {
  padding: 12px 20px;
  background: var(--w-red-blood);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  text-transform: uppercase;
}
.footer-newsletter-form button:hover:not(:disabled) {
  background: #cc0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
}
.footer-newsletter-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.newsletter-msg {
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  animation: newsletter-fade-in 0.3s ease;
}
@keyframes newsletter-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.newsletter-msg.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.newsletter-msg.warn {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.newsletter-msg.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}


/* ═══════════════════════════════════════
   COLUMNIST GRID (F-026)
═══════════════════════════════════════ */
.about-columnist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

.about-columnist-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.about-columnist-card:hover {
  border-color: rgba(230, 0, 0, 0.3);
  background: #0d0d0d;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.about-columnist-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #222, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid #222;
  transition: border-color 0.3s;
}
.about-columnist-card:hover .about-columnist-avatar {
  border-color: var(--w-red-blood);
}
.about-columnist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-columnist-avatar span {
  font-size: 22px;
  font-weight: 900;
  color: var(--w-red-blood);
}

.about-columnist-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-columnist-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  text-transform: none;
}
.about-columnist-badge {
  font-size: 0.75rem;
  color: #f59e0b;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.about-columnist-bio {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-columnist-tag {
  font-size: 0.7rem;
  color: #555;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .about-columnist-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════
   SKELETON LOADING — shimmer para conteúdo em carregamento
═══════════════════════════════════════════════════════════════════ */

@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }

/* Admin loading state */
.admin-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  color: var(--w-ash);
  font-size: 0.85rem;
  letter-spacing: 2px;
}
.admin-loading::before {
  content: '';
  width: 18px; height: 18px;
  border: 2px solid #333;
  border-top-color: var(--w-red-blood);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes backdropPulse {
  0%   { background: radial-gradient(ellipse at 30% 50%, #1a0000 0%, #080808 50%, #000 100%); }
  50%  { background: radial-gradient(ellipse at 70% 40%, #0a0000 0%, #0d0808 50%, #000 100%); }
  100% { background: radial-gradient(ellipse at 40% 60%, #150000 0%, #060606 50%, #000 100%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ═══════════════════════════════════════════════════════════
   REWARD TOAST — [SPEC-046 F-027]
   Animated notification for listener-reward events
═══════════════════════════════════════════════════════════ */
.reward-toast-container {
  position: fixed;
  bottom: 100px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9990;
  pointer-events: none;
}
@media (max-width: 640px) {
  .reward-toast-container {
    bottom: 80px;
    right: 50%;
    transform: translateX(50%);
    width: 90%;
    max-width: 360px;
    align-items: center;
  }
}

.reward-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(34,197,94,0.12) 0%, rgba(16,185,129,0.08) 100%);
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: 12px;
  padding: 14px 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(34,197,94,0.1);
  pointer-events: auto;
  animation: rewardToastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  min-width: 220px;
}
.reward-toast-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.3px;
  flex: 1;
}
.reward-toast-close {
  background: none;
  border: none;
  color: rgba(34,197,94,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}
.reward-toast-close:hover {
  color: #fff;
}

@keyframes rewardToastIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ═══════════════════════════════════════════════════════════
   CSS SPACING STANDARDIZATION — [SPEC-046 F-025]
   Consistent section gaps using CSS custom property
═══════════════════════════════════════════════════════════ */
:root {
  --section-gap: 2.5rem;
  --section-gap-sm: 1.5rem;
}

.queue-section,
.live-chat-section,
.gritty-scenes-section,
.poll-section,
.news-ticker-container {
  margin-top: var(--section-gap);
}

@media (max-width: 768px) {
  .queue-section,
  .live-chat-section,
  .gritty-scenes-section,
  .poll-section,
  .news-ticker-container {
    margin-top: var(--section-gap-sm);
  }
}

/* ═══════════════════════════════════════════════════════════
   LEADERBOARD ENHANCEMENT — [SPEC-046 F-026]
   "Ver ranking completo" link + subtle row animation
═══════════════════════════════════════════════════════════ */
.leader-table-wrap {
  max-height: 440px;
  overflow-y: auto;
}
.leader-table-footer {
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
}
.leader-view-all {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--w-red-blood, #e63946);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s, transform 0.2s;
}
.leader-view-all:hover {
  color: #fff;
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   ERROR PAGES (404 + Error) — [SPEC-046 F-033]
═══════════════════════════════════════════════════════════ */
.error-page-root {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 40% 50%, #0d0000 0%, #000 70%);
  padding: 2rem;
}
.error-page-content {
  text-align: center;
  max-width: 520px;
}
.error-page-code {
  font-size: 6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #e63946, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -4px;
}
.error-page-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #fff;
  margin: 0 0 1rem;
}
.error-page-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 2rem;
}
.error-page-detail {
  color: #444;
  font-size: 0.8rem;
  font-family: monospace;
  background: #111;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 0 0 2rem;
  word-break: break-all;
}
.error-page-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.error-page-btn {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  text-transform: uppercase;
}
.error-page-btn.primary {
  background: var(--w-red-blood, #e63946);
  border: none;
  color: #fff;
}
.error-page-btn.primary:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.3);
}
.error-page-btn.secondary {
  background: transparent;
  border: 1px solid #333;
  color: #888;
}
.error-page-btn.secondary:hover {
  border-color: #666;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   APP DOWNLOAD BANNER — [SPEC-046 F-032]
   Mobile-only sticky bottom banner
═══════════════════════════════════════════════════════════ */
.app-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9985;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #111 0%, #0d0d0d 100%);
  border-top: 1px solid rgba(230, 57, 70, 0.25);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.6);
  animation: appBannerSlideUp 0.4s ease forwards;
}
@keyframes appBannerSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (min-width: 769px) {
  .app-banner { display: none !important; }
}
.app-banner-close {
  position: absolute;
  top: 4px;
  right: 8px;
  background: none;
  border: none;
  color: #555;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.app-banner-close:hover { color: #fff; }
.app-banner-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.app-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.app-banner-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.app-banner-desc {
  font-size: 0.68rem;
  color: #888;
}
.app-banner-cta {
  background: var(--w-red-blood, #e63946);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.app-banner-cta:hover {
  background: #cc0000;
}

/* ═══════════════════════════════════════════════════════════
   RANKING PUBLIC CTA — [SPEC-046 F-029]
═══════════════════════════════════════════════════════════ */
.ranking-public-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, rgba(230,57,70,0.05) 100%);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f59e0b;
  flex-wrap: wrap;
}
.ranking-cta-btn {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  background: var(--w-red-blood, #e63946);
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}
.ranking-cta-btn:hover {
  background: #cc0000;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   DEEP LINK HIGHLIGHT — [SPEC-046 F-031]
   #fura-fila hash scroll-to animation
═══════════════════════════════════════════════════════════ */
.deep-link-highlight {
  animation: deepLinkPulse 2.5s ease-out;
  outline: 2px solid var(--w-red-blood, #e63946);
  outline-offset: 4px;
  border-radius: 8px;
}
@keyframes deepLinkPulse {
  0% { outline-color: rgba(230, 57, 70, 0.8); box-shadow: 0 0 30px rgba(230, 57, 70, 0.3); }
  60% { outline-color: rgba(230, 57, 70, 0.4); box-shadow: 0 0 15px rgba(230, 57, 70, 0.1); }
  100% { outline-color: transparent; box-shadow: none; }
}

/* ─── LOCALE SELECTOR (FL-12 / Sprint 009-A) ─── */
.locale-selector {
  position: relative;
  display: inline-flex;
}
.locale-selector__trigger {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 5px 12px 5px 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem; font-family: var(--font-body, 'Inter', sans-serif);
  cursor: pointer; transition: all 0.25s ease;
  white-space: nowrap;
}
.locale-selector__trigger:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
}
.locale-selector__trigger svg { opacity: 0.7; transition: opacity 0.2s; }
.locale-selector__trigger:hover svg { opacity: 1; }
.locale-selector__label { letter-spacing: 0.3px; }
.locale-selector__flag { font-size: 1rem; line-height: 1; }

.locale-selector__dropdown {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  list-style: none; margin: 0; padding: 6px 0;
  min-width: 200px;
  max-height: 340px;
  overflow-y: auto;
  background: rgba(14,14,18,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  z-index: 9000;
  animation: localeDropIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Dark scrollbar for the dropdown */
.locale-selector__dropdown::-webkit-scrollbar { width: 6px; }
.locale-selector__dropdown::-webkit-scrollbar-track { background: transparent; }
.locale-selector__dropdown::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}
.locale-selector__dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.25);
}
/* Firefox scrollbar */
.locale-selector__dropdown {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

@keyframes localeDropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px) scale(0.96); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.locale-selector__option {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  background: transparent; border: none;
  padding: 9px 16px; text-align: left;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem; font-family: var(--font-body, 'Inter', sans-serif);
  cursor: pointer; transition: all 0.18s ease;
  border-radius: 0;
}
.locale-selector__option:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.locale-selector__option--active {
  color: var(--w-gold, #d4a843);
  font-weight: 600;
  background: rgba(212,168,67,0.08);
}
.locale-selector__option--active:hover {
  background: rgba(212,168,67,0.14);
}
/* Flag emoji inside option */
.locale-selector__option-flag { font-size: 1.15rem; flex-shrink: 0; line-height: 1; }
.locale-selector__option-label { flex: 1; }
.locale-selector__option-check {
  font-size: 0.7rem; color: var(--w-gold, #d4a843); opacity: 0;
  transition: opacity 0.15s;
}
.locale-selector__option--active .locale-selector__option-check { opacity: 1; }

/* RTL support */
[dir="rtl"] .locale-selector__option { text-align: right; flex-direction: row-reverse; }
@media (max-width: 768px) {
  .locale-selector__label { display: none; }
  .locale-selector__trigger { padding: 6px 8px; }
  .locale-selector__dropdown {
    min-width: 180px;
    max-height: 280px;
    left: auto; right: 0;
    transform: none;
  }
  .locale-selector--top .locale-selector__dropdown {
    transform: none;
  }
}

/* ─── FOOTER LEGAL ROW (FL-12 mount) ─── */
.footer-legal-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── LOCALE SELECTOR: NavBar position (--top) ─── */
.locale-selector--top .locale-selector__dropdown {
  bottom: auto;
  top: calc(100% + 8px);
  animation-name: localeDropDown;
}
@keyframes localeDropDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(0.96); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
.locale-selector--top {
  margin-left: 8px;
  margin-right: 4px;
}


/* ═══════════════════════════════════════════════════════════════════
   NEWS LAYOUT — Main Grid + Aggregator Sidebar  [Sprint 003]
   Responsive: percentage-based columns to fill ultra-wide monitors
   ═══════════════════════════════════════════════════════════════════ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 28%;
  gap: 2%;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 5%;
}
.news-layout--single { grid-template-columns: 1fr; }
.news-main { min-width: 0; }

@media (max-width: 1024px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   AGENT NEWS PANEL — "Na Rede" Aggregator  [Sprint 003]
   ═══════════════════════════════════════════════════════════════════ */
.agent-news-panel {
  padding: 1.25rem;
  background: linear-gradient(180deg, #080808 0%, #060606 100%);
  border: 1px dotted rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  align-self: stretch;
}
.agent-news-panel::-webkit-scrollbar { width: 4px; }
.agent-news-panel::-webkit-scrollbar-track { background: transparent; }
.agent-news-panel::-webkit-scrollbar-thumb { background: #222; border-radius: 4px; }

.agent-news-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1a1a1a;
}
.agent-news-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.agent-news-title-row h3 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
}
.agent-news-subtitle {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}

.agent-news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agent-news-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid #151515;
  border-radius: 10px;
  transition: all 0.25s ease;
}
.agent-news-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
  background: rgba(230, 57, 70, 0.03);
  transform: translateX(2px);
}

.agent-news-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}
.agent-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-news-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.agent-news-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ddd;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  text-transform: none;
}
.agent-news-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.agent-news-source {
  font-size: 0.65rem;
  color: #e63946;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.agent-news-date {
  font-size: 0.65rem;
  color: #555;
  font-weight: 500;
}

/* ── Unified "Ver mais" button (page-level, syncs both feeds) ── */
.news-load-more {
  display: block;
  width: 100%;
  margin-top: 2rem;
  padding: 14px 24px;
  background: rgba(230, 57, 70, 0.06);
  border: 1px solid rgba(230, 57, 70, 0.15);
  border-radius: 10px;
  color: #e63946;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
}
.news-load-more:hover {
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.12);
}

/* ── Wrapper for Ver mais (outside the grid, full-width) ── */
.news-load-more-wrapper {
  width: 100%;
  padding: 1.5rem 5% 2rem;
  display: flex;
  justify-content: center;
}

/* ── WSR Badge (aggregator footer) ── */
.agent-news-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 1.25rem;
  padding: 8px 12px;
  border-top: 1px dotted rgba(255, 255, 255, 0.06);
  color: #444;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.agent-news-badge svg { opacity: 0.4; }

@media (max-width: 1024px) {
  .agent-news-panel {
    position: static;
    max-height: none;
    order: -1;
  }
  .agent-news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .agent-news-list {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   NEWS SOURCE PILL — Editorial vs Aggregator badge overlay
   ═══════════════════════════════════════════════════════════════════ */
.news-source-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.news-source-pill--editorial {
  background: rgba(230, 57, 70, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.news-source-pill--agent {
  background: rgba(30, 30, 40, 0.85);
  color: #999;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.news-source-pill svg {
  opacity: 0.85;
  flex-shrink: 0;
}
/* Position context for cards */
.news-card-img,
.news-hero-img-wrap,
.pn-featured-img,
.pn-card-img {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════════
   NEWS SECTION HEADER — Source label above each section
   ═══════════════════════════════════════════════════════════════════ */
.news-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.news-section-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}
.news-section-header__icon--editorial {
  background: rgba(230, 57, 70, 0.12);
  color: #e63946;
  border: 1px solid rgba(230, 57, 70, 0.25);
}
.news-section-header__title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ccc;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 2px;
}
.news-section-header__sub {
  font-size: 0.72rem;
  color: #555;
  font-weight: 500;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   NEWS SOURCE DIVIDER — Horizontal separator between sources
   ═══════════════════════════════════════════════════════════════════ */
.news-source-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 2.5rem 0;
  user-select: none;
}
.news-source-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent
  );
}
.news-source-divider__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(30, 30, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #777;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.news-source-divider__label svg {
  opacity: 0.5;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   NEWS FALLBACK BANNER — Shown when editorial is unavailable
   ═══════════════════════════════════════════════════════════════════ */
.news-fallback-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  margin-bottom: 2rem;
  background: linear-gradient(135deg,
    rgba(42, 157, 143, 0.06) 0%,
    rgba(30, 30, 40, 0.4) 100%
  );
  border: 1px solid rgba(42, 157, 143, 0.15);
  border-left: 3px solid rgba(42, 157, 143, 0.5);
  border-radius: 12px;
}
.news-fallback-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(42, 157, 143, 0.1);
  color: #2a9d8f;
  border: 1px solid rgba(42, 157, 143, 0.2);
}
.news-fallback-banner strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #bbb;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.news-fallback-banner p {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ── Single-column layout (no sidebar) ── */
.news-layout--single {
  grid-template-columns: 1fr;
}

/* ── Portal tag in card footer ── */
.news-card-portal {
  font-size: 0.62rem;
  font-weight: 700;
  color: #2a9d8f;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pn-source-tag {
  font-size: 0.58rem;
  font-weight: 700;
  color: #2a9d8f;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════════
   NEWS EDITORIAL OFFLINE — Notice when editorial CMS is unavailable
   ═══════════════════════════════════════════════════════════════════ */
.news-editorial-offline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg,
    rgba(230, 57, 70, 0.04) 0%,
    rgba(30, 30, 40, 0.3) 100%
  );
  border: 1px solid rgba(230, 57, 70, 0.12);
  border-left: 3px solid rgba(230, 57, 70, 0.35);
  border-radius: 10px;
}
.news-editorial-offline__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(230, 57, 70, 0.08);
  color: rgba(230, 57, 70, 0.5);
  border: 1px solid rgba(230, 57, 70, 0.12);
}
.news-editorial-offline p {
  font-size: 0.72rem;
  color: #888;
  line-height: 1.4;
  margin: 0;
  font-style: italic;
}
.news-editorial-offline__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 0.3px;
  margin: 0 0 4px 0;
  font-style: normal;
}
.news-editorial-offline__desc {
  font-size: 0.68rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
  font-style: italic;
}

/* ── Agent variant for section header icon ── */
.news-section-header__icon--agent {
  background: rgba(42, 157, 143, 0.1);
  color: #2a9d8f;
  border: 1px solid rgba(42, 157, 143, 0.2);
}

@media (max-width: 640px) {
  .news-source-divider { margin: 1.5rem 0; }
  .news-source-divider__label { font-size: 0.58rem; padding: 6px 12px; }
  .news-fallback-banner { flex-direction: column; gap: 10px; }
  .news-editorial-offline { flex-direction: column; gap: 8px; text-align: center; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CATALOG SEARCH — CatalogSearch.jsx
   Overlay modal de busca de artistas e faixas + Fura-Fila vote trigger
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Overlay wrapper (mode="overlay") ── */
.catalog-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 40px;
  animation: csOverlayIn 0.18s ease;
}
@keyframes csOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.catalog-search-overlay__panel {
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a transparent;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.04);
  animation: csPanelIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes csPanelIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Section mode (inline na página) ── */
.catalog-search--section {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 28px;
}

/* ── Header ── */
.catalog-search__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 0;
  margin-bottom: 20px;
}
.catalog-search--section .catalog-search__header {
  padding: 0;
}

.catalog-search__eyebrow {
  display: block;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--w-red);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.catalog-search__header h2 {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.catalog-search__header p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

/* ── Close button ── */
.catalog-search__close {
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid #2a2a2a;
  color: #888;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s;
}
.catalog-search__close:hover {
  background: rgba(230, 0, 0, 0.1);
  border-color: var(--w-red);
  color: #fff;
}

/* ── Search field ── */
.catalog-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 0 16px;
  margin: 0 24px 20px;
  color: #666;
  transition: border-color 0.2s;
}
.catalog-search--section .catalog-search__field {
  margin: 0 0 20px;
}
.catalog-search__field:focus-within {
  border-color: var(--w-red);
  color: #aaa;
}
.catalog-search__field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  padding: 14px 0;
}
.catalog-search__field input::placeholder { color: #555; }

/* Spinner icon */
.catalog-search__spinner {
  color: var(--w-red);
  animation: csSpin 0.8s linear infinite;
}
@keyframes csSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Body / results area ── */
.catalog-search__body {
  padding: 0 24px 24px;
}
.catalog-search--section .catalog-search__body {
  padding: 0;
}

/* Hint / empty / error text */
.catalog-search__hint {
  font-size: 0.85rem;
  color: #555;
  text-align: center;
  padding: 24px 0;
  margin: 0;
}

/* ── Result group (Artists / Tracks) ── */
.catalog-search__group {
  margin-bottom: 24px;
}
.catalog-search__group:last-child { margin-bottom: 0; }
.catalog-search__group h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #555;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a1a1a;
}

/* ── Artist grid ── */
.catalog-search__artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.catalog-search__artist {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  text-decoration: none;
  color: #ccc;
  transition: all 0.2s;
}
.catalog-search__artist:hover {
  border-color: var(--w-red);
  background: rgba(230, 0, 0, 0.05);
  color: #fff;
  transform: translateY(-1px);
}
.catalog-search__artist strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-search__artist small {
  font-size: 0.72rem;
  color: #666;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Artist avatar */
.catalog-search__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--w-red);
  border: 1px solid #2a2a2a;
}
.catalog-search__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Track list ── */
.catalog-search__track-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.catalog-search__track {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  transition: border-color 0.2s;
}
.catalog-search__track:hover {
  border-color: #2a2a2a;
  background: #131313;
}

/* Main clickable area (title + meta) */
.catalog-search__track-main {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.catalog-search__track-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #eee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-search__track-meta {
  display: block;
  font-size: 0.72rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Side column (artist link + plays) */
.catalog-search__track-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
}
.catalog-search__track-side a,
.catalog-search__track-side span {
  font-size: 0.72rem;
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.catalog-search__track-side a:hover { color: var(--w-red); }
.catalog-search__track-side small {
  font-size: 0.65rem;
  color: #444;
  display: block;
}

/* Vote / Truvar button */
.catalog-search__vote {
  flex-shrink: 0;
  background: rgba(230, 0, 0, 0.08);
  border: 1px solid rgba(230, 0, 0, 0.2);
  color: var(--w-red);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  font-family: inherit;
}
.catalog-search__vote:hover {
  background: var(--w-red);
  border-color: var(--w-red);
  color: #fff;
  transform: scale(1.03);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .catalog-search-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .catalog-search-overlay__panel {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    animation: csPanelInMobile 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes csPanelInMobile {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .catalog-search__header { padding: 20px 16px 0; }
  .catalog-search__field  { margin: 0 16px 16px; }
  .catalog-search__body   { padding: 0 16px 24px; }
  .catalog-search__artist-grid { grid-template-columns: 1fr 1fr; }
  .catalog-search__track-side  { display: none; }
  .catalog-search__vote {
    font-size: 0.6rem;
    padding: 5px 10px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SPEC-049 GAMIFICATION — Wallet, Missions, Rewards
   Single source of truth for all gamification UI styles.
═══════════════════════════════════════════════════════════════════════════ */

/* ── Wallet Trigger Pill (NavBar compact) ── */
.wallet-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
  flex-shrink: 0;
}
.wallet-trigger:hover {
  background: rgba(230, 0, 0, 0.1);
  border-color: var(--w-red-blood);
  box-shadow: 0 0 12px rgba(230, 0, 0, 0.2);
}
.wt-truva,
.wt-ep {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--w-white);
  white-space: nowrap;
}
.wt-truva { color: #80d4ff; }
.wt-ep    { color: #ffd866; }

/* ── Wallet Modal Overlay ── */
.wallet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10001;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.2s ease;
}
.wallet-modal {
  background: linear-gradient(145deg, #111 0%, #0a0a0a 100%);
  border: 1px solid #222;
  border-radius: 16px;
  width: 90%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: scaleIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wallet-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #666;
  font-size: 1.2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.wallet-modal-close:hover { color: #fff; }

/* ── Wallet Balance Cards ── */
.wallet-balance-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.wallet-bal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s ease;
}
.wallet-bal-card:hover {
  border-color: #333;
  background: rgba(255, 255, 255, 0.06);
}
.wallet-bal-card.truva { border-top: 2px solid #80d4ff; }
.wallet-bal-card.free  { border-top: 2px solid #66ff99; }
.wallet-bal-card.ep    { border-top: 2px solid #ffd866; }
.wbc-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
.wbc-label {
  display: block;
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── Wallet Section Title ── */
.wallet-section-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #888;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1a1a1a;
}

/* ── Wallet Packs Grid ── */
.wallet-packs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.wallet-pack {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.wallet-pack:hover {
  border-color: var(--w-red-blood);
  background: rgba(230, 0, 0, 0.06);
  transform: translateY(-2px);
}
.wallet-pack.selected {
  border-color: var(--w-red-neon);
  background: rgba(230, 0, 0, 0.12);
  box-shadow: 0 0 16px rgba(230, 0, 0, 0.2);
}
.wp-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: #80d4ff;
  line-height: 1.1;
}
.wp-label {
  font-size: 0.6rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 2px 0 6px;
}
.wp-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.wp-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.6rem;
  font-weight: 800;
  color: #66ff99;
  background: rgba(102, 255, 153, 0.08);
  border: 1px solid rgba(102, 255, 153, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

/* ── Wallet Payment Methods ── */
.wallet-pay-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wallet-pay-btn {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #222;
  background: rgba(255, 255, 255, 0.03);
  color: #ccc;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}
.wallet-pay-btn:hover:not(:disabled) {
  border-color: var(--w-red-blood);
  background: rgba(230, 0, 0, 0.08);
  color: #fff;
  transform: translateX(4px);
}
.wallet-pay-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* ── Missions Overlay / Panel ── */
.missions-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10001;
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 0.2s ease;
}
.missions-panel {
  width: 420px;
  max-width: 95vw;
  height: 100vh;
  background: linear-gradient(180deg, #0d0d0d 0%, #080808 100%);
  border-left: 1px solid #222;
  overflow-y: auto;
  animation: slideInRight 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.missions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 12px;
  border-bottom: 1px solid #1a1a1a;
}
.missions-header h2 {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
}
.missions-close {
  background: none;
  border: none;
  color: #666;
  font-size: 1.2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.missions-close:hover { color: #fff; }

/* ── Missions Tabs ── */
.missions-tabs {
  display: flex;
  gap: 0;
  padding: 0 24px;
  border-bottom: 1px solid #1a1a1a;
}
.missions-tabs button {
  flex: 1;
  padding: 12px 8px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #666;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.missions-tabs button:hover { color: #aaa; }
.missions-tabs button.active {
  color: var(--w-red-neon);
  border-bottom-color: var(--w-red-neon);
}

/* ── Mission List ── */
.missions-list {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.missions-empty {
  text-align: center;
  color: #555;
  font-size: 0.9rem;
  padding: 32px 0;
}

/* ── Mission Card ── */
.mission-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.3s ease;
}
.mission-card:hover {
  border-color: #333;
  background: rgba(255, 255, 255, 0.05);
}
.mission-card.completed {
  opacity: 0.5;
  border-color: rgba(102, 255, 153, 0.2);
}
.mc-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}
.mc-body {
  flex: 1;
  min-width: 0;
}
.mc-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.3;
}
.mc-desc {
  font-size: 0.75rem;
  color: #777;
  line-height: 1.4;
  margin-bottom: 8px;
}
.mc-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.mc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--w-red-blood), var(--w-red-neon));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.mc-rewards {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
}
.mc-rewards .ep    { color: #ffd866; }
.mc-rewards .truva { color: #80d4ff; }
.mc-status-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #66ff99;
  background: rgba(102, 255, 153, 0.08);
  border: 1px solid rgba(102, 255, 153, 0.2);
  padding: 4px 10px;
  border-radius: 8px;
  flex-shrink: 0;
  align-self: center;
}
.mc-claim-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: var(--w-red-blood);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  align-self: center;
  text-transform: uppercase;
}
.mc-claim-btn:hover:not(:disabled) {
  background: var(--w-red-neon);
  box-shadow: 0 0 16px rgba(230, 0, 0, 0.4);
  transform: translateY(-1px);
}
.mc-claim-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* ── Missions Login CTA ── */
.missions-login-cta {
  text-align: center;
  padding: 40px 20px;
}
.missions-login-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.missions-login-cta p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}
.missions-login-btn {
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid var(--w-red-blood);
  background: transparent;
  color: var(--w-red-neon);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.missions-login-btn:hover {
  background: var(--w-red-blood);
  color: #fff;
}

/* ── LevelBadge ── */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 16px;
  background: rgba(255, 216, 102, 0.06);
  border: 1px solid rgba(255, 216, 102, 0.15);
  color: #ffd866;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.level-badge.lg {
  font-size: 1rem;
  padding: 8px 20px;
}
.level-badge.md {
  font-size: 0.85rem;
  padding: 6px 16px;
}

/* ── Reward Animation ── */
.reward-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}
.reward-popup {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid var(--w-red-blood);
  border-radius: 16px;
  padding: 32px 40px;
  text-align: center;
  box-shadow: 0 0 40px rgba(230, 0, 0, 0.3);
  animation: rewardBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reward-popup-msg {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffd866;
  letter-spacing: 1px;
}
@keyframes rewardBounce {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Shared Animations ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* ── Responsive: Gamification ── */
@media (max-width: 768px) {
  .wallet-modal { width: 95%; padding: 24px 18px; }
  .wallet-balance-row { grid-template-columns: 1fr; gap: 8px; }
  .wallet-packs { grid-template-columns: repeat(2, 1fr); }
  .missions-panel { width: 100%; }
}
/* ════════════════════════════════════════════════
   Module: 11-responsive.css
   Sources: 14-performance.css 27-accessibility.css 28-responsive.css 29-production-overrides.css 17-misc-fixes.css
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   PERFORMANCE — will-change e content-visibility para devices lentos
═══════════════════════════════════════════════════════════════════ */

/* GPU layer hints para elementos animados */
.mode-floating,
.admin-nav-btn.active,
.exception-card:hover,
.panel-btn:hover {
  will-change: transform;
}

/* Lazy render para seções fora do viewport */
.gritty-scenes-section,
.global-footer-container,
.banner-separator {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* Imagens lazy: fade-in ao carregar */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* Previne layout shift em imagens de notícia */
.card-img-wrapper {
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PERFORMANCE & ACCESSIBILITY
═══════════════════════════════════════════════════════════════════════════ */

/* Reduce motion for low-end devices and accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* GPU acceleration hints */
.architectural-nav,

/* Lazy image placeholder */
.card-img-wrapper img[loading="lazy"] {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}


/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE OVERRIDES
═══════════════════════════════════════════════════════════════════════════ */

/* Intermediate desktop: reduce nav padding so auth buttons don't overflow */
@media (max-width: 1440px) {
  .architectural-nav {
    padding: 0 2.5rem;
  }
}

@media (max-width: 1200px) {
  .architectural-nav {
    padding: 0 1.5rem;
  }
  .nav-links {
    gap: 1.2rem;
  }
  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 1024px) {
  .architectural-nav {
    padding: 0 1.2rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }
  .page-content-grid {
    padding: 2rem 3%;
  }
  .scenes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .architectural-nav {
    padding: 0 1rem;
  }
  .nav-logo {
    height: 28px;
  }
  .nav-links {
    gap: 0.8rem;
    font-size: 0.75rem;
  }
  .twitch-panels-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1.5rem 1rem;
  }
  .panel-btn {
    font-size: 0.75rem;
    padding: 0.8rem 1rem;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .chat-listener-grid {
    grid-template-columns: 1fr;
  }
  .scenes-grid {
    grid-template-columns: 1fr;
  }
  .page-content-grid {
    padding: 1.5rem 4%;
  }
}

@media (max-width: 480px) {
  .architectural-nav {
    padding: 0 0.8rem;
  }
  .nav-logo {
    height: 24px;
  }
  .nav-links li {
    display: none;
  }
  .nav-links li:first-child,
  .nav-links li:nth-child(3) {
    display: block;
  }
  .twitch-panels-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 1rem 0.8rem;
  }
  .panel-btn {
    font-size: 0.65rem;
    padding: 0.6rem 0.5rem;
    letter-spacing: 0.5px;
  }

}



/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCTION OVERRIDES — Consolidated from VPS patches (sessions e6839086)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hamburger Menu (Mobile) ──────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Section Spacing (Homepage) ───────────────────────────────────────── */
.twitch-panels-row { margin-top: 2.5rem !important; margin-bottom: 1.5rem !important; }
.queue-section { margin-top: 2rem; }
.publipost-section,

.twitch-panels-row + .queue-section,
.twitch-panels-row + section { margin-top: 2.5rem; }
.gritty-scenes-section { margin-top: 2rem; padding-top: 1rem; }
.banner-separator { margin: 2rem 0; }
.page-content-grid { margin-top: 1.5rem; }
section + section { margin-top: 1rem; }

/* ── Mobile drawer (≤900px) ── */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    gap: 0;
    transition: right 0.35s ease;
    z-index: 9998;
    box-shadow: -8px 0 30px rgba(0,0,0,0.5);
  }
  .nav-links.open { right: 0; }
  .nav-links li { display: block !important; }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  :root {
    --nav-height: 50px;
  }
  .architectural-nav {
    padding: 0 1rem;
  }
}

/* ── Desktop: hide hamburger, show standalone LOGIN ── */
@media (min-width: 901px) {
  .nav-hamburger { display: none !important; }
  .nav-drawer-auth { display: none !important; }
}

/* ── Mobile: hide standalone LOGIN/CRIAR, show hamburger ── */
@media (max-width: 900px) {
  .architectural-nav > .nav-user-wrap,
  .architectural-nav > .btn-entrar,
  .architectural-nav > .btn-criar-conta { display: none !important; }
}

/* ── [F-011] Mobile Bottom Sheet (<640px) ── */
@media (max-width: 640px) {
  .nav-auth-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .nav-auth-modal,
  .nav-auth-glass {
    max-width: 100% !important;
    height: auto;
    max-height: 90dvh;
    border-radius: 20px 20px 0 0 !important;
    overflow-y: auto;
    animation: slideFromBottom 0.3s ease !important;
  }
  .nav-auth-brand { padding: 2rem 1.5rem 1rem; }
  .nav-auth-brand h3 { font-size: 1.1rem; }
  .cookie-consent-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .cookie-consent-text { flex-direction: column; gap: 8px; }
  .cookie-consent-actions { width: 100%; justify-content: center; }
}

/* ── Drawer LOGIN button (injected by NavAuth JS) ── */

/* ── PIP Player: Larger on desktop, smaller on mobile ─────────────────── */
.wsr-pip { border-radius: 0 0 10px 10px; width: 280px; }

.wsr-pip-bar { padding: 0.55rem 0.75rem; gap: 0.5rem; }
.wsr-pip-info { max-width: calc(280px - 90px); }
.wsr-pip-title { font-size: 0.72rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wsr-pip-btn { width: 32px; height: 32px; border-radius: 4px; }
.main-wrapper { padding-bottom: 100px; }

/* Fix #2: PIP mobile — 200px instead of 180px, prevent screen blockage */
@media (max-width: 640px) {
  .wsr-pip { bottom: 0.75rem; right: 0.75rem; width: 200px; border-radius: 0 0 8px 8px; }

  .wsr-yt-mode-pip { width: 200px !important; height: 112px !important; bottom: calc(0.75rem + 56px) !important; right: 0.75rem !important; border-radius: 8px 8px 0 0 !important; }
  .wsr-pip-bar { padding: 0.4rem 0.5rem; }
  .wsr-pip-info { max-width: calc(200px - 70px); }
  .wsr-pip-title { font-size: 0.6rem; }

  .wsr-pip-btn { width: 26px; height: 26px; }
}

/* Nav Auth Wrap — Mobile Hide Login */
.nav-auth-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-auth-wrap .btn-entrar {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    clip-path: none; /* easier to fit side-by-side */
    border-radius: 4px;
    white-space: nowrap;
  }
}

/* Fix Modal Overflow (tall form safety — desktop only) */
@media (min-width: 641px) {
  .nav-auth-overlay {
    overflow-y: auto !important;
  }
  .nav-auth-modal {
    margin-bottom: 2rem !important;
  }
}/* ═══════════════════════════════════════════════════════════════════
   MISC FIXES & RESPONSIVE POLISH
═══════════════════════════════════════════════════════════════════ */

/* Corrige overflow em tabelas admin em mobile */
@media (max-width: 768px) {
  .library-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .exception-table th,
  .exception-table td {
    font-size: 0.75rem;
    padding: 0.6rem 0.5rem;
    white-space: nowrap;
  }

  /* Vinheta grid: 2 colunas em mobile */
  .vinheta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* SEO grid: 1 coluna em mobile */
  .seo-grid {
    grid-template-columns: 1fr;
  }

  /* Locale grid: scroll horizontal */
  .locale-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  /* Sponsor metrics: 2x2 grid */
  .sponsor-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Schedule list mais compacta */
  .schedule-item { padding: 0.5rem; font-size: 0.8rem; }
}

/* Retira text-transform de elementos onde não faz sentido */
.admin-bio,
.card-desc,
.portal-subtitle,
.card-content p,
.admin-card-info span:not(.admin-badge):not(.admin-date) {
  text-transform: none;
}

/* Smooth scroll: removido do global (causava scroll-race com Next.js hydration).
   Para scroll suave em links específicos, usar scroll-behavior: smooth no elemento alvo. */

/* Touch optimization */
button, [role="button"], a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Prevent font-size inflation on iOS */
html {
  -webkit-text-size-adjust: 100%;
}



/* ── Mobile-First: Theater/Admin/Grid Overrides (from theater cleanup) ── */
@media (max-width: 768px) {
  .architectural-nav { padding: 0 1rem; }
  .brand-logotype h1 { font-size: 1.4rem; }
  .nav-links { gap: 1rem; }
  .nav-links li:not(:first-child):not(:last-child) { display: none; }
  .news-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1rem; }
  .twitch-panels-row {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: 1rem; padding: 2rem 1rem; justify-content: flex-start; scrollbar-width: none;
  }
  .twitch-panels-row::-webkit-scrollbar { display: none; }
  .panel-btn { min-width: 160px; padding: 0.8rem 1.2rem; font-size: 0.85rem; }
  .gritty-scenes-section { padding: 3rem 1rem; }
  .scenes-grid { grid-template-columns: 1fr; gap: 2rem; }
  .chat-listener-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .admin-shell { flex-direction: column; }
  .admin-sidebar {
    width: 100%; height: auto; flex-direction: row; overflow-x: auto; overflow-y: hidden;
    padding: 0.5rem; gap: 0.3rem; flex-wrap: nowrap;
    border-right: none; border-bottom: 2px solid var(--w-red); scrollbar-width: none;
  }
  .admin-sidebar::-webkit-scrollbar { display: none; }
  .admin-nav-btn { white-space: nowrap; min-width: auto; padding: 0.5rem 0.8rem; font-size: 0.7rem; flex-shrink: 0; }
  .admin-brand { display: none; }
  .admin-main { padding: 1rem; }
  .sponsor-form { flex-direction: column; }
  .admin-card { padding: 0.8rem; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .admin-stat-card { padding: 0.8rem; }
}

/* ── Landscape: full viewport player ── */
@media (max-width: 768px) and (orientation: landscape) {
  .architectural-nav,
  .now-playing-hud,
  .main-wrapper > *:not(.global-player-container),
  footer, .global-footer-container { display: none !important; }
  .mode-theater::after {
    content: '↩ PORTRAIT'; position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,0.6); color: #fff; font-size: 0.6rem;
    letter-spacing: 2px; padding: 4px 8px; border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
  }
}

/* ── Footer Grid Responsive ── */
@media (max-width: 768px) {
  .footer-robust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 20px;
  }
}
@media (max-width: 480px) {
  .footer-robust-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SPRINT 3/4/5 RESPONSIVE POLISH (SPEC-031 F-016)
═══════════════════════════════════════════════════════════════════ */

/* ── Artist Claim: mobile max-width + padding ── */
@media (max-width: 480px) {
  .artist-claim-card {
    padding: 28px 20px;
    border-radius: 12px;
  }
  .artist-claim-header h1 { font-size: 20px; }
  .artist-form-group input { font-size: 14px; padding: 12px 14px; }
  .artist-claim-btn { font-size: 12px; padding: 14px; }
}

/* ── OTP: smaller digits on narrow screens ── */
@media (max-width: 375px) {
  .artist-otp-container { gap: 4px; }
  .artist-otp-digit { width: 40px; height: 48px; font-size: 18px; border-radius: 8px; }
}

/* ── Dashboard: stack stats + compact table ── */
@media (max-width: 480px) {
  .artist-dashboard-root { padding: 80px 3% 40px; }
  .artist-dashboard-header { padding: 16px; }
  .artist-dashboard-header h1 { font-size: 18px; }
  .artist-dash-avatar { width: 44px; height: 44px; }
  .artist-upload-section,
  .artist-tracks-section { padding: 20px 16px; }
}

/* ── Ranking: tabs wrap on narrow ── */
@media (max-width: 400px) {
  .ranking-tabs { flex-wrap: wrap; }
  .ranking-tab { flex: 1; min-width: 100px; text-align: center; font-size: 0.75rem; padding: 0.5rem 0.8rem; }
}

/* ── Portal form: single column fields ── */
@media (max-width: 480px) {
  .portal-choose-grid { grid-template-columns: 1fr; }
  .portal-mode-card { padding: 2rem 1.5rem; }
  .portal-title { font-size: 2.2rem; letter-spacing: -1px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ── Global: prevent horizontal overflow ── */
html, body { overflow-x: hidden; }
/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCTION OVERRIDES — Consolidated from VPS patches (sessions e6839086)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hamburger Menu (Mobile) ──────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Section Spacing (Homepage) ───────────────────────────────────────── */
.twitch-panels-row { margin-top: 2.5rem !important; margin-bottom: 1.5rem !important; }
.queue-section { margin-top: 2rem; }
.publipost-section,

.twitch-panels-row + .queue-section,
.twitch-panels-row + section { margin-top: 2.5rem; }
.gritty-scenes-section { margin-top: 2rem; padding-top: 1rem; }
.banner-separator { margin: 2rem 0; }
.page-content-grid { margin-top: 1.5rem; }
section + section { margin-top: 1rem; }

/* ── Mobile drawer (≤900px) ── */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    gap: 0;
    transition: right 0.35s ease;
    z-index: 9998;
    box-shadow: -8px 0 30px rgba(0,0,0,0.5);
  }
  .nav-links.open { right: 0; }
  .nav-links li { display: block !important; }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  :root {
    --nav-height: 50px;
  }
  .architectural-nav {
    padding: 0 1rem;
  }
}

/* ── Desktop: hide hamburger, show standalone LOGIN ── */
@media (min-width: 901px) {
  .nav-hamburger { display: none !important; }
  .nav-drawer-auth { display: none !important; }
}

/* ── Mobile: hide standalone LOGIN/CRIAR, show hamburger ── */
@media (max-width: 900px) {
  .architectural-nav > .nav-user-wrap,
  .architectural-nav > .btn-entrar,
  .architectural-nav > .btn-criar-conta { display: none !important; }
}

/* ── [F-011] Mobile Bottom Sheet (<640px) ── */
@media (max-width: 640px) {
  .nav-auth-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .nav-auth-modal,
  .nav-auth-glass {
    max-width: 100% !important;
    height: 90vh;
    border-radius: 20px 20px 0 0 !important;
    overflow-y: auto;
    animation: slideFromBottom 0.3s ease !important;
  }
  .nav-auth-brand { padding: 2rem 1.5rem 1rem; }
  .nav-auth-brand h3 { font-size: 1.1rem; }
  .cookie-consent-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .cookie-consent-text { flex-direction: column; gap: 8px; }
  .cookie-consent-actions { width: 100%; justify-content: center; }
}

/* ── Drawer LOGIN button (injected by NavAuth JS) ── */

/* ── PIP Player: Larger on desktop, smaller on mobile ─────────────────── */
.wsr-pip { border-radius: 0 0 10px 10px; width: 320px; }

.wsr-pip-bar { padding: 0.55rem 0.75rem; gap: 0.5rem; }
.wsr-pip-info { max-width: calc(320px - 90px); }
.wsr-pip-title { font-size: 0.72rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wsr-pip-btn { width: 32px; height: 32px; border-radius: 4px; }
.main-wrapper { padding-bottom: 100px; }

/* Fix #2: PIP mobile — 200px instead of 180px, prevent screen blockage */
@media (max-width: 640px) {
  .wsr-pip { bottom: 0.75rem; right: 0.75rem; width: 200px; border-radius: 0 0 8px 8px; }

  .wsr-yt-mode-pip { width: 200px !important; height: 112px !important; bottom: calc(0.75rem + 56px) !important; right: 0.75rem !important; border-radius: 8px 8px 0 0 !important; }
  .wsr-pip-bar { padding: 0.4rem 0.5rem; }
  .wsr-pip-info { max-width: calc(200px - 70px); }
  .wsr-pip-title { font-size: 0.6rem; }

  .wsr-pip-btn { width: 26px; height: 26px; }
}

/* Nav Auth Wrap — Mobile Hide Login */
.nav-auth-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-auth-wrap .btn-entrar {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    clip-path: none; /* easier to fit side-by-side */
    border-radius: 4px;
    white-space: nowrap;
  }
}

/* Fix Modal Overflow (tall form safety — desktop only) */
@media (min-width: 641px) {
  .nav-auth-overlay {
    overflow-y: auto !important;
  }
  .nav-auth-modal {
    margin-bottom: 2rem !important;
  }
}/* ═══════════════════════════════════════════════════════════════════
   MISC FIXES & RESPONSIVE POLISH
═══════════════════════════════════════════════════════════════════ */

/* Corrige overflow em tabelas admin em mobile */
@media (max-width: 768px) {
  .library-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .exception-table th,
  .exception-table td {
    font-size: 0.75rem;
    padding: 0.6rem 0.5rem;
    white-space: nowrap;
  }

  /* Vinheta grid: 2 colunas em mobile */
  .vinheta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* SEO grid: 1 coluna em mobile */
  .seo-grid {
    grid-template-columns: 1fr;
  }

  /* Locale grid: scroll horizontal */
  .locale-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  /* Sponsor metrics: 2x2 grid */
  .sponsor-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Schedule list mais compacta */
  .schedule-item { padding: 0.5rem; font-size: 0.8rem; }
}

/* Retira text-transform de elementos onde não faz sentido */
.admin-bio,
.card-desc,
.portal-subtitle,
.card-content p,
.admin-card-info span:not(.admin-badge):not(.admin-date) {
  text-transform: none;
}

/* Smooth scroll: removido do global (causava scroll-race com Next.js hydration).
   Para scroll suave em links específicos, usar scroll-behavior: smooth no elemento alvo. */

/* Touch optimization */
button, [role="button"], a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Prevent font-size inflation on iOS */
html {
  -webkit-text-size-adjust: 100%;
}



/* ── Mobile-First: Theater/Admin/Grid Overrides (from theater cleanup) ── */
@media (max-width: 768px) {
  .architectural-nav { padding: 0 1rem; }
  .brand-logotype h1 { font-size: 1.4rem; }
  .nav-links { gap: 1rem; }
  .nav-links li:not(:first-child):not(:last-child) { display: none; }
  .news-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1rem; }
  .twitch-panels-row {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: 1rem; padding: 2rem 1rem; justify-content: flex-start; scrollbar-width: none;
  }
  .twitch-panels-row::-webkit-scrollbar { display: none; }
  .panel-btn { min-width: 160px; padding: 0.8rem 1.2rem; font-size: 0.85rem; }
  .gritty-scenes-section { padding: 3rem 1rem; }
  .scenes-grid { grid-template-columns: 1fr; gap: 2rem; }
  .chat-listener-grid { flex-direction: column; }
  .admin-shell { flex-direction: column; }
  .admin-sidebar {
    width: 100%; height: auto; flex-direction: row; overflow-x: auto; overflow-y: hidden;
    padding: 0.5rem; gap: 0.3rem; flex-wrap: nowrap;
    border-right: none; border-bottom: 2px solid var(--w-red); scrollbar-width: none;
  }
  .admin-sidebar::-webkit-scrollbar { display: none; }
  .admin-nav-btn { white-space: nowrap; min-width: auto; padding: 0.5rem 0.8rem; font-size: 0.7rem; flex-shrink: 0; }
  .admin-brand { display: none; }
  .admin-main { padding: 1rem; }
  .sponsor-form { flex-direction: column; }
  .admin-card { padding: 0.8rem; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .admin-stat-card { padding: 0.8rem; }
}

/* ── Landscape: full viewport player ── */
@media (max-width: 768px) and (orientation: landscape) {
  .architectural-nav,
  .now-playing-hud,
  .main-wrapper > *:not(.global-player-container),
  footer, .global-footer-container { display: none !important; }
  .mode-theater::after {
    content: '↩ PORTRAIT'; position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,0.6); color: #fff; font-size: 0.6rem;
    letter-spacing: 2px; padding: 4px 8px; border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
  }
}

/* ── Footer Grid Responsive ── */
@media (max-width: 768px) {
  .footer-robust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 20px;
  }
}
@media (max-width: 480px) {
  .footer-robust-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SPRINT 3/4/5 RESPONSIVE POLISH (SPEC-031 F-016)
═══════════════════════════════════════════════════════════════════ */

/* ── Artist Claim: mobile max-width + padding ── */
@media (max-width: 480px) {
  .artist-claim-card {
    padding: 28px 20px;
    border-radius: 12px;
  }
  .artist-claim-header h1 { font-size: 20px; }
  .artist-form-group input { font-size: 14px; padding: 12px 14px; }
  .artist-claim-btn { font-size: 12px; padding: 14px; }
}

/* ── OTP: smaller digits on narrow screens ── */
@media (max-width: 375px) {
  .artist-otp-container { gap: 4px; }
  .artist-otp-digit { width: 40px; height: 48px; font-size: 18px; border-radius: 8px; }
}

/* ── Dashboard: stack stats + compact table ── */
@media (max-width: 480px) {
  .artist-dashboard-root { padding: 80px 3% 40px; }
  .artist-dashboard-header { padding: 16px; }
  .artist-dashboard-header h1 { font-size: 18px; }
  .artist-dash-avatar { width: 44px; height: 44px; }
  .artist-upload-section,
  .artist-tracks-section { padding: 20px 16px; }
}

/* ── Ranking: tabs wrap on narrow ── */
@media (max-width: 400px) {
  .ranking-tabs { flex-wrap: wrap; }
  .ranking-tab { flex: 1; min-width: 100px; text-align: center; font-size: 0.75rem; padding: 0.5rem 0.8rem; }
}

/* ── Portal form: single column fields ── */
@media (max-width: 480px) {
  .portal-choose-grid { grid-template-columns: 1fr; }
  .portal-mode-card { padding: 2rem 1.5rem; }
  .portal-title { font-size: 2.2rem; letter-spacing: -1px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ── Global: prevent horizontal overflow ── */
html, body { overflow-x: hidden; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE LAYOUT NORMALIZATION — Codex UI pass
   Single frame for aligned widths while preserving global player/PiP.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --home-shell-max: 2480px;
  --home-shell-fluid: 90vw;
  --home-shell-narrow: 1840px;
  --home-shell-narrow-fluid: 76vw;
  --home-shell-pad: clamp(18px, 2.8vw, 54px);
  --home-band-gap: clamp(1.5rem, 2.8vw, 2.75rem);
  --home-card-radius: 18px;
}

.home-shell {
  width: min(
    calc(100% - (var(--home-shell-pad) * 2)),
    var(--home-shell-fluid),
    var(--home-shell-max)
  );
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--home-band-gap);
}

.home-band {
  width: 100%;
  margin: 0 !important;
}

.home-band--narrow {
  width: min(100%, var(--home-shell-narrow-fluid), var(--home-shell-narrow));
  margin-inline: auto !important;
}

.home-band--flush {
  padding: 0 !important;
}

.home-shell .twitch-panels-row,
.home-shell .queue-section,
.home-shell .chat-section-wrapper,
.home-shell .gritty-scenes-section,
.home-shell .news-ticker-container,
.home-shell .page-content-grid,
.home-shell .poll-section {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.home-shell .twitch-panels-row {
  padding-top: 0;
  padding-bottom: 0;
}

.home-shell .queue-section,
.home-shell .chat-section-wrapper,
.home-shell .poll-section {
  padding-top: 0;
  padding-bottom: 0;
}

.home-shell .gritty-scenes-section {
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--home-card-radius);
  overflow: hidden;
}

.home-shell .news-ticker-container {
  padding: 0;
  margin-bottom: 0;
}

.home-shell .panel-btn {
  min-height: 74px;
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(230, 57, 70, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(10, 10, 10, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-shell .panel-btn:hover {
  border-color: rgba(230, 57, 70, 0.22);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-shell .queue-section,
.home-shell .chat-section-wrapper,
.home-shell .poll-section,
.home-shell .page-content-grid {
  padding: clamp(1.2rem, 2vw, 1.6rem);
  border-radius: var(--home-card-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.96), rgba(8, 8, 8, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

/* Chat grid inside wrapper — each child card owns its own borders/radius */
.home-shell .chat-section-wrapper .chat-listener-grid {
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

/* Children keep their own card treatment from 04-chat.css */

.home-shell .section-hud-header {
  padding-bottom: 1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-shell .section-hud-title {
  font-size: clamp(0.98rem, 1vw, 1.14rem);
  letter-spacing: 0.26em;
}

.home-shell .section-hud-badge,
.home-shell .queue-section-intro {
  font-size: 0.75rem;
}

.home-shell .premium-news-featured,
.home-shell .pn-card,
.home-shell .pn-card-compact {
  border-radius: var(--home-card-radius);
}

.home-shell .premium-news-featured {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.home-shell .pn-card,
.home-shell .pn-card-compact {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.98), rgba(9, 9, 9, 0.98));
}

.home-shell .pn-card-body {
  gap: 0.2rem;
}

.home-shell .pn-card-title,
.home-shell .pn-featured-title {
  text-wrap: balance;
}

.home-shell .pn-tag-bar {
  margin-bottom: 0.35rem;
}

.home-network-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: stretch;
  padding: clamp(1.2rem, 2vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--home-card-radius);
  background:
    linear-gradient(135deg, rgba(230, 0, 0, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(15, 15, 15, 0.98), rgba(8, 8, 8, 0.98));
}

.home-network-copy span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--w-red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-network-copy h2 {
  margin: 0 0 0.75rem;
  max-width: 760px;
  font-size: clamp(1.6rem, 2.1vw, 2.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-network-copy p {
  max-width: 820px;
  color: #a7a7a7;
  font-size: clamp(0.92rem, 0.9vw, 1.02rem);
  line-height: 1.65;
  text-transform: none;
}

.home-network-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-network-card {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-network-card:hover {
  border-color: rgba(230, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-1px);
}

.home-network-card strong {
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-network-card span {
  color: #9a9a9a;
  font-size: 0.86rem;
  line-height: 1.45;
  text-transform: none;
}

.truva-destruva-explainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-explainer-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.home-explainer-card--truva {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-color: rgba(34, 197, 94, 0.25);
}

.home-explainer-card--destruva {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
  border-color: rgba(239, 68, 68, 0.25);
}

.home-explainer-mark {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 48px;
  opacity: 0.08;
}

.home-explainer-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.home-explainer-card h3 {
  font-size: clamp(16px, 0.95vw, 18px);
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}

.home-explainer-card--truva h3,
.home-explainer-card--truva .home-explainer-lead,
.home-explainer-card--truva .home-explainer-chip {
  color: #22c55e;
}

.home-explainer-card--destruva h3,
.home-explainer-card--destruva .home-explainer-lead,
.home-explainer-card--destruva .home-explainer-chip {
  color: #ef4444;
}

.home-explainer-lead {
  font-size: clamp(13px, 0.8vw, 15px);
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.35;
  text-transform: none;
}

.home-explainer-body {
  color: #909090;
  font-size: clamp(12px, 0.72vw, 13.5px);
  line-height: 1.55;
  margin: 0;
  text-transform: none;
}

.home-explainer-chip {
  margin-top: 10px;
  font-size: clamp(10px, 0.6vw, 11px);
  font-weight: 700;
  border-radius: 8px;
  padding: 6px 8px;
  border: 1px dashed currentColor;
  background: rgba(255, 255, 255, 0.05);
  width: fit-content;
}

.home-explainer-cta {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(230, 57, 70, 0.12), rgba(230, 57, 70, 0.06));
  border: 1px solid rgba(230, 57, 70, 0.24);
  color: #f1f1f1;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-explainer-cta:hover {
  background: linear-gradient(180deg, rgba(230, 57, 70, 0.2), rgba(230, 57, 70, 0.12));
  border-color: rgba(230, 57, 70, 0.38);
  transform: translateY(-1px);
}

.banner-separator {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 !important;
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
}

.banner-separator-inner {
  width: min(
    calc(100% - (var(--home-shell-pad) * 2)),
    var(--home-shell-fluid),
    var(--home-shell-max)
  );
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.banner-separator-inner h2 {
  margin: 0;
}

@media (min-width: 1600px) {
  .home-shell {
    gap: clamp(2rem, 2.4vw, 3.2rem);
  }

  .home-shell .twitch-panels-row {
    gap: clamp(1rem, 1.2vw, 1.5rem);
  }

  .home-shell .panel-btn {
    min-height: 84px;
    font-size: 0.96rem;
    letter-spacing: 0.16em;
  }

  .home-shell .queue-section,
  .home-shell .chat-section-wrapper,
  .home-shell .poll-section,
  .home-shell .page-content-grid,
  .home-shell .gritty-scenes-section {
    padding: clamp(1.5rem, 1.8vw, 2rem);
  }

  .home-shell .section-hud-title {
    font-size: clamp(1.05rem, 0.9vw, 1.24rem);
  }

  .home-shell .section-hud-badge,
  .home-shell .queue-section-intro {
    font-size: 0.82rem;
  }

  .home-shell .pn-featured-title {
    font-size: clamp(2.7rem, 2.2vw, 3.3rem);
  }

  .home-shell .pn-card-title {
    font-size: 1.08rem;
  }

  .home-explainer-card {
    padding: 22px 20px;
  }

  .home-explainer-cta {
    font-size: 0.8rem;
    padding: 12px 18px;
  }

  .leader-listener-name {
    font-size: 0.98rem;
  }

  .leader-listener-region {
    font-size: 0.74rem;
  }
}

@media (max-width: 900px) {
  .home-shell .chat-listener-grid {
    grid-template-columns: 1fr;
  }

  .home-network-strip {
    grid-template-columns: 1fr;
  }

  .banner-separator-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .home-shell {
    width: min(calc(100% - 24px), var(--home-shell-max));
    gap: 1.5rem;
  }

  .home-shell .twitch-panels-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .home-shell .gritty-scenes-section {
    padding: 1.35rem;
  }

  .news-latest-grid {
    min-width: 0;
    overflow-x: hidden;
  }

  .home-explainer-grid {
    grid-template-columns: 1fr;
  }

  .home-network-actions {
    grid-template-columns: 1fr;
  }

  .home-network-card {
    min-height: 126px;
  }

  .banner-separator-inner h2 {
    font-size: clamp(1.6rem, 8vw, 2.3rem);
    letter-spacing: 2px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   HOME AGGREGATOR STRIP — Thin WSR row below editorial news
   ═══════════════════════════════════════════════════════════════════ */
.home-aggregator-strip {
  margin-top: 1.5rem;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.home-aggregator-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: #999;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-aggregator-separator {
  color: #555;
  margin: 0 2px;
}

.home-aggregator-subtitle {
  color: #666;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
}

.home-aggregator-badge {
  font-size: 0.55rem;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(230, 57, 70, 0.1);
  color: #e63946;
  font-weight: 800;
  letter-spacing: 1px;
}

.home-aggregator-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.home-aggregator-scroll::-webkit-scrollbar { display: none; }

.home-aggregator-pill {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  width: 180px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.home-aggregator-pill:hover {
  border-color: rgba(230, 57, 70, 0.25);
  background: rgba(230, 57, 70, 0.04);
  transform: translateY(-1px);
}

.home-aggregator-pill-img {
  width: 100%;
  height: 90px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.home-aggregator-pill-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-aggregator-pill-text {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-aggregator-pill-source {
  font-size: 0.6rem;
  font-weight: 700;
  color: #e63946;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.home-aggregator-pill-title {
  font-size: 0.75rem;
  color: #bbb;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .home-aggregator-pill { width: 160px; }
  .home-aggregator-pill-img { height: 75px; }
  .home-aggregator-pill-title { font-size: 0.7rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIX #3 — News Grid: responsividade para telas < 375px
   Previne overflow horizontal e cards com largura negativa.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 375px) {
  .premium-news-layout,
  .premium-news-grid,
  .premium-news-extra,
  .home-aggregator-strip {
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
  }

  .pn-card,
  .pn-card-compact,
  .premium-news-featured {
    min-width: 0;
    width: 100%;
    border-radius: 12px;
  }

  .pn-card-img,
  .pn-card-img-sm {
    min-width: 0;
    height: 140px;
  }

  .pn-featured-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .pn-card-title {
    font-size: 0.82rem;
  }

  .pn-card-excerpt {
    display: none; /* oculta excerpt em telas minúsculas para ganhar espaço */
  }

  /* Aggregator pills: mais estreitas */
  .home-aggregator-pill { width: 140px; }
  .home-aggregator-pill-img { height: 60px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   FIX #4 — Gritty Scenes (Locutor + Ranking): responsividade mobile
   Previne overflow horizontal do host-card-name, scene-title e ranking table.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Container: force containment ── */
  .gritty-scenes-section,
  .home-shell .gritty-scenes-section {
    overflow: hidden;
    min-width: 0;
  }

  .scenes-grid {
    min-width: 0;
    overflow: hidden;
  }

  .scene-container {
    min-width: 0;
    overflow: hidden;
  }

  /* ── Scene Title: wrap + scale down ── */
  .scene-title {
    font-size: clamp(0.85rem, 3.5vw, 1.2rem);
    letter-spacing: 2px;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }

  /* ── Host Card: scale for mobile ── */
  .host-card-bg {
    aspect-ratio: 4/3;
    padding: 1rem;
  }

  .host-card-avatar {
    width: 120px;
    height: 120px;
  }

  .host-card-name {
    font-size: clamp(1.2rem, 5vw, 2rem);
    letter-spacing: 1px;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.2;
  }

  .host-card-program {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    letter-spacing: 1px;
    word-break: break-word;
    text-align: center;
  }

  /* ── Exception Table (Ranking): scroll horizontal dentro do container ── */
  .exception-table-wrapper,
  .leader-table-wrap {
    min-height: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
  }

  .exception-table th {
    font-size: 0.65rem;
    letter-spacing: 1px;
    padding: 0.75rem 0.5rem;
    white-space: nowrap;
  }

  .exception-table td {
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
  }

  .exception-table .rank-col {
    font-size: 1rem;
    width: 40px;
  }

  .exception-table .pts-col {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* ── Exception Card bracket corners: reduce ── */
  .exception-card::before,
  .exception-card::after,
  .card-bracket-helper::before,
  .card-bracket-helper::after {
    width: 20px;
    height: 20px;
    border-width: 2px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FIX #5 — Footer: padding-bottom para dar clearance ao PiP player
   O mini-player cobre os links "Termos de Uso" e "Política de Privacidade".
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .main-footer {
    padding-bottom: max(5rem, calc(4rem + env(safe-area-inset-bottom)));
  }

  .footer-legal-row {
    padding-bottom: 1rem;
  }

  .global-footer-container {
    padding-bottom: 4rem;
  }
}
