/* ════════════════════════════════════════════════════════════════
   VerCuevana Stream — Sports broadcast (dark + red accent)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root{
  --bg:        #0a0a0a;
  --bg-2:      #0e0e0e;
  --surface:   #131313;
  --surface-2: #1a1a1a;
  --surface-h: #1f1f1f;

  --fg:        #ffffff;
  --fg-mute:   #b0b0b0;
  --fg-dim:    #6a6a6a;
  --fg-faint:  #3a3a3a;

  --red:       #ff2d2d;
  --red-2:     #e02525;
  --red-glow:  rgba(255, 45, 45, 0.45);
  --gold:      #ffb800;

  --border:    rgba(255, 255, 255, 0.06);
  --border-2:  rgba(255, 255, 255, 0.10);
  --border-red: rgba(255, 45, 45, 0.22);

  --f-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, Consolas, monospace;

  --content-w: 1180px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
img{display:block;max-width:100%}

/* ════════════════════════════════════════════════════════════════
   TOP HEADER — Sports broadcast minimal
   ═══════════════════════════════════════════════════════════════ */
.topbar{
  position: sticky; top:0; z-index:50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{
  max-width: var(--content-w); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 16px 24px;
}

.brand{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.02em;
}
.brand .mark{
  width: 24px; height: 24px;
  background: var(--red);
  border-radius: 4px;
  display: grid; place-items: center;
  color: #fff; font-size: 11px; font-weight: 800;
  box-shadow: 0 0 10px var(--red-glow);
}
.brand .name{ color: var(--fg); }
.brand .name em{ font-style: normal; color: var(--red); }

.tabs{
  display: flex; gap: 4px;
  margin-left: 18px;
}
.tab{
  padding: 8px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--fg-mute);
  border-radius: 6px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.15s;
}
.tab:hover{ color: var(--fg); background: var(--surface); }
.tab.active{
  color: var(--fg); background: var(--surface-h);
}
.tab.active::before{
  content:''; display:inline-block;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px var(--red-glow);
}
.pill{
  font-family: var(--f-mono); font-size: 10px; font-weight: 700;
  background: var(--surface); color: var(--fg-mute);
  padding: 1px 6px; border-radius: 4px;
  min-width: 22px; text-align: center;
}
.tab.active .pill{ background: var(--red); color: #fff; }

.search-wrap{ flex: 1; max-width: 320px; position: relative; }
.search-wrap input{
  width: 100%;
  background: var(--surface);
  border: 1px solid transparent;
  color: var(--fg);
  padding: 9px 14px 9px 38px;
  border-radius: 8px;
  font: inherit; font-size: 13px;
  transition: all 0.15s;
}
.search-wrap input:focus{ outline: 0; border-color: var(--border-red); background: var(--surface-h); }
.search-wrap input::placeholder{ color: var(--fg-dim); }
.search-wrap::before{
  content:''; position:absolute; left:14px; top:50%; transform: translateY(-50%);
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6a6a' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center/contain no-repeat;
}

.topbar-spacer{ flex: 1; }

a.topbar-nav,
.topbar-nav{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--fg-mute);
  border-radius: 6px;
  transition: all 0.15s;
}
a.topbar-nav:hover,
.topbar-nav:hover{ color: var(--fg); background: var(--surface); }

.ext-status{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--fg-mute);
}
.ext-status .dot-status{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  animation: pulse 1.5s infinite;
}
.ext-status.ok .dot-status{ background: var(--red); box-shadow: 0 0 6px var(--red); animation: none; }
.ext-status.err .dot-status{ background: #ff2d2d; }

@keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.5} }

/* ─── TOPBAR responsive ─────────────────────────────────────── */
@media (max-width: 760px){
  .topbar-inner{
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas:
      "brand .      status install"
      "tabs  tabs   tabs   tabs"
      "search search search search";
    gap: 10px 12px;
    padding: 12px 14px;
  }
  .brand{ grid-area: brand; font-size: 16px; }
  .brand .mark{ width: 22px; height: 22px; }
  .ext-status{ grid-area: status; align-self: center; justify-self: end; }
  .topbar-spacer{ display: none; }
  a.topbar-nav,
  .topbar-nav{
    grid-area: install;
    padding: 7px 12px !important;
    font-size: 12px !important;
    border: 1px solid var(--border-2);
  }
  .tabs{ grid-area: tabs; margin-left: 0; gap: 6px; }
  .tab{ flex: 1; justify-content: center; padding: 10px 8px; font-size: 13px; }
  .search-wrap{ grid-area: search; max-width: 100%; }
  .search-wrap input{ padding: 11px 14px 11px 38px; font-size: 14px; }
}
@media (max-width: 420px){
  .topbar-inner{
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "brand status install"
      "tabs  tabs   tabs"
      "search search search";
  }
  .brand .name{ display: none; }
  .brand{ font-size: 0; }
  .brand .mark{ width: 26px; height: 26px; }
}

