:root {
  --bg: #000;
  --panel: #0c0c0f;
  --panel-2: #131318;
  --line: #1f1f26;
  --text: #f5f5f6;
  --muted: #9d9da8;
  --orange: #f2ac42;
  --purple: #8458f6;
  --green: #96d86b;
  --blue: #62b4fa;
  --pink: #ec72c0;
  --yellow: #f8de70;
  --accent: var(--purple);
  --danger: #ff5a6e;
  --gutter: 16px;
  --max: 1180px;
  --rainbow: linear-gradient(90deg, var(--orange), var(--purple), var(--green), var(--blue), var(--pink), var(--yellow));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#app { flex: 1; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.display { font-family: Anton, Impact, "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; line-height: .95; }
.muted { color: var(--muted); }
.c-orange { --c: var(--orange); } .c-purple { --c: var(--purple); } .c-green { --c: var(--green); }
.c-blue { --c: var(--blue); } .c-pink { --c: var(--pink); } .c-yellow { --c: var(--yellow); }

/* nav */
header.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--rainbow); opacity: .55; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-chip { width: 42px; height: 42px; border-radius: 10px; background: #fff; padding: 3px; flex: none; overflow: hidden; display: grid; place-items: center; }
.logo-chip img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-family: Anton, Impact, sans-serif; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.on { color: var(--text); background: var(--panel-2); }
.nav-links a.signin { font-weight: 500; }
.nav-links a.book { color: #fff; background: var(--accent); margin-left: 6px; }
.nav-links a.book:hover { filter: brightness(1.1); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 920px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; border-radius: 12px; }
  .nav-links a.book { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 420px) { .brand-name { font-size: 17px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font: 700 15px/1 Inter, sans-serif; border: 1px solid transparent; cursor: pointer; transition: transform .15s, filter .15s, border-color .15s; color: var(--text); background: none; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { border-color: var(--line); }
.btn.ghost:hover { border-color: var(--text); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c, var(--accent)); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }

/* hero */
.hero { position: relative; padding: 88px 0 80px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.hero::before { width: 620px; height: 620px; right: -120px; top: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 32%, transparent), transparent 62%); }
.hero::after { width: 520px; height: 520px; right: 240px; top: 180px; background: radial-gradient(circle, color-mix(in srgb, var(--pink) 18%, transparent), transparent 62%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(56px, 10.5vw, 150px); margin: 20px 0 24px; }
.hero h1 .out { color: transparent; -webkit-text-stroke: 2px var(--text); }
.hero .lead { max-width: 560px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); margin-bottom: 36px; }
.hero .wrap.no-logo { grid-template-columns: 1fr; }
.hero-logo { justify-self: center; width: min(380px, 100%); aspect-ratio: 1; background: #fff; border-radius: 32px; padding: 26px; transform: rotate(3deg); box-shadow: 0 30px 80px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 0 1px rgba(255,255,255,.08); transition: transform .3s; }
.hero-logo:hover { transform: rotate(0deg) scale(1.02); }
.hero-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-logo { order: -1; justify-self: start; width: 132px; border-radius: 22px; padding: 10px; }
}

/* page header */
.page-head { padding: 72px 0 40px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c, var(--purple)) 30%, transparent), transparent 62%); pointer-events: none; }
.page-head h1 { font-size: clamp(52px, 10vw, 120px); margin-top: 16px; }
.page-head p { color: var(--muted); max-width: 620px; font-size: clamp(17px, 2vw, 19px); margin-top: 18px; }

/* ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 18px 0; }
.ticker .track { display: inline-flex; gap: 40px; animation: scroll 45s linear infinite; }
.ticker span { font-family: Anton, Impact, sans-serif; font-size: 28px; text-transform: uppercase; color: var(--c); }
.ticker i { color: var(--muted); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }

/* sections */
section.block { padding: 88px 0; }
section.block.tight { padding-top: 16px; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.head h2 { font-size: clamp(40px, 7vw, 72px); }
.head p { max-width: 440px; color: var(--muted); }
.head .more { font-weight: 700; font-size: 15px; color: var(--accent); white-space: nowrap; }
.head .more:hover { text-decoration: underline; }

/* tiles */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid .wide { grid-column: span 2; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .grid .wide { grid-column: auto; } }
.tile { position: relative; overflow: hidden; min-height: 210px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; transition: border-color .2s, transform .2s; }
.tile::after { content: ""; position: absolute; right: -80px; bottom: -110px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c, var(--purple)) 40%, transparent), transparent 65%); opacity: .5; transition: opacity .25s; pointer-events: none; }
.tile:hover { border-color: var(--c, var(--purple)); transform: translateY(-3px); }
.tile:hover::after { opacity: 1; }
.tile .bar { width: 36px; height: 6px; border-radius: 6px; background: var(--c, var(--purple)); }
.tile h3 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1; margin-top: 18px; }
.tile p { color: var(--muted); font-size: 15px; position: relative; z-index: 1; }
.tile .tile-link { position: relative; z-index: 1; font-weight: 700; font-size: 14px; color: var(--c, var(--accent)); }
.tile .tile-link:hover { text-decoration: underline; }
.tile .price { position: relative; z-index: 1; font-size: 13px; font-weight: 700; color: var(--text); }

/* about */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about h2 { font-size: clamp(40px, 7vw, 76px); margin: 18px 0 24px; }
.about h2 em { font-style: normal; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about .body p { color: var(--muted); font-size: 17px; }
.about .body p + p { margin-top: 16px; }
.pillars { display: grid; gap: 12px; }
.pillar { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.pillar b { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 26px; color: var(--c); line-height: 1; min-width: 34px; }
.pillar h4 { font-size: 16px; }
.pillar span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 36px; } }

