:root {
  --verdao-deep: #0b3d0b;
  --verdao: #136b3e;
  --verdao-bright: #1fa85a;
  --night: #0f4d0f;
  --night-2: #0b3d0b;
  --ivory: #ffffe3;
  --ivory-dim: #cfe2cf;
  --gold: #d3af37;
  --gold-bright: #e6c64c;
  --cup-blue: #d3af37;
  --line: rgba(255, 255, 227, 0.16);
  --danger: #e4735f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: "Inter", sans-serif;
  min-height: 100vh;
}
h1,
h2,
h3,
.display {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
}
.mono {
  font-family: "Space Mono", monospace;
}
#app {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* ---- Header ---- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.crest {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
}
.brand-link {
    text-decoration: none;
    color: inherit;
}

.brand-title {
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ivory);
  text-shadow: 0 0 1px rgba(255, 255, 227, 0.42);
}
.brand-title span {
  color: var(--gold-bright);
}
.stepline {
  display: flex;
  gap: 6px;
  font-family: "Space Mono";
  font-size: 11px;
  color: var(--ivory-dim);
}
.stepline b {
  color: var(--gold-bright);
}

/* ---- Screen scaffolding ---- */
.screen {
  display: none;
}
.screen.active {
  display: block;
  animation: fadeUp 0.35s ease both;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.eyebrow {
  font-family: "Space Mono";
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.screen h2 {
  font-size: 36px;
  margin: 0 0 6px;
}
.lede {
  color: var(--ivory-dim);
  max-width: 56ch;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.5;
}

/* ---- Tactic selection ---- */
.tactics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

/* ---- Mode selector ---- */
.mode-selector {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.mode-card {
  flex: 1;
  min-width: 250px;
  border: 1px solid var(--line);
  background: var(--night-2);
  padding: 20px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
  color: var(--ivory);
  font: inherit;
  text-align: left;
}
.mode-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.mode-card.active {
  border-color: var(--gold);
  background: rgba(211, 175, 55, 0.08);
}
.mode-card .mode-title {
  font-family: "Bebas Neue";
  font-size: 28px;
  color: var(--gold-bright);
}
.mode-card p {
  font-size: 14px;
  color: var(--ivory-dim);
  margin: 8px 0 0;
  line-height: 1.45;
}

/* ---- Skip button ---- */
.skip-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.skip-count {
  font-family: "Space Mono";
  font-size: 11px;
  color: var(--ivory-dim);
}
.tactic-card {
  border: 1px solid var(--line);
  background: var(--night-2);
  border-radius: 2px;
  padding: 22px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  font: inherit;
  text-align: left;
}
.tactic-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.tactic-card .formation {
  font-family: "Bebas Neue";
  font-size: 52px;
  color: var(--gold-bright);
  line-height: 1;
}
.tactic-card .coach {
  font-size: 17px;
  font-weight: 600;
  margin-top: 6px;
}
.tactic-card .era {
  font-family: "Space Mono";
  font-size: 12px;
  color: var(--ivory-dim);
  margin-top: 3px;
}
.tactic-card p {
  font-size: 14px;
  color: var(--ivory-dim);
  margin: 12px 0 0;
  line-height: 1.5;
}
.tactic-card .miniformation {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}
.miniformation .row {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.miniformation .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verdao-bright);
}

/* ---- Draft screen ---- */
.draft-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 720px) {
  .draft-layout {
    grid-template-columns: 1fr;
  }
}
.draw-card {
  border: 1px solid var(--line);
  background: var(--night-2);
  padding: 16px;
}
.draw-card .team-year {
  font-family: "Bebas Neue";
  font-size: 30px;
  color: var(--gold-bright);
}
.draw-card .team-year.spin {
  animation: spinYear 0.15s ease-out;
}
@keyframes spinYear {
  from {
    opacity: 0.2;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.draw-card .team-desc {
  font-size: 12px;
  color: var(--ivory-dim);
  margin-bottom: 14px;
}
.roster {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.player-row.eligible:hover {
  border-color: var(--gold-bright);
  background: rgba(201, 162, 39, 0.08);
}
.player-row.selected {
  border-color: var(--gold-bright);
  background: rgba(211, 175, 55, 0.14);
}
.player-row.taken {
  opacity: 0.3;
  cursor: not-allowed;
}
.player-row.ineligible {
  opacity: 0.35;
  cursor: not-allowed;
}
.player-row .pname {
  font-weight: 600;
  font-size: 13.5px;
}
.player-row .ppos {
  font-family: "Space Mono";
  font-size: 11px;
  color: var(--gold-bright);
  margin-left: 8px;
}
.player-row .pov {
  font-family: "Space Mono";
  font-size: 12px;
  color: var(--ivory-dim);
}
.skip-note {
  font-size: 12px;
  color: var(--danger);
  margin-top: 10px;
  font-family: "Space Mono";
}

/* Cartao claro para o momento de escolha: separa a lista do gramado e melhora a leitura. */
#screen-draft .draw-card {
  background: #f5eedc;
  border: 0;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
  padding: 22px 18px;
  color: #101b11;
}
#screen-draft .draw-card .team-year {
  color: var(--verdao-deep);
  font-size: 36px;
  line-height: 0.95;
}
#screen-draft .draw-card .team-desc {
  color: #596158;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.45;
  margin: 12px 0 16px;
}
#screen-draft .roster {
  border: 1px solid #d7cdb8;
  max-height: min(60vh, 560px);
  overflow-y: auto;
  background: #fff;
}
#screen-draft .player-row {
  border: 0;
  border-bottom: 1px solid #ded4bf;
  background: #fff;
  padding: 12px 11px;
  color: #121b13;
  min-height: 50px;
  font: inherit;
  text-align: left;
  width: 100%;
}
#screen-draft .player-row:last-child {
  border-bottom: 0;
}
#screen-draft .player-row.eligible:hover,
#screen-draft .player-row.selected {
  border-color: #ded4bf;
  background: #e8f0e6;
}
#screen-draft .player-row.ineligible {
  background: #f2ecdd;
  color: #8b8b80;
  opacity: 1;
}
#screen-draft .player-row .pname {
  font-size: 17px;
  letter-spacing: -0.02em;
}
#screen-draft .player-row .ppos {
  color: var(--verdao);
  font-size: 11px;
  font-weight: 700;
}
#screen-draft .player-row .pov {
  font-family: "Bebas Neue";
  font-size: 28px;
  color: #101b11;
  line-height: 1;
}
#screen-draft .player-row.ineligible .pov {
  color: #96958a;
}
.pnumber {
  display: inline-block;
  width: 42px;
  font-family: "Space Mono";
  font-size: 13px;
  color: #5a6658;
}
.roster-title {
  font-family: "Space Mono";
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #596158;
  margin: 0 0 9px;
}
.draft-summary {
  display: none;
}
@media (min-width: 1050px) {
  .draft-layout {
    grid-template-columns: minmax(280px, 0.9fr) minmax(390px, 1.3fr) minmax(
        230px,
        0.72fr
      );
    gap: 24px;
  }
  .pitch-board {
    height: 900px;
    min-height: 900px;
  }
  .slots {
    height: 868px;
  }
  #screen-draft .roster {
    max-height: 640px;
  }
  .draft-summary {
    display: block;
    background: #f5eedc;
    color: #142317;
    border-left: 3px solid var(--gold);
    min-height: 720px;
    padding: 22px 18px;
  }
  .draft-summary .summary-kicker {
    font-family: "Space Mono";
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #677061;
    text-transform: uppercase;
  }
  .draft-summary .summary-score {
    font-family: "Bebas Neue";
    font-size: 64px;
    line-height: 0.9;
    color: var(--verdao-deep);
    margin: 8px 0 18px;
  }
  .draft-summary .summary-score span {
    font-family: "Space Mono";
    font-size: 11px;
    color: #677061;
    letter-spacing: 0.08em;
  }
  .draft-summary .summary-row {
    display: grid;
    grid-template-columns: 34px 1fr 28px;
    gap: 7px;
    padding: 10px 0;
    border-top: 1px solid #d8cdb6;
    align-items: center;
    font-size: 12px;
  }
  .draft-summary .summary-row .spos {
    font-family: "Space Mono";
    font-size: 10px;
    color: #60705e;
  }
  .draft-summary .summary-row .sname {
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .draft-summary .summary-row.empty .sname {
    color: #aaa391;
    font-weight: 500;
  }
  .draft-summary .summary-row .sov {
    font-family: "Bebas Neue";
    font-size: 21px;
    text-align: right;
    color: var(--verdao-deep);
  }
}

