.golf-team-page {
    max-width: 1180px;
    margin: 0 auto;
}

.golf-team-card {
    padding: 24px;
}

.golf-team-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 24px;
    align-items: start;
}

.golf-team-left,
.golf-team-right {
    min-width: 0;
}

.golf-team-mode-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.golf-team-mode {
    display: flex;
    gap: 10px;
    padding: 14px;
    border: 1px solid #dbe1ea;
    border-radius: 18px;
    background: #f8fafc;
    cursor: pointer;
    transition: 0.18s ease;
}

.golf-team-mode input {
    margin-top: 4px;
    accent-color: #0f172a;
}

.golf-team-mode strong {
    display: block;
    font-size: 14px;
    color: #111827;
    margin-bottom: 4px;
}

.golf-team-mode em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.golf-team-mode.active {
    border-color: #0f172a;
    background: #fff;
}

.golf-team-panel-head,
.golf-team-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.golf-team-count,
#teamResultCount {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
}

.golf-team-textarea {
    min-height: 330px;
    resize: vertical;
    line-height: 1.7;
    font-size: 14px;
}

.golf-team-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.golf-team-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.golf-team-btn-row .utility-btn {
    min-width: 112px;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
}

.golf-team-btn-row .utility-btn-primary {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.golf-team-message {
    min-height: 22px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.golf-team-message.is-error {
    color: #dc2626;
}

.golf-team-message.is-success {
    color: #2563eb;
}

.golf-team-result-head {
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #f8fafc;
}

.golf-team-result-head strong {
    display: block;
    font-size: 15px;
    color: #111827;
    margin-bottom: 4px;
}

.golf-team-result-head p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

.golf-team-result {
    min-height: 500px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #f8fafc;
    padding: 16px;
}

.golf-team-empty {
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

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

.golf-team-box {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.golf-team-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.golf-team-title strong {
    font-size: 15px;
    color: #111827;
}

.golf-team-title span {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.golf-team-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fbfdff;
}

.golf-team-summary div {
    padding: 8px 10px;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 12px;
    color: #64748b;
}

.golf-team-summary strong {
    display: block;
    margin-top: 3px;
    color: #111827;
    font-size: 13px;
}

.golf-team-members {
    list-style: none;
    margin: 0;
    padding: 10px 16px 14px;
}

.golf-team-members li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #edf2f7;
    font-size: 14px;
    color: #334155;
}

.golf-team-members li:last-child {
    border-bottom: 0;
}

.golf-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.help-panel {
    margin-top: 32px;
}

.help-panel .help-box + .help-box {
    margin-top: 18px;
}

@media (max-width: 960px) {
    .golf-team-layout {
        grid-template-columns: 1fr;
    }

    .golf-team-result {
        min-height: 260px;
    }

    .golf-team-empty {
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    .golf-team-card {
        padding: 18px;
    }

    .golf-team-mode-box,
    .golf-team-options,
    .golf-team-summary {
        grid-template-columns: 1fr;
    }

    .golf-team-btn-row {
        flex-direction: column;
    }

    .golf-team-btn-row .utility-btn {
        width: 100%;
        min-width: 100%;
        height: 44px;
    }

    .golf-team-members li {
        grid-template-columns: 1fr;
    }
}