:root {
  --bg: #050505;
  --bg-soft: #0b0b0c;
  --surface: #111113;
  --surface-2: #17171a;
  --text: #ffffff;
  --muted: #b6b6be;
  --accent: #e50914;
  --accent-strong: #ff1e2d;
  --accent-soft: rgba(229, 9, 20, .14);
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(229,9,20,.28);
  --success: #17b26a;
  --danger: #e11d48;
  --warning: #f59e0b;
  --shadow: 0 20px 50px rgba(0,0,0,.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(229, 9, 20, .16), transparent 22%),
    radial-gradient(circle at bottom left, rgba(229, 9, 20, .10), transparent 18%),
    linear-gradient(180deg, #040404 0%, #090909 42%, #0d0d0f 100%);
  color: var(--text);
  min-height: 100vh;
}
body::before { display: none; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(8,8,9,.92);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.brand img { width: 146px; max-height: 44px; object-fit: contain; }
.brand span { display: none; }

.menu-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-btn span, .menu-btn::before, .menu-btn::after {
  content: "";
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 999px;
  display: block;
}
.menu-btn { gap: 5px; }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  opacity: 0;
  pointer-events: none;
  z-index: 30;
  transition: .2s ease;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100vh;
  padding: 18px;
  background: #0c0c0e;
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(104%);
  transition: .25s ease;
  z-index: 31;
  overflow: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.close-btn {
  background: var(--surface);
  color: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.drawer-padding { padding: 18px; }
.drawer-gap { height: 12px; }
.drawer-admin-btn { display: block; text-align: center; }

.hero { padding: 28px 0 16px; }
.hero-centered { text-align: center; }
.hero-copy, .guess-card, .panel-card, .drawer-card, .winners-card, .promo-card, .login-card {
  background: linear-gradient(180deg, rgba(18,18,20,.98), rgba(13,13,15,.98));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-main-card { padding: 32px; position: relative; overflow: hidden; }
.hero-main-card::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,9,20,.18), transparent 68%);
  pointer-events: none;
}
.badge, .mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: #ffd6d9;
  border: 1px solid var(--border-strong);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}
h1 {
  margin: 16px auto 10px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
  max-width: 820px;
}
.subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 700px;
  margin: 0 auto;
}

.match-title-pill {
  display: inline-flex;
  margin: 24px auto 14px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #121214;
  color: #f3f4f6;
  font-weight: 800;
}
.match-stage {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: 14px;
  align-items: center;
  margin: 0 auto;
  max-width: 780px;
}
.team-card {
  min-height: 208px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #121214, #0d0d0f);
  border: 1px solid var(--border);
}
.team-card img {
  width: min(145px, 42vw);
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.team-card strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -.03em;
}
.team-card-home, .team-card-away {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.versus-stack {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: white;
  font-weight: 900;
  border: 4px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 30px rgba(229, 9, 20, .25);
}
.versus-stack span { font-size: 24px; line-height: 1; }
.versus-stack small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; opacity: .82; }