.pitch-board {
  border: 2px solid rgba(255, 255, 227, 0.45);
  background: repeating-linear-gradient(
    90deg,
    #0b3d0b 0 12.5%,
    #176b3f 12.5% 25%
  );
  padding: 16px;
  position: relative;
  height: 700px;
  min-height: 700px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.pitch-lines {
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 227, 0.72);
  pointer-events: none;
}
.pitch-lines .mid {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px solid rgba(255, 255, 227, 0.72);
}
.pitch-lines .circle {
  position: absolute;
  width: 84px;
  height: 84px;
  border: 2px solid rgba(255, 255, 227, 0.72);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.pitch-lines .spot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--ivory);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.pitch-lines .box {
  position: absolute;
  width: 42%;
  height: 18%;
  border: 2px solid rgba(255, 255, 227, 0.72);
  left: 29%;
}
.pitch-lines .box.top {
  top: 0;
  border-top: 0;
}
.pitch-lines .box.bottom {
  bottom: 0;
  border-bottom: 0;
}
.pitch-lines .goal {
  position: absolute;
  width: 18%;
  height: 4%;
  border: 2px solid rgba(255, 255, 227, 0.72);
  left: 41%;
}
.pitch-lines .goal.top {
  top: -4%;
}
.pitch-lines .goal.bottom {
  bottom: -4%;
}
.slots {
  position: relative;
  height: 668px;
}
.slot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 108px;
  text-align: center;
  border: 0;
  background: transparent;
  padding: 0;
}
.slot .pin {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 6px;
  border: 3px solid var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono";
  font-size: 13px;
  background: var(--ivory);
  color: var(--verdao-deep);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}
