/* Shared viewer standings styles (SeasonEvents, EventDetails, etc.) */

.season-section {
    margin-bottom: 1.5rem;
}

.event-poster {
    display: block;
    max-width: 100%;
    max-height: 640px;
    width: auto;
    margin: 0 auto;
}

.season-section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.season-section__heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c757d;
    margin: 0;
}

.season-section__heading::before {
    content: "";
    display: block;
    width: 3px;
    height: 1rem;
    background: #dc3545;
    border-radius: 1px;
    flex-shrink: 0;
}

.season-section__subheading {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #868e96;
    margin: 1rem 0 0.5rem;
}

.season-table-wrap {
    overflow-x: auto;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
}

.season-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.season-table thead th,
.season-table thead td {
    padding: 0.65rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #868e96;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
}

.season-table thead th a,
.season-table thead td a {
    color: inherit;
    text-decoration: none;
}

.season-table thead th a:hover,
.season-table thead td a:hover {
    color: #212529;
    text-decoration: underline;
}

.season-table tbody td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.season-table tbody tr:last-child td {
    border-bottom: none;
}

.season-table tbody tr:hover td {
    background: #f8f9fa;
}

.season-table__class-row td {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #868e96;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.season-table tbody tr:hover .season-table__class-row td {
    background: #f8f9fa;
}

.season-table__pos {
    width: 2.5rem;
    text-align: center;
    font-weight: 600;
    color: #495057;
}

.season-table__pos--first {
    background: #dc3545;
    color: #fff;
    font-weight: 700;
}

.season-table tbody tr:hover .season-table__pos--first {
    background: #c82333;
}

.season-table__total {
    font-weight: 700;
    color: #dc3545;
    white-space: nowrap;
}

.season-table__qualified {
    background-color: #d1e7dd;
    font-weight: 600;
    color: #0f5132;
}

.season-table tbody tr:hover .season-table__qualified {
    background-color: #c3e6cb;
}

.season-list-wrap {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

.season-list__item {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.875rem;
}

.season-list__item:last-child {
    border-bottom: none;
}

.season-list__item:hover {
    background: #f8f9fa;
}

.season-search-panel {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.series-social-links__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.series-social-links__item:hover {
    opacity: 1;
    transform: translateY(-1px);
}
