:root {
  --bg: #080a10;
  --bg2: #0d111a;
  --surface: rgba(16, 21, 34, 0.86);
  --surface-solid: #111624;
  --surface2: rgba(24, 31, 49, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --line-bright: rgba(255, 255, 255, 0.16);
  --text: #f3f6fc;
  --muted: #94a3b8;
  --amber: #f5c518;
  --amber-soft: rgba(245, 197, 24, 0.14);
  --green: #10e88a;
  --green-soft: rgba(16, 232, 138, 0.14);
  --red: #ff3355;
  --red-soft: rgba(255, 51, 85, 0.16);
  --cyan: #38bdf8;
  --purple: #a855f7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
  width: 100%;
}

/* Fundo tático AAA nível menu CS2 */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(8, 10, 16, 0.32) 0%, rgba(8, 10, 16, 0.52) 100%),
    url('/assets/cs2-page-bg.jpg?v=2');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 0.84rem; }

/* ==================== TOPBAR ==================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 10, 16, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand-emblem {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 197, 24, 0.5);
  background: #080a10;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 14px rgba(16, 232, 138, 0.16);
  flex-shrink: 0;
}
.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  display: block;
}
.brand-kicker {
  display: block;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: var(--green);
  margin-top: 2px;
}
.brand-text .brand-cs2 {
  margin: 0;
  font-family: 'Russo One', 'Chakra Petch', sans-serif;
  font-size: 1.65rem;
  line-height: 0.95;
  letter-spacing: 1.2px;
  color: #ffffff;
  display: inline-block;
  transform: skewX(-7deg);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.brand-text .brand-cs2 span {
  color: var(--amber);
  text-shadow: 0 0 18px rgba(245, 197, 24, 0.35);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.top-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.top-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 7px 12px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}
.muted-pill { color: var(--muted); }
/* Datas do ranking VRS (versão atual / próxima publicação) */
.vrs-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vrs-dates:empty { display: none; }
.vrs-date {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  line-height: 1.25;
}
.vrs-date small { color: var(--muted); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.vrs-date b { font-weight: 800; color: var(--text); }
.vrs-date em { font-style: normal; color: var(--muted); font-size: 0.74rem; }
.vrs-date.next { border-color: rgba(245, 197, 24, 0.4); background: rgba(245, 197, 24, 0.07); }
.vrs-date.next b { color: #f5c518; }
.vrs-date.proj { border-style: dashed; }
/* Projeção semanal (não oficial) do VRS — Cito API */
.proj-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  color: var(--muted);
  white-space: nowrap;
  cursor: help;
}
.proj-badge b { font-weight: 800; }
.proj-badge small { font-size: 0.62rem; opacity: 0.75; }
.proj-badge.up { color: var(--green); border-color: rgba(16, 232, 138, 0.45); background: var(--green-soft); }
.proj-badge.down { color: var(--red); border-color: rgba(255, 51, 85, 0.45); background: var(--red-soft); }
span.proj-badge { margin-top: 0; }
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.pill.live-on {
  background: var(--red-soft);
  border-color: rgba(255, 51, 85, 0.45);
  color: #ff8599;
}
.pill.live-on .dot {
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  /* camada ambiente: "respiração" (escala + brilho, curva senoidal) em vez de piscar liga/desliga */
  animation: live-breathe 1.6s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}
@keyframes live-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px rgba(255, 51, 85, 0.7); }
  50% { transform: scale(1.35); box-shadow: 0 0 16px rgba(255, 51, 85, 0.95), 0 0 0 4px rgba(255, 51, 85, 0.15); }
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-icon:hover { background: rgba(245, 197, 24, 0.14); border-color: rgba(245, 197, 24, 0.4); color: var(--amber); }

.menu-toggle { display: none; }
.mobile-nav {
  background: rgba(11, 14, 23, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(245, 197, 24, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65);
  animation: slideDown 0.16s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 22px 18px;
}
.mobile-nav-inner a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.mobile-nav-inner a::after { content: '›'; color: var(--amber); font-size: 1.25rem; line-height: 1; }
.mobile-nav-inner a:active { background: rgba(245, 197, 24, 0.12); border-color: rgba(245, 197, 24, 0.4); }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.78;
  filter: saturate(1.1) contrast(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 16, 0.96) 0%, rgba(8, 10, 16, 0.82) 45%, rgba(8, 10, 16, 0.32) 100%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.18) 0%, rgba(8, 10, 16, 0.98) 100%);
}
.hero-scanline { display: none; }

