/* Event listing + seat selection, on top of ui.css */

.page-title {
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px;
  margin: 18px 0 14px;
}
.page-title h1 { font-size: 40px; font-weight: 800; letter-spacing: -.6px; line-height: 1.05; min-width: 0; flex: 1 1 180px; }
.fans {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 10px 6px 12px;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  flex: 1 1 220px; max-width: 100%; min-width: 0;
}
.fans span { min-width: 0; overflow-wrap: anywhere; }
.fans button { display: grid; place-items: center; }
.fans svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fans .on svg { fill: #ff3b6b; stroke: #ff3b6b; }

.filters { display: flex; gap: 8px; margin-bottom: 16px; }
.menu { position: relative; }
.menu > button, .qty > button, .icon-sq {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-strong); background: #fff;
  border-radius: 8px; padding: 7px 12px; font-size: 14px; font-weight: 600;
}
.menu ul {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(20,22,44,.12); min-width: 180px; padding: 6px;
}
.menu li button { width: 100%; text-align: left; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.menu li button:hover, .menu li button.on { background: var(--green-soft); }
.chev svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.count { font-size: 14px; margin-bottom: 12px; }
.count strong { font-weight: 800; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }

.perf {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  border: 1px solid #e3e5eb; border-radius: 20px; padding: 12px 14px; margin-bottom: 10px; background: #fff;
  min-width: 0; max-width: 100%;
}
.perf:hover { border-color: #c5cad3; }
.perf.is-on { border-color: #6842F4; box-shadow: 0 0 0 1px #6842F4; }
.datechip { text-align: center; line-height: 1.05; }
.datechip .mo { font-size: 12px; color: #6b707a; }
.datechip .dy { display: block; font-size: 22px; font-weight: 800; margin: 1px 0; }
.datechip .wd {
  display: inline-block; background: #D9FF65; color: #17152D;
  font-size: 12px; font-weight: 700; border-radius: 5px; padding: 1px 6px;
}
.perf-main { min-width: 0; }
.perf-main strong { display: block; font-size: 15px; }
.perf-main .when, .perf-main .where {
  margin-top: 3px; font-size: 13px; color: #5e646e; min-width: 0;
}
.perf-main .where {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.flag { width: 16px; height: 11px; flex: none; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.see {
  border: 1.5px solid #6842F4; color: var(--green-btn); background: #fff;
  border-radius: 12px; padding: 7px 12px; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.see:hover { background: var(--green-soft); }

.side-card { border: 1px solid #ececf1; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 14px; background: #fff; }
.side-card .photo { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #ddd; }
.bio { padding: 12px 14px 14px; font-size: 13.5px; color: #3a3e46; line-height: 1.45; }
.bio.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.more { color: var(--green-btn); font-weight: 700; margin-left: 4px; }
.socials { display: flex; gap: 8px; padding: 0 14px 14px; }
.socials a {
  width: 28px; height: 28px; border-radius: 50%; background: #1c1e22; color: #fff;
  display: grid; place-items: center;
}
.socials svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.conf { padding: 16px 16px 8px; }
.conf h3 { font-size: 18px; margin-bottom: 12px; }
.conf li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 12px; }
.conf svg { width: 20px; height: 20px; stroke: #3d7ea6; fill: none; stroke-width: 1.7; flex: none; margin-top: 1px; }

/* ---------- Seat selection ---------- */
.seat-app { height: 100vh; display: flex; flex-direction: column; background: #F5F3FF; }
.seat-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.map-pane { position: relative; padding: 14px; min-width: 0; }
.map-scroll { height: 100%; overflow: hidden; border-radius: 20px; background: #F5F3FF; touch-action: none; }
.map-scroll.is-zoomed { cursor: grab; }
.map-scroll.is-panning { cursor: grabbing; }
.map-canvas { position: relative; width: 100%; height: 100%; transform-origin: 0 0; }
.map-canvas.map-svg { position: absolute; left: 0; top: 0; }
.map-canvas.is-animating { transition: left .45s cubic-bezier(.2,.8,.2,1), top .45s cubic-bezier(.2,.8,.2,1), width .45s cubic-bezier(.2,.8,.2,1), height .45s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .map-canvas.is-animating { transition: none; }
}
.bowl {
  position: absolute; left: 8%; top: 3%; right: 2%; bottom: 3%;
  background: #E4DCFF; border-radius: 46% 50% 46% 42%;
}
.stage {
  position: absolute; background: #4d4f55; color: #fff;
  display: grid; place-items: center; border-radius: 4px;
  font-weight: 800; letter-spacing: .18em; font-size: 13px;
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.section {
  position: absolute; background: #E4DCFF; border-radius: 3px;
  border: 1px solid rgba(255,255,255,.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.15; padding: 2px; text-align: center; color: #1d1f1c;
}
.section:hover { background: #D9FF65; outline: 2px solid #17152D; z-index: 1; }
.section.is-on { background: #D9FF65; color: #17152D; outline: 2px solid #6842F4; z-index: 1; }
.section .sid { font-size: 10px; font-weight: 700; }
.section .spr { font-size: 10px; font-weight: 800; }
.section .mk { font-size: 9px; font-weight: 800; }
.section .mk.danger { color: var(--danger); }
.section .mk.hot { color: #e23b8f; }
.section .mk.good { color: #17152D; }
.section.is-on .mk.good { color: #D9FF65; }

/* ---------- SVG concert-bowl seat map ---------- */
.map-canvas.map-svg { height: 100%; display: grid; place-items: center; }
.map-canvas.map-svg svg { width: 100%; height: 100%; }
.bowl-el { fill: #EDE9FE; }
.ring-section { fill: #D9D0FF; stroke: #fff; stroke-width: .35; cursor: pointer; transition: fill .12s; }
.ring-section:hover { fill: #D9FF65; }
.ring-section.is-on { fill: #D9FF65; stroke: #6842F4; stroke-width: .6; }
.floor-section rect { fill: #E4DCFF; stroke: #fff; stroke-width: .35; cursor: pointer; transition: fill .12s; }
.floor-section:hover rect { fill: #D9FF65; }
.floor-section.is-on rect { fill: #D9FF65; stroke: #6842F4; }
.real-map .ring-label, .real-map .stage-label { font-size: unset; letter-spacing: 0; }
.ring-label, .floor-label {
  font-size: 2.4px; font-weight: 700; fill: #17152D; text-anchor: middle;
  dominant-baseline: middle; pointer-events: none; user-select: none;
}
.ring-label { fill: #17152D; }
.sec-price { fill: #0b6b2a; font-weight: 700; }
.venue-svg text { pointer-events: none; }
.venue-svg .svg-hit { cursor: pointer; }
.venue-svg g:hover > .svg-hit,
.venue-svg g.is-on > .svg-hit { fill: #D9FF65; fill-opacity: 0.9; stroke: #6842F4; }
.venue-svg .svg-price { fill: #0b6b2a; font-weight: 700; }
.stage-el rect { fill: #4d4f55; }
.stage-label {
  font-size: 4px; font-weight: 800; letter-spacing: .18em;
  fill: #fff; text-anchor: middle; dominant-baseline: middle; pointer-events: none;
}
.zoom-stack {
  position: absolute; top: 24px; right: 26px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px;
}
.zoom {
  width: 44px; height: 44px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); font-size: 22px; line-height: 1;
  box-shadow: var(--shadow);
}
.zoom:disabled { opacity: 0.4; }
.zoom-reset { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 11px; font-weight: 800; line-height: 1.1; }

.list-pane { background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.list-head { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.icon-sq svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.icon-sq.on { background: var(--green-soft); border-color: var(--green); }
.qty { position: relative; }
.qty ul { right: 0; left: auto; }
.listings { overflow: auto; padding: 6px 0 24px; }
.listing {
  width: 100%; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 10px; padding: 12px; text-align: left; border-bottom: 1px solid #f0f1f4;
}
.listing:hover { background: #F5F3FF; }
.listing.is-on { background: #F5F3FF; box-shadow: inset 3px 0 0 #6842F4; }
.listing img { width: 92px; height: 64px; object-fit: cover; border-radius: 8px; background: #ddd; }
.kicker { font-size: 11px; color: #8b909a; font-weight: 600; }
.pill-view { display: inline-block; font-size: 11px; font-weight: 700; background: #ececec; border-radius: 5px; padding: 1px 6px; color: #444; }
.listing h3 { font-size: 14px; line-height: 1.3; }
.listing h3 span { font-weight: 500; color: var(--ink-2); }
.feat { display: flex; align-items: flex-start; gap: 5px; font-size: 12px; color: #3e444c; margin-top: 3px; }
.feat svg { width: 13px; height: 13px; stroke: #607068; fill: none; stroke-width: 1.8; flex: none; margin-top: 1px; }
.urgent {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 6px;
  color: var(--danger); border: 1px solid #f3c3c8; background: #fff5f6;
  border-radius: 6px; font-size: 11px; font-weight: 700; padding: 2px 6px;
}
.price-col { text-align: right; }
.price-col .was { color: #9aa0ab; text-decoration: line-through; font-size: 12px; font-weight: 600; }
.price-col .now { font-size: 16px; font-weight: 800; }
.score b { display: block; color: var(--score); font-size: 14px; }
.score span { color: var(--score); font-size: 12px; font-weight: 700; }
.list-empty { padding: 28px 16px; color: var(--muted); font-size: 14px; }
.price-updated { margin: 0; padding: 4px 16px 12px; color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .page-title h1 { font-size: 30px; }
  .seat-app { height: auto; }
  .seat-body { grid-template-columns: 1fr; }
  .map-scroll, .map-canvas, .map-canvas.map-svg { height: 70vh; min-height: 420px; }
  .list-pane { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
  .evt-id .sub { max-width: 46vw; }
}
@media (max-width: 640px) {
  .page-title { flex-direction: column; align-items: stretch; }
  .page-title h1 { font-size: 32px; flex: none; }
  .fans { flex: none; width: 100%; }
  .perf {
    grid-template-columns: 52px minmax(0, 1fr) 40px;
    grid-template-areas: "date main heart" "date action heart";
    align-items: center;
  }
  .perf .datechip { grid-area: date; }
  .perf-main { grid-area: main; }
  .perf .fav-btn { grid-area: heart; grid-column: auto; justify-self: center; align-self: center; }
  .see { grid-area: action; grid-column: auto; justify-self: start; }
  .listing { grid-template-columns: 72px minmax(0, 1fr); }
  .price-col { grid-column: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; }
}

/* ===== Checkout flow (seats list, buy sheet, payment page) ===== */
:root {
  --violet: #6842F4;
  --violet-dark: #5428E0;
  --violet-soft: #F5F3FF;
  --ink: #17152D;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
.qty-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 800; font-size: 14px;
}
.qty-pill svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; }
.qty-pill:active { transform: scale(.95); }
.list-pane { background: #fff; }
.list-head { display: grid; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--violet-soft); border-radius: 12px; padding: 4px; position: relative; }
.seg button { position: relative; z-index: 1; min-height: 44px; padding: 9px; font-size: 13.5px; font-weight: 800; color: var(--muted); }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg .thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 9px; box-shadow: 0 1px 4px rgba(23,21,45,.12); transition: transform .3s var(--spring); }
.seg[data-v="best"] .thumb { transform: translateX(100%); }
.list-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.fee-note { display: inline-flex; align-items: center; gap: 6px; color: #0f8a4a; }
.chip-sec { display: inline-flex; align-items: center; min-height: 32px; gap: 6px; background: var(--ink); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.listings { flex: 1; overflow: auto; padding: 8px 10px 24px; }
.lst { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 14px; border-radius: 14px; border: 1.5px solid transparent; background: #fff; animation: lst-rise .45s var(--ease-out) both; animation-delay: calc(var(--i) * 35ms); }
.lst + .lst { margin-top: 2px; }
.lst:hover { background: #faf9ff; }
.lst:active { transform: scale(.985); }
.lst.on { border-color: var(--violet); background: #F5F3FF; }
.lst h3 { font-size: 15px; font-weight: 800; }
.lst h3 span { color: var(--muted); font-weight: 700; }
.feats { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.feat { font-size: 11.5px; font-weight: 700; color: #3c365c; background: #f3f2f8; padding: 3px 8px; border-radius: 999px; }
.feat.good { background: #e7f7ee; color: #0f8a4a; }
.lst .price { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.lst .price b { display: block; font-size: 18px; font-weight: 800; }
.lst .price small { font-size: 11px; color: var(--muted); font-weight: 600; }
.deal { font-size: 11px; font-weight: 800; color: var(--ink); background: #D9FF65; padding: 2px 7px; border-radius: 6px; display: inline-block; margin-bottom: 4px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); font-weight: 600; }
.empty button { margin-top: 12px; min-height: 44px; color: var(--violet); font-weight: 800; }
.disclosure { font-size: 11.5px; color: var(--muted); line-height: 1.5; padding: 10px 16px 14px; border-top: 1px solid var(--line); }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(23,21,45,.45); }
.sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -8px 40px rgba(23,21,45,.18); padding: 26px 18px calc(18px + env(safe-area-inset-bottom)); max-height: 92dvh; overflow: auto; animation: sheet-up .38s var(--ease-out); }
.sheet::before { content: ""; position: absolute; top: 9px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #d4d0e6; }
.sheet h2 { font-size: 21px; font-weight: 800; }
.sheet .sub { color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 4px; }
.qty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.qty-grid button { min-height: 58px; border-radius: 14px; border: 1.5px solid #d4d0e6; font-size: 20px; font-weight: 800; }
.qty-grid button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta { width: 100%; min-height: 56px; border-radius: 16px; background: var(--violet); color: #fff; font-size: 16.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cta:hover { background: var(--violet-dark); }
.cta:active { transform: scale(.98); }
.cta[disabled] { background: #c9c2e8; cursor: not-allowed; }
.cta.loading { pointer-events: none; }
.cta-ghost { width: 100%; min-height: 44px; margin-top: 8px; border-radius: 14px; font-weight: 800; color: #3c365c; }
.buy-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.buy-head .x { width: 44px; height: 44px; border-radius: 50%; background: #f3f2f8; }
.stepper { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 6px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 16px; }
.stepper label { font-weight: 800; font-size: 15px; }
.stepper label small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.step-ctl { display: flex; align-items: center; gap: 4px; }
.step-ctl button { width: 44px; height: 44px; border-radius: 12px; background: var(--violet-soft); font-size: 22px; font-weight: 700; color: var(--violet-dark); }
.step-ctl button[disabled] { opacity: .35; }
.step-ctl output { min-width: 40px; text-align: center; font-size: 20px; font-weight: 800; }
.step-ctl output.bump { animation: qty-bump .3s var(--spring); }
.split-note { font-size: 12px; color: var(--muted); font-weight: 600; min-height: 18px; }
.rows { margin: 14px 0; display: grid; gap: 10px; font-size: 14.5px; }
.rows div { display: flex; justify-content: space-between; gap: 12px; }
.rows dt { color: #3c365c; font-weight: 600; }
.rows dt small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.rows dd { font-weight: 700; }
.rows .total { border-top: 1px dashed #d4d0e6; padding-top: 12px; font-size: 17px; }
.rows .total dt, .rows .total dd { font-weight: 800; color: var(--ink); }
.perks { display: grid; gap: 8px; margin: 6px 0 16px; }
.perk { display: flex; gap: 10px; font-size: 13.5px; font-weight: 600; color: #3c365c; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 12px 16px; border-radius: 12px; }
.co { min-height: 100dvh; display: flex; flex-direction: column; background: #fff; }
.co-head { height: 64px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.co-head h2 { font-size: 16px; font-weight: 800; flex: 1; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 16px 0; }
.progress div { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress div::after { content: ""; display: block; height: 100%; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.progress div.is-done::after { transform: scaleX(1); }
.progress-lbl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 16px 0; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.progress-lbl .cur { color: var(--violet); }
.co-main { flex: 1; }
.co-inner { width: 100%; max-width: 980px; margin: 0 auto; padding: 18px 16px 140px; display: grid; gap: 22px; }
.co-step h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.co-step .sub { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.field { position: relative; margin-bottom: 12px; }
.field input { width: 100%; height: 56px; border: 1.5px solid #d4d0e6; border-radius: 14px; padding: 22px 14px 6px; font-size: 16px; font-weight: 600; background: #fff; }
.field label { position: absolute; left: 15px; top: 18px; font-size: 15px; color: var(--muted); font-weight: 600; pointer-events: none; transition: top .2s var(--ease-out), font-size .2s var(--ease-out); }
.field input:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(104,66,244,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 8px; font-size: 11.5px; font-weight: 800; color: var(--violet-dark); }
.field.err input { border-color: #d93b3b; }
.field .msg { font-size: 12px; color: #d93b3b; font-weight: 700; margin: 4px 4px 0; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 13.5px; color: #3c365c; font-weight: 600; margin: 8px 0; }
.check input { width: 22px; height: 22px; accent-color: var(--violet); flex: none; }
.pay-slot, #payment-element, #express-checkout { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; background: #fcfbff; }
.pay-note { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.banner { background: #fff6d8; border: 1px solid #e6d48a; border-radius: 12px; padding: 12px; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.summary { border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; }
.summary-top { display: flex; gap: 12px; align-items: center; }
.summary-top h4 { font-size: 15px; font-weight: 800; }
.summary-top p { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.review-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.review-line button { color: var(--violet); font-weight: 800; min-height: 44px; margin-left: 8px; }
.co-foot { position: sticky; bottom: 0; z-index: 3; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); border-top: 1px solid var(--line); }
.co-foot-in { max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.co-foot .tot small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.co-foot .tot b { font-size: 19px; font-weight: 800; }
.co-foot .cta { flex: 1; }
.done { text-align: center; padding: 48px 16px; }
.done h3 { font-size: 26px; font-weight: 800; margin-top: 18px; }
.done p { color: var(--muted); font-weight: 600; margin-top: 8px; }
.tick { width: 96px; height: 96px; margin: 0 auto; }
.tick circle { fill: #D9FF65; transform-origin: center; animation: qty-bump .5s var(--spring); }
.tick path { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: tick-draw .5s .2s var(--ease-out) forwards; }
.ticket-card { margin: 22px auto 0; width: min(340px, 100%); border-radius: 18px; background: var(--ink); color: #fff; padding: 18px; text-align: left; }
.ticket-card small { color: #b9b3d6; font-weight: 700; }
.ticket-card b { display: block; font-size: 17px; margin-top: 2px; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.spinner { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@media (min-width: 900px) {
  .sheet.side { left: auto; right: 0; top: 0; bottom: 0; width: 440px; border-radius: 0; max-height: none; animation: sheet-side .38s var(--ease-out); }
  .sheet.side::before { display: none; }
  .sheet.center { left: 50%; right: auto; bottom: auto; top: 50%; width: min(460px, calc(100% - 32px)); border-radius: 24px; transform: translate(-50%, -50%); animation: none; }
  .sheet.center::before { display: none; }
  .co-inner { grid-template-columns: 1fr 360px; align-items: start; }
  .co-side { position: sticky; top: 84px; }
  .co-foot { position: static; border: 0; background: none; padding: 8px 0 0; }
  .co-foot .tot { display: none; }
}
@media (max-width: 899px) {
  .co-inner { grid-template-columns: 1fr; padding-bottom: 24px; }
  .co-side { order: -1; }
  .co-foot { position: fixed; left: 0; right: 0; bottom: 0; }
  #co-steps { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .top-seats { gap: 8px; }
  .top-seats .search-seat,
  .top-seats .text-link,
  .top-seats .avatar-green { display: none; }
  .evt-id { flex: 1; }
  .evt-id h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .seat-tools { gap: 8px; flex: none; }
}
@keyframes lst-rise { from { transform: translateY(12px); opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-side { from { transform: translateX(100%); } }
@keyframes qty-bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .lst, .sheet, .tick circle, .tick path, .step-ctl output.bump { animation: none; }
  .seg .thumb, .progress div::after { transition: none; }
}
.commune { display: block; font-size: 12px; color: #6e6888; }
.side-card .bio b, .fill { background: #D9FF65; }
.side-card .next-date, .side-card .countries { margin: 12px 0; }
.side-card a { display: block; padding: 8px 0; min-height: 24px; color: #5428E0; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.empty-co { max-width: 440px; margin: 72px auto; text-align: center; padding: 8px 20px 40px; }
.empty-ico { font-size: 42px; }
.empty-co h1 { font-size: 1.6rem; margin: 8px 0; }
.empty-co .cta { display: inline-block; margin-top: 16px; background: #6842F4; color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 750; }
.au-gate-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.au-gate-bar a { font-weight: 700; }
