/* LiveScore Manager - Frontend Styles */

/* Container */
.lsm-livescore-container,
.lsm-standings-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Carosello Giornate */
.lsm-rounds-carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lsm-carousel-prev,
.lsm-carousel-next {
    background: #0073aa;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.lsm-carousel-prev:hover,
.lsm-carousel-next:hover {
    background: #005177;
    transform: scale(1.1);
}

.lsm-carousel-prev:disabled,
.lsm-carousel-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lsm-carousel-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #0073aa #f0f0f0;
}

.lsm-carousel-container::-webkit-scrollbar {
    height: 6px;
}

.lsm-carousel-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.lsm-carousel-container::-webkit-scrollbar-thumb {
    background: #0073aa;
    border-radius: 3px;
}

.lsm-carousel-track {
    display: flex;
    gap: 10px;
    padding: 5px 0;
    min-width: max-content;
}

.lsm-round-item {
    flex: 0 0 auto;
    width: 90px;
    padding: 12px;
    text-align: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.lsm-round-item:hover {
    border-color: #0073aa;
    transform: translateY(-2px);
}

.lsm-round-item.active {
    background: linear-gradient(135deg, #0073aa, #005177);
    border-color: #0073aa;
    color: #fff;
}

.lsm-round-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.lsm-round-label {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lsm-round-date {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.9;
}

/* Filters */
.lsm-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.lsm-date-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lsm-date-prev,
.lsm-date-next,
.lsm-date-today {
    background: #f5f5f5;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.lsm-date-prev:hover,
.lsm-date-next:hover,
.lsm-date-today:hover {
    background: #e0e0e0;
}

.lsm-date-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.lsm-championship-select,
.lsm-standings-championship-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    min-width: 200px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Loading */
.lsm-loading {
    text-align: center;
    padding: 40px 20px;
}

.lsm-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: lsm-spin 1s linear infinite;
}

@keyframes lsm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Match Card */
.lsm-match-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lsm-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.lsm-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
}

.lsm-championship-name {
    font-weight: 600;
    color: #495057;
}

.lsm-match-time {
    color: #6c757d;
}

.lsm-match-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 15px;
    gap: 15px;
}

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

.lsm-away-team {
    flex-direction: row-reverse;
    text-align: right;
}

.lsm-team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.lsm-team-name {
    font-weight: 600;
    font-size: 15px;
    color: #212529;
}

.lsm-match-score {
    text-align: center;
    min-width: 80px;
}

.lsm-score-display {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 4px;
}

.lsm-separator {
    margin: 0 4px;
    color: #6c757d;
}

.lsm-match-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    font-weight: 500;
}

/* Status Colors */
.lsm-status-scheduled .lsm-match-status {
    background: #e7f3ff;
    color: #0066cc;
}

.lsm-status-live .lsm-match-status {
    background: #ff4444;
    color: #fff;
    animation: lsm-pulse 2s infinite;
}

.lsm-status-finished .lsm-match-status {
    background: #e8f5e9;
    color: #2e7d32;
}

.lsm-status-postponed .lsm-match-status,
.lsm-status-cancelled .lsm-match-status {
    background: #ffeaa7;
    color: #d63031;
}

@keyframes lsm-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* No Matches */
.lsm-no-matches {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

/* Live Indicator */
.lsm-live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #fff3cd;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: #856404;
}

.lsm-live-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: lsm-pulse 2s infinite;
}

/* Standings Table */
.lsm-standings-table {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.lsm-standings-table-inner {
    width: 100%;
    border-collapse: collapse;
}

.lsm-standings-table-inner thead {
    background: #f8f9fa;
}

.lsm-standings-table-inner th {
    padding: 12px 8px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    text-transform: uppercase;
}

.lsm-standings-table-inner td {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f3f5;
    font-size: 14px;
}

.lsm-standings-row:hover {
    background: #f8f9fa;
}

.lsm-pos,
.lsm-pts {
    text-align: center;
    font-weight: 700;
}

.lsm-pos {
    width: 40px;
    color: #6c757d;
}

.lsm-pts {
    width: 60px;
    color: #0073aa;
    font-size: 16px;
}

.lsm-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.lsm-stat {
    text-align: center;
    width: 40px;
    color: #495057;
}

.lsm-goal-diff {
    font-weight: 600;
}

/* Position Colors */
.lsm-position-1 .lsm-pos,
.lsm-position-2 .lsm-pos,
.lsm-position-3 .lsm-pos {
    background: #28a745;
    color: #fff;
    border-radius: 4px;
}

.lsm-standings-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
    color: #6c757d;
}

