/* EventYard booking UI: search overlay, event sheet + guest checkout, explore page.
   Loaded after styles.css on index.html and events.html; uses its tokens and type. */

/* ───────── shared bits ───────── */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lav); background: rgba(188, 155, 255, .14); white-space: nowrap; }
.pill--orange { color: var(--orange); background: rgba(255, 132, 85, .14); }
.pill--free { color: #7ee0b5; background: rgba(126, 224, 181, .14); }
.icon-btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .25s; }
.icon-btn:hover { background: rgba(255, 255, 255, .16); }
.icon-btn svg { width: 18px; height: 18px; }
.is-locked { overflow: hidden; }

/* nav: search button + explore link */
.nav__search { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .25s; }
.nav__search:hover { background: rgba(255, 255, 255, .16); }
.nav__search svg { width: 18px; height: 18px; }
@media (max-width: 380px) { .nav__search { width: 40px; height: 40px; } }

/* ───────── search overlay: a blur over the page ───────── */
.srch { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: center; }
.srch[hidden] { display: none; }
/* phones: the results sit right over the page, so the veil is darker there */
.srch__veil { position: absolute; inset: 0; background: rgba(10, 8, 16, .84); -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%); }
@media (min-width: 900px) { .srch__veil { background: rgba(10, 8, 16, .66); } }
.srch__panel {
  position: relative; display: flex; flex-direction: column; width: 100%; max-width: 760px; height: 100%;
  padding: calc(env(safe-area-inset-top) + 14px) var(--gutter) calc(env(safe-area-inset-bottom) + 14px);
}
.srch__bar { display: flex; align-items: center; gap: 10px; }
.srch__field { position: relative; flex: 1; }
.srch__field svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }
.srch__input {
  width: 100%; height: 58px; padding: 0 18px 0 50px; border: 0; border-radius: 18px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  color: var(--ink); font: 500 17px/1 var(--f-body); outline: none; transition: box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.srch__input::placeholder { color: rgba(241, 235, 251, .45); }
.srch__input:focus { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px var(--lav); }
.srch__input::-webkit-search-cancel-button { display: none; }
/* the list fades out where it scrolls, instead of stopping mid-row */
.srch__body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; margin: 0 calc(var(--gutter) * -1); padding: 22px var(--gutter) 30px; scrollbar-width: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 36px), transparent); mask-image: linear-gradient(#000 calc(100% - 36px), transparent); }
.srch__body::-webkit-scrollbar { display: none; }
.srch__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 99px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 14px; font-weight: 500; color: rgba(241, 235, 251, .86); white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; }
.chip:hover { background: rgba(255, 255, 255, .12); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--plum); box-shadow: none; }
.srch__label { margin-bottom: 12px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.srch__list { display: grid; gap: 4px; }
.hit { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 16px; width: 100%; padding: 8px; border-radius: 18px; text-align: left; transition: background-color .2s; }
.hit:hover, .hit[aria-selected="true"] { background: rgba(255, 255, 255, .07); }
.hit__img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--raised); }
.hit__body { display: grid; gap: 6px; min-width: 0; }
.hit__title { overflow: hidden; font: 800 19px/1.1 var(--f-poster); letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.hit__title mark { background: none; color: var(--lav); }
.hit__meta { overflow: hidden; font-size: 14px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.hit__price { align-self: start; padding-top: 6px; font: 500 12px/1 var(--f-mono); color: var(--orange); white-space: nowrap; }
.hit__go { width: 18px; height: 18px; color: var(--muted); }
.srch__empty { padding: 40px 0; text-align: center; color: var(--muted); }
.srch__empty b { display: block; margin-bottom: 6px; font: 800 24px/1.1 var(--f-poster); letter-spacing: -.03em; color: var(--ink); }
.srch__all { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 6px; font-weight: 600; }
.srch__all svg { width: 18px; height: 18px; }
.srch__app { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 13.5px; color: var(--muted); }
.srch__app b { color: var(--ink); font-weight: 600; }
.srch__app a { margin-left: auto; flex: none; font-weight: 700; color: var(--orange); }
.srch__app svg { flex: none; width: 22px; height: 22px; color: var(--lav); }
@media (min-width: 900px) {
  .srch__panel { height: auto; max-height: min(780px, 86svh); margin-top: 9svh; padding: 0; }
  .srch__body { max-height: 62svh; margin: 0; padding: 24px 6px 30px; }
}
@media (hover: none), (max-width: 899px) { .srch__kbd { display: none; } }
/* phones: one swipeable chip row, and results stacked (photo | title, when · where, price)
   so titles get two lines instead of being squeezed by the price column */
@media (max-width: 899px) {
  .srch__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 2px var(--gutter); scrollbar-width: none; }
  .srch__chips::-webkit-scrollbar { display: none; }
  .srch__label { margin-bottom: 4px; }
  .srch__list { gap: 0; }
  .hit { grid-template-columns: 64px 1fr; grid-template-rows: auto auto; align-items: start; gap: 4px 14px; padding: 14px 0; border-radius: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
  .hit:first-child { box-shadow: none; }
  .hit:hover { background: none; }
  /* keyboard highlight (narrow desktop windows) grows outward without moving the layout */
  .hit[aria-selected="true"] { border-radius: 6px; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 8px rgba(255, 255, 255, .06); }
  .hit__img { grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 14px; }
  .hit__body { gap: 5px; }
  .hit__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 17px; line-height: 1.12; white-space: normal; }
  .hit__meta { font-size: 13.5px; }
  .hit__body .ed__tags { display: none; }
  .hit__price { grid-column: 2; padding: 0; font-size: 11.5px; letter-spacing: .04em; }
  .srch__all { margin-top: 14px; }
}
.srch__kbd { flex: none; padding: 5px 8px; border-radius: 8px; font: 500 11px/1 var(--f-mono); color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }

/* ───────── event sheet: drawer on desktop, full sheet on phones ───────── */
.sheet { position: fixed; inset: 0; z-index: 130; }
.sheet[hidden] { display: none; }
.sheet__veil { position: absolute; inset: 0; background: rgba(10, 8, 16, .55); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; top: max(10px, env(safe-area-inset-top));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px 26px 0 0; background: var(--surface); box-shadow: 0 -30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
}
@media (min-width: 900px) {
  .sheet__panel { left: auto; top: 12px; right: 12px; bottom: 12px; width: min(560px, calc(100vw - 24px)); border-radius: 28px; box-shadow: 0 40px 120px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); }
}
.sheet__grip { position: absolute; z-index: 3; top: 8px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 9px; background: rgba(255, 255, 255, .28); }
@media (min-width: 900px) { .sheet__grip { display: none; } }
.sheet__top { position: absolute; z-index: 3; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 14px; pointer-events: none; transition: background-color .3s; }
.sheet__top > * { pointer-events: auto; }
.sheet__top .icon-btn { background: rgba(10, 8, 16, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sheet__top.is-solid { background: rgba(20, 15, 27, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.sheet__crumb { flex: 1; overflow: hidden; font: 500 11px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; text-align: center; text-overflow: ellipsis; white-space: nowrap; color: rgba(241, 235, 251, .78); opacity: 0; transition: opacity .3s; }
.sheet__top.is-solid .sheet__crumb, .sheet__top.is-step .sheet__crumb { opacity: 1; }
.sheet__back[hidden] { display: grid; visibility: hidden; }
.sheet__scroll { position: relative; flex: 1; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; }
.sheet__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: rgba(20, 15, 27, .96); box-shadow: 0 -1px 0 var(--line); }
@media (min-width: 900px) { .sheet__bar { padding-bottom: 16px; } }
.sheet__sum { flex: 1; min-width: 0; }
.sheet__sum small { display: block; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sheet__sum b { display: block; margin-top: 4px; overflow: hidden; font: 800 22px/1 var(--f-poster); letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.sheet__cta { flex: none; min-width: 148px; }
.sheet__cta[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.sheet__cta.is-busy { pointer-events: none; }
.sheet__cta .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

/* panes: one per step, slid horizontally */
.pane { padding: 0 22px 30px; }
.pane[hidden] { display: none; }
.pane--step { padding-top: 80px; }
.pane__kicker { margin-bottom: 10px; font: 500 11px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.pane__title { font: 800 clamp(1.9rem, 6vw, 2.4rem)/.98 var(--f-poster); letter-spacing: -.04em; }
.pane__title em { font: italic 400 1.08em/1 var(--f-serif); letter-spacing: -.01em; color: var(--lav); }
.pane__lead { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* details pane */
.ed__cover { position: relative; aspect-ratio: 16 / 11; margin: 0 -22px; overflow: hidden; background: var(--raised); }
.ed__cover img { width: 100%; height: 100%; object-fit: cover; }
.ed__cover::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--surface)); }
.ed__head { position: relative; z-index: 1; display: grid; gap: 12px; margin-top: -54px; }
.ed__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ed__title { font: 800 clamp(2rem, 7vw, 2.6rem)/.96 var(--f-poster); letter-spacing: -.045em; text-wrap: balance; }
.ed__facts { display: grid; gap: 2px; margin-top: 18px; }
.fact { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 10px 0; }
.fact__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(188, 155, 255, .12); color: var(--lav); }
.fact__ico svg { width: 20px; height: 20px; }
.fact b { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.fact span { display: block; font-size: 14px; color: var(--muted); }
.fact a { color: var(--lav); text-decoration: underline; text-underline-offset: 3px; }
.ed__sec { margin-top: 26px; }
.ed__sec h3 { margin-bottom: 10px; font: 500 11px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ed__about { display: grid; gap: 12px; color: rgba(241, 235, 251, .86); font-size: 15.5px; line-height: 1.65; }
.ed__host { display: flex; align-items: center; gap: 12px; }
.ed__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--primary), var(--orange)); font: 800 16px/1 var(--f-poster); color: #fff; }
.ed__host b { display: flex; align-items: center; gap: 5px; font-weight: 600; }
.ed__host b svg { width: 16px; height: 16px; color: var(--lav); }
.ed__host span { font-size: 13.5px; color: var(--muted); }
.ed__tiers { display: grid; gap: 8px; }
.tier-peek { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.tier-peek b { font-weight: 600; }
.tier-peek span { font: 500 13px/1.4 var(--f-mono); color: var(--ink); white-space: nowrap; }
.tier-peek.is-out { opacity: .5; }
.tier-peek.is-out span { color: var(--muted); }

/* app nudge (details, checkout, success) */
.nudge { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px; border-radius: 20px; background: linear-gradient(120deg, rgba(130, 69, 230, .28), rgba(255, 132, 85, .14)); box-shadow: inset 0 0 0 1px rgba(188, 155, 255, .22); }
.nudge__mark { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--canvas); color: var(--lav); }
.nudge__mark svg { width: 28px; height: 18.5px; }
.nudge p { flex: 1; font-size: 14px; line-height: 1.4; color: rgba(241, 235, 251, .8); }
.nudge p b { display: block; color: var(--ink); font-weight: 600; }
.nudge a { flex: none; padding: 10px 14px; border-radius: 99px; background: var(--ink); color: var(--plum); font-size: 13px; font-weight: 700; }

/* tickets pane */
.tiers { display: grid; gap: 10px; margin-top: 22px; }
.tier { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 16px 16px 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background-color .25s; }
.tier.is-picked { background: rgba(188, 155, 255, .09); box-shadow: inset 0 0 0 1.5px var(--lav); }
.tier.is-out { opacity: .55; }
.tier__name { font-weight: 600; font-size: 16px; }
.tier__price { font: 800 20px/1.1 var(--f-poster); letter-spacing: -.02em; }
.tier__note { grid-column: 1; font-size: 13.5px; color: var(--muted); }
.tier__left { font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; color: var(--orange); }
.stepper { grid-column: 2; grid-row: 1 / span 3; display: flex; align-items: center; gap: 4px; }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 20px; line-height: 1; transition: background-color .2s, opacity .2s; }
.stepper button:hover:not([disabled]) { background: rgba(255, 255, 255, .16); }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper button[data-plus] { background: var(--lav); color: var(--plum); }
.stepper output { min-width: 28px; text-align: center; font: 800 20px/1 var(--f-poster); font-variant-numeric: tabular-nums; }
.tier__sold { grid-column: 2; grid-row: 1 / span 3; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hold { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 132, 85, .1); font-size: 13.5px; color: rgba(241, 235, 251, .82); }
.hold svg { flex: none; width: 18px; height: 18px; color: var(--orange); }
.hold b { font-family: var(--f-mono); font-weight: 500; color: var(--orange); font-variant-numeric: tabular-nums; }

/* buyer form */
.form { display: grid; gap: 14px; margin-top: 22px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: rgba(241, 235, 251, .86); }
.field input {
  width: 100%; height: 54px; padding: 0 16px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: var(--ink); font: 500 16px/1 var(--f-body); outline: none; transition: box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px var(--lav); }
.field.is-bad input { box-shadow: inset 0 0 0 1.5px #ff6b6b; }
.field__err { display: none; font-size: 13px; color: #ff8f8f; }
.field.is-bad .field__err { display: block; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lav); }
.guest-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.guest-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--lav); }

/* payment pane */
.summary { margin-top: 22px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.summary__ev { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.summary__ev img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.summary__ev b { display: block; font: 800 18px/1.1 var(--f-poster); letter-spacing: -.025em; }
.summary__ev span { font-size: 13.5px; color: var(--muted); }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin-top: 16px; font-size: 15px; }
.summary dt { color: rgba(241, 235, 251, .82); }
.summary dd { font-family: var(--f-mono); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.summary .is-total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.summary dd.is-total { font: 800 22px/1 var(--f-poster); letter-spacing: -.02em; }
.methods { display: grid; gap: 10px; margin-top: 18px; }
.methods[hidden] { display: none; }
.method { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.method:has(input:checked) { background: rgba(188, 155, 255, .09); box-shadow: inset 0 0 0 1.5px var(--lav); }
.method input { width: 20px; height: 20px; margin: 0; accent-color: var(--lav); }
.method b { display: block; font-weight: 600; }
.method span { font-size: 13.5px; color: var(--muted); }
.method svg { width: 22px; height: 22px; margin-left: auto; color: var(--muted); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.secure svg { width: 15px; height: 15px; }
.demo-note { margin-top: 10px; text-align: center; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.transfer { margin-top: 16px; padding: 18px; border-radius: 18px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.transfer small { display: block; font: 500 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.transfer b { display: block; margin: 6px 0 2px; font: 800 30px/1 var(--f-poster); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.transfer span { font-size: 13.5px; color: var(--muted); }

/* paying: the provider's moment, then the ticket */
.paying { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 30px; background: rgba(20, 15, 27, .94); text-align: center; }
.paying[hidden] { display: none; }
.paying__ring { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--lav); animation: spin .9s linear infinite; }
.paying b { font: 800 24px/1.1 var(--f-poster); letter-spacing: -.03em; }
.paying span { color: var(--muted); font-size: 14px; }

/* success pane: the pass */
.pass { position: relative; margin-top: 22px; border-radius: 26px; overflow: hidden; background: var(--ink); color: var(--plum); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.pass__art { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.pass__art img { width: 100%; height: 100%; object-fit: cover; }
.pass__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(29, 16, 51, .85)); }
.pass__art p { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 14px; color: #fff; font: 800 24px/1 var(--f-poster); letter-spacing: -.035em; }
.pass__body { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px; }
.pass__meta { display: grid; gap: 10px; align-content: start; }
.pass__meta small { display: block; font: 500 9.5px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.pass__meta b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.pass__qr { width: 128px; padding: 8px; border-radius: 14px; background: #fff; }
.pass__qr svg { width: 100%; height: auto; }
.pass__code { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 14px; border-top: 2px dashed rgba(29, 16, 51, .2); font: 500 12px/1 var(--f-mono); letter-spacing: .1em; }
.pass::before, .pass::after { content: ''; position: absolute; z-index: 2; bottom: 46px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); }
.pass::before { left: -11px; }
.pass::after { right: -11px; }
.done__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.done__actions .btn { --h: 50px; padding: 0 16px; font-size: 14px; }
.done__app { margin-top: 26px; padding: 22px; border-radius: 24px; background: linear-gradient(150deg, var(--primary), #5a2bb0 60%, #3a1d78); }
.done__app h3 { font: 800 26px/1 var(--f-poster); letter-spacing: -.04em; color: #fff; }
.done__app h3 em { font: italic 400 1.08em/1 var(--f-serif); color: var(--orange); }
.done__app ul { display: grid; gap: 8px; margin: 14px 0 18px; }
.done__app li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.done__app li svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; }
.done__app .stores { gap: 10px; }
.done__app .store { height: 54px; padding: 0 16px 0 14px; font-size: 15px; }
.done__open { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.confetti--sheet { position: absolute; z-index: 5; left: 50%; top: 30%; width: 0; height: 0; pointer-events: none; }
.confetti--sheet i { position: absolute; display: block; border-radius: 2px; }

/* ───────── explore page ───────── */
.xp-head { max-width: var(--max); margin: 0 auto; padding: calc(var(--nav-h) + clamp(28px, 6vw, 70px)) var(--gutter) 22px; }
.xp-head .display { font-size: clamp(3rem, 8vw, 7rem); }
.xp-head .lead { margin-top: 16px; }
.xp-search { position: relative; max-width: 640px; margin-top: 28px; }
.xp-search svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }
.xp-search input { width: 100%; height: 62px; padding: 0 20px 0 54px; border: 0; border-radius: 20px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--ink); font: 500 17px/1 var(--f-body); outline: none; transition: box-shadow .25s, background-color .25s; -webkit-appearance: none; appearance: none; }
.xp-search input:focus { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px var(--lav); }
.xp-search input::-webkit-search-cancel-button { display: none; }
.xp-filters { position: sticky; top: 0; z-index: 40; padding: 12px 0; background: rgba(10, 8, 16, .82); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); transition: top .45s var(--ease); }
body:has(.nav:not(.is-hidden)) .xp-filters { top: var(--nav-h); }
.xp-filters__row { display: flex; gap: 8px; overflow-x: auto; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); scrollbar-width: none; }
.xp-filters__row::-webkit-scrollbar { display: none; }
.xp-filters__row + .xp-filters__row { margin-top: 8px; }
.xp-filters__sep { flex: none; width: 1px; margin: 6px 4px; background: var(--line); }
.xp-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) 14px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.xp-meta button { color: var(--lav); letter-spacing: .1em; text-transform: uppercase; }
.xp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 30px clamp(14px, 1.8vw, 26px); max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(60px, 8vw, 120px); }
.xp-grid .ev { width: auto; }
/* Cards written in by deploy/bake-events.mjs are for crawlers; explore.js renders its own. */
.js .xp-grid > [data-baked] { display: none; }
.xp-empty { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 120px; text-align: center; }
.xp-empty b { display: block; font: 800 clamp(2rem, 5vw, 3rem)/1 var(--f-poster); letter-spacing: -.04em; }
.xp-empty p { margin: 12px auto 22px; max-width: 30em; color: var(--muted); }
.xp-empty[hidden] { display: none; }
@media (max-width: 559px) { .xp-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; } .xp-grid .ev__title { font-size: 1.05rem; } .xp-grid .ev__venue { font-size: 12.5px; } .xp-grid .ev__tag { display: none; } .xp-grid .ev__price { top: 8px; right: 8px; padding: 6px 8px; font-size: 10px; } }

/* app banner (explore page, touch screens): the install pitch, dismissible */
.app-banner { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 20px; background: rgba(29, 16, 51, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(188, 155, 255, .25), 0 20px 50px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .6s var(--ease); }
.app-banner.is-in { transform: none; }
.app-banner__mark { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--canvas); color: var(--lav); }
.app-banner__mark svg { width: 27px; height: 18px; }
.app-banner p { flex: 1; font-size: 13px; line-height: 1.3; color: var(--muted); }
.app-banner p b { display: block; font-size: 14.5px; color: var(--ink); }
.app-banner a { flex: none; padding: 10px 14px; border-radius: 99px; background: var(--orange); color: #1d0e07; font-size: 13px; font-weight: 700; }
.app-banner button { flex: none; display: grid; place-items: center; width: 32px; height: 32px; color: var(--muted); }
.app-banner button svg { width: 16px; height: 16px; }
@media (min-width: 900px) { .app-banner { left: auto; right: 20px; bottom: 20px; width: 380px; } }

/* Real event forms reuse the existing field geometry and typography. */
.form .guest-person { border: 0; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; min-width: 0; }
.form .guest-person legend { padding: 0 0 16px; font: 600 14px/1.5 var(--f-body); color: var(--lav); }
.form select,.form textarea { width: 100%; min-width: 0; height: 54px; padding: 0 16px; border: 0; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: var(--ink); font: 500 16px/1.5 var(--f-body); outline: none; transition: box-shadow .2s,background-color .2s; }
.form select:focus,.form textarea:focus { background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1.5px var(--lav); }
.form textarea { resize:vertical;min-height:100px;height:auto;padding:14px 16px; }
.form .field.is-bad select,.form .field.is-bad textarea { box-shadow:inset 0 0 0 1.5px #ff6b6b; }
.method[aria-disabled=true] { opacity: .5; cursor: default; }
.done__actions > .secure { align-self: center; margin: 0; }
