/*
Theme Name: BlogVermelho
Theme URI: https://example.com/blog-vermelho
Author: Antigravity AI
Author URI: https://example.com/
Description: Um tema moderno e dinâmico para torcedores do Sport Club Internacional.
Version: 71.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blog-vermelho
Tags: sports, red, white, modern, blog
*/

/*=============================================
=            CSS Variables                    =
=============================================*/
:root {
    /* Main Colors */
    --inter-red: #E50014;
    --inter-red-dark: #B3000E;
    --inter-white: #FFFFFF;
    
    /* Grays & Backgrounds */
    --bg-light: #F4F6F8;
    --bg-darker: #E5E7EB;
    --text-main: #333333;
    --text-muted: #6B7280;
    
    /* Accents & UI */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
    --transition-speed: 0.3s;
    
    /* Specific Element Colors */
    --header-bg: var(--inter-red);
    --nav-text: var(--inter-white);
    --success-green: #10B981;
}

/*=============================================
=            Global Styles                    =
=============================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive Media Reset (v33.0) */
img, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

ul {
    list-style: none;
}

/* Base Glassmorphism Class */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--border-radius-md);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
}

.btn-primary {
    background-color: var(--inter-red);
    color: var(--inter-white);
}

.btn-primary:hover {
    background-color: var(--inter-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 0, 20, 0.3);
}

.btn-secondary {
    background-color: var(--text-main);
    color: var(--inter-white);
}

.btn-secondary:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/*=============================================
=            Top Marquee                      =
=============================================*/
.top-bar {
    background-color: #111;
    color: #FFF;
    font-size: 0.85rem;
    padding: 8px 0;
    overflow: hidden;
}

.marquee-container {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.scores-marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}

.scores-marquee span {
    margin-right: 50px;
    font-weight: bold;
}