/* ════════════════════════════════════════════════════════════════
   INSTALL BANNER
   ═══════════════════════════════════════════════════════════════ */
.install-banner{
  max-width: var(--content-w); margin: 16px auto 0; padding: 0 24px;
}
.install-banner-inner{
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 16px 22px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
}
.install-banner h3{ font-size: 14px; font-weight: 700; }
.install-banner p{ font-size: 12px; color: var(--fg-mute); margin-top: 2px; }

/* ════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.layout{
  max-width: var(--content-w); margin: 0 auto;
  padding: 24px 24px 60px;
}

/* ════════════════════════════════════════════════════════════════
   SECTION DIVIDER (CATEGORÍA ────────── 4)
   ═══════════════════════════════════════════════════════════════ */
.section-divider{
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 32px 0 14px;
}
.section-divider:first-child{ margin-top: 0; }
.section-divider[hidden], .grid[hidden] { display: none !important; }

.section-divider .line{
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, var(--fg-faint) 100%);
}
.section-divider .count{
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  color: var(--fg-mute);
}

/* ════════════════════════════════════════════════════════════════
   GRID
   ═══════════════════════════════════════════════════════════════ */
.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media(max-width: 900px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px){ .grid{ grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   CARD — sports broadcast match style
   ═══════════════════════════════════════════════════════════════ */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.card::before{
  /* subtle red gradient at top — sports broadcast style */
  content:'';
  position:absolute; top:0; left:0; right:0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.card::after{
  /* subtle red glow at top */
  content:'';
  position:absolute; top:0; left:0; right:0; height: 24px;
  background: radial-gradient(ellipse at top, var(--red-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.card:hover{ border-color: var(--border-red); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,45,45,0.12); }
.card:hover::before{ opacity: 1; }
.card:hover::after{ opacity: 0.4; }

.card.hidden{ display: none; }

.card-fav{
  position: absolute; top: 14px; right: 14px;
  z-index: 3;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--fg-faint);
  transition: color 0.15s;
}
.card-fav:hover{ color: var(--gold); }
.card-fav.active{ color: var(--gold); }
.card-fav svg{ width: 18px; height: 18px; }

/* ── Top portion: logos + LIVE badge ───────────────────────────── */
.card-top{
  position: relative;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

/* Two-team match layout */
.card-vs{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.card-team{
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  min-width: 0;
  padding: 0 4px;
}
.card-team img{
  width: 50px; height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}
.card-team .placeholder{
  width: 50px; height: 50px;
  display: grid; place-items: center;
  font-size: 26px;
  color: var(--fg-faint);
}
.card-team strong{
  font-size: 12px; font-weight: 600;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--fg);
}
.card-vs-mid{
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.card-live{
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
}
.card-live::before{
  content:''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px var(--red-glow);
  animation: pulse 1.5s infinite;
}
.card-vs-text{
  font-size: 10px;
  color: var(--fg-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

/* Single event layout (no "vs") */
.card-single{
  display: flex; align-items: center; gap: 14px;
  padding: 4px 0;
  min-height: 88px;
}
.card-single .badge{
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--surface-h);
  display: grid; place-items: center;
  font-size: 16px; font-weight: 700;
  color: var(--fg-mute);
  border: 1px solid var(--border);
}
.card-single img{
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-h);
  border: 1px solid var(--border);
}
.card-single-info{
  flex: 1; min-width: 0;
}
.card-single-info strong{
  font-size: 14px; font-weight: 600;
  color: var(--fg);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}

/* Channel card layout (24/7 channels) */
.card-channel{
  display: flex; align-items: center; gap: 14px;
  padding: 4px 0;
  min-height: 88px;
}
.card-channel img, .card-channel .placeholder{
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--surface-h);
  border: 1px solid var(--border);
  padding: 6px;
  display: grid; place-items: center;
}
.card-channel .placeholder{ font-size: 22px; color: var(--fg-faint); padding: 0; }
.card-channel-info{ flex: 1; min-width: 0; }
.card-channel-info strong{
  font-size: 14px; font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 4px;
}
.card-channel-meta{
  display: flex; gap: 6px; align-items: center;
  font-size: 11px; color: var(--fg-mute);
}
.card-channel-meta .drm-badge{
  font-family: var(--f-mono); font-size: 9px; font-weight: 700;
  background: var(--red); color: #fff;
  padding: 1px 5px; border-radius: 3px;
  letter-spacing: 0.05em;
}

/* ── Bottom: category + play button ────────────────────────────── */
.card-bottom{
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.card-cat{
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.card-play{
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,45,45,0.4);
  transition: all 0.15s;
}
.card:hover .card-play{
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(255,45,45,0.6);
}
.card-play svg{ width: 14px; height: 14px; margin-left: 2px; }

/* ════════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════ */
.empty{
  padding: 80px 20px;
  text-align: center;
  border: 1px dashed var(--border-2);
  border-radius: 10px;
  background: var(--surface);
}
.empty h2{ font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.empty p{ color: var(--fg-mute); font-size: 14px; }

/* ════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn{
  display: inline-flex; align-items:center; gap: 8px;
  padding: 9px 16px; border-radius: 8px;
  font: inherit; font-size: 13px; font-weight: 600;
  background: var(--surface-h); color: var(--fg);
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: all 0.15s;
}
.btn:hover{ background: #2a2a2a; border-color: var(--fg-faint); }
.btn.primary{ background: var(--red); border-color: var(--red); color:#fff; box-shadow: 0 4px 12px rgba(255,45,45,0.3); }
.btn.primary:hover{ background: var(--red-2); border-color: var(--red-2); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,45,45,0.45); }
.btn.sec{ background: transparent; border-color: var(--border-2); }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer{
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 24px 24px 30px;
}
.footer-inner{
  max-width: var(--content-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-dim);
  flex-wrap: wrap; gap: 12px;
}
.footer-inner a{ color: var(--fg-mute); }
.footer-inner a:hover{ color: var(--red); }

/* ════════════════════════════════════════════════════════════════
   DIALOG
   ═══════════════════════════════════════════════════════════════ */
dialog{
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 26px 30px;
  max-width: 460px; width: 90%;
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
dialog::backdrop{ background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); }
dialog h2{ font-size: 17px; font-weight: 700; margin-bottom: 6px; }
dialog p{ color: var(--fg-mute); font-size: 13px; margin-bottom: 16px; }
dialog input{
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-2);
  color: var(--fg);
  padding: 11px 14px;
  border-radius: 8px;
  font-family: var(--f-mono); font-size: 13px;
  margin-bottom: 14px;
}
dialog input:focus{ outline: 2px solid var(--red); outline-offset: -2px; }
.dlg-actions{ display:flex; justify-content: flex-end; gap: 8px; }

/* ════════════════════════════════════════════════════════════════
   PLAYER & EVENT pages
   ═══════════════════════════════════════════════════════════════ */
.back-link{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--fg-mute);
  margin-bottom: 18px; transition: color 0.15s;
}
.back-link:hover{ color: var(--red); }

.channel-info, .event-head{
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
}
.channel-info img, .event-head img{
  width: 56px; height: 56px;
  background: var(--surface);
  padding: 6px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.channel-info-text h1, .event-head h1{
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.channel-meta, .event-cat{
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 6px;
}
.event-cat .live-pulse{
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--red);
  box-shadow: 0 0 6px var(--red-glow);
  animation: pulse 1.5s infinite;
}

.player-shell{
  background: #000;
  aspect-ratio: 16/9;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.player-shell iframe{ width: 100%; height: 100%; border: 0; display: block; }

.streams-strip{
  display: flex; gap: 6px;
  overflow-x: auto;
  padding: 14px 0 4px;
  margin-top: 4px;
}
.stream-btn{
  flex-shrink: 0;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  color: var(--fg-mute);
  display: flex; align-items: center; gap: 6px;
  text-decoration: none;
  transition: all 0.15s;
  min-width: 110px;
}
.stream-btn:hover{ background: var(--surface-h); color: var(--fg); border-color: var(--border-2); }
.stream-btn.active{ background: var(--red); border-color: var(--red); color:#fff; box-shadow: 0 4px 12px rgba(255,45,45,0.3); }
.stream-btn img{ width: 14px; height: 9px; vertical-align: middle; }
.stream-btn .src{ opacity: 0.6; font-size: 11px; }

.event-meta-bar{
  display: flex; gap: 24px; flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 16px;
  font-size: 12px; color: var(--fg-dim);
}
.event-meta-bar > div{
  display: flex; flex-direction: column; gap: 2px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.event-meta-bar strong{
  font-family: var(--f-sans);
  font-size: 14px; font-weight: 700;
  color: var(--fg);
  letter-spacing: normal; text-transform: none;
}

/* ════════════════════════════════════════════════════════════════
   VC PLAYER — broadcast-grade integrated player
   ═══════════════════════════════════════════════════════════════ */
.vc-player{
  position: relative;
  background: #000;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-top: 14px;
  isolation: isolate;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  user-select: none;
}
.vc-player.is-fullscreen{
  position: fixed; inset: 0; z-index: 1000;
  border-radius: 0; aspect-ratio: auto;
  border: 0; margin: 0;
}

.vc-stage{ position: absolute; inset: 0; }
.vc-stage iframe{
  width: 100%; height: 100%; border: 0; display: block; background: #000;
}

/* ─── PRELUDE ─────────────────────────────────────────────────── */
.vc-prelude{
  position: absolute; inset: 0; z-index: 30;
  display: grid; place-items: center;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255,45,45,.08) 0%, transparent 60%),
    linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
  transition: opacity .35s ease, visibility .35s;
  cursor: pointer;
}
.vc-player[data-state="playing"] .vc-prelude,
.vc-player[data-state="loading"] .vc-prelude,
.vc-player[data-state="failed"] .vc-prelude{
  opacity: 0; visibility: hidden; pointer-events: none;
}
.vc-prelude__bg{ position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vc-prelude__halo{
  position: absolute; height: 90%; width: auto; max-width: 60%;
  filter: blur(80px) saturate(140%);
  opacity: .35; mix-blend-mode: screen;
  object-fit: contain;
}
.vc-prelude__halo--home{ left: -8%; top: 50%; transform: translateY(-50%); }
.vc-prelude__halo--away{ right: -8%; top: 50%; transform: translateY(-50%); }
.vc-prelude__grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, transparent 0%, black 100%);
          mask-image: radial-gradient(60% 60% at 50% 50%, transparent 0%, black 100%);
}
.vc-prelude__center{
  position: relative; z-index: 1;
  text-align: center;
  padding: 24px;
  max-width: 720px;
}
.vc-prelude__eyebrow{
  display: inline-flex; align-items: center; gap: 16px;
  margin-bottom: clamp(20px, 4vh, 32px);
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.20em; text-transform: uppercase;
}
.vc-prelude__league{
  color: var(--fg-mute);
  padding-left: 16px;
  border-left: 1px solid var(--border-2);
}
.vc-prelude__matchup{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 4vw, 32px);
  align-items: center;
  margin-bottom: clamp(24px, 5vh, 40px);
}
.vc-prelude__team{
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  min-width: 0;
}
.vc-prelude__team img,
.vc-prelude__placeholder{
  width: clamp(56px, 9vw, 96px);
  height: clamp(56px, 9vw, 96px);
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.7));
}
.vc-prelude__placeholder{
  display: grid; place-items: center;
  font-size: clamp(28px, 5vw, 44px);
  color: var(--fg-faint);
  background: var(--surface);
  border-radius: 50%;
  border: 1px solid var(--border-2);
}
.vc-prelude__team strong{
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vc-prelude__vs{
  font-family: var(--f-mono);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--red);
  padding: 6px 12px;
  border: 1px solid var(--border-red);
  border-radius: 4px;
  background: rgba(255, 45, 45, .08);
}
.vc-prelude__title{
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.vc-prelude__play{
  position: relative;
  display: inline-grid; place-items: center;
  width: clamp(76px, 10vw, 96px);
  height: clamp(76px, 10vw, 96px);
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3b3b 0%, #cc1f1f 100%);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow:
    0 12px 40px rgba(255,45,45,.45),
    inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .18s ease, box-shadow .18s ease;
  z-index: 1;
}
.vc-prelude__play:hover{
  transform: scale(1.06);
  box-shadow:
    0 16px 50px rgba(255,45,45,.6),
    inset 0 1px 0 rgba(255,255,255,.3);
}
.vc-prelude__play svg{
  width: clamp(28px, 4vw, 38px);
  height: clamp(28px, 4vw, 38px);
  margin-left: 4px;
}
.vc-prelude__ring{
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,45,45,.5);
  pointer-events: none;
  animation: vcRing 2.4s ease-out infinite;
}
.vc-prelude__ring--2{ animation-delay: 1.2s; }
@keyframes vcRing{
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.vc-prelude__sources{
  margin-top: clamp(20px, 4vh, 32px);
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-dim);
}

/* ─── LIVE INDICATOR ──────────────────────────────────────────── */
.vc-live{
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
}
.vc-live__dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
  animation: vcPulse 1.4s ease-in-out infinite;
}
@keyframes vcPulse{
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}

/* ─── LOADING ─────────────────────────────────────────────────── */
.vc-loading{
  position: absolute; inset: 0; z-index: 25;
  display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,.7) 0%, rgba(0,0,0,.92) 100%);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.vc-loading[hidden]{ display: none; }
.vc-loading__spin{
  width: 56px; height: 56px;
  position: relative;
  margin-bottom: 18px;
}
.vc-loading__spin::before,
.vc-loading__spin::after{
  content:''; position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}
.vc-loading__spin::before{
  border-top-color: var(--red);
  animation: vcSpin .85s linear infinite;
}
.vc-loading__spin::after{
  border-bottom-color: rgba(255,45,45,.3);
  animation: vcSpin 1.6s linear infinite reverse;
}
@keyframes vcSpin{ to { transform: rotate(360deg); } }
.vc-loading__text{
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-mute);
  text-align: center; max-width: 80%;
  padding: 0 20px;
}

