.gsc-hole-screen {
    min-height: 100%;
    background: #f4f5f7;
    color: #06285a;
}

.gsc-hole-header {
    padding: 14px 18px 4px;
    background:
        radial-gradient(
            circle at 50% 0%,
            #12437a 0,
            #082f61 42%,
            #031d43 100%
        );
    color: #ffffff;
}

.gsc-hole-navigator {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 12px;
}

.gsc-hole-navigator-arrow {
    display: grid;
    place-items: center;
    padding: 0;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 43px;
    font-weight: 300;
    line-height: 1;
}

.gsc-hole-navigator-arrow > span {
    display: block;
    transform: translateY(-3px);
}

.gsc-hole-navigator-current {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 31px;
    font-weight: 750;
    line-height: 1.1;
}

.gsc-hole-navigator-current.is-saved {
    color: #2e8b24;
}

.gsc-hole-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 700;
}

.gsc-hole-details > span {
    text-align: center;
    white-space: nowrap;
}

.gsc-hole-tee {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.gsc-hole-tee-dot {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: var(--gsc-tee-color);
}

.gsc-round-settings-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.gsc-round-settings-icon {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
}

.gsc-round-settings-icon::before {
    position: absolute;
    top: 1px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    transform: translateX(-50%);
}

.gsc-round-settings-icon::after {
    position: absolute;
    bottom: 1px;
    left: 50%;
    width: 24px;
    height: 13px;
    border-radius: 13px 13px 4px 4px;
    background: currentColor;
    content: "";
    transform: translateX(-50%);
}

.gsc-round-settings-level {
    position: absolute;
    top: -7px;
    right: -12px;
    z-index: 1;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #2e8b24;
    color: #ffffff;
    box-sizing: border-box;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.gsc-hole-content {
    display: grid;
    gap: 9px;
    padding: 14px 12px 14px;
}

.gsc-ball-striking {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 40, 70, 0.09);
}

.gsc-ball-striking.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.gsc-ball-striking-control {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 11px 14px;
    border: 0;
    background: #ffffff;
    color: #06285a;
    text-align: left;
}

.gsc-ball-striking-control + .gsc-ball-striking-control {
    border-left: 1px solid #d7dbe1;
}

.gsc-ball-striking-indicator {
    grid-row: 1 / 3;
    width: 28px;
    height: 28px;
    border: 3px solid #2e8b24;
    border-radius: 50%;
}

.gsc-ball-striking-label {
    font-size: 19px;
    font-weight: 750;
    transform: translateY(4px);
}

.gsc-ball-striking-bunker {
    cursor: pointer;
}

.gsc-ball-striking-bunker
    .gsc-hole-action-icon {
    grid-row: 1 / 3;
    color: #2e8b24;
}

.gsc-ball-striking-bunker
    .gsc-ball-striking-label {
    color: #06285a;
}

.gsc-ball-striking-hint {
    margin-top: 1px;
    color: #848995;
    font-size: 13px;
}

.gsc-score-control {
    padding: 7px 14px 6px;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 40, 70, 0.09);
}

.gsc-score-control-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.gsc-score-control-title h2 {
    margin: 0;
    color: #06285a;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
}

.gsc-score-control-entry {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    gap: 14px;
    margin-top: -10px;
}

.gsc-score-adjust {
    width: 60px;
    height: 60px;
    border: 1px solid #e0e3e7;
    border-radius: 50%;
    background: #ffffff;
    color: #2e8b24;
    box-shadow: 0 4px 9px rgba(15, 40, 70, 0.13);
    font-size: 44px;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-3px);
}

.gsc-score-adjust > span {
    display: block;
    transform: translate(-4px, -5px);
}

.gsc-score-value-group {
    display: grid;
    justify-items: center;
}

.gsc-score-value {
    padding: 0;
    border: 0;
    background: transparent;
    color: #2e8b24;
    font-size: 50px;
    font-weight: 750;
    line-height: 0.92;
}

.gsc-score-target {
    display: none;
}

.gsc-commit-score {
    width: 100%;
    min-height: 58px;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    background: #2e8b24;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 40, 70, 0.12);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    box-shadow:
    0 6px 16px rgba(25, 70, 20, .20);
}

.gsc-commit-score:active {
    transform: translateY(1px);
}

.gsc-hole-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}



.gsc-hole-action {
    min-height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 40, 70, 0.09);
    font-size: 14px;
    font-weight: 550;
}

.gsc-hole-action-penalty {
    color: #ec1717;
}

.gsc-hole-action-bunker {
    color: #2e7d32;
}

.gsc-hole-action-notes {
    color: #0865d8;
}