.slot.filled .pin {
  border-color: #fff7b5;
  background: var(--gold-bright);
  color: var(--night);
  font-weight: bold;
  box-shadow:
    0 0 0 4px rgba(230, 198, 76, 0.28),
    0 5px 13px rgba(0, 0, 0, 0.36);
}
.slot.filled.movable {
  cursor: pointer;
  z-index: 4;
}
.slot.filled.movable .pin {
  border-color: #fff;
  box-shadow:
    0 0 0 6px rgba(255, 255, 227, 0.6),
    0 0 0 9px rgba(230, 198, 76, 0.5),
    0 5px 13px rgba(0, 0, 0, 0.36);
  animation: pulseMovable 1.1s ease-in-out infinite;
}
@keyframes pulseMovable {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
.slot.filled:not(.movable) {
  cursor: pointer;
}
.slot.selectable {
  cursor: pointer;
  z-index: 3;
}
.slot.selectable .pin {
  border-color: #fff;
  background: #fff;
  color: var(--verdao-deep);
  box-shadow:
    0 0 0 6px rgba(255, 255, 227, 0.45),
    0 5px 13px rgba(0, 0, 0, 0.36);
}
.slot.selectable:hover .pin {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--night);
}
.slot .label {
  font-size: 13px;
  color: var(--ivory);
  font-family: "Space Mono";
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.slot.filled .label {
  color: #fff;
  font-weight: 700;
}
.progress-note {
  text-align: center;
  font-family: "Space Mono";
  font-size: 12px;
  color: var(--ivory-dim);
  margin-top: 10px;
}

/* ---- Buttons ---- */
.btn {
  font-family: "Space Mono";
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 11px 22px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.btn:hover {
  background: var(--gold);
  color: var(--night);
}
.btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: var(--ivory-dim);
  color: var(--ivory-dim);
  background: transparent;
}
.btn:focus-visible,
.mode-card:focus-visible,
.tactic-card:focus-visible,
.player-row:focus-visible,
.slot.selectable:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}
.btn-row {
  margin-top: 26px;
  display: flex;
  gap: 10px;
}

/* ---- XI review ---- */
.xi-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.xi-item {
  border: 1px solid var(--line);
  background: var(--night-2);
  padding: 12px;
}
.xi-item .ppos {
  font-family: "Space Mono";
  font-size: 10px;
  color: var(--gold-bright);
}
.xi-item .pname {
  font-weight: 700;
  font-size: 14px;
  margin: 3px 0;
}
.xi-item .team-tag {
  font-size: 11px;
  color: var(--ivory-dim);
}
.rating-banner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border: 1px solid var(--gold);
  padding: 16px 20px;
  margin-top: 24px;
  background: rgba(201, 162, 39, 0.06);
}
.rating-banner .num {
  font-family: "Bebas Neue";
  font-size: 44px;
  color: var(--gold-bright);
}

/* ---- Exchange ---- */
.exchange-question {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ivory-dim);
  margin: 0 0 16px;
}
.exchange-cards {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}
.exchange-card {
  min-height: 116px;
  border: 1px solid var(--gold);
  padding: 15px;
  background: rgba(211, 175, 55, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.exchange-card.empty {
  border-style: dashed;
  border-color: var(--ivory-dim);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ivory-dim);
  text-align: center;
}
.exchange-arrow {
  text-align: center;
  font-size: 24px;
  color: var(--gold);
}
.exchange-card .pname {
  font-size: 18px;
  font-weight: 700;
}
.exchange-card .meta {
  font-family: "Space Mono";
  font-size: 11px;
  color: var(--ivory-dim);
  margin-top: 6px;
  line-height: 1.5;
}
.exchange-status {
  font-family: "Space Mono";
  font-size: 12px;
  color: var(--gold-bright);
  margin-top: 12px;
}
@media (max-width: 560px) {
  .exchange-cards {
    grid-template-columns: 1fr;
  }
  .exchange-arrow {
    transform: rotate(90deg);
  }
}

/* ---- Bracket ---- */
.bracket {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 10px;
}
.round-title {
  font-family: "Space Mono";
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.matches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.match {
  border: 1px solid var(--line);
  background: var(--night-2);
  padding: 10px 14px;
}
.match .side {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13.5px;
}
.match .side.win {
  color: var(--gold-bright);
  font-weight: 700;
}
.match .side.lose {
  color: var(--ivory-dim);
  text-decoration: line-through;
}
.match hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2px 0;
}
.champion-banner {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--gold);
  margin-top: 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 162, 39, 0.12),
    transparent 70%
  );
}
.champion-banner .display {
  font-size: 52px;
  color: var(--gold-bright);
}

