/* Copa Brothers — visual de "noite de draft" do FUT: estádio escuro, dourado nos destaques,
   cards de jogador no formato do FIFA 23 e uma revelação em tela cheia a cada escolha. */
:root {
  --bg: #050a09;
  --bg-2: #0a1513;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --surface-solid: #0d1816;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #eef5f1;
  --muted: #8ea29a;
  --faint: #5d6f68;
  --gold: #e2bb57;
  --gold-2: #f8df92;
  --gold-3: #a57a1f;
  --gold-ink: #1e1503;
  --pitch: #0f6b46;
  --pitch-2: #19d27f;
  --live: #23e08a;
  --danger: #ff6b5e;
  --warn: #ffb547;

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-s: 10px;
  --sombra: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; }
a { color: var(--gold-2); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { flex: none; }

/* Fundo: refletores e listras de gramado bem sutis */
.fundo-estadio {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 15% -5%, rgba(226, 187, 87, 0.16), transparent 70%),
    radial-gradient(50% 40% at 90% 0%, rgba(25, 210, 127, 0.13), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgba(15, 107, 70, 0.28), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 80px, transparent 80px 160px),
    linear-gradient(180deg, #07100e, var(--bg) 60%);
}

.envolve {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Botões e campos ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.2s, opacity 0.15s;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.28); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.pequeno { min-height: 34px; padding: 6px 14px; font-size: 13px; }
.btn-vidro { background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(10px); }
.btn-fantasma { background: transparent; border-color: transparent; color: var(--muted); }
.btn-fantasma:hover:not(:disabled) { color: var(--ink); }
.btn-ouro {
  border: 0;
  color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #c99a35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -10px rgba(226, 187, 87, 0.7);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.btn-ouro:hover:not(:disabled) { background: linear-gradient(180deg, #fff0bd, var(--gold-2) 50%, var(--gold)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 36px -8px rgba(226, 187, 87, 0.9); }
.btn-perigo { color: #ffd3ce; border-color: rgba(255, 107, 94, 0.45); background: rgba(255, 107, 94, 0.12); }
.btn-perigo:hover:not(:disabled) { background: rgba(255, 107, 94, 0.22); border-color: var(--danger); }
.btn-icone { padding: 9px 12px; }

input[type="text"], input[type="search"], input[type="password"], input[type="number"], textarea, select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 187, 87, 0.2); }
select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: #0d1816; }
textarea { resize: vertical; font-size: 14px; }

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--gold-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mini-rotulo { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Topo ---------- */

.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 10, 9, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.topo-in { display: flex; align-items: center; gap: 14px; min-height: 66px; padding-top: 8px; padding-bottom: 8px; }
.marca { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.escudo-logo { width: 46px; height: 46px; flex: none; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(226, 187, 87, 0.35)); }
.marca-txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.marca-txt strong { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.marca-txt small { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.topo-acoes { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.topo-acoes .btn { min-height: 40px; }
#btn-eu { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
#btn-eu .badge { margin-left: -8px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--muted);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.pill[data-tom="vivo"] { color: #c9ffe3; border-color: rgba(35, 224, 138, 0.4); background: rgba(35, 224, 138, 0.1); }
.pill[data-tom="vivo"] i { background: var(--live); box-shadow: 0 0 0 0 rgba(35, 224, 138, 0.7); animation: pulso 1.6s infinite; }
.pill[data-tom="fim"] { color: var(--gold-2); border-color: rgba(226, 187, 87, 0.45); background: rgba(226, 187, 87, 0.1); }
.pill[data-tom="fim"] i { background: var(--gold); }
.pill[data-tom="alerta"] { color: #ffd9a3; border-color: rgba(255, 181, 71, 0.45); }
.pill[data-tom="alerta"] i { background: var(--warn); }
@keyframes pulso { 70% { box-shadow: 0 0 0 8px rgba(35, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 224, 138, 0); } }

/* ---------- Palco: quem está na vez ---------- */

main { padding-top: 22px; padding-bottom: 40px; }
section[id] { scroll-margin-top: 84px; }

.palco {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(25, 210, 127, 0.22), transparent 60%),
    radial-gradient(60% 120% at 100% 100%, rgba(226, 187, 87, 0.14), transparent 60%),
    linear-gradient(135deg, #0c2a1f, #08130f 60%, #0b1210);
  box-shadow: var(--sombra);
  isolation: isolate;
}
.palco::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 60px, transparent 60px 120px);
}
.palco-campo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 2; }
.palco-grade { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 32px 18px; }
.palco-info { min-width: 0; }
.palco h2 {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  overflow-wrap: anywhere;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}
.palco-sub { margin: 10px 0 0; font-size: 17px; color: #c6d6cf; }
.palco-sub strong { color: var(--ink); }
#btn-por-outro { margin-top: 14px; }
.tag-vez {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--live);
  color: #022414;
  letter-spacing: 0.12em;
}
.tag-vez::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pisca 1s steps(2) infinite; }
@keyframes pisca { 50% { opacity: 0.2; } }

.relogio-box { position: relative; width: 150px; height: 150px; flex: none; display: grid; place-items: center; }
.relogio-anel { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.anel-fundo { fill: rgba(0, 0, 0, 0.35); stroke: rgba(255, 255, 255, 0.08); stroke-width: 8; }
.anel { fill: none; stroke: var(--gold); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s linear, stroke 0.3s; filter: drop-shadow(0 0 6px rgba(226, 187, 87, 0.6)); }
.relogio-txt { position: relative; text-align: center; }
.relogio { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.relogio-box.urgente .anel { stroke: var(--danger); filter: drop-shadow(0 0 8px rgba(255, 107, 94, 0.8)); }
.relogio-box.urgente .relogio { color: #ffb3aa; animation: pisca 0.5s steps(2) infinite; }
.relogio-box.estourado .anel { stroke: var(--danger); }
.relogio-box.estourado .relogio { color: var(--danger); }

.palco-rodape { padding: 0 32px 22px; }
.proximos-box { display: flex; align-items: center; gap: 14px; min-width: 0; }
.proximos { display: flex; gap: 8px; margin: 0; padding: 4px 0; list-style: none; overflow-x: auto; scrollbar-width: none; min-width: 0; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.proximos::-webkit-scrollbar { display: none; }
.proximos li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  font-size: 13px;
  white-space: nowrap;
}
.proximos li b { color: var(--gold-2); font-weight: 700; }
.proximos li em { font-style: normal; color: var(--muted); }
.progresso { margin-top: 16px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progresso i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pitch-2), var(--gold)); border-radius: inherit; transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* Sua vez: borda dourada animada */
.palco.minha-vez { border-color: transparent; }
.palco.minha-vez::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--giro, 0deg), var(--gold-2), var(--gold-3), var(--live), var(--gold-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: girar 3s linear infinite;
  pointer-events: none;
}
.palco.minha-vez .palco-grade { background: radial-gradient(60% 100% at 20% 0%, rgba(226, 187, 87, 0.18), transparent 70%); }
.palco.minha-vez h2 { color: var(--gold-2); }
@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes girar { to { --giro: 360deg; } }

/* ---------- Mercado: painel de escolha ---------- */

.mercado {
  margin-top: 22px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(226, 187, 87, 0.35);
  background: linear-gradient(180deg, rgba(226, 187, 87, 0.08), rgba(255, 255, 255, 0.02) 140px), var(--surface-solid);
  box-shadow: var(--sombra), 0 0 0 6px rgba(226, 187, 87, 0.05);
  animation: subir 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes subir { from { opacity: 0; transform: translateY(14px); } }
.mercado-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mercado-topo h3 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; }
.contagem { font-size: 13px; color: var(--muted); white-space: nowrap; }
.contagem b { color: var(--ink); }

.filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.busca-box { position: relative; flex: 1 1 260px; }
.busca-box svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.busca-box input { padding: 12px 14px 12px 42px; border-radius: 999px; font-size: 16px; background: rgba(0, 0, 0, 0.45); }
.sel { flex: 0 1 180px; }
.sel select { border-radius: 999px; padding-top: 11px; padding-bottom: 11px; font-weight: 600; font-size: 14px; }
.segmentos { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.35); }
.segmentos button { border: 0; background: transparent; padding: 8px 13px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.segmentos button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.segmentos button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.chip img { width: 18px; height: 18px; object-fit: contain; }
.chip[aria-pressed="true"] { color: var(--gold-2); border-color: var(--gold); background: rgba(226, 187, 87, 0.12); }

.opcoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 14px 10px; }
.opcoes.de-times { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.opcoes.de-texto { display: flex; flex-wrap: wrap; gap: 8px; }
.mais { display: flex; justify-content: center; margin-top: 16px; }
.mais:has([hidden]) { display: none; }
.vazio { color: var(--muted); margin: 0; padding: 22px 4px; grid-column: 1 / -1; text-align: center; }

.opcao {
  position: relative;
  border: 0;
  padding: 4px;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.15s, box-shadow 0.15s;
}
.opcao:hover:not(:disabled) { transform: translateY(-4px); background: rgba(255, 255, 255, 0.05); }
.opcao[aria-pressed="true"] { background: rgba(226, 187, 87, 0.16); box-shadow: 0 0 0 2px var(--gold), 0 14px 30px -12px rgba(226, 187, 87, 0.7); transform: translateY(-4px); }
.opcao:disabled { cursor: not-allowed; }
.opcao:disabled .fut, .opcao:disabled .clube-tile-in { filter: grayscale(1) brightness(0.45); }
.tomado {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 2;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 107, 94, 0.92);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  max-width: 96%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.opcao-texto { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; }
.opcao-texto[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); box-shadow: none; }

/* ---------- Card FUT ---------- */

.fut {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 204 / 240;
  background: var(--fundo) center / contain no-repeat;
  color: var(--cor, #3b2a12);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
  user-select: none;
}
.fut-ovr, .fut-pos { position: absolute; left: 16%; width: 21%; text-align: center; font-family: var(--font-display); }
.fut-ovr { top: 16%; font-weight: 800; font-size: 21cqw; line-height: 0.85; }
.fut-pos { top: 35.5%; font-weight: 700; font-size: 9.5cqw; line-height: 1; letter-spacing: 0.02em; }
.fut-foto { position: absolute; right: 14%; top: 8%; width: 56%; aspect-ratio: 1; object-fit: contain; }
.fut-nome {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 63%;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11cqw;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fut-selos { position: absolute; left: 0; right: 0; top: 77%; display: flex; justify-content: center; align-items: center; gap: 4cqw; }
.fut-selos img { width: 10.5cqw; height: 10.5cqw; object-fit: contain; }
.fut-sem-foto { position: absolute; right: 18%; top: 12%; width: 48%; aspect-ratio: 1; border-radius: 50%; background: rgba(0, 0, 0, 0.12); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 16cqw; }

/* Arte inteira do card (FIFPlay, 644×900): overall, posição e selos na coluna da esquerda,
   nome e atributos embaixo, como no FUT 23 */
.fut.cheio { aspect-ratio: 644 / 900; }
.fut.cheio .fut-ovr { left: 13%; width: 24%; top: 17%; font-size: 17cqw; }
.fut.cheio .fut-pos { left: 13%; width: 24%; top: 31%; font-size: 7.6cqw; }
.fut.cheio .fut-foto { right: 9%; top: 11%; width: 64%; }
.fut.cheio .fut-sem-foto { right: 14%; top: 15%; width: 50%; }
.fut.cheio .fut-nome { top: 56%; left: 10%; right: 10%; font-size: 9.6cqw; }
.fut.cheio .fut-selos { left: 13%; right: auto; width: 24%; top: 38%; flex-direction: column; gap: 2.5cqw; }
.fut.cheio .fut-selos img { width: 10cqw; height: 7.5cqw; }
.fut-mini-stats {
  position: absolute;
  left: 16%;
  right: 14%;
  top: 67%;
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 8cqw;
  row-gap: 0.6cqw;
  font-family: var(--font-display);
  font-size: 7cqw;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.fut-mini-stats b { font-weight: 800; }

/* Card grande da revelação */
.fut.grande { width: min(280px, 62vw); }
.fut-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 18px; }
.fut-stats div { padding: 8px 4px 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); text-align: center; }
.fut-stats b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1; }
.fut-stats span { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.fut-stats .alta b { color: var(--live); }
.fut-stats .media b { color: var(--gold-2); }
.fut-stats .baixa b { color: #ff9a8f; }

/* Card de clube */
.clube-tile { padding: 0; width: 100%; }
.clube-tile-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  min-height: 74px;
}
.clube-tile-in::after { content: ""; position: absolute; right: -28px; top: -28px; width: 120px; height: 120px; background: var(--escudo) center / contain no-repeat; opacity: 0.06; filter: blur(1px); pointer-events: none; }
.clube-tile .escudo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.clube-tile-txt { min-width: 0; flex: 1; }
.clube-tile-txt strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-weight: 700; font-size: 15px; line-height: 1.2; overflow: hidden; }
.clube-tile-txt small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clube-tile-txt small img { width: 14px; height: 14px; object-fit: contain; }
.forca { flex: none; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 0.9; color: var(--gold-2); }
.forca small { display: block; font-size: 9px; letter-spacing: 0.14em; color: var(--muted); font-family: var(--font-body); font-weight: 700; }

/* Barra de confirmação, sempre visível no fim do painel */
.confirmar {
  position: sticky;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 10px 10px 10px 14px;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: rgba(8, 16, 14, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8);
}
.selecionado { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--muted); }
.selecionado .fut { width: 54px; flex: none; }
.selecionado .escudo { width: 44px; height: 44px; object-fit: contain; flex: none; }
.sel-txt { min-width: 0; }
.sel-txt strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sel-txt small { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.confirmar-botoes { display: flex; gap: 8px; flex: none; }
#btn-confirmar { min-height: 50px; padding: 10px 26px; }

/* ---------- Quadro dos times ---------- */

.grade { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; margin-top: 26px; align-items: start; }
.secao-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.secao-topo h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; }

.quadro { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; align-items: start; }
.time-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.time-card.ativo { border-color: rgba(226, 187, 87, 0.55); box-shadow: 0 0 0 1px rgba(226, 187, 87, 0.25), 0 18px 40px -20px rgba(226, 187, 87, 0.5); }
.time-topo { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px; border-bottom: 1px solid var(--line); }
.time-topo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--escudo, none) right -24px center / 120px no-repeat; opacity: 0.1; }
.time-topo .escudo, .escudo-vazio { width: 42px; height: 42px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.escudo-vazio { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.2; stroke-dasharray: 3 3; }
.time-nome { min-width: 0; flex: 1; }
.time-nome h4 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1.05; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.time-nome h4.sem-nome { color: var(--faint); }
.time-dono { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; font-size: 13px; font-weight: 700; }
.time-dono .badge.mini { width: 20px; height: 20px; font-size: 8px; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.5); }
.time-dono em { font-style: normal; color: var(--gold-2); font-weight: 600; }
.time-card.meu:not(.ativo) { border-color: rgba(255, 255, 255, 0.2); }
.time-nome small { color: var(--muted); font-size: 12px; }
.time-media { flex: none; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 0.9; color: var(--gold-2); }
.time-media small { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: 0.14em; color: var(--muted); }

