/* ============================================================
   RRAY conference page. The site's black and white identity; the
   signature is the countdown in large display numerals. Every
   section disappears when its content is empty.
   ============================================================ */

[hidden] { display: none !important; }
.btn { border: 0; font-family: "Thmanyah Sans", sans-serif; }
.btn-compact { padding: 10px 22px; }
/* a <button> outline style starts transparent, not with the browser's grey */
button.btn-line, button.btn-ghost { background: transparent; }
.btn:disabled { opacity: 0.5; cursor: progress; transform: none !important; box-shadow: none !important; }
.pre-line { white-space: pre-line; }
/* every section of this page shares one content width (the home page's alternate sections run wider) */
.conf-page .section-alt > * { max-width: 1080px; }

.preview-bar {
  position: fixed; top: 0; inset-inline: 0; z-index: 70;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px;
  padding: 8px 16px; background: var(--white); color: #000; font-size: 13px; font-weight: 700; text-align: center;
}
.preview-bar a { text-decoration: underline; text-underline-offset: 3px; }
.conf-header.has-preview { top: 36px; }

/* ---------- hero ---------- */
.conf-hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 150px 20px 96px; text-align: center;
}
.conf-title {
  position: relative; z-index: 2; max-width: 19ch;
  font-size: clamp(2.3rem, 5.8vw, 4.8rem); font-weight: 900; line-height: 1.22; text-wrap: balance;
}
.conf-tagline {
  position: relative; z-index: 2; max-width: 46ch; margin-top: 22px;
  font-size: clamp(16px, 2vw, 19px); line-height: 1.8; color: var(--ink-dim); text-wrap: pretty;
}
.conf-meta {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; margin: 40px 0 0;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(10, 10, 10, 0.6);
}
.conf-meta > div { padding: 14px 28px; }
.conf-meta > div + div { border-inline-start: 1px solid var(--line); }
.conf-meta dt { font-size: 12px; font-weight: 700; color: var(--ink-mute); }
.conf-meta dd { margin: 4px 0 0; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.conf-meta-sub { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ink-dim); }
@media (max-width: 640px) {
  .conf-meta { flex-direction: column; width: 100%; max-width: 380px; }
  .conf-meta > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
}

.countdown {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 16px); width: min(620px, 100%); margin-top: 40px;
}
.cd-unit {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: clamp(14px, 2.6vw, 24px) 6px; border: 1px solid var(--line-soft); border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}
.cd-num { direction: ltr; font-family: "Thmanyah Display", serif; font-size: clamp(2rem, 6vw, 3.8rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-label { font-size: 12.5px; font-weight: 700; color: var(--ink-mute); }
.countdown-done { position: relative; z-index: 2; margin-top: 36px; font-size: 19px; font-weight: 700; }
.conf-hero .hero-cta { margin-top: 40px; }

/* ---------- numbers ---------- */
.conf-stats { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 6vw, 80px); }
.stats-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0;
  background: var(--line-soft); border-block: 1px solid var(--line);
}
@media (max-width: 760px) { .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-cell { display: flex; flex-direction: column-reverse; gap: 8px; padding: 36px 20px; background: var(--bg); text-align: center; }
.stat-cell dd { margin: 0; unicode-bidi: plaintext; font-family: "Thmanyah Display", serif; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-cell dt { font-size: 13.5px; color: var(--ink-dim); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 80px); align-items: start; }
.about-title { margin-top: 2px; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; line-height: 1.28; }
.about-text { max-width: 62ch; white-space: pre-line; font-size: clamp(16px, 1.8vw, 18.5px); line-height: 2; color: var(--ink); }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- topics ---------- */
.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .topic-grid { grid-template-columns: minmax(0, 1fr); } }
.topic { padding: 30px 26px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(160deg, var(--card), var(--bg-alt)); transition: border-color 0.4s var(--ease); }
.topic:hover { border-color: rgba(255, 255, 255, 0.2); }
.topic-num { font-family: "Thmanyah Display", serif; font-size: 13px; font-weight: 700; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.topic h3 { margin-top: 14px; font-family: "Thmanyah Sans", sans-serif; font-size: 18.5px; font-weight: 700; line-height: 1.55; }
.topic p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--ink-dim); }