/* ---- Cup, match by match ---- */
.cup-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.cup-layout .match-center {
  flex: 1 1 700px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
}
.cup-layout .cup-side {
  flex: 0 0 228px;
  max-width: 228px;
}
@media (max-width: 900px) {
  .cup-layout {
    flex-direction: column;
    align-items: stretch;
    max-width: 700px;
    gap: 14px;
  }
  .cup-layout .match-center,
  .cup-layout .cup-side {
    flex: none;
    max-width: none;
    width: 100%;
  }
}
.match-center {
  border: 1px solid rgba(255, 255, 227, 0.82);
  background:
    radial-gradient(ellipse at top, rgba(211, 175, 55, 0.15), transparent 65%),
    var(--night-2);
  padding: 26px;
}
.match-stage {
  text-align: center;
  font-family: "Space Mono";
  font-size: 12px;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px minmax(0, 1fr);
  align-items: center;
  text-align: center;
  margin: 22px 0 16px;
  gap: 14px;
}
.scoreboard .club {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ivory);
}
.scoreboard .score {
  font-family: "Bebas Neue";
  font-size: 60px;
  color: var(--ivory);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}
@media (max-width: 480px) {
  .scoreboard {
    grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
    gap: 8px;
  }
  .scoreboard .club {
    font-size: 14px;
  }
  .scoreboard .score {
    font-size: 38px;
  }
}
.clock {
  text-align: center;
  font-family: "Space Mono";
  font-size: 26px;
  color: var(--ivory);
  height: 34px;
}
.goal-log {
  border-top: 1px solid rgba(255, 255, 227, 0.32);
  margin-top: 18px;
  padding-top: 10px;
  min-height: 82px;
}
.goal-event {
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ivory);
}
.goal-event b {
  color: var(--gold-bright);
  font-family: "Space Mono";
  margin-right: 9px;
}
.match-insight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 16px 0;
  font-family: "Space Mono";
  font-size: 11px;
  text-align: center;
  color: var(--ivory-dim);
}
.match-insight div {
  padding: 11px 6px;
  border: 1px solid rgba(255, 255, 227, 0.28);
  background: rgba(255, 255, 227, 0.035);
}
.match-insight b {
  display: block;
  color: var(--ivory);
  font-size: 16px;
  margin-top: 5px;
}
.cup-side {
  border: 1px solid rgba(255, 255, 227, 0.16);
  background: rgba(0, 0, 0, 0.2);
  padding: 14px 12px;
  opacity: 0.86;
}
.cup-side h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: rgba(255, 255, 227, 0.62);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cup-side .side-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 227, 0.1);
}
.cup-side .side-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.group-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 0;
}
.group-table th {
  color: rgba(255, 255, 227, 0.42);
  font-family: "Space Mono";
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 6px 3px;
  border-bottom: 1px solid rgba(255, 255, 227, 0.16);
}
.group-table td {
  padding: 7px 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  color: rgba(255, 255, 227, 0.72);
}
.group-table td:first-child {
  text-align: left;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.group-table tr.mine td:first-child {
  color: var(--gold-bright);
  font-weight: 700;
}
.fixture-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.fixture {
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 227, 0.14);
  color: rgba(255, 255, 227, 0.55);
}
.fixture.current {
  border-color: rgba(211, 175, 55, 0.45);
  color: var(--ivory);
  background: rgba(211, 175, 55, 0.06);
}
.fixture.done {
  opacity: 0.72;
}
.group-qualification {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 227, 0.8);
  padding: 34px;
  background:
    radial-gradient(ellipse at top, rgba(211, 175, 55, 0.18), transparent 62%),
    var(--night-2);
  text-align: center;
}
.qualification-kicker {
  font-family: "Space Mono";
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.group-qualification h3 {
  font-size: 48px;
  margin: 8px 0;
  color: var(--ivory);
}
.group-qualification p {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--ivory-dim);
  font-size: 16px;
  line-height: 1.5;
}
.qualification-rank {
  font-family: "Bebas Neue";
  font-size: 94px;
  line-height: 0.9;
  color: var(--gold-bright);
  margin: 28px 0 7px;
}
.qualification-rank span {
  display: block;
  font-family: "Space Mono";
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-top: 9px;
}
.qualification-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 560px;
  margin: 24px auto;
}
.qualification-stats div {
  padding: 14px 8px;
  border: 1px solid rgba(255, 255, 227, 0.28);
  font-family: "Space Mono";
  font-size: 11px;
  color: var(--ivory-dim);
}
.qualification-stats b {
  display: block;
  font-family: "Bebas Neue";
  font-size: 32px;
  color: var(--ivory);
  margin-top: 4px;
}
.group-final-table {
  max-width: 660px;
  margin: 20px auto;
  text-align: left;
}
.group-final-table h4 {
  font-family: "Space Mono";
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin: 0 0 8px;
}
.group-final-table .group-table {
  margin: 0;
}
.knockout-focus {
  border-color: rgba(255, 255, 227, 0.16);
  background: rgba(0, 0, 0, 0.2);
}
.knockout-focus .focus-kicker {
  font-family: "Space Mono";
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 227, 0.42);
}
.knockout-focus h3 {
  font-size: 17px;
  line-height: 1.2;
  margin: 6px 0 12px;
  color: rgba(255, 255, 227, 0.62);
}
.knockout-route {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.route-game {
  border: 1px solid rgba(255, 255, 227, 0.12);
  padding: 9px 8px;
  background: rgba(0, 0, 0, 0.08);
}
.route-game.current {
  border-color: rgba(211, 175, 55, 0.42);
  box-shadow: inset 2px 0 0 rgba(211, 175, 55, 0.65);
  background: rgba(211, 175, 55, 0.06);
}
.route-stage {
  font-family: "Space Mono";
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 227, 0.45);
  display: block;
  margin-bottom: 4px;
}
.route-clubs {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 255, 227, 0.72);
}
.route-score {
  font-family: "Bebas Neue";
  font-size: 24px;
  color: rgba(255, 255, 227, 0.82);
  margin-top: 4px;
}
.route-pending {
  font-family: "Space Mono";
  font-size: 10px;
  color: rgba(255, 255, 227, 0.45);
  margin-top: 4px;
}
@media (max-width: 560px) {
  .group-qualification {
    padding: 26px 18px;
  }
  .group-qualification h3 {
    font-size: 38px;
  }
  .qualification-rank {
    font-size: 78px;
  }
  .qualification-stats {
    gap: 6px;
  }
  .qualification-stats div {
    padding: 10px 4px;
  }
  .qualification-stats b {
    font-size: 28px;
  }
}
/* Copa: branco organiza a leitura; azul indica apenas informacao ativa. */
#screen-bracket .eyebrow,
#screen-bracket .match-stage {
  color: var(--ivory);
}
#screen-bracket .match-center {
  border-color: rgba(255, 255, 227, 0.78);
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 227, 0.06), transparent 65%),
    var(--night-2);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
}
#screen-bracket .cup-side {
  border-color: rgba(255, 255, 227, 0.16);
  background: rgba(0, 0, 0, 0.2);
}
#screen-bracket .cup-side h3 {
  color: rgba(255, 255, 227, 0.62);
}
#screen-bracket .fixture.current {
  border-color: rgba(90, 160, 220, 0.55);
  box-shadow: inset 2px 0 0 rgba(90, 160, 220, 0.65);
  color: var(--ivory);
  background: rgba(90, 160, 220, 0.05);
}
#screen-bracket .group-table tr.mine td:first-child {
  color: var(--cup-blue);
}
#screen-bracket .btn {
  border-color: var(--ivory);
  color: var(--ivory);
}
#screen-bracket .btn:hover {
  background: var(--cup-blue);
  border-color: var(--cup-blue);
  color: var(--night);
}
#screen-bracket .champion-banner {
  border-color: var(--ivory);
}
#screen-bracket .champion-banner .display {
  color: var(--ivory);
}
.farewell-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 227, 0.75);
  background: rgba(255, 255, 227, 0.055);
}
.farewell-card h3 {
  font-family: "Bebas Neue";
  font-size: 25px;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--ivory);
}
.farewell-card p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ivory-dim);
  margin: 5px 0 13px;
}
.farewell-xi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.farewell-player {
  display: grid;
  grid-template-columns: 33px 1fr 28px;
  gap: 7px;
  align-items: center;
  padding: 8px 7px;
  border: 1px solid rgba(255, 255, 227, 0.2);
  background: rgba(0, 0, 0, 0.1);
}
.farewell-player .fpos {
  font-family: "Space Mono";
  font-size: 10px;
  color: var(--cup-blue);
}
.farewell-player .fname {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.farewell-player .fov {
  font-family: "Bebas Neue";
  font-size: 20px;
  text-align: right;
  color: var(--ivory);
}
.farewell-player .fteam {
  grid-column: 2 / 4;
  font-size: 10px;
  color: var(--ivory-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 560px) {
  .farewell-xi {
    grid-template-columns: 1fr;
  }
}
.farewell-screen {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--ivory);
  padding: 28px;
  background:
    radial-gradient(ellipse at top, rgba(211, 175, 55, 0.1), transparent 60%),
    var(--night-2);
}
.farewell-screen .farewell-card {
  margin-top: 14px;
}
.farewell-screen .farewell-player.elite {
  border-color: var(--gold);
  box-shadow: inset 3px 0 0 var(--gold);
}
.farewell-screen .farewell-player.elite .fov {
  color: var(--gold-bright);
}
.farewell-screen .final-note {
  font-family: "Space Mono";
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cup-blue);
}
.top-scorer-card {
  border-color: var(--gold);
  background:
    radial-gradient(ellipse at top, rgba(211, 175, 55, 0.18), transparent 65%),
    rgba(211, 175, 55, 0.06);
}
.top-scorer-card h3 {
  color: var(--gold-bright);
}
.top-scorer-card p {
  margin: 6px 0 0;
}
.top-scorer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.top-scorer-row .ts-name {
  font-family: "Bebas Neue";
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--ivory);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-scorer-row .ts-goals {
  font-family: "Bebas Neue";
  font-size: 36px;
  color: var(--gold-bright);
  white-space: nowrap;
  flex: none;
}
.top-scorer-row .ts-goals span {
  font-family: "Space Mono";
  font-size: 10px;
  color: var(--ivory-dim);
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.campaign-history {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 227, 0.3);
  padding-top: 13px;
}
.campaign-history h4 {
  font-family: "Space Mono";
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin: 0 0 8px;
}
.campaign-game {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 227, 0.2);
  border-bottom: 0;
  font-size: 12px;
}
.campaign-game:last-child {
  border-bottom: 1px solid rgba(255, 255, 227, 0.2);
}
.campaign-game .cg-stage {
  font-family: "Space Mono";
  font-size: 9px;
  color: var(--cup-blue);
  display: block;
  margin-bottom: 3px;
}
.campaign-game .cg-score {
  font-family: "Bebas Neue";
  font-size: 25px;
  color: var(--ivory);
  white-space: nowrap;
}
.campaign-game.latest {
  border-left: 3px solid var(--cup-blue);
  background: rgba(211, 175, 55, 0.08);
}

