.golf-suite {
    width: min(1180px, calc(100vw - 28px));
    margin: 28px auto 96px;
    color: #10251e;
    background: #f6faf7;
    border-radius: 8px;
    padding: 22px;
}

.golf-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    padding: 6px 0 18px;
}

.golf-kicker {
    margin: 0 0 6px;
    color: #27785f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.golf-header h1 {
    margin: 0;
    color: #10251e;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: 0;
}

.golf-subtitle {
    max-width: 720px;
    margin: 10px 0 0;
    color: #50635b;
    font-size: 1rem;
}

.golf-header-actions,
.golf-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.golf-primary-button,
.golf-icon-button,
.golf-tab {
    border: 1px solid #cfd9d2;
    background: #ffffff;
    color: #10251e;
    border-radius: 8px;
    font-weight: 700;
    min-height: 40px;
}

.golf-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    background: #176b54;
    border-color: #176b54;
    color: #ffffff;
}

.golf-secondary-button,
.golf-danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    border-radius: 8px;
    padding: 0 14px;
    font-weight: 700;
}

.golf-secondary-button {
    border: 1px solid #cfd9d2;
    background: #ffffff;
    color: #31584b;
}

.golf-danger-button {
    border: 1px solid #d56d5d;
    background: #fff1ef;
    color: #9a2f22;
}

.golf-primary-button:disabled,
.golf-icon-button:disabled,
.golf-secondary-button:disabled,
.golf-danger-button:disabled {
    opacity: 0.55;
}

.golf-icon-button {
    width: 42px;
    padding: 0;
}

.golf-alert {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #e3b76a;
    background: #fff8e8;
    color: #67430d;
    border-radius: 8px;
    margin-bottom: 16px;
}

.golf-stats-grid,
.golf-section-grid {
    display: grid;
    gap: 14px;
}

.golf-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 14px 0 16px;
}

.golf-stat,
.golf-panel {
    border: 1px solid #d9e2dc;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(16, 37, 30, 0.06);
}

.golf-stat {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: left;
}

.golf-stat-label,
.golf-stat small,
.golf-row small,
.golf-club small,
.golf-club span,
.golf-panel-header p {
    color: #64746e;
}

.golf-stat-button {
    appearance: none;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.golf-stat-button:hover,
.golf-stat-button:focus-visible {
    background: #fbfdfb;
    border-color: #80b5a3;
    box-shadow: 0 16px 34px rgba(16, 37, 30, 0.11);
    transform: translateY(-2px);
    outline: none;
}

.golf-stat-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.golf-stat-label .bi {
    color: #2a876b;
    opacity: 0.72;
    transition: transform 160ms ease, opacity 160ms ease;
}

.golf-stat-button:hover .golf-stat-label .bi,
.golf-stat-button:focus-visible .golf-stat-label .bi {
    opacity: 1;
    transform: translateX(3px);
}

.golf-stat strong {
    display: block;
    margin: 4px 0;
    color: #10251e;
    font-size: 2rem;
    line-height: 1;
}

.golf-tabs {
    overflow-x: auto;
    padding: 4px 0 12px;
}

.golf-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    white-space: nowrap;
}

.golf-tab--active {
    background: #e6f3ee;
    border-color: #80b5a3;
    color: #135f4a;
}

.golf-section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.golf-panel {
    padding: 16px;
}

.golf-panel--wide {
    grid-column: span 2;
}

.golf-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.golf-panel-header h2 {
    margin: 0;
    color: #10251e;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.golf-panel-header p {
    margin: 4px 0 0;
    font-size: 0.86rem;
}

.golf-panel-header > .bi,
.golf-panel-header > span {
    color: #2a876b;
    font-size: 1.3rem;
}

.golf-list {
    display: grid;
    gap: 10px;
}

.golf-list--separated {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e3ebe6;
}

.golf-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid #eef3f0;
    padding-bottom: 10px;
}

.golf-row-button {
    width: 100%;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, padding 160ms ease;
}

.golf-row-button:hover,
.golf-row-button:focus-visible,
.golf-row-button--active {
    background: #f2faf6;
    border-color: #b7dacd;
    border-radius: 8px;
    outline: none;
    padding: 10px;
}

.golf-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.golf-row strong,
.golf-row small {
    display: block;
}

.golf-row strong {
    color: #10251e;
}

.golf-row > span {
    flex: 0 0 auto;
    color: #135f4a;
    font-weight: 800;
}

.golf-empty,
.golf-loading {
    color: #64746e;
    padding: 18px 0;
}

.golf-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.golf-form {
    display: grid;
    gap: 12px;
}

.golf-form--nested {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e3ebe6;
}

.golf-form--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.golf-form label {
    display: grid;
    gap: 6px;
    color: #42574f;
    font-size: 0.86rem;
    font-weight: 700;
}

.golf-form input,
.golf-form select,
.golf-form textarea {
    width: 100%;
    border: 1px solid #cfd9d2;
    border-radius: 8px;
    padding: 10px 11px;
    color: #10251e;
    background: #ffffff;
    font: inherit;
    font-weight: 500;
}

.golf-form textarea {
    resize: vertical;
}

.golf-form .golf-check {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    flex-direction: row;
}

.golf-check input {
    width: auto;
}

.golf-action-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.golf-scorecard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 6px;
}

.golf-hole-edit {
    display: grid;
    grid-template-columns: 28px repeat(3, minmax(0, 1fr));
    gap: 6px;
    align-items: center;
    border: 1px solid #e3ebe6;
    border-radius: 8px;
    padding: 8px;
    background: #fbfdfb;
}

.golf-hole-edit span {
    color: #135f4a;
    font-weight: 800;
    text-align: center;
}

.golf-hole-edit input {
    min-width: 0;
    padding: 7px 6px;
    text-align: center;
}

.golf-trend {
    min-height: 150px;
    display: flex;
    align-items: end;
    gap: 8px;
    padding-top: 16px;
}

.golf-trend-point {
    width: 100%;
    min-width: 24px;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #e0b84e, #2a876b);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding-top: 5px;
}

.golf-club-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.golf-club {
    display: grid;
    gap: 3px;
    border: 1px solid #e3ebe6;
    border-radius: 8px;
    padding: 12px;
    min-height: 96px;
    text-align: left;
}

.golf-club-button {
    width: 100%;
    background: #ffffff;
    color: inherit;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.golf-club-button:hover,
.golf-club-button:focus-visible,
.golf-club-button--active {
    border-color: #80b5a3;
    box-shadow: 0 12px 26px rgba(16, 37, 30, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.golf-club strong {
    color: #10251e;
}

.golf-tip {
    margin: 0;
    color: #42574f;
    line-height: 1.55;
}

@media (max-width: 920px) {
    .golf-header {
        flex-direction: column;
    }

    .golf-stats-grid,
    .golf-section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .golf-panel--wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .golf-suite {
        width: min(100vw - 20px, 1180px);
        margin-top: 14px;
        padding: 14px;
    }

    .golf-stats-grid,
    .golf-section-grid,
    .golf-form--two,
    .golf-club-grid,
    .golf-scorecard {
        grid-template-columns: 1fr;
    }

    .golf-panel--wide {
        grid-column: span 1;
    }

    .golf-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
