.rs-sports,
.rs-sports *,
.rs-sport-profile,
.rs-sport-profile *,
.rs-sport-events,
.rs-sport-events *,
.rs-sport-contents,
.rs-sport-contents * {
    box-sizing: border-box;
}

.rs-sports {
    --rs-sports-bg: var(--rs-editorial-bg, #080d18);
    --rs-sports-surface: var(--rs-editorial-panel, #111a2b);
    --rs-sports-surface-strong: #162238;
    --rs-sports-border: var(--rs-editorial-border, rgba(255, 255, 255, .1));
    --rs-sports-text: #f5f7fa;
    --rs-sports-muted: var(--rs-editorial-muted, #b9c3d0);
    --rs-sports-accent: var(--rs-editorial-pink, #f90c9b);
    margin: 0;
    padding: 0;
    color: var(--rs-sports-text);
    list-style: none;
}

.rs-sports-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.rs-sports-list {
    display: grid;
    gap: 8px;
}

.rs-sport-card {
    display: flex;
    min-width: 0;
    min-height: 64px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--rs-sports-border);
    border-radius: 5px;
    background: var(--rs-sports-surface);
    color: var(--rs-sports-text);
}

.rs-sport-card--linked:hover,
.rs-sport-card--linked:focus-within {
    border-color: var(--rs-sports-accent);
    background: var(--rs-sports-surface-strong);
}

.rs-sport-card__index {
    flex: 0 0 auto;
    color: var(--rs-sports-accent);
    font-size: 10px;
    font-weight: 900;
}

.rs-sport-card__body,
.rs-sport-card__meta {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.rs-sport-card__title,
.rs-sport-card__link {
    overflow-wrap: anywhere;
    color: var(--rs-sports-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.rs-sport-card__link {
    text-decoration-color: var(--rs-sports-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.rs-sport-card__link:focus-visible,
.rs-sport-profile a:focus-visible,
.rs-sport-events a:focus-visible,
.rs-sport-contents a:focus-visible {
    border-radius: 2px;
    outline: 3px solid var(--rs-sports-accent);
    outline-offset: 3px;
}

.rs-sport-card__meta {
    color: var(--rs-sports-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.rs-sport-profile,
.rs-sport-events,
.rs-sport-contents {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: #111a2b;
    color: #f5f7fa;
}

.rs-sport-profile {
    padding: clamp(20px, 4vw, 36px);
}

.rs-sport-profile__title,
.rs-sport-profile h3 {
    color: #f5f7fa;
}

.rs-sport-profile__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.rs-sport-profile__facts > div,
.rs-sport-events__item,
.rs-sport-content-card {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 5px;
    background: #162238;
}

.rs-sport-profile dt,
.rs-sport-events__item span {
    color: #b9c3d0;
    font-size: 11px;
    font-weight: 700;
}

.rs-sport-profile dd {
    margin: 5px 0 0;
    font-weight: 800;
}

.rs-sport-profile__federations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rs-sport-profile a,
.rs-sport-events a,
.rs-sport-contents a {
    color: #f5f7fa;
    text-decoration-color: #f90c9b;
    text-underline-offset: 3px;
}

.rs-sport-events {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 12px;
    list-style: none;
}

.rs-sport-events__item {
    display: grid;
    gap: 5px;
}

.rs-sport-contents {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
}

.rs-sport-content-card {
    min-width: 0;
}

.rs-sport-content-card__image {
    display: block;
    margin: -14px -14px 12px;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.rs-sport-content-card__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.rs-sport-content-card h3 {
    margin: 0;
    padding: 0;
    color: #f5f7fa;
    font-size: 16px;
    line-height: 1.35;
}

@media screen and (max-width: 980px) {
    .rs-sports-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 760px) {
    .rs-sports-grid,
    .rs-sport-profile__facts,
    .rs-sport-contents {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-sports *,
    .rs-sport-profile *,
    .rs-sport-events *,
    .rs-sport-contents * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