.footnote {
  font-family: "Space Mono";
  font-size: 11px;
  color: var(--ivory-dim);
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ---- Rodape: creditos, links e modal ---- */
.site-footer {
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-links button {
  background: none;
  border: none;
  color: var(--ivory-dim);
  cursor: pointer;
  padding: 4px 0;
  font-family: "Space Mono";
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}
.footer-links button:hover {
  color: var(--gold-bright);
  text-decoration-color: var(--gold-bright);
}
.footer-credit {
  font-family: "Space Mono";
  font-size: 12px;
  color: var(--ivory-dim);
  margin-bottom: 6px;
}
.footer-credit a {
  color: var(--gold-bright);
  text-decoration: none;
}
.footer-credit a:hover {
  text-decoration: underline;
}
.footer-base-note {
  font-family: "Space Mono";
  font-size: 11px;
  color: var(--ivory-dim);
  opacity: 0.7;
}
.footer-base-note a {
  color: var(--gold-bright);
  text-decoration: none;
  opacity: 1;
}
.footer-base-note a:hover {
  text-decoration: underline;
}
.footer-handles {
  font-size: 9px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-backdrop.open {
  display: flex;
}
.modal-box {
  background: var(--night-2);
  border: 1px solid var(--gold);
  max-width: 520px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px 26px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.modal-box h3 {
  margin: 0 0 16px;
  color: var(--gold-bright);
  font-size: 26px;
}
.modal-box p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ivory);
  margin: 0 0 12px;
}
.modal-box p:last-child {
  margin-bottom: 0;
}
.modal-box b {
  color: var(--gold-bright);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  border-radius: 2px;
}
.modal-close:hover {
  color: var(--ivory);
  border-color: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Selecao de velocidade da simulacao ---- */
.speed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 227, 0.18);
}
.speed-label {
  font-family: "Space Mono";
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ivory-dim);
}
.speed-options {
  display: flex;
  gap: 8px;
}
.speed-btn {
  font-family: "Space Mono";
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  padding: 8px 14px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.speed-btn:hover {
  border-color: var(--gold);
  color: var(--ivory);
}
.speed-btn.active {
  border-color: var(--gold-bright);
  background: rgba(211, 175, 55, 0.16);
  color: var(--gold-bright);
  font-weight: 700;
}
.speed-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---- Resultado: vitoria / derrota / empate em destaque ---- */
.outcome-tag {
  text-align: center;
  font-family: "Bebas Neue";
  font-size: 26px;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  margin-bottom: 14px;
  border: 2px solid var(--line);
}
.outcome-tag.outcome-win {
  color: var(--night);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-color: var(--gold-bright);
  box-shadow: 0 6px 18px rgba(211, 175, 55, 0.35);
}
.outcome-tag.outcome-loss {
  color: var(--ivory);
  background: linear-gradient(180deg, #5c2b23, #3a1a15);
  border-color: var(--danger);
  box-shadow: 0 6px 18px rgba(228, 115, 95, 0.22);
}
.outcome-tag.outcome-draw {
  color: var(--ivory);
  background: rgba(255, 255, 227, 0.06);
  border-color: var(--ivory-dim);
}
.narrative-tag {
  text-align: center;
  font-family: "Space Mono";
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: -6px 0 14px;
  animation: narrativeIn 0.4s ease both;
}
@keyframes narrativeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes goalFlashMine {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.28);
    color: var(--gold-bright);
    text-shadow:
      0 0 22px rgba(230, 198, 76, 0.85),
      0 3px 12px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes goalFlashRival {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.14);
    color: var(--danger);
    text-shadow:
      0 0 16px rgba(228, 115, 95, 0.6),
      0 3px 12px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: scale(1);
  }
}
.scoreboard .score.flash-mine {
  animation: goalFlashMine 0.7s ease;
}
.scoreboard .score.flash-rival {
  animation: goalFlashRival 0.7s ease;
}
.goal-event.mine {
  color: var(--gold-bright);
  font-weight: 700;
}
.goal-event.kickoff,
.goal-event.whistle {
  color: var(--ivory-dim);
  font-style: italic;
}
.countdown-overlay {
  text-align: center;
  font-family: "Bebas Neue";
  font-size: 64px;
  color: var(--gold-bright);
  height: 34px;
  line-height: 34px;
  animation: countPulse 0.5s ease;
}
@keyframes countPulse {
  0% {
    transform: scale(1.6);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes slotPop {
  0% {
    transform: scale(0.35);
  }
  55% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}
.slot.just-filled .pin {
  animation: slotPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.match-center.outcome-win-bg {
  border-color: var(--gold-bright);
  border-width: 2px;
  background:
    radial-gradient(ellipse at top, rgba(211, 175, 55, 0.28), transparent 68%),
    var(--night-2);
  box-shadow:
    0 0 0 1px rgba(230, 198, 76, 0.25),
    0 14px 36px rgba(0, 0, 0, 0.35);
}
.match-center.outcome-loss-bg {
  border-color: var(--danger);
  border-width: 2px;
  background:
    radial-gradient(ellipse at top, rgba(228, 115, 95, 0.22), transparent 68%),
    var(--night-2);
  box-shadow:
    0 0 0 1px rgba(228, 115, 95, 0.2),
    0 14px 36px rgba(0, 0, 0, 0.35);
}
.match-center.outcome-draw-bg {
  border-color: var(--ivory-dim);
}
.pen-tag {
  font-family: "Space Mono";
  font-size: 12px;
  color: var(--gold-bright);
}

/* ---- Disputa de penaltis ---- */
.penalty-shootout {
  margin: 18px 0;
  border: 1px solid rgba(211, 175, 55, 0.55);
  background: rgba(211, 175, 55, 0.05);
  padding: 16px;
}
.pen-title {
  font-family: "Space Mono";
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-align: center;
}
.pen-score {
  font-family: "Bebas Neue";
  font-size: 44px;
  text-align: center;
  color: var(--ivory);
  margin: 4px 0 14px;
  line-height: 1;
}
.pen-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pen-round {
  display: grid;
  grid-template-columns: 1fr 26px 1fr;
  align-items: center;
  gap: 8px;
}
.pen-roundno {
  font-family: "Space Mono";
  font-size: 10px;
  color: var(--ivory-dim);
  text-align: center;
}
.pen-kick {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 227, 0.16);
  background: rgba(0, 0, 0, 0.12);
}
.pen-round .pen-kick:first-child {
  justify-content: flex-end;
  text-align: right;
}
.pen-round .pen-kick:last-child {
  justify-content: flex-start;
}
.pen-kick .pen-name {
  font-weight: 600;
}
.pen-kick .pen-icon {
  font-family: "Space Mono";
  font-weight: 700;
  width: 18px;
  text-align: center;
  flex: none;
}
.pen-kick.hit {
  border-color: rgba(31, 168, 90, 0.5);
}
.pen-kick.hit .pen-icon {
  color: var(--verdao-bright);
}
.pen-kick.miss {
  border-color: rgba(228, 115, 95, 0.5);
}
.pen-kick.miss .pen-icon {
  color: var(--danger);
}

/* ---- Disputa de penaltis interativa: uma cobranca por vez ---- */
@keyframes iconPop {
  0% {
    transform: scale(0.3);
  }
  55% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes iconShake {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(2px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-4px);
  }
  40%,
  60% {
    transform: translateX(4px);
  }
}
.pen-live-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}
.pen-live-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 227, 0.16);
  background: rgba(0, 0, 0, 0.14);
  animation: fadeUp 0.35s ease both;
}
.pen-live-row.home {
  border-left: 3px solid var(--gold);
}
.pen-live-row.away {
  border-left: 3px solid var(--ivory-dim);
}
.pen-live-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pen-live-row .pen-live-team {
  font-family: "Space Mono";
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ivory-dim);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pen-live-row .pen-live-name {
  font-weight: 600;
  line-height: 1.25;
}
.pen-live-row .pen-live-icon {
  font-family: "Space Mono";
  font-weight: 700;
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex: none;
}
.pen-live-row.hit {
  border: 2px solid var(--gold-bright);
  box-shadow: 0 0 10px rgba(230, 198, 76, 0.18);
}
.pen-live-row.hit .pen-live-icon {
  color: var(--verdao-bright);
  animation: iconPop 0.35s ease;
}
.pen-live-row.miss {
  background: rgba(228, 115, 95, 0.48);
  border-color: rgba(228, 115, 95, 0.85);
}
.pen-live-row.miss .pen-live-team,
.pen-live-row.miss .pen-live-name {
  color: rgba(255, 255, 227, 0.95);
}
.pen-live-row.miss .pen-live-icon {
  color: #fff;
  animation: iconShake 0.4s ease;
}
.pen-next {
  text-align: center;
  border: 1px dashed rgba(211, 175, 55, 0.5);
  padding: 16px;
  margin-top: 6px;
}
.pen-next-label {
  display: block;
  font-family: "Space Mono";
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  margin-bottom: 6px;
}
.pen-next-name {
  font-family: "Bebas Neue";
  font-size: 26px;
  margin-bottom: 12px;
}
.pen-auto-wait {
  font-family: "Space Mono";
  font-size: 11px;
  color: var(--ivory-dim);
  letter-spacing: 0.08em;
}