/* ---------- program ---------- */
.agenda-day + .agenda-day { margin-top: 56px; }
.agenda-day-title { margin-bottom: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-family: "Thmanyah Sans", sans-serif; font-size: 15px; font-weight: 900; color: var(--ink-dim); }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.agenda-time { padding-top: 3px; unicode-bidi: plaintext; font-size: 14px; font-weight: 700; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.agenda-body h4 { margin: 0; font-size: 17.5px; font-weight: 700; line-height: 1.6; }
.agenda-speaker { margin-top: 4px; font-size: 14px; color: var(--ink-dim); }
.agenda-desc { margin-top: 8px; white-space: pre-line; font-size: 14px; line-height: 1.8; color: var(--ink-mute); }
@media (max-width: 640px) { .agenda-row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* ---------- speakers ---------- */
.speaker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .speaker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.team-card.speaker-card { padding: 30px 16px 26px; border-color: var(--line-soft); background: var(--card); }
.speaker-card .team-avatar { width: 112px; height: 112px; }
.speaker-card h3 { font-size: 16px; }
.speaker-card p { line-height: 1.6; }

/* ---------- venue ---------- */
.venue {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px;
  padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.08), transparent 55%), #000;
}
.venue h2 { margin-top: 2px; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900; line-height: 1.3; }
.venue-address { margin-top: 12px; font-size: 15.5px; color: var(--ink-dim); }
.venue-date { margin-top: 8px; font-size: 15.5px; font-weight: 700; color: var(--ink); }

