/* Batalha dos Influs · sistema de figurinha retrô: céu com nuvem, papel creme,
   contorno azul-marinho com sombra dura. Referência pedida pelo Caiote em 08/10/2026:
   charactersschool.com/br. Vermelho é o lado do Lula (PT), azul o do Flávio (PL),
   que é a cor do partido. */
:root {
  color-scheme: only light;
  --sky-top: #bfe8ff;
  --sky-mid: #dff4ff;
  --sky-low: #f4fbff;
  --paper: #fffaf0;
  --cream: #fff3d6;
  --cream-2: #fbe9bd;
  --butter: #eacd78;
  --butter-2: #f5dc8f;
  --navy: #0e1b45;
  --navy-2: #1d2b5e;
  --ink: #18213f;
  --muted: #56607f;
  --teal: #108a86;
  --esq: #e63b2e;
  --esq-d: #b3241a;
  --esq-l: #ff9a8c;
  --dir: #2f6fe0;
  --dir-d: #1c4aa8;
  --dir-l: #9cc2ff;
  --line: rgba(14, 27, 69, .14);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --stroke: 3px;
  --pop: 0 6px 0 var(--navy);
  --pop-lg: 0 10px 0 var(--navy);

  --f-display: "Fraunces", "Cooper Black", Georgia, serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-pixel: "VT323", ui-monospace, monospace;
  --f-type: "Special Elite", "Courier New", monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--esq); color: #fff; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipo ---------- */
.display {
  font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-weight: 900; letter-spacing: -.02em; line-height: .98; margin: 0; color: var(--navy);
}
.h1 { font-size: clamp(44px, 9.6vw, 128px); }
.h2 { font-size: clamp(36px, 5.4vw, 68px); }
.h2 em, .h1 em { font-style: italic; }
.ink-esq { color: var(--esq); }
.ink-dir { color: var(--dir); }
.outline {
  color: var(--esq);
  text-shadow: 3px 3px 0 var(--navy), -1.5px -1.5px 0 var(--navy), 1.5px -1.5px 0 var(--navy),
    -1.5px 1.5px 0 var(--navy), 0 3px 0 var(--navy), 3px 0 0 var(--navy), 5px 6px 0 var(--navy);
}
.outline .az { color: var(--dir); }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 640px; margin: 0; }

.eyebrow {
  display: inline-flex; max-width: 100%; text-align: left; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px;
  padding: 8px 16px 8px 12px; box-shadow: 0 4px 0 var(--navy);
}
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: #ff3b30; position: relative; flex: none; }
.dot-live::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid #ff3b30; animation: ping 1.6s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: center; text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- botões ---------- */
.btn {
  --bg: var(--esq); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 32px; min-height: 60px;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
  font-weight: 900; font-size: clamp(19px, 1.8vw, 23px);
  color: var(--fg); background: var(--bg); text-decoration: none;
  border: var(--stroke) solid var(--navy); border-radius: 999px; box-shadow: var(--pop); cursor: pointer;
  transition: transform .18s var(--ease-spring), box-shadow .18s var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 8px 0 var(--navy); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--navy); }
