/* Terrão de Ouro — identidade: lousa de vestiário, papel de súmula, terra batida e tinta de placar. */
:root {
  --lousa: #14251c;
  --lousa2: #1d3527;
  --lousa3: #284633;
  --giz: #f3ecd9;
  --giz2: #b9c4b3;
  --papel: #f6efdc;
  --papel2: #ebe0c2;
  --tinta: #1f2a22;
  --tinta2: #566058;
  --terrao: #c4532a;
  --terrao2: #9c3d1b;
  --ouro: #f0b429;
  --grama: #2f8f5b;
  --grama2: #257449;
  --perigo: #b3261e;
  --linha: rgba(31, 42, 34, .15);
  --raio: 14px;
  --titulo: "Bahnschrift", "Roboto Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --texto: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--texto);
  font-size: 15px;
  line-height: 1.4;
  color: var(--giz);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 44px, transparent 44px 88px),
    radial-gradient(1200px 600px at 50% -10%, #23422f 0%, var(--lousa) 60%);
  background-color: var(--lousa);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: not-allowed; opacity: .5; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
small { font-size: 12px; }

.app { max-width: 560px; margin: 0 auto; min-height: 100vh; padding: 0 12px calc(86px + env(safe-area-inset-bottom)); }
.app.sem-abas { padding-bottom: 28px; }

/* ---------- tipografia ---------- */
.tit, .cartao h2, .topo b, .rotulo, .botao, .abas button, .placar, th {
  font-family: var(--titulo); font-stretch: condensed; letter-spacing: .03em;
}
.rotulo { text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--tinta2); letter-spacing: .08em; }
.claro .rotulo, .rotulo.claro { color: var(--giz2); }