/* events */
.events { display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s; }
.event:hover { border-color: var(--c); }
.event.has-img { grid-template-columns: 96px 160px 1fr auto; }
.event .date { text-align: center; border-radius: 14px; padding: 12px 0; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.event .date b { display: block; font: 400 40px/1 Anton, Impact, sans-serif; }
.event .date span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.event img { width: 160px; height: 100px; object-fit: cover; border-radius: 12px; }
.event h3 { font: 400 26px/1.05 Anton, Impact, sans-serif; text-transform: uppercase; }
.event .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; margin: 6px 0; }
.event p { color: var(--muted); font-size: 15px; white-space: pre-line; }
.event.past { opacity: .6; }
@media (max-width: 760px) {
  .event, .event.has-img { grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
  .event img { grid-column: 1 / -1; grid-row: 1; width: 100%; height: 180px; }
  .event .date b { font-size: 30px; }
  .event .go { grid-column: 1 / -1; }
  .event .go .btn { width: 100%; }
}
.empty { padding: 40px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; }

/* forms */
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form-card { padding: 20px; } }
label.f { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); font: 16px/1.4 Inter, sans-serif; transition: border-color .15s; }
.f textarea { min-height: 140px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--accent); }
.f input[type="date"] { color-scheme: dark; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; font-size: 15px; font-weight: 600; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--danger); }
.done-card { text-align: center; padding: 48px 24px; }
.done-card h3 { font: 400 40px/1 Anton, Impact, sans-serif; text-transform: uppercase; margin: 12px 0; }
.done-card p { color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info { display: grid; gap: 12px; }
.info a, .info div { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow-wrap: anywhere; }
.info a:hover { border-color: var(--accent); }
.info small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.info svg { width: 22px; height: 22px; flex: none; color: var(--accent); }

/* socials */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--text); transition: border-color .15s, color .15s, transform .15s; }
.socials a:hover { color: var(--c); border-color: var(--c); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* CTA band */
.cta-band { text-align: center; border: 1px solid var(--line); border-radius: 28px; padding: 72px var(--gutter); position: relative; overflow: hidden; background: var(--panel); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 55%), radial-gradient(ellipse at 85% 100%, color-mix(in srgb, var(--pink) 20%, transparent), transparent 55%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(44px, 9vw, 104px); margin-top: 16px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 18px auto 32px; }
.cta-band .actions { justify-content: center; }

/* footer */
footer.foot { border-top: 1px solid var(--line); padding: 44px 0 32px; color: var(--muted); font-size: 14px; margin-top: 40px; }
.foot .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.foot .cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot h5 { color: var(--text); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a:hover { color: var(--text); }
.foot .bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; }
.foot .rainbow { height: 4px; width: 120px; border-radius: 4px; background: var(--rainbow); margin-top: 16px; }

/* announcement strip */
.announce { background: var(--rainbow); color: #000; font-size: 14px; font-weight: 700; text-align: center; padding: 8px var(--gutter); }
.announce a { text-decoration: underline; margin-left: 8px; }

/* category tiles: show the originals as chips */
a.tile { color: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.chip { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c, var(--purple)) 16%, transparent); color: var(--c, var(--purple)); border: 1px solid color-mix(in srgb, var(--c, var(--purple)) 35%, transparent); }
.chip.bko::before { content: "BKO · "; opacity: .7; }

/* banner header (category + title pages) */
.banner { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.banner .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.banner .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 35%, transparent), var(--bg) 92%); }
.banner.plain .bg { background: radial-gradient(ellipse at 80% 0%, color-mix(in srgb, var(--c, var(--purple)) 35%, transparent), transparent 60%); }
.banner.plain .bg::after { display: none; }
.banner .wrap { position: relative; padding-top: 120px; padding-bottom: 48px; }
.banner.plain .wrap { padding-top: 72px; }
.banner h1 { font-size: clamp(52px, 10vw, 128px); margin-top: 14px; }
.banner p.lead { color: #c9c9d1; max-width: 680px; font-size: clamp(17px, 2vw, 19px); margin-top: 16px; white-space: pre-line; }
.crumbs { font-size: 13px; font-weight: 600; color: var(--muted); }
.crumbs a:hover { color: var(--text); }

/* title cards */
.sub-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.sub-head h2 { font: 400 clamp(32px, 5vw, 48px)/1 Anton, Impact, sans-serif; text-transform: uppercase; }
.sub-head p { color: var(--muted); }
.sub-head .tag { display: inline-block; font: 800 14px/1 Inter, sans-serif; letter-spacing: .14em; padding: 7px 12px; border-radius: 999px; background: var(--rainbow); color: #000; margin-right: 12px; vertical-align: middle; }
.titles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .2s, transform .2s; }
.tcard:hover { border-color: var(--c); transform: translateY(-3px); }
.tcard .art { aspect-ratio: 16 / 9; background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--c) 45%, transparent), transparent 60%), var(--panel-2); background-size: cover; background-position: center; display: grid; place-items: center; }
.tcard .art span { font: 400 30px/1 Anton, Impact, sans-serif; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); padding: 0 16px; text-align: center; }
.tcard .body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.tcard .kind { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.tcard h3 { font: 400 28px/1.05 Anton, Impact, sans-serif; text-transform: uppercase; }
.tcard p { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tcard.featured { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }

/* title page */
.title-page { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.title-page .poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); }
.title-page .text { color: #c9c9d1; font-size: 17px; white-space: pre-line; }
.title-page .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
@media (max-width: 760px) { .title-page { grid-template-columns: 1fr; } .title-page .poster { max-width: 240px; } }
/* rights + credits */
.tcard .credit { font-size: 12px; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.rights-note { color: var(--muted); font-size: 14px; max-width: 760px; margin: -16px 0 22px; padding: 12px 16px; border-left: 3px solid var(--c, var(--accent)); background: var(--panel); border-radius: 0 12px 12px 0; }
.sub-head + .rights-note { margin-top: -6px; }
.credits { margin-top: 32px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); display: grid; gap: 6px; }
.credits h4 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.credits p { font-size: 15px; color: #d4d4da; }
.credits a { color: var(--c, var(--accent)); text-decoration: underline; }
/* bigger tap targets for small text links on phones */
@media (max-width: 760px) {
  .head .more, .tile .tile-link { display: inline-block; padding: 10px 0; }
  .crumbs a { display: inline-block; padding: 10px 0; }
  .form-card + p a, .muted a { display: inline-block; padding: 8px 0; }
}
/* selects: consistent look on Safari */
.f select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d9da8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.f select option { background: #111; color: #f5f5f6; }
/* event cards with flyer thumbnails */
a.event { color: inherit; }
.event.has-img { grid-template-columns: 96px auto 1fr auto; }
.event .flyer-thumb { width: 80px; height: 100px; border-radius: 10px; display: block; background: var(--panel-2); }
.event .ev-kind { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c); margin-bottom: 4px; }
.event .ev-sub { color: #d4d4da; font-weight: 600; font-size: 15px; margin-top: 2px; }
@media (max-width: 760px) {
  .event.has-img { grid-template-columns: 64px 1fr; }
  .event .flyer-thumb { grid-column: 1; grid-row: 1 / span 2; width: 64px; height: 80px; }
  .event.has-img .date { display: none; }
  .event.has-img img { grid-column: 1 / -1; }
}

/* event page */
.ev-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ev-layout { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .ev-layout { grid-template-columns: 1fr; } }
.flyer-box { display: grid; gap: 12px; }
.flyer-box .flyer { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 18px; border: 1px solid var(--line); background: var(--panel-2); display: block; }
.flyer-box .actions .btn { flex: 1; }
.ev-body { display: grid; gap: 18px; }
.ev-block { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.ev-block h4 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ev-block p { color: #d4d4da; }
.ev-block p.big { font: 400 clamp(28px, 5vw, 40px)/1.05 Anton, Impact, sans-serif; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.lineup { list-style: none; display: grid; gap: 8px; }
.lineup li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: Anton, Impact, sans-serif; text-transform: uppercase; line-height: 1.05; }
.lineup li em { font: 800 11px Inter, sans-serif; letter-spacing: .12em; color: var(--c); font-style: normal; white-space: nowrap; }
.lineup .t-headliner span { font-size: clamp(32px, 6vw, 48px); }
.lineup .t-feature span { font-size: 26px; color: #e6e6ea; }
.lineup .t-support span { font-size: 19px; color: var(--muted); }

/* bracket */
.bracket { display: flex; gap: 22px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.br-round { flex: none; width: 230px; display: flex; flex-direction: column; scroll-snap-align: start; }
.br-round h4 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.br-matches { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; }
.br-match { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.br-match.bye { opacity: .55; }
.br-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 9px 12px; font-size: 14px; }
.br-row + .br-row { border-top: 1px solid var(--line); }
.br-row .seed { font-size: 11px; font-weight: 800; color: var(--muted); }
.br-row .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.br-row .sc { font-weight: 800; }
.br-row.won { background: color-mix(in srgb, var(--c) 18%, transparent); }
.br-row.won .nm { color: #fff; }
.br-row.lost .nm, .br-row.lost .sc { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.br-row.empty .nm { color: #55555f; font-style: italic; font-weight: 500; }
.br-champ { padding: 18px 14px; border-radius: 14px; border: 1px dashed var(--line); text-align: center; color: var(--muted); font-weight: 700; }
.br-champ.set { border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); color: #fff; font: 400 26px/1.1 Anton, Impact, sans-serif; text-transform: uppercase; }
/* ---- sports ---- */
.daybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.daybar .btn { width: 48px; height: 48px; padding: 0; font-size: 22px; }
.daybar b { font: 400 clamp(26px, 5vw, 36px)/1 Anton, Impact, sans-serif; text-transform: uppercase; }
.chips-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.chips-row::-webkit-scrollbar { display: none; }
.chipbtn { flex: none; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: 700 14px Inter, sans-serif; cursor: pointer; white-space: nowrap; }
.chipbtn.on { background: var(--text); color: #000; border-color: var(--text); }
.chipbtn.is-live:not(.on) { color: #ff5a6e; border-color: rgba(255,90,110,.4); }
.ghead { font: 400 26px/1 Anton, Impact, sans-serif; text-transform: uppercase; margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; }
.ghead span { font: 800 12px Inter, sans-serif; color: var(--muted); }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
@media (max-width: 400px) { .ggrid { grid-template-columns: 1fr; } }
.gcard { display: grid; gap: 8px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; color: inherit; transition: border-color .15s, transform .15s; }
.gcard:hover { border-color: var(--orange); transform: translateY(-2px); }
.gcard.st-in { border-color: rgba(255,90,110,.45); }
.gtop { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.gtop .lg { text-transform: uppercase; letter-spacing: .08em; }
.live { color: #ff5a6e; display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a6e; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.pre { color: var(--text); }
.tm { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 10px; align-items: center; font-weight: 600; }
.tm img, .tm .nologo { width: 28px; height: 28px; object-fit: contain; }
.tm .tn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm .rec { font-size: 12px; color: var(--muted); }
.tm .ts { font: 400 24px/1 Anton, Impact, sans-serif; min-width: 28px; text-align: right; }
.gcard.st-post .tm:not(.win) { color: var(--muted); }
.ev-name { font-weight: 700; }
.ev-line, .gfoot { font-size: 13px; color: var(--muted); }

.scoreboard { margin: 18px 0 32px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(ellipse at top, color-mix(in srgb, var(--orange) 16%, transparent), transparent 60%), var(--panel); text-align: center; }
.scoreboard.st-in { border-color: rgba(255,90,110,.5); }
.sb-meta { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.sb-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 18px 0; }
.sb-team { display: grid; justify-items: center; gap: 6px; }
.sb-team img { width: 72px; height: 72px; object-fit: contain; }
.sb-team b { font-size: 16px; }
.sb-team span { font-size: 12px; color: var(--muted); }
.st-post .sb-team:not(.win) { opacity: .6; }
.sb-score { display: flex; align-items: center; gap: 10px; font: 400 clamp(44px, 10vw, 72px)/1 Anton, Impact, sans-serif; }
.sb-score i { font-style: normal; color: var(--muted); font-size: .6em; }
.sb-time { font: 700 18px Inter, sans-serif; }
.sb-foot { font-size: 13px; color: var(--muted); }
@media (max-width: 480px) { .sb-team img { width: 48px; height: 48px; } .sb-team b { font-size: 13px; } }
.game-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .game-cols { grid-template-columns: 1fr; } }
.moments { list-style: none; display: grid; gap: 8px; }
.moments li { display: grid; grid-template-columns: 64px 24px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.mo-when { font-size: 12px; font-weight: 800; color: var(--muted); }
.mo-team { font-size: 11px; font-weight: 800; }
.moments img { width: 24px; height: 24px; object-fit: contain; }
.mo-score { font: 400 18px Anton, Impact, sans-serif; }

/* ---- community threads ---- */
.thread .composer { display: grid; gap: 8px; margin-bottom: 18px; }
.thread textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--text); font: 16px/1.4 Inter, sans-serif; resize: vertical; }
.thread textarea:focus { outline: none; border-color: var(--accent); }
.composer-foot { display: flex; justify-content: space-between; align-items: center; }
.composer-foot .count { font-size: 12px; color: var(--muted); }
.composer-foot .btn { padding: 11px 20px; }
.thread .join { margin-bottom: 18px; }
.posts { list-style: none; display: grid; gap: 10px; }
.post { padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.post-head { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 6px; }
.post .when { color: var(--muted); font-size: 12px; }
.post p { white-space: pre-wrap; overflow-wrap: anywhere; color: #e1e1e6; }
.post-acts { margin-left: auto; display: flex; gap: 4px; }
.post-acts button { background: none; border: 0; color: var(--muted); font: 600 12px Inter, sans-serif; cursor: pointer; padding: 8px 6px; }
.post-acts button:hover { color: var(--text); }
.badge { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; }
.badge.r-admin { background: var(--rainbow); color: #000; }
.badge.r-staff { background: color-mix(in srgb, var(--green) 25%, transparent); color: var(--green); }
.badge.r-dev { background: color-mix(in srgb, var(--blue) 25%, transparent); color: var(--blue); }
.more-posts { margin-top: 12px; width: 100%; }
.posts .empty { list-style: none; }

/* ---- account ---- */
.seg { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 20px; }
.seg button { flex: 1; padding: 11px; border-radius: 999px; border: 0; background: none; color: var(--muted); font: 700 15px Inter, sans-serif; cursor: pointer; }
.seg button.on { background: var(--text); color: #000; }
[hidden] { display: none !important; }
/* key moments: time + team + score on top, description underneath */
.moments li { grid-template-columns: auto auto 1fr auto; grid-template-areas: "when team . score" "text text text text"; row-gap: 6px; }
.mo-when { grid-area: when; }
.moments img, .mo-team { grid-area: team; }
.mo-team { color: var(--orange); }
.mo-text { grid-area: text; line-height: 1.45; }
.mo-score { grid-area: score; }
/* postponed / canceled / suspended games */
.gcard.is-off { opacity: .85; border-style: dashed; }
.gcard.is-off .gbody .tn, .gcard.is-off .gbody .ev-name, .gcard.is-off .gbody .ts { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(255,90,110,.8); color: var(--muted); }
.gspecial { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.sp-badge { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,90,110,.18); color: #ff8091; }
.sp-delayed .sp-badge { background: color-mix(in srgb, var(--yellow) 22%, transparent); color: var(--yellow); }
.sp-reason { color: #e1e1e6; font-weight: 600; }
.sp-new { flex-basis: 100%; color: var(--muted); }
.sp-new b, .sp-new a { color: var(--green); font-weight: 700; }
.sp-new a:hover { text-decoration: underline; }
.gnote { font-size: 12px; font-weight: 700; color: var(--orange); }
.scoreboard.is-off .sb-team b, .scoreboard.is-off .sb-score { text-decoration: line-through; text-decoration-color: rgba(255,90,110,.8); }
.scoreboard .gspecial { justify-content: center; margin-top: 12px; font-size: 15px; }
.scoreboard .sp-new { text-align: center; }
.sb-time.was { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,90,110,.8); font-size: 15px; max-width: 130px; text-align: center; }
.scoreboard.is-off .sb-score { text-decoration: none; }

/* game page tabs + stats */
.gtabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 18px; padding-bottom: 4px; scrollbar-width: none; }
.gtabs::-webkit-scrollbar { display: none; }
.gtabs button { flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: 700 14px Inter, sans-serif; cursor: pointer; }
.gtabs button.on { background: var(--text); color: #000; border-color: var(--text); }
.cmp { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px 12px; }
.cmp-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); padding: 10px 0; text-transform: uppercase; }
.cmp-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cmp-row span { text-align: center; color: var(--muted); font-size: 13px; }
.cmp-row b:last-of-type { text-align: right; }
.cmp-bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--blue) 55%, transparent); overflow: hidden; }
.cmp-bar i { display: block; height: 100%; background: var(--orange); }
.leaders { display: grid; gap: 10px; }
.ld-row { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ld-row h5 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ld-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ld-p { display: flex; gap: 10px; align-items: center; min-width: 0; }
.ld-p img, .ld-nophoto { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--panel-2); flex: none; }
.ld-p div { display: grid; min-width: 0; }
.ld-p b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-p span { font-size: 12px; color: var(--muted); }
.ld-p.empty { color: var(--muted); }
.box-team { margin-bottom: 22px; }
.box-team h4 { display: flex; align-items: center; gap: 8px; font: 400 24px/1 Anton, Impact, sans-serif; text-transform: uppercase; margin-bottom: 10px; }
.box-team h4 img { width: 24px; height: 24px; object-fit: contain; }
.box-group h5 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.box-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
table.box { border-collapse: collapse; width: 100%; font-size: 13px; white-space: nowrap; }
table.box th, table.box td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--line); }
table.box th { font-size: 11px; color: var(--muted); font-weight: 800; background: var(--panel-2); }
table.box th:first-child, table.box td:first-child { text-align: left; position: sticky; left: 0; background: var(--panel); z-index: 1; }
table.box th:first-child { background: var(--panel-2); }
table.box td small { color: var(--muted); font-size: 11px; }
table.box tr.starter td:first-child { font-weight: 700; }
table.box tfoot td { font-weight: 800; border-bottom: 0; }
/* official tags (BKO, STAFF, DEV, and owner-given tags) share the BKO look */
.badge.official { background: var(--rainbow); color: #000; font-weight: 800; letter-spacing: .08em; }
.post-head .badge + .badge { margin-left: -2px; }

/* wide stat tables scroll inside their box instead of widening the page */
.game-cols > *, .mo-slot, .box-team, .box-group { min-width: 0; }
.box-scroll { max-width: 100%; }
