.lichess-dashboard {
    background: #1a1e24;
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lichess-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.lichess-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lichess-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.lichess-online {
    background-color: #4cd137;
    box-shadow: 0 0 8px #4cd137;
}

.lichess-offline {
    background-color: #7f8c8d;
}

.lichess-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.lichess-stat-card {
    background: #252b33;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.2s;
}

.lichess-stat-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}

.lichess-stat-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.lichess-stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f1c40f;
}

.lichess-chart-container {
    background: #252b33;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.lichess-notice {
    padding: 15px;
    background: #f39c12;
    color: #000;
    border-radius: 5px;
    text-align: center;
}

.lichess-error {
    padding: 15px;
    background: #e74c3c;
    color: #fff;
    border-radius: 5px;
    text-align: center;
}

/* Estilos de Validação v1.1.0 */
input[name="field_7"] {
    transition: all 0.3s ease;
    border-width: 2px !important;
}

#lichess-validation-feedback {
    display: block;
    min-height: 20px;
    padding-left: 5px;
}

.lichess-stat-card .text-success {
    color: #4cd137 !important;
}

.lichess-stat-card .text-danger {
    color: #e74c3c !important;
}

/* Melhoria no Scroll de Gráfico */
.lichess-chart-container canvas {
    max-width: 100%;
}

/* Estilos de Ranking v2.0.0 */
.lichess-ranking-wrap {
    background: #1a1e24;
    border-radius: 12px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
}

.lichess-mvp-card {
    transition: transform 0.3s ease;
}

.lichess-mvp-card:hover {
    transform: translateY(-5px);
}

.lichess-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
}

.lichess-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #eee;
}

.lichess-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.lichess-table tr:hover {
    background-color: #f9f9f9;
}

.lichess-table tr:first-child td:first-child {
    font-weight: bold;
    color: #ffd700;
}

.lichess-ranking-title {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-left: 4px solid #f1c40f;
    padding-left: 15px;
}

.lichess-ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.lichess-ranking-table th {
    text-align: left;
    color: #999;
    text-transform: uppercase;
    font-size: 12px;
    padding: 12px;
    border-bottom: 2px solid #333;
}

.lichess-ranking-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #222;
    color: #eee;
}

.lichess-ranking-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.rank-number {
    font-weight: bold;
    font-size: 1.1rem;
    color: #666;
}

.rank-pos-1 .rank-number {
    color: #f1c40f;
}

.rank-pos-2 .rank-number {
    color: #bdc3c7;
}

.rank-pos-3 .rank-number {
    color: #cd7f32;
}

.rank-medal {
    font-size: 1.4rem;
}

.rank-team-name {
    color: #fff;
    font-size: 1.1rem;
}

.rank-members {
    color: #aaa;
    font-size: 0.9rem;
}

.rank-idr-total {
    text-align: right;
    font-weight: bold;
    color: #f1c40f;
    font-size: 1.2rem;
}

.lichess-ranking-footer {
    margin-top: 20px;
    font-size: 11px;
    color: #555;
    text-align: right;
}

/* Estilos Ranking Futebol v5.3.0 */
.lichess-ranking-table.football-style th {
    background: #252b33;
    color: #f1c40f;
    text-align: center;
}

.lichess-ranking-table.football-style th:nth-child(2),
.lichess-ranking-table.football-style td:nth-child(2) {
    text-align: left;
}

.lichess-ranking-table.football-style td {
    text-align: center;
    font-weight: 500;
}

.pts-col {
    color: #f1c40f;
    font-size: 1.1rem;
}

