.os-root,
.os-root * {
    box-sizing: border-box;
}

.os-readers {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 700;
    line-height: 1.35;
    color: inherit;
}

.os-readers-icon {
    width: 28px;
    height: 28px;
    flex: none;
}

.os-readers strong {
    color: var(--os-red);
    font-size: 1.4rem;
    font-variant-numeric: tabular-nums;
    margin-right: 4px;
}

.os-root {
    --os-red: #e10600;
    --os-red-dark: #9b0c12;
    --os-ink: #141414;
    --os-muted: #5e5e5e;
    --os-line: #e7e7e7;
    --os-paper: #fff;
    --os-oly: #fafafa;
    font-family: inherit;
    color: inherit;
    line-height: 1.35;
}

.os-card {
    background: transparent;
    border: 0;
    border-top: 3px solid var(--os-red);
    border-radius: 0;
    overflow: visible;
    margin: 0 0 22px;
    box-shadow: none;
    container-type: inline-size;
    container-name: oscard;
}

.os-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "pill title"
        "updated updated";
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    padding: 10px 0 8px;
    background: transparent;
    border-bottom: 0;
}

.os-card-head .os-sport-pill {
    grid-area: pill;
}

.os-card-head h3 {
    grid-area: title;
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    min-width: 0;
    line-height: 1.2;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.os-chip-when,
.os-match-meta {
    color: var(--os-muted);
    font-size: 12px;
}

.os-updated,
.os-empty-line {
    color: inherit;
    font-size: 12px;
}

.os-updated {
    opacity: 0.72;
}

.os-empty-line {
    margin: 0;
    padding: 16px;
}

.os-sport-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    background: var(--os-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.os-sport-football .os-sport-pill,
.os-sport-pill.os-sport-football { background: #0f7a32; }
.os-sport-basketball .os-sport-pill,
.os-sport-pill.os-sport-basketball { background: #c45500; }
.os-sport-volleyball .os-sport-pill,
.os-sport-pill.os-sport-volleyball { background: #1546a0; }
.os-sport-waterpolo .os-sport-pill,
.os-sport-pill.os-sport-waterpolo { background: #0b6e8a; }
.os-sport-handball .os-sport-pill,
.os-sport-pill.os-sport-handball { background: #c2410c; }

.os-card-body {
    padding: 4px 0 8px;
}

.os-group-title {
    margin: 12px 4px 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--os-red-dark);
}

.os-match {
    border: 1px solid var(--os-line);
    border-radius: 14px;
    padding: 12px;
    margin: 0 0 10px;
    background: #fff;
    color: #141414;
}

.os-match.os-features-oly {
    border-color: #e7e7e7;
    background: #fff;
    box-shadow: inset 3px 0 0 var(--os-red);
}

.os-status-live {
    border-color: var(--os-red);
    box-shadow: inset 3px 0 0 var(--os-red);
}

.os-match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.os-comp {
    font-weight: 800;
    color: var(--os-red-dark);
    letter-spacing: 0.02em;
}

.os-match-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.os-side,
.os-side-away {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-align: left;
    padding: 4px 0;
}

.os-logo,
.os-team-cell img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #e7e7e7;
    padding: 4px;
}

.os-team,
.os-chip-side span,
.os-team-cell span {
    font-weight: 700;
    min-width: 0;
}

.os-team {
    display: block;
    overflow-wrap: break-word;
    line-height: 1.25;
}

.os-is-oly .os-team,
.os-is-oly span,
.os-oly-row .os-team-cell span {
    color: var(--os-red);
}

.os-scorebox {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    text-align: center;
    min-width: 0;
    margin: 6px 0;
    padding: 6px 0;
    border-top: 1px solid var(--os-line);
    border-bottom: 1px solid var(--os-line);
}

.os-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.os-score b {
    font-weight: 800;
}

.os-score span {
    color: #b9b1af;
    font-weight: 500;
}

.os-score-time {
    font-size: 1.05rem;
}

.os-countdown {
    margin-top: 0;
    font-size: 13px;
    color: var(--os-red);
    font-weight: 800;
    white-space: nowrap;
}

.os-badge {
    margin-left: auto;
    border-radius: 999px;
    padding: 2px 8px;
    background: #f4f1f0;
    color: #514e4c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.os-badge-live {
    background: var(--os-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.os-badge-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: os-pulse 1.2s infinite;
}

.os-badge-next {
    background: #111;
    color: #fff;
}

@keyframes os-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.35; }
    100% { opacity: 1; }
}

.os-table-wrap {
    overflow-x: auto;
    background: #fff;
    color: #141414;
    border: 1px solid var(--os-line);
    border-radius: 14px;
    padding: 4px 8px 8px;
}

.os-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.os-table th {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--os-muted);
    padding: 8px 6px;
    border-bottom: 1px solid var(--os-line);
}

.os-table th.os-team-col,
.os-table td.os-team-cell {
    text-align: left;
}

.os-table td {
    text-align: center;
    padding: 8px 6px;
    border-bottom: 1px solid var(--os-line);
    font-variant-numeric: tabular-nums;
}

.os-team-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.os-team-cell img {
    width: 28px;
    height: 28px;
    padding: 2px;
}

.os-pos {
    font-weight: 800;
    color: #8a8482;
}

.os-strong {
    font-weight: 800;
}

.os-oly-row {
    background: var(--os-oly);
    box-shadow: inset 3px 0 0 var(--os-red);
}

.os-oly-row td {
    border-bottom-color: var(--os-line);
}

.os-root.os-header {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.os-header {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: transparent;
    color: inherit;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    min-height: 52px;
    box-shadow: none;
}

.os-header-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 0 4px 0 2px;
    border-right: 1px solid rgba(127, 127, 127, 0.35);
    padding-right: 8px;
}

.os-header-crest {
    width: 28px;
    height: 28px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

.os-header-brand strong {
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
    color: var(--os-red);
    letter-spacing: 0.02em;
}

.os-header-arrow {
    display: none;
    flex: none;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #1c1c1c;
    border: 1px solid #ddd;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.os-header-arrow::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: -3px;
}

.os-header-prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.os-header-arrow:hover {
    background: var(--os-red);
    color: #fff;
}

.os-header.os-can-prev .os-header-prev,
.os-header.os-can-next .os-header-next {
    display: inline-flex;
}

.os-header-track {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    cursor: grab;
}

.os-header-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.os-header-track::-webkit-scrollbar {
    display: block;
    height: 4px;
}

.os-header-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 999px;
}

.os-header-track::-webkit-scrollbar-track {
    background: transparent;
}

.os-header-end {
    flex: 0 0 auto;
    width: 0;
    height: 1px;
}

.os-header-day {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin: 0 2px;
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.os-header-day span:first-child {
    opacity: 0.45;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.os-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    background: #fff;
    color: #141414;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
    min-height: 36px;
}

.os-chip-live {
    background: #fff;
    border-color: var(--os-red);
}

.os-chip-tag {
    flex: none;
    border-radius: 999px;
    padding: 3px 8px;
    background: #3a3a3a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.os-chip-tag.os-sport-football { background: #0f7a32; }
.os-chip-tag.os-sport-basketball { background: #c45500; }
.os-chip-tag.os-sport-volleyball { background: #1546a0; }
.os-chip-tag.os-sport-waterpolo { background: #0b6e8a; }
.os-chip-tag.os-sport-handball { background: #c2410c; }

.os-chip-when,
.os-chip-countdown {
    color: #6d6462;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.os-chip-countdown {
    background: var(--os-red);
    color: #fff;
    border-radius: 999px;
    padding: 3px 8px;
}

.os-chip-side {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.os-chip-side img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 1px;
    flex: none;
}

.os-chip-side span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    white-space: nowrap;
}

.os-chip-score {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    flex: none;
}

.os-chip-score .os-score {
    font-size: 15px;
    gap: 3px;
    color: #141414;
}

.os-chip-score .os-score-time {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #141414;
    color: #fff;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.os-chip-score .os-score-time b {
    color: #fff;
    font-weight: 800;
}

.os-header .os-badge {
    margin-left: 0;
    padding: 1px 6px;
    font-size: 10px;
}

.os-chip-empty {
    display: flex;
    align-items: center;
    color: #6d6462;
    border-radius: 999px;
}

.os-updated {
    grid-area: updated;
    margin-left: 0;
    min-height: 16px;
    line-height: 16px;
    white-space: nowrap;
}

@container oscard (min-width: 560px) {
    .os-match-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 12px;
        align-items: center;
    }

    .os-side,
    .os-side-away {
        padding: 0;
    }

    .os-side-away {
        flex-direction: row-reverse;
        text-align: right;
    }

    .os-scorebox {
        display: block;
        margin: 0;
        padding: 0 6px;
        border: 0;
        min-width: 88px;
    }

    .os-countdown {
        margin-top: 4px;
    }
}

.os-center {
    color: inherit;
}

.os-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}

.os-tabs-sub {
    margin-top: 2px;
}

.os-tab {
    flex: none;
    border: 1px solid rgba(127, 127, 127, 0.45);
    background: transparent;
    color: inherit;
    border-radius: 999px;
    padding: 7px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.os-tab.is-active {
    background: var(--os-red);
    border-color: var(--os-red);
    color: #fff;
}

.os-center .os-group-title {
    color: inherit;
    margin: 0 0 8px;
}

.os-center-panel {
    background: transparent;
    color: inherit;
    border: 0;
    border-top: 3px solid var(--os-red);
    border-radius: 0;
    padding: 12px 0 4px;
}

.os-center-panel[hidden] {
    display: none;
}

.os-center-block + .os-center-block,
.os-center-sport + .os-center-sport {
    margin-top: 16px;
}

.os-center-sub {
    margin: 14px 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.72;
}

.os-center-panel > .os-center-sub:first-child {
    margin-top: 0;
}

.os-center .os-table-wrap {
    margin: 0 0 12px;
    background: transparent;
    color: inherit;
    border-color: rgba(127, 127, 127, 0.45);
}

.os-center .os-table th,
.os-center .os-table td,
.os-center .os-pos {
    color: inherit;
    border-bottom-color: rgba(127, 127, 127, 0.35);
}

.os-center .os-table th,
.os-center .os-pos {
    opacity: 0.72;
}

.os-center .os-oly-row {
    background: rgba(225, 6, 0, 0.16);
}

.os-center .os-table {
    font-size: 13px;
}

.os-center .os-team-cell span {
    min-width: 0;
}

.os-center-comp {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    background: transparent;
    border: 1px solid rgba(127, 127, 127, 0.45);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: inherit;
}

.os-center-rank {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.os-center-rank + .os-center-rank {
    border-top: 1px solid rgba(127, 127, 127, 0.35);
}

.os-center-pos {
    min-width: 36px;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--os-red);
    font-variant-numeric: tabular-nums;
}

.os-center-rank img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 50%;
    padding: 3px;
}

.os-center-rank-name {
    font-weight: 800;
    color: var(--os-red);
}

.os-center-rank em {
    margin-left: auto;
    font-style: normal;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.os-center-rank-meta {
    margin: 0;
    color: inherit;
    opacity: 0.72;
    font-size: 12px;
    font-weight: 700;
}

.os-center-empty {
    margin: 0;
    color: inherit;
    opacity: 0.72;
    font-size: 13px;
    font-weight: 700;
}

.os-center-game {
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    padding: 10px 12px;
    background: #fff;
    color: #141414;
}

.os-center-game.os-center-live {
    border-color: var(--os-red);
    box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.45);
}

.os-center-game.os-center-live header {
    color: var(--os-red);
}

.os-center-game + .os-center-game {
    margin-top: 8px;
}

.os-center-game.os-features-oly {
    box-shadow: inset 3px 0 0 var(--os-red);
}

.os-center-game header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: inherit;
}

.os-center-game header .os-badge {
    margin-left: auto;
}

.os-center-matchup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.os-center-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    text-align: center;
}

.os-center-team img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 50%;
    padding: 3px;
}

.os-center-team span {
    max-width: 100%;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.os-center-team.os-is-oly span {
    color: var(--os-red);
}

.os-center-mid {
    text-align: center;
    padding: 0 2px;
}

.os-center-mid .os-score {
    font-size: 1.2rem;
    white-space: nowrap;
}

.os-center-meta {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 8px;
    color: inherit;
    opacity: 0.78;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.os-center-meta .os-countdown {
    color: var(--os-red);
}

.os-cal {
    color: inherit;
    border-top: 3px solid var(--os-red);
    padding-top: 14px;
}

.os-cal-head strong {
    display: block;
    margin: 0 0 12px;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.os-cal-sports {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}

.os-cal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.os-cal a.os-cal-btn,
.os-cal-dialog a.os-cal-btn {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(127, 127, 127, 0.4);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    text-decoration: none;
    text-align: left;
}

.os-cal-btn:hover {
    border-color: var(--os-red);
}

.os-cal-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #fff;
}

.os-cal-iphone .os-cal-mark { background: #2b2b2f; }
.os-cal-google .os-cal-mark { background: #174ea6; }
.os-cal-other .os-cal-mark { background: var(--os-red); }

.os-cal-text {
    display: block;
    min-width: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.os-cal-go {
    font-size: 1.6rem;
    line-height: 1;
    opacity: 0.45;
}

.os-cal-url {
    margin-top: 14px;
}

.os-cal-url > span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.72;
}

.os-cal-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.os-cal-url input {
    flex: 1 1 100%;
    min-width: 0;
    border: 1px solid rgba(127, 127, 127, 0.4);
    border-radius: 12px;
    background: transparent;
    color: inherit;
    padding: 10px 12px;
    font: inherit;
    font-size: 13px;
}

.os-cal-copy {
    flex: none;
    border: 0;
    border-radius: 12px;
    background: var(--os-red);
    color: #fff;
    padding: 10px 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.os-cal-copy:hover {
    background: var(--os-red-dark);
}

.os-cal-open {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(127, 127, 127, 0.4);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.os-cal-open:hover {
    border-color: var(--os-red);
}

.os-cal-open .os-cal-mark {
    background: var(--os-red);
}

.os-cal-text small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    opacity: 0.72;
}

.os-cal-modal[hidden] {
    display: none;
}

.os-cal-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.62);
}

.os-cal-dialog {
    box-sizing: border-box;
    width: min(440px, 100%);
    max-height: min(92vh, 760px);
    overflow-x: clip;
    overflow-y: auto;
    padding: 16px;
    border-radius: 18px;
    background: #141414;
    color: #f4f4f4;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.os-cal-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.os-cal-dialog-head strong {
    font-size: 1.15rem;
    line-height: 1.25;
}

.os-cal-close {
    flex: none;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.os-cal-modes,
.os-cal-picks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.os-cal-picks[hidden],
.os-cal-note[hidden] {
    display: none;
}

.os-cal-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    cursor: pointer;
}

.os-cal-choice input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--os-red);
}

.os-cal-note {
    margin: 0 0 12px;
    color: #ffb4b0;
    font-size: 13px;
    font-weight: 700;
}

.os-cal-dialog a[aria-disabled="true"] {
    opacity: 0.4;
    pointer-events: none;
}

.os-cal-copy:disabled {
    opacity: 0.4;
    cursor: default;
}

html.os-cal-lock,
html.os-cal-lock body {
    overflow: hidden;
}

.os-cal-board {
    margin: 0 0 14px;
}

.os-cal-data {
    display: none;
}

.os-cal-month {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.os-cal-month strong {
    font-size: 15px;
}

.os-cal-month button {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(127, 127, 127, 0.4);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.os-cal-weekdays,
.os-cal-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    text-align: center;
}

.os-cal-weekdays {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    opacity: 0.72;
}

.os-cal-days button {
    position: relative;
    min-height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.os-cal-days button.is-today {
    box-shadow: inset 0 0 0 1px var(--os-red);
}

.os-cal-days button.is-on {
    background: var(--os-red);
    color: #fff;
}

.os-cal-days button.has-match::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--os-red);
    transform: translateX(-50%);
}

.os-cal-days button.is-on.has-match::after {
    background: #fff;
}

.os-cal-daylist {
    max-height: 240px;
    margin-top: 10px;
    overflow: auto;
}

.os-cal-daylist > strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.os-cal-empty {
    margin: 8px 0 0;
    opacity: 0.72;
    font-size: 13px;
}

.os-cal-game {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid rgba(127, 127, 127, 0.28);
}

.os-cal-teams {
    min-width: 0;
    font-size: 13px;
    font-weight: 800;
}

.os-cal-teams b {
    color: inherit;
}

.os-cal-when,
.os-cal-live {
    margin-left: auto;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.os-cal-live {
    color: var(--os-red);
}

.os-cal-hero-head {
    margin: 0 0 18px;
}

.os-cal-hero-head strong {
    display: block;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.os-cal-hero-head span {
    display: block;
    margin-top: 6px;
    opacity: 0.75;
}

.os-cal-hero .os-cal-open {
    margin-top: 22px;
}

.os-cal-large {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
    gap: 8px 22px;
    align-items: start;
}

.os-cal-large .os-cal-month,
.os-cal-large .os-cal-weekdays,
.os-cal-large .os-cal-days {
    grid-column: 1;
}

.os-cal-large .os-cal-daylist {
    grid-column: 2;
    grid-row: 1 / span 3;
    max-height: none;
    margin: 0;
}

.os-cal-large .os-cal-month strong {
    font-size: 1.35rem;
}

.os-cal-large .os-cal-month button {
    width: 40px;
    height: 40px;
}

.os-cal-large .os-cal-days {
    gap: 6px;
}

.os-cal-large .os-cal-days button {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    min-height: 92px;
    padding: 6px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.os-cal-large .os-cal-days button.is-on {
    color: inherit;
    background: rgba(225, 6, 0, 0.16);
    box-shadow: inset 0 0 0 1px var(--os-red);
}

.os-cal-large .os-cal-days button.has-match::after {
    display: none;
}

.os-cal-num {
    font-size: 13px;
    font-weight: 800;
}

.os-cal-mini {
    display: block;
    overflow: hidden;
    padding: 1px 4px;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.os-cal-mini.os-sport-football { background: #0f7a32; }
.os-cal-mini.os-sport-basketball { background: #c45500; }
.os-cal-mini.os-sport-volleyball { background: #1546a0; }
.os-cal-mini.os-sport-waterpolo { background: #0b6e8a; }
.os-cal-mini.os-sport-handball { background: #c2410c; }

.os-cal-more {
    font-size: 10px;
    font-weight: 800;
    opacity: 0.7;
}

.os-cal-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.os-cal-panel-head strong {
    font-size: 1.2rem;
}

.os-cal-panel-head span {
    font-size: 12px;
    font-weight: 800;
    opacity: 0.7;
}

.os-cal-card {
    margin-top: 10px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left-width: 4px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.os-cal-card.os-sport-football { border-left-color: #0f7a32; }
.os-cal-card.os-sport-basketball { border-left-color: #c45500; }
.os-cal-card.os-sport-volleyball { border-left-color: #1546a0; }
.os-cal-card.os-sport-waterpolo { border-left-color: #0b6e8a; }
.os-cal-card.os-sport-handball { border-left-color: #c2410c; }

.os-cal-card-live {
    border-color: var(--os-red);
    box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.35);
}

.os-cal-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.os-cal-card-comp {
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.75;
}

.os-cal-card-head .os-cal-when,
.os-cal-card-head .os-cal-live {
    margin-left: auto;
}

.os-cal-card-match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.os-cal-card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.os-cal-card-team span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.os-cal-card-team img,
.os-cal-letter {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

.os-cal-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #141414;
    font-size: 18px;
    font-weight: 800;
}

.os-cal-scorebig {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
}

@media (max-width: 860px) {
    .os-cal-large {
        display: block;
    }

    .os-cal-large .os-cal-month,
    .os-cal-large .os-cal-weekdays,
    .os-cal-large .os-cal-days,
    .os-cal-large .os-cal-daylist {
        grid-column: auto;
        grid-row: auto;
    }

    .os-cal-large .os-cal-daylist {
        margin-top: 16px;
    }
}

@media (min-width: 640px) {
    .os-cal-modal {
        align-items: center;
    }
}