/* ─── FAILED ──────────────────────────────────────────────────── */
.vc-failed{
  position: absolute; inset: 0; z-index: 26;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,45,45,.08) 0%, rgba(0,0,0,.92) 100%);
  text-align: center; padding: 30px;
}
.vc-failed[hidden]{ display: none; }
.vc-failed__icon{
  font-size: 56px; color: var(--red);
  text-shadow: 0 0 30px var(--red-glow);
  margin-bottom: 14px;
}
.vc-failed h2{ font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.vc-failed p{ color: var(--fg-mute); font-size: 14px; max-width: 380px; margin: 0 auto 20px; }

/* ─── REPORT pill (top-right) ─────────────────────────────────── */
.vc-report{
  position: absolute; top: 14px; right: 14px;
  z-index: 35;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  color: var(--fg-mute);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all .15s;
  opacity: 0;
}
.vc-player[data-state="playing"] .vc-report,
.vc-player[data-state="loading"] .vc-report{ opacity: 1; }
.vc-report svg{ width: 14px; height: 14px; }
.vc-report:hover{
  color: var(--red);
  border-color: var(--border-red);
  background: rgba(255,45,45,.12);
}

/* ─── CONTROLS (bottom bar overlay) ───────────────────────────── */
.vc-controls{
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 30;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  opacity: 0;
}
.vc-player[data-state="playing"] .vc-controls,
.vc-player[data-state="loading"] .vc-controls{ opacity: 1; }
.vc-controls.is-hidden{
  transform: translateY(20px);
  opacity: 0;
}
.vc-controls__shade{
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.85) 70%);
  pointer-events: none;
}
.vc-controls__bar{
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  pointer-events: auto;
}
.vc-ctrl{
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .15s;
}
.vc-ctrl:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}
.vc-ctrl svg{ width: 16px; height: 16px; }
.vc-ctrl__pause{ display: none; }
.vc-player[data-state="playing"] .vc-ctrl__play{ display: none; }
.vc-player[data-state="playing"] .vc-ctrl__pause{ display: block; }