.scores-marquee i {
    color: var(--inter-red);
    margin-right: 5px;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/*=============================================
=            Header                           =
=============================================*/
.main-header {
    background-color: var(--header-bg);
    color: var(--nav-text);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.logo-main {
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
    color: #FFF !important;
    font-weight: 700;
}

.logo-main span {
    font-weight: 400;
    opacity: 0.9;
}

.logo-sub {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 2px;
}

@media (max-width: 380px) {
    .logo-sub {
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }
}

.logo-since {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.logo-version {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
}

.header-club-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-link:hover .header-club-logo {
    transform: rotate(10deg) scale(1.1);
}

.text-white { color: #FFF !important; }
.opacity-70 { opacity: 0.7; }

.main-nav ul {
    display: flex;
    gap: 30px;
}

.leaderboard-disclaimer {
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    margin: 15px auto 0;
    line-height: 1.5;
    max-width: 900px;
    text-align: center;
}

.main-nav a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFF;
    transition: width var(--transition-speed);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.search-btn {
    background: none;
    border: none;
    color: #FFF;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform var(--transition-speed);
}

.search-btn:hover {
    transform: scale(1.1);
}

/*=============================================
=            Hero Section                     =
=============================================*/
.hero {
    margin: 30px 0;
}

.hero-content {
    padding: 60px;
    border-radius: var(--border-radius-lg);
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.category-tag {
    background-color: var(--inter-red);
    color: #FFF;
    padding: 4px 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
    border-radius: 4px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    z-index: 2;
}

.hero-meta .post-date, 
.hero-meta .post-comments {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}
.hero h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 15px;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/*=============================================
=            Main Layout Structure            =
=============================================*/
.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

/* Ensure grid items don't overflow on small screens (v33.0) */
.main-layout > * {
    min-width: 0;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-darker);
    padding-bottom: 10px;
}

.section-header h3 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.section-header h3 i {
    color: var(--inter-red);
}

.view-all {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--inter-red);
}

.view-all:hover {
    text-decoration: underline;
}

/*=============================================
=            News Grid (Content Area)         =
=============================================*/
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.post-card {
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.post-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--inter-red);
}

.post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.post-date, .post-comments {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-comments {
    color: var(--inter-red);
    font-weight: 600;
}

.post-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.3;
}

.post-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    font-weight: bold;
    color: var(--inter-red);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    transition: transform var(--transition-speed);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Video Section & YouTube Dashboard */
.video-section {
    padding: 25px;
}

.video-dashboard {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 15px;
}

.video-main {
    flex: 1;
}

.video-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-title {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: #FFF;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-recents {
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255,255,255,0.05);
}

.video-recents h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--inter-red);
    margin-bottom: 15px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(229, 0, 20, 0.2);
    padding-bottom: 8px;
    font-family: 'Oswald', sans-serif;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.video-item {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-item:hover {
    transform: translateX(5px);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item:hover .video-thumb img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 1.2rem;
    color: var(--inter-red);
    background: #FFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 3px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.video-item p {
    font-size: 0.8rem;
    line-height: 1.3;
    color: rgba(255,255,255,0.7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.video-item:hover p {
    color: #FFF;
}

/* Sidebar Specific Video Dashboard Styling */
.sidebar-video {
    padding: 12px !important;
    margin-bottom: 25px;
}

.sidebar-video .section-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.sidebar-video .section-header h3 {
    font-size: 0.9rem;
}

.sidebar-video .video-container {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 0;
}

.dashboard-sidebar .video-main {
    margin-bottom: 0;
}

.section-header .view-all-btn {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.section-header .view-all-btn:hover {
    color: var(--inter-red);
}

.section-header .main-nav ul li a:hover {
    color: var(--inter-red);
}

/* Header Social Icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.header-social a:not(.bv-header-live-badge) {
    color: #FFF;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.header-social a:not(.bv-header-live-badge):hover {
    color: var(--inter-red);
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .header-social {
        margin-left: 10px;
        gap: 10px;
    }
    .header-social a {
        font-size: 1rem;
    }
}

/* Responsivity for Video Dashboard */
@media (max-width: 991px) {
    .video-dashboard {
        grid-template-columns: 1fr;
    }
    .video-recents {
        margin-top: 10px;
    }
    .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/*=============================================
=            Sidebar Widgets                  =
=============================================*/
.widget {
    padding: 25px;
    margin-bottom: 30px;
}

.widget > h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--bg-darker);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget > h3 i {
    color: var(--inter-red);
}

/* Live Score Mock */
.score-match {
    background-color: var(--inter-red);
    color: #FFF;
    border-radius: var(--border-radius-md);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-score {
    font-size: 1.8rem;
    font-weight: bold;
}

.blinking {
    animation: blinker 1.5s linear infinite;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.3);
    padding: 3px 8px;
    border-radius: 4px;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* (Redundant Standings CSS removed - consolidated at line 1960) */

.view-full-table {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--inter-red);
}

.view-full-table:hover {
    text-decoration: underline;
}

/* Social Feed */
.tweet {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-darker);
}

.tweet:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tweet-header {
    margin-bottom: 5px;
}

.tweet-header span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.tweet p {
    font-size: 0.95rem;
}

/* Polls */
.poll p {
    font-weight: bold;
    margin-bottom: 15px;
}

.poll-option {
    display: block;
    padding: 10px;
    border: 1px solid var(--bg-darker);
    border-radius: var(--border-radius-md);
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.poll-option:hover {
    background-color: var(--bg-light);
}

.poll-form button {
    margin-top: 10px;
}

.hidden {
    display: none;
}

.poll-result-bar {
    height: 10px;
    background-color: var(--inter-red);
    border-radius: 5px;
    margin: 5px 0 15px 0;
}

/*=============================================
=            Footer                           =
=============================================*/
.main-footer {
    background-color: #1A1A1A;
    color: #FFF;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-about h3 span {
    color: var(--inter-red);
}

.footer-about p {
    color: #AAA;
    max-width: 400px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--inter-red);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #AAA;
}

.footer-links a:hover {
    color: #FFF;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #FFF;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.social-icons a:hover {
    background-color: var(--inter-red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #777;
    font-size: 0.9rem;
}

/*=============================================
=            Responsive Design                =
=============================================*/
@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 40px;
        min-height: 350px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}
/*=============================================
=            Player Rating System            =
=============================================*/
.player-ratings-section {
    margin-top: 50px;
    padding: 40px;
    background: rgba(20, 20, 20, 0.95); /* Darker backdrop for premium feel */
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.player-ratings-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: #FFF;
    letter-spacing: 2px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Oswald', sans-serif;
}

.player-ratings-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.player-rating-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all var(--transition-speed);
}

@media (max-width: 600px) {
    .player-rating-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px;
    }
    
    /* Top Row Layout: Avatar and Details side-by-side */
    .player-rating-card::before {
        content: none;
    }
    
    .player-avatar {
        width: 60px;
        height: 60px;
        margin: 0 15px 0 0;
        flex-shrink: 0;
    }

    /* Wrap avatar and details in a horizontal row logic using flex on the children */
    .player-rating-card {
        display: flex;
        flex-direction: column;
    }

    /* We need to restructure how the children are treated */
    .player-rating-card .player-avatar, 
    .player-rating-card .player-details {
        display: inline-flex;
    }

    /* Better approach: Use a pseudo-header style in CSS since we can't easily change HTML right now */
    .player-rating-card {
        padding-top: 15px;
    }

    /* Name and avatar on top row */
    .player-details {
        text-align: left;
        margin-top: -60px;
        margin-left: 75px;
        height: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .player-details h4 {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    /* Separator line */
    .rating-area {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    /* Slider takes full width */
    .slider-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 5px;
    }

    .rating-slider {
        width: 100%;
    }

        /* Value bubble at the bottom center */
        .rating-value-bubble {
            margin: 0 auto;
            transform: scale(1.1);
            box-shadow: 0 0 15px rgba(229, 0, 20, 0.6);
        }

        .rating-area {
            width: 100%;
        }
        
        .player-ratings-section h2 {
            font-size: 1.5rem;
        }
    }

.player-rating-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid #333; /* Default metallic edge */
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.player-rating-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
    pointer-events: none;
}

.player-rating-card:hover {
    border-left-color: var(--inter-red);
    background: linear-gradient(145deg, #222, #111);
    transform: translateX(5px);
}

.player-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #333;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--inter-red);
    box-shadow: 0 0 15px rgba(229, 0, 20, 0.3);
}

.player-details h4 {
    margin: 0;
    font-size: 1.3rem;
    color: #FFF;
    text-transform: uppercase;
}

.player-details span {
    font-size: 0.9rem;
    color: #AAA;
}

.rating-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stars-row {
    color: #ffd700; /* Gold */
    font-size: 0.9rem;
    display: flex;
    gap: 3px;
    margin-bottom: 5px;
}

/* ---- Tactical Level-Meter Slider ---- */
.slider-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    position: relative;
    width: 100%;
}

.rating-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: #222;
    border-radius: 2px;
    outline: none;
    border: 1px solid #333;
    /* This creates the fill effect via JS background-image */
    background-image: linear-gradient(to right, #e50014, #9a000d);
    background-size: 50% 100%; /* Default 5.0 */
    background-repeat: no-repeat;
}

.rating-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 24px;
    background: #FFF;
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid #9a000d;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    margin-top: -6px; /* Center it vertically */
}

.rating-value-bubble {
    align-self: flex-end;
    background: #111;
    color: var(--inter-red);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 2px 12px;
    border: 1px solid #333;
    border-radius: 2px;
    min-width: 50px;
    text-align: center;
    box-shadow: inset 0 0 5px rgba(0,0,0,1);
    letter-spacing: 1px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #777;
    margin-top: 5px;
}

.submit-ratings-container {
    text-align: center;
}

.btn-rating-submit {
    background: var(--inter-red);
    color: #FFF;
    font-size: 1.4rem;
    padding: 18px 50px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(229, 0, 20, 0.5);
    text-transform: uppercase;
    font-weight: bold;
}

