/* ==========================================================================
   SKUPOVI — asphalt, neon, smoke & chrome
   ========================================================================== */
:root {
  --bg: #050607; --bg2: #0c0f12; --bg3: #131820; --line: #1c232c; --line2: #2a333e;
  --ink: #f2f5f7; --muted: #8e99a6; --dim: #5d6773;
  --pink: #2f7dff; --violet: #1aa3ff; --cyan: #00d7ff; --lime: #2bff88; --flame: #22e57a; --yellow: #c8ff3d; --red: #ff4d4d;
  --blue: #2f7dff; --green: #2bff88;
  --grad: linear-gradient(90deg, var(--blue), var(--green));
  --grad-flame: var(--green);
  --r: 18px; --r-sm: 10px;
  --f-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --f-hud: 'Chakra Petch', 'Inter', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .35s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateX(-24px) skewX(4deg); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateX(32px) skewX(-4deg); filter: blur(4px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; min-height: 100vh;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--pink) 60%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--pink); }
::selection { background: var(--green); color: #000; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--pink); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.ic.verified { color: var(--cyan); }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.mt { margin-top: 3rem; } .ml-auto { margin-left: auto; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .topbar { position: relative; z-index: 1; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 860px; margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.05; margin: 0 0 .5em; }
.h2 { font: 400 clamp(2rem, 5vw, 3.4rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.h3 { font: 700 1.2rem/1.2 var(--f-hud); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: .5em; }
.h3 small, .h2 small { font-size: .8rem; background: var(--bg3); border: 1px solid var(--line); padding: 2px 9px; border-radius: 99px; color: var(--muted); }
.kicker { font: 600 .8rem/1 var(--f-hud); letter-spacing: .25em; text-transform: uppercase; color: var(--lime); margin: 0 0 1rem; display: flex; align-items: center; gap: .5em; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #cfcdd8; max-width: 60ch; }
.prose p { margin: 0 0 1em; } .prose a { color: var(--cyan); word-break: break-word; }
.prose h2 { font: 700 1.3rem var(--f-hud); text-transform: uppercase; margin-top: 1.6em; color: var(--pink); }

.glitch { position: relative; display: inline-block; }

/* ---------- Buttons / chips ---------- */
.btn {
  --bc: var(--line2); display: inline-flex; align-items: center; justify-content: center; gap: .55em; cursor: pointer;
  font: 700 .9rem/1 var(--f-hud); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: .95em 1.4em; border-radius: 999px; border: 1px solid var(--bc); background: transparent; position: relative; isolation: isolate;
  transition: transform .2s var(--spring), box-shadow .3s, background .3s, color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); color: var(--ink); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-flame { border: 0; background: var(--green); color: #03140a; box-shadow: 0 10px 30px -14px var(--green); }
.btn-flame:hover { color: #03140a; background: #5effa6; box-shadow: 0 14px 36px -10px var(--green), 0 0 0 4px rgba(43, 255, 136, .15); }
.btn-ghost { background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { --bc: var(--pink); box-shadow: 0 0 24px -6px var(--pink); }
.btn-sm { padding: .7em 1.05em; font-size: .78rem; } .btn-lg { padding: 1.1em 1.8em; font-size: 1rem; } .wide { width: 100%; }
.linkbtn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.pill {
  display: inline-flex; align-items: center; gap: .45em; padding: .55em .95em; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 600 .8rem/1 var(--f-hud); letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  background: var(--bg3); border: 1px solid var(--line); transition: .2s var(--ease);
}
.pill:hover, .pill[aria-pressed="true"] { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 18px -6px var(--cyan); }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg3); color: var(--ink); cursor: pointer; transition: .2s; }
.icon-btn:hover { border-color: var(--cyan); color: var(--cyan); } .icon-btn.ok { color: var(--lime); border-color: color-mix(in srgb, var(--lime) 40%, transparent); }
.icon-btn.danger:hover { border-color: var(--red); color: var(--red); }

.badge { --c: var(--pink); display: inline-flex; align-items: center; gap: .4em; font: 700 .7rem/1 var(--f-hud); text-transform: uppercase; letter-spacing: .08em;
  padding: .45em .7em; border-radius: 6px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.chip { display: inline-flex; align-items: center; gap: .4em; font: 700 .72rem/1 var(--f-hud); letter-spacing: .06em; text-transform: uppercase; padding: .45em .7em; border-radius: 6px; background: var(--bg3); border: 1px solid var(--line2); }
.chip-free { color: #0b0b00; background: var(--lime); border-color: var(--lime); }
.chip-soon { color: var(--yellow); border-color: color-mix(in srgb, var(--yellow) 40%, transparent); }
.chip-bad { color: #fff; background: var(--red); border-color: var(--red); }
.role-tag { font: 700 .65rem/1 var(--f-hud); text-transform: uppercase; letter-spacing: .08em; padding: .35em .55em; border-radius: 5px; background: var(--bg3); border: 1px solid var(--line2); color: var(--muted); }
.r-admin { color: var(--red); border-color: currentColor; } .r-moderator { color: var(--yellow); border-color: currentColor; }
.r-organizer { color: var(--pink); border-color: currentColor; } .r-photographer { color: var(--cyan); border-color: currentColor; }

/* ---------- Topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; transition: border-color .3s; border-bottom: 1px solid transparent; }
/* Blur lives on a pseudo-element: backdrop-filter on .topbar itself would become the containing
   block for the position:fixed mobile menu and squash it into the 72px bar once the page scrolls. */
.topbar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(5, 6, 7, .8); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); opacity: 0; transition: opacity .3s; pointer-events: none; }
.topbar.scrolled { border-color: var(--line); }
.topbar.scrolled::before, .nav-open .topbar::before { opacity: 1; }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #000; box-shadow: 0 0 24px -4px var(--pink); }
.logo-mark .ic { width: 26px; height: 26px; animation: spin 3s linear infinite; }
.logo:hover .logo-mark .ic { animation-duration: .35s; }
.logo-txt { font: 400 1.6rem/1 var(--f-display); letter-spacing: .04em; display: flex; flex-direction: column; }
.logo-txt em { font: 600 .6rem/1 var(--f-hud); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav > a { font: 600 .82rem/1 var(--f-hud); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 10px 14px; border-radius: 999px; position: relative; color: #d9d7e2; }
.nav > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > a:hover::after, .nav > a.on::after { transform: scaleX(1); }
.nav > a.on { color: #fff; }
.nav-mobile-extra { display: none; }
.topbar-act { display: flex; align-items: center; gap: 10px; }
.avatar-btn { position: relative; display: block; border-radius: 50%; }
.avatar-btn .dot { position: absolute; right: -1px; top: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--bg); }
.av { border-radius: 50%; object-fit: cover; flex: none; }
.av-txt { display: inline-grid; place-items: center; font-family: var(--f-hud); font-weight: 700; color: #000; background: linear-gradient(135deg, hsl(var(--h) 95% 62%), hsl(calc(var(--h) + 60) 95% 55%)); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line2); background: var(--bg2); border-radius: 12px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(2) { width: 70%; }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.flash { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 60; padding: 14px 22px; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow);
  animation: flashIn .5s var(--spring), flashOut .5s 4.5s var(--ease) forwards; max-width: calc(100% - 32px); }
.flash-ok { background: var(--lime); color: #111; } .flash-err { background: var(--red); color: #fff; }
@keyframes flashIn { from { transform: translate(-50%, -30px) scale(.9); opacity: 0; } }
@keyframes flashOut { to { transform: translate(-50%, -30px); opacity: 0; visibility: hidden; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -72px; min-height: min(100svh, 940px); display: flex; isolation: isolate; background: #000; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.on { opacity: 1; }
.slide.on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,6,7,.94) 0%, rgba(5,6,7,.72) 38%, rgba(5,6,7,.15) 70%, rgba(5,6,7,.35) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(5,6,7,0) 30%), linear-gradient(180deg, rgba(5,6,7,.7) 0%, rgba(5,6,7,0) 22%); }
.hero .smoke { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: .9; }
.hero-in { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 40px; min-height: inherit; }
.hero-copy { max-width: 680px; }
.hero-title { margin: 0 0 .4em; }
.ht-1 { display: block; font: 400 clamp(4.4rem, 12vw, 10rem)/.86 var(--f-display); text-transform: uppercase; letter-spacing: .005em; color: #fff; }
.ht-2 { display: block; font: 600 clamp(1.05rem, 2.2vw, 1.5rem)/1.2 var(--f-hud); text-transform: uppercase; letter-spacing: .18em; margin-top: .6em; color: #dfe6ec; }
.ht-2 em { font-style: normal; color: var(--green); }
.hero .kicker { color: var(--green); }
.hero .lead { color: #c9d2da; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 50px; flex-wrap: wrap; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 54px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero-dots i { display: block; width: 100%; height: 3px; background: rgba(255,255,255,.22); border-radius: 3px; overflow: hidden; position: relative; }
.hero-dots i::after { content: ''; position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; }
.hero-dots .on i::after { animation: prog 7s linear forwards; }
.hero-dots .done i::after { transform: scaleX(1); }
@keyframes prog { to { transform: scaleX(1); } }
.hero-credit { margin: 0; font: 500 .78rem var(--f-hud); letter-spacing: .08em; color: rgba(255,255,255,.6); transition: opacity .4s; }

.ticker { border-block: 1px solid var(--line); background: #000; overflow: hidden; position: relative; z-index: 3; }
.ticker-in { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font: 400 clamp(1.2rem, 2.4vw, 1.7rem)/1 var(--f-display); padding: 16px 22px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; color: #dfe6ec; }
.ticker span:nth-of-type(2n) { -webkit-text-stroke: 1px rgba(255,255,255,.7); color: transparent; }
.ticker b { color: var(--green); align-self: center; font-size: .8rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: clamp(56px, 8vw, 110px) 0 0; position: relative; }
.sec-tight { padding: 28px 0 80px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head .h2, .sec-head .h3 { margin: 0; }
.phead { position: relative; padding: 70px 0 34px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(80% 120% at 0% 0%, rgba(47, 125, 255, .18), transparent 60%), radial-gradient(60% 100% at 100% 0%, rgba(0, 229, 255, .12), transparent 60%); }
.phead h1 { font: 400 clamp(2.6rem, 8vw, 6rem)/.92 var(--f-display); text-transform: uppercase; margin: 0 0 .25em; }
.phead-sm { padding: 40px 0 0; } .phead-sm h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0; }
.skid { display: none; }
.crumbs { font: 600 .75rem var(--f-hud); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; } .crumbs i { font-style: normal; color: var(--dim); }

/* ---------- Event cards ---------- */
.egrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 22px; }
.ecard { --c: var(--pink); position: relative; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; transform-style: preserve-3d; will-change: transform; }
.ecard::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: conic-gradient(from var(--ang, 0deg), var(--c), transparent 30%, var(--cyan) 50%, transparent 70%, var(--c));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ang 3s linear infinite; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ang { to { --ang: 360deg; } }
.ecard:hover { box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--c) 60%, transparent); border-color: transparent; }
.ecard:hover::before, .ecard.is-featured::before { opacity: 1; }
.ecard-link { position: absolute; inset: 0; z-index: 4; }
.ecard-poster { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg3); }
.ecard-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.ecard:hover .ecard-poster img { transform: scale(1.07); filter: saturate(1.2); }
.ecard-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg2) 2%, transparent 40%); }
.ecard-date { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 8px 12px; text-align: center; min-width: 58px; }
.ecard-date b { display: block; font: 400 1.9rem/1 var(--f-display); } .ecard-date span { font: 700 .7rem var(--f-hud); letter-spacing: .14em; color: var(--c); }
.ecard-hot { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 4px; align-items: center; font: 700 .7rem var(--f-hud); letter-spacing: .1em; background: var(--green); color: #000; padding: 6px 10px; border-radius: 99px; animation: hot 1.4s ease-in-out infinite; }
@keyframes hot { 50% { box-shadow: 0 0 22px var(--flame); } }
.ecard-cancel { position: absolute; inset: 45% -10% auto; z-index: 2; text-align: center; background: var(--red); font: 400 1.6rem var(--f-display); transform: rotate(-12deg); letter-spacing: .1em; }
.ecard.is-past .ecard-poster img { filter: grayscale(.6); }
.ecard-body { padding: 4px 18px 18px; position: relative; z-index: 1; margin-top: -40px; }
.ecard-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ecard h3 { font: 400 1.6rem/1.02 var(--f-display); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 10px; }
.ecard-line { display: flex; gap: 8px; align-items: center; color: #cfcdd8; font-size: .9rem; margin: 4px 0; }
.ecard-line .ic { color: var(--c); }
.ecard-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line2); font-size: .85rem; }
.ecard-foot .muted { display: flex; gap: 6px; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.heat { display: flex; align-items: center; gap: 4px; font: 700 .85rem var(--f-hud); color: var(--flame); }
.poster-fallback { --c: var(--blue); position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 22px 56px; gap: 6px; overflow: hidden; isolation: isolate; background: #000; }
.poster-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.35) brightness(.55); }
.poster-fallback::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,6,7,.96) 15%, rgba(5,6,7,.2) 70%), linear-gradient(90deg, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%); }
.poster-fallback strong { font: 400 2.3rem/.95 var(--f-display); text-transform: uppercase; }
.pf-tag { font: 700 .7rem var(--f-hud); letter-spacing: .2em; text-transform: uppercase; color: var(--c); } .pf-city { font: 600 .9rem var(--f-hud); letter-spacing: .1em; text-transform: uppercase; color: #c9d2da; }
.pf-note { position: absolute; top: 14px; right: 14px; font: 600 .65rem var(--f-hud); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.25); padding: 4px 8px; border-radius: 6px; }
.ecard .poster-fallback strong, .ecard .pf-tag, .ecard .pf-city { display: none; }
.ecard .poster-fallback img { filter: grayscale(.2) brightness(.7); }
.ecard .pf-note { display: none; }
.modi-poster .poster-fallback, .ev-poster .poster-fallback { position: relative; aspect-ratio: 4/5; border-radius: var(--r); }

.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line2); border-radius: var(--r); background: var(--bg2); }
.empty .ic { width: 48px; height: 48px; color: var(--pink); } .empty p { color: var(--muted); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); margin-bottom: 18px; position: relative; z-index: 2; }
.filters input, .filters select { height: 46px; }
.f-toggle { display: none; }
.f-count { background: var(--green); color: #000; border-radius: 99px; padding: 1px 7px; font-size: .75rem; }
.f-search { flex: 1 1 240px; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line2); border-radius: 12px; padding: 0 12px; }
.f-search input { border: 0 !important; background: none !important; padding: 0 !important; flex: 1; outline: none; }
.f-search:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(47, 125, 255, .2); }
.catchips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; scrollbar-width: none; margin-bottom: 8px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.catchips::-webkit-scrollbar { display: none; }
.catchips a { --c: var(--ink); display: inline-flex; align-items: center; gap: 6px; flex: none; text-decoration: none; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line2); background: var(--bg2);
  font: 600 .78rem/1 var(--f-hud); text-transform: uppercase; letter-spacing: .08em; transition: .25s var(--ease); }
