.mmll-leaderboard__group + .mmll-leaderboard__group {
    margin-top: 2.5rem;
}

.mmll-leaderboard__group
    .mmll-leaderboard__section
    + .mmll-leaderboard__section {
    margin-top: 1.5rem;
}

.mmll-leaderboard__section + .mmll-leaderboard__section {
    margin-top: 1.5rem;
}

.mmll-leaderboard__section
    table
    tbody
    + tbody
    tr.mmll-leaderboard__section-heading
    td,
.mmll-leaderboard__daily-calcuttas table tbody + tbody tr:first-child td {
    padding-top: 1.5rem;
}
.mmll-leaderboard {
    font-family: var(--mmll-font, 'Inter', 'Helvetica Neue', Arial, sans-serif);
    margin: 1.5rem 0;
}

.mmll-leaderboard__table-wrapper {
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(7, 25, 55, 0.08);
    overflow: hidden;
}

.mmll-leaderboard__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.mmll-leaderboard__table thead {
    background: linear-gradient(90deg, #0b4d8a, #1187c9);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
}

.mmll-leaderboard__col {
    padding: 0.85rem 1rem;
    text-align: left;
    white-space: nowrap;
}

.mmll-boat-points__sort {
    appearance: none;
    border: 0;
    background-color: transparent !important;
    color: #fff;
    font: inherit;
    /* font-weight: 600; */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 0.4rem;
    width: 100%;
    padding: 0;
    cursor: pointer;
}

.mmll-boat-points__sort:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.mmll-boat-points__sort.is-active,
.mmll-boat-points__sort:hover {
    opacity: 0.92;
}

.mmll-boat-points__sort-indicator {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    opacity: 0.75;
    transform: rotate(0);
    transition: transform 0.18s ease;
}

[aria-sort='descending'] .mmll-boat-points__sort-indicator,
.mmll-boat-points__sort-indicator[data-direction='desc'] {
    transform: rotate(180deg);
}

.mmll-boat-points__sort-indicator[data-direction='asc'] {
    transform: rotate(0deg);
}

.mmll-leaderboard__col--rank,
.mmll-leaderboard__row-rank {
    width: 140px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

.mmll-leaderboard__col--points,
.mmll-leaderboard__col--payout {
    text-align: right;
}

.mmll-leaderboard__table tbody tr {
    border-bottom: 1px solid rgba(15, 40, 65, 0.06);
    transition: background 0.2s ease;
}

.mmll-leaderboard__table tbody tr:nth-child(odd) {
    background: rgba(11, 77, 138, 0.015);
}

.mmll-leaderboard__table tbody tr:hover {
    background: rgba(11, 77, 138, 0.08);
}

.mmll-leaderboard__team-link {
    color: #0b4d8a;
    font-weight: 600;
    text-decoration: none;
}

.mmll-leaderboard__team-link:hover,
.mmll-leaderboard__team-link:focus {
    text-decoration: underline;
}

.mmll-release-roundup__row .points-needed,
.mmll-release-roundup__row .points-attained {
    text-align: center;
    font-weight: 600;
}

th.points-needed,
th.points-attained {
    text-align: center;
}
.mmll-release-roundup__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mmll-release-roundup__status.is-yes {
    background: #0b8a4a;
    color: #fff;
}

.mmll-release-roundup__status.is-no {
    background: #e0e7ff;
    color: #1e1b4b;
}

.mmll-leaderboard__skeleton-row {
    background: rgba(11, 77, 138, 0.02) !important;
}

.mmll-skeleton-block {
    display: inline-block;
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(15, 40, 65, 0.08),
        rgba(15, 40, 65, 0.18),
        rgba(15, 40, 65, 0.08)
    );
    background-size: 200% 100%;
    animation: mmll-skeleton-shimmer 1.2s infinite;
}

.mmll-skeleton-block--short {
    width: 60%;
}

.mmll-skeleton-block--medium {
    width: 80%;
}

.mmll-leaderboard__skeleton-row td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
}