/* ---- Campeao / eliminado em destaque ---- */
.champion-banner.is-champion {
  border-color: var(--gold-bright);
  border-width: 2px;
  background: radial-gradient(
    ellipse at center,
    rgba(230, 198, 76, 0.24),
    transparent 72%
  );
  box-shadow:
    0 0 0 1px rgba(230, 198, 76, 0.3),
    0 16px 40px rgba(0, 0, 0, 0.4);
}
.champion-banner.is-champion .eyebrow {
  color: var(--gold-bright);
  font-size: 13px;
}
.champion-banner.is-champion .display {
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(230, 198, 76, 0.5);
}
.champion-banner.is-eliminated {
  border-color: var(--danger);
  border-width: 2px;
  background: radial-gradient(
    ellipse at center,
    rgba(228, 115, 95, 0.18),
    transparent 72%
  );
}
.champion-banner.is-eliminated .eyebrow {
  color: var(--danger);
  font-size: 13px;
}
.champion-banner.is-eliminated .display {
  color: var(--ivory);
}
.farewell-screen {
  border-color: var(--danger);
  border-width: 2px;
  box-shadow:
    0 0 0 1px rgba(228, 115, 95, 0.25),
    0 14px 36px rgba(0, 0, 0, 0.35);
}
.farewell-screen .final-note {
  color: var(--danger);
  font-size: 12px;
}
.farewell-screen.champion-screen {
  border-color: var(--gold-bright);
  background:
    radial-gradient(ellipse at top, rgba(211, 175, 55, 0.16), transparent 60%),
    var(--night-2);
  box-shadow:
    0 0 0 1px rgba(230, 198, 76, 0.3),
    0 16px 40px rgba(0, 0, 0, 0.4);
}
.champion-squad-card {
  border: 2px solid var(--gold-bright);
  background:
    radial-gradient(ellipse at top, rgba(230, 198, 76, 0.14), transparent 65%),
    rgba(255, 255, 227, 0.04);
  box-shadow:
    0 0 0 1px rgba(230, 198, 76, 0.25),
    0 10px 28px rgba(0, 0, 0, 0.35);
}
.champion-squad-card h3 {
  color: var(--gold-bright);
  font-size: 28px;
}
.champion-squad-card .farewell-player.elite {
  border-color: var(--gold-bright);
  box-shadow: inset 3px 0 0 var(--gold-bright);
}
#btnShareChampion {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}
#btnShareChampion:hover {
  background: rgba(230, 198, 76, 0.15);
}
#btnShareChampion:disabled {
  opacity: 0.6;
  cursor: wait;
}
.eliminated-tag {
  text-align: center;
  font-family: "Bebas Neue";
  font-size: 34px;
  letter-spacing: 0.05em;
  color: var(--ivory);
  background: linear-gradient(180deg, #5c2b23, #3a1a15);
  border: 2px solid var(--danger);
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(228, 115, 95, 0.25);
}



/* =========================================
   INTRO DO 11 CAMPEONÍSSIMOS
   ========================================= */

#site-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #06140d;

  animation: introExit 0.9s ease 2.8s forwards;
  pointer-events: none;
}

