*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #0a3d1f;
  --green-2: #0c4a26;
  --gold: #ffd700;
  --gold-soft: rgba(255, 215, 0, 0.4);
  --gold-line: rgba(255, 215, 0, 0.2);
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.6);
  --ink-faint: rgba(255, 255, 255, 0.45);
  --card: rgba(0, 0, 0, 0.25);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.08);
  --danger: #ff6b6b;
  --radius: 12px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

html,
body {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--green);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* ===== Cabeçalho ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(10, 61, 31, 0.9);
  border-bottom: 0.5px solid var(--line);
}

.header__inner {
  width: min(1050px, 100% - 1.5rem);
  margin: 0 auto;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.header__logo {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 1.45rem;
  color: var(--gold);
}

.header__nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.82rem;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.header__nav a:hover {
  border-color: var(--gold-soft);
  color: var(--gold);
}

/* ===== Layout principal ===== */
.main {
  width: min(1050px, 100% - 1.5rem);
  margin: 0 auto;
  padding: 1rem 0 8.5rem;
}

/* Compensa a barra fixa (letreiro) quando presente na página */
.main:has(.ticker) {
  padding-top: 3.4rem;
}

/* ===== Barra fixa estilo letreiro ===== */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 2.6rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #073018, #0c4a26);
  border-bottom: 1px solid var(--gold-soft);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  animation: ticker-scroll 22s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0 1.1rem;
  font-size: 0.9rem;
}

.ticker__label {
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.ticker__valor {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.ticker__item--premio .ticker__valor {
  color: var(--gold);
}

.ticker__sep {
  color: var(--gold-soft);
  font-size: 0.8rem;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
    padding-left: 0;
    justify-content: center;
    width: 100%;
  }
}

.landing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: grid;
  gap: 0.95rem;
  border: 0.5px solid var(--gold-line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: var(--gold);
}

.hero__kicker {
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--green);
  background: var(--gold);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.hero__title {
  margin-top: 0.55rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: clamp(2.6rem, 13vw, 3.6rem);
  line-height: 0.95;
  color: var(--ink);
}

.hero__title-accent {
  color: var(--gold);
}

.hero__subtitle {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  max-width: 30ch;
}

.hero__status {
  margin-top: 0.85rem;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  border: 0.5px solid;
  font-size: 0.84rem;
}

.hero__status--ok {
  background: rgba(255, 215, 0, 0.08);
  border-color: var(--gold-soft);
  color: #fff6cc;
}

.hero__status--off {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.5);
  color: #ffd9d9;
}

.hero__media {
  overflow: hidden;
  border-radius: 10px;
  border: 0.5px solid var(--gold-line);
}

.hero__media img {
  width: 100%;
  height: clamp(180px, 42vw, 320px);
  object-fit: cover;
  display: block;
}

.hero--erro {
  text-align: center;
  padding: 2rem 1.2rem;
}

/* ===== Cartões de seção ===== */
.section-card {
  background: var(--card);
  border: 0.5px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  min-width: 0;
}

.section-card h2,
.section-card h3 {
  color: var(--gold);
}

.section-card h2 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

.section-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  margin-top: 0.6rem;
}

