/* Ticket hi Ticket — every event is a ticket: poster, perforation, stub. */
:root {
  --paper: #F3F1F7; --surface: #FFFFFF; --sunk: #E9E5F1; --ink: #1E1638; --ink-2: #4A4263; --muted: #6E6789; --line: #DDD8E8;
  --rani: #E0186C; --rani-ink: #FFFFFF; --rani-soft: #FCE4EE; --genda: #FFB020; --genda-ink: #3A2400; --mor: #0B8A8A; --mor-soft: #DDF2F1;
  --up: #0A7F55; --up-soft: #DFF3EA; --down: #C8304A; --down-soft: #FBE5E9; --warn: #8A5A00; --warn-soft: #FFF1D6;
  --bar: #1E1638; --bar-ink: #F3EEFF;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --f-brand: "Yatra One", "Bricolage Grotesque", serif;
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --shadow: 0 1px 0 rgba(30, 22, 56, .06), 0 8px 24px -12px rgba(30, 22, 56, .25);
  --gut: 16px; --maxw: 1240px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #120D22; --surface: #1C1631; --sunk: #261F3F; --ink: #F1EDFA; --ink-2: #CFC8E4; --muted: #A49CC0; --line: #322A4E;
    --rani: #FF4D93; --rani-ink: #1A0410; --rani-soft: #3A1229; --genda: #FFC04D; --mor: #34C3C0; --mor-soft: #0F3434;
    --up: #3CCB8E; --up-soft: #123527; --down: #FF7088; --down-soft: #3B1622; --warn: #FFC04D; --warn-soft: #3A2A0C;
    --bar: #0B0716; --shadow: 0 1px 0 rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #120D22; --surface: #1C1631; --sunk: #261F3F; --ink: #F1EDFA; --ink-2: #CFC8E4; --muted: #A49CC0; --line: #322A4E;
  --rani: #FF4D93; --rani-ink: #1A0410; --rani-soft: #3A1229; --genda: #FFC04D; --mor: #34C3C0; --mor-soft: #0F3434;
  --up: #3CCB8E; --up-soft: #123527; --down: #FF7088; --down-soft: #3B1622; --warn: #FFC04D; --warn-soft: #3A2A0C;
  --bar: #0B0716; --shadow: 0 1px 0 rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.7); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 var(--f-body); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rani); outline-offset: 2px; border-radius: 4px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.02; }
h2 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.1; }
h3 { font-size: 17px; line-height: 1.25; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bar); color: var(--bar-ink); }
.top .wrap { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; flex: none; }
.logo .word { font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 1; display: flex; align-items: center; gap: 5px; }
.logo .hi { font-family: var(--f-brand); font-weight: 400; background: var(--genda); color: #3A2400; border-radius: 6px; padding: 1px 7px 0; font-size: 17px; transform: rotate(-6deg); display: inline-block; }
.city-btn { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-weight: 600; font-size: 14px; white-space: nowrap; }
.city-btn:hover { background: rgba(255,255,255,.14); }
.search { flex: 1; min-width: 0; position: relative; }
.search input { width: 100%; border: 0; border-radius: 999px; padding: 10px 14px 10px 40px; background: rgba(255,255,255,.1); color: #fff; outline: none; }
.search input::placeholder { color: rgba(243,238,255,.6); }
.search input:focus { background: #fff; color: #1E1638; }
.search input:focus::placeholder { color: #8a83a3; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); opacity: .7; pointer-events: none; }
.search input:focus + svg { color: #1E1638; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); color: var(--ink); border-radius: var(--r); box-shadow: 0 20px 50px -10px rgba(20,10,40,.45); overflow: hidden; z-index: 60; max-height: 70vh; overflow-y: auto; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; text-decoration: none; }
.suggest a:hover, .suggest a.on { background: var(--sunk); }
.suggest .thumb { width: 40px; height: 40px; border-radius: 8px; flex: none; overflow: hidden; }
.suggest small { color: var(--muted); display: block; font-size: 12.5px; }
.suggest .grp { font-size: 12.5px; color: var(--muted); padding: 10px 12px 4px; }
.nav { display: flex; gap: 2px; flex: none; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: rgba(243,238,255,.85); display: flex; align-items: center; gap: 6px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); }
.nav .tix { background: var(--rani); color: #fff; }
.nav .tix:hover { background: var(--rani); filter: brightness(1.08); }
.count { background: var(--genda); color: #3A2400; border-radius: 999px; font-size: 11.5px; padding: 0 6px; font-weight: 700; }

/* category strip under header */
.cats { background: var(--surface); border-bottom: 1px solid var(--line); }
.cats .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.cats .wrap::-webkit-scrollbar { display: none; }
.cats a { flex: none; display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.cats a:hover { background: var(--sunk); color: var(--ink); }
.cats a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.cats svg { flex: none; }

/* ---------- layout ---------- */
main { padding-block: 22px 60px; min-height: 60vh; }
.section { margin-top: 38px; }
.section:first-child { margin-top: 0; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-h p { color: var(--muted); margin-top: 3px; }
.sec-h a { font-weight: 600; color: var(--rani); text-decoration: none; white-space: nowrap; }
.sec-h a:hover { text-decoration: underline; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; margin-inline: -2px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 64px) / 5); } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px 16px; }

/* ---------- buttons, chips, inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 700; cursor: pointer; text-decoration: none; background: var(--rani); color: var(--rani-ink); line-height: 1.2; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ghost { background: var(--sunk); color: var(--ink); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.danger { background: var(--down-soft); color: var(--down); }
.btn.ok { background: var(--up); color: #fff; }
.btn.sm { padding: 7px 13px; font-size: 13.5px; }
.btn.block { width: 100%; }
.iconbtn { width: 38px; height: 38px; border-radius: 50%; border: 0; display: inline-grid; place-items: center; cursor: pointer; background: var(--sunk); color: var(--ink); flex: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; color: var(--ink-2); }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.tag.live { background: var(--mor-soft); color: var(--mor); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.tag.offer { background: var(--genda); color: #3A2400; }
.tag.sold { background: var(--down-soft); color: var(--down); }
.tag.free { background: var(--up-soft); color: var(--up); }
.tag.demo { background: transparent; box-shadow: inset 0 0 0 1px var(--muted); color: var(--muted); }
.tag.wait { background: var(--warn-soft); color: var(--warn); }
.tag.ok { background: var(--up-soft); color: var(--up); }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .tag.live::before { animation: none; } }
.field { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.field > input, .field > select, .field > textarea, .field > .code-row { display: block; margin-top: 5px; }
.field > .code-row { display: flex; }
.field input[type=range] { accent-color: var(--rani); padding: 0; border: 0; }
.row2 > .field, .row3 > .field, .show-ed > .field { align-self: end; }
.field small { font-weight: 400; color: var(--muted); }
.input, .field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1.5px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px 12px; color: var(--ink); font-weight: 400; }
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink-2); outline: none; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rani); flex: none; }
.msg { padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.msg.err { background: var(--down-soft); color: var(--down); }
.msg.ok { background: var(--up-soft); color: var(--up); }
.msg.info { background: var(--sunk); color: var(--ink-2); }
.panel { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: 18px; }

/* ---------- the ticket card ---------- */
.tkt { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.tkt .pv { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.tkt .pv img { width: 100%; height: 100%; object-fit: cover; }
.tkt .badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 5px; right: 54px; }
.tkt .badges .tag { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.tkt .badges .tag.live::before { display: inline-block; margin-right: 5px; vertical-align: 1px; }
.tkt .badges .tag.demo { background: rgba(255,255,255,.88); color: #4A4263; box-shadow: none; }
.tkt .heart { position: absolute; right: 10px; top: 10px; z-index: 2; }
.tkt h3 a { text-decoration: none; color: inherit; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.tkt:has(.stretch:focus-visible) { outline: 2px solid var(--rani); outline-offset: 3px; }
.stretch:focus-visible { outline: none; }
.tear { position: relative; height: 0; border-top: 2px dashed var(--line); margin-inline: 14px; }
.tear::before, .tear::after { content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); }
.tear::before { left: -24px; } .tear::after { right: -24px; }
.tkt .stub { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 14px 14px; align-items: start; }
.date-blk { text-align: center; min-width: 44px; padding-right: 12px; border-right: 1.5px solid var(--line); line-height: 1.05; }
.date-blk b { display: block; font-family: var(--f-display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.date-blk span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.date-blk.multi b { font-size: 14px; padding-top: 4px; }
.tkt h3 { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tkt .where { color: var(--muted); font-size: 13.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkt .price { margin-top: 6px; font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tkt .price .chg { font-size: 12.5px; }
.tkt:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--muted); }

/* heart */
.heart { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.92); color: #1E1638; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.heart[aria-pressed="true"] { color: var(--rani); }
.heart[aria-pressed="true"] svg path { fill: currentColor; }

/* ---------- generated posters ---------- */
.poster { position: absolute; inset: 0; --h: 330; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; isolation: isolate;
  background-color: hsl(var(--h) 70% 45%); }
.poster::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(10,4,25,.72) 100%); }
.poster .cat { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; opacity: .95; margin-bottom: 6px; }
.poster .ttl { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; line-height: .98; font-size: clamp(22px, 2.3vw, 30px); text-wrap: balance; text-shadow: 0 2px 14px rgba(0,0,0,.25); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.poster.big .ttl { font-size: clamp(32px, 4.6vw, 64px); -webkit-line-clamp: 3; }
.poster.tiny { padding: 0; } .poster.tiny .ttl, .poster.tiny .cat { display: none; } .poster.tiny::after { display: none; }
.p-navratri::before { background: radial-gradient(rgba(255,255,255,.35) 1.6px, transparent 2.4px) 0 0 / 14px 14px, radial-gradient(rgba(255,210,90,.35) 1.6px, transparent 2.4px) 7px 7px / 14px 14px, linear-gradient(135deg, hsl(var(--h) 75% 42%), hsl(calc(var(--h) + 40) 85% 52%)); }
.p-music::before { background: repeating-radial-gradient(circle at 80% 18%, rgba(255,255,255,.16) 0 2px, transparent 2px 18px), linear-gradient(160deg, hsl(var(--h) 70% 38%), hsl(calc(var(--h) + 60) 70% 30%)); }
.p-comedy::before { background: radial-gradient(rgba(0,0,0,.18) 2.6px, transparent 3px) 0 0 / 11px 11px, linear-gradient(140deg, hsl(var(--h) 95% 55%), hsl(calc(var(--h) - 20) 90% 50%)); }
.p-nightlife::before { background: repeating-linear-gradient(115deg, rgba(255,255,255,.0) 0 18px, hsla(calc(var(--h) + 120), 100%, 65%, .35) 18px 21px), linear-gradient(180deg, hsl(var(--h) 60% 18%), hsl(calc(var(--h) + 40) 70% 30%)); }
.p-theatre::before { background: repeating-linear-gradient(90deg, rgba(0,0,0,.22) 0 6px, rgba(255,255,255,.06) 6px 22px, rgba(0,0,0,.18) 22px 28px), linear-gradient(180deg, hsl(var(--h) 75% 32%), hsl(var(--h) 70% 22%)); }
.p-screenings::before { background: linear-gradient(90deg, rgba(0,0,0,.6) 0 8%, transparent 8% 92%, rgba(0,0,0,.6) 92%), repeating-linear-gradient(180deg, transparent 0 10px, rgba(255,255,255,.55) 10px 16px, transparent 16px 26px) 0 0 / 8% 100% no-repeat, repeating-linear-gradient(180deg, transparent 0 10px, rgba(255,255,255,.55) 10px 16px, transparent 16px 26px) 100% 0 / 8% 100% no-repeat, linear-gradient(170deg, hsl(var(--h) 20% 35%), hsl(var(--h) 15% 15%)); }
.p-sports::before { background: repeating-linear-gradient(-35deg, rgba(255,255,255,.14) 0 30px, transparent 30px 60px), linear-gradient(150deg, hsl(var(--h) 70% 38%), hsl(calc(var(--h) + 30) 70% 28%)); }
.p-workshops::before { background: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(160deg, hsl(var(--h) 55% 45%), hsl(calc(var(--h) + 25) 60% 32%)); }
.p-activities::before { background: conic-gradient(rgba(255,255,255,.18) 25%, transparent 0 50%, rgba(255,255,255,.18) 0 75%, transparent 0) 0 0 / 34px 34px, linear-gradient(160deg, hsl(var(--h) 80% 48%), hsl(calc(var(--h) + 30) 80% 36%)); }
.p-food::before { background: radial-gradient(circle, rgba(255,255,255,.22) 7px, transparent 8px) 0 0 / 34px 34px, radial-gradient(circle, rgba(255,230,140,.25) 4px, transparent 5px) 17px 17px / 34px 34px, linear-gradient(150deg, hsl(var(--h) 85% 50%), hsl(calc(var(--h) - 15) 80% 40%)); }
.p-fests::before { background: radial-gradient(circle at 20% 30%, rgba(255,225,120,.55) 0 3px, transparent 4px) 0 0 / 40px 40px, radial-gradient(circle at 70% 60%, rgba(255,255,255,.5) 0 2.5px, transparent 3.5px) 0 0 / 30px 30px, radial-gradient(circle at 40% 80%, rgba(120,255,230,.45) 0 2.5px, transparent 3.5px) 0 0 / 26px 26px, linear-gradient(160deg, hsl(var(--h) 80% 45%), hsl(calc(var(--h) + 50) 75% 35%)); }
.p-kids::before { background: radial-gradient(circle, rgba(255,255,255,.28) 12px, transparent 13px) 0 0 / 46px 46px, linear-gradient(150deg, hsl(var(--h) 75% 55%), hsl(calc(var(--h) + 60) 75% 50%)); }
.p-fitness::before { background: repeating-radial-gradient(circle at 50% 110%, rgba(255,255,255,.18) 0 3px, transparent 3px 22px), linear-gradient(180deg, hsl(var(--h) 85% 60%), hsl(calc(var(--h) - 30) 80% 45%)); }
.p-conferences::before { background: linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px) 0 0 / 48px 100%, linear-gradient(160deg, hsl(var(--h) 45% 32%), hsl(calc(var(--h) + 20) 50% 20%)); }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; position: relative; min-height: 380px; }
.hero .pv { position: relative; min-height: 300px; }
.hero .side { position: relative; padding: 28px 28px 24px 34px; display: flex; flex-direction: column; gap: 14px; border-left: 2px dashed var(--line); }
.hero .side::before, .hero .side::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); }
.hero .side::before { top: -11px; } .hero .side::after { bottom: -11px; }
.hero h1 { font-size: clamp(28px, 3.4vw, 44px); }
.hero .meta { display: grid; gap: 6px; color: var(--ink-2); }
.hero .meta div { display: flex; gap: 8px; align-items: center; }
.hero .cta { margin-top: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero .from { font-family: var(--f-display); font-size: 26px; font-weight: 800; }
.hero .from small { display: block; font-family: var(--f-body); font-size: 13px; color: var(--muted); font-weight: 500; }
.hero-dots { display: flex; gap: 6px; position: absolute; left: 18px; top: 16px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; width: 24px; border-radius: 5px; }
.intro { display: flex; gap: 10px 24px; align-items: end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.intro h1 { max-width: 16ch; }
.intro p { color: var(--muted); max-width: 46ch; }
.catgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.cattile { display: grid; gap: 8px; justify-items: start; padding: 14px; border-radius: var(--r); text-decoration: none; color: #fff; position: relative; overflow: hidden; min-height: 92px; isolation: isolate; }
.cattile > :not(.poster) { position: relative; }
.cattile b { font-family: var(--f-display); font-size: 15px; line-height: 1.15; }
.cattile small { opacity: .85; font-size: 12.5px; }
.cattile:hover b { text-decoration: underline; }
.ticker { background: var(--bar); color: #F7EFD8; border-radius: var(--r); overflow: hidden; display: flex; align-items: stretch; }
.ticker .lbl { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--mor); color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.ticker .tape { overflow: hidden; flex: 1; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker .tape-in { display: inline-flex; gap: 28px; padding: 9px 0; animation: tape 70s linear infinite; }
.ticker:hover .tape-in { animation-play-state: paused; }
.ticker .t { font-family: var(--f-mono); font-size: 13px; display: inline-flex; gap: 7px; }
.ticker .t b { color: #fff; }
.ticker .t .up { color: #5BE3A5; } .ticker .t .down { color: #FF8FA0; }
@keyframes tape { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .tape-in { animation: none; } }
.people { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.person { text-align: center; text-decoration: none; display: grid; gap: 6px; justify-items: center; font-size: 13.5px; }
.person .av { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 28px; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.person small { color: var(--muted); font-size: 12px; margin-top: -4px; }
.venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.venue { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; }
.venue .vi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sunk); flex: none; }
.venue small { color: var(--muted); display: block; }
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta-band p { color: color-mix(in srgb, var(--paper) 75%, transparent); margin-top: 6px; max-width: 56ch; }
.cta-band .btn { background: var(--genda); color: #3A2400; }

/* ---------- explore ---------- */
.explore { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.filters { position: sticky; top: 130px; display: grid; gap: 20px; }
.filters h3 { font-size: 15px; margin-bottom: 8px; }
.filters .opt { display: flex; gap: 9px; align-items: center; padding: 5px 0; cursor: pointer; font-size: 14.5px; }
.filters .opt input { accent-color: var(--rani); width: 17px; height: 17px; }
.result-h { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.result-h select { border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 12px; background: var(--surface); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); font-size: 22px; margin-bottom: 6px; }
.empty p { max-width: 44ch; margin: 0 auto 16px; }
.mfilters { display: none; }

/* ---------- event page ---------- */
.ev-head { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px; align-items: start; }
.ev-head .pv { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.ev-head .pv img { width: 100%; height: 100%; object-fit: cover; }
.ev-head .poster.big .ttl { font-size: clamp(30px, 3.6vw, 46px); -webkit-line-clamp: 4; }
.ev-info { display: grid; gap: 16px; }
.ev-info .facts { display: grid; gap: 10px; }
.ev-info .facts div { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ev-info .facts svg { flex: none; margin-top: 2px; color: var(--muted); }
.ev-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.book-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.book-card .from { font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: 1; }
.book-card small { color: var(--muted); display: block; font-size: 13px; }
.ev-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin-top: 36px; align-items: start; }
.ev-body section + section { margin-top: 30px; }
.ev-body h2 { font-size: 22px; margin-bottom: 10px; }
.prose { color: var(--ink-2); max-width: 68ch; white-space: pre-line; }
.lineup { display: flex; gap: 16px; flex-wrap: wrap; }
.lineup .person .av { width: 76px; height: 76px; font-size: 24px; }
.offer-list { display: grid; gap: 10px; }
.offer { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); border-left: 5px solid var(--genda); }
.offer b { display: block; }
.offer code { font-family: var(--f-mono); background: var(--sunk); padding: 2px 7px; border-radius: 6px; font-size: 13px; }
.know { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.know div { background: var(--surface); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow); }
.know small { color: var(--muted); display: block; font-size: 12.5px; }
.know b { font-weight: 600; }
.aside-sticky { position: sticky; top: 130px; display: grid; gap: 14px; }
.slots-mini { display: grid; gap: 6px; }
.slots-mini button { display: flex; justify-content: space-between; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.slots-mini button:hover { border-color: var(--ink-2); }
.mbar { display: none; }

/* ---------- booking sheet ---------- */
.sheet-scrim { position: fixed; inset: 0; background: rgba(15, 8, 30, .55); z-index: 80; opacity: 0; transition: opacity .2s; }
.sheet { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--paper); box-shadow: -20px 0 60px -20px rgba(0,0,0,.4); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .25s ease; }
body.sheet-on .sheet { transform: none; }
body.sheet-on .sheet-scrim { opacity: 1; }
body.sheet-on { overflow: hidden; }
.sheet-h { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--line); padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.sheet-h .ttl { min-width: 0; flex: 1; }
.sheet-h .ttl b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-display); font-size: 17px; }
.sheet-h .ttl small { color: var(--muted); }
.steps { display: flex; gap: 4px; padding: 10px 16px 0; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.steps span.on { background: var(--rani); }
.sheet-b { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 18px; align-content: start; overscroll-behavior: contain; }
.sheet-f { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.sheet-f .sum { flex: 1; min-width: 0; }
.sheet-f .sum b { font-family: var(--f-display); font-size: 21px; display: block; line-height: 1.1; }
.sheet-f .sum small { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-scrim { transition: none; } }
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.dbtn { flex: none; width: 64px; padding: 8px 0; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; line-height: 1.15; }
.dbtn span { font-size: 12px; color: var(--muted); display: block; }
.dbtn b { font-family: var(--f-display); font-size: 20px; display: block; }
.dbtn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dbtn[aria-pressed="true"] span { color: inherit; opacity: .75; }
.times { display: flex; gap: 8px; flex-wrap: wrap; }
.tbtn { padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; display: grid; line-height: 1.2; text-align: left; }
.tbtn small { font-weight: 500; font-size: 12px; color: var(--muted); }
.tbtn[aria-pressed="true"] { border-color: var(--rani); box-shadow: inset 0 0 0 1px var(--rani); }
.tbtn:disabled { opacity: .45; cursor: not-allowed; }
.tbtn.low small { color: var(--down); }
.tier { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 14px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.tier b { font-size: 15.5px; }
.tier .desc { color: var(--muted); font-size: 13px; }
.tier .p { font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.tier .spark { grid-column: 1 / -1; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.stepper button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 19px; font-weight: 700; color: var(--rani); }
.stepper button:disabled { color: var(--muted); opacity: .4; cursor: not-allowed; }
.stepper output { min-width: 26px; text-align: center; font-weight: 700; }
.add-btn { border: 1.5px solid var(--rani); color: var(--rani); background: transparent; border-radius: 999px; padding: 8px 18px; font-weight: 700; cursor: pointer; }
.sum-tbl { display: grid; gap: 8px; background: var(--surface); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.sum-tbl div { display: flex; justify-content: space-between; gap: 12px; }
.sum-tbl .tot { border-top: 1.5px dashed var(--line); padding-top: 10px; font-weight: 800; font-size: 17px; }
.sum-tbl .disc { color: var(--up); }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; text-transform: uppercase; }
.pay { display: grid; gap: 14px; background: var(--surface); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.pay .qr { justify-self: center; background: #fff; padding: 10px; border-radius: 12px; border: 1px solid var(--line); width: 230px; max-width: 100%; }
.pay .qr img { width: 100%; height: auto; }
.pay ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-2); font-size: 14px; }
.vpa { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vpa code { font-family: var(--f-mono); background: var(--sunk); padding: 5px 9px; border-radius: 8px; user-select: all; overflow-wrap: anywhere; }
.timer { font-size: 13px; color: var(--warn); font-weight: 600; }

/* seat map */
.seatmap { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 10px; overflow-x: auto; }
.stage { margin: 0 auto 18px; width: min(80%, 420px); text-align: center; font-size: 12.5px; color: var(--muted); padding-bottom: 6px; border-bottom: 4px solid var(--ink-2); border-radius: 0 0 50% 50% / 0 0 14px 14px; }
.srows { display: grid; gap: 5px; justify-content: center; min-width: max-content; padding: 0 6px; }
.srow { display: flex; gap: 4px; align-items: center; }
.srow .rl { width: 20px; font-size: 11.5px; color: var(--muted); text-align: center; font-weight: 600; }
.seat { width: 24px; height: 24px; border-radius: 6px 6px 4px 4px; border: 1.5px solid var(--tc, var(--mor)); background: transparent; cursor: pointer; font-size: 9.5px; color: var(--muted); padding: 0; display: grid; place-items: center; }
.seat:hover { background: color-mix(in srgb, var(--tc) 18%, transparent); }
.seat[aria-pressed="true"] { background: var(--rani); border-color: var(--rani); color: #fff; }
.seat:disabled { background: var(--sunk); border-color: var(--sunk); color: transparent; cursor: not-allowed; }
.seat.gap { margin-left: 14px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 14px; justify-content: center; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--tc, var(--mor)); display: inline-block; }

/* ---------- my tickets ---------- */
.tabs { display: flex; gap: 6px; border-bottom: 1.5px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--rani); }
.mytix { display: grid; gap: 18px; }
.mt { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.mt .pv { position: relative; min-height: 150px; }
.mt .info { padding: 16px 18px; display: grid; gap: 6px; align-content: start; border-right: 2px dashed var(--line); position: relative; }
.mt .info::before, .mt .info::after { content: ""; position: absolute; right: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); }
.mt .info::before { top: -11px; } .mt .info::after { bottom: -11px; }
.mt .codes { padding: 14px; display: flex; gap: 12px; overflow-x: auto; align-items: center; max-width: 520px; }
.qrt { text-align: center; flex: none; display: grid; gap: 4px; justify-items: center; }
.qrt button { border: 0; background: #fff; padding: 6px; border-radius: 10px; cursor: zoom-in; box-shadow: inset 0 0 0 1px var(--line); }
.qrt img { width: 104px; height: 104px; }
.qrt code { font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; }
.qrt small { font-size: 12px; color: var(--muted); }
.qrt.used img { opacity: .3; }
.mt .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.qr-zoom { position: fixed; inset: 0; z-index: 120; background: rgba(15,8,30,.8); display: grid; place-items: center; padding: 20px; }
.qr-zoom div { background: #fff; color: #1E1638; padding: 22px; border-radius: 20px; text-align: center; display: grid; gap: 8px; max-width: 360px; width: 100%; }
.qr-zoom img { width: 100%; height: auto; }
.qr-zoom code { font-family: var(--f-mono); font-size: 20px; font-weight: 700; letter-spacing: .04em; }

/* ---------- live market ---------- */
.idx { display: flex; gap: 18px; align-items: end; flex-wrap: wrap; }
.idx .v { font-family: var(--f-display); font-size: clamp(40px, 6vw, 64px); font-weight: 800; line-height: .95; letter-spacing: -.03em; }
.mkt { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.mkt th { font-size: 12.5px; color: var(--muted); font-weight: 600; text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mkt td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mkt th:first-child, .mkt td:first-child { text-align: left; }
.mkt tr:last-child td { border-bottom: 0; }
.mkt tbody tr { cursor: pointer; }
.mkt tbody tr:hover { background: var(--sunk); }
.pill { display: inline-block; min-width: 70px; text-align: right; padding: 2px 7px; border-radius: 6px; font-weight: 600; font-size: 13px; }
.pill.up { background: var(--up-soft); } .pill.down { background: var(--down-soft); } .pill.flat { background: var(--sunk); }
.tblwrap { overflow-x: auto; border-radius: var(--r); }
.movers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mover { background: var(--surface); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); }
.mover h3 { font-size: 15px; margin-bottom: 8px; }
.mover ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mover li a { display: flex; justify-content: space-between; gap: 8px; text-decoration: none; font-size: 14px; }
.mover li a:hover b { text-decoration: underline; }

/* ---------- studio ---------- */
.studio { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; }
.snav { position: sticky; top: 130px; display: grid; gap: 4px; }
.snav button { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; cursor: pointer; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.snav button[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); }
.stat small { color: var(--muted); display: block; font-size: 13px; }
.stat b { font-family: var(--f-display); font-size: 26px; font-weight: 800; }
.elist { display: grid; gap: 12px; }
.erow { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.erow .pv { position: relative; width: 74px; height: 92px; border-radius: 10px; overflow: hidden; }
.erow .pv img { width: 100%; height: 100%; object-fit: cover; }
.erow .kv { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.erow .kv b { color: var(--ink); }
.erow .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.editor { display: grid; gap: 18px; }
.ed-sec { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 14px; }
.ed-sec > h2 { font-size: 19px; }
.ed-sec > p { color: var(--muted); margin-top: -8px; font-size: 14px; }
.list-ed { display: grid; gap: 10px; }
.li-ed { display: grid; gap: 10px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; position: relative; }
.li-ed .x { position: absolute; right: 8px; top: 8px; }
.show-ed { display: grid; grid-template-columns: 1fr 120px 1fr auto; gap: 8px; align-items: end; }
.poster-ed { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; }
.poster-ed .pv { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; }
.poster-ed .pv img { width: 100%; height: 100%; object-fit: cover; }
.ed-bar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; padding: 12px 16px; background: var(--surface); border-radius: var(--r); box-shadow: 0 -8px 30px -12px rgba(0,0,0,.3); }
.ed-bar .sp { flex: 1; }
.vlist { display: grid; gap: 10px; }
.vrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.vrow .meta { color: var(--muted); font-size: 13.5px; }
.scan { display: grid; gap: 12px; }
.scan video { width: 100%; max-width: 420px; border-radius: var(--r); background: #000; aspect-ratio: 4 / 3; object-fit: cover; }
.cres { padding: 16px; border-radius: var(--r); font-size: 15px; display: grid; gap: 4px; }
.cres b { font-size: 18px; font-family: var(--f-display); }
.cres.ok { background: var(--up-soft); color: var(--up); }
.cres.used { background: var(--warn-soft); color: var(--warn); }
.cres.invalid { background: var(--down-soft); color: var(--down); }

/* ---------- footer, toast, bottom nav ---------- */
footer { border-top: 1px solid var(--line); padding-block: 26px 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 14px 28px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; z-index: 150; box-shadow: var(--shadow); font-weight: 600; font-size: 14px; max-width: calc(100% - 32px); }
.bnav { display: none; }
.modal { position: fixed; inset: 0; z-index: 110; background: rgba(15,8,30,.55); display: grid; place-items: center; padding: 16px; }
.modal .box { background: var(--surface); border-radius: var(--r-lg); width: min(440px, 100%); max-height: 85vh; overflow-y: auto; padding: 20px; display: grid; gap: 14px; }
.city-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.city-list button { text-align: left; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; }
.city-list button[aria-pressed="true"] { border-color: var(--rani); color: var(--rani); }
.city-list small { color: var(--muted); font-weight: 500; }
.spark svg { display: block; width: 100%; height: 46px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .catgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .ev-body { grid-template-columns: minmax(0, 1fr); } .aside-sticky { position: static; } }
@media (max-width: 900px) {
  .nav .hide-m { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .pv { aspect-ratio: 16 / 11; min-height: 0; }
  .hero .side { border-left: 0; border-top: 2px dashed var(--line); padding: 20px; }
  .hero .side::before, .hero .side::after { top: -12px; } .hero .side::before { left: -11px; } .hero .side::after { left: auto; right: -11px; bottom: auto; }
  .explore { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; }
  .mfilters { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 4px; }
  .ev-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ev-head .pv { aspect-ratio: 16 / 12; }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .snav { position: static; display: flex; overflow-x: auto; }
  .snav button { white-space: nowrap; }
  .movers { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt { grid-template-columns: 96px minmax(0, 1fr); }
  .mt .info { border-right: 0; }
  .mt .info::before, .mt .info::after { display: none; }
  .mt .codes { grid-column: 1 / -1; border-top: 2px dashed var(--line); max-width: none; }
}
@media (max-width: 700px) {
  :root { --gut: 14px; }
  .top .wrap { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; }
  .nav { display: none; }
  .city-btn { margin-left: auto; }
  .catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: 72%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .grid .tkt .stub { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px; }
  .grid .tkt .date-blk { text-align: left; border-right: 0; padding: 0; display: flex; gap: 5px; align-items: baseline; }
  .grid .tkt .date-blk b { font-size: 15px; display: inline; }
  .grid .tkt h3 { font-size: 14.5px; }
  .poster .ttl { font-size: 21px; }
  .row2, .row3 { grid-template-columns: minmax(0, 1fr); }
  .show-ed { grid-template-columns: 1fr 1fr; }
  .poster-ed { grid-template-columns: 110px minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .book-card { display: none; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); z-index: 45; gap: 12px; align-items: center; padding: 10px 14px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.3); }
  .mbar .sum { flex: 1; min-width: 0; } .mbar b { font-family: var(--f-display); font-size: 19px; display: block; line-height: 1.1; } .mbar small { color: var(--muted); }
  .erow { grid-template-columns: 60px minmax(0, 1fr); } .erow .pv { width: 60px; height: 76px; } .erow .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .sheet { width: 100%; }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .bnav a { display: grid; justify-items: center; gap: 2px; text-decoration: none; font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 4px 0; border-radius: 10px; position: relative; }
  .bnav a[aria-current="page"] { color: var(--rani); }
  .bnav .count { position: absolute; top: 0; right: calc(50% - 22px); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  body.has-mbar { padding-bottom: calc(136px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
