/* outvibe: Abuja nights, royal plum + gele gold, ticket-stub motif.
   Type: Unbounded (display) + Instrument Sans (text). */

:root {
  --plum: #2a0b47;
  --plum-2: #3d1466;
  --violet: #6b2bd9;
  --violet-2: #8a52ef;
  --gold: #f5b700;
  --gold-2: #ffd24d;
  --lilac: #f5f0fb;
  --paper: #ffffff;
  --ink: #1e0b33;
  --mute: #6e5a86;
  --line: #e6daf5;
  --ok: #157a4c; --ok-bg: #dcf5e8;
  --warn: #8a5a00; --warn-bg: #fff1c7;
  --bad: #b3264a; --bad-bg: #fde3ea;
  --info: #3f2a9e; --info-bg: #e7e2ff;
  --r-sm: 10px; --r: 16px; --r-lg: 26px;
  --shadow: 0 1px 2px rgba(42, 11, 71, .06), 0 8px 24px -12px rgba(42, 11, 71, .25);
  --shadow-lg: 0 30px 60px -30px rgba(42, 11, 71, .55);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lilac); color: var(--ink); font: 400 1rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--plum); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(640px, 100% - 40px); margin-inline: auto; }
main { min-height: 60vh; padding-bottom: 72px; }
.muted { color: var(--mute); }
.lead { font-size: 1.1rem; color: var(--mute); max-width: 60ch; }
.fine { font-size: .85rem; color: var(--mute); margin: 10px 0 0; }
.center { text-align: center; }
.right { text-align: right; }
.mono { font-family: ui-monospace, Menlo, monospace; letter-spacing: .05em; }
small { display: block; color: var(--mute); font-size: .82rem; }
td small, li small { margin-top: 2px; }

