:root {
  color-scheme: light;
  --navy-950: #07101f;
  --navy-900: #0b1629;
  --navy-800: #12213b;
  --navy-700: #20314e;
  --ink: #10182c;
  --ink-soft: #46506a;
  --muted: #6b7389;
  --purple: #6557f2;
  --purple-dark: #4d40d4;
  --purple-pale: #f0efff;
  --green: #18a86b;
  --green-pale: #e8f8f1;
  --amber: #b86914;
  --amber-pale: #fff5df;
  --red: #b23a47;
  --red-pale: #fff0f2;
  --line: #e3e6ee;
  --line-dark: #cbd1dd;
  --soft: #f6f7fb;
  --white: #fff;
  --shadow-sm: 0 8px 26px rgba(16, 24, 44, .08);
  --shadow-lg: 0 28px 80px rgba(1, 8, 24, .28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --content: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 300px; overflow-x: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.5; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(101, 87, 242, .4); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; color: var(--white); background: var(--purple); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.top { position: sticky; z-index: 50; top: 0; display: flex; min-height: 70px; align-items: center; gap: 12px; padding: 10px max(18px, env(safe-area-inset-left)) 10px max(18px, env(safe-area-inset-right)); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(7, 16, 31, .96); backdrop-filter: blur(16px); }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 10px; margin-right: auto; }
.brand-logo { flex: 0 1 auto; }
.brand-logo img { display: block; width: 92px; height: auto; flex: 0 0 auto; border-radius: 8px; background: var(--white); }
.brand > span:last-child { min-width: 0; }
.brand strong { display: block; font-size: 21px; line-height: 1.1; letter-spacing: -.02em; }
.brand small { display: none; margin-top: 3px; overflow: hidden; color: #bfc8da; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.mark { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; color: var(--white); border-radius: 11px; background: linear-gradient(145deg, #8378ff, #5140dc); box-shadow: 0 8px 20px rgba(92, 72, 232, .3); font-size: 24px; font-weight: 900; }
.top nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 8px 18px 20px; border-bottom: 1px solid #20304a; background: var(--navy-950); box-shadow: 0 18px 30px rgba(0,0,0,.28); }
.top nav.open { display: grid; }
.top nav a { padding: 13px 4px; color: #e3e8f4; border-bottom: 1px solid rgba(255,255,255,.07); font-weight: 650; }
.icon-button { display: inline-grid; width: 40px; height: 40px; padding: 0; place-items: center; cursor: pointer; border: 0; border-radius: 10px; background: transparent; }
.nav-toggle { gap: 4px; padding: 10px; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); }
.lang { position: relative; }
.lang > button { min-width: 47px; padding: 9px 8px; cursor: pointer; color: var(--white); border: 1px solid #34415a; border-radius: 10px; background: #17243a; font-size: 13px; font-weight: 800; }
.menu { position: absolute; z-index: 60; top: calc(100% + 10px); right: 0; width: 154px; padding: 6px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-lg); }
.menu button { display: block; width: 100%; padding: 10px 11px; cursor: pointer; text-align: left; color: var(--ink); border: 0; border-radius: 8px; background: transparent; }
.menu button:hover, .menu button:focus-visible { background: var(--purple-pale); }

.flow-notice { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; color: #124631; border-bottom: 1px solid #bfe7d4; background: var(--green-pale); }
.flow-notice > div { display: grid; gap: 2px; }
.flow-notice strong { font-size: 14px; }
.flow-notice span { font-size: 13px; }
.flow-notice .icon-button { flex: 0 0 auto; font-size: 24px; }

.hero { position: relative; display: grid; gap: 34px; min-height: 620px; padding: 50px 18px 78px; overflow: hidden; color: var(--white); background: radial-gradient(circle at 88% 8%, #1a3762 0, transparent 42%), radial-gradient(circle at 12% 70%, rgba(92,72,232,.22), transparent 35%), var(--navy-950); }
.hero::after { position: absolute; right: -130px; bottom: -190px; width: 430px; height: 430px; content: ""; border: 1px solid rgba(137,123,255,.14); border-radius: 50%; box-shadow: 0 0 0 55px rgba(137,123,255,.025), 0 0 0 110px rgba(137,123,255,.018); }
.hero-copy, .hero-card { position: relative; z-index: 1; }
.pill, .eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--purple); font-size: 12px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.pill { padding: 7px 10px; color: #dff7ed; border: 1px solid #273955; border-radius: 999px; background: rgba(17,33,58,.75); letter-spacing: .025em; text-transform: none; }
.pill::before { width: 7px; height: 7px; content: ""; border-radius: 50%; background: #42d899; box-shadow: 0 0 0 4px rgba(66,216,153,.1); }
.hero h1 { max-width: 780px; margin: 20px 0 18px; font-size: clamp(39px, 12vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 em { color: #9286ff; font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 0; color: #c6cfdf; font-size: 17px; line-height: 1.62; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
.cta, .outline, .ghost { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 12px 18px; cursor: pointer; text-align: center; border: 1px solid transparent; border-radius: 10px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.cta { color: var(--white); background: linear-gradient(135deg, #7365ff, #5847e5); box-shadow: 0 10px 24px rgba(83,67,220,.25); }
.cta:hover { transform: translateY(-1px); box-shadow: 0 13px 30px rgba(83,67,220,.34); }
.cta:disabled { cursor: wait; opacity: .65; transform: none; }
.outline { color: var(--purple-dark); border-color: #cfcafc; background: var(--white); }
.outline:hover { background: var(--purple-pale); }
.outline.small { min-height: 38px; padding: 8px 13px; font-size: 13px; }
.secondary-link { align-self: center; padding: 8px; color: #d6dced; font-weight: 750; }
.secondary-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-proof { display: flex; gap: 22px; margin-top: 32px; }
.hero-proof span { display: grid; gap: 1px; padding-right: 20px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-proof span:last-child { padding-right: 0; border-right: 0; }
.hero-proof b { font-size: 19px; }
.hero-proof small { color: #aeb9cd; font-size: 11px; }
.hero-card { align-self: center; padding: 23px; overflow: hidden; border: 1px solid #334560; border-radius: 20px; background: linear-gradient(145deg, rgba(31,49,79,.95), rgba(16,31,57,.95)); box-shadow: var(--shadow-lg); }
.hero-card::after { position: absolute; top: -85px; right: -85px; width: 190px; height: 190px; content: ""; border-radius: 50%; background: rgba(119,101,255,.16); filter: blur(2px); }
.hero-event-image { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 19px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: var(--white); }
.hero-event-image .event-image { width: 100%; height: 100%; }
.hero-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; color: #ffe0e4; border-radius: 8px; background: #673845; font-size: 12px; font-weight: 800; }
.hero-saving { color: #bdf5dc; font-size: 13px; font-weight: 850; }
.hero-kicker { margin: 24px 0 7px; color: #9b91ff !important; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hero-card h2 { margin: 0 0 9px; font-size: clamp(24px, 8vw, 34px); line-height: 1.12; letter-spacing: -.025em; }
.hero-card p { color: #cbd3e3; }
.hero-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ghost { min-height: 42px; margin-top: 8px; color: var(--white); border-color: #465b7a; background: rgba(255,255,255,.03); }
.ghost:hover { background: rgba(255,255,255,.08); }

.searchbar { position: relative; z-index: 5; display: grid; gap: 10px; width: calc(100% - 24px); max-width: var(--content); margin: -34px auto 0; padding: 13px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); box-shadow: 0 18px 55px rgba(7, 16, 31, .14); }
.field { position: relative; }
.field select, .field input, #subForm input, #subForm select, #preferencesForm input, #preferencesForm select, .admin-view input, .admin-view select, .admin-view textarea, .editor-modal input, .editor-modal select, .editor-modal textarea { width: 100%; min-height: 46px; padding: 11px 12px; color: var(--ink); border: 1px solid #dce0e8; border-radius: 9px; background: var(--white); }
.field select, select { cursor: pointer; }
.search-field input { padding-left: 39px; }
.search-icon { position: absolute; z-index: 1; top: 50%; left: 14px; transform: translateY(-50%); color: var(--muted); font-size: 22px; }

.quick-section, .section, .recommendations, .newsletter, .benefits, .about { width: calc(100% - 36px); max-width: var(--content); margin-right: auto; margin-left: auto; }
.quick-section { padding-top: 56px; }
.compact-intro { margin-bottom: 20px; text-align: center; }
.section-intro h2, .newsletter h2, .recommendations h2, .about h2 { margin: 7px 0 9px; font-size: clamp(28px, 8vw, 40px); line-height: 1.12; letter-spacing: -.035em; }
.section-intro p { margin: 0; color: var(--muted); }
.categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.categories button { display: grid; min-height: 112px; place-content: center; gap: 8px; padding: 13px 7px; cursor: pointer; color: var(--ink); border: 1px solid transparent; border-radius: 13px; background: var(--white); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.categories button:hover, .categories button.active { transform: translateY(-2px); border-color: #d4cffb; box-shadow: var(--shadow-sm); }
.categories button > span { color: var(--purple); font-size: 26px; font-weight: 850; }
.categories button b { font-size: 12px; line-height: 1.28; }

.events-section { padding-top: 72px; }
.top-acts-section { margin-top: 72px; padding: 30px 20px; color: var(--white); border-radius: var(--radius-lg); background: radial-gradient(circle at 90% 0, rgba(110,91,246,.4), transparent 40%), linear-gradient(135deg, #081426, #172848); box-shadow: var(--shadow-lg); }
.top-acts-section .section-intro h2 { color: var(--white); }
.top-acts-section .section-intro p { max-width: 720px; color: #c8d2e2; }
.top-acts-section .eyebrow.light { color: #a9f0d1; }
.top-acts-count { color: #dce4f1; background: rgba(255,255,255,.1); }
.top-acts-filters { margin-top: 22px; }
.top-acts-filters button { color: #dce4f1; border-color: #3c4e69; background: rgba(7,16,31,.42); }
.top-acts-filters button:hover, .top-acts-filters button.active { border-color: #8f82ff; background: #6557f2; }
.top-acts-hint { color: #b8c5d8; }
.top-acts-grid .card { border-color: rgba(255,255,255,.12); color: var(--ink); }
.top-act-card .card-visual { background: linear-gradient(135deg, #342f78, #7755dc 55%, #18a86b); }
.top-act-badges { position: relative; z-index: 2; display: flex; max-width: calc(100% - 45px); flex-wrap: wrap; gap: 6px; }
.top-act-badge { padding: 5px 8px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(7,16,31,.72); backdrop-filter: blur(6px); font-size: 10px; font-weight: 850; }
.top-act-badge.badge-free { color: #e6fff4; background: rgba(8,126,79,.88); }
.top-act-badge.badge-top { color: #fff2bc; background: rgba(92,60,10,.86); }
.artist-line { margin: -2px 0 0; color: #4337bd; font-size: 12px; font-weight: 850; }
.top-acts-empty { color: var(--ink); background: var(--white); }
.section-head { display: grid; gap: 12px; }
.result-count { justify-self: start; padding: 7px 10px; color: var(--muted); border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 750; }
.rankings { display: flex; gap: 8px; margin: 24px -18px 0; padding: 2px 18px 10px; overflow-x: auto; scrollbar-width: none; }
.rankings::-webkit-scrollbar { display: none; }
.rankings button { flex: 0 0 auto; padding: 9px 13px; cursor: pointer; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 750; }
.rankings button:hover, .rankings button.active { color: var(--white); border-color: var(--purple); background: var(--purple); }
.ranking-hint { min-height: 21px; margin: 5px 0 12px; color: var(--muted); font-size: 12px; }
.grid { display: grid; gap: 18px; }
.card { position: relative; display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 28px rgba(16, 24, 44, .055); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(16, 24, 44, .12); }
.card-visual { position: relative; display: flex; width: 100%; height: auto; aspect-ratio: 16 / 9; align-items: flex-start; justify-content: space-between; padding: 15px; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #173154, #7566f5); }
.card-visual::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(4,12,27,.05), rgba(4,12,27,.35)); }
.card-visual > *:not(.event-image) { position: relative; z-index: 2; }
.event-image { display: block; object-fit: cover; }
.card-visual > .event-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; }
.event-image.is-fallback { padding: clamp(14px, 7%, 34px); object-fit: contain; background: var(--white); }
.zero { padding: 6px 9px; color: var(--white); border-radius: 999px; background: var(--green); box-shadow: 0 5px 12px rgba(0,0,0,.16); font-size: 11px; font-weight: 900; letter-spacing: .03em; }
.country { padding: 5px 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(7,16,31,.44); backdrop-filter: blur(6px); font-size: 12px; font-weight: 800; }
.card-rank { position: absolute; z-index: 2; bottom: 14px; left: 15px; padding: 5px 8px; border-radius: 7px; background: rgba(7,16,31,.68); backdrop-filter: blur(6px); font-size: 11px; font-weight: 750; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px; }
.card-category { margin: 0; color: var(--purple); font-size: 11px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.card h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.card-meta { display: grid; gap: 5px; margin: 0; color: var(--muted); font-size: 13px; }
.card-meta span { display: flex; gap: 7px; }
.card-description { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink-soft); font-size: 14px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 8px; color: #5045c6; border-radius: 999px; background: var(--purple-pale); font-size: 10px; font-weight: 750; }
.card-footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; border-top: 1px solid #f0f1f5; }
.price { display: grid; }
.price s { color: var(--muted); font-size: 11px; }
.price strong { color: var(--green); font-size: 16px; }
.price-highlight { display: grid; gap: 3px; padding: 9px 11px; color: #075d3d; border: 1px solid #bfe8d5; border-radius: 10px; background: var(--green-pale); }
.price-highlight strong { font-size: 14px; line-height: 1.25; }
.price-highlight small { font-size: 11px; font-weight: 800; }
.details-button { padding: 7px 0; cursor: pointer; color: var(--purple-dark); border: 0; background: transparent; font-size: 13px; font-weight: 850; }
.details-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.skeleton { min-height: 410px; overflow: hidden; border-radius: var(--radius); background: #f3f4f8; }
.skeleton::after { display: block; width: 100%; height: 100%; content: ""; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); animation: skeleton 1.4s infinite; }
@keyframes skeleton { to { transform: translateX(100%); } }
.empty-state { padding: 55px 20px; text-align: center; border: 1px dashed var(--line-dark); border-radius: var(--radius); background: var(--soft); }
.empty-state > span { color: var(--purple); font-size: 38px; }
.empty-state h3 { margin: 8px 0 5px; font-size: 22px; }
.empty-state p { max-width: 550px; margin: 0 auto 19px; color: var(--muted); }

.recommendations { position: relative; display: grid; gap: 32px; margin-top: 76px; padding: 30px 24px; overflow: hidden; border-radius: var(--radius-lg); background: var(--soft); }
.recommendation-copy p { color: var(--ink-soft); }
.text-link { display: inline-block; color: var(--purple-dark); font-weight: 850; }
.recommendation-stack { display: grid; gap: 10px; }
.recommendation-stack div { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-sm); }
.recommendation-stack span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--white); border-radius: 50%; background: var(--purple); font-size: 11px; font-weight: 850; }
.recommendation-stack b { font-size: 14px; }

.newsletter { display: grid; gap: 32px; margin-top: 76px; padding: 30px 20px; color: var(--white); border-radius: var(--radius-lg); background: radial-gradient(circle at 0 0, rgba(106,87,244,.26), transparent 38%), linear-gradient(135deg, #091426, #11223f); box-shadow: var(--shadow-lg); }
.newsletter .light { color: #a89fff; }
.newsletter-copy > p { color: #c6cfdf; line-height: 1.65; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.trust > span { padding: 7px 9px; color: #dce6f5; border-radius: 8px; background: rgba(39,64,101,.6); font-size: 11px; }
#subForm { display: grid; gap: 17px; padding: 20px; color: var(--ink); border-radius: var(--radius); background: var(--white); }
.form-head h3 { margin: 0 0 3px; font-size: 21px; }
.form-head p, .form-note { margin: 0; color: var(--muted); font-size: 11px; }
.field-help { margin: 0; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.45; }
#subForm label, #preferencesForm label, .admin-view label, .editor-modal label { display: grid; gap: 7px; font-size: 12px; font-weight: 750; }
.two, .three { display: grid; gap: 12px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.checks { display: flex; flex-wrap: wrap; gap: 7px; }
.check { position: relative; display: inline-flex !important; align-items: center; gap: 5px !important; margin: 0 !important; padding: 7px 9px; cursor: pointer; color: var(--ink-soft); border: 1px solid #dce0e8; border-radius: 999px; font-size: 11px !important; font-weight: 700 !important; }
.check:has(input:checked) { color: var(--purple-dark); border-color: #bdb6fa; background: var(--purple-pale); }
.check input, .consent input { width: 16px !important; min-height: 16px !important; flex: 0 0 auto; padding: 0 !important; accent-color: var(--purple); }
.consent { display: flex !important; align-items: flex-start; gap: 9px !important; color: var(--ink-soft); font-weight: 500 !important; line-height: 1.48; }
.consent input { margin-top: 2px; }
.consent > span { display: grid; gap: 4px; }
.consent > span > strong { color: var(--ink); font-size: 12px; }
.consent.optional { padding-top: 11px; border-top: 1px solid var(--line); }
.consent-group { display: grid; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfbfe; }
.consent-group legend { padding: 0 7px; color: var(--ink); font-size: 13px; font-weight: 850; }
.consent-separation { margin: 0; padding: 10px 11px; color: var(--ink-soft); border-radius: 8px; background: var(--purple-pale); font-size: 11px; line-height: 1.5; }
.consent-state { color: var(--muted); font-size: 10px; font-weight: 750; }
.inline-button { display: inline; padding: 0; cursor: pointer; color: var(--purple-dark); border: 0; background: transparent; font-size: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.wide { width: 100%; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.msg { min-height: 20px; margin: 0; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.msg.success { color: #087047; }
.msg.error { color: var(--red); }

.benefits { display: grid; margin-top: 64px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.benefits div { padding: 20px; border-bottom: 1px solid var(--line); }
.benefits div:last-child { border-bottom: 0; }
.benefits b, .benefits > div > span { display: block; }
.benefits b { font-size: 14px; }
.benefits b > span:first-child { color: var(--purple); }
.benefits > div > span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.about { display: grid; gap: 25px; margin-top: 76px; margin-bottom: 76px; }
.about p { color: var(--muted); line-height: 1.65; }
.soft-sell { padding: 26px; border-radius: var(--radius); background: var(--soft); }
.soft-sell > span { color: var(--purple); font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.soft-sell h3 { margin: 9px 0; font-size: 22px; line-height: 1.25; }

footer { display: grid; gap: 24px; padding: 32px max(18px, env(safe-area-inset-left)) calc(30px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-right)); color: var(--white); background: var(--navy-950); }
footer .brand { margin: 0; }
footer .brand small { display: block; }
.footer-brand { display: grid; justify-items: start; gap: 7px; }
.footer-brand .brand-logo img { width: 132px; }
.footer-brand > small { color: #bfc8da; font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 11px 19px; }
.footer-links button, .footer-links a { padding: 0; cursor: pointer; color: #c8d0df; border: 0; background: transparent; font-size: 12px; }
.footer-links button:hover, .footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-note { margin: 0; color: #7f8da5; font-size: 11px; }

.account-view, .admin-view { min-height: calc(100vh - 70px); padding: 42px 18px 70px; background: var(--soft); }
.account-card, .admin-shell { width: 100%; max-width: 760px; margin: 0 auto; padding: 25px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.account-card h1, .admin-header h1 { margin: 7px 0 8px; font-size: clamp(30px, 9vw, 44px); line-height: 1.1; letter-spacing: -.04em; }
.account-card > p { color: var(--muted); }
.back-link { display: block; margin-bottom: 24px; color: var(--purple-dark); font-size: 12px; font-weight: 800; }
#preferencesForm { display: grid; gap: 19px; margin-top: 28px; }
.preference-consents { margin-top: 4px; }
#preferencesGate { padding: 18px; border-radius: 12px; background: var(--soft); }
#preferencesGate .outline { margin-top: 8px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.danger-link { padding: 10px 0; cursor: pointer; color: var(--red); border: 0; background: transparent; font-size: 13px; font-weight: 800; }

.admin-shell { max-width: var(--content); }
.admin-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-login { display: grid; gap: 16px; max-width: 680px; margin: 28px auto 0; padding: 22px; border-radius: var(--radius); background: var(--soft); }
.admin-login h2, .admin-login p { margin: 0; }
.admin-login > p { color: var(--muted); }
.admin-sso-login { width: 100%; }
.admin-login .admin-sso-copy { color: var(--muted); font-size: 13px; }
.admin-login-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; font-weight: 750; }
.admin-login-divider::before, .admin-login-divider::after { height: 1px; flex: 1 1 auto; content: ""; background: var(--line); }
.admin-login-divider span { flex: 0 1 auto; text-align: center; }
.admin-tabs { display: flex; gap: 7px; margin: 25px -20px 0; padding: 0 20px 10px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs button { flex: 0 0 auto; padding: 9px 12px; cursor: pointer; color: var(--muted); border: 0; border-radius: 8px; background: transparent; font-size: 12px; font-weight: 800; }
.admin-tabs button[aria-selected="true"] { color: var(--purple-dark); background: var(--purple-pale); }
.admin-panel { padding-top: 24px; }
.admin-panel h2 { margin: 0; font-size: 23px; }
.admin-panel h3 { margin: 28px 0 12px; }
.metrics { display: grid; gap: 10px; }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.metric strong { display: block; font-size: 28px; line-height: 1; }
.metric span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 750; }
.admin-split { display: grid; gap: 28px; margin-top: 28px; }
.data-list { display: grid; gap: 9px; }
.data-item { display: grid; gap: 5px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.data-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.data-item strong { font-size: 13px; }
.data-item p { margin: 0; color: var(--muted); font-size: 11px; }
.status { display: inline-flex; align-items: center; width: max-content; padding: 4px 7px; border-radius: 999px; background: var(--soft); font-size: 10px; font-weight: 800; }
.status-published, .status-verified, .status-confirmed, .status-available { color: #087047; background: var(--green-pale); }
.status-found, .status-pending_review, .status-pending, .status-limited { color: #8a510d; background: var(--amber-pale); }
.status-expired, .status-rejected, .status-unsubscribed, .status-withdrawn, .status-sold_out, .status-ended { color: var(--red); background: var(--red-pale); }
.panel-head { display: flex; flex-direction: column; gap: 14px; }
.panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.admin-filter-row { display: grid; gap: 10px; margin: 19px 0 13px; }
.admin-filter-grid { display: grid; gap: 10px; margin: 19px 0 13px; padding: 14px; border-radius: 12px; background: var(--soft); }
.admin-filter-grid .outline { align-self: end; justify-self: start; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th, .data-table td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { color: var(--muted); background: var(--soft); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.data-table td:first-child { min-width: 190px; font-weight: 750; }
.table-action { padding: 5px 7px; cursor: pointer; color: var(--purple-dark); border: 0; background: transparent; font-size: 11px; font-weight: 800; }
.table-action.danger { color: var(--red); }
.table-actions { display: flex; min-width: 210px; flex-wrap: wrap; gap: 3px; }
.intelligence-table td:first-child { min-width: 220px; }
.intelligence-table td:nth-child(3), .intelligence-table td:nth-child(7) { min-width: 150px; }
.import-form { display: grid; gap: 15px; max-width: 850px; margin-top: 20px; padding: 18px; border-radius: 12px; background: var(--soft); }
.import-form textarea { resize: vertical; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.45; }
.empty-row { padding: 22px; color: var(--muted); text-align: center; font-size: 12px; }

.modal { width: calc(100% - 22px); max-height: calc(100vh - 22px); margin: auto; padding: 0; overflow: auto; color: var(--ink); border: 0; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(4, 9, 19, .72); backdrop-filter: blur(4px); }
.modal-close { position: sticky; z-index: 3; top: 10px; float: right; margin: 10px 10px -50px 0; color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.92); font-size: 25px; }
.event-modal { max-width: 820px; }
.event-detail-visual { min-height: 220px; padding: 25px; color: var(--white); border-radius: 18px 18px 0 0; background: linear-gradient(135deg, #153155, #7162ee); background-position: center; background-size: cover; }
.event-detail-visual > span { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: var(--green); font-size: 11px; font-weight: 850; }
.event-detail-visual h2 { max-width: 650px; margin: 72px 0 0; font-size: clamp(29px, 8vw, 46px); line-height: 1.07; letter-spacing: -.04em; text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.event-detail-body { display: grid; gap: 24px; padding: 24px 20px 28px; }
.event-detail-meta { display: grid; gap: 10px; }
.event-detail-meta div { display: grid; gap: 2px; padding: 12px; border-radius: 10px; background: var(--soft); }
.event-detail-meta small, .detail-facts dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.event-detail-meta strong { font-size: 13px; }
.event-detail-main h3 { margin: 20px 0 7px; font-size: 17px; }
.event-detail-main p { color: var(--ink-soft); white-space: pre-line; }
.detail-facts { display: grid; gap: 12px; margin: 22px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.detail-facts div { display: grid; gap: 3px; }
.detail-facts dd { margin: 0; font-size: 13px; }
.source-link { color: var(--purple-dark); font-weight: 750; word-break: break-word; }
.event-ticket { display: grid; gap: 9px; align-self: start; padding: 20px; border-radius: 13px; background: var(--navy-950); color: var(--white); }
.event-ticket .price strong { font-size: 23px; }
.event-ticket p { margin: 0; color: #bfc8da; font-size: 11px; }
.legal-modal { max-width: 820px; }
.legal-modal article { padding: 32px 22px 40px; }
.legal-modal h1 { padding-right: 45px; font-size: clamp(30px, 8vw, 43px); letter-spacing: -.035em; }
.legal-modal h2 { margin-top: 28px; font-size: 19px; }
.legal-modal h3 { margin-top: 20px; font-size: 15px; }
.legal-modal p, .legal-modal li { color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.legal-modal .legal-note { padding: 14px; color: #795015; border: 1px solid #eed9ae; border-radius: 10px; background: var(--amber-pale); font-size: 12px; }
.editor-modal { max-width: 960px; }
.editor-modal form { display: grid; gap: 16px; padding: 30px 21px 34px; }
.editor-modal h2 { margin: 0 45px 5px 0; }
.editor-modal textarea { resize: vertical; }
.noscript { padding: 18px; color: #6e4511; text-align: center; background: var(--amber-pale); }

@media (min-width: 480px) {
  .brand small { display: block; }
  .brand-logo img { width: 105px; }
  .hero-actions { flex-direction: row; align-items: center; }
  .categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-detail-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 680px) {
  .hero, .quick-section, .section, .recommendations, .newsletter, .benefits, .about { padding-right: 28px; padding-left: 28px; }
  .quick-section, .section, .recommendations, .newsletter, .benefits, .about { width: calc(100% - 48px); }
  .searchbar { width: calc(100% - 48px); padding: 15px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .benefits div:nth-child(odd) { border-right: 1px solid var(--line); }
  .benefits div:nth-last-child(-n+2) { border-bottom: 0; }
  .account-card, .admin-shell { padding: 34px; }
  .admin-tabs { margin-right: -34px; margin-left: -34px; padding-right: 34px; padding-left: 34px; }
  .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .top-acts-section { padding: 38px; }
  .panel-head { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .admin-filter-row { grid-template-columns: 220px minmax(220px, 1fr); }
  .admin-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-detail-body { grid-template-columns: minmax(0, 1.5fr) minmax(210px, .65fr); padding: 30px; }
  .legal-modal article { padding: 38px 42px 50px; }
  .editor-modal form { padding: 36px 40px 42px; }
  footer { grid-template-columns: 1fr auto; align-items: center; padding-right: 4vw; padding-left: 4vw; }
  .footer-note { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .top { min-height: 76px; padding-right: 4vw; padding-left: 4vw; gap: 28px; }
  .top .brand-logo img { width: 116px; }
  .nav-toggle { display: none; }
  .top nav { position: static; display: flex; align-items: center; gap: 26px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .top nav a { padding: 9px 0; border: 0; color: #d5dceb; font-size: 14px; }
  .top nav a:hover { color: var(--white); }
  .lang { margin-left: 5px; }
  .hero { min-height: 510px; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .72fr); align-items: center; gap: 55px; padding: 70px 4vw 88px; }
  .hero h1 { font-size: clamp(52px, 5vw, 76px); }
  .hero-card { padding: 28px; }
  .searchbar { grid-template-columns: minmax(260px, 2fr) minmax(145px, .75fr) minmax(190px, 1fr) auto; }
  .quick-section, .section, .recommendations, .newsletter, .benefits, .about { padding-right: 0; padding-left: 0; }
  .categories { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .categories button { min-height: 122px; }
  .section-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .result-count { justify-self: end; }
  .rankings { margin-right: 0; margin-left: 0; padding-right: 0; padding-left: 0; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .recommendations { grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); align-items: center; padding: 42px; }
  .newsletter { grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); align-items: start; gap: 48px; padding: 46px; }
  #subForm { padding: 26px; }
  .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .benefits div { border-right: 1px solid var(--line); border-bottom: 0; }
  .benefits div:last-child { border-right: 0; }
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 52px; }
  .soft-sell { padding: 34px; }
  .admin-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1260px) {
  .hero { padding-right: calc((100vw - var(--content)) / 2); padding-left: calc((100vw - var(--content)) / 2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .top, .searchbar, .rankings, .newsletter, footer, .modal-close { display: none !important; }
  body { color: #000; background: #fff; }
  .modal[open] { position: static; display: block; max-height: none; box-shadow: none; }
}
