/* ===== VARIÁVEIS CSS ===== */
:root {
    --cor-principal: #006600;
    --cor-principal-hover: #029e02;
    --cor-secundaria: #005200;
    --cor-texto-branco: #ffffff;
    --cor-fundo-claro: #fefefe;
    --cor-fundo-pagina: #f4f4f4;
    --cor-fundo-caixa: #f9f9f9;
    --cor-borda: #ccc;
    --cor-destaque: #ff0000;
    --sombra-leve: 0 0 10px #0052000d;

    --fonte-principal: Verdana;
    --largura-maxima: 1200px;
    --largura-menu: 200px;
    --largura-caixa-lateral: 190px;

    --radius-pequeno: 5px;
    --radius-medio: 8px;
    --radius-grande: 10px;
    --radius-full: 15px;
}

/* ===== RESET E ESTILOS BASE ===== */
body {
    margin: 0;
    font-family: var(--fonte-principal);
    background-image: url(../img/fundo.gif);
    background-color: var(--cor-fundo-pagina);
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* ===== LAYOUT PRINCIPAL ===== */
header,
nav,
main,
footer {
    width: 100%;
    max-width: var(--largura-maxima);
    margin: 0 auto;
}

header {
    padding: 10px 0;
}

nav {
    border-radius: var(--radius-grande);
    background-color: var(--cor-fundo-claro);
}

main {
    display: grid;
    grid-template-columns: var(--largura-menu) 3fr;
    gap: 20px;
    padding: 20px;
}

footer {
    text-align: center;
    padding: 5px;
    border-radius: var(--radius-grande);
    background-color: var(--cor-fundo-claro);
}

/* ===== COMPONENTES DE LAYOUT ===== */
.content {
    background-color: var(--cor-fundo-claro);
    padding: 10px;
    border-radius: var(--radius-grande);
    box-shadow: var(--sombra-leve);
}

.boxbranco {
    border-radius: var(--radius-grande);
    border: solid;
    border-color: var(--cor-principal);
    background-color: #e5ffe5;
    margin: 10px;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 0.5rem;
}

/* ===== MENU LATERAL ===== */
aside {
    border-radius: var(--radius-medio);
}

aside .menu {
    padding: 10px 0;
    border-radius: var(--radius-grande);
    background-color: var(--cor-fundo-claro);
    width: var(--largura-menu);
}

.menudiv {
    margin: 5px 10px;
    padding-top: 5px;
    width: calc(var(--largura-menu) - 20px);
    height: 30px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--cor-texto-branco);
    border-radius: var(--radius-full);
    background-color: var(--cor-secundaria);
    display: block;
}

.menuopt {
    font-size: 0.8rem;
    margin: 0 10px;
    padding: 2px 10px;
    text-align: center;
}

.menuopt a {
    border-radius: var(--radius-grande);
    padding: 1px;
    margin-bottom: 5px;
    display: block;
    color: var(--cor-secundaria);
}

.menuopt a:hover {
    background-color: var(--cor-principal-hover);
    color: var(--cor-fundo-claro);
}

.menuopt .semaposta {
    color: var(--cor-destaque);
}

.menuopt .semaposta:hover {
    background-color: var(--cor-destaque);
}

/* ===== ELEMENTOS DO HEADER ===== */
.banner {
    margin-left: auto;
    margin-right: auto;
    background-image: url(../img/banner.png);
    background-repeat: no-repeat;
    width: 600px;
    height: 120px;
}

.plog {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.8rem;
    background-color: var(--cor-fundo-claro);
    border-radius: var(--radius-grande);
    padding: 10px 5px;
    width: var(--largura-caixa-lateral);
    float: right;
    text-align: center;
}

.plog a {
    margin-top: 10px;
    color: var(--cor-texto-branco);
    text-decoration: none;
    padding: 8px 12px;
    background-color: var(--cor-principal);
    border-radius: 6px;
    transition: background 0.3s;
    text-align: center;
}

.plog a:hover {
    background-color: var(--cor-principal-hover);
}

.plog span {
    display: block;
}

.publi1 {
    font-size: 0.8rem;
    border-radius: var(--radius-grande);
    padding: 25px 5px;
    width: var(--largura-caixa-lateral);
    float: left;
    text-align: center;
}

/* ===== MENU PRINCIPAL ===== */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr repeat(8, auto) 1fr;
    align-items: center;
    background-color: var(--cor-fundo-claro);
    padding: 5px 0;
    gap: 5px;
    margin-bottom: 5px;
}