.hero-content {
  display: grid;
  grid-template-columns: 1.22fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(16, 232, 138, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
}
/* Mesma fonte do logo (Russo One, levemente inclinada) */
.hero-title {
  margin: 16px 0 14px;
  font-family: 'Russo One', 'Chakra Petch', sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0.6px;
  font-weight: 400;
  transform: skewX(-6deg);
  transform-origin: left bottom;
  /* Degradê dourado → amarelo → verde na frase toda + faixa de brilho (posição em --shine, animada pelo GSAP) */
  --shine: -30%;
  background-image:
    linear-gradient(105deg, transparent calc(var(--shine) - 14%), rgba(255, 255, 255, 0.85) var(--shine), transparent calc(var(--shine) + 14%)),
    linear-gradient(160deg, #ffb703 0%, #f5c518 30%, #e9e43a 55%, #7ee35a 78%, #10e88a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 16px rgba(245, 197, 24, 0.2));
  width: fit-content;
  /* Folga para as "pernas" de j/g e a inclinação não serem cortadas pelo recorte do degradê */
  padding: 0.04em 0.12em 0.22em;
  margin-bottom: calc(14px - 0.16em);
}
.hero-title span { display: block; }
/* Esconde o título só até a animação começar (classe colocada no <head>; some em no máximo ~0,9 s) */
.hero-pending .hero-title { visibility: hidden; }
.hero-desc {
  margin: 0 0 26px;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 530px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Texto do hero centralizado (selo, título, descrição e botões) */
.hero-left { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-left .hero-title { margin-left: auto; margin-right: auto; transform-origin: center bottom; }
.hero-left .hero-desc { margin-left: auto; margin-right: auto; }
.hero-left .hero-cta { justify-content: center; }

/* Hero Spotlight Card (Glassmorphism) */
.hero-spotlight {
  background: rgba(13, 17, 28, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.spot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 1px;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 16px;
}
.spot-team { display: flex; align-items: center; gap: 16px; }
.spot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.spot-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.spot-stat small { display: block; color: var(--muted); font-size: 0.68rem; font-weight: 500; }
.spot-stat b { font-family: 'Teko', sans-serif; font-size: 1.85rem; line-height: 1; color: var(--green); }

.spot-next {
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.spot-next-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.74rem;
}
.spot-next-label {
  color: var(--amber);
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.spot-next-main {
  margin-top: 4px;
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.35;
}

/* KPI Strip unificado */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.kpi {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(13, 17, 27, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 18px;
}
.kpi-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.kpi-ico.amber { background: var(--amber-soft); color: var(--amber); }
.kpi-ico.green { background: var(--green-soft); color: var(--green); }
.kpi-ico.red { background: var(--red-soft); color: var(--red); }
.kpi-ico.cyan { background: rgba(56, 189, 248, 0.14); color: var(--cyan); }
.kpi small { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 500; }
.kpi strong { display: block; font-family: 'Teko', sans-serif; font-size: 2.1rem; line-height: 0.95; margin: 2px 0; }
.kpi.hot strong { color: var(--red); }
.kpi span { font-size: 0.74rem; color: var(--muted); }

/* ==================== BUTTONS ==================== */
/* ===== Identidade de movimento (skill motion-design) =====
   Curva assinatura: (0.2,0,0,1) · entrada desacelera · saída acelera · soltar com leve "quique"
   Durações: rápida 120ms (hover/press) · padrão 220ms (soltar, fechar) · lenta 340ms (abrir modal) */
:root {
  --ease-std: cubic-bezier(0.2, 0, 0, 1);
  --ease-emph: cubic-bezier(0.05, 0.7, 0.1, 1);
  --ease-accel: cubic-bezier(0.3, 0, 1, 1);
  --ease-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --dur-quick: 120ms;
  --dur-std: 220ms;
  --dur-slow: 340ms;
}

.btn-tac {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  /* soltar: volta com um leve quique; hover/cores: rápido */
  transition:
    transform var(--dur-std) var(--ease-back),
    box-shadow var(--dur-std) var(--ease-std),
    filter 90ms var(--ease-std),
    background-color var(--dur-quick) var(--ease-std),
    border-color var(--dur-quick) var(--ease-std),
    color var(--dur-quick) var(--ease-std);
}
.btn-tac svg { transition: transform var(--dur-std) var(--ease-back); }
/* Hover só em aparelhos com mouse (evita "hover preso" no celular) */
@media (hover: hover) {
  .btn-tac:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28); }
  .btn-tac:hover svg { transform: translateY(-1px); }
  .btn-tac.primary:hover { box-shadow: 0 12px 30px rgba(245, 197, 24, 0.38); }
}
/* Apertar: afunda rápido (90ms); ao soltar, a transição padrão devolve com quique */
.btn-tac:active {
  transform: translateY(0) scale(0.96);
  filter: brightness(0.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition-duration: 90ms;
  transition-timing-function: var(--ease-std);
}
.btn-tac:active svg { transform: translateY(1px); }
.btn-tac:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.btn-tac.primary {
  background: linear-gradient(135deg, #f5c518, #ffdc5e);
  color: #090b10;
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.25);
}
.btn-tac.outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line-bright);
}
.btn-tac.outline:hover { border-color: var(--amber); color: var(--amber); background: rgba(245, 197, 24, 0.06); }
.btn-tac.small { padding: 8px 13px; font-size: 0.76rem; border-radius: 9px; }
.btn-tac.stream-yt { background: #e11d48; color: #fff; }
.btn-tac.stream-tw { background: #7c3aed; color: #fff; }
.btn-tac.stream-kick { background: #22c55e; color: #051409; }
.btn-tac.stream-pt { background: var(--green); color: #04140b; }
.btn-tac.alert-btn { background: rgba(245, 197, 24, 0.12); color: var(--amber); border: 1px solid rgba(245, 197, 24, 0.35); }
.btn-tac.alert-btn:hover { background: rgba(245, 197, 24, 0.22); }
.btn-tac.alert-btn.saved { background: var(--green-soft); color: var(--green); border-color: rgba(16, 232, 138, 0.4); }

.alert-input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-bright);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
}
.alert-input:focus { outline: 1px solid var(--amber); border-color: var(--amber); }
.alert-msg { margin: 10px 0 0; font-size: 0.84rem; line-height: 1.45; min-height: 20px; color: var(--green); }
.alert-msg.err { color: #ff7c91; }

/* ==================== SECTIONS ==================== */
.sec { margin: 54px 0; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.sec-badge {
  display: inline-block;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.sec-badge.red { background: var(--red-soft); color: #ff7c91; }
.sec-badge.amber { background: var(--amber-soft); color: var(--amber); }
.sec-badge.green { background: var(--green-soft); color: var(--green); }
.sec-badge.purple { background: rgba(168, 85, 247, 0.16); color: #d8b4fe; }
.sec-badge.cyan { background: rgba(56, 189, 248, 0.14); color: var(--cyan); }

.sec-title h2 {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 2.4rem;
  line-height: 0.94;
  letter-spacing: 0.4px;
  font-weight: 600;
}
.sec-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 660px;
}
.subhead-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin: 26px 0 14px;
}
.subhead-row h3 { margin: 0; font-size: 0.88rem; font-weight: 700; color: #cbd5e1; }

.filter-group {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.chip {
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.chip.active { background: var(--green); color: #04140b; font-weight: 700; }

.select-tac {
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ==================== TEAM LOGOS ==================== */
.team-logo {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px;
  overflow: hidden;
  flex-shrink: 0;
}
.team-logo.lg { width: 68px; height: 68px; padding: 9px; border-radius: 14px; }
.team-logo.sm { width: 38px; height: 38px; padding: 5px; border-radius: 9px; }
.team-logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.team-monogram {
  font-family: 'Teko', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--team-color, var(--amber));
}
.team-logo.sm .team-monogram { font-size: 0.95rem; }

/* ==================== MATCHES ==================== */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 14px;
}
.match-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.match-card:hover { border-color: var(--line-bright); transform: translateY(-2px); box-shadow: var(--shadow); }
.match-card.live {
  border-color: rgba(255, 51, 85, 0.55);
  background: linear-gradient(160deg, rgba(255, 51, 85, 0.1), var(--surface));
}
.match-card.br { border-top: 2px solid var(--green); }
/* Campeonato Tier S (Majors etc.): moldura dourada, brilho suave e selo */
.match-card.tier-s {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 197, 24, 0.14), transparent 55%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 0 1px rgba(245, 197, 24, 0.18), 0 12px 32px rgba(245, 197, 24, 0.07);
}
.match-card.tier-s:not(.live) { border-color: rgba(245, 197, 24, 0.5); }
.match-card.tier-s.br { border-top-color: var(--amber); }
.tier-s-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #120d00;
  background: linear-gradient(135deg, #ffd84a, #f5c518 55%, #e0a800);
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.35);
  position: relative;
  overflow: hidden;
}
/* camada ambiente: um reflexo passa pelo selo de tempos em tempos */
.tier-s-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%);
  animation: tier-s-sheen 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes tier-s-sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .tier-s-badge::after { animation: none; display: none; } }

.match-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--muted);
}
.match-tourney { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 58%; font-weight: 500; }
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.badge-br {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(16, 232, 138, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
}
.match-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.m-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.m-team.right { justify-content: flex-end; text-align: right; }
.m-team b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.94rem; font-weight: 700; }
.m-score {
  font-family: 'Teko', sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--amber);
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}
.match-streams { display: flex; gap: 7px; flex-wrap: wrap; }

/* ==================== TOURNAMENTS ==================== */
.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
}
.tourney-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.tourney-card.tier-S { border-top: 2px solid var(--amber); }
.tourney-card.tier-A { border-top: 2px solid var(--green); }
.tourney-card:hover { transform: translateY(-2px); border-color: var(--line-bright); box-shadow: var(--shadow); }
.tourney-head { display: flex; align-items: center; gap: 13px; }
.tourney-head h3 { margin: 4px 0 0; font-size: 0.98rem; line-height: 1.3; font-weight: 700; }
.tourney-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 0.78rem; color: var(--muted); }
.tier-badge {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--cyan);
}
.tier-badge.S { background: var(--amber-soft); color: var(--amber); }
.tier-badge.A { background: var(--green-soft); color: var(--green); }
.prize-tag { color: var(--amber); font-weight: 700; }
.br-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ==================== PODIUM & RANKING ==================== */
.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

.team-card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.team-card.podium {
  background:
    radial-gradient(circle at 95% 5%, color-mix(in srgb, var(--team-color, #f5c518) 18%, transparent), transparent 58%),
    var(--surface);
  border-color: color-mix(in srgb, var(--team-color, #f5c518) 32%, rgba(255, 255, 255, 0.08));
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--team-color, #f5c518) 60%, transparent);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

.team-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.team-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rank-tag {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--team-color, var(--amber));
  letter-spacing: 0.8px;
}
.team-title h3 { margin: 2px 0; font-size: 1.18rem; font-weight: 800; letter-spacing: -0.2px; }
.team-sub { font-size: 0.74rem; color: var(--muted); }
.pts-box { text-align: right; flex-shrink: 0; }
.pts-box b { display: block; font-family: 'Teko', sans-serif; font-size: 2.1rem; line-height: 0.88; }
.pts-box small { font-size: 0.66rem; color: var(--muted); letter-spacing: 0.8px; }

.roster { display: flex; flex-wrap: wrap; gap: 6px; }
.player-tag {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #e2e8f0;
}

.wr-block { display: flex; flex-direction: column; gap: 6px; }
.wr-row { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--muted); }
.wr-row b { color: var(--text); }
.hud-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.hud-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--green));
}

.form-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.form-dots { display: flex; gap: 5px; }
.f-dot {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.f-dot.W { background: var(--green-soft); color: var(--green); border: 1px solid rgba(16, 232, 138, 0.35); }
.f-dot.L { background: var(--red-soft); color: #ff7c91; border: 1px solid rgba(255, 51, 85, 0.35); }

.team-actions { display: flex; gap: 8px; margin-top: auto; }
.team-actions .btn-tac { flex: 1; }

/* ==================== RESULTS ==================== */
.results-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 10px; }
.res-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.res-item.W { border-left-color: var(--green); }
.res-item.L { border-left-color: var(--red); }
.res-main b { font-size: 0.92rem; font-weight: 700; }
.res-main small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.74rem; margin-top: 3px; }
.res-badge {
  font-family: 'Teko', sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  padding: 5px 12px;
  border-radius: 8px;
  min-width: 66px;
  text-align: center;
}
.res-badge.W { background: var(--green-soft); color: var(--green); }
.res-badge.L { background: var(--red-soft); color: #ff7c91; }

/* ==================== NEWS ==================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}
.news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.news-card:hover { transform: translateY(-2px); border-color: rgba(245, 197, 24, 0.45); box-shadow: var(--shadow); }
.news-card h3 { margin: 0; font-size: 0.94rem; line-height: 1.45; font-weight: 600; }
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--muted);
}
.news-source {
  color: var(--green);
  font-weight: 700;
  background: var(--green-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ==================== STREAMS ==================== */
.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.stream-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--stream-accent, #f5c518) 14%, transparent), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.stream-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--stream-accent, #f5c518) 65%, transparent);
  box-shadow: var(--shadow);
}
.stream-top { display: flex; justify-content: space-between; align-items: center; }
.stream-plat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--stream-accent, var(--amber));
}
.stream-card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.stream-card p { margin: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ==================== FAQ ==================== */
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  transition: border-color 0.15s;
}
.faq-list details[open] { border-color: rgba(245, 197, 24, 0.35); }
.faq-list summary {
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::after { content: '+'; color: var(--amber); font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 12px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ==================== PARTIDA (/partida/:slug) ==================== */
.mp-hero { text-align: center; }
.mp-hero.live { border-color: rgba(255, 51, 85, 0.5); }
.mp-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 8px; }
.mp-meta a.pill:hover { border-color: var(--amber); color: var(--amber); }
.mp-title { margin: 4px 0 16px; font-family: 'Teko', sans-serif; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 0.95; }
.mp-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.mp-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mp-team.right { justify-content: flex-end; text-align: right; }
.mp-team-name { font-weight: 800; font-size: 1.05rem; overflow-wrap: anywhere; }
.mp-team-name a { color: inherit; text-decoration: none; }
.mp-team-name a:hover { color: var(--amber); }
.mp-crumbs { font-size: 0.8rem; margin-bottom: 12px; color: var(--muted); }
.mp-crumbs a { color: var(--muted); text-decoration: none; }
.mp-crumbs a:hover { color: var(--amber); }
.mp-related-row, .tp-row { color: var(--text); text-decoration: none; }
.tourney-foot .match-link, .res-main .match-link, .team-hero a.pill { text-decoration: none; }
.mp-score { font-family: 'Teko', sans-serif; font-size: clamp(2.6rem, 9vw, 4rem); font-weight: 700; line-height: 1; display: flex; flex-direction: column; align-items: center; }
.mp-score-num { display: inline-flex; align-items: baseline; gap: 0.25em; white-space: nowrap; }
.mp-score-num b { font-weight: 700; color: var(--muted); }
.mp-score-num b.win { color: var(--text); }
.mp-score i { font-style: normal; color: var(--muted); }
.mp-score small strong { color: var(--text); }
.mp-maps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.mp-map {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 104px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03);
}
.mp-map > small { color: var(--muted); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.6px; }
.mp-map b { font-size: 0.9rem; }
.mp-map-score { font-family: 'Teko', sans-serif; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.mp-map-score em { font-style: normal; }
.mp-map-score em.win { color: var(--text); font-weight: 700; }
.mp-map small.mp-map-w { color: var(--muted); font-size: 0.68rem; font-weight: 700; text-transform: none; letter-spacing: 0; }
.mp-map small.mp-map-w.br { color: var(--green); }
.mp-map small.mp-map-halves { color: var(--muted); font-size: 0.62rem; text-transform: none; letter-spacing: 0; opacity: 0.85; }

/* Veto */
.mp-veto { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mp-veto li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); font-size: 0.82rem;
}
.mp-veto li.ban { opacity: 0.75; }
.mp-veto li.ban strong { text-decoration: line-through; color: var(--muted); }
.mp-veto li.pick { border-color: rgba(16, 232, 138, 0.4); }
.mp-veto li.pick strong { color: var(--green); }
.mp-veto li:not(.ban):not(.pick) { border-color: rgba(245, 197, 24, 0.45); }
.mp-veto li:not(.ban):not(.pick) strong { color: var(--amber); }
.mp-veto-n { font-size: 0.66rem; font-weight: 800; color: var(--muted); width: 16px; text-align: center; }

/* Estatísticas de jogadores */
.mp-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.mp-hl { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(245, 197, 24, 0.4); background: rgba(245, 197, 24, 0.06); min-width: 180px; }
.mp-hl small { color: var(--muted); font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.mp-hl b { font-size: 1.05rem; color: var(--amber); }
.mp-hl span { color: var(--muted); font-size: 0.78rem; }
.mp-stats-team { margin-bottom: 14px; }
.mp-stats-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.mp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.mp-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; min-width: 560px; }
.mp-table th { text-align: right; padding: 8px 10px; color: var(--muted); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; background: rgba(255, 255, 255, 0.03); cursor: help; }
.mp-table td { text-align: right; padding: 8px 10px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mp-table th:first-child, .mp-table td.pl { text-align: left; font-weight: 700; }
.mp-table td.pos { color: var(--green); }
.mp-table td.neg { color: #ff6b81; }
.mp-table td.rt { font-weight: 800; }
.mp-sub { font-size: 0.9rem; margin: 18px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; }
.mp-stats-map { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; background: var(--surface); }
.mp-stats-map summary { cursor: pointer; font-weight: 700; }
.mp-stats-map[open] summary { margin-bottom: 10px; }
.mp-score small { font-family: Inter, sans-serif; font-size: 0.74rem; font-weight: 600; color: var(--muted); margin-top: 6px; max-width: 200px; }
.mp-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.mp-related, .tp-list { display: flex; flex-direction: column; gap: 6px; }
.mp-related-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.mp-related-row:hover, .tp-row:hover { border-color: var(--amber); }
@media (max-width: 560px) {
  .mp-board { grid-template-columns: 1fr; }
  .mp-team, .mp-team.right { justify-content: center; text-align: center; flex-direction: column; }
  .mp-team.right .team-logo { order: -1; }
}

/* ==================== CAMPEONATO (/campeonato/:slug) ==================== */
.tp-row {
  display: grid; grid-template-columns: 1fr auto 1fr minmax(120px, auto); align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.tp-row.br { border-left: 3px solid var(--green); }
.tp-row.live { border-color: rgba(255, 51, 85, 0.55); }
.tp-side { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; }
.tp-side span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-side.right { justify-content: flex-end; text-align: right; }
.tp-score { font-family: 'Teko', sans-serif; font-size: 1.6rem; line-height: 1; }
.tp-when { display: flex; flex-direction: column; align-items: flex-end; font-size: 0.78rem; text-align: right; }
.tp-when small { color: var(--muted); font-size: 0.68rem; }
@media (max-width: 640px) {
  .tp-row { grid-template-columns: 1fr auto 1fr; }
  .tp-when { grid-column: 1 / -1; align-items: center; text-align: center; }
}

/* Selo "Oficial" / "BR" nos botões de transmissão */
.stream-tag {
  margin-left: 6px; padding: 1px 6px; border-radius: 6px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.4px;
  text-transform: uppercase; background: rgba(245, 197, 24, 0.18); color: var(--amber);
}
.stream-tag.br { background: rgba(16, 232, 138, 0.16); color: var(--green); }
.stream-note { margin: 8px 0 0; font-size: 0.7rem; line-height: 1.4; color: var(--muted); }
/* Sugestão de canais BR (Gaules / MadHouse) com Twitch, YouTube e Kick */
.br-suggest { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; }
.br-suggest-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.br-suggest-name { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.2px; color: var(--green); min-width: 104px; }
.btn-tac.icon-only { width: 34px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.btn-tac.icon-only svg { width: 15px; height: 15px; }

/* Links para página da partida/campeonato a partir da home */
.match-link { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.match-link:hover { color: var(--amber); }

/* ==================== TEAM PAGE (/time/:slug) ==================== */
.team-hero {
  background:
    radial-gradient(circle at 95% 5%, color-mix(in srgb, var(--team-color, #f5c518) 20%, transparent), transparent 55%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--team-color, #f5c518) 35%, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.team-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.team-hero-name {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.6rem);
  line-height: 0.92;
}
.factors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.factor {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.factor small { display: block; color: var(--muted); font-size: 0.7rem; }
.factor b { font-family: 'Teko', sans-serif; font-size: 1.95rem; line-height: 1; color: var(--green); }

.maps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--map-color, var(--amber));
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-head { display: flex; justify-content: space-between; align-items: baseline; }
.map-head h3 { margin: 0; font-size: 1.08rem; font-weight: 700; }
.map-wr {
  font-family: 'Teko', sans-serif;
  font-size: 2.1rem;
  line-height: 0.9;
  color: var(--map-color, var(--amber));
}
.map-meta { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--muted); }
.other-teams { display: flex; flex-wrap: wrap; gap: 8px; }
.other-team-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s;
}
.other-team-link span { color: var(--amber); font-weight: 700; }
.other-team-link:hover { border-color: var(--amber); color: var(--amber); }

/* ==================== MODAL & UTILS ==================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 5, 10, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg2);
  border: 1px solid var(--line-bright);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
}
.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--dur-std) var(--ease-back), background-color var(--dur-quick) var(--ease-std), border-color var(--dur-quick) var(--ease-std);
}
@media (hover: hover) {
  .close-btn:hover { transform: rotate(90deg); background: rgba(255, 255, 255, 0.12); border-color: var(--line-bright); }
}
.close-btn:active { transform: rotate(90deg) scale(0.9); transition-duration: 90ms; }
.close-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Botões de filtro (chips): mesma linguagem de toque */
.chip { transition: background-color var(--dur-quick) var(--ease-std), color var(--dur-quick) var(--ease-std), transform var(--dur-std) var(--ease-back); }
.chip:active { transform: scale(0.95); transition-duration: 90ms; }

/* Modais: estado inicial controlado pelo motion.js (abre/fecha animado) */
.modal.is-animating .modal-card { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .btn-tac, .btn-tac svg, .close-btn, .chip { transition-property: background-color, border-color, color, filter, box-shadow; }
  .btn-tac:hover, .btn-tac:active, .close-btn:hover, .close-btn:active, .chip:active { transform: none; }
}
.empty-box {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px dashed var(--line-bright);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}
/* Carregando: bloco com brilho percorrendo (linear é permitido para progresso/loading) */
.skeleton {
  position: relative;
  overflow: hidden;
  padding: 32px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.06) 50%, transparent 80%);
  animation: skeleton-shimmer 1.4s linear infinite;
}
@keyframes skeleton-shimmer { to { transform: translateX(100%); } }

/* ===== Motion: feedback de estado, entrada ao rolar, transições e acabamento ===== */
/* Placar ao vivo mudou: destaque verde por ~1,2s (o "pulo" é feito no motion.js) */
.m-score { transition: color 600ms var(--ease-std), text-shadow 600ms var(--ease-std); }
.m-score.score-flash { color: var(--green); text-shadow: 0 0 18px rgba(16, 232, 138, 0.55); transition-duration: 120ms; }

/* Entrada ao rolar: começa 18px abaixo e transparente; .rv-in revela com cascata (--rv-d) */
.rv { opacity: 0; transform: translateY(18px); }
.rv.rv-in {
  opacity: 1;
  transform: none;
  transition: opacity 420ms var(--ease-std) var(--rv-d, 0ms), transform 480ms var(--ease-emph) var(--rv-d, 0ms);
}

/* Barras de win rate: crescem da esquerda */
.hud-bar i { transform-origin: left center; }

/* Cards: elevação + logo com leve zoom (camada secundária) */
.match-card, .tourney-card, .team-card, .news-card, .stream-card {
  transition: transform var(--dur-std) var(--ease-std), box-shadow var(--dur-std) var(--ease-std), border-color var(--dur-quick) var(--ease-std), opacity 420ms var(--ease-std);
}
.team-logo img { transition: transform var(--dur-std) var(--ease-back); }
@media (hover: hover) {
  .match-card:hover .team-logo img, .team-card:hover .team-logo img, .tourney-card:hover .team-logo img { transform: scale(1.08); }
  .match-card:hover, .tourney-card:hover, .news-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42); }
}

/* Topo: ao rolar, fundo mais sólido e sombra; o emblema encolhe só visualmente (sem mexer no layout) */
.topbar { transition: background-color var(--dur-std) var(--ease-std), box-shadow var(--dur-std) var(--ease-std), border-color var(--dur-std) var(--ease-std); }
.topbar.is-scrolled { background: rgba(8, 10, 16, 0.94); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); border-bottom-color: rgba(245, 197, 24, 0.18); }
.brand-emblem { transition: transform var(--dur-std) var(--ease-std); transform-origin: left center; }
.topbar.is-scrolled .brand-emblem { transform: scale(0.88); }

/* Transição entre páginas (home → time → partida), recurso nativo do navegador */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 180ms var(--ease-accel) both vt-out; }
::view-transition-new(root) { animation: 320ms var(--ease-emph) both vt-in; }
.topbar { view-transition-name: topbar; }
::view-transition-group(topbar) { animation: none; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ===== Transição de seções ===== */
/* Sublinhado âmbar sob o título de cada seção (desenha da esquerda ao entrar) */
.sec-title h2 { position: relative; margin-bottom: 6px; }
.sec-title h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--amber), var(--green));
  transform-origin: left center;
}
/* Cabeçalho da seção abaixo da dobra: começa escondido; ao entrar, coreografia em 4 tempos */
.sec-head.rv-sec .sec-badge,
.sec-head.rv-sec h2,
.sec-head.rv-sec .sec-sub,
.sec-head.rv-sec .sec-controls,
.sec-head.rv-sec .vrs-dates { opacity: 0; }
.sec-head.rv-sec .sec-badge { transform: translateY(6px) scale(0.92); }
.sec-head.rv-sec h2 { transform: translateX(-10px); clip-path: inset(0 100% 0 0); }
.sec-head.rv-sec h2::after { transform: scaleX(0); }
.sec-head.rv-sec .sec-sub, .sec-head.rv-sec .vrs-dates { transform: translateY(8px); }
.sec-head.rv-sec .sec-controls { transform: translateY(8px); }
.sec-head.rv-sec.rv-sec-in .sec-badge,
.sec-head.rv-sec.rv-sec-in h2,
.sec-head.rv-sec.rv-sec-in .sec-sub,
.sec-head.rv-sec.rv-sec-in .sec-controls,
.sec-head.rv-sec.rv-sec-in .vrs-dates { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.sec-head.rv-sec.rv-sec-in .sec-badge { transition: opacity 260ms var(--ease-std), transform 360ms var(--ease-back); }
.sec-head.rv-sec.rv-sec-in h2 { transition: opacity 200ms var(--ease-std) 70ms, transform 520ms var(--ease-emph) 70ms, clip-path 560ms var(--ease-emph) 70ms; }
.sec-head.rv-sec.rv-sec-in h2::after { transform: scaleX(1); transition: transform 480ms var(--ease-emph) 380ms; }
.sec-head.rv-sec.rv-sec-in .sec-sub, .sec-head.rv-sec.rv-sec-in .vrs-dates { transition: opacity 360ms var(--ease-std) 180ms, transform 420ms var(--ease-emph) 180ms; }
.sec-head.rv-sec.rv-sec-in .sec-controls { transition: opacity 360ms var(--ease-std) 240ms, transform 420ms var(--ease-emph) 240ms; }
/* Chegada pelo menu: o sublinhado da seção de destino "acende" */
.sec-title h2.sec-arrive::after { animation: sec-arrive 900ms var(--ease-std); }
@keyframes sec-arrive {
  0% { transform: scaleX(1); box-shadow: none; }
  30% { transform: scaleX(2.6); box-shadow: 0 0 14px rgba(245, 197, 24, 0.7); }
  100% { transform: scaleX(1); box-shadow: none; }
}

/* Menu do topo: indicador que desliza até a seção atual */
.top-nav { position: relative; }
.top-nav .nav-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.14);
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: transform 360ms var(--ease-emph), width 360ms var(--ease-emph), opacity var(--dur-std) var(--ease-std);
}
.top-nav a { position: relative; z-index: 1; }
.top-nav a.is-active { color: var(--amber); }
@media (max-width: 768px) {
  .mobile-dock a.is-active { color: var(--amber); }
  .mobile-dock a.is-active svg { transform: translateY(-2px); }
  .mobile-dock a svg { transition: transform var(--dur-std) var(--ease-back); }
}

