/*
 * Public event pages - /events and /organizers (.evl), an event's page (.evd + the phone
 * ticket sheet) and an organizer's public page (.orgp).
 * Same look as the dashboards and account pages (nb-dash.css / nb-portal.css): Inter
 * Tight headings with a rust eyebrow, white cards with a 22px radius on the page colour,
 * pill search / chips / buttons, and the ticket box drawn as a ticket - an orange
 * "ADMIT ONE" stub with the price, a dashed tear line with notches, then the picker
 * on cream and a black "Reserve" pill. Orange TEXT only on black (--acc-ink); small text
 * on light uses --e-rust (#A63B20).
 */
.nb .evl, .nb .evd, .nb .orgp, .nb #evSheet, .nb .ev-bottombar {
  --e-rust: #A63B20; --e-black: #141414; --e-text2: #5E5650; --e-line: #EADFD6; --e-row: #F3ECE6; --e-field: #E4DCD5;
}

/* ================================================================== /events */
.nb .evl .head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin: 28px 0 22px; }
.nb .evl .head-row .eyebrow { display: block; margin: 0; font-family: var(--ff); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--e-rust); }
.nb .evl .head-row h1 { margin: 10px 0 8px; font-family: var(--fd); font-weight: 900; font-size: 48px; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.nb .evl .head-row p { margin: 0; font-size: 16px; color: var(--e-text2); }
/* toolbar: pill search + pill chips, on a white card */
.nb .evl .toolbar { gap: 10px 14px; padding: 12px; border: 1px solid var(--e-line); border-radius: 22px; background: #fff; box-shadow: none; }
.nb .evl .toolbar .search { height: 48px; padding: 0 6px 0 18px; border: 1.5px solid var(--e-black); border-radius: 999px; background: #fff; }
.nb .evl .toolbar .search:focus-within { outline: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 20%, transparent); }
.nb .evl .toolbar .search button { width: 38px; height: 38px; border-radius: 50%; background: var(--acc); color: var(--ink); }
.nb .evl .toolbar .search button:hover { background: var(--e-black); color: #fff; }
.nb .evl .chip span { border: 1.5px solid var(--e-line); background: #fff; color: var(--ink); font-weight: 700; }
.nb .evl .chip:hover span { border-color: var(--e-black); }
.nb .evl .chip input:checked + span { border-color: var(--e-black); background: var(--e-black); color: var(--cream); }
.nb .evl .chips__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--e-text2); }
.nb .evl .toolbar select.select { border: 1.5px solid var(--e-line); border-radius: 999px; background-color: #fff; }
.nb .evl .toolbar .btn.toolbar-filters-btn { border: 1.5px solid var(--e-line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; }
.nb .evl .event-results { margin-top: 24px; }
.nb .evl .nb-empty { margin-top: 24px; padding: 40px 24px; border: 2px dashed #DCCFC4; border-radius: 22px; background: #fff; }
.nb .evl .nb-empty h3 { font-family: var(--fd); font-weight: 800; font-size: 22px; }
.nb .evl .pagination { margin-top: 28px; }
.nb .evl .pagination .pages a, .nb .evl .pagination .pages button { border-radius: 999px; }
.nb .evl .pagination .pages a.active { border-color: var(--e-black); background: var(--e-black); color: var(--cream); }

/* ================================================================== event page */
.nb .evd .ev-cover { border-radius: 22px; }
/* header */
.nb .evh { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 24px; margin-top: 24px; }
.nb .evh__main { min-width: 0; flex: 1; }
.nb .evh__cat { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--e-black); color: var(--acc-ink); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nb .evh__title { margin: 14px 0 10px; max-width: 22ch; font-family: var(--fd); font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -.035em; color: var(--ink); overflow-wrap: break-word; }
.nb .evh__sub { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.55; color: var(--e-text2); }
.nb .evh__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nb .evh__pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 1.5px solid var(--e-line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; }
.nb .evh__pill svg { flex: none; color: var(--rust); }
.nb .evh__pill .ev-map { color: var(--ink); text-decoration: underline; text-decoration-color: var(--e-line); text-underline-offset: 3px; }
.nb .evh__pill .ev-map:hover { color: var(--e-rust); text-decoration-color: currentColor; }
.nb .evh__actions { display: flex; flex: none; gap: 8px; }
.nb .evh__actions .ib { width: 48px; height: 48px; border: 1.5px solid var(--e-black); border-radius: 50%; background: #fff; color: var(--ink); }
.nb .evh__actions .ib:hover { background: var(--e-black); color: #fff; }
.nb .evh__actions .ib:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.nb .evd .pass-divider { margin-top: 28px; }

/* section cards */
.nb .evd .dash-split { gap: 24px; margin-top: 8px; }
.nb .evd .form-card { overflow: hidden; border: 1px solid var(--e-line); border-radius: 22px; background: #fff; box-shadow: none; }
.nb .evd .form-card + .form-card, .nb .evd .form-card.u-mt-24 { margin-top: 16px; }
.nb .evd .form-section { padding: 24px 28px; }
.nb .evd .ev-h2 { margin: 0 0 14px; font-family: var(--fd); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.nb .evd .ev-prose { font-size: 16px; line-height: 1.7; color: #3A3532; }
.nb .evd .ev-prose p { margin: 0 0 12px; }
.nb .evd .ev-prose p:last-child { margin-bottom: 0; }
.nb .evd .ev-mapframe { display: block; width: 100%; height: 240px; border: 1px solid var(--line); border-radius: var(--r-sm, 10px); background: var(--line); }
.nb .evd .ev-facts > div { padding: 12px 0; border-bottom: 1px solid var(--e-row); }
.nb .evd .ev-facts > div:last-child { border-bottom: 0; }
.nb .evd .ev-facts dt { color: var(--e-text2); }
.nb .evd .ev-facts dd { font-weight: 700; color: var(--ink); }
.nb .evd .more-options summary { font-weight: 700; }
.nb .evd .sp-card { border: 1px solid var(--e-line); border-radius: 16px; background: #FBF7F3; }
.nb .evd .mono-data { font-family: var(--fm); color: var(--e-text2); }
.nb .evd .btn { border-radius: 999px; font-weight: 700; }
.nb .evd .btn.b-sec { border: 1.5px solid var(--e-black); background: transparent; color: var(--ink); }
.nb .evd .btn.b-sec:hover { background: var(--e-black); color: #fff; }
.nb .evd .ev-org { max-width: 360px; margin-top: 16px; }

/* ---------------------------------------------------------------- ticket box: a ticket */
.nb .evd .ev-buy-sticky > .form-card { overflow: visible; border: 0; border-radius: 22px; background: var(--cream); box-shadow: 0 18px 40px -24px rgba(20, 20, 20, .35); }
.nb .evd .ev-buy-sticky .form-section { padding: 0 24px 24px; }
.nb .evd .ev-buy-sticky .tp-price-row {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin: 0 -24px 22px; padding: 22px 24px 20px; border-bottom: 2px dashed var(--rust); border-radius: 22px 22px 0 0; background: var(--acc); color: var(--ink);
}
.nb .evd .ev-buy-sticky .tp-price-row::before, .nb .evd .ev-buy-sticky .tp-price-row::after {
  content: ""; position: absolute; bottom: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg);
}
.nb .evd .ev-buy-sticky .tp-price-row::before { left: -14px; }
.nb .evd .ev-buy-sticky .tp-price-row::after { right: -14px; }
.nb .evd .ev-buy-sticky .tp-price-row .lbl { display: block; font-family: var(--fd); font-weight: 900; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.nb .evd .ev-buy-sticky .tp-price-row .price { margin-top: 6px; font-family: var(--fd); font-weight: 900; font-size: 36px; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.nb .evd .ev-buy-sticky .tp-price-row .status-badge { background: var(--e-black); color: #fff; }
.nb .evd .ev-buy-sticky .tp-price-row .status-badge.tone-ok::before { background: #8FD6A6; }
.nb .evd .ev-buy-sticky .tp-price-row .status-badge.tone-warn::before { background: #F2C178; }
.nb .evd .ev-buy-sticky .tp-price-row .status-badge.tone-err::before { background: #F09A84; }
.nb .evd .ev-buy-sticky .tp::after { content: ""; display: block; height: 30px; margin-top: 20px; border-radius: 2px; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--e-black) 0 2px, transparent 2px 5px, var(--e-black) 5px 6px, transparent 6px 9px, var(--e-black) 9px 12px, transparent 12px 14px); }

/* picker (both the desktop ticket and the phone sheet) */
.nb .evd .tp .lbl, .nb #evSheet .tp .lbl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--e-text2); }
.nb .evd .tp-types legend, .nb #evSheet .tp-types legend { margin-bottom: 10px; }
.nb .evd .tp-type, .nb #evSheet .tp-type { min-height: 56px; padding: 0 16px; border: 1.5px solid var(--e-field); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.nb .evd .tp-type:hover, .nb #evSheet .tp-type:hover { border-color: var(--e-black); }
.nb .evd .tp-type:has(input:checked), .nb #evSheet .tp-type:has(input:checked) { border-color: var(--e-black); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 18%, transparent); }
.nb .evd .tp-type__name, .nb #evSheet .tp-type__name { font-weight: 700; }
.nb .evd .tp-type__price, .nb #evSheet .tp-type__price { font-family: var(--fd); font-weight: 800; font-size: 16px; }
.nb .evd .tp-type.is-off, .nb #evSheet .tp-type.is-off { opacity: .55; }
.nb .evd .qty-stepper, .nb #evSheet .qty-stepper { display: inline-flex; overflow: hidden; border: 1.5px solid var(--e-black); border-radius: 999px; background: #fff; }
.nb .evd .qty-stepper .qty-btn, .nb #evSheet .qty-stepper .qty-btn { width: 48px; height: 48px; border: 0; border-radius: 0; background: transparent; font-size: 20px; font-weight: 700; color: var(--ink); }
.nb .evd .qty-stepper .qty-btn:hover, .nb #evSheet .qty-stepper .qty-btn:hover { background: var(--e-black); color: #fff; }
.nb .evd .qty-stepper .qty-input, .nb #evSheet .qty-stepper .qty-input { width: 52px; height: 48px; border: 0 !important; border-radius: 0 !important; background: transparent; font-family: var(--fd); font-weight: 800; font-size: 18px; text-align: center; box-shadow: none !important; }
.nb .evd .tp .list-row, .nb #evSheet .tp .list-row { padding: 14px 0 0; border: 0; border-top: 1px dashed #DCCFC4; background: transparent; font-weight: 700; }
.nb .evd .tp-total, .nb #evSheet .tp-total { font-family: var(--fd); font-weight: 900; font-size: 22px; color: var(--ink) !important; }
.nb .evd .tp .btn.b-pri, .nb #evSheet .tp .btn.b-pri, .nb .ev-bottombar .btn.b-pri {
  min-height: 56px; border: 0; border-radius: 999px; background: var(--e-black); color: var(--cream); font-size: 17px; font-weight: 700;
}
.nb .evd .tp .btn.b-pri:hover, .nb #evSheet .tp .btn.b-pri:hover, .nb .ev-bottombar .btn.b-pri:hover { background: #2A2624; color: var(--cream); transform: none; }
.nb .evd .tp .btn.b-pri::after, .nb #evSheet .tp .btn.b-pri::after { content: "\2192"; margin-left: 10px; color: var(--acc); font-weight: 700; }
.nb .evd .tp .btn.b-pri:disabled, .nb #evSheet .tp .btn.b-pri:disabled { background: #D8CEC6; color: var(--e-text2); }
.nb .evd .tp .btn.b-pri:disabled::after, .nb #evSheet .tp .btn.b-pri:disabled::after { content: none; }
.nb .evd .tp .hint, .nb #evSheet .tp .hint { color: var(--e-text2); }
.nb .evd .btn:focus-visible, .nb #evSheet .btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* phone bottom bar + sheet */
.nb .ev-bottombar { border-top: 1px solid var(--e-line); background: var(--cream); }
.nb .ev-bottombar .lbl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--e-text2); }
.nb .ev-bottombar .price { font-family: var(--fd); font-weight: 900; font-size: 22px; color: var(--ink); }
.nb .ev-bottombar .btn.b-pri { min-height: 48px; padding: 0 22px; }
.nb #evSheet { border-radius: 22px 22px 0 0; background: var(--cream); }

/* ================================================================== organizer's public page */
.nb .oph { position: relative; overflow: hidden; margin-top: 24px; border-radius: 22px; background: #141414; color: var(--cream); }
.nb .oph::before { content: ""; position: absolute; top: -90px; right: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--acc); }
.nb .oph.has-cover::before { inset: 0; width: auto; height: auto; border-radius: 0;
  background: linear-gradient(90deg, rgba(20,20,20,.94) 0%, rgba(20,20,20,.78) 55%, rgba(20,20,20,.45) 100%), var(--oph-cover) center / cover no-repeat; }
.nb .oph__in { position: relative; display: flex; align-items: center; gap: 24px; padding: 36px 36px 28px; }
.nb .oph__avatar { flex: none; width: 96px; height: 96px; border-radius: 24px; object-fit: cover; background: #fff; box-shadow: 0 0 0 3px #2E2A28; }
.nb .oph__avatar--initial { display: grid; place-items: center; background: var(--acc); color: var(--ink); font-family: var(--fd); font-weight: 900; font-size: 44px; }
.nb .oph__text { flex: 1; min-width: 0; }
.nb .oph__eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--acc-ink); }
.nb .oph__title { margin: 8px 0 6px; font-family: var(--fd); font-weight: 900; font-size: 44px; line-height: 1.02; letter-spacing: -.03em; color: #fff; overflow-wrap: break-word; }
.nb .oph__sub { margin: 0; max-width: 60ch; font-size: 16px; line-height: 1.5; color: #D8CEC6; }
.nb .oph__cta { flex: none; align-self: center; }
.nb .oph__btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--acc); color: var(--ink); font-weight: 700; text-decoration: none; }
.nb .oph__btn:hover { background: var(--cream); color: var(--ink); }
.nb button.oph__btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; } /* follow is a POST form now (audit O-26) */
.nb .oph__btn--line { border: 1.5px solid var(--cream); background: transparent; color: var(--cream); }
.nb .oph__btn--line:hover { background: var(--cream); color: var(--ink); }
.nb .oph__btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.nb .oph__perf { position: relative; height: 2px; margin: 0 36px; background: radial-gradient(circle, var(--rust) 1.2px, transparent 1.6px) 0 50% / 10px 2px repeat-x; }
.nb .oph__perf::before, .nb .oph__perf::after { content: ""; position: absolute; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.nb .oph__perf::before { left: -50px; }
.nb .oph__perf::after { right: -50px; }
.nb .oph__stats { position: relative; display: flex; flex-wrap: wrap; gap: 12px 48px; margin: 0; padding: 22px 36px 28px; }
.nb .oph__stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.nb .oph__stats dt { font-size: 13px; color: #B9AFA7; }
.nb .oph__stats dd { margin: 0; font-family: var(--fd); font-weight: 900; font-size: 28px; line-height: 1; color: var(--acc-ink); }
.nb .orgp .form-card { overflow: hidden; margin-top: 24px; border: 1px solid var(--e-line); border-radius: 22px; background: #fff; box-shadow: none; }
.nb .orgp .form-section { padding: 24px 28px; }
.nb .orgp .ev-h2 { margin: 0 0 14px; font-family: var(--fd); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.nb .orgp .ev-prose { margin: 0; font-size: 16px; line-height: 1.7; color: #3A3532; }
.nb .orgp .section-header h2, .nb .orgp .sec-head h2 { font-family: var(--fd); font-weight: 800; letter-spacing: -.02em; }
.nb .orgp .eyebrow { font-family: var(--ff); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--e-rust); }
.nb .orgp .see-all { color: var(--e-rust); font-weight: 700; }

/* /organizers grid */
.nb .evl .org-grid { margin-top: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

/* ================================================================== responsive */
@media (max-width: 900px) {
  .nb .evh__title { font-size: 40px; }
  .nb .evl .head-row h1 { font-size: 40px; }
}
@media (max-width: 768px) {
  .nb .evh { flex-direction: column; margin-top: 18px; }
  .nb .evh__title { font-size: 34px; }
  .nb .evh__sub { font-size: 16px; }
  .nb .evh__pill { font-size: 14px; }
  .nb .evd .form-card { border-radius: 18px; }
  .nb .evd .form-section { padding: 20px 18px; }
  .nb .evd .ev-h2 { font-size: 20px; }
  .nb .evd .ev-prose { font-size: 15px; }
  .nb .evd .ev-org { max-width: none; }
  .nb .evl .head-row { margin-top: 18px; }
  .nb .evl .head-row h1 { font-size: 34px; }
  .nb .evl .toolbar { padding: 10px; border-radius: 18px; }
  .nb .oph { margin-top: 16px; border-radius: 18px; }
  .nb .oph::before { top: -70px; right: -70px; width: 180px; height: 180px; }
  .nb .oph__in { flex-wrap: wrap; gap: 16px; padding: 24px 20px 20px; }
  .nb .oph__avatar { width: 72px; height: 72px; border-radius: 18px; }
  .nb .oph__avatar--initial { font-size: 32px; }
  .nb .oph__text { flex-basis: 100%; }
  .nb .oph__title { font-size: 32px; }
  .nb .oph__sub { font-size: 15px; }
  .nb .oph__cta, .nb .oph__btn { width: 100%; justify-content: center; }
  .nb .oph__perf { margin: 0 20px; }
  .nb .oph__perf::before { left: -34px; }
  .nb .oph__perf::after { right: -34px; }
  .nb .oph__stats { gap: 10px 28px; padding: 18px 20px 22px; }
  .nb .oph__stats dd { font-size: 22px; }
  .nb .orgp .form-section { padding: 20px 18px; }
}

/* build 6: organiser social links */
.nb .oph__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.nb .oph__links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.nb .oph__links a:hover { background: rgba(255,255,255,.12); }
/* venue map before cookie consent (legal audit 2026-11-01): a "Show map" button instead of Google's embed */
.nb .evd .ev-mapframe--off { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: auto; min-height: 140px; padding: 16px; text-align: center; background: var(--paper, #faf8f5); color: var(--mut); font-size: 13px; }
