/* ==========================================================================
   LOTE 1 "Clube" — Financas, Conquistas, Estadio, Patrocinio
   Composicao e tipografia do mockup aprovado em 13/11/2026; arte, cores e
   tokens do app. Carregada por ultimo (web/index.html) e restrita as quatro
   telas por data-view, entao nenhuma outra tela muda.

   A superficie dos cards nao e mais definida aqui: e a do Painel, em
   styles-painel-v2.css (--surface-glass-*), igual para as 35 telas.
   ========================================================================== */

/* A superficie dos cards agora e a mesma do Painel, definida uma vez em
   styles-painel-v2.css (--surface-glass-*). Aqui ficam so os ajustes do lote. */
/* A pintura aerea do complexo e o unico card que nao leva padding interno. */
.lote-1 .stadium-hero-card { padding-inline: 0 !important }

/* O cabecalho de pagina do lote e o global (.page-heading). Nas Conquistas o
   titulo vive dentro do card, entao ele nao leva fio nem folga externa. */
.lote-1 .ach-head-card .page-heading { flex: 1 1 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border-bottom: 0 !important }
/* O titulo e o botao de informacao nas pontas do card, cada um com a folga do padding. */
.lote-1 .ach-head-card .page-heading > .ach-title-row { flex: 1 1 auto !important; width: 100% !important; justify-content: space-between !important; }

/* ==========================================================================
   FINANCAS
   ========================================================================== */
.lote-1 .finance-amount,
.lote-1 .fin-weekly-figure,
.lote-1 .fin-ledger-line dd,
.lote-1 .fin-ledger-result strong { font-variant-numeric: tabular-nums !important }