.mmll-leaderboard__skeleton-row .col1 {
    /* text-align: center; */
    width: 90px;
}

.mmll-leaderboard__skeleton-row .col2 {
    min-width: 160px;
}

.mmll-leaderboard__skeleton-row .col3 {
    min-width: 120px;
}

/* .mmll-leaderboard__skeleton-row .col9,
.mmll-leaderboard__skeleton-row .col10 {
    text-align: right;
} */

.mmll-leaderboard--sections .mmll-leaderboard__section {
    margin-bottom: 2rem;
}

/* .mmll-leaderboard--sections .mmll-leaderboard__section .table-header {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
} */

.mmll-leaderboard__status {
    text-align: center;
    padding: 1.5rem;
    font-style: italic;
    color: #4c5b6b;
}

@keyframes mmll-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 640px) {
    .mmll-leaderboard__col,
    .mmll-leaderboard__row-cell {
        padding: 0.65rem 0.75rem;
        font-size: 0.9rem;
    }

    .mmll-leaderboard__col--rank,
    .mmll-leaderboard__row-rank {
        width: auto;
    }
}

.mmll-leaderboard--overall .mmll-leaderboard__summary--overall {
    position: absolute;
    top: -20px;
    right: 0;
    z-index: 10;
}

.mmll-leaderboard__summary--overall {
    display: flex;
    justify-content: flex-end;
    /* Move to right */
    align-items: center;
    margin-bottom: 15px;
    padding-right: 10px;
}

.mmll-leaderboard__summary--overall .mmll-leaderboard__summary-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px 18px;
    min-width: 220px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.mmll-leaderboard__summary--overall .mmll-leaderboard__summary-content:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--e-global-color-secondary);
}

.mmll-leaderboard__summary--overall .mmll-leaderboard__summary-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 4px;
}

.mmll-leaderboard__summary--overall .mmll-leaderboard__summary-value {
    font-size: 26px;
    font-weight: 800;
    color: #000035;
    line-height: 1;
}

.mmll-leaderboard__summary--overall .mmll-leaderboard__summary-content {
    border-left: 6px solid var(--e-global-color-accent);
}

@media (max-width: 768px) {
    .mmll-leaderboard--overall .mmll-leaderboard__summary--overall {
        position: static;
    }

    .mmll-leaderboard__summary--overall {
        justify-content: center;
        padding-right: 0;
    }

    .mmll-leaderboard__summary--overall .mmll-leaderboard__summary-content {
        width: 100%;
        max-width: 320px;
        text-align: center;
        border-left: none;
        border-top: 6px solid var(--e-global-color-accent);
    }
}

.mmll-leaderboard__daily-calcuttas {
    margin-top: 2.5rem;
}

.mmll-leaderboard__daily-calcuttas .table {
    margin-bottom: 0;
}

.mmll-team-detail-page {
    background: linear-gradient(
        180deg,
        #f8fafc 0%,
        #eef3f9 220px,
        #ffffff 100%
    );
    padding-bottom: 4rem;
    max-width: 100% !important;
}

