.oom-standings {
    width: 100%;
    margin: 0;
    color: #000;
    background: #fff;
    padding-bottom: 24px;
}

.oom-standings__container {
    width: 100%;
}

.oom-standings__shell {
    width: 100%;
    max-width: 1364px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.oom-standings__banner {
    position: relative;
    min-height: 347px;
    padding-top: 120px;
    padding-bottom: 72px;
    background-color: var(--color-3);
    background-image: var(--oom-standings-desktop-banner-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.oom-standings__banner-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    min-height: 155px;
}

.oom-standings .template__banner__title {
    margin: 0;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0;
}

.oom-standings .banner__title-text {
    color: inherit;
}

.oom-standings__banner-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    min-width: 216px;
    margin-left: auto;
    margin-bottom: -12px;
}

.oom-standings__banner-button {
    display: grid;
    grid-template-columns: minmax(136px, 1fr) 60px;
    align-items: center;
    width: 100%;
    min-height: 60px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.oom-standings__banner-button .button__text {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding-right: 18px;
    color: #fff;
}

.oom-standings__banner-button .button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--color-1);
    color: #001314;
    font-size: 22px;
    font-weight: 400;
}

.oom-standings__banner-cta > div:nth-child(2) .button__icon {
    background-color: var(--color-1);
    color: #fff;
}

.oom-standings__banner-button:hover,
.oom-standings__banner-button:focus {
    color: #fff;
    text-decoration: none;
}

.oom-standings__edit-control {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1000;
    transform: translateY(-50%);
}

.oom-standings .oom-standings__edit-control .admin__edit-btn {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    z-index: 1001;
    display: inline-block !important;
    padding: 10px 15px;
    background-color: #c82333 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase !important;
    pointer-events: auto;
}

.oom-standings .oom-standings__edit-control .admin__edit-btn:hover,
.oom-standings .oom-standings__edit-control .admin__edit-btn:focus {
    background-color: #8f2f39 !important;
    color: #fff !important;
    text-decoration: none;
}

.oom-standings__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-end;
    padding: 18px 0 12px;
}

.oom-standings__profile-toolbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.oom-standings__tabs {
    background: #fff;
}

.oom-standings__tabs .oom-standings__shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding-top: 6px;
    padding-bottom: 18px;
}

.oom-standings__tab {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #d4d9df;
    background: #f2f4f6;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.oom-standings__tab--active {
    background: #4d4b47;
    border-color: #4d4b47;
    color: #fff;
}

.oom-standings__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: min(100%, 240px);
}