.lsm-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lsm-legend-label {
    font-weight: 700;
    color: #495057;
}

/* Responsive */
@media (max-width: 768px) {
    .lsm-rounds-carousel {
        padding: 10px;
    }
    
    .lsm-round-item {
        width: 70px;
        padding: 8px;
    }
    
    .lsm-round-number {
        font-size: 20px;
    }
    
    .lsm-match-content {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .lsm-team,
    .lsm-away-team {
        flex-direction: column;
        text-align: center;
    }
    
    .lsm-team-name {
        font-size: 14px;
    }
    
    .lsm-standings-table-inner {
        font-size: 12px;
    }
    
    .lsm-standings-table-inner th,
    .lsm-standings-table-inner td {
        padding: 8px 4px;
    }
    
    .lsm-team {
        min-width: 150px;
    }
    
    .lsm-stat {
        width: 30px;
    }
}

/* AMP Compatibility */
amp-state {
    display: none;
}

/* Print Styles */
@media print {
    .lsm-filters,
    .lsm-live-indicator,
    .lsm-rounds-carousel {
        display: none;
    }
    
    .lsm-match-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* Filters */
.lsm-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.lsm-date-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lsm-date-prev,
.lsm-date-next,
.lsm-date-today {
    background: #f5f5f5;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.lsm-date-prev:hover,
.lsm-date-next:hover,
.lsm-date-today:hover {
    background: #e0e0e0;
}

.lsm-date-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.lsm-championship-select,
.lsm-standings-championship-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    min-width: 200px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Loading */
.lsm-loading {
    text-align: center;
    padding: 40px 20px;
}

.lsm-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: lsm-spin 1s linear infinite;
}

@keyframes lsm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Match Card */
.lsm-match-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lsm-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.lsm-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
}

.lsm-championship-name {
    font-weight: 600;
    color: #495057;
}

.lsm-match-time {
    color: #6c757d;
}

.lsm-match-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 15px;
    gap: 15px;
}

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

.lsm-away-team {
    flex-direction: row-reverse;
    text-align: right;
}

.lsm-team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.lsm-team-name {
    font-weight: 600;
    font-size: 15px;
    color: #212529;
}

.lsm-match-score {
    text-align: center;
    min-width: 80px;
}

.lsm-score-display {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 4px;
}

.lsm-separator {
    margin: 0 4px;
    color: #6c757d;
}

.lsm-match-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    font-weight: 500;
}

/* Status Colors */
.lsm-status-scheduled .lsm-match-status {
    background: #e7f3ff;
    color: #0066cc;
}

.lsm-status-live .lsm-match-status {
    background: #ff4444;
    color: #fff;
    animation: lsm-pulse 2s infinite;
}

.lsm-status-finished .lsm-match-status {
    background: #e8f5e9;
    color: #2e7d32;
}

.lsm-status-postponed .lsm-match-status,
.lsm-status-cancelled .lsm-match-status {
    background: #ffeaa7;
    color: #d63031;
}

@keyframes lsm-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.lsm-match-footer {
    padding: 8px 15px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

/* No Matches */
.lsm-no-matches {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.lsm-no-matches svg {
    margin-bottom: 15px;
    opacity: 0.3;
}

/* Live Indicator */
.lsm-live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #fff3cd;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: #856404;
}

.lsm-live-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: lsm-pulse 2s infinite;
}

/* Standings Table */
.lsm-standings-table {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.lsm-standings-table-inner {
    width: 100%;
    border-collapse: collapse;
}

.lsm-standings-table-inner thead {
    background: #f8f9fa;
}

.lsm-standings-table-inner th {
    padding: 12px 8px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    text-transform: uppercase;
}

.lsm-standings-table-inner td {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f3f5;
    font-size: 14px;
}

.lsm-standings-row:hover {
    background: #f8f9fa;
}

.lsm-pos,
.lsm-pts {
    text-align: center;
    font-weight: 700;
}

.lsm-pos {
    width: 40px;
    color: #6c757d;
}

.lsm-pts {
    width: 60px;
    color: #0073aa;
    font-size: 16px;
}

.lsm-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
}