.vc-live--bar{ flex-shrink: 0; }

.vc-source{
  flex: 1; max-width: 420px; min-width: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 4px 14px 4px 4px;
  background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all .15s;
}
.vc-source:hover{
  border-color: var(--border-red);
  background: rgba(255,45,45,.10);
}
.vc-source__num{
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(255,45,45,.35);
}
.vc-source__txt{
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 1px;
  overflow: hidden;
  text-align: left;
}
.vc-source__txt strong{
  font-size: 13px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc-source__txt span{
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc-source svg{
  width: 14px; height: 14px; flex-shrink: 0;
  color: var(--fg-mute);
  transition: transform .15s, color .15s;
}
.vc-source:hover svg{ transform: translateY(-2px); color: var(--red); }

/* ─── PICKER overlay (bottom-sheet) ───────────────────────────── */
.vc-picker{
  position: absolute; inset: 0;
  z-index: 50;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.vc-picker[hidden]{ display: none; }
.vc-picker.is-open{ opacity: 1; pointer-events: auto; }

.vc-picker__sheet{
  width: 100%;
  max-height: 65%;
  background: linear-gradient(180deg, #0e0e0e 0%, #080808 100%);
  border-top: 1px solid var(--border-red);
  border-radius: 14px 14px 0 0;
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 -20px 60px rgba(0,0,0,.6);
  position: relative;
}
.vc-picker__sheet::before{
  content:''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--red);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 12px var(--red-glow);
}
.vc-picker.is-open .vc-picker__sheet{ transform: translateY(0); }

.vc-picker__head{
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.vc-picker__title{
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--fg);
}
.vc-picker__count{
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 700;
  background: var(--red); color: #fff;
  padding: 2px 8px; border-radius: 4px;
  letter-spacing: 0.04em;
}
.vc-picker__hint{
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--fg-dim);
  margin-left: 8px;
}
.vc-picker__close{
  margin-left: auto;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  color: var(--fg-mute);
  cursor: pointer;
  transition: all .15s;
}
.vc-picker__close:hover{ color: var(--red); border-color: var(--border-red); }
.vc-picker__close svg{ width: 14px; height: 14px; }

.vc-picker__grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  padding: 22px 26px 28px;
  overflow-y: auto;
  flex: 1;
}

/* ─── TILE ────────────────────────────────────────────────────── */
.vc-tile{
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  cursor: pointer;
  text-align: left;
  transition: all .15s;
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 64px;
}
.vc-tile::before{
  content:''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity .15s;
}
.vc-tile:hover{
  background: var(--surface-h);
  border-color: var(--border-red);
  transform: translateY(-1px);
}
.vc-tile:hover::before{ opacity: 1; }
.vc-tile.is-active{
  background: linear-gradient(135deg, rgba(255,45,45,.14) 0%, rgba(255,45,45,.04) 100%);
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 6px 20px rgba(255,45,45,.18);
}
.vc-tile.is-active::before{ opacity: 1; }
.vc-tile.is-broken{ opacity: .4; }
.vc-tile.is-broken::after{
  content: '⚠'; position: absolute; top: 6px; right: 8px;
  font-size: 11px; color: var(--gold);
}
.vc-tile__num{
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 26px; font-weight: 800;
  color: var(--fg-faint);
  letter-spacing: -0.04em;
  min-width: 38px;
  transition: color .15s;
}
.vc-tile:hover .vc-tile__num,
.vc-tile.is-active .vc-tile__num{
  color: var(--red);
}
.vc-tile__body{
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.vc-tile__name{
  font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc-tile__meta{
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc-tile__badges{ display: flex; gap: 4px; flex-shrink: 0; }
.vc-tile__pill{
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--surface-h);
  color: var(--fg-mute);
  padding: 2px 6px;
  border-radius: 3px;
}
.vc-tile__pill--hd{
  background: rgba(255,184,0,.15);
  color: var(--gold);
}

/* ─── INFO BAR (under player) ─────────────────────────────────── */
.vc-info{
  display: flex; gap: 30px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.vc-info__field{
  display: flex; flex-direction: column; gap: 2px;
}
.vc-info__field label{
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--fg-dim);
  margin: 0;
}
.vc-info__field strong{
  font-size: 14px; font-weight: 700;
  color: var(--fg);
}

/* ─── BUTTONS helper ──────────────────────────────────────────── */
.vc-btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--surface-h);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  transition: all .15s;
}
.vc-btn:hover{ background: #2a2a2a; }
.vc-btn--primary{
  background: var(--red); border-color: var(--red); color: #fff;
  box-shadow: 0 4px 12px rgba(255,45,45,.3);
}
.vc-btn--primary:hover{
  background: var(--red-2); border-color: var(--red-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,45,45,.45);
}

/* ─── TABLET / NARROW DESKTOP ─────────────────────────────────── */
@media (max-width: 900px){
  .vc-picker__grid{ grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); padding: 16px 18px 22px; gap: 10px; }
  .vc-picker__hint{ display: none; }
}

/* ─── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 600px){
  .layout{ padding: 16px 12px 50px; }
  .back-link{ margin-bottom: 10px; }
  .vc-player{ border-radius: 10px; margin-top: 10px; }

  /* En prelude, el contenedor crece para que el botón Play no se recorte */
  .vc-player[data-state="prelude"]{ aspect-ratio: auto; }
  .vc-player[data-state="prelude"] .vc-prelude{
    position: relative; inset: auto;
    padding: 36px 18px 40px;
    min-height: 60vh;
  }
  .vc-controls__bar{ padding: 10px 12px; gap: 8px; }
  .vc-ctrl{ width: 38px; height: 38px; }
  .vc-source{ padding: 4px 10px 4px 4px; min-width: 0; }
  .vc-source__num{ width: 34px; height: 34px; font-size: 12px; }
  .vc-source__txt strong{ font-size: 12px; }
  .vc-source__txt span{ font-size: 9px; }
  .vc-live--bar{ display: none; }
  .vc-prelude__matchup{ gap: 14px; }
  .vc-prelude__eyebrow{ gap: 12px; flex-wrap: wrap; justify-content: center; }
  .vc-prelude__league{ padding-left: 12px; }
  .vc-picker__sheet{ max-height: 85%; }
  .vc-picker__head{ padding: 14px 16px; gap: 10px; }
  .vc-picker__grid{ grid-template-columns: 1fr; padding: 14px 14px 20px; gap: 8px; }
  .vc-picker__hint{ display: none; }
  .vc-tile{ padding: 14px 14px; min-height: 64px; gap: 14px; }
  .vc-tile__num{ font-size: 22px; min-width: 32px; }
  .vc-tile__name{ font-size: 14px; }
  .vc-tile__meta{ font-size: 10px; }
  .vc-report span{ display: none; }
  .vc-report{ padding: 7px; top: 10px; right: 10px; }
}