.gsc-hole-action-icon {
    width: 25px;
    min-width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.gsc-hole-action-icon > span {
    display: block;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    transform: translate(0, -2px);
}

.gsc-hole-action-document {
    position: relative;
    width: 22px;
    height: 28px;
    display: block;
    border: 2px solid currentColor;
    border-radius: 3px;
    box-sizing: border-box;
}

.gsc-hole-action-document::before {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 9px;
    height: 9px;
    background: #ffffff;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: skew(-45deg);
    transform-origin: top right;
}

.gsc-hole-action-document > span {
    position: absolute;
    left: 4px;
    right: 4px;
    top: 8px;
    height: 2px;
    background: currentColor;
    box-shadow:
        0 5px 0 currentColor,
        0 10px 0 currentColor;
}

.gsc-hole-picker-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(0, 18, 45, 0.58);
}

.gsc-hole-picker {
    width: min(100%, 390px);
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 17, 43, 0.25);
}

.gsc-hole-picker h2 {
    margin: 0 0 20px;
    color: #06285a;
    text-align: center;
}

.gsc-hole-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gsc-hole-picker-option {
    aspect-ratio: 1;
    border: 1px solid #d7dce3;
    border-radius: 50%;
    background: #ffffff;
    color: #06285a;
    font-size: 18px;
    font-weight: 700;
}

.gsc-hole-picker-option.is-current {
    border-color: #2e8b24;
    background: #2e8b24;
    color: #ffffff;
}

.gsc-hole-picker-cancel {
    width: 100%;
    margin-top: 22px;
    padding: 13px;
    border: 2px solid #2e8b24;
    border-radius: 12px;
    background: #ffffff;
    color: #2e8b24;
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 390px) {
    .gsc-hole-header {
        padding-inline: 16px;
    }

    .gsc-hole-details {
        font-size: 18px;
    }

    .gsc-score-control-entry {
        grid-template-columns: 64px 1fr 64px;
        gap: 12px;
    }

    .gsc-score-adjust {
        width: 64px;
        height: 64px;
    }
}

.gsc-ball-striking-control.is-selected
    .gsc-ball-striking-indicator {
    background: #2e8b24;
}

.gsc-ball-striking-control.is-selected
    .gsc-ball-striking-label {
    color: #2e8b24;
}

/* Tee-change modal actions */

.gsc-tee-picker-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "this-hole rest-round"
        "cancel cancel";
    gap: 10px;
    margin-top: 22px;
}

.gsc-tee-picker-this-hole,
.gsc-tee-picker-rest-round,
.gsc-tee-picker-actions .gsc-hole-picker-cancel {
    width: 100%;
    min-height: 52px;
    margin: 0;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.gsc-tee-picker-this-hole {
    grid-area: this-hole;
}

.gsc-tee-picker-rest-round {
    grid-area: rest-round;
}

.gsc-tee-picker-this-hole,
.gsc-tee-picker-rest-round {
    border: 2px solid var(--gsc-green);
    background: #ffffff;
    color: var(--gsc-green);
    transition:
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease;
}

.gsc-tee-picker-this-hole:hover,
.gsc-tee-picker-rest-round:hover,
.gsc-tee-picker-this-hole:focus-visible,
.gsc-tee-picker-rest-round:focus-visible {
    background: rgba(46,125,50,.08);
}

.gsc-tee-picker-this-hole:active,
.gsc-tee-picker-rest-round:active {
    background: rgba(46,125,50,.14);
}

.gsc-tee-picker-actions .gsc-hole-picker-cancel {
    grid-area: cancel;
    border: 2px solid var(--gsc-green);
    background: #ffffff;
    color: var(--gsc-green);
}

.gsc-tee-picker-this-hole:focus-visible,
.gsc-tee-picker-rest-round:focus-visible,
.gsc-tee-picker-actions .gsc-hole-picker-cancel:focus-visible {
    outline: 3px solid rgba(46, 125, 50, 0.28);
    outline-offset: 2px;
}

.gsc-tee-picker-this-hole:active,
.gsc-tee-picker-rest-round:active {
    transform: translateY(1px);
}

/* Post-round editing */
.gsc-hole-edit-mode-label {
    margin-bottom: 6px;
    color: #075b35;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
}

.gsc-edit-round-done {
    margin-top: 10px;
    border: 2px solid #075b35;
    background: #ffffff;
    color: #075b35;
}

.gsc-edit-round-done:hover,
.gsc-edit-round-done:focus-visible {
    background: #f1f7f4;
}

.gsc-hole-screen.is-edit-mode
.gsc-round-settings-button:disabled {
    cursor: default;
    opacity: 0.45;
}


/* Hole-screen long-press discovery hint */
.gsc-hole-hold-hint {
    position: fixed;
    left: 50%;
    bottom: 86px;
    z-index: 9000;
    max-width: calc(100vw - 32px);
    padding: 9px 15px;
    border-radius: 999px;
    background: #06285a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 20, 50, 0.2);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition:
        opacity 0.16s ease,
        transform 0.16s ease;
}

.gsc-hole-hold-hint.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