.lote-1 .fin-cash .fin-cash-label {
  color: #bbdabd !important;
  font-size: var(--text-xs) !important;
  font-weight: 800 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
}
.lote-1 .fin-cash .finance-amount {
  color: #fff !important;
  font-size: var(--text-2xl) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: -.02em !important;
}
.lote-1 .fin-cash .fin-cash-weekly {
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: var(--text-sm) !important;
  font-weight: 700 !important;
}
.lote-1 .fin-cash .fin-cash-weekly.bad {
  border: 1px solid rgba(255, 142, 155, .35) !important;
  background: rgba(80, 20, 30, .75) !important;
  color: #ff9aa6 !important;
}
.lote-1 .fin-cash .fin-cash-weekly.good {
  border: 1px solid rgba(119, 226, 175, .35) !important;
  background: rgba(20, 60, 40, .72) !important;
  color: #77e2af !important;
}
.lote-1 .fin-cash .fin-glory {
  color: #afc0cb !important;
  font-size: var(--text-md) !important;
  line-height: 1.45 !important;
}
.lote-1 .fin-cash .fin-glory b { color: #d4af37 !important; font-weight: 800 !important }
.lote-1 .fin-spend {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  white-space: nowrap !important;
}

/* Saldo semanal e livro: a barra dourada curta do cabecalho do card. */
.lote-1 .fin-weekly .fin-panel-heading,
.lote-1 .fin-ledger .fin-panel-heading {
  min-height: 0 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border-bottom: 0 !important;
}
.lote-1 .fin-weekly .fin-panel-heading::before,
.lote-1 .fin-ledger .fin-panel-heading::before {
  width: 4px !important;
  height: 18px !important;
  margin-right: 10px !important;
  border-radius: 4px !important;
  background: #d4af37 !important;
}
.lote-1 .fin-weekly .fin-panel-heading h2 { font-size: var(--text-base) !important; font-weight: 800 !important }
.lote-1 .fin-ledger .fin-panel-heading h2 { font-size: var(--text-base) !important; font-weight: 800 !important }
.lote-1 .fin-ledger-note { margin: 0 0 12px !important; color: #afc0cb !important; font-size: var(--text-sm) !important; line-height: 1.4 !important }

/* Caixa: a borda dourada a esquerda e o badge do saldo na mesma linha do rotulo. */
.lote-1 .fin-cash { border-left: 3.5px solid #d4af37 !important; }
.lote-1 .fin-cash .fin-cash-details { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 6px !important; }
.lote-1 .fin-cash .fin-cash-top { display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 14px !important; }
.lote-1 .fin-cash .fin-cash-top .fin-cash-weekly { flex: 0 0 auto !important; }

.lote-1 .fin-weekly-figure {
  margin-bottom: 12px !important;
  font-size: var(--text-xl) !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
}
.lote-1 .fin-weekly-line {
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(130, 178, 154, .12) !important;
}
.lote-1 .fin-weekly-line dt { color: #afc0cb !important; font-size: var(--text-md) !important }
.lote-1 .fin-weekly-line dd { font-size: var(--text-md) !important; font-weight: 700 !important }
.lote-1 .fin-weekly-line:nth-child(3) dt::before { content: none !important }   /* so os salarios levam o ponto rosa */
.lote-1 .fin-positive { color: #77e2af !important }
.lote-1 .fin-negative { color: #ff9aa6 !important }

/* ==========================================================================
   CONQUISTAS
   ========================================================================== */
.lote-1 .ach-head-card { padding: 16px !important }
.lote-1 .ach-info {
  border: 1px solid var(--surface-border) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #77e2af !important;
}

/* Os quatro chips de tier: grade de 4 colunas, a medalha do tier e "13/182" numa linha, 11 px. */
.lote-1 .ach-tiers {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
}
.lote-1 .ach-tier {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  min-height: 36px !important;
  padding: 6px 4px !important;
  border: 1px solid rgba(130, 178, 154, .25) !important;
  border-radius: 8px !important;
  background: rgba(6, 25, 37, .6) !important;
}
.lote-1 .ach-tier b {
  color: #cbd7df !important;
  font-size: var(--text-xs) !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.lote-1 .ach-tier .ach-seal-img, .lote-1 .ach-tier .ach-seal, .lote-1 .ach-tier .ach-seal-art { width: 22px !important; height: 22px !important; flex: none; }
.lote-1 .ach-tier .ach-seal-fallback { font-size: var(--text-xs) !important; }
/* O numero cabe sempre no chip (pedido do dono, 15/11: "19/174" encostava na borda num celular de 412 px): o chip vira
   container e o numero encolhe com a largura dele, de 12 px ate 9 px; em tela estreita a medalha cai para 18 px. */
.lote-1 .ach-tier { --tier-seal: 22px; --tier-gap: 5px; container-type: inline-size; }
.lote-1 .ach-tier b { font-size: clamp(9px, calc((100cqi - var(--tier-seal) - var(--tier-gap)) / 3.4), var(--text-xs)) !important; }
@media (max-width: 420px) {
  .lote-1 .ach-tier { --tier-seal: 18px; --tier-gap: 4px; gap: var(--tier-gap) !important; padding-inline: 3px !important; }
  .lote-1 .ach-tier .ach-seal-img, .lote-1 .ach-tier .ach-seal, .lote-1 .ach-tier .ach-seal-art { width: var(--tier-seal) !important; height: var(--tier-seal) !important; }
}

/* Sala de trofeus vazia */
.lote-1 .trophy-room {
  margin: 12px 0 !important;
  padding: 14px !important;
  border: 1px dashed rgba(130, 178, 154, .35) !important;
  border-radius: 10px !important;
  background: rgba(0, 0, 0, .25) !important;
}
.lote-1 .trophy-room-empty { color: #afc0cb !important; font-size: var(--text-sm) !important; text-align: center !important }

/* Filtros: dois botoes de modo a 44 px e quatro seletores em grade 2x2. */
.lote-1 .ach-toolbar { margin: 12px 0 4px !important; gap: 8px !important }
.lote-1 .ach-filters { flex: 1 1 100% !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important }
.lote-1 .ach-filter { min-height: 44px !important }
.lote-1 .ach-toolbar-pickers { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: none !important; gap: 8px !important; margin: 8px 0 4px !important }
.lote-1 .ach-toolbar-pickers .ach-pick { width: 100% !important; max-width: none !important; min-width: 0 !important }
.lote-1 .ach-toolbar-pickers .ach-pick-button { min-height: 44px !important; padding: 4px 10px !important }

/* Strips: vidro, selo e categoria de 38 px, barra de 6 px e contador legivel. */
.lote-1 .ach-strip { padding: 12px !important; border-radius: 14px !important; column-gap: 10px !important; row-gap: 8px !important }
.lote-1 .ach-strip .ach-seal,
.lote-1 .ach-strip .ach-seal-img,
.lote-1 .ach-strip .ach-seal-art,
.lote-1 .ach-strip .ach-cat-img,
.lote-1 .ach-strip .ach-cat-mark { flex: 0 0 38px !important; width: 38px !important; height: 38px !important }
.lote-1 .ach-strip h3 { font-size: var(--text-base) !important; font-weight: 800 !important }
.lote-1 .ach-text { margin-top: 2px !important; color: #afc0cb !important; font-size: var(--text-sm) !important; line-height: 1.35 !important }
.lote-1 .ach-strip-right { align-items: stretch !important; gap: 4px !important }
.lote-1 .ach-strip-right .ach-bar { width: 100% !important }
.lote-1 .ach-bar {
  height: 6px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, .12) !important;
}
.lote-1 .ach-bar-fill { background: #77e2af !important }
.lote-1 .ach-strip.state-unlocked .ach-bar-fill { background: #d4af37 !important }
.lote-1 .ach-count { color: #cbd7df !important; font-size: var(--text-xs) !important; font-weight: 700 !important; white-space: normal !important }

/* ==========================================================================
   ESTADIO
   ========================================================================== */
/* "Renomear na Loja" e uma secundaria como Reduzir e Ver financas: sem cor nem altura propria (hierarquia de botoes
   em styles/kit.css). Antes esta regra dava a ela um verde proprio e !important, e as tres acoes pareciam botoes
   diferentes (Gabriel, 15/11/2026). */
.lote-1 .stadium-rename {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;   /* a mesma folga de Reduzir e Ver financas */
  white-space: nowrap !important;
}

/* Card de capacidade: a classe existia na view sem nenhuma folha. */
.lote-1 .stadium-capacity-card { padding: 16px !important }
.lote-1 .stadium-capacity-card .stat-header h3 {
  margin: 0 !important;
  color: #bbdabd !important;
  font-size: var(--text-xs) !important;
  font-weight: 800 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
}
.lote-1 .stadium-capacity-card .stadium-summary-primary { align-items: baseline !important; gap: 6px !important }
.lote-1 .stadium-capacity-card .stadium-summary-primary .stat {
  color: #fff !important;
  font-size: var(--text-2xl) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  font-variant-numeric: tabular-nums !important;
}
.lote-1 .stadium-capacity-card .stadium-summary-unit { color: #afc0cb !important; font-size: var(--text-md) !important }
.lote-1 .stadium-capacity-card .stadium-capacity-progress p {
  color: #afc0cb !important;
  font-size: var(--text-sm) !important;
  font-variant-numeric: tabular-nums !important;
}
.lote-1 .stadium-capacity-card .stadium-status { color: #8fa7b7 !important; font-size: var(--text-sm) !important }
.lote-1 .stadium-capacity-card progress {
  height: 7px !important;
  border-radius: 999px !important;
  accent-color: #d4af37 !important;
  background: rgba(255, 255, 255, .12) !important;
}
.lote-1 .stadium-capacity-card progress::-webkit-progress-bar {
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .12) !important;
}
.lote-1 .stadium-capacity-card progress::-webkit-progress-value { border-radius: 999px !important; background: #d4af37 !important }
.lote-1 .stadium-capacity-card progress::-moz-progress-bar { border-radius: 999px !important; background: #d4af37 !important }

/* Alvos de toque dos setores sobre a pintura: 44 x 44 no celular. */
.lote-1 .hotspot.on-image,
.lote-1 .hotspot.bowl.on-image { width: 44px !important; height: 44px !important; }

/* ==========================================================================
   PATROCINIO
   ========================================================================== */
.lote-1 .sponsor-contract h2,
.lote-1 .sponsor-new h2 { color: #fff !important; font-size: var(--text-base) !important; font-weight: 800 !important }
.lote-1 .sponsor-contract .badge.warn {
  display: flex !important;
  width: max-content !important;
  max-width: 100% !important;
  margin-bottom: 8px !important;
  border: 1px solid rgba(255, 202, 112, .45) !important;
  border-radius: 6px !important;
  background: rgba(80, 55, 18, .75) !important;
  color: #ffca70 !important;
}
.lote-1 .sponsor-contract > p { margin-top: 6px !important; color: #afc0cb !important; font-size: var(--text-md) !important; line-height: 1.45 !important }
.lote-1 .sponsor-new { padding-top: 12px !important }
.lote-1 .sponsor-new h2 { margin-top: 2px !important }
.lote-1 .sponsor-new > p.muted { margin-bottom: 8px !important; color: #afc0cb !important; font-size: var(--text-sm) !important; line-height: 1.4 !important }
/* O seletor de marca fica fora de qualquer faixa com rolagem: a rolagem cortava a lista e o botao (17/11/2026). */
/* A view usa um seletor de marca (lista suspensa), nao a fileira de chips do
   mockup: fica numa linha de 44 px, com o nome cortado por reticencias. */
.lote-1 .sponsor-new .sponsor-picker { width: 100% !important; max-width: none !important; min-width: 0 !important; }
.lote-1 .sponsor-new .sponsor-trigger {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 14px !important;
  border-radius: 22px !important;
  font-size: var(--text-md) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}
.lote-1 .sponsor-new .sponsor-trigger > span:not(.sponsor-logo):not(.sponsor-caret) {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.lote-1 .sponsor-new .sponsor-trigger .sponsor-logo { flex: 0 0 34px !important; width: 34px !important; height: 34px !important; }
.lote-1 .sponsor-new .sponsor-trigger { max-height: 44px !important; }

/* Ofertas: cabecalho de 11 px e folga de 18 px entre "Por dia" e Assinar. */
.lote-1 .sponsor-new .offers .dense-table :is(th, td) { padding: 8px 3px !important; font-size: var(--text-xs) !important; }
.lote-1 .sponsor-new .offers .dense-table th { font-size: var(--text-xs) !important; }
.lote-1 .sponsor-new .offers .dense-table th {
  color: #afc0cb !important;
  font-size: var(--text-xs) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  padding-block: 6px !important;
  overflow: visible !important;
}
.lote-1 .sponsor-new .offers .dense-table :is(th, td):nth-child(1) { width: 17% !important; text-align: left !important; padding-left: 4px !important }
.lote-1 .sponsor-new .offers .dense-table :is(th, td):nth-child(2) { width: 32% !important }
.lote-1 .sponsor-new .offers .dense-table :is(th, td):nth-child(3) { width: 32% !important; padding-right: 3px !important }
.lote-1 .sponsor-new .offers .dense-table :is(th, td):nth-child(4) { width: 19% !important; padding-left: 12px !important; text-align: right !important }
.lote-1 .sponsor-new .offers .dense-table tbody td:nth-child(1) { color: #fff !important; font-weight: 700 !important }
.lote-1 .sponsor-new .offers .dense-table tbody td:nth-child(2) { color: #d4af37 !important; font-weight: 700 !important; font-variant-numeric: tabular-nums !important }
.lote-1 .sponsor-new .offers .dense-table tbody td:nth-child(3) { color: #77e2af !important; font-weight: 700 !important; font-variant-numeric: tabular-nums !important }
.lote-1 .sponsor-new .offers .dense-table .btn.primary {
  width: 100% !important;
  min-width: 0 !important;
}

/* Premios de temporada: subtitulos de 11 px em verde, valores tabulares. */
.lote-1 .sponsor-awards .awards-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)) !important; }
.lote-1 .sponsor-awards table.awards-stage-table { table-layout: auto !important; }
.lote-1 .sponsor-awards table.awards-stage-table :is(th, td):nth-child(1) { width: auto !important; }
.lote-1 .sponsor-awards .awards-block h3 {
  color: #77e2af !important;
  font-size: var(--text-xs) !important;
  font-weight: 800 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase !important;
}
.lote-1 .sponsor-awards .awards-stage-table th {
  color: #afc0cb !important;
  font-size: var(--text-xs) !important;
  font-weight: 800 !important;
  letter-spacing: .6px !important;
  text-transform: uppercase !important;
}
.lote-1 .sponsor-awards .awards-stage-table td { color: #fff !important; font-size: var(--text-md) !important; font-weight: 700 !important }
.lote-1 .sponsor-awards .awards-stage-table td.num { font-variant-numeric: tabular-nums !important }

/* ==========================================================================
   MOBILE (360, 390, 415): coluna unica, folgas de 4 em 4, nada abaixo de 11 px
   ========================================================================== */
@media (max-width: 760px) {

  /* Todos os cards do lote com o mesmo padding do cabecalho (16 px); a pintura
     do complexo e a excecao, a arte vai de ponta a ponta. */
  .lote-1 .card:not(.stadium-hero-card) { padding: 16px !important; }

  /* Financas */
  .lote-1 .fin-cash .fin-cash-top { justify-content: space-between !important; gap: 10px !important; }
  .lote-1 .finance-columns { display: flex !important; flex-direction: column !important; gap: 12px !important }
  .lote-1 .finance-columns > :is(.fin-cash, .fin-weekly, .fin-ledger) { padding: 16px !important }
  .lote-1 .fin-cash .fin-cash-side { align-items: stretch !important; gap: 10px !important }
  .lote-1 .fin-cash .fin-glory { text-align: left !important }

  /* Conquistas */
  .lote-1 .ach-head-card { padding: 16px !important }
  .lote-1 .ach-toolbar-pickers { max-width: none !important; grid-template-columns: minmax(0, 1fr) !important }   /* um embaixo do outro: em 2x2 os nomes eram cortados (16/11/2026) */

  /* Estadio */
  .lote-1 .stadium-overview { display: flex !important; flex-direction: column !important; gap: 12px !important }
  .lote-1 .stadium-page-heading { flex-wrap: nowrap !important; order: -2 !important; }   /* o titulo vem antes da pintura (a view poe o hero em order -1) */

  /* Patrocinio */
  .lote-1 .sponsor-top { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important }
}