/* ─── XS PHONE ────────────────────────────────────────────────── */
@media (max-width: 380px){
  .vc-prelude__matchup{ grid-template-columns: 1fr; gap: 12px; }
  .vc-prelude__vs{ justify-self: center; }
  .vc-source__txt span{ display: none; }
  .vc-controls__bar{ gap: 6px; padding: 8px 10px; }
}

/* always-visible controls on touch-only devices */
@media (hover: none){
  .vc-controls.is-hidden{
    transform: none; opacity: 1; pointer-events: auto;
  }
  .vc-player[data-state="playing"] .vc-controls{ opacity: 1; }
}

/* ════════════════════════════════════════════════════════════════
   EMBED mode (cuando se carga vía /embed.php)
   ═══════════════════════════════════════════════════════════════ */
body.vc-embed{
  background: #000;
  margin: 0; padding: 0;
  min-height: 100vh;
  overflow: hidden;
}
body.vc-embed .vc-player{
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  aspect-ratio: auto;
}
body.vc-embed .vc-player[data-state="prelude"]{ aspect-ratio: auto; }
body.vc-embed .vc-prelude{
  position: absolute; inset: 0;
}

/* Pill flotante de marca cuando ?branded=1 */
.vc-embed__brand{
  position: fixed; top: 14px; left: 14px;
  z-index: 100;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px;
  background: rgba(0,0,0,.55);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  color: #fff;
  font-family: var(--f-sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  pointer-events: auto;
  transition: all .15s;
  opacity: 0;
}
.vc-player[data-state="playing"] ~ .vc-embed__brand,
body.vc-embed .vc-embed__brand{ opacity: 1; }
.vc-embed__brand:hover{
  background: rgba(255,45,45,.18);
  border-color: var(--border-red);
  color: #fff;
}
.vc-embed__brand .mark{
  width: 20px; height: 20px;
  background: var(--red);
  border-radius: 4px;
  display: grid; place-items: center;
  color: #fff; font-size: 10px;
  box-shadow: 0 0 8px var(--red-glow);
}
.vc-embed__brand em{
  font-style: normal; color: var(--red);
}
@media (max-width: 600px){
  .vc-embed__brand{ top: 10px; left: 10px; font-size: 11px; padding: 6px 12px 6px 6px; }
  .vc-embed__brand .mark{ width: 18px; height: 18px; }
}
/* ───────────────────────────────────────────────────────────────────────
/* ───────────────────────────────────────────────────────────────────────
   Señales propias destacadas (ORO PREMIUM) — v2 reforzado 2026-05-18
   Sobreescribe el card-live rojo / card-cat gris con paleta dorada
   ─────────────────────────────────────────────────────────────────────── */

:root {
  --gold-1: #f5c518;
  --gold-2: #d4af37;
  --gold-3: #8a6f1f;
  --gold-soft: #f0e6c8;
  --gold-dim: #8a7a3a;
  --gold-bg-1: #1f1a0c;
  --gold-bg-2: #14110a;
}

/* Sección divider dorada */
.section-divider.section-divider-gold {
  margin-top: 4px;
  margin-bottom: 16px;
}
.section-divider.section-divider-gold > span:first-child {
  color: var(--gold-1) !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  text-shadow: 0 0 14px rgba(245, 197, 24, .45);
  font-size: 13px;
}
.section-divider.section-divider-gold .line {
  background: linear-gradient(90deg, var(--gold-2) 0%, rgba(212,175,55,0) 100%) !important;
  height: 1px !important;
  border: none !important;
}
.section-divider.section-divider-gold .count {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-1)) !important;
  color: #111 !important;
  font-weight: 900 !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(212, 175, 55, .35);
}