/* ---------- previous edition ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.gallery-item { margin: 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 18px; background: var(--card); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--ink-dim); }

/* ---------- sponsors ---------- */
.sponsor-group + .sponsor-group { margin-top: 44px; }
.sponsor-group h3 { margin-bottom: 16px; font-family: "Thmanyah Sans", sans-serif; font-size: 14px; font-weight: 700; color: var(--ink-mute); }
.sponsor-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.sponsor-grid.is-main { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sponsor { display: flex; flex-direction: column; gap: 10px; height: 100%; color: var(--ink); transition: transform 0.35s var(--ease); }
.sponsor-logo { display: flex; align-items: center; justify-content: center; height: 112px; padding: 16px 20px; border-radius: 16px; background: #fff; }
.sponsor-grid.is-main .sponsor-logo { height: 150px; }
.sponsor-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor-initial { font-family: "Thmanyah Display", serif; font-size: 34px; font-weight: 900; color: #111; }
.sponsor-name { font-size: 13.5px; line-height: 1.6; color: var(--ink-dim); text-align: center; }
a.sponsor:hover { transform: translateY(-3px); }
a.sponsor:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 3px; border-radius: 16px; }

/* ---------- questions ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-size: 17px; font-weight: 700; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: -6px;
  border-right: 1.8px solid var(--ink-dim); border-bottom: 1.8px solid var(--ink-dim);
  transform: rotate(45deg); transition: transform 0.3s var(--ease), margin 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq-item summary:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.5); outline-offset: 4px; border-radius: 6px; }
.faq-item p { max-width: 70ch; padding: 0 0 24px; font-size: 15px; line-height: 1.95; color: var(--ink-dim); }

/* ---------- registration ---------- */
.conf-register { padding-top: 140px; }
.register-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .register-grid { grid-template-columns: minmax(0, 1fr); } }
.register-intro h2 { margin-top: 2px; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; line-height: 1.25; }
.register-intro p { margin-top: 18px; line-height: 1.9; color: var(--ink-dim); }
.register-intro .register-deadline { color: var(--ink); font-weight: 700; }
.register-card { padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 26px; background: var(--card); }
.reg-form { display: grid; gap: 18px; }
.reg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .reg-row { grid-template-columns: minmax(0, 1fr); } }
.reg-field { display: grid; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-dim); }
.reg-field small { font-weight: 500; color: var(--ink-mute); }
.reg-field input, .reg-field select, .reg-field textarea {
  width: 100%; box-sizing: border-box; padding: 13px 14px;
  background: #0a0a0a; border: 1px solid var(--line); border-radius: 12px; color: var(--ink);
  font-family: "Thmanyah Sans", sans-serif; font-size: 16px; line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.reg-field select {
  appearance: none; cursor: pointer; padding-inline-end: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2.4' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: left 14px center;
}
.reg-field select option { background: #111; }
.reg-field textarea { resize: vertical; min-height: 72px; }
.reg-field input::placeholder { color: #555; }
.reg-field input:focus, .reg-field select:focus, .reg-field textarea:focus { outline: none; border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08); }
.reg-form .is-invalid { border-color: #ff7a7a !important; box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.15) !important; }
.reg-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.75; color: var(--ink-dim); cursor: pointer; }
.reg-consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 3px 0 0; accent-color: #fff; }
.reg-consent input.is-invalid { outline: 2px solid #ff7a7a; outline-offset: 2px; }
.reg-submit { justify-self: start; padding: 14px 36px; font-size: 15px; }
.reg-status { min-height: 1.6em; font-size: 14px; color: var(--ink-dim); }
.reg-status.is-error, .reg-error { color: #ff9a9a; font-weight: 700; }
.reg-done, .reg-closed { padding: 28px 8px; text-align: center; }
.reg-done:focus { outline: none; }
.reg-done h3, .reg-closed h3 { font-family: "Thmanyah Display", serif; font-size: 26px; font-weight: 900; }
.reg-done p, .reg-closed p { margin-top: 12px; line-height: 1.9; color: var(--ink-dim); }
.reg-closed .btn { margin-top: 22px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .gallery-item img, .sponsor, .faq-item summary::after { transition: none; }
}

/* ============================================================
   The conference v3: the brochure's sections, taking part, the
   theatre and courtyard maps, the booking panel and the ticket.
   One accent, the brochure's yellow, marks only a choice.
   ============================================================ */
:root { --accent: #f5b301; }

/* ---------- about and vision ---------- */
.about-grid.vision { margin-top: 96px; }

/* ---------- goals ---------- */
.goal-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
@media (max-width: 760px) { .goal-list { grid-template-columns: minmax(0, 1fr); } }
.goal { display: flex; align-items: baseline; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.goal-num { flex-shrink: 0; font-family: "Thmanyah Display", serif; font-size: 15px; font-weight: 700; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.goal p { font-size: 17.5px; line-height: 1.8; color: var(--ink); }

/* ---------- take part ---------- */
.part-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .part-grid { grid-template-columns: minmax(0, 1fr); } }
.part-card {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.08), transparent 55%), #000;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.part-card:hover { border-color: rgba(255, 255, 255, 0.32); transform: translateY(-4px); }
.part-card:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 4px; }
.part-kicker { font-size: 12.5px; font-weight: 700; color: var(--ink-mute); }
.part-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; line-height: 1.3; }
.part-card p { font-size: 15.5px; line-height: 1.85; color: var(--ink-dim); }
.part-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.part-facts li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink); }
.part-cta { margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 700; color: var(--white); }
.part-cta::after { content: " \2190"; }

/* ---------- why, who, tracks ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }
.why { padding: 26px 24px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--card); }
.why h3 { font-family: "Thmanyah Sans", sans-serif; font-size: 17.5px; font-weight: 700; line-height: 1.55; }
.why p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--ink-dim); }
.aud-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
@media (max-width: 760px) { .aud-list { grid-template-columns: minmax(0, 1fr); } }
.aud { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.aud h3 { font-family: "Thmanyah Sans", sans-serif; font-size: 17px; font-weight: 700; }
.aud p { margin-top: 6px; font-size: 14.5px; line-height: 1.85; color: var(--ink-dim); }
.track-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .track-grid { grid-template-columns: minmax(0, 1fr); } }
.track { padding: clamp(24px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: 26px; background: var(--bg); }
.track h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; }
.track-desc { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--ink-dim); }
.track-benefits { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.track-benefits li { position: relative; padding-inline-start: 22px; font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.track-benefits li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.75em; width: 7px; height: 7px; border-radius: 50%; background: var(--white); }
.track-cta { margin-top: 32px; text-align: center; }
.final-cta .hero-cta { margin-top: 32px; justify-content: center; }

/* ---------- booking pages ---------- */
.book { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 120px clamp(14px, 3vw, 40px) 80px; }
.book-head { max-width: 720px; margin-bottom: 26px; }
.book-head h1 { margin-top: 4px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.2; }
.book-head p { margin-top: 12px; font-size: 15.5px; line-height: 1.85; color: var(--ink-dim); }
.book-closed { margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 14.5px; font-weight: 700; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .book-layout { grid-template-columns: minmax(0, 1fr); } }

.map-card { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: #070707; }
.map-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink-dim); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.chip.is-on, .chip:hover { color: #000; background: var(--white); border-color: var(--white); }
.zoom { display: flex; gap: 6px; }
.round-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.round-btn svg { width: 18px; height: 18px; }
.round-btn:hover { background: rgba(255, 255, 255, 0.08); }
.map-host { position: relative; height: clamp(440px, 64vh, 740px); border-radius: 16px; overflow: hidden; background: #050505; }
@media (max-width: 640px) { .map-host { height: 400px; } }
.map-host.is-courtyard { height: auto; aspect-ratio: 1 / 1; max-height: 820px; }
.map-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-mute); font-size: 14px; }
.map-hint { margin-top: 10px; font-size: 12.5px; color: var(--ink-mute); }
.legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-dim); }
.legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.lg-free { background: #262626; border: 1px solid rgba(255, 255, 255, 0.45); }
.lg-sel { background: var(--accent); }
.lg-taken { background: #4a4a4a; opacity: 0.6; }
.lg-vip { background: repeating-linear-gradient(45deg, #1b1b1b 0 3px, #3a3320 3px 5px); border: 1px solid rgba(245, 179, 1, 0.5); }
.lg-pending { background: repeating-linear-gradient(45deg, #1b1b1b 0 3px, #555 3px 5px); }
.seat-tip { position: absolute; z-index: 5; transform: translate(-50%, -100%); padding: 6px 10px; border-radius: 8px; background: var(--white); color: #000; font-size: 12.5px; font-weight: 700; white-space: nowrap; pointer-events: none; }

/* the theatre (v5: rows on arcs facing the stage, real seat shapes, numbers when close) */
.seatmap-host { position: relative; }
svg.seatmap { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
svg.seatmap.is-dragging { cursor: grabbing; }
svg.seatmap:focus { outline: none; }
svg.seatmap:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.55); outline-offset: -3px; border-radius: 16px; }
.seatmap .stage { fill: rgba(255, 255, 255, 0.075); stroke: rgba(255, 255, 255, 0.34); stroke-width: 1.5; }
.seatmap .stage-label { fill: var(--white); font-family: "Thmanyah Display", serif; font-size: 24px; font-weight: 900; }
.seatmap .walkway { fill: rgba(255, 255, 255, 0.028); stroke: rgba(255, 255, 255, 0.08); }
.seatmap .balcony-band { fill: rgba(255, 255, 255, 0.045); stroke: rgba(255, 255, 255, 0.16); }
.seatmap .band-label { fill: var(--ink-mute); font-size: 12px; font-weight: 700; }
.seatmap .band-label.is-strong { fill: var(--ink); font-family: "Thmanyah Sans", sans-serif; font-size: 16px; font-weight: 900; }
.seatmap .zone-title { fill: var(--ink-dim); font-size: 14px; font-weight: 900; }
.seatmap .block-label { fill: var(--ink-mute); font-size: 11.5px; font-weight: 700; }
.seatmap .row-label { fill: #6a6a6a; font-size: 9.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.seatmap .hatch-line, .courtyard .hatch-line { stroke: rgba(245, 179, 1, 0.4); stroke-width: 2; }
.seat { fill: #2b2b2b; stroke: rgba(255, 255, 255, 0.4); stroke-width: 0.9; transition: fill 0.15s ease, stroke 0.15s ease; }
.seat.is-free { cursor: pointer; }
.seat.is-free.in-row { fill: #353535; }
.seat.is-free:hover { fill: #5c5c5c; stroke: var(--white); }
.seat.is-taken { fill: #3c3c3c; stroke: none; opacity: 0.42; }
.seat.is-reserved { fill: url(#vipHatch); stroke: rgba(245, 179, 1, 0.5); }
.seat.is-blocked { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-dasharray: 2 2; }
.seat.is-booked { fill: #ececec; stroke: none; }
.seat.is-held { fill: #8a6a12; stroke: none; }
.seat.is-review { fill: #3a3320; stroke: #f5b301; stroke-width: 1; }
.seat.is-assigned { fill: #c9a227; stroke: none; }
.seat.is-picked { fill: rgba(245, 179, 1, 0.5); stroke: var(--white); stroke-width: 1.5; }
.seat.is-cursor { stroke: var(--white); stroke-width: 1.8; }
.seatmap .seat.is-selected, .seatmap .seat.is-selected:hover { fill: var(--accent); stroke: var(--white); stroke-width: 1.3; }
.seat-num { display: none; fill: rgba(255, 255, 255, 0.6); font-size: 6.5px; font-weight: 700; pointer-events: none; font-variant-numeric: tabular-nums; }
.seatmap.is-close .seat-num { display: block; }
.seatmap .seat-num.is-on { fill: #000; }
.seat-ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: seatPulse 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
@keyframes seatPulse { 0% { opacity: 0.95; transform: scale(0.75); } 100% { opacity: 0; transform: scale(1.7); } }
.seat-band { position: absolute; z-index: 3; border: 1.5px dashed var(--accent); border-radius: 6px; background: rgba(245, 179, 1, 0.08); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .seat-ring { animation: none; opacity: 0.85; } .seat { transition: none; } }

/* the courtyard */
svg.courtyard { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-select: none; }
.courtyard .cy-floor { fill: #0b0b0b; }
.courtyard .cy-grid { fill: none; stroke: rgba(255, 255, 255, 0.04); stroke-width: 1; }
.courtyard .cy-wall { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 8; }
.courtyard .cy-door { fill: #050505; stroke: rgba(255, 255, 255, 0.55); stroke-width: 2; }
.courtyard .cy-label { fill: var(--ink-mute); font-size: 15px; font-weight: 700; }
.courtyard .cy-label.is-on-stairs { fill: var(--ink); paint-order: stroke; stroke: #0b0b0b; stroke-width: 6px; }
.courtyard .cy-label.is-door { fill: var(--ink); font-size: 17px; }
.courtyard .cy-label.is-strong { fill: var(--ink); font-family: "Thmanyah Display", serif; font-size: 22px; font-weight: 900; }
.courtyard .cy-stairs rect { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; }
.courtyard .cy-stairs line { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; }
.courtyard .cy-lift { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 2; }
.courtyard .cy-column { fill: #3b3b3b; }
.courtyard .cy-fountain { fill: rgba(140, 180, 210, 0.14); stroke: rgba(170, 205, 230, 0.5); stroke-width: 2; }
.courtyard .cy-fountain-ring { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; stroke-dasharray: 6 6; }
.plot { outline: none; }
.plot-box { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; transition: fill 0.15s ease; }
.plot-id { fill: var(--white); font-size: 15px; font-weight: 700; pointer-events: none; }
.plot-area { fill: var(--ink-mute); font-size: 11px; pointer-events: none; }
.plot.is-free { cursor: pointer; }
.plot.is-free:hover .plot-box, .plot.is-free:focus-visible .plot-box { fill: rgba(255, 255, 255, 0.16); stroke: var(--white); }
.plot.is-pending .plot-box { fill: url(#cyHatch); stroke: rgba(255, 255, 255, 0.25); }
.plot.is-booked .plot-box { fill: #4a4a4a; stroke: none; }
.plot.is-booked .plot-area, .plot.is-pending .plot-area { fill: #8a8a8a; }
.plot.is-off { opacity: 0.35; }
.plot.is-selected .plot-box, .plot.is-selected.is-free:hover .plot-box, .plot.is-selected.is-free:focus-visible .plot-box { fill: var(--accent); stroke: var(--white); }
.plot.is-selected .plot-id, .plot.is-selected .plot-area { fill: #000; }

/* the side panel */
.book-panel { position: sticky; top: 92px; display: grid; gap: 14px; }
@media (max-width: 980px) { .book-panel { position: static; } }
.panel-block, .book-form { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.book-form { display: grid; gap: 16px; }
.panel-block h2, .book-form h2 { font-family: "Thmanyah Sans", sans-serif; font-size: 16px; font-weight: 900; margin-bottom: 12px; }
.book-form h2 { margin-bottom: 0; }
.seat-empty { font-size: 14px; line-height: 1.8; color: var(--ink-mute); }
.seat-chosen { display: grid; gap: 6px; }
.seat-label { font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--ink); }
.seat-price { font-size: 14px; color: var(--ink-dim); }
.link-btn { justify-self: start; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13px; color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.quick-pick { margin-top: 14px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.quick-pick summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--ink-dim); }
.qp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-dim); }
.panel-block .total-row + .total-row { border-top: 0; padding-top: 4px; }
.total-row strong { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.option-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.option-card:hover { border-color: rgba(255, 255, 255, 0.3); }
.option-card:has(input:checked) { border-color: var(--white); background: rgba(255, 255, 255, 0.05); }
.option-card input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: #fff; }
.option-text strong { display: block; font-size: 15px; font-weight: 700; }
.option-text small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-mute); line-height: 1.6; }
.pay-methods { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.pay-methods legend { margin-bottom: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-dim); }
.pay-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--white); background: rgba(255, 255, 255, 0.05); }
.pay-option input { accent-color: #fff; width: 18px; height: 18px; }
.pay-option strong { display: block; font-size: 14.5px; }
.pay-option small { display: block; font-size: 12.5px; color: var(--ink-mute); }
.pay-off { font-size: 13.5px; line-height: 1.8; color: #ffb4b4; }
.book-submit { width: 100%; padding: 15px 24px; font-size: 15.5px; }
.form-status { min-height: 1.5em; font-size: 14px; color: var(--ink-dim); }
.form-status.is-error { color: #ff9a9a; font-weight: 700; }
.fine { font-size: 12.5px; line-height: 1.8; color: var(--ink-mute); }
.book-submit:disabled { opacity: 0.5; }
.plot-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.plot-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 12px; font-size: 14px; }
.plot-list span { color: var(--ink-dim); font-variant-numeric: tabular-nums; }

.mobile-bar { display: none; }
@media (max-width: 980px) {
  .mobile-bar:not([hidden]) {
    position: fixed; z-index: 40; inset-inline: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px; padding-inline-start: 16px; border: 1px solid var(--line); border-radius: 16px;
    background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    font-size: 13.5px; font-weight: 700;
  }
}

/* the exhibitor form */
.exhibit-form { display: grid; gap: 16px; margin-top: 26px; max-width: 900px; }
.form-section { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.form-section h2 { font-family: "Thmanyah Sans", sans-serif; font-size: 16px; font-weight: 900; }
.track-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .track-choice { grid-template-columns: minmax(0, 1fr); } }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--ink-dim); }
.chip-check input:checked + span { background: var(--white); border-color: var(--white); color: #000; font-weight: 700; }
.chip-check input:focus-visible + span { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }

/* the ticket */
.ticket-wrap { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; padding: 120px 16px 80px; }
.ticket { display: grid; padding: clamp(24px, 5vw, 40px); border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.07), transparent 55%), var(--card); }
.ticket-head h1 { margin-top: 4px; font-size: clamp(1.4rem, 3.4vw, 1.9rem); font-weight: 900; line-height: 1.4; }
.ticket-status { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.ticket-status.is-confirmed, .ticket-status.is-approved { background: var(--white); color: #000; border-color: var(--white); }
.ticket-status.is-held, .ticket-status.is-pending { border-color: var(--accent); color: var(--accent); }
.ticket-status.is-cancelled, .ticket-status.is-rejected, .ticket-status.is-paid_conflict { color: #ff9a9a; border-color: rgba(255, 154, 154, 0.5); }
.ticket-seat { margin-top: 26px; padding: 20px; border-radius: 18px; background: #000; border: 1px solid var(--line-soft); }
.ticket-seat span { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-mute); }
.ticket-seat strong { display: block; margin-top: 6px; font-family: "Thmanyah Display", serif; font-size: clamp(1.3rem, 3.4vw, 1.7rem); font-weight: 900; line-height: 1.5; }
.ticket-rows { margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.ticket-rows > div { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ticket-rows dt { font-size: 12.5px; color: var(--ink-mute); font-weight: 700; }
.ticket-rows dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; }
.ticket-code { letter-spacing: 0.12em; font-variant-numeric: tabular-nums; text-align: right; }
.ticket-pay { display: grid; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.ticket-pay p { font-size: 14.5px; line-height: 1.8; color: var(--ink-dim); }
.ticket-note { margin-top: 22px; font-size: 15px; line-height: 1.9; color: var(--ink-dim); }
.ticket .btn-solid { justify-self: start; margin-top: 4px; }
.ticket-actions { margin-top: 22px; }
.ticket.is-error h1 { font-size: 24px; font-weight: 900; }
.ticket.is-error p { margin-top: 10px; color: var(--ink-dim); line-height: 1.9; }
@media (prefers-reduced-motion: reduce) { .part-card, .seat, .plot-box { transition: none; } }

/* ── v4: eligibility, the booking wizard, uploads, the ticket's progress ── */
.elig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 4vw, 48px); align-items: start; margin: 0 0 22px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.elig:not(:has(.elig-text)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .elig { grid-template-columns: minmax(0, 1fr); } }
.elig h2 { font-family: "Thmanyah Sans", sans-serif; font-size: 18px; font-weight: 900; }
.elig-text p { margin-top: 10px; font-size: 14.5px; line-height: 1.9; color: var(--ink-dim); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.flow li { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--bg); }
.flow b { font-family: "Thmanyah Display", serif; font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.flow strong { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.flow span { font-size: 12.5px; line-height: 1.7; color: var(--ink-mute); }

.wizard { align-items: start; }
.wz-main { display: grid; gap: 14px; min-width: 0; }
.steps { list-style: none; margin: 0; padding: 4px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.steps button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 8px 10px; border: 0; border-radius: 14px; background: none; color: var(--ink-mute); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.steps button b { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.steps button:disabled { cursor: default; opacity: 0.55; }
.steps button.is-done { color: var(--ink-dim); }
.steps button.is-done b { background: rgba(255, 255, 255, 0.12); border-color: transparent; color: var(--ink); }
.steps button[aria-current="step"] { background: rgba(255, 255, 255, 0.07); color: var(--white); }
.steps button[aria-current="step"] b { background: var(--accent); border-color: var(--accent); color: #000; }
.steps button:not(:disabled):hover { color: var(--white); }
.steps button:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: -2px; }
@media (max-width: 560px) { .steps button { flex-direction: column; gap: 4px; font-size: 12px; min-height: 58px; } }

.step-card { display: grid; gap: 18px; padding: clamp(20px, 3.4vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.step-head h2 { font-family: "Thmanyah Sans", sans-serif; font-size: clamp(19px, 2.2vw, 22px); font-weight: 900; }
.step-head h2:focus { outline: none; }
.step-head p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--ink-mute); }
.step-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 6px; }
.step-nav .form-status { flex: 1 1 200px; margin: 0; }
.step-nav .btn { padding: 13px 26px; font-size: 15px; }
.step-nav .btn-solid { margin-inline-start: auto; }
.wz-step[data-step="1"] { display: grid; gap: 14px; }
.wz-step[data-step="1"][hidden] { display: none; }
.wz-step[data-step="1"] .step-nav { padding: 0 4px; }
.card-lite { padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.card-lite.quick-pick { margin-top: 0; }
.reg-row.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .reg-row.is-3 { grid-template-columns: minmax(0, 1fr); } }
.reg-field .hint { font-size: 12px; font-weight: 500; color: var(--ink-mute); }
.field-group { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.field-group legend, .group-label { margin: 0 0 2px; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--ink-dim); }
.field-group legend { margin-bottom: 10px; }
.group-label { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.group-label small { font-weight: 500; color: var(--ink-mute); }
.group-hint { margin-top: -4px; font-size: 13.5px; line-height: 1.8; color: var(--ink); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .choice-grid, .choice-grid.is-2 { grid-template-columns: minmax(0, 1fr); } }
.option-card:has(input:focus-visible) { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
.option-card:has(input.is-invalid) { border-color: #ff7a7a; }
.option-card.is-inline { padding: 12px 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check:has(input.is-invalid) span { border-color: #ff7a7a; }
.book-page .reg-field input.is-invalid, .book-page .reg-field select.is-invalid, .book-page .reg-field textarea.is-invalid { border-color: #ff7a7a; box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.15); }

.drop { position: relative; border: 1px dashed rgba(255, 255, 255, 0.28); border-radius: 18px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.2s ease, background 0.2s ease; }
.drop.is-over { border-color: var(--accent); background: rgba(245, 179, 1, 0.06); }
.drop.has-file { border-style: solid; border-color: var(--line); }
.drop.has-error { border-color: rgba(255, 122, 122, 0.6); }
.drop:has(.drop-input:focus-visible) { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
.drop.is-busy { opacity: 0.6; pointer-events: none; }
.drop-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop-empty { display: grid; justify-items: center; gap: 6px; padding: 28px 18px; text-align: center; cursor: pointer; }
.drop-empty strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.drop-empty span { font-size: 13px; color: var(--ink-mute); }
.drop-empty .btn { margin-top: 8px; pointer-events: none; }
.drop.is-small .drop-empty { padding: 18px 14px; }
.drop-file { display: flex; align-items: center; gap: 14px; padding: 12px; }
.drop-thumb { flex-shrink: 0; width: 84px; height: 64px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; background: #000; border: 1px solid var(--line-soft); }
.drop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop-thumb.is-logo { background: #fff; }
.drop-thumb.is-logo img { object-fit: contain; padding: 6px; }
.drop-thumb.is-pdf { font-family: "Thmanyah Sans", sans-serif; font-size: 13px; font-weight: 900; color: var(--ink-dim); }
.drop-meta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.drop-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; unicode-bidi: plaintext; text-align: right; }
.drop-meta span { font-size: 12.5px; color: var(--ink-mute); }
.drop-tools { display: flex; gap: 14px; }
.drop-tools .link-btn { cursor: pointer; }
.drop-error { margin: 0; padding: 0 14px; font-size: 13px; font-weight: 700; color: #ff9a9a; }
.drop-error:not(:empty) { padding-bottom: 12px; }

.review { display: grid; gap: 10px; }
.review-group { padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--bg); }
.review-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.review-top h3 { font-family: "Thmanyah Sans", sans-serif; font-size: 14px; font-weight: 900; color: var(--ink-dim); }
.review dl { margin: 0; display: grid; gap: 6px; }
.review dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.7; }
@media (max-width: 520px) { .review dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.review dt { color: var(--ink-mute); }
.review dd { margin: 0; color: var(--ink); word-break: break-word; unicode-bidi: plaintext; text-align: right; }
.sum-box { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); }
.sum-box .total-row { padding-top: 0; border-top: 0; }
.sum-next { margin-top: 10px; font-size: 14px; line-height: 1.85; color: var(--ink-dim); }
.sum-next.is-error { color: #ffb4b4; }
.sum-rows { margin: 14px 0 12px; }
.sum-rows .total-row { padding: 8px 0 0; border-top: 0; font-size: 14px; color: var(--ink-dim); }
.sum-rows .total-row strong { font-size: 15px; }
.sum-rows .total-row.is-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--ink); }
.sum-rows .total-row.is-total strong { font-size: 19px; }
.wz-side .seat-label { display: block; margin: 0; }
.upload-progress { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.upload-progress span { display: block; height: 100%; background: var(--accent); transform-origin: right; transform: scaleX(0); transition: transform 0.2s linear; }
@media (max-width: 980px) { .wz-side { display: none; } }

/* the ticket */
.timeline { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 6px; }
.timeline li { flex: 1; display: grid; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-mute); text-align: center; }
.timeline li::before { content: ""; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.timeline li.is-done { color: var(--ink-dim); }
.timeline li.is-done::before { background: var(--white); }
.timeline li.is-now { color: var(--accent); }
.timeline li.is-now::before { background: var(--accent); }
.ticket-box { display: grid; gap: 10px; margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.03); }
.ticket-box h2 { font-family: "Thmanyah Sans", sans-serif; font-size: 17px; font-weight: 900; }
.ticket-box p { font-size: 14.5px; line-height: 1.85; color: var(--ink-dim); }
.ticket-box.is-bad { border-color: rgba(255, 154, 154, 0.35); }
.ticket-box .btn { justify-self: start; }
.pay-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.pay-choice { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--ink); font: inherit; text-align: right; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.pay-choice strong { font-size: 15.5px; font-weight: 900; }
.pay-choice small { font-size: 12.5px; color: var(--ink-mute); }
.pay-choice:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.05); }
.pay-choice:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
.pay-choice:disabled { opacity: 0.5; cursor: progress; }
.ticket-status.is-review { border-color: var(--accent); color: var(--accent); }
.ticket-status.is-expired { color: #ff9a9a; border-color: rgba(255, 154, 154, 0.5); }
@media (prefers-reduced-motion: reduce) { .drop, .pay-choice, .upload-progress span { transition: none; } }

/* ── v5: the theatre's controls, and the partners' moving strips ── */
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.best-btn { min-height: 40px; padding: 8px 16px; border: 1px solid rgba(245, 179, 1, 0.65); border-radius: 999px; background: rgba(245, 179, 1, 0.08); color: var(--white); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.best-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.best-btn:focus-visible, .chip:focus-visible, .round-btn:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
.chip-count { margin-inline-start: 4px; font-size: 12px; font-weight: 500; opacity: 0.75; font-variant-numeric: tabular-nums; }
.chip-count:empty { display: none; }
.map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-top: 12px; }
.map-foot .legend { margin: 0; }
.zone-prices { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.zone-prices li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.map-host { cursor: default; }
.seat-tip { white-space: nowrap; pointer-events: none; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8); }
@media (max-width: 640px) {
  .map-tools { flex-direction: column; align-items: stretch; }
  .map-actions { justify-content: space-between; }
  .chips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .chip { flex-shrink: 0; }
}

.section.partners { max-width: none; padding-inline: 0; overflow: hidden; }
.partners .section-head { max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 6vw, 80px); }
.marquees { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 10px; }
.marquee-row { min-width: 0; }
.marquee-label { max-width: 1240px; margin: 0 auto 14px; padding-inline: clamp(20px, 6vw, 80px); font-size: 13px; font-weight: 700; color: var(--ink-mute); }
.marquee { position: relative; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; width: max-content; direction: ltr; animation: marquee var(--marquee-seconds, 40s) linear infinite; will-change: transform; }
.marquee.is-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 16px; margin: 0; padding: 8px 16px 8px 0; list-style: none; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.partner-tile { flex: none; }
.partner { direction: rtl; display: flex; align-items: center; gap: 14px; width: 300px; height: 100px; padding: 12px; padding-inline-end: 18px; border: 1px solid var(--line-soft); border-radius: 20px; background: linear-gradient(160deg, var(--card), var(--bg)); color: var(--ink); transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease); }
.partner-logo { flex: none; width: 116px; height: 76px; display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 14px; background: #fff; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-initial { font-family: "Thmanyah Display", serif; font-size: 30px; font-weight: 900; color: #111; }
.partner-text { min-width: 0; display: grid; gap: 4px; }
.partner-text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 700; line-height: 1.55; }
.partner-text small { font-size: 12px; color: var(--ink-mute); }
a.partner:hover, a.partner:focus-visible { border-color: rgba(255, 255, 255, 0.32); transform: translateY(-3px); }
a.partner:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
@media (max-width: 640px) {
  .partner { width: 250px; height: 88px; gap: 12px; }
  .partner-logo { width: 92px; height: 64px; }
  .marquees { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; direction: rtl; justify-content: center; }
  .marquee-list { flex-wrap: wrap; justify-content: center; padding: 8px clamp(20px, 6vw, 80px); }
  .marquee-list[aria-hidden="true"] { display: none; }
}

@media (max-width: 640px) {
  .elig { gap: 14px; padding: 18px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .flow li { padding: 10px 12px; }
  .flow span { display: none; }
}