.oom-standings__field label {
    margin: 0;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.oom-standings__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.oom-standings__checkbox input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.oom-standings__select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 44px;
    padding: 6px 34px 10px 0;
    border: 0;
    border-bottom: 1px solid #d9dde3;
    border-radius: 0;
    background-color: transparent;
    background-image: linear-gradient(45deg, transparent 50%, #8a9199 50%), linear-gradient(135deg, #8a9199 50%, transparent 50%);
    background-position: calc(100% - 12px) 17px, calc(100% - 7px) 17px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    color: #000;
    font-size: 18px;
    line-height: 1.4;
}

.oom-standings__input {
    width: 100%;
    min-height: 44px;
    padding: 6px 0 10px;
    border: 0;
    border-bottom: 1px solid #d9dde3;
    border-radius: 0;
    background: transparent;
    color: #000;
    font-size: 18px;
    line-height: 1.4;
}

.oom-standings__select:focus,
.oom-standings__input:focus {
    border-bottom-color: #008a6e;
    outline: 0;
}

.oom-standings__message {
    max-width: 1364px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 4px;
}

.oom-standings__message--error {
    background: #fff4f4;
    border: 1px solid #e3a6a6;
    color: #8a1f1f;
}

.oom-standings__loader,
.oom-standings__expanded-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.oom-standings__scroll {
    width: 100%;
    max-width: 1364px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.oom-standings__view-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.oom-standings__view-header h2,
.oom-standings__profile-info h2 {
    margin: 0;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.oom-standings__back-button,
.oom-standings__link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #005eb8;
    font: inherit;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}

.oom-standings__back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.oom-standings__back-button::before {
    content: "";
    width: 7px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.oom-standings__profile-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 32px;
    align-items: start;
    margin-bottom: 24px;
}

.oom-standings__profile-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.oom-standings__profile-info dl {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 8px 18px;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid #d4d9df;
}

.oom-standings__profile-info dt,
.oom-standings__profile-info dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.oom-standings__profile-info dt {
    font-weight: 700;
}

.oom-standings__profile-photo {
    display: flex;
    justify-content: flex-end;
    min-height: 180px;
    position: relative;
}

.oom-standings__profile-photo img,
.oom-standings__profile-photo-fallback {
    width: 180px;
    height: 180px;
}

.oom-standings__profile-photo img {
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.oom-standings__profile-photo-fallback {
    align-items: center;
    background: #eef2f6;
    background-image: url('/images/my-location-sg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 28px 28px;
    border: 1px solid #d4d9df;
    display: flex;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
}

.oom-standings__counting-table,
.oom-standings__profile-table {
    font-size: 13px;
}

.oom-standings__profile-table th:nth-child(2),
.oom-standings__profile-table td:nth-child(2) {
    width: 96px;
    min-width: 96px;
}

.oom-standings__hole-row td {
    background: #f8fafc;
    font-size: 12px;
}

.oom-standings__hole-score {
    display: inline-block;
    margin-right: 10px;
    white-space: nowrap;
}

.oom-standings__tournament-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 12px;
}

.oom-standings__view-title {
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid #d4d9df;
}

.oom-standings__view-title h2 {
    margin-bottom: 2px;
}

.oom-standings__view-subtitle {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.3;
}

.oom-standings__round-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.oom-standings__round-tab {
    min-width: 54px;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid #d4d9df;
    background: #f2f4f6;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.oom-standings__round-tab:hover,
.oom-standings__round-tab:focus {
    border-color: #8b949e;
    background: #e7ebef;
}

.oom-standings__round-tab--active,
.oom-standings__round-tab--active:hover,
.oom-standings__round-tab--active:focus {
    background: #4d4b47;
    border-color: #4d4b47;
    color: #fff;
}

.oom-standings__tournament-summary {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    color: #3a4654;
    font-size: 13px;
    text-align: right;
}

.oom-standings__tournament-summary strong {
    color: #000;
}

.oom-standings__marker-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    align-items: center;
}

.oom-standings__marker-summary-separator {
    color: #a7b0bb;
}

.oom-standings__table,
.oom-standings__subtable {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    table-layout: fixed;
}

.oom-standings__subtable {
    min-width: 560px;
}

.oom-standings__performance-table {
    min-width: 860px;
}

.oom-standings__hole-table {
    min-width: 1120px;
    table-layout: auto;
    font-size: 12px;
}

.oom-standings__hole-table th,
.oom-standings__hole-table td {
    padding: 2px !important;
}

.oom-standings__hole-table th:nth-child(n+3),
.oom-standings__hole-table td:nth-child(n+3) {
    width: 38px;
    min-width: 38px;
}

.oom-standings__hole-score-cell {
    background: #fff;
    white-space: nowrap;
}

.oom-standings__hole-score-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.oom-standings__hole-score-cell--eagle .oom-standings__hole-score-marker {
    border: 1px solid #15803d;
    border-radius: 50%;
    background-color: #2fc978;
    color: #fff;
    font-weight: 700;
}

.oom-standings__hole-score-cell--birdie .oom-standings__hole-score-marker {
    border: 1px solid #b91c1c;
    border-radius: 50%;
    background-color: #ff4d4d;
    color: #fff;
    font-weight: 700;
}

.oom-standings__hole-score-cell--par .oom-standings__hole-score-marker {
    color: #111827;
}

.oom-standings__hole-score-cell--bogey .oom-standings__hole-score-marker {
    border: 1px solid #0f5f99;
    background-color: #208ed8;
    color: #fff;
    font-weight: 700;
}

.oom-standings__hole-score-cell--double .oom-standings__hole-score-marker,
.oom-standings__hole-score-cell--triple .oom-standings__hole-score-marker {
    border: 1px solid #111827;
    background-color: #0f172a;
    color: #fff;
    font-weight: 700;
}

.oom-standings__hole-total-cell {
    font-weight: 700;
}

.oom-standings__hole-table tfoot th,
.oom-standings__hole-table tfoot td {
    background: #fff;
    border-top: 1px solid #d4d9df;
}

.oom-standings__hole-table tfoot th {
    text-align: right;
}

.oom-standings__hole-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: center;
    padding: 10px 0;
}

.oom-standings__hole-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.oom-standings__hole-legend-marker {
    width: 16px;
    height: 16px;
    border: 1px solid transparent;
    flex: 0 0 auto;
}

.oom-standings__hole-legend-marker--eagle {
    border-color: #15803d;
    border-radius: 50%;
    background: #2fc978;
}

.oom-standings__hole-legend-marker--birdie {
    border-color: #b91c1c;
    border-radius: 50%;
    background: #ff4d4d;
}

.oom-standings__hole-legend-marker--par {
    border: 0;
    background: transparent;
}

.oom-standings__hole-legend-marker--bogey {
    border-color: #0f5f99;
    background: #208ed8;
}

.oom-standings__hole-legend-marker--double {
    border-color: #111827;
    background: #0f172a;
}

.oom-standings__performance-col--tournament {
    width: 320px;
}

.oom-standings__performance-col--date {
    width: 96px;
}

.oom-standings__performance-col--metric {
    width: 72px;
}

.oom-standings__table th,
.oom-standings__table td,
.oom-standings__subtable th,
.oom-standings__subtable td {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.oom-standings__table th,
.oom-standings__subtable th {
    background: #f7f9fc;
    font-size: 13px;
    font-weight: 700;
    color: #3a4654;
}

.oom-standings__performance-table th {
    background: #50504c;
    color: #fff;
}

.oom-standings__performance-table th,
.oom-standings__performance-table td {
    padding-left: 8px;
    padding-right: 8px;
}

.oom-standings__performance-table .oom-standings__performance-heading--tournament,
.oom-standings__performance-table .oom-standings__performance-tournament-name {
    padding-left: 12px;
    padding-right: 16px;
}

.oom-standings__performance-tournament-name {
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
}

.oom-standings__performance-tournament-name .oom-standings__tournament-name {
    overflow-wrap: normal;
}

.oom-standings__performance-heading--date,
.oom-standings__performance-date,
.oom-standings__performance-cell {
    white-space: nowrap;
}

.oom-standings__performance-cell {
    background: #e4e4e4;
    text-align: center;
}

.oom-standings__performance-table td.oom-standings__performance-cell--counting {
    background-color: #d8edf7 !important;
    box-shadow: inset 0 0 0 9999px #d8edf7 !important;
    color: #001e2b;
}

.oom-standings__player-name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.oom-standings__counting-indicator {
    display: inline-flex;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2f80b7;
    box-shadow: 0 0 0 2px rgba(47, 128, 183, 0.14);
    flex: 0 0 auto;
}

.oom-standings__row {
    cursor: pointer;
}

.oom-standings__row:hover {
    background: #f7fbff;
}

.oom-standings__expanded-row td {
    background: #fbfdff;
    padding: 12px;
}

.oom-standings__cell--center {
    text-align: center;
}

.oom-standings__cell--right {
    text-align: right;
}

.oom-standings__cell--rank,
.oom-standings__cell--prev,
.oom-standings__cell--change,
.oom-standings__cell--pos,
.oom-standings__cell--round,
.oom-standings__cell--total {
    width: 56px;
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.oom-standings__cell--change {
    width: 68px;
}

.oom-standings__cell--points {
    width: 75px;
}

.oom-standings__cell--performance-rounds {
    width: 58px;
    padding-left: 4px !important;
    padding-right: 4px !important;
    white-space: nowrap;
}

.oom-standings__cell--performance-diff {
    width: 72px;
    padding-left: 6px !important;
    padding-right: 6px !important;
    white-space: nowrap;
}

.oom-standings__cell--icon {
    width: 44px;
    text-align: center;
    font-weight: 700;
}

.oom-standings__link {
    color: #006bb6;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.oom-standings__link:hover,
.oom-standings__link:focus {
    color: #004f87;
}

.oom-standings__tournament-name {
    display: block;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
}

.oom-standings__muted {
    display: block;
    clear: both;
    color: #6b7785;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 4px;
    white-space: normal;
}

.oom-standings__change--up {
    color: #0f7a3c;
    font-weight: 700;
}

.oom-standings__change--down {
    color: #b42318;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .oom-standings__banner {
        min-height: 420px;
        padding-top: 96px;
        padding-bottom: 92px;
        background-image: var(--oom-standings-mobile-banner-image, var(--oom-standings-desktop-banner-image));
    }

    .oom-standings__banner-inner {
        display: block;
        min-height: 0;
    }

    .oom-standings .template__banner__title {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .oom-standings__banner-cta {
        min-width: 0;
        width: 100%;
        max-width: 190px;
        align-items: flex-start;
        gap: 10px;
        margin-left: 0;
        margin-bottom: 0;
    }

    .oom-standings__banner-cta > div {
        width: 100%;
    }

    .oom-standings .oom-standings__banner-button.button.button--secondary {
        display: grid !important;
        grid-template-columns: minmax(112px, 1fr) 48px !important;
        width: 100% !important;
        min-height: 48px !important;
        height: auto !important;
        padding: 0 !important;
        overflow: hidden;
        background: rgba(0, 19, 20, 0.72) !important;
        border: 1px solid var(--color-1) !important;
        border-radius: 999px !important;
        box-shadow: none !important;
        color: #fff !important;
        font-size: 12px;
        line-height: 1.2;
    }

    .oom-standings .oom-standings__banner-button .button__text {
        display: flex !important;
        align-items: center;
        min-height: 48px !important;
        padding: 0 12px 0 18px !important;
        background: transparent !important;
        color: #fff !important;
    }

    .oom-standings .oom-standings__banner-button .button__icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 48px !important;
        height: 48px !important;
        background-color: var(--color-1) !important;
        color: #fff !important;
        font-size: 18px;
    }

    .oom-standings__toolbar {
        gap: 16px;
        padding: 16px 0 10px;
    }

    .oom-standings__field {
        width: 100%;
    }

    .oom-standings__checkbox {
        width: 100%;
    }

    .oom-standings__tournament-toolbar {
        display: block;
    }

    .oom-standings__round-tabs {
        flex-wrap: nowrap;
        gap: 4px;
        margin: 0 -12px 10px;
        padding: 0 12px 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .oom-standings__round-tab {
        flex: 0 0 auto;
        min-width: 48px;
        min-height: 34px;
        padding: 7px 12px;
    }

    .oom-standings__tournament-summary {
        justify-content: flex-start;
        text-align: left;
    }

    .oom-standings__table,
    .oom-standings__subtable {
        min-width: 600px;
    }

    .oom-standings__table th,
    .oom-standings__table td,
    .oom-standings__subtable th,
    .oom-standings__subtable td {
        padding: 8px;
    }
}