.intro-content {
  text-align: center;
  opacity: 0;

  animation:
    introContentIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.intro-number {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.8;

  color: var(--gold-bright, #d4af37);

  opacity: 0;
  transform: scale(0.75);

  animation:
    introNumberIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

#site-intro h1 {
  margin: 18px 0 10px;

  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;

  color: #fff;

  opacity: 0;
  transform: translateY(15px);

  animation:
    introTitleIn 0.8s ease 0.65s forwards;
}

.intro-line {
  width: 0;
  height: 3px;

  margin: 0 auto;

  background: var(--gold-bright, #d4af37);

  box-shadow: 0 0 18px rgba(212, 175, 55, 0.7);

  animation:
    introLineIn 0.8s ease 1.25s forwards;
}

#site-intro p {
  margin-top: 18px;

  font-size: 1rem;
  letter-spacing: 0.04em;

  color: rgba(255, 255, 255, 0.75);

  opacity: 0;
  transform: translateY(10px);

  animation:
    introSubtitleIn 0.8s ease 1.5s forwards;
}


/* ANIMAÇÕES */

@keyframes introContentIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes introNumberIn {
  from {
    opacity: 0;
    transform: scale(0.75);
  }

  70% {
    opacity: 1;
    transform: scale(1.06);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introTitleIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introLineIn {
  from {
    width: 0;
  }

  to {
    width: min(320px, 70vw);
  }
}

@keyframes introSubtitleIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introExit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}