/* ---------- buttons ---------- */
.btn { --bg: var(--violet); --fg: #fff; position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--bg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-gold { --bg: var(--gold); --fg: var(--plum); }
.btn-ghost { --bg: transparent; --fg: var(--violet); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--violet); background: var(--paper); }
.btn-ghost-light { --bg: rgba(255,255,255,.1); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.link-quiet { color: inherit; font-weight: 600; text-decoration: none; }
.link-quiet:hover { text-decoration: underline; }
.link-quiet.light { color: #fff; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .25s var(--ease); }
.link-arrow:hover::after { width: 28px; }
.link-danger { background: none; border: 0; color: var(--bad); font-weight: 600; cursor: pointer; padding: 6px 4px; }
.back { display: inline-block; margin: 20px 0 8px; color: var(--mute); text-decoration: none; font-weight: 600; }
.back::before { content: "‹ "; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--plum); color: #fff; transition: box-shadow .3s, background .3s; }
.site-head.scrolled { background: rgba(42, 11, 71, .92); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.head-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: #fff; text-decoration: none; letter-spacing: -.055em; display: inline-flex; align-items: center; gap: 9px; line-height: 1; }
.logo:hover { color: #fff; }
.logo-mark { width: 1.45em; height: 1.45em; flex: none; overflow: visible; }
.logo-mark .logo-ring { transform-origin: 60px 60px; transition: transform .7s var(--ease); }
.logo-mark .logo-dot { transform-origin: 60px 60px; animation: dot-beat 2.4s var(--ease) infinite; }
.logo:hover .logo-ring { transform: rotate(180deg); }
@keyframes dot-beat { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.45); } }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.main-nav a:hover, .main-nav a[aria-current] { color: #fff; background: rgba(255,255,255,.1); }
.nav-mobile-only { display: none; }
.head-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.head-actions .link-quiet { color: #fff; }
.head-search { position: relative; display: flex; align-items: center; }
.head-search svg { position: absolute; left: 12px; width: 16px; fill: none; stroke: rgba(255,255,255,.7); stroke-width: 2; }
.head-search input { width: 190px; padding: 9px 14px 9px 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; transition: width .3s var(--ease), background .2s; }
.head-search input::placeholder { color: rgba(255,255,255,.6); }
.head-search input:focus { width: 250px; background: rgba(255,255,255,.16); outline: none; border-color: var(--gold); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.1); border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* dropdown menus */
.menu, .share { position: relative; }
.avatar-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: #fff; cursor: pointer; padding: 4px 10px 4px 4px; border-radius: 999px; }
.avatar-btn:hover { background: rgba(255,255,255,.1); }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--gold); color: var(--plum); font: 700 .8rem var(--display); overflow: hidden; text-decoration: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 30px; height: 30px; font-size: .7rem; background: var(--lilac); color: var(--violet); }
.avatar-lg { width: 56px; height: 56px; font-size: 1.05rem; }
.avatar-xl { width: 88px; height: 88px; font-size: 1.6rem; }
.avatar-xxl { width: 128px; height: 128px; font-size: 2.4rem; box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: .2s var(--ease); z-index: 60; }
.menu.open .menu-pop, .share.open .menu-pop { opacity: 1; visibility: visible; transform: none; }
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; font-weight: 500; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--lilac); color: var(--violet); }
.menu-pop button.danger { color: var(--bad); }
.menu-pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* toasts */
.toasts { position: fixed; top: 80px; right: 20px; z-index: 90; display: grid; gap: 10px; width: min(380px, calc(100% - 40px)); }
.toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: var(--plum); color: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold); animation: toast-in .5s var(--ease) both; }
.toast-bad { border-left-color: #ff6b8b; }
.toast-info { border-left-color: var(--violet-2); }
.toast button { margin-left: auto; background: none; border: 0; color: rgba(255,255,255,.7); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.toast.out { animation: toast-out .35s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px); } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--plum); color: #fff; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--plum) 0%, var(--plum) 38%, rgba(42,11,71,.7) 58%, rgba(42,11,71,.15) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(transparent, var(--plum)); }
.hero-wall { position: absolute; inset: -40px -10% -40px 38%; z-index: -2; display: grid; gap: 18px; align-content: center; transform: rotate(-8deg); }
.wall-row { display: flex; gap: 18px; width: max-content; animation: drift 60s linear infinite; }
.wall-row-1 { animation-duration: 75s; animation-direction: reverse; margin-left: -140px; }
@keyframes drift { to { transform: translateX(-50%); } }
.wall-card { position: relative; margin: 0; width: 260px; height: 320px; border-radius: 22px; overflow: hidden; flex: none; background: var(--plum-2); box-shadow: 0 20px 40px -20px #000; }
.wall-card img, .wall-card .ph { width: 100%; height: 100%; object-fit: cover; }
.wall-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(20,4,36,.9)); font: 600 .9rem var(--display); line-height: 1.2; }
.wall-card figcaption span { display: block; font: 500 .78rem var(--text); color: var(--gold); margin-top: 4px; }
.hero-inner { position: relative; }
.hero-title { font-size: clamp(2.8rem, 8.4vw, 6.6rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; color: #fff; margin: 0 0 28px; max-width: 9ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; color: var(--gold); }
@keyframes rise { from { transform: translateY(105%); } }
.hero-lead { font-size: 1.15rem; max-width: 42ch; color: rgba(255,255,255,.82); animation: fade-up .8s .45s var(--ease) both; }
.hero-lead b { color: #fff; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
.hero-search { display: flex; align-items: stretch; gap: 6px; background: var(--paper); padding: 8px; border-radius: 22px; max-width: 760px; box-shadow: var(--shadow-lg); margin-top: 28px; animation: fade-up .8s .6s var(--ease) both; }
.hs-field { display: flex; flex-direction: column; padding: 6px 14px; border-right: 1px solid var(--line); min-width: 0; flex: 1; }
.hs-q { flex: 1.6; }
.hs-field label { font-size: .72rem; font-weight: 700; color: var(--violet); }
.hs-field input, .hs-field select { border: 0; padding: 2px 0; background: none; color: var(--ink); outline: none; width: 100%; }
.hero-search .btn { border-radius: 16px; padding-inline: 24px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; animation: fade-up .8s .75s var(--ease) both; }
.quick a { color: #fff; text-decoration: none; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-weight: 500; transition: .2s; }
.quick a:hover { background: var(--gold); color: var(--plum); border-color: var(--gold); }

/* ---------- category rail ---------- */
.cats-section { margin-top: -44px; position: relative; z-index: 2; }
.cats { display: grid; grid-template-columns: repeat(9, minmax(110px, 1fr)); gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { background: var(--paper); border-radius: var(--r); padding: 16px 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.cat:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow-lg); color: var(--ink); }
.cat-ico { font-size: 1.7rem; display: block; transition: transform .3s var(--ease); }
.cat:hover .cat-ico { transform: scale(1.2) rotate(-8deg); }
.cat-name { display: block; font: 600 .92rem var(--display); margin-top: 8px; }
.cat small { font-size: .75rem; }

/* ---------- sections ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-block: 64px 22px; }
.sec-head h2 { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.grid.is-past { opacity: .7; filter: grayscale(.4); }

/* ---------- ticket stub card ---------- */
.tix { --notch: var(--lilac); position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.tix:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tix-img { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: var(--plum-2); }
.tix-img img, .tix-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tix:hover .tix-img img { transform: scale(1.07); }
.tix-cat { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); color: var(--plum); padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.badge { position: absolute; right: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.badge-gold { background: var(--gold); color: var(--plum); animation: pulse 2.4s ease-in-out infinite; }
.badge-dark { background: var(--plum); color: #fff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(245,183,0,.25); } }
.tix-body { display: flex; gap: 14px; padding: 16px 18px 18px; flex: 1; }
.tix-date { flex: none; width: 50px; text-align: center; padding-top: 2px; }
.tix-date b { display: block; font: 700 1.7rem/1 var(--display); color: var(--violet); }
.tix-date span { font-size: .78rem; font-weight: 700; color: var(--mute); }
.tix-info { min-width: 0; }
.tix-info h3 { margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tix-info p { margin: 0; color: var(--mute); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* perforation between body and stub */
.tix-stub { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-top: 2px dashed var(--line); font-size: .88rem; color: var(--mute); }
.tix-stub::before, .tix-stub::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--notch); }
.tix-stub::before { left: -11px; } .tix-stub::after { right: -11px; }
.tix-stub b { font: 600 1rem var(--display); color: var(--ink); transition: color .25s; }
.tix:hover .tix-stub b { color: var(--violet); }
.ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--plum-2), var(--violet) 60%, var(--violet-2)); color: #fff; font-size: 2.6rem; }
.ph span { filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }

/* ---------- spotlight rail ---------- */
.spot-section .sec-head { margin-bottom: 22px; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, (100% - var(--wrap)) / 2) 20px; scrollbar-width: none; scroll-padding-left: max(20px, (100% - var(--wrap)) / 2); }
.rail::-webkit-scrollbar { display: none; }
.rail-ctrl { display: flex; gap: 8px; }
.rbtn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font-size: 1.4rem; cursor: pointer; color: var(--plum); transition: .2s; }
.rbtn:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.spot { position: relative; flex: none; width: min(520px, 84vw); height: 400px; border-radius: 30px; overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); }
.spot-img, .spot .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spot:hover .spot-img { transform: scale(1.06); }
.spot-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,11,71,0) 25%, rgba(30,6,52,.92) 100%); }
.spot-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.spot-when { display: inline-block; background: var(--gold); color: var(--plum); font-weight: 700; font-size: .82rem; padding: 5px 12px; border-radius: 999px; }
.spot h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 12px 0 6px; font-weight: 700; }
.spot p { color: rgba(255,255,255,.82); margin: 0 0 14px; max-width: 46ch; }
.spot-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.3); font-size: .9rem; }
.spot-foot b { font-family: var(--display); color: var(--gold); }
.spot:hover { color: #fff; }

/* ---------- how it works ---------- */
.how { background: var(--paper); margin-top: 80px; padding: 72px 0; }
.how-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.how-copy p { font-size: 1.1rem; color: var(--mute); max-width: 44ch; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 20px; border-radius: var(--r); background: var(--lilac); }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--plum); color: var(--gold); font: 700 1.3rem var(--display); }
.steps li b { font-family: var(--display); font-weight: 600; }
.steps li span { color: var(--mute); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps-4 li { grid-template-columns: 1fr; background: var(--paper); box-shadow: var(--shadow); }
.steps-4 li::before { grid-row: auto; margin-bottom: 14px; }

/* ---------- host band + calculator ---------- */
.host-band { background: var(--plum); color: #fff; margin-top: 80px; padding: 80px 0; position: relative; overflow: hidden; }
.host-band::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; border: 80px solid rgba(245,183,0,.08); animation: float 12s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-30px, 30px) scale(1.05); } }
.host-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
.host-band p { color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 46ch; }
.host-band-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.band-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 24px; }
.host-band .link-quiet { color: #fff; }
.muted-light { color: rgba(255,255,255,.6) !important; font-size: .95rem !important; }
.calc { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.calc h3 { font-size: 1.15rem; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-weight: 600; }
.calc-row output { font: 600 1.05rem var(--display); color: var(--violet); }
.calc input[type=range] { width: 100%; accent-color: var(--violet); margin: 8px 0; }
.calc-sum { margin: 18px 0 0; padding-top: 16px; border-top: 2px dashed var(--line); display: grid; gap: 8px; }
.calc-sum div { display: flex; justify-content: space-between; }
.calc-sum dt { color: var(--mute); }
.calc-sum dd { margin: 0; font-weight: 600; }
.calc-total dt { color: var(--ink); font-weight: 700; }
.calc-total dd { font: 700 1.5rem var(--display); color: var(--violet); }

/* hosts */
.hosts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.host-chip { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--paper); border-radius: var(--r); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.host-chip:hover { transform: translateY(-3px); color: var(--ink); }
.host-chip b { display: block; }
.tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--violet); color: #fff; font-size: .65rem; font-style: normal; vertical-align: middle; }

/* ---------- explore ---------- */
.explore-head { background: var(--plum); color: #fff; padding: 40px 0 28px; }
.explore-head h1 { color: #fff; }
.filters { display: grid; gap: 14px; }
.filter-search { position: relative; }
.filter-search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 18px; fill: none; stroke: var(--mute); stroke-width: 2; }
.filter-search input { width: 100%; padding: 16px 18px 16px 48px; border-radius: 16px; border: 0; font-size: 1.05rem; background: var(--paper); color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85); font-weight: 500; transition: .2s; }
.seg input:checked + span { background: var(--gold); color: var(--plum); border-color: var(--gold); font-weight: 700; }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-row select, .filter-row input { padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; }
.filter-row option { color: var(--ink); }
.filter-row input::-webkit-calendar-picker-indicator { filter: invert(1); }
.results { margin-top: 28px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.results-bar p { margin: 0; }
.sort { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: .9rem; }
.sort select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); }
.results.loading .grid { opacity: .4; transition: opacity .2s; }

/* empty states */
.empty { text-align: center; padding: 64px 20px; }
.empty.small { padding: 28px 10px; }
.empty-ico { font-size: 3rem; display: block; margin-bottom: 12px; }
.empty p { color: var(--mute); max-width: 44ch; margin-inline: auto; }
.big-ico { font-size: 3.4rem; display: block; margin-bottom: 10px; }

/* ---------- event page ---------- */
.notice { padding: 12px 0; font-weight: 600; }
.notice-warn { background: var(--warn-bg); color: var(--warn); }
.notice-bad { background: var(--bad-bg); color: var(--bad); }
.ev-hero { position: relative; background: var(--plum); color: #fff; padding: 36px 0 48px; overflow: hidden; isolation: isolate; }
.ev-backdrop { position: absolute; inset: -40px; z-index: -1; opacity: .35; filter: blur(40px) saturate(1.4); }
.ev-backdrop img, .ev-backdrop .ph { width: 100%; height: 100%; object-fit: cover; }
.ev-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.ev-gallery { display: grid; gap: 8px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr 1fr; height: 460px; }
.ev-gallery.g1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.ev-gallery.g2 { grid-template-rows: 1fr; }
.ev-gallery.g3 { grid-template-rows: 1fr 1fr; }
.gal-item { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--plum-2); }
.gal-item:first-child { grid-row: 1 / -1; border-radius: 22px; }
.gal-item img, .gal-item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42,11,71,.6); font: 700 1.4rem var(--display); color: #fff; }
.ev-head h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: .85rem; font-weight: 600; text-decoration: none; }
.tag-gold { background: var(--gold); color: var(--plum); }
a.tag:hover { background: rgba(255,255,255,.22); color: #fff; }
.ev-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.ev-facts li { display: flex; gap: 14px; align-items: flex-start; }
.fi { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.1); font-size: 1.2rem; }
.ev-facts b { display: block; font-size: 1.02rem; }
.ev-facts span { color: rgba(255,255,255,.72); font-size: .92rem; }
.ev-facts a { color: var(--gold); }
.ev-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-actions form { margin: 0; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; font-weight: 600; font-size: .92rem; text-decoration: none; transition: .2s; }
.icon-btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.icon-btn.is-on { background: var(--gold); color: var(--plum); border-color: var(--gold); }
.icon-btn.is-on svg { fill: currentColor; }
.icon-btn.pop svg { animation: heart .5s var(--ease); }
@keyframes heart { 30% { transform: scale(1.5); } 60% { transform: scale(.9); } }
.icon-only { padding: 6px 12px; color: var(--ink); border-color: var(--line); background: var(--paper); font-size: 1.1rem; }
.icon-only:hover { color: var(--violet); background: var(--lilac); }
.share .menu-pop { left: 0; right: auto; transform-origin: top left; }

.ev-body { display: grid; grid-template-columns: 1fr 380px; gap: 48px; margin-top: 40px; align-items: start; }
.ev-summary { font: 500 1.3rem/1.45 var(--text); color: var(--ink); max-width: 52ch; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: #3a2a52; }
.prose ol { padding-left: 1.2em; display: grid; gap: 10px; }
.ev-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 28px 0; }
.ev-meta div { background: var(--paper); border-radius: var(--r); padding: 14px 16px; }
.ev-meta dt { font-size: .8rem; font-weight: 700; color: var(--violet); }
.ev-meta dd { margin: 2px 0 0; }
.map-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin: 20px 0; background: var(--paper); border-radius: var(--r); text-decoration: none; color: var(--ink); background-image: radial-gradient(circle at 90% 50%, var(--lilac) 0 40px, transparent 41px), repeating-linear-gradient(45deg, transparent 0 18px, rgba(107,43,217,.04) 18px 19px); }
.map-card b { display: block; }
.map-card .link-arrow { margin-left: auto; }
.map-pin { font-size: 1.6rem; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.host-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--paper); border-radius: var(--r); margin: 20px 0; }
.host-card > div { flex: 1; }
.host-card form { margin: 0; }
.host-name { display: block; font: 600 1.1rem var(--display); color: var(--ink); text-decoration: none; margin: 2px 0 4px; }
.report-line { font-size: .88rem; color: var(--mute); }

.book { position: sticky; top: 88px; }
.book-card { background: var(--paper); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.book-card h2 { font-size: 1.3rem; }
.tiers { display: grid; gap: 10px; margin-bottom: 16px; }
.tier { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r); border: 2px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.tier:hover { border-color: var(--violet-2); }
.tier input { position: absolute; opacity: 0; }
.tier:has(input:checked) { border-color: var(--violet); background: #f8f3ff; transform: scale(1.01); }
.tier:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.tier.is-off { opacity: .5; cursor: not-allowed; }
.tier-main b, .tier-side b { display: block; }
.tier-side { text-align: right; flex: none; }
.tier-side b { font-family: var(--display); font-weight: 600; }
.qty-row { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 14px; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--violet); }
.stepper button:hover { background: var(--lilac); }
.stepper input { width: 44px; text-align: center; border: 0; font-weight: 700; background: none; padding: 0; }
.promo summary { cursor: pointer; color: var(--violet); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.promo input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; text-transform: uppercase; }
.book-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; margin-top: 10px; border-top: 2px dashed var(--line); }
.book-total b { font: 700 1.6rem var(--display); color: var(--violet); }
.book-card .btn-ghost { margin-top: 10px; }
.mobile-book { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(15,3,28,.94); display: grid; place-items: center; padding: 40px; animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 14px; animation: zoom-in .4s var(--ease); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; } .lb-next { right: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.94); } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea, .toolbar select, .toolbar input, .copy-row input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus, .toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(107,43,217,.12); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
.inline { display: flex; gap: 10px; align-items: center; }
.inline input { flex: 1; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: .92rem; }
.check input { margin-top: 4px; accent-color: var(--violet); width: 18px; height: 18px; flex: none; }
.pw { position: relative; }
.pw-toggle { position: absolute; right: 8px; top: 50%; translate: 0 -50%; border: 0; background: var(--lilac); color: var(--violet); border-radius: 8px; padding: 5px 10px; font-size: .8rem; font-weight: 700; cursor: pointer; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-bad { background: var(--bad-bg); color: var(--bad); animation: shake .4s; }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.alert-info { background: var(--info-bg); color: var(--info); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* switch */
.switch { display: flex; gap: 14px; align-items: center; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { position: relative; width: 50px; height: 30px; flex: none; border-radius: 999px; background: var(--line); transition: background .25s; }
.switch-ui::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.switch input:checked + .switch-ui { background: var(--violet); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--gold); outline-offset: 2px; }
.switch b { display: block; }

/* ---------- panels & app pages ---------- */
.panel { background: var(--paper); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); margin-bottom: 22px; }
.panel h2 { font-size: 1.2rem; }
.panel-plum { background: var(--plum); color: #fff; }
.panel-plum h2 { color: #fff; }
.panel-plum p { color: rgba(255,255,255,.8); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; }
.page-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; padding: 36px 0 10px; }
.page-head h1 { margin-bottom: 6px; }
.page-head .lead { margin: 0; }
.page-actions { display: flex; gap: 10px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 26px; border-bottom: 1.5px solid var(--line); scrollbar-width: none; }
.tabs a { position: relative; padding: 12px 16px; color: var(--mute); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tabs a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1.5px; height: 3px; border-radius: 3px; background: var(--violet); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--violet); }
.tabs a[aria-current]::after { transform: scaleX(1); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--lilac); font-size: .75rem; color: var(--mute); }
.count-hot { background: var(--gold); color: var(--plum); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

.stats { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.stats-4 { grid-template-columns: repeat(4, 1fr); }
.stat { background: var(--paper); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.stat span { font-size: .88rem; color: var(--mute); font-weight: 600; }
.stat b { display: block; font: 700 clamp(1.4rem, 2.4vw, 1.9rem) var(--display); letter-spacing: -.03em; margin: 6px 0 4px; word-break: break-word; }
.stat-hero { background: var(--plum); color: #fff; position: relative; overflow: hidden; }
.stat-hero::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 160px; height: 160px; border-radius: 50%; border: 26px solid rgba(245,183,0,.14); }
.stat-hero span, .stat-hero small { color: rgba(255,255,255,.72); }
.stat-hero b { color: var(--gold); }
.stat-hero a { color: #fff; }
.progress { height: 8px; border-radius: 99px; background: var(--lilac); overflow: hidden; margin: 8px 0 4px; }
.progress span { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--violet-2)); animation: grow 1.2s var(--ease) both; }
.progress.thin { height: 5px; }
.progress.big { height: 14px; margin: 18px 0; }
@keyframes grow { from { width: 0; } }
.up { color: var(--ok); font-weight: 700; } .down { color: var(--bad); font-weight: 700; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; vertical-align: middle; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-mute { background: var(--lilac); color: var(--mute); }
.pill-gold { background: var(--gold); color: var(--plum); }

/* chart */
.chart-panel .chart-head { display: flex; justify-content: space-between; align-items: start; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .base { stroke: #cbb8e8; stroke-width: 1; }
.chart .axis { fill: var(--mute); font: 500 11px var(--text); }
.chart .mark { fill: var(--violet); transform-box: fill-box; transform-origin: bottom; animation: bar-up .8s var(--ease) both; animation-delay: calc(var(--i) * 18ms); transition: fill .15s; }
.chart .hit { fill: transparent; }
.chart .bar:hover .mark, .chart .bar.on .mark { fill: var(--gold); }
@keyframes bar-up { from { transform: scaleY(0); } }
.chart-tip { position: absolute; pointer-events: none; background: var(--plum); color: #fff; font-size: .85rem; font-weight: 600; padding: 7px 11px; border-radius: 10px; white-space: nowrap; transform: translate(-50%, -110%); box-shadow: var(--shadow-lg); }
.table-view { margin-top: 12px; }
.table-view summary { cursor: pointer; color: var(--violet); font-weight: 600; font-size: .9rem; }

.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.ev-table { display: grid; }
.ev-row { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.ev-row:first-child { border-top: 0; }
.ev-row.is-past { opacity: .65; }
.ev-thumb { display: block; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex: none; }
.ev-thumb img, .ev-thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 1.4rem; }
.ev-row h3 { margin: 4px 0 0; font-size: 1rem; }
.ev-row h3 a { color: var(--ink); text-decoration: none; }
.ev-row-money { text-align: right; }
.ev-row-money b { font-family: var(--display); }
.order-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.order-top small { display: inline; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed li > div { flex: 1; min-width: 0; font-size: .92rem; }
.feed-amt { text-align: right; font-weight: 700; color: var(--ok); white-space: nowrap; }
.feed-amt small { font-weight: 500; }
.feed.compact li { padding: 8px 0; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th { text-align: left; font-size: .8rem; color: var(--mute); font-weight: 700; padding: 10px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: #faf7ff; }
.tbl-scroll { overflow-x: auto; }
.row-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.toolbar select, .toolbar input { width: auto; flex: 1 1 200px; }
.adm-row { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.adm-row:first-of-type { border-top: 0; }
.adm-row > div:not(.row-actions) { flex: 1; }
.adm-row p { margin: 6px 0; }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.todo a { display: block; padding: 12px 14px; border-radius: 12px; background: var(--lilac); font-weight: 600; text-decoration: none; }
.mail { border-top: 1px solid var(--line); padding: 12px 0; }
.mail summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mail summary span { color: var(--mute); font-size: .85rem; }
.mail-body { margin-top: 12px; }

/* tickets list */
.order-list { display: grid; gap: 14px; }
.order-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 14px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.order-img { display: block; height: 100px; border-radius: 14px; overflow: hidden; }
.order-img img, .order-img .ph { width: 100%; height: 100%; object-fit: cover; }
.order-info h3 { margin: 6px 0 4px; }
.order-info h3 a { color: var(--ink); text-decoration: none; }
.order-info p { margin: 0; font-size: .92rem; }
.order-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.order-actions form { margin: 0; }
.order-actions .btn { width: 100%; }

/* ---------- checkout / pay ---------- */
.checkout { padding-bottom: 40px; }
.co-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; }
.summary { position: sticky; top: 88px; }
.sum-event { display: flex; gap: 14px; margin-bottom: 18px; }
.sum-img, .sum-event .ph { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; flex: none; }
.sum-event h3 { margin-bottom: 6px; }
.sum-event p { margin: 0; font-size: .9rem; color: var(--mute); }
.lines { margin: 0; display: grid; gap: 10px; padding: 16px 0; border-top: 2px dashed var(--line); }
.lines div { display: flex; justify-content: space-between; gap: 12px; }
.lines dd { margin: 0; font-weight: 600; }
.lines .discount { color: var(--ok); }
.lines .total { padding-top: 12px; border-top: 1px solid var(--line); }
.lines .total dt { font-weight: 700; }
.lines .total dd { font: 700 1.5rem var(--display); color: var(--violet); }
.promo-inline { display: flex; gap: 8px; }
.promo-inline input { flex: 1; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); text-transform: uppercase; }
.split-box { padding: 18px; border-radius: var(--r); background: var(--lilac); margin: 8px 0 4px; }
.split-detail { margin-top: 16px; display: grid; gap: 10px; justify-items: start; }
.split-detail label { font-weight: 600; font-size: .92rem; }
.split-detail p { margin: 0; }
.secure { text-align: center; }
.pay-wrap { display: grid; place-items: center; padding-top: 40px; }
.pay-card { width: min(480px, 100%); text-align: center; }
.pay-card .field { text-align: left; }
.pay-head { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 2px dashed var(--line); }
.pay-head h1 { font-size: 2.8rem; color: var(--violet); margin: 4px 0; }
.pay-cover, .pay-card > .ph { width: 100%; height: 180px; object-fit: cover; border-radius: 18px; margin-bottom: 16px; }
.timer { display: inline-block; background: var(--warn-bg); color: var(--warn); padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin: 0; }
.gw-tabs { display: flex; gap: 6px; background: var(--lilac); padding: 5px; border-radius: 14px; margin-bottom: 16px; }
.gw-tabs button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--mute); }
.gw-tabs button[aria-selected="true"] { background: var(--paper); color: var(--violet); box-shadow: var(--shadow); }
.gw-pane { text-align: left; min-height: 120px; }
.processing .btn { pointer-events: none; }
.processing .btn::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* confirmation */
.confirm { text-align: center; padding-top: 36px; }
.confirm-head p { color: var(--mute); font-size: 1.08rem; }
.confirm-head h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; color: var(--violet); }
.pop-in { animation: pop .8s var(--ease) both; }
@keyframes pop { 0% { opacity: 0; transform: scale(.6) rotate(-4deg); } 60% { transform: scale(1.06) rotate(1deg); } }
.confirm-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.share-panel { max-width: 560px; margin: 0 auto; }
.copy-row { display: flex; gap: 8px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; }

/* the ticket */
.ticket { display: grid; grid-template-columns: 200px 1fr 220px; max-width: 900px; margin: 26px auto 0; background: var(--paper); border-radius: 28px; box-shadow: var(--shadow-lg); text-align: left; overflow: hidden; animation: ticket-in 1s .2s var(--ease) both; }
@keyframes ticket-in { from { opacity: 0; transform: translateY(40px) rotate(-2deg); } }
.ticket-art { position: relative; background: var(--plum); }
.ticket-art img, .ticket-art .ph { width: 100%; height: 100%; object-fit: cover; }
.ticket-brand { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; font: 700 1.05rem var(--display); letter-spacing: -.055em; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.ticket-brand .logo-mark { width: 1.3em; height: 1.3em; }
.ticket-main { padding: 26px 28px; }
.ticket-main small { font-weight: 700; color: var(--violet); }
.ticket-main h2 { font-size: 1.5rem; margin: 4px 0 16px; }
.ticket-main dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
.ticket-main dt { font-size: .76rem; color: var(--mute); font-weight: 700; }
.ticket-main dd { margin: 0; font-weight: 600; font-size: .92rem; }
.ticket-stub { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; padding: 22px; border-left: 2px dashed var(--line); background: #fbf8ff; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--lilac); }
.ticket-stub::before { top: -13px; } .ticket-stub::after { bottom: -13px; }
.qr { width: 156px; height: 156px; padding: 8px; background: #fff; border-radius: 12px; display: grid; place-items: center; }
.qr svg { width: 100%; height: auto; display: block; }
.qr svg path { fill: var(--plum); }
.code { font: 700 1rem var(--display); letter-spacing: .12em; color: var(--plum); text-align: center; }
.stamp { padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--plum); font-weight: 700; font-size: .8rem; }
.ticket.is-used .stamp { background: var(--plum); color: #fff; }
.ticket.is-used .qr { opacity: .3; }
.ticket-wrap { max-width: 900px; }
.ticket-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0; }
.transfer summary { cursor: pointer; }
.transfer form { margin-top: 16px; }

/* ---------- editor ---------- */
.editor { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.editor-side .sticky { position: sticky; top: 88px; }
.tix-preview { pointer-events: none; margin-bottom: 18px; --notch: var(--lilac); }
.publish { display: grid; gap: 10px; }
.cover-drop { position: relative; border: 2px dashed var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; transition: border-color .2s, background .2s; }
.cover-drop.over { border-color: var(--violet); background: #f8f3ff; }
.cover-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cover-preview { aspect-ratio: 16 / 8; display: grid; place-items: center; color: var(--mute); font-weight: 600; text-align: center; padding: 10px; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 14px; }
.thumb { border-radius: 12px; overflow: hidden; background: var(--lilac); font-size: .82rem; cursor: pointer; }
.thumb img { width: 100%; height: 90px; object-fit: cover; }
.thumb span { display: flex; gap: 6px; padding: 6px 8px; }
.thumb:has(input:checked) img { opacity: .3; }
.repeat { display: grid; gap: 14px; }
.tier-edit { padding: 18px; border-radius: var(--r); background: var(--lilac); animation: fade-up .4s var(--ease); }
.tier-edit .field { margin-bottom: 10px; }
.tier-foot { display: flex; justify-content: space-between; align-items: center; }
.you-get { color: var(--ok); font-weight: 600; }
.promo-edit { padding: 14px; background: var(--lilac); border-radius: var(--r); animation: fade-up .4s var(--ease); }
.promo-edit .field { margin: 0; }

/* check-in */
.ck-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
.ck-grid form label { font-weight: 600; display: block; margin-bottom: 6px; }
.ck-grid select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); }
.scanner { margin: 18px 0; }
.reader { border-radius: var(--r); overflow: hidden; background: var(--plum); min-height: 0; margin-bottom: 12px; }
.reader:empty { display: none; }
.ck-manual input { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.ck-result { text-align: center; padding: 30px 20px; border-radius: var(--r); background: var(--lilac); transition: background .3s; }
.ck-result b { display: block; font: 700 1.4rem var(--display); margin: 10px 0 4px; }
.ck-result p { margin: 0; color: var(--mute); }
.ck-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--paper); font-size: 2rem; font-weight: 700; color: var(--mute); }
.ck-result.is-ok { background: var(--ok-bg); }
.ck-result.is-ok .ck-ico { background: var(--ok); color: #fff; animation: pop .6s var(--ease); }
.ck-result.is-bad { background: var(--bad-bg); }
.ck-result.is-bad .ck-ico { background: var(--bad); color: #fff; animation: shake .4s; }
.ck-count { margin: 22px 0; }
.ck-count b { font: 700 2.4rem var(--display); color: var(--violet); }
.ck-count span { color: var(--mute); margin-left: 6px; }

/* ---------- auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.auth-art { position: relative; background: var(--plum); overflow: hidden; }
.auth-art img, .auth-art .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; animation: ken 20s ease-in-out infinite alternate; }
@keyframes ken { to { transform: scale(1.12) translate(-2%, -2%); } }
.auth-art p { position: absolute; left: 40px; right: 40px; bottom: 40px; font: 700 clamp(1.5rem, 2.8vw, 2.4rem)/1.15 var(--display); color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.5); letter-spacing: -.03em; }
.auth-form { padding: 64px clamp(20px, 6vw, 88px); max-width: 600px; }
.auth-page main { padding-bottom: 0; }
.auth-page .site-foot { margin-top: 0; }
.demo-box { margin-top: 28px; padding: 16px; border-radius: var(--r); background: var(--paper); border: 1.5px dashed var(--line); font-size: .9rem; display: grid; gap: 2px; }
.narrow > h1, .narrow > .panel { margin-top: 36px; }
.narrow > h1 + .lead { margin-bottom: 18px; }
.narrow > h1 + .lead + .panel, .narrow > h1 + .lead + .alert + .panel { margin-top: 0; }
.avatar-edit { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }

/* organiser */
.org-hero { background: var(--plum); color: #fff; padding: 56px 0; }
.org-grid { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.org-hero h1 { color: #fff; }
.org-hero .lead { color: rgba(255,255,255,.8); }
.org-stats { list-style: none; display: flex; gap: 26px; padding: 0; margin: 0 0 20px; }
.org-stats b { font: 700 1.3rem var(--display); color: var(--gold); margin-right: 4px; }
.org-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.org-actions form { margin: 0; }

/* host marketing */
.host-hero { position: relative; background: var(--plum); color: #fff; padding: 100px 0; overflow: hidden; isolation: isolate; }
.host-hero-img { position: absolute; inset: 0; z-index: -1; }
.host-hero-img img, .host-hero-img .ph { width: 100%; height: 100%; object-fit: cover; opacity: .4; animation: ken 24s ease-in-out infinite alternate; }
.host-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--plum) 20%, rgba(42,11,71,.3)); }
.host-hero .hero-title { max-width: 11ch; }
.host-steps h2 { margin: 64px 0 22px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.feat { background: var(--paper); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.feat:hover { transform: translateY(-4px); }
.feat-ico { font-size: 2rem; display: block; margin-bottom: 12px; }
.feat p { color: var(--mute); margin: 0; }

/* help / policy / about / fees */
.help-hero { background: var(--plum); padding: 56px 0; }
.help-hero h1 { color: #fff; }
.help-search { width: min(560px, 100%); padding: 16px 20px; border-radius: 16px; border: 0; font-size: 1.05rem; }
.help { max-width: 820px; padding-top: 30px; }
.faq-group { margin-bottom: 30px; }
.faq { background: var(--paper); border-radius: var(--r); margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 50px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font: 600 1.4rem var(--display); color: var(--violet); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; margin: 0; color: var(--mute); animation: fade-up .3s var(--ease); }
.policy { display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding-top: 36px; align-items: start; }
.policy-nav { display: grid; gap: 2px; position: sticky; top: 88px; }
.policy-nav a { padding: 9px 14px; border-radius: 10px; color: var(--mute); text-decoration: none; font-weight: 500; }
.policy-nav a:hover { background: var(--paper); }
.policy-nav a[aria-current] { background: var(--paper); color: var(--violet); font-weight: 700; }
.about-hero { position: relative; background: var(--plum); padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.about-img { position: absolute; inset: 0; z-index: -1; }
.about-img img, .about-img .ph { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.about-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; }
.about { padding-top: 40px; font-size: 1.08rem; }
.fee-big { font: 800 3.4rem var(--display); color: var(--violet); margin: 0; letter-spacing: -.04em; }
.panel-plum .fee-big { color: var(--gold); }
.contact { padding-top: 40px; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; margin: 24px 0; }
.contact-list b { display: block; font-size: .85rem; color: var(--violet); }

/* ---------- footer ---------- */
.site-foot { background: var(--plum); color: rgba(255,255,255,.72); padding: 64px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.foot-grid a:not(.logo) { display: block; color: rgba(255,255,255,.72); text-decoration: none; padding: 4px 0; font-size: .93rem; }
.foot-grid a:not(.logo):hover { color: var(--gold); }
.foot-brand p { max-width: 32ch; margin-top: 14px; }
.foot-city { color: var(--gold); font-weight: 600; }
.foot-base { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.foot-base a { color: rgba(255,255,255,.72); }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 70; display: flex; gap: 14px; align-items: center; max-width: 440px; padding: 14px 18px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-lg); animation: fade-up .6s 1s var(--ease) both; }
.cookie p { margin: 0; font-size: .9rem; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .tix.reveal.in:hover { transform: translateY(-6px); transition-delay: 0s; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .head-search { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dash-grid, .ev-hero-grid { grid-template-columns: 1fr; }
  .ev-gallery { height: 380px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .feature-grid, .steps-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; background: var(--plum); padding: 12px 20px 24px; gap: 2px; transform: translateY(-110%); opacity: 0; transition: .35s var(--ease); box-shadow: 0 20px 30px -10px rgba(0,0,0,.4); z-index: -1; }
  .main-nav.open { transform: none; opacity: 1; }
  .main-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-mobile-only { display: grid; border-top: 1px solid rgba(255,255,255,.12); margin-top: 8px; padding-top: 8px; }
  .nav-toggle { display: block; }
  .hide-sm { display: none; }
  .avatar-name { display: none; }
  .hero { padding: 48px 0 84px; }
  .hero::before { background: linear-gradient(180deg, rgba(42,11,71,.65), var(--plum) 70%); }
  .hero-wall { inset: -20px -40% 30% -10%; opacity: .55; }
  .hero-search { flex-direction: column; border-radius: 20px; }
  .hs-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .hero-search .btn { padding: 14px; }
  .cats { grid-template-columns: repeat(9, 120px); }
  .how-grid, .host-band-grid, .two-col, .co-grid, .ck-grid, .editor, .auth, .policy { grid-template-columns: 1fr; }
  .ev-body { grid-template-columns: 1fr; }
  .book { position: static; }
  .summary, .editor-side .sticky, .policy-nav { position: static; }
  .policy-nav { display: flex; overflow-x: auto; }
  .policy-nav a { white-space: nowrap; }
  .auth-art { min-height: 200px; }
  .auth-art p { font-size: 1.3rem; left: 20px; bottom: 20px; }
  .auth-form { padding: 36px 20px; }
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; justify-content: space-between; align-items: center; padding: 12px 20px; background: var(--paper); box-shadow: 0 -10px 30px -10px rgba(42,11,71,.3); }
  .mobile-book b { font-family: var(--display); }
  .event-page main { padding-bottom: 110px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-art { height: 160px; }
  .ticket-stub { border-left: 0; border-top: 2px dashed var(--line); }
  .ticket-stub::before, .ticket-stub::after { left: auto; top: -14px; }
  .ticket-stub::before { left: -13px; } .ticket-stub::after { right: -13px; bottom: auto; }
  .ticket-main dl { grid-template-columns: 1fr 1fr; }
  .order-row { grid-template-columns: 90px 1fr; }
  .order-img { height: 90px; }
  .order-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .order-actions .btn { width: auto; }
  .ev-row { grid-template-columns: 56px 1fr auto; }
  .ev-row-money { grid-column: 2; text-align: left; }
  .ev-thumb { width: 56px; height: 56px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .field-row, .field-row.three { grid-template-columns: 1fr; }
  .stats, .stats-4, .feature-grid, .steps-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; gap: 8px; }
  .ev-gallery { height: 300px; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
  .ev-gallery .gal-item:first-child { grid-row: auto; grid-column: 1 / -1; }
  .ev-gallery .gal-item:nth-child(4) { display: none; }
  .spot { height: 360px; }
  .panel { padding: 20px; }
  .sec-head { margin-block-start: 48px; }
  .tbl-orders thead { display: none; }
  .tbl-orders tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .tbl-orders td { border: 0; padding: 6px 4px; }
  .tbl-orders td:first-child { grid-column: 1 / -1; }
  .row-actions { justify-content: flex-start; }
}

/* ---------- print (tickets) ---------- */
@media print {
  .site-head, .site-foot, .ticket-tools, .transfer, .back, .cookie, .toasts { display: none !important; }
  body { background: #fff; }
  .ticket { box-shadow: none; border: 1px solid #ccc; animation: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wall-row { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- nationwide: location picker + cities ---------- */
.place-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s; }
.place-btn:hover { background: rgba(255,255,255,.14); }
.place-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2.2; }
.place-pop { min-width: 250px; max-height: 70vh; overflow: auto; }
.place-pop a[aria-current] { color: var(--violet); font-weight: 700; background: var(--lilac); }
.pop-label { margin: 4px 12px 6px; font-size: .8rem; font-weight: 700; color: var(--mute); }
.place-form { padding: 4px 12px 8px; }
.place-form label { display: block; font-size: .8rem; font-weight: 700; color: var(--mute); margin-bottom: 6px; }
.place-form select { width: 100%; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); }
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.city { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--plum-2); box-shadow: var(--shadow); }
.city img, .city .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(30,6,52,.88)); }
.city:hover img { transform: scale(1.08); }
.city:hover { color: #fff; }
.city-name { position: absolute; left: 18px; bottom: 16px; z-index: 1; font: 700 1.25rem var(--display); letter-spacing: -.02em; }
.city-name small { color: var(--gold); font: 600 .82rem var(--text); margin-top: 2px; }
.city-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 22px; }
.city-chips a { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 16px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); text-decoration: none; font-weight: 600; }
.city-chips small { display: inline; }
@media (max-width: 1060px) { .cities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .place-btn span { max-width: 90px; overflow: hidden; text-overflow: ellipsis; } .place-menu .menu-pop { position: fixed; left: 16px; right: 16px; top: 70px; } }
.fee-big small { font-size: 1rem; margin-left: 6px; color: var(--mute); display: inline; }

/* ---------- payouts ---------- */
.bank-chip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--lilac); margin-bottom: 16px; }
.bank-chip > div { flex: 1; }
.bank-ico { font-size: 1.6rem; }
.resolve { padding: 12px 14px; border-radius: 12px; margin: -4px 0 16px; background: var(--lilac); animation: fade-up .3s var(--ease); }
.resolve b { display: block; letter-spacing: .02em; }
.resolve.is-ok { background: var(--ok-bg); color: var(--ok); }
.resolve.is-warn { background: var(--warn-bg); color: var(--warn); }
.resolve.is-bad { background: var(--bad-bg); color: var(--bad); }
.resolve.is-ok small, .resolve.is-warn small, .resolve.is-bad small { color: inherit; opacity: .85; }
.resolve.is-loading::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; vertical-align: middle; }
.small-lines { border-top: 0; padding-top: 0; }
.small-lines .total dd { font-size: 1.2rem; }
.mt { margin-top: 26px; }
.rev-list { margin: 0; display: grid; gap: 10px; }
.rev-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.rev-list dt { color: var(--mute); }
.rev-list dd { margin: 0; font-weight: 600; }
.rev-list .total dt { color: var(--ink); font-weight: 700; }
.rev-list .total dd { font: 700 1.3rem var(--display); color: var(--violet); }
.fee-input { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 20px; }
.fee-input input { width: 4.2ch; field-sizing: content; min-width: 2ch; font: 700 2.6rem var(--display); color: var(--violet); border: 0; border-bottom: 3px solid var(--line); background: none; padding: 4px 0; letter-spacing: -.03em; }
.fee-input input:focus { outline: none; border-color: var(--violet); }
.fee-input span { font: 700 2rem var(--display); color: var(--mute); }

/* ---------- mobile polish (phones and small tablets) ---------- */
@media (max-width: 860px) {
  /* Wide tables scroll sideways inside their card instead of stretching the page. */
  .tbl:not(.tbl-orders) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl-scroll .tbl { display: table; }
  .tbl:not(.tbl-orders) td { white-space: nowrap; }
  .tbl th, .tbl td { padding-inline: 10px; }
  .page-actions { flex-wrap: wrap; }
  /* Cookie notice spans the bottom and sits above the event page's "Get tickets" bar. */
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .event-page .cookie { bottom: 84px; }
  .toasts { top: 76px; right: 12px; width: calc(100% - 24px); }
  .mobile-book { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  .sec-head { flex-wrap: wrap; align-items: center; }
  .sec-head h2 { font-size: 1.3rem; }
  .spot { height: 380px; }
  .spot-body { padding: 20px; }
  .spot-foot { flex-wrap: wrap; }
  .spot-foot b { white-space: nowrap; }
  .host-card { flex-wrap: wrap; }
  .host-card > div { flex: 1 1 150px; min-width: 0; }
  .host-card .host-name { font-size: 1.05rem; overflow-wrap: anywhere; }
  .map-card { background-image: repeating-linear-gradient(45deg, transparent 0 18px, rgba(107,43,217,.04) 18px 19px); }
  .panel { padding: 18px 16px; }
  .tabs a { padding: 12px 12px; }
  .chart .axis { font-size: 13px; }
  .row-actions .btn, .order-actions .btn { min-height: 40px; }
}