.section-card p,
.section-card li {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.section-card ul {
  /* padding-left: 1.1rem; */
  display: grid;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.section-card strong {
  color: var(--ink);
  font-weight: 600;
}

.section-card__highlight {
  margin-top: 0.75rem;
  border-left: 2px solid var(--gold);
  padding-left: 0.7rem;
}

/* ===== Valores ===== */
.price-grid {
  display: grid;
  gap: 0.6rem;
}

.price-item {
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid var(--gold-line);
  border-radius: 10px;
  padding: 0.9rem;
}

.price-item h3 {
  color: var(--ink);
  margin-bottom: 0.34rem;
}

.price-item__value {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.5px;
  color: var(--gold);
}

.example-box {
  margin-top: 0.7rem;
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px dashed var(--gold-line);
  border-radius: 10px;
  padding: 0.8rem;
}

/* ===== Tabela mata-mata ===== */
.table-wrap {
  margin-top: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.knockout-table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
}

.knockout-table th,
.knockout-table td {
  text-align: left;
  padding: 0.6rem;
  border-bottom: 0.5px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.knockout-table th {
  color: var(--gold);
  background: rgba(0, 0, 0, 0.25);
  font-weight: 600;
}

/* ===== Premiação ===== */
.section-card--money {
  border-color: var(--gold-line);
}

.award-value {
  font-family: "Bebas Neue", sans-serif;
  margin: 0.45rem 0;
  color: var(--gold);
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  letter-spacing: 0.5px;
}

.section-card--final {
  background: linear-gradient(140deg, rgba(255, 215, 0, 0.12), var(--card));
  border-color: var(--gold-soft);
}

/* ===== Ranking ===== */
.rank-gold {
  color: var(--gold);
}

.rank-silver {
  color: #cbd5e1;
}

.rank-bronze {
  color: #b45309;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 10px;
  border: 0.5px solid transparent;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 1.5px;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.btn--primary {
  margin-top: 1rem;
  background: var(--gold);
  color: var(--green);
  font-weight: 700;
}

.btn--primary:hover {
  filter: brightness(1.08);
}

.btn--block {
  width: 100%;
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 0.5px solid var(--gold-soft);
}

.btn--ghost:hover {
  background: rgba(255, 215, 0, 0.08);
}

.btn--perigo {
  background: transparent;
  color: var(--danger);
  border: 0.5px solid rgba(255, 107, 107, 0.5);
}

.btn--perigo:hover {
  background: rgba(255, 107, 107, 0.12);
  border-color: var(--danger);
}

.admin-excluir {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn--sm {
  min-height: 40px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 0 1rem;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== Indicador de etapas ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  list-style: none;
  margin-bottom: 1.1rem;
}

.steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.05rem;
  color: var(--ink-faint);
  position: relative;
  padding-top: 0.2rem;
}

.steps__item::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.steps__item:last-child::before {
  display: none;
}

.steps__item {
  counter-increment: step;
}

.steps__item > span {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.steps__item--ativo {
  color: var(--gold);
}

.steps__item--feito {
  color: #b9f6ca;
}

/* ===== Upload de foto ===== */
.foto-upload {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.foto-upload__preview {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 0.5px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto-upload__placeholder {
  font-size: 1.6rem;
  opacity: 0.5;
}

.foto-upload__acoes {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.foto-upload__acoes .btn {
  cursor: pointer;
}

/* ===== Contador de cartelas ===== */
.contador {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0.6rem 0;
}

.contador__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0.5px solid var(--gold-soft);
  background: rgba(0, 0, 0, 0.25);
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.contador__btn:hover {
  filter: brightness(1.15);
}

.contador__btn:active {
  transform: scale(0.94);
}

.contador__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.contador__valor {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.contador__valor span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
}

.contador__valor small {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Resumo de valores ===== */
.resumo {
  display: grid;
  gap: 0.55rem;
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.resumo--destaque {
  border-color: var(--gold-soft);
}

.resumo__linha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.resumo__linha--total {
  border-top: 0.5px solid var(--line);
  padding-top: 0.6rem;
  margin-top: 0.2rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

.valor-grande {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.9rem;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.bloco-titulo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: 0.4rem;
}

/* Espaçamento vertical entre as seções da tela de cadastro concluído */
.auth__card--fluxo {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth__card--fluxo .auth__lead,
.auth__card--fluxo .bloco-titulo {
  margin-top: 0;
}

.auth__card--fluxo .bloco-titulo {
  margin-bottom: -0.6rem;
}

/* ===== Tela de sucesso ===== */
.sucesso {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.sucesso__icone {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

/* ===== Cartão Pix ===== */
.pix-card {
  width: 100%;
  text-align: left;
  display: grid;
  gap: 0.2rem;
  background: rgba(0, 0, 0, 0.3);
  border: 0.5px solid var(--gold-soft);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.pix-card:hover {
  background: rgba(255, 215, 0, 0.06);
}

.pix-card--copiado {
  border-color: #b9f6ca;
}

.pix-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-faint);
}

.pix-card__chave {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--gold);
}

.pix-card__nome {
  font-weight: 600;
}

.pix-card__banco {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.pix-card__copiar {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

/* ===== Cartão WhatsApp ===== */
.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(37, 211, 102, 0.12);
  border: 0.5px solid rgba(37, 211, 102, 0.5);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s ease;
}

.whatsapp-card:hover {
  background: rgba(37, 211, 102, 0.2);
}

.whatsapp-card__icone {
  font-size: 1.5rem;
}

.whatsapp-card__texto {
  display: grid;
  flex: 1;
}

.whatsapp-card__texto span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.whatsapp-card__seta {
  color: #25d366;
  font-size: 1.3rem;
}

/* ===== Painel logado ===== */
.hero--painel {
  padding: 1.2rem;
}

.painel-resumo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.4rem;
  justify-content: space-between;
}

.painel-perfil {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  max-width: 45%;
}

.painel-perfil__foto {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.painel-perfil__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.painel-perfil__inicial {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  color: var(--gold);
}

.painel-perfil__texto {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

.painel-perfil__ola {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.painel-perfil__nome {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  line-height: 1.05;
  color: var(--ink);
}

.badge {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  line-height: 1.2;
}

.badge--pendente {
  background: rgba(255, 215, 0, 0.14);
  color: var(--gold);
  border: 0.5px solid var(--gold-soft);
}

.painel-cartelas {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    /* flex: 1; */
}

.painel-cartelas__item {
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid var(--line);
  border-radius: 9px;
  padding: 0.4rem 0.7rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.painel-cartelas__num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1;
}

.painel-cartelas__label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
}

.alert--aviso {
  margin-top: 0.9rem;
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold-soft);
  color: #fff6cc;
}

.alert__link {
  display: inline-block;
  margin-top: 0.3rem;
  color: var(--gold);
  font-weight: 600;
}


/* ===== Páginas de autenticação ===== */
.auth {
  display: grid;
  gap: 0.85rem;
  max-width: 460px;
  margin: 0 auto;
}

.auth__back {
  width: fit-content;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.auth__back:hover {
  color: var(--gold);
}

.auth__title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 9vw, 2.8rem);
  letter-spacing: 1px;
  color: var(--ink);
}

.auth__lead {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.auth__alt {
  margin-top: 1rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.auth__alt a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

/* ===== Alertas ===== */
.alert {
  margin-top: 0.9rem;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  border: 0.5px solid;
  font-size: 0.88rem;
}

.alert--erro {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.5);
  color: #ffd9d9;
}

.alert ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.2rem;
}

/* ===== Formulário ===== */
.form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.3px;
}

.field__input {
  width: 100%;
  min-height: 50px;
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  padding: 0 0.85rem;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field__input::placeholder {
  color: var(--ink-faint);
}

.field__input:focus {
  outline: none;
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.field__pass {
  position: relative;
}

.field__pass .field__input {
  padding-right: 3rem;
}

.field__toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.05rem;
  opacity: 0.55;
}

.field__toggle--ativo,
.field__toggle:hover {
  opacity: 1;
}

.field__hint {
  font-size: 0.8rem;
  min-height: 1rem;
  color: var(--ink-faint);
}

.field__hint--ok {
  color: #b9f6ca;
}

.field__hint--erro {
  color: #ffb4b4;
}

/* ===== intl-tel-input (tema escuro) ===== */
.iti {
  width: 100%;
}

.iti__flag-container {
  border-radius: 10px 0 0 10px;
}

.field__input--tel {
  padding-left: 3.6rem;
}

.iti--separate-dial-code .field__input--tel {
  padding-left: 5.4rem;
}

.iti__selected-flag {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px 0 0 10px;
  padding: 0 0.5rem 0 0.7rem;
}

.iti--separate-dial-code .iti__selected-dial-code {
  color: var(--ink);
  font-family: "Inter", sans-serif;
}

.iti__country-list.iti__country-list {
  background: #0c4a26;
  border: 0.5px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: absolute;
  z-index: 100;
  max-height: 230px;
  overflow-y: auto;
}

/* Fallback: garante que a lista fique oculta mesmo se o CSS da CDN não carregar. */
.iti__country-list.iti__hide {
  display: none !important;
}

.iti__country.iti__highlight {
  background: rgba(255, 215, 0, 0.16);
}

.iti__country-list .iti__country-name {
  color: var(--ink);
}

.iti__country-list .iti__dial-code {
  color: var(--ink-soft);
}

.iti__divider {
  border-bottom: 0.5px solid var(--line);
}

/* ===== Ações fixas inferiores ===== */
.bottom-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(8, 48, 25, 0.96);
  border-top: 0.5px solid var(--line);
  backdrop-filter: blur(10px);
}

.action-btn {
  min-height: 54px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1.5px;
  font-size: 1.15rem;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.action-btn:active {
  transform: scale(0.98);
}

.action-btn--join {
  color: var(--green);
  background: var(--gold);
  border: none;
  font-weight: 700;
}

.action-btn--join:hover {
  filter: brightness(1.08);
}

.action-btn--login {
  color: var(--gold);
  background: transparent;
  border: 0.5px solid var(--gold-soft);
}

.action-btn--login:hover {
  background: rgba(255, 215, 0, 0.08);
}

/* ===== Rodapé ===== */
.footer {
  width: min(1050px, 100% - 1.5rem);
  margin: 0 auto;
  color: var(--ink-faint);
  text-align: center;
  padding: 0.8rem 0 1.2rem;
  font-size: 0.8rem;
}

/* ===== Desktop ===== */
@media (min-width: 820px) {
  .main {
    padding-bottom: 9rem;
  }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 1.5rem;
  }

  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bottom-actions {
    left: 50%;
    transform: translateX(-50%);
    width: min(840px, calc(100% - 2rem));
    border-radius: 14px 14px 0 0;
  }
}

/* ===== Painel administrativo ===== */
.admin-lista {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.admin-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem;
}

.admin-item__info {
  display: grid;
  gap: 0.2rem;
}

.admin-item__nome {
  font-weight: 600;
  color: var(--ink);
}

.admin-item__sub {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.admin-item__sub strong {
  color: var(--gold);
}

.admin-item__acao {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.admin-item__campo {
  flex: 1;
  min-height: 44px;
}

.admin-item__acao .btn {
  margin-top: 0;
  white-space: nowrap;
}

.admin-vazio {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@media (min-width: 560px) {
  .admin-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .admin-item__acao {
    flex: 0 0 auto;
    min-width: 280px;
  }
}

/* ===== Lista de jogos (admin) ===== */
.jogos-lista {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.jogo-card {
  width: 100%;
  text-align: left;
  display: grid;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.1s ease;
}

.jogo-card:hover {
  border-color: var(--gold-soft);
  background: rgba(255, 215, 0, 0.06);
}

.jogo-card:active {
  transform: scale(0.99);
}

.jogo-card__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.jogo-card__num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.jogo-card__fase {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  text-align: right;
}

.jogo-card__times {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
}

.jogo-card__time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.jogo-card__time--dir {
  justify-content: flex-end;
  text-align: right;
}

.jogo-card__bandeira {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex: 0 0 auto;
}

.jogo-card__placar {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 1px;
  min-width: 2.4rem;
  text-align: center;
}

.jogo-card__data {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ===== Modal ===== */
body.modal-aberto {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
}

.modal[hidden] {
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: #0c4a26;
  border: 0.5px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  animation: modal-sobe 0.22s ease;
}

@keyframes modal-sobe {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal__cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.modal__titulo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--ink);
}

.modal__fechar {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.3rem;
}

.modal__fechar:hover {
  color: var(--gold);
}

.modal__acoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.modal__acoes .btn {
  margin-top: 0;
  width: 100%;
}

.field-linha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.check-linha {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
}

.check-linha input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

@media (min-width: 560px) {
  .modal__box {
    padding: 1.4rem;
  }
}

/* ===== Painel do participante ===== */
.painel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.painel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--line);
}

.painel-topbar__logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: var(--gold);
}

.painel-topbar__sair {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border: 0.5px solid var(--line);
  border-radius: 8px;
  padding: 5px 12px;
}

.painel-topbar__sair:hover {
  color: var(--gold);
  border-color: var(--gold-soft);
}

.painel-topbar__voltar {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.painel-topbar__voltar:hover {
  color: var(--gold);
}

.ver-mais {
  display: block;
  margin-top: 4px;
  text-align: center;
  background: rgba(255, 215, 0, 0.08);
  border: 0.5px solid rgba(255, 215, 0, 0.25);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.ver-mais:hover {
  background: rgba(255, 215, 0, 0.14);
}

.pcard {
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid rgba(255, 215, 0, 0.15);
  border-radius: 12px;
  padding: 14px;
}

.usuario-linha {
  display: flex;
  align-items: center;
  gap: 12px;
}

.usuario-foto {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  color: var(--gold);
}

.usuario-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usuario-info {
  flex: 1;
  min-width: 0;
}

.usuario-ola {
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.usuario-nome {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  line-height: 1.05;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.usuario-scores {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.score-pill {
  background: rgba(0, 0, 0, 0.3);
  border: 0.5px solid rgba(255, 215, 0, 0.25);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 58px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.score-pill__val {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  color: var(--gold);
  line-height: 1;
}

.score-pill__lbl {
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cartela-seletor {
  position: relative;
  margin-top: 10px;
}

.cartela-seletor__select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(0, 0, 0, 0.2);
  border: 0.5px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 9px 32px 9px 12px;
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.cartela-seletor__select:focus {
  outline: none;
  border-color: var(--gold-soft);
}

.cartela-seletor__seta {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  color: rgba(255, 215, 0, 0.6);
  pointer-events: none;
}

.cartela-comprar {
  display: block;
  margin-top: 10px;
  text-align: center;
  background: rgba(255, 215, 0, 0.08);
  border: 0.5px solid rgba(255, 215, 0, 0.25);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.cartela-comprar:hover {
  background: rgba(255, 215, 0, 0.14);
}

.prize-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.prize-card {
  background: rgba(0, 0, 0, 0.35);
  border: 0.5px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.prize-card__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.prize-card__val {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 2px;
}

.prize-card__lbl {
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.psection {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.psection__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.psection__title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--gold);
}

.jcard {
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

.jcard--click {
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.1s ease;
}

.jcard--click:hover {
  border-color: var(--gold-soft);
  background: rgba(255, 215, 0, 0.06);
}

.jcard--click:active {
  transform: scale(0.99);
}

.jcard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.tag {
  font-size: 0.56rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.tag--aberto {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 0.5px solid rgba(74, 222, 128, 0.3);
}

.tag--fechado {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
  border: 0.5px solid var(--line);
}

.jcard__times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.jteam {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}

.jteam--dir {
  flex-direction: row-reverse;
  text-align: right;
}

.jflag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.jvs {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3);
  padding: 0 4px;
  flex-shrink: 0;
}

.jcard__time {
  font-size: 0.64rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 8px;
}

.jcard__palpite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid rgba(255, 215, 0, 0.1);
}

.jpalpite-lbl {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jpalpite-score {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.jpalpite-score--vazio {
  color: rgba(255, 215, 0, 0.3);
}

.jresultado {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}

.jresultado__placar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jresultado__num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: var(--ink);
}

.jresultado__sep {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.3);
}

.jcard__rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid var(--line);
}

.jpalpite-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.jpalpite-mini-lbl {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jpalpite-mini-val {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.9rem;
  color: var(--gold);
}

.jpts {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.jpts span {
  color: var(--gold);
}

.jbadge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.jbadge--perfeito {
  background: rgba(56, 130, 246, 0.18);
  color: #60a5fa;
  border: 0.5px solid rgba(96, 165, 250, 0.4);
}

.jbadge--acertou {
  background: rgba(39, 160, 65, 0.2);
  color: #4ade80;
  border: 0.5px solid rgba(74, 222, 128, 0.3);
}

.jbadge--errou {
  background: rgba(255, 107, 107, 0.15);
  color: #ff9b9b;
  border: 0.5px solid rgba(255, 107, 107, 0.3);
}

.rank-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
}

.rank-item--voce {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.05);
}

.rank-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  font-family: "Bebas Neue", sans-serif;
  color: var(--gold);
}

.rank-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: #1a5c2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}

.rank-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-nome {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.rank-cartela {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 215, 0, 0.7);
}

.rank-voce {
  font-size: 0.66rem;
  font-weight: 400;
  color: rgba(255, 215, 0, 0.5);
}

.rank-pts-bloco {
  text-align: right;
  flex-shrink: 0;
}

.rank-pts {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.rank-pts-lbl {
  font-size: 0.56rem;
  color: rgba(255, 215, 0, 0.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Modal de palpite */
.palpite-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 10px;
  margin: 0.5rem 0 0.3rem;
}

.palpite-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.palpite-flag {
  width: 40px;
  height: 28px;
  object-fit: cover;
  border-radius: 3px;
}

.palpite-nome {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.15;
}

.palpite-gols {
  width: 64px;
  height: 56px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border: 0.5px solid var(--gold-soft);
  border-radius: 10px;
  color: var(--gold);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
}

.palpite-gols:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.palpite-x {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.3);
  align-self: center;
  padding-top: 30px;
}

/* ===== Link "Ver completo" no cabeçalho de seção ===== */
.ver-mais-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 215, 0, 0.7);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.ver-mais-link:hover {
  color: var(--gold);
}

/* ===== Página de ranking completo ===== */
.ranking-topo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ranking-titulo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--gold);
  line-height: 1;
}

.ranking-subtitulo {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.rank-lista--completa {
  gap: 6px;
}

.rank-item--link {
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.1s ease;
}

.rank-item--link:hover {
  border-color: var(--gold-soft);
  background: rgba(255, 215, 0, 0.06);
}

.rank-item--link:active {
  transform: scale(0.99);
}

.rank-pos {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.rank-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}

.rank-nome-bloco {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rank-cartela-label {
  font-size: 0.66rem;
  font-weight: 500;
  color: rgba(255, 215, 0, 0.6);
}

.rank-seta {
  font-size: 1.1rem;
  color: var(--ink-faint);
  flex-shrink: 0;
}

/* ===== Página de perfil ===== */
.perfil-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.perfil-linha {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.perfil-foto {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--gold);
}

.perfil-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.perfil-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.perfil-nome-completo {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.perfil-apelido {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: var(--ink);
  line-height: 1.05;
}

.perfil-apelido--pendente {
  color: rgba(255, 255, 255, 0.55);
}

.perfil-ranking-destaque {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.perfil-ranking-pos {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}

.perfil-ranking-lbl {
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Botão "Ver detalhes" nos cards de jogo ===== */
.jcard__ver-jogo {
  display: block;
  margin-top: 8px;
  padding: 7px 12px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 215, 0, 0.07);
  border: 0.5px solid rgba(255, 215, 0, 0.2);
  color: rgba(255, 215, 0, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.jcard__ver-jogo:hover {
  background: rgba(255, 215, 0, 0.14);
  color: var(--gold);
}

/* ===== Página de detalhe do jogo ===== */
.jogo-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jcard__times--grande {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.jteam--grande {
  font-size: 1rem;
  font-weight: 700;
}

.jflag--grande {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
}

.jvs--grande {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.3);
  padding: 0 8px;
  flex-shrink: 0;
}

.jresultado--grande {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.jresultado__placar--grande {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.jresultado__placar--grande .jresultado__num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  min-width: 1.4rem;
  text-align: center;
}

.jresultado__placar--grande .jresultado__sep {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: var(--ink-soft);
}

.jogo-pontos-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

.jogo-pontos-info strong {
  color: var(--gold);
}

.jogo-pontos-info__sep {
  color: var(--line);
}

/* ===== Palpite do próprio usuário ===== */
.jogo-meu-palpite {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid rgba(255, 215, 0, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
}

.jogo-meu-palpite__cartela {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 215, 0, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.jogo-meu-palpite__score {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}

.jogo-meu-palpite__score--vazio {
  color: var(--ink-faint);
}

.jogo-meu-palpite__lbl {
  font-size: 0.78rem;
  color: var(--ink-soft);
  flex: 1;
}

/* ===== Sub-label na seção header ===== */
.psection__sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

/* ===== Grupos de palpites (time1 / empate / time2) ===== */
.jogo-grupo {
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid var(--line);
}

.jogo-grupo__cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  gap: 8px;
}

.jogo-grupo__titulo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.jogo-grupo__qtd {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.3);
}

.jogo-grupo--time1 {
  border-color: rgba(96, 165, 250, 0.35);
}

.jogo-grupo--time1 .jogo-grupo__cabecalho {
  background: rgba(96, 165, 250, 0.1);
}

.jogo-grupo--time1 .jogo-grupo__titulo {
  color: #93c5fd;
}

.jogo-grupo--empate {
  border-color: rgba(255, 215, 0, 0.3);
}

.jogo-grupo--empate .jogo-grupo__cabecalho {
  background: rgba(255, 215, 0, 0.07);
}

.jogo-grupo--empate .jogo-grupo__titulo {
  color: var(--gold);
}

.jogo-grupo--time2 {
  border-color: rgba(248, 113, 113, 0.35);
}

.jogo-grupo--time2 .jogo-grupo__cabecalho {
  background: rgba(248, 113, 113, 0.1);
}

.jogo-grupo--time2 .jogo-grupo__titulo {
  color: #fca5a5;
}

/* ===== Item de palpite dentro dos grupos ===== */
.jogo-palpite-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 0.5px solid var(--line-soft);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s ease;
}

.jogo-palpite-item:hover {
  background: rgba(255, 215, 0, 0.05);
}

.jogo-palpite-item--voce {
  background: rgba(255, 215, 0, 0.05);
}

.jogo-palpite-item__score {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.jogo-palpite-item__pts {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.8rem;
  color: #4ade80;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

/* ===== Subgrupo Perfeito dentro do grupo correto ===== */
.jogo-subgrupo-perfeito {
  margin: 8px;
  border: 1.5px solid rgba(96, 165, 250, 0.55);
  border-radius: 8px;
  overflow: hidden;
}

.jogo-subgrupo-perfeito__header {
  background: rgba(96, 165, 250, 0.1);
  color: #93c5fd;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-bottom: 0.5px solid rgba(96, 165, 250, 0.3);
}

.jogo-subgrupo-perfeito .jogo-palpite-item {
  border-top: 0.5px solid rgba(96, 165, 250, 0.2);
}

.jogo-subgrupo-perfeito .jogo-palpite-item:first-of-type {
  border-top: none;
}

.jogo-palpite-item--perfeito {
  background: rgba(96, 165, 250, 0.05);
}

.jogo-palpite-item--perfeito:hover {
  background: rgba(96, 165, 250, 0.1);
}

/* ===== Formulário inline de palpite na página do jogo ===== */
.jogo-form-palpite {
  background: rgba(0, 0, 0, 0.25);
  border: 0.5px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  padding: 14px;
}

.jogo-form-palpite__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jogo-form-palpite__times {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.jogo-form-palpite__time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.jogo-form-palpite__time--dir {
  align-items: center;
  flex-direction: column;
}

.jogo-form-palpite__nome {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.2;
}

.jogo-form-palpite__input {
  width: 70px;
  height: 58px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border: 0.5px solid var(--gold-soft);
  border-radius: 10px;
  color: var(--gold);
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  -moz-appearance: textfield;
}

.jogo-form-palpite__input::-webkit-outer-spin-button,
.jogo-form-palpite__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.jogo-form-palpite__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.jogo-form-palpite__x {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  align-self: flex-end;
  padding-bottom: 12px;
}

.jogo-form-palpite__btn {
  width: 100%;
  min-height: 46px;
  border-radius: 9px;
  border: none;
  background: var(--gold);
  color: var(--green);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.jogo-form-palpite__btn:hover {
  filter: brightness(1.08);
}

.jogo-form-palpite__btn:active {
  transform: scale(0.98);
}

/* ===== Lista "Sem palpite" (somente admin) ===== */
.jogo-sem-palpite-lista {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jogo-sem-palpite-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(255, 107, 107, 0.07);
  border: 0.5px solid rgba(255, 107, 107, 0.25);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s ease;
}

.jogo-sem-palpite-item:hover {
  background: rgba(255, 107, 107, 0.14);
}

.jogo-sem-palpite__seta {
  font-size: 1.1rem;
  color: var(--ink-faint);
  flex-shrink: 0;
  margin-left: auto;
}

/* ===== pcard como link (seção do usuário no painel) ===== */
a.pcard--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease;
}

a.pcard--link:hover {
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.04);
}

/* ===== Botão EDITAR no card de perfil ===== */
.perfil-card {
  position: relative;
}

.perfil-edit-btn {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  text-decoration: none;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.perfil-edit-btn:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold);
}

/* ===== Página editar perfil ===== */
.edit-perfil-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edit-perfil-titulo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin: 0;
}

.edit-perfil-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edit-perfil-foto-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.edit-perfil-foto {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  color: var(--gold);
}

.edit-perfil-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edit-perfil-foto-acoes {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
