html.arena-ls-open { overflow: hidden; }

#arena-location-selector,
.arena-ls-fallback .arena-ls-panel {
    --arena-ls-purple: #572891;
    box-sizing: border-box;
    width: min(460px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    padding: 34px 28px 28px;
    overflow-y: auto;
    border: 0;
    border-radius: 20px;
    background: #fff;
    color: #231631;
    box-shadow: 0 20px 70px #21122e30;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

#arena-location-selector {
    position: fixed;
    inset: 0;
    margin: auto;
    font-family: "Barlow", Arial, sans-serif;
    font-weight: 400;
}
#arena-location-selector:not([open]) { display: none; }
#arena-location-selector::backdrop { background: #1b102966; }
#arena-location-selector h2,
.arena-ls-fallback h1 { margin: 0 32px 8px 0; color: inherit; font-size: clamp(25px, 6vw, 32px); line-height: 1.15; }
#arena-location-selector h2 {
    font-family: "Anton", Impact, "Arial Narrow", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}
.arena-ls-fallback h1 { font-weight: 700; }
#arena-location-selector p,
.arena-ls-fallback p { margin: 0 0 20px; }

#arena-location-selector .arena-ls-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #362445;
    font: 30px/1 sans-serif;
    cursor: pointer;
}

#arena-location-selector .arena-ls-locations,
.arena-ls-fallback .arena-ls-locations { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
#arena-location-selector .arena-ls-locations a,
.arena-ls-fallback .arena-ls-locations a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid #e5d9f0;
    border-radius: 12px;
    background: #f6f1fc;
    color: var(--arena-ls-purple);
    text-decoration: none;
    font-weight: 700;
    overflow-wrap: anywhere;
}
#arena-location-selector .arena-ls-locations a { font-family: inherit; font-weight: 600; }

#arena-location-selector .arena-ls-locations a:hover,
.arena-ls-fallback .arena-ls-locations a:hover { background: #ede1f9; border-color: var(--arena-ls-purple); }
#arena-location-selector .arena-ls-close:hover { background: #f6f1fc; }
#arena-location-selector :focus-visible,
.arena-ls-fallback :focus-visible { outline: 3px solid var(--arena-ls-purple); outline-offset: 3px; }
#arena-location-selector [hidden] { display: none !important; }
#arena-location-selector .arena-ls-empty { margin-bottom: 0; }
.arena-ls-fallback { box-sizing: border-box; display: grid; place-items: center; min-height: 100dvh; margin: 0; padding: 20px 0; background: #f6f1fc; font-family: system-ui, sans-serif; }
.arena-ls-fallback .arena-ls-home { display: inline-block; margin-top: 24px; color: var(--arena-ls-purple); }
