:root {
  --bg: #0b0b0d;
  --bg-2: #121216;
  --card: #17171c;
  --card-2: #1e1e25;
  --line: #2a2a33;
  --text: #f2f2f4;
  --muted: #9a9aa6;
  --red: #e10600;
  --red-2: #ff2d20;
  --gold: #f5b400;
  --green: #22c55e;
  --blue: #3b82f6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.display { font-family: var(--font-display); letter-spacing: .5px; font-weight: 400; }

/* ---------- Espaços de patrocínio ---------- */
.ad {
  position: relative;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 4px; text-align: center;
  border: 1.5px dashed #3a3a46;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 12px, transparent 12px 24px),
    var(--bg-2);
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s;
}
.ad:hover { border-color: var(--gold); color: var(--text); }
.ad .ad-tag {
  position: absolute; top: 8px; left: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold);
}
.ad .ad-size { font-size: 11px; opacity: .7; }
.ad strong { color: var(--text); font-size: 15px; }
.ad .ad-cta { font-size: 12px; color: var(--gold); font-weight: 600; }
.ad-leaderboard { min-height: 90px; margin: 12px 0; }
.ad-rect { min-height: 250px; }
.ad-skyscraper { min-height: 420px; }
.ad-inline { min-height: 100%; }
.ad.filled {
  border-style: solid; border-color: var(--line);
  background: linear-gradient(135deg, #1a1405, #2a1f04);
}
.ad.filled strong { color: var(--gold); font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; }

/* ---------- Header ---------- */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,13,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-text { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; line-height: 1; }
.logo-text span { color: var(--red-2); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 14px;
}
.nav-links a:hover { color: var(--text); background: var(--card); }
.nav-actions { margin-left: auto; display: flex; gap: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: #ffc629; }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: #444; background: var(--card); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 36px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(225,6,0,.22), transparent 70%),
    radial-gradient(500px 300px at 90% 80%, rgba(245,180,0,.10), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red-2); background: rgba(225,6,0,.1); border: 1px solid rgba(225,6,0,.3);
  padding: 6px 12px; border-radius: 999px;
}
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 8vw, 92px); line-height: .92; margin: 18px 0 16px; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--red-2); }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 540px; margin: 0 0 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; }
.stat span { color: var(--muted); font-size: 13px; }

.featured {
  position: relative; background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow);
}
.featured-label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 14px; gap: 8px; }
.featured-label .pill { color: var(--gold); border-color: rgba(245,180,0,.4); }
.presented {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12px; color: var(--muted);
}
.presented .mini-ad {
  border: 1px dashed #3a3a46; border-radius: 8px; padding: 6px 12px; color: var(--gold); font-weight: 600; cursor: pointer;
}