.lsm-stat {
    text-align: center;
    width: 40px;
    color: #495057;
}

.lsm-goal-diff {
    font-weight: 600;
}

/* Position Colors */
.lsm-position-1 .lsm-pos,
.lsm-position-2 .lsm-pos,
.lsm-position-3 .lsm-pos {
    background: #28a745;
    color: #fff;
    border-radius: 4px;
}

.lsm-standings-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
    color: #6c757d;
}

.lsm-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lsm-legend-label {
    font-weight: 700;
    color: #495057;
}

/* Responsive */
@media (max-width: 768px) {
    .lsm-match-content {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .lsm-team,
    .lsm-away-team {
        flex-direction: column;
        text-align: center;
    }
    
    .lsm-team-name {
        font-size: 14px;
    }
    
    .lsm-standings-table-inner {
        font-size: 12px;
    }
    
    .lsm-standings-table-inner th,
    .lsm-standings-table-inner td {
        padding: 8px 4px;
    }
    
    .lsm-team {
        min-width: 150px;
    }
    
    .lsm-stat {
        width: 30px;
    }
}

/* AMP Compatibility */
amp-state {
    display: none;
}

.lsm-livescore-container[amp],
.lsm-standings-container[amp] {
    /* Simplified styles for AMP */
}

/* Print Styles */
@media print {
    .lsm-filters,
    .lsm-live-indicator {
        display: none;
    }
    
    .lsm-match-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Header Giornata Corrente */
.lsm-current-round-header {
    background: linear-gradient(135deg, #0073aa, #005177);
    color: #fff;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lsm-current-round-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.lsm-current-round-header .lsm-round-date {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    opacity: 0.9;
}

.lsm-rounds-carousel {
    border-radius: 0 0 12px 12px;
    margin-top: 0;
    padding-top: 15px;
}

/* Fix AMP e Carosello */

/* Carosello - Scroll fluido */
.lsm-carousel-track {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Round Item Migliorato */
.lsm-round-item {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.lsm-round-item:active {
    transform: scale(0.95);
}

/* AMP Links */
.lsm-round-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Vs styling */
.lsm-vs {
    color: #999;
    font-size: 18px;
}

/* Header Giornata - Responsive */
@media (max-width: 768px) {
    .lsm-current-round-header h2 {
        font-size: 22px;
    }
    
    .lsm-current-round-header .lsm-round-date-header {
        font-size: 14px;
    }
}

/* Carosello Arrows - Better visibility */
.lsm-carousel-prev:disabled,
.lsm-carousel-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading Spinner */
.lsm-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Match Card - Better spacing on mobile */
@media (max-width: 480px) {
    .lsm-match-card {
        margin-bottom: 10px;
    }
    
    .lsm-match-content {
        padding: 15px 10px;
    }
}

/* AMP Specific Fixes */
amp-img {
    display: inline-block;
}

amp-img.lsm-team-logo {
    vertical-align: middle;
}

/* Ensure carosello shows all items */
.lsm-carousel-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.lsm-carousel-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Round item always visible */
.lsm-round-item {
    min-width: 90px;
    flex-shrink: 0;
}

/* ===========================================
   AMP SPECIFIC FIXES
   =========================================== */

/* AMP Match Cards - Better spacing */
amp-img + .lsm-team-name {
    margin-left: 10px;
}

.lsm-away-team amp-img + .lsm-team-name {
    margin-right: 10px;
    margin-left: 0;
}

/* AMP Carousel - Better layout */
body.amp .lsm-rounds-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.amp .lsm-round-item {
    display: inline-block;
    text-decoration: none;
}

body.amp .lsm-carousel-track {
    white-space: nowrap;
    display: block;
}

/* AMP Match Content - Stack on mobile */
@media (max-width: 768px) {
    body.amp .lsm-match-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    body.amp .lsm-team {
        justify-content: center;
    }
    
    body.amp .lsm-away-team {
        flex-direction: row;
    }
}

/* AMP Header - Better contrast */
body.amp .lsm-current-round-header {
    background: linear-gradient(135deg, #0073aa, #005177);
}

/* AMP Match Status - Better visibility */
body.amp .lsm-match-status {
    font-size: 13px;
    padding: 5px 10px;
}

/* AMP Score Display */
body.amp .lsm-score-display {
    font-size: 28px;
}

/* Fix per testo non formattato */
body.amp .lsm-team-name,
body.amp .lsm-championship-name,
body.amp .lsm-match-time {
    word-break: break-word;
    hyphens: auto;
}

/* AMP Links styling */
body.amp a.lsm-round-item {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
}

body.amp a.lsm-round-item:hover {
    transform: translateY(-2px);
}

body.amp a.lsm-round-item.active {
    background: linear-gradient(135deg, #0073aa, #005177);
    color: #fff;
}

/* ========================================
   STILI AMP COMPLETI
   ======================================== */

/* AMP Container */
body.amp .lsm-livescore-container,
body.amp .lsm-standings-container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* AMP Header */
body.amp .lsm-current-round-header {
    background: linear-gradient(135deg, #0073aa, #005177);
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
}

body.amp .lsm-round-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

body.amp .lsm-round-date-header {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}

/* AMP Carousel */
body.amp .lsm-rounds-carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 10px;
    background: #fff;
    margin-bottom: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.amp .lsm-carousel-prev,
body.amp .lsm-carousel-next {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

body.amp .lsm-carousel-container {
    flex: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.amp .lsm-carousel-track {
    display: flex;
    gap: 10px;
    min-width: max-content;
}

body.amp .lsm-round-item {
    flex: 0 0 auto;
    width: 80px;
    padding: 10px;
    text-align: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    display: block;
}

body.amp .lsm-round-item.active {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

body.amp .lsm-round-number {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

body.amp .lsm-round-label {
    font-size: 10px;
    opacity: 0.8;
    text-transform: uppercase;
}

body.amp .lsm-round-date {
    font-size: 11px;
    margin-top: 4px;
}

/* AMP Matches List */
body.amp .lsm-matches-list {
    padding: 0 10px;
}

body.amp .lsm-match-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body.amp .lsm-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

body.amp .lsm-championship-name {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

body.amp .lsm-match-time {
    font-size: 12px;
    color: #999;
}

body.amp .lsm-match-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

body.amp .lsm-team amp-img {
    flex-shrink: 0;
}

body.amp .lsm-team-name {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    word-break: break-word;
}

body.amp .lsm-match-score {
    text-align: center;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

body.amp .lsm-score-display {
    font-size: 28px;
    font-weight: 700;
    color: #0073aa;
    margin-bottom: 4px;
}

body.amp .lsm-vs {
    font-size: 20px;
    color: #999;
    font-weight: 400;
}

body.amp .lsm-separator {
    margin: 0 8px;
    color: #999;
}

body.amp .lsm-match-status {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

body.amp .lsm-status-live .lsm-match-status {
    color: #dc3545;
}

body.amp .lsm-status-finished .lsm-match-status {
    color: #28a745;
}

body.amp .lsm-status-scheduled .lsm-match-status {
    color: #6c757d;
}

/* AMP Standings */
body.amp .lsm-standings-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body.amp .lsm-standings-table thead {
    background: #0073aa;
    color: #fff;
}

body.amp .lsm-standings-table th {
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

body.amp .lsm-standings-table td {
    padding: 12px 8px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

body.amp .lsm-position {
    font-weight: 700;
    color: #0073aa;
}

body.amp .lsm-team-info {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

body.amp .lsm-team-info amp-img {
    flex-shrink: 0;
}

body.amp .lsm-team-name-cell {
    font-weight: 600;
}

body.amp .lsm-no-matches {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 10px;
}

/* Mobile optimization for AMP */
@media (max-width: 768px) {
    body.amp .lsm-match-card {
        padding: 12px;
    }
    
    body.amp .lsm-team-name {
        font-size: 14px;
    }
    
    body.amp .lsm-score-display {
        font-size: 24px;
    }
}