/* ---------- topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 -12px 12px; padding: 10px 12px;
  background: rgba(20, 37, 28, .94); backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ouro);
}
.topo-clube { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topo-clube div { min-width: 0; }
.topo b { display: block; font-size: 18px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topo small { color: var(--giz2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caixa-chip {
  flex: none; font-family: var(--titulo); font-weight: 700; font-size: 16px; padding: 6px 10px; border-radius: 999px;
  background: var(--ouro); color: #2a1e00; font-variant-numeric: tabular-nums;
}
.caixa-chip.neg { background: var(--perigo); color: #fff; }
.escudo { flex: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }

/* ---------- cartões ---------- */
.cartao {
  background: var(--papel); color: var(--tinta); border-radius: var(--raio); padding: 14px;
  margin-bottom: 12px; box-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 10px 22px -12px rgba(0, 0, 0, .6);
  position: relative;
}
.cartao h2 { font-size: 18px; text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cartao h2 small { font-family: var(--texto); text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--tinta2); }
.cartao.lousa { background: var(--lousa2); color: var(--giz); border: 1px dashed rgba(243, 236, 217, .25); box-shadow: none; }
.cartao.lousa .rotulo { color: var(--giz2); }
.cartao.aviso { background: #fbe3c4; border-left: 6px solid var(--terrao); }
.sub { color: var(--tinta2); font-size: 13px; }
.lousa .sub { color: var(--giz2); }
.linha-sep { border: 0; border-top: 1px dashed var(--linha); margin: 10px 0; }

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 12px; font-size: 16px; font-weight: 700; text-transform: uppercase;
  background: var(--papel2); color: var(--tinta); border: 2px solid var(--tinta); box-shadow: 0 3px 0 var(--tinta);
  transition: transform .06s, box-shadow .06s;
}
.botao:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--tinta); }
.botao.primario { background: var(--terrao); color: #fff; border-color: #5a2410; box-shadow: 0 3px 0 #5a2410; }
.botao.verde { background: var(--grama); color: #fff; border-color: #12432a; box-shadow: 0 3px 0 #12432a; }
.botao.ouro { background: var(--ouro); color: #2a1e00; border-color: #6b4c00; box-shadow: 0 3px 0 #6b4c00; }
.botao.perigo { background: #fff; color: var(--perigo); border-color: var(--perigo); box-shadow: 0 3px 0 var(--perigo); }
.botao.fantasma { background: transparent; box-shadow: none; border-color: currentColor; }
.botao.grande { width: 100%; min-height: 54px; font-size: 19px; }
.botao.bloco { width: 100%; }
.botao.mini { min-height: 36px; padding: 6px 10px; font-size: 13px; border-radius: 10px; box-shadow: 0 2px 0 var(--tinta); }
.botao.mini.primario { box-shadow: 0 2px 0 #5a2410; }
.botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.botoes > .botao { flex: 1 1 auto; }
.pilha { display: grid; gap: 10px; }

.seg { display: flex; border: 2px solid var(--tinta); border-radius: 12px; overflow: hidden; background: var(--papel2); }
.seg button { flex: 1; min-height: 40px; padding: 6px 4px; font-family: var(--titulo); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--tinta); }
.seg button + button { border-left: 2px solid var(--tinta); }
.seg button.on { background: var(--tinta); color: var(--papel); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; min-height: 38px; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--tinta); font-family: var(--titulo); font-weight: 700; font-size: 14px; color: var(--tinta); background: transparent; }
.chips button.on { background: var(--tinta); color: var(--papel); }
.lousa .chips button, .chips.claro button { border-color: var(--giz2); color: var(--giz); }
.lousa .chips button.on, .chips.claro button.on { background: var(--giz); color: var(--lousa); border-color: var(--giz); }

/* ---------- abas ---------- */
.abas {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; justify-content: center; background: #0e1b14; border-top: 2px solid var(--lousa3);
  padding-bottom: env(safe-area-inset-bottom);
}
.abas-dentro { display: flex; width: 100%; max-width: 560px; }
.abas button { flex: 1; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--giz2); position: relative; }
.abas button span { font-size: 20px; line-height: 1; filter: grayscale(.6); }
.abas button.on { color: var(--ouro); }
.abas button.on span { filter: none; }
.abas button.on::before { content: ""; position: absolute; top: -2px; left: 18%; right: 18%; height: 3px; background: var(--ouro); border-radius: 0 0 3px 3px; }
.abas .ponto { position: absolute; top: 8px; right: 22%; width: 9px; height: 9px; border-radius: 50%; background: var(--terrao); border: 2px solid #0e1b14; }

/* ---------- confronto ---------- */
.confronto { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; margin: 12px 0; text-align: center; }
.confronto .lado { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.confronto .lado b { font-family: var(--titulo); font-size: 16px; text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
.confronto .lado small { color: var(--tinta2); }
.confronto .x { font-family: var(--titulo); font-size: 26px; font-weight: 700; color: var(--terrao); padding-top: 14px; }
.forma { display: inline-flex; gap: 3px; vertical-align: middle; }
.forma i { font-style: normal; font-size: 10px; font-weight: 700; width: 16px; height: 16px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.f-V { background: var(--grama); } .f-E { background: #8a8f86; } .f-D { background: var(--perigo); } .forma i.f-n { background: transparent; color: var(--tinta2); width: auto; font-weight: 400; font-size: 12px; }

/* ---------- medidores ---------- */
.medidores { display: grid; gap: 10px; }
.medidor { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 8px; font-size: 13px; }
.medidor b { font-family: var(--titulo); text-transform: uppercase; letter-spacing: .04em; }
.medidor em { font-style: normal; color: var(--tinta2); min-width: 74px; text-align: right; }
.lousa .medidor em { color: var(--giz2); }
.barra { display: block; height: 10px; border-radius: 999px; background: rgba(31, 42, 34, .16); overflow: hidden; }
.lousa .barra { background: rgba(243, 236, 217, .18); }
.barra i { display: block; height: 100%; border-radius: 999px; background: var(--grama); }
.barra.med i { background: #d99a1c; } .barra.ruim i { background: var(--perigo); } .barra.ouro i { background: var(--ouro); }
.barra.fina { height: 6px; }

/* ---------- mural ---------- */
.mural { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mural li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; font-size: 13.5px; }
.mural li span { font-family: var(--titulo); font-weight: 700; font-size: 12px; color: var(--giz2); padding-top: 1px; }

/* ---------- campinho ---------- */
.campinho {
  border-radius: 12px; padding: 10px 4px; display: grid; gap: 8px; position: relative; overflow: hidden;
  background: repeating-linear-gradient(0deg, #2f8f5b 0 34px, #2b8554 34px 68px);
  border: 3px solid #f3ecd9; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}
.campinho::before { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 2px solid rgba(243, 236, 217, .5); border-radius: 50%; }
.campinho::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid rgba(243, 236, 217, .5); }
.campinho .fila { display: flex; justify-content: space-around; position: relative; z-index: 1; }
.ficha { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 62px; min-height: 52px; }
.ficha .camisa { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--titulo); font-weight: 700; font-size: 15px; border: 2px solid #1b1b18; box-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.ficha small { font-size: 11px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); max-width: 62px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.ficha.vazia .camisa { background: transparent; border: 2px dashed #f3ecd9; color: #f3ecd9; box-shadow: none; }
.ficha.improv .camisa { outline: 3px solid var(--ouro); }
.ficha.cansado small::after { content: " 🥵"; }

/* ---------- jogadores ---------- */
.pos { flex: none; width: 36px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--titulo); font-weight: 700; font-size: 12px; color: #fff; letter-spacing: .04em; }
.pos-GOL { background: #d99a1c; color: #2a1e00; } .pos-DEF { background: #2f6f9f; } .pos-MEI { background: var(--grama2); } .pos-ATA { background: var(--terrao); }
.grupo-pos { font-family: var(--titulo); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--tinta2); margin: 12px 0 2px; }
.jog-linha { display: flex; align-items: stretch; gap: 6px; border-bottom: 1px dashed var(--linha); }
.jog-linha:last-child { border-bottom: 0; }
.jog-info { flex: 1; min-width: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr) 30px 52px; align-items: center; gap: 8px; padding: 8px 0; text-align: left; min-height: 52px; }
.jog-nome { min-width: 0; }
.jog-nome b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.jog-nome small { display: block; color: var(--tinta2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jog-forca { font-family: var(--titulo); font-weight: 700; font-size: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.jog-med { display: grid; gap: 3px; font-size: 12px; text-align: center; }
.jog-linha.indisp .jog-nome b, .jog-linha.indisp .jog-forca { opacity: .5; }
.chip-status { flex: none; align-self: center; width: 46px; min-height: 40px; border-radius: 10px; border: 2px solid var(--tinta); font-family: var(--titulo); font-weight: 700; font-size: 13px; color: var(--tinta2); background: transparent; }
.chip-status.st-T { background: var(--grama); color: #fff; border-color: #12432a; }
.chip-status.st-R { background: var(--ouro); color: #2a1e00; border-color: #6b4c00; }
.chip-status.st-X { border-style: dashed; opacity: .6; }
.preco { font-family: var(--titulo); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.setores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; margin: 10px 0 4px; }
.setores div { background: var(--papel2); border-radius: 10px; padding: 6px 4px; }
.setores b { display: block; font-family: var(--titulo); font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.setores small { text-transform: uppercase; font-family: var(--titulo); letter-spacing: .06em; color: var(--tinta2); }

/* ---------- tabelas ---------- */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
th { font-size: 12px; text-transform: uppercase; color: var(--tinta2); font-weight: 700; padding: 4px 2px; text-align: center; }
td { padding: 7px 2px; text-align: center; border-top: 1px dashed var(--linha); }
td.clube, th.clube { text-align: left; }
td.clube { display: flex; align-items: center; gap: 6px; min-width: 0; }
td.clube span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
tr.eu td { background: rgba(240, 180, 41, .28); font-weight: 700; }
td.posicao { font-family: var(--titulo); font-weight: 700; width: 26px; border-left: 4px solid transparent; }
tr.sobe td.posicao { border-left-color: var(--grama); }
tr.cai td.posicao { border-left-color: var(--perigo); }
td.pts { font-weight: 700; }
.legenda { display: flex; gap: 14px; font-size: 12px; color: var(--tinta2); margin-top: 8px; }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; }
.resultados { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.resultados li { display: grid; grid-template-columns: 1fr 52px 1fr; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px dashed var(--linha); }
.resultados li:first-child { border-top: 0; }
.resultados .c { text-align: right; } .resultados .c, .resultados .f { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resultados .p { text-align: center; font-family: var(--titulo); font-weight: 700; background: var(--tinta); color: var(--ouro); border-radius: 6px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.resultados li.eu .c, .resultados li.eu .f { font-weight: 700; }
.resultados li.golo .p { animation: pisca .9s ease-out; }
.lousa .resultados li { border-color: rgba(243, 236, 217, .16); }
.lousa .resultados .p { background: #0c1711; }

.contas { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; }
.contas dt, .contas dd { margin: 0; }
.contas dd { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.contas .neg { color: var(--perigo); } .contas .pos-v { color: var(--grama2); }
.contas .total { border-top: 2px solid var(--tinta); padding-top: 6px; margin-top: 4px; font-family: var(--titulo); font-size: 17px; text-transform: uppercase; font-weight: 700; }

.obra { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--linha); }
.obra:first-of-type { border-top: 0; }
.obra b { font-family: var(--titulo); text-transform: uppercase; }
.niveis { display: flex; gap: 3px; margin-top: 4px; }
.niveis i { width: 18px; height: 6px; border-radius: 3px; background: rgba(31, 42, 34, .18); }
.niveis i.on { background: var(--terrao); }

/* ---------- partida ---------- */
.placar-box { background: #0c1711; border-radius: var(--raio); border: 3px solid #3a2a17; box-shadow: inset 0 0 0 2px #0c1711, inset 0 0 0 4px rgba(240, 180, 41, .35); padding: 14px 10px 10px; margin: 12px 0; }
.placar-times { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; text-align: center; }
.placar-times .lado { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.placar-times .lado b { font-family: var(--titulo); text-transform: uppercase; font-size: 14px; line-height: 1.1; overflow-wrap: anywhere; }
.placar { font-size: 50px; font-weight: 700; color: var(--ouro); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 0 18px rgba(240, 180, 41, .35); }
.placar .x { font-size: 24px; color: var(--giz2); margin: 0 6px; vertical-align: middle; }
.placar.gol { animation: golpe .8s ease-out; }
.relogio { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-family: var(--titulo); font-weight: 700; }
.relogio .min { font-size: 20px; min-width: 42px; color: #fff; font-variant-numeric: tabular-nums; }
.relogio .barra { flex: 1; background: rgba(243, 236, 217, .16); position: relative; overflow: visible; }
.relogio .barra::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; border-left: 2px solid rgba(243, 236, 217, .5); }
.relogio .barra i { background: var(--ouro); transition: width .15s linear; }
.relogio .estado { font-size: 12px; text-transform: uppercase; color: var(--giz2); letter-spacing: .06em; min-width: 78px; text-align: right; }
.autores { white-space: pre-line; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12px; color: var(--giz2); margin-top: 8px; min-height: 16px; }
.autores div:last-child { text-align: right; }
.extra-jogo { text-align: center; font-size: 12px; color: var(--giz2); margin-top: 6px; }
.controles { display: grid; gap: 8px; margin-bottom: 12px; }
.controles .duas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.controles .seg { background: var(--lousa2); border-color: var(--giz2); }
.controles .seg button { color: var(--giz); }
.controles .seg button + button { border-color: var(--giz2); }
.controles .seg button.on { background: var(--giz); color: var(--lousa); }
.controles .botao.fantasma { color: var(--giz); }
.feed { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; display: grid; gap: 6px; }
.lance { display: grid; grid-template-columns: 30px 22px 1fr; gap: 6px; align-items: start; font-size: 14px; padding: 8px; border-radius: 10px; background: rgba(243, 236, 217, .06); animation: entra .25s ease-out; }
.lance .min { font-family: var(--titulo); font-weight: 700; color: var(--giz2); }
.lance.l-gol { background: rgba(240, 180, 41, .2); border-left: 4px solid var(--ouro); font-weight: 600; }
.lance.l-gol.contra { background: rgba(179, 38, 30, .28); border-left-color: var(--perigo); }
.lance.l-vermelho, .lance.l-lesao { background: rgba(179, 38, 30, .18); }
.lance.l-intervalo, .lance.l-fim { background: rgba(243, 236, 217, .16); font-weight: 600; }

@keyframes entra { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes golpe { 0% { transform: scale(1.35); color: #fff; } 100% { transform: scale(1); } }
@keyframes pisca { 0%, 60% { background: var(--ouro); color: #0c1711; } 100% { } }

/* ---------- folha (modal) ---------- */
.folha { position: fixed; inset: 0; z-index: 20; display: none; align-items: flex-end; justify-content: center; }
.folha.aberta { display: flex; }
.folha-fundo { position: absolute; inset: 0; background: rgba(6, 12, 9, .72); }
.folha-corpo {
  position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--papel); color: var(--tinta); border-radius: 20px 20px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  border-top: 5px solid var(--terrao); animation: sobe .22s ease-out;
}
.folha-corpo h2 { font-family: var(--titulo); font-stretch: condensed; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin-bottom: 8px; }
.folha-corpo p { margin-bottom: 12px; }
.folha-corpo.sem-anim { animation: none; }
.folha-icone { font-size: 42px; line-height: 1; margin-bottom: 6px; }
@keyframes sobe { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) { .folha { align-items: center; } .folha-corpo { border-radius: 20px; } }
.opcao { display: block; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--tinta); background: var(--papel2); font-weight: 600; min-height: 48px; box-shadow: 0 3px 0 var(--tinta); }
.opcao:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--tinta); }
.opcao small { display: block; font-weight: 400; color: var(--tinta2); margin-top: 2px; }
.opcao.sel { background: var(--tinta); color: var(--papel); }
.opcao.sel small { color: var(--giz2); }
.ficha-jog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; text-align: center; }
.ficha-jog div { background: var(--papel2); border-radius: 10px; padding: 8px 4px; }
.ficha-jog b { display: block; font-family: var(--titulo); font-size: 20px; }
.ficha-jog small { color: var(--tinta2); text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.escolha { display: grid; grid-template-columns: 36px minmax(0, 1fr) 28px 50px; gap: 8px; align-items: center; width: 100%; text-align: left; padding: 8px; border-radius: 10px; border: 2px solid transparent; min-height: 46px; }
.escolha.sel { border-color: var(--terrao); background: #fbe3c4; }
.escolha b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }

/* ---------- telas cheias ---------- */
.capa { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 28px 4px; }
.logo { text-align: center; }
.logo h1 { font-family: var(--titulo); font-stretch: condensed; font-size: clamp(44px, 15vw, 72px); line-height: .9; text-transform: uppercase; letter-spacing: .02em; color: var(--giz); margin-top: 10px; }
.logo h1 span { display: block; color: var(--ouro); text-shadow: 0 3px 0 #6b4c00; }
.logo p { color: var(--giz2); margin-top: 10px; font-size: 15px; }
.campo label { display: block; font-family: var(--titulo); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .06em; margin-bottom: 4px; }
.campo { margin-bottom: 12px; }
.campo input { width: 100%; min-height: 46px; border-radius: 10px; border: 2px solid var(--tinta); padding: 8px 12px; font: inherit; font-size: 16px; background: #fffdf5; color: var(--tinta); }
.campo .com-botao { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.paleta { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.paleta button { height: 40px; border-radius: 10px; border: 2px solid var(--tinta); overflow: hidden; display: flex; padding: 0; }
.paleta button i { flex: 1; }
.paleta button.on { outline: 4px solid var(--terrao); outline-offset: 1px; }
.previa { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--papel2); margin-bottom: 12px; }
.previa b { font-family: var(--titulo); font-size: 20px; text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
.destaque { text-align: center; padding: 6px 0 2px; }
.destaque .grandao { font-family: var(--titulo); font-size: 64px; font-weight: 700; line-height: 1; color: var(--terrao); }
.destaque .res { font-family: var(--titulo); font-size: 30px; text-transform: uppercase; font-weight: 700; }
.res.V { color: var(--grama2); } .res.D { color: var(--perigo); } .res.E { color: var(--tinta2); }
.estrelas { font-size: 26px; letter-spacing: 4px; color: var(--ouro); text-shadow: 0 1px 0 #6b4c00; }
.estrelas i { font-style: normal; color: rgba(31, 42, 34, .2); text-shadow: none; }
.lista-check { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.lista-check li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: start; }
.lista-check li span { font-size: 20px; }
.lista-check li small { display: block; color: var(--tinta2); }
.selo { display: inline-block; font-family: var(--titulo); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; background: var(--ouro); color: #2a1e00; }
.selo.verde { background: var(--grama); color: #fff; } .selo.verm { background: var(--perigo); color: #fff; }
.notas { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 30; width: max-content; max-width: min(92vw, 480px); background: #0c1711; color: var(--giz); border: 2px solid var(--ouro); padding: 10px 14px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 900px) {
  body { font-size: 16px; }
  .app { padding-top: 8px; }
  .feed { max-height: 380px; }
}
@media (max-width: 359px) {
  .app { padding-left: 8px; padding-right: 8px; }
  .jog-info { grid-template-columns: 34px minmax(0, 1fr) 26px 44px; gap: 6px; }
  .placar { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
