/* Página /temporadas (temporadas.js). Cores do site: 1º lugar vermelho, 2º prata, 3º bronze. */
.tp-wrap { padding: 28px 20px 70px; max-width: 1280px; margin: 0 auto; }
.tp-titulo-linha { margin-bottom: 22px; }
.tp-titulo { font-size: 30px; font-weight: 900; margin: 0 0 8px; letter-spacing: -0.3px; }
.tp-subtitulo { color: var(--text-dim); font-size: 14px; margin: 0; max-width: 720px; }
.tp-carregando, .tp-vazio { color: var(--text-dim); font-size: 13.5px; }
.tp-carregando { padding: 30px 0; }
.tp-h2 { font-size: 21px; font-weight: 900; margin: 0; }
.tp-h3 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #c9cbd1; margin: 0 0 14px; }
.tp-h3 svg { color: var(--accent-bright); flex: none; }
.tp-h3-sec { margin-top: 28px; }
.tp-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }

.tp-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; background: #1f232a; }
.tp-av-g { width: 46px; height: 46px; }
.tp-av-xg { width: 64px; height: 64px; box-shadow: 0 0 0 3px var(--accent-bright), 0 8px 24px rgba(255, 59, 66, 0.35); }
.tp-nick { color: var(--text); font-weight: 800; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-nick:hover { color: var(--accent-bright); }
.tp-patente { white-space: nowrap; font-size: 12px; color: #d4d6db; }
.tp-podio-sub { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-dim); }

/* temporada atual */
.tp-hero {
    position: relative; overflow: hidden; padding: 24px; border-radius: 18px; border: 1px solid rgba(229, 52, 58, 0.4);
    background: radial-gradient(120% 140% at 0% 0%, rgba(229, 52, 58, 0.22), transparent 55%), linear-gradient(180deg, #171a20, #12151b);
}
.tp-hero-topo { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.tp-selo { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(229, 52, 58, 0.22); border: 1px solid rgba(229, 52, 58, 0.5); }
.tp-selo-fim { background: rgba(200, 204, 212, 0.12); border-color: rgba(200, 204, 212, 0.3); color: #d4d6db; }
.tp-hero-nome { font-size: 28px; font-weight: 900; margin: 10px 0 6px; }
.tp-hero-datas { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 13.5px; color: var(--text-dim); }
.tp-hero-datas b { color: var(--text); }
.tp-hero-datas svg { color: var(--accent-bright); }
.tp-numeros { display: flex; gap: 12px; }
.tp-numeros > div { min-width: 110px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.tp-numeros strong { display: block; font-size: 24px; font-weight: 900; }
.tp-numeros span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-dim); }
.tp-podio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tp-podio-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); }
.tp-podio-item > div { min-width: 0; }
.tp-podio-pos { font-size: 20px; font-weight: 900; width: 30px; flex: none; color: var(--text-dim); }
.tp-lugar-1 .tp-podio-pos, .tp-lugar-1 .tp-cat-pos, tr.tp-lugar-1 .tp-td-pos { color: var(--accent-bright); }
.tp-lugar-2 .tp-podio-pos, .tp-lugar-2 .tp-cat-pos, tr.tp-lugar-2 .tp-td-pos { color: #c8ccd4; }
.tp-lugar-3 .tp-podio-pos, .tp-lugar-3 .tp-cat-pos, tr.tp-lugar-3 .tp-td-pos { color: #d08a52; }
.tp-podio-item.tp-lugar-1 { border-color: rgba(255, 59, 66, 0.45); background: rgba(229, 52, 58, 0.1); }
.tp-link-ranking { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent-bright); text-decoration: none; }
.tp-link-ranking:hover { text-decoration: underline; }
.tp-info-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 1.35fr); gap: 14px; margin-top: 14px; align-items: stretch; }
.tp-lista { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; color: #d4d6db; }
.tp-lista a { color: var(--accent-bright); }
.tp-premio-texto { margin: 0; white-space: pre-line; font-size: 14px; line-height: 1.55; color: #e8e8ea; overflow-wrap: anywhere; }
.tp-premio-mini { display: flex; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--text-dim); }
.tp-premio-mini svg { flex: none; color: var(--accent-bright); }
.tp-card-premio { border-color: rgba(229, 52, 58, 0.3); }

/* maiores campeões: lista vertical (do maior ao menor), rola quando passa da altura */
.tp-card-campeoes { display: flex; flex-direction: column; min-width: 0; padding-bottom: 14px; }
.tp-campeoes-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.tp-campeoes-topo .tp-h3 { margin: 0; }
.tp-campeoes-total { flex: none; font-size: 11.5px; font-weight: 800; color: var(--text-dim); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); }
.tp-campeoes-lista { display: flex; flex-direction: column; gap: 8px; max-height: 330px; overflow-y: auto; margin-right: -8px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--accent-bright) transparent; }
.tp-campeoes-lista::-webkit-scrollbar { width: 6px; }
.tp-campeoes-lista::-webkit-scrollbar-thumb { background: var(--accent-bright); border-radius: 6px; }
.tp-campeao-linha { flex: none; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); }
.tp-campeao-linha.tp-reinante {
    border-color: rgba(255, 59, 66, 0.7);
    background: radial-gradient(110% 160% at 0% 0%, rgba(229, 52, 58, 0.28), transparent 60%), rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 0 1px rgba(255, 59, 66, 0.25), 0 10px 28px rgba(229, 52, 58, 0.22);
}
.tp-reinante .tp-av { box-shadow: 0 0 0 3px var(--accent-bright), 0 0 16px rgba(255, 59, 66, 0.55); }
.tp-cl-pos { width: 30px; flex: none; font-size: 18px; font-weight: 900; color: var(--text-dim); }
.tp-lugar-1 .tp-cl-pos { color: var(--accent-bright); }
.tp-cl-pos-trofeu { display: grid; place-items: center; color: var(--accent-bright); filter: drop-shadow(0 0 6px rgba(255, 59, 66, 0.7)); }
.tp-lugar-2 .tp-cl-pos { color: #c8ccd4; }
.tp-lugar-3 .tp-cl-pos { color: #d08a52; }
.tp-cl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.tp-cl-nome { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.tp-cl-nome .tp-nick { font-size: 15.5px; }
.tp-cl-atual { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #ff5a60, #c41a20); box-shadow: 0 4px 12px rgba(255, 59, 66, 0.35); }
.tp-cl-temps { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-cl-temp { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #d4d6db; text-decoration: none; background: rgba(229, 52, 58, 0.12); border: 1px solid rgba(229, 52, 58, 0.28); }
.tp-cl-temp svg { color: var(--accent-bright); flex: none; }
.tp-cl-temp:hover { border-color: var(--accent-bright); color: #fff; }
.tp-cl-num { flex: none; min-width: 64px; text-align: right; display: flex; flex-direction: column; }
.tp-cl-num b { font-size: 28px; font-weight: 900; line-height: 1; }
.tp-reinante .tp-cl-num b, .tp-lugar-1 .tp-cl-num b { color: var(--accent-bright); }
.tp-cl-num span { font-size: 11.5px; color: var(--text-dim); }
.tp-cl-num small { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
@media (max-width: 640px) {
    .tp-campeao-linha { gap: 10px; padding: 12px; }
    .tp-cl-pos { width: 24px; font-size: 16px; }
    .tp-cl-num { min-width: 48px; }
    .tp-cl-num b { font-size: 24px; }
}

/* anteriores */
.tp-anteriores { margin-top: 38px; }
.tp-anteriores-topo { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.tp-filtro { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-dim); }
.tp-filtro select, .tp-busca { font: inherit; font-size: 13px; color: var(--text); background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; outline: none; max-width: 100%; }
.tp-filtro select:focus, .tp-busca:focus { border-color: var(--accent-bright); }
.tp-linha-temporadas { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.tp-chip-temporada { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 160px; padding: 10px 14px; border-radius: 12px; cursor: pointer; text-align: left; font: inherit; color: var(--text); background: var(--bg-card); border: 1px solid var(--border); transition: border-color 0.15s, background 0.15s; }
.tp-chip-temporada b { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-bright); }
.tp-chip-temporada span { font-weight: 800; font-size: 14px; }
.tp-chip-temporada small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-dim); }
.tp-chip-temporada .tp-chip-campeao { gap: 6px; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: #d4d6db; }
.tp-chip-campeao svg { color: var(--accent-bright); }
.tp-av-chip { width: 22px; height: 22px; box-shadow: 0 0 0 2px rgba(255, 59, 66, 0.55); }
.tp-chip-temporada:hover { border-color: rgba(229, 52, 58, 0.5); }
.tp-chip-temporada.ativo { border-color: var(--accent-bright); background: rgba(229, 52, 58, 0.1); }
.tp-vazio-card { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--text-dim); }
.tp-vazio-card svg { color: var(--accent-bright); flex: none; }
.tp-vazio-card p { margin: 0; }

.tp-resumo { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border); }
.tp-resumo-info { min-width: 0; flex: 1 1 320px; }
.tp-resumo-nome { font-size: 22px; font-weight: 900; margin: 8px 0 6px; }
.tp-campeao { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(229, 52, 58, 0.1); border: 1px solid rgba(255, 59, 66, 0.4); min-width: 0; }
.tp-campeao > div { min-width: 0; display: flex; flex-direction: column; }
.tp-campeao .tp-nick { font-size: 18px; }
.tp-campeao-rotulo { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 2px; }

.tp-voce { margin-top: 14px; padding: 18px; border-radius: 16px; background: linear-gradient(180deg, rgba(88, 166, 255, 0.08), rgba(88, 166, 255, 0.02)); border: 1px solid rgba(88, 166, 255, 0.3); }
.tp-voce-vazio { color: var(--text-dim); font-size: 13.5px; }
.tp-voce-vazio a { color: var(--accent-bright); font-weight: 700; }
.tp-voce-topo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tp-voce-topo > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tp-voce-topo .tp-campeao-rotulo { color: var(--blue); }
.tp-voce-geral { text-align: right; }
.tp-voce-geral strong { display: block; font-size: 30px; font-weight: 900; line-height: 1; }
.tp-voce-geral span { font-size: 12px; color: var(--text-dim); }
.tp-voce-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 14px; }
.tp-voce-cat { padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.tp-voce-cat span { font-size: 11.5px; color: var(--text-dim); }
.tp-voce-cat b { font-size: 18px; font-weight: 900; }
.tp-voce-cat small { font-size: 11.5px; color: var(--text-dim); }
.tp-voce-top { border-color: rgba(255, 59, 66, 0.45); }
.tp-voce-top b { color: var(--accent-bright); }

.tp-categorias { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tp-cat { padding: 14px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border); min-width: 0; }
.tp-cat-topo { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.tp-cat-topo b { font-size: 14px; }
.tp-cat-topo span { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--text-dim); text-transform: uppercase; }
.tp-cat-linha { display: flex; align-items: center; gap: 10px; padding: 6px 0; min-width: 0; }
.tp-cat-linha + .tp-cat-linha { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.tp-cat-pos { width: 16px; font-weight: 900; color: var(--text-dim); flex: none; }
.tp-cat-linha .tp-nick { flex: 1; min-width: 0; font-size: 13.5px; }
.tp-cat-valor { font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }

.tp-tabela-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; margin-bottom: 12px; }
.tp-tabela-topo .tp-h3 { margin: 0; }
.tp-tabela-filtros { display: flex; gap: 10px; flex-wrap: wrap; }
.tp-tabela-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-card); }
.tp-tabela { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.tp-tabela th { text-align: left; padding: 11px 14px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.tp-tabela td { padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); white-space: nowrap; }
.tp-tabela tr:last-child td { border-bottom: 0; }
.tp-td-pos { font-weight: 900; width: 54px; }
.tp-td-jogador { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tp-td-valor { font-weight: 800; font-variant-numeric: tabular-nums; }
.tp-tabela tr.tp-eu td { background: rgba(88, 166, 255, 0.08); }
.tp-tabela tr.tp-sem-pos td { opacity: 0.6; }
.tp-mais-wrap { text-align: center; margin-top: 12px; }
.tp-mais { font: inherit; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 10px; cursor: pointer; color: var(--text); background: var(--bg-card); border: 1px solid var(--border); }
.tp-mais:hover { border-color: var(--accent-bright); }
.tp-nota { margin: 10px 0 0; font-size: 12.5px; color: var(--text-dim); }

@media (max-width: 1200px) {
    .tp-info-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
    .tp-info-grid > .tp-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .tp-info-grid { grid-template-columns: minmax(0, 1fr); }
    .tp-podio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .tp-wrap { padding: 20px 16px 90px; }
    .tp-hero { padding: 18px; }
    .tp-hero-nome { font-size: 23px; }
    .tp-numeros { width: 100%; }
    .tp-numeros > div { flex: 1; min-width: 0; }
    .tp-voce-geral { text-align: left; width: 100%; }
    .tp-filtro { width: 100%; }
    .tp-filtro select { flex: 1; min-width: 0; }
    .tp-tabela-filtros, .tp-busca { width: 100%; }
    .tp-campeao { width: 100%; }
}