.vagas { margin: 0; padding: 6px; list-style: none; }
.vaga { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; }
.vaga + .vaga { margin-top: 2px; }
.vaga-thumb { width: 44px; flex: none; display: grid; place-items: center; }
.rosto {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--fundo) center 30% / 160% no-repeat, #1b2a25;
  box-shadow: 0 0 0 2px rgba(226, 187, 87, 0.55), 0 4px 10px rgba(0, 0, 0, 0.5);
}
.rosto-foto { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; }
.rosto b {
  position: absolute;
  right: -6px;
  bottom: -4px;
  min-width: 22px;
  padding: 1px 4px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.time-topo.atual { background: rgba(35, 224, 138, 0.08); box-shadow: inset 0 -2px 0 var(--live); }
.time-topo.atual h4 { color: #b9ffd9; }
.vaga-thumb .escudo { width: 34px; height: 34px; margin: 0 auto; object-fit: contain; }
.vaga-ph { width: 40px; height: 47px; border-radius: 8px; border: 1px dashed rgba(255, 255, 255, 0.16); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--faint); }
.vaga-txt { min-width: 0; flex: 1; }
.vaga-rotulo { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.vaga-valor { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vaga-valor small { font-weight: 600; color: var(--muted); font-size: 12px; }
.vaga.vazia .vaga-valor { color: var(--faint); font-weight: 500; }
.vaga.atual { background: rgba(35, 224, 138, 0.08); box-shadow: inset 0 0 0 1px rgba(35, 224, 138, 0.35); }
.vaga.atual .vaga-valor { color: #b9ffd9; }
.vaga.atual .vaga-ph { border-color: var(--live); color: var(--live); animation: pisca 1.2s steps(2) infinite; }
.vaga.nova { animation: brilho 1.6s ease-out; }
@keyframes brilho { 0% { background: rgba(226, 187, 87, 0.5); } 100% { background: transparent; } }
.vaga-quem { flex: none; }

/* ---------- Avatares ---------- */

.badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--cor) 80%, #fff), var(--cor));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.4);
  position: relative;
}
.badge.mini { width: 26px; height: 26px; font-size: 10px; }
/* O escudo fica preso à caixa do selo, mesmo que alguma regra de fora mexa no tamanho do span. */
.badge.escudo { background: transparent; box-shadow: none; flex: none; }
.badge.escudo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.badge.online::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 2px var(--bg); }

/* ---------- Lateral ---------- */

.lateral { display: grid; gap: 18px; position: sticky; top: 86px; }
.painel-lateral { padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.painel-lateral .secao-topo h3 { font-size: 19px; }
.participantes, .historico { margin: 0; padding: 0; list-style: none; }
.participantes li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; }
.participantes li + li { border-top: 1px solid var(--line); }
.part-n { width: 22px; font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 15px; }
.part-nome { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.part-nome em { font-style: normal; color: var(--gold-2); font-size: 12px; }
.participantes small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.participantes li.na-vez { background: rgba(35, 224, 138, 0.08); border-radius: 10px; }
.participantes li.na-vez small { color: var(--live); font-weight: 700; }

.historico { max-height: 520px; overflow-y: auto; margin-right: -8px; padding-right: 8px; scrollbar-width: thin; }
.historico li { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.historico li + li { border-top: 1px solid var(--line); }
.hist-n { width: 28px; flex: none; font-family: var(--font-display); font-weight: 700; color: var(--muted); }
.hist-thumb { width: 44px; flex: none; display: grid; place-items: center; }
.hist-thumb .rosto { width: 36px; height: 36px; }
.hist-thumb .escudo { width: 30px; height: 30px; object-fit: contain; margin: 0 auto; }
.hist-txt { min-width: 0; flex: 1; }
.hist-txt strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-txt small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.historico .vazio { padding: 10px 0; text-align: left; font-size: 13px; }


/* ---------- Revelação em tela cheia ---------- */

.revelacao {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(60% 60% at 50% 45%, rgba(30, 24, 6, 0.85), rgba(2, 4, 4, 0.96));
  backdrop-filter: blur(6px);
  cursor: pointer;
  overflow: hidden;
  animation: aparecer 0.3s ease-out;
}
.revelacao.saindo { animation: sumir 0.35s ease-in forwards; }
@keyframes aparecer { from { opacity: 0; } }
@keyframes sumir { to { opacity: 0; } }
.rev-raios {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 180vmax;
  height: 180vmax;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(248, 223, 146, 0.12) 0deg 6deg, transparent 6deg 18deg);
  mask-image: radial-gradient(circle, #000 0%, transparent 45%);
  animation: raios 14s linear infinite;
}
@keyframes raios { to { rotate: 360deg; } }
.rev-conteudo { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 560px; width: 100%; }
.rev-quem { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 700; color: #e8dcc0; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; animation: entrar 0.5s 0.05s both; }
.rev-palco { position: relative; animation: carta 0.9s 0.15s cubic-bezier(0.18, 1.3, 0.4, 1) both; }
.rev-palco::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(circle, rgba(248, 223, 146, 0.55), transparent 62%); animation: aura 2.2s ease-in-out infinite alternate; }
.rev-palco .escudo { width: min(200px, 50vw); height: min(200px, 50vw); object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7)); }
.rev-conteudo h2 { margin: 18px 0 2px; font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(36px, 8vw, 64px); line-height: 0.95; color: #fff; text-shadow: 0 6px 30px rgba(226, 187, 87, 0.5); animation: entrar 0.6s 0.55s both; }
.rev-det { margin: 6px 0 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; color: #d4cbb4; font-weight: 600; animation: entrar 0.6s 0.7s both; }
.rev-det span { display: inline-flex; align-items: center; gap: 6px; }
.rev-det img { width: 20px; height: 20px; object-fit: contain; }
.rev-conteudo .fut-stats { width: min(440px, 100%); animation: entrar 0.6s 0.85s both; }
.rev-pular { position: absolute; bottom: max(18px, env(safe-area-inset-bottom, 0px)); left: 0; right: 0; margin: 0; text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
@keyframes carta { from { opacity: 0; transform: translateY(40px) scale(0.4) rotateY(140deg); } }
@keyframes entrar { from { opacity: 0; transform: translateY(14px); } }
@keyframes aura { from { opacity: 0.6; transform: scale(0.95); } to { opacity: 1; transform: scale(1.08); } }

/* Confete no fim do draft */
.confete { position: fixed; top: -20px; z-index: 70; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; animation: cair linear forwards; }
@keyframes cair { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); } }

/* ---------- Diálogos ---------- */

.dlg {
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(180deg, #11201c, #0a1210);
  color: var(--ink);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
}
.dlg[open] { animation: subir 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.dlg-largo { width: min(860px, calc(100vw - 24px)); }
.dlg::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
.dlg-topo { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #10201b; }
.dlg-topo h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: 0.03em; }
.fechar { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); font-size: 22px; line-height: 1; }
.fechar:hover { background: var(--surface-2); }
.dlg-corpo { padding: 20px; }
.dica { margin: 0 0 14px; color: var(--muted); }
.lista-eu { display: grid; gap: 8px; margin-bottom: 14px; }
.eu-opcao { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: left; font-weight: 700; font-size: 16px; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.eu-opcao:hover { background: var(--surface-2); border-color: var(--line-2); transform: translateX(3px); }
.eu-opcao.ativo { border-color: var(--gold); background: rgba(226, 187, 87, 0.1); }
.eu-opcao > span:not(.badge) { flex: 1; }
.eu-opcao small { color: var(--live); font-weight: 600; font-size: 12px; }

.form-pin label { display: block; font-weight: 700; margin-bottom: 8px; }
.linha { display: flex; gap: 8px; }
.msg-erro { color: var(--danger); margin: 8px 0 0; }
.controles { display: flex; flex-wrap: wrap; gap: 8px; }
.painel-msg { margin: 10px 0 0; min-height: 1.5em; color: var(--live); font-size: 14px; }
.painel-msg[data-tom="erro"] { color: var(--danger); }
.aviso-travado { margin: 6px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 181, 71, 0.1); border: 1px solid rgba(255, 181, 71, 0.3); color: #ffdca8; font-size: 14px; }
.form-config { margin-top: 16px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campo label, .campo .rotulo, .campo legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; }
.campo small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.campo-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.campo-largo { grid-column: 1 / -1; }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 600 !important; cursor: pointer; }
.check input, .fonte-opcao input { accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.fonte { border: 0; margin: 0; padding: 0; min-width: 0; }
.fonte-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fonte-opcao { display: flex !important; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 400 !important; margin: 0 0 8px; }
.fonte-opcao:has(input:checked) { border-color: var(--gold); background: rgba(226, 187, 87, 0.08); }
.fonte-opcao:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.fonte-opcao strong { display: block; font-size: 15px; }
.fonte-opcao small { margin-top: 2px; }
.posicao-linha { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.posicao-n { width: 22px; flex: none; text-align: center; font-family: var(--font-display); font-weight: 700; color: var(--muted); }
.posicao-linha input { flex: 1.2; }
.posicao-linha select { flex: 1; }
.rodape-form { position: sticky; bottom: -20px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 20px -20px -20px; padding: 14px 20px; border-top: 1px solid var(--line); background: #0b1512; }
.cfg-msg { font-size: 14px; color: var(--muted); }
.cfg-msg[data-tom="erro"] { color: var(--danger); }

/* ---------- Avisos ---------- */

.aviso {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 80;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(14, 26, 22, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  font-weight: 600;
  text-align: center;
  animation: toast 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.aviso[data-tom="vez"] { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); border: 0; }
.aviso[data-tom="erro"] { border-color: rgba(255, 107, 94, 0.6); color: #ffd3ce; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- Telas menores ---------- */

@media (max-width: 1080px) {
  .grade { grid-template-columns: 1fr; }
  .lateral { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 14px; }
  .so-largo { display: none; }
  .topo-in { gap: 10px; min-height: 58px; }
  .marca-txt small, .topo .pill { display: none; }
  .marca-txt strong { font-size: 19px; }
  .escudo-logo { width: 38px; height: 38px; }
  main { padding-top: 14px; }
  .palco { border-radius: 20px; }
  .palco-grade { padding: 22px 18px 12px; gap: 14px; align-items: flex-start; }
  .palco-sub { font-size: 15px; }
  .palco-rodape { padding: 0 18px 18px; }
  .relogio-box { width: 92px; height: 92px; }
  .relogio { font-size: 28px; }
  .relogio-txt .mini-rotulo { font-size: 9px; letter-spacing: 0.08em; }
  .proximos-box > .mini-rotulo { display: none; }
  .mercado { padding: 16px 12px; border-radius: 20px; margin-left: -4px; margin-right: -4px; }
  .mercado-topo { flex-direction: column; align-items: flex-start; }
  .mercado-topo h3 { font-size: 26px; }
  .filtros { gap: 8px; }
  .busca-box { flex-basis: 100%; }
  .segmentos { width: 100%; justify-content: space-between; }
  .segmentos button { flex: 1; padding: 8px 6px; }
  .sel { flex: 1 1 40%; }
  .opcoes { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 10px 6px; }
  .opcoes.de-times { grid-template-columns: 1fr; }
  .confirmar { flex-wrap: wrap; padding: 10px; border-radius: 16px; }
  .confirmar-botoes { width: 100%; }
  .confirmar-botoes .btn { flex: 1; }
  .lateral { grid-template-columns: 1fr; }
  .quadro { grid-template-columns: 1fr; }
  .campos, .campo-linha { grid-template-columns: 1fr; }
  .fut-stats { gap: 4px; }
  .fut-stats b { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rev-raios { display: none; }
}

/* ---------- Elenco de cada participante ---------- */

.elenco { border-top: 1px solid var(--line); }
.elenco summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.elenco summary::-webkit-details-marker { display: none; }
.elenco summary::before { content: "▸"; color: var(--gold); transition: transform 0.2s; }
.elenco[open] summary::before { transform: rotate(90deg); }
.elenco summary:hover { color: var(--ink); }
.elenco summary b { color: var(--ink); }
.perdeu-tag { padding: 2px 8px; border-radius: 999px; background: rgba(255, 107, 94, 0.14); color: #ffb3aa; font-size: 11px; }
.elenco-media { margin-left: auto; font-weight: 600; }
.elenco-media b { color: var(--gold-2); font-family: var(--font-display); font-size: 16px; }
.perdeu { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; padding: 0 14px 10px; }
.perdido { padding: 3px 9px; border-radius: 8px; background: rgba(255, 107, 94, 0.1); border: 1px solid rgba(255, 107, 94, 0.3); font-size: 12px; font-weight: 600; text-decoration: line-through; text-decoration-color: rgba(255, 107, 94, 0.7); }
.perdido small { text-decoration: none; display: inline-block; color: #ffb3aa; font-weight: 500; }
.elenco-lista { margin: 0; padding: 0 8px 10px; list-style: none; max-height: 420px; overflow-y: auto; scrollbar-width: thin; }
.elenco-grupo > .mini-rotulo { display: block; padding: 8px 6px 4px; color: var(--gold-2); }
.elenco-grupo ul { margin: 0; padding: 0; list-style: none; }
.elenco-grupo li { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 8px; }
.elenco-grupo li.escolhido { background: rgba(226, 187, 87, 0.1); }
.elenco-grupo .rosto { width: 30px; height: 30px; }
.elenco-grupo .rosto b { font-size: 11px; min-width: 19px; right: -7px; bottom: -5px; }
.elenco-nome { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elenco-nome em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold); padding: 1px 5px; border-radius: 4px; margin-left: 4px; }
.elenco-pos { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--muted); }