/* Grid destacado: separación visual de las cards de abajo */
.grid.grid-featured {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(212, 175, 55, .3);
}

/* ── Card dorada ── */
.card.card-gold {
  position: relative;
  border: 2px solid var(--gold-2) !important;
  background:
    linear-gradient(135deg, rgba(245,197,24,.10) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, var(--gold-bg-1) 0%, var(--gold-bg-2) 100%) !important;
  box-shadow:
    0 0 0 1px rgba(245, 197, 24, .12) inset,
    0 8px 26px -10px rgba(212, 175, 55, .45),
    0 0 0 4px rgba(212, 175, 55, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.card.card-gold::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(212,175,55,0) 0%,
    var(--gold-1) 25%,
    var(--gold-1) 75%,
    rgba(212,175,55,0) 100%);
  z-index: 2;
  opacity: .85;
}
.card.card-gold:hover {
  transform: translateY(-5px);
  border-color: var(--gold-1) !important;
  box-shadow:
    0 0 0 1px rgba(245, 197, 24, .28) inset,
    0 18px 40px -12px rgba(245, 197, 24, .6),
    0 0 0 4px rgba(212, 175, 55, .1);
}

/* Badge "★ PROPIA" arriba a la izquierda */
.card.card-gold .badge-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%) !important;
  color: #1a1306 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .1em !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  text-transform: uppercase !important;
  box-shadow:
    0 3px 12px rgba(245, 197, 24, .55),
    0 0 0 1px rgba(255, 240, 180, .35) inset;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
  user-select: none;
}

