/* Switch data-gig-layout on #venue_search_container between modern and classic. */
#venue_search_container[data-gig-layout="modern"] > .cm-gig-legacy { display: none; }
#venue_search_container[data-gig-layout="classic"] > .cm-gig-modern { display: none; }
.cm-gig-modern { --gig-gold: #f9bd2c; max-width: 1180px; margin: 0 auto; padding: 4px 0 16px; font-family: Poppins, sans-serif; }
.cm-gig-modern .cm-gig-heading { color: var(--gig-gold); font: 800 clamp(32px, 5.5vw, 82px)/1.12 Poppins, sans-serif; text-align: center; letter-spacing: -2px; margin: 0 0 10px; }
.cm-gig-modern button { font-family: inherit; cursor: pointer; }
.cm-gig-calendar { display: flex; align-items: center; gap: 14px; margin: 0 auto 20px; }
.cm-gig-days { display: flex; flex: 1; justify-content: space-between; gap: 8px; min-width: 0; }
.cm-gig-modern .cm-gig-day { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--gig-gold); border: 0; border-bottom: 2px solid transparent; background: none; padding: 7px 5px; white-space: nowrap; font-size: 16px; font-weight: 600; }
.cm-gig-day small { font-size: 13px; }
.cm-gig-modern .cm-gig-day:hover, .cm-gig-modern .cm-gig-day[aria-pressed="true"] { color: #fff; border-bottom-color: var(--gig-gold); }
.cm-gig-modern .cm-gig-arrow { flex: 0 0 40px; height: 40px; background: transparent; border: 1px solid var(--gig-gold); border-radius: 3px; color: var(--gig-gold); font-size: 30px; line-height: 1; }
.cm-gig-modern button:disabled { opacity: .35; cursor: default; }
.cm-gig-picker { display: inline-flex; align-items: center; gap: 6px; min-height: 54px; padding: 0 14px; border: 1px solid var(--gig-gold); border-radius: 4px; position: relative; color: var(--gig-gold); margin: 0; white-space: nowrap; font-size: 15px; cursor: pointer; }
.cm-gig-picker span { font-size: 23px; vertical-align: middle; }
.cm-gig-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; color-scheme: dark; }
.cm-gig-location-form { display: flex; align-items: center; gap: 18px; max-width: 1100px; margin: auto; }
.cm-gig-location-field { flex: 1; display: flex; align-items: center; gap: 14px; border: 1px solid #626262; border-radius: 4px; background: #262626; padding: 0 16px; margin: 0; min-width: 0; }
.cm-gig-location-field > span:first-child { color: var(--gig-gold); font-size: 23px; }
.cm-gig-modern #cm-gig-location { width: 100%; min-width: 0; height: 52px; padding: 0; background: transparent; border: 0; color: white; box-shadow: none; font: 400 16px Poppins, sans-serif; }
.cm-gig-modern #cm-gig-location::placeholder { color: #bfbfbf; opacity: 1; }
.cm-gig-modern .cm-gig-near { height: 54px; padding: 0 28px; border: 1px solid var(--gig-gold); border-radius: 4px; background: none; color: var(--gig-gold); font-size: 17px; font-weight: 600; white-space: nowrap; }
.cm-gig-near span { margin-right: 8px; font-size: 23px; vertical-align: middle; }
.cm-gig-modern .cm-gig-locate { height: 54px; border: 1px solid var(--gig-gold); border-radius: 4px; padding: 0 20px; color: var(--gig-gold); background: none; font-size: 16px; white-space: nowrap; }
.cm-gig-locate span { margin-right: 8px; font-size: 26px; vertical-align: middle; }
.cm-gig-modern .cm-gig-summary { margin: 16px 0 0; color: #e0e0e0; font-size: 16px; text-align: center; }
.cm-gig-modern button:focus-visible, .cm-gig-location-field:focus-within, .cm-gig-picker:focus-within { outline: 2px solid #fff; outline-offset: 4px; }
.cm-gig-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:1000px) { .cm-gig-calendar { gap: 8px; flex-wrap: wrap; } .cm-gig-days { overflow-x: auto; justify-content: flex-start; } .cm-gig-modern .cm-gig-day { font-size: 14px; } .cm-gig-location-form { gap: 12px; } .cm-gig-modern .cm-gig-locate { padding-left: 14px; font-size: 14px; } .cm-gig-modern .cm-gig-near { padding: 0 16px; } }
@media(max-width:700px) { .cm-gig-modern { padding: 8px 10px 20px; } .cm-gig-modern .cm-gig-heading { letter-spacing: -1px; margin-bottom: 16px; } .cm-gig-days { order: 0; flex-basis: calc(100% - 100px); } .cm-gig-picker { order: 2; margin: 4px auto 0; } .cm-gig-calendar { margin-bottom: 16px; } .cm-gig-location-form { flex-wrap: wrap; } .cm-gig-location-field { flex-basis: 100%; } .cm-gig-modern .cm-gig-near, .cm-gig-modern .cm-gig-locate { flex: 1; height: 46px; padding: 0 10px; } .cm-gig-modern .cm-gig-summary { font-size: 13px; } }

.cm-gig-modern .cm-gig-day > span { color: inherit; }
.cm-gig-modern .cm-gig-near > span, .cm-gig-modern .cm-gig-locate > span, .cm-gig-modern .cm-gig-picker > span { color: var(--gig-gold); }

.cm-gig-modern .cm-gig-summary { cursor: help; }
.cm-gig-modern .cm-gig-stat-details, .cm-gig-modern .cm-gig-day-message { text-align: center; color: #ddd; font-size: 14px; margin: 8px 0; }
.cm-gig-modern .cm-gig-stat-details[hidden], .cm-gig-modern .cm-gig-next-local[hidden] { display: none; }
.cm-gig-modern .cm-gig-summary:hover + .cm-gig-stat-details, .cm-gig-modern .cm-gig-summary:focus + .cm-gig-stat-details { display: block; }
.cm-gig-modern .cm-gig-next-local { display: block; margin: 10px auto 0; border: 1px solid var(--gig-gold); border-radius: 4px; padding: 10px 16px; color: var(--gig-gold); background: transparent; }

.cm-gig-modern .cm-gig-summary-block { position: relative; }
.cm-gig-modern .cm-gig-stat-details { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: min(560px, 95vw); max-width: 100%; padding: 12px 16px; border: 1px solid var(--gig-gold); border-radius: 4px; background: #262626; z-index: 20; pointer-events: none; box-shadow: 0 5px 20px #0008; }

/* Radius belongs beneath both location action buttons, at the selector's right edge. */
.cm-gig-modern .cm-gig-radius-row { width: min(390px, 100%); margin: 14px 0 0 auto; padding: 0 2px; }
.cm-gig-modern .cm-gig-radius-row label { display: flex; justify-content: space-between; gap: 12px; color: #ddd; font-size: 13px; margin: 0 0 5px; font-weight: 500; }
.cm-gig-modern .cm-gig-radius-row output { display: inline; padding: 0; color: var(--gig-gold); font-size: inherit; }
.cm-gig-modern #cm-gig-radius { display: block; width: 100%; height: 22px; margin: 0; accent-color: var(--gig-gold); cursor: pointer; }
.cm-gig-modern #cm-gig-radius:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media(max-width:700px) { .cm-gig-modern .cm-gig-radius-row { width: 100%; } }

.cm-gig-modern .cm-gig-feedback { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 0 18px; max-width: 1100px; margin: 0 auto; }
.cm-gig-modern .cm-gig-feedback > .cm-gig-radius-row { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-bottom: 2px; }
.cm-gig-modern .cm-gig-feedback > .cm-gig-summary-block, .cm-gig-modern .cm-gig-feedback > .cm-gig-day-message, .cm-gig-modern .cm-gig-feedback > .cm-gig-next-local { grid-column: 1; }
@media(max-width:700px) { .cm-gig-modern .cm-gig-feedback { display: flex; flex-direction: column; } }

.cm-gig-modern .cm-gig-radius-track { position: relative; }
.cm-gig-modern #cm-gig-radius-flag { position: absolute; bottom: calc(100% + 8px); z-index: 30; padding: 6px 10px; border: 1px solid var(--gig-gold); border-radius: 4px; background: #262626; color: var(--gig-gold); font: 600 13px/1.4 Poppins,sans-serif; white-space: nowrap; pointer-events: none; box-shadow: 0 3px 12px #0006; }
.cm-gig-modern #cm-gig-radius-flag[hidden] { display: none; }
.cm-gig-modern #cm-gig-radius-flag::after { content: ''; position: absolute; left: var(--flag-tip,50%); bottom: -5px; width: 8px; height: 8px; background: #262626; border-right: 1px solid var(--gig-gold); border-bottom: 1px solid var(--gig-gold); transform: translateX(-50%) rotate(45deg); }