/* Homepage Hero Grid */
.hero-grid {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.hero-main {
    flex: 1;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.live-tag {
    background: rgba(229, 0, 20, 0.2);
    border: 1px solid var(--inter-red);
    color: #FFF;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-rating-sidebar {
    width: 380px;
    background: rgba(15, 15, 15, 0.85); /* Darker for hero contrast */
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 550px;
    overflow-y: auto;
    padding: 25px !important;
}

/* Compact Rating Styling */
.compact-rating {
    grid-template-columns: 50px 1fr 120px !important;
    padding: 12px !important;
    gap: 12px !important;
}

.compact-rating .player-avatar {
    width: 45px !important;
    height: 45px !important;
}

.compact-rating h4 {
    font-size: 1rem !important;
}

.compact-rating .rating-value-bubble {
    font-size: 0.85rem !important;
    padding: 2px 8px !important;
    min-width: 35px !important;
}

/* Match Rating Header */
.match-rating-header {
    background: rgba(229, 0, 20, 0.1);
    border: 1px solid rgba(229, 0, 20, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.match-teams {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.match-venue {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .hero-grid {
        flex-direction: column;
    }
    .hero-rating-sidebar {
        width: 100%;
        max-height: 500px;
        overflow-y: auto;
    }
}

.hidden {
    display: none !important;
}

.average-display {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Elite Hall of Fame Styles */
.elite-hof .award-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.elite-hof .award-card:hover {
    transform: scale(1) translateY(-3px) !important;
}

.elite-hof .award-card i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
    font-size: 3.5rem;
}

.elite-hof::-webkit-scrollbar {
    width: 6px;
}

.elite-hof::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.elite-hof::-webkit-scrollbar-thumb {
    background: var(--inter-red);
    border-radius: 10px;
}

/* Dynamic Ticker Styles */
.ticker-item {
    white-space: nowrap;
    margin-right: 120px;
}

.last-match {
    color: #FFF;
}

.last-match small {
    color: #AAA;
    margin-left: 5px;
    font-size: 0.8rem;
}

.next-match {
    color: var(--inter-red);
    font-weight: 500;
}

.next-match strong {
    color: #FFF;
    margin-left: 5px;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.scores-marquee {
    display: flex;
    width: max-content;
    animation: marquee 60s linear infinite; /* Faster scroll speed */
    white-space: nowrap;
}

.ticker-scorers {
    color: #ffd700; /* Gold/Yellow for visibility */
    font-size: 0.85rem;
    margin-left: 8px;
    font-weight: 400;
}

.ticker-ratings {
    color: #ffd700;
    font-weight: 700;
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.ticker-ratings i {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
}

.scores-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Voting Area Branding */
.voting-branding {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
}

.voting-branding span {
    color: var(--inter-red);
}

/* Single Post Specifics */
.single-header-img {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
    color: #FFF;
    margin-bottom: 40px;
}

.single-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.single-title-container {
    position: relative;
    z-index: 2;
}

.single-title-container h1 {
    font-size: 3rem;
    margin: 15px 0;
    line-height: 1.2;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.share-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #EEE;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.article-content {
    padding: 60px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 768px) {
    .article-content {
        padding: 30px 20px;
    }
    
    .single-title-container h1 {
        font-size: 2.2rem;
    }
    
    .single-header-img {
        height: 350px;
        padding-bottom: 30px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
}

/* Elite Award Card Typography */
.award-card {
    padding: 20px;
    border-radius: 15px;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.award-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 5px;
    font-weight: 600;
}

.player-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 70%;
}

.rating-number {
    position: absolute;
    right: 20px;
    bottom: 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.elite-hof .award-card i {
    z-index: 1;
}

.award-title, .player-name, .rating-number {
    position: relative;
    z-index: 2;
}

/* Elite Hall of Fame Gallery (V2) */
.elite-hof-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .elite-hof-gallery {
        max-height: 500px;
        overflow-y: auto;
    }
}

.award-card-v2 {
    border-radius: 15px;
    overflow: hidden;
    color: #FFF;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.score-item {
    padding: 20px;
    text-align: center;
    position: relative;
    background: rgba(10, 10, 10, 0.9); /* Darker gray for better text contrast */
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.award-card-v2:hover {
    transform: translateY(-5px);
}

.award-v2-header {
    padding: 10px 15px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.award-v2-header i {
    color: #ffd700; /* Gold */
    font-size: 0.9rem;
}

.award-v2-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.award-v2-body {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.award-v2-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.award-v2-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
}

.award-v2-info {
    flex: 1;
}

.player-v2-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 3px;
}

.rating-v2-value {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.rating-v2-value span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFF;
    margin-left: 5px;
}

/* Substitution Styling */
.section-divider-title {
    grid-column: 1 / -1;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--inter-red);
    text-transform: uppercase;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(229,0,20,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-time-label {
    font-size: 0.75rem;
    color: var(--inter-red);
    font-weight: 600;
    margin-left: 5px;
    opacity: 0.8;
}

.substitute-item {
    border-left: 3px solid var(--inter-red);
}

/* Hall of Fame & Post-Vote Polish */
.btn-hof-link {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--inter-red), #b30000);
    color: #FFF !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(225, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-hof-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(225, 0, 0, 0.5);
    background: linear-gradient(135deg, #ff1a1a, var(--inter-red));
}

.voted-confirmation-box {
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.section-divider-title {
    font-family: 'Oswald', sans-serif;
    color: #FFF;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-left: 4px solid var(--inter-red);
    padding-left: 15px;
    margin: 30px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-divider-title i {
    color: var(--inter-red);
    font-size: 0.9rem;
}

/* Sidebar Hall of Fame Link */
.btn-hof-sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--inter-red) !important;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border: 1px solid rgba(225, 0, 0, 0.2);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-hof-sidebar-link:hover {
    background: var(--inter-red);
    color: #FFF !important;
    border-color: var(--inter-red);
    transform: translateX(3px);
}

.btn-hof-sidebar-link i {
    font-size: 0.8rem;
}

/* Confetti Celebration */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    top: -10px;
    z-index: 10000;
    opacity: 1;
    animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Comandante Award Special Polish */
.award-card-v2[style*="#1a1a1a"] {
    border: 2px solid var(--inter-red);
    box-shadow: 0 0 20px rgba(229, 0, 20, 0.4);
}

.award-v2-header i.fa-user-tie {
    color: var(--inter-red);
}

/* Load More & Animations */
.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#load-more-posts {
    padding: 15px 40px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#load-more-posts:hover {
    transform: scale(1.05);
    background: var(--inter-red);
    color: #FFF;
    box-shadow: 0 10px 20px rgba(229,0,20,0.2);
}

#load-more-posts i {
    margin-right: 10px;
    transition: transform 0.3s;
}

#load-more-posts:hover i {
    transform: rotate(90deg);
}

/* Lanterna Vermelha Special Styling */
.award-card-v2[style*="#2c3e50"] {
    border: 2px solid #95a5a6;
    filter: grayscale(0.5);
    opacity: 0.9;
}

.award-v2-header i.fa-anchor {
    color: #bdc3c7;
}

.award-card-v2[style*="#2c3e50"]:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
}

/* Standings Table Premium Polish */
.standings-widget-container {
    padding: 10px 0;
}

.standings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 2px;
    font-size: 0.72rem !important;
    line-height: 1.2;
}

.standings-table th {
    text-align: left;
    color: var(--text-muted);
    font-size: 0.65rem !important;
    text-transform: uppercase;
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.standings-table tr {
    transition: background 0.2s;
}

.standings-table td {
    padding: 4px 8px !important;
    vertical-align: middle;
}

.team-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.team-name img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.team-rank {
    font-weight: bold;
    color: #888;
    width: 30px;
}

.highlight-team {
    background: rgba(229, 0, 20, 0.15) !important;
    border-left: 3px solid var(--inter-red);
    color: #FFF;
}

.highlight-team .team-rank {
    color: var(--inter-red);
}

.g4-zone .team-rank {
    border-left: 3px solid #3498db;
    padding-left: 7px;
}

.z4-zone .team-rank {
    border-left: 3px solid #e74c3c;
    padding-left: 7px;
}

.standings-footer {
    margin-top: 15px;
    text-align: center;
}

.view-full-table {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--inter-red);
    letter-spacing: 1px;
    transition: gap 0.2s;
}

.view-full-table:hover i {
    transform: translateX(5px);
}

/*=============================================
=            Colunas Archive Page             =
=============================================*/
.colunas-page-container {
    padding-bottom: 80px;
    background: #fdfdfd;
}

.colunas-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 4px solid var(--inter-red);
}

.colunas-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 10px;
}

.colunas-hero h1 span {
    color: var(--inter-red);
}

.colunas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Small Preview Card */
.coluna-card-small {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.coluna-card-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.coluna-thumb-small {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.coluna-thumb-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.coluna-card-small:hover .coluna-thumb-small img {
    transform: scale(1.1);
}

.coluna-info-small {
    padding: 20px;
}

.coluna-info-small .category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--inter-red);
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.coluna-info-small h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #222;
}

.coluna-info-small p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.coluna-meta-small {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    justify-content: space-between;
}

.load-more-container {
    text-align: center;
}

#load-more-colunas {
    padding: 15px 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .colunas-hero h1 { font-size: 2.5rem; }
}

/* Elenco Page Utilities */
.elenco-grid .glass-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.rating-high { color: #2ecc71 !important; text-shadow: 0 0 10px rgba(46, 204, 113, 0.3); }
.rating-mid  { color: #f1c40f !important; text-shadow: 0 0 10px rgba(241, 196, 15, 0.3); }
.rating-low  { color: #e74c3c !important; text-shadow: 0 0 10px rgba(231, 76, 60, 0.3); }

/* Player Performance Icons */
.player-performance-icons {
    display: inline-flex;
    gap: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.player-performance-icons i {
    font-size: 0.75rem;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

.goal-icon { color: #FFF; }
.assist-icon { color: #3498db; }
.yellow-card-icon { color: #f1c40f; }
.red-card-icon { color: #e74c3c; }

@keyframes icon-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.player-performance-icons i {
    animation: icon-pulse 2s infinite ease-in-out;
}

/*=============================================
=            Culpômetro — Blame Voting         =
=============================================*/

/* Main Widget Container */
.cagometro-widget {
    margin: 30px 0;
    padding: 28px;
    border-radius: var(--border-radius-lg);
    background: #fff;
    border-top: 5px solid #7f0000;
    box-shadow: 0 8px 32px rgba(127,0,0,0.08);
}

.cago-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cago-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cago-icon {
    font-size: 1.8rem;
}

.cago-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: #7f0000;
}

.cago-league-tag {
    background: #7f0000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Result Badge */
.cago-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cago-result-loss {
    background: rgba(190,0,0,0.1);
    color: #be0000;
}

.cago-result-draw {
    background: rgba(200,120,0,0.1);
    color: #c87800;
}

/* Countdown Bar */
.cago-countdown-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7f0000, #c0392b);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.cago-countdown, .notas-countdown {
    font-family: 'Oswald', 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 8.5rem; /* Sufficient to fit '0h 00m 00s' without shifting */
    text-align: center;
}

/* Vote Instructions */
.cago-vote-instructions {
    text-align: center;
    margin-bottom: 18px;
}

.cago-vote-instructions p {
    color: var(--text-muted);
    margin: 4px 0;
}

.cago-hint {
    font-size: 0.9rem;
}

.cago-group-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--bg-darker);
    padding-bottom: 6px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Player Cards Grid */
.cago-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.cago-player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-light);
    position: relative;
    text-align: center;
}

.cago-player-card:hover {
    border-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192,57,43,0.15);
}

.cago-player-card.cago-player-selected {
    border-color: #7f0000;
    background: rgba(127,0,0,0.06);
    box-shadow: 0 0 0 3px rgba(127,0,0,0.25);
}

.cago-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cago-player-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #ddd;
    background-size: cover;
    background-position: top center;
    margin-bottom: 8px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: filter 0.2s ease;
}

.cago-player-selected .cago-player-photo {
    filter: brightness(0.8) sepia(1) hue-rotate(-40deg) saturate(3);
}

.cago-player-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cago-player-name {
    font-size: 0.78rem;
    font-weight: bold;
    color: var(--text-main);
    line-height: 1.2;
}

.cago-player-pos {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.cago-check-indicator {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #7f0000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.cago-player-selected .cago-check-indicator {
    opacity: 1;
    transform: scale(1);
}

.cago-check-indicator i {
    color: #fff;
    font-size: 0.7rem;
}

/* Submit Area */
.cago-submit-area {
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--bg-darker);
}

.cago-selection-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.btn-cago-submit {
    background: linear-gradient(135deg, #7f0000, #c0392b);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127,0,0,0.35);
}

.btn-cago-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127,0,0,0.4);
}

.btn-cago-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cago-error-msg {
    color: #c0392b;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

.cago-already-voted-msg {
    text-align: center;
    color: var(--success-green);
    margin-top: 16px;
    font-weight: bold;
    padding: 12px;
    background: rgba(16,185,129,0.08);
    border-radius: 8px;
}

/* Results Section */
.cago-results-section {
    padding-top: 10px;
}

.cago-results-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cago-results-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.cago-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--inter-red) transparent;
}

.cago-results-list::-webkit-scrollbar {
    width: 4px;
}

.cago-results-list::-webkit-scrollbar-thumb {
    background: var(--inter-red);
    border-radius: 10px;
}

.notas-results-list {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--inter-red) transparent;
}

.notas-results-list::-webkit-scrollbar {
    width: 4px;
}

.notas-results-list::-webkit-scrollbar-thumb {
    background: var(--inter-red);
    border-radius: 10px;
}

.cago-result-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 10px;
    background: var(--bg-light);
}

.cago-result-photo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background-color: #ddd;
    background-size: cover;
    background-position: top center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cago-result-info {
    flex: 1;
    min-width: 0;
}

.cago-result-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cago-result-bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cago-result-bar {
    height: 6px;
    background: linear-gradient(90deg, #7f0000, #c0392b);
    border-radius: 3px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cago-result-pct {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.cago-result-pts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 55px;
}

.cago-pts-val {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #c0392b;
    font-weight: bold;
    line-height: 1;
}

.cago-pts-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* No Results */
.cago-no-results {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
}

/* Win Banner */
.cago-win-banner {
    background: linear-gradient(135deg, #0a3d0a, #1a6b1a) !important;
    border-top: 5px solid #2ecc71 !important;
    text-align: center;
}

.cago-win-inner {
    padding: 10px 0;
}

.cago-win-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.cago-win-banner h3 {
    color: #2ecc71 !important;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.cago-win-msg {
    font-size: 1.15rem;
    font-weight: bold;
    color: #a8e6cf;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sidebar Widget */
.cagometro-sidebar-widget {
    padding: 0;
}

.cago-widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--bg-darker);
    padding-bottom: 10px;
}

.cago-widget-icon {
    font-size: 1.4rem;
}

.cago-widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--text-main);
    flex: 1;
}

.cago-badge-open {
    background: #c0392b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    animation: blinker 1.5s linear infinite;
}

.cago-widget-league {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.cago-widget-open-msg {
    text-align: center;
    padding: 10px 0;
}

.cago-widget-open-msg i {
    font-size: 1.5rem;
    color: var(--inter-red);
    margin-bottom: 6px;
    display: block;
}

.cago-widget-open-msg p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.btn-cago-widget {
    display: inline-block;
    background: linear-gradient(135deg, #7f0000, #c0392b);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-cago-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127,0,0,0.3);
    color: #fff;
}

.cago-widget-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.cago-widget-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cago-widget-photo {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background-color: #ddd;
    background-size: cover;
    background-position: top center;
}

.cago-widget-name {
    flex: 1;
    font-size: 0.82rem;
    font-weight: bold;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cago-widget-pts {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #c0392b;
    font-weight: bold;
}

.cago-widget-pts small {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-left: 2px;
}

.cago-widget-full-link {
    display: block;
    text-align: center;
    color: var(--inter-red);
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 8px;
}

.cago-widget-full-link:hover {
    text-decoration: underline;
}

.cago-widget-no-votes {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 10px;
}

/* Widget Mini Standings */
.cago-widget-standings {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--bg-darker);
}

.cago-standings-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: bold;
}

.cago-standings-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid var(--bg-darker);
    font-size: 0.82rem;
}

.cago-standings-row:last-child {
    border-bottom: none;
}

.cago-standings-rank {
    color: var(--text-muted);
    min-width: 18px;
    font-weight: bold;
    font-size: 0.78rem;
}

.cago-standings-name {
    flex: 1;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cago-standings-pts {
    color: #c0392b;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
}

/* HOF Page Culpômetro Sections */
.cago-hof-section {
    max-width: 1100px;
    margin: 0 auto;
}

.cago-hof-leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.cago-hof-league-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
}

.cago-hof-league-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #ff6b6b;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cago-hof-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cago-hof-table-header {
    display: grid;
    grid-template-columns: 30px 1fr 70px;
    gap: 8px;
    padding: 6px 8px;
    font-size: 0.72rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cago-hof-row {
    display: grid;
    grid-template-columns: 30px 1fr 70px;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.cago-hof-row:last-child {
    border-bottom: none;
}

.cago-hof-row:hover {
    background: rgba(255,255,255,0.04);
}

.cago-top-row {
    background: rgba(127,0,0,0.15);
    border-left: 3px solid #c0392b;
}

.cago-hof-rank {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
}

.cago-top-row .cago-hof-rank {
    color: #ff6b6b;
}

.cago-hof-player {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.cago-hof-player span {
    color: #fff;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cago-hof-photo {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    background-size: cover;
    background-position: top center;
}

.cago-hof-pts {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #ff6b6b;
    font-weight: bold;
    text-align: right;
}

/* hidden utility */
.hidden { display: none !important; }

/* Admin Refresh Button Styling (v21.1) */
.admin-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-admin-refresh {
    background: rgba(229, 0, 20, 0.15) !important;
    color: var(--inter-red) !important;
    border: 1px solid var(--inter-red) !important;
    padding: 10px 20px !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    border-radius: 30px !important;
    font-size: 0.9rem !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn-admin-refresh:hover {
    background: var(--inter-red) !important;
    color: #FFF !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(229, 0, 20, 0.3);
}

.btn-admin-refresh i {
    font-size: 1rem;
}
/* Culpômetro Widget: Option 2 - Match Day Noir */
.cagometro-sidebar-widget.noir-style {
    background: #111;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(192, 57, 43, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(192, 57, 43, 0.1);
    overflow: hidden;
    color: #FFF;
}

.cagometro-sidebar-widget.noir-style .cago-widget-header {
    background: rgba(192, 57, 43, 0.1);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(192, 57, 43, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cagometro-sidebar-widget.noir-style .cago-widget-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    color: #FFF;
    margin: 0;
}

.cago-noir-open-state {
    padding: 25px 20px;
    text-align: center;
}

.cago-noir-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(192, 57, 43, 0.1);
    border: 2px solid #c0392b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 0 15px rgba(192, 57, 43, 0.3);
}

.cago-noir-icon-wrap i {
    font-size: 1.8rem;
    color: #c0392b;
    text-shadow: 0 0 10px rgba(192, 57, 43, 0.5);
}

.cago-noir-msg {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #FFF;
}

.cago-noir-subtext {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 25px;
    line-height: 1.4;
}

.btn-cago-noir {
    background: #c0392b;
    color: #FFF;
    text-decoration: none;
    display: block;
    padding: 12px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #e74c3c;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
}

.btn-cago-noir:hover {
    background: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.6);
    color: #FFF;
}

/* Standings/Results refinement for Noir */
.cago-widget-row.noir-row {
    background: rgba(255,255,255,0.03) !important;
    border-color: rgba(192, 57, 43, 0.2) !important;
}

.cago-standings-title.noir-subtitle {
    color: #c0392b !important;
    border-color: rgba(192, 57, 43, 0.3) !important;
}
.cagometro-sidebar-widget.noir-style .cago-widget-name,
.cagometro-sidebar-widget.noir-style .cago-standings-name {
    color: #FFF !important;
    opacity: 1 !important;
}

/* NOTAS Voting Scroll Box - V33.2 */
.voting-scroll-box {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 15px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #c0392b transparent;
}

/* Custom Scrollbar for Chrome/Safari/Edge */
.voting-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.voting-scroll-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.voting-scroll-box::-webkit-scrollbar-thumb {
    background: #c0392b; /* Inter Red */
    border-radius: 10px;
}

.voting-scroll-box::-webkit-scrollbar-thumb:hover {
    background: #e74c3c;
}

/* ==========================================================================
   HALL OF FAME 3D FLIP CARDS & LEDGERS (v52.0)
   ========================================================================== */

.hof-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.player-flipper-container {
    perspective: 1200px;
    height: 520px;
    cursor: pointer;
}

.player-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.player-flipper-container.flipped .player-flipper {
    transform: rotateY(180px);
}

/* For JS trigger */
.player-flipper-container.is-flipped .player-flipper {
    transform: rotateY(180deg);
}

.player-card {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.card-front {
    z-index: 2;
    transform: rotateY(0deg);
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-back {
    transform: rotateY(180deg);
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* HOF BACK DESIGN */
.hof-card-back {
    display: flex;
    flex-direction: column;
}

.back-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-header h3 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFF;
}

.back-header h3 span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 300;
}

.back-content-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--inter-red) rgba(255,255,255,0.05);
}

.back-content-scrollable::-webkit-scrollbar {
    width: 5px;
}

.back-content-scrollable::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}

.back-content-scrollable::-webkit-scrollbar-thumb {
    background: var(--inter-red);
    border-radius: 10px;
}

/* LEDGER TABLE */
.back-ledger-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.back-ledger-table th {
    text-align: left;
    color: #888;
    text-transform: uppercase;
    font-size: 0.7rem;
    padding: 8px 5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.back-ledger-table td {
    padding: 10px 5px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.back-ledger-table .log-date {
    font-size: 0.65rem;
    color: #777;
    white-space: nowrap;
}

.back-ledger-table .coach-name {
    font-size: 0.65rem;
    color: #999;
}

.back-ledger-table .match-name {
    color: #AAA;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.back-ledger-table .nota-score {
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    color: var(--inter-red);
    text-align: right;
}

/* TIMELINE BELT / CHAMPIONSHIP BELT */
.timeline-belt {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-step {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    border-left: 3px solid #444;
    position: relative;
}

.timeline-step.current-leader { border-color: #ffd700; background: rgba(255, 215, 0, 0.05); }
.timeline-step.current-worst { border-color: var(--inter-red); background: rgba(229, 0, 20, 0.05); }

.step-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: #ffd700;
    color: #000;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

.lantern-belt .step-badge { background: var(--inter-red); color: #FFF; }

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}

.step-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-info strong {
    font-size: 0.9rem;
    color: #FFF;
}

.step-info span {
    font-size: 0.7rem;
    color: #666;
}

.step-avg {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #FFF;
}

/* BRANDING */
.back-branding {
    padding: 10px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #444;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.back-branding span {
    color: var(--inter-red);
}

.simple-ledger .ledger-row {
    display: grid;
    grid-template-columns: 65px 1fr 45px;
    padding: 10px 5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    align-items: center;
}

.l-date { color: #666; font-size: 0.75rem; }
.l-name { 
    color: #FFF; 
    font-weight: 600; 
    font-family: 'Oswald', sans-serif; 
    font-size: 1.1rem; 
    text-transform: uppercase;
}
.l-score { color: var(--inter-red); font-weight: bold; text-align: right; font-family: 'Oswald', sans-serif; font-size: 1.1rem; }

.back-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    gap: 10px;
}

.back-placeholder i { font-size: 2.5rem; }


/* v56.0 - NOTAS DE TODOS OS JOGOS Expansion UI */
.notas-expandable-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.notas-expandable-content.is-open {
    max-height: 2000px; /* High enough to contain all players */
    opacity: 1;
}

.btn-expand-notas {
    background: linear-gradient(135deg, var(--inter-red), #ff4d4d);
    color: #FFF;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 0, 20, 0.4);
    animation: btnPulse 2s infinite;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-expand-notas:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(229, 0, 20, 0.6);
    background: linear-gradient(135deg, #ff1a1a, #ff6666);
}

.btn-expand-notas i {
    transition: transform 0.4s ease;
}

.btn-expand-notas.is-active i {
    transform: rotate(180deg);
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 0, 20, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(229, 0, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 0, 20, 0); }
}

/* Match result badge highlights */
.match-final-score-badge {
    transition: transform 0.3s;
}

/* Match Context Bubble - v56.2 */
.match-context-bubble {
    background: rgba(229, 0, 20, 0.08); /* Darker red tint to pop */
    border-left: 4px solid var(--accent-red);
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.6;
    color: #fff; /* White text for contrast */
    font-weight: 500;
    font-style: italic;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.match-context-bubble i {
    color: var(--accent-red);
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.5;
}

[data-theme="dark"] .match-context-bubble {
    background: rgba(255, 255, 255, 0.08);
    color: #fff; /* Pure white in dark mode too */
    box-shadow: inset 0 0 10px rgba(255,255,255,0.02);
}

/* Matchup Scoreline - v56.6 */
.matchup-scoreline {
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .matchup-scoreline {
        font-size: 0.85rem !important;
        letter-spacing: 0 !important;
    }
}

/* =====================================================
   BV PALPITE - Home Widget & Page Styles (v57.5)
   ===================================================== */

.hero-sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 380px;
    min-width: 380px;
}

@media (max-width: 1200px) {
    .hero-sidebar-group { width: 320px; min-width: 320px; }
}

@media (max-width: 992px) {
    .hero-sidebar-group { width: 100%; min-width: 0; }
}

.bv-palpite-widget {
    padding: 25px !important;
    background: rgba(15, 15, 15, 0.9) !important;
    border: 1px solid rgba(229, 0, 20, 0.3) !important;
}

/* v60.1 - Palpite Submit Button (was missing, caused click issues on Android/Windows) */
.btn-palpite-submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--inter-red);
    color: #FFF;
    border: none;
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.btn-palpite-submit:hover {
    background: var(--inter-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 0, 20, 0.4);
}
.btn-palpite-submit:active {
    transform: translateY(0);
}
.btn-palpite-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.widget-branding {
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 5px;
    text-transform: uppercase;
}
.widget-branding span { color: var(--inter-red); font-weight: 800; }

.bv-bolao-header {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 20px 0;
    line-height: 1;
}
.bv-bolao-header span { color: var(--inter-red); margin-left: 5px; }

.match-callout {
    font-size: 0.85rem;
    color: #AAA;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-input-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.team-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-label {
    font-size: 0.95rem; /* Increased size */
    font-weight: 800;
    color: #AAA;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    height: 18px;
}

/* Make INTER Red */
.team-input:first-child .team-label,
.team-label:contains("INTER") { 
    color: var(--inter-red) !important;
}

.team-input input {
    width: 65px;
    height: 65px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #FFF;
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    transition: 0.3s;
}
.team-input input:focus { 
    border-color: var(--inter-red); 
    outline: none; 
    background: rgba(255,255,255,0.1); 
    box-shadow: 0 0 15px rgba(229,0,20,0.3);
}

.vs-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    color: var(--inter-red);
    font-size: 1.4rem;
    margin-top: 25px; /* Adjust for larger labels */
}

/* Identity Fields Polish */
.identity-group input {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 15px;
    border-radius: 8px;
    color: #EEE;
    font-size: 0.9rem;
    transition: 0.3s;
}
.identity-group input:focus { border-color: #888; background: rgba(0,0,0,0.4); }

.privacy-note {
    opacity: 0.7;
    font-style: italic;
    font-size: 0.75rem;
    margin-top: 10px;
    color: #888;
}

/* Palpite Pop-up System (RESTORED) */
.palpite-popup-overlay {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10001;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}
.palpite-popup-overlay.active { pointer-events: auto; }

.palpite-popup-content {
    background: rgba(15, 15, 15, 0.95); /* High contrast glass */
    backdrop-filter: blur(25px);
    width: 380px;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px;
}
.palpite-popup-overlay.active .palpite-popup-content {
    transform: translateY(0);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.popup-close:hover { color: var(--inter-red); background: rgba(255,255,255,0.1); }

/* Widget overrides for Popup */
.palpite-popup-content .bv-palpite-widget { background: none !important; border: none !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
.palpite-popup-content .widget-branding,
.palpite-popup-content .bv-bolao-header { display: none; }
.palpite-popup-content .match-callout { display: none; }
.palpite-popup-content .mini-standings { display: none; }
.palpite-popup-content .team-input input { width: 65px; height: 65px; font-size: 1.8rem; }
.palpite-popup-content .vs-text { font-size: 1.2rem; margin-top: 25px; }

@keyframes fadeInPopup {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .palpite-popup-overlay {
        bottom: 0;
        right: 0;
        width: 100%;
        padding: 15px;
    }
    .palpite-popup-content {
        width: 100%;
    }
}

/*=============================================
=            Botão BV Game Styles             =
=============================================*/
.botao-page-container {
    padding: 60px 0;
    background: radial-gradient(circle at center, #222 0%, #000 100%);
    min-height: 100vh;
}

.arena-wrapper {
    position: relative;
    padding: 15px;
    background: #4E342E; /* Mahogany wood */
    border: 20px solid #3E2723;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 20px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

.arena-border {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

#botao-canvas {
    background: #2E7D32; /* Grass green */
    image-rendering: crisp-edges;
}

.game-top-ui {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    margin-bottom: 30px;
}

.score-display {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFF;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.4);
    padding: 10px 25px;
    border-radius: 15px;
    min-width: 100px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

.game-top-ui .team-name {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.timer-box {
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.turn-box {
    margin-top: 10px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
}

.goal-animation {
    pointer-events: none;
    background: rgba(229, 0, 20, 0.95);
    color: #FFF;
    padding: 60px 120px;
    border-radius: 100px;
    box-shadow: 0 0 100px rgba(229, 0, 20, 1);
    border: 5px solid #FFF;
}

.goal-animation h1 {
    font-size: 5rem;
    margin: 0;
    letter-spacing: 5px;
}

.game-overlay {
    background: rgba(0,0,0,0.9);
}

.overlay-content {
    border: 4px solid var(--inter-red);
    box-shadow: 0 0 50px rgba(229, 0, 20, 0.3);
}

/* YouTube Highlights Button \u0026 Modal */
.highlights-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 0, 20, 0.15);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-decoration: none;
}
.highlights-btn:hover {
    background: var(--inter-red);
    color: #FFF;
    border-color: #FFF;
    transform: translateY(-2px);
}
.highlights-btn.find-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    border-color: rgba(255, 255, 255, 0.1);
}
.highlights-btn.find-btn:hover {
    background: #333;
    color: #EEE;
}

#videoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
#videoModal.active { display: flex; }
.modal-video-container {
    width: 90%;
    max-width: 900px;
    position: relative;
    aspect-ratio: 16 / 9;
    box-shadow: 0 0 50px rgba(0,0,0,1);
    border: 1px solid rgba(255,255,255,0.1);
}
.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #FFF;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
}
.modal-close:hover { opacity: 1; }

@keyframes goalPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/*=============================================
=  BV LIVE MODE — Version 70.8               =
=============================================*/

/* ---- Header Badge ---- */
.bv-header-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #111;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid rgba(229, 0, 20, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.bv-header-live-badge:hover {
    background: var(--inter-red);
    border-color: var(--inter-red);
    transform: scale(1.05);
}
.bv-header-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--inter-red);
    display: inline-block;
    animation: bv-pulse-dot 1.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes bv-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ---- Mobile AO VIVO Bar ---- */
.bv-mobile-live-bar {
    display: none; /* hidden by default, shown on mobile via media query */
    width: 100%;
    background: #0a0a0a;
    border-bottom: 2px solid var(--inter-red);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 10px 16px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    animation: bv-mobile-bar-glow 2s ease-in-out infinite alternate;
}
.bv-mobile-live-bar .bv-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--inter-red);
    display: inline-block;
    flex-shrink: 0;
    animation: bv-pulse-dot 1.2s ease-in-out infinite;
}
.bv-mobile-live-bar strong { color: var(--inter-red); }
.bv-mobile-live-bar i { color: var(--inter-red); font-size: 1rem; }
@keyframes bv-mobile-bar-glow {
    from { background: #0a0a0a; }
    to   { background: #1a0000; }
}
@media (max-width: 768px) {
    .bv-mobile-live-bar { display: flex; }
}


/* ---- Toast Popup ---- */
.bv-live-toast {
    position: fixed;
    bottom: -120px;        /* starts off-screen */
    right: 20px;
    z-index: 99998;
    max-width: 340px;
    border-radius: 14px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(229, 0, 20, 0.5);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(229,0,20,0.1);
    backdrop-filter: blur(16px);
    transition: bottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.bv-live-toast.bv-toast-visible {
    bottom: 20px;
}
.bv-live-toast-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px;
}
.bv-live-toast .bv-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--inter-red);
    flex-shrink: 0;
    animation: bv-pulse-dot 1.2s ease-in-out infinite;
}
.bv-live-toast-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.bv-live-toast-text strong {
    font-family: 'Oswald', sans-serif;
    color: var(--inter-red);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.bv-live-toast-text span {
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bv-live-toast-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--inter-red);
    color: #fff !important;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.bv-live-toast-btn:hover { background: var(--inter-red-dark); transform: scale(1.05); }
.bv-live-toast-btn i { font-size: 0.9rem; }
.bv-live-toast-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}
.bv-live-toast-close:hover { color: #fff; }

/* ---- AO VIVO Page ---- */
.ao-vivo-page {
    min-height: 100vh;
}
.ao-vivo-hero {
    position: relative;
    background: #050505;
    padding: 30px 0 50px;
    overflow: hidden;
}
.ao-vivo-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 0%, rgba(229,0,20,0.18) 0%, transparent 65%),
                radial-gradient(ellipse at 10% 80%, rgba(229,0,20,0.08) 0%, transparent 55%);
    pointer-events: none;
}
.ao-vivo-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.ao-vivo-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.ao-vivo-logo-mark {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}
.ao-vivo-logo-mark strong { color: #fff; }
.ao-vivo-logo-mark span  { color: var(--inter-red); }
.av-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--inter-red);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 20px;
}
.av-live-pill i { animation: bv-pulse-dot 1.2s infinite; }
.av-vod-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    padding: 5px 14px;
    border-radius: 20px;
}
.ao-vivo-headline {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin: 0 0 6px;
    line-height: 1.2;
}
.ao-vivo-subline {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    margin: 0 0 24px;
}