/* ── Card-live (pill EN VIVO/LIVE) — sobreescribe el rojo por oro ── */
.card.card-gold .card-live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: linear-gradient(90deg, var(--gold-1) 0%, var(--gold-2) 100%) !important;
  color: #1a1306 !important;
  font-weight: 900 !important;
  font-size: 10px !important;
  letter-spacing: .08em !important;
  padding: 4px 10px !important;
  border-radius: 99px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 8px rgba(245, 197, 24, .35);
}
.card.card-gold .card-live::before {
  content: '' !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #1a1306 !important;
  box-shadow: 0 0 6px rgba(26, 19, 6, .6) !important;
}
.card.card-gold .card-live.card-live-off {
  background: rgba(212, 175, 55, .12) !important;
  color: var(--gold-dim) !important;
  box-shadow: none !important;
  border: 1px solid rgba(212, 175, 55, .2);
}
.card.card-gold .card-live.card-live-off::before {
  background: var(--gold-dim) !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Eliminar animación pulse roja en el dot oro (queremos pulse oro) */
.card.card-gold .card-live:not(.card-live-off)::before {
  animation: gold-pulse 1.5s infinite !important;
}
@keyframes gold-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.78); }
}

/* ── Card-cat-gold (pill grupo) ── */
.card.card-gold .card-cat-gold {
  display: inline-block;
  background: rgba(212, 175, 55, .14);
  color: var(--gold-1) !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, .3);
  font-family: var(--f-mono);
  text-transform: uppercase;
}

