.cnsmo-times {
    --cnsmo-ink: #17323e;
    --cnsmo-blue: #059dd9;
    --cnsmo-blue-dark: #047eae;
    --cnsmo-pale: #eaf8fd;
    --cnsmo-line: #d7e9f0;
    color: var(--cnsmo-ink);
    font-family: "Open Sans", Arial, sans-serif;
    margin: 24px auto;
    max-width: 1320px;
}

.cnsmo-times *,
.cnsmo-times *::before,
.cnsmo-times *::after {
    box-sizing: border-box;
}

.cnsmo-times h2,
.cnsmo-times h3,
.cnsmo-times h4,
.cnsmo-times-tabs a,
.cnsmo-top5-event-name {
    font-family: "League Spartan", Arial, sans-serif !important;
}

.cnsmo-times-hero {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .16), transparent 55%),
        var(--cnsmo-blue);
    border-radius: 12px;
    color: #fff;
    overflow: hidden;
    padding: clamp(32px, 6vw, 72px);
    position: relative;
}

.cnsmo-times-hero::after {
    border: 22px solid rgba(255, 255, 255, .07);
    border-radius: 999px;
    content: "";
    height: 220px;
    position: absolute;
    right: -55px;
    top: -62px;
    width: 220px;
}

.cnsmo-times-kicker {
    color: var(--cnsmo-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .09em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.cnsmo-times-hero .cnsmo-times-kicker {
    color: #fff;
}

.cnsmo-times-hero h2 {
    color: #fff;
    font-size: clamp(40px, 7vw, 78px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: .92;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.cnsmo-times-hero > p:not(.cnsmo-times-kicker) {
    color: #effaff;
    font-size: 18px;
    line-height: 1.55;
    margin: 0;
    max-width: 760px;
}

.cnsmo-times-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin: 38px 0 0;
}

.cnsmo-times-stats div {
    min-width: 110px;
}

.cnsmo-times-stats dt {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.cnsmo-times-stats dd {
    color: #d9f4ff;
    font-size: 13px;
    font-weight: 600;
    margin: 2px 0 0;
    text-transform: uppercase;
}

.cnsmo-times-tabs {
    border-bottom: 1px solid var(--cnsmo-line);
    display: flex;
    gap: 4px;
    margin-top: 32px;
    overflow-x: auto;
}

.cnsmo-times-tabs a {
    border-bottom: 3px solid transparent;
    color: #587080;
    font-weight: 600;
    padding: 14px 18px;
    text-decoration: none;
    white-space: nowrap;
}

.cnsmo-times-tabs a:hover,
.cnsmo-times-tabs a:focus,
.cnsmo-times-tabs a.is-active {
    border-color: var(--cnsmo-blue);
    color: var(--cnsmo-blue-dark);
}

.cnsmo-times-filters {
    background: #f7fafb;
    border: 1px solid var(--cnsmo-line);
    border-radius: 10px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    margin: 24px 0;
    padding: 20px;
}

.cnsmo-times-filters label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cnsmo-times-filters label > span {
    color: #526572;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.cnsmo-times-filters input,
.cnsmo-times-filters select {
    background: #fff;
    border: 1px solid #c7d6dd;
    border-radius: 6px;
    color: var(--cnsmo-ink) !important;
    font: inherit;
    font-weight: 400;
    height: 44px;
    padding: 8px 11px;
    width: 100%;
}

.cnsmo-times-filters select,
.cnsmo-times-filters select option {
    -webkit-text-fill-color: var(--cnsmo-ink);
    background-color: #fff;
    color: var(--cnsmo-ink) !important;
    opacity: 1;
}

.cnsmo-times-search {
    grid-column: span 2;
}

.cnsmo-times-filter-actions {
    align-items: center;
    display: flex;
    gap: 14px;
}

.cnsmo-times-filter-actions button {
    background: var(--cnsmo-blue);
    border: 1px solid var(--cnsmo-blue);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    min-height: 44px;
    padding: 8px 18px;
}

.cnsmo-times-filter-actions a {
    color: #526572;
    font-weight: 500;
}

.cnsmo-times-summary {
    align-items: baseline;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 18px 0 12px;
}

.cnsmo-times-summary p {
    margin: 0;
}

.cnsmo-times-note {
    color: #687b87;
    font-size: 13px;
}

.cnsmo-times-table-wrap {
    border: 1px solid var(--cnsmo-line);
    border-radius: 10px;
    overflow-x: auto;
}

.cnsmo-times-table {
    border: 0;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0;
    min-width: 1050px;
    width: 100%;
}

.cnsmo-times-table th,
.cnsmo-times-table td {
    border: 0;
    border-bottom: 1px solid var(--cnsmo-line);
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
}

.cnsmo-times-table th {
    background: var(--cnsmo-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cnsmo-times-table tbody tr:hover {
    background: #f3f9fb;
}

.cnsmo-times-table tbody tr:last-child td {
    border-bottom: 0;
}

.cnsmo-times-table td > span,
.cnsmo-times-table td strong + span,
.cnsmo-times-time span {
    color: #71828c;
    display: block;
    font-size: 12px;
    margin-top: 3px;
}

.cnsmo-times-pool {
    background: var(--cnsmo-pale);
    border-radius: 999px;
    color: #236b83 !important;
    display: inline-block !important;
    font-weight: 600;
    margin: 0 !important;
    padding: 5px 9px;
}

.cnsmo-times-time,
.cnsmo-times-time a {
    color: var(--cnsmo-ink);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.cnsmo-times-rank {
    color: var(--cnsmo-blue);
    font-size: 20px;
    font-weight: 700;
    width: 64px;
}

.cnsmo-times-competition {
    color: var(--cnsmo-ink) !important;
    font-weight: 600;
    max-width: 300px;
}

.cnsmo-times-empty {
    background: var(--cnsmo-pale);
    border-radius: 10px;
    padding: 38px;
    text-align: center;
}

.cnsmo-times-empty h3,
.cnsmo-times-empty p {
    margin: 0;
}

.cnsmo-times-empty p {
    color: #587080;
    margin-top: 7px;
}

.cnsmo-times-footer {
    color: #71828c;
    font-size: 12px;
    margin-top: 14px;
    text-align: right;
}

.cnsmo-times-pagination {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 22px 0;
}

.cnsmo-times-pagination a {
    background: var(--cnsmo-blue);
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    text-decoration: none;
}

.cnsmo-times-pagination span {
    color: #687b87;
    font-size: 13px;
}

.cnsmo-times-filter-actions button:hover,
.cnsmo-times-filter-actions button:focus {
    background: var(--cnsmo-blue-dark);
    border-color: var(--cnsmo-blue-dark);
}

.cnsmo-top5-filters {
    align-items: end;
    grid-template-columns: repeat(2, minmax(180px, 260px)) 1fr;
}

.cnsmo-points-filters {
    align-items: end;
    grid-template-columns: repeat(2, minmax(190px, 260px)) 1fr;
}

.cnsmo-points-intro {
    align-items: end;
    background: var(--cnsmo-pale);
    border-left: 5px solid var(--cnsmo-blue);
    border-radius: 8px;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin: 28px 0 18px;
    padding: 22px 24px;
}

.cnsmo-points-intro h3,
.cnsmo-points-intro p {
    margin: 0;
}

.cnsmo-points-intro h3 {
    color: var(--cnsmo-ink);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
}

.cnsmo-points-intro > p {
    color: #57717d;
    font-size: 13px;
    font-weight: 400;
    max-width: 480px;
    text-align: right;
}

.cnsmo-points-score {
    color: var(--cnsmo-blue-dark);
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.cnsmo-points-table {
    min-width: 760px;
}

.cnsmo-points-pool-section .cnsmo-times-summary {
    margin-top: 0;
}

.cnsmo-points-breakdown summary {
    color: var(--cnsmo-blue-dark);
    cursor: pointer;
    font-weight: 600;
    list-style-position: outside;
    white-space: nowrap;
}

.cnsmo-points-breakdown ul {
    background: #f8fbfc;
    border: 1px solid var(--cnsmo-line);
    border-radius: 7px;
    display: grid;
    gap: 0;
    list-style: none;
    margin: 10px 0 0;
    max-width: 560px;
    padding: 6px 12px;
}

.cnsmo-points-breakdown li {
    align-items: center;
    border-bottom: 1px solid var(--cnsmo-line);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 7px 0;
}

.cnsmo-points-breakdown li:last-child {
    border-bottom: 0;
}

.cnsmo-points-breakdown li span {
    color: #506975;
    display: inline;
    font-size: 12px;
    margin: 0;
}

.cnsmo-points-breakdown a {
    color: var(--cnsmo-blue-dark);
    font-weight: 600;
}

.cnsmo-top5-intro {
    align-items: end;
    background: var(--cnsmo-pale);
    border-left: 5px solid var(--cnsmo-blue);
    border-radius: 8px;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin: 28px 0 16px;
    padding: 22px 24px;
}

.cnsmo-top5-intro h3,
.cnsmo-top5-intro p {
    margin: 0;
}

.cnsmo-top5-intro h3 {
    color: var(--cnsmo-ink);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
}

.cnsmo-top5-intro > p {
    color: #57717d;
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}

.cnsmo-top5-pool-nav {
    display: flex;
    gap: 10px;
    margin: 18px 0 32px;
}

.cnsmo-top5-pool-nav a {
    background: var(--cnsmo-blue);
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    text-decoration: none;
}

.cnsmo-top5-pool-nav a:hover,
.cnsmo-top5-pool-nav a:focus {
    background: var(--cnsmo-blue-dark);
}

.cnsmo-top5-pool-section {
    scroll-margin-top: 40px;
}

.cnsmo-top5-pool-section + .cnsmo-top5-pool-section {
    margin-top: 58px;
}

.cnsmo-top5-pool-section > header {
    align-items: center;
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.cnsmo-top5-pool-section > header > span {
    align-items: center;
    background: var(--cnsmo-blue);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    height: 66px;
    justify-content: center;
    width: 66px;
}

.cnsmo-top5-pool-section > header p,
.cnsmo-top5-pool-section > header h3 {
    margin: 0;
}

.cnsmo-top5-pool-section > header p {
    color: #6b818b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cnsmo-top5-pool-section > header h3 {
    color: var(--cnsmo-ink);
    font-size: 30px;
}

.cnsmo-top5-events {
    display: grid;
    gap: 12px;
}

.cnsmo-top5-event {
    background: #fff;
    border: 1px solid var(--cnsmo-line);
    border-radius: 10px;
    overflow: hidden;
}

.cnsmo-top5-event[open] {
    border-color: rgba(5, 157, 217, .45);
    box-shadow: 0 12px 30px rgba(23, 50, 62, .08);
}

.cnsmo-top5-event summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    list-style: none;
    padding: 17px 20px;
}

.cnsmo-top5-event summary::-webkit-details-marker {
    display: none;
}

.cnsmo-top5-event summary::after {
    color: var(--cnsmo-blue);
    content: "+";
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.cnsmo-top5-event[open] summary::after {
    content: "−";
}

.cnsmo-top5-event-name {
    color: var(--cnsmo-ink);
    font-size: 17px;
    font-weight: 500;
}

.cnsmo-top5-event-count {
    color: #70858f;
    font-size: 12px;
    margin-left: auto;
}

.cnsmo-top5-age-grid {
    background: #f8fbfc;
    border-top: 1px solid var(--cnsmo-line);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
}

.cnsmo-top5-age-card {
    background: #fff;
    border: 1px solid var(--cnsmo-line);
    border-radius: 8px;
    min-width: 0;
    padding: 14px;
}

.cnsmo-top5-age-card h4 {
    color: var(--cnsmo-blue-dark);
    font-size: 14px;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.cnsmo-top5-age-card ol {
    display: grid;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cnsmo-top5-age-card li {
    align-items: center;
    border-bottom: 1px solid #edf3f5;
    display: grid;
    gap: 9px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 0 0 7px;
}

.cnsmo-top5-age-card li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cnsmo-top5-rank {
    align-items: center;
    background: var(--cnsmo-pale);
    border-radius: 50%;
    color: var(--cnsmo-blue-dark);
    display: flex;
    font-size: 12px;
    font-weight: 600;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.cnsmo-top5-age-card li:first-child .cnsmo-top5-rank {
    background: var(--cnsmo-blue);
    color: #fff;
}

.cnsmo-top5-athlete {
    min-width: 0;
}

.cnsmo-top5-athlete strong,
.cnsmo-top5-athlete small {
    display: block;
}

.cnsmo-top5-athlete strong {
    color: var(--cnsmo-ink);
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cnsmo-top5-athlete small {
    color: #82939b;
    font-size: 10px;
}

.cnsmo-top5-time,
.cnsmo-top5-time a {
    color: var(--cnsmo-blue-dark);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    text-decoration: none;
}

.cnsmo-top5-no-result {
    color: #8a9aa2;
    font-size: 12px;
    margin: 0;
}

@media (max-width: 920px) {
    .cnsmo-times-filters {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .cnsmo-top5-filters {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .cnsmo-points-filters {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .cnsmo-top5-filters .cnsmo-times-filter-actions,
    .cnsmo-points-filters .cnsmo-times-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .cnsmo-times-hero {
        border-radius: 8px;
        padding: 30px 22px;
    }

    .cnsmo-times-stats {
        gap: 22px;
    }

    .cnsmo-times-filters {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .cnsmo-times-search {
        grid-column: auto;
    }

    .cnsmo-times-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .cnsmo-top5-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .cnsmo-points-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .cnsmo-points-intro > p {
        text-align: left;
    }

    .cnsmo-top5-intro > p {
        text-align: left;
    }

    .cnsmo-top5-pool-nav {
        align-items: stretch;
        flex-direction: column;
    }

    .cnsmo-top5-pool-nav a {
        text-align: center;
    }

    .cnsmo-top5-age-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .cnsmo-top5-event summary {
        padding: 15px;
    }

    .cnsmo-top5-event-count {
        display: none;
    }
}
