body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #101814;
    color: #fff;
}

header {
    background: #17251d;
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #2c4636;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

main {
    padding: 16px;
    max-width: 700px;
    margin: auto;
}

h2, h3 {
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    margin-bottom: 14px;
    font-size: 18px;
}

button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 18px;
    margin-bottom: 12px;
    cursor: pointer;
}

.big-button {
    background: #33b864;
    color: #fff;
    font-weight: bold;
}

.secondary-button {
    background: #315f45;
    color: #fff;
}

.danger-button {
    background: #9b3434;
    color: #fff;
}

.round-card,
.shot-card {
    display: block;
    background: #1b2a21;
    border: 1px solid #2f4738;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    color: #fff;
    text-decoration: none;
}

.round-card span,
.shot-card span,
.shot-card small {
    display: block;
    margin-top: 5px;
    color: #c7d5cc;
}

.flash {
    background: #664d03;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
}

input[type="text"] {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    margin-bottom: 14px;
    font-size: 16px;
    box-sizing: border-box;
}

#map {
    width: 100%;
    height: 70vh;
    min-height: 400px;
    border-radius: 14px;
    overflow: hidden;
    background: #1b2a21;
    margin-top: 14px;
}

.back-link {
    display: block;
    color: #9ee6b5;
    margin-bottom: 12px;
    text-decoration: none;
}

.map-button {
    display: block;
    text-align: center;
    background: #244d37;
    color: #fff;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: bold;
}

.leaflet-container {
    height: 100%;
    width: 100%;
}

.gps-status {
    background: #1b2a21;
    border: 1px solid #2f4738;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    color: #c7d5cc;
    text-align: center;
    min-height: 24px;
}

.course-picker {
    margin-top: 8px;
    opacity: 0.85;
}

.course-picker label {
    font-size: 14px;
    color: #c7d5cc;
}

.muted {
    color: #c7d5cc;
    margin-top: -6px;
}

.hole-admin-card {
    background: #1b2a21;
    border: 1px solid #2f4738;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.hole-admin-card input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
    box-sizing: border-box;
    font-size: 16px;
}

.round-top {
    text-align: center;
    margin-bottom: 14px;
}

.course-small {
    font-size: 13px;
    color: #8fa99a;
    margin-bottom: 4px;
}

.round-top h2 {
    font-size: 34px;
    margin: 4px 0 10px;
}

.distance-box {
    background: #244d37;
    border: 1px solid #3f7657;
    padding: 14px;
    border-radius: 14px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.muted-box {
    background: #1b2a21;
    color: #c7d5cc;
    font-size: 16px;
}

.shot-form {
    margin-top: 14px;
}

.hole-collapse {
    background: #142018;
    border: 1px solid #2f4738;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.hole-collapse summary {
    list-style: none;
    cursor: pointer;
    padding: 14px;
    background: #1b2a21;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.hole-collapse summary::-webkit-details-marker {
    display: none;
}

.hole-collapse summary::after {
    content: "▼";
    font-size: 13px;
    color: #9ee6b5;
}

.hole-collapse:not([open]) summary::after {
    content: "▶";
}

.hole-collapse .shot-card {
    margin: 10px;
}