.es-setup-container { max-width: 940px; }
.es-setup-form { padding: clamp(20px, 4vw, 38px); }
.es-setup-steps { display: flex; gap: 12px; padding: 0; margin: 0 0 26px; list-style: none; }
.es-setup-steps li { display: flex; align-items: center; gap: 9px; flex: 1; color: #536173; font-size: .88rem; font-weight: 700; }
.es-setup-steps span { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #e6e9ee; color: #162c46; }
.es-setup-steps .is-current { color: #122d49; }
.es-setup-steps .is-current span { background: #c52c3e; color: white; }
.es-small-link { color: #a82236; background: none; border: 0; padding: 0; text-decoration: underline; font-size: .88rem; font-weight: 700; }
.es-setup-section-title { font-size: 1.25rem; color: #102944; margin: 30px 0 12px; }
.es-support-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px; margin: 9px 0; border: 1px solid #d8dee7; border-radius: 10px; }
.es-support-row.is-selected { border-color: #c52c3e; background: #fff7f8; }
.es-support-choice { display: flex; align-items: flex-start; gap: 10px; color: #122d49; font-size: .95rem; cursor: pointer; }
.es-support-choice input { flex: 0 0 auto; margin-top: 4px; accent-color: #be263d; }
.es-playing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.es-town-picker, .es-club-picker { position: relative; }
.es-search-results { list-style: none; padding: 0; margin: 8px 0; border: 1px solid #d5dce7; border-radius: 10px; overflow: auto; max-height: 260px; background: #fff; }
.es-search-results button { display: block; border: 0; border-bottom: 1px solid #e8ebef; background: #fff; width: 100%; padding: 12px; text-align: left; color: #132d48; font-size: .95rem; }
.es-search-results button:hover, .es-search-results button:focus { background: #edf2f8; outline: 2px solid #7b264b; outline-offset: -2px; }
[hidden] { display: none !important; }
.es-town-map-wrap { width: 100%; min-width: 0; }
.es-town-map { height: 460px; border-radius: 14px; overflow: hidden; background: #dce4ed; isolation: isolate; }
.es-map-feature { align-items: stretch; }
.es-map-feature .es-feature-copy { width: 45%; max-width: none; flex: 0 0 45%; }
.es-map-feature .es-town-map-wrap { width: 55%; padding: 12px; }
.es-map-feature .es-town-map { height: 300px; }
.es-town-marker { background: transparent; }
.es-town-flag { display: block; width: 38px; height: 26px; background: linear-gradient(90deg, transparent 43%, #c52438 43%, #c52438 57%, transparent 57%), linear-gradient(transparent 39%, #c52438 39%, #c52438 61%, transparent 61%), #fff; border: 1px solid #c5ced8; box-shadow: 0 2px 8px #102a4755; }
.es-town-marker b { display: block; background: #122d49; color: #fff; width: max-content; min-width: 24px; border-radius: 20px; padding: 1px 6px; margin: -3px 0 0 19px; font-size: 12px; text-align: center; }
.es-town-cluster { display: grid; place-items: center; background: #142d4a; border: 3px solid #fff; border-radius: 50%; color: #fff; font-weight: 800; box-shadow: 0 2px 8px #102a4740; }
@media (max-width: 600px) {
    .es-setup-steps { gap: 6px; }
    .es-setup-steps li { flex-direction: column; align-items: flex-start; font-size: .74rem; gap: 5px; }
    .es-support-row, .es-playing-grid { grid-template-columns: 1fr; }
    .es-map-feature { flex-direction: column; }
    .es-map-feature .es-feature-copy, .es-map-feature .es-town-map-wrap { width: 100%; flex-basis: auto; }
    .es-town-map { height: 360px; }
}

.es-support-row:not(.is-selected) { grid-template-columns: 1fr; }

/* Keep the two support columns compact, with enough room for activity labels. */
.es-support-columns .es-support-row { grid-template-columns: 1fr; gap: 9px; }
.es-support-columns .es-support-frequency { max-width: 240px; }

.es-profile-edit-nav { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 992px) {
    .es-home-page .es-memory-feature { align-items: stretch; }
}

.es-profile-top-save { margin-left: auto; white-space: nowrap; }
@media (max-width: 767.98px) {
    .es-profile-edit-nav { gap: 8px; }
    .es-profile-top-save { margin-left: 0; }
}