.menu-item {
    color: var(--cor-texto-branco);
    text-decoration: none;
    padding: 8px 12px;
    background-color: var(--cor-principal);
    border-radius: 6px;
    transition: background 0.3s;
    text-align: center;
}

.menu-item:hover {
    background-color: var(--cor-principal-hover);
}

/* ===== MENU RESPONSIVO ===== */
.menu-hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: var(--cor-principal);
    color: var(--cor-texto-branco);
    border: none;
    border-radius: var(--radius-medio);
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: var(--sombra-leve);
}

.menu-hamburger:hover {
    background-color: var(--cor-principal-hover);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.menu-lateral-mobile {
    position: fixed;
    top: -60px;
    left: -250px;
    width: 200px;
    height: 100dvh;
    background-color: var(--cor-fundo-claro);
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 60px 0 20px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.menu-lateral-mobile.active {
    left: 0;
}

/* ===== PERFIL DO JOGADOR ===== */
.perfil-jogador {
    display: grid;
    padding: 5px;
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
    border-radius: var(--radius-pequeno);
}

.info-nick {
    grid-area: 1 / 1 / 2 / 3;
    font-size: 1.4rem;
}

.info-nick h1 {
    margin: unset;
    font-size: 1.5rem;
}

.info-nick h1 .camisaClube {
    margin-right: 5px;
}

.time-coracao {
    margin: 0px;
    display: flex;
}

.time-coracao strong {
    padding: 10px 0px;
}

.foto-perfil img {
    height: 200px;
}

.info-pessoal {
    grid-area: 2 / 1 / 4 / 2;
}

.info-time {
    grid-area: 4 / 1 / 5 / 2;
}

.info-pontuacao {
    grid-area: 4 / 2 / 5 / 3;
    display: flex;
    justify-content: center;
}

.mudar,
.editavel-cidade,
.editavel-estado {
    border-bottom: 1px dashed var(--cor-principal);
    cursor: pointer;
}

/* ===== FORMULÁRIOS ===== */
.altse input[type="text"],
.altse input[type="password"],
.altse input[type="email"],
.altse input[type="number"],
.altse select,
.altse textarea {
    width: 90%;
    padding: 0.1rem;
    font-size: 1rem;
    border: 1px solid var(--cor-borda);
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 0.2rem;
}

.altse input:focus,
.altse select:focus,
.altse textarea:focus {
    border-color: var(--cor-principal);
    box-shadow: 0 0 0 3px rgba(81, 229, 44, 0.2);
    outline: none;
}

.altse button,
.altse input[type="submit"],
.altse input[type="button"] {
    background-color: var(--cor-principal);
    color: white;
    padding: 0.3rem 1.2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.altse button:hover,
.altse input[type="submit"]:hover,
.altse input[type="button"]:hover {
    background-color: var(--cor-principal-hover);
}

fieldset {
    box-sizing: border-box;
    padding: 5px;
    border: 2px solid var(--cor-borda);
    border-radius: var(--radius-medio);
    background-color: var(--cor-fundo-caixa);
}

fieldset span {
    font-size: 0.8rem;
    display: block;
}

legend {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

fieldset .cards-group {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* ===== APOSTAS ===== */
.topoAposta {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 20px;
}

.box-aposta {
    box-sizing: border-box;
    padding: 5px;
    border: 2px solid var(--cor-borda);
    border-radius: var(--radius-medio);
    background-color: var(--cor-fundo-caixa);
    margin-bottom: 15px;
}

.box-aposta img {
    width: 48px;
}

.cadrodada {
    text-align: center;
    margin-top: 20px;
}

.cadrodada button {
    padding: 15px;
}

.apostaEsq,
.apostaDir {
    min-width: 150px;
    width: 150px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.apostaEsq {
    text-align: right;
    justify-content: flex-end;
}

.apostaDir {
    text-align: left;
}

.apostaLinha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}
.descricaoEspecial {
    font-size: 0.7em;
    color: #777;
    text-align: center;
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}

/* Remove a borda da última descrição */
.descricaoEspecial:last-of-type {
    border-bottom: none;
}

.apostaLinha input {
    width: 40px;
    text-align: center;
}

.futbutton {
    padding: 10px 20px;
    margin-right: 10px;
}

/* ===== HOME DESLOGADA ===== */
.HDContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
}

.HDColuna {
    width: calc(var(--largura-maxima) / 2.7);
    background-color: #f9f9f9;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.HDDupla {
    background-color: #f9f9f9;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    grid-column: span 2;
}

.rodada {
    text-align: center;
    margin: 0px;
}

.rodada h2 {
    margin-top: 5px;
    margin-bottom: 0px;
}

.rodada h3 {
    margin: 0px;
}

.rodada h4 {
    margin: 0px;
}

.coluna {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.coluna h4 {
    margin-top: 5px;
    margin-bottom: 2px;
}

.bonus {
    margin-top: 0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bonus h4 {
    margin: 5px;
}

.jogo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0f0f0;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 0 5px #ccc;
}

.jogo span {
    text-align: center;
    font-size: 0.9rem;
}

.time img {
    height: 32px;
    width: 32px;
    margin-right: 0.5rem;
}

.placar {
    margin: 0 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.jogo-andamento {
    border: 2px solid var(--cor-principal-hover);
    background-color: var(--cor-fundo-pagina);
    box-shadow: 0 0 10px var(--cor-secundaria);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.jogo-andamento:hover {
    background-color: #ddf0dd;
}

.jogo-aguardando {
    background-color: #f8f8f8;
}

.abaixomedia {
    color: var(--cor-destaque);
}

.acimamedia {
    color: var(--cor-secundaria);
}

/* ===== BADGES ===== */
.badge-jogador {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    background-color: #f0f0f0;
    border-radius: 999px;
    padding: 0.1rem 0.25rem;
    font-weight: 500;
    text-decoration: none;
    color: #222;
    transition: background 0.3s;
}

.medalha {
    width: 24px !important;
    height: 24px !important;
}

.badge-jogador:hover {
    background-color: #e0e0e0;
    box-shadow: 0 0 10px var(--cor-secundaria);
}

.badge-jogador img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.badge-jogador span {
    font-weight: 600;
}

.icon-wo {
    width: 20px !important;
    height: 20px !important;
    margin-left: 5px;
    vertical-align: middle;
    opacity: 0.7;
    cursor: help;
}

.badge-detalhes {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #f0f0f0;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    color: #222;
    transition: background 0.3s, box-shadow 0.3s;
}

.badge-detalhes:hover {
    background-color: #e0e0e0;
    box-shadow: 0 0 10px var(--cor-secundaria);
}

.badge-detalhes .icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.badge-time {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background-color: #f0f0f0;
    border-radius: 999px;
    font-weight: 500;
    color: #222;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.badge-time:hover {
    background-color: #e0e0e0;
    box-shadow: 0 0 10px var(--cor-secundaria);
}

.badge-time img {
    width: 28px;
    height: 28px;
    object-fit: cover;
}

/* ===== TABELAS ===== */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

thead {
    background-color: rgb(0, 102, 16);
    color: white;
}

th,
td {
    padding: 0.15rem;
    border-bottom: 1px solid #ddd;
}

th[colspan="3"] {
    font-size: 1.25rem;
    background-color: #004D21;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody td img {
    vertical-align: middle;
    margin-right: 0.1rem;
    border-radius: 4px;
}

.pontos {
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 5px;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 10px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    min-height: 400px;
    max-height: 600px;
}

.modal-content input {
    width: 90%;
    padding: 0.1rem;
    font-size: 1rem;
    border: 1px solid var(--cor-borda);
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 0.2rem;
}

.lista-times {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

.lista-times div {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.lista-times div:hover {
    background: #eee;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.modal-content .container {
    padding: 0.2rem;
}

/* ===== CARDS DE PONTUAÇÃO ===== */
.cards-pontuacao {
    display: flex;
    justify-content: space-around;
    margin: 0px auto;
    width: 100%;
    flex-wrap: wrap;
}

.card-ponto {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 70px;
    padding: 6px 1px;
    margin: 4px;
    font-family: sans-serif;
    transition: transform 0.2s ease;
}

.card-ponto:hover {
    transform: scale(1.03);
}

.card-ponto img {
    margin-bottom: 5px;
    width: 32px;
    height: 32px;
}

.card-ponto .descricao {
    margin-top: 0px;
    font-weight: bold;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 2px;
}

.card-ponto .valor {
    font-size: 1.2rem;
    color: #222;
    font-weight: bold;
}

.cards-group {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-shrink: 0;
}

.cards-group .card-ponto {
    flex: 1 1 calc(20% - 12px);
    min-width: 140px;
    box-sizing: border-box;
}

/* ===== NOTAS/BLOG ===== */
.nota-blog {
    background-color: #ffffff;
    border: 2px solid #cce5d1;
    border-radius: 12px;
    padding: 1rem;
    margin: 0.2rem auto;
    box-shadow: 0 2px 8px rgba(0, 109, 60, 0.08);
    width: 90%;
}

.nota-blog .meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #d9ead3;
    padding-bottom: 0.5rem;
    gap: 1rem;
    font-size: 0.85rem;
    color: #444444;
}

.nota-blog .meta time {
    flex: 1;
    min-width: 100px;
    color: #444444;
}

.nota-blog .meta h2 {
    font-size: 1.6rem;
    color: #006d3c;
    text-align: center;
    flex: 2;
    margin: 0;
}

.nota-blog .meta .autor {
    flex: 1;
    min-width: 100px;
    text-align: right;
    font-style: italic;
    color: #2e7d32;
}

.nota-blog p {
    text-align: justify;
    font-size: 1rem;
    color: #1b1b1b;
    margin-bottom: 1rem;
    line-height: 1.6;
    white-space: pre-line;
}

.leia-toggle {
    background-color: transparent;
    border: 1px solid #00c853;
    color: #2e7d32;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.leia-toggle:hover {
    background-color: #00c853;
    color: #ffffff;
}

/* ===== DETALHES DO TIME ===== */
.time-detalhes h2 {
    margin: 0px;
    text-align: center;
    font-size: 2.5rem;
}

.time-detalhes h2 img {
    height: 48px;
}

.time-detalhes h3 {
    margin-top: 0px;
    font-size: 0.9rem;
    text-align: center;
}

.time-info-row>.cards-pontuacao {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
}

/* ===== BOTÕES ESPECIAIS ===== */
.btn-amigo img {
    width: 48px;
    vertical-align: middle;
}

.btn-assinar {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    border: 2px solid var(--cor-borda);
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.btn-assinar img {
    width: 36px;
}

.btn-assinar:hover {
    background-color: var(--cor-borda);
    color: var(--cor-fundo);
    border-color: var(--cor-texto);
}

/* ===== FAIXAS E JOGOS ===== */
.faixas-1-2 {
    display: flex;
    justify-content: space-between;
}

.faixa-bloco {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #ccc;
    margin-left: 10px;
    margin-top: 10px;
    padding: 15px;
    border-radius: 10px;
}

.faixa-icon {
    z-index: 1;
    float: left;
    width: 1px;
    height: 1px;
}

.faixa-icon img {
    width: 32px;
    height: 32px;
}

.bloco-texto {
    width: 175px;
    margin-left: 10px;
    margin-top: 10px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

.pfaixa {
    text-align: center;
    background-color: #006600;
    padding: 5px 0px;
    border-radius: 0px 0px 10px 10px;
    color: #FFFFFF;
    margin-bottom: -15px !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.jogos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.jogos-grid p {
    margin: 0 auto;
}

.jogos-grid .rodada {
    margin: -10px auto 0 auto;
}

.faixa-icon-clube {
    z-index: 1;
    float: left;
    width: 1px;
    height: 1px;
}

.faixa-icon-clube img {
    margin-left: -15px;
    margin-top: -5px;
    width: 32px;
    height: 32px;
}

.jogo-bloco {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px;
    background: #f9f9f9;
    width: 210px;
}

.jogo-bloco .info-extra {
    font-size: 0.85em;
    color: #444;
}

/* ===== DESAFIOS ===== */
.mostraDesafios .jogos-grid {
    font-size: 0.8em;
    gap: 5px;
}

.mostraDesafios .jogo-bloco {
    text-align: center;
    width: 200px;
    padding: 2px;
    margin: 2px;
}

.mostraDesafios .recusa {
    background-color: var(--cor-destaque);
}

.mostraDesafios .recusa:hover {
    background-color: #bd0000;
}

.mostraFaixa {
    float: right;
    width: 24px;
    height: 24px;
}

.rodapeFaixa {
    position: relative;
    bottom: 0;
    right: 0;
    width: 265px;
    height: 20px;
    z-index: 1;
    transform: translate(25%, 25%);
}

.rodapeFaixa img {
    width: 32px;
    height: 32px;
}

.placarDesafio {
    margin: 0 0.2rem;
    font-weight: bold;
    font-size: 2rem;
}

.placarVisitante {
    text-align: right;
}

.placarMandante {
    text-align: left;
}

.desafioBloco {
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    width: 400px;
    padding: 2px;
    margin: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.desafioBloco:hover {
    box-shadow: 0 0 10px var(--cor-secundaria);
}

/* ===== TORNEIO ===== */
.boxTorneio {
    margin-bottom: 10px;
    box-sizing: border-box;
    padding: 5px;
    border: 2px solid var(--cor-borda);
    border-radius: var(--radius-medio);
    background-color: var(--cor-fundo-caixa);
}

.boxTorneio p {
    text-align: justify;
}

.alertas {
    background-color: #c2e84a;
    width: 40%;
    text-align: center;
    padding: 10px;
    margin: 5px;
    border-radius: 10px;
    display: flex;
}

.alertas a {
    border-bottom: 1px dashed black;
}

.alertas img {
    width: 48px;
}

/* ===== CLUBE ===== */
.escudoClube {
    float: left;
    width: 48px;
}

.linkClube {
    height: 36px;
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkClube .escudoClube {
    width: 36px;
}

.linkClube .nomeClube {
    margin: 0;
}

.camisaClube {
    float: left;
    position: relative;
    width: 48px;
    height: 48px;
}

.camadaBase {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--cor);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.camadaCor1 {
    -webkit-mask-image: url('../img/modelo01cor1.png');
    mask-image: url('../img/modelo01cor1.png');
    z-index: 0;
}

.camadaCor2 {
    -webkit-mask-image: url('../img/modelo01cor2.png');
    mask-image: url('../img/modelo01cor2.png');
    z-index: 1;
}

.camadaCor3 {
    -webkit-mask-image: url('../img/modelo01cor2.png');
    mask-image: url('../img/modelo01cor2.png');
    z-index: 2;
}

.camadaLinhas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.numeroClube {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 25%;
    color: white;
    font-weight: bold;
    font-size: 18px;
    z-index: 4;
}

.assinatura {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
}

.assinatura p {
    max-width: 250px;
    text-align: justify;
}

.assinatura .camisaClube {
    float: left;
    position: relative;
    width: 192px;
    height: 192px;
}

.assinatura .numeroClube {
    position: absolute;
    width: 120%;
    text-align: center;
    top: 20%;
    color: white;
    font-weight: bold;
    font-size: 18px;
    z-index: 3;
}

.mostraLiga {
    display: flex;
    justify-content: space-around;
}

.mostraLiga p {
    max-width: 250px;
    text-align: justify;
}

.mostraLiga .camisaClube {
    float: left;
    position: relative;
    width: 96px;
    height: 96px;
}

.mostraLiga .camadaLinhas {
    position: relative;
}

.mostraLiga .numeroClube {
    position: absolute;
    left: 10px;
    text-align: center;
    top: 20%;
    color: white;
    font-weight: bold;
    font-size: 18px;
    z-index: 3;
}

.cor {
    border: 1px solid #ccc;
    display: flex;
    width: 60px;
    height: 24px;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
}

.camisaElenco {
    border: 2px solid #F0F0F0;
    background-color: #F0F0F0;
    padding: 2px;
    border-radius: 8px;
}

.camisaElenco .camisaClube {
    float: left;
    position: relative;
    width: 32px;
    height: 32px;
}

.camisaElenco .camadaLinhas {
    position: relative;
}

.camisaElenco .numeroClube,
.camisaElenco .numeroPais {
    width: 100%;
    left: 0px;
    position: absolute;
    text-align: center;
    top: 20%;
    color: white;
    font-weight: bold;
    font-size: 12px;
    z-index: 3;
}

/* ===== TRANSFERÊNCIAS ===== */
.clubeTransf {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
}

.clubeTransf .escudoClube {
    height: 32px;
    width: 32px;
}

.clubeTransf .camisaClube {
    float: left;
    position: relative;
    width: 32px;
    height: 32px;
}

.clubeTransf .camadaLinhas {
    position: relative;
}

.clubeTransf .numeroClube {
    position: absolute;
    left: 0px;
    text-align: center;
    font-family: verdana;
    top: 25%;
    color: white;
    font-weight: bold;
    font-size: 12px;
    z-index: 3;
}

.clubeTransf .itmpos {
    height: 32px;
    width: 32px;
}

/* ===== CONVITES ===== */
.convite-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-grow: 1;
}

.convite-info {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.convite-posicao {
    font-size: 0.9rem;
    color: #555;
}

.convite-botoes {
    margin-top: 6px;
}

.convite-botoes button {
    padding: 5px 5px;
    margin-left: 5px;
    font-size: 0.75rem;
    border-radius: var(--radius-pequeno);
    background-color: var(--cor-principal);
    color: var(--cor-texto-branco);
    border: none;
    cursor: pointer;
}

.convite-botoes button:hover {
    background-color: var(--cor-principal-hover);
}

.convites-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: space-evenly;
}

.convite-item {
    width: 210px;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    background: #f9f9f9;
}

.escudo-clube {
    width: 80px;
    object-fit: contain;
    border-radius: 4px;
}

/* ===== JOGOS DO CLUBE ===== */
.jogoClube {
    width: 92%;
    margin: auto;
    cursor: pointer;
    border: 0px;
}

.detalheSelecao,
.detalheClube {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

/* ===== JOGADOR ===== */
.jogador-card .camadaLinhas {
    left: 0px;
}

.jogador-card .numeroClube {
    left: 0px;
}

.jogador-card small>img {
    width: 24px;
}

.convocacaoPais {
    border: 2px solid #F0F0F0;
    background-color: #F0F0F0;
    padding: 2px;
    border-radius: 8px;
}

.convocacaoPais .camisaClube {
    float: left;
    position: relative;
    width: 32px;
    height: 32px;
}

.convocacaoPais .camadaLinhas {
    position: relative;
}

.convocacaoPais .numeroPais {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 20%;
    color: white;
    font-weight: bold;
    font-size: 12px;
    z-index: 3;
}

.convocacaoPais span {
    float: left;
}

/* ===== ELEMENTOS DIVERSOS ===== */
.highlight,
table tbody tr.highlight {
    background-color: #dff0d8;
    font-weight: bold;
}

.bolinha {
    width: 16px;
    vertical-align: middle;
}

.superliga-atual {
    display: block;
    text-decoration: none;
    color: inherit;
}

.superliga-atual:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mostrastat {
    border-radius: 5px;
    background: #EEE;
    display: flex;
    padding: 2px 5px;
    width: 40px;
    justify-content: space-between;
    cursor: help;
}

.mostrajogadores {
    display: flex;
    gap: 5px;
    font-size: 0.8em;
    flex-wrap: wrap;
    justify-content: space-between;
}

.detalheCompeticao {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: space-between;
    h2{
        margin: 0.4rem 0rem;
    }
}

.controle-rodadas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.controle-rodadas button {
    padding: 6px 14px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: var(--cor-principal);
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.controle-rodadas button:hover {
    background-color: var(--cor-principal-hover);
}

.tdplacar {
    padding: 0rem !important;
    width: 40px;
}

.lista-jogos {
    margin-top: 10px;
}

.rodadan {
    display: none;
}

.jogosl {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border-bottom: 1px solid #ddd;
    .faixa-icon {
        width: 24px;
        height: 24px;
        margin: auto;
        vertical-align: middle;
    }
}

.jogador {
    font-size: 0.6rem;
}

.jogador img {
    width: 16px;
    height: 16px;
}

.jogador .icon-wo,
.jogador .medalha {
    width: 16px !important;
    height: 16px !important;
}

.jogador.mandante {
    font-size: 0.6rem;
    text-align: left;
}

.jogador.visitante {
    text-align: right;
}
.equipe.mandante{
    text-align:left;
}
.equipe.visitante{
    text-align:right;
}
.placarsl {
    min-width: 60px;
    text-align: center;
}


.clube-escudo {
    width: 32px;
    vertical-align: middle;
}
/* ===== POSIÇÃO ===== */
.itmpos {
    padding: 2px;
    width: 48px;
    height: 48px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.parts{
	display:flex; 
	flex-wrap:wrap; 
	gap:5px; 
	justify-content: space-between;
	.partDiv{
	     text-align:center; 
	     transition:0.2s; 
	     cursor:pointer;
	}
    .partEsc{
    	width: 64px;
    	height: 64px;
    	border:1px solid #aaa; 
    	border-radius:6px; 
    	transition: transform 0.2s, box-shadow 0.2s;
    }
    .partNome{
    	margin-top:5px;
    	font-size:12px;
    	color:#333;
    	width:90px;
    }
}
.embtro{
     width:128px; 
     height:128px;
     border-radius:8px;
}
.detalheComepticao{
    margin: 0 0 5px 0;
    font-size: 24px;
    color: #222;
}
.tabela-classificacao {
    border-collapse: collapse;
    font-size: 0.9em;
}
.tabela-classificacao th,
.tabela-classificacao td {
    border: 1px solid #ccc;
    padding: 3px 4px;
    text-align: right;
}
.nomeJ,.nome-clube,.nome-pais{
    text-align: left !important;
}
.tabela-classificacao th {
    background-color: var(--cor-primaria);
    font-weight: bold;
}
/* Campeão */
tr.campeao {
    background: linear-gradient(90deg, #f1c40f33, transparent) !important;
    font-weight: bold;
}
/* Acesso */
tr.acesso {
    background: linear-gradient(90deg, #2ecc7133, transparent);
}
/* Rebaixamento */
tr.rebaixamento {
    background: linear-gradient(90deg, #e74c3c33, transparent);
}
/* Placeholder */
tr.placeholder {
    border-bottom: 2px solid #d74b4b;
}
/* ===== MEDIA QUERIES ===== */

/* Tablet */
@media (max-width: 1000px) {
    .HDContainer {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .HDColuna,
    .HDDupla {
        width: 100%;
        max-width: none;
    }

    .HDDupla {
        grid-column: span 1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    nav.menu-grid {
        display: none;
    }

    .menu-hamburger {
        display: block;
    }

    main {
        width: 95vw;
        grid-template-columns: 1fr;
        padding: 5px;
        gap: 5px;
    }

    aside {
        display: none;
    }

    .HDContainer {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 0;
        max-width: 90vw;
    }

    .HDColuna,
    .HDDupla {
        width: 90vw;
        padding: 12px;
    }

    .HDDupla {
        grid-column: span 1;
    }

    header {
        width: 95vw;
        padding: 5px;
        display: flex;
        flex-direction: column-reverse;
    }

    .banner {
        width: 100vw;
        background-size: contain;
    }

    .plog,
    .publi1 {
        float: none;
        width: 90vw;
        margin: 5px 5px 5px 10px;
        padding: 15px 5px;
    }
    .publi1{
        display:none;
    }
    table {
        font-size: 0.8rem;
    }

    th,
    td {
        padding: 0.2rem;
    }

    .cards-pontuacao {
        justify-content: center;
    }

    .card-ponto {
        width: 60px;
        padding: 4px 1px;
        margin: 2px;
    }

    .jogo {
        padding: 0.3rem 0.5rem;
        min-width: auto;
    }

    .time img {
        height: 24px;
    }

    .modal-content {
        width: 90vw;
        max-height: 80vh;
        padding: 15px;
    }

    .modal-content .faixa-bloco {
        width: 28vw;
    }

    .modal-content .pfaixa {
        width: 29vw;
        margin-left: -2px !important;
    }

    .modal-content .cardjogo {
        width: 105px;
        padding: 5px 0px;
        margin-left: -2px;
    }

    .close {
        margin: -20px 0px;
        float: right;
        font-size: 24px;
        cursor: pointer;
    }

    footer {
        max-height: 30px;
        width: 95dvw;
        padding: 10px 5px;
    }

    .container {
        padding: 0.1px
    }

    .nota-blog {
        width: 85vw;
        padding: 2px;
        font-size: 0.4rem !important;
    }

    .nota-blog .meta {
        width: 80vw;
        padding-bottom: 0.4rem;
        font-size: 0.6rem;
        margin-bottom: 0.2rem;
    }

    .nota-blog time,
    .nota-blog .autor {
        min-width: 50px !important;
    }

    .nota-blog img {
        width: 60vw;
        margin: auto !important;
    }

    .nota-blog h2 {
        font-size: 0.7rem !important;
    }

    .nota-blog p,
    .nota-blog h1 {
        padding: 0.2rem;
        font-size: 0.7rem;
        margin: 0.1rem;
    }

    .faixa-bloco {
        padding: 2px;
        margin-top: 2px;
    }

    .faixa-bloco .jogo-andamento strong img {
        width: 8px !important;
        height: unset;
    }

    .faixa-baixo {
        margin-left: 0px !important;
    }

    .faixa-icon img {
        margin: 8px;
        width: 24px !important;
        height: 24px !important;
    }

    .bloco-texto {
        width: 33vw;
        font-size: 0.8rem;
        margin-left: 17px;
        padding: 5px;
    }

    .times {
        padding: 0%;
    }

    .times img {
        width: 32px;
    }

    .cardjogo {
        width: 115px;
    }

    .palpite-Card {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 2px;
    }

    .palpite-Card legend {
        font-size: 1rem;
    }

    .palpite-Card legend img {
        width: 32px;
    }

    .apostaLinha {
        margin-bottom: 0.1rem;
    }

    .apostaLinha,
    .apostaDir,
    .apostaEsq {
        font-size: 0.6rem;
        gap: 2px;
    }

    .apostaLinha img,
    .apostaDir img,
    .apostaEsq img {
        width: 32px;
    }

    .apostaDir,
    .apostaEsq {
        min-width: 120px;
        width: 120px;
    }

    .topoAposta {
        margin: 0.5rem 0;
    }

    .topoAposta p,
    .topoAposta h2 {
        margin: 0.2rem 0;
    }

    .box-aposta {
        margin-bottom: 4px;
    }

    .cadrodada {
        margin-top: 5px;
    }

    .cadrodada p {
        margin: 2px 0px;
        font-size: 0.8rem;
    }

    .detalheSelecao,
    .detalheClube {
        gap: 2px !important;
    }

    .itmpos {
        width: 32px !important;
        height: 32px !important;
    }

    .jogos-grid {
        gap: 0px !important;
        flex-direction: column;
    }

    .jogos-grid .rodada {
        margin: 5px auto 0 auto !important;
    }

    .formacao-campo {
        gap: 10px !important;
    }

    .formacao-campo h2 {
        padding: 0.8rem !important;
    }

    .formacao-campo .jogador-card {
        padding: 4px;
    }

    .confronto-group {
        margin-bottom: 5px;
    }
    .partEsc{
    	width: 48px !important;
    	height: 48px !important;
    }
    .partNome{
    	margin-top:2px !important;
    	font-size:0.6rem !important;
    	width:60px !important;
    }
    .embtro{
         width:48px; 
         height:48px;
         border-radius:4px;
    }
    .detalheCompeticao{
        font-size: 0.7rem;
        h2{
            margin: 0.4rem 0rem;
        }
    }
    .mostrajogadores{
        gap: 2px;
        font-size:0.5rem;
    }
    .mostrajogadores, .jogosl {
        font-size: 0.5rem;
        .badge-jogador{
            gap:0rem;
            padding: 0.05rem 0.2rem;
        }
        img{
            width:10px;
            height:10px;
        }
        .icon-wo,.medalha{
            width: 10px !important;
            height: 10px !important;
            margin:0rem;
        }
        .icon-bandeira{
            width:10px !important;
        }
    }
    .placarsl{
        font-size:0.7rem !important;
    }
    .clube-escudo{
        width: 32px !important;
        height: 32px !important;
    }
    
    table {
        font-size: 0.6rem;
        .badge-jogador{
            gap:0rem;
            padding: 0.05rem 0.2rem;
            font-size: 0.7rem;
        }
        img{
            width:16px;
            height:16px;
        }
        .icon-wo,.medalha{
            width: 16px !important;
            height: 16px !important;
            margin:0rem;
        }
        .icon-bandeira{
            width:16px !important;
        }
        td,th{
            padding: 1px 1px !important;
        }
    }
    .tabela-classificacao{
        font-size:0.6rem !important;
    }
    .placarsl{
        font-size:0.7rem !important;
    }
    .clube-escudo{
        width: 32px !important;
        height: 32px !important;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .HDColuna,
    .HDDupla {
        width: 90vw;
        padding: 4px;
    }

    .banner {
        width: 90vw;
        height: 75px;
    }

    .card-ponto {
        width: 50px;
        font-size: 0.8rem;
    }

    .jogo, .jogo span {
        font-size: 0.7rem !important;
        gap: 4px;
        text-align: center;
    }

    .time img {
        height: 20px;
        width: 20px;
    }

    .jogador-card {
        width: 37vw !important;
        font-size: 0.6rem !important;
    }

    .jogador-card .badge-jogador img {
        width: 16px;
        height: 16px;
    }

    .jogador-card .medalha {
        width: 16px !important;
        height: 16px !important;
    }

    .badge-jogador img {
        width: 16px;
        height: 16px;
    }

    .medalha,
    .icon-wo {
        width: 16px !important;
        height: 16px !important;
    }

    .placar {
        margin: 0 0.2rem;
        font-size: 1rem;
    }
}