/* ====================
   BASE STYLES (Desktop)
   ==================== */

.universal-btts-error {
    color: #F44336;
    text-align: center;
    padding: 20px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 8px;
    margin: 20px 0;
}

.universal-btts-no-data {
    color: #FF9800;
    text-align: center;
    padding: 20px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 8px;
    margin: 15px 0;
}

.universal-btts-premium-lock-container {
    width: 300px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.universal-btts-premium-lock-content {
    text-align: center;
    padding: 20px;
}

.universal-btts-premium-lock-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.universal-btts-premium-lock-title {
    font-size: 14px;
    color: #ccc;
    font-weight: bold;
}

.universal-btts-premium-lock-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.universal-btts-chart-empty-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.universal-btts-chart-empty-content {
    display: block;
}

.universal-btts-chart-empty-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.universal-btts-chart-empty-text {
    font-size: 12px;
    color: #ccc;
}

.universal-btts-profit-chart-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    height: 150px;
    position: relative;
}

.universal-btts-chart-header {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.universal-btts-profit-trend-title {
    font-size: 12px;
    font-weight: bold;
    color: #FF9800;
}

.universal-btts-roi-display {
    font-size: 11px;
}

.universal-btts-roi-display[data-roi^="+"] {
    color: #4CAF50;
}

.universal-btts-roi-display[data-roi^="-"] {
    color: #F44336;
}

.universal-btts-chart-area {
    height: 80px;
    position: relative;
}

.universal-btts-zero-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
}

.universal-btts-profit-chart-svg {
    display: block;
}

.universal-btts-chart-line {
    transition: stroke 0.3s ease;
}

.universal-btts-chart-area-fill {
    transition: fill 0.3s ease;
}

.universal-btts-chart-footer {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #ccc;
}

.universal-btts-chart-label-start,
.universal-btts-chart-label-now {
    font-size: 10px;
    color: #ccc;
}

.universal-btts-league-flags-nav {
    background-color: #1D365A;
    padding: 15px 0;
    border-top: 1px solid #2F4564;
}

.universal-btts-flags-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.universal-btts-flags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 35px);
    justify-content: center;
    gap: 19px;
}