/* ---- Layout: Player + Sidebar ---- */
.ao-vivo-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 860px) {
    .ao-vivo-layout { grid-template-columns: 1fr; }
}

/* ---- Player ---- */
.av-player-wrap { display: flex; flex-direction: column; gap: 14px; }
.av-player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 0 60px rgba(229,0,20,0.15), 0 20px 60px rgba(0,0,0,0.7);
    border: 1px solid rgba(229,0,20,0.2);
}
.av-player-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.av-player-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-yt-external {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8) !important;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-yt-external:hover { background: rgba(255,255,255,0.12); }
.btn-vote-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--inter-red);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-vote-live:hover { background: var(--inter-red-dark); transform: translateY(-2px); }

/* ---- Admin Controls (Terminar + Timer) — visible to admins only ---- */
.av-admin-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
}
.av-timer-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    transition: color 0.4s ease;
}
.av-timer-wrap i { font-size: 0.85rem; }
.btn-end-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 0, 20, 0.12);
    color: rgba(255,255,255,0.75) !important;
    border: 1px solid rgba(229, 0, 20, 0.4);
    padding: 8px 18px;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-end-live:hover {
    background: rgba(229, 0, 20, 0.3);
    border-color: var(--inter-red);
    color: #fff !important;
}
.btn-end-live:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.av-no-stream {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(255,255,255,0.03);
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    color: rgba(255,255,255,0.3);
}
.av-no-stream i { font-size: 3rem; }
.av-no-stream p  { font-size: 1rem; }