/* ---------- Faixa de modalidades ---------- */
.modal-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.modal-strip .wrap { display: flex; gap: 10px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.modal-strip .wrap::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted);
}
.chip:hover { color: var(--text); border-color: #444; }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- Seções ---------- */
section.block { padding: 48px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 1; margin: 0; letter-spacing: .5px; }
.sec-head p { margin: 6px 0 0; color: var(--muted); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
aside.side { display: flex; flex-direction: column; gap: 20px; }
.side-sticky { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; }

/* Filtros */
.filters {
  display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-size: 14px; outline: none; transition: border-color .2s;
}
.input:focus { border-color: var(--red); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: 14px; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button, .seg a { background: none; border: 0; padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--muted); cursor: pointer; font-weight: 600; }
.seg a.active, .seg button.active { background: var(--card-2); color: var(--text); }

/* Cards de atleta */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.athlete {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.athlete:hover { transform: translateY(-3px); border-color: #3a3a46; box-shadow: var(--shadow); }
/* Foto do atleta: vertical 1080 × 1920 (9:16) */
.athlete-top { position: relative; aspect-ratio: 9 / 16; overflow: hidden; display: flex; align-items: flex-end; }
.athlete-top::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, var(--card)); }
.athlete-top .portrait { position: absolute; inset: 0; border-radius: 0; transition: transform .4s; }
.athlete:hover .portrait { transform: scale(1.04); }
.athlete-top .athlete-title { position: relative; z-index: 2; padding: 0 14px 10px; }
.portrait {
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
  aspect-ratio: 9 / 16; border-radius: 12px;
  background-size: cover; background-position: center top;
  font-family: var(--font-display); color: rgba(255,255,255,.22); font-size: 96px; line-height: 1;
}
.music-btn {
  position: absolute; z-index: 3; right: 10px; bottom: 12px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(4px);
  transition: background .2s, color .2s, transform .2s;
}
.music-btn:hover { background: var(--gold); color: #111; transform: scale(1.08); }
.music-btn svg { width: 18px; height: 18px; }
.song {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; max-width: 100%;
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); border-radius: 999px;
  padding: 5px 14px 5px 5px; font-size: 13px;
}
.song .music-btn { position: static; width: 30px; height: 30px; flex-shrink: 0; }
.song .music-btn svg { width: 14px; height: 14px; }
.song small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.song span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-mod {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
}
.badge-new { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 6px; background: var(--green); color: #04130a; }
.score-ring {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: rgba(0,0,0,.6); border: 1px solid rgba(245,180,0,.45); color: var(--gold);
  border-radius: 8px; padding: 3px 8px; font-family: var(--font-display); font-size: 18px; line-height: 1.2;
}
.score-ring small { font-family: var(--font); font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--muted); margin-right: 4px; }
.athlete-body { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.athlete-name { font-weight: 700; font-size: 16px; line-height: 1.2; }
.athlete-nick { color: var(--red-2); font-size: 13px; font-weight: 600; }
.athlete-meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.athlete-meta span { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.record { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.record div { background: var(--bg-2); border-radius: 8px; text-align: center; padding: 6px 0; }
.record b { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1; }
.record small { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .8px; }
.record .w b { color: var(--green); }
.record .l b { color: var(--red-2); }

.avatar {
  background-position: center 15% !important;
  border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-display); color: #fff; position: relative; z-index: 1;
  border: 3px solid rgba(255,255,255,.12);
  background-size: cover; background-position: center;
}

.empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Ranking lateral */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.panel h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: .5px; display: flex; justify-content: space-between; align-items: center; }
.rank-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.rank-item:last-child { border-bottom: 0; }
.rank-pos { font-family: var(--font-display); font-size: 22px; width: 22px; color: var(--muted); }
.rank-item:first-child .rank-pos { color: var(--gold); }
.rank-item .avatar { width: 36px; height: 36px; font-size: 16px; border-width: 2px; }
.rank-info { flex: 1; min-width: 0; }
.rank-info b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-info span { font-size: 11px; color: var(--muted); }
.rank-score { font-family: var(--font-display); color: var(--gold); font-size: 20px; }

/* Patrocínio */
.sponsor-hero {
  background: radial-gradient(500px 240px at 85% 0%, rgba(245,180,0,.18), transparent 70%), var(--card);
  border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
}
.sponsor-hero h2 { font-family: var(--font-display); font-weight: 400; font-size: 52px; line-height: .95; margin: 10px 0 12px; }
.sponsor-hero h2 span { color: var(--gold); }
.sponsor-hero p { color: var(--muted); margin: 0 0 20px; }
.slot-map { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.slot-map div { border-radius: 6px; padding: 8px; display: flex; align-items: center; justify-content: center; text-align: center; }
.slot-map .s-content { background: #22222a; color: var(--muted); }
.slot-map .s-ad { background: rgba(245,180,0,.14); color: var(--gold); border: 1px dashed rgba(245,180,0,.5); }
.slot-row { display: grid; grid-template-columns: 1fr 1fr 1fr 90px; gap: 8px; }


.sponsor-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sponsor-logos .ad { min-height: 70px; border-radius: 10px; font-size: 12px; }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--red-2); }
.step h4 { margin: 6px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 30px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
footer h5 { color: var(--text); margin: 0 0 10px; font-size: 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
footer a:hover { color: var(--text); }

/* Perfil */
.profile-hero { position: relative; padding: 28px 26px 22px; border-radius: 20px 20px 0 0; display: flex; gap: 22px; align-items: center; overflow: hidden; }
.profile-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.65)); }
.profile-hero > * { position: relative; z-index: 1; }
.profile-hero .portrait { width: 135px; font-size: 64px; border: 2px solid rgba(255,255,255,.15); box-shadow: var(--shadow); }
.profile-hero .hero-info { min-width: 0; }
.profile-hero h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: .95; }
.profile-hero .nick { color: #ffd9d6; font-weight: 600; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.15); }
.profile-score { margin-left: auto; text-align: center; background: rgba(0,0,0,.45); border: 1px solid rgba(245,180,0,.5); border-radius: 14px; padding: 10px 16px; }
.profile-score b { display: block; font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--gold); }
.profile-score span { font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--muted); }
.profile-body { padding: 22px 26px 26px; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 22px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.kpi b { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; }
.kpi span { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .5px; }
.bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--card); margin: 4px 0 6px; }
.bar i { display: block; height: 100%; }
.bar-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.bar-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; background: var(--c); }
h5.sub { margin: 20px 0 10px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
table.fights { width: 100%; border-collapse: collapse; font-size: 13px; }
table.fights th { text-align: left; color: var(--muted); font-weight: 600; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; padding: 8px 6px; border-bottom: 1px solid var(--line); }
table.fights td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.res { display: inline-block; width: 26px; height: 26px; border-radius: 6px; text-align: center; line-height: 26px; font-weight: 800; font-size: 12px; }
.res.V { background: rgba(34,197,94,.15); color: var(--green); }
.res.D { background: rgba(225,6,0,.15); color: var(--red-2); }
.res.E { background: rgba(154,154,166,.15); color: var(--muted); }
.table-scroll { overflow-x: auto; }
.info-list { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.info-list div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.info-list span { color: var(--muted); }
.info-list b { text-align: right; font-weight: 600; }
.share-row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.athlete-sponsors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.athlete-sponsors .ad { min-height: 60px; font-size: 11px; border-radius: 10px; }

/* Formulários */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-sec { margin: 22px 0 12px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red-2); display: flex; align-items: center; gap: 10px; }
.form-sec::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.check-group { display: flex; flex-wrap: wrap; gap: 8px; }
.check-group label { cursor: pointer; }
.check-group input { position: absolute; opacity: 0; pointer-events: none; }
.check-group span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 600; color: var(--muted); }
.check-group input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.check-group input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.fight-row { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr 1fr .6fr 36px; gap: 8px; margin-bottom: 8px; }
.fight-row .input { padding: 8px 10px; font-size: 13px; }
.icon-btn { width: 36px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.icon-btn:hover { border-color: var(--red); color: var(--red-2); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.terms { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; max-width: 440px; }
.photo-drop { display: flex; align-items: center; gap: 14px; }
.photo-drop .portrait { width: 72px; font-size: 28px; background-color: var(--card-2); border: 1px dashed #3a3a46; color: var(--muted); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); opacity: 0; z-index: 200;
  background: var(--card-2); border: 1px solid var(--line); border-left: 4px solid var(--green);
  padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); font-size: 14px; font-weight: 600;
  transition: all .3s; pointer-events: none; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .sponsor-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: block; }
  header.top.menu-open .nav { flex-wrap: wrap; height: auto; padding: 12px 0; }
  header.top.menu-open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; margin: 0; }
  header.top.menu-open .nav-actions { display: flex; width: 100%; order: 4; margin: 0 0 6px; }
  header.top.menu-open .nav-actions .btn { flex: 1; }
  .hero-grid { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .side-sticky { position: static; }
  .ad-skyscraper { min-height: 120px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .field:first-child { grid-column: 1 / -1; }
  .sponsor-hero { grid-template-columns: 1fr; padding: 22px; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .profile-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sponsor-logos { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .fight-row { grid-template-columns: 1fr 1fr; }
  .fight-row .icon-btn { width: 100%; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .profile-hero { flex-wrap: wrap; padding: 26px 18px 18px; }
  .profile-hero .portrait { width: 100px; font-size: 48px; }
  .profile-hero h3 { font-size: 36px; }
  .profile-score { margin-left: 0; }
  .profile-body, .dlg-pad { padding: 18px; }
    .sec-head h2 { font-size: 36px; }
  .slot-row { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .athlete-top .portrait { font-size: 64px; }
  .athlete-top .athlete-title { padding: 0 10px 8px; }
  .athlete-top .music-btn { width: 32px; height: 32px; right: 8px; bottom: 8px; }
}

/* =========================================================
   Sistema (PHP): páginas, painel, editor, patrocínio, admin
   ========================================================= */
main { min-height: 50vh; }
.seg a { display: inline-block; }
.athlete-link { position: absolute; inset: 0; z-index: 4; border-radius: var(--radius); }
.athlete-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.athlete .music-btn { z-index: 5; }
a.ad { text-decoration: none; }
.ranking-naming { margin-top: 10px; font-size: 11px; color: var(--muted); text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.mini-ad { border: 1px dashed #3a3a46; border-radius: 8px; padding: 6px 12px; color: var(--gold); font-weight: 600; font-size: 12px; }
.mini-ad:hover { border-color: var(--gold); }

/* Banners de patrocinadores (imagens) */
.banner { display: block; border-radius: var(--radius); overflow: hidden; line-height: 0; }
.banner img { width: 100%; height: auto; display: block; }
.banner-topo { max-width: 970px; margin: 12px auto; }
.banner-billboard { max-width: 1200px; margin: 12px auto; }
.banner-card img { aspect-ratio: 9 / 16; object-fit: cover; height: 100%; }
.banner-destaque, .banner-ranking { display: inline-block; max-width: 150px; border-radius: 8px; }
.banner-selo { border-radius: 10px; background: #fff; }
.banner-parceiros { border-radius: 10px; background: var(--card); }

/* Avisos */
.avisos { padding-top: 16px; }
.aviso { padding: 12px 16px; border-radius: 12px; margin-bottom: 10px; font-size: 15px; border: 1px solid; }
.aviso a { text-decoration: underline; font-weight: 700; }
.aviso-ok { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.4); color: #b7f5cd; }
.aviso-erro { background: rgba(225,6,0,.12); border-color: rgba(225,6,0,.45); color: #ffc9c5; }
.aviso-info { background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.4); color: #cfe0ff; }
.toast.erro { border-left-color: var(--red-2); }

/* Menu do painel */
.painel-nav { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.painel-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.painel-nav a { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.painel-nav a:hover { color: var(--text); }
.painel-nav a.ativo { color: var(--text); border-bottom-color: var(--red); }
.admin-nav a.ativo { border-bottom-color: var(--gold); }

/* Páginas e formulários */
.titulo-pagina { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 6vw, 48px); line-height: 1; margin: 0 0 8px; letter-spacing: .5px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sub-pagina { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.sec-titulo { font-family: var(--font-display); font-weight: 400; font-size: 38px; margin: 44px 0 6px; }
.caixa-estreita { max-width: 480px; }
.caixa-media { max-width: 820px; }
.cartao { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 16px; }
.form-simples { display: flex; flex-direction: column; gap: 16px; }
.input-grande { font-size: 17px; padding: 14px 14px; border-radius: 12px; }
textarea.input { resize: vertical; }
.btn-bloco { width: 100%; }
.senha-caixa { display: flex; gap: 8px; }
.senha-caixa .input { flex: 1; }
.nota { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.centro { text-align: center; }
.link-forte { color: var(--red-2); font-weight: 700; }
.check-linha { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #d6d6dd; cursor: pointer; margin: 4px 0; }
.check-linha input { width: 22px; height: 22px; accent-color: var(--red); flex-shrink: 0; }
.opcional { font-weight: 400; color: var(--muted); font-size: 12px; }
.obrig { font-weight: 700; color: var(--red-2); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; margin-left: 4px; }
.dica { font-size: 13px; color: var(--muted); }
.campo-erro { font-size: 13px; color: var(--red-2); font-weight: 600; }
.campo-erro:empty { display: none; }
.label, .field .label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field label { font-size: 14px; }
.voltar { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.voltar:hover { color: var(--text); }

/* Painel: ações grandes e listas */
.acoes-grandes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.acao-grande { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: radial-gradient(300px 140px at 0% 0%, rgba(225,6,0,.2), transparent 70%), var(--card); border: 1px solid var(--line); transition: transform .15s, border-color .2s; }
.acao-grande:hover { transform: translateY(-2px); border-color: var(--red); }
.acao-grande.dourado { background: radial-gradient(300px 140px at 0% 0%, rgba(245,180,0,.18), transparent 70%), var(--card); }
.acao-grande.dourado:hover { border-color: var(--gold); }
.acao-grande b { font-size: 20px; }
.acao-grande span { color: var(--muted); font-size: 14px; }
.acao-grande .acao-icone { font-size: 30px; }
.lista-itens { display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
a.item:hover { border-color: #3a3a46; }
.item .avatar { width: 48px; height: 48px; font-size: 20px; }
.item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.item-info > b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-info > span { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.item-acoes { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.item-banner { width: 96px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--bg-2); flex-shrink: 0; display: grid; place-items: center; }
.item-banner img { max-width: 100%; max-height: 100%; object-fit: contain; }
.progresso-mini { display: inline-block; width: 60px; height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; vertical-align: middle; }
.progresso-mini i { display: block; height: 100%; background: var(--green); }

.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; font-family: var(--font); letter-spacing: 0; }
.status-verde { color: var(--green); border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.08); }
.status-amarelo { color: var(--gold); border-color: rgba(245,180,0,.45); background: rgba(245,180,0,.08); }
.status-vermelho { color: var(--red-2); border-color: rgba(225,6,0,.5); background: rgba(225,6,0,.08); }
.status-azul { color: #7fb0ff; border-color: rgba(59,130,246,.5); background: rgba(59,130,246,.08); }
.status-cinza { color: var(--muted); border-color: var(--line); }

.paginacao { display: flex; gap: 6px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.paginacao a, .paginacao b, .paginacao span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-weight: 600; }
.paginacao b { background: var(--red); border-color: var(--red); }
.paginacao span { border: 0; background: none; color: var(--muted); }

/* Perfil (página) */
.perfil { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.perfil-nome { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: .95; }
.info-list a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); }
.athlete-sponsors .ad { min-height: 60px; font-size: 11px; border-radius: 10px; }

/* ---------- Editor do atleta ---------- */
.editor-sec { padding-top: 24px; }
.editor { max-width: 860px; }
.editor-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.salvamento { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; max-width: 420px; }
.salvamento .ponto { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.salvamento.pendente .ponto { background: var(--gold); animation: pulsar 1s infinite; }
.salvamento.erro { color: #ffc9c5; border-color: rgba(225,6,0,.5); }
.salvamento.erro .ponto { background: var(--red-2); }
.salvamento a { text-decoration: underline; }
@keyframes pulsar { 50% { opacity: .3; } }

.etapas { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.etapas button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--muted); }
.etapas b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; }
.etapas span { font-size: 12px; font-weight: 600; }
.etapas button.feita b { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.5); color: var(--green); }
.etapas button.ativa { border-color: var(--red); color: var(--text); }
.etapas button.ativa b { background: var(--red); border-color: var(--red); color: #fff; }
.etapa-titulo { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 0 0 16px; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.editor .form-grid { gap: 18px; }

.foto-campo { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.foto-preview { width: 120px; aspect-ratio: 9 / 16; border-radius: 14px; border: 2px dashed #3a3a46; background: var(--bg-2) center/cover no-repeat; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.foto-preview:hover { border-color: var(--red); }

.opcoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.opcao { cursor: pointer; }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-size: 15px; font-weight: 600; color: #cfcfd6; min-height: 48px; }
.opcao input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.opcao input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.opcao .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.opcao em.principal { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; background: rgba(0,0,0,.35); padding: 2px 7px; border-radius: 99px; }
.opcao-V input:checked + span { background: var(--green); border-color: var(--green); color: #04130a; }
.opcao-D input:checked + span { background: var(--red); border-color: var(--red); }
.opcao-E input:checked + span { background: #55555f; border-color: #55555f; }

.contadores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contador-campo label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.contador { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.contador button { width: 52px; border: 0; background: var(--card-2); font-size: 24px; font-weight: 700; cursor: pointer; }
.contador button:active { background: var(--red); }
.contador input { border: 0; border-radius: 0; text-align: center; font-family: var(--font-display); font-size: 30px; padding: 6px 0; background: transparent; -moz-appearance: textfield; }
.contador input::-webkit-outer-spin-button, .contador input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.lutas-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 28px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.luta { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 10px; }
.luta-res .opcao span { padding: 8px 14px; min-height: 40px; font-size: 14px; }
.luta-campos { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr .5fr .8fr; gap: 8px; }
.luta-remover { align-self: flex-end; }

.privacidade { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.interruptor { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 16px; font-weight: 600; }
.interruptor:last-child { border-bottom: 0; }
.interruptor > span { flex: 1; }
.interruptor input { position: absolute; opacity: 0; pointer-events: none; }
.interruptor i { width: 52px; height: 30px; border-radius: 99px; background: #3a3a46; position: relative; transition: background .2s; flex-shrink: 0; }
.interruptor i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.interruptor input:checked + i { background: var(--green); }
.interruptor input:checked + i::after { transform: translateX(22px); }
.interruptor input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.vis-rotulo { font-style: normal; font-size: 12px; width: 70px; color: var(--muted); }
.interruptor input:checked ~ .vis-rotulo { color: var(--green); }

.publicar { margin-top: 22px; padding: 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.publicar ul { margin: 6px 0 12px; color: var(--gold); }
.publicar-acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.zona-perigo { margin-top: 26px; padding-top: 16px; border-top: 1px dashed var(--line); }
.zona-perigo .btn:hover { border-color: var(--red); color: var(--red-2); }
.editor-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--bg) 35%); z-index: 10; }
.editor-nav .btn { min-width: 140px; }

/* ---------- Patrocínio ---------- */
.titulo-patrocinio { font-family: var(--font-display); font-weight: 400; font-size: 52px; line-height: .95; margin: 10px 0 12px; }
.titulo-patrocinio span { color: var(--gold); }
.passos { margin: 0 0 22px; padding-left: 20px; color: #d6d6dd; display: flex; flex-direction: column; gap: 6px; }
.espacos { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.espaco-card { display: grid; grid-template-columns: 34px 90px 1fr; grid-template-rows: auto auto; gap: 12px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.espaco-card.escolhido { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.espaco-card .btn { grid-column: 3; justify-self: start; }
.espaco-num { width: 34px; height: 34px; border-radius: 50%; background: rgba(245,180,0,.15); color: var(--gold); display: grid; place-items: center; font-weight: 800; }
.espaco-prev { height: 90px; display: grid; place-items: center; }
.espaco-prev div { max-width: 90px; max-height: 90px; width: 90px; background: rgba(245,180,0,.14); border: 1px dashed rgba(245,180,0,.5); border-radius: 4px; display: grid; place-items: center; font-size: 9px; color: var(--gold); font-weight: 700; }
.espaco-info h3 { margin: 0 0 4px; font-size: 17px; }
.espaco-info p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.espaco-tam b { color: var(--gold); }
.espaco-tam span { font-size: 12px; color: var(--muted); }

.num-passo { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #111; display: inline-grid; place-items: center; font-family: var(--font); font-size: 16px; font-weight: 800; }
.espacos-escolha { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.espaco-opcao { cursor: pointer; }
.espaco-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.espaco-opcao span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.espaco-opcao small { color: var(--muted); font-size: 12px; }
.espaco-opcao em { font-style: normal; color: var(--gold); font-weight: 700; font-size: 13px; }
.espaco-opcao input:checked + span { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: rgba(245,180,0,.08); }
.espaco-opcao input:focus-visible + span { outline: 2px solid var(--gold); }
.arquivo-caixa { display: block; position: relative; border: 2px dashed #3a3a46; border-radius: 14px; padding: 22px; text-align: center; cursor: pointer; font-weight: 700; margin-top: 8px; }
.arquivo-caixa:hover { border-color: var(--gold); }
.arquivo-caixa input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.banner-msg { margin-top: 10px; font-weight: 700; font-size: 14px; }
.banner-msg.ok { color: var(--green); }
.banner-msg.erro { color: var(--red-2); }
.banner-prev { margin-top: 10px; }
.banner-prev img { max-width: 100%; max-height: 320px; width: auto; border-radius: 8px; border: 1px solid var(--line); background: repeating-conic-gradient(#222 0 25%, #1a1a1a 0 50%) 0 0 / 16px 16px; }
.banner-prev.grande img { max-height: 520px; }

.status-grande { border-radius: 16px; padding: 20px; margin: 10px 0 16px; border: 1px solid; }
.status-grande > b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.status-grande p { margin: 6px 0 12px; color: #d6d6dd; }
.status-grande .motivo, .status-grande .valor { margin-bottom: 12px; color: var(--text); }
.status-grande.status-amarelo b { color: var(--gold); }
.status-grande.status-verde b { color: var(--green); }
.status-grande.status-azul b { color: #7fb0ff; }
.status-grande.status-vermelho b { color: var(--red-2); }
.linha-tempo { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.linha-tempo li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.linha-tempo span { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.linha-tempo li.feito span { background: var(--green); border-color: var(--green); color: #04130a; }
.linha-tempo li.atual { color: var(--text); border-color: var(--gold); }
.linha-tempo li.atual span { background: var(--gold); border-color: var(--gold); color: #111; }
.pedido-dados { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.historico { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.historico li { padding: 8px 12px; background: var(--card); border-radius: 10px; border: 1px solid var(--line); }
.historico li span { color: var(--muted); }

/* ---------- Admin ---------- */
.kpis-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 24px; }
.kpi-admin { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.kpi-admin b { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; }
.kpi-admin span { color: var(--muted); font-size: 13px; }
.kpi-admin.destaque { border-color: var(--gold); }
.kpi-admin.destaque b { color: var(--gold); }
.filtro-abas { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filtro-abas a { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 600; color: var(--muted); }
.filtro-abas a.ativo { background: var(--card-2); color: var(--text); border-color: #444; }
.filtro-abas small { opacity: .7; }
.filtro-linha { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.filtro-linha .input { flex: 1; min-width: 160px; }
.tabela-admin td { vertical-align: middle; }
.acoes-tabela { white-space: nowrap; }
.admin-pedido { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }

@media (max-width: 960px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .acoes-grandes { grid-template-columns: 1fr; }
  .admin-pedido, .pedido-dados { grid-template-columns: 1fr; }
  .luta-campos { grid-template-columns: 1fr 1fr; }
  header.top.menu-open .nav-actions { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .cartao { padding: 16px; border-radius: 14px; }
  .etapas span { font-size: 10px; }
  .etapas button { padding: 8px 2px; }
  .contadores { grid-template-columns: 1fr; }
  .foto-campo { flex-direction: column; align-items: flex-start; }
  .foto-preview { width: 140px; }
  .editor-nav .btn { min-width: 0; flex: 1; }
  .item { flex-wrap: wrap; }
  .item-acoes { width: 100%; justify-content: flex-start; }
  .espaco-card { grid-template-columns: 34px 1fr; }
  .espaco-prev { display: none; }
  .espaco-card .btn { grid-column: 2; }
  .linha-tempo { grid-template-columns: 1fr; }
  .perfil-nome { font-size: 36px; }
  .titulo-patrocinio { font-size: 40px; }
  .editor .form-grid { grid-template-columns: 1fr; }
}

/* Evita estouro lateral no celular */
.sponsor-hero > * { min-width: 0; }
.slot-map div { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 960px) { .sponsor-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .slot-row { grid-template-columns: 1fr 1fr 1fr 60px; } .slot-map { font-size: 9px; } }

/* Logo oficial */
.logo img { display: block; height: 28px; width: auto; }
footer .logo img { height: 24px; }
@media (max-width: 640px) { .logo img { height: 22px; } }
.ad-leaderboard { padding: 24px 12px 12px; }