/* Linha de progresso da página sob o topo */
.topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--green));
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  opacity: 0.85;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .sec-head.rv-sec .sec-badge, .sec-head.rv-sec h2, .sec-head.rv-sec .sec-sub, .sec-head.rv-sec .sec-controls, .sec-head.rv-sec .vrs-dates { opacity: 1; transform: none; clip-path: none; }
  .sec-head.rv-sec h2::after { transform: none; }
  .sec-title h2.sec-arrive::after { animation: none; }
  .top-nav .nav-indicator { transition: opacity var(--dur-std) linear; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .pill.live-on .dot, .skeleton::after { animation: none; }
  .rv { opacity: 1; transform: none; }
  .team-logo img, .brand-emblem { transition: none; }
  .match-card:hover .team-logo img, .team-card:hover .team-logo img, .tourney-card:hover .team-logo img, .topbar.is-scrolled .brand-emblem { transform: none; }
}

/* ==================== FOOTER ==================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  background: rgba(6, 8, 13, 0.72);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 600; }
.footer-brand img { width: 30px; height: 30px; object-fit: cover; border-radius: 8px; }

/* ==================== MOBILE DOCK (oculto no desktop) ==================== */
.mobile-dock { display: none; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1180px) {
  .muted-pill { display: none; }
}
@media (max-width: 1080px) {
  .top-nav { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; }
  .podium-grid { grid-template-columns: 1fr; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Versão dedicada para Mobile (<= 768px) — não altera o desktop */
@media (max-width: 768px) {
  html { scroll-padding-top: 68px; }
  main, section, .wrap, .hero-left, .hero-spotlight, .match-card, .team-card,
  .tourney-card, .news-card, .stream-card, .res-item, .res-main, .kpi, .team-hero {
    min-width: 0;
    max-width: 100%;
  }
  .wrap { padding: 0 14px; }

  /* Header compacto (cabe com folga até em 320px) */
  .topbar-inner { padding: 9px 12px; gap: 8px; }
  .brand { gap: 8px; min-width: 0; flex-shrink: 1; }
  .brand-emblem { width: 42px; height: 42px; border-radius: 10px; }
  .brand-text { min-width: 0; }
  .brand-kicker { font-size: 0.56rem; letter-spacing: 1.1px; }
  .brand-text .brand-cs2 { font-size: 1.28rem; letter-spacing: 0.8px; }
  .top-meta { gap: 6px; }
  .pill { padding: 5px 9px; font-size: 0.68rem; }
  .btn-icon { width: 32px; height: 32px; }

  /* Hero otimizado para 1ª dobra no celular */
  .hero { padding: 20px 0 20px; }
  .hero-media img { object-position: 72% center; opacity: 0.65; }
  .hero-content { gap: 18px; }
  .hero-eyebrow { font-size: 0.66rem; padding: 5px 11px; max-width: 100%; }
  .hero-title { font-size: 1.85rem; margin: 10px 0 8px; overflow-wrap: break-word; }
  .hero-desc { font-size: 0.88rem; margin: 0 0 16px; line-height: 1.5; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .hero-cta .btn-tac { padding: 12px 10px; font-size: 0.76rem; min-height: 44px; }

  /* Spotlight & KPIs */
  .hero-spotlight { padding: 14px; border-radius: 16px; }
  .spot-team { gap: 10px; align-items: flex-start; }
  .spot-team > div { min-width: 0; flex: 1; }
  .spot-stats { gap: 6px; margin: 12px 0; }
  .spot-stat { padding: 8px 4px; min-width: 0; }
  .spot-stat b { font-size: 1.55rem; }

  .kpi-strip { margin-top: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 14px; }
  .kpi { padding: 10px; gap: 8px; }
  .kpi > div { min-width: 0; }
  .kpi-ico { width: 34px; height: 34px; border-radius: 9px; }
  .kpi strong { font-size: 1.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kpi span { font-size: 0.66rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Seções com rolagem mais confortável */
  .sec { margin: 32px 0; }
  .sec-head { margin-bottom: 14px; gap: 10px; align-items: stretch; }
  .sec-title { min-width: 0; }
  .sec-title h2 { font-size: 1.95rem; }
  .sec-sub { font-size: 0.82rem; }

  .filter-group { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .chip { text-align: center; padding: 9px 8px; font-size: 0.76rem; }
  .select-tac { width: 100%; max-width: 100%; min-height: 42px; }

  /* Grids 1 coluna sem estourar largura */
  .matches-grid, .teams-grid, .results-list, .streams-grid, .news-grid, .tournaments-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .match-card, .team-card, .tourney-card, .news-card, .stream-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(16, 21, 34, 0.94);
    padding: 14px;
    border-radius: 14px;
  }
  .news-card h3, .tourney-head h3, .res-main b { overflow-wrap: anywhere; }

  /* Match cards fáceis de tocar */
  .match-top { flex-wrap: wrap; gap: 6px; }
  .match-tourney { max-width: 100%; font-size: 0.72rem; }
  .match-vs { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; }
  .m-team { gap: 6px; min-width: 0; }
  .m-team b { font-size: 0.82rem; }
  .m-score { font-size: 1.55rem; padding: 3px 8px; letter-spacing: 1px; }
  .match-streams { gap: 6px; }
  .match-streams .btn-tac { flex: 1 1 auto; min-height: 38px; }

  /* Cards de time e página /time/:slug */
  .team-logo.lg { width: 52px; height: 52px; padding: 6px; }
  .team-logo.sm { width: 32px; height: 32px; padding: 4px; }
  .team-actions .btn-tac { min-height: 40px; }
  .team-hero { padding: 16px 14px; border-radius: 16px; }
  .factors-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .maps-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .map-card { padding: 12px; gap: 8px; min-width: 0; }
  .map-head h3 { font-size: 0.95rem; }
  .map-wr { font-size: 1.7rem; }
  .map-meta { flex-direction: column; gap: 2px; font-size: 0.7rem; }

  /* Rodapé com espaço para a barra inferior fixa */
  .footer { padding: 22px 0 calc(84px + env(safe-area-inset-bottom)); }
  .footer-inner { gap: 10px; }

  /* Barra inferior fixa estilo app */
  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: rgba(10, 13, 22, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--line-bright);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  }
  .mobile-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 2px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.66rem;
    font-weight: 600;
    border-radius: 10px;
    transition: color 0.15s, background 0.15s;
  }
  .mobile-dock a:active, .mobile-dock a:focus-visible {
    color: var(--amber);
    background: rgba(245, 197, 24, 0.1);
  }
}

.team-card.clickable { cursor: pointer; }
.team-id-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.team-id-link:hover h3 { color: var(--amber); }
.team-id-link:hover .team-logo {
  border-color: color-mix(in srgb, var(--team-color, #f5c518) 65%, transparent);
}

.team-link {
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
  transition: opacity 0.15s;
}
.team-link:hover b {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.team-link:hover .team-logo {
  border-color: rgba(245, 197, 24, 0.55);
}

.team-link-inline {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.team-link-inline:hover {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.br-chip-link {
  border-color: rgba(0, 255, 136, 0.35);
  color: var(--green);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.br-chip-link:hover {
  background: rgba(0, 255, 136, 0.14);
  border-color: var(--green);
  transform: translateY(-1px);
}

.player-link {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.player-link:hover {
  border-color: rgba(245, 197, 24, 0.45);
  color: var(--amber);
  background: rgba(245, 197, 24, 0.08);
}

.sec-controls, .results-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.search-tac {
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  padding: 8px 13px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  min-width: 210px;
  outline: none;
  transition: border-color 0.15s;
}
.search-tac:focus { border-color: var(--amber); }
.search-tac::placeholder { color: var(--muted); }

.md-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #cbd5e1;
  flex-shrink: 0;
}

.tourney-card.clickable { cursor: pointer; }
.tourney-stage {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--cyan);
}
.tourney-foot {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  justify-content: flex-end;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--amber);
}

.stream-card.multi {
  cursor: default;
}
.stream-links {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}

.btn-install {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.36);
  color: var(--amber);
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn-install:hover {
  background: rgba(245, 197, 24, 0.2);
  border-color: var(--amber);
}
.mobile-install-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.35);
  border-radius: 12px;
  color: var(--amber);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.mobile-install-btn::after { content: '↓'; font-size: 1rem; }

.push-btn {
  background: linear-gradient(135deg, rgba(16, 232, 138, 0.2), rgba(0, 229, 255, 0.14));
  color: var(--green);
  border: 1px solid rgba(16, 232, 138, 0.45);
  font-weight: 700;
}
.push-btn:hover {
  background: linear-gradient(135deg, rgba(16, 232, 138, 0.3), rgba(0, 229, 255, 0.22));
  border-color: var(--green);
}
.alert-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.alert-divider::before,
.alert-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.share-wa {
  background: rgba(37, 211, 102, 0.14);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.35);
}
.share-wa:hover {
  background: rgba(37, 211, 102, 0.24);
  border-color: #4ade80;
}
.share-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.modal-card {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.modal-card::-webkit-scrollbar { width: 8px; }
.modal-card::-webkit-scrollbar-track { background: transparent; }
.modal-card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
.modal-card::-webkit-scrollbar-thumb:hover { background: rgba(245, 197, 24, 0.45); }

@media (max-width: 768px) {
  .sec-controls, .results-filters { width: 100%; }
  .search-tac, .results-filters .select-tac { width: 100%; min-width: 0; }
}

@media (max-width: 400px) {
  .brand-kicker { display: none; }
  .pill { display: none; }
  .maps-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta { grid-template-columns: minmax(0, 1fr); }
}

/* ==================== MODAL EXTERNO UNIVERSAL ==================== */
.ext-modal { z-index: 75; }
.ext-modal-card { max-width: 640px; }
.ext-modal-card.wide { max-width: 920px; }
.ext-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  padding-right: 42px;
}
.ext-title {
  font-family: 'Teko', sans-serif;
  font-size: 2.15rem;
  line-height: 0.98;
  margin: 6px 0 0;
  font-weight: 700;
}
.ext-actions-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.ext-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-bright);
}
.ext-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ext-rank-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 4px;
}
.ext-rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.ext-rank-row.br {
  background: rgba(245, 197, 24, 0.08);
  border-color: rgba(245, 197, 24, 0.35);
}
.ext-rank-pos {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  min-width: 36px;
  color: var(--amber);
}
.ext-rank-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ext-rank-pts {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  white-space: nowrap;
}
.ext-player-id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ext-player-photo {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-bright);
}
.ext-player-monogram {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--amber);
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.35);
}
.ext-foot-note {
  margin: 14px 0 0;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
}
.player-tag.player-link {
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.player-tag.player-link:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ==================== PLACAR POR MAPA EM RESULTADOS E MODAIS ==================== */
.res-item.clickable {
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.res-item.clickable:hover {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.045);
}
.map-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}
.map-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
}
.map-pill b {
  font-weight: 600;
  color: var(--muted);
}
.map-pill em {
  font-style: normal;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
}
.map-pill.W {
  background: rgba(0, 255, 136, 0.08);
  border-color: rgba(0, 255, 136, 0.3);
}
.map-pill.W em { color: var(--green); }
.map-pill.L {
  background: rgba(255, 42, 75, 0.07);
  border-color: rgba(255, 42, 75, 0.25);
}
.map-pill.L em { color: #ff6b81; }

.match-maps-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.map-breakdown-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.map-breakdown-card.W {
  border-color: rgba(0, 255, 136, 0.35);
  background: rgba(0, 255, 136, 0.05);
}
.map-breakdown-card.L {
  border-color: rgba(255, 42, 75, 0.3);
  background: rgba(255, 42, 75, 0.04);
}
.map-bd-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.78rem;
}
.map-bd-head b {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.95rem;
  color: var(--amber);
}
.map-bd-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}
.map-bd-score b {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.05rem;
}
.map-bd-score .win b { color: var(--green); }

#teamModal { z-index: 68; }