.timer-panel {
  margin: 22px auto 0;
  max-width: 760px;
  padding: 18px;
  border-radius: 20px;
  background: #0f0f10;
  border: 1px solid var(--border);
}
.timer-label { color: #fca5a5; font-weight: 800; margin-bottom: 12px; }
.timer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.timer-grid div {
  padding: 14px 10px;
  border-radius: 16px;
  background: #161619;
  border: 1px solid var(--border);
}
.timer-grid strong { display: block; font-size: clamp(26px, 5vw, 40px); letter-spacing: -.04em; line-height: 1; }
.timer-grid span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.timer-panel p { margin: 12px 0 0; color: var(--muted); font-weight: 600; }
.timer-panel.is-closed { border-color: rgba(229,9,20,.38); background: rgba(229,9,20,.08); }
.info-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.centered-info { justify-content: center; }
.info-pill {
  background: #121214;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}
.info-pill strong { color: white; }
.hero-notice { margin-top: 22px; }

.entry-section { padding: 8px 0 24px; }
.entry-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; align-items: start; }
.guess-card, .promo-card, .winners-card, .drawer-card { padding: 24px; }
.card-headline { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.card-title { margin: 0 0 6px; font-size: 24px; letter-spacing: -.03em; }
.card-desc { margin: 0 0 18px; color: var(--muted); line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field-help { margin: -2px 0 8px; color: var(--muted); font-size: 13px; }
label { font-size: 13px; font-weight: 800; color: #f2f2f3; }
input, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  color: white;
  background: #121214;
  outline: none;
}
input::placeholder { color: #8d8d96; }
input:focus, select:focus {
  border-color: rgba(229,9,20,.50);
  box-shadow: 0 0 0 4px rgba(229,9,20,.12);
}
.score-box {
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #0f0f10;
  border: 1px solid var(--border);
}
.score-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; }
.score-divider { padding-bottom: 22px; color: #ff8088; font-weight: 900; font-size: 24px; }
.products, .product-logo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.product-check {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  background: #121214;
  cursor: pointer;
}
.product-check input { width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.product-card-option { align-items: stretch; padding: 10px; min-height: 96px; transition: .18s ease; }
.product-card-option:hover { border-color: rgba(229,9,20,.36); }
.product-card-option:has(input:checked) {
  border-color: rgba(229,9,20,.64);
  background: rgba(229,9,20,.08);
}
.product-art {
  width: 78px;
  min-width: 78px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: #0c0c0e;
}
.product-art img { width: 100%; height: 66px; object-fit: contain; padding: 4px; }
.product-info { min-width: 0; display: grid; align-content: center; gap: 4px; text-align: left; }
.product-info strong { display: block; font-size: 15px; color: white; }
.product-info small { color: var(--muted); font-size: 12px; line-height: 1.25; }

.btn {
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: white;
  width: 100%;
  box-shadow: 0 14px 30px rgba(229,9,20,.24);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-secondary { background: #17171a; color: white; border: 1px solid var(--border); }
.btn-danger { background: var(--danger); color: white; }
.notice {
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: #121214;
}
.notice.success { border-color: rgba(23,178,106,.4); background: rgba(23,178,106,.10); color: #c4ffe2; }
.notice.error { border-color: rgba(225,29,72,.5); background: rgba(225,29,72,.12); color: #ffd1dc; }
.notice.warning { border-color: rgba(245,158,11,.40); background: rgba(245,158,11,.12); color: #ffe7bc; }
.status-card { text-align: center; padding: 24px; }
.status-icon { font-size: 42px; margin-bottom: 10px; }

.promo-card { position: sticky; top: 88px; overflow: hidden; }
.promo-card h2 { margin: 14px 0 10px; font-size: clamp(24px, 4vw, 34px); line-height: 1.05; letter-spacing: -.04em; }
.promo-card p { color: var(--muted); line-height: 1.5; }
.showcase-products { display: grid; gap: 10px; margin-top: 18px; }
.showcase-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #121214;
  border: 1px solid var(--border);
}
.showcase-item img {
  width: 68px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  padding: 3px;
  background: #0c0c0e;
}
.showcase-item span { font-weight: 800; }

.winners-section { padding: 18px 0 42px; }
.winner-list { display: grid; gap: 10px; margin-top: 18px; }
.winner-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: #121214;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}
.winner-item small { color: var(--muted); display: block; margin-top: 4px; }
.score-tag {
  background: rgba(229,9,20,.12);
  color: #ffc8cc;
  border: 1px solid rgba(229,9,20,.28);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 800;
}
.footer { color: #8f8f98; text-align: center; padding: 18px 0 28px; font-size: 13px; }
.lookup-result { margin-top: 14px; display: grid; gap: 10px; }
.lookup-box {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #121214;
}
.lookup-box strong { display: block; margin-bottom: 4px; }
.lookup-box p { margin: 4px 0; color: var(--muted); }

.admin-body {
  background: linear-gradient(180deg, #080808, #0e0e10);
  color: #f3f4f6;
}
.admin-body::before { display: none; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.sidebar {
  background: #0b0b0c;
  color: white;
  padding: 22px;
  border-right: 1px solid var(--border);
}
.sidebar img { width: 165px; margin-bottom: 18px; }
.sidebar a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #d6d6dc;
  margin-bottom: 8px;
  background: transparent;
}
.sidebar a:hover { background: #141417; }
.admin-main { padding: 24px; overflow: auto; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.panel-card {
  background: #121214;
  border: 1px solid var(--border);
  color: #f3f4f6;
  box-shadow: none;
  padding: 20px;
  border-radius: 20px;
}
.panel-card h3 { margin: 0 0 12px; }
.metric strong { display:block; font-size: 30px; }
.admin-form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.admin-body input, .admin-body select {
  color:#fff;
  background:#0f0f10;
  border-color: var(--border);
}
.admin-body label { color:#f3f4f6; }
.admin-check { background:#0f0f10; color:#fff; }
.table-wrap { overflow:auto; border-radius: 16px; border:1px solid var(--border); }
table { width:100%; border-collapse: collapse; background:#121214; }
th, td {
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  text-align:left;
  vertical-align: top;
  font-size: 14px;
}
th { background:#17171a; font-weight:800; }
.admin-alert {
  padding: 13px 14px;
  border-radius: 14px;
  margin-bottom: 16px;
  background: rgba(23,178,106,.10);
  color:#c4ffe2;
  border:1px solid rgba(23,178,106,.35);
}
.login-page {
  min-height:100vh;
  display:grid;
  place-items:center;
  padding: 20px;
  background: linear-gradient(180deg, #050505, #101012);
  color:white;
}
.login-card { width:min(430px, 100%); padding:28px; }
.login-card img { width:170px; display:block; margin:0 auto 18px; }
.login-card input { color:white; }
.actions { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.tiny { color:#9a9aa5; font-size:12px; }
.admin-products-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.admin-product-card { border: 1px solid var(--border); border-radius: 18px; padding: 16px; background: #0f0f10; }
.admin-product-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #151518;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
}
.admin-product-logo img { width: 160px; height: 95px; object-fit: contain; }

@supports not selector(:has(*)) {
  .product-card-option input:checked + .product-art { outline: 3px solid rgba(229,9,20,.60); }
}

@media (max-width: 1000px) {
  .entry-grid { grid-template-columns: 1fr; }
  .promo-card { position: relative; top: auto; }
  .admin-products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; padding-bottom: 10px; }
  .admin-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 18px, 1120px); }
  .topbar-inner { min-height: 66px; }
  .brand img { width: 132px; max-height: 38px; }
  .drawer { padding: 14px; }
  .hero { padding-top: 20px; }
  .hero-main-card, .guess-card, .winners-card, .promo-card, .drawer-card, .login-card { border-radius: 20px; padding: 20px; }
  h1 { font-size: clamp(28px, 9vw, 42px); }
  .subtitle { font-size: 15px; }
  .match-stage { grid-template-columns: 1fr; max-width: 420px; }
  .versus-stack { margin: -2px auto; width: 78px; height: 78px; }
  .team-card { min-height: 165px; }
  .team-card img { height: 100px; }
  .form-grid, .products, .admin-form-grid, .product-logo-grid { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  .timer-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .timer-grid div { padding: 12px 8px; }
  .info-row { gap: 8px; }
  .info-pill { width: 100%; text-align: center; }
  .winner-item { grid-template-columns: 1fr; }
  .card-headline { flex-direction: column; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .field { width: 100% !important; min-width: 0 !important; }
  .actions .btn { width: 100% !important; margin-top: 0 !important; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 16px; }
  .admin-top { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 14px); }
  .hero-main-card, .guess-card, .promo-card, .winners-card, .drawer-card { padding: 16px; }
  .product-art { width: 70px; min-width: 70px; }
  .product-art img { height: 58px; }
  .card-title { font-size: 21px; }
  .score-divider { padding-bottom: 19px; }
}


/* V5 - layout campanha limpa */
.campaign-hero { padding: 28px 0 14px; }
.campaign-card {
  background: linear-gradient(180deg, rgba(18,18,20,.98), rgba(10,10,11,.98));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.campaign-card::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,9,20,.20), transparent 70%);
  pointer-events: none;
}
.campaign-brand {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  align-items: center;
  text-align: left;
  position: relative;
  z-index: 1;
}
.campaign-logo {
  width: 100%;
  max-height: 96px;
  object-fit: contain;
  justify-self: start;
}
.campaign-text h1 {
  margin: 12px 0 8px;
  max-width: 720px;
  font-size: clamp(30px, 5vw, 54px);
}
.campaign-text p {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 16px;
}
.match-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 26px auto 0;
  max-width: 820px;
}
.match-team {
  min-height: 210px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #141416, #0f0f11);
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 22px;
}
.match-team img {
  width: min(160px, 42vw);
  height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.38));
}
.match-team strong {
  font-size: clamp(24px, 3.5vw, 36px);
  letter-spacing: -.04em;
  line-height: 1;
}
.match-x {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  border: 4px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 30px rgba(229,9,20,.26);
  color: white;
}
.match-x span {
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}
.single-layout { max-width: 860px; }
.clean-headline { margin-bottom: 4px; }
.score-input-area {
  border: 1px solid var(--border);
  background: #0e0e10;
  border-radius: 22px;
  padding: 16px;
  margin: 0 0 16px;
}
.score-row-main input {
  min-height: 58px;
  text-align: center;
  font-size: 28px;
  font-weight: 950;
  padding: 10px;
}
.big-score-preview {
  margin-top: 12px;
  border-radius: 22px;
  border: 1px solid rgba(229,9,20,.30);
  background:
    linear-gradient(90deg, rgba(229,9,20,.10), transparent 28%, transparent 72%, rgba(229,9,20,.10)),
    #080809;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto auto auto minmax(90px, 1fr);
  align-items: center;
  gap: 12px;
  text-align: center;
}
.big-score-preview > strong {
  font-size: clamp(48px, 10vw, 92px);
  line-height: .9;
  font-weight: 950;
  letter-spacing: -.08em;
}
.big-score-preview > em {
  font-style: normal;
  color: #ff7b84;
  font-size: clamp(32px, 7vw, 58px);
  font-weight: 950;
}
.preview-team {
  display: grid;
  place-items: center;
  gap: 7px;
  min-width: 0;
}
.preview-team img {
  width: 68px;
  height: 54px;
  object-fit: contain;
}
.preview-team span {
  font-weight: 900;
  font-size: 13px;
  color: #f3f4f6;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-choice-marquee {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #0e0e10;
  padding: 10px;
  position: relative;
}
.product-choice-marquee::before,
.product-choice-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 52px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.product-choice-marquee::before { left: 0; background: linear-gradient(90deg, #0e0e10, transparent); }
.product-choice-marquee::after { right: 0; background: linear-gradient(270deg, #0e0e10, transparent); }
.product-choice-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: productLoop 28s linear infinite;
}
.product-choice-marquee:hover .product-choice-track,
.product-choice-marquee:focus-within .product-choice-track {
  animation-play-state: paused;
}
.product-choice-track .product-card-option {
  width: 220px;
  min-height: 92px;
  flex: 0 0 auto;
}
.product-ghost {
  display: flex;
  align-items: stretch;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  background: #121214;
  opacity: .62;
}
@keyframes productLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .product-choice-track { animation: none; flex-wrap: wrap; width: auto; }
  .product-ghost { display: none; }
}

@media (max-width: 720px) {
  .campaign-hero { padding-top: 18px; }
  .campaign-card { padding: 18px; border-radius: 22px; }
  .campaign-brand {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }
  .campaign-logo {
    width: min(190px, 80%);
    justify-self: center;
    max-height: 74px;
  }
  .campaign-text h1 { font-size: clamp(27px, 9vw, 40px); }
  .match-board {
    grid-template-columns: 1fr 62px 1fr;
    gap: 8px;
    margin-top: 20px;
  }
  .match-team {
    min-height: 148px;
    border-radius: 18px;
    padding: 14px 8px;
  }
  .match-team img { width: 92px; height: 82px; }
  .match-team strong { font-size: 20px; }
  .match-x {
    width: 62px;
    height: 62px;
    border-width: 3px;
  }
  .match-x span { font-size: 26px; }
  .score-input-area { padding: 12px; border-radius: 18px; }
  .big-score-preview {
    grid-template-columns: 1fr auto auto auto 1fr;
    gap: 7px;
    padding: 12px 8px;
    border-radius: 18px;
  }
  .big-score-preview > strong { font-size: clamp(42px, 17vw, 72px); }
  .big-score-preview > em { font-size: clamp(30px, 11vw, 46px); }
  .preview-team img { width: 48px; height: 42px; }
  .preview-team span { font-size: 11px; max-width: 74px; }
  .product-choice-track .product-card-option { width: 190px; }
}

@media (max-width: 420px) {
  .match-board {
    grid-template-columns: 1fr;
  }
  .match-x { margin: -4px auto; }
  .match-team { min-height: 138px; }
  .big-score-preview {
    grid-template-columns: 1fr auto auto auto 1fr;
    padding: 10px 6px;
  }
  .preview-team span { display: none; }
  .preview-team img { width: 42px; height: 38px; }
  .product-choice-track .product-card-option { width: 178px; }
}

/* ==============================
   V6 - estrutura pública clean
   Resultado publicado = tela única
   ============================== */
.public-body {
  background:
    radial-gradient(circle at 18% 0%, rgba(229, 9, 20, .20), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(255, 30, 45, .10), transparent 30%),
    #050506;
  color: #fff;
  overflow-x: hidden;
}
.clean-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 6, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
}
.clean-topbar-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.clean-brand,
.clean-brand img {
  display: block;
}
.clean-brand img {
  width: min(170px, 44vw);
  max-height: 48px;
  object-fit: contain;
}
.clean-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.link-button,
.admin-link {
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}
.link-button:hover,
.admin-link:hover {
  border-color: rgba(229, 9, 20, .55);
}
.admin-link {
  color: #c9c9cf;
}
.public-shell {
  min-height: calc(100vh - 70px);
}
.clean-hero {
  padding: 26px 0 36px;
}
.clean-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  gap: 20px;
  align-items: start;
}
.clean-card {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
}
.hero-card-v6,
.action-card-v6 {
  padding: clamp(20px, 3vw, 34px);
}
.hero-brand-v6 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.hero-brand-v6 img {
  width: min(180px, 42vw);
  max-height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #ff737b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-brand-v6 h1,
.form-head-v6 h2,
.status-card-v6 h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero-brand-v6 h1 {
  font-size: clamp(32px, 5vw, 62px);
  max-width: 760px;
}
.hero-brand-v6 p,
.form-head-v6 p,
.status-card-v6 p {
  margin: 10px 0 0;
  color: #bdbdc6;
  line-height: 1.55;
}
.match-stage-v6 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.team-logo-card {
  min-height: 230px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 24px 16px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}
.team-logo-card img {
  width: min(170px, 34vw);
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.45));
}
.team-logo-card strong {
  font-size: clamp(22px, 2.7vw, 34px);
  letter-spacing: -.04em;
  text-align: center;
}
.match-x-v6 {
  width: clamp(54px, 8vw, 88px);
  height: clamp(54px, 8vw, 88px);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff2533, #b9000a);
  border: 5px solid rgba(255,255,255,.09);
  box-shadow: 0 16px 34px rgba(229,9,20,.24);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 1000;
}
.timer-v6 {
  margin-top: 20px;
  max-width: none;
  background: rgba(0,0,0,.22);
}
.match-meta-v6 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.match-meta-v6 span {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #bdbdc6;
  font-size: 13px;
}
.match-meta-v6 strong {
  color: #fff;
}
.form-head-v6 {
  margin-bottom: 16px;
}
.form-head-v6 h2,
.status-card-v6 h2 {
  font-size: clamp(28px, 4vw, 44px);
}
.preview-v6 {
  min-height: auto;
  margin: 12px 0 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  border-radius: 24px;
  border: 1px solid rgba(229,9,20,.28);
  background:
    linear-gradient(135deg, rgba(229,9,20,.16), rgba(255,255,255,.04)),
    rgba(0,0,0,.25);
}
.preview-v6 strong {
  font-size: clamp(58px, 11vw, 110px);
  line-height: .9;
  letter-spacing: -.08em;
  text-align: center;
}
.preview-v6 em {
  font-style: normal;
  color: #ff4a55;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 1000;
}
.guess-form-v6 {
  margin-top: 14px;
}
.score-row-v6,
.form-grid-v6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.score-row-v6 input {
  height: 58px;
  text-align: center;
  font-size: 28px;
  font-weight: 1000;
}
.product-strip-v6 {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.product-option-v6 {
  scroll-snap-align: start;
  position: relative;
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.product-option-v6:hover,
.product-option-v6.is-checked {
  transform: translateY(-1px);
  border-color: rgba(229,9,20,.55);
  background: rgba(229,9,20,.12);
}
.product-option-v6 input {
  position: absolute;
  inset: 12px 12px auto auto;
  width: 18px;
  height: 18px;
  accent-color: #e50914;
}
.product-option-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
}
.product-option-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.product-option-v6 span:last-child {
  display: grid;
  gap: 4px;
  padding-right: 18px;
}
.product-option-v6 strong {
  font-size: 14px;
  line-height: 1.1;
}
.product-option-v6 small {
  color: #bdbdc6;
  font-size: 12px;
  line-height: 1.25;
}
.status-card-v6 {
  min-height: 360px;
  display: grid;
  place-content: center;
  justify-items: start;
}
.clean-drawer {
  background: #09090a;
}

/* Tela única de resultado publicado */
.result-only-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(229, 9, 20, .30), transparent 36%),
    radial-gradient(circle at 14% 85%, rgba(229, 9, 20, .12), transparent 30%),
    #030304;
  color: #fff;
  overflow-x: hidden;
}
.result-only-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
}
.result-only-card {
  width: min(1040px, 100%);
  display: grid;
  justify-items: center;
  gap: clamp(22px, 4vw, 38px);
  padding: clamp(22px, 5vw, 56px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: clamp(26px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 34px 90px rgba(0,0,0,.48);
}
.result-company-logo {
  width: min(260px, 62vw);
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.42));
}
.result-teams {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
}
.result-team {
  min-height: clamp(190px, 27vw, 288px);
  display: grid;
  place-items: center;
  gap: 14px;
  padding: clamp(18px, 3vw, 34px);
  border-radius: clamp(22px, 4vw, 34px);
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
}
.result-team img {
  width: min(220px, 36vw);
  height: clamp(130px, 22vw, 200px);
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(0,0,0,.50));
}
.result-team strong {
  font-size: clamp(22px, 3.2vw, 42px);
  letter-spacing: -.05em;
  line-height: 1;
  text-align: center;
}
.result-versus {
  width: clamp(54px, 8vw, 94px);
  height: clamp(54px, 8vw, 94px);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff2634, #bd000b);
  border: 5px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 34px rgba(229,9,20,.25);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 1000;
}
.result-winners-panel {
  width: min(780px, 100%);
  display: grid;
  gap: 14px;
}
.result-winners-panel h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 5vw, 58px);
  line-height: .95;
  letter-spacing: -.06em;
}
.result-winner-list {
  display: grid;
  gap: 10px;
}
.result-winner-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
}
.winner-position {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e50914;
  font-weight: 1000;
}
.result-winner-item strong {
  display: block;
  font-size: clamp(17px, 2.5vw, 23px);
  line-height: 1.15;
}
.result-winner-item small {
  display: block;
  margin-top: 4px;
  color: #c9c9cf;
  line-height: 1.35;
}
.result-empty {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  color: #d8d8de;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 920px) {
  .clean-layout {
    grid-template-columns: 1fr;
  }
  .hero-brand-v6 {
    align-items: flex-start;
    flex-direction: column;
  }
  .status-card-v6 {
    min-height: auto;
  }
}
@media (max-width: 680px) {
  .clean-actions {
    gap: 6px;
  }
  .link-button,
  .admin-link {
    padding: 9px 10px;
    font-size: 12px;
  }
  .clean-hero {
    padding: 16px 0 26px;
  }
  .hero-card-v6,
  .action-card-v6 {
    border-radius: 22px;
    padding: 18px;
  }
  .match-stage-v6,
  .result-teams {
    gap: 8px;
  }
  .team-logo-card {
    min-height: 154px;
    padding: 16px 8px;
  }
  .team-logo-card img {
    width: min(118px, 32vw);
    height: 96px;
  }
  .match-x-v6,
  .result-versus {
    border-width: 3px;
  }
  .timer-grid {
    gap: 6px;
  }
  .timer-grid div {
    padding: 11px 6px;
  }
  .score-row-v6,
  .form-grid-v6 {
    grid-template-columns: 1fr;
  }
  .product-strip-v6 {
    grid-auto-columns: minmax(162px, 72%);
  }
  .result-only-page {
    padding: 14px;
  }
  .result-only-card {
    min-height: calc(100vh - 28px);
    align-content: center;
    border-radius: 26px;
  }
  .result-team {
    min-height: 150px;
    padding: 14px 8px;
  }
  .result-team img {
    width: min(126px, 34vw);
    height: 104px;
  }
  .result-winner-item {
    padding: 13px;
  }
}
