:root {
    --paper: #F7F5F0;
    --paper-2: #EFECE4;
    --white: #FFFFFF;
    --ink: #101828;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #E4E0D6;
    --coral: #FF5A3C;
    --coral-dark: #E7472C;
    --lime: #C8F169;
    --violet: #6C5CE7;
    --blue: #3D8BFD;
    --success: #067647;
    --success-bg: #ECFDF3;
    --warning: #B54708;
    --warning-bg: #FFFAEB;
    --danger: #B42318;
    --danger-bg: #FEF3F2;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 24px 70px rgba(16, 24, 40, .10);
    --shadow-soft: 0 10px 30px rgba(16, 24, 40, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: Manrope, Inter, Arial, sans-serif; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
h4 { font-size: 1rem; font-weight: 800; }
p { margin: 0 0 1em; }
small { font-size: .8rem; }
code { font-family: "SFMono-Regular", Consolas, monospace; background: rgba(16,24,40,.05); padding: 2px 6px; border-radius: 6px; }

.container { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.container.narrow { width: min(860px, calc(100% - 40px)); }
.section { padding: 70px 0; }
.section-tight { padding: 34px 0 70px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small-note { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; color: var(--coral); margin-bottom: 12px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(200,241,105,.25); }
.text-link { color: var(--ink); font-weight: 700; font-size: .92rem; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.text-link:hover { color: var(--coral); border-color: var(--coral); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 13px 22px; font-weight: 700; font-size: .92rem; transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #25324A; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 15px; font-size: .82rem; }
.btn-xs { padding: 6px 11px; font-size: .75rem; }
.btn-lg { padding: 17px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.link-button { border: 0; background: transparent; padding: 0; text-align: left; color: inherit; font: inherit; width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(247,245,240,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(228,224,214,.8); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 1.45rem; letter-spacing: -.06em; display: inline-flex; align-items: center; gap: 2px; }
.brand span { color: var(--coral); }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-left: 3px; margin-top: -12px; }
.brand-light { color: #fff; }
.brand-light span { color: var(--lime); }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-right: auto; }
.main-nav a:hover { color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.lang-btn { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 10px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.lang-btn:hover { border-color: var(--ink); }
.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.user-label { font-size: .78rem; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.dropdown { display: none; position: absolute; right: 0; top: calc(100% + 12px); min-width: 210px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-soft); }
.dropdown.open { display: block; }
.dropdown a, .dropdown .link-button { display: block; padding: 9px 11px; border-radius: 9px; font-size: .86rem; font-weight: 600; }
.dropdown a:hover, .dropdown .link-button:hover { background: var(--paper); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 6px; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Alerts */
.demo-banner { background: #FFF4E5; color: #9A3412; border-bottom: 1px solid #FED7AA; text-align: center; padding: 8px 14px; font-size: .76rem; font-weight: 600; }
.alert { border-radius: 12px; padding: 13px 16px; margin: 14px 0; font-size: .86rem; border: 1px solid transparent; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #ABEFC6; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #FECDCA; }
.alert-warning { background: var(--warning-bg); color: var(--warning); border-color: #FEDF89; }
.alert a { text-decoration: underline; }

/* Hero */
.hero { padding: 58px 0 70px; overflow: hidden; background: radial-gradient(circle at 80% 10%, rgba(200,241,105,.40), transparent 26%), radial-gradient(circle at 10% 0%, rgba(255,90,60,.12), transparent 30%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.hero-copy h1 { max-width: 760px; margin-bottom: 22px; }
.hero-sub { color: var(--ink-soft); font-size: 1.1rem; max-width: 610px; margin-bottom: 26px; }
.hero-search { display: grid; grid-template-columns: 1fr 180px auto; gap: 8px; background: var(--white); border: 1px solid var(--line); padding: 8px; border-radius: 999px; box-shadow: var(--shadow-soft); max-width: 700px; }
.search-field { display: flex; align-items: center; gap: 10px; padding-left: 14px; }
.search-field svg { width: 19px; height: 19px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-field input { border: 0; outline: 0; width: 100%; background: transparent; padding: 10px 0; font-size: .91rem; }
.hero-search select { border: 0; outline: 0; background: transparent; font-size: .88rem; padding: 0 10px; color: var(--ink-soft); border-left: 1px solid var(--line); }
.hero-tags { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: .82rem; font-weight: 700; }
.hero-tags a { color: var(--ink-soft); border-bottom: 1px solid transparent; }
.hero-tags a:hover { color: var(--coral); border-color: var(--coral); }
.hero-art { position: relative; min-height: 440px; }
.art-map { position: absolute; inset: 20px 10px 20px 30px; border-radius: 28px; background: linear-gradient(140deg, #E6E0D2, #F9F7F2); box-shadow: inset 0 0 0 1px rgba(16,24,40,.06), var(--shadow); overflow: hidden; }
.art-map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(16,24,40,.18) 1px, transparent 1px); background-size: 22px 22px; opacity: .45; }
.map-pin { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--coral); transform: rotate(-45deg); box-shadow: 0 8px 18px rgba(255,90,60,.4); }
.map-pin::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; inset: 6px; }
.pin-1 { left: 24%; top: 32%; }
.pin-2 { left: 62%; top: 22%; background: var(--violet); }
.pin-3 { left: 48%; top: 62%; background: var(--ink); }
.map-line { position: absolute; height: 2px; background: rgba(16,24,40,.2); transform-origin: left center; }
.line-1 { left: 28%; top: 36%; width: 38%; transform: rotate(-16deg); }
.line-2 { left: 50%; top: 59%; width: 34%; transform: rotate(28deg); }
.floating-ticket { position: absolute; background: var(--white); border: 1px solid rgba(16,24,40,.08); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.floating-ticket .ticket-kicker { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--coral); font-weight: 800; }
.floating-ticket strong { font-size: 1rem; }
.floating-ticket span:last-child { font-size: .76rem; color: var(--muted); }
.ticket-a { right: 18px; top: 60px; width: 230px; transform: rotate(4deg); }
.ticket-b { left: 0; bottom: 46px; width: 210px; transform: rotate(-5deg); }
.hero-badge { position: absolute; right: 22px; bottom: 26px; background: var(--ink); color: var(--lime); border-radius: 999px; padding: 9px 15px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }

/* Sections */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-head h2 { margin-bottom: 6px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.category-card { display: flex; align-items: center; gap: 11px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px; transition: .18s; }
.category-card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-soft); }
.category-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--cat) 22%, white); color: var(--ink); font-weight: 800; }
.category-card strong { display: block; font-size: .9rem; }
.category-card small { color: var(--muted); font-size: .72rem; }
.category-card .arrow { margin-left: auto; color: var(--muted); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-cover { position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: #DED8CA; }
.event-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,40,.05), rgba(16,24,40,.35)); }
.date-badge { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--white); border-radius: 12px; padding: 7px 9px; display: flex; flex-direction: column; align-items: center; min-width: 46px; box-shadow: 0 8px 18px rgba(16,24,40,.18); }
.date-badge strong { font-family: Manrope, sans-serif; font-size: 1.1rem; line-height: 1; }
.date-badge span { font-size: .62rem; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.category-chip { position: absolute; z-index: 2; right: 12px; top: 12px; background: color-mix(in srgb, var(--chip) 82%, white); color: var(--ink); border-radius: 999px; padding: 5px 10px; font-size: .65rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.external-chip { position: absolute; z-index: 2; left: 12px; bottom: 12px; background: rgba(16,24,40,.82); color: #fff; border-radius: 999px; padding: 4px 9px; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.event-body { padding: 17px 18px 18px; }
.event-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.event-meta, .event-venue { color: var(--muted); font-size: .78rem; margin: 0 0 4px; }
.event-venue { margin-bottom: 14px; }
.event-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.price-from { font-size: .78rem; color: var(--muted); }
.price-from strong { color: var(--ink); font-size: .95rem; }
.arrow { color: var(--coral); font-weight: 800; }
.venue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.venue-grid-large { grid-template-columns: repeat(2, 1fr); }
.venue-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.venue-cover { aspect-ratio: 16 / 7; background-size: cover; background-position: center; background-color: #DED8CA; }
.venue-info { padding: 15px 17px 17px; }
.venue-info strong { display: block; font-size: 1rem; }
.venue-info span, .venue-info small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-highlight { background: var(--ink); color: #fff; border-color: var(--ink); }
.step-highlight p { color: rgba(255,255,255,.7); }
.step-num { display: inline-block; font-family: Manrope, sans-serif; font-weight: 800; font-size: .8rem; color: var(--coral); margin-bottom: 24px; }
.step-highlight .step-num { color: var(--lime); }
.cta-band { background: var(--ink); color: #fff; border-radius: 26px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background-image: radial-gradient(circle at 80% 20%, rgba(200,241,105,.18), transparent 30%); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.65); margin: 0; max-width: 600px; }
.empty-state { background: rgba(255,255,255,.6); border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; text-align: center; }
.empty-state h1, .empty-state h3 { margin-bottom: 10px; }
.empty-state .btn { margin-top: 10px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); margin-top: 40px; padding-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; padding-bottom: 36px; }
.footer-grid h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid a { display: block; padding: 3px 0; font-size: .84rem; }
.footer-grid a:hover { color: var(--lime); }
.footer-brand p { max-width: 300px; font-size: .84rem; margin-top: 14px; }
.footer-small { font-size: .72rem !important; color: rgba(255,255,255,.45) !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 24px; font-size: .74rem; color: rgba(255,255,255,.45); }

/* Page header / filters */
.page-hero { padding: 48px 0 30px; background: radial-gradient(circle at 88% 0%, rgba(200,241,105,.30), transparent 28%); }
.page-hero-compact { padding: 34px 0 20px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.filter-bar { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto auto; gap: 8px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 8px; margin-top: 22px; box-shadow: var(--shadow-soft); }
.filter-search { display: flex; align-items: center; gap: 8px; padding-left: 10px; }
.filter-search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.filter-search input { border: 0; outline: 0; width: 100%; padding: 11px 0; background: transparent; }
.filter-bar select { border: 0; outline: 0; background: transparent; padding: 11px 6px; color: var(--ink-soft); border-left: 1px solid var(--line); font-size: .84rem; }
.results-head { display: flex; justify-content: space-between; margin-bottom: 18px; color: var(--muted); font-size: .86rem; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pager-btn { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font-size: .82rem; font-weight: 700; }
.pager-btn:hover { border-color: var(--ink); }
.pager-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Event map */
.event-map-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; margin-bottom: 26px; box-shadow: var(--shadow-soft); }
.event-map { height: 410px; border-radius: 12px; z-index: 0; background: #E8E2D5; }
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 10px 6px 2px; color: var(--muted); font-size: .72rem; }
.map-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); margin-right: 5px; }
.map-dot.external { background: var(--violet); box-shadow: 0 0 0 2px var(--lime); }
.map-popup { display: flex; flex-direction: column; gap: 3px; font-size: .78rem; min-width: 180px; }
.map-popup strong { font-size: .88rem; color: var(--ink); }
.map-popup span { color: var(--muted); }
.map-popup .map-price { color: var(--ink); font-weight: 700; }
.map-popup a { color: var(--violet); font-weight: 700; margin-top: 4px; }
.map-empty { position: absolute; inset: 10px; display: grid; place-items: center; color: var(--muted); background: rgba(255,255,255,.75); border-radius: 12px; font-size: .85rem; }
.leaflet-container { font-family: Inter, "Segoe UI", Arial, sans-serif; }
.external-notice { display: flex; flex-direction: column; gap: 5px; }
.external-notice a { font-weight: 700; text-decoration: underline; }

/* Event detail */
.event-hero { min-height: 430px; display: flex; align-items: end; background: linear-gradient(180deg, rgba(16,24,40,.10), rgba(16,24,40,.82)), var(--event-cover) center/cover; color: #fff; padding: 70px 0 40px; }
.event-hero-content { max-width: 820px; }
.event-hero .category-chip { position: static; display: inline-flex; margin-bottom: 16px; }
.event-hero h1 { color: #fff; margin-bottom: 18px; }
.event-hero-meta { display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,.86); font-size: .9rem; }
.meta-item { display: flex; align-items: center; gap: 8px; }
.meta-icon { font-style: normal; color: var(--lime); }
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 30px; align-items: start; }
.event-main { min-width: 0; }
.event-intro { font-size: 1.03rem; color: var(--ink-soft); margin-bottom: 26px; }
.rich-text { white-space: pre-line; }
.source-line { font-size: .76rem; color: var(--muted); margin: 8px 0 0; }
.source-line a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.panel-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 18px; }
.panel-head h2, .panel-head h3 { margin-bottom: 4px; }
.max-hint { font-size: .75rem; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 7px 11px; white-space: nowrap; }
.seat-map-wrap { position: relative; background: linear-gradient(180deg, #FBF9F4, #F3EFE5); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 12px; overflow: auto; }
.stage-bar { background: var(--ink); color: var(--lime); text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .18em; border-radius: 999px; padding: 8px 12px; margin: 0 auto 22px; max-width: 70%; }
.seat-map { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; min-height: 360px; }
.seat { position: absolute; width: clamp(13px, 1.9%, 24px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(16,24,40,.22); border-radius: 50% 50% 42% 42%; background: color-mix(in srgb, var(--seat-color) 24%, white); padding: 0; transition: transform .12s, background .12s; }
.seat .seat-dot { display: block; width: 35%; height: 35%; margin: 32% auto 0; border-radius: 50%; background: var(--seat-color); opacity: .75; }
.seat.available:hover { transform: translate(-50%, -50%) scale(1.35); background: color-mix(in srgb, var(--seat-color) 55%, white); z-index: 3; }
.seat.selected { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,90,60,.22); z-index: 4; }
.seat.selected .seat-dot { background: #fff; opacity: 1; }
.seat.sold, .seat.held, .seat.blocked { background: #D7D2C7; border-color: #C3BDB0; opacity: .55; cursor: not-allowed; }
.seat.sold .seat-dot, .seat.held .seat-dot, .seat.blocked .seat-dot { background: #9B9589; }
.seat.accessible::after { content: "♿"; position: absolute; right: -6px; top: -10px; font-size: 8px; background: var(--white); border-radius: 50%; padding: 1px 2px; }
.seat-legend { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 16px; font-size: .76rem; color: var(--muted); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-item i { width: 10px; height: 10px; border-radius: 50%; background: var(--legend); display: inline-block; }
.legend-sold { background: #D7D2C7 !important; }
.ga-list { display: flex; flex-direction: column; }
.ga-row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; border-top: 1px solid var(--line); padding: 18px 0; }
.ga-row:first-child { border-top: 0; }
.ga-row p { color: var(--muted); font-size: .82rem; margin: 4px 0; }
.ga-price { font-weight: 800; }
.benefit-list { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: .78rem; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-control button { border: 0; background: var(--paper); width: 34px; height: 34px; font-size: 1rem; }
.qty-control input { width: 42px; border: 0; text-align: center; background: #fff; height: 34px; -moz-appearance: textfield; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.small-warning { color: var(--danger); font-size: .75rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.detail-grid span { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.detail-grid strong { font-size: .92rem; }
.event-extra { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.event-extra .panel-card { margin-bottom: 0; }
.venue-aside p { color: var(--muted); font-size: .84rem; }
.booking-aside { position: sticky; top: 96px; }
.booking-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); }
.booking-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.booking-head h3 { font-size: 1.4rem; margin: 0; }
.selected-box { max-height: 260px; overflow: auto; margin-bottom: 14px; }
.selected-empty { color: var(--muted); font-size: .82rem; margin: 0; }
.selected-seat-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.selected-seat-row strong { display: block; font-size: .86rem; }
.selected-seat-row span { display: block; color: var(--muted); font-size: .74rem; }
.selected-seat-row > div:last-child { display: flex; align-items: center; gap: 8px; }
.remove-seat { border: 0; background: transparent; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .86rem; color: var(--muted); }
.summary-line strong { color: var(--ink); }
.total-line { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 13px; font-size: 1rem; color: var(--ink); font-weight: 700; }
.total-line strong { font-size: 1.2rem; }
.discount, .discount strong { color: var(--success); }
.vat-line { font-size: .72rem; }
.field-label { display: block; font-size: .75rem; font-weight: 700; margin: 12px 0 5px; }
.field-label span { color: var(--muted); font-weight: 500; }
.secure-note { text-align: center; color: var(--muted); font-size: .7rem; margin: 10px 0 0; }
.booking-perks { display: flex; flex-direction: column; gap: 7px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: .75rem; color: var(--muted); }
.trust-card { background: var(--paper-2); border-radius: 16px; padding: 18px; margin-top: 14px; }
.trust-card strong { font-size: .82rem; }
.trust-card p { color: var(--muted); font-size: .74rem; margin: 6px 0 0; }
.sold-out-box { background: var(--danger-bg); color: var(--danger); border-radius: 12px; padding: 16px; text-align: center; font-weight: 700; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 600; }
.field > span { color: var(--ink-soft); }
.field small { color: var(--muted); font-weight: 400; }
.input { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 11px 12px; outline: 0; color: var(--ink); font-size: .9rem; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16,24,40,.06); }
.input-sm { padding: 7px 9px; font-size: .8rem; }
.textarea { resize: vertical; min-height: 80px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-full { grid-column: 1 / -1; }
.field-inline { min-width: 92px; }
.check-row { display: flex; align-items: flex-start; gap: 9px; font-size: .82rem; color: var(--ink-soft); margin: 14px 0; }
.check-row input { margin-top: 3px; accent-color: var(--coral); }
.form-actions { display: flex; gap: 10px; margin-top: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-form { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.inline-form.tight { border: 0; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.inline-form h4 { margin-bottom: 10px; }
.form-section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.form-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }

/* Checkout */
.checkout-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .76rem; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.checkout-steps .done { color: var(--success); }
.checkout-steps .active { color: var(--coral); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.checkout-aside { position: sticky; top: 96px; }
.invoice-section { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.invoice-section h3 { font-size: 1rem; }
.discount-row { display: flex; gap: 8px; margin-top: 16px; }
.discount-row .input { flex: 1; }
.countdown { font-size: .76rem; font-weight: 800; color: var(--coral); background: #FFF4F0; border-radius: 999px; padding: 7px 10px; white-space: nowrap; }
.countdown.expired { color: var(--danger); background: var(--danger-bg); }
.order-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .82rem; }
.order-item:first-of-type { border-top: 0; }
.order-item strong { display: block; }
.order-item span { color: var(--muted); font-size: .74rem; }
.order-card h3 { font-size: 1.05rem; }

/* Auth */
.auth-page { min-height: 70vh; display: grid; place-items: center; padding: 50px 0; background: radial-gradient(circle at 80% 10%, rgba(200,241,105,.3), transparent 30%); }
.auth-card { width: min(480px, calc(100% - 40px)); background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-soft); }
.auth-card-wide { width: min(760px, calc(100% - 40px)); }
.auth-card h1 { font-size: 2rem; }
.auth-card form { margin-top: 18px; }
.auth-card .field { margin-bottom: 13px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .78rem; }
.auth-foot { text-align: center; color: var(--muted); font-size: .82rem; margin: 18px 0 0; }
.auth-foot a { color: var(--ink); font-weight: 700; }
.role-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 18px; }
.role-option { border: 1px solid var(--line); border-radius: 12px; padding: 11px; display: flex; gap: 8px; cursor: pointer; }
.role-option:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.role-option input { margin-top: 3px; accent-color: var(--coral); }
.role-option strong { display: block; font-size: .82rem; }
.role-option small { color: var(--muted); font-size: .68rem; line-height: 1.4; display: block; }
.business-fields { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; }

/* Panels */
.panel-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; align-items: start; }
.panel-sidebar { background: var(--ink); color: rgba(255,255,255,.72); border-radius: 20px; padding: 20px 14px; position: sticky; top: 96px; }
.panel-brand { color: #fff; font-family: Manrope, sans-serif; font-weight: 800; font-size: 1.2rem; padding: 0 10px 18px; }
.panel-brand span { color: var(--lime); }
.panel-nav { display: flex; flex-direction: column; gap: 2px; }
.panel-nav-group { color: rgba(255,255,255,.38); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; margin: 14px 10px 5px; }
.panel-nav a { color: rgba(255,255,255,.75); padding: 9px 10px; border-radius: 9px; font-size: .82rem; font-weight: 600; }
.panel-nav a:hover, .panel-nav a.active { background: rgba(255,255,255,.10); color: #fff; }
.panel-main { min-width: 0; }
.panel-top { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 22px; }
.panel-top h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 4px; }
.panel-top p { margin: 0; }
.panel-card h2 { font-size: 1.25rem; }
.panel-card h3 { font-size: 1.05rem; }
.panel-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 17px; }
.stat-card span { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.stat-card strong { display: block; font-family: Manrope, sans-serif; font-size: 1.55rem; margin: 5px 0 2px; letter-spacing: -.04em; }
.stat-card small { color: var(--muted); font-size: .7rem; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.list-row strong { display: block; font-size: .88rem; }
.list-row span { display: block; color: var(--muted); font-size: .74rem; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.data-table th { text-align: left; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 11px 9px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.table-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.status-pill { display: inline-block; border-radius: 999px; padding: 3px 8px; background: var(--paper-2); color: var(--ink-soft); font-size: .68rem; font-weight: 800; }
.status-pill.success { background: var(--success-bg); color: var(--success); }
.type-pill { display: inline-block; border-radius: 999px; padding: 2px 7px; background: color-mix(in srgb, var(--pill) 20%, white); font-size: .66rem; font-weight: 700; margin: 1px 2px; }
.hall-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.hall-row:first-child { border-top: 0; }
.hall-row strong { display: block; font-size: .86rem; }
.hall-row span { display: block; color: var(--muted); font-size: .74rem; }
.venue-admin-card { padding: 20px; }
.venue-admin-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.venue-admin-head h3 { margin-bottom: 3px; }
.venue-admin-head p { color: var(--muted); font-size: .8rem; }
.hall-list { margin-top: 14px; }
.benefit-package { border-top: 1px solid var(--line); padding: 10px 0; }
.benefit-package:first-of-type { border-top: 0; }
.benefit-package span { display: block; color: var(--muted); font-size: .78rem; }
.benefit-package ul { margin: 6px 0 0; padding-left: 18px; font-size: .78rem; color: var(--ink-soft); }
.booking-card { padding: 20px; }
.booking-card-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.connect-status { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.connect-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: Manrope, sans-serif; font-size: 1.5rem; font-weight: 800; }
.stats-inline { display: flex; flex-wrap: wrap; gap: 18px; font-size: .82rem; color: var(--muted); }
.stats-inline strong { color: var(--ink); }

/* Seat editor */
.editor-toolbar { padding: 14px; }
.editor-toolbar-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 8px; }
.editor-toolbar-row:last-child { margin-bottom: 0; }
.editor-status { margin-left: auto; color: var(--muted); font-size: .78rem; }
.editor-save-status { color: var(--muted); font-size: .76rem; margin-left: 6px; }
.editor-panel { padding: 12px; }
.editor-canvas-wrap { overflow: auto; max-height: 70vh; border: 1px solid var(--line); border-radius: 12px; background: #F3EFE5; }
.editor-canvas { position: relative; background-image: radial-gradient(rgba(16,24,40,.10) 1px, transparent 1px); background-size: 20px 20px; min-width: 100%; }
.editor-stage { position: sticky; top: 0; z-index: 1; margin: 14px auto 0; max-width: 60%; text-align: center; background: var(--ink); color: var(--lime); border-radius: 999px; padding: 7px 12px; font-size: .68rem; letter-spacing: .16em; font-weight: 800; }
.editor-seat { position: absolute; width: 26px; height: 26px; transform: translate(-50%, -50%); border-radius: 50% 50% 40% 40%; border: 1px solid rgba(16,24,40,.28); background: color-mix(in srgb, var(--seat-color) 30%, white); color: var(--ink); font-size: .55rem; font-weight: 800; display: grid; place-items: center; padding: 0; cursor: grab; user-select: none; touch-action: none; }
.editor-seat.selected { outline: 3px solid var(--coral); z-index: 4; }
.editor-seat.accessible::after { content: "♿"; position: absolute; right: -7px; top: -8px; font-size: 8px; }
.editor-seat:hover { z-index: 3; box-shadow: 0 2px 8px rgba(16,24,40,.25); }
#editor-add-mode.active { background: var(--coral); color: #fff; border-color: var(--coral); }

/* Scan */
.scan-card { max-width: 680px; }
.scan-form { display: flex; gap: 8px; margin-bottom: 12px; }
.scan-input { font-family: monospace; font-size: 1rem; }
.scanner-preview { margin-top: 12px; border-radius: 12px; overflow: hidden; background: #000; }
.scan-result { margin-top: 16px; border-radius: 12px; padding: 15px; border: 1px solid var(--line); }
.scan-result.success { background: var(--success-bg); border-color: #ABEFC6; color: var(--success); }
.scan-result.warning { background: var(--warning-bg); border-color: #FEDF89; color: var(--warning); }
.scan-result.error { background: var(--danger-bg); border-color: #FECDCA; color: var(--danger); }
.ticket-scan-info { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; font-size: .8rem; }

/* Success */
.success-page { padding: 50px 0 70px; background: radial-gradient(circle at 50% 0%, rgba(200,241,105,.32), transparent 34%); }
.success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; margin-bottom: 18px; }
.success-page h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.success-order { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 24px 0; }
.success-order span { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.success-order strong { font-size: .92rem; }
.ticket-stack { display: flex; flex-direction: column; gap: 12px; }
.ticket-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; align-items: center; }
.ticket-info h3 { margin-bottom: 5px; }
.ticket-info p { margin: 0 0 5px; color: var(--muted); font-size: .82rem; }
.ticket-seat { font-weight: 700; color: var(--ink) !important; }
.ticket-code { font-family: monospace; font-size: .78rem !important; }
.ticket-qr { text-align: center; }
.ticket-qr img { border-radius: 8px; }
.ticket-qr small { display: block; color: var(--muted); font-size: .65rem; margin-top: 4px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.info-box { background: var(--paper-2); border-radius: 14px; padding: 18px; margin-top: 18px; }
.info-box h4 { margin-bottom: 5px; }
.info-box p { color: var(--muted); font-size: .82rem; margin: 0; }
.processing-box { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 50px 30px; }
.spinner { width: 38px; height: 38px; border: 3px solid var(--line); border-top-color: var(--coral); border-radius: 50%; margin: 0 auto 20px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.legal-content h2 { margin-top: 1.2em; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.detail-columns { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.venue-hero { min-height: 340px; display: flex; align-items: end; color: #fff; padding: 60px 0 34px; background: linear-gradient(180deg, rgba(16,24,40,.15), rgba(16,24,40,.82)), var(--venue-cover) center/cover; }
.venue-hero h1 { color: #fff; margin-bottom: 8px; }
.venue-sub { color: rgba(255,255,255,.8); margin: 0; }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; background: var(--ink); color: rgba(255,255,255,.8); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow); font-size: .76rem; max-width: 900px; margin: 0 auto; }
.cookie-banner .btn { color: var(--ink); }

/* Launch progress */
.progress-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: linear-gradient(120deg, #FFFFFF, #F7F5F0); }
.progress-hero h2 { font-size: 2.6rem; margin: 0; }
.progress-ring { --size: 120px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; font-family: Manrope, sans-serif; font-size: 1.4rem; font-weight: 800; background: conic-gradient(var(--coral) calc(var(--progress) * 1%), var(--paper-2) 0); position: relative; flex: 0 0 auto; }
.progress-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--white); }
.progress-ring { isolation: isolate; }
.progress-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--white); z-index: -1; }
.checklist { display: flex; flex-direction: column; }
.progress-item { border-top: 1px solid var(--line); padding: 13px 0; margin: 0; align-items: center; }
.progress-item:first-child { border-top: 0; }
.check-mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; background: var(--paper-2); color: var(--muted); }
.progress-item.done .check-mark { background: var(--success-bg); color: var(--success); }
.progress-item.blocker .check-mark { background: var(--danger-bg); color: var(--danger); }
.check-copy { flex: 1; }
.check-copy strong { display: block; font-size: .88rem; }
.check-copy span { display: block; color: var(--muted); font-size: .76rem; }
.progress-notes { margin: 0; padding-left: 18px; color: var(--muted); font-size: .84rem; line-height: 1.7; }
@media (max-width: 760px) { .progress-hero { flex-direction: column; align-items: start; } }

/* Responsive */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { display: none; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .event-grid { grid-template-columns: repeat(2, 1fr); }
    .event-layout, .checkout-layout, .detail-columns { grid-template-columns: 1fr; }
    .booking-aside, .checkout-aside { position: static; }
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .filter-search { grid-column: 1 / -1; }
    .panel-shell { grid-template-columns: 1fr; }
    .panel-sidebar { position: static; }
    .panel-nav { flex-direction: row; flex-wrap: wrap; }
    .panel-nav-group { width: 100%; margin: 8px 6px 3px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .container, .container.narrow { width: calc(100% - 28px); }
    .section { padding: 46px 0; }
    .section-tight { padding: 24px 0 46px; }
    .header-inner { min-height: 66px; gap: 12px; }
    .main-nav { display: none; position: absolute; left: 14px; right: 14px; top: 66px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px; flex-direction: column; align-items: stretch; gap: 2px; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 10px 12px; border-radius: 8px; }
    .main-nav a:hover { background: var(--paper); }
    .menu-toggle { display: block; }
    .header-actions .user-label { display: none; }
    .header-actions .btn-ghost { display: none; }
    .hero { padding: 34px 0 46px; }
    .hero-search { grid-template-columns: 1fr; border-radius: 18px; }
    .hero-search select { border-left: 0; border-top: 1px solid var(--line); padding: 11px; }
    .hero-search .btn { width: 100%; }
    .section-head { align-items: start; flex-direction: column; gap: 12px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .event-grid, .venue-grid, .venue-grid-large { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: start; padding: 26px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; }
    .filter-bar { grid-template-columns: 1fr; }
    .filter-bar select { border-left: 0; border-top: 1px solid var(--line); }
    .event-hero { min-height: 330px; padding: 40px 0 30px; }
    .event-hero-meta { flex-direction: column; gap: 8px; }
    .seat-map { min-height: 260px; }
    .seat { width: clamp(10px, 3.2%, 20px); }
    .ga-row { grid-template-columns: 1fr; gap: 10px; }
    .detail-grid { grid-template-columns: 1fr; }
    .event-extra { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .role-picker { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .panel-grid-2 { grid-template-columns: 1fr; }
    .success-order { grid-template-columns: 1fr; }
    .ticket-card { grid-template-columns: 1fr; }
    .ticket-qr { text-align: left; }
    .scan-form { flex-direction: column; }
    .editor-toolbar-row { align-items: stretch; }
    .field-inline { min-width: 45%; flex: 1; }
    .editor-canvas-wrap { max-height: 60vh; }
    .venue-admin-head { flex-direction: column; }
    .panel-top { flex-direction: column; }
}
