/* EventMu public pages on native labmu-ui (no Sandbox/Bootstrap). Load after labmu-ui.css and tokens.css.
   Redesign: a canvas page with white sections, 22px cards, pill buttons and chips, a sticky filter bar, a rotating hero.
   labmu-ui gives tokens, buttons, fields, dialogs, pills. The names its marketing css already uses (.hero, .lead, .h2, .display,
   .faq-grid, .chip, .card, .text-link...) are not reused: em-*, ev-*, dt-* here. */

:root { --h1: clamp(32px, 3.6vw, 48px); --h2: clamp(26px, 2.5vw, 34px); --gutter: clamp(16px, 4vw, 60px); --max: 1320px; }

body[data-surface=marketing] { background: var(--canvas); color: var(--body); font-size: 16px; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
body[data-surface=marketing] > main { flex: 1 0 auto; } /* short pages keep the footer at the bottom */
.wrap { box-sizing: border-box; width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
a { color: inherit; }
.link { color: var(--primary-active); font-weight: 600; font-size: 14px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Type ---------- */
body[data-surface=marketing] .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.em-h1, .em-h2 { margin: 0; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.em-h1 { font-size: var(--h1); line-height: 1.08; }
.em-h2 { font-size: var(--h2); line-height: 1.15; }
.em-h1 em, .em-h2 em { font-style: normal; color: var(--primary); }
.em-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.em-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-size: 16px; font-weight: 600; color: var(--primary); }
.em-link:hover { color: var(--primary-active); }
.em-link .icon { width: 18px; height: 18px; transition: transform var(--dur-slow); }
.em-link:hover .icon { transform: translateX(3px); }

/* ---------- Buttons: pills, 52px (public pages); inside dialogs the kit size stays close ---------- */
body[data-surface=marketing] .btn { height: auto; min-height: 52px; padding: 0 26px; font-size: 16px; }
body[data-surface=marketing] .btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
body[data-surface=marketing] dialog .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
body[data-surface=marketing] .btn .icon { width: 18px; height: 18px; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: #1E293B; border-color: #1E293B; color: #fff; }

/* ---------- Header: logo, search, links, account (static; the filter bar and the section tabs stick to the top) ---------- */
body[data-surface=marketing] .site-header { position: relative; z-index: 40; background: var(--paper); backdrop-filter: none; border-bottom: 1px solid var(--line); }
.em-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 14px; }
.em-bar .brand { display: flex; align-items: center; flex: none; }
.em-bar .logo-full { height: 24px; width: auto; }
.em-search { position: relative; display: flex; align-items: center; gap: 10px; flex: 1 1 260px; min-height: 46px; padding: 0 18px; border-radius: var(--r-pill); background: var(--surface); border: 1.5px solid transparent; color: var(--muted); }
.em-search:focus-within { background: var(--paper); border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.em-search .icon { width: 18px; height: 18px; flex: none; }
.em-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 15px var(--font); color: var(--ink); }
/* live suggestions under the header search (eventmu.js) */
.sug { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; display: grid; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .35); }
.sug[hidden] { display: none; }
.sug-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ink); }
.sug-item img { width: 48px; height: 48px; flex: none; border-radius: 10px; object-fit: cover; background: var(--surface); }
.sug-item span { display: grid; min-width: 0; }
.sug-item strong, .sug-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug-item strong { font-size: 15px; font-weight: 600; }
.sug-item small { font-size: 13px; color: var(--muted); }
.sug-empty { padding: 12px 8px 8px; font-size: 14px; color: var(--muted); }
.sug-all { display: block; margin-top: 4px; padding: 12px 8px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--primary-active); }
.sug-item:hover, .sug-all:hover, .sug [aria-selected=true] { background: var(--primary-light); border-radius: 12px; }
[data-live-results][aria-busy=true] .ev-grid, [data-live-results][aria-busy=true] .empty-state { opacity: .55; transition: opacity var(--dur); }
.em-nav { display: flex; align-items: center; gap: 4px; }
.em-nav a { padding: 10px 16px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--body); }
.em-nav a:hover { color: var(--ink); background: var(--surface); }
.em-nav a[aria-current=page] { color: var(--primary); background: var(--primary-light); font-weight: 600; }
.em-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.em-actions .mid-btn { height: 46px; }
.em-menu-btn { display: none; }
.account { position: relative; }
.account-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px 0 6px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--paper); font: 600 15px/1 var(--font); color: var(--ink); cursor: pointer; }
.account-btn:hover { border-color: var(--primary); }
.account-btn .symbol { width: 32px; height: 32px; font-size: 12px; }
.account .ui-menu { right: 0; top: calc(100% + 8px); }
.account .ui-menu-head strong { display: block; color: var(--ink); font-size: 14px; }
.account .ui-menu-head small, .account .ui-menu a small { display: block; color: var(--muted); font-size: 12px; }
.account .ui-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.nav-sheet nav { display: grid; gap: 2px; padding: 4px 0 12px; }
.nav-sheet nav a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: var(--r-pill); font-size: 16px; font-weight: 500; color: var(--ink); }
.nav-sheet nav a[aria-current=page] { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.nav-sheet .sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line-strong); margin: 4px auto 10px; }
.nav-sheet .btn, .nav-sheet .mid-btn { width: 100%; }
@media (max-width: 960px) { .em-nav { display: none; } .em-menu-btn { display: inline-grid; } .em-actions { margin-left: auto; } }
/* phones: logo + actions, search on its own row */
@media (max-width: 640px) {
  .em-bar { row-gap: 12px; }
  .em-search { order: 3; flex-basis: 100%; }
  .account-btn .account-name, .account-btn > .icon { display: none; }
  .account-btn { padding: 0 3px; border: 0; background: none; }
}

/* ---------- Filter chips and the segmented control ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
/* .filter-chip: a filter or tab pill; .chip stays labmu-ui's small tag (x-category-tags) */
.filter-chip { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--paper); font: 600 15px var(--font); color: var(--ink); cursor: pointer; white-space: nowrap; scroll-snap-align: start; transition: background var(--dur), border-color var(--dur), color var(--dur); }
.filter-chip:hover { border-color: var(--primary); color: var(--primary-active); }
.filter-chip small { min-width: 14px; text-align: center; font-size: 13px; font-weight: 500; color: var(--muted); }
.filter-chip[aria-selected=true], .filter-chip[aria-pressed=true], .filter-chip[aria-current=true], .filter-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-chip[aria-selected=true] small, .filter-chip[aria-pressed=true] small, .filter-chip[aria-current=true] small, .filter-chip.on small { color: var(--line-strong); }
.em-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); }
.em-seg a, .em-seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: none; font: 600 14px var(--font); color: var(--body); white-space: nowrap; cursor: pointer; }
.em-seg [aria-current=true] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .16); }
.em-seg .icon { width: 18px; height: 18px; }

/* poster on a blurred copy of itself: portrait posters fill any landscape frame */
.media { position: relative; overflow: hidden; background: var(--surface); }
.media .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(20px) saturate(1.15); transform: scale(1.2); opacity: .85; }
.media .fg { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.media picture { display: contents; } /* the per-breakpoint wrapper (user/partials/media) leaves the frame to the img */

/* ---------- Beranda: hero ---------- */
.em-hero { padding-top: clamp(36px, 5vw, 64px); }
.hero-stage { display: grid; }
.hero-panel { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.hero-panel.on { opacity: 1; visibility: visible; transition: opacity .3s; }
.em-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hero-top .eyebrow { font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--body); }
.status.live { background: var(--success-light); color: var(--success); box-shadow: inset 0 0 0 1px var(--success-border); }
.em-hero .em-h1 { margin-top: 20px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.em-hero .em-lead { margin-top: 20px; max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); }
.facts { margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.facts dd { margin: 6px 0 0; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
/* desktop: the poster is as tall as the text block beside it (--hero-h, set by eventmu.js) */
.poster { position: relative; display: block; border-radius: 24px; overflow: hidden; background: var(--line); aspect-ratio: 4 / 5; height: var(--hero-h, 480px); width: auto; box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .55); }
.poster .media { position: absolute; inset: 0; }
.hl-tabs { margin-top: 48px; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.hl-tab { display: flex; flex-direction: column; gap: 8px; margin-top: -2px; padding: 20px 24px 26px 0; border: 0; border-top: 3px solid transparent; background: none; text-align: left; color: var(--ink); cursor: pointer; }
.hl-tab .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hl-tab .t { font-size: 20px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; opacity: .6; transition: opacity var(--dur); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hl-tab .d { font-size: 14px; color: var(--muted); }
.hl-tab:hover .t { opacity: .9; }
.hl-tab[aria-selected=true] { border-top-color: var(--primary); }
.hl-tab[aria-selected=true] .k { color: var(--primary); }
.hl-tab[aria-selected=true] .t { opacity: 1; }

/* ---------- Beranda: event list ---------- */
.events { background: var(--paper); margin-top: 48px; border-top: 1px solid var(--line); }
.events.is-results { margin-top: 0; }
.events-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; padding-block: 56px 36px; }
.events-intro .em-h2 { flex: 1 1 480px; }
.events-intro .em-lead { flex: 1 1 340px; max-width: 460px; font-size: 18px; }
.filterbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow var(--dur-slow); }
.filterbar.stuck { box-shadow: 0 12px 24px -20px rgba(15, 23, 42, .45); }
.filterbar .wrap { position: relative; display: flex; align-items: center; gap: 16px; min-height: 76px; }
.filterbar .wrap::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); }
.fb-label { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chips-wrap { position: relative; flex: 1; min-width: 0; }
.chips-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; opacity: var(--fade, 1); transition: opacity var(--dur); }
.chips-wrap .chips { padding: 14px 40px 14px 0; }
.fb-divider { align-self: stretch; width: 1px; margin: 18px 4px; background: var(--line); }
.sort { display: flex; align-items: center; gap: 12px; flex: none; }
.result { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; color: var(--muted); }
.result strong { color: var(--ink); }
.result .reset { padding: 0; min-height: 32px; display: inline-flex; align-items: center; font-weight: 600; color: var(--primary); }
.result .reset:hover { text-decoration: underline; text-underline-offset: 3px; }
.events .ev-grid { margin-top: 20px; }
.events .empty-state { grid-column: 1 / -1; margin-top: 20px; padding: 64px 24px; border: 1.5px dashed var(--line-strong); border-radius: 22px; }
.events .empty-state h3 { font-size: 20px; }
.events .empty-state p { font-size: 16px; max-width: 46ch; }
.more { margin-top: 56px; display: flex; justify-content: center; padding-bottom: 96px; }
.events .wrap > .empty-state { margin-bottom: 96px; }
.events .wrap > .ev-grid:last-child { padding-bottom: 96px; }

/* ---------- Event card ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 28px; }
.ev-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform var(--dur-slow), box-shadow var(--dur-slow); }
.ev-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(15, 23, 42, .5); }
.ev-top { position: relative; }
.ev-top .media { aspect-ratio: 2 / 1; }
.ev-topic { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink); }
.ev-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 20px 22px 22px; }
.ev-date { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.ev-body h3 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev-body h3 a { color: var(--ink); }
.ev-body h3 a::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
.ev-meta { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--body); }
.ev-meta > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ev-meta .tx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-meta .icon { width: 20px; height: 20px; flex: none; color: var(--primary); }
.ini { width: 24px; height: 24px; font-size: 9.5px; font-weight: 800; line-height: 1; letter-spacing: .02em; color: var(--primary-active); }
.ini.lg { width: 40px; height: 40px; font-size: 13px; }
.ini.xl { width: 56px; height: 56px; font-size: 16px; }
.ev-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.ev-scope { display: block; font-size: 13px; font-weight: 600; color: var(--body); }
.ev-pop { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.ev-pop .icon { width: 16px; height: 16px; }
.ev-price { text-align: right; line-height: 1.2; }
.ev-price small { display: block; font-size: 12px; color: var(--muted); }
.ev-price strong { font-size: 22px; font-weight: 800; color: var(--primary-active); }
.ev-card.is-ended .media .fg { filter: grayscale(.6); }
.ev-row { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: var(--body); }
.ev-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-row .icon { width: 18px; height: 18px; flex: none; color: var(--primary); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--primary); color: #fff; }
.cta .lines { position: absolute; right: 0; bottom: 0; width: 46%; height: 100%; opacity: .22; }
.cta .wrap { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: 96px; text-align: center; }
.cta.compact .wrap { padding-block: 72px; }
.cta .kick { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-border); }
.cta h2 { margin: 18px 0 0; font-size: var(--h2); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: #fff; text-wrap: balance; }
.cta h2 em { font-style: normal; color: var(--primary-border); }
.cta p { margin: 22px 0 0; max-width: 600px; font-size: 19px; line-height: 1.6; color: #FFE8DD; }
.cta .actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; }
.cta .actions .plain { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: #fff; }
.cta .actions .plain:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta :focus-visible { outline-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding: 0; background: var(--foot); color: #D6CCC8; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px 64px; padding-bottom: 0; }
.footer-brand { flex: 1 1 340px; max-width: 440px; }
.footer-brand .logo-full { height: 40px; width: auto; }
.footer-brand > p { margin: 24px 0 0; max-width: none; font-size: 16px; line-height: 1.7; color: #B8ABA6; }
.footer-cols { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; }
.footer-column { display: flex; flex-direction: column; gap: 12px; }
.footer-column h3 { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #A39590; }
.footer-column a { min-height: 0; font-size: 16px; color: #fff; }
.footer-column a:hover { color: var(--primary-border); text-decoration: none; }
.footer-text { display: block; font-size: 16px; line-height: 1.6; color: #fff; }
.footer-text b { font-weight: 600; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #3A231C; font-size: 14px; color: #A39590; }
.footer-bottom a { color: inherit; }
.site-footer .endorse img { height: 26px; }
@media (max-width: 620px) { .site-footer .wrap { padding-top: 48px; } .footer-bottom { margin-top: 40px; } }

/* ---------- Tentang ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px 64px; align-items: center; padding-block: clamp(40px, 5vw, 72px); }
.about-hero .em-h1 { margin-top: 16px; }
.about-hero .em-lead { margin-top: 18px; max-width: 600px; }
.about-hero .hero-actions { margin-top: 28px; }
.steps { list-style: none; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.steps li { display: flex; flex-direction: column; gap: 4px; }
.steps strong { font-size: 16px; color: var(--ink); }
.steps span { font-size: 14px; color: var(--muted); }
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.collage > div { display: flex; flex-direction: column; gap: 14px; }
.collage > div:nth-child(2) { padding-top: 48px; }
.collage a { display: block; border-radius: 22px; overflow: hidden; }
.collage .media { aspect-ratio: 4 / 5; }
.collage > div:nth-child(1) a:nth-child(2) { border-bottom-left-radius: 80px; }
.collage > div:nth-child(3) a:nth-child(1) { border-top-right-radius: 80px; }
.why { background: var(--paper); border-block: 1px solid var(--line); }
.why .wrap { padding-block: 48px 72px; }
.why .em-h2 { margin-top: 16px; max-width: 900px; }
.features { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { padding: 0 28px; }
.feature:first-child { padding-left: 0; }
.feature + .feature { border-left: 1px solid var(--line); }
.ficon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; }
.ficon .icon { width: 26px; height: 26px; }
.feature h3 { margin: 18px 0 0; font-size: 19px; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; color: var(--ink); }
.feature p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.faq-sec { padding-block: 48px 80px; }
.faq-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 72px; align-items: start; }
.faq-cols .em-h2 { margin-top: 16px; }
.faq-cols .em-lead { margin-top: 14px; max-width: 380px; font-size: 18px; }
.faq-cols .em-link { margin-top: 16px; }
/* the accordion: native <details name="faq">, one open at a time */
.acc { border-top: 2px solid var(--primary); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; font-size: 16px; line-height: 1.4; font-weight: 650; letter-spacing: -.01em; color: var(--ink); cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc-ico { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); transition: transform var(--dur-slow), background var(--dur), color var(--dur); }
.acc-ico .icon { width: 18px; height: 18px; }
.acc details[open] .acc-ico { transform: rotate(45deg); background: var(--primary); color: #fff; }
.acc-panel { padding: 0 60px 22px 0; margin-top: -4px; font-size: 15px; line-height: 1.7; color: var(--body); }
.acc-panel a { color: var(--primary-active); font-weight: 600; }

/* ---------- Kontak ---------- */
.contact-hero { padding-block: clamp(40px, 5vw, 72px) 56px; }
.contact-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.contact-head > div { flex: 999 1 600px; min-width: 0; }
.contact-head .em-h1 { margin-top: 16px; }
.contact-head .em-lead { flex: 1 1 340px; max-width: 440px; }
.channels { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.channel { display: flex; flex-direction: column; gap: 12px; min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); color: var(--ink); transition: transform var(--dur-slow), box-shadow var(--dur-slow); }
.channel:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(15, 23, 42, .5); }
.channel .ci { width: 46px; height: 46px; border-radius: 13px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; }
.channel .ci .icon { width: 28px; height: 28px; }
.ch-lbl { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.channel .val { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; letter-spacing: -.02em; font-weight: 800; overflow-wrap: anywhere; }
.channel .go { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--primary); }
.channel .go .icon { width: 18px; height: 18px; transition: transform var(--dur-slow); }
.channel:hover .go .icon { transform: translateX(3px); }
.channel.featured { background: var(--primary); border-color: var(--primary); color: #fff; }
.channel.featured .ci { background: rgba(255, 255, 255, .18); color: #fff; }
.channel.featured .ch-lbl { color: var(--primary-border); }
.channel.featured .go { color: #fff; }
.channel.featured :focus-visible { outline-color: #fff; }
.channel .row { display: flex; justify-content: space-between; align-items: center; }
.badge-soft { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.loc { background: var(--paper); border-top: 1px solid var(--line); }
.loc .wrap { padding-block: 48px 72px; }
.loc .em-h2 { margin-top: 16px; }
.map { position: relative; margin-top: 32px; min-height: 480px; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: #EDEFF1; }
.map .map-canvas { position: absolute; inset: 0; }
.addr { position: absolute; left: 24px; right: 24px; bottom: 24px; max-width: 480px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .45); }
.addr .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.addr h3 { margin: 10px 0 0; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; font-weight: 800; color: var(--ink); }
.addr p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.addr .actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.addr .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.faq-strip { padding-block: 56px; }
.faq-strip > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: 28px 32px; border-radius: 26px; background: var(--primary-light); }
.faq-strip > div > div { flex: 1 1 420px; }
.faq-strip h2 { margin: 0; font-size: clamp(21px, 2vw, 26px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.faq-strip p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--body); }

/* ---------- Event detail ---------- */
.dt-crumb { padding-top: 28px; font-size: 14px; color: var(--muted); }
.dt-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 0; list-style: none; }
.dt-crumb li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dt-crumb li + li::before { content: "›"; color: var(--faint); }
.dt-crumb a { color: var(--muted); }
.dt-crumb a:hover { color: var(--primary); }
.dt-crumb [aria-current] { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.dt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 4.5vw, 64px); align-items: start; padding-block: 32px 96px; }
.dt-main { min-width: 0; }
.dt-main .hero-top .eyebrow { font-size: 12px; }
.dt-main .status { padding: 4px 10px; font-size: 12px; }
.dt-title { margin: 16px 0 0; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; color: var(--ink); overflow-wrap: break-word; }
.dt-org { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--ink); }
.dt-org small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.dt-info { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dt-info li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dt-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-light); color: var(--primary); }
.dt-ico .icon { width: 24px; height: 24px; }
.dt-info strong { display: block; font-size: 16px; line-height: 1.4; color: var(--ink); }
.dt-info small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.jump { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--primary); }
.jump:hover { color: var(--primary-active); }
.place-link { display: block; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color var(--dur), text-decoration-color var(--dur); }
.place-link:hover { color: var(--primary); text-decoration-color: currentColor; }
/* the section tabs stick to the top; eventmu.js marks the section in view */
.dt-tabs { position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; margin-top: 28px; overflow-x: auto; scrollbar-width: none; background: rgba(244, 246, 248, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.dt-tabs::-webkit-scrollbar { display: none; }
.dt-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 52px; margin-bottom: -1px; padding: 0 12px; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 600; color: var(--body); }
.dt-tabs a:hover { color: var(--ink); }
.dt-tabs a[aria-current=true] { color: var(--primary); border-bottom-color: var(--primary); }
.dt-sec { padding-top: 36px; scroll-margin-top: 40px; }
.dt-sec + .dt-sec { margin-top: 36px; border-top: 1px solid var(--line); }
.dt-sec h2 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; color: var(--ink); }
.dt-sec .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dt-sec .tags .chip { height: auto; padding: 5px 12px; border: 0; border-radius: var(--r-pill); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink); }
.dt-sec .tags a.chip:hover { background: var(--primary-light); color: var(--primary-active); }
.about-text { max-width: 700px; margin-top: 14px; font-size: 16px; line-height: 1.75; color: var(--body); }
.about-text.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.more-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 8px; padding: 0; border: 0; background: none; font: 600 15px var(--font); color: var(--primary); cursor: pointer; }
.more-btn .icon { width: 18px; height: 18px; }
.rd-day { margin-top: 22px; }
.rd-day h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.rd-day h3 span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.rd-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.rd-time { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: var(--ink); }
.rd-act { font-size: 15px; line-height: 1.55; color: var(--body); overflow-wrap: anywhere; }
.spk-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.spk { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.spk strong { display: block; font-size: 15px; line-height: 1.35; color: var(--ink); }
.spk small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.mini-map { margin-top: 18px; aspect-ratio: 2 / 1; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #EDEFF1 center / cover no-repeat; }
.venue { margin-top: 16px; }
.venue strong { display: block; font-size: 16px; color: var(--ink); }
.venue p { margin: 4px 0 0; font-size: 15px; color: var(--body); }
.venue .em-link { min-height: 44px; }
.org-card { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 20px; border-radius: 22px; background: var(--primary-light); }
.org-card .ini { background: var(--paper); }
.org-card strong { display: block; font-size: 16px; color: var(--ink); }
.org-card p { margin: 4px 0 0; font-size: 14px; color: var(--body); }
.dt-sec .acc { margin-top: 24px; }
.dt-sec .acc summary { font-size: 16px; padding: 18px 0; }
.dt-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.dt-media { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); cursor: zoom-in; box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .55); }
.dt-media .media { position: absolute; inset: 0; }
.dt-media .media .fg { transition: transform .35s ease; }
.dt-media:hover .media .fg { transform: scale(1.03); }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(15, 23, 42, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; color: #fff; opacity: .92; transition: opacity var(--dur); }
.zoom-hint .icon { width: 15px; height: 15px; }
.dt-media:hover .zoom-hint, .dt-media:focus-visible .zoom-hint { opacity: 1; }
.ticket-box { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.ticket-box .tb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tb-price small { display: block; font-size: 13px; color: var(--muted); }
.tb-price strong { font-size: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ticket-box .btn, .ticket-box .mid-btn { min-height: 48px; font-size: 15px; }
.ticket-box .tb-note { display: flex; gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--muted); }
.ticket-box .tb-note .icon { width: 20px; height: 20px; flex: none; }
.ticket-box .note { margin-top: 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.ticket-box .tb-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ticket-box .tb-more .btn { min-width: 0; flex: 1 1 auto; }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; font-size: 15px; color: var(--muted); }
.share-row .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.related { background: var(--paper); border-top: 1px solid var(--line); }
.related .wrap { padding-block: 56px 96px; }
.related .em-h2 { margin-top: 16px; font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
.related .ev-grid { margin-top: 36px; }
.dt-bar { display: none; }
/* the poster dialog (labmu-ui data-ui-open / data-ui-close; a click on the dark area closes it) */
dialog.lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: rgba(12, 6, 3, .94); color: #fff; }
dialog.lightbox::backdrop { background: transparent; }
dialog.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; animation: lb-in .22s ease; }
dialog.lightbox img { max-width: min(94vw, 900px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); animation: lb-zoom .28s ease; }
.lb-caption { max-width: 900px; padding: 0 72px; text-align: center; font-size: 15px; font-weight: 600; color: #E7DCD7; }
.lb-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.lb-close:hover { background: rgba(255, 255, 255, .26); }
.lb-close .icon { width: 22px; height: 22px; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-zoom { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
html:has(dialog.lightbox[open]) { overflow: hidden; }

/* ---------- Checkout-style pages: form fill, materi ---------- */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; align-content: start; padding-block: 28px 64px; }
.co h1 { margin-bottom: 4px; font-size: var(--h2); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.co .lede { margin-bottom: 20px; font-size: 16px; color: var(--muted); }
.co-side { position: sticky; top: 16px; }
.co > .back-link { grid-column: 1 / -1; justify-self: start; margin-bottom: -12px; }
.box { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.sum .media { aspect-ratio: 2 / 1; border-radius: 14px; margin-bottom: 14px; }
.sum h2 { margin-bottom: 10px; font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.sum .ev-row { margin-top: 8px; }
.sum .sum-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 15px; }
.sum .sum-total strong { color: var(--ink); }
.form-box .stack { gap: 16px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
@media (max-width: 960px) {
  .co { grid-template-columns: minmax(0, 1fr); }
  .co-side { position: static; order: -1; }
  .co > .back-link { order: -2; }
  .sum { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
  .sum .media { grid-row: span 3; aspect-ratio: 1; margin: 0; }
  .sum .sum-total { grid-column: 1 / -1; }
}
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 15px; font-weight: 600; color: var(--muted); }
.back-link:hover { color: var(--primary); }
.back-link .icon { width: 16px; height: 16px; }

/* ---------- Tiket Saya ---------- */
.page { padding-block: 32px 72px; }
.page.narrow { max-width: calc(880px + 2 * var(--gutter)); }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; font-size: var(--h2); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.page-head .lede { margin-top: 6px; font-size: 16px; color: var(--muted); }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 20px; }
.t-search { margin-left: auto; max-width: 320px; flex: 1 1 220px; }
.t-search input { height: 46px; padding-left: 44px; border-color: transparent; border-radius: var(--r-pill); background: var(--surface); font-size: 15px; }
.t-search input:focus { border-color: var(--primary); background: var(--paper); }
.t-search .icon { left: 16px; }
@media (max-width: 640px) { .t-search { margin-left: 0; max-width: none; flex-basis: 100%; } }
.ticket-list { display: grid; gap: 16px; }
.ticket { display: grid; grid-template-columns: 240px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); }
.ticket .media { aspect-ratio: auto; min-height: 150px; }
.ticket .media .fg { position: absolute; inset: 0; } /* the poster never sets the card height */
.ticket-body { display: grid; gap: 8px; align-content: start; min-width: 0; padding: 18px 22px; }
.ticket-body h3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; font-weight: 700; color: var(--ink); }
.ticket-body h3 a:hover { color: var(--primary-active); }
.ticket-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.ticket-foot .tmeta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ticket-foot .tid { font-size: 14px; color: var(--muted); }
.ticket-foot .tid b { font-family: var(--mono, ui-monospace, monospace); font-weight: 600; color: var(--ink); }
.ticket-foot .acts { display: flex; gap: 8px; }
.ticket.sk .sk { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--surface), var(--hover), var(--surface)); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }
@media (max-width: 640px) {
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket .media { aspect-ratio: 2.4 / 1; min-height: 0; }
  .ticket-foot .acts { width: 100%; }
  .ticket-foot .acts .btn { flex: 1; }
}
.page .empty-state, .co .empty-state { border: 1.5px dashed var(--line-strong); border-radius: 22px; background: var(--paper); padding: 56px 24px; }
.mat-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.mat-row:first-child { border-top: 0; padding-top: 0; }
.mat-row:last-child { padding-bottom: 0; }
.mat-row .fi { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--primary-light); color: var(--primary); }
.mat-row .fi .icon { width: 22px; height: 22px; }
.mat-row .grow { min-width: 0; }
.mat-row strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.mat-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .dt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .em-hero-grid, .about-hero, .faq-cols { grid-template-columns: 1fr; }
  .hero-panel { align-self: start; }
  .poster { order: -1; width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 22px; }
  .hl-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channels { grid-template-columns: 1fr; }
  .dt-crumb ol { flex-wrap: nowrap; }
  .dt-crumb li:not(:last-child) { flex: none; white-space: nowrap; }
  .dt-grid { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .dt-aside { position: static; order: -1; }
  .dt-media { aspect-ratio: 2 / 1; border-radius: 22px; }
  /* the bottom bar carries the price and the action; the ticket box stays for what the bar cannot say (a claimed or denied ticket) */
  .ticket-box .tb-row, .ticket-box .tb-note { display: none; }
  .ticket-box:not(.has-extra) { display: none; }
  .dt-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -12px 24px -20px rgba(15, 23, 42, .45); }
  .dt-bar .tb-price strong { font-size: 22px; }
  .dt-bar .btn, .dt-bar .mid-btn { min-height: 48px; font-size: 15px; }
  body.has-buy-bar .site-footer { padding-bottom: 84px; }
  .mini-map { aspect-ratio: 4 / 3; }
  .filterbar .wrap { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-block: 4px 10px; }
  .fb-label { display: none; }
  .chips-wrap { flex: 1 1 100%; }
  .chips-wrap .chips { padding-block: 10px; }
  .fb-divider { display: none; }
  .sort { flex: 1 1 100%; justify-content: space-between; }
}
@media (max-width: 640px) { .ev-body h3 { font-size: 20px; } }
@media (max-width: 560px) {
  .facts, .steps { grid-template-columns: 1fr; }
  .hl-tabs { grid-template-columns: 1fr; }
  .hl-tab { padding-right: 0; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(3) { padding: 0; border-left: 0; }
  .map { min-height: 620px; }
  .acc-panel { padding-right: 0; }
  .rd-row { grid-template-columns: 1fr; gap: 4px; }
  .dt-info li { gap: 14px; }
  .em-seg a, .em-seg button { padding: 0 12px; }
  .cta .wrap { padding-block: 64px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .hero-panel { transition: none; } }

/* ---------- Toast (labmu-ui, EventMu.notify): above the phone's bottom bar on the detail page ---------- */
@media (max-width: 860px) { body.has-buy-bar .toast { bottom: 84px; } }

/* ---------- Dialogs ---------- */
dialog.modal .modal-f { justify-content: flex-end; }

/* ---------- Error pages: logo, a soft icon, title, short text, one clear action ---------- */
.err-page { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: var(--canvas); }
.err-page header { padding: 14px var(--gutter); border-bottom: 1px solid var(--line); background: var(--paper); }
.err-page header img { height: 34px; width: auto; }
.err-main { display: grid; place-items: center; padding: 56px var(--gutter) 80px; text-align: center; }
.err-ill { width: 96px; height: 96px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-light); color: var(--primary); }
.err-ill .icon { width: 44px; height: 44px; }
.err-ill.good { background: var(--success-light); color: var(--success); }
.err-ill.bad { background: var(--danger-light); color: var(--danger); }
.err-code { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.err-main h1 { margin-top: 8px; font-size: var(--h2); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.err-main p { margin: 12px auto 0; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--body); }
.err-main .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.err-page footer { padding: 24px var(--gutter); background: var(--paper); border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); }