.catchips a .ic { color: var(--c); }
.catchips a:hover { border-color: var(--c); transform: translateY(-2px); color: var(--ink); }
.catchips a.on { background: var(--c); color: #000; border-color: var(--c); } .catchips a.on .ic { color: #000; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 14px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); text-decoration: none; font: 700 .9rem var(--f-hud); }
.pager a.on { background: var(--pink); color: #000; border-color: var(--pink); }

/* ---------- Forms ---------- */
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; width: 100%; min-width: 0; transition: border-color .2s, box-shadow .2s;
}
.filters select, .filters input[type="month"] { width: auto; flex: 1 1 150px; }
select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232bff88' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(47, 125, 255, .2); }
input[type="datetime-local"], input[type="month"] { color-scheme: dark; }
textarea { resize: vertical; }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); }
.eform fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.eform legend { font: 700 .95rem var(--f-hud); text-transform: uppercase; letter-spacing: .12em; color: var(--pink); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font: 600 .78rem var(--f-hud); text-transform: uppercase; letter-spacing: .1em; color: #cfcdd8; margin-bottom: 6px; }
.field small { display: block; color: var(--dim); font-size: .78rem; margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .row3 { display: grid; grid-template-columns: 1fr 120px 2fr; gap: 0 14px; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; margin: 12px 0; } .check input { width: 20px; height: 20px; accent-color: var(--pink); }
.drop { display: block; position: relative; cursor: pointer; border: 2px dashed var(--line2); border-radius: var(--r); padding: 26px; text-align: center; transition: .25s; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,.015) 14px 28px); }
.drop:hover, .drop.over { border-color: var(--pink); background-color: rgba(47, 125, 255, .05); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-in { display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.drop-in img { max-height: 220px; width: auto; border-radius: 10px; } .drop-in small { color: var(--dim); }
.drop-sm .drop-in { flex-direction: row; justify-content: center; }
.errors { background: rgba(255, 59, 59, .12); border: 1px solid rgba(255, 59, 59, .5); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; }
.errors p { margin: 4px 0; color: #ffb4b4; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.form-foot .btn { margin-left: auto; }

/* ---------- Next / countdown ---------- */
.next { margin-top: clamp(40px, 6vw, 80px); }
.next-card { --c: var(--pink); display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(16px, 3vw, 28px); border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, var(--bg2)), var(--bg2) 55%); border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line)); }
.next-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid color-mix(in srgb, var(--c) 18%, transparent); animation: spin 18s linear infinite; border-top-color: transparent; }
.next-poster { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); transform: rotate(-2deg); transition: transform .5s var(--spring); }
.next-poster:hover { transform: rotate(0) scale(1.02); }
.next-poster img { width: 100%; height: 100%; object-fit: cover; }
.next-info h2 { font: 400 clamp(2.2rem, 5vw, 4rem)/.95 var(--f-display); text-transform: uppercase; } .next-info h2 a { text-decoration: none; }
.countdown { display: flex; gap: 10px; margin: 20px 0 24px; }
.countdown div { flex: 1; max-width: 100px; text-align: center; background: #000; border: 1px solid var(--line2); border-radius: 14px; padding: 12px 6px; position: relative; overflow: hidden; }
.countdown div::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.08); }
.countdown b { display: block; font: 700 clamp(1.6rem, 4vw, 2.4rem)/1 var(--f-hud); color: var(--lime); text-shadow: 0 0 16px rgba(43, 255, 136, .5); font-variant-numeric: tabular-nums; }
.countdown b.tick { animation: tickn .4s var(--ease); } @keyframes tickn { from { transform: translateY(-40%); opacity: .2; } }
.countdown span { font: 600 .65rem var(--f-hud); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Stats gauges ---------- */
.stats-sec { padding-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gauge { text-align: center; padding: 22px 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); position: relative; overflow: hidden; }
.gauge-svg { width: 120px; height: 70px; display: block; margin: 0 auto 4px; overflow: visible; }
.g-track { fill: none; stroke: var(--line2); stroke-width: 8; stroke-linecap: round; }
.g-fill { fill: none; stroke: url(#none); stroke: var(--pink); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 158; stroke-dashoffset: 158; transition: stroke-dashoffset 1.6s var(--ease); filter: drop-shadow(0 0 6px var(--pink)); }
.g-needle { stroke: var(--lime); stroke-width: 3; stroke-linecap: round; transform-origin: 60px 64px; transform: rotate(-90deg); transition: transform 1.6s var(--spring); }
.gauge.in .g-fill { stroke-dashoffset: calc(158 - 158 * var(--p)); }
.gauge.in .g-needle { transform: rotate(calc(-90deg + 180deg * var(--p))); }
.gauge:nth-child(2) .g-fill { stroke: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); } .gauge:nth-child(3) .g-fill { stroke: var(--flame); filter: drop-shadow(0 0 6px var(--flame)); } .gauge:nth-child(4) .g-fill { stroke: var(--violet); filter: drop-shadow(0 0 6px var(--violet)); }
.gauge b { display: block; font: 700 2.6rem/1 var(--f-hud); font-variant-numeric: tabular-nums; }
.gauge span { display: flex; justify-content: center; gap: 6px; align-items: center; font: 600 .75rem var(--f-hud); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.cat { --c: var(--blue); position: relative; overflow: hidden; text-decoration: none; min-height: 210px; padding: 20px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; isolation: isolate; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9) brightness(.8); }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,6,7,.95) 10%, rgba(5,6,7,.35) 60%, rgba(5,6,7,.15)); }
.cat:hover { transform: translateY(-4px); border-color: var(--c); color: var(--ink); box-shadow: 0 24px 50px -24px var(--c); }
.cat:hover img { transform: scale(1.07); filter: saturate(1.1) brightness(.95); }
.cat-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(5,6,7,.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.12); color: var(--c); margin-bottom: auto; }
.cat-ic .ic { width: 22px; height: 22px; }
.cat b { font: 400 1.6rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; } .cat small { color: #b9c3cc; font-family: var(--f-hud); }

/* ---------- Roles + EQ ---------- */
.roles-sec { overflow: hidden; padding-bottom: clamp(56px, 8vw, 110px); margin-top: clamp(56px, 8vw, 110px); isolation: isolate; }
.roles-bg { position: absolute; inset: 0; z-index: -1; }
.roles-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.35); }
.roles-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(5,6,7,.55) 25%, rgba(5,6,7,.55) 75%, var(--bg)); }
.eq { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; display: flex; align-items: flex-end; gap: 4px; opacity: .18; pointer-events: none; mask-image: linear-gradient(to top, #000, transparent); }
.eq i { flex: 1; height: var(--h); background: linear-gradient(to top, var(--pink), var(--violet) 50%, var(--cyan)); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: eq calc(.5s + var(--i) * 17ms) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -53ms); }
@keyframes eq { 0% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.role { padding: 26px 22px; border-radius: var(--r); background: rgba(17, 17, 22, .86); backdrop-filter: blur(10px); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.role:hover { border-color: var(--pink); }
.role-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #000; margin-bottom: 16px; }
.role-ic .ic { width: 28px; height: 28px; }
.role h3 { font: 400 1.7rem var(--f-display); text-transform: uppercase; } .role p { color: #cfcdd8; font-size: .94rem; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 12px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); text-decoration: none; transition: .3s var(--ease); }
.person:hover { transform: translateY(-4px); border-color: var(--cyan); color: var(--ink); }
.person .av { box-shadow: 0 0 0 3px var(--bg2), 0 0 0 5px var(--pink); transition: .4s var(--spring); } .person:hover .av { transform: scale(1.08) rotate(-6deg); box-shadow: 0 0 0 3px var(--bg2), 0 0 0 5px var(--cyan); }
.person b { font-family: var(--f-hud); } .person small { color: var(--muted); font-size: .8rem; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 4vw, 48px); border-radius: 28px; margin-top: 30px; position: relative; overflow: hidden;
  background: linear-gradient(115deg, rgba(47, 125, 255, .25), rgba(168, 85, 247, .18) 50%, rgba(0, 229, 255, .18)); border: 1px solid rgba(47, 125, 255, .35); }
.cta-band::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 120px; background: conic-gradient(#fff 25%, #000 0 50%, #fff 0 75%, #000 0) 0 0 / 30px 30px; opacity: .08; }
.cta-band p { color: #dfe6ec; max-width: 60ch; margin: 0; }
.cta-photo { isolation: isolate; min-height: 280px; border-color: rgba(43, 255, 136, .3); }
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,6,7,.92) 30%, rgba(5,6,7,.3)); }
.cta-photo::before { display: none; }

/* ---------- Event page ---------- */
.ev-hero { position: relative; overflow: hidden; padding: 30px 0 50px; border-bottom: 1px solid var(--line); }
.ev-bg { position: absolute; inset: -40px; z-index: -1; }
.ev-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(60px) saturate(1.6) brightness(.45); transform: scale(1.2); }
.ev-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,13,.3), var(--bg)); }
.ev-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(24px, 5vw, 60px); align-items: start; }
.ev-poster { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -30px #000, 0 0 0 1px rgba(255,255,255,.08); position: sticky; top: 90px; transition: transform .3s var(--ease); }
.ev-poster img { width: 100%; }
.ev-title { font: 400 clamp(2.6rem, 6.5vw, 5.4rem)/.92 var(--f-display); text-transform: uppercase; margin: 14px 0 24px; }
.ev-facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ev-facts li { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(0,0,0,.4); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.ev-facts .ic { width: 22px; height: 22px; color: var(--c); margin-top: 2px; }
.ev-facts b { display: block; font-family: var(--f-hud); font-size: 1.02rem; } .ev-facts span { color: var(--muted); font-size: .86rem; }
.ev-facts a { text-decoration: none; }
.ev-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ev-actions form[data-rsvp] { display: flex; gap: 10px; flex-wrap: wrap; }
.ev-actions form[data-rsvp] b { background: rgba(0,0,0,.25); padding: 3px 8px; border-radius: 99px; min-width: 26px; }
.ev-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.past-note { padding: 14px 18px; background: rgba(43, 255, 136, .12); border: 1px solid rgba(43, 255, 136, .35); border-radius: 14px; margin: 18px 0; }
.socials { display: flex; gap: 8px; margin: 0 0 6px; flex-wrap: wrap; }
.soc { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--bg3); border: 1px solid var(--line2); transition: .3s var(--spring); }
.soc .ic { width: 20px; height: 20px; }
.soc:hover { transform: translateY(-3px) rotate(-6deg); color: #000; border-color: transparent; }
.soc-instagram:hover { background: linear-gradient(45deg, #feda75, #d62976, #4f5bd5); color: #fff; } .soc-facebook:hover { background: #1877f2; color: #fff; }
.soc-tiktok:hover { background: #000; color: #fff; box-shadow: -3px 0 0 #25f4ee, 3px 0 0 #fe2c55; } .soc-youtube:hover { background: #ff0000; color: #fff; } .soc-website:hover { background: var(--cyan); }
.socials-lg .soc { width: 48px; height: 48px; }
.ev-body { display: grid; grid-template-columns: 1fr 340px; gap: 22px; padding-top: 30px; align-items: start; }
.ev-main { display: grid; gap: 22px; } .ev-side { display: grid; gap: 22px; position: sticky; top: 90px; }
.map { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: repeating-linear-gradient(45deg, var(--bg3) 0 20px, var(--bg2) 20px 40px); display: grid; place-items: center; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.7); }
.gallery { columns: 3 220px; column-gap: 10px; }
.gallery > * { break-inside: avoid; margin-bottom: 10px; display: block; border-radius: 12px; overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform .6s var(--ease); } .gallery a:hover img { transform: scale(1.05); }
.gallery-sm { columns: 5 150px; } .gthumb small { display: block; padding: 6px 8px; background: var(--bg3); font-size: .75rem; }
.gthumb form { position: absolute; top: 6px; right: 6px; }
.mini-people { display: grid; gap: 8px; margin-bottom: 14px; }
.mini-people a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px; border-radius: 12px; } .mini-people a:hover { background: var(--bg3); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; } .tags a { font: 600 .82rem var(--f-hud); color: var(--cyan); text-decoration: none; padding: 5px 10px; border-radius: 8px; background: rgba(0, 229, 255, .08); }
.comments { display: grid; gap: 14px; margin-bottom: 16px; }
.comment { display: flex; gap: 12px; align-items: flex-start; } .comment > div { flex: 1; } .comment p { margin: 4px 0 0; } .comment time { font-size: .75rem; margin-left: 6px; }
.comment-form { display: grid; gap: 10px; justify-items: end; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.94); display: grid; place-items: center; padding: 20px; animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 10px; box-shadow: 0 0 80px rgba(47, 125, 255, .25); animation: zoomin .35s var(--spring); }
.lightbox p { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--muted); margin: 0; }
.lb-x, .lb-p, .lb-n { position: absolute; background: var(--bg3); border: 1px solid var(--line2); color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lb-x { top: 16px; right: 16px; } .lb-p { left: 16px; top: 50%; } .lb-n { right: 16px; top: 50%; }
@keyframes fade { from { opacity: 0; } } @keyframes zoomin { from { transform: scale(.85); opacity: 0; } }

/* ---------- Calendar ---------- */
[data-swap-root] { transition: opacity .25s; } [data-swap-root].loading { opacity: .45; pointer-events: none; }
.cal-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cal-title { font: 400 clamp(1.6rem, 4vw, 2.6rem)/1 var(--f-display); text-transform: uppercase; margin: 0; text-align: center; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-h { font: 700 .75rem var(--f-hud); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0; }
.cal-d { min-height: 110px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.cal-d.is-empty { background: transparent; border-style: dashed; opacity: .4; }
.cal-d.is-today { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.cal-d.has { background: linear-gradient(160deg, rgba(47, 125, 255, .1), var(--bg2)); }
.cal-n { font: 700 .95rem var(--f-hud); color: var(--muted); } .is-today .cal-n { color: var(--lime); }
.cal-d a { --c: var(--pink); font-size: .74rem; font-weight: 600; line-height: 1.25; padding: 4px 6px; border-radius: 6px; text-decoration: none; background: color-mix(in srgb, var(--c) 22%, transparent); border-left: 3px solid var(--c); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-d a:hover { background: var(--c); color: #000; }

/* ---------- Profile / Auth ---------- */
.prof { display: flex; gap: 30px; align-items: center; position: relative; }
.prof > .av { box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--pink), 0 0 50px var(--pink); }
.auth { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; width: min(1100px, 100% - 32px); margin: 0 auto; padding: 40px 0; }
.auth-art { position: relative; height: 520px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); }
.auth-art img { width: 100%; height: 100%; object-fit: cover; }
.auth-art .eq { opacity: .5; height: 60%; }
.auth-wheel { position: absolute; inset: 0; display: grid; place-items: center; }
.auth-wheel .ic { width: 200px; height: 200px; color: var(--ink); stroke-width: 1; animation: spin 2.4s linear infinite; filter: drop-shadow(0 0 20px var(--pink)); }
.auth-card { width: 100%; max-width: 460px; justify-self: center; }
.role-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.role-pick input { position: absolute; opacity: 0; }
.role-pick span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 14px; border: 1px solid var(--line2); cursor: pointer; font: 700 .72rem var(--f-hud); text-transform: uppercase; letter-spacing: .06em; transition: .25s; text-align: center; }
.role-pick .ic { width: 26px; height: 26px; }
.role-pick input:checked + span { border-color: var(--pink); background: rgba(47, 125, 255, .12); color: var(--pink); box-shadow: 0 0 20px -6px var(--pink); }
.role-pick input:focus-visible + span { outline: 2px solid var(--cyan); }

/* ---------- Panel ---------- */
.panel-who { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.panel-who .kicker { margin-bottom: 6px; }
.ptabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ptabs a { display: flex; align-items: center; gap: 8px; padding: 14px 16px; text-decoration: none; font: 600 .8rem var(--f-hud); letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid transparent; white-space: nowrap; color: var(--muted); }
.ptabs a.on { color: var(--ink); border-color: var(--pink); } .ptabs a:hover { color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.tile { padding: 18px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); }
.tile .ic { color: var(--pink); width: 22px; height: 22px; } .tile b { display: block; font: 700 2.2rem/1.1 var(--f-hud); margin-top: 8px; } .tile span { color: var(--muted); font-size: .85rem; }
.quick, .toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .catchips { padding: 0; margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg2); }
.tbl { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem; }
.tbl th { text-align: left; font: 700 .72rem var(--f-hud); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 14px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; } .tbl tr:last-child td { border: 0; }
.tbl tr:hover td { background: rgba(255,255,255,.02); }
.tbl td a { text-decoration: none; }
.acts { display: flex; gap: 6px; justify-content: flex-end; } .acts form { margin: 0; }
.who { display: flex; gap: 10px; align-items: center; }
.inline select { padding: 6px 30px 6px 10px; width: auto; font-size: .85rem; background-position: right 10px center; }
.st { font: 700 .68rem var(--f-hud); text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.st-pending { background: rgba(255, 212, 0, .14); color: var(--yellow); } .st-approved { background: rgba(43, 255, 136, .14); color: var(--lime); }
.st-rejected { background: rgba(255, 59, 59, .14); color: var(--red); } .st-cancelled { background: var(--bg3); color: var(--muted); } .st-hot { background: var(--green); color: #000; }
.modq { display: grid; gap: 14px; }
.modi { display: grid; grid-template-columns: 150px 1fr; gap: 18px; }
.modi-poster img { border-radius: 12px; width: 100%; } .modi-body h3 { font: 400 1.6rem var(--f-display); text-transform: uppercase; margin: 0 0 6px; }
.modi-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .modi-acts form { margin: 0; }
.reject { display: flex; gap: 6px; } .reject input { padding: 8px 12px; width: 200px; }

/* ---------- Error / footer ---------- */
.err { text-align: center; padding: 100px 0; }
.err-code { font: 400 clamp(8rem, 25vw, 16rem)/.9 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer { margin-top: 100px; background: #060608; border-top: 1px solid var(--line); }
.checker { height: 24px; background: conic-gradient(#fff 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0 / 24px 24px; opacity: .9; animation: checker 2s linear infinite; }
@keyframes checker { to { background-position: 48px 0; } }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 50px 0 30px; }
.footer-grid h3 { font: 700 .8rem var(--f-hud); letter-spacing: .2em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.footer-grid a:not(.logo) { display: block; text-decoration: none; color: #cfcdd8; padding: 4px 0; } .footer-grid a:hover { color: var(--pink); }
.footer-grid p { max-width: 40ch; margin-top: 16px; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0 30px; border-top: 1px solid var(--line); font-size: .85rem; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .roles { grid-template-columns: repeat(2, 1fr); }
  .ev-body { grid-template-columns: 1fr; } .ev-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: 72px 0 0; z-index: 49; flex-direction: column; gap: 0; padding: 20px 16px 40px; margin: 0; background: rgba(8, 8, 11, .97); backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .35s var(--ease); overflow-y: auto; }
  .nav::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: conic-gradient(#fff 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0 / 30px 30px; opacity: .15; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav-mobile-extra a, .nav-mobile-extra button { font: 400 2.4rem/1.1 var(--f-display); text-transform: uppercase; padding: 12px 4px; border-bottom: 1px solid var(--line); display: block; text-align: left; width: 100%; }
  .nav > a::after { display: none; }
  .nav-open .nav > a { animation: navIn .5s var(--ease) both; } .nav-open .nav > a:nth-child(2) { animation-delay: .04s; } .nav-open .nav > a:nth-child(3) { animation-delay: .08s; } .nav-open .nav > a:nth-child(4) { animation-delay: .12s; } .nav-open .nav > a:nth-child(5) { animation-delay: .16s; }
  @keyframes navIn { from { opacity: 0; transform: translateX(-30px); } }
  .nav > a { border-radius: 0; }
  .nav-mobile-extra { display: block; margin-top: 10px; } .nav-mobile-extra a, .nav-mobile-extra button { font-size: 1.5rem; color: var(--green); text-decoration: none; border-radius: 0; }
  .nav-mobile-extra .nav-cta { border-radius: 999px; margin: 18px 0 6px; display: flex; width: 100%; border-bottom: 0; font: 700 1rem/1 var(--f-hud); color: #03140a; text-align: center; padding: 16px; }
  .nav-open { overflow: hidden; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 2%, rgba(5,6,7,.75) 45%, rgba(5,6,7,.35) 100%); }
  .topbar-act { margin-left: auto; }
  .hero { min-height: 100svh; }
  .hero-in { justify-content: center; padding: 96px 0 24px; }
  .hero-copy { margin-block: auto; text-align: center; margin-inline: auto; }
  .hero-copy .kicker { justify-content: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-foot { margin-top: 0; padding-top: 20px; justify-content: center; }
  .hero-credit { display: none; }
  .chart { overflow-x: auto; } .chart > svg { min-width: 560px; }
  .next-card { grid-template-columns: 1fr; } .next-poster { max-width: 420px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ev-grid { grid-template-columns: 1fr; } .ev-poster { position: relative; top: 0; max-width: 480px; }
  .auth { grid-template-columns: 1fr; } .auth-art { display: none; }
  .cal { gap: 3px; } .cal-d { min-height: 70px; padding: 4px; } .cal-d a { font-size: 0; padding: 0; height: 6px; border-left: 0; background: var(--c); border-radius: 3px; }
}
@media (max-width: 640px) {
  .cal-nav .btn { padding: .8em .9em; font-size: .72rem; }
  .hide-sm { display: none; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .ev-facts { grid-template-columns: 1fr; }
  .filters { padding: 10px; } .filters select, .filters input[type="month"] { flex: 1 1 calc(50% - 5px); }
  .filters .btn { flex: 1; }
  .filters[data-filters] .f-search { flex: 1 1 0; }
  .filters[data-filters] .f-toggle { display: inline-flex; flex: none; padding: 0 14px; height: 46px; }
  .filters[data-filters]:not(.open) > select, .filters[data-filters]:not(.open) > input[type="month"], .filters[data-filters]:not(.open) > button:not(.f-toggle), .filters[data-filters]:not(.open) > a { display: none; }
  .phead { padding: 34px 0 20px; } .phead h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); } .phead .lead { font-size: .95rem; margin: 0; }
  .modi { grid-template-columns: 1fr; } .modi-poster { max-width: 160px; }
  .prof { flex-direction: column; align-items: flex-start; gap: 16px; } .prof > .av { width: 90px; height: 90px; }
  .footer-grid { grid-template-columns: 1fr; }
  .countdown { gap: 6px; } .countdown div { padding: 10px 2px; }
  /* two events per row on phones: compact cards */
  .egrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ecard { border-radius: 14px; }
  .ecard-body { padding: 2px 10px 12px; margin-top: -26px; }
  .ecard h3 { font-size: 1.08rem; margin-bottom: 6px; }
  .ecard-meta { gap: 4px; margin-bottom: 8px; }
  .ecard-meta .chip { display: none; }
  .ecard-meta .badge { font-size: .56rem; padding: .4em .5em; } .ecard-meta .badge .ic { display: none; }
  .ecard-line { font-size: .72rem; gap: 5px; margin: 3px 0; line-height: 1.35; align-items: flex-start; } .ecard-line .ic { width: .95em; margin-top: 2px; }
  .ecard-foot { display: none; }
  .ecard-date { top: 8px; left: 8px; padding: 5px 8px; min-width: 42px; border-radius: 9px; } .ecard-date b { font-size: 1.35rem; } .ecard-date span { font-size: .58rem; }
  .ecard-hot { top: 8px; right: 8px; padding: 4px 7px; font-size: .58rem; }
  .ecard-cancel { font-size: 1rem; }
  .panel-who form { display: none; }
  .reject input { width: 140px; }
}
@media (max-width: 420px) { .hide-xs { display: none; } .logo-txt { font-size: 1.35rem; } }


/* ==========================================================================
   402m / street race
   ========================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono, .tbl .n, .slip dd, .rec b, .carc-et strong { font-family: var(--f-hud); font-variant-numeric: tabular-nums; }
.rhero { position: relative; overflow: hidden; isolation: isolate; margin-top: -72px; padding: 130px 0 50px; min-height: 560px; display: flex; align-items: center; }
.rhero-sm { min-height: 380px; padding-bottom: 30px; }
.rhero-bg { position: absolute; inset: 0; z-index: -1; }
.rhero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s linear forwards; }
.rhero-in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.r-title { font: 400 clamp(5rem, 16vw, 12rem)/.82 var(--f-display); margin: 0 0 .15em; letter-spacing: -.01em; }
.r-title span { color: var(--green); font-size: .45em; margin-left: .05em; }
.r-title-sm { font-size: clamp(2.6rem, 7vw, 5.4rem); text-transform: uppercase; }

/* start tree: stages, three ambers, green */
.tree { display: grid; grid-template-columns: repeat(2, 46px); gap: 14px 22px; padding: 22px 26px; border-radius: 22px; background: rgba(5,6,7,.78); border: 1px solid var(--line2); backdrop-filter: blur(8px); }
.tree i { width: 46px; height: 46px; border-radius: 50%; background: #1a1f26; box-shadow: inset 0 3px 8px rgba(0,0,0,.7); animation: lamp .2s steps(1) forwards; animation-delay: var(--d); }
.tree .t-pre { width: 26px; height: 26px; justify-self: center; --on: #f2f2f2; }
.tree .t-a { --on: #ffb020; } .tree .t-g { --on: var(--green); }
@keyframes lamp { to { background: var(--on); box-shadow: 0 0 26px var(--on), inset 0 -4px 8px rgba(0,0,0,.25); } }
.recs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -10px; }
.rec { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
.rec:hover { border-color: var(--green); transform: translateY(-3px); color: var(--ink); }
.rec-l { font: 600 .72rem var(--f-hud); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rec b { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; font-weight: 700; color: var(--green); }
.rec b small { font-size: .9rem; color: var(--muted); margin-left: 6px; }
.rec-c { font-size: .88rem; color: #c9d2da; }

.slip { width: min(100%, 340px); padding: 20px 22px; border-radius: 6px; background: #f4f6f2; color: #0b0d0f; font-family: var(--f-hud); box-shadow: 0 30px 60px -20px #000; position: relative; transform: rotate(1.5deg);
  -webkit-mask: radial-gradient(circle 6px at 50% 0, transparent 97%, #000) 0 0 / 18px 100% repeat-x; mask: radial-gradient(circle 6px at 50% 0, transparent 97%, #000) 0 0 / 18px 100% repeat-x; }
.slip-h { font: 700 .72rem var(--f-hud); letter-spacing: .2em; text-transform: uppercase; margin: 6px 0 12px; color: inherit; }
.slip dl { margin: 0; display: grid; gap: 4px; }
.slip dl div { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(0,0,0,.2); padding: 3px 0; }
.slip dt { font-weight: 600; letter-spacing: .08em; } .slip dd { margin: 0; font-weight: 700; }
.slip .slip-et dd { font-size: 1.5rem; color: #0a7a3c; } .slip .slip-et { padding: 6px 0; }
.slip-foot { margin: 12px 0 0; font-size: .72rem; letter-spacing: .06em; opacity: .7; }
.slip-empty { transform: none; }

.board .tbl { min-width: 860px; }
.tbl .n { text-align: right; white-space: nowrap; } .tbl th.n { text-align: right; }
.tbl .hl { color: var(--green); font-weight: 700; } .tbl th.hl { color: var(--green); }
.tbl .bad { color: var(--red); }
.tbl .pos { font: 700 1rem var(--f-hud); color: var(--muted); width: 40px; }
.tbl tr.top-1 .pos { color: #ffd34d; } .tbl tr.top-2 .pos { color: #cfd6de; } .tbl tr.top-3 .pos { color: #d39a62; }
.tbl tr.top-1 td { background: rgba(43, 255, 136, .05); }
.carcell { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.carcell img { width: 56px; height: 38px; object-fit: cover; border-radius: 6px; flex: none; }
.carcell span { display: flex; flex-direction: column; } .carcell small { color: var(--muted); }
.st-win { background: rgba(43, 255, 136, .14); color: var(--green); } .st-loss { background: var(--bg3); color: var(--muted); }
.st-redlight { background: rgba(255, 77, 77, .14); color: var(--red); } .st-dnf, .st-bye { background: var(--bg3); color: var(--muted); }

.tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 14px; }
.track { position: relative; display: flex; align-items: flex-end; min-height: 230px; border-radius: var(--r); overflow: hidden; text-decoration: none; isolation: isolate; border: 1px solid var(--line); transition: border-color .3s; }
.track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); filter: brightness(.7); }
.track::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,6,7,.95) 15%, transparent 75%); }
.track:hover { border-color: var(--green); color: var(--ink); } .track:hover img { transform: scale(1.06); }
.track-in { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.track-in small { font: 600 .75rem var(--f-hud); letter-spacing: .12em; text-transform: uppercase; color: #c9d2da; }
.track-in b { font: 400 2rem/1 var(--f-display); text-transform: uppercase; }
.track-rec { font-size: .9rem; color: #c9d2da; } .track-rec strong { color: var(--green); font-family: var(--f-hud); }
.latest { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.latest-i { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); text-decoration: none; }
.latest-i:hover { border-color: var(--green); color: var(--ink); } .latest-i b { font: 400 1.4rem var(--f-display); text-transform: uppercase; } .latest-i strong { color: var(--green); }
.classes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.cls { padding: 16px 18px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); border-left: 3px solid var(--blue); text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.cls:hover { border-left-color: var(--green); color: var(--ink); } .cls b { font-family: var(--f-hud); } .cls small { color: var(--muted); }

.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.carc { border-radius: var(--r); overflow: hidden; background: var(--bg2); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
.carc:hover { border-color: var(--green); transform: translateY(-3px); color: var(--ink); }
.carc-img { display: block; aspect-ratio: 3/2; overflow: hidden; } .carc-img img { width: 100%; height: 100%; object-fit: cover; }
.carc-b { display: flex; flex-direction: column; padding: 14px 16px; gap: 2px; } .carc-b b { font: 400 1.4rem var(--f-display); text-transform: uppercase; } .carc-b small { color: var(--muted); }
.carc-et { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; } .carc-et strong { color: var(--green); font-size: 1.3rem; }

.car-hero { position: relative; overflow: hidden; isolation: isolate; margin-top: -72px; padding: 130px 0 50px; min-height: 560px; display: flex; align-items: center; }
.car-bg { position: absolute; inset: 0; z-index: -1; } .car-bg img { width: 100%; height: 100%; object-fit: cover; }
.car-bg-none img { filter: blur(14px) grayscale(.6) brightness(.45); transform: scale(1.1); }
.noimg { display: grid; place-items: center; align-content: center; gap: 6px; background: var(--bg3); color: var(--dim); border-radius: 6px; flex: none; }
.carc-img .noimg { width: 100%; height: 100%; border-radius: 0; } .noimg .ic { width: 22px; height: 22px; } .carc-img .noimg .ic { width: 40px; height: 40px; }
.car-hero-in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.tile b small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.car-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.specs div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .88rem; } .specs dd { margin: 0; font-weight: 600; text-align: right; }
.mt-s { margin-top: 20px; }
.podl { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .podl li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.place { font: 700 1.1rem var(--f-hud); } .p1 .place, .place.p1 { color: #ffd34d; } .p2 .place, .place.p2 { color: #cfd6de; } .p3 .place, .place.p3 { color: #d39a62; }

.chart { margin: 24px 0 0; padding: clamp(16px, 3vw, 24px); background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); position: relative; }
.chart > svg { width: 100%; height: auto; overflow: visible; display: block; }
.chart figcaption { margin-bottom: 12px; }
.c-grid { stroke: var(--line); stroke-width: 1; } .c-ax { fill: var(--muted); font: 500 11px var(--f-hud); }
.c-line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-dot { fill: var(--green); stroke: var(--bg2); stroke-width: 2; transition: r .15s; } .c-hit { fill: transparent; cursor: pointer; }
.c-pt:hover .c-dot, .c-pt.on .c-dot { r: 7; }
.c-tip { position: absolute; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: #000; border: 1px solid var(--line2); font: 600 .8rem var(--f-hud); white-space: nowrap; transform: translate(-50%, -120%); z-index: 2; }

.podiums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-bottom: 20px; }
.podium { padding: 14px 16px; border-radius: 14px; background: var(--bg3); border: 1px solid var(--line); }
.podium .slip-h { color: var(--green); margin-top: 0; }
.podium ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .podium li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .podium li small { color: var(--muted); }
.res-class { font: 700 1rem var(--f-hud); text-transform: uppercase; letter-spacing: .08em; margin: 22px 0 10px; }
.times { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 10px; }
.okbox { background: rgba(43, 255, 136, .1); border: 1px solid rgba(43, 255, 136, .4); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.podedit { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.podedit legend { font-size: .85rem; }
.plain { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
code { font-family: var(--f-hud); background: var(--bg3); padding: 2px 6px; border-radius: 6px; font-size: .85em; }
textarea.mono { font-size: .85rem; }

@media (max-width: 960px) {
  .rhero-in, .car-hero-in { grid-template-columns: 1fr; }
  .tree { display: none; }
  .recs { grid-template-columns: repeat(2, 1fr); }
  .car-grid { grid-template-columns: 1fr; }
  .slip { transform: none; }
}
@media (max-width: 640px) { .times { grid-template-columns: repeat(2, 1fr); } .specs { grid-template-columns: 1fr; } .rec b { font-size: 1.8rem; } }


/* ==========================================================================
   Clubs, map, exhibitors, notifications
   ========================================================================== */
.bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); }
.bell .ic { width: 20px; height: 20px; } .bell:hover { border-color: var(--green); color: var(--green); }
.bell b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--green); color: #03140a; font: 700 .7rem/20px var(--f-hud); text-align: center; box-shadow: 0 0 0 2px var(--bg); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 2px var(--bg), 0 0 0 7px rgba(43, 255, 136, .25); } }

.clubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 20px; }
.clubc { border-radius: var(--r); overflow: hidden; background: var(--bg2); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .3s var(--ease); }
.clubc:hover { border-color: var(--green); transform: translateY(-3px); color: var(--ink); }
.clubc-cover { display: block; aspect-ratio: 16/7; overflow: hidden; } .clubc-cover img { width: 100%; height: 100%; object-fit: cover; } .clubc-cover img.dim { filter: grayscale(.5) brightness(.55); }
.clubc-b { display: flex; gap: 14px; align-items: center; padding: 0 16px 16px; margin-top: -26px; position: relative; }
.clubc-b > span { display: flex; flex-direction: column; padding-top: 28px; } .clubc-b b { font: 400 1.35rem/1.05 var(--f-display); text-transform: uppercase; } .clubc-b small { color: #c9d2da; font-size: .82rem; }
.club-logo { border-radius: 16px; object-fit: cover; background: var(--bg3); box-shadow: 0 0 0 3px var(--bg2); flex: none; }
.club-logo-txt { display: grid; place-items: center; font-family: var(--f-display); color: #03140a; background: linear-gradient(135deg, var(--blue), var(--green)); }
.club-hero { position: relative; overflow: hidden; isolation: isolate; margin-top: -72px; padding: 130px 0 40px; min-height: 460px; display: flex; align-items: flex-end; }
.club-cover { position: absolute; inset: 0; z-index: -1; } .club-cover img { width: 100%; height: 100%; object-fit: cover; }
.club-head { display: flex; gap: 26px; align-items: flex-end; } .club-head .club-logo { box-shadow: 0 0 0 4px var(--bg), 0 20px 40px -10px #000; }
.club-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; } .club-acts form { margin: 0; }

body.map-body .footer { margin-top: 0; }
.mapwrap { display: grid; grid-template-columns: 380px 1fr; height: calc(100svh - 72px); border-bottom: 1px solid var(--line); }
.map-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--bg); }
.map-side-h { padding: 22px 18px 6px; } .map-side-h .h2 { font-size: 2rem; margin-bottom: 12px; }
.map-chips { padding-bottom: 10px; margin: 0; } .map-chips button { --c: var(--ink); display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line2); background: var(--bg2); color: var(--ink); font: 600 .72rem/1 var(--f-hud); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.map-chips button .ic { color: var(--c); } .map-chips button.on { background: var(--c); color: #000; border-color: var(--c); } .map-chips button.on .ic { color: #000; }
.map-list { list-style: none; margin: 0; padding: 4px 10px 20px; overflow-y: auto; flex: 1; display: grid; gap: 6px; align-content: start; }
.map-list button { --c: var(--blue); width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; padding: 10px; border-radius: 12px; border: 1px solid transparent; background: none; color: inherit; font: inherit; cursor: pointer; }
.map-list button:hover, .map-list li.on button { background: var(--bg2); border-color: var(--line2); }
.map-list li.on button { border-color: var(--c); }
.map-list li[hidden] { display: none; }
.ml-date { flex: none; width: 50px; text-align: center; border-radius: 10px; background: var(--bg3); border-left: 3px solid var(--c); padding: 6px 0; font: 700 .62rem var(--f-hud); text-transform: uppercase; color: var(--muted); }
.ml-date b { display: block; font: 400 1.3rem/1 var(--f-display); color: var(--ink); }
.map-list span > b { display: block; font-size: .92rem; line-height: 1.25; } .map-list small { color: var(--muted); font-size: .8rem; }
.map-canvas { min-height: 300px; background: #0b0e11; }
.leaflet-container { background: #0b0e11; font-family: var(--f-body); }
.leaflet-tile-pane { filter: invert(1) hue-rotate(195deg) brightness(.82) contrast(.9) saturate(.55); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--bg2); color: var(--ink); border: 1px solid var(--line2); box-shadow: var(--shadow); }
.leaflet-popup-content-wrapper { border-radius: 14px; } .leaflet-popup-content { margin: 12px; min-width: 220px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.leaflet-control-zoom a { background: var(--bg2) !important; color: var(--ink) !important; border-color: var(--line2) !important; }
.leaflet-control-attribution { background: rgba(5,6,7,.7) !important; color: var(--dim) !important; } .leaflet-control-attribution a { color: var(--muted) !important; }
.mk { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); border: 2px solid #050607; box-shadow: 0 0 0 2px var(--c), 0 6px 18px rgba(0,0,0,.6); display: grid; place-items: center; }
.mk b { transform: rotate(45deg); font: 700 .78rem var(--f-hud); color: #03140a; }
.mk.on { box-shadow: 0 0 0 4px #fff, 0 0 24px var(--c); }
.pop { display: grid; gap: 10px; } .pop a.pop-e { display: flex; gap: 10px; text-decoration: none; color: var(--ink); }
.pop img { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; flex: none; }
.pop b { display: block; font: 400 1.1rem/1.1 var(--f-display); text-transform: uppercase; } .pop small { display: block; color: var(--muted); font-size: .78rem; } .pop .pop-cat { color: var(--c); font: 700 .62rem var(--f-hud); letter-spacing: .14em; text-transform: uppercase; }

.follow-f { display: grid; gap: 8px; } .follow-f .check { margin: 0; font-size: .9rem; align-items: flex-start; } .follow-f .check input { margin-top: 2px; flex: none; }
.follow-acts { display: flex; gap: 8px; flex-wrap: wrap; } .follow { border-color: rgba(43, 255, 136, .3); }
.pill.live { border-color: var(--green); color: var(--green); } .pill.live .ic { animation: pulse-ic 1.4s ease-in-out infinite; } @keyframes pulse-ic { 50% { opacity: .3; } }
.exh { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.exh-c { border-radius: 14px; overflow: hidden; background: var(--bg3); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s; }
.exh-c.voted { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.exh-img { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; } .exh-img img { width: 100%; height: 100%; object-fit: cover; } .exh-img .noimg { width: 100%; height: 100%; border-radius: 0; }
.exh-rank { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.75); padding: 3px 8px; border-radius: 8px; font: 700 .8rem var(--f-hud); }
.exh-b { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; } .exh-b b { font-family: var(--f-hud); } .exh-b small { color: var(--muted); font-size: .8rem; }
.exh-b form { margin-top: auto; } .exh-b .btn { width: 100%; }
.vote-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; } .vote-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 6px; transition: width .8s var(--ease); }
.winner { display: flex; gap: 18px; align-items: center; padding: 14px; margin-bottom: 18px; border-radius: 16px; text-decoration: none; background: linear-gradient(110deg, rgba(43, 255, 136, .14), rgba(47, 125, 255, .1)); border: 1px solid rgba(43, 255, 136, .45); }
.winner img { width: 160px; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; } .winner b { display: block; font: 400 1.8rem/1 var(--f-display); text-transform: uppercase; } .winner small { color: #c9d2da; } .winner .kicker { margin-bottom: 6px; }
.winner:hover { color: var(--ink); border-color: var(--green); }
.exh-apply { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line2); }
.exh-form { display: flex; gap: 8px; flex-wrap: wrap; } .exh-form select { flex: 1 1 200px; width: auto; } .exh-form input { flex: 2 1 240px; width: auto; }
.pinbox { margin: -6px 0 14px; } .pinmap { height: 320px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); margin-top: 8px; }
.linkbtn { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.notifs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.notifs a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; text-decoration: none; border-left: 3px solid transparent; }
.notifs a:hover { background: var(--bg3); color: var(--ink); } .notifs .unread a { border-left-color: var(--green); background: rgba(43, 255, 136, .05); }
.notifs small { color: #c9d2da; font-size: .85rem; } .notifs time { font-size: .72rem; }

@media (max-width: 960px) {
  .mapwrap { grid-template-columns: 1fr; grid-template-rows: 58svh auto; height: auto; }
  .map-canvas { order: -1; }
  .map-side { border-right: 0; } .map-list { max-height: none; overflow: visible; }
  .club-head { flex-direction: column; align-items: flex-start; gap: 14px; } .club-head .club-logo { width: 84px; height: 84px; }
}
@media (max-width: 640px) {
  .exh { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .winner { flex-direction: column; align-items: flex-start; } .winner img { width: 100%; }
  .bell { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