.btn:focus-visible { outline: 3px solid var(--dir); outline-offset: 4px; }
.btn .arrow { display: inline-block; transition: transform .25s var(--ease-spring); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--cream { --bg: var(--cream); --fg: var(--navy); }
.btn--navy { --bg: var(--navy); --fg: var(--cream); box-shadow: 0 6px 0 var(--esq-d); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-shine { overflow: hidden; isolation: isolate; }
.btn-shine::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%);
  transform: translateX(-120%); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

.sticker { background: #fff; border: var(--stroke) solid var(--navy); border-radius: var(--r-md); box-shadow: var(--pop); }

/* ---------- barra de leitura + letreiro ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 90;
  background: linear-gradient(90deg, var(--esq), var(--butter), var(--dir));
  transform-origin: 0 50%; transform: scaleX(0);
}
.ticker { position: relative; z-index: 20; background: var(--navy); color: var(--cream); overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; padding: 11px 0; animation: marquee 40s linear infinite; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 18px; padding-right: 18px;
  font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
}
.ticker__item .star { color: var(--butter); }
.ticker__item .e { color: var(--esq-l); }
.ticker__item .d { color: var(--dir-l); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   TOPO
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 48%, var(--sky-low) 100%);
  padding: clamp(36px, 5vw, 64px) 0 clamp(170px, 18vw, 250px);
}
.hero__sun {
  position: absolute; z-index: -3; width: 46vmax; aspect-ratio: 1; left: 50%; top: 2%;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,.35) 38%, rgba(255,255,255,0) 66%);
}
.hero__rays {
  position: absolute; z-index: -3; inset: -40% -20% auto; height: 140%; opacity: .32;
  background: repeating-conic-gradient(from 0deg at 50% 38%, #fff 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 62%);
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 22px; position: relative; z-index: 2; }
.hero h1 .line { display: block; }
.hero .lead { color: var(--navy-2); }

/* placar */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(10px, 2vw, 24px); width: min(820px, 100%); margin-top: 8px; }
.lado {
  display: grid; justify-items: center; gap: 2px; padding: clamp(16px, 2.4vw, 26px) 12px clamp(14px, 2vw, 22px);
  border-radius: var(--r-lg); color: #fff; position: relative;
}
.lado--esq { background: var(--esq); transform: rotate(-2deg); }
.lado--dir { background: var(--dir); transform: rotate(2deg); }
.lado small { font-weight: 800; font-size: clamp(13px, 1.4vw, 16px); letter-spacing: .08em; text-transform: uppercase; }
.lado b {
  font-family: var(--f-display); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-weight: 900; font-size: clamp(62px, 10vw, 132px); line-height: .9; letter-spacing: -.03em;
  text-shadow: 4px 5px 0 var(--navy); font-variant-numeric: tabular-nums;
}
.lado span { font-family: var(--f-pixel); font-size: clamp(20px, 2vw, 26px); line-height: 1; }
.lado .lado__lider {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  background: var(--butter); color: var(--navy); border: 2px solid var(--navy); border-radius: 999px;
  font-family: var(--f-pixel); font-size: 20px; line-height: 1; padding: 5px 12px 3px; white-space: nowrap; box-shadow: 0 3px 0 var(--navy);
}
.vs {
  font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(30px, 4vw, 52px);
  color: var(--butter); text-shadow: 3px 3px 0 var(--navy), -1.5px -1.5px 0 var(--navy), 1.5px -1.5px 0 var(--navy), -1.5px 1.5px 0 var(--navy);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

/* cabo de guerra */
.cabo { position: relative; width: min(820px, 100%); margin-top: 10px; }
.cabo__barra {
  display: flex; height: 54px; border: var(--stroke) solid var(--navy); border-radius: 999px; overflow: hidden;
  box-shadow: var(--pop); background: #fff;
}
.cabo__esq, .cabo__dir {
  display: flex; align-items: center; padding: 0 18px; color: #fff; font-family: var(--f-pixel); font-size: 28px; line-height: 1;
  transition: width 1.4s var(--ease-out); width: 50%; min-width: 0; white-space: nowrap;
}
.cabo__esq { background: repeating-linear-gradient(-45deg, var(--esq), var(--esq) 14px, #ef5145 14px, #ef5145 28px); }
.cabo__dir { background: repeating-linear-gradient(-45deg, var(--dir), var(--dir) 14px, #4681ea 14px, #4681ea 28px); justify-content: flex-end; flex: 1; }
.cabo__no {
  position: absolute; top: 50%; width: 34px; height: 34px; margin: -20px 0 0 -17px; left: 50%;
  background: var(--butter); border: var(--stroke) solid var(--navy); border-radius: 50%;
  box-shadow: 0 3px 0 var(--navy); transition: left 1.4s var(--ease-out);
}
.cabo__no::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2px dashed var(--navy); }
.cabo__legenda { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--f-pixel); font-size: 20px; color: var(--navy-2); }

/* batalha das bases */
.bases { width: min(820px, 100%); padding: 18px clamp(14px, 3vw, 28px) 16px; display: grid; gap: 12px; background: rgba(255,255,255,.92); }
.bases__titulo { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1; color: var(--navy); font-variation-settings: "SOFT" 100, "WONK" 1; }
.bases__linha { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.bases__n { display: grid; justify-items: center; gap: 2px; }
.bases__n b { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 5vw, 60px); line-height: 1; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.bases__n--L b { color: var(--esq); }
.bases__n--F b { color: var(--dir); }
.bases__n small { font-family: var(--f-pixel); font-size: 18px; color: var(--muted); line-height: 1; }
.bases__x { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 28px; color: var(--navy); }
.cabo__barra--fino { height: 36px; box-shadow: 0 4px 0 var(--navy); }
.cabo__barra--fino .cabo__esq, .cabo__barra--fino .cabo__dir { font-size: 22px; padding: 0 12px; }
.bases__nota { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 2px solid var(--navy); border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--navy);
}

/* redes */
.redes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.redes__rotulo { font-family: var(--f-pixel); font-size: 20px; color: var(--navy-2); }
.rede {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; text-decoration: none;
  background: var(--navy); color: var(--cream); border: 2px solid var(--navy); border-radius: 999px;
  font-weight: 700; font-size: 14px; box-shadow: 0 3px 0 var(--esq-d); transition: transform .15s var(--ease-spring);
}
.rede:hover { transform: translateY(-2px) rotate(-1deg); }
.rede svg { width: 18px; height: 18px; flex: none; }
.rodape__redes { margin: 4px 0 18px !important; }
.rodape__redes a { font-family: var(--f-pixel); font-size: 24px; font-weight: 400; color: var(--butter) !important; }

/* nuvens */
.clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cloud { position: absolute; width: var(--w, 240px); opacity: var(--o, 1); }
.cloud svg { width: 100%; height: auto; overflow: visible; }
.drift { animation: drift var(--d, 70s) linear infinite; animation-delay: var(--delay, 0s); }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
.cloudbank { position: absolute; left: -2%; right: -2%; bottom: -2px; z-index: 3; height: clamp(110px, 14vw, 200px); pointer-events: none; }
.cloudbank svg { width: 100%; height: 100%; display: block; }

/* bolhas com as iniciais dos mais citados */
/* acima do texto (z 2): senão a caixa do texto, que ocupa a largura toda, engole o clique */
.bubbles { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.bubble {
  position: absolute; bottom: -120px; width: var(--s, 80px); aspect-ratio: 1; border-radius: 50%;
  pointer-events: auto; cursor: pointer; padding: 0; border: 0; background: none;
  animation: rise var(--t, 20s) linear forwards; -webkit-tap-highlight-color: transparent;
}
.bubble__inner {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  border: 4px solid var(--anel); background: #fff; color: var(--anel);
  font-family: var(--f-display); font-weight: 900; font-size: calc(var(--s, 80px) * .34);
  box-shadow: 0 0 0 3px #fff, 0 10px 24px -10px rgba(14, 27, 69, .5);
  animation: sway var(--sw, 4s) ease-in-out infinite alternate;
  transition: transform .25s var(--ease-spring);
}
.bubble--L { --anel: var(--esq); }
.bubble--F { --anel: var(--dir); }
.bubble__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bubble__tag {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) scale(.8); opacity: 0;
  background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: 12px; box-shadow: 0 4px 0 var(--anel);
  padding: 6px 12px; font-family: var(--f-body); font-size: 14px; font-weight: 600; white-space: nowrap; pointer-events: none;
  transition: opacity .15s, transform .2s var(--ease-spring);
}
.bubble__tag b { font-weight: 800; }
.bubble:hover, .bubble.ativa, .bubble:focus-visible { animation-play-state: paused; z-index: 5; }
.bubble:hover .bubble__inner, .bubble.ativa .bubble__inner, .bubble:focus-visible .bubble__inner { animation-play-state: paused; transform: scale(1.12); }
.bubble:hover .bubble__tag, .bubble.ativa .bubble__tag, .bubble:focus-visible .bubble__tag { opacity: 1; transform: translateX(-50%) scale(1); }
.bubble:focus-visible { outline: none; }
.bubble { touch-action: none; user-select: none; -webkit-user-select: none; }
.bubble.arrastando { cursor: grabbing; z-index: 6; }
.bubble.arrastando .bubble__inner { animation-play-state: paused; transform: scale(1.18); box-shadow: 0 0 0 3px #fff, 0 22px 30px -12px rgba(14, 27, 69, .55); }
.bubble.arrastando .bubble__tag { opacity: 1; transform: translateX(-50%) scale(1); }
.bubble__inner img { -webkit-user-drag: none; pointer-events: none; }
@keyframes rise-daqui { 0% { transform: translateY(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(var(--sobe-daqui, -600px)); opacity: 0; } }
.bubble:focus-visible .bubble__inner { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--navy); }
/* sobe a altura do topo e some antes de bater na borda */
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  78% { opacity: 1; }
  100% { transform: translateY(var(--sobe, -900px)); opacity: 0; }
}
@keyframes sway { from { transform: translateX(-12px) rotate(-5deg); } to { transform: translateX(12px) rotate(5deg); } }
.pop-hint {
  position: absolute; z-index: 4; right: clamp(10px, 6vw, 80px); bottom: clamp(130px, 15vw, 220px);
  font-family: var(--f-pixel); font-size: 22px; color: var(--navy); transform: rotate(-6deg);
  display: flex; align-items: center; gap: 6px; pointer-events: none;
}
.pop-hint svg { width: 46px; height: 46px; }

/* =========================================================
   SEÇÕES
   ========================================================= */
.sec { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.sec--paper { background: var(--paper); }
.sec--cream { background: var(--cream); border-block: 3px solid var(--navy); }
.sec--navy {
  background-color: var(--navy); color: var(--cream);
  background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.4px); background-size: 22px 22px;
}
.sec--navy .display { color: var(--cream); }
.sec--navy .lead { color: #b9c2e3; }
.sec--sky { background: linear-gradient(180deg, var(--sky-low), var(--sky-top)); border-top: 3px solid var(--navy); overflow: hidden; }

/* gráfico */
.panel { position: relative; border: var(--stroke) solid var(--navy); border-radius: var(--r-lg); box-shadow: var(--pop-lg); background: #fff; padding: clamp(18px, 3vw, 36px); }
.grafico { width: 100%; height: clamp(260px, 34vw, 400px); display: block; overflow: visible; }
.grafico text { font-family: var(--f-pixel); font-size: 18px; fill: var(--muted); }
.grafico .grade { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 6; }
.grafico .linha { fill: none; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.grafico .linha--L { stroke: var(--esq); }
.grafico .linha--F { stroke: var(--dir); }
.grafico .area--L { fill: var(--esq); opacity: .1; }
.grafico .area--F { fill: var(--dir); opacity: .1; }
.grafico .ponta { stroke: var(--navy); stroke-width: 3; }
.grafico .rotulo { font-family: var(--f-display); font-weight: 900; font-size: 26px; fill: var(--navy); }
.legenda { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 18px; font-weight: 700; font-size: 15px; color: var(--navy); }
.legenda i { display: inline-block; width: 26px; height: 8px; border-radius: 4px; vertical-align: middle; margin-right: 8px; border: 2px solid var(--navy); }

.totals { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(36px, 5vw, 60px); }
.total {
  display: grid; gap: 4px; justify-items: center; text-align: center; padding: 16px 22px; flex: 1 1 200px; max-width: 270px;
  background: #fff; border: var(--stroke) solid var(--navy); border-radius: var(--r-md); box-shadow: var(--pop);
}
.total b { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--navy); font-variation-settings: "SOFT" 100, "WONK" 1; }
.total b.ink-esq { color: var(--esq); }
.total b.ink-dir { color: var(--dir); }
.total span { font-weight: 700; font-size: 13px; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; }
.nota { text-align: center; color: var(--muted); font-size: 14px; margin: 18px auto 0; max-width: 640px; }

/* ranking */
.ranks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 36px); }
.rank { padding: clamp(18px, 2.6vw, 30px); }
.rank--L { background: #fff0ee; transform: rotate(-.6deg); }
.rank--F { background: #edf3ff; transform: rotate(.6deg); }
.rank h3 { margin: 0 0 16px; font-family: var(--f-display); font-weight: 900; font-size: clamp(24px, 2.6vw, 32px); line-height: 1; display: flex; align-items: center; gap: 10px; }
.rank--L h3 { color: var(--esq); }
.rank--F h3 { color: var(--dir); }
.rank ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rank li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 4px 10px; }
.rank .pos { font-family: var(--f-pixel); font-size: 24px; line-height: 1; color: var(--navy); }
.rank .quem { min-width: 0; display: grid; gap: 4px; }
.rank .quem strong { font-size: 16px; line-height: 1.2; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .quem a { color: var(--muted); font-size: 13px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .quem a:hover { color: var(--navy); text-decoration: underline; }
.rank .barra { height: 10px; border-radius: 6px; border: 2px solid var(--navy); transform-origin: 0 50%; }
.rank--L .barra { background: var(--esq); }
.rank--F .barra { background: var(--dir); }
.rank .vezes { font-family: var(--f-pixel); font-size: 22px; line-height: 1; color: var(--navy); }

/* em disputa: área de trabalho dos anos 90 */
.desktop {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: var(--stroke) solid var(--navy); box-shadow: var(--pop-lg);
  background-color: var(--teal);
  background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,.08) 0 18px, transparent 19px), radial-gradient(circle at 75% 75%, rgba(255,255,255,.08) 0 18px, transparent 19px);
  background-size: 120px 120px; padding: clamp(24px, 4vw, 48px) clamp(14px, 3vw, 40px) 64px;
  font-family: Tahoma, Verdana, "Segoe UI", sans-serif;
}
.desktop__headline {
  text-align: center; color: #fff; font-family: var(--f-display); font-weight: 900; line-height: .95; margin: 0 auto 28px; max-width: 14ch;
  font-size: clamp(34px, 5vw, 64px); text-shadow: 3px 3px 0 #064e4b; font-variation-settings: "SOFT" 100, "WONK" 1;
}
.desktop__headline small { display: block; font-family: var(--f-pixel); font-weight: 400; font-size: clamp(20px, 2.2vw, 26px); margin-top: 14px; text-shadow: none; color: #d8fff8; }
.wins { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.win {
  width: min(320px, 100%); background: #c0c0c0; color: #000;
  border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: 1px 1px 0 #000, 6px 8px 0 rgba(0,0,0,.22);
  font-size: 13px; transform: rotate(var(--rot, 0deg));
}
.win__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 4px 3px 6px; background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font-weight: 700; }
.win__bar .t { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__bar .t i { width: 14px; height: 14px; background: var(--butter); border: 1px solid #000; display: inline-block; flex: none; }
.win__ctrls { display: flex; gap: 2px; }
.win__ctrls span { width: 18px; height: 16px; display: grid; place-items: center; background: #c0c0c0; color: #000; border: 2px solid; border-color: #fff #404040 #404040 #fff; font: 700 11px/1 Tahoma, sans-serif; }
.win__body { display: flex; gap: 12px; padding: 16px 14px 10px; align-items: flex-start; }
.win__body .ic { flex: none; width: 34px; height: 34px; }
.win__body p { margin: 0; font-size: 14px; line-height: 1.4; }
.win__placar { display: flex; gap: 6px; margin-top: 8px; font-weight: 700; }
.win__placar .e { color: var(--esq-d); }
.win__placar .d { color: var(--dir-d); }
.win__btns { display: flex; justify-content: center; gap: 8px; padding: 4px 14px 14px; }
.win__btns a {
  min-width: 78px; padding: 5px 12px; background: #c0c0c0; color: #000; text-decoration: none; text-align: center;
  border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: 1px 1px 0 #000; font: 13px Tahoma, sans-serif;
}
.win__btns a:active { border-color: #404040 #fff #fff #404040; }
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 6px;
  background: #c0c0c0; border-top: 2px solid #fff; font: 13px Tahoma, sans-serif; color: #000;
}
.start { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-weight: 700; border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: 1px 1px 0 #000; }
.start i { width: 16px; height: 16px; display: inline-block; background: conic-gradient(var(--esq) 0 25%, #7fdcb5 0 50%, var(--dir) 0 75%, var(--butter) 0); }
.taskbar .tray { margin-left: auto; padding: 3px 10px; border: 2px solid; border-color: #808080 #fff #fff #808080; }

/* em cima do muro: dossiê */
.dossie {
  position: relative; width: min(720px, 100%); margin: 0 auto; background: #f6e7b8; color: #2b2410;
  border: var(--stroke) solid #000; border-radius: 6px 18px 18px 18px; box-shadow: 0 10px 0 #000;
  padding: clamp(26px, 4vw, 44px) clamp(18px, 4vw, 44px); font-family: var(--f-type);
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(120, 90, 20, .16) 33px 34px);
  transform: rotate(-.8deg);
}
.dossie__aba {
  position: absolute; top: -34px; left: 18px; background: #f6e7b8; border: var(--stroke) solid #000; border-bottom: 0;
  border-radius: 12px 12px 0 0; padding: 6px 16px 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.dossie__topo { font-size: 14px; margin: 0 0 18px; line-height: 1.6; }
.dossie ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dossie li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 2px dashed rgba(60, 40, 0, .25); }
.dossie .n { color: var(--esq-d); font-size: 13px; }
.dossie .nome { font-family: var(--f-display); font-weight: 900; font-size: clamp(19px, 2.2vw, 24px); color: #1a1408; line-height: 1.1; min-width: 0; }
.dossie .nome a { font-family: var(--f-type); font-weight: 400; font-size: 13px; color: #5b4a1e; margin-left: 8px; text-decoration: none; white-space: nowrap; }
.dossie .nome a:hover { text-decoration: underline; }
.dossie .pedidos { font-size: 13px; white-space: nowrap; }
.dossie .pedidos b { background: #000; color: #f6e7b8; padding: 1px 6px; font-weight: 400; }
.carimbo {
  position: absolute; right: clamp(10px, 4vw, 40px); bottom: clamp(18px, 3vw, 30px); transform: rotate(-9deg);
  font-family: var(--f-display); font-weight: 900; font-size: clamp(16px, 2vw, 22px); color: var(--esq-d);
  border: 3px solid var(--esq-d); border-radius: 8px; padding: 6px 12px; opacity: .85; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(246, 231, 184, .7);
}
.dossie__mais {
  display: block; margin: 22px auto 0; padding: 10px 20px; background: #000; color: #f6e7b8; border: 0; border-radius: 4px;
  font-family: var(--f-type); font-size: 15px; letter-spacing: .04em; cursor: pointer; box-shadow: 4px 4px 0 var(--esq-d);
  transition: transform .15s var(--ease-spring);
}
.dossie__mais:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--esq-d); }
.dossie__mais:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--esq-d); }
.dossie__pe { font-size: 13px; margin: 22px 0 0; color: #5b4a1e; max-width: 34ch; }

/* todos os influs */
.filtros { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; margin-bottom: 30px; }
.busca {
  width: min(560px, 100%); display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 60px;
  background: #fff; border: var(--stroke) solid var(--navy); border-radius: 999px; box-shadow: var(--pop);
}
.busca svg { width: 22px; height: 22px; flex: none; color: var(--navy); }
.busca input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 18px; font-weight: 600; color: var(--navy); }
.busca input::placeholder { color: var(--muted); font-weight: 500; }
.busca:focus-within { outline: 3px solid var(--dir); outline-offset: 3px; }
.abas { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.aba {
  padding: 8px 16px; border: 2px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy);
  font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 3px 0 var(--navy);
  transition: transform .15s var(--ease-spring);
}
.aba:hover { transform: translateY(-2px); }
.aba[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.aba[aria-pressed="true"][data-f="L"] { background: var(--esq); color: #fff; }
.aba[aria-pressed="true"][data-f="F"] { background: var(--dir); color: #fff; }
.aba small { font-family: var(--f-pixel); font-size: 18px; font-weight: 400; margin-left: 4px; }
.contagem { font-family: var(--f-pixel); font-size: 20px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.card {
  --rot: 0deg; position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0;
  border: var(--stroke) solid var(--navy); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--pop);
  transform: rotate(var(--rot)); transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-spring);
}
.card:nth-child(4n+1) { --rot: -1.4deg; }
.card:nth-child(4n+2) { --rot: 1deg; }
.card:nth-child(4n+3) { --rot: -.6deg; }
.card:nth-child(4n) { --rot: 1.6deg; }
.card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 12px 0 var(--navy); z-index: 2; }
.card__cara {
  position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden;
  font-family: var(--f-display); font-weight: 900; font-size: 58px; line-height: 1; color: #fff; text-shadow: 3px 4px 0 var(--navy);
  font-variation-settings: "SOFT" 100, "WONK" 1; border-bottom: var(--stroke) solid var(--navy);
}
.card--L .card__cara { background: radial-gradient(circle at 50% 35%, #ff6a5c, var(--esq) 70%); }
.card--F .card__cara { background: radial-gradient(circle at 50% 35%, #5b92f0, var(--dir) 70%); }
.card--D .card__cara { background: linear-gradient(90deg, var(--esq) 50%, var(--dir) 50%); }
.card--E .card__cara { background: radial-gradient(circle at 50% 35%, var(--butter-2), var(--butter) 70%); color: var(--cream); }
.card__cara .card__foto {
  position: absolute; left: 50%; top: 54%; width: 58%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; object-fit: cover; border: var(--stroke) solid var(--navy); box-shadow: 0 5px 0 var(--navy); background: #fff;
}
.card__seg { font-family: var(--f-pixel); font-size: 19px; line-height: 1; color: var(--navy); }
.card__seg b { font-family: var(--f-body); font-size: 14px; font-weight: 800; }
.rank .quem .seg { font-family: var(--f-pixel); font-size: 17px; color: var(--muted); }
.abas--ordem { align-items: center; }
.ordem__rotulo { font-family: var(--f-pixel); font-size: 20px; color: var(--muted); }
.bubble__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aviso-backup { background: var(--butter); color: var(--navy); text-align: center; font-weight: 700; font-size: 15px; padding: 10px 16px; border-bottom: 3px solid var(--navy); }
.card__vezes {
  position: absolute; left: 8px; top: 8px; font-family: var(--f-pixel); font-size: 18px; line-height: 1;
  background: var(--navy); color: var(--butter); padding: 4px 7px 3px; border-radius: 8px; text-shadow: none;
}
.card__lado {
  position: absolute; right: 8px; top: 8px; font-family: var(--f-body); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; padding: 3px 8px; text-shadow: none;
}
.card__info { display: grid; gap: 6px; align-content: start; padding: 12px 12px 14px; }
.card__nome { margin: 0; font-weight: 800; font-size: 16px; line-height: 1.2; color: var(--navy); overflow-wrap: anywhere; }
.card__arroba { font-size: 13px; font-weight: 600; color: var(--dir-d); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__arroba:hover { text-decoration: underline; }
.card__sem { font-size: 13px; color: var(--muted); }
.selo {
  justify-self: start; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800;
  border: 2px solid var(--navy); border-radius: 999px; padding: 2px 9px; text-decoration: none; color: var(--navy); background: #e6f8ef;
}
a.selo:hover { background: #c9f0dc; }
.selo--sem { background: #f1f1f1; color: var(--muted); border-color: #b8bccb; }
.card--vaga {
  background: repeating-linear-gradient(-45deg, #fff, #fff 12px, #fff6e2 12px, #fff6e2 24px);
  border-style: dashed; border-color: var(--esq); box-shadow: 0 6px 0 var(--esq-d);
  display: grid; place-items: center; text-align: center; padding: 18px; text-decoration: none; min-height: 250px; grid-template-rows: none;
}
.card--vaga:hover { box-shadow: 0 12px 0 var(--esq-d); }
.vaga { display: grid; gap: 10px; justify-items: center; }
.vaga__mais {
  width: 62px; height: 62px; border-radius: 50%; border: 3px dashed var(--esq); display: grid; place-items: center;
  font-size: 38px; font-weight: 900; color: var(--esq); animation: pulse 1.8s ease-in-out infinite;
}
.vaga strong { font-family: var(--f-display); font-weight: 900; font-size: 28px; line-height: .95; color: var(--esq); font-variation-settings: "SOFT" 100, "WONK" 1; }
.vaga small { font-weight: 700; color: var(--navy); font-size: 14px; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.mais { display: flex; justify-content: center; margin-top: 36px; }
.vazio { grid-column: 1 / -1; text-align: center; font-family: var(--f-pixel); font-size: 24px; color: var(--muted); padding: 30px 0; }

/* formulário: caderno */
.caderno {
  position: relative; width: min(680px, 100%); margin: 0 auto; background: #fff;
  border: var(--stroke) solid var(--navy); border-radius: var(--r-lg); box-shadow: var(--pop-lg);
  padding: clamp(26px, 4vw, 44px) clamp(18px, 4vw, 44px) clamp(26px, 4vw, 40px) clamp(40px, 6vw, 70px);
  background-image: linear-gradient(90deg, transparent calc(clamp(24px, 4vw, 48px)), rgba(230, 59, 46, .35) calc(clamp(24px, 4vw, 48px)), rgba(230, 59, 46, .35) calc(clamp(24px, 4vw, 48px) + 2px), transparent calc(clamp(24px, 4vw, 48px) + 2px)),
    repeating-linear-gradient(180deg, transparent 0 35px, rgba(47, 111, 224, .14) 35px 36px);
}
.caderno form { display: grid; gap: 22px; }
.campo { display: grid; gap: 8px; }
.campo > span, .campo legend { font-weight: 800; font-size: 15px; color: var(--navy); letter-spacing: .02em; padding: 0; }
.campo small { color: var(--muted); font-size: 13px; font-weight: 500; }
fieldset.campo { border: 0; margin: 0; padding: 0; min-width: 0; }
.entrada {
  width: 100%; height: 56px; padding: 0 16px; background: var(--paper); border: var(--stroke) solid var(--navy); border-radius: 14px;
  font-size: 17px; font-weight: 600; color: var(--navy); outline: 0;
}
.entrada:focus { box-shadow: 0 0 0 3px var(--dir-l); }
.arroba { position: relative; }
.arroba::before { content: "@"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); }
.arroba .entrada { padding-left: 36px; }
.dica { font-size: 14px; font-weight: 600; color: var(--navy-2); background: var(--cream); border: 2px dashed var(--butter); border-radius: 12px; padding: 8px 12px; }
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opcao { position: relative; }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao span {
  display: grid; place-items: center; text-align: center; min-height: 56px; padding: 10px 12px; border: var(--stroke) solid var(--navy); border-radius: 14px;
  background: #fff; color: var(--navy); font-weight: 800; font-size: 16px; line-height: 1.2; cursor: pointer; box-shadow: 0 4px 0 var(--navy);
  transition: transform .15s var(--ease-spring), background .15s;
}
.opcao span:hover { transform: translateY(-2px); }
.opcao input:checked + span { background: var(--navy); color: var(--cream); transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.opcao input:focus-visible + span { outline: 3px solid var(--dir); outline-offset: 3px; }
.opcoes--voto .opcao span { min-height: 92px; font-family: var(--f-display); font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); font-variation-settings: "SOFT" 100, "WONK" 1; }
.opcoes--voto .opcao--L input:checked + span { background: var(--esq); color: #fff; }
.opcoes--voto .opcao--F input:checked + span { background: var(--dir); color: #fff; }
.opcoes--voto .opcao span small { display: block; font-family: var(--f-pixel); font-weight: 400; font-size: 18px; color: inherit; opacity: .8; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.envio { display: grid; gap: 12px; justify-items: start; }
.aviso { margin: 0; font-size: 15px; font-weight: 600; border-radius: 12px; padding: 10px 14px; border: 2px solid var(--navy); }
.aviso--ok { background: #e6f8ef; }
.aviso--erro { background: #fff0ee; }
.aviso a { font-weight: 800; }
.caderno__pe { font-size: 14px; color: var(--muted); margin: 18px 0 0; }

/* rodapé */
.rodape { background: var(--navy); color: #c8cfe8; padding: 56px 0 40px; font-size: 15px; }
.rodape__grade { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 48px; align-items: start; }
.rodape p { margin: 0 0 12px; max-width: 60ch; }
.rodape a { color: var(--cream); font-weight: 700; }
.rodape__marca { font-family: var(--f-display); font-weight: 900; font-size: 28px; color: var(--cream); line-height: 1; margin: 0 0 12px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.rodape__assina { justify-self: end; text-align: right; }
.rodape__assina a { font-family: var(--f-pixel); font-size: 26px; font-weight: 400; text-decoration: none; color: var(--butter); }
.rodape__assina a:hover { text-decoration: underline; }
.rodape small { display: block; font-family: var(--f-pixel); font-size: 18px; color: #8f99c2; }

/* carregando */
.esqueleto { color: transparent !important; text-shadow: none !important; background: rgba(255,255,255,.35); border-radius: 12px; }

/* ---------- celular ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .versus { grid-template-columns: 1fr 1fr; }
  .vs { grid-column: 1 / -1; grid-row: 1; margin-bottom: -6px; }
  .bases__n small { font-size: 15px; text-align: center; }
  .lado .lado__lider { font-size: 17px; }
  .cabo__barra { height: 46px; }
  .cabo__esq, .cabo__dir { font-size: 22px; padding: 0 12px; }
  .ranks { grid-template-columns: 1fr; }
  .rodape__grade { grid-template-columns: 1fr; }
  .rodape__assina { justify-self: start; text-align: left; }
  .pop-hint { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .card__cara { font-size: 44px; }
  .card--vaga { min-height: 220px; }
  .opcoes { grid-template-columns: 1fr; }
  .opcoes--voto { grid-template-columns: 1fr 1fr; }
  .dossie li { grid-template-columns: auto 1fr; }
  .dossie .pedidos { grid-column: 2; }
  .carimbo { position: static; display: inline-block; margin-top: 18px; }
}
@media (max-width: 380px) {
  .cards { gap: 10px; }
  .card__info { padding: 10px 9px 12px; }
  .card__nome { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