.form-indicators {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.form-badge {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.form-badge.win {
    background-color: #2ecc71;
}

.form-badge.draw {
    background-color: #7f8c8d;
}

.form-badge.loss {
    background-color: #e74c3c;
}

/* Podium highlight */
.podium-row.podium-1 {
    background: rgba(241, 196, 15, 0.1) !important;
}

.podium-row.podium-2 {
    background: rgba(189, 195, 199, 0.1) !important;
}

.podium-row.podium-3 {
    background: rgba(205, 127, 50, 0.1) !important;
}

.podium-1 td:first-child {
    color: #f1c40f;
    font-weight: bold;
}

.podium-2 td:first-child {
    color: #bdc3c7;
    font-weight: bold;
}

.podium-3 td:first-child {
    color: #cd7f32;
    font-weight: bold;
}

/* Wall Shortcuts (v10.1.10) */
.lichess-wall-shortcuts {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    align-items: center;
}

.lichess-wall-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #252b33;
    color: #ffffff !important;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.lichess-wall-btn i {
    font-size: 15px;
}

.lichess-wall-btn:hover {
    background: #2d353f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Button Colors */
.lichess-wall-btn.stats:hover {
    border-color: #f1c40f;
}

.lichess-wall-btn.challenge:hover {
    border-color: #3498db;
}

.lichess-wall-btn.hub:hover {
    border-color: #3498db;
}

.lichess-wall-btn.seasons:hover {
    border-color: #2ecc71;
}

.lichess-wall-btn.edit:hover {
    border-color: #e67e22;
}

.lichess-wall-btn.stats i {
    color: #f1c40f;
}

.lichess-wall-btn.challenge i {
    color: #3498db;
}

.lichess-wall-btn.hub i {
    color: #3498db;
}

.lichess-wall-btn.seasons i {
    color: #2ecc71;
}

.lichess-wall-btn.edit i {
    color: #e67e22;
}

/* Status Live Tool */
.wall-user-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #fff;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #95a5a6;
}

.status-dot-mini {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7f8c8d;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.status-dot-mini.online {
    background: #2ecc71;
    box-shadow: 0 0 5px #2ecc71;
    animation: status-pulse 2s infinite;
}

.status-dot-mini.playing {
    background: #f1c40f;
    box-shadow: 0 0 5px #f1c40f;
    animation: status-pulse 1s infinite;
}

.ranking-challenge-button {
    background: #3498db;
    color: #fff !important;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: fit-content;
    margin-top: 4px;
}

.ranking-challenge-button:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-color: #fff;
}

/* Season Summary Cards (v10.2.0) */
.lichess-season-summary .summary-card {
    transition: all 0.3s ease;
    cursor: default;
}

.lichess-season-summary .summary-card:hover {
    transform: translateY(-5px);
    background: #252b33 !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ranking-challenge-button i {
    font-size: 12px;
}

.wall-user-status.online .status-dot {
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
    animation: status-pulse 2s infinite;
}

.wall-user-status.playing .status-dot {
    background: #f1c40f;
    box-shadow: 0 0 8px #f1c40f;
    animation: status-pulse 1s infinite;
}

@keyframes status-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* Delta Badges */
.wall-delta {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.wall-delta.positive {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.wall-delta.negative {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* Official Title Badges (Site-wide) */
.lichess-title-badge {
    background: #d4af37;
    color: #000 !important;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 900;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    text-shadow: none;
    line-height: 1.4;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .lichess-wall-shortcuts {
        gap: 8px;
    }

    .lichess-wall-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .lichess-wall-btn span {
        display: none;
    }

    .lichess-wall-btn {
        padding: 10px;
    }

    .wall-user-status label {
        display: none;
    }

    .wall-user-status {
        padding: 8px;
    }
}

/* Social Sharing & Snapshots (v11.1.0) */
.lichess-social-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.lichess-share-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none !important;
}

.lichess-share-btn.share-wa {
    background: #25d366;
}

.lichess-share-btn.share-fb {
    background: #1877f2;
}

.lichess-share-btn.share-tw {
    background: #000000;
}

.lichess-share-btn.share-tg {
    background: #0088cc;
}

.lichess-share-btn.lichess-share-snapshot {
    background: #6c5ce7;
}

/* Article Specific Share Bar */
.lichess-social-actions.articles-share-bar {
    background: rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #6c5ce7;
    margin-top: 40px;
}

.lichess-share-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.lichess-share-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Snapshot Tweaks */
.is-taking-snapshot {
    padding: 40px !important;
    border: 1px solid #eee !important;
    box-shadow: none !important;
}

.is-taking-snapshot .lichess-social-actions,
.is-taking-snapshot .lichess-search-box {
    display: none !important;
}