/* CheckLive Universal UI Framework */
/* Comprehensive CSS framework for all CheckLive content */
/* 
   CONTENT TYPES SUPPORTED:
   - Match previews & predictions
   - Sports analysis & insights
   - Player ratings & statistics
   - Team analysis & comparisons
   - Landing pages & promotional content
   - Blog articles & editorial content
   - Interactive widgets & components
   
   DESIGN PRINCIPLES:
   - Mobile-first responsive design
   - Consistent visual hierarchy
   - Accessible color contrast
   - Clean, modern aesthetics
   
   TAILWIND CSS COMPATIBILITY:
   - Uses high-specificity selectors (html body .match-preview) to override Tailwind
   - All CheckLive content is scoped to .match-preview or section[itemscope] containers
   - Extensive use of !important to ensure CheckLive styles take precedence
   - Works with any CSS framework without conflicts
   
   VERSION: 1.1 - Tailwind-Resistant Edition
*/

/* ==========================================================================
   BASE STYLES & TYPOGRAPHY
   ========================================================================== */

/* TAILWIND-RESISTANT GLOBAL STYLES - Higher specificity to override external CSS */

/* Target CheckLive content specifically to avoid conflicts */
.match-preview,
.match-preview *,
section[itemscope][itemtype*="SportsEvent"],
section[itemscope][itemtype*="SportsEvent"] * {
    font-family: Roboto, sans-serif !important;
    box-sizing: border-box !important;
}

/* Stronger selectors for CheckLive containers */
html body .match-preview,
html body section[itemscope][itemtype*="SportsEvent"] {
    font-family: Roboto, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    max-width: none !important;
    width: 100% !important;
}

/* CRITICAL: Override Tailwind's heading resets with proper sizing and weights */
html body .match-preview h1,
html body section[itemscope] h1 {
    font-family: Roboto, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
}

html body .match-preview h2,
html body section[itemscope] h2 {
    font-family: Roboto, sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #333 !important;
    margin-bottom: 16px !important;
    margin-top: 25px !important;
}

html body .match-preview h3,
html body section[itemscope] h3 {
    font-family: Roboto, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    margin-bottom: 14px !important;
    margin-top: 20px !important;
}

html body .match-preview h4,
html body section[itemscope] h4 {
    font-family: Roboto, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    margin-bottom: 12px !important;
    margin-top: 16px !important;
}

html body .match-preview h5,
html body section[itemscope] h5 {
    font-family: Roboto, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    margin-bottom: 10px !important;
    margin-top: 14px !important;
}

html body .match-preview h6,
html body section[itemscope] h6 {
    font-family: Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
    margin-top: 12px !important;
}

html body .match-preview p {
    font-family: Roboto, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    color: #333 !important;
}

/* Override Tailwind's element resets for all CheckLive text elements */
html body .match-preview span,
html body .match-preview a,
html body .match-preview div,
html body .match-preview li,
html body .match-preview td,
html body .match-preview th,
html body .match-preview label,
html body .match-preview button {
    font-family: Roboto, sans-serif !important;
}

/* Ensure CheckLive sections maintain full width against Tailwind constraints */
html body .match-preview .analysis-section,
html body .match-preview .statistics-section,
html body .match-preview .betting-tips-section,
html body .match-preview .xfactors-section {
    max-width: none !important;
    width: 100% !important;
}

.match-preview {
    width: 100%;
    max-width: none;
    padding: 16px;
    background: #fff;
    font-family: Roboto, sans-serif !important;
    box-sizing: border-box;
}

/* ==========================================================================
   OPENING SECTION
   ========================================================================== */

.opening-paragraph {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ==========================================================================
   NEW WRAPPER SECTIONS (Football/Basketball shared)
   ========================================================================== */

/* AI Summary wrapper at top */
        html body .match-preview .ai-summary,
        html body section[itemscope] .ai-summary,
        html body .ai-summary {
            background: #fff8e6 !important;
            padding: 16px 20px !important;
            border-radius: 12px !important;
            margin: 14px 0 !important;
        }

        .ai-summary-explanation {
            font-size: 14px;
            color: #666;
            margin-bottom: 16px;
            line-height: 1.5;
        }

        .analysis-link {
            color: #4763E4;
            text-decoration: none;
            font-weight: 500;
        }

        .analysis-link:hover {
            text-decoration: underline;
        }

/* Team analysis wrapper */
html body .match-preview .team-analysis,
html body section[itemscope] .team-analysis,
html body .team-analysis {
    margin: 20px 0 !important;
}

/* Head-to-head wrapper */
html body .match-preview .match-h2h,
html body section[itemscope] .match-h2h,
html body .match-h2h {
    margin: 20px 0 !important;
}

/* Tactical analysis wrapper */
html body .match-preview .tactical-analysis,
html body section[itemscope] .tactical-analysis,
html body .tactical-analysis {
    margin: 20px 0 !important;
}

/* FAQ section wrapper */
html body .match-preview .faq-section,
html body section[itemscope] .faq-section,
html body .faq-section {
    margin: 25px 0 !important;
}

/* ==========================================================================
   METRICS EXPLANATION LINK
   ========================================================================== */

.metrics-explanation {
    text-align: center;
    margin: 10px 0 12px;
    padding: 6px;
    background: #f8f9fa;
    border-radius: 6px;
}

.metrics-explanation-text {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.metrics-explanation-link {
    color: #4763E4;
    text-decoration: none;
    font-weight: 500;
}

.metrics-explanation-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   ARTICLE TITLE (H1)
   ========================================================================== */

.article-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 20px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   AI SHARP SUMMARY
   ========================================================================== */

.ai-summary {
    background: #fff8e6;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 14px 0;
}

.ai-summary-title {
    font-size: 18px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
}

.ai-icon {
    height: 20px;
    margin-right: 8px;
}

.ai-summary-main {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 400;
    color: #333;
}

.ai-summary-headline {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.ai-summary-content {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.ai-summary-points {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.ai-summary-point {
    margin: 4px 0;
}

/* ==========================================================================
   LIVE SCORE WIDGET
   ========================================================================== */

.live-score-widget {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
    border-left: 4px solid #28a745;
}

.live-score-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.live-indicator {
    font-size: 16px;
}

.live-score-title {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
    color: #333;
}

.live-score-description {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #555;
}

/* ==========================================================================
   TRIPLE-METRIC ANALYSIS
   ========================================================================== */

.triple-metric-analysis {
    background: #f0f8ff;
    padding: 14px 16px;
    border-radius: 8px;
    margin: 16px 0 20px;
}

.triple-metric-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Team Headers */
.team-headers {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e1e1e1;
}

.home-team-header {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.away-team-header {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.team-logo {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.away-team-header .team-logo {
    margin-right: 0;
    margin-left: 10px;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.team-info {
    display: flex;
    flex-direction: column;
}

.team-info-right {
    text-align: right;
    margin-right: 10px;
}

.team-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.final-strength {
    font-size: 12px;
    color: #666;
}

.vs-divider {
    width: 60px;
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.metric-card {
    text-align: center;
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.metric-scores {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.metric-bar {
    height: 6px;
    background: #e1e1e1;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
    position: relative;
}

.metric-fill {
    height: 100%;
    position: absolute;
}

.metric-fill[data-width] {
    width: var(--width, 50%);
}

.left-align {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.right-align {
    right: 0;
    border-radius: 0 3px 3px 0;
}

/* Metric Colors */
.checkform-color {
    background: #4763e4;
}

.checkskill-color {
    background: #28a745;
}

.checkmental-color {
    background: #ffc107;
}

.metric-advantage {
    font-size: 11px;
    font-weight: 600;
}

.checkform-text {
    color: #4763e4;
}

.checkskill-text {
    color: #28a745;
}

.checkmental-text {
    color: #ffc107;
}

/* Final Strength Comparison */
.final-strength-comparison {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.final-strength-label {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.final-strength-scores {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.home-final-score,
.away-final-score {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.final-strength-bar {
    height: 12px;
    background: #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.final-strength-fill {
    height: 100%;
    background: linear-gradient(135deg, #4763E4 0%, #28a745 50%, #ffc107 100%);
    position: absolute;
}

.final-strength-fill[data-width] {
    width: var(--width, 50%);
}

.final-strength-fill.left-align {
    left: 0;
    border-radius: 6px 0 0 6px;
}

.final-strength-fill.right-align {
    right: 0;
    border-radius: 0 6px 6px 0;
}

.final-strength-result {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #4763e4;
    font-weight: 600;
}

/* ==========================================================================
   METRICS INTERPRETATION
   ========================================================================== */

.metrics-interpretation {
    margin-bottom: 25px;
}

.interpretation-title {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.interpretation-intro {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.interpretation-details {
    font-size: 16px;
    line-height: 1.6;
}

.interpretation-item {
    margin-bottom: 12px;
}

.interpretation-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

/* ==========================================================================
   PROFESSIONAL TOOLS BANNER
   ========================================================================== */

.professional-tools-banner {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 12px;
    padding: 22px;
    margin: 25px 0;
    border: 1px solid #d1fae5;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.12);
    position: relative;
    font-family: Roboto, sans-serif !important;
}

.banner-badge {
    position: absolute;
    top: -8px;
    right: 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.banner-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 8px;
}

.banner-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.4);
}

.trending-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.banner-text {
    flex: 1;
}

.banner-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.2;
}

.banner-highlight {
    color: #16a34a;
}


.banner-subtitle {
    color: #475569;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.4;
}

/* Stronger selector for banner CTA to override Tailwind */
html body .match-preview .banner-cta,
html body section[itemscope] .banner-cta {
    display: inline-block !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35) !important;
    position: relative !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .banner-cta *,
html body section[itemscope] .banner-cta * {
    color: white !important;
    font-family: Roboto, sans-serif !important;
}

.banner-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.cta-arrow {
    margin-left: 8px;
    font-size: 16px;
}

.banner-disclaimer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(34, 197, 94, 0.15);
}

.disclaimer-text {
    margin: 0;
    color: #94a3b8;
    font-size: 9px;
    text-align: center;
    line-height: 1.4;
    opacity: 0.8;
}

/* ==========================================================================
   TEAM ANALYSIS SECTIONS
   ========================================================================== */

.team-analysis-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
}

.team-section {
    margin-bottom: 25px;
}

.team-section-title {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-section-icon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.team-analysis-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ==========================================================================
   MATCHES TABLES
   ========================================================================== */

.matches-table-container {
    overflow-x: auto;
    margin-bottom: 15px;
}

.matches-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-header {
    background: #f8f9fa;
}

.table-cell {
    padding: 10px 12px;
    border-bottom: 1px solid #e1e5e9;
}

.table-header-cell {
    text-align: left;
    font-weight: 600;
    color: #333;
}

.table-center {
    text-align: center;
}

/* Result colors for match tables */
.result-win {
    color: #2ecc71;
    font-weight: 600;
}

.result-draw {
    color: #f39c12;
    font-weight: 600;
}

.result-loss {
    color: #e74c3c;
    font-weight: 600;
}

/* ==========================================================================
   HEAD-TO-HEAD ANALYSIS
   ========================================================================== */

.h2h-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
}

.h2h-analysis {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.prediction-link {
    color: #4763E4;
    text-decoration: none;
    font-weight: 500;
}

.prediction-link:hover {
    text-decoration: underline;
}

.h2h-stats {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.h2h-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.h2h-home-team,
.h2h-away-team {
    display: flex;
    align-items: center;
}

.h2h-team-logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.h2h-home-team .h2h-team-logo {
    margin-right: 8px;
}

.h2h-away-team .h2h-team-logo {
    margin-left: 8px;
}

.h2h-team-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Win Percentage Bar */
.win-percentage-section {
    margin-bottom: 20px;
}

.win-percentage-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.home-win-label,
.away-win-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.draw-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.win-percentage-bar {
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #e1e1e1;
    border: 1px solid #ddd;
}

.home-wins-segment {
    background: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
}

.draws-segment {
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.away-wins-segment {
    background: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.segment-text {
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* H2H Results Table */
.h2h-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.h2h-table-caption {
    text-align: left;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.h2h-table-header {
    background-color: #f2f2f2;
    font-weight: 600;
}

.h2h-table-cell {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

.h2h-header-cell {
    text-align: left;
}

.h2h-center {
    text-align: center;
}

.h2h-summary {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
}

.h2h-summary-text {
    font-size: 14px;
    color: #2e7d32;
    font-weight: 500;
}

/* ==========================================================================
   OSCAR PREDICTION SECTION
   ========================================================================== */

.oscar-prediction {
    margin-top: 16px;
    margin-bottom: 14px;
    padding: 12px;
    background: #f8f9ff;
    border-radius: 8px;
    border-left: 3px solid #4763E4;
}

.oscar-header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.oscar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

.oscar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oscar-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.oscar-subtitle {
    font-size: 13px;
    margin: 2px 0 0;
    color: #666;
    line-height: 1.2;
}

.oscar-description {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 6px 0;
}

.oscar-link-container {
    margin: 0;
}

.oscar-link {
    color: #4763E4;
    font-weight: 500;
    text-decoration: none;
}

.oscar-link:hover {
    text-decoration: underline;
}

/* H2H Stats Container */
.h2h-stats-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.h2h-team-headers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.h2h-team-info {
    display: flex;
    align-items: center;
}

.h2h-team-logo {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    border-radius: 4px;
}

.h2h-team-name-text {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.h2h-win-stats {
    margin-bottom: 20px;
}

.h2h-win-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.h2h-win-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.h2h-draw-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.h2h-progress-bar {
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #e1e1e1;
    border: 1px solid #ddd;
}

.h2h-home-segment {
    background: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h2h-away-segment {
    background: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h2h-segment-text {
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* H2H Table Styles */
.h2h-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

.h2h-table-caption {
    text-align: left;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.h2h-table-header-row {
    background-color: #f2f2f2;
    font-weight: 600;
}

.h2h-table-header-cell {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.h2h-table-center-cell {
    text-align: center;
}

.h2h-table-row {
    /* Regular table row */
}

.h2h-table-cell {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

/* Oscar Prediction Box */
.oscar-prediction-container {
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 8px;
    border-left: 3px solid #4763E4;
}

.oscar-header-flex {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.oscar-avatar-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

.oscar-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oscar-name-text {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.oscar-role-text {
    font-size: 13px;
    margin: 2px 0 0;
    color: #666;
}

.oscar-description-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 8px;
}

.oscar-link-paragraph {
    margin: 0;
}

.oscar-prediction-link {
    color: #4763E4;
    font-weight: 500;
    text-decoration: none;
}

/* ==========================================================================
   STANDINGS SECTION
   ========================================================================== */

.standings-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
}

.standings-analysis {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .match-preview {
        width: 100%;
        max-width: none;
        padding: 12px;
        margin: 0;
    }
    
    /* Mobile heading styles to override Tailwind */
    html body .match-preview h1,
    html body section[itemscope] h1 {
        font-size: 22px !important;
        margin-bottom: 16px !important;
    }
    
    html body .match-preview h2,
    html body section[itemscope] h2 {
        font-size: 18px !important;
        margin-bottom: 14px !important;
        margin-top: 20px !important;
    }
    
    html body .match-preview h3,
    html body section[itemscope] h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
        margin-top: 16px !important;
    }
    
    html body .match-preview h4,
    html body section[itemscope] h4 {
        font-size: 15px !important;
        margin-bottom: 10px !important;
        margin-top: 14px !important;
    }
    
    .team-headers {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .vs-divider {
        order: 2;
        width: auto;
    }
    
    .home-team-header,
    .away-team-header {
        justify-content: center;
    }
    
    .team-info-right {
        text-align: center;
        margin-right: 0;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .h2h-teams {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .win-percentage-labels {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .matches-table-container {
        font-size: 12px;
    }
    
    .table-cell {
        padding: 8px 6px;
    }
    
    /* Mobile responsive for new stats cards */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-main {
        padding: 16px;
    }
    
    .stat-values {
        font-size: 24px;
    }
    
    .stat-title {
        font-size: 15px;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

/* Tailwind-like utility classes for compatibility */
.html-content {
    /* Main content wrapper */
}

.prose {
    /* Typography styles */
}

.max-w-none {
    max-width: none !important;
}

.mt-2\.5 {
    margin-top: 0.625rem !important; /* 10px */
}

.rounded {
    border-radius: 0.25rem !important; /* 4px */
}

.bg-white {
    background-color: white !important;
}

.sm\:mt-5 {
    margin-top: 1.25rem !important; /* 20px */
}

.sm\:p-1 {
    padding: 0.25rem !important; /* 4px */
}

@media (min-width: 640px) {
    .sm\:mt-5 {
        margin-top: 1.25rem !important; /* 20px */
    }
    
    .sm\:p-1 {
        padding: 0.25rem !important; /* 4px */
    }
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-500 {
    font-weight: 500;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-25 {
    margin-bottom: 25px;
}

/* Icon utilities */
.icon-16 {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   DYNAMIC WIDTH SUPPORT
   ========================================================================== */

/* Support for dynamic widths using CSS custom properties */
.metric-fill[data-width="10"] { width: 10%; }
.metric-fill[data-width="0"] { width: 0%; }
.metric-fill[data-width="20"] { width: 20%; }
.metric-fill[data-width="30"] { width: 30%; }
.metric-fill[data-width="40"] { width: 40%; }
.metric-fill[data-width="50"] { width: 50%; }
.metric-fill[data-width="60"] { width: 60%; }
.metric-fill[data-width="70"] { width: 70%; }
.metric-fill[data-width="80"] { width: 80%; }
.metric-fill[data-width="90"] { width: 90%; }
.metric-fill[data-width="100"] { width: 100%; }

.final-strength-fill[data-width="10"] { width: 10%; }
.final-strength-fill[data-width="0"] { width: 0%; }
.final-strength-fill[data-width="20"] { width: 20%; }
.final-strength-fill[data-width="30"] { width: 30%; }
.final-strength-fill[data-width="40"] { width: 40%; }
.final-strength-fill[data-width="50"] { width: 50%; }
.final-strength-fill[data-width="60"] { width: 60%; }
.final-strength-fill[data-width="70"] { width: 70%; }
.final-strength-fill[data-width="80"] { width: 80%; }
.final-strength-fill[data-width="90"] { width: 90%; }
.final-strength-fill[data-width="100"] { width: 100%; }

.home-wins-segment[data-width="10"] { width: 10%; }
.home-wins-segment[data-width="0"] { width: 0%; }
.home-wins-segment[data-width="20"] { width: 20%; }
.home-wins-segment[data-width="30"] { width: 30%; }
.home-wins-segment[data-width="40"] { width: 40%; }
.home-wins-segment[data-width="50"] { width: 50%; }
.home-wins-segment[data-width="60"] { width: 60%; }
.home-wins-segment[data-width="70"] { width: 70%; }
.home-wins-segment[data-width="80"] { width: 80%; }
.home-wins-segment[data-width="90"] { width: 90%; }
.home-wins-segment[data-width="100"] { width: 100%; }

.draws-segment[data-width="10"] { width: 10%; }
.draws-segment[data-width="0"] { width: 0%; }
.draws-segment[data-width="20"] { width: 20%; }
.draws-segment[data-width="30"] { width: 30%; }
.draws-segment[data-width="40"] { width: 40%; }
.draws-segment[data-width="50"] { width: 50%; }
.draws-segment[data-width="60"] { width: 60%; }
.draws-segment[data-width="70"] { width: 70%; }
.draws-segment[data-width="80"] { width: 80%; }
.draws-segment[data-width="90"] { width: 90%; }
.draws-segment[data-width="100"] { width: 100%; }

.away-wins-segment[data-width="10"] { width: 10%; }
.away-wins-segment[data-width="0"] { width: 0%; }
.away-wins-segment[data-width="20"] { width: 20%; }
.away-wins-segment[data-width="30"] { width: 30%; }
.away-wins-segment[data-width="40"] { width: 40%; }
.away-wins-segment[data-width="50"] { width: 50%; }
.away-wins-segment[data-width="60"] { width: 60%; }
.away-wins-segment[data-width="70"] { width: 70%; }
.away-wins-segment[data-width="80"] { width: 80%; }
.away-wins-segment[data-width="90"] { width: 90%; }
.away-wins-segment[data-width="100"] { width: 100%; }

/* ==========================================================================
   UNIVERSAL CONTENT CONTAINERS
   ========================================================================== */

/* Main content wrappers for different content types */
.content-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.article-container {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.widget-container {
    background: #fff;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e1e5e9;
}

.micro-section {
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 4px;
}

/* ==========================================================================
   UNIVERSAL TYPOGRAPHY SYSTEM
   ========================================================================== */

/* Heading hierarchy for all content types */
.main-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-bottom: 14px;
}

.subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 12px;
}

.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 10px;
}

.micro-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Body text variations */
.body-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
}

.body-text-small {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 12px;
}

.caption-text {
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    margin-bottom: 8px;
}

.highlight-text {
    color: #4763E4;
    font-weight: 600;
}

.success-text {
    color: #28a745;
    font-weight: 600;
}

.warning-text {
    color: #ffc107;
    font-weight: 600;
}

.danger-text {
    color: #dc3545;
    font-weight: 600;
}

/* ==========================================================================
   UNIVERSAL LINK SYSTEM
   ========================================================================== */

/* League links for consistent styling */
.league-link {
    color: #4763E4;
    text-decoration: none;
    font-weight: 500;
}

.league-link:hover {
    text-decoration: underline;
}

/* Analysis section links */
.analysis-link {
    color: #4763E4;
    text-decoration: none;
    font-weight: 500;
}

.analysis-link:hover {
    text-decoration: underline;
}

/* Prediction methodology links */
.prediction-methodology-link {
    color: #4763E4;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.prediction-methodology-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   UNIVERSAL CTA & BUTTON SYSTEM
   ========================================================================== */

/* Primary CTA buttons */
.cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, #4763E4 0%, #3651d4 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(71, 99, 228, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(71, 99, 228, 0.4);
    text-decoration: none;
    color: white;
}

.cta-secondary {
    display: inline-block;
    background: #f8f9fa;
    color: #4763E4;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
}

.cta-secondary:hover {
    background: #e9ecef;
    text-decoration: none;
    color: #4763E4;
}

.cta-success {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.cta-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
    text-decoration: none;
    color: white;
}

.cta-outline {
    display: inline-block;
    background: transparent;
    color: #4763E4;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #4763E4;
}

.cta-outline:hover {
    background: #4763E4;
    color: white;
    text-decoration: none;
}

/* Button sizes */
.cta-large {
    padding: 16px 32px;
    font-size: 18px;
}

.cta-small {
    padding: 8px 16px;
    font-size: 14px;
}

.cta-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   UNIVERSAL ALERT & NOTIFICATION SYSTEM
   ========================================================================== */

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    border-left: 4px solid;
}

.alert-info {
    background: #e7f3ff;
    border-left-color: #4763E4;
    color: #1a365d;
}

.alert-success {
    background: #f0fff4;
    border-left-color: #28a745;
    color: #1a5f2e;
}

.alert-warning {
    background: #fffbeb;
    border-left-color: #ffc107;
    color: #744210;
}

.alert-danger {
    background: #fef2f2;
    border-left-color: #dc3545;
    color: #7f1d1d;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.alert-text {
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   UNIVERSAL STATS & METRICS SYSTEM
   ========================================================================== */

/* Stat blocks for various metrics */
.stat-block {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
}

.stat-inline .stat-value {
    font-size: 18px;
    margin-bottom: 0;
}

.stat-inline .stat-label {
    font-size: 12px;
    margin-bottom: 0;
}

/* Progress indicators */
.progress-container {
    background: #e9ecef;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    position: absolute;
    transition: width 0.3s ease;
}

.progress-primary {
    background: #4763E4;
}

.progress-success {
    background: #28a745;
}

.progress-warning {
    background: #ffc107;
}

.progress-danger {
    background: #dc3545;
}

/* Neutral gray for comparative stat bars */
.progress-neutral {
    background: #bbb;
}

/* ==========================================================================
   UNIVERSAL PLAYER RATING SYSTEM
   ========================================================================== */

.player-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e1e5e9;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease;
}

.player-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.player-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.player-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
}

.player-info {
    flex: 1;
}

.player-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.player-position {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-rating {
    background: linear-gradient(135deg, #4763E4 0%, #28a745 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.player-stat {
    text-align: center;
}

.player-stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: block;
}

.player-stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   UNIVERSAL VERDICT & INSIGHTS SYSTEM
   ========================================================================== */

.verdict-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #dee2e6;
}

.verdict-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.verdict-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4763E4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.verdict-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.verdict-subtitle {
    font-size: 14px;
    color: #666;
    margin: 2px 0 0 0;
}

.verdict-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
}

.verdict-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.verdict-point {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.verdict-point::before {
    content: "→";
    color: #4763E4;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.confidence-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.confidence-high {
    background: #d4edda;
    color: #155724;
}

.confidence-medium {
    background: #fff3cd;
    color: #856404;
}

.confidence-low {
    background: #f8d7da;
    color: #721c24;
}

/* ==========================================================================
   UNIVERSAL BLOG & ARTICLE COMPONENTS
   ========================================================================== */

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e1e5e9;
}

.article-date {
    font-size: 14px;
    color: #666;
}

.article-author {
    font-size: 14px;
    color: #666;
}

.article-category {
    background: #4763E4;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-excerpt {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
    font-style: italic;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 3px solid #4763E4;
}

.article-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 32px 0 16px 0;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 24px 0 12px 0;
    line-height: 1.4;
}

.blockquote {
    background: #f8f9fa;
    border-left: 4px solid #4763E4;
    padding: 16px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.blockquote-author {
    font-size: 14px;
    color: #666;
    font-style: normal;
    margin-top: 8px;
}

/* ==========================================================================
   UNIVERSAL LANDING PAGE COMPONENTS
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #4763E4 0%, #3651d4 100%);
    color: white;
    padding: 60px 24px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.4;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-cta {
    display: inline-block;
    background: white;
    color: #4763E4;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #4763E4;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4763E4 0%, #28a745 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 24px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

/* ==========================================================================
   TACTICAL & ADVANCED SECTIONS
   ========================================================================== */

/* Tactical Lineups Analysis */
.tactical-analysis-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
}

.tactical-analysis-intro {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tactical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.tactical-team-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e1e1e1;
}

.tactical-team-title {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tactical-team-icon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.formation-badge {
    text-align: center;
    margin-bottom: 12px;
}

.formation-label {
    background: #4763E4;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
}

.tactical-focus-box {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    margin-bottom: 12px;
}

.tactical-focus-text {
    font-size: 14px;
    color: #333;
    margin: 0;
    font-style: italic;
    line-height: 1.4;
}

.lineup-positions {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.position-group {
    margin-bottom: 10px;
}

.position-title {
    color: #333;
    font-weight: bold;
}

/* Missing Players Section */
.missing-players-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
}

.missing-players-intro {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.missing-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.missing-team-section {
    /* Uses existing styles */
}

.missing-team-title {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.missing-team-logo {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 4px;
}

.missing-player-card {
    background: #fafafa;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
}

.missing-player-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.missing-player-details {
    flex: 1;
}

.missing-player-name {
    font-weight: 600;
    font-size: 14px;
}

.missing-player-reason {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.missing-player-status {
    text-align: right;
}

.status-out {
    background: #f8d7da;
    color: #a94442;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
}

/* Enhanced Statistics Section */
.enhanced-stats-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
}

.enhanced-stats-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.stats-teams-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e1e1e1;
}

.stats-home-team {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.stats-away-team {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.stats-team-logo {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    object-fit: contain;
    border-radius: 4px;
}

.stats-away-team .stats-team-logo {
    margin-right: 0;
    margin-left: 10px;
}

.stats-team-info {
    /* Home team info */
}

.stats-team-info-right {
    text-align: right;
    margin-right: 10px;
}

.stats-team-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.stats-team-details {
    font-size: 12px;
    color: #666;
}

.stats-vs-divider {
    width: 60px;
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.stats-comparison-grid {
    display: grid;
    gap: 18px;
}

.stat-comparison-row {
    /* Individual stat comparison row */
}

.stat-labels {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.stat-home-value {
    flex: 1;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.stat-label-center {
    flex: 2;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.stat-away-value {
    flex: 1;
    text-align: right;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.stat-comparison-bar {
    display: flex;
    align-items: center;
    height: 10px;
    background: #e1e1e1;
    border-radius: 5px;
    overflow: hidden;
}

.stat-home-segment {
    height: 100%;
    border-radius: 5px 0 0 5px;
}

.stat-away-segment {
    height: 100%;
    border-radius: 0 5px 5px 0;
}

/* Support data-width for stat comparison segments (5% steps) */
.stat-home-segment[data-width="0"] { width: 0%; }
.stat-home-segment[data-width="5"] { width: 5%; }
.stat-home-segment[data-width="10"] { width: 10%; }
.stat-home-segment[data-width="15"] { width: 15%; }
.stat-home-segment[data-width="20"] { width: 20%; }
.stat-home-segment[data-width="25"] { width: 25%; }
.stat-home-segment[data-width="30"] { width: 30%; }
.stat-home-segment[data-width="35"] { width: 35%; }
.stat-home-segment[data-width="40"] { width: 40%; }
.stat-home-segment[data-width="45"] { width: 45%; }
.stat-home-segment[data-width="50"] { width: 50%; }
.stat-home-segment[data-width="55"] { width: 55%; }
.stat-home-segment[data-width="60"] { width: 60%; }
.stat-home-segment[data-width="65"] { width: 65%; }
.stat-home-segment[data-width="70"] { width: 70%; }
.stat-home-segment[data-width="75"] { width: 75%; }
.stat-home-segment[data-width="80"] { width: 80%; }
.stat-home-segment[data-width="85"] { width: 85%; }
.stat-home-segment[data-width="90"] { width: 90%; }
.stat-home-segment[data-width="95"] { width: 95%; }
.stat-home-segment[data-width="100"] { width: 100%; }

.stat-away-segment[data-width="0"] { width: 0%; }
.stat-away-segment[data-width="5"] { width: 5%; }
.stat-away-segment[data-width="10"] { width: 10%; }
.stat-away-segment[data-width="15"] { width: 15%; }
.stat-away-segment[data-width="20"] { width: 20%; }
.stat-away-segment[data-width="25"] { width: 25%; }
.stat-away-segment[data-width="30"] { width: 30%; }
.stat-away-segment[data-width="35"] { width: 35%; }
.stat-away-segment[data-width="40"] { width: 40%; }
.stat-away-segment[data-width="45"] { width: 45%; }
.stat-away-segment[data-width="50"] { width: 50%; }
.stat-away-segment[data-width="55"] { width: 55%; }
.stat-away-segment[data-width="60"] { width: 60%; }
.stat-away-segment[data-width="65"] { width: 65%; }
.stat-away-segment[data-width="70"] { width: 70%; }
.stat-away-segment[data-width="75"] { width: 75%; }
.stat-away-segment[data-width="80"] { width: 80%; }
.stat-away-segment[data-width="85"] { width: 85%; }
.stat-away-segment[data-width="90"] { width: 90%; }
.stat-away-segment[data-width="95"] { width: 95%; }
.stat-away-segment[data-width="100"] { width: 100%; }

/* Live Score Updates Section (Enhanced) */
.live-score-enhanced {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #28a745;
}

.live-score-enhanced-title {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
}

.live-score-enhanced-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #555;
}

.live-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.live-feature-card {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    flex: 1;
    min-width: 200px;
}

.live-feature-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.live-feature-title.live-updates {
    color: #28a745;
}

.live-feature-title.live-stats {
    color: #007bff;
}

.live-feature-title.instant-alerts {
    color: #ffc107;
}

.live-feature-description {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* FAQ Section */
.faq-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
}

.faq-container {
    margin-bottom: 25px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.faq-answer {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Expert Conclusion Section */
.expert-conclusion {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.expert-conclusion-title {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
}

.expert-conclusion-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.expert-cta-box {
    background: #f0f8ff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid #e1e1e1;
}

.expert-cta-text {
    font-size: 14px;
    color: #4763E4;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

.expert-cta-link {
    color: #4763E4;
    text-decoration: none;
    font-weight: 600;
}

.expert-author-section {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e1e1e1;
}

.expert-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.expert-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info {
    flex: 1;
}

.expert-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.expert-title {
    font-size: 13px;
    margin: 2px 0 0;
    color: #666;
}

.expert-profile-link {
    margin-left: auto;
}

.expert-link {
    font-size: 13px;
    color: #4763E4;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.expert-link-arrow {
    margin-left: 5px;
    font-size: 16px;
}

/* ==========================================================================
   UNIFIED ADDITIONAL CLASSES
   ========================================================================== */

/* Live Score Widget Features */
.live-score-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #666;
}

.live-score-feature {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Tactical Analysis Container */
.tactical-analysis-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.tactical-formations {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.formation-card {
    background: #fff;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #e1e1e1;
}

.formation-card.home-formation {
    /* Home team specific styling if needed */
}

.formation-card.away-formation {
    /* Away team specific styling if needed */
}

.formation-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.formation-title.home-team {
    color: #dc3545;
}

.formation-title.away-team {
    color: #007bff;
}

.formation-detail {
    font-size: 14px;
    margin-bottom: 6px;
}

.formation-detail:last-child {
    margin-bottom: 0;
}

.tactical-battle {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 4px;
    border-left: 4px solid #2196f3;
}

.tactical-battle-title {
    color: #1976d2;
}

/* ==========================================================================
   PREDICTION SYSTEM CLASSES
   ========================================================================== */

/* Prediction Introduction */
.prediction-intro {
    margin-bottom: 25px;
}

.prediction-intro-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #333;
    font-weight: 400;
}

.team-link {
    color: #4763E4;
    text-decoration: none;
    font-weight: 500;
}

.team-link:hover {
    text-decoration: underline;
}

/* Author Information Box */
.author-info-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
    border-left: 0px solid #4763E4;
    row-gap: 4px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    flex: 1;
    min-width: 0;
}

.author-label {
    font-size: 12px;
    margin: 0;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    margin: 2px 0;
    color: #333;
    line-height: 1.2;
}

.author-role {
    font-size: 12px;
    margin: 0;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.author-profile-link {
    margin-left: auto;
    margin-top: 5px;
}

.author-link {
    font-size: 13px;
    color: #4763E4;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.author-link:hover {
    text-decoration: underline;
}

.author-link-arrow {
    margin-left: 5px;
    font-size: 16px;
}

/* AI Summary Enhancements */
.ai-summary-headline {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.ai-summary-conclusion {
    background: #f0f8ff;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    border-left: 4px solid #4763E4;
}

.ai-bottom-line-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.ai-methodology-link {
    background: #e6f3ff;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 12px 0;
    text-align: center;
}

.ai-methodology-link a {
    color: #4763E4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.ai-methodology-link a:hover {
    text-decoration: underline;
}

/* Betting Tips Section */
.betting-tips-section {
    margin: 25px 0;
}

.betting-tips-title {
    font-size: 20px;
    margin: 0 0 8px;
    font-weight: 600;
    color: #333;
}

.betting-tips-explanation {
    margin: 0 0 20px;
}

.confidence-explanation-link {
    font-size: 12px;
    color: #4763e4;
    text-decoration: none;
    font-style: italic;
}

.confidence-explanation-link:hover {
    text-decoration: underline;
}

/* Betting Tip Cards */
.betting-tip-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.betting-tip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.confidence-icon {
    width: 20px;
    height: 20px;
}

.confidence-level {
    font-weight: 600;
}

.confidence-percentage {
    font-weight: 600;
}

.betting-tip-reasoning {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.betting-tip-prediction {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.betting-tip-disclaimer {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

/* Expert Analysis Section */
.expert-analysis-section {
    margin: 30px 0;
}

.expert-analysis-title {
    font-size: 22px;
    margin: 0 0 25px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.analysis-section {
    margin-bottom: 30px;
}

.analysis-section-title {
    font-size: 18px;
    margin: 0 0 15px;
    font-weight: 600;
    color: #333;
}

.analysis-section-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* CheckForm Visual */
.checkform-visual {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* CheckSkill Visual */
.checkskill-visual {
    background: #f8fff8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* CheckMental Visual */
.checkmental-visual {
    background: #fffdf8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Stronger selectors for metric displays to override Tailwind */
html body .match-preview .metric-header-centered,
html body section[itemscope] .metric-header-centered {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-bottom: 15px !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .metric-comparison,
html body section[itemscope] .metric-comparison {
    text-align: center !important;
}

html body .match-preview .metric-scores-display,
html body section[itemscope] .metric-scores-display {
    margin-bottom: 12px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .metric-score-value,
html body section[itemscope] .metric-score-value {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 8px !important;
    color: #333 !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .metric-vs,
html body section[itemscope] .metric-vs {
    font-size: 16px !important;
    color: #666 !important;
    font-weight: 500 !important;
    margin: 0 4px !important;
    font-family: Roboto, sans-serif !important;
}

.advantage-indicator {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
}

.advantage-checkform {
    color: #4763e4;
}

.advantage-checkskill {
    color: #28a745;
}

.advantage-checkmental {
    color: #ffc107;
}

/* Statistics Section */
.statistics-section {
    margin: 30px 0;
}

.statistics-title {
    font-size: 20px;
    margin: 0 0 20px;
    font-weight: 600;
    color: #333;
}

.statistics-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.statistics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Stronger selectors for statistics cards to override Tailwind */
html body .match-preview .stats-grid,
html body section[itemscope] .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
}

html body .match-preview .stat-card,
html body section[itemscope] .stat-card {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .stat-main,
html body section[itemscope] .stat-main {
    padding: 20px !important;
    text-align: center !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .stat-title,
html body section[itemscope] .stat-title {
    font-size: 16px !important;
    color: #666 !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .stat-values,
html body section[itemscope] .stat-values {
    font-size: 28px !important;
    color: #333 !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    font-family: Roboto, sans-serif !important;
}

/* Advantage footer styling with unified green system */
.advantage-footer {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Advantage strength gradients - all green tones */
.weak-advantage-footer {
    background: rgba(40, 167, 69, 0.05); /* Very light green (0-2%) */
}

.moderate-advantage-footer {
    background: rgba(40, 167, 69, 0.12); /* Medium green (2-5%) */
}

.strong-advantage-footer {
    background: rgba(40, 167, 69, 0.20); /* Solid green (5%+) */
}

.even-footer {
    background: rgba(108, 117, 125, 0.08); /* Neutral gray */
}

/* Team text styling - regular font weight */
.advantage-team {
    font-size: 14px;
    font-weight: 500; /* Regular font */
    color: #28a745; /* Unified green */
}

.even-text {
    font-size: 14px;
    font-weight: 500; /* Regular font */
    color: #6c757d; /* Gray for even */
}

/* Percentage text styling - bold font weight */
.advantage-percentage {
    font-size: 14px;
    font-weight: 600; /* Bold font */
    color: #28a745; /* Unified green */
}

.even-percent {
    font-size: 14px;
    font-weight: 600; /* Bold font */
    color: #6c757d; /* Gray for even */
}

.statistics-legend {
    margin-bottom: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.statistics-interpretation {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.statistics-analysis {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.h2h-analysis {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Recent Form Section */
.recent-form-section {
    margin: 30px 0;
}

.recent-form-title {
    font-size: 20px;
    margin: 0 0 20px;
    font-weight: 600;
    color: #333;
}

.team-form-section {
    margin-bottom: 25px;
}

.team-form-title {
    font-size: 18px;
    margin: 0 0 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-form-logo {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.form-trend {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Result Circle Classes */
.result-circle-win {
    width: 20px;
    height: 20px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.result-circle-draw {
    width: 20px;
    height: 20px;
    background: #ffc107;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.result-circle-loss {
    width: 20px;
    height: 20px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* Head-to-Head Section */
.h2h-section {
    margin: 30px 0;
}

.h2h-win-percentages {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.h2h-match-counts {
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    color: #666;
}

.h2h-recent-title {
    font-size: 18px;
    margin: 0 0 15px;
    font-weight: 600;
    color: #333;
}

.h2h-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.h2h-dominance {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* AI Verdict Section */
.ai-verdict-section {
    margin: 30px 0;
}

.ai-verdict-title {
    font-size: 20px;
    margin: 0 0 25px;
    font-weight: 600;
    color: #333;
}

.ai-verdict-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.ai-verdict-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-row {
    border-bottom: 1px solid #f1f3f4;
}

.metric-name-cell {
    padding: 10px 12px;
    color: #333;
    font-weight: 500;
}

.metric-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

.advantage-cell {
    font-weight: 600;
    color: #333;
}

.ai-verdict-analysis {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.verdict-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.match-implication {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #4763E4;
}

.implication-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.implication-text {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

/* Alternative Markets Section */
.alternative-markets-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid #e9ecef;
}

.alternative-markets-title {
    font-size: 18px;
    margin: 0 0 20px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.confidence-label {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.alternative-markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.alternative-market-card {
    background: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.market-info {
    flex: 1;
}

.market-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.market-prediction {
    color: #666;
    font-size: 13px;
    margin: 4px 0 0 0;
}

.market-confidence {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.alternative-markets-disclaimer {
    font-size: 12px;
    color: #888;
    margin-top: 12px;
    text-align: center;
    font-style: italic;
}

/* Methodology Link Section */
.methodology-link-section {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 8px;
}

.methodology-text {
    margin: 0;
    font-size: 15px;
    color: #333;
}

.methodology-link {
    color: #4763E4;
    text-decoration: none;
    font-weight: 500;
}

.methodology-link:hover {
    text-decoration: underline;
}

/* FAQ Section Enhancements */
.faq-content {
    padding: 16px 20px;
    background: #fff;
}

/* Related Content Section */
.related-content-section {
    margin: 30px 0;
}

.related-content-title {
    font-size: 20px;
    margin: 0 0 20px;
    font-weight: 600;
    color: #333;
}

.future-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.future-match-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.future-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.future-match-team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.future-match-logo {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.future-match-name {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.future-match-vs {
    font-size: 12px;
    color: #666;
}

.future-match-details {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.future-match-link {
    text-align: center;
}

.future-match-cta {
    color: #4763E4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.future-match-cta:hover {
    text-decoration: underline;
}

.league-predictions-cta {
    text-align: center;
    margin-top: 25px;
}

/* Banner Highlight */
.banner-highlight {
    color: #16a34a;
}

/* ==========================================================================
   QUARTER ANALYTICS TIMELINE
   ========================================================================== */

/* Stronger selectors for quarter analytics to override Tailwind */
html body .match-preview .quarter-analytics-timeline,
html body section[itemscope] .quarter-analytics-timeline {
    background: #f8f9fa !important;
    padding: 20px !important;
    border-radius: 8px !important;
    margin: 15px 0 !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .quarter-timeline-title,
html body section[itemscope] .quarter-timeline-title {
    margin: 0 0 20px !important;
    font-weight: 600 !important;
    color: #333 !important;
    font-size: 16px !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .quarter-timeline,
html body section[itemscope] .quarter-timeline {
    position: relative !important;
    padding-left: 30px !important;
}

.quarter-point {
    position: relative;
    margin-bottom: 0;
}

.quarter-dot {
    position: absolute;
    left: -30px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #333;
    z-index: 2;
}

.quarter-dot.start-dot {
    background: #333;
    box-shadow: 0 0 0 2px #333;
}

.quarter-dot.end-dot {
    background: #333;
    box-shadow: 0 0 0 2px #333;
}

.quarter-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-left: -12px;
    margin-top: 5px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quarter-segment {
    position: relative;
    margin-bottom: 20px;
}

.quarter-line {
    position: absolute;
    left: -24px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #e1e1e1;
    z-index: 1;
}

.quarter-details {
    margin-left: 10px;
    padding: 8px 0;
}

.quarter-time {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    margin-bottom: 4px;
}

.quarter-description {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* Mobile responsive for timeline */
@media (max-width: 768px) {
    .quarter-timeline {
        padding-left: 25px;
    }
    
    .quarter-dot {
        left: -25px;
        width: 10px;
        height: 10px;
    }
    
    .quarter-line {
        left: -20px;
    }
    
    .quarter-label {
        margin-left: -10px;
        margin-top: 8px;
        font-size: 11px;
    }
    
    .quarter-details {
        margin-left: 5px;
    }
}

/* ==========================================================================
   LITE CLASSES
   ========================================================================== */

/* CheckForm Preview Block */
.checkform-preview-block {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 3px solid #4763E4;
}

.checkform-preview-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* Team Form Insights Block */
.team-form-insights-block {
    background: #fff;
    border: 1px solid #e1e1e1;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.team-form-insight {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.team-form-insight:last-child {
    margin: 0;
}

/* Early Verdict Block */
.early-verdict-block {
    background: #e8f5e8;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #28a745;
    margin: 15px 0;
}

.early-verdict-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #155724;
}

/* Key Insights Section (Prediction Lite) */
.key-insights-section {
    margin: 25px 0;
}

.key-insights-title {
    font-size: 18px;
    margin: 0 0 15px;
    font-weight: 600;
    color: #333;
}

.key-insights-block {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.key-insight-text {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.key-insight-text:last-child {
    margin: 0;
}

/* Bottom Line Section (Prediction Lite) */
.bottom-line-section {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.bottom-line-title {
    font-size: 18px;
    margin: 0 0 15px;
    font-weight: 600;
    color: #333;
}

.bottom-line-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* ==========================================================================
   SEO INTRODUCTORY PARAGRAPH & DATE/TIME META
   ========================================================================== */

/* SEO Introductory Paragraph - Full-width presentation */
.seo-intro-paragraph {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    width: 100%;
    margin: 0 0 20px 0;
    color: #333;
}

/* Date/Time Meta Block */
.match-datetime {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

/* ==========================================================================
   H2H COMPARISON CHART
   ========================================================================== */

/* H2H Comparison Chart Container */
.h2h-comparison-chart {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.h2h-chart-header {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.h2h-visual-bar {
    display: flex;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.h2h-home-segment {
    background: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.h2h-away-segment {
    background: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.h2h-draws-segment {
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.h2h-home-wins,
.h2h-away-wins,
.h2h-draws {
    font-size: 13px;
    font-weight: 600;
}

.h2h-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.h2h-home-label,
.h2h-away-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h2h-home-label {
    text-align: left;
    align-items: flex-start;
}

.h2h-away-label {
    text-align: right;
    align-items: flex-end;
}

.h2h-win-count {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
    line-height: 1;
}

.h2h-home-wins-count {
    color: #dc3545; /* Matches home segment red */
}

.h2h-away-wins-count {
    color: #007bff; /* Matches away segment blue */
}

.h2h-total-meetings {
    text-align: center;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Mobile responsive for H2H chart */
@media (max-width: 768px) {
    .h2h-comparison-chart {
        padding: 16px;
        margin: 16px 0;
    }
    
    .h2h-visual-bar {
        height: 32px;
        margin-bottom: 12px;
    }
    
    .h2h-home-wins,
    .h2h-away-wins,
    .h2h-draws {
        font-size: 12px;
    }
    
    .h2h-chart-header {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .h2h-labels {
        margin-bottom: 8px;
    }
    
    .h2h-home-label,
    .h2h-away-label {
        font-size: 13px;
    }
    
    .h2h-win-count {
        font-size: 16px;
    }
    
    .h2h-total-meetings {
        font-size: 12px;
    }
}

/* ==========================================================================
   UNIVERSAL RESPONSIVE UTILITIES
   ========================================================================== */

@media (max-width: 768px) {
    .main-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .article-container {
        width: 100%;
        max-width: none;
        padding: 16px;
        margin: 0 0 16px 0;
    }
    
    .stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cta-large {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* X-Factors & Storylines Editorial Block - Stronger selectors for Tailwind override */
html body .match-preview .xfactors-section,
html body section[itemscope] .xfactors-section {
    padding: 40px 0 !important;
    background: #fff !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .xfactors-title,
html body section[itemscope] .xfactors-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
    font-family: Roboto, sans-serif !important;
}

html body .match-preview .xfactors-intro,
html body section[itemscope] .xfactors-intro {
    font-size: 17px !important;
    font-style: italic !important;
    color: #555 !important;
    line-height: 1.7 !important;
    margin-bottom: 35px !important;
    font-family: Roboto, sans-serif !important;
}

.xfactors-list {
    margin-bottom: 35px;
}

.xfactor-item {
    margin-bottom: 35px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.xfactor-number {
    font-size: 16px;
    color: #999;
    font-weight: 400;
    min-width: 30px;
    margin-top: 2px;
}

.xfactor-content {
    flex: 1;
}

.xfactor-heading {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.xfactor-description {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.xfactors-divider {
    height: 1px;
    background: #ddd;
    border: none;
    margin: 35px 0;
}

.xfactors-conclusion {
    font-size: 18px;
    font-style: italic;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

/* Mobile responsive X-Factors */
@media (max-width: 768px) {
    .xfactors-section {
        padding: 20px 0;
    }

    .xfactors-title {
        font-size: 22px; /* 28px reduced by 21% */
        margin-bottom: 16px;
    }

    .xfactors-intro {
        font-size: 14px; /* 17px reduced by 18% */
        margin-bottom: 25px;
    }

    .xfactor-heading {
        font-size: 16px; /* 20px reduced by 20% */
        margin-bottom: 6px;
    }

    .xfactor-description {
        font-size: 14px; /* 16px reduced by 12.5% */
    }

    .xfactors-conclusion {
        font-size: 15px; /* 18px reduced by 17% */
    }

    .xfactor-item {
        gap: 12px;
        margin-bottom: 25px;
    }

    .xfactor-number {
        font-size: 14px; /* 16px reduced by 12.5% */
        min-width: 25px;
    }
    
    .xfactors-divider {
        margin: 25px 0;
    }
}

/* Advanced Analytics Section */
.advanced-analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.analytics-metric {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.metric-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-comparison-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.home-value,
.away-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.vs-text {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.metric-insight {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Mobile responsive Advanced Analytics */
@media (max-width: 768px) {
    .advanced-analytics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .analytics-metric {
        padding: 16px;
    }

    .home-value,
    .away-value {
        font-size: 16px;
    }

    .metric-title {
        font-size: 13px;
    }

    .metric-insight {
        font-size: 11px;
    }
}

/* CheckLive AI Verdict Section */
.ai-verdict-container {
    margin: 30px 0;
}

.ai-verdict-title {
    font-size: 20px;
    margin: 0 0 25px;
    font-weight: 600;
    color: #333;
}

.ai-prediction-box {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    margin-bottom: 20px;
}

.ai-prediction-header {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.ai-strength-scores {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ai-strength-score {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.ai-strength-bar {
    height: 12px;
    background: #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.ai-strength-fill {
    position: absolute;
    left: 0;
    height: 100%;
    background: linear-gradient(135deg, #4763e4 0%, #28a745 50%, #ffc107 100%);
}

.ai-strength-fill.home-advantage {
    border-radius: 6px 0 0 6px;
}

.ai-strength-fill.away-advantage {
    right: 0;
    left: auto;
    border-radius: 0 6px 6px 0;
}

.ai-verdict-text {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #4763e4;
    font-weight: 600;
}

.ai-metrics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.ai-metrics-table thead tr {
    background: #f8f9fa;
}

.ai-metrics-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e5e9;
}

.ai-metrics-table th.center {
    text-align: center;
}

.ai-metrics-table tbody tr {
    border-bottom: 1px solid #f1f3f4;
}

.ai-metrics-table td {
    padding: 10px 12px;
    color: #333;
}

.ai-metrics-table td.center {
    text-align: center;
}

.ai-metrics-table .metric-name {
    font-weight: 500;
}

.ai-metrics-table .metric-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

.ai-metrics-table .advantage-text {
    font-weight: 600;
}

.ai-analysis-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.ai-analysis-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.ai-insight-box {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #4763e4;
}

.ai-insight-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.ai-insight-text {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.ai-methodology-link {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 8px;
}

.ai-methodology-link p {
    margin: 0;
    font-size: 15px;
    color: #333;
}

.ai-methodology-link a {
    color: #4763e4;
    text-decoration: none;
    font-weight: 500;
}

.ai-methodology-link a:hover {
    text-decoration: underline;
}

/* Mobile responsive AI Verdict */
@media (max-width: 768px) {
    .ai-verdict-container {
        margin: 20px 0;
    }

    .ai-verdict-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .ai-prediction-box {
        padding: 12px;
    }

    .ai-strength-scores {
        font-size: 14px;
    }

    .ai-analysis-box {
        padding: 16px;
    }

    .ai-analysis-text,
    .ai-insight-text {
        font-size: 14px;
    }

    .ai-metrics-table {
        font-size: 13px;
    }

    .ai-metrics-table th,
    .ai-metrics-table td {
        padding: 8px 10px;
    }
}

/* Professional Tools Banner - REMOVED DUPLICATE */

/* Duplicate styles removed */

/* Mobile responsive Professional Tools Banner */
@media (max-width: 768px) {
    .professional-tools-banner {
        margin: 20px 0;
    }

    .banner-content {
        padding: 20px;
        gap: 15px;
    }

    .banner-title {
        font-size: 18px;
    }

    .banner-subtitle {
        font-size: 13px;
    }

    .banner-cta {
        padding: 10px 20px;
        font-size: 13px;
    }

    .trending-icon {
        width: 28px;
        height: 28px;
    }

    .banner-disclaimer {
        padding: 10px 20px;
    }
}

/* Scenarios Section */
.scenarios-grid {
    margin: 25px 0;
}

.scenario-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.scenario-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
}

.scenario-percentage {
    font-size: 24px;
    font-weight: 700;
    color: #4763E4;
    margin-bottom: 5px;
    line-height: 1.2;
}

.scenario-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.scenario-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
    margin: 0;
}

/* Tactical Reality Section */
.tactical-reality {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid #ffc107;
}

.reality-check {
    line-height: 1.6;
    color: #333;
    margin: 0 0 10px;
    font-size: 16px;
}

/* Decisive Factors Section */
.decisive-factors {
    margin: 25px 0;
}

.factor {
    margin-bottom: 25px;
}

.factor-insight {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

.expert-disclaimer {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin: 0;
    padding-top: 8px;
}

/* Bottom Line Verdict Section */
.bottom-line-verdict {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid #4763E4;
}

.final-verdict {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

/* Mobile responsive for new tennis classes */
@media (max-width: 768px) {
    .scenario-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .scenario-card {
        padding: 12px;
    }
    
    .scenario-percentage {
        font-size: 20px;
    }
    
    .scenario-title {
        font-size: 13px;
    }
    
    .scenario-desc {
        font-size: 12px;
    }
    
    .tactical-reality {
        padding: 16px;
        margin: 20px 0;
    }
    
    .reality-check {
        font-size: 15px;
    }
    
    .bottom-line-verdict {
        padding: 16px;
        margin: 20px 0;
    }
    
    .final-verdict {
        font-size: 15px;
    }
    
    .factor-insight {
        font-size: 15px;
    }
}

/* Statistics Section */
.statistics-section {
    margin: 25px 0;
}

.statistics-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
    overflow: hidden;
}

.stat-main {
    padding: 16px;
}

.stat-title {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.stat-values {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.advantage-footer {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.advantage-footer.home-advantage {
    background-color: #4763E4;
}

.advantage-footer.away-advantage {
    background-color: #28a745;
}

.advantage-footer.even-advantage {
    background-color: #6c757d;
}

.advantage-team {
    font-weight: 500;
}

.advantage-percentage {
    font-weight: 600;
}

/* ==========================================================================
   TENNIS STORYLINES (X-FACTORS) ENHANCEMENTS
   ========================================================================== */

.xfactors-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.xfactors-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e1e5e9 50%, transparent 100%);
    margin: 25px 0;
}

.xfactors-conclusion {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 15px;
}

/* Mobile responsive for tennis statistics */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        margin-bottom: 10px;
    }
    
    .stat-values {
        font-size: 16px;
    }
    
    .xfactors-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ==========================================================================
   TENNIS PREDICTION 2025 COMPONENTS
   ========================================================================== */

/* Main Prediction Container */
.match-prediction {
    width: 100%;
    max-width: none;
    padding: 16px;
    background: #fff;
    font-family: Roboto, sans-serif !important;
    box-sizing: border-box;
}

/* Prediction Hero Card */
.prediction-hero-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 25px;
    border: 1px solid #d1fae5;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.12);
}

.prediction-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
}

.ai-verdict-block {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.verdict-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.predicted-winner-avatar {
    flex-shrink: 0;
}

.winner-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #22c55e;
}

.winner-avatar-no-border {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.verdict-details {
    flex: 1;
}

.ai-verdict-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.predicted-winner {
    color: #22c55e;
    font-weight: 700;
}

.confidence-percentage {
    color: #4763E4;
    font-weight: 700;
}

.current-odds {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.odds-value {
    color: #22c55e;
    font-weight: 600;
}

.prediction-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
}

.prediction-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
    text-decoration: none !important;
    color: white !important;
}

.prediction-cta-button:visited {
    color: white !important;
    text-decoration: none !important;
}

.prediction-cta-button:active {
    color: white !important;
    text-decoration: none !important;
}

.prediction-cta-button:focus {
    text-decoration: none !important;
    outline: none !important;
}

/* Key Factors Section */
.key-factors-section {
    margin: 25px 0;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.factor-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.factor-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.factor-content {
    flex: 1;
}

.factor-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.factor-description {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

/* Evidence Section */
.evidence-section {
    margin: 30px 0;
}

.skill-breakdown-section {
    margin: 25px 0;
}

.skill-comparison-table {
    overflow-x: auto;
    margin-top: 15px;
}

.skills-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skills-table thead {
    background: #f8f9fa;
}

.skills-table th,
.skills-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.skills-table th {
    font-weight: 600;
    color: #333;
}

.skills-table td {
    color: #333;
}

.skills-table td:last-child {
    font-weight: 600;
}

.efficiency-winner {
    display: inline-block;
    background: #f1ffec;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    color: #333;
}

.home-advantage {
    color: #4763E4;
}

.away-advantage {
    color: #28a745;
}

/* Context Section */
.context-section {
    margin: 30px 0;
}

.mental-profiles-section {
    margin: 25px 0;
}

.mental-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.mental-profile-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.mental-profile-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.mental-card-header {
    background: #fffdf8;
    padding: 16px;
    border-bottom: 1px solid #f5f0e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mental-card-header h4 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.mental-score-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.badge-label {
    font-size: 10px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffc107;
    line-height: 1;
}

.mental-card-body {
    padding: 16px;
}

.mental-breakdown {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Legacy support for old structure */
.mental-score {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.mental-stat {
    font-size: 13px;
    color: #666;
}

.form-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.form-comparison-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.form-comparison-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.form-card-header {
    background: #f8f9fa;
    padding: 14px 16px;
    border-bottom: 1px solid #e1e5e9;
}

.form-card-header h4 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.form-card-body {
    padding: 16px;
}

.form-stats {
    margin-bottom: 14px;
}

.form-stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

/* Form Results Display */
.form-results {
    display: flex;
    gap: 6px;
    align-items: center;
}

.result-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.result-win {
    background: #28a745;
}

.result-draw {
    background: #ffc107;
}

.result-loss {
    background: #dc3545;
}

/* Notable Highlight - Clean Design */
.notable-highlight {
    background: #e8f0fe;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.notable-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #4763e4;
}

.notable-text {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Form Analysis Text */
.form-analysis {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.surface-impact-section {
    margin: 25px 0;
}

.surface-analysis {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    background: #f0f8ff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
}

/* Niche Bets Section */
.niche-bets-section {
    margin: 30px 0;
}

.additional-predictions-section {
    margin: 25px 0;
}

.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.prediction-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prediction-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.prediction-icon {
    width: 18px;
    height: 18px;
}

.prediction-type {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.prediction-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.prediction-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.prediction-reasoning {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    flex-grow: 1;
}

.prediction-bet-cta {
    display: block;
    background: #4763E4;
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
    margin-top: auto;
}

.prediction-bet-cta:hover {
    background: #3651d4;
    transform: translateY(-1px);
    text-decoration: none !important;
    color: white !important;
}

.prediction-bet-cta:visited {
    color: white !important;
    text-decoration: none !important;
}

.prediction-bet-cta:active {
    color: white !important;
    text-decoration: none !important;
}

.prediction-bet-cta:focus {
    text-decoration: none !important;
    outline: none !important;
}

/* Final Confidence Section */
.final-confidence-section {
    margin: 30px 0;
}

.model-confidence {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.confidence-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.confidence-value {
    font-size: 32px;
    font-weight: 700;
    color: #4763E4;
    margin-bottom: 4px;
}

.reliability-level {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsive for Prediction Components */
@media (max-width: 768px) {
    .prediction-hero-card {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .prediction-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .verdict-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .winner-avatar {
        width: 50px;
        height: 50px;
    }
    
    .factors-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .mental-profiles-grid,
    .form-comparison-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mental-card-header {
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mental-score-badge {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        align-self: flex-start;
    }
    
    .badge-label {
        font-size: 11px;
    }
    
    .badge-value {
        font-size: 18px;
    }
    
    .mental-card-body {
        padding: 14px;
    }
    
    .mental-breakdown {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .form-card-body {
        padding: 14px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .result-circle {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .notable-highlight {
        padding: 10px 12px;
    }
    
    .notable-text {
        font-size: 12px;
    }
    
    .form-analysis {
        font-size: 13px;
        padding-top: 12px;
    }
    
    .predictions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .confidence-value {
        font-size: 24px;
    }
    
    .skills-table {
        font-size: 13px;
    }
    
    .skills-table th,
    .skills-table td {
        padding: 8px 6px;
    }
}

/* ==========================================================================
   BETTING WIDGET (2025 MODERN PREDICTION BANNER)
   ========================================================================== */

/* Main Betting Widget Container - COMPACT VERSION */
.betting-widget {
    width: 100%;
    max-width: 896px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #f3f4f6;
    margin: 20px auto;
}

/* Widget Header with Gradient Background */
.widget-header {
    background: linear-gradient(to right, #10b981, #14b8a6);
    padding: 1rem 1.25rem;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}

.shield-icon {
    width: 16px;
    height: 16px;
    color: white;
}

.header-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 500;
}

.widget-header h2 {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 0.25rem 0;
}

.widget-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8125rem;
    margin: 0;
}

/* Widget Content Area */
.widget-content {
    padding: 1rem 1.25rem;
}

/* Widget Prediction Card */
.widget-prediction-card {
    background: linear-gradient(to bottom right, #ecfdf5, #f0fdfa);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #a7f3d0;
    margin-bottom: 1rem;
}

.widget-prediction-header {
    margin-bottom: 0.75rem;
}

.widget-prediction-text p:first-child {
    color: #4b5563;
    font-size: 0.8125rem;
    margin: 0 0 0.25rem 0;
}

.widget-prediction-text p:last-child {
    color: #059669;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

/* Widget Confidence Bar Section */
.widget-confidence-section {
    margin-top: 0.75rem;
}

.widget-confidence-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.widget-confidence-header span:first-child {
    color: #4b5563;
}

.widget-confidence-header span:last-child {
    color: #059669;
    font-weight: 600;
}

.widget-confidence-bar {
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.widget-confidence-fill {
    height: 100%;
    background: linear-gradient(to right, #10b981, #14b8a6);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

/* Widget CTA Button - BLUE GRADIENT */
.widget-cta-button {
    width: 100%;
    background: linear-gradient(to right, #1e40af, #1e3a8a);
    color: white !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(30, 64, 175, 0.25);
    text-decoration: none !important;
    box-sizing: border-box;
}

.widget-cta-button:hover {
    background: linear-gradient(to right, #1e3a8a, #1e40af);
    box-shadow: 0 6px 10px -1px rgba(30, 64, 175, 0.35);
    text-decoration: none !important;
    color: white !important;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.widget-cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

.widget-disclaimer {
    color: #6b7280;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.75rem;
}

/* Mobile Responsive for Betting Widget */
@media (max-width: 768px) {
    .betting-widget {
        max-width: 100%;
        margin: 16px 0;
        border-radius: 0.75rem;
    }

    .widget-header {
        padding: 1.5rem 1rem;
    }

    .widget-header h2 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .widget-header p {
        font-size: 0.875rem;
    }

    .widget-content {
        padding: 1.5rem 1rem;
    }

    .widget-prediction-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .widget-prediction-text p:last-child {
        font-size: 1.75rem;
    }

    .trend-icon {
        padding: 0.75rem;
    }

    .trend-icon svg {
        width: 28px;
        height: 28px;
    }

    .widget-cta-button {
        font-size: 1rem;
        padding: 1rem 0.75rem;
    }
}

/* ==========================================================================
   TENNIS 2025 MODERN LAYOUT COMPONENTS
   ========================================================================== */

/* Player Columns Grid */
.player-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
    text-align: center;
}

.player-column {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.player-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.player-record {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* AI Player Comparison */
.ai-player-comparison {
    margin: 25px 0;
}

.comparison-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.metric-icon {
    width: 20px;
    height: 20px;
}

.comparison-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.comparison-scores {
    text-align: center;
    margin-bottom: 15px;
}

.score-value {
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

        .score-value.bold {
            font-weight: 700;
            color: #4763E4;
        }

        /* Metric-specific winner colors */
        .score-value.checkform-winner {
            font-weight: 700;
            color: #4763E4; /* CheckForm blue */
        }

        .score-value.checkskill-winner {
            font-weight: 700;
            color: #28a745; /* CheckSkill green */
        }

        .score-value.checkmental-winner {
            font-weight: 700;
            color: #ffc107; /* CheckMental yellow */
        }

.vs-divider {
    font-size: 24px;
    color: #666;
    margin: 0 8px;
}

.comparison-insight {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Surface Impact */
.surface-impact-box {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.surface-insight {
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* H2H and Form Section */
.h2h-form-section {
    margin: 25px 0;
}

.h2h-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.h2h-fact {
    font-size: 15px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.form-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    padding: 15px;
}

.form-card h4 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.form-analysis {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Serve Stats */
.serve-stats-section {
    margin-top: 20px;
}

.serve-takeaway {
    font-size: 15px;
    color: #333;
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
}

/* Match Dynamics */
.match-dynamics-section {
    margin: 25px 0;
}

.dynamics-intro {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.phases-analysis {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.phase-bars {
    margin: 15px 0;
}

.phase-bar {
    margin-bottom: 15px;
}

.phase-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.phase-visual {
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #e1e5e9;
}

/* New Tennis 2025 Phase Bar Structure */
.phase-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.phase-percentages {
    display: flex;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
}

.home-percentage {
    color: #4763E4;
}

.away-percentage {
    color: #28a745;
}

.phase-visual-bar {
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #e1e5e9;
}

.phase-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.phase-segment.home-segment {
    background: #4763E4;
}

.phase-segment.away-segment {
    background: #28a745;
}

.phases-insight {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
}

.momentum-analysis {
    background: #fff3cd;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
}

.momentum-insight {
    font-size: 14px;
    color: #333;
    margin: 0;
}

/* CTA Section */
.cta-section {
    margin: 30px 0;
}

/* Tennis 2025 Mobile Responsive */
@media (max-width: 768px) {
    .player-columns-grid,
    .form-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .comparison-scores {
        margin-bottom: 12px;
    }
    
    .score-value {
        font-size: 24px;
    }
    
    .vs-divider {
        font-size: 18px;
    }
    
    .phase-visual {
        height: 16px;
    }
    
    .phase-segment {
        font-size: 10px;
    }
}

/* ==========================================================================
   MATCH PREVIEW PAGE V2 - TEMPLATE DESIGN SYSTEM
   Template-based layout for modern match preview pages
   ========================================================================== */

/* CSS Variables for Template Design */
:root {
    --grey-50: #B7BCD1;
    --black: #303036;
    --blue: #426AFA;
    --white: #FFFFFF;
    --grey-5: #FBFCFF;
    --green: #3EC128;
    --orange: #FAB52F;
    --grey-10: #EEEFF4;
    --red: #FA4242;
    --light-blue: #F3F5FF;
    --border-blue: #A4B8FF;
    --light-green: #ECFCF7;
    --border-green: #7AD9BB;
    --green-dark: #23AE79;
    --green-teal: #25AE9B;
}

/* Template Container Structure */
.template-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.template-content-wrapper {
    background: var(--white);
    border-radius: 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.template-content-wrapper p,
.template-content-wrapper div {
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
}

/* Info Box - Match Introduction */
.template-info-box {
    background: var(--light-blue);
    border: 1px solid var(--border-blue);
    border-radius: 5px;
    padding: 24px 20px;
}

.template-info-date {
    color: var(--grey-50);
    font-size: 11px;
    margin-bottom: 8px;
}

.template-info-text {
    color: var(--black);
    font-size: 16px;
    line-height: 1.6;
}

.template-info-text strong {
    font-weight: 700;
}

/* Template Section Titles */
.template-content-wrapper h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.template-content-wrapper h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
}

/* Key Factors Grid */
.template-key-factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.template-factor-card {
    border: 1px solid var(--grey-10);
    border-radius: 5px;
    padding: 16px;
    display: flex;
    gap: 12px;
}

.template-factor-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-factor-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.template-factor-content p {
    font-size: 16px;
    color: var(--black);
    line-height: 1.6;
}

/* AI Analysis Section */
.template-ai-analysis {
    background: var(--light-blue);
    border-radius: 5px;
    padding: 20px;
}

.template-teams-comparison {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
    flex-wrap: wrap;
    gap: 20px;
}

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

.template-team-avatar {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    overflow: hidden;
    flex-shrink: 0;
}

.template-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-team-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.template-team-details p {
    font-size: 14px;
    color: var(--black);
}

.template-vs-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--black);
}

/* Metrics Grid */
.template-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 19px;
    margin-bottom: 19px;
}

.template-metric-card {
    background: var(--grey-5);
    border: 1px solid var(--grey-10);
    border-radius: 5px;
    padding: 16px 32px;
    text-align: center;
}

.template-metric-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.template-metric-icon {
    width: 20px;
    height: 20px;
}

.template-metric-label {
    font-size: 15px;
    color: var(--black);
}

.template-metric-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.template-progress-bar-bg {
    background: rgba(48, 48, 54, 0.1);
    height: 6px;
    border-radius: 100px;
    position: relative;
    margin-bottom: 12px;
}

.template-progress-bar-fill {
    height: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
}

.template-progress-bar-fill.blue {
    background: var(--blue);
    left: 0;
}

.template-progress-bar-fill.green {
    background: var(--green);
    right: 0;
}

.template-progress-bar-fill.orange {
    background: var(--orange);
    left: 0;
}

.template-metric-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.template-metric-result.blue {
    color: var(--blue);
}

.template-metric-result.green {
    color: var(--green);
}

.template-metric-result.orange {
    color: var(--orange);
}

.template-metric-result span {
    font-size: 14px;
    font-weight: 700;
}

/* AI Prediction */
.template-ai-prediction {
    background: var(--grey-5);
    border: 2px solid var(--blue);
    border-radius: 5px;
    padding: 16px 32px;
    text-align: center;
}

.template-ai-prediction h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.template-ai-prediction-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.template-gradient-progress-bg {
    background: rgba(48, 48, 54, 0.1);
    height: 12px;
    border-radius: 100px;
    position: relative;
    margin-bottom: 12px;
}

.template-gradient-progress-fill {
    background: linear-gradient(to right, var(--blue), var(--green) 49.519%, var(--orange));
    height: 100%;
    border-radius: 100px;
    width: 52.6%;
}

.template-prediction-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--blue);
}

.template-prediction-result span {
    font-size: 14px;
    font-weight: 700;
}

/* Buttons */
.template-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 38px;
    border-radius: 5px;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.template-btn-primary {
    background: linear-gradient(to right, #EAEEFE, #FFFFFF);
    color: var(--blue);
}

.template-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 106, 250, 0.3);
}

.template-btn-success {
    background: linear-gradient(to right, var(--green-dark), var(--green-teal));
    color: var(--white);
}

.template-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 174, 121, 0.4);
}

/* CTA Sections */
.template-cta-blue {
    background: var(--blue);
    border-radius: 5px;
    padding: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.template-cta-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.template-cta-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.template-cta-text h3 {
    font-size: 30px;
    color: var(--white);
    margin-bottom: 10px;
}

.template-cta-text p {
    font-size: 19px;
    font-weight: 500;
    color: var(--white);
}

.template-cta-green {
    background: var(--light-green);
    border: 1px solid var(--border-green);
    border-radius: 5px;
    padding: 42px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.template-cta-green-content {
    display: flex;
    gap: 15px;
}

.template-cta-green-icon {
    flex-shrink: 0;
}

.template-cta-green-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.template-cta-green-text p {
    font-size: 18px;
    color: var(--black);
    margin-bottom: 5px;
}

.template-cta-green-text .disclaimer {
    font-size: 14px;
    color: #9EC0B5;
}

.template-badge {
    position: absolute;
    top: -10px;
    right: 32px;
    background: #C0F6E5;
    color: #23AE7D;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
}

/* Table */
.template-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.template-data-table {
    border: 1px solid var(--grey-10);
    border-radius: 5px;
    overflow: hidden;
    min-width: 600px;
}

.template-table-header {
    background: var(--grey-10);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    color: var(--black);
}

.template-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--grey-10);
    font-size: 14px;
    color: var(--black);
}

.template-table-row:last-child {
    border-bottom: none;
}

.template-cell-label {
    font-weight: 700;
}

.template-badge-green {
    background: var(--green);
    color: var(--white);
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    font-size: 14px;
}

/* Mental Profile Cards */
.template-mental-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.template-mental-card {
    border: 1px solid var(--grey-10);
    border-radius: 5px;
    padding: 16px;
    display: flex;
    gap: 8px;
}

.template-mental-content {
    flex: 1;
}

.template-mental-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.template-mental-content p {
    font-size: 16px;
    color: var(--black);
    line-height: 1.6;
}

.template-mental-score {
    background: var(--light-blue);
    border-radius: 5px;
    padding: 12px;
    text-align: center;
    width: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.template-mental-score-label {
    font-size: 14px;
    color: var(--grey-50);
    margin-bottom: 2px;
}

.template-mental-score-value {
    font-size: 24px;
    font-weight: 500;
    color: var(--blue);
}

/* H2H Section */
.template-h2h-box {
    background: var(--light-blue);
    border-radius: 5px;
    padding: 24px 32px;
    text-align: center;
}

.template-h2h-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 15px;
}

.template-h2h-team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.template-h2h-score {
    font-size: 22px;
    font-weight: 700;
}

.template-h2h-score.red {
    color: var(--red);
}

.template-h2h-score.blue {
    color: var(--blue);
}

.template-h2h-team-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
}

.template-h2h-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
}

.template-h2h-progress-bg {
    background: rgba(48, 48, 54, 0.1);
    height: 12px;
    border-radius: 100px;
    position: relative;
    margin-bottom: 6px;
}

.template-h2h-progress-red {
    background: var(--red);
    height: 100%;
    border-radius: 100px 0 0 100px;
    width: 62.8%;
    position: absolute;
    left: 0;
}

.template-h2h-progress-blue {
    background: var(--blue);
    height: 100%;
    border-radius: 0 100px 100px 0;
    width: 37.2%;
    position: absolute;
    right: 0;
}

.template-h2h-total {
    font-size: 14px;
    color: var(--grey-50);
}

/* H2H 3-item flexbox layout with draws */
.template-h2h-items-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

.template-h2h-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.template-h2h-item .template-h2h-score {
    margin-bottom: 4px;
}

.template-h2h-item .template-h2h-team-name {
    margin-bottom: 8px;
}

.template-h2h-item:first-child {
    flex: 0 0 50%;
}

.template-h2h-item:nth-child(2) {
    flex: 0 0 15%;
}

.template-h2h-item:last-child {
    flex: 0 0 35%;
}

.template-h2h-score.grey {
    color: var(--grey-50);
}

.template-h2h-progress-bar {
    height: 16px;
    width: 100%;
    position: relative;
}

.template-h2h-progress-fill {
    height: 100%;
    width: 100%;
}

.template-h2h-progress-fill.red {
    background: var(--red);
    border-radius: 4px 0 0 4px;
}

.template-h2h-progress-fill.grey {
    background: var(--grey-50);
}

.template-h2h-progress-fill.blue {
    background: var(--blue);
    border-radius: 0 4px 4px 0;
}

/* Form Cards */
.template-form-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.template-form-card {
    border: 1px solid var(--grey-10);
    border-radius: 5px;
    padding: 20px;
}

.template-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.template-form-badges {
    display: flex;
    gap: 8px;
}

.template-form-badge {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.template-form-badge.win {
    background: var(--green);
}

.template-form-badge.loss {
    background: var(--red);
}

.template-form-badge.draw {
    background: var(--orange);
}

.template-form-highlight {
    background: var(--light-blue);
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
    color: var(--black);
    margin-bottom: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .template-key-factors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .template-metrics-grid {
        grid-template-columns: 1fr;
    }

    .template-cta-text h3,
    .template-ai-chat-content h2 {
        font-size: 28px;
    }

    .template-badge {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .template-container {
        padding: 10px;
    }

    .template-content-wrapper {
        padding: 15px;
        gap: 20px;
    }

    .template-content-wrapper h2 {
        font-size: 20px;
    }

    .template-key-factors-grid {
        grid-template-columns: 1fr;
    }

    .template-teams-comparison {
        flex-direction: column;
        gap: 10px;
    }

    .template-cta-blue,
    .template-cta-green {
        flex-direction: column;
        padding: 24px;
        text-align: center;
    }

    .template-cta-green-content {
        flex-direction: column;
    }

    .template-cta-content {
        flex-direction: column;
    }

    .template-cta-text h3 {
        font-size: 24px;
    }

    .template-cta-text p {
        font-size: 16px;
    }

    .template-mental-cards,
    .template-form-cards {
        grid-template-columns: 1fr;
    }
    
    /* Mental Profile Cards - Tablet Adjustments */
    .template-mental-content p {
        font-size: 15px;
        line-height: 1.55;
    }
    
    .template-mental-score {
        width: 110px;
        padding: 10px;
    }
    
    .template-mental-score-value {
        font-size: 22px;
    }

    .template-badge {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }

    .template-btn {
        width: 100%;
        padding: 18px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .template-factor-card {
        flex-direction: column;
    }

    .template-h2h-header {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Mental Profile Cards - Mobile Optimization */
    .template-mental-card {
        flex-direction: column;
        padding: 14px;
    }
    
    .template-mental-content h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .template-mental-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .template-mental-score {
        width: 100%;
        max-width: 140px;
        margin: 12px auto 0;
        padding: 10px;
    }
    
    .template-mental-score-label {
        font-size: 12px;
    }
    
    .template-mental-score-value {
        font-size: 22px;
    }
}