.mmll-team-detail {
    /* max-width: 1100px; */
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.mmll-team-detail__hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.mmll-team-detail__eyebrow {
    font-family: 'Beiruti', Sans-serif;
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.19em;
}

.mmll-team-detail__title-row {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.mmll-team-detail__title-row .mmll-team-detail__status-dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #ffd13d, #f0b803);
    box-shadow: 0 0 0 6px rgba(240, 184, 3, 0.15);
    animation: mmDotPulse 2.2s infinite;
    margin-right: 15px;
}

@keyframes mmDotPulse {
    0% {
        transform: scale(1);
        opacity: 1;
        background: #000035;
        box-shadow: 0 0 0 0 rgba(0, 0, 53, 0.7);
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
        background: var(--e-global-color-accent);
        box-shadow: 0 0 0 12px rgba(239, 191, 4, 0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        background: #000035;
        box-shadow: 0 0 0 0 rgba(0, 0, 53, 0);
    }
}

.mmll-team-detail__title-row .mmll-team-detail__title {
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    margin: 0;
    font-family: 'PT Serif', Sans-serif;
    /* font-size: 52px; */
    font-weight: 700;
    line-height: 1.19em;
    color: var(--e-global-color-secondary);
}

.mmll-team-detail__spec-line {
    margin: 1.25rem auto 0;
    font-size: 1.05rem;
    color: #42527a;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mmll-team-detail__summary-card {
    margin: 2rem auto 0;
    background: #fff;
    border-radius: 18px;
    padding: 1.4rem 2rem;
    width: fit-content;
    box-shadow: 0 16px 35px rgba(12, 22, 40, 0.12);
    border: 2px solid var(--e-global-color-accent);
}

.mmll-team-detail__totals {
    margin: 1.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 640px;
}

.mmll-team-detail__totals-item {
    flex: 1 1 180px;
    min-width: 160px;
    background: #ffffff;
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    box-shadow: 0 12px 24px rgba(11, 24, 45, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
}

.mmll-team-detail__totals-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.mmll-team-detail__totals-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0b1b3f;
}

.mmll-team-detail__summary-label {
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    color: #6b7280;
    margin: 0 0 0.45rem;
}

.mmll-team-detail__summary-value {
    margin: 0;
    font-size: 2.75rem;
    font-weight: 800;
    color: #0b1b3f;
}

.mmll-team-detail__filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.mmll-team-detail__filter {
    border: none;
    background: transparent;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--e-global-color-accent);
    padding-bottom: 0.45rem;
    position: relative;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mmll-team-detail__filter::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--e-global-color-accent);
    opacity: 0;
    transform: translateY(4px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.mmll-team-detail__filter:hover,
.mmll-team-detail__filter:focus-visible {
    color: #0b1b3f;
}

.mmll-team-detail__filter.is-active {
    /* color: #0b1b3f; */
}

.mmll-team-detail__filter.is-active::after {
    opacity: 1;
    transform: translateY(0);
}

.mmll-team-detail__filter-count {
    display: none;
}

.mmll-team-detail__content {
    max-width: 1688px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
}

.mmll-team-detail__table-section:first-of-type {
    margin-top: 0;
    margin-bottom: 30px;
}

.mmll-team-detail__section-title {
    font-family: 'Beiruti', Sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: #0b1b3f;
    text-align: left;
}

.mmll-team-detail__content .mmll-team-detail__section-title {
    font-family: 'PT Serif', Sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.mmll-team-detail__table-section .mmll-team-detail__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
    font-family:
        'PT Sans',
        var(--mmll-font, 'Inter', 'Helvetica Neue', Arial, sans-serif);
}

.mmll-section-label-cell {
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: #f6fbff;
    text-transform: uppercase;
    text-align: center;
    padding: 0.95rem 1.25rem;
    border: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* .mmll-team-detail__table thead tr:nth-of-type(2) th {
	background: linear-gradient(90deg, #6fb9ff, #8fd2ff);
	color: #06224f;
	font-size: 0.8rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 0.85rem 1.1rem;
	border-bottom: 2px solid rgba(6, 34, 79, 0.15);
} */
.mmll-team-detail__table thead th.table-header {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
/* .mmll-team-detail__table tbody tr:nth-child(odd) {
  background: #f5f9ff;
}

.mmll-team-detail__table tbody tr:nth-child(even) {
  background: #e2efff;
} */

/* .mmll-team-detail__table tbody td,
.mmll-team-detail__table thead th,
.mmll-team-detail__table tfoot td {
	padding: 0.95rem 1.1rem;
	border-left: 1px solid rgba(6, 34, 79, 0.08);
	border-right: 1px solid rgba(6, 34, 79, 0.08);
} */

.mmll-team-detail__table tbody td:first-child,
.mmll-team-detail__table thead th:first-child,
.mmll-team-detail__table tfoot td:first-child {
    border-left: 0;
}

.mmll-team-detail__table tbody td:last-child,
.mmll-team-detail__table thead th:last-child,
.mmll-team-detail__table tfoot td:last-child {
    border-right: 0;
}

/* .mmll-team-detail__table tbody td {
	color: #0c2858;
	font-weight: 600;
} */

.mmll-team-detail__table-total {
    /* background: #000035; */
    text-align: right;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.mmll-team-detail__total-label {
    font-size: 1rem;
    text-transform: uppercase;
    /* letter-spacing: 0.2em;
  
  margin-right: 0.75rem;
  color: #b9cdfa; */
}

.mmll-team-detail__total-value {
    font-size: 1rem;
    /* font-weight: 700;
  color: #fff; */
}

.mmll-team-detail__table-wrapper {
    position: relative;
    border-radius: 12px;
    /* overflow: hidden; */
    /* box-shadow: 0 25px 50px rgba(11, 27, 63, 0.12); */
}

.mmll-boat-points {
    margin: 2rem 0;
    font-family: var(--mmll-font, 'Inter', 'Helvetica Neue', Arial, sans-serif);
}

.mmll-boat-points__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.mmll-boat-points__table thead {
    background: linear-gradient(90deg, #0b4d8a, #1187c9);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.mmll-boat-points__table th,
.mmll-boat-points__table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(13, 19, 33, 0.08);
    text-align: left;
}

.mmll-boat-points__table tbody tr:nth-child(odd) {
    background: rgba(11, 77, 138, 0.02);
}

.mmll-boat-points__table tbody tr:hover {
    background: rgba(11, 77, 138, 0.06);
}

.mmll-boat-points__points {
    text-align: right;
    font-weight: 600;
}

@media (max-width: 640px) {
    .mmll-boat-points__table,
    .mmll-boat-points__table thead,
    .mmll-boat-points__table tbody,
    .mmll-boat-points__table th,
    .mmll-boat-points__table td,
    .mmll-boat-points__table tr {
        display: block;
        width: 100%;
    }

    .mmll-boat-points__table thead {
        clip: rect(0 0 0 0);
        height: 1px;
        width: 1px;
        overflow: hidden;
        position: absolute;
    }

    .mmll-boat-points__table tr {
        border-bottom: 1px solid rgba(13, 19, 33, 0.12);
        padding: 0.5rem 0;
    }

    .mmll-boat-points__table td {
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.95rem;
    }

    .mmll-boat-points__table td::before {
        content: attr(data-label);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: #6b7280;
        letter-spacing: 0.08em;
    }
}

.mmll-team-detail__section-eyebrow {
    text-align: center;
}

.mmll-results-disclaimer {
    margin: 0 auto 1rem;
    max-width: 640px;
}

.mmll-results-disclaimer .mmll-team-detail__section-eyebrow {
    font-family: 'Beiruti', Sans-serif;
    color: #42527a;
}

.mmll-team-detail__status {
    text-align: center;
    padding: 1.25rem;
    font-style: italic;
    color: #6b7280;
}

.mmll-team-detail__skeleton td {
    padding: 0.9rem 1rem;
}

@media (max-width: 768px) {
    .mmll-team-detail {
        padding: 2rem 0;
    }

    .mmll-team-detail__filters {
        flex-direction: column;
        gap: 0.5rem;
    }

    .mmll-team-detail__filter {
        width: 100%;
    }

    .mmll-team-detail__content {
        overflow-x: auto;
    }

    /*.mmll-team-detail__table {*/
    /*  min-width: 720px;*/
    /*}*/

    .table-wrapper .mmll-team-detail__table th:first-child,
    .table-wrapper .mmll-team-detail__table td:first-child {
        width: auto;
    }
    .mmll-team-detail__table tr td:nth-child(3),
    .mmll-team-detail__table tr td:nth-child(4),
    .mmll-team-detail__table tr th:nth-child(3),
    .mmll-team-detail__table tr th:nth-child(4) {
        display: none;
    }
    /*.mmll-team-detail__table .table-header {*/
    /*  text-align: left !important;*/
    /*  padding-left: 25vw !important;*/
    /*}*/
}
