/* ClubPass365 night palette. Day mode uses the original page styles. */
html[data-cp365-theme="dark"] { color-scheme:dark; }
html[data-cp365-theme="light"] { color-scheme:light; }
html[data-cp365-theme="dark"] .cp365-site { --cp-night-bg:#09101f; --cp-night-panel:#111b30; --cp-night-soft:#172238; --cp-night-line:#2a3952; --cp-night-text:#f5f7ff; --cp-night-muted:#b4bfd2; }

/* Shared navigation, desktop dropdown, and mobile menu. */
html[data-cp365-theme="dark"] .cp365-header .cp365-icon-btn,
html[data-cp365-theme="dark"] .cp365-header .cp365-mobile-toggle { color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-header .cp365-icon-btn:hover,
html[data-cp365-theme="dark"] .cp365-header .cp365-mobile-toggle:hover { background:#1b2941!important; }
html[data-cp365-theme="dark"] .cp365-mobile-menu,
html[data-cp365-theme="dark"] .cp365-categories-mega { background:#101a2d!important; border-color:#2a3952!important; color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-mobile-menu a { color:#f5f7ff!important; border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-categories-mega-link,
html[data-cp365-theme="dark"] .cp365-categories-mega-all,
html[data-cp365-theme="dark"] .cp365-categories-mega-copy h3 a { color:#f5f7ff!important; border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-categories-mega-card { background:#172238!important; border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-categories-mega-copy a { color:#b4bfd2!important; }

/* Shared marketing, informational, organizer and browsing templates. */
html[data-cp365-theme="dark"] .cp365-page-intro p,
html[data-cp365-theme="dark"] .cp365-results-head span,
html[data-cp365-theme="dark"] .cp365-organizer-tile p,
html[data-cp365-theme="dark"] .cp365-muted { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365-page-intro h1,
html[data-cp365-theme="dark"] .cp365-subpage h1,
html[data-cp365-theme="dark"] .cp365-subpage h2,
html[data-cp365-theme="dark"] .cp365-subpage h3,
html[data-cp365-theme="dark"] .cp365-subpage strong,
html[data-cp365-theme="dark"] .cp365-subpage .cp365-event-title { color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-step-grid article,
html[data-cp365-theme="dark"] .cp365-partner-grid article,
html[data-cp365-theme="dark"] .cp365-organizer-tile,
html[data-cp365-theme="dark"] .cp365-filters,
html[data-cp365-theme="dark"] .cp365-event-card,
html[data-cp365-theme="dark"] .cp365-contact-form,
html[data-cp365-theme="dark"] .cp365-ticket-panel,
html[data-cp365-theme="dark"] .cp365-event-copy,
html[data-cp365-theme="dark"] .cp365-info-panel { background:#111b30!important; border-color:#2a3952!important; color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-info-panel { background:linear-gradient(120deg,#1d2039,#221d31)!important; }
html[data-cp365-theme="dark"] .cp365-step-grid p,
html[data-cp365-theme="dark"] .cp365-partner-grid p,
html[data-cp365-theme="dark"] .cp365-info-panel p,
html[data-cp365-theme="dark"] .cp365-event-copy .cp365-muted,
html[data-cp365-theme="dark"] .cp365-organizer-tile p { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365-browse-search,
html[data-cp365-theme="dark"] .cp365-subpage input,
html[data-cp365-theme="dark"] .cp365-subpage select,
html[data-cp365-theme="dark"] .cp365-subpage textarea { background:#172238!important; color:#f5f7ff!important; border-color:#32415b!important; }
html[data-cp365-theme="dark"] .cp365-browse-search input::placeholder,
html[data-cp365-theme="dark"] .cp365-subpage input::placeholder,
html[data-cp365-theme="dark"] .cp365-subpage textarea::placeholder { color:#a5b2c7!important; opacity:1; }
/* v1.0.123: both event-search surfaces follow the site's existing local-time
   html[data-cp365-theme] switch (07:00–19:59 light, 20:00–06:59 dark).
   Match the existing mobile/desktop selectors and !important declarations;
   preserve sizing, layout, action, and the pink-to-orange button gradient. */
html[data-cp365-theme="light"] .cp365-home-v1093 .cp365-home-banner-search,
html[data-cp365-theme="light"] .cp365-browse-page .cp365-browse-search {
    background:#fff!important;
    border-color:#e3e7ef!important;
}
html[data-cp365-theme="light"] .cp365-home-v1093 .cp365-home-banner-search>span,
html[data-cp365-theme="light"] .cp365-browse-page .cp365-browse-search-icon {
    background:transparent!important;
    color:#657086!important;
}
html[data-cp365-theme="light"] .cp365-home-v1093 .cp365-home-banner-search input[type="search"],
html[data-cp365-theme="light"] .cp365-browse-page .cp365-browse-search input[type="search"] {
    background:transparent!important;
    color:#27324b!important;
    -webkit-text-fill-color:#27324b!important;
    border:0!important;
}
html[data-cp365-theme="light"] .cp365-home-v1093 .cp365-home-banner-search input[type="search"]::placeholder,
html[data-cp365-theme="light"] .cp365-browse-page .cp365-browse-search input[type="search"]::placeholder {
    color:#7b8393!important;
    -webkit-text-fill-color:#7b8393!important;
    opacity:1;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search,
html[data-cp365-theme="dark"] .cp365-browse-page .cp365-browse-search {
    background:#172238!important;
    border-color:#32415b!important;
    box-shadow:0 12px 28px rgba(0,0,0,.22)!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search>span,
html[data-cp365-theme="dark"] .cp365-browse-page .cp365-browse-search-icon {
    background:transparent!important;
    color:#b4bfd2!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search input[type="search"],
html[data-cp365-theme="dark"] .cp365-browse-page .cp365-browse-search input[type="search"] {
    background:transparent!important;
    color:#f5f7ff!important;
    -webkit-text-fill-color:#f5f7ff!important;
    border:0!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search input[type="search"]::placeholder,
html[data-cp365-theme="dark"] .cp365-browse-page .cp365-browse-search input[type="search"]::placeholder {
    color:#b4bfd2!important;
    -webkit-text-fill-color:#b4bfd2!important;
    opacity:1;
}
html[data-cp365-theme="dark"] .cp365-filters label,
html[data-cp365-theme="dark"] .cp365-price,
html[data-cp365-theme="dark"] .cp365-price strong { color:#dce4f2!important; }
html[data-cp365-theme="dark"] .cp365-tags span,
html[data-cp365-theme="dark"] .cp365-ticket-panel-meta span { background:#22314a!important; color:#dce4f2!important; }
/* White date badges sit over event artwork; keep their numerals dark in night mode. */
html[data-cp365-theme="dark"] .cp365-date-chip { background:#fff!important; color:#0d1937!important; }
html[data-cp365-theme="dark"] .cp365-date-chip b { color:#46506b!important; }
html[data-cp365-theme="dark"] .cp365-subpage .cp365-info-content p,
html[data-cp365-theme="dark"] .cp365-subpage .cp365-info-content li { color:#dce4f2!important; }

/* Categories retain their artwork with a dark card base and readable captions. */
html[data-cp365-theme="dark"] .cp365-cat-browser { background:#09101f!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-title h1,
html[data-cp365-theme="dark"] .cp365-trending-head h2,
html[data-cp365-theme="dark"] .cp365-trending-head>a { color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-title p,
html[data-cp365-theme="dark"] .cp365-cat-showcase-tagline,
html[data-cp365-theme="dark"] .cp365-trending-head p { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-card,
html[data-cp365-theme="dark"] .cp365-trending-card { background-color:#111b30!important; border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-overlay { background:linear-gradient(180deg,transparent 12%,rgba(9,16,31,.12) 36%,rgba(9,16,31,.88) 75%,#111b30 100%)!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-content strong { color:#fff!important; text-shadow:none!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-desc,
html[data-cp365-theme="dark"] .cp365-cat-showcase-count { color:#dce4f2!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-count { background:#172238!important; border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-arrow { background:#172238!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-card,
html[data-cp365-theme="dark"] .cp365-cat-showcase-content,
html[data-cp365-theme="dark"] .cp365-trending-card,
html[data-cp365-theme="dark"] .cp365-trending-copy { background:#111b30!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-desc,
html[data-cp365-theme="dark"] .cp365-cat-showcase-count,
html[data-cp365-theme="dark"] .cp365-trending-copy small { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365-cat-showcase-count { border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-trending-copy strong { color:#f5f7ff!important; text-shadow:none!important; }
html[data-cp365-theme="dark"] .cp365-browse-discovery-chips a,
html[data-cp365-theme="dark"] .cp365-home-quick-links a { background:#172238!important; border-color:#2a3952!important; color:#dce4f2!important; }
html[data-cp365-theme="dark"] .cp365-browse-discovery-chips a.active { background:linear-gradient(135deg,#f40051,#ff8840)!important; color:#fff!important; }

/* Event and organizer profiles, including sticky tabs and ticket details. */
html[data-cp365-theme="dark"] .cp365-event-profile,
html[data-cp365-theme="dark"] .cp365-org-profile { background:#09101f!important; color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-event-profile-hero,
html[data-cp365-theme="dark"] .cp365-org-profile-hero { background:linear-gradient(125deg,#0d172a,#171b30 58%,#241b2a)!important; border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-event-stats,
html[data-cp365-theme="dark"] .cp365-event-ticket-card,
html[data-cp365-theme="dark"] .cp365-event-tabs,
html[data-cp365-theme="dark"] .cp365-event-description-card,
html[data-cp365-theme="dark"] .cp365-event-facts-card,
html[data-cp365-theme="dark"] .cp365-event-tab-card,
html[data-cp365-theme="dark"] .cp365-event-organizer-card,
html[data-cp365-theme="dark"] .cp365-org-stats { background:#111b30!important; border-color:#2a3952!important; color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-event-fact,
html[data-cp365-theme="dark"] .cp365-event-ticket-tags span,
html[data-cp365-theme="dark"] .cp365-ticket-panel-meta span { background:#172238!important; border-color:#2a3952!important; color:#dce4f2!important; }
html[data-cp365-theme="dark"] .cp365-event-profile h1,
html[data-cp365-theme="dark"] .cp365-event-profile h2,
html[data-cp365-theme="dark"] .cp365-event-profile h3,
html[data-cp365-theme="dark"] .cp365-event-profile strong,
html[data-cp365-theme="dark"] .cp365-org-profile h1,
html[data-cp365-theme="dark"] .cp365-org-profile h2,
html[data-cp365-theme="dark"] .cp365-org-profile strong { color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-event-profile h1,
html[data-cp365-theme="dark"] .cp365-event-profile h2 { text-shadow:none; }
html[data-cp365-theme="dark"] .cp365-event-profile p,
html[data-cp365-theme="dark"] .cp365-event-profile small,
html[data-cp365-theme="dark"] .cp365-event-profile-links,
html[data-cp365-theme="dark"] .cp365-event-description-copy,
html[data-cp365-theme="dark"] .cp365-org-profile p { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365-event-tabs a { color:#dce4f2!important; }
html[data-cp365-theme="dark"] .cp365-event-tabs a.active { color:#ff5a8a!important; }
html[data-cp365-theme="dark"] .cp365-event-cta-strip,
html[data-cp365-theme="dark"] .cp365-org-follow-strip { background:linear-gradient(105deg,#1b2037,#251d2e)!important; border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-event-cta-strip span,
html[data-cp365-theme="dark"] .cp365-org-follow-strip span { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365-event-profile .cp365-btn-outline { background:#172238!important; color:#f5f7ff!important; border-color:#2a3952!important; }

/* Pricing is supplied by its own plugin, so coordinate its palette here. */
html[data-cp365-theme="dark"] main.cp365p { background:#09101f!important; color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365p-hero,
html[data-cp365-theme="dark"] .cp365p-plans,
html[data-cp365-theme="dark"] .cp365p-fees,
html[data-cp365-theme="dark"] .cp365p-faq { background:#09101f!important; color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365p-hero-pink-shape { background:#09101f!important; }
html[data-cp365-theme="dark"] .cp365p-hero h1,
html[data-cp365-theme="dark"] .cp365p-hero h2,
html[data-cp365-theme="dark"] .cp365p-fees h2,
html[data-cp365-theme="dark"] .cp365p-faq h2,
html[data-cp365-theme="dark"] .cp365p-card h2,
html[data-cp365-theme="dark"] .cp365p-card strong { color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365p-card,
html[data-cp365-theme="dark"] .cp365p-fee-box,
html[data-cp365-theme="dark"] .cp365p-faq-grid>* { background:#111b30!important; color:#f5f7ff!important; border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365p-hero p,
html[data-cp365-theme="dark"] .cp365p-card p,
html[data-cp365-theme="dark"] .cp365p-fees p,
html[data-cp365-theme="dark"] .cp365p-faq p,
html[data-cp365-theme="dark"] .cp365p-mini-benefits,
html[data-cp365-theme="dark"] .cp365p-plan-desc { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365p-strip { background:#151d30!important; color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365p-cta { background:linear-gradient(110deg,#20223c,#281d30)!important; color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365p-card .cp365p-plan-btn { color:#f5f7ff!important; }

/* Account, organizer and cart surfaces follow the same night palette. */
html[data-cp365-theme="dark"] .cp365-auth-site,
html[data-cp365-theme="dark"] .cp365-auth-frame,
html[data-cp365-theme="dark"] .cp365-auth-header,
html[data-cp365-theme="dark"] .cp365-auth-footer,
html[data-cp365-theme="dark"] .cp365-auth-form-panel,
html[data-cp365-theme="dark"] .cp365-auth-card,
html[data-cp365-theme="dark"] .cp365-register-card,
html[data-cp365-theme="dark"] .cp365-od-shell,
html[data-cp365-theme="dark"] .cp365-cd-shell { background:#09101f!important; color:#f5f7ff!important; border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-auth-card,
html[data-cp365-theme="dark"] .cp365-register-card,
html[data-cp365-theme="dark"] .cp365-od-sidebar,
html[data-cp365-theme="dark"] .cp365-cd-sidebar,
html[data-cp365-theme="dark"] .cp365-od-panel,
html[data-cp365-theme="dark"] .cp365-cd-card,
html[data-cp365-theme="dark"] .cp365-od-kpis>*,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-card { background:#111b30!important; border-color:#2a3952!important; color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-auth-site h1,
html[data-cp365-theme="dark"] .cp365-auth-site h2,
html[data-cp365-theme="dark"] .cp365-od-shell h1,
html[data-cp365-theme="dark"] .cp365-od-shell h2,
html[data-cp365-theme="dark"] .cp365-od-shell strong,
html[data-cp365-theme="dark"] .cp365-cd-shell h1,
html[data-cp365-theme="dark"] .cp365-cd-shell h2 { color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-auth-site input,
html[data-cp365-theme="dark"] .cp365-od-shell input,
html[data-cp365-theme="dark"] .cp365-od-shell select,
html[data-cp365-theme="dark"] .cp365-od-shell textarea,
html[data-cp365-theme="dark"] .cp365-cd-shell input { background:#172238!important; color:#f5f7ff!important; border-color:#32415b!important; }
html[data-cp365-theme="dark"] .cp365-od-shell p,
html[data-cp365-theme="dark"] .cp365-cd-shell p,
html[data-cp365-theme="dark"] .cp365-auth-site label { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365-auth-site .cp365-logo img { filter:brightness(0) invert(1)!important; }
html[data-cp365-theme="dark"] .cp365-auth-header .cp365-logo::before,
html[data-cp365-theme="dark"] .cp365-auth-header .cp365-logo::after,
html[data-cp365-theme="dark"] .cp365-auth-footer .cp365-logo::before,
html[data-cp365-theme="dark"] .cp365-auth-footer .cp365-logo::after { content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:url('../images/brand/clubpass365-logo-forced.png') center/100% 100% no-repeat; }
html[data-cp365-theme="dark"] .cp365-auth-site .cp365-logo::before { clip-path:inset(0 78% 0 0); }
html[data-cp365-theme="dark"] .cp365-auth-site .cp365-logo::after { clip-path:inset(0 0 24% 77%); }

/* Administrator dashboard has a separate stylesheet and layout. */
html[data-cp365-theme="dark"] .cp365-admin-app { --cp365a-text:#f5f7ff;--cp365a-navy:#f5f7ff;--cp365a-muted:#b4bfd2;--cp365a-border:#2a3952;background:#09101f!important;color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-admin-sidebar,
html[data-cp365-theme="dark"] .cp365-admin-top,
html[data-cp365-theme="dark"] .cp365-admin-card,
html[data-cp365-theme="dark"] .cp365-admin-kpis>a,
html[data-cp365-theme="dark"] .cp365-admin-search-results { background:#111b30!important;border-color:#2a3952!important;color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-admin-top form,
html[data-cp365-theme="dark"] .cp365-admin-search-results>a,
html[data-cp365-theme="dark"] .cp365-admin-title-row select,
html[data-cp365-theme="dark"] .cp365-admin-table .tr.th { background:#172238!important;color:#dce4f2!important;border-color:#2a3952!important; }
html[data-cp365-theme="dark"] .cp365-admin-app h1,
html[data-cp365-theme="dark"] .cp365-admin-app h2,
html[data-cp365-theme="dark"] .cp365-admin-app strong,
html[data-cp365-theme="dark"] .cp365-admin-app b,
html[data-cp365-theme="dark"] .cp365-admin-sidebar nav a { color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-admin-app small,
html[data-cp365-theme="dark"] .cp365-admin-app p,
html[data-cp365-theme="dark"] .cp365-admin-app .cp365-admin-kpis span { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365-admin-sidebar nav a.active,
html[data-cp365-theme="dark"] .cp365-admin-sidebar nav a:hover,
html[data-cp365-theme="dark"] .cp365-admin-help { background:#20263c!important; }
html[data-cp365-theme="dark"] .cp365-admin-top input,
html[data-cp365-theme="dark"] .cp365-admin-title-row select { color:#f5f7ff!important;border-color:#32415b!important; }
html[data-cp365-theme="dark"] .cp365-admin-brand img { filter:brightness(0) invert(1); }
html[data-cp365-theme="dark"] .cp365-admin-sms-alert,
html[data-cp365-theme="dark"] .cp365-admin-finance-policy,
html[data-cp365-theme="dark"] .cp365-admin-front-notice { background:#172238!important; border-color:#2a3952!important; color:#dce4f2!important; }
html[data-cp365-theme="dark"] .cp365-admin-sms-alert small,
html[data-cp365-theme="dark"] .cp365-admin-finance-policy small { color:#b4bfd2!important; }
html[data-cp365-theme="dark"] .cp365-admin-chart .big { color:#f5f7ff!important; }
html[data-cp365-theme="dark"] .cp365-admin-chart .line-chart,
html[data-cp365-theme="dark"] .cp365-admin-chart .bar-chart { background-image:linear-gradient(to bottom,transparent 24%,#2a3952 25%,transparent 26%,transparent 49%,#2a3952 50%,transparent 51%,transparent 74%,#2a3952 75%,transparent 76%)!important; border-color:#2a3952!important; }

/* Control contrast for keyboard focus in both themes. */
.cp365-site a:focus-visible,.cp365-site button:focus-visible,.cp365-site input:focus-visible,.cp365-site select:focus-visible,.cp365-site textarea:focus-visible { outline:2px solid #ff6a86!important;outline-offset:2px; }

/* v1.0.121 — completed-order / ticket confirmation theme sync. */
html[data-cp365-theme="dark"] .cp365-order-confirmation-page{
  background:#09101f!important;
  color:#f5f7ff!important;
}
html[data-cp365-theme="dark"] .cp365-order-success-hero,
html[data-cp365-theme="dark"] .cp365-order-receipt-summary>div,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-card,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-state-card{
  background:#111b30!important;
  border-color:#2a3952!important;
  color:#f5f7ff!important;
  box-shadow:0 18px 55px rgba(0,0,0,.18)!important;
}
html[data-cp365-theme="dark"] .cp365-order-success-hero h1,
html[data-cp365-theme="dark"] .cp365-order-success-hero strong,
html[data-cp365-theme="dark"] .cp365-order-ticket-heading h2,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-main h3,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-main h3 a,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-bottom>strong,
html[data-cp365-theme="dark"] .cp365-order-receipt-summary strong{
  color:#f5f7ff!important;
}
html[data-cp365-theme="dark"] .cp365-order-success-hero p,
html[data-cp365-theme="dark"] .cp365-order-receipt-summary span,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-meta,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-code,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-state-card p{
  color:#b4bfd2!important;
}
html[data-cp365-theme="dark"] .cp365-order-success-check{
  background:#123827!important;
  color:#43dc92!important;
  box-shadow:0 0 0 8px rgba(67,220,146,.08)!important;
}
html[data-cp365-theme="dark"] .cp365-order-email-note{
  background:#352b1b!important;
  border-color:#66502b!important;
  color:#f4d99d!important;
}
html[data-cp365-theme="dark"] .cp365-order-receipt-summary .total{
  background:linear-gradient(110deg,#2b1830,#2d2024)!important;
  border-color:#67354a!important;
}
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-bottom,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-qr{
  border-color:#2a3952!important;
}
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-code code{
  background:#172238!important;
  border-color:#32415b!important;
  color:#e5ebf6!important;
}
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-status{
  background:#123827!important;
  color:#64e5a6!important;
}
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-status.refunded,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-status.cancelled,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-status.canceled,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-status.void,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-status.invalid{
  background:#3a2028!important;
  color:#ff9bab!important;
}
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-status.checked-in{
  background:#1d2c4e!important;
  color:#a9c1ff!important;
}
/* QR artwork must remain on a white field for reliable scanning. */
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-qr img{
  background:#fff!important;
  border-color:#d9deea!important;
}
html[data-cp365-theme="dark"] .cp365-order-success-actions .cp365-btn-outline,
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-actions .cp365-btn-outline{
  background:#172238!important;
  border-color:#32415b!important;
  color:#f5f7ff!important;
}
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-actions .cp365-wallet-btn{
  background:#1b2941!important;
  border-color:#3a4b68!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
}
html[data-cp365-theme="dark"] .cp365-order-ticket-list .cp365-cd-ticket-actions .cp365-wallet-btn:hover{
  background:#223451!important;
}
html[data-cp365-theme="dark"] .cp365-order-ticket-heading a{
  color:#ff6f9d!important;
}

/* v1.0.122 — cart + wishlist night-mode surface sync. */
html[data-cp365-theme="dark"] .cp365-cart-page,
html[data-cp365-theme="dark"] .cp365-wishlist-page{
  background:#09101f!important;
  color:#f5f7ff!important;
}
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-state-card,
html[data-cp365-theme="dark"] .cp365-wishlist-page .cp365-state-card,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-item{
  background:#111b30!important;
  border-color:#2a3952!important;
  color:#f5f7ff!important;
  box-shadow:0 18px 46px rgba(0,0,0,.18)!important;
}
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-state-card h2,
html[data-cp365-theme="dark"] .cp365-wishlist-page .cp365-state-card h2,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-event-title,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-item-price,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-item-line-total,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary strong,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary .cp365-cart-total,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary .cp365-cart-total span{
  color:#f5f7ff!important;
}
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-state-card p,
html[data-cp365-theme="dark"] .cp365-wishlist-page .cp365-state-card p,
html[data-cp365-theme="dark"] .cp365-wishlist-page .cp365-wishlist-loading,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-tier-name,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-item-meta,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary>div,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary .cp365-cart-fees,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary .cp365-cart-fees .cp365-cart-fee-row,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary small{
  color:#b4bfd2!important;
}
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary>div,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary .cp365-cart-fees{
  border-color:#2a3952!important;
}
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary .cp365-cart-fees .cp365-cart-fee-row strong{
  color:#f5f7ff!important;
}
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-state-icon,
html[data-cp365-theme="dark"] .cp365-wishlist-page .cp365-state-icon{
  background:#172238!important;
  border-color:#2a3952!important;
  color:#ff6f9d!important;
}
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-state-cart svg{
  stroke:#ff6f9d!important;
}
html[data-cp365-theme="dark"] .cp365-wishlist-page .cp365-page-intro .cp365-btn-outline,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-page-intro .cp365-btn-outline{
  background:#172238!important;
  border-color:#32415b!important;
  color:#f5f7ff!important;
}
html[data-cp365-theme="dark"] .cp365-wishlist-page .cp365-page-intro .cp365-btn-outline:hover,
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-page-intro .cp365-btn-outline:hover{
  background:#22314a!important;
}
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-cart-summary .cp365-btn:disabled{
  background:#2b3549!important;
  color:#8f9aae!important;
  opacity:1!important;
  box-shadow:none!important;
  filter:none!important;
}

/* v1.0.131: Light wordmark on the customer-site administrator workspace at night. */
html[data-cp365-theme="dark"] .cp365-admin-front-app .cp365-admin-brand img.cp365-admin-logo-on-light{display:none!important}
html[data-cp365-theme="dark"] .cp365-admin-front-app .cp365-admin-brand img.cp365-admin-logo-on-dark{display:block!important}
html[data-cp365-theme="light"] .cp365-admin-front-app .cp365-admin-brand img.cp365-admin-logo-on-light{display:block!important}
html[data-cp365-theme="light"] .cp365-admin-front-app .cp365-admin-brand img.cp365-admin-logo-on-dark{display:none!important}

/* v1.0.139 — site-wide Night Mode brand accent
   Day mode keeps the configured ClubPass365 pink/orange palette. Night mode only
   swaps the brand accents to the approved blue → deep-purple gradient. */
html[data-cp365-theme="dark"]{
  --cp365-g1:#203DB1!important;
  --cp365-g2:#3327A3!important;
  --cp365-g3:#431993!important;
  --cp365-night-accent-1:#203DB1;
  --cp365-night-accent-2:#3327A3;
  --cp365-night-accent-3:#431993;
  --cp365-night-accent:linear-gradient(180deg,#203DB1 0%,#3327A3 52%,#431993 100%);
  --cp365-night-accent-horizontal:linear-gradient(100deg,#203DB1 0%,#3327A3 52%,#431993 100%);
  --cp365-night-accent-soft:linear-gradient(120deg,rgba(32,61,177,.22),rgba(67,25,147,.18));
}
html[data-cp365-theme="dark"] .cp365-site{
  --cp365-g1:#203DB1!important;
  --cp365-g2:#3327A3!important;
  --cp365-g3:#431993!important;
}

/* Primary branded actions across public pages, checkout, account and organizer/customer workspaces. */
html[data-cp365-theme="dark"] :is(
  .cp365-btn-gradient,
  .cp365-hero-search button,
  .cp365-browse-search button,
  .cp365-home-banner-search button,
  .cp365-payout-continue,
  .cp365-payout-start-button,
  .cp365-cd-upgrade-btn,
  .cp365-feature-buy,
  .cp365-feature-button,
  .cp365-feature-cta,
  .cp365-wallet-primary,
  button.cp365-btn-gradient,
  a.cp365-btn-gradient
){
  background:var(--cp365-night-accent-horizontal)!important;
  border-color:transparent!important;
  color:#fff!important;
  box-shadow:0 10px 26px rgba(32,61,177,.28)!important;
}
html[data-cp365-theme="dark"] :is(.cp365-btn-gradient,.cp365-hero-search button,.cp365-browse-search button,.cp365-home-banner-search button,.cp365-payout-continue,.cp365-payout-start-button,.cp365-cd-upgrade-btn):hover{
  filter:brightness(1.08) saturate(1.05)!important;
  box-shadow:0 13px 30px rgba(67,25,147,.32)!important;
}

/* Main branded hero surfaces and promotional strips. */
html[data-cp365-theme="dark"] .cp365-hero{
  background:var(--cp365-night-accent-horizontal)!important;
}
html[data-cp365-theme="dark"] .cp365-hero:before{
  background:radial-gradient(circle at 15% 25%,rgba(255,255,255,.13),transparent 28%),radial-gradient(circle at 85% 20%,rgba(255,255,255,.16),transparent 24%)!important;
}
html[data-cp365-theme="dark"] :is(.cp365-info-panel,.cp365-event-cta-strip,.cp365-org-follow-strip,.cp365p-cta,.cp365-order-receipt-summary .total){
  background:linear-gradient(125deg,rgba(32,61,177,.30),rgba(51,39,163,.28) 52%,rgba(67,25,147,.30))!important;
  border-color:rgba(95,104,230,.38)!important;
}
html[data-cp365-theme="dark"] :is(.cp365-event-profile-hero,.cp365-org-profile-hero){
  background:linear-gradient(125deg,#0d172a 0%,rgba(32,61,177,.28) 52%,rgba(67,25,147,.34) 100%)!important;
  border-color:rgba(95,104,230,.34)!important;
}

/* Selected/active brand controls use the same approved night palette. */
html[data-cp365-theme="dark"] :is(
  .cp365-browse-discovery-chips a.active,
  .cp365-home-quick-links a.active,
  .cp365-filter-chip.active,
  .cp365-filter-chip.is-active,
  .cp365-tab.active,
  .cp365-tab.is-active,
  .cp365-pill.active,
  .cp365-pill.is-active
){
  background:var(--cp365-night-accent-horizontal)!important;
  border-color:transparent!important;
  color:#fff!important;
}
html[data-cp365-theme="dark"] :is(
  .cp365-event-tabs a.active,
  .cp365-order-ticket-heading a,
  .cp365-page-intro a:not(.cp365-btn),
  .cp365-admin-front-app a.cp365-link,
  .cp365-cd-menu a.active,
  .cp365-payout-embedded-head .cp365-eyebrow,
  .cp365-payout-embedded-head>a,
  .cp365-payout-type-card .cp365-payout-intro>.cp365-eyebrow
){color:#7f82ff!important}
html[data-cp365-theme="dark"] .cp365-cd-menu a.active{
  background:linear-gradient(90deg,rgba(32,61,177,.18),rgba(67,25,147,.14))!important;
}
html[data-cp365-theme="dark"] :is(.cp365-cart-page .cp365-state-icon,.cp365-wishlist-page .cp365-state-icon){color:#777cff!important}
html[data-cp365-theme="dark"] .cp365-cart-page .cp365-state-cart svg{stroke:#777cff!important}

/* Inputs, radios and focus states use the night accent without changing semantic status colours. */
html[data-cp365-theme="dark"] :is(.cp365-site input,.cp365-site select,.cp365-site textarea):focus{
  border-color:#5d63df!important;
  box-shadow:0 0 0 3px rgba(65,55,178,.20)!important;
  outline:none!important;
}
html[data-cp365-theme="dark"] .cp365-site input[type="radio"],
html[data-cp365-theme="dark"] .cp365-site input[type="checkbox"]{accent-color:#3327A3!important}

/* Customer + organizer dashboard cards that previously carried pink/orange decorative accents. */
html[data-cp365-theme="dark"] :is(.cp365-cd-organizer-mini,.cp365-cd-upgrade,.cp365-cd-staff-upgrade){
  border-color:rgba(86,90,207,.40)!important;
  background:linear-gradient(120deg,#111b30 0%,rgba(32,61,177,.16) 56%,rgba(67,25,147,.18) 100%)!important;
}
html[data-cp365-theme="dark"] :is(.cp365-cd-event-thumb,.cp365-cd-recent-thumb,.cp365-cd-following-avatar){
  background:var(--cp365-night-accent-horizontal)!important;
}
html[data-cp365-theme="dark"] .cp365-payout-type-icon{
  background:rgba(49,43,157,.22)!important;
  color:#8d90ff!important;
}
html[data-cp365-theme="dark"] .cp365-payout-type-option:has(input:checked){
  border-color:#5d63df!important;
  box-shadow:0 0 0 3px rgba(65,55,178,.18),0 12px 32px rgba(0,0,0,.18)!important;
}
html[data-cp365-theme="dark"] .cp365-payout-type-option:has(input:checked) i,
html[data-cp365-theme="dark"] .cp365-payout-type-summary button{
  background:rgba(49,43,157,.24)!important;
  color:#a4a6ff!important;
}

/* Keep the footer/header structure dark; only branded hover/active accents change. */
html[data-cp365-theme="dark"] .cp365-main-nav>a:hover:after,
html[data-cp365-theme="dark"] .cp365-nav-category:hover>.cp365-nav-category-trigger:after,
html[data-cp365-theme="dark"] .cp365-nav-category:focus-within>.cp365-nav-category-trigger:after{
  background:var(--cp365-night-accent-horizontal)!important;
}

/* v1.0.139 — newer homepage, rewards and registration brand accents. */
html[data-cp365-theme="dark"] :is(
  .cp365-home-search button,
  .cp365-home-v1092 .cp365-home-banner-search button,
  .cp365-home-v1093 .cp365-home-banner-search button,
  .cp365-featured-title em,
  .cp365-featured-price,
  .cp365-home-org-line>span,
  .cp365-home-organizer-avatar,
  .cp365-registration-success-icon,
  .cp365-member-badge,
  .cp365-rewards-ref button,
  .cp365-referral-share button
){
  background:var(--cp365-night-accent-horizontal)!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 8px 22px rgba(32,61,177,.24)!important;
}
html[data-cp365-theme="dark"] .cp365-home-new-hero h1 em{
  background:var(--cp365-night-accent-horizontal)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
}
html[data-cp365-theme="dark"] :is(.cp365-home-more,.cp365-home-local,.cp365-home-activity,.cp365-member-card,.cp365-rewards-hero,.cp365-redeem-card,.cp365-reward-campaign-grid article,.cp365-feature-promo-panel){
  background:linear-gradient(120deg,#111b30 0%,rgba(32,61,177,.12) 52%,rgba(67,25,147,.15) 100%)!important;
  border-color:rgba(79,87,190,.30)!important;
  color:#f5f7ff!important;
}
html[data-cp365-theme="dark"] :is(.cp365-home-more,.cp365-home-local,.cp365-home-activity,.cp365-member-card,.cp365-rewards-hero,.cp365-redeem-card,.cp365-reward-campaign-grid article,.cp365-feature-promo-panel) :is(h1,h2,h3,strong){color:#f5f7ff!important}
html[data-cp365-theme="dark"] :is(.cp365-home-more,.cp365-home-local,.cp365-home-activity,.cp365-member-card,.cp365-rewards-hero,.cp365-redeem-card,.cp365-reward-campaign-grid article,.cp365-feature-promo-panel) :is(p,small,span:not(.status)){color:#b4bfd2}
html[data-cp365-theme="dark"] :is(.cp365-state-icon,.cp365-od-empty-icon,.cp365-od-coming-icon,.cp365-cd-v2-kpis i,.cp365-rewards-earn-grid i){
  background:linear-gradient(135deg,rgba(32,61,177,.20),rgba(67,25,147,.18))!important;
  color:#8588ff!important;
}
html[data-cp365-theme="dark"] :is(.cp365-event-image,.cp365-single-media,.cp365-org-profile-art,.cp365-event-profile-art,.cp365-event-organizer-avatar){
  background-color:#172238!important;
  background-image:linear-gradient(135deg,#172238,#203DB1 50%,#431993)!important;
}
html[data-cp365-theme="dark"] :is(.cp365-org-profile-logo,.cp365-event-profile-logo){outline-color:#5d63df!important}
html[data-cp365-theme="dark"] .cp365-nav-result-symbol{background:#1a2942!important;color:#8588ff!important}


/* v1.0.140 — Night Mode completion pass for the discovery homepage + Categories.
   Removes remaining hard-coded pink/orange accents from the newer templates and
   swaps the photographic homepage hero to a dedicated blue → purple night asset.
   Day mode is intentionally untouched. */

/* Dedicated night hero artwork: preserve the event photography while replacing
   the baked-in pink/orange campaign surfaces with the approved night palette. */
.cp365-home-v1093 .cp365-home-hero-night{display:none!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-day{display:none!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-night{display:block!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner{
  background:#09101f!important;
}

/* Homepage micro-brand text that was still hard-coded to the daytime pink. */
html[data-cp365-theme="dark"] :is(
  .cp365-home-v1093 .cp365-home-section-head>div>span,
  .cp365-home-v1093 .cp365-home-section-head>a,
  .cp365-home-v1093 .cp365-home-more .eyebrow,
  .cp365-home-v1093 .cp365-home-organizer-pitch .copy>span,
  .cp365-home-v1093 .cp365-home-local>div>span,
  .cp365-home-v1093 .cp365-home-event-foot a,
  .cp365-home-v1093 .cp365-home-empty>a,
  .cp365-home-v1093 .cp365-featured-head>a,
  .cp365-home-v1093 .cp365-home-activity>.cp365-wide-wrap>strong,
  .cp365-home-v1093 .cp365-home-activity-set a b,
  .cp365-home-v1093 .cp365-home-hero-chips a b
){
  color:#9094ff!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-empty>span{
  color:#8588ff!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-organizer-pitch .copy h2 em{
  background:var(--cp365-night-accent-horizontal)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
}

/* The live activity bar still carried a burgundy/pink night treatment. */
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-activity{
  background:linear-gradient(100deg,rgba(32,61,177,.16),rgba(51,39,163,.15) 52%,rgba(67,25,147,.18))!important;
  border-color:rgba(97,103,222,.36)!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-activity-set a{
  border-color:rgba(91,97,205,.28)!important;
}

/* “More than a ticket” and related account cards. */
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-more-cards i{
  background:linear-gradient(135deg,rgba(32,61,177,.25),rgba(67,25,147,.24))!important;
  color:#a6a9ff!important;
  border:1px solid rgba(112,118,230,.22)!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-more .cp365-btn,
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-organizer-pitch .cp365-btn{
  background:var(--cp365-night-accent-horizontal)!important;
  color:#fff!important;
  border-color:transparent!important;
}

/* Empty-state and feature surfaces use the approved blue/purple soft accent. */
html[data-cp365-theme="dark"] :is(
  .cp365-home-v1093 .cp365-home-empty,
  .cp365-featured-home .cp365-featured-empty,
  .cp365-home-v1093 .cp365-feature-promo-panel
){
  border-color:rgba(87,94,207,.34)!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-feature-offer{
  background:#111b30!important;
  border-color:#2a3952!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-feature-offer>div span{
  color:#9094ff!important;
}

/* Categories page: arrows, hover borders and collection controls were still using
   literal pink RGBA values even after the global variables changed. */
html[data-cp365-theme="dark"] :is(.cp365-cat-showcase-arrow,.cp365-trending-arrow){
  color:#9498ff!important;
  border-color:rgba(112,118,230,.58)!important;
  background:#172238!important;
  box-shadow:0 7px 18px rgba(32,61,177,.18)!important;
}
html[data-cp365-theme="dark"] :is(.cp365-cat-showcase-card,.cp365-trending-card):hover{
  border-color:rgba(100,106,224,.55)!important;
  box-shadow:0 14px 30px rgba(32,61,177,.18)!important;
}
html[data-cp365-theme="dark"] .cp365-cat-showcase-icon{
  background:var(--cp365-night-accent-horizontal)!important;
  box-shadow:0 8px 20px rgba(32,61,177,.28)!important;
}
html[data-cp365-theme="dark"] .cp365-cat-showcase-count{
  background:linear-gradient(90deg,rgba(32,61,177,.15),rgba(67,25,147,.14))!important;
  border-color:rgba(90,96,204,.30)!important;
}
html[data-cp365-theme="dark"] .cp365-trending-head>a{
  color:#9da0ff!important;
}
html[data-cp365-theme="dark"] .cp365-trending-badge{
  background:var(--cp365-night-accent-horizontal)!important;
  box-shadow:0 6px 16px rgba(32,61,177,.25)!important;
}

/* Newer home/category links can arrive after older rules in frontend.css. Keep this
   final night-only guard so future cards inherit the night accent instead of pink. */
html[data-cp365-theme="dark"] :is(
  .cp365-home-v1093 .cp365-home-section a:not(.cp365-home-event-title):not(.cp365-home-org-line a):not(.cp365-btn),
  .cp365-categories-showcase .cp365-cat-crown
){
  --cp365-local-accent:#9094ff;
}
html[data-cp365-theme="dark"] .cp365-categories-showcase .cp365-cat-crown{color:#8588ff!important}


/* v1.0.141 — finishing fixes for remaining night-gradient mismatches. */
/* Remove the extra Browse Events intro/banner area entirely. */
.cp365-browse-page .cp365-page-intro{display:none!important}

/* Smooth the night hero tint so it feathers out rather than ending with a hard cut. */
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner{isolation:isolate}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(32,61,177,.88) 0%,rgba(51,39,163,.72) 28%,rgba(67,25,147,.48) 48%,rgba(67,25,147,.18) 61%,rgba(67,25,147,0) 72%)}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner::before{content:"";position:absolute;inset:auto 0 0 0;height:32%;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(9,16,31,0) 0%,rgba(20,12,48,.10) 30%,rgba(67,25,147,.18) 100%)}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner>.cp365-home-hero-day,
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner>.cp365-home-hero-night{position:relative;z-index:0}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search,
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips,
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-mobile-copy{position:relative;z-index:2}

/* Home event cards: hot/trending badge must follow the approved night gradient. */
html[data-cp365-theme="dark"] .cp365-home-event-badge.hot{background:var(--cp365-night-accent-horizontal)!important;color:#fff!important;box-shadow:0 8px 18px rgba(32,61,177,.26)!important}

/* Organizer + follow buttons still had a hard-coded daytime gradient in frontend.css. */
html[data-cp365-theme="dark"] :is(
  .cp365-follow,
  button.cp365-follow,
  .cp365-event-organizer-actions .cp365-follow,
  .cp365-event-profile-identity .cp365-follow,
  .cp365-home-organizer-card .cp365-follow,
  .cp365-cd-following-card .cp365-follow
){background:var(--cp365-night-accent-horizontal)!important;color:#fff!important;border-color:transparent!important;-webkit-text-fill-color:#fff!important;box-shadow:0 10px 24px rgba(32,61,177,.24)!important}
html[data-cp365-theme="dark"] :is(
  .cp365-follow:hover,
  .cp365-follow:focus-visible,
  button.cp365-follow:hover,
  button.cp365-follow:focus-visible,
  .cp365-follow.following,
  .cp365-follow[aria-pressed="true"]
){background:var(--cp365-night-accent-horizontal)!important;color:#fff!important;border-color:transparent!important;-webkit-text-fill-color:#fff!important;box-shadow:0 12px 28px rgba(67,25,147,.28)!important}


/* v1.0.142 — restore approved hero/search layout and remove category count strip. */
/* v1.0.141 overlay sat above the baked-in hero typography and also changed the
   search/chip positioning. Disable those overlays and restore the original layout. */
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner::before,
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner::after{display:none!important;content:none!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{
  position:absolute!important;
  z-index:4!important;
  left:4.15%!important;
  bottom:15%!important;
  width:48.15%!important;
  height:13.45%!important;
  min-height:58px!important;
  margin:0!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{
  position:absolute!important;
  z-index:5!important;
  left:3.2%!important;
  right:3.2%!important;
  bottom:2.3%!important;
}
@media(max-width:820px){
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{
    position:relative!important;left:auto!important;bottom:auto!important;width:calc(100% - 24px)!important;height:auto!important;min-height:0!important;margin:-4px auto 0!important;
  }
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{
    position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
  }
}

/* Browse Event Categories: remove the bottom event-count bar from every tile. */
.cp365-cat-showcase-count{display:none!important}
/* With the count strip gone, give the card copy a natural bottom edge. */
.cp365-cat-showcase-content{padding-bottom:18px!important}


/* v1.0.146 — definitive day/night logo switch.
   The previous logo-switch block was malformed, so the browser ignored those declarations. This valid CSS replaces it. */
.cp365-logo .cp365-logo-day,
.cp365-logo .cp365-logo-night{
  height:44px!important;
  width:auto!important;
  max-width:230px!important;
  object-fit:contain!important;
  filter:none!important;
}
.cp365-logo .cp365-logo-day{display:block!important;opacity:1!important;visibility:visible!important}
.cp365-logo .cp365-logo-night{display:none!important;opacity:0!important;visibility:hidden!important}

html[data-cp365-theme="dark"] .cp365-logo .cp365-logo-day{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}
html[data-cp365-theme="dark"] .cp365-logo .cp365-logo-night{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
}
html[data-cp365-theme="light"] .cp365-logo .cp365-logo-day{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
}
html[data-cp365-theme="light"] .cp365-logo .cp365-logo-night{
  display:none!important;
  opacity:0!important;
  visibility:hidden!important;
}

/* Fully disable all legacy pseudo-element logo recolouring/duplication. */
html[data-cp365-theme="dark"] :is(
  .cp365-header .cp365-logo,
  .cp365-footer .cp365-logo,
  .cp365-auth-site .cp365-logo,
  .cp365-auth-header .cp365-logo,
  .cp365-auth-footer .cp365-logo
)::before,
html[data-cp365-theme="dark"] :is(
  .cp365-header .cp365-logo,
  .cp365-footer .cp365-logo,
  .cp365-auth-site .cp365-logo,
  .cp365-auth-header .cp365-logo,
  .cp365-auth-footer .cp365-logo
)::after{
  content:none!important;
  display:none!important;
  background:none!important;
  clip-path:none!important;
}
html[data-cp365-theme="dark"] :is(
  .cp365-header .cp365-logo img,
  .cp365-footer .cp365-logo img,
  .cp365-auth-site .cp365-logo img,
  .cp365-auth-header .cp365-logo img,
  .cp365-auth-footer .cp365-logo img
){filter:none!important}

/* ClubPass365 front-end admin shell logo uses the same day/night asset switch. */
html[data-cp365-theme="dark"] .cp365-admin-front-app .cp365-admin-logo-on-light{display:none!important}
html[data-cp365-theme="dark"] .cp365-admin-front-app .cp365-admin-logo-on-dark{display:block!important;filter:none!important}
html[data-cp365-theme="light"] .cp365-admin-front-app .cp365-admin-logo-on-light{display:block!important;filter:none!important}
html[data-cp365-theme="light"] .cp365-admin-front-app .cp365-admin-logo-on-dark{display:none!important}

@media(max-width:820px){
  .cp365-logo .cp365-logo-day,.cp365-logo .cp365-logo-night{height:36px!important;max-width:185px!important}
}


/* v1.0.147 — make the night logo match the daytime visual size more closely. */
.cp365-logo .cp365-logo-night{object-fit:contain!important}
html[data-cp365-theme="dark"] .cp365-logo .cp365-logo-night{height:52px!important;max-width:290px!important;width:auto!important}
html[data-cp365-theme="dark"] .cp365-admin-brand img.cp365-admin-logo-on-dark{height:56px!important;width:auto!important;max-width:320px!important}
@media(max-width:768px){html[data-cp365-theme="dark"] .cp365-logo .cp365-logo-night{height:43px!important;max-width:230px!important}}


/* v1.0.148 — slightly larger night-mode logo. */
html[data-cp365-theme="dark"] .cp365-logo .cp365-logo-night{height:58px!important;max-width:320px!important;width:auto!important}
html[data-cp365-theme="dark"] .cp365-admin-brand img.cp365-admin-logo-on-dark{height:60px!important;max-width:340px!important;width:auto!important}
@media(max-width:768px){html[data-cp365-theme="dark"] .cp365-logo .cp365-logo-night{height:47px!important;max-width:250px!important}}


/* v1.0.149 — dedicated cinematic night hero. Day mode remains unchanged. */
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner::before,
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner::after{content:none!important;display:none!important;background:none!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{display:none!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{display:none!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-mobile-copy{display:none!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner>img{width:100%!important;height:auto!important;aspect-ratio:2170/725!important;object-fit:cover!important;object-position:center center!important}


/* v1.0.150 — restore night hero search + the three approved quick links. */
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{
  display:grid!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  left:18%!important;
  right:18%!important;
  gap:16px!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips>a:nth-child(n+4){
  display:none!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-mobile-copy{display:none!important}
@media(max-width:820px){
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{
    display:grid!important;
    position:relative!important;
    left:auto!important;
    bottom:auto!important;
    width:calc(100% - 24px)!important;
    margin:-4px auto 0!important;
  }
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{
    display:flex!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    margin:10px 12px 0!important;
    overflow:auto!important;
  }
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips>a:nth-child(-n+3){display:flex!important;flex:0 0 auto!important}
}


/* v1.0.152 — fix night hero squish and improve desktop alignment. */
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner>img{aspect-ratio:auto!important;height:auto!important;object-fit:contain!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{left:4.6%!important;bottom:10.8%!important;width:48.15%!important;height:13.45%!important;min-height:58px!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{left:18.4%!important;right:18.4%!important;bottom:2.5%!important;gap:14px!important}
@media(max-width:1360px){html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{bottom:9.8%!important}html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{left:16%!important;right:16%!important}}


/* v1.0.153 — night hero scale + non-overlapping search layout. */
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner{
  overflow:visible!important;
  background:#07101f!important;
  padding-bottom:22px!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner>img.cp365-home-hero-night{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  aspect-ratio:2170/725!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 auto!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:min(860px,calc(100% - 64px))!important;
  height:66px!important;
  min-height:66px!important;
  margin:18px auto 0!important;
  grid-template-columns:58px minmax(0,1fr) 190px!important;
  border:1px solid rgba(109,118,230,.35)!important;
  border-radius:999px!important;
  overflow:hidden!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:min(900px,calc(100% - 64px))!important;
  margin:12px auto 0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips>a:nth-child(-n+3){display:flex!important}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips>a:nth-child(n+4){display:none!important}
@media(max-width:820px){
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner{padding-bottom:16px!important}
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner>img.cp365-home-hero-night{
    width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;
  }
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{
    width:calc(100% - 24px)!important;height:auto!important;min-height:0!important;margin:12px auto 0!important;
    grid-template-columns:42px minmax(0,1fr) auto!important;border-radius:18px!important;
  }
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{
    width:calc(100% - 24px)!important;margin:10px auto 0!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;overflow:visible!important;
  }
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips>a:nth-child(-n+3){width:100%!important;justify-content:center!important}
}


/* v1.0.154 — search overlaps the lower night hero without covering the baked hero copy. */
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-girl-banner{
  position:relative!important;
  overflow:visible!important;
  padding-bottom:0!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{
  position:absolute!important;
  z-index:6!important;
  left:4.6%!important;
  right:auto!important;
  bottom:18px!important;
  width:48.15%!important;
  height:66px!important;
  min-height:66px!important;
  margin:0!important;
  grid-template-columns:58px minmax(0,1fr) 190px!important;
  border-radius:999px!important;
}
html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:min(900px,calc(100% - 64px))!important;
  margin:14px auto 0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
@media(max-width:820px){
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-banner-search{
    position:relative!important;
    left:auto!important;right:auto!important;bottom:auto!important;
    width:calc(100% - 24px)!important;height:auto!important;min-height:0!important;
    margin:-18px auto 0!important;
    grid-template-columns:42px minmax(0,1fr) auto!important;
    border-radius:18px!important;
  }
  html[data-cp365-theme="dark"] .cp365-home-v1093 .cp365-home-hero-chips{
    width:calc(100% - 24px)!important;margin:10px auto 0!important;
    grid-template-columns:1fr!important;gap:8px!important;
  }
}