/* ---- Stats Sidebar ---- */
.av-stats-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.av-stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
}
.av-stat-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(229,0,20,0.12);
    border-bottom: 1px solid rgba(229,0,20,0.2);
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.85);
}
.av-stat-card-header i { color: var(--inter-red); }
.av-live-badge {
    margin-left: auto;
    font-size: 0.65rem;
    background: var(--inter-red);
    color: #fff;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 1.5px;
    animation: bv-pulse-dot 1.4s infinite;
}

/* NOTAS rows */
.av-notas-list, .av-cago-list {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.av-notas-row, .av-cago-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
}
.av-notas-name, .av-cago-name {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.av-notas-bar-wrap, .av-cago-bar-wrap {
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.av-notas-bar {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    border-radius: 2px;
    transition: width 0.6s ease;
}
.av-cago-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--inter-red-dark), var(--inter-red));
    border-radius: 2px;
    transition: width 0.6s ease;
}
.av-notas-val, .av-cago-pct {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    color: #fff;
    text-align: right;
    min-width: 30px;
}
.av-stats-refresh-note {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
    text-align: center;
    margin: 0;
}
.av-stats-refresh-note i { margin-right: 4px; }

/* ---- Offline Section ---- */
.av-offline-section {
    padding: 50px 20px;
}
.av-offline-header {
    text-align: center;
    margin-bottom: 30px;
}
.av-offline-header h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.av-offline-header i { color: var(--inter-red); }
.av-offline-header p { color: var(--text-muted); }
.av-offline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.av-offline-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
    gap: 12px;
    transition: transform 0.25s ease;
}
.av-offline-card:hover { transform: translateY(-4px); }
.av-offline-card.av-offline-post-card { padding: 0; align-items: stretch; }
.av-offline-icon {
    font-size: 2.5rem;
    color: var(--inter-red);
    opacity: 0.4;
}
.av-offline-card h3 { font-size: 1.1rem; margin: 0; }
.av-offline-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }
.av-offline-thumb {
    height: 140px;
    background-size: cover;
    background-position: center;
}
.av-offline-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.av-offline-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--inter-red);
    font-weight: 700;
}
.av-offline-card-body h4 {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0;
}