/* ── Card-bottom dorada (overrides the gray bg) ── */
.card.card-gold .card-bottom {
  background: linear-gradient(180deg, rgba(212,175,55,.04) 0%, rgba(0,0,0,.18) 100%) !important;
  border-top: 1px solid rgba(212, 175, 55, .2) !important;
}

/* ── Card-vs en oro (cuando hay "X vs Y") ── */
.card.card-gold .card-team strong {
  color: var(--gold-soft) !important;
  font-weight: 700;
}
.card.card-gold .card-team .placeholder,
.card.card-gold .card-vs-mid .card-vs-text {
  color: var(--gold-dim) !important;
}
.card.card-gold .card-vs-text {
  color: var(--gold-dim) !important;
  font-weight: 600;
}

/* ── Card-single (cuando no hay vs) ── */
.card.card-gold .card-single {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding-top: 4px;
}
.card.card-gold .card-single img {
  width: 76px; height: 76px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(212, 175, 55, .35);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}
.card.card-gold .card-single .placeholder,
.card.card-gold .card-single .placeholder-gold {
  width: 76px !important;
  height: 76px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 12px !important;
  font-size: 24px !important;
  flex-shrink: 0 !important;
  background: linear-gradient(135deg, rgba(245,197,24,.22), rgba(212,175,55,.06)) !important;
  color: var(--gold-1) !important;
  font-weight: 900 !important;
  border: 1.5px solid rgba(212, 175, 55, .4) !important;
  letter-spacing: -.02em;
  text-shadow: 0 0 8px rgba(245, 197, 24, .3);
}
.card.card-gold .card-single strong {
  font-size: 15px !important;
  line-height: 1.3;
  color: var(--gold-soft) !important;
  font-weight: 700;
}

/* Hover de imagen */
.card.card-gold:hover .card-single img,
.card.card-gold:hover .card-single .placeholder {
  border-color: var(--gold-1) !important;
}

/* Sutil glow al pasar el ratón sobre el badge */
@media (prefers-reduced-motion: no-preference) {
  .card.card-gold:hover .badge-featured {
    transform: scale(1.07);
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow:
      0 4px 16px rgba(245, 197, 24, .7),
      0 0 0 1px rgba(255, 240, 180, .5) inset;
  }
}

/* Sin botón fav (lo escondemos en gold cards, ya tienen el badge PROPIA) */
.card.card-gold .card-fav { display: none !important; }

/* ════════════════════════════════════════════════════════════════
   USER STREAMS — distintos de las señales propias doradas
   ═══════════════════════════════════════════════════════════════ */
.card.card-user {
  border-color: rgba(255, 80, 80, 0.35);
  background: linear-gradient(180deg, rgba(255,45,45,0.04) 0%, var(--surface) 100%);
}
.card.card-user:hover { border-color: var(--red); }
.card.card-user .badge-featured {
  background: linear-gradient(90deg, #ff2d2d 0%, #ff8a3d 100%);
  color: #fff;
}

/* ════════════════════════════════════════════════════════════════
   TOPBAR CTA — botón Hacer streaming
   ═══════════════════════════════════════════════════════════════ */
.topbar-nav.topbar-nav--cta {
  background: linear-gradient(90deg, #ff2d2d 0%, #ff5733 100%);
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 14px;
  border-radius: 6px;
  transition: transform 0.1s, box-shadow 0.15s;
  margin-right: 8px;
}
.topbar-nav.topbar-nav--cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 45, 45, 0.3);
  color: #fff !important;
}
