/* XI TICKET customer presentation layer.
   This file intentionally changes presentation only. It does not touch Firebase,
   Firestore, Paystack, Supabase, organizer or gate logic. */
:root{
  --customer-cream:#f4ead8;
  --customer-cream-deep:#e6d1ae;
  --customer-paper:#fbf5e9;
  --customer-brown:#382619;
  --customer-brown-2:#5b3a22;
  --customer-gold:#b77922;
  --customer-line:rgba(56,38,25,.14);
}
body:has(.customer-header){
  background:var(--customer-cream);
  color:var(--customer-brown);
}
body:has(.customer-header):before{
  opacity:.15;
  background-image:radial-gradient(rgba(91,58,34,.48) .55px,transparent .55px);
  background-size:8px 8px;
}
.customer-header{
  min-height:78px;
  background:rgba(251,245,233,.94)!important;
  border-bottom:1px solid var(--customer-line)!important;
  box-shadow:0 5px 24px rgba(56,38,25,.06);
  backdrop-filter:blur(16px);
}
.customer-header .brand{color:var(--customer-brown)!important}
.customer-header .brand span{color:var(--customer-gold)!important}
.customer-header .nav a{color:var(--customer-brown)!important;background:transparent!important;border-color:transparent!important}
.customer-header .nav a:hover,.customer-header .nav a.active{background:var(--customer-brown)!important;color:#fff8ed!important}
.customer-header .nav-secondary{background:var(--customer-brown)!important;color:#fff8ed!important}

/* Same existing hero structure, now with a photographic backdrop and no text baked into the image. */
.customer-header + .hero{
  min-height:600px;
  padding:92px 0 78px;
  background-image:
    linear-gradient(90deg,rgba(44,27,16,.58) 0%,rgba(62,39,21,.32) 45%,rgba(62,39,21,.10) 100%),
    linear-gradient(180deg,rgba(244,234,216,.04),rgba(34,20,11,.20)),
    url('https://rtsplpuonezjxouenkub.supabase.co/storage/v1/object/public/bg/customer-event-bg.png')!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  border-bottom:0!important;
}
.customer-header + .hero:before,.customer-header + .hero:after{display:none!important}
.customer-header + .hero .eyebrow{color:#f2d39d!important}
.customer-header + .hero h1{max-width:900px;font-size:clamp(52px,7.6vw,102px);letter-spacing:-.075em}
.customer-header + .hero h1 span{color:#f5d39a!important}
.customer-header + .hero p{max-width:650px;color:#fff4e4;font-size:17px}
.search-focus{
  border:1px solid rgba(255,248,237,.7)!important;
  border-radius:14px!important;
  background:rgba(255,250,242,.96)!important;
  box-shadow:0 18px 55px rgba(33,19,10,.28)!important;
}
.search-focus>span:first-child{color:var(--customer-gold)!important}
.hero-actions .btn.red{background:var(--customer-gold)!important;border-color:var(--customer-gold)!important;box-shadow:0 10px 25px rgba(78,46,17,.22)!important}
.hero-actions .btn.red:hover{background:#9d6519!important}
.hero-actions .btn.ghost{border-color:#fff1dc!important;color:#fff8ed!important}
.trust-item{color:#f8ead6!important}
.trust-icon{background:var(--customer-gold)!important;color:#fff!important}

/* Preserve the current event sections and IDs used by home.js. */
body:has(.customer-header) .section{position:relative}
body:has(.customer-header) .section-title h2{color:var(--customer-brown)}
body:has(.customer-header) .eyebrow{color:var(--customer-gold)}
body:has(.customer-header) .text-link{color:var(--customer-brown-2)}
body:has(.customer-header) .browse-tools{background:rgba(255,250,242,.72);border-color:var(--customer-line);border-radius:16px;padding:10px}
body:has(.customer-header) .filter-chip{border-color:var(--customer-line);background:rgba(255,250,242,.82);color:var(--customer-brown-2)}
body:has(.customer-header) .filter-chip.active{background:var(--customer-brown);border-color:var(--customer-brown);color:#fff8ed}
body:has(.customer-header) .sort-control{color:var(--customer-brown-2)}
body:has(.customer-header) .sort-control select{background:#fffaf2;border-color:var(--customer-line);color:var(--customer-brown)}
body:has(.customer-header) .event-card,
body:has(.customer-header) .featured-strip .event-card{
  background:rgba(255,250,242,.96)!important;
  border:1px solid var(--customer-line)!important;
  border-radius:18px!important;
  box-shadow:0 12px 32px rgba(56,38,25,.10)!important;
}
body:has(.customer-header) .event-card:hover{box-shadow:0 18px 38px rgba(56,38,25,.16)!important;transform:translateY(-4px)!important}
body:has(.customer-header) .mobile-quick-nav{background:rgba(251,245,233,.96);border-color:var(--customer-line)}
body:has(.customer-header) .site-footer{background:var(--customer-brown);color:#f8ead6;border-top:0}
body:has(.customer-header) .site-footer a{color:#f8ead6}

@media(max-width:760px){
  .customer-header + .hero{min-height:520px;padding:64px 0 54px;background-image:linear-gradient(180deg,rgba(44,27,16,.18),rgba(34,20,11,.22)),url('https://rtsplpuonezjxouenkub.supabase.co/storage/v1/object/public/bg/customer-event-bg-mobile.png')!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important}
  .customer-header + .hero h1{font-size:clamp(44px,13vw,72px)}
  .customer-header + .hero p{font-size:15px}
  .hero-trust{grid-template-columns:1fr}
  .trust-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.13)}
  .trust-item:last-child{border-bottom:0}
}

/* Warm textured continuation below the hero — keeps the concert image as the focal point. */
body:has(.customer-header){
  background:
    radial-gradient(circle at 8% 14%, rgba(183,121,34,.10) 0, rgba(183,121,34,0) 28%),
    radial-gradient(circle at 92% 36%, rgba(230,209,174,.38) 0, rgba(230,209,174,0) 32%),
    linear-gradient(180deg,#ead9bb 0,#f1e4cd 13%,#f4ead8 34%,#f7efdf 100%);
  background-attachment:fixed;
}
body:has(.customer-header) .hero + .section,
body:has(.customer-header) .hero ~ .section,
body:has(.customer-header) #how{
  position:relative;
}
body:has(.customer-header) .hero + .section:before,
body:has(.customer-header) .hero ~ .section:before,
body:has(.customer-header) #how:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 18%, rgba(183,121,34,.08) 0 2px, transparent 2.5px),
    radial-gradient(circle at 78% 42%, rgba(91,58,34,.055) 0 1.5px, transparent 2px),
    linear-gradient(135deg, rgba(255,255,255,.24), transparent 35%, rgba(183,121,34,.035) 70%, transparent);
  background-size:18px 18px, 23px 23px, 100% 100%;
  opacity:.72;
}
body:has(.customer-header) .hero + .section:after{
  content:"";
  position:absolute;
  top:-42px;
  left:0;
  right:0;
  height:90px;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(244,234,216,0),rgba(244,234,216,.72),rgba(244,234,216,0));
}
body:has(.customer-header) .hero + .section > *,
body:has(.customer-header) #how > *{
  position:relative;
  z-index:1;
}

@media(max-width:760px){
  body:has(.customer-header){
    background:
      radial-gradient(circle at 50% 10%, rgba(183,121,34,.07), transparent 34%),
      linear-gradient(180deg,#f0e2c9 0,#f5ead8 30%,#f8f0e2 100%);
    background-attachment:scroll;
  }
  body:has(.customer-header) .hero + .section:before,
  body:has(.customer-header) .hero ~ .section:before,
  body:has(.customer-header) #how:before{opacity:.42}
}


/* XI TICKET FINAL CUSTOMER HOW-IT-WORKS / CALMER ATMOSPHERE */
body:has(.customer-header){
  background:
    radial-gradient(circle at 8% 28%, rgba(183,121,34,.055), transparent 24%),
    radial-gradient(circle at 92% 72%, rgba(91,58,34,.045), transparent 26%),
    linear-gradient(180deg,#ead9bb 0,#f3e7d1 12%,#f7efdf 42%,#f4ead8 100%);
  background-attachment:fixed;
}
body:has(.customer-header):after{
  opacity:.26;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(183,121,34,.055) 42.2% 42.6%, transparent 42.8%),
    linear-gradient(300deg, transparent 0 64%, rgba(91,58,34,.04) 64.2% 64.5%, transparent 64.7%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,.42), transparent 34%);
  mix-blend-mode:normal;
}
.how-it-works{padding-top:18px!important;padding-bottom:74px!important}
.how-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:28px}
.how-head h2{margin:6px 0 0;font-size:clamp(30px,4vw,52px);line-height:.98;letter-spacing:-.055em;color:var(--customer-brown)}
.how-head>p{max-width:430px;margin:0 0 3px;font-size:14px;line-height:1.7}
.how-steps{display:grid;grid-template-columns:repeat(3,1fr);position:relative;border:1px solid var(--customer-line);border-radius:22px;background:rgba(255,250,242,.82);box-shadow:0 18px 45px rgba(56,38,25,.08);overflow:hidden}
.how-step{position:relative;display:grid;grid-template-columns:auto 1fr;gap:18px;padding:30px 28px;min-height:180px}
.how-step:not(:last-child){border-right:1px solid var(--customer-line)}
.how-step:not(:last-child):after{content:'→';position:absolute;right:-12px;top:50%;transform:translateY(-50%);width:24px;height:24px;border:1px solid var(--customer-line);border-radius:50%;background:#f8efdf;color:var(--customer-gold);display:grid;place-items:center;font-weight:900;font-size:12px;z-index:2}
.how-number{width:48px;height:48px;border-radius:14px;background:var(--customer-brown);color:#fff8ed;display:grid;place-items:center;font-weight:950;font-size:12px;letter-spacing:.08em;box-shadow:0 7px 18px rgba(56,38,25,.14)}
.how-step h3{margin:2px 0 8px;font-size:19px;color:var(--customer-brown)}
.how-step p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}
@media(max-width:760px){
  body:has(.customer-header){background:linear-gradient(180deg,#f0e2c9 0,#f6ead8 35%,#f8f0e2 100%);background-attachment:scroll}
  body:has(.customer-header):after{opacity:.14}
  .how-it-works{padding-top:8px!important;padding-bottom:48px!important}
  .how-head{display:block;margin-bottom:18px}
  .how-head h2{font-size:32px}
  .how-head>p{margin-top:10px;font-size:13px}
  .how-steps{display:block;border-radius:18px}
  .how-step{min-height:0;padding:20px;grid-template-columns:auto 1fr;gap:14px}
  .how-step:not(:last-child){border-right:0;border-bottom:1px solid var(--customer-line)}
  .how-step:not(:last-child):after{content:'↓';right:auto;left:31px;top:auto;bottom:-12px;transform:none}
  .how-number{width:42px;height:42px;border-radius:12px}
  .how-step h3{font-size:17px}
  .how-step p{font-size:12px}
}


/* XI TICKET: shorter customer homepage hero image on mobile */
@media (max-width: 760px) {
  .customer-header + .hero {
    min-height: 0 !important;
    padding: 27px 0 21px !important;
    background-position: center 42% !important;
  }
  .customer-header + .hero .container {
    padding-top: 0;
    padding-bottom: 0;
  }
  .customer-header + .hero h1 {
    font-size: clamp(36px, 10.5vw, 58px) !important;
    line-height: .98 !important;
    margin-top: 10px;
    margin-bottom: 14px;
  }
  .customer-header + .hero p {
    font-size: 14px !important;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .customer-header + .hero .hero-trust {
    margin-top: 22px;
    gap: 8px;
  }
  .customer-header + .hero .trust-item {
    padding: 8px 0;
    font-size: 12px;
  }
}
@media (max-width: 420px) {
  .customer-header + .hero { padding: 21px 0 17px !important; }
  .customer-header + .hero .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .customer-header + .hero h1 { font-size: clamp(33px, 10vw, 44px) !important; }
}

/* XI TICKET premium event discovery refresh — October 2026 */
body:has(.customer-header) .container{width:min(1280px,calc(100% - 56px))}
.customer-header{position:sticky;top:0;z-index:100;min-height:76px;padding-inline:max(28px,calc((100vw - 1280px)/2));}
.customer-header .brand{font-size:25px;letter-spacing:-.075em;font-weight:1000}
.customer-header .nav{gap:8px}
.customer-header .nav a{padding:11px 15px;border-radius:999px;font-size:12px;font-weight:850;transition:background .2s,transform .2s}
.customer-header .nav a:hover{transform:translateY(-1px)}
.customer-header .nav .nav-secondary{padding-inline:18px;box-shadow:0 7px 18px rgba(56,38,25,.16)}
.customer-header + .hero{min-height:610px;display:flex;align-items:center;position:relative;isolation:isolate;overflow:hidden;background-position:center 46%!important}
.customer-header + .hero:after{display:block!important;content:"";position:absolute;inset:auto 0 0;height:130px;background:linear-gradient(transparent,rgba(36,22,13,.24));pointer-events:none}
.customer-header + .hero .container{position:relative;z-index:2;padding-block:25px}
.customer-header + .hero .eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.2em;font-weight:950}
.customer-header + .hero .eyebrow:before{content:"";width:26px;height:2px;background:#f2d39d;display:inline-block}
.customer-header + .hero h1{max-width:850px;margin:24px 0 18px;font-size:clamp(58px,8vw,112px);line-height:.87;letter-spacing:-.085em;text-wrap:balance;text-shadow:0 8px 32px rgba(0,0,0,.18)}
.customer-header + .hero p{max-width:570px;font-size:16px;line-height:1.75;text-shadow:0 2px 12px rgba(0,0,0,.18)}
.search-focus{max-width:700px;min-height:66px;margin-top:28px;padding:0 19px;border-radius:18px!important;display:flex;align-items:center;gap:13px}
.search-focus>span:first-child{font-size:27px;line-height:1}
.search-focus input{min-width:0;font-size:14px;font-weight:650}
.search-hint{font-size:9px!important;font-weight:950;letter-spacing:.16em;color:#7d5a35!important;border:1px solid rgba(91,58,34,.17);border-radius:8px;padding:8px 10px;white-space:nowrap}
.hero-actions{gap:12px;margin-top:17px}
.hero-actions .btn{min-height:48px;padding:0 21px;border-radius:999px!important;font-size:12px;font-weight:950;letter-spacing:.015em;transition:transform .2s,box-shadow .2s}
.hero-actions .btn:hover{transform:translateY(-2px)}
.hero-trust{display:flex!important;flex-wrap:wrap;gap:9px!important;margin-top:27px!important}
.hero-trust .trust-item{display:flex;align-items:center;gap:9px;border:1px solid rgba(255,248,237,.23);background:rgba(40,25,15,.25);border-radius:999px;padding:9px 13px!important;font-size:11px!important;backdrop-filter:blur(10px)}
.trust-icon{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:950}
body:has(.customer-header) main.section{padding-top:72px;padding-bottom:72px}
body:has(.customer-header) .section-title{align-items:end;margin-bottom:26px}
body:has(.customer-header) .section-title h2{font-size:clamp(34px,4.4vw,58px);line-height:.95;letter-spacing:-.075em;font-weight:950}
body:has(.customer-header) .eyebrow{font-size:10px;font-weight:950;letter-spacing:.18em}
body:has(.customer-header) .text-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:12px;border-bottom:1px solid rgba(91,58,34,.3);padding-bottom:6px}
body:has(.customer-header) .text-link:hover{border-color:var(--customer-gold)}
body:has(.customer-header) .marketplace-head{margin-top:70px}
body:has(.customer-header) .marketplace-sub{max-width:590px;color:#80674f;font-size:15px;line-height:1.65}
body:has(.customer-header) .browse-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;border:1px solid rgba(91,58,34,.12);border-radius:20px;padding:12px;background:rgba(255,250,242,.78);box-shadow:0 12px 36px rgba(56,38,25,.055);backdrop-filter:blur(14px)}
body:has(.customer-header) .browse-bar{display:flex;flex-wrap:wrap;gap:8px;margin:0;min-width:0}
body:has(.customer-header) .filter-chip{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 15px;border:1px solid rgba(91,58,34,.14);border-radius:999px;background:rgba(255,255,255,.55);color:#6b4a31;font-size:11px;font-weight:850;white-space:nowrap;transition:transform .18s,background .18s,border-color .18s,box-shadow .18s}
body:has(.customer-header) .filter-chip:hover{transform:translateY(-1px);border-color:rgba(183,121,34,.55);box-shadow:0 5px 14px rgba(56,38,25,.07)}
body:has(.customer-header) .filter-chip.active{background:var(--customer-brown);border-color:var(--customer-brown);color:#fff8ed;box-shadow:0 6px 14px rgba(56,38,25,.16)}
body:has(.customer-header) .sort-control{gap:10px;padding-left:14px;border-left:1px solid var(--customer-line);white-space:nowrap}
body:has(.customer-header) .sort-control select{border-radius:999px;padding:11px 30px 11px 14px;font-size:11px;outline:none}
body:has(.customer-header) .event-scroller{margin-top:20px}
body:has(.customer-header) .event-track{gap:18px;padding:7px 4px 24px;scrollbar-width:thin;scrollbar-color:rgba(91,58,34,.35) transparent}
body:has(.customer-header) .event-track>.event-card{flex:0 0 min(330px,calc((100% - 36px)/3));}
body:has(.customer-header) .event-card,body:has(.customer-header) .featured-strip .event-card{border:1px solid rgba(91,58,34,.13)!important;border-radius:22px!important;overflow:hidden;box-shadow:0 10px 28px rgba(56,38,25,.07)!important;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s,border-color .28s!important}
body:has(.customer-header) .event-card:hover{transform:translateY(-7px)!important;box-shadow:0 25px 48px rgba(56,38,25,.16)!important;border-color:rgba(183,121,34,.32)!important}
body:has(.customer-header) .event-card .xi-image-wrap{height:245px;position:relative;overflow:hidden;border-radius:0!important;background:#d8c4a7}
body:has(.customer-header) .event-card .xi-image-wrap:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(180deg,transparent,rgba(22,15,10,.32));pointer-events:none}
body:has(.customer-header) .event-card .xi-image-wrap img{transition:transform .65s cubic-bezier(.2,.8,.2,1)}
body:has(.customer-header) .event-card:hover .xi-image-wrap img{transform:scale(1.045)}
body:has(.customer-header) .event-card .badge{position:absolute;left:13px;top:13px;z-index:20;border:1px solid rgba(255,255,255,.4);border-radius:999px;padding:8px 11px;background:rgba(37,24,16,.73);color:#fff8ed;font-size:8px;letter-spacing:.13em;backdrop-filter:blur(10px)}
body:has(.customer-header) .event-card .event-type{right:13px;top:auto;bottom:13px;max-width:calc(100% - 26px);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:8px 11px;background:rgba(255,248,237,.92);color:#51351f;font-size:8px;letter-spacing:.12em;box-shadow:0 5px 18px rgba(0,0,0,.12)}
body:has(.customer-header) .event-card .card-body{padding:20px 20px 19px}
body:has(.customer-header) .event-card .event-date{align-items:center;gap:8px;font-size:9px;letter-spacing:.07em;color:#98744f}
body:has(.customer-header) .event-card h3{margin:13px 0 8px;font-size:25px;line-height:1.05;letter-spacing:-.06em;color:var(--customer-brown);font-weight:950}
body:has(.customer-header) .event-card .event-venue{font-size:12px;color:#8d765e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:has(.customer-header) .event-card .event-card-bottom{align-items:end;margin-top:22px;padding-top:15px;border-top:1px solid rgba(91,58,34,.1)}
body:has(.customer-header) .event-card .from-label{font-size:8px;letter-spacing:.16em;color:#98744f}
body:has(.customer-header) .event-card .price{display:block;margin-top:4px;font-size:clamp(15px,4vw,20px);letter-spacing:-.05em;color:var(--customer-brown)}
body:has(.customer-header) .event-card .buy-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border:0!important;border-radius:999px!important;background:var(--customer-brown)!important;color:#fff8ed!important;font-size:10px;font-weight:950;box-shadow:0 6px 15px rgba(56,38,25,.15)!important}
body:has(.customer-header) .event-card .buy-btn:hover{background:#70471f!important}
body:has(.customer-header) .featured-strip{gap:18px}
body:has(.customer-header) .featured-strip .event-card .xi-image-wrap{height:275px}
body:has(.customer-header) .search-meta{font-size:11px;letter-spacing:.02em;color:#856849}
body:has(.customer-header) .state-card{border-radius:20px;border:1px dashed rgba(91,58,34,.25);box-shadow:none;background:rgba(255,250,242,.72);color:var(--customer-brown)}
body:has(.customer-header) #how{padding-top:48px!important}
body:has(.customer-header) .site-footer{padding-top:42px;padding-bottom:28px}
body:has(.customer-header) .footer-title{letter-spacing:.16em}
@media(max-width:1000px){
 body:has(.customer-header) .container{width:calc(100% - 36px)}
 body:has(.customer-header) .browse-tools{align-items:stretch;flex-direction:column}
 body:has(.customer-header) .sort-control{border-left:0;border-top:1px solid var(--customer-line);padding:12px 2px 0;justify-content:space-between}
 body:has(.customer-header) .event-track>.event-card{flex-basis:min(320px,calc((100% - 18px)/2))}
}
@media(max-width:760px){
 .customer-header{min-height:64px;padding-inline:18px}
 .customer-header .brand{font-size:22px}
 .customer-header + .hero{min-height:0!important;padding:55px 0 34px!important;background-position:58% center!important}
 .customer-header + .hero .container{width:calc(100% - 34px)}
 .customer-header + .hero h1{font-size:clamp(42px,12vw,66px)!important;max-width:620px;margin-top:18px;line-height:.91!important}
 .customer-header + .hero p{max-width:470px;font-size:14px!important;line-height:1.6;margin-bottom:14px}
 .search-focus{min-height:57px;margin-top:20px;padding-inline:14px;gap:9px;border-radius:15px!important}
 .search-focus input{font-size:12px}
 .search-hint{display:none}
 .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 .hero-actions .btn{min-height:45px;padding-inline:10px;font-size:10px;white-space:nowrap}
 .hero-trust{display:grid!important;grid-template-columns:1fr 1fr;gap:7px!important;margin-top:18px!important}
 .hero-trust .trust-item{padding:8px 10px!important;font-size:10px!important;white-space:nowrap}
 body:has(.customer-header) main.section{padding-top:42px;padding-bottom:45px}
 body:has(.customer-header) .section-title{margin-bottom:18px}
 body:has(.customer-header) .section-title h2{font-size:35px;line-height:.98}
 body:has(.customer-header) .marketplace-head{margin-top:45px}
 body:has(.customer-header) .marketplace-sub{font-size:12px;line-height:1.55;max-width:340px}
 body:has(.customer-header) .browse-tools{padding:10px;border-radius:16px;gap:10px}
 body:has(.customer-header) .browse-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:1px 1px 4px}
 body:has(.customer-header) .browse-bar::-webkit-scrollbar{display:none}
 body:has(.customer-header) .filter-chip{flex:0 0 auto;min-height:37px;padding:0 13px;font-size:10px}
 body:has(.customer-header) .sort-control{margin-top:0;padding-top:10px;font-size:9px}
 body:has(.customer-header) .sort-control select{max-width:190px;min-height:38px}
 body:has(.customer-header) .event-scroller{position:relative}
 body:has(.customer-header) .event-scroller .scroll-btn{display:none!important}
 body:has(.customer-header) .event-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible;scroll-snap-type:none;padding:3px 0 18px;width:100%;box-sizing:border-box}
 body:has(.customer-header) .event-track>.event-card{display:flex;flex-direction:column;flex:initial;width:100%;min-width:0;max-width:100%;scroll-snap-align:none}
 body:has(.customer-header) .event-card .xi-image-wrap{height:clamp(105px,34vw,155px)}
 body:has(.customer-header) .event-card .card-body{padding:10px}
 body:has(.customer-header) .event-card h3{font-size:clamp(14px,4vw,18px);line-height:1.15}
 body:has(.customer-header) .event-card .event-date{display:flex;font-size:8px}
 body:has(.customer-header) .event-card .event-date span{display:block;margin:0}
 body:has(.customer-header) .event-card .event-card-bottom{flex-direction:row;align-items:end;gap:9px;margin-top:16px;padding-top:13px}
 body:has(.customer-header) .event-card .buy-btn{width:auto;padding:0 13px;min-height:39px}
 body:has(.customer-header) .featured-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body:has(.customer-header) .featured-strip .event-card{min-width:0;width:100%}
 body:has(.customer-header) .featured-strip .event-card .xi-image-wrap{height:150px}
 body:has(.customer-header) .featured-strip .event-card .card-body{padding:12px}
 body:has(.customer-header) .featured-strip .event-card h3{font-size:16px}
 body:has(.customer-header) .featured-strip .event-card .event-date{display:block;font-size:8px}
 body:has(.customer-header) .featured-strip .event-card .event-date span{display:block;margin-top:3px}
 body:has(.customer-header) .featured-strip .event-card .event-card-bottom{display:flex;align-items:stretch;flex-direction:column;gap:8px;margin-top:12px;padding-top:10px}
 body:has(.customer-header) .featured-strip .event-card .buy-btn{width:100%;font-size:9px}
 body:has(.customer-header) .featured-strip .event-card .price{font-size:17px}
 body:has(.customer-header) .featured-strip .event-card .event-venue{font-size:9px}
 body:has(.customer-header) .site-footer{padding-bottom:90px}
}
@media(max-width:390px){
 .customer-header + .hero h1{font-size:39px!important}
 .hero-actions{grid-template-columns:1fr}
 .hero-trust{grid-template-columns:1fr}
 body:has(.customer-header) .featured-strip{grid-template-columns:1fr}
 body:has(.customer-header) .featured-strip .event-card .xi-image-wrap{height:190px}
}

/* Event cards: remove the light paper surface and use a premium dark finish. */
body:has(.customer-header) .event-card,
body:has(.customer-header) .featured-strip .event-card{
  background:#171717!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.24)!important;
}
body:has(.customer-header) .event-card .card-body,
body:has(.customer-header) .featured-strip .event-card .card-body{
  background:#171717!important;
  color:#f5f0e8!important;
}
body:has(.customer-header) .event-card h3,
body:has(.customer-header) .featured-strip .event-card h3,
body:has(.customer-header) .event-card .price,
body:has(.customer-header) .featured-strip .event-card .price{
  color:#fff8ed!important;
}
body:has(.customer-header) .event-card .event-date,
body:has(.customer-header) .featured-strip .event-card .event-date,
body:has(.customer-header) .event-card .event-venue,
body:has(.customer-header) .featured-strip .event-card .event-venue,
body:has(.customer-header) .event-card .from-label,
body:has(.customer-header) .featured-strip .event-card .from-label{
  color:#c4b8a8!important;
}
body:has(.customer-header) .event-card .event-card-bottom,
body:has(.customer-header) .featured-strip .event-card .event-card-bottom{
  border-top-color:rgba(255,255,255,.13)!important;
}
body:has(.customer-header) .event-card .event-type{
  background:rgba(23,23,23,.88)!important;
  border-color:rgba(255,255,255,.25)!important;
  color:#fff8ed!important;
}
body:has(.customer-header) .event-card:hover,
body:has(.customer-header) .featured-strip .event-card:hover{
  background:#1d1d1d!important;
  border-color:rgba(183,121,34,.45)!important;
  box-shadow:0 24px 48px rgba(0,0,0,.32)!important;
}

/* FIX: remove the pale/white band immediately beneath the three hero trust benefits. */
body:has(.customer-header) .customer-header + .hero {
  background-color: #21170f !important;
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
}
body:has(.customer-header) .customer-header + .hero:after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: auto 0 -1px !important;
  height: 96px !important;
  background: linear-gradient(180deg, rgba(33,23,15,0), rgba(33,23,15,.82) 72%, #21170f 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
body:has(.customer-header) .customer-header + .hero .container {
  position: relative !important;
  z-index: 2 !important;
}
body:has(.customer-header) .customer-header + .hero .hero-trust {
  position: relative !important;
  z-index: 3 !important;
  margin-bottom: 0 !important;
}
body:has(.customer-header) .customer-header + .hero + main.section {
  margin-top: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

/* FINAL FIX: the light band is created by the first section's decorative fade,
   not by the trust badges. Remove that overlay completely. */
body:has(.customer-header) .customer-header + .hero + main.section:after,
body:has(.customer-header) .hero + main.section:after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
}
body:has(.customer-header) .customer-header + .hero + main.section:before,
body:has(.customer-header) .hero + main.section:before {
  background: none !important;
  opacity: 0 !important;
}
body:has(.customer-header) .customer-header + .hero {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}
body:has(.customer-header) .customer-header + .hero + main.section {
  margin-top: 0 !important;
  box-shadow: none !important;
}


/* MOBILE FIX: show every category chip across multiple rows instead of hiding
   Parties, Comedy, Arts & Culture and Tables beyond a sideways-only strip. */
@media (max-width:760px){
  body:has(.customer-header) .browse-bar{
    display:flex!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
    white-space:normal!important;
    gap:7px!important;
    padding:0 0 8px!important;
    margin-bottom:12px!important;
  }
  body:has(.customer-header) .browse-bar .filter-chip{
    flex:0 0 auto!important;
    max-width:100%!important;
    white-space:nowrap!important;
    padding:9px 10px!important;
    font-size:10px!important;
  }
  /* Restore the previous/next slide arrows on mobile. */
  body:has(.customer-header) .event-scroller .scroll-btn{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    width:36px!important;
    height:36px!important;
    top:42%!important;
    transform:translateY(-50%)!important;
    background:#fff!important;
    color:#21170f!important;
    border:1px solid #21170f!important;
    box-shadow:0 5px 14px rgba(0,0,0,.22)!important;
  }
  body:has(.customer-header) .event-scroller .scroll-btn.left{left:2px!important}
  body:has(.customer-header) .event-scroller .scroll-btn.right{right:2px!important}
  body:has(.customer-header) .event-track{
    scroll-snap-type:x mandatory!important;
    scroll-behavior:smooth!important;
    -webkit-overflow-scrolling:touch;
  }
  body:has(.customer-header) #upcoming{scroll-margin-top:84px}
  body:has(.customer-header) .event-scroller{scroll-margin-top:90px}
}


/* EVENT SECTION REPAIR — keep the category filters fully visible and restore
   the intended two-row horizontal event slider on phones. */
@media (max-width:760px){
  body:has(.customer-header) #events{overflow:visible!important;}
  body:has(.customer-header) .browse-tools{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;}
  body:has(.customer-header) .browse-bar{
    display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
    width:100%!important;max-width:100%!important;overflow:visible!important;
    align-items:center!important;gap:7px!important;padding:0 0 5px!important;
    margin:0!important;box-sizing:border-box!important;
  }
  body:has(.customer-header) .browse-bar .filter-chip{
    display:inline-flex!important;flex:0 0 auto!important;max-width:100%!important;
    min-height:35px!important;padding:0 10px!important;white-space:nowrap!important;
    font-size:10px!important;line-height:1.1!important;
  }
  body:has(.customer-header) .sort-control{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    width:100%!important;margin:0!important;padding:10px 2px 0!important;
    border-top:1px solid rgba(255,255,255,.12)!important;border-left:0!important;
  }
  body:has(.customer-header) .event-scroller{
    display:block!important;position:relative!important;width:100%!important;min-width:0!important;
    overflow:visible!important;margin-top:14px!important;
  }
  body:has(.customer-header) .event-track{
    display:grid!important;grid-template-columns:none!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:column!important;grid-auto-columns:calc(50% - 7px)!important;
    gap:12px!important;width:100%!important;max-width:100%!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    padding:5px 4px 18px!important;box-sizing:border-box!important;
    scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;
    scrollbar-width:none!important;
  }
  body:has(.customer-header) .event-track::-webkit-scrollbar{display:none!important;}
  body:has(.customer-header) .event-track>.event-card{
    display:flex!important;flex-direction:column!important;flex:initial!important;
    width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;
    scroll-snap-align:start!important;align-self:stretch!important;
  }
  body:has(.customer-header) .event-track>.event-card .xi-image-wrap{height:clamp(100px,27vw,145px)!important;flex:0 0 auto!important;}
  body:has(.customer-header) .event-track>.event-card .card-body{padding:10px!important;min-width:0!important;}
  body:has(.customer-header) .event-track>.event-card h3{font-size:clamp(13px,3.6vw,17px)!important;line-height:1.12!important;overflow-wrap:anywhere!important;}
  body:has(.customer-header) .event-track>.event-card .event-date{display:flex!important;flex-wrap:wrap!important;gap:4px 7px!important;font-size:8px!important;}
  body:has(.customer-header) .event-track>.event-card .event-date span{display:block!important;margin:0!important;}
  body:has(.customer-header) .event-track>.event-card .event-venue{font-size:9px!important;}
  body:has(.customer-header) .event-track>.event-card .event-card-bottom{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;margin-top:auto!important;padding-top:10px!important;}
  body:has(.customer-header) .event-track>.event-card .buy-btn{width:100%!important;min-height:36px!important;padding:0 8px!important;font-size:9px!important;}
  body:has(.customer-header) .event-scroller .scroll-btn{
    display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
    position:absolute!important;top:50%!important;z-index:30!important;
    width:34px!important;height:34px!important;border-radius:50%!important;
    transform:translateY(-50%)!important;background:#fff8ed!important;color:#21170f!important;
    border:1px solid rgba(33,23,15,.65)!important;box-shadow:0 5px 16px rgba(0,0,0,.28)!important;
    place-items:center!important;font-size:24px!important;line-height:1!important;
  }
  body:has(.customer-header) .event-scroller .scroll-btn.left{left:-5px!important;right:auto!important;}
  body:has(.customer-header) .event-scroller .scroll-btn.right{right:-5px!important;left:auto!important;}
  body:has(.customer-header) #upcoming{scroll-margin-top:86px!important;}
  body:has(.customer-header) #events{scroll-margin-top:80px!important;}
}
@media (max-width:390px){
  body:has(.customer-header) .event-track{grid-auto-columns:calc(50% - 6px)!important;gap:10px!important;}
  body:has(.customer-header) .event-track>.event-card .card-body{padding:8px!important;}
  body:has(.customer-header) .event-track>.event-card .event-card-bottom{gap:6px!important;}
}


/* XI TICKET — original organiser-focused section inspired by common ticketing UX patterns */
.organizer-tools-section{padding-top:34px!important;padding-bottom:54px!important}
.organizer-tools-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px}
.organizer-tools-head h2{max-width:700px;margin:7px 0 10px;font-size:clamp(30px,4.2vw,52px);line-height:.98;letter-spacing:-.06em;color:var(--customer-brown)}
.organizer-tools-head p{max-width:610px;margin:0;color:var(--customer-brown-2);font-size:14px;line-height:1.7}
.organizer-cta{display:inline-flex;align-items:center;justify-content:center;gap:18px;flex-shrink:0;padding:14px 18px;border-radius:12px;background:var(--customer-brown);color:#fff8ed!important;text-decoration:none;font-size:13px;font-weight:800;box-shadow:0 9px 22px rgba(56,38,25,.15);transition:transform .2s,background .2s}
.organizer-cta:hover{transform:translateY(-2px);background:var(--customer-brown-2)}
.organizer-tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.organizer-tool-card{min-width:0;padding:22px 20px 24px;border:1px solid var(--customer-line);border-radius:18px;background:rgba(255,250,242,.78);box-shadow:0 9px 25px rgba(56,38,25,.045)}
.organizer-tool-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:20px;border-radius:13px;background:var(--customer-brown);color:#fff8ed;font-size:20px;font-weight:900}
.organizer-tool-card h3{margin:0 0 8px;color:var(--customer-brown);font-size:17px;letter-spacing:-.025em}
.organizer-tool-card p{margin:0;color:var(--customer-brown-2);font-size:12px;line-height:1.7}
@media(max-width:900px){.organizer-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.organizer-tools-head{align-items:flex-start;flex-direction:column}.organizer-cta{width:100%;justify-content:space-between}}
@media(max-width:520px){.organizer-tools-section{padding-top:20px!important;padding-bottom:38px!important}.organizer-tools-head{gap:16px;margin-bottom:17px}.organizer-tools-head h2{font-size:32px}.organizer-tools-head p{font-size:13px}.organizer-tools-grid{gap:10px}.organizer-tool-card{padding:15px 13px 17px;border-radius:15px}.organizer-tool-icon{width:36px;height:36px;margin-bottom:14px}.organizer-tool-card h3{font-size:14px}.organizer-tool-card p{font-size:11px;line-height:1.55}.organizer-cta{font-size:12px;padding:13px 14px}}


/* XI.TICKET premium ticket tiers: Regular/Silver, VIP/Gold, VVIP/Diamond */
.xi-ticket-tier{--xi-tier:#aeb6c2;--xi-tier-deep:#4b5563;--xi-tier-soft:#f2f4f7;--xi-tier-ink:#202631}
.xi-tier-silver{--xi-tier:#b9c2ce;--xi-tier-deep:#586473;--xi-tier-soft:#eef1f5;--xi-tier-ink:#252d38}
.xi-tier-gold{--xi-tier:#d6a63b;--xi-tier-deep:#785719;--xi-tier-soft:#fff5d9;--xi-tier-ink:#33260d}
.xi-tier-diamond{--xi-tier:#7dd3e8;--xi-tier-deep:#176b83;--xi-tier-soft:#e6faff;--xi-tier-ink:#103945}
.ticket-picker .ticket-row.xi-ticket-tier{position:relative;isolation:isolate;overflow:hidden;align-items:center;gap:14px;padding:17px 16px;margin:12px 0;border:1px solid color-mix(in srgb,var(--xi-tier) 58%,#d8dee7);border-radius:16px;background:linear-gradient(115deg,#fff 0%,var(--xi-tier-soft) 100%);box-shadow:0 5px 18px rgba(15,23,42,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.ticket-picker .ticket-row.xi-ticket-tier:before{content:"";position:absolute;z-index:-1;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--xi-tier),var(--xi-tier-deep))}
.ticket-picker .ticket-row.xi-ticket-tier:after{content:"";position:absolute;z-index:-1;right:-24px;top:-35px;width:110px;height:110px;border:1px solid color-mix(in srgb,var(--xi-tier) 40%,transparent);transform:rotate(35deg);border-radius:24px;opacity:.65}
.ticket-picker .ticket-row.xi-ticket-tier:hover{transform:translateY(-1px);box-shadow:0 9px 24px rgba(15,23,42,.09);border-color:var(--xi-tier)}
.xi-ticket-option-copy{min-width:0;flex:1}.xi-ticket-option-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.xi-ticket-option-heading>b{font-size:1.02rem;color:var(--xi-tier-ink);letter-spacing:-.02em}.xi-tier-metal{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid color-mix(in srgb,var(--xi-tier) 65%,white);border-radius:999px;background:color-mix(in srgb,var(--xi-tier-soft) 80%,white);color:var(--xi-tier-deep);font-size:.64rem;font-weight:900;letter-spacing:.13em}.xi-tier-metal i{display:block;width:7px;height:7px;border-radius:50%;background:var(--xi-tier);box-shadow:0 0 0 2px color-mix(in srgb,var(--xi-tier) 22%,transparent)}.xi-ticket-option-meta{margin-top:6px;font-size:.86rem}.xi-tier-dot{padding:0 4px;color:var(--xi-tier-deep)}.xi-tier-note{margin-top:4px;color:var(--xi-tier-deep);font-size:.72rem;font-weight:750;letter-spacing:.02em}.xi-ticket-tier .qty-control{position:relative;z-index:1;flex-shrink:0}.xi-ticket-tier .qty-control .btn{border-color:color-mix(in srgb,var(--xi-tier) 65%,#cbd5e1)}
/* Printed/recovered digital ticket tier treatment */
.ticket.xi-ticket-tier{border-color:var(--xi-tier)!important;box-shadow:0 12px 35px rgba(0,0,0,.14),inset 0 0 0 1px color-mix(in srgb,var(--xi-tier) 35%,transparent)!important;background:linear-gradient(120deg,#fff 0%,var(--xi-tier-soft) 100%)!important}
.ticket.xi-ticket-tier .ticket-brand-row{position:relative}.ticket.xi-ticket-tier .ticket-brand-row .brand{color:var(--xi-tier-ink)!important}.ticket.xi-ticket-tier .ticket-brand-row .brand span{color:var(--xi-tier-deep)!important}.ticket.xi-ticket-tier .ticket-brand-row small{color:var(--xi-tier-deep)!important}.ticket.xi-ticket-tier .xi-ticket-metal-label{display:inline-block;margin-top:2mm;padding:1mm 2mm;border:1px solid var(--xi-tier);border-radius:999px;color:var(--xi-tier-deep);font-size:6px;font-weight:950;letter-spacing:.14em}.ticket.xi-ticket-tier .ticket-side{background:linear-gradient(145deg,var(--xi-tier-soft),#fff)!important;border-left-color:var(--xi-tier)!important}.ticket.xi-ticket-tier .ticket-side-title{color:var(--xi-tier-deep)}.ticket.xi-ticket-tier .ticket-bottom{border-top-color:color-mix(in srgb,var(--xi-tier) 50%,#d9d9d9)}.ticket.xi-ticket-tier .ticket-label{color:var(--xi-tier-deep)!important}.ticket.xi-ticket-tier .ticket-code{color:var(--xi-tier-deep)!important}.ticket.xi-tier-gold{--ticket-accent:#d6a63b}.ticket.xi-tier-diamond{--ticket-accent:#49bad7}
@media(max-width:600px){.ticket-picker .ticket-row.xi-ticket-tier{padding:14px 12px;gap:8px}.xi-ticket-option-heading{gap:7px}.xi-ticket-option-heading>b{font-size:.94rem}.xi-tier-metal{font-size:.58rem;padding:4px 7px}.xi-ticket-tier .qty-control{gap:5px}}

/* XI.TICKET gemstone collection — ticket colours and surfaces are inspired by the actual stones. */
.xi-tier-silver{--xi-tier:#dbe5f1;--xi-tier-deep:#65758b;--xi-tier-soft:#e7edf5;--xi-tier-ink:#f6f8fc}
.xi-tier-gold{--xi-tier:#f3c969;--xi-tier-deep:#a66a12;--xi-tier-soft:#4a2d0c;--xi-tier-ink:#fff5d9}
.xi-tier-diamond{--xi-tier:#a8f0ff;--xi-tier-deep:#2689b1;--xi-tier-soft:#092c46;--xi-tier-ink:#f0fcff}
.ticket-picker .ticket-row.xi-ticket-tier{color:var(--xi-tier-ink);border:1px solid color-mix(in srgb,var(--xi-tier) 72%,transparent);background:radial-gradient(ellipse at 92% 10%,color-mix(in srgb,var(--xi-tier) 35%,transparent),transparent 42%),linear-gradient(125deg,#101827 0%,var(--xi-tier-soft) 54%,#101827 100%);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--xi-tier) 38%,transparent),0 10px 26px rgba(5,10,20,.13)}
.ticket-picker .ticket-row.xi-ticket-tier:before{width:7px;background:linear-gradient(180deg,#fff,var(--xi-tier),var(--xi-tier-deep),var(--xi-tier))}
.ticket-picker .ticket-row.xi-ticket-tier:after{content:"";right:-8px;top:-28px;width:128px;height:128px;border:0;border-radius:0;transform:rotate(35deg);opacity:.8;background:linear-gradient(135deg,transparent 0 27%,color-mix(in srgb,var(--xi-tier) 15%,transparent) 27% 29%,transparent 29% 49%,color-mix(in srgb,var(--xi-tier) 12%,transparent) 49% 51%,transparent 51%),linear-gradient(45deg,transparent 0 48%,color-mix(in srgb,var(--xi-tier) 18%,transparent) 48% 50%,transparent 50%);clip-path:polygon(50% 0,100% 30%,82% 100%,18% 100%,0 30%)}
.xi-ticket-option-heading>b{color:var(--xi-tier-ink)!important}.xi-ticket-option-meta{color:color-mix(in srgb,var(--xi-tier-ink) 82%,transparent)!important}.xi-tier-metal{background:linear-gradient(135deg,color-mix(in srgb,var(--xi-tier) 25%,#101827),#101827)!important;color:var(--xi-tier)!important;border-color:color-mix(in srgb,var(--xi-tier) 65%,transparent)!important}.xi-tier-note{color:var(--xi-tier)!important}.xi-ticket-tier .qty-control .btn{color:var(--xi-tier-ink)!important;background:color-mix(in srgb,var(--xi-tier) 13%,#101827)!important;border-color:color-mix(in srgb,var(--xi-tier) 55%,transparent)!important}
.ticket.xi-ticket-tier{color:var(--xi-tier-ink)!important;background:radial-gradient(ellipse at 95% 4%,color-mix(in srgb,var(--xi-tier) 35%,transparent),transparent 40%),linear-gradient(125deg,#101827 0%,var(--xi-tier-soft) 55%,#101827 100%)!important;border:1px solid var(--xi-tier)!important;position:relative;overflow:hidden}.ticket.xi-ticket-tier:after{content:"";position:absolute;right:-8mm;top:-10mm;width:38mm;height:38mm;pointer-events:none;opacity:.7;background:linear-gradient(135deg,transparent 0 49%,color-mix(in srgb,var(--xi-tier) 35%,transparent) 49% 51%,transparent 51%),linear-gradient(45deg,transparent 0 49%,color-mix(in srgb,var(--xi-tier) 25%,transparent) 49% 51%,transparent 51%);clip-path:polygon(50% 0,100% 30%,82% 100%,18% 100%,0 30%)}.ticket.xi-ticket-tier .ticket-brand-row .brand,.ticket.xi-ticket-tier .ticket-brand-row small,.ticket.xi-ticket-tier .ticket-label,.ticket.xi-ticket-tier .ticket-code{color:var(--xi-tier-ink)!important}.ticket.xi-ticket-tier .ticket-brand-row .brand span,.ticket.xi-ticket-tier .ticket-side-title{color:var(--xi-tier)!important}.ticket.xi-ticket-tier .ticket-side{background:linear-gradient(145deg,var(--xi-tier-soft),#101827)!important;border-left-color:var(--xi-tier)!important}.ticket.xi-ticket-tier .ticket-bottom{border-top-color:color-mix(in srgb,var(--xi-tier) 65%,transparent)!important}.ticket.xi-ticket-tier .xi-ticket-metal-label{color:var(--xi-tier)!important;background:#101827;border-color:var(--xi-tier)!important}


/* XI.TICKET CUSTOMER JOURNEY — cohesive premium finishing layer. */
body:has(.customer-header){background:linear-gradient(180deg,#f7efdf 0%,#f3e8d4 52%,#fbf6ed 100%)}
.customer-header{position:sticky!important;top:0;z-index:100;min-height:74px!important;padding-inline:clamp(16px,4vw,42px)!important}
.customer-header .brand{font-size:26px;letter-spacing:-.085em}
.customer-header .nav a{border-radius:999px!important;padding:10px 14px!important}
body:has(.customer-header) .section-title h1,body:has(.customer-header) .section-title h2{letter-spacing:-.075em;text-wrap:balance}
body:has(.customer-header) .event-card{overflow:hidden;border-radius:20px!important;box-shadow:0 10px 30px rgba(56,38,25,.075)!important}
body:has(.customer-header) .event-card .card-body{padding:20px!important}
body:has(.customer-header) .event-card h3{font-size:clamp(19px,2vw,25px);line-height:1.08}
body:has(.customer-header) .event-card .btn{border-radius:12px!important}
body:has(.customer-header) .browse-tools{border:1px solid rgba(56,38,25,.12)!important;box-shadow:0 8px 22px rgba(56,38,25,.04)}
body:has(.customer-header) .filter-chip{border-radius:999px!important;padding:10px 15px!important}
body:has(.customer-header) .site-footer{border-top:4px solid #b77922!important}
@media(max-width:760px){
  .customer-header{padding-inline:13px!important;gap:8px}
  .customer-header .brand{font-size:22px}
  .customer-header .nav a{padding:8px 9px!important;font-size:10px!important}
  body:has(.customer-header) .event-card .card-body{padding:15px!important}
}

/* XI.TICKET customer-side refresh — Tix-inspired event discovery, original XI styling.
   Presentation only: no checkout, inventory, ticket, or payment logic is changed. */
:root{
  --customer-cream:#f7f8fc;
  --customer-cream-deep:#e9edf6;
  --customer-paper:#ffffff;
  --customer-brown:#191d2b;
  --customer-brown-2:#424b61;
  --customer-gold:#f05b35;
  --customer-line:rgba(31,41,63,.12);
}
body:has(.customer-header){
  color:var(--customer-brown)!important;
  background:
    radial-gradient(ellipse at 5% 9%,rgba(255,118,76,.13),transparent 27%),
    radial-gradient(ellipse at 95% 24%,rgba(115,135,255,.11),transparent 30%),
    radial-gradient(ellipse at 52% 68%,rgba(255,203,164,.12),transparent 32%),
    linear-gradient(180deg,#f8f9fd 0%,#f3f5fa 48%,#ffffff 100%)!important;
  background-attachment:fixed!important;
}
body:has(.customer-header):before{
  opacity:.28!important;
  background-image:radial-gradient(rgba(58,70,100,.23) .6px,transparent .7px)!important;
  background-size:18px 18px!important;
}
body:has(.customer-header):after{
  opacity:.5!important;
  background:
    radial-gradient(ellipse at 4% 38%,rgba(255,112,72,.06),transparent 26%),
    radial-gradient(ellipse at 98% 58%,rgba(106,125,255,.055),transparent 28%)!important;
  mix-blend-mode:normal!important;
}
.customer-header{
  background:rgba(255,255,255,.9)!important;
  border-bottom:1px solid rgba(31,41,63,.09)!important;
  box-shadow:0 8px 30px rgba(30,39,64,.055)!important;
  backdrop-filter:blur(20px)!important;
}
.customer-header .brand{color:#191d2b!important}
.customer-header .brand span{color:#f05b35!important}
.customer-header .nav a{color:#3d465c!important}
.customer-header .nav a:hover,.customer-header .nav a.active{background:#191d2b!important;color:#fff!important}
.customer-header .nav .nav-secondary{background:#f05b35!important;color:#fff!important;box-shadow:0 7px 18px rgba(240,91,53,.2)}
.customer-header + .hero{
  min-height:570px!important;
  padding:82px 0 66px!important;
  border:0!important;
  background-image:
    linear-gradient(90deg,rgba(12,18,32,.83) 0%,rgba(15,22,38,.68) 37%,rgba(18,22,38,.24) 72%,rgba(18,22,38,.1) 100%),
    linear-gradient(180deg,rgba(13,19,33,.05),rgba(13,19,33,.35)),
    url('https://rtsplpuonezjxouenkub.supabase.co/storage/v1/object/public/bg/customer-event-bg.png')!important;
  background-size:cover!important;
  background-position:center 52%!important;
  background-repeat:no-repeat!important;
  position:relative!important;
  isolation:isolate;
}
.customer-header + .hero:before{
  content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:-1!important;
  background:radial-gradient(ellipse at 78% 14%,rgba(255,122,74,.2),transparent 35%),linear-gradient(110deg,rgba(17,24,39,.18),transparent 62%)!important;
}
.customer-header + .hero:after{display:none!important}
.customer-header + .hero .eyebrow{color:#ffc0a9!important;letter-spacing:.18em!important;font-weight:850!important}
.customer-header + .hero h1{max-width:900px!important;letter-spacing:-.075em!important;text-wrap:balance}
.customer-header + .hero h1 span{color:#ff9875!important}
.customer-header + .hero p{max-width:630px!important;color:rgba(255,255,255,.88)!important;line-height:1.7!important}
.search-focus{
  max-width:760px!important;min-height:64px!important;padding:0 18px!important;
  border:1px solid rgba(255,255,255,.8)!important;border-radius:17px!important;
  background:#fff!important;box-shadow:0 20px 60px rgba(0,0,0,.24)!important;
}
.search-focus input{color:#191d2b!important;font-size:15px!important}
.search-focus input::placeholder{color:#8790a4!important}
.search-focus>span:first-child{color:#f05b35!important}
.search-hint{color:#8b93a5!important}
.hero-actions .btn.red{background:#f05b35!important;border-color:#f05b35!important;box-shadow:0 10px 24px rgba(240,91,53,.27)!important}
.hero-actions .btn.red:hover{background:#dc4725!important;border-color:#dc4725!important}
.hero-actions .btn.ghost{border-color:rgba(255,255,255,.68)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;backdrop-filter:blur(8px)}
.trust-item{color:#fff!important}
.trust-icon{background:#fff!important;color:#e95330!important;box-shadow:0 5px 14px rgba(0,0,0,.12)}
body:has(.customer-header) .section{position:relative}
body:has(.customer-header) .section-title h1,body:has(.customer-header) .section-title h2,
body:has(.customer-header) .marketplace-head h2{color:#191d2b!important;letter-spacing:-.065em!important}
body:has(.customer-header) .eyebrow{color:#e95330!important;letter-spacing:.14em}
body:has(.customer-header) .text-link{color:#e95330!important;font-weight:850}
body:has(.customer-header) .browse-tools{
  background:rgba(255,255,255,.84)!important;border:1px solid rgba(31,41,63,.09)!important;
  border-radius:18px!important;padding:12px!important;box-shadow:0 12px 34px rgba(31,41,63,.045)!important;
  backdrop-filter:blur(12px);
}
body:has(.customer-header) .filter-chip{border:1px solid #e3e7ef!important;background:#fff!important;color:#505a70!important;border-radius:999px!important;font-weight:750!important;transition:all .18s ease}
body:has(.customer-header) .filter-chip:hover{border-color:#f05b35!important;color:#e95330!important;transform:translateY(-1px)}
body:has(.customer-header) .filter-chip.active{background:#191d2b!important;border-color:#191d2b!important;color:#fff!important;box-shadow:0 5px 12px rgba(25,29,43,.12)}
body:has(.customer-header) .sort-control{color:#5a6377!important}
body:has(.customer-header) .sort-control select{background:#fff!important;border:1px solid #e0e5ee!important;color:#252b3c!important;border-radius:12px!important}
body:has(.customer-header) .event-card,body:has(.customer-header) .featured-strip .event-card{
  background:#fff!important;border:1px solid rgba(31,41,63,.09)!important;border-radius:20px!important;
  box-shadow:0 12px 35px rgba(31,41,63,.075)!important;overflow:hidden!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
body:has(.customer-header) .event-card:hover{transform:translateY(-5px)!important;border-color:rgba(240,91,53,.25)!important;box-shadow:0 20px 46px rgba(31,41,63,.13)!important}
body:has(.customer-header) .event-card .card-body{background:#fff!important}
body:has(.customer-header) .event-card h3{color:#191d2b!important;letter-spacing:-.035em}
body:has(.customer-header) .event-card .btn{border-radius:12px!important}
body:has(.customer-header) .mobile-quick-nav{background:rgba(255,255,255,.96)!important;border-color:#e3e7ef!important;box-shadow:0 -8px 30px rgba(31,41,63,.07)!important;backdrop-filter:blur(18px)}
body:has(.customer-header) .site-footer{background:#171b29!important;color:#eef1f7!important;border-top:4px solid #f05b35!important}
body:has(.customer-header) .site-footer a{color:#eef1f7!important}
body:has(.customer-header) .organizer-tools-section{background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(244,246,252,.9))!important;border-top:1px solid rgba(31,41,63,.07)!important}
body:has(.customer-header) .organizer-tool-card{background:#fff!important;border:1px solid rgba(31,41,63,.09)!important;box-shadow:0 10px 28px rgba(31,41,63,.05)!important;border-radius:18px!important}
body:has(.customer-header) .organizer-tool-icon{background:#fff0ea!important;color:#e95330!important;border:1px solid #ffddd1!important}
body:has(.customer-header) .organizer-cta{background:#f05b35!important;color:#fff!important;border-radius:13px!important;box-shadow:0 8px 20px rgba(240,91,53,.2)}
@media(max-width:760px){
  body:has(.customer-header){background:linear-gradient(180deg,#f8f9fd 0%,#f2f4fa 55%,#fff 100%)!important;background-attachment:scroll!important}
  .customer-header + .hero{min-height:0!important;padding:42px 0 34px!important;background-image:linear-gradient(180deg,rgba(12,18,32,.52),rgba(12,18,32,.76)),url('https://rtsplpuonezjxouenkub.supabase.co/storage/v1/object/public/bg/customer-event-bg-mobile.png')!important;background-size:cover!important;background-position:center 44%!important}
  .customer-header + .hero h1{font-size:clamp(36px,10.5vw,58px)!important;line-height:.98!important}
  .customer-header + .hero p{font-size:14px!important}
  .search-focus{min-height:58px!important;border-radius:14px!important;padding-inline:13px!important}
  body:has(.customer-header) .browse-tools{padding:9px!important;border-radius:15px!important}
  body:has(.customer-header) .filter-chip{padding:9px 12px!important;font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){body:has(.customer-header) .event-card,body:has(.customer-header) .filter-chip{transition:none!important}}


/* XI.TICKET experiment: alternate event card backgrounds only.
   Existing layout, images, copy, links and event behaviour are unchanged. */
body:has(.customer-header) .event-track > .event-card:nth-child(odd),
body:has(.customer-header) .featured-strip .event-card:nth-child(odd),
body:has(.customer-header) .events-grid > .event-card:nth-child(odd),
body:has(.customer-header) .event-grid > .event-card:nth-child(odd) {
  background-color: #ffffff !important;
}
body:has(.customer-header) .event-track > .event-card:nth-child(even),
body:has(.customer-header) .featured-strip .event-card:nth-child(even),
body:has(.customer-header) .events-grid > .event-card:nth-child(even),
body:has(.customer-header) .event-grid > .event-card:nth-child(even) {
  background-color: #d94335 !important;
}
body:has(.customer-header) .event-track > .event-card:nth-child(odd) .card-body,
body:has(.customer-header) .featured-strip .event-card:nth-child(odd) .card-body,
body:has(.customer-header) .events-grid > .event-card:nth-child(odd) .card-body,
body:has(.customer-header) .event-grid > .event-card:nth-child(odd) .card-body {
  background-color: #ffffff !important;
}
body:has(.customer-header) .event-track > .event-card:nth-child(even) .card-body,
body:has(.customer-header) .featured-strip .event-card:nth-child(even) .card-body,
body:has(.customer-header) .events-grid > .event-card:nth-child(even) .card-body,
body:has(.customer-header) .event-grid > .event-card:nth-child(even) .card-body {
  background-color: #d94335 !important;
}


/* Event metadata contrast only: preserve each event title's existing colour. */
body:has(.customer-header) .event-track > .event-card:nth-child(odd) .event-date,
body:has(.customer-header) .featured-strip .event-card:nth-child(odd) .event-date,
body:has(.customer-header) .events-grid > .event-card:nth-child(odd) .event-date,
body:has(.customer-header) .event-grid > .event-card:nth-child(odd) .event-date,
body:has(.customer-header) .event-track > .event-card:nth-child(odd) .event-venue,
body:has(.customer-header) .featured-strip .event-card:nth-child(odd) .event-venue,
body:has(.customer-header) .events-grid > .event-card:nth-child(odd) .event-venue,
body:has(.customer-header) .event-grid > .event-card:nth-child(odd) .event-venue {
  color: #111111 !important;
}
body:has(.customer-header) .event-track > .event-card:nth-child(even) .event-date,
body:has(.customer-header) .featured-strip .event-card:nth-child(even) .event-date,
body:has(.customer-header) .events-grid > .event-card:nth-child(even) .event-date,
body:has(.customer-header) .event-grid > .event-card:nth-child(even) .event-date,
body:has(.customer-header) .event-track > .event-card:nth-child(even) .event-venue,
body:has(.customer-header) .featured-strip .event-card:nth-child(even) .event-venue,
body:has(.customer-header) .events-grid > .event-card:nth-child(even) .event-venue,
body:has(.customer-header) .event-grid > .event-card:nth-child(even) .event-venue {
  color: #ffffff !important;
}

/* Final contrast correction: text on white/light surfaces must be black. */
body:has(.customer-header) {
  --customer-brown: #000000;
  --customer-brown-2: #000000;
}
body:has(.customer-header) .card-body,
body:has(.customer-header) .event-card .card-body,
body:has(.customer-header) .modal-box,
body:has(.customer-header) .state-card,
body:has(.customer-header) .gate-box,
body:has(.customer-header) .organizer-tool-card,
body:has(.customer-header) .organizer-tools-head,
body:has(.customer-header) .find-ticket-wrap,
body:has(.customer-header) .checkout-card {
  color: #000000;
}
body:has(.customer-header) .card-body :is(h1,h2,h3,h4,h5,p,span,small,strong,em,label,li,dt,dd,div),
body:has(.customer-header) .event-card .card-body :is(h1,h2,h3,h4,h5,p,span,small,strong,em,label,li,dt,dd,div),
body:has(.customer-header) .modal-box :is(h1,h2,h3,h4,h5,p,span,small,strong,em,label,li,dt,dd,div),
body:has(.customer-header) .state-card :is(h1,h2,h3,h4,h5,p,span,small,strong,em,label,li,dt,dd,div),
body:has(.customer-header) .organizer-tool-card :is(h1,h2,h3,h4,h5,p,span,small,strong,em,label,li,dt,dd,div) {
  color: #000000;
}
/* Keep white text on intentional dark/coloured controls and banners. */
body:has(.customer-header) :is(.btn.red,.btn.dark,.nav-secondary,.buy-btn,.organizer-cta,.xi-whatsapp-care,.hero,.site-footer,.featured-card,.event-image) {
  color: #ffffff;
}
