/* Account entry: shared geometry for guest, dancer and club forms. */
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell) {
  --dancr-form-height: 50px;
  --dancr-form-border: #34343c;
}
body.dancr-button-system :is(#authPage .auth-choice-card, #dancerSignupPage .dancer-signup-card, .account-shell .account-panel) {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(16px, 4vw, 20px) !important;
  border: 1px solid var(--dancr-form-border) !important;
  border-radius: 24px !important;
  background: #08080c !important;
  box-shadow: none !important;
}
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell .account-panel) :is(.auth-form, .venue-request-grid) { gap: 14px; min-width: 0; }
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell .account-panel) :is(.field, label) { gap: 6px; min-width: 0; }
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell .account-panel) :is(label, .field > label) {
  color: #cbd5e1 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-transform: none !important;
  letter-spacing: .015em !important;
}
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell .account-panel) :is(input:not([type="checkbox"]):not([type="hidden"]), select, textarea) {
  box-sizing: border-box;
  width: 100%; min-width: 0;
  min-height: var(--dancr-form-height) !important;
  padding: 12px 14px !important;
  border: 1px solid var(--dancr-form-border) !important;
  border-radius: 12px !important;
  color: #f8fafc !important;
  background: linear-gradient(#08080c, #08080c) !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell .account-panel) :is(.password-wrap, .password-control) input { padding-right: 56px !important; }
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell .account-panel) :is(.password-toggle, .password-control button) {
  width: 44px !important; min-width: 44px !important; height: 44px !important; min-height: 44px !important;
  padding: 0 !important; border: 0 !important; border-radius: 8px !important;
  color: #b8bac6 !important; background: transparent !important; box-shadow: none !important;
}
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell .account-panel) :is(input, select, textarea, button, a):focus-visible {
  outline: 2px solid #c4b5fd !important; outline-offset: 3px !important;
}
/* Merge the field highlight with its border instead of drawing a second frame. */
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell .account-panel) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
  outline: 2px solid #c4b5fd !important;
  outline-offset: -2px !important;
  box-shadow: none !important;
}
body.dancr-button-system :is(#authPage, #dancerSignupPage, .account-shell .account-panel) :is(button[type="submit"], .continue-signup) {
  min-height: var(--dancr-form-height) !important;
  padding: 12px 16px !important;
  border: 1px solid rgba(196,181,253,.45) !important;
  border-radius: 12px !important;
  background: linear-gradient(110deg, #7c3aed, #6d28d9) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important; font-weight: 700 !important;
}
body.dancr-button-system :is(#authPage, #dancerSignupPage) .page-head h2 { font-size: 22px !important; font-weight: 650 !important; letter-spacing: -.025em; }
body.dancr-button-system :is(#authPage, #dancerSignupPage) :is(.field-note, .rule-note, .venue-request-privacy, .venue-request-section > p) {
  color: #b8bac6; font-size: 13px !important; font-weight: 400 !important; line-height: 1.5 !important; margin-block: 0;
}
body.dancr-button-system #authPage :is(.venue-request-intro, .venue-request-section) {
  padding: 12px !important; border: 1px solid var(--dancr-form-border) !important;
  border-radius: 16px !important; background: linear-gradient(#08080c, #08080c) !important; box-shadow: none !important;
}
body.dancr-button-system #authPage :is(.venue-request-section-head strong, .venue-auth-mode-copy strong, .venue-request-intro strong) { font-size: 16px !important; font-weight: 650 !important; line-height: 1.4 !important; }
body.dancr-button-system #authPage :is(.venue-request-section-head > span, .venue-request-intro > span, .venue-auth-mode-copy > span) { color: #b8bac6 !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.5 !important; margin-block: 0; }
body.dancr-button-system #authPage .venue-request-consent { align-items: start; }
body.dancr-button-system #authPage .venue-request-consent input { accent-color: #8b5cf6; }
body.dancr-button-system #dancerSignupPage .dancer-signup-progress { margin: 0; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--dancr-form-border); border-radius: 0; background: transparent; }
body.dancr-button-system #dancerSignupPage .dancer-signup-progress-copy :is(span, strong) { font-size: 13px; font-weight: 600; color: #ddd6fe; }
body.dancr-button-system #dancerSignupPage .dancer-signup-progress-track i.active { background: #8b5cf6; box-shadow: none; }
body.dancr-button-system .account-shell .account-panel .segmented button { min-height: 44px !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 600 !important; }
body.dancr-button-system .account-shell .account-panel .segmented button.active { border: 1px solid rgba(196,181,253,.4) !important; background: linear-gradient(135deg,#51278b,#35204f) !important; box-shadow: none !important; }
@media (max-width: 520px) {
  body.dancr-button-system #authPage .venue-request-grid { grid-template-columns: minmax(0,1fr); }
  body.dancr-button-system #authPage .venue-request-section { padding: 12px !important; }
}

/* Compact public entry, with full-size fields and quiet secondary actions. */
body.dancr-button-system :is(#authPage, #dancerSignupPage) > .page-inner { width: min(100%, 500px); gap: 10px; }
body.dancr-button-system :is(#authPage, #dancerSignupPage) .page-head { margin: 0; padding: 6px 2px; gap: 12px; border: 0 !important; }
body.dancr-button-system :is(#authPage, #dancerSignupPage) .page-head h2 { margin: 4px 0 0; line-height: 1.25; }
/* Keep the header's top/content geometry intact so the close control never moves. */
body.dancr-button-system #authPage > .page-inner { gap: 8px; }
body.dancr-button-system #authPage .page-head { padding-bottom: 2px; }
body.dancr-button-system #authPage .auth-choice-card {
  gap: 12px; padding: 16px clamp(16px, 4vw, 20px) 12px !important;
  border-color: #292930 !important; background: #0c0c11 !important;
}
body.dancr-button-system #authPage .auth-entry-tabs { padding: 0; border: 0; border-radius: 12px; background: #08080c; }
body.dancr-button-system #authPage .auth-entry-tab { padding-block: 8px; color: #d0d2dc !important; }
body.dancr-button-system #authPage .auth-entry-tab.active { color: #fff !important; background: linear-gradient(#160e24, #160e24) !important; border-color: #745696 !important; box-shadow: none !important; }
body.dancr-button-system #authPage .auth-selected-role span { color: #c3c6d2; line-height: 1.5; }
body.dancr-button-system #authPage .auth-choice-card > .auth-form { gap: 12px; }
body.dancr-button-system #authPage .auth-choice-card > .auth-form .field > label { color: #d5d9e3 !important; }
body.dancr-button-system #authPage .auth-choice-card > .auth-form .field :is(input, select, textarea) {
  min-height: 44px !important; padding-block: 9px !important;
}
body.dancr-button-system #authPage .auth-choice-card > .auth-form .field :is(input, textarea)::placeholder { color: #a6afc0; opacity: 1; }
body.dancr-button-system #authPage .auth-choice-card > .auth-form .field :is(input, select, textarea):focus {
  border-color: #8b6bb5 !important;
}
body.dancr-button-system #authPage .auth-choice-card > .auth-form .password-toggle { backdrop-filter: none !important; }
body.dancr-button-system #authPage #authSubmit {
  min-height: 45px !important; padding-block: 10px !important;
  border-color: rgba(196,181,253,.35) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 12px rgba(109,40,217,.12) !important;
}
body.dancr-button-system #authPage .auth-admin-entry {
  width: 100%; min-height: 44px; margin-top: -4px;
  border-top: 1px solid #23232b; border-radius: 0;
  color: #9ca0af; font-size: 11px;
}
body.dancr-button-system #authPage .auth-account-choice {
  min-height: 76px; padding: 12px; gap: 10px; grid-template-columns: 32px minmax(0, 1fr) auto;
  border-color: var(--dancr-form-border) !important; background: linear-gradient(#08080c, #08080c) !important; box-shadow: none !important;
}
body.dancr-button-system #authPage .auth-account-choice:is(:hover, :focus-visible) { border-color: #745696 !important; }
body.dancr-button-system #authPage .auth-account-choice-icon { width: 32px; border: 0; border-radius: 0; background: transparent; }
body.dancr-button-system #authPage .auth-account-choice strong { font-size: 15px; }
body.dancr-button-system #authPage .auth-account-choice small { color: #b8bac6 !important; }
body.dancr-button-system #authPage .auth-account-choice-arrow { color: #b8bac6; }
body.dancr-button-system :is(#authPage .auth-help-row, .account-shell .auth-help-row) {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-block: 0;
}
body.dancr-button-system :is(#authPage .auth-help-row .forgot-password-link, .account-shell .forgot-password) {
  width: auto !important; min-height: 44px !important; padding: 4px 0 !important; border: 0 !important;
  border-radius: 4px !important; color: #b8bac6 !important; background: transparent !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  font-size: 12px !important; font-weight: 500 !important;
}
body.dancr-button-system :is(#authPage .auth-help-row .forgot-password-link, .account-shell .forgot-password):is(:hover, :focus-visible) {
  color: #fff !important; text-decoration: underline; text-underline-offset: 3px;
}
body.dancr-button-system #authPage :is(.auth-back-to-types, .venue-request-back) {
  min-height: 44px; margin: 0; padding: 4px 2px !important; color: #b8bac6 !important; font-size: 12px !important; font-weight: 500 !important;
}
body.dancr-button-system #authPage :is(.venue-request-intro, .venue-request-section, .venue-signup-step, .venue-account-fields) { gap: 12px; }
body.dancr-button-system #authPage :is(.venue-request-section-head, .venue-signup-step-head) { gap: 4px; }
body.dancr-button-system #authPage .venue-signup-step { padding: 12px; border-color: var(--dancr-form-border); background: #08080c; box-shadow: none; }
body.dancr-button-system #authPage .venue-code-verify { width: 100%; min-height: 50px !important; padding: 12px 16px !important; border-radius: 12px !important; border-color: #745696 !important; background: linear-gradient(110deg, #7c3aed, #6d28d9) !important; box-shadow: none !important; }

body.dancr-button-system #authPage:not(.venue-request-succeeded) .venue-request-back {
  display: inline-flex; align-items: center; justify-content: center; border: 0 !important; background: transparent !important; box-shadow: none !important;
}
body.dancr-button-system #authPage:not(.venue-request-succeeded) .venue-request-back:is(:hover, :focus-visible) { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
body.dancr-button-system #authPage .auth-help-row[hidden] { display: none !important; }
body.dancr-button-system :is(#authPage, #dancerSignupPage) .auth-signup-guidance { display: grid; gap: 8px; }
body.dancr-button-system :is(#authPage, #dancerSignupPage) .auth-signup-guidance p {
  margin: 0; padding: 0; border: 0; color: #b8bac6; background: transparent; font-size: 12px; font-weight: 400; line-height: 1.5;
}
body.dancr-button-system :is(#authPage, #dancerSignupPage) .auth-signup-guidance a {
  justify-self: start; display: inline-flex; align-items: center; min-height: 44px; margin-block: -8px;
  color: #b8bac6; font-size: 12px; text-decoration: underline; text-underline-offset: 3px;
}
body.dancr-button-system #authPage .auth-signup-note { border-color: var(--dancr-form-border) !important; background: linear-gradient(#08080c, #08080c) !important; }
body.dancr-button-system #authPage .auth-signup-note-copy { font-weight: 400; }

/* Only server-confirmed actions opt in to the shared completion appearance. */
body.dancr-button-system :is(.dashboard-shell, .dancer-profile-preview-overlay, #dancer-profile-builder-panel) button[data-action-state="success"] {
  color: #a7f3d0 !important; border-color: rgba(110,231,183,.38) !important;
  background: #14372d !important; box-shadow: none !important; opacity: 1 !important;
}
body.dancr-button-system [data-action-state="saving"] { cursor: progress; }
body.dancr-button-system .dashboard-shell p[data-action-state="success"],
body.dancr-button-system .dancer-social-link-modal p[data-action-state="success"] { color: #a7f3d0 !important; }
body.dancr-button-system .dashboard-shell p[data-action-state="error"],
body.dancr-button-system .dancer-social-link-modal p[data-action-state="error"] { color: #fecdd3 !important; }
body.dancr-button-system .customer-notification-switch .customer-switch-state { min-width: 52px; font-size: 11px; }
body.dancr-button-system :is(.dashboard-shell, .dancer-profile-preview-overlay, #dancer-profile-builder-panel) button[data-action-state="success"]::before,
body.dancr-button-system :is(.dashboard-shell, .dancer-profile-preview-overlay, #dancer-profile-builder-panel) button[data-action-state="success"]::after { background: none !important; box-shadow: none !important; }
body.dancr-button-system .dashboard-shell .customer-settings-panel button.customer-notification-switch { width: 108px !important; min-width: 108px !important; }

/* Dashboards share surfaces and typography while retaining their role-specific grids. */
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) {
  --mydancr-dashboard-gap: 18px;
  --mydancr-dashboard-panel: #111118;
  --mydancr-dashboard-panel-raised: #16161f;
  --mydancr-dashboard-border: rgba(196,181,253,.18);
  --mydancr-dashboard-radius: 18px;
  --mydancr-dashboard-muted: #b8b5c6;
}
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .dashboard-head {
  gap: 16px; margin-bottom: 18px; padding: 20px !important;
  border: 1px solid var(--mydancr-dashboard-border) !important; border-radius: 24px !important;
  background: radial-gradient(ellipse at top left,rgba(124,58,237,.09),transparent 65%),#111118 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .dashboard-head h1 {
  font-size: clamp(22px,5vw,28px) !important; font-weight: 650 !important;
  line-height: 1.2 !important; letter-spacing: -.025em !important;
}
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .dashboard-head :is(.eyebrow,p) { color: #c4b5fd; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .1em; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) :is(.info-panel,.venue-dashboard-section,.venue-command-panel) {
  border-color: var(--mydancr-dashboard-border) !important;
  border-radius: var(--mydancr-dashboard-radius) !important;
  background: var(--mydancr-dashboard-panel) !important; box-shadow: none !important;
}
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) :is(.info-panel,.venue-command-panel) { padding: 18px; gap: 16px; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) :is(.info-panel > h2,.venue-command-status h2,.customer-section-heading h2) {
  color: #f8fafc; font-size: 20px !important; font-weight: 650 !important; line-height: 1.3 !important; letter-spacing: -.02em;
}
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section > summary { min-height: 80px; padding: 18px; gap: 12px; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section[open] > summary { background: rgba(124,58,237,.07); border-bottom-color: var(--mydancr-dashboard-border); }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section-copy { gap: 6px; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section-copy > strong { font-size: 18px !important; font-weight: 650 !important; line-height: 1.3 !important; letter-spacing: -.015em; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section-copy > span:last-child { color: var(--mydancr-dashboard-muted); font-size: 13px !important; font-weight: 400 !important; line-height: 1.5 !important; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section-body { gap: 18px; padding: 16px; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) :is(.venue-dashboard-section-body,.venue-dashboard-inner-grid,.customer-settings-grid) > .info-panel {
  border-color: transparent !important; background: var(--mydancr-dashboard-panel-raised) !important; border-radius: 14px !important;
}
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section-toggle { width: 32px; height: 32px; border-color: rgba(196,181,253,.22); color: #ddd6fe; background: #252033; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section-badge { padding: 6px 10px; border-color: rgba(196,181,253,.22); color: #ddd6fe; background: #252033; font-size: 11px; font-weight: 600; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) :is(.customer-dashboard-nav,.venue-workspace-tabs) {
  padding: 6px; gap: 6px; border: 1px solid var(--mydancr-dashboard-border) !important;
  border-radius: 18px; background: #111118 !important; box-shadow: none !important;
}
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) :is(.customer-dashboard-nav a,.venue-workspace-tabs button) {
  border: 1px solid transparent; border-radius: 12px; color: #e2deed !important;
  background: #1b1b26 !important; box-shadow: none !important; font-size: 13px; font-weight: 600;
}
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .customer-dashboard-utility-links a { min-height: 44px; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-workspace-tabs button { min-height: 64px; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-workspace-tabs strong { font-size: 13px; font-weight: 600; line-height: 1.35; white-space: normal; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) :is(.customer-dashboard-nav a,.venue-workspace-tabs button):is(:hover,:focus-visible) { border-color: #a78bfa; background: #292037 !important; }
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-workspace-tabs button.active[aria-selected="true"] {
  color: #fff !important; border-color: rgba(196,181,253,.45) !important;
  background: linear-gradient(110deg,#7c3aed,#6d28d9) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.14) !important;
}
body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) :is(.customer-dashboard-nav a,.venue-workspace-tabs button,.venue-dashboard-section > summary):focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; }
@media (max-width: 620px) {
  body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .dashboard-head { padding: 16px !important; }
  body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section > summary { padding: 16px; }
  body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) .venue-dashboard-section-body { padding: 12px; }
  body.dancr-button-system .dashboard-shell:is(.dashboard-shell-customer,.dashboard-shell-dancer,.dashboard-shell-venue) :is(.info-panel,.venue-command-panel) { padding: 16px; }
}
body.dancr-button-system .dashboard-shell > .dashboard-grid { gap: var(--mydancr-dashboard-gap) !important; }

/* Dialogs and forms use the same field, header and action geometry. */
body.dancr-button-system :is(#passwordRecoverySurface,#loginRecoverySurface,#publicContactPopover .public-contact-sheet,#contentReportPopover .content-report-sheet,.public-report-reason-dialog,#dancer-profile-builder-panel) {
  box-sizing: border-box; min-width: 0;
  border: 1px solid rgba(196,181,253,.2) !important; border-radius: 24px !important;
  color: #f8fafc; background: #111118 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.04) !important;
}
body.dancr-button-system :is(#publicContactPopover .public-contact-sheet,#contentReportPopover .content-report-sheet,.public-report-reason-dialog) { padding: clamp(20px,5vw,28px) !important; gap: 18px; }
body.dancr-button-system :is(#publicContactPopover .public-contact-heading,#contentReportPopover .content-report-header,.public-report-reason-header,#dancer-profile-builder-panel > header) { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
body.dancr-button-system :is(#publicContactTitle,#contentReportTitle,.public-report-reason-header h2,#dancer-profile-builder-panel > header h2) { margin: 0; color: #f8fafc !important; font-size: 22px !important; font-weight: 650 !important; line-height: 1.25 !important; letter-spacing: -.025em !important; }
body.dancr-button-system :is(#publicContactIntro,#contentReportMessage,#publicContactHelp) { color: #b8b5c6 !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.6 !important; }
body.dancr-button-system :is(#publicContactForm,#contentReportForm,#dancer-profile-builder-panel,.dashboard-shell form) :is(input:not([type]),input[type="text"],input[type="email"],input[type="password"],input[type="url"],input[type="tel"],input[type="number"],input[type="search"],input[type="date"],input[type="time"],input[type="datetime-local"],textarea,select) {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 50px !important;
  padding: 12px 14px !important; border: 1px solid rgba(203,213,225,.23) !important; border-radius: 12px !important;
  color: #f8fafc !important; background: #0d0d14 !important; box-shadow: none !important;
  font-size: 16px !important; font-weight: 400 !important; line-height: 1.5 !important;
}
body.dancr-button-system :is(#publicContactForm,#contentReportForm,#dancer-profile-builder-panel,.dashboard-shell form) textarea { min-height: 112px !important; resize: vertical; }
body.dancr-button-system :is(#publicContactForm,#contentReportForm,#dancer-profile-builder-panel,.dashboard-shell form) label { color: #cbd5e1 !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.5 !important; text-transform: none !important; letter-spacing: .015em !important; }
body.dancr-button-system :is(#publicContactForm,#contentReportForm,.dancer-social-link-form) { gap: 16px; }
body.dancr-button-system :is(#publicContactForm .public-contact-fields,#contentReportForm,.dancer-social-link-form) label { gap: 8px; }
body.dancr-button-system :is(#publicContactForm,#contentReportForm,#dancer-profile-builder-panel,.dashboard-shell form) :is(.password-wrap,.password-control) input { padding-right: 56px !important; }
body.dancr-button-system :is(#publicContactPopover,#contentReportPopover,#dancer-profile-builder-panel,.public-report-reason-dialog,.dashboard-shell form) :is(button,a,input,textarea,select):focus-visible { outline: 2px solid #c4b5fd !important; outline-offset: 3px !important; }
body.dancr-button-system :is(#publicContactPopover,#contentReportPopover,#dancer-profile-builder-panel,.public-report-reason-dialog,.dashboard-shell form) :is([role="alert"],[data-state="error"],.content-report-status):not(:empty) {
  margin: 0; padding: 12px 14px; border: 1px solid rgba(251,113,133,.25); border-radius: 12px;
  color: #fecdd3 !important; background: rgba(159,18,57,.1); font-size: 13px !important; font-weight: 400; line-height: 1.5;
}
body.dancr-button-system #dancer-profile-builder-panel { padding: 0 !important; }
body.dancr-button-system #dancer-profile-builder-panel > header { padding: 20px; border-bottom: 1px solid rgba(196,181,253,.14); background: #111118; }
body.dancr-button-system #dancer-profile-builder-panel > :is(.dancer-profile-editor-modal-body,div) { padding: 20px; }
body.dancr-button-system #dancer-profile-builder-panel .dancer-profile-editor-modal-actions { gap: 12px; padding: 16px 20px max(16px,env(safe-area-inset-bottom)); background: #111118; border-top-color: rgba(196,181,253,.14); }
body.dancr-button-system :is(.content-report-form-actions,.public-contact-actions,.dancer-profile-form-actions,.customer-credential-form-actions,.venue-deal-form-actions) { gap: 12px; }
body.dancr-button-system :is(#publicContactForm,#contentReportForm,#dancer-profile-builder-panel,.dashboard-shell form) button[type="submit"]:not(.secondary):not(.danger):not(.is-sent):not([data-action-state="success"]),
body.dancr-button-system #dancer-profile-builder-panel .dancer-profile-editor-modal-actions > button {
  min-height: 50px !important; padding: 12px 16px !important; border: 1px solid rgba(196,181,253,.45) !important; border-radius: 12px !important;
  color: #fff !important; background: linear-gradient(110deg,#7c3aed,#6d28d9) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14),0 6px 18px rgba(124,58,237,.16) !important; font-size: 14px !important; font-weight: 700 !important;
}
body.dancr-button-system :is(#contentReportCancel,.public-report-reason-options > button,.dancer-social-link-remove) { min-height: 50px !important; padding: 12px 16px !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 600 !important; }
@media (max-width: 620px) {
  body.dancr-button-system #dancer-profile-builder-panel > header,
  body.dancr-button-system #dancer-profile-builder-panel > :is(.dancer-profile-editor-modal-body,div) { padding: 16px; }
  body.dancr-button-system #dancer-profile-builder-panel .dancer-profile-editor-modal-actions { padding-inline: 16px; }
  body.dancr-button-system .content-report-form-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

/* Travel actions keep their roomy targets; Free Entry has its own compact style. */
body.dancr-button-system :is(#profileBackdrop #profileModal,.public-profile-shell,#results.venue-profile-overlay .venue-detail)
  :is(.profile-tonight-travel-actions > :is(.profile-primary-directions,.profile-directions-button,.profile-uber-ride,a[target="_blank"]),.venue-primary-actions > :is(.venue-address-directions,.venue-detail-uber),.club-deal-profile-action,.profile-club-deal-qr-button,.venue-detail-club-deal-cta,.venue-detail-entry-ride):not(.free-entry-cta) {
  box-sizing: border-box; min-height: 48px !important; border-radius: 12px !important;
  font-size: 12px !important; font-weight: 650 !important; line-height: 1.3 !important;
}
body.dancr-button-system :is(#profileBackdrop #profileModal,.public-profile-shell,#results.venue-profile-overlay .venue-detail)
  :is(.profile-tonight-travel-actions,.venue-primary-actions) > :is(a,button) :is(.action-icon,svg) {
  width: 18px !important; height: 18px !important; min-width: 18px !important; flex-basis: 18px !important;
}
body.dancr-button-system :is(#profileBackdrop #profileModal,.public-profile-shell,#results.venue-profile-overlay .venue-detail)
  :is(.profile-tonight-travel-actions,.venue-primary-actions) :is(a,button):focus-visible {
  outline: 2px solid #c4b5fd !important; outline-offset: 3px !important;
}

/* Avoid an inline text baseline lifting the header share icon above center. */
body.dancr-button-system header #dancerProfileShareQuickBtn > [data-quick-icon="share"] {
  display: grid;
  place-items: center;
  line-height: 0;
}

/* One compact report card for live discovery and standalone profiles/media. */
body.dancr-button-system :is(#contentReportPopover.is-quick-reason,.public-report-reason-gate) {
  padding: 16px; color-scheme: dark;
}
body.dancr-button-system :is(#contentReportPopover.is-quick-reason,.public-report-reason-gate)
  :is(.content-report-sheet,.public-report-reason-dialog) {
  box-sizing: border-box; width: min(400px,100%); min-width: 0;
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  gap: 0 !important; padding: 16px !important;
  border: 1px solid #34343c !important; border-radius: 18px !important;
  background: #08080b !important; box-shadow: 0 18px 48px rgba(0,0,0,.5) !important;
}
body.dancr-button-system :is(#contentReportPopover.is-quick-reason,.public-report-reason-gate)
  :is(.content-report-header,.public-report-reason-header) {
  min-height: 44px; align-items: center; gap: 8px; margin: 0 0 12px; padding: 0 !important;
}
body.dancr-button-system :is(#contentReportPopover.is-quick-reason,.public-report-reason-gate)
  :is(.content-report-header h3,.public-report-reason-header h2) {
  margin: 0; padding: 0 !important; color: #f8fafc !important;
  font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important;
  letter-spacing: -.02em !important; text-transform: none !important;
}
body.dancr-button-system :is(#contentReportPopover.is-quick-reason,.public-report-reason-gate)
  :is(.content-report-quick-options,.public-report-reason-options) { gap: 8px; }
body.dancr-button-system :is(#contentReportPopover.is-quick-reason,.public-report-reason-gate)
  :is(.content-report-quick-option,.public-report-reason-options > button) {
  --dancr-report-face: #060608; --dancr-report-edge: #34343c;
  position: relative; isolation: isolate;
  -webkit-appearance: none !important; appearance: none !important;
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px !important;
  padding: 11px 12px !important; border: 1px solid var(--dancr-report-edge) !important; border-radius: 12px !important;
  color: #f8fafc !important;
  background: var(--dancr-report-face) linear-gradient(var(--dancr-report-face),var(--dancr-report-face)) !important;
  box-shadow: none !important; filter: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  font-size: 14px !important; font-weight: 600 !important; line-height: 1.4 !important;
  text-align: left; white-space: normal;
}
/* Match venue utilities: paint the face above Android's native button fill. */
body.dancr-button-system :is(#contentReportPopover.is-quick-reason,.public-report-reason-gate)
  :is(.content-report-quick-option,.public-report-reason-options > button)::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  border: 1px solid var(--dancr-report-edge); border-radius: inherit;
  background: linear-gradient(var(--dancr-report-face),var(--dancr-report-face));
}
body.dancr-button-system :is(#contentReportPopover.is-quick-reason,.public-report-reason-gate)
  :is(.content-report-quick-option,.public-report-reason-options > button):enabled:is(:hover,:focus-visible) {
  --dancr-report-face: #100a1b; --dancr-report-edge: #745696;
}
body.dancr-button-system :is(#contentReportPopover.is-quick-reason,.public-report-reason-gate)
  :is(.content-report-status,.profile-report-error):not(:empty) {
  margin: 12px 0 0; padding: 10px 12px; line-height: 1.4;
}
body.dancr-button-system #contentReportPopover.is-quick-reason .content-report-form { margin: 0; gap: 0; }
body.dancr-button-system #contentReportPopover.is-quick-reason .content-report-status:empty { display: none; }

/* Sharing menus and QR dialogs size to their content. */
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay),.profile-share-dialog-backdrop) {
  box-sizing: border-box; padding: 16px; color-scheme: dark;
}
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-sheet,.profile-share-dialog) {
  box-sizing: border-box; width: min(400px,100%); min-width: 0; min-height: 0;
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  display: grid; gap: 8px; padding: 16px; scroll-padding: 16px;
  border: 1px solid #34343c; border-radius: 18px; text-align: left;
  background: #08080b; box-shadow: 0 18px 48px rgba(0,0,0,.5);
}
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-kicker,.profile-share-dialog > span:first-of-type) {
  margin: 0; padding-right: 44px; color: #b8b5c6; font-size: 11px;
  font-weight: 600; line-height: 1.3; letter-spacing: .06em;
}
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-title,.profile-share-dialog h2) {
  margin: 0; padding-right: 44px; color: #f8fafc; font-size: 18px;
  font-weight: 700; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere;
}
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-subtitle,.profile-share-dialog > p) {
  max-width: none; margin: 4px 0; color: #b8b5c6;
  font-size: 14px; font-weight: 400; line-height: 1.45;
}
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-share-choice-actions,.profile-share-dialog-actions) { gap: 8px; margin-top: 4px; }
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-action,.profile-share-dialog-actions > button) {
  --profile-share-face: #060608; --profile-share-edge: #34343c;
  position: relative; isolation: isolate; box-sizing: border-box;
  width: 100%; min-width: 0; min-height: 46px !important;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 12px !important; border: 1px solid var(--profile-share-edge) !important; border-radius: 12px !important;
  color: #f8fafc !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.4 !important;
  background: var(--profile-share-face) linear-gradient(var(--profile-share-face),var(--profile-share-face)) !important;
  box-shadow: none !important; filter: none !important; transform: none !important;
  -webkit-appearance: none !important; appearance: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-action,.profile-share-dialog-actions > button)::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  border: 1px solid var(--profile-share-edge); border-radius: inherit;
  background: linear-gradient(var(--profile-share-face),var(--profile-share-face));
}
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-action,.profile-share-dialog-actions > button):is(:hover,:focus-visible) {
  --profile-share-face: #100a1b; --profile-share-edge: #745696;
}
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-close,.profile-share-dialog-close) {
  position: absolute; top: 10px; right: 10px; isolation: isolate;
  box-sizing: border-box; width: 44px !important; height: 44px !important; min-height: 44px !important;
  display: grid !important; place-items: center; padding: 0 !important;
  border: 0 !important; border-radius: 50% !important; color: #f8fafc !important;
  font-weight: 400 !important;
  background: transparent !important; box-shadow: none !important; transform: none !important;
  -webkit-appearance: none !important; appearance: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-close,.profile-share-dialog-close)::before {
  content: ""; position: absolute; inset: 6px; z-index: -1; pointer-events: none;
  border: 1px solid #9a9ca9; border-radius: 50%; background: linear-gradient(#060608,#060608);
}
body.dancr-button-system :is(#profileShareChoiceOverlay,#profileQrOverlay) .profile-qr-close .icon { width: 20px; height: 20px; }
body.dancr-button-system :is(:is(#profileShareChoiceOverlay,#profileQrOverlay),.profile-share-dialog) button:focus-visible { outline: 2px solid #c4b5fd !important; outline-offset: 3px !important; }
body.dancr-button-system .profile-share-dialog-status { color: #b8b5c6; font-size: 12px; font-weight: 400; }
body.dancr-button-system .profile-share-dialog-status:empty { display: none; }

/* Discovery controls share a quiet violet accent across all three feeds. */
body.dancr-button-system #citySelectButton > .city-picker-trigger-icon,
body.dancr-button-system #homeFilterToggle > .home-filter-toggle-icon {
  color: #a78bfa !important;
  stroke: currentColor !important;
  filter: none !important;
  box-shadow: none !important;
}

/* Dancer utilities share discovery's violet accents; Free Entry remains primary.
 * Scope the material variables to dancer rows, leaving club utilities unchanged. */
html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.modal-actions, .live-actions).profile-actions-compact {
  --profile-utility-background: #050507 linear-gradient(#050507, #050507);
  --profile-utility-border: #34343c;
  --profile-utility-hover-background: #100a1b linear-gradient(#100a1b, #100a1b);
  --profile-utility-hover-border: #745696;
  --profile-action-selected-border: #745696;
  --profile-action-selected-background: #160e24 linear-gradient(#160e24, #160e24);
  --profile-action-selected-shadow: none;
}

/* Dancer profile hierarchy: lighter utilities, with Free Entry as the CTA.
 * Follow and Share use shorter faces within their original 44px touch targets. */
html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-actions-compact:where(:not(.profile-venue-actions)) :is(#followBtn, .profile-action-icon-control):not([data-internal-table-request])::before {
  inset: 4px 0 !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 .65px var(--profile-action-border) !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-actions-compact :is(#followBtn, #goingBtn, .profile-action-icon-control):is(.profile-share-action, .profile-action-preview-share)::before {
  inset: 4px !important;
}

/* Actions beside Free Entry share its full height for an even row. */
html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-tonight-card {
  --profile-venue-action-height: 44px;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-tonight-card :is(.free-entry-cta, .profile-venue-actions) {
  --profile-action-height: var(--profile-venue-action-height);
  box-sizing: border-box !important;
  height: var(--profile-venue-action-height) !important;
  min-height: var(--profile-venue-action-height) !important;
  max-height: var(--profile-venue-action-height) !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-actions-compact.profile-venue-actions :is(#goingBtn, .profile-action-icon-control)::before {
  inset: 0 !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-actions-compact.profile-venue-actions :is(#goingBtn, .profile-action-icon-control):not(:disabled):not([aria-disabled="true"]) {
  color: #cbc6d5 !important;
}

/* The Internal request is a primary action, with Free Entry's white, bold label. */
html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-actions-compact.profile-venue-actions :is(#goingBtn, .profile-action-icon-control)[data-internal-table-request]:enabled:not([data-request-sent]) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 750 !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-actions-compact.profile-venue-actions :is(#goingBtn, .profile-action-icon-control) .profile-action-main > span:last-child {
  font-size: 11px !important;
  font-weight: 500 !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-actions-compact.profile-venue-actions :is(#goingBtn, .profile-action-icon-control)[aria-pressed="true"]:not(:disabled):not([aria-disabled="true"]) {
  color: #fff !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell)
  .profile-tonight-card :is(.profile-club-deal-qr-button, .club-deal-profile-action, .profile-club-deal-action-copy strong, .free-entry-cta > .free-entry-label) {
  font-size: 14px !important;
  font-weight: 750 !important;
}

/* Space separates the venue and media sections, without a surrounding box. */
html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.modal-actions, .live-actions).profile-actions-compact:not(.profile-venue-actions) {
  margin-bottom: 2px !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal .modal-grid, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-tonight-card {
  padding: 2px 0 8px !important;
  row-gap: 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal .modal-grid, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-tonight-card::before {
  content: none !important;
  display: none !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.profile-modal-media, .profile-media-section) {
  margin-top: 0 !important;
  padding-top: 16px !important;
}

/* Paint a shallow charcoal fade inside the existing action-to-media gap. */
html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.profile-modal-media, .profile-media-section)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 16px;
  background: linear-gradient(180deg, rgba(24, 24, 28, .7), rgba(16, 16, 20, .3) 45%, rgba(16, 16, 20, 0));
  pointer-events: none;
}

/* Fractional inset lines avoid one-pixel border rounding on low-density screens. */
html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.profile-titlebar-city, .profile-media-grid-item) {
  border-width: 0 !important;
  box-shadow: 0 0 0 .65px var(--dancr-color-border-subtle) !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .dancer-photo-pin-indicator {
  border-width: 0 !important;
  box-shadow: 0 0 0 .65px rgba(255, 255, 255, .4) !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  .profile-media-tab-count {
  border: 0 !important;
  box-shadow: inset 0 0 0 .65px rgba(255, 255, 255, .14) !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.profile-modal-media-tabs, .profile-media-tabs) {
  border-bottom: 0 !important;
  box-shadow: inset 0 -.65px 0 var(--dancr-color-border-subtle) !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.profile-modal-media-tabs, .profile-media-tabs) button.active {
  box-shadow: none !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.profile-modal-media-tabs, .profile-media-tabs) button.active::after {
  height: 1.25px !important;
  box-shadow: none !important;
}

html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.modal-actions, .live-actions).profile-actions-compact
  :is(#followBtn, #goingBtn, .profile-action-icon-control):not(:disabled):not([aria-disabled="true"])
  :is(.action-icon, .profile-action-icon-frame) > svg {
  color: #a78bfa !important;
  filter: none !important;
}

/* Color only the venue pin, preserving status colors, labels, and chevrons. */
html body.dancr-button-system :is(#profileBackdrop #profileModal, .public-profile-shell, .dancer-profile-preview-overlay)
  :is(.profile-venue-destination, .profile-working-destination, .profile-upcoming-destination)
  :is(.venue-dot, .venue-dot > svg, .profile-venue-pin) {
  color: #a78bfa !important;
  stroke: currentColor !important;
  filter: none !important;
  box-shadow: none !important;
}

/* Preserve the QR quiet zone while removing decorative framing and extra space. */
body.dancr-button-system #profileQrOverlay .profile-qr-frame {
  box-sizing: border-box; width: min(240px,100%); aspect-ratio: 1;
  margin: 4px auto; padding: 12px; border-radius: 12px;
  color-scheme: only light; background: #fff linear-gradient(#fff,#fff) !important;
  box-shadow: none !important; filter: none !important;
}
body.dancr-button-system #profileQrOverlay .profile-qr-overlay-image {
  width: 100%; height: auto; border-radius: 0; filter: none !important;
}
body.dancr-button-system #profileQrOverlay .profile-qr-actions { gap: 8px; }
body.dancr-button-system #profileQrOverlay .profile-qr-load-status { margin: 0; font-size: 13px; line-height: 1.4; }
body.dancr-button-system #profileQrOverlay [data-retry-profile-qr] { margin: 0; }
body.dancr-button-system #profileQrOverlay #profileQrOpen,
body.dancr-button-system #profileQrOverlay #profileQrOpen::before {
  border-color: #745696 !important;
  background: linear-gradient(110deg,#7c3aed,#6d28d9) !important;
}
body.dancr-button-system #profileQrOverlay #profileQrOpen:focus-visible { outline: 2px solid #c4b5fd !important; outline-offset: 3px !important; }

/* Keep the existing utility faces and states, with compact inline labels. */
html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-venue-discovery-feed > .home-venue-discovery-slide
  .venue-card-secondary-actions.home-venue-discovery-action-rail > .venue-card-secondary-action {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-height: 44px !important;
  padding: 8px 4px !important;
}

html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-venue-discovery-feed > .home-venue-discovery-slide
  .venue-card-secondary-actions.home-venue-discovery-action-rail > .venue-card-secondary-action :is(.action-icon, .action-icon > svg) {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  flex: 0 0 16px !important;
}

html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-venue-discovery-feed > .home-venue-discovery-slide
  .venue-card-secondary-actions.home-venue-discovery-action-rail > .venue-card-secondary-action > span:not(.action-icon) {
  width: auto !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

@media (max-width: 720px) {
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide {
    min-height: 0 !important;
    grid-template-rows: clamp(112px, 32vw, 144px) auto 48px 56px !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-venue-discovery-feed > .home-venue-discovery-slide .home-discovery-feed-copy {
    padding: 8px 12px !important;
    row-gap: 4px !important;
  }
}

/* Venue details and offer popups share the scroll cards' edge and outer shading. */
html body.dancr-button-system #results.venue-profile-overlay .venue-detail[role="dialog"] > .venue-hero,
html body.dancr-button-system :is(#dealPassOverlay .deal-pass-sheet, .club-deal-dialog) {
  border: 1px solid rgba(203, 213, 225, .2) !important;
  border-radius: 20px !important;
  background: #08090c !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    inset 0 -1px 0 rgba(148, 163, 184, .06),
    0 16px 30px rgba(0, 0, 0, .62) !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail[role="dialog"] > .venue-hero {
  overflow: hidden !important;
}

/* Match the upper halo on every scroll card, including the first result. */
html body.dancr-button-system #results.venue-profile-overlay .venue-detail[role="dialog"] > .venue-hero,
html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    inset 0 -1px 0 rgba(148, 163, 184, .06),
    0 -9px 24px -8px rgba(203, 213, 225, .16),
    0 16px 30px rgba(0, 0, 0, .62) !important;
}

/* Reuse the original venue scroll-card divider beneath the detail logo. */
html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row {
  display: block;
  padding: 0;
  background: #101010 !important;
  border-bottom: 1px solid var(--dancr-color-brand-primary-medium) !important;
  box-shadow: inset 0 -1px 0 rgba(167, 139, 250, .18) !important;
}

/* Give the logo the same full-width stage as the scroll cards. Close sits above it. */
html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-detail-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 44px;
}
html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row .venue-main-photo {
  height: 95px !important;
  min-height: 95px !important;
  width: 100% !important;
  overflow: hidden !important;
}
html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-main-photo .venue-art {
  padding: 0;
}
html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row .venue-detail-logo-shell {
  inset: 4px 10px !important;
  width: auto !important;
  height: calc(100% - 8px) !important;
  max-width: none !important;
  max-height: none !important;
  transform: none !important;
}
html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-detail-logo-shell::before {
  content: none;
}
html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-detail-logo {
  height: 90px !important;
  max-height: 90px !important;
  transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}
@media (max-width: 360px) {
  html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row .venue-main-photo {
    height: 93px !important;
    min-height: 93px !important;
  }
  html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-detail-logo {
    height: 88px !important;
    max-height: 88px !important;
  }
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-body {
  border-top: 0 !important;
  background: transparent !important;
  gap: 10px !important;
  padding: 4px 12px 8px !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-location-section {
  border-top: 0 !important;
  padding-top: 0 !important;
  gap: 10px !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-address-line {
  padding-bottom: 0;
  color: #b8bdc8 !important;
  font-size: 12px;
  font-weight: 500;
}

/* Logo overlays use approved cover media, with decorative club artwork as the fallback.
 * The existing card edges and gray gutter shadows remain on their outer wrappers. */
html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-venue-discovery-feed > .home-venue-discovery-slide
  .home-venue-discovery-art.is-venue-logo-artwork[data-venue-visual-source],
html body.dancr-button-system #results.venue-card-grid .venue.venue-card
  .venue-card-link > .venue-art.is-venue-logo-artwork[data-venue-visual-source],
html body.dancr-button-system #results.venue-profile-overlay .venue-detail
  .venue-hero-brand-row .venue-main-photo[data-venue-visual-source] {
  background-color: #08090c !important;
  background-image: linear-gradient(180deg, rgba(5, 5, 7, .12), rgba(5, 5, 7, .4)),
    var(--custom-photo, url('/venue-card-backdrop-v1.webp')) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-venue-discovery-feed > .home-venue-discovery-slide
  .home-venue-discovery-art.is-venue-logo-artwork[data-venue-visual-source],
html body.dancr-button-system #results.venue-profile-overlay .venue-detail
  .venue-hero-brand-row .venue-main-photo[data-venue-visual-source] {
  height: clamp(112px, 32vw, 144px) !important;
  min-height: clamp(112px, 32vw, 144px) !important;
}

html body.dancr-button-system #results.venue-card-grid .venue.venue-card .venue-card-logo-shell {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail
  .venue-hero-brand-row .venue-main-photo[data-venue-visual-source] > .venue-art {
  background: transparent !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail
  .venue-main-photo[data-venue-visual-source] .venue-sign {
  text-shadow: 0 2px 12px #000 !important;
}

html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-venue-discovery-feed > .home-venue-discovery-slide
  .home-venue-discovery-art[data-venue-visual-source] .home-venue-discovery-monogram {
  display: grid !important;
}

/* Empty and live lineups occupy the same row, keeping venue actions stable. */
html body.dancr-button-system :is(.home-venue-discovery-lineup, .venue-card-lineup) .venue-lineup-empty-text {
  color: var(--dancr-color-text-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
}
html body.dancr-button-system #results.venue-card-grid > .venue-card .venue-card-lineup {
  min-height: 25px;
}

/* A larger logo balances the venue details and consistent dancer row. */
@media (max-width: 720px) {
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide {
    --venue-discovery-logo-size: clamp(104px, 32vw, 140px);
    grid-template-columns: var(--venue-discovery-logo-size) minmax(0, 1fr) !important;
    grid-template-rows: auto auto 48px minmax(52px, auto) !important;
    gap: 12px 10px !important;
    padding: 12px !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-art.is-venue-logo-artwork[data-venue-visual-source] {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    width: auto !important;
    height: var(--venue-discovery-logo-size) !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-art::before,
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-art::after,
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-discovery-feed-shade {
    display: none !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-art .home-venue-discovery-logo-shell {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-logo {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-monogram {
    width: 100% !important;
    height: 100% !important;
    font-size: 26px !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-discovery-feed-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(3, auto) !important;
    min-height: 0 !important;
    gap: 6px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-name {
    display: block !important;
    max-height: none !important;
    margin: 0 !important;
    font-size: clamp(16px, 4.3vw, 21px) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide :is(.home-venue-discovery-name, .home-venue-discovery-location, .home-venue-discovery-meta) {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-wrap: wrap !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-location {
    font-size: 12px !important;
    line-height: 1.4 !important;
    align-items: flex-start !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-location > span {
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide :is(.home-venue-discovery-operating-status, .home-venue-discovery-hours) {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  /* Keep status beside the hours in every lineup state. Only the time text
     may wrap on very narrow screens or with enlarged text. */
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-meta {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-operating-status {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    overflow-wrap: normal;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-hours {
    flex: 0 1 auto !important;
    align-items: flex-start !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-lineup-slot {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: start !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 28px !important;
    margin: 0 !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-lineup {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 8px !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 28px !important;
  }

  /* Keep the five photos and overflow count together when a narrow phone
     needs to place the total NOW badge on the next line. */
  .home-venue-discovery-lineup-avatars {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }

  /* The overflow total is text, so it must not overlap like the photos. */
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-lineup-count {
    margin-left: 4px !important;
    width: auto !important;
    min-width: 28px !important;
    padding-inline: 4px !important;
    white-space: nowrap;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-lineup-label {
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-context-actions {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .venue-card-secondary-actions.home-venue-discovery-action-rail {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(52px, auto) !important;
    align-self: center !important;
    gap: 6px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide
    .venue-card-secondary-actions.home-venue-discovery-action-rail > .venue-card-secondary-action {
    flex-direction: column !important;
    gap: 5px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 52px !important;
    padding: 7px 2px !important;
    border-radius: 12px !important;
  }

  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide
    .venue-card-secondary-actions.home-venue-discovery-action-rail > .venue-card-secondary-action > span:not(.action-icon) {
    min-width: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  /* Optically center the person beside its smaller plus above Follow. */
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-venue-discovery-feed > .home-venue-discovery-slide
    .venue-card-favorite-action > .action-icon[data-action-icon="personPlus"] > svg {
    transform: translateX(2px) !important;
  }

}

/* Venue details share the scroll-card identity layout while retaining the full profile. */
html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row {
  --venue-detail-logo-size: clamp(112px, 34vw, 184px);
  display: grid !important;
  grid-template-columns: var(--venue-detail-logo-size) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-height: var(--venue-detail-logo-size) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row .venue-main-photo[data-venue-visual-source] {
  position: relative !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: var(--venue-detail-logo-size) !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row :is(.venue-main-photo, .venue-art)::before,
html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row :is(.venue-main-photo, .venue-art)::after {
  display: none !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row .venue-art {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  background: transparent !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row .venue-detail-logo-shell {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  transform: none !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row .venue-detail-logo {
  position: static !important;
  width: 100% !important;
  height: var(--venue-detail-logo-size) !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-summary {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px 12px 8px 6px;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-summary .venue-identity-copy {
  gap: 6px !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-summary #venueDetailName.venue-detail-accessible-name {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  -webkit-line-clamp: unset !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  font-size: clamp(18px, 4.8vw, 24px) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-transform: uppercase;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-summary .venue-identity-meta :is(.meta, .venue-identity-distance) {
  font-size: 12px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-summary .venue-profile-hours {
  min-width: 0;
  margin: 0;
  color: #9ca3af;
  font-size: 11px;
  overflow-wrap: anywhere;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail
  .venue-profile-hours[data-operating-state="unknown"] strong {
  color: #9ca3af;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-summary .venue-detail-club-deal-heading {
  display: flex;
  justify-content: flex-start;
  min-width: 0;
  margin: 0;
  padding: 0;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-summary .venue-detail-club-deal-status {
  max-width: 100%;
  min-height: 20px;
  padding: 3px 8px;
  font-size: 8.5px !important;
  font-weight: 800 !important;
  white-space: normal;
  line-height: 1.3;
}

/* Keep the admission face compact while preserving its 44px touch area. */
html body.dancr-button-system #results.venue-profile-overlay .venue-detail #club-deal .venue-detail-club-deal-cta.free-entry-cta {
  position: relative;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding-block: 5px !important;
  overflow: visible;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail #club-deal .venue-detail-club-deal-cta.free-entry-cta::after {
  content: "";
  position: absolute;
  inset: -4px -1px;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-action-stack {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
  gap: 4px;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-location-section .venue-secondary-actions.profile-actions-compact {
  --profile-action-height: 44px !important;
  gap: 4px !important;
}

/* Match the shared action rules' specificity; the detail class keeps this local. */
html body.dancr-button-system :is(#profileBackdrop #profileModal, #results.venue-profile-overlay) .venue-detail
  .venue-location-section .venue-primary-actions > .venue-address-directions {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding-block: 4px !important;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-detail-share {
  --profile-utility-border: #27272e;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-detail-exploration {
  padding-top: 6px;
}

html body.dancr-button-system #results.venue-profile-overlay .venue-detail .venue-hero-brand-row .venue-sign-name {
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

/* Compact discovery controls: this scope ends before the results heading. */
html body.dancr-button-system > .app main.stack > .home-discovery-controls {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 4px 8px !important;
  margin-block: -6px 0 !important;
  padding: 0 !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls .home-city-filter { gap: 0 !important; }
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectLabel {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls :is(#citySelectButton, #homeFilterToggle) {
  --discovery-control-face: #050507;
  --discovery-control-edge: #34343c;
  --discovery-control-inset: 4px;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 18px !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectButton {
  grid-template-columns: 18px minmax(0, 1fr) 12px !important;
  gap: 7px !important;
  padding: 0 12px !important;
  color: #fff !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectButton > .city-picker-trigger-icon,
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeFilterToggle > .home-filter-toggle-icon {
  width: 18px !important;
  height: 18px !important;
  color: #a78bfa !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectButton > .city-picker-chevron {
  width: 12px !important;
  height: 12px !important;
  color: #918c9b !important;
  stroke: currentColor !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeFilterToggle {
  display: inline-flex !important;
  min-width: 100px !important;
  gap: 6px !important;
  padding: 0 12px !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeFilterToggle:is(.has-active-filters, .is-open),
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectButton[aria-expanded="true"] {
  --discovery-control-face: #0c0812;
  --discovery-control-edge: #745696;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters {
  grid-column: 1 / -1;
  display: none;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters.is-open { display: grid; }
html body.dancr-button-system > .app main.stack > #homeLiveSummary {
  min-height: 14px !important;
  margin-block: -6px -5px !important;
  padding: 0 !important;
  gap: 3px 5px !important;
  flex-wrap: wrap;
  color: #96939f !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}
html body.dancer-directory-active.dancr-button-system > .app main.stack > #homeLiveSummary {
  margin-block-end: 3px !important;
}
html body.dancr-button-system > .app main.stack > #homeLiveSummary #homeLiveRadius {
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
}
html body.dancr-button-system > .app main.stack > #homeLiveSummary #homeLiveWorking {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: #96939f !important;
  font-weight: 650 !important;
}
html body.dancr-button-system > .app main.stack > #homeLiveSummary #homeLiveWorking.is-active { color: #34d399 !important; }
html body.dancr-button-system > .app main.stack > #homeLiveSummary #homeLiveWorking.is-active::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: currentColor;
}
@media (max-width: 720px) {
  html body.dancr-button-system > .app main.stack > .home-discovery-controls { grid-template-columns: minmax(0, 1fr) 44px !important; }
  html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeFilterToggle {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeFilterToggle::before { inset: 4px !important; }
  html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeFilterToggle > .home-filter-toggle-label { display: none !important; }
  html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeFilterToggle > #homeFilterCount:not([hidden]) {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 5px;
    min-width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    background: #a78bfa;
    font-size: 0;
  }
}

/* Open discovery menus follow the same compact treatment as their triggers. */
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectPanel.is-open {
  padding: 4px !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectOptions {
  gap: 0 !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectPanel #citySelectOptions .city-picker-option {
  --discovery-control-face: #050507;
  --discovery-control-edge: transparent;
  grid-template-columns: 16px minmax(0, 1fr) auto !important;
  gap: 8px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectPanel #citySelectOptions .city-picker-option[aria-selected="true"] {
  --discovery-control-face: #160e24;
  --discovery-control-edge: #594271;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectPanel .venue-picker-radio {
  box-sizing: border-box;
  width: 16px !important;
  height: 16px !important;
  border-width: 1.5px !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectPanel .venue-picker-radio::after {
  width: 8px !important;
  height: 8px !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters.is-open {
  gap: 6px 8px !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters .field {
  gap: 2px !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters .field > label {
  color: #96939f !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters :is(#distanceSelectButton, #venueSelectButton, #locationBtn) {
  gap: 6px !important;
  padding-inline: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters #locationBtn {
  --discovery-control-edge: transparent;
  flex: 1 1 auto;
  color: #c4b5fd !important;
}
html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters #locationBtn .icon {
  width: 16px !important;
  height: 16px !important;
  color: #a78bfa !important;
}
@media (max-width: 720px) {
  html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters.is-open {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important;
  }
  html body.dancr-button-system > .app main.stack > .home-discovery-controls #homeAdvancedFilters .home-filter-actions {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    gap: 4px;
  }
}
html body.dancr-button-system #venueSelectDialog {
  max-height: min(560px, calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
}
html body.dancr-button-system #venueSelectDialog .venue-picker-header {
  padding: 6px 12px;
  border-bottom-color: #25252d;
}
html body.dancr-button-system :is(#venueSelectDialog, #distanceSelectDialog) h2 {
  font-size: 18px !important;
}
html body.dancr-button-system :is(#venueSelectClose, #distanceSelectClose) {
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #aaa6b3 !important;
}
html body.dancr-button-system :is(#venueSelectClose, #distanceSelectClose)::before {
  content: none !important;
}
html body.dancr-button-system #venueSelectOptions {
  gap: 0;
  padding: 4px;
}
html body.dancr-button-system #venueSelectDialog .venue-picker-option {
  --picker-edge: transparent;
  min-height: 44px !important;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
html body.dancr-button-system #venueSelectDialog .venue-picker-option[aria-selected="true"] {
  --picker-edge: #594271;
}
html body.dancr-button-system #venueSelectDialog .venue-picker-radio {
  width: 16px;
  height: 16px;
}
html body.dancr-button-system #venueSelectDialog .venue-picker-radio::after {
  width: 8px;
  height: 8px;
}
html body.dancr-button-system #venueSelectDone {
  margin: 6px 12px 12px;
}
html body.dancr-button-system #distanceSelectDialog .distance-picker-panel {
  gap: 10px;
  padding: 10px 12px 12px;
}
html body.dancr-button-system #distanceSelectOrigin {
  font-size: 13px;
}
html body.dancr-button-system #distanceSelectDialog .distance-picker-options span {
  min-height: 44px;
}
@media (hover: hover) {
  html body.dancr-button-system > .app main.stack > .home-discovery-controls #citySelectPanel #citySelectOptions .city-picker-option:not([aria-selected="true"]):hover {
    --discovery-control-face: #111116;
  }
  html body.dancr-button-system #venueSelectDialog .venue-picker-option:not([aria-selected="true"]):hover {
    --picker-face: #111116;
    --picker-edge: transparent;
  }
}

/* A 30px segmented face retains separate 44px touch targets for both statuses. */
html body.dancer-directory-active.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .dancer-directory-filters {
  position: relative;
  isolation: isolate;
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html body.dancer-directory-active.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .dancer-directory-filters::before {
  content: "";
  position: absolute;
  inset: 7px 0;
  z-index: -1;
  border: 1px solid #34343c;
  border-radius: 9px;
  background: linear-gradient(#08080c, #08080c);
  pointer-events: none;
}
html body.dancer-directory-active.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .dancer-directory-filters > button.dancer-directory-filter[role="tab"][aria-selected] {
  --discovery-control-inset: 8px;
  --discovery-control-face: transparent;
  --discovery-control-edge: transparent;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 7px !important;
  color: #96939f !important;
  font-size: clamp(11px, 2.8vw, 12px) !important;
  font-weight: 650 !important;
}
html body.dancer-directory-active.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .dancer-directory-filters > button.dancer-directory-filter[role="tab"][aria-selected]::before {
  inset-inline: 1px !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.dancer-directory-active.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .dancer-directory-filters > button.dancer-directory-filter[role="tab"][aria-selected="true"] {
  --discovery-control-face: #202026;
  color: #f5f3f8 !important;
}
html body.dancer-directory-active.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .dancer-directory-filters > button.dancer-directory-filter[role="tab"][data-dancer-directory-filter="now"][aria-selected="true"]:not(.is-empty) {
  --discovery-control-face: #0a2117;
  color: #34d399 !important;
}
html body.dancer-directory-active.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .dancer-directory-filters > button.dancer-directory-filter[role="tab"][aria-selected]
  > :is(.dancer-directory-filter-label, .dancer-directory-filter-count) {
  color: inherit !important;
}
html body.dancer-directory-active.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .dancer-directory-filters > button.dancer-directory-filter[role="tab"][aria-selected]
  > .dancer-directory-filter-status {
  display: none !important;
  box-shadow: none !important;
}
html body.dancer-directory-active.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .dancer-directory-filters > button.dancer-directory-filter[role="tab"][data-dancer-directory-filter="now"][aria-selected="true"]:not(.is-empty)
  > .dancer-directory-filter-status {
  display: block !important;
  width: 5px;
  height: 5px;
  flex-basis: 5px;
  background: currentColor !important;
}

/* Improve card-caption contrast without changing the shared card layout. */
html body.dancr-button-system #results.home-dancer-grid.home-dancer-three-column .home-dancer-grid-copy,
html body.dancr-button-system #results.venue-profile-overlay .venue-dancer-grid .home-dancer-grid-copy {
  background: linear-gradient(180deg,
    rgba(21, 11, 37, 0) 0%,
    rgba(21, 11, 37, .32) 24%,
    rgba(18, 10, 31, .66) 44%,
    rgba(15, 9, 26, .86) 64%,
    rgba(12, 8, 22, .96) 84%,
    rgba(10, 7, 18, .98) 100%) !important;
}
html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .home-dancer-grid-venue,
html body.dancr-button-system > .app main.stack > section.stack
  > #results.venue-profile-overlay .venue-dancer-grid .home-dancer-grid-venue {
  color: #e2e4ec !important;
}
html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-dancer-grid .home-dancer-grid-venue > .venue-dot svg,
html body.dancr-button-system > .app main.stack > section.stack
  > #results.venue-profile-overlay .venue-dancer-grid .home-dancer-grid-venue > .venue-dot svg {
  width: 9px !important;
  height: 9px !important;
  color: #a9adba !important;
  stroke-width: 1.5 !important;
}

/* Tighten only the existing venue scroll cards; keep their content and actions. */
/* Give the roster clarification its own row, with natural height as text wraps. */
html body.dancr-button-system #results .venue-card-roster-note {
  text-align: center;
  text-wrap: balance;
}
html body.dancr-button-system #results.venue-card-grid > .venue-card {
  grid-template-rows: minmax(0, 1fr) auto auto auto;
}
html body.dancr-button-system #results.venue-card-grid > .venue-card > .venue-card-roster-note {
  margin: 0 14px 12px;
}
html body.dancr-button-system #results > .home-venue-discovery-slide > .venue-card-roster-note {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 4px 0 8px;
}
html body.dancr-button-system > .app main.stack > section.stack
  > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide
  :is(.home-venue-discovery-operating-status, .home-venue-discovery-hours) {
  color: #a4a6b2 !important;
}
@media (max-width: 720px) {
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide {
    height: auto !important;
    max-height: none !important;
    grid-template-rows: auto auto auto 40px minmax(46px, auto) !important;
    row-gap: 6px !important;
  }
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .home-venue-discovery-context-actions {
    grid-row: 4 !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    align-self: end !important;
  }
  html body.dancr-button-system > .app main.stack > section.stack:has(> #results.home-venue-discovery-feed)
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .venue-card-primary-actions > .free-entry-cta {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding-block: 5px !important;
    overflow: visible !important;
  }
  /* Extend the clickable surface to 44px without enlarging the violet face. */
  html body.dancr-button-system > .app main.stack > section.stack:has(> #results.home-venue-discovery-feed)
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .venue-card-primary-actions > .free-entry-cta::after {
    content: "" !important;
    position: absolute !important;
    inset: -4px -1px !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    pointer-events: auto;
  }
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide .venue-card-secondary-actions.home-venue-discovery-action-rail {
    grid-row: 5 !important;
    grid-template-rows: minmax(46px, auto) !important;
  }
  html body.dancr-button-system > .app main.stack > section.stack
    > #results.home-discovery-feed.home-venue-discovery-feed > .home-venue-discovery-slide
    .venue-card-secondary-actions.home-venue-discovery-action-rail > .venue-card-secondary-action {
    min-height: 46px !important;
    padding-block: 4px !important;
  }
}