.universal-btts-flag-link {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.universal-btts-flag-link:hover {
    transform: translateY(-2px);
}

.universal-btts-flag-image {
    width: 35px;
    height: 25px;
    display: block;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.universal-btts-flag-link:hover .universal-btts-flag-image {
    border-color: #FF9800;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.universal-btts-flag-emoji {
    width: 35px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.universal-btts-flag-link:hover .universal-btts-flag-emoji {
    transform: scale(1.1);
}

.universal-btts-stats-container {
    margin-bottom: 5px;
    border: 2px solid #C7C8C6 !important;
    border-radius: 10px;
    overflow: hidden;
}

.universal-btts-stats-header {
    background-color: #1D365A;
    color: white;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.universal-btts-stats-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.universal-btts-stats-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.universal-btts-stats-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.universal-btts-stats-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #C7C8C6;
    border-radius: 5px;
    padding: 0;
    width: 150px;
    height: 150px;
    box-sizing: border-box;
}

.universal-btts-league-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.universal-btts-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #1D365A;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.universal-btts-stats-league-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.universal-btts-stats-title {
    margin: 0;
    font-size: 30px !important;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-align: left;
}

.universal-btts-predictions-text {
    color: #FF9800;
}

.universal-btts-stats-subtitle {
    margin: 0.3rem 0 0 0;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.universal-btts-stats-flag {
    font-size: 2rem;
}

.universal-btts-country-name {
    font-size: 30px;
    font-weight: 800;
}

.universal-btts-stats-chart {
    flex: 0 0 300px;
    margin-left: 2rem;
}

.universal-btts-nav-buttons {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 15px 0;
    border-top: 2px solid #C7C8C6;
}

.universal-btts-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.universal-btts-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.universal-btts-nav-btn {
    display: block;
    background: linear-gradient(135deg, #1D365A 0%, #2a4a7a 100%);
    color: #fff;
    padding: 10px 6px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.universal-btts-nav-btn-main,
.universal-btts-nav-btn-rankings {
    color: #FF9800;
}

.universal-btts-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.universal-btts-seo-intro {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
    border-radius: 0 0 8px 8px;
}

.universal-btts-seo-title {
    color: #475569;
    font-size: 24px !important;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}

.universal-btts-intro-text {
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 30px;
    text-align: center;
}

.universal-btts-premium-unlock-container {
    text-align: center;
    margin-top: 1rem;
}

.universal-btts-premium-unlock-btn {
    background: #1D365A;
    color: white;
    padding: 0.5rem 1rem;
    border: 2px solid #FF9800;
    border-radius: 5px;
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.universal-btts-premium-unlock-btn:hover {
    background: #2a4a7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.universal-btts-stats-bars-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.universal-btts-stats-bar-wrapper {
    flex-grow: 1;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.universal-btts-stats-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease-in-out, background-color 0.3s ease;
    animation: universal-btts-bar-fill-animation 0.8s ease-out;
}

@keyframes universal-btts-bar-fill-animation {
    from {
        width: 0;
        opacity: 0.7;
    }
    to {
        opacity: 1;
    }
}

.universal-btts-bar-green {
    background-color: #4CAF50;
}

.universal-btts-bar-light-green {
    background-color: #8BC34A;
}

.universal-btts-bar-yellow {
    background-color: #FFC107;
}

.universal-btts-bar-red {
    background-color: #F44336;
}

.universal-btts-stats-bar-percentage {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    min-width: 40px;
    text-align: right;
    font-family: Arial, sans-serif;
}

.universal-btts-prediction-cell {
    font-weight: bold;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    min-width: 50px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    animation: universal-btts-prediction-appear 0.3s ease-out;
}

@keyframes universal-btts-prediction-appear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.universal-btts-prediction-yes {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.universal-btts-prediction-yes::before {
    content: "✓ ";
    font-weight: bold;
}

.universal-btts-prediction-no {
    background-color: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.universal-btts-prediction-no::before {
    content: "✗ ";
    font-weight: bold;
}

.universal-btts-confidence-cell {
    font-weight: bold;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.2);
    min-width: 50px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    animation: universal-btts-prediction-appear 0.3s ease-out;
}

.universal-btts-prediction-lock {
    color: #999 !important;
    font-size: 14px !important;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: universal-btts-prediction-appear 0.3s ease-out;
}

.universal-btts-no-predictions-container {
    text-align: center;
    padding: 60px 20px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.universal-btts-no-predictions-content {
    max-width: 500px;
    margin: 0 auto;
}

.universal-btts-no-predictions-title {
    color: #FF9800;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.3;
}

.universal-btts-no-predictions-description {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.universal-btts-schedule-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.universal-btts-schedule-text {
    color: #475569;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.universal-btts-check-back-text {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 20px;
}

.universal-btts-premium-upsell {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.universal-btts-premium-title {
    color: white;
    margin-bottom: 15px;
    font-size: 18px;
}

.universal-btts-premium-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 15px;
}

.universal-btts-premium-link {
    color: #FFD700;
    font-weight: bold;
    text-decoration: none;
}

.universal-btts-premium-link:hover {
    text-decoration: underline;
}

.universal-btts-premium-upgrade-btn {
    background: white;
    color: #764ba2;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.universal-btts-premium-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.universal-btts-predictions-container {
    margin: 20px 0;
    overflow-x: auto;
}

.universal-btts-fixtures-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.universal-btts-screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.universal-btts-col-flag {
    width: 8%;
}

.universal-btts-col-datetime {
    width: 15%;
}

.universal-btts-col-match {
    width: 30%;
}

.universal-btts-col-odds,
.universal-btts-col-prediction {
    width: 10%;
}

.universal-btts-col-analysis {
    width: 15%;
}

.universal-btts-table-header-row {
    background-color: #1D365A;
    border-bottom: 2px solid #C7C8C6;
}

.universal-btts-th-trophy,
.universal-btts-th-datetime,
.universal-btts-th-match,
.universal-btts-th-odds,
.universal-btts-th-prediction,
.universal-btts-th-analysis {
    padding: 15px 10px;
    text-align: left;
    font-weight: bold;
    color: #FF9800;
    font-size: 14px;
}

.universal-btts-th-trophy {
    font-size: 20px;
    text-align: center;
}

.universal-btts-table-body {
    background: rgba(255, 255, 255, 0.03);
}

.universal-btts-match-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.universal-btts-match-row:hover {
    background-color: rgba(255, 152, 0, 0.1);
}

.universal-btts-match-row td {
    padding: 12px 10px;
    vertical-align: middle;
}

.universal-btts-country-flag {
    text-align: center;
}

.universal-btts-flag-image {
    width: 35px;
    height: 25px;
    border: 1px solid #ddd;
    border-radius: 3px;
    vertical-align: middle;
}

.universal-btts-flag-emoji {
    font-size: 28px;
    vertical-align: middle;
}

.universal-btts-match-datetime {
    font-size: 14px;
    color: #ccc;
}

.universal-btts-match-date {
    display: block;
    margin-bottom: 4px;
}

.universal-btts-match-time {
    color: #FF5722;
    font-weight: bold;
    display: block;
}

.universal-btts-match-teams {
    font-size: 15px;
    color: #fff;
}

.universal-btts-home-team {
    color: #4CAF50;
}

.universal-btts-vs-separator {
    font-size: 20px;
    color: #F44336;
    margin: 0 8px;
}

.universal-btts-away-team {
    display: inline-block;
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.universal-btts-odds-cell,
.universal-btts-prediction-cell,
.universal-btts-analysis-cell {
    text-align: center;
}

.universal-btts-analysis-cell a {
    color: #2196F3;
    text-decoration: none;
    font-weight: bold;
}

.universal-btts-analysis-cell a:hover {
    text-decoration: underline;
    color: #FF9800;
}

.universal-btts-seo-rich-content {
    display: none;
}

.universal-btts-stats-summary {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.universal-btts-history-title {
    color: #FF9800;
    font-size: 24px !important;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
}

.universal-btts-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.universal-btts-stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.universal-btts-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.universal-btts-won-card {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.3);
}

.universal-btts-lost-card {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.3);
}

.universal-btts-stat-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.universal-btts-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.universal-btts-profit-positive {
    color: #4CAF50;
}

.universal-btts-profit-negative {
    color: #F44336;
}

.universal-btts-history-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.universal-btts-history-col-flag {
    width: 7%;
}

.universal-btts-history-col-datetime {
    width: 13%;
}

.universal-btts-history-col-home-stats,
.universal-btts-history-col-away-stats {
    width: 11%;
}

.universal-btts-history-col-match {
    width: 20%;
}

.universal-btts-history-col-odds,
.universal-btts-history-col-prediction,
.universal-btts-history-col-score {
    width: 8%;
}

.universal-btts-history-col-confidence {
    width: 7%;
}

.universal-btts-history-header-row {
    background-color: #1D365A;
    border-bottom: 2px solid #C7C8C6;
}

.universal-btts-history-th-trophy,
.universal-btts-history-th-datetime,
.universal-btts-history-th-home-stats,
.universal-btts-history-th-match,
.universal-btts-history-th-away-stats,
.universal-btts-history-th-odds,
.universal-btts-history-th-confidence,
.universal-btts-history-th-prediction,
.universal-btts-history-th-score {
    padding: 15px 10px;
    text-align: left;
    font-weight: bold;
    color: #FF9800;
    font-size: 14px;
}

.universal-btts-trophy-icon {
    font-size: 20px;
    display: inline-block;
}

.universal-btts-history-body {
    background: rgba(255, 255, 255, 0.03);
}

.universal-btts-history-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.universal-btts-history-row:hover {
    background-color: rgba(255, 152, 0, 0.1);
}

.universal-btts-history-row td {
    padding: 12px 10px;
    vertical-align: middle;
}

.universal-btts-country-flag {
    text-align: center;
}

.universal-btts-history-flag-image {
    width: 30px;
    height: 23px;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.universal-btts-flag-emoji {
    font-size: 40px;
    vertical-align: middle;
}

.universal-btts-history-datetime {
    font-size: 14px;
    color: #ccc;
}

.universal-btts-history-date {
    display: block;
    margin-bottom: 2px;
}

.universal-btts-history-time-separator {
    color: #94a3b8;
}

.universal-btts-history-time {
    color: #FF5722;
    font-weight: bold;
}

.universal-btts-history-match-cell {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    color: #fff;
}

.universal-btts-history-home-team {
    color: #4CAF50;
}

.universal-btts-history-vs-separator {
    color: #FF5722;
    font-weight: bold;
    font-size: 16px;
    margin: 0 8px;
}

.universal-btts-history-away-team {
    color: #fff;
}

.universal-btts-home-stats-cell,
.universal-btts-away-stats-cell {
    min-width: 80px;
}

.universal-btts-history-odds-cell {
    text-align: center;
}

.universal-btts-history-confidence-cell {
    text-align: center;
}

.universal-btts-history-prediction-cell {
    text-align: center;
}

.universal-btts-history-score-cell {
    text-align: center;
    font-weight: bold;
}

.universal-btts-score-value {
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.universal-btts-history-score-lock {
    color: #999 !important;
    font-size: 14px !important;
}

.universal-btts-score-pending {
    color: #FFC107;
}

.universal-btts-score-correct {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
}

.universal-btts-score-incorrect {
    color: #F44336;
    background-color: rgba(244, 67, 54, 0.1);
    border-radius: 4px;
}

.universal-btts-stats-summary-seo {
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.universal-btts-stats-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
}

.universal-btts-summary-col-flag {
    width: 8%;
}

.universal-btts-summary-col-league {
    width: 13%;
}

.universal-btts-summary-col-matches,
.universal-btts-summary-col-won,
.universal-btts-summary-col-lost,
.universal-btts-summary-col-profit {
    width: 8%;
}

.universal-btts-summary-col-win-rate,
.universal-btts-summary-col-avg-odds {
    width: 10%;
}

.universal-btts-summary-col-predictions {
    width: 16%;
}

.universal-btts-summary-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.universal-btts-summary-row:hover {
    background-color: rgba(255, 152, 0, 0.1);
}

.universal-btts-summary-row td {
    padding: 15px 10px;
    vertical-align: middle;
}

.universal-btts-summary-flag-cell {
    text-align: center;
}

.universal-btts-summary-flag-image {
    width: 40px;
    height: 29px;
    vertical-align: middle;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.universal-btts-summary-flag-emoji {
    font-size: 40px;
    vertical-align: middle;
    line-height: 1;
}

.universal-btts-summary-league-cell {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.universal-btts-summary-matches-cell,
.universal-btts-summary-won-cell,
.universal-btts-summary-lost-cell,
.universal-btts-summary-winrate-cell,
.universal-btts-summary-avg-odds-cell,
.universal-btts-summary-profit-cell {
    text-align: center;
    font-weight: 600;
    color: #fff;
}

.universal-btts-summary-won-cell {
    color: #4CAF50;
}

.universal-btts-summary-lost-cell {
    color: #F44336;
}

.universal-btts-summary-winrate-cell {
    color: #FF9800;
    font-weight: 700;
}

.universal-btts-summary-avg-odds-cell {
    color: #2196F3;
}

.universal-btts-summary-predictions-cell {
    text-align: center;
}

.universal-btts-summary-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.universal-btts-summary-btn {
    background: linear-gradient(135deg, #1D365A 0%, #2a4a7a 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    min-width: 100px;
    text-align: center;
}

.universal-btts-summary-btn:hover {
    background: linear-gradient(135deg, #2a4a7a 0%, #1D365A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.universal-btts-prediction-badge {
    background: #FF9800;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    min-width: 30px;
    display: inline-block;
    text-align: center;
}

.universal-btts-zero-badge {
    background: #6c757d;
    opacity: 0.7;
}

/* ====================
   MOBILE STYLES (Media Query)
   ==================== */
   
@media only screen and (max-width: 768px) {
    .universal-btts-premium-lock-container {
        width: 100%;
        max-width: 300px;
        height: 120px;
    }
    
    .universal-btts-premium-lock-content {
        padding: 15px;
    }
    
    .universal-btts-premium-lock-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .universal-btts-premium-lock-title {
        font-size: 12px;
    }
    
    .universal-btts-premium-lock-subtitle {
        font-size: 11px;
    }
    
    .universal-btts-chart-empty-container {
        padding: 10px;
        height: 120px;
    }
    
    .universal-btts-chart-empty-icon {
        font-size: 20px;
    }
    
    .universal-btts-chart-empty-text {
        font-size: 11px;
    }
    
    .universal-btts-profit-chart-container {
        padding: 12px;
        height: 140px;
    }
    
    .universal-btts-profit-chart-svg {
        width: 100%;
        max-width: 270px;
    }
    
    .universal-btts-league-flags-nav {
        padding: 12px 0;
    }
    
    .universal-btts-flags-grid {
        grid-template-columns: repeat(auto-fit, 32px);
        gap: 16px;
    }
    
    .universal-btts-flag-image {
        width: 32px;
        height: 22px;
    }
    
    .universal-btts-flag-emoji {
        width: 32px;
        height: 22px;
        font-size: 36px;
    }
    
    .universal-btts-stats-container {
        margin-bottom: 3px;
        border: 1px solid #C7C8C6 !important;
    }
    
    .universal-btts-stats-header {
        padding: 1rem;
    }
    
    .universal-btts-stats-header-container {
        padding: 10px;
    }
    
    .universal-btts-stats-branding {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .universal-btts-stats-logo {
        width: 100px;
        height: 100px;
    }
    
    .universal-btts-stats-title {
        font-size: 24px !important;
        text-align: center;
    }
    
    .universal-btts-stats-subtitle {
        font-size: 20px;
        text-align: center;
        justify-content: center;
    }
    
    .universal-btts-country-name {
        font-size: 20px;
    }
    
    .universal-btts-stats-flag {
        font-size: 1.5rem;
    }
    
    .universal-btts-stats-chart {
        flex: 0 0 100%;
        margin-left: 0;
        margin-top: 1rem;
        order: 3;
    }
    
    .universal-btts-stats-league-details {
        align-items: center;
        text-align: center;
    }
    
    .universal-btts-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .universal-btts-nav-btn {
        font-size: 1rem;
        padding: 8px 4px;
    }
    
    .universal-btts-seo-title {
        font-size: 20px !important;
    }
    
    .universal-btts-intro-text {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .universal-btts-premium-unlock-btn {
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }
    
    .universal-btts-stats-bar-wrapper {
        height: 16px;
    }
    
    .universal-btts-stats-bar-percentage {
        font-size: 12px;
        min-width: 35px;
    }
    
    .universal-btts-prediction-cell,
    .universal-btts-confidence-cell {
        font-size: 12px;
        padding: 3px 6px;
        min-width: 40px;
    }
    
    .universal-btts-prediction-lock {
        font-size: 12px !important;
        padding: 3px 6px;
    }
    
    .universal-btts-no-predictions-container {
        padding: 40px 15px;
    }
    
    .universal-btts-no-predictions-title {
        font-size: 24px;
    }
    
    .universal-btts-no-predictions-description {
        font-size: 16px;
    }
    
    .universal-btts-schedule-box {
        padding: 15px;
    }
    
    .universal-btts-schedule-text {
        font-size: 14px;
    }
    
    .universal-btts-premium-upsell {
        padding: 15px;
    }
    
    .universal-btts-premium-title {
        font-size: 16px;
    }
    
    .universal-btts-premium-description {
        font-size: 13px;
    }
    
    .universal-btts-premium-upgrade-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .universal-btts-fixtures-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .universal-btts-col-flag,
    .universal-btts-col-datetime,
    .universal-btts-col-match,
    .universal-btts-col-odds,
    .universal-btts-col-prediction,
    .universal-btts-col-analysis {
        min-width: 80px;
    }
    
    .universal-btts-th-trophy,
    .universal-btts-th-datetime,
    .universal-btts-th-match,
    .universal-btts-th-odds,
    .universal-btts-th-prediction,
    .universal-btts-th-analysis {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .universal-btts-match-row td {
        padding: 10px 8px;
    }
    
    .universal-btts-flag-image {
        width: 30px;
        height: 20px;
    }
    
    .universal-btts-flag-emoji {
        font-size: 24px;
    }
    
    .universal-btts-vs-separator {
        font-size: 16px;
    }
    
    .universal-btts-away-team {
        max-width: 70px;
    }
    
    .universal-btts-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .universal-btts-stat-card {
        padding: 12px;
    }
    
    .universal-btts-stat-label {
        font-size: 11px;
    }
    
    .universal-btts-stat-value {
        font-size: 20px;
    }
    
    .universal-btts-history-title {
        font-size: 20px !important;
    }
    
    .universal-btts-history-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .universal-btts-history-col-flag,
    .universal-btts-history-col-datetime,
    .universal-btts-history-col-home-stats,
    .universal-btts-history-col-match,
    .universal-btts-history-col-away-stats,
    .universal-btts-history-col-odds,
    .universal-btts-history-col-confidence,
    .universal-btts-history-col-prediction,
    .universal-btts-history-col-score {
        min-width: 80px;
    }
    
    .universal-btts-history-th-trophy,
    .universal-btts-history-th-datetime,
    .universal-btts-history-th-home-stats,
    .universal-btts-history-th-match,
    .universal-btts-history-th-away-stats,
    .universal-btts-history-th-odds,
    .universal-btts-history-th-confidence,
    .universal-btts-history-th-prediction,
    .universal-btts-history-th-score {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .universal-btts-history-row td {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .universal-btts-history-flag-image {
        width: 25px;
        height: 18px;
    }
    
    .universal-btts-flag-emoji {
        font-size: 20px;
    }
    
    .universal-btts-history-vs-separator {
        font-size: 14px;
        margin: 0 4px;
    }
    
    .universal-btts-history-match-cell {
        max-width: 100px;
    }
    
    .universal-btts-stats-summary-table {
        display: block;
        overflow-x: auto;
    }
    
    .universal-btts-summary-col-flag,
    .universal-btts-summary-col-league,
    .universal-btts-summary-col-matches,
    .universal-btts-summary-col-won,
    .universal-btts-summary-col-lost,
    .universal-btts-summary-col-win-rate,
    .universal-btts-summary-col-avg-odds,
    .universal-btts-summary-col-profit,
    .universal-btts-summary-col-predictions {
        min-width: 80px;
    }
    
    .universal-btts-summary-row td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .universal-btts-summary-flag-image {
        width: 35px;
        height: 25px;
    }
    
    .universal-btts-summary-flag-emoji {
        font-size: 35px;
    }
    
    .universal-btts-summary-btn {
        padding: 6px 12px;
        font-size: 13px;
        min-width: 90px;
    }
    
    .universal-btts-prediction-badge {
        padding: 3px 6px;
        font-size: 11px;
        min-width: 25px;
    }
}

/* ====================
   EXTRA SMALL MOBILE STYLES
   ==================== */

@media only screen and (max-width: 480px) {
    .universal-btts-flags-grid {
        grid-template-columns: repeat(auto-fit, 30px);
        gap: 14px;
    }
    
    .universal-btts-flag-image {
        width: 30px;
        height: 20px;
    }
    
    .universal-btts-flag-emoji {
        width: 30px;
        height: 20px;
        font-size: 32px;
    }
    
    .universal-btts-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .universal-btts-stats-branding {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .universal-btts-stats-logo {
        width: 80px;
        height: 80px;
    }
    
    .universal-btts-stats-title {
        font-size: 20px !important;
    }
    
    .universal-btts-stats-subtitle {
        font-size: 18px;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .universal-btts-stats-bars-container {
        gap: 6px;
    }
    
    .universal-btts-stats-bar-wrapper {
        height: 14px;
    }
    
    .universal-btts-stats-bar-percentage {
        font-size: 11px;
        min-width: 30px;
    }
    
    .universal-btts-prediction-cell,
    .universal-btts-confidence-cell {
        font-size: 11px;
        padding: 2px 4px;
        min-width: 35px;
    }
    
    .universal-btts-prediction-lock {
        font-size: 11px !important;
        padding: 2px 4px;
    }
    
    .universal-btts-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .universal-btts-stat-card {
        padding: 10px;
    }
    
    .universal-btts-stat-label {
        font-size: 10px;
    }
    
    .universal-btts-stat-value {
        font-size: 18px;
    }
    
    .universal-btts-history-title {
        font-size: 18px !important;
        margin-bottom: 15px;
    }
    
    .universal-btts-history-th-trophy,
    .universal-btts-history-th-datetime,
    .universal-btts-history-th-home-stats,
    .universal-btts-history-th-match,
    .universal-btts-history-th-away-stats,
    .universal-btts-history-th-odds,
    .universal-btts-history-th-confidence,
    .universal-btts-history-th-prediction,
    .universal-btts-history-th-score {
        padding: 10px 6px;
        font-size: 12px;
    }
    
    .universal-btts-history-row td {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .universal-btts-stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .universal-btts-summary-row {
        display: block;
        margin-bottom: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 15px;
    }
    
    .universal-btts-summary-row td {
        display: block;
        text-align: center;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .universal-btts-summary-row td:before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #FF9800;
        margin-bottom: 5px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .universal-btts-summary-row td:last-child {
        border-bottom: none;
    }
    
    .universal-btts-summary-flag-cell:before {
        display: none;
    }
    
    .universal-btts-summary-btn-container {
        justify-content: center;
    }
    
    .universal-btts-summary-row {
        padding: 12px;
    }
    
    .universal-btts-summary-row td {
        padding: 6px 0;
    }
    
    .universal-btts-summary-row td:before {
        font-size: 11px;
    }
    
    .universal-btts-summary-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .universal-btts-prediction-badge {
        padding: 2px 5px;
        font-size: 10px;
        min-width: 20px;
    }
}

/* ====================
   DARK MODE SUPPORT
   ==================== */

@media (prefers-color-scheme: dark) {
    .universal-btts-premium-lock-container {
        background: rgba(255, 255, 255, 0.08);
    }
    
    .universal-btts-profit-chart-container {
        background: rgba(255, 255, 255, 0.08);
    }
    
    .universal-btts-league-flags-nav {
        background-color: #152642;
        border-top-color: #1E3352;
    }
    
    .universal-btts-nav-buttons {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    }
    
    .universal-btts-seo-intro {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    }
    
    .universal-btts-seo-title,
    .universal-btts-intro-text {
        color: #e2e8f0;
    }
    
    .universal-btts-stats-bar-wrapper {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .universal-btts-stats-bar-percentage {
        color: #e2e8f0;
    }
    
    .universal-btts-prediction-yes {
        background-color: rgba(76, 175, 80, 0.15);
        border-color: rgba(76, 175, 80, 0.25);
    }
    
    .universal-btts-prediction-no {
        background-color: rgba(244, 67, 54, 0.15);
        border-color: rgba(244, 67, 54, 0.25);
    }
    
    .universal-btts-confidence-cell {
        background-color: rgba(33, 150, 243, 0.15);
        border-color: rgba(33, 150, 243, 0.25);
    }
    
    .universal-btts-prediction-lock {
        background-color: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .universal-btts-no-predictions-container {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .universal-btts-schedule-box {
        background: #2a2a2a;
    }
    
    .universal-btts-schedule-text {
        color: #e2e8f0;
    }
    
    .universal-btts-check-back-text {
        color: #94a3b8;
    }
    
    .universal-btts-table-header-row {
        background-color: #152642;
    }
    
    .universal-btts-table-body {
        background: rgba(255, 255, 255, 0.02);
    }
    
    .universal-btts-flag-image {
        border-color: #444;
    }
    
    .universal-btts-match-datetime {
        color: #aaa;
    }
    
    .universal-btts-match-teams {
        color: #e2e8f0;
    }
    
    .universal-btts-stats-summary {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .universal-btts-stat-card {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .universal-btts-won-card {
        background: rgba(76, 175, 80, 0.15);
        border-color: rgba(76, 175, 80, 0.25);
    }
    
    .universal-btts-lost-card {
        background: rgba(244, 67, 54, 0.15);
        border-color: rgba(244, 67, 54, 0.25);
    }
    
    .universal-btts-stat-label {
        color: #aaa;
    }
    
    .universal-btts-history-table {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .universal-btts-history-header-row {
        background-color: #152642;
    }
    
    .universal-btts-history-body {
        background: rgba(255, 255, 255, 0.02);
    }
    
    .universal-btts-history-datetime {
        color: #aaa;
    }
    
    .universal-btts-history-time-separator {
        color: #666;
    }
    
    .universal-btts-history-match-cell {
        color: #e2e8f0;
    }
    
    .universal-btts-history-flag-image {
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .universal-btts-stats-summary-seo {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }
    
    .universal-btts-summary-row {
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }
    
    .universal-btts-summary-league-cell {
        color: #e2e8f0;
    }
    
    .universal-btts-summary-matches-cell,
    .universal-btts-summary-won-cell,
    .universal-btts-summary-lost-cell,
    .universal-btts-summary-winrate-cell,
    .universal-btts-summary-avg-odds-cell,
    .universal-btts-summary-profit-cell {
        color: #ccc;
    }
    
    .universal-btts-summary-flag-image {
        border-color: rgba(255, 255, 255, 0.15);
    }
}