/* Customer screens: home, events, venues, passes tab, buying flow, you. */
.page:has(> .detail), .page:has(> .flow) { padding: 0 0 0; }

/* ---------- home ---------- */
.home-top { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.hood { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px 8px 10px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 13px; font-weight: 600; }
.hood .ic { width: 16px; height: 16px; }
.hood .ic:last-child { width: 14px; color: var(--ink-3); }
.hello { margin: 22px 0 18px; font: 800 44px/.98 var(--ff-d); letter-spacing: -.035em; }
.hello em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%); padding: 0 4px; margin-left: -4px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 142px; padding: 12px; border-radius: 24px; color: #fff; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease); }
.tile:active { transform: scale(.96); }
.tile:hover { transform: translateY(-3px) rotate(-.6deg); }
.tile b { font: 800 18px var(--ff-d); letter-spacing: -.02em; } .tile small { font-size: 11.5px; opacity: .85; line-height: 1.25; margin-top: 1px; }
.t-ic { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 12px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.t-art { position: absolute; inset: 0; z-index: -1; }
.t-event { background: var(--event); } .t-venue { background: var(--venue); } .t-pass { background: var(--pass); }
.t-event .t-art { background: repeating-linear-gradient(-35deg, rgba(255, 255, 255, .13) 0 10px, transparent 10px 22px); animation: slide 5s linear infinite; }
.t-venue .t-art { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 14px, transparent 14px 28px); clip-path: polygon(0 0, 100% 0, 100% 34%, 0 34%); }
.t-pass .t-art { background: radial-gradient(circle at 82% 22%, #FFD23F 0 15px, transparent 16px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .1) 0 2px, transparent 2px 14px); }
@keyframes slide { to { background-position: 44px 0; } }
.peek { margin-top: 2px; }
.promo { display: flex; align-items: stretch; gap: 10px; margin-top: 26px; padding: 20px; border-radius: 26px; background: linear-gradient(135deg, var(--pass), var(--pass-deep)); color: #fff; overflow: hidden; position: relative; }
.promo small { font: 500 11px var(--ff-m); letter-spacing: .14em; color: var(--yellow); }
.promo h3 { font: 800 22px/1.08 var(--ff-d); margin: 8px 0; letter-spacing: -.02em; }
.promo p { font-size: 13.5px; color: #C9D3FF; margin-bottom: 14px; }
.promo-art { position: absolute; right: -10px; top: 50%; margin-top: -60px; width: 120px; height: 120px; color: rgba(255, 255, 255, .14); }
.promo-art .ic { width: 120px; height: 120px; stroke-width: 1.2; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(8px, -4px); } }
.promo > div:first-child { position: relative; z-index: 1; max-width: 72%; }

/* ---------- events ---------- */
.ev-card { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 10px; border-radius: 24px; background: var(--card); box-shadow: 0 1px 0 var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.ev-card:active { transform: scale(.98); }
.ev-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 26, 23, .1); }
.ev-poster { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; color: #fff; }
.poster-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ev-date { position: absolute; top: 8px; left: 8px; display: grid; justify-items: center; line-height: .9; padding: 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .94); color: var(--ink); font-family: var(--ff-p); }
.ev-date small { font: 700 11px var(--ff-p); letter-spacing: .12em; color: var(--ink-2); } .ev-date b { font: 900 26px var(--ff-p); }
.ev-ic { position: absolute; right: 8px; bottom: 8px; opacity: .9; } .ev-ic .ic { width: 30px; height: 30px; stroke-width: 1.5; }
.ev-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-right: 4px; }
.ev-type { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px var(--ff-m); letter-spacing: .06em; text-transform: uppercase; color: var(--event-deep); }
.ev-info h3 { margin: 4px 0 6px; font-size: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-info p { display: flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: 13px; min-width: 0; }
.ev-info p .ic { width: 14px; height: 14px; flex: none; }
.ev-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; } .ev-foot b { font: 800 17px var(--ff-d); }
.ev-card.wide { width: 262px; grid-template-columns: 1fr; gap: 10px; flex: none; }
.ev-card.wide .ev-poster { aspect-ratio: 16 / 11; }
.ev-card.wide .ev-info { padding: 0 6px 6px; }
.ev-detail { min-height: 100%; background: var(--paper); }
.ev-hero { position: relative; height: 372px; color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
.ev-hero .poster-art { transform: translateY(var(--py, 0)) scale(1.15); }
.ev-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 36%, rgba(0, 0, 0, .62)); }
.ev-hero-in { position: relative; z-index: 2; padding: 0 20px 26px; }
.ev-hero .ev-type { color: #fff; background: rgba(0, 0, 0, .3); padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ev-hero h1 { font: 900 56px/.9 var(--ff-p); text-transform: uppercase; letter-spacing: .005em; margin: 12px 0; text-wrap: balance; animation: rise .8s .15s var(--ease) both; }
.ev-when { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 600; font-size: 14px; } .ev-when span { display: inline-flex; align-items: center; gap: 6px; }
.sheet-body { margin-top: -18px; position: relative; z-index: 3; background: var(--paper); border-radius: 26px 26px 0 0; padding: 22px 20px 12px; display: grid; gap: 22px; }
.sheet-body h2 { margin-bottom: 8px; }
.mini-venue { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.mini-venue > div { flex: 1; min-width: 0; } .mini-venue b { display: block; } .mini-venue small { color: var(--ink-2); font-size: 13px; }
.mv-ic { width: 42px; height: 42px; border-radius: 13px; background: var(--c); color: #fff; display: grid; place-items: center; }
.host { display: flex; align-items: center; gap: 12px; } .host small { display: block; color: var(--ink-3); }
.fill-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; } .fill-top span { color: var(--event-deep); font-weight: 600; }
.bar { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; } .bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--event); animation: grow 1.1s .3s var(--ease) forwards; }
@keyframes grow { to { width: var(--w); } }
.cta-bar { position: sticky; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px max(16px, env(safe-area-inset-bottom)); background: rgba(237, 240, 235, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.cta-bar small { display: block; color: var(--ink-3); font-size: 12px; } .cta-bar b { font: 800 22px var(--ff-d); }
.cta-bar .btn { flex: 1; max-width: 220px; }
.done-tk { display: grid; place-items: center; margin: 6px 0 14px; }
.tk-wrap { margin-top: 12px; }

/* ---------- venues ---------- */
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.kind { display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 18px; background: var(--card); border: 1.5px solid transparent; box-shadow: 0 1px 0 var(--line); text-align: left; transition: all .25s var(--ease); }
.kind span { grid-row: span 2; width: 38px; height: 38px; border-radius: 12px; background: #DDF1E8; color: var(--venue-deep); display: grid; place-items: center; transition: all .25s; }
.kind b { font: 700 13.5px/1.15 var(--ff-d); } .kind small { color: var(--ink-3); font-size: 11.5px; }
.kind.on { border-color: var(--venue); background: #ECF8F2; } .kind.on span { background: var(--venue); color: #fff; transform: rotate(-6deg) scale(1.06); }
.v-card { display: flex; flex-direction: column; border-radius: 24px; background: var(--card); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.v-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 26, 23, .12); } .v-card:active { transform: scale(.98); }
.v-card.wide { width: 262px; flex: none; }
.v-art { position: relative; height: 126px; background: color-mix(in srgb, var(--c) 12%, #fff); overflow: hidden; }
.shop { width: 100%; height: 100%; display: block; }
.shop .awn { transform-box: fill-box; transform-origin: top center; animation: awn .9s var(--ease) both; }
.shop .blink { animation: blink 2.4s steps(1) infinite; }
@keyframes awn { from { transform: scaleY(.15); } 60% { transform: scaleY(1.06); } to { transform: none; } }
@keyframes blink { 50% { opacity: .2; } }
.v-flag { position: absolute; top: 10px; right: 10px; background: var(--pink); color: #fff; font: 600 11px var(--ff-m); letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; }
.v-info { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; } .v-info .chips-row { margin-top: auto; padding-top: 10px; }
.v-kind { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px var(--ff-m); letter-spacing: .04em; text-transform: uppercase; color: var(--venue-deep); }
.v-kind .ic { width: 14px; height: 14px; }
.v-info h3 { margin: 4px 0 3px; font-size: 18px; } .v-info p { color: var(--ink-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v-detail { min-height: 100%; background: var(--paper); }
.v-hero { position: relative; height: 258px; background: color-mix(in srgb, var(--c) 18%, #fff); overflow: hidden; }
.v-hero .shop { height: 100%; }
.v-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40px; background: linear-gradient(transparent, var(--paper)); }
.v-head { padding: 4px 20px 6px; position: relative; z-index: 2; margin-top: -8px; } .v-head h1 { margin: 6px 0 6px; font-size: 34px; } .v-head p { color: var(--ink-2); }
.tabs-in { position: relative; display: flex; gap: 4px; margin: 14px 20px 0; padding: 4px; border-radius: 16px; background: #DCE3DD; overflow-x: auto; scrollbar-width: none; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs-in button { position: relative; z-index: 1; flex: none; padding: 9px 13px; border-radius: 12px; font: 700 13px var(--ff-d); color: var(--ink-2); white-space: nowrap; transition: color .25s; }
.tabs-in button.on { color: #fff; }
.tabs-in i { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 12px; background: var(--venue); transition: transform .4s var(--ease), width .4s var(--ease); }
.v-body { padding: 18px 20px 4px; display: grid; gap: 18px; align-content: start; min-height: 300px; }
.v-body .fine { padding-top: 0; }
.plan-wrap { background: var(--card); border-radius: 22px; padding: 12px; box-shadow: 0 1px 0 var(--line); }
.plan { width: 100%; height: auto; display: block; }
.fp-room { fill: #FBFAF6; stroke: #CBD3CD; stroke-width: 2; } .fp-counter { fill: #26332E; } .fp-door { fill: var(--yellow); }
.fp-zone.work { fill: rgba(23, 121, 90, .09); stroke: var(--venue); stroke-width: 1.4; stroke-dasharray: 5 4; }
.fp-zone.event { fill: rgba(240, 82, 46, .08); stroke: var(--event); stroke-width: 1.4; stroke-dasharray: 5 4; }
.fp-table rect { fill: #E7DDCB; } .fp-stage { fill: #26332E; }
.fp-label { font: 500 7.5px var(--ff-m); fill: #5C6B64; letter-spacing: .08em; } .fp-label.c { text-anchor: middle; } .fp-label.work { fill: var(--venue-deep); } .fp-label.event { fill: var(--event-deep); }
.fp-stage + .fp-label, .fp-counter + .fp-label { fill: #fff; }
.seat { cursor: pointer; outline: none; }
.seat circle { fill: var(--venue); transform-box: fill-box; transform-origin: center; animation: seatIn .6s var(--ease) both; transition: transform .25s var(--ease), fill .2s; stroke: transparent; stroke-width: 3; }
.seat:hover circle { transform: scale(1.12); }
.seat text { fill: #fff; font: 500 7px var(--ff-m); text-anchor: middle; pointer-events: none; }
.seat.taken { cursor: default; } .seat.taken circle { fill: #C9D1CC; } .seat.taken:hover circle { transform: none; } .seat.taken text { fill: #7C8B84; }
.seat.pick circle { fill: var(--ink); stroke: var(--yellow); transform: scale(1.22); }
@keyframes seatIn { from { transform: scale(0); } to { transform: scale(1); } }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); margin-top: 10px; } .legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 50%; background: var(--venue); } .lg.taken { background: #C9D1CC; } .lg.work { background: rgba(23, 121, 90, .25); border-radius: 4px; } .lg.event { background: rgba(240, 82, 46, .25); border-radius: 4px; } .lg.pass { background: var(--pass); border-radius: 3px; } .lg.ev { background: var(--event); border-radius: 3px; }
.seat-info { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: var(--ink); color: #fff; } .seat-info b { font: 800 18px var(--ff-d); } .seat-info span { display: flex; align-items: center; gap: 8px; color: #B8C6BE; font-size: 13.5px; } .seat-info .ic { width: 16px; height: 16px; }
.seat-info.pop { animation: pop .5s var(--ease); }
.ov-card { display: flex; gap: 12px; padding: 14px; border-radius: 20px; background: var(--card); box-shadow: 0 1px 0 var(--line); } .ov-card > span { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--line-2); flex: none; }
.ov-card.pass > span { background: #DDE5FF; color: var(--pass-deep); } .ov-card.corp > span { background: var(--ink); color: var(--yellow); } .ov-card b { display: block; margin-bottom: 2px; font: 700 15px var(--ff-d); } .ov-card p { font-size: 13.5px; color: var(--ink-2); }
.menu-b { display: grid; gap: 10px; margin-top: 4px; } .menu-b li { display: flex; align-items: baseline; gap: 8px; } .menu-b i { flex: 1; border-bottom: 1.5px dotted #B7C2BB; transform: translateY(-3px); } .menu-b b { font: 500 14px var(--ff-m); }
.tier-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px; margin-top: 10px; border-radius: 18px; background: var(--card); box-shadow: 0 1px 0 var(--line); transition: transform .2s var(--ease); } .tier-row:active { transform: scale(.98); }
.tier-row > div:first-child { flex: 1; } .tier-row b { display: block; font: 700 16px var(--ff-d); } .tier-row small { color: var(--ink-3); font-size: 12.5px; } .tier-price { text-align: right; } .tier-price b { color: var(--pass); }

/* ---------- passes tab ---------- */
.wallet { display: grid; gap: 16px; } .wallet-item { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier { position: relative; display: flex; flex-direction: column; text-align: left; padding: 14px; min-height: 148px; border-radius: 22px; background: var(--card); box-shadow: 0 1px 0 var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.tier:hover { transform: translateY(-3px) rotate(-.5deg); box-shadow: 0 14px 28px rgba(27, 63, 224, .14); } .tier:active { transform: scale(.97); }
.tier::before, .tier::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--paper); }
.tier::before { left: -7px; } .tier::after { right: -7px; }
.tier-tag { align-self: flex-start; font: 500 11px var(--ff-m); letter-spacing: .12em; color: #fff; background: var(--pass); padding: 3px 8px; border-radius: 6px; margin-bottom: 8px; }
.tier b { font: 800 19px var(--ff-d); letter-spacing: -.02em; } .tier small { color: var(--ink-2); font-size: 12.5px; margin-top: 2px; }
.tier-foot { margin-top: auto; padding-top: 12px; border-top: 1.5px dashed var(--line); display: flex; flex-direction: column; } .tier-foot strong { font: 800 20px var(--ff-d); } .tier-foot span { font-size: 12px; color: var(--ink-3); }
.tier-plane { position: absolute; right: 10px; bottom: 10px; color: var(--pass); opacity: .12; } .tier-plane .ic { width: 52px; height: 52px; stroke-width: 1.4; transition: transform .5s var(--ease); } .tier:hover .tier-plane .ic { transform: translateX(8px); }
.how { display: grid; gap: 14px; counter-reset: s; } .how li { display: flex; gap: 14px; align-items: flex-start; }
.how li > span { width: 44px; height: 44px; border-radius: 14px; background: var(--pass); color: #fff; display: grid; place-items: center; flex: none; } .how b { font: 700 16px var(--ff-d); } .how p { color: var(--ink-2); font-size: 14px; }
.form-card { display: block; padding: 6px 16px 18px; border-radius: 24px; background: #E4E9E5; }
.form-card .lbl:first-child { margin-top: 12px; }
.form-card .chip-btn, .form-card .day { background: var(--card); }
.form-card .chip-btn.on { background: var(--ink); }
.pick-list { display: grid; gap: 10px; margin-top: 14px; }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--card); border: 2px solid transparent; box-shadow: 0 1px 0 var(--line); transition: all .25s var(--ease); }
.pick > span { width: 50px; height: 44px; border-radius: 12px; background: var(--c); color: #fff; display: grid; place-items: center; font: 500 13px var(--ff-m); letter-spacing: .08em; flex: none; }
.pick > div { flex: 1; min-width: 0; } .pick b { display: block; font: 700 15px var(--ff-d); } .pick small { color: var(--ink-3); font-size: 12.5px; }
.pick .ic { opacity: 0; color: var(--pass); transform: scale(.4); transition: all .3s var(--ease); } .pick.on { border-color: var(--pass); } .pick.on .ic { opacity: 1; transform: none; }
.profile { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.swap-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: #D9F0E6; } .swap-card > div { flex: 1; } .swap-card b { font: 700 16px var(--ff-d); } .swap-card p { font-size: 13px; color: var(--venue-deep); margin-top: 2px; }
.about { padding: 16px; border-radius: 22px; background: var(--card); color: var(--ink-2); font-size: 14px; box-shadow: 0 1px 0 var(--line); } .about .act-row { margin-top: 14px; }
.act-row { display: flex; gap: 10px; flex-wrap: wrap; } .act-row .btn { flex: 1; }

/* ---------- buying flow ---------- */
.flow { min-height: 100%; display: flex; flex-direction: column; }
.flow-head { display: flex; align-items: center; gap: 14px; padding: max(26px, env(safe-area-inset-top)) 20px 14px; } .flow-head small { font: 500 11.5px var(--ff-m); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); } .flow-head h1 { font-size: 26px; }
.prog { height: 4px; margin: 0 20px; border-radius: 3px; background: var(--line); overflow: hidden; } .prog i { display: block; height: 100%; width: 33%; background: var(--pass); border-radius: 3px; transition: width .5s var(--ease); }
.flow-body { flex: 1; padding: 16px 20px 24px; }
.flow-plan { margin-top: 8px; }
.preview { margin-bottom: 4px; pointer-events: none; }
.printed { position: absolute; inset: 0; z-index: 12; background: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: 30px 20px; opacity: 0; transition: opacity .4s; text-align: center; overflow-y: auto; }
.printed.on { opacity: 1; }
.printed h2 { font: 800 28px var(--ff-d); margin-top: 18px; } .printed p { color: var(--ink-2); margin: 6px 0 12px; }
.printer { position: relative; padding-top: 26px; overflow: hidden; text-align: left; }
.slot { position: absolute; top: 0; left: -6px; right: -6px; height: 26px; border-radius: 14px; background: var(--ink); z-index: 2; box-shadow: 0 8px 18px rgba(0, 0, 0, .2); }
.slot::after { content: ""; position: absolute; left: 18px; right: 18px; top: 10px; height: 6px; border-radius: 3px; background: #000; }
.printer .out { animation: printOut 1.5s .35s var(--ease) both; }
@keyframes printOut { from { transform: translateY(-105%); } to { transform: none; } }

/* ---------- audit fixes ---------- */
.v-detail > .fine, .org-body > .fine { padding: 22px 20px 40px; }
.venue-pill { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; margin-bottom: 14px; border-radius: 18px; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.venue-pill > span { width: 46px; height: 40px; border-radius: 11px; background: var(--c); color: #fff; display: grid; place-items: center; font: 500 12px var(--ff-m); letter-spacing: .08em; flex: none; }
.venue-pill > div { flex: 1; min-width: 0; } .venue-pill b { display: block; font: 700 15px var(--ff-d); } .venue-pill small { color: var(--ink-3); font-size: 12.5px; }
.venue-pill button { font-weight: 600; font-size: 13.5px; color: var(--pass); padding: 8px 6px; }
.empty .btn { margin-top: 12px; }
.hood { flex: none; }

.chips-row.big .chip { padding: 8px 13px; font-size: 13.5px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); } .chips-row.big .chip .ic { color: var(--ok); width: 15px; height: 15px; }
