/* GistMatrix Events. Loaded on the events pages only. */

.ev { --gold: #FFC21A; --night: #0B0B0F; --ev-top: 140px; }
.ev [hidden], .ev-toast[hidden] { display: none !important; }
.ev svg.gm-icon { width: 18px; height: 18px; }
.ev-muted { color: var(--muted); }
.ev-small { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ev-small .gm-icon { width: 14px !important; height: 14px !important; vertical-align: -2px; margin-right: 4px; }
.ev-small a { color: var(--text); font-weight: 700; }
.ev-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: none; font-size: 14px; margin-top: 12px; }
.ev-link:hover { text-decoration: underline; }
.ev-linkbtn { background: none; border: 0; color: var(--muted); font: 600 13px/1.2 var(--f-body); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; }
.ev-linkbtn:hover { color: var(--text); }
.ev-kicker { display: inline-flex; gap: 8px; align-items: center; font: 800 12px/1 var(--f-body); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin: 0; }
.ev-kicker--dark { color: var(--text); }
.ev-kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 194, 26, .22); animation: ev-ping 1.8s infinite; }
.btn--light { background: #FFFFFF; color: #121212; }
.btn--danger { background: var(--news); color: #FFFFFF; }

/* ---------- Animations ---------- */
@keyframes ev-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 26, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 194, 26, 0); } }
@keyframes ev-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ev-float { 0%, 100% { transform: translateY(0) rotate(-45deg); } 50% { transform: translateY(-14px) rotate(-45deg); } }
@keyframes ev-glow { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, 4%, 0) scale(1.08); } }
@keyframes ev-ring { 0% { transform: translateX(-50%) scale(.4); opacity: .9; } 100% { transform: translateX(-50%) scale(2.6); opacity: 0; } }
@keyframes ev-spin { to { transform: rotate(360deg); } }
@keyframes ev-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes ev-fall { to { transform: translate3d(var(--dx, 0), 110vh, 0) rotate(var(--r, 540deg)); } }
@keyframes ev-me { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .55); } 80%, 100% { box-shadow: 0 0 0 16px rgba(37, 99, 235, 0); } }
@keyframes ev-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } }
@keyframes ev-shimmer { to { background-position: -200% 0; } }

/* ---------- Hero ---------- */
.ev-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #F6F2EA; padding: clamp(36px, 7vw, 80px) 0 clamp(28px, 5vw, 52px); }
.ev-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%); }
.ev-hero__glow { position: absolute; inset: -30% -15% -20%; z-index: -2; background: radial-gradient(38% 45% at 12% 28%, rgba(200, 40, 140, .5), transparent 70%), radial-gradient(32% 42% at 86% 18%, rgba(255, 194, 26, .38), transparent 70%), radial-gradient(42% 50% at 62% 92%, rgba(37, 99, 235, .42), transparent 70%); filter: blur(12px); }
html.motion .ev-hero__glow { animation: ev-glow 16s ease-in-out infinite alternate; }
.ev-hero__in { position: relative; }
.ev-hero__h { font: 900 clamp(42px, 7.4vw, 92px)/.92 var(--f-head); letter-spacing: -0.04em; margin: 14px 0 16px; max-width: 11ch; }
.ev-hero__you { background: linear-gradient(92deg, #FFC21A 5%, #FF7A59 45%, #E0409F 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev-hero__sub { max-width: 58ch; color: #D4CEC3; font-size: clamp(16px, 1.6vw, 19px); margin: 0 0 26px; }
.ev-hero__pins { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ev-hero__pin { position: absolute; width: 40px; height: 40px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); display: grid; place-items: center; box-shadow: 0 14px 30px -10px var(--c), inset 0 0 0 2px rgba(255, 255, 255, .55); opacity: .92; }
.ev-hero__pin svg { width: 18px !important; height: 18px !important; color: #FFFFFF; transform: rotate(45deg); }
html.motion .ev-hero__pin { animation: ev-float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.ev-hero__pin:nth-child(1) { right: 6%; top: 16%; }
.ev-hero__pin:nth-child(2) { right: 20%; top: 8%; width: 30px; height: 30px; }
.ev-hero__pin:nth-child(3) { right: 12%; top: 48%; width: 50px; height: 50px; }
.ev-hero__pin:nth-child(4) { right: 30%; top: 30%; width: 28px; height: 28px; opacity: .6; }
.ev-hero__pin:nth-child(5) { right: 3%; top: 72%; width: 34px; height: 34px; }
.ev-hero__pin:nth-child(6) { right: 24%; top: 66%; }
.ev-hero__pin:nth-child(7) { right: 40%; top: 10%; width: 24px; height: 24px; opacity: .5; }
.ev-hero__pin:nth-child(8) { right: 9%; top: 88%; width: 26px; height: 26px; opacity: .55; }
.ev-hero__pin:nth-child(9) { right: 33%; top: 4%; width: 22px; height: 22px; opacity: .4; }
@media (max-width: 899px) { .ev-hero__pin:nth-child(n+3) { display: none; } .ev-hero__pin { opacity: .45; } }

.ev-search { position: relative; display: grid; grid-template-columns: 1.3fr 1fr auto auto; gap: 6px; align-items: stretch; background: #FFFFFF; border-radius: 20px; padding: 6px; max-width: 900px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); color: #121212; }
.ev-search__f { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 14px; min-width: 0; }
.ev-search__f .gm-icon { color: #5A5650; flex: none; }
.ev-search__f + .ev-search__f { border-left: 1px solid #E2DCD0; border-radius: 0 14px 14px 0; }
.ev-search__f:focus-within { background: #F6F2EA; }
.ev-search input { border: 0; outline: 0; background: transparent; font-size: 16px; width: 100%; min-width: 0; padding: 14px 0; color: #121212; }
.ev-search input::placeholder { color: #8A847A; }
.ev-locate { border: 0; background: #F1ECE2; color: #121212; border-radius: 14px; padding: 0 16px; font: 700 15px/1 var(--f-body); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; transition: background .15s; }
.ev-locate:hover { background: #E6DFD1; }
.ev-locate.is-busy .gm-icon { animation: ev-spin 1s linear infinite; }
.ev-locate.is-on { background: #2563EB; color: #FFFFFF; }
.ev-search__go { border-radius: 14px; padding: 0 22px; }
.ev-suggest { position: absolute; left: 6px; right: 6px; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; background: #FFFFFF; color: #121212; border-radius: 16px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); max-height: 320px; overflow: auto; }
.ev-suggest button { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; cursor: pointer; font: 600 15px/1.3 var(--f-body); color: #121212; }
.ev-suggest button:hover, .ev-suggest button:focus { background: #F6F2EA; outline: 0; }
.ev-suggest small { display: block; color: #5A5650; font-weight: 500; font-size: 13px; }
.ev-suggest .gm-icon { margin-top: 2px; color: #5A5650; }
@media (max-width: 760px) {
	.ev-search { grid-template-columns: 1fr 1fr; }
	.ev-search__q, .ev-search__where { grid-column: 1 / -1; }
	.ev-search__f + .ev-search__f { border-left: 0; border-top: 1px solid #E2DCD0; border-radius: 0; }
	.ev-locate, .ev-search__go { padding: 13px 14px; justify-content: center; }
}
.ev-hero__host { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; }
.ev-hero__host a { display: inline-flex; gap: 8px; align-items: center; color: #F6F2EA; font-weight: 700; text-decoration: none; font-size: 15px; }
.ev-hero__host a:hover { color: var(--gold); }
.ev-hero__host .gm-icon { width: 20px !important; height: 20px !important; padding: 3px; border-radius: 50%; background: var(--gold); color: #121212; }

/* ---------- Filters ---------- */
.ev-filters { position: sticky; top: 66px; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(8px)) { .ev-filters { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); } }
.admin-bar .ev-filters { top: 98px; }
@media (max-width: 782px) { .admin-bar .ev-filters { top: 112px; } }
@media (max-width: 600px) { .admin-bar .ev-filters { top: 66px; } }
.ev-filters__in { display: grid; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
@media (min-width: 1024px) {
	.ev-filters__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
	.ev-chiprow--cats { grid-column: 1 / -1; grid-row: 2; }
}
.ev-chiprow { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.ev-chiprow::-webkit-scrollbar { display: none; }
.ev-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--rule-strong); background: var(--surface); color: var(--text); border-radius: 999px; padding: 7px 13px; font: 700 13px/1 var(--f-body); cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.ev-chip:hover { border-color: var(--text); }
.ev-chip:active { transform: scale(.97); }
.ev-chip.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.ev-chip--cat { padding-left: 5px; }
.ev-chip--cat[data-cat=""] { padding-left: 13px; }
.ev-chip--cat.is-on:not([data-cat=""]) { background: var(--c); border-color: var(--c); color: #FFFFFF; }
.ev-chip__ic { width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #FFFFFF; display: grid; place-items: center; flex: none; }
.ev-chip__ic svg { width: 13px !important; height: 13px !important; }
.ev-chip--cat.is-on .ev-chip__ic { background: rgba(255, 255, 255, .25); }
.ev-selects { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-select { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.ev-select select { appearance: none; -webkit-appearance: none; border: 1.5px solid var(--rule-strong); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center; color: var(--text); border-radius: 10px; padding: 7px 28px 7px 10px; font: 700 13px/1.1 var(--f-body); cursor: pointer; }
.ev-select span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (min-width: 1500px) { .ev-select span { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
@media (max-width: 1023px) {
	.ev-filters__in { gap: 7px; padding-top: 8px; padding-bottom: 8px; }
	.ev-selects { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; }
	.ev-selects::-webkit-scrollbar { display: none; }
	.ev-select select { padding: 6px 26px 6px 10px; font-size: 12.5px; }
	.ev-chip { padding: 6px 11px; font-size: 12.5px; }
	.ev-chip__ic { width: 20px; height: 20px; }
}

/* ---------- Split: list and map ---------- */
.ev-split { display: grid; grid-template-columns: minmax(0, 1fr); }
.ev-results { padding: 16px var(--gut) 40px; min-width: 0; }
@media (min-width: 1024px) {
	.ev-split { grid-template-columns: minmax(400px, 540px) minmax(0, 1fr); }
	.ev-results { padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); padding-right: 20px; }
}
.ev-results__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 0 12px; }
.ev-count { margin: 0; font: 800 15px/1.2 var(--f-body); }
.ev-count small { font-weight: 600; color: var(--muted); }
.ev-clear { border: 0; background: none; color: var(--learn); font: 700 14px var(--f-body); cursor: pointer; padding: 4px; }
.ev-mapcol { position: relative; min-height: 300px; }
.ev-map { position: absolute; inset: 0; background: #E8E3D9; z-index: 1; }
[data-theme="dark"] .ev-map { background: #1A1A1D; }
@media (min-width: 1024px) {
	.ev-mapcol { position: sticky; top: var(--ev-top); height: calc(100vh - var(--ev-top)); border-left: 1px solid var(--rule); }
}
@media (max-width: 1023px) {
	.ev-mapcol { position: fixed; left: 0; right: 0; bottom: 0; top: var(--ev-top); z-index: 35; visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s; }
	.ev-browse.is-map .ev-mapcol { visibility: visible; opacity: 1; transition: opacity .2s; }
	.ev-browse.is-map .ev-results, .ev-browse.is-map .ev-how { visibility: hidden; }
}
.ev-toggle { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 45; display: none; align-items: center; gap: 8px; border: 0; background: #121212; color: #FFFFFF; border-radius: 999px; padding: 13px 22px; font: 800 15px/1 var(--f-body); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .55), 0 0 0 2px rgba(255, 255, 255, .12); cursor: pointer; }
.ev-toggle span { display: inline-flex; gap: 8px; align-items: center; }
.ev-toggle__list { display: none !important; }
.ev-browse.is-map .ev-toggle__list { display: inline-flex !important; }
.ev-browse.is-map .ev-toggle__map { display: none; }
@media (max-width: 1023px) { .ev-toggle { display: inline-flex; } }
.ev-area { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 500; background: #121212; color: #FFFFFF; border: 0; border-radius: 999px; padding: 11px 18px; font: 800 14px/1 var(--f-body); display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .45); cursor: pointer; animation: ev-in .25s ease; }
.ev-area .gm-icon { width: 16px !important; height: 16px !important; }
.ev-sheet { position: absolute; left: 10px; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 600; animation: ev-in .2s ease; }
.ev-sheet .ev-card { box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); }
@media (min-width: 1024px) { .ev-sheet { display: none !important; } }

/* Near-me prompt, featured strip, empty state */
.ev-nearme { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; padding: 14px; border-radius: 18px; background: linear-gradient(120deg, rgba(37, 99, 235, .14), rgba(200, 40, 140, .12)); border: 1px solid var(--rule); margin-bottom: 14px; }
.ev-nearme p { margin: 0; font-size: 14px; }
.ev-nearme .btn { grid-column: 1 / -1; justify-self: start; padding: 9px 15px; font-size: 14px; }
.ev-nearme__ic { width: 42px; height: 42px; border-radius: 13px; background: var(--learn); color: #FFFFFF; display: grid; place-items: center; }
.ev-nearme[hidden] { display: none; }
.ev-sub { display: flex; gap: 6px; align-items: center; font: 900 19px/1 var(--f-head); margin: 4px 0 10px; letter-spacing: -0.01em; }
.ev-sub .gm-icon { color: var(--gold); fill: var(--gold); }
.ev-featured__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 80%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: 0 -2px 10px; scrollbar-width: thin; }
.ev-featured__row > * { scroll-snap-align: start; }
@media (min-width: 640px) { .ev-featured__row { grid-auto-columns: minmax(240px, 46%); } }
.ev-morebtn { width: 100%; margin-top: 14px; }
.ev-empty { text-align: center; padding: 34px 18px; border: 2px dashed var(--rule-strong); border-radius: 22px; margin-top: 8px; }
.ev-empty h2 { font: 900 23px/1.15 var(--f-head); margin: 14px 0 6px; }
.ev-empty p { color: var(--muted); margin: 0 auto 10px; max-width: 46ch; }
.ev-empty__art { width: 76px; height: 76px; border-radius: 24px; background: var(--chip); display: inline-grid; place-items: center; }
.ev-empty__art .gm-icon { width: 36px !important; height: 36px !important; }
.ev-empty__btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ev-empty[hidden] { display: none; }
.ev-skel { height: 126px; border-radius: 18px; background: linear-gradient(90deg, var(--chip) 25%, var(--surface) 50%, var(--chip) 75%); background-size: 200% 100%; animation: ev-shimmer 1.2s linear infinite; list-style: none; }

/* ---------- Event cards ---------- */
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-card { position: relative; display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; padding: 10px; background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; animation: ev-in .35s ease both; }
.ev-card:hover, .ev-card.is-hot { border-color: var(--c); box-shadow: 0 14px 30px -18px var(--c); transform: translateY(-2px); }
.ev-card.is-featured { border-color: rgba(255, 194, 26, .8); background: linear-gradient(160deg, rgba(255, 194, 26, .13), transparent 55%), var(--surface); }
.ev-card.is-cancelled { opacity: .65; }
.ev-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: 13px; overflow: hidden; background: var(--c); }
.ev-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ev-card:hover .ev-card__media img { transform: scale(1.06); }
.ev-date { position: absolute; left: 6px; top: 6px; background: #FFFFFF; color: #121212; border-radius: 9px; padding: 4px 7px 5px; text-align: center; line-height: 1; box-shadow: 0 3px 10px rgba(0, 0, 0, .25); min-width: 38px; z-index: 1; }
.ev-date b { display: block; font: 800 10px/1 var(--f-body); text-transform: uppercase; color: var(--c); letter-spacing: .08em; filter: saturate(1.2) brightness(.85); }
.ev-date i { display: block; font: 900 19px/1 var(--f-head); font-style: normal; margin-top: 2px; }
.ev-date--lg { left: 14px; top: 14px; padding: 7px 11px 8px; border-radius: 12px; }
.ev-date--lg b { font-size: 12px; }
.ev-date--lg i { font-size: 30px; }
.ev-card__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 2px 4px 2px 0; }
.ev-card__kick { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 11.5px; font-weight: 800; color: var(--c); text-transform: uppercase; letter-spacing: .05em; }
[data-theme="dark"] .ev-card__kick, [data-theme="dark"] .ev-date b { color: color-mix(in srgb, var(--c) 62%, #FFFFFF); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ev-card__kick { color: color-mix(in srgb, var(--c) 62%, #FFFFFF); } }
.ev-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.ev-card__t { font: 800 17px/1.2 var(--f-head); margin: 1px 0 3px; letter-spacing: -0.01em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-card__t a { text-decoration: none; color: var(--text); }
.ev-card__t a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.ev-card__m { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.ev-card__m .gm-icon { width: 14px !important; height: 14px !important; margin-top: 2px; flex: none; }
.ev-card__m span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.ev-card__f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 5px 0 0; }
.ev-price { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--chip); color: var(--text); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-price.is-free { background: #DFF4E7; color: #0A4426; }
.ev-going, .ev-dist { font-size: 12px; font-weight: 700; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.ev-going .gm-icon { width: 14px !important; height: 14px !important; }
.ev-badge { display: inline-flex; gap: 4px; align-items: center; padding: 3px 8px; border-radius: 999px; font: 800 11px/1 var(--f-body); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.ev-badge .gm-icon { width: 11px !important; height: 11px !important; }
.ev-badge--gold { background: var(--gold); color: #121212; }
.ev-badge--gold .gm-icon { fill: currentColor; }
.ev-badge--now { background: var(--news); color: #FFFFFF; }
.ev-badge--now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FFFFFF; animation: gm-pulse 1.2s infinite; }
.ev-badge--off { background: var(--chip); color: var(--text); }
.ev-card--v { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.ev-card--v .ev-card__media { aspect-ratio: 4 / 3; border-radius: 0; }
.ev-card--v .ev-card__body { padding: 12px 14px 15px; }
.ev-list--compact .ev-card { grid-template-columns: 76px minmax(0, 1fr); }
.ev-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.ev-grid--past .ev-card { opacity: .72; filter: saturate(.7); }
.ev-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .32), transparent 46%), radial-gradient(circle at 85% 90%, rgba(0, 0, 0, .35), transparent 50%), linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 45%, #121212)); color: rgba(255, 255, 255, .92); }
.ev-ph svg { width: 42% !important; height: 42% !important; max-width: 72px; max-height: 72px; }

/* ---------- Map pins ---------- */
.ev-pinwrap { background: none !important; border: 0 !important; }
.ev-pin { position: relative; width: 36px; height: 46px; color: #FFFFFF; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .35)); transition: transform .2s cubic-bezier(.3, 1.5, .5, 1); transform-origin: 50% 100%; cursor: pointer; }
.ev-pin__shape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1 !important; }
.ev-pin__shape path { fill: var(--c); stroke: #FFFFFF; stroke-width: 2.5; }
.ev-pin__ic { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 18px; height: 18px; display: grid; place-items: center; z-index: 2; }
.ev-pin__ic svg { width: 18px; height: 18px; }
.ev-pin.is-featured { width: 46px; height: 58px; }
.ev-pin.is-featured .ev-pin__shape path { stroke: var(--gold); stroke-width: 3.5; }
.ev-pin.is-featured .ev-pin__ic { top: 11px; width: 22px; height: 22px; }
.ev-pin.is-featured .ev-pin__ic svg { width: 22px; height: 22px; }
.ev-pin.is-featured::before { content: "★"; position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: #121212; font: 900 12px/20px var(--f-body); text-align: center; box-shadow: 0 2px 4px rgba(0, 0, 0, .3); z-index: 1; }
.ev-pin.is-now::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 22px; height: 22px; margin-left: 0; border-radius: 50%; background: var(--news); transform: translateX(-50%); z-index: -1; animation: ev-ring 1.6s ease-out infinite; }
.ev-pin.is-hot { transform: scale(1.28) translateY(-3px); z-index: 1000; }
html.motion .ev-pin.is-new { animation: ev-bounce .6s ease 1; }
.ev-cluster { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #121212; color: var(--gold); font: 900 15px/1 var(--f-head); box-shadow: 0 0 0 5px rgba(255, 194, 26, .38), 0 6px 14px rgba(0, 0, 0, .35); border: 2px solid var(--gold); }
.ev-clusterwrap { background: none !important; }
.ev-me { width: 18px; height: 18px; border-radius: 50%; background: #2563EB; border: 3px solid #FFFFFF; box-shadow: 0 0 0 0 rgba(37, 99, 235, .5); animation: ev-me 2s infinite; }
.ev-mewrap { background: none !important; border: 0 !important; }
.ev-map--filter .leaflet-tile-pane { filter: none; }
[data-theme="dark"] .ev-map--filter .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.55); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ev-map--filter .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.55); } }
.ev .leaflet-container { font-family: var(--f-body); }
.ev .leaflet-control-zoom { border: 0 !important; box-shadow: 0 6px 18px -4px rgba(0, 0, 0, .35) !important; border-radius: 14px !important; overflow: hidden; }
.ev .leaflet-control-zoom a { width: 38px !important; height: 38px !important; line-height: 38px !important; font-size: 20px !important; background: var(--surface) !important; color: var(--text) !important; border-color: var(--rule) !important; }
.ev .leaflet-control-attribution { background: color-mix(in srgb, var(--surface) 85%, transparent) !important; color: var(--muted) !important; font-size: 10px; }
.ev .leaflet-control-attribution a { color: var(--muted) !important; }
.ev-maplocate { width: 38px; height: 38px; border: 0; border-radius: 14px; background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px -4px rgba(0, 0, 0, .35); }
.ev-maplocate.is-on { color: #2563EB; }
.ev .leaflet-popup-content-wrapper { border-radius: 18px; padding: 0; overflow: hidden; background: var(--surface); color: var(--text); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); }
.ev .leaflet-popup-content { margin: 0; width: 280px !important; }
.ev .leaflet-popup-tip { background: var(--surface); }
.ev .leaflet-popup-close-button { z-index: 5; color: #FFFFFF !important; background: rgba(0, 0, 0, .5) !important; border-radius: 50%; width: 26px !important; height: 26px !important; font: 18px/24px var(--f-body) !important; top: 8px !important; right: 8px !important; }
.ev-pop { display: block; text-decoration: none; color: var(--text); }
.ev-pop__img { position: relative; display: block; height: 140px; background: var(--c); overflow: hidden; }
.ev-pop__img img { width: 100%; height: 100%; object-fit: cover; }
.ev-pop__b { display: block; padding: 12px 14px 14px; }
.ev-pop__k { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--c); margin-bottom: 4px; }
.ev-pop__t { display: block; font: 800 17px/1.2 var(--f-head); margin-bottom: 6px; }
.ev-pop__m { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.ev-pop__cta { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-weight: 800; font-size: 13px; color: var(--text); }

/* ---------- How it works / plans ---------- */
.ev-how { position: relative; background: var(--surface); border-top: 1px solid var(--rule); padding: clamp(44px, 6vw, 72px) 0 clamp(52px, 7vw, 84px); }
.ev-how__h { font: 900 clamp(30px, 4.4vw, 50px)/1 var(--f-head); letter-spacing: -0.035em; margin: 12px 0 26px; max-width: 16ch; }
.ev-how__steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.ev-how__steps li { padding: 20px; border-radius: 20px; background: var(--bg); border: 1px solid var(--rule); }
.ev-how__steps span { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #121212; display: grid; place-items: center; font: 900 17px/1 var(--f-head); margin-bottom: 12px; }
.ev-how__steps strong { display: block; font: 800 19px/1.2 var(--f-head); margin-bottom: 6px; }
.ev-how__steps p { margin: 0; color: var(--muted); font-size: 15px; }
.ev-how__cta { margin: 22px 0 0; }
.ev-plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); margin: 14px 0 16px; padding-top: 10px; }
.ev-plan { position: relative; display: block; cursor: pointer; }
.ev-how .ev-plan { cursor: default; }
.ev-plan input { position: absolute; opacity: 0; pointer-events: none; }
.ev-plan__in { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px 18px 18px; border-radius: 20px; border: 2px solid var(--rule-strong); background: var(--bg); transition: transform .2s, border-color .2s, box-shadow .2s; }
.ev-plan:hover .ev-plan__in { border-color: var(--text); }
.ev-plan input:checked + .ev-plan__in { border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 18%, transparent), 0 16px 34px -18px rgba(0, 0, 0, .55); transform: translateY(-3px); }
.ev-plan input:focus-visible + .ev-plan__in { outline: 3px solid var(--learn); outline-offset: 2px; }
.ev-plan--featured .ev-plan__in { border-color: var(--gold); background: linear-gradient(160deg, rgba(255, 194, 26, .2), transparent 55%), var(--bg); }
.ev-plan--featured input:checked + .ev-plan__in { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 194, 26, .38), 0 16px 34px -18px rgba(0, 0, 0, .55); }
.ev-plan__rib { position: absolute; top: -11px; right: 16px; background: var(--gold); color: #121212; font: 800 11px/1 var(--f-body); padding: 6px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .25); }
.ev-plan--pass .ev-plan__rib { background: var(--learn); color: #FFFFFF; }
.ev-plan__name { font: 800 13px/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ev-plan__price { font: 900 36px/1 var(--f-head); letter-spacing: -0.03em; margin-top: 8px; }
.ev-plan__per { font-size: 13px; color: var(--muted); }
.ev-plan__note { font-size: 12.5px; font-weight: 800; color: var(--sports); }
.ev-plan__blurb { font-size: 14px; margin: 10px 0 4px; font-weight: 600; }
.ev-plan__perks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 5px; font-size: 13.5px; }
.ev-plan__perks li { display: flex; gap: 7px; align-items: flex-start; }
.ev-plan__perks .gm-icon { width: 16px !important; height: 16px !important; color: var(--sports); flex: none; margin-top: 1px; }

/* ---------- Event page ---------- */
.ev-sh { position: relative; overflow: hidden; isolation: isolate; color: #F6F2EA; background: var(--night); }
.ev-sh__bg { position: absolute; inset: -60px; background: radial-gradient(60% 80% at 22% 20%, var(--c), transparent 70%), var(--night); background-size: cover; background-position: center; filter: blur(46px) saturate(1.35) brightness(.42); transform: scale(1.08); z-index: -2; }
.ev-sh__bg:not([style]) { filter: brightness(.7); }
.ev-sh::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 15, .2), rgba(11, 11, 15, .55)); }
.ev-sh__in { padding-top: 18px; padding-bottom: clamp(28px, 4vw, 48px); }
.ev-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: #D4CEC3; }
.ev-crumbs a { color: inherit; text-decoration: none; }
.ev-crumbs a:hover { color: #FFFFFF; text-decoration: underline; }
.ev-crumbs .gm-icon { width: 14px !important; height: 14px !important; opacity: .6; }
.ev-sh__grid { display: grid; gap: 26px; margin-top: 18px; }
@media (min-width: 860px) { .ev-sh__grid { grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: 48px; align-items: center; } }
.ev-sh__poster { position: relative; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1); background: var(--c); max-width: 420px; }
.ev-sh__poster img { width: 100%; height: auto; max-height: 72vh; object-fit: cover; }
.ev-sh__poster.is-ph { aspect-ratio: 4 / 5; }
.ev-sh__poster .ev-ph svg { max-width: 120px; max-height: 120px; }
@media (max-width: 859px) { .ev-sh__poster { max-width: 360px; } .ev-sh__poster.is-ph { aspect-ratio: 16 / 9; max-width: none; } }
.ev-sh__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.ev-tag { display: inline-flex; gap: 7px; align-items: center; background: var(--c); color: #FFFFFF; padding: 6px 12px 6px 9px; border-radius: 999px; font: 800 13px/1 var(--f-body); text-decoration: none; box-shadow: 0 6px 16px -6px var(--c); }
.ev-tag .gm-icon { width: 15px !important; height: 15px !important; }
.ev-sh .ev-badge { font-size: 12px; padding: 5px 10px; }
.ev-sh__title { font: 900 clamp(32px, 5.2vw, 62px)/1 var(--f-head); letter-spacing: -0.035em; margin: 14px 0 20px; overflow-wrap: anywhere; }
.ev-facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.ev-facts li { display: flex; gap: 14px; align-items: flex-start; }
.ev-facts__ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; }
.ev-facts__ic .gm-icon { width: 21px !important; height: 21px !important; color: var(--gold); }
.ev-facts strong { display: block; font-size: 16.5px; line-height: 1.3; }
.ev-facts li > div > span { display: block; color: #D4CEC3; font-size: 14px; margin-top: 2px; }
.ev-yourtime:empty { display: none; }
.ev-countdown { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 18px; font-size: 14px; font-weight: 700; color: #D4CEC3; }
.ev-countdown:empty { display: none; }
.ev-countdown b { display: inline-grid; place-items: center; min-width: 46px; padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #FFFFFF; font: 900 20px/1 var(--f-head); }
.ev-countdown b small { display: block; font: 700 10px/1 var(--f-body); color: #B9B3A8; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.ev-countdown.is-now { color: #FFFFFF; }
.ev-countdown.is-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--news); box-shadow: 0 0 0 4px rgba(214, 58, 36, .35); animation: gm-pulse 1.2s infinite; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ev-act { display: inline-flex; gap: 8px; align-items: center; border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #FFFFFF; border-radius: 999px; padding: 11px 16px; font: 700 14px/1 var(--f-body); cursor: pointer; list-style: none; transition: background-color .15s, transform .15s, border-color .15s; }
.ev-act::-webkit-details-marker { display: none; }
.ev-act:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.ev-act:active { transform: scale(.96); }
.ev-act.is-on { background: #FFFFFF; color: #121212; border-color: #FFFFFF; }
.ev-act.is-on[data-list="going"] { background: var(--sports); border-color: var(--sports); color: #FFFFFF; }
.ev-act.is-on .gm-icon--bookmark { fill: currentColor; }
.ev-act__n { background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 3px 8px; font-size: 12px; }
.ev-act__n:empty { display: none; }
.ev-cal { position: relative; }
.ev-cal__menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--surface); color: var(--text); border-radius: 14px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); padding: 6px; z-index: 20; min-width: 250px; animation: ev-in .2s ease; }
.ev-cal__menu a { display: block; padding: 11px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; }
.ev-cal__menu a:hover { background: var(--chip); }
.ev-ownerbar { background: var(--gold); color: #121212; }
.ev-ownerbar__in { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.ev-ownerbar p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.ev-ownerbar .gm-icon { width: 16px !important; height: 16px !important; }
.ev-ownerbar .btn { padding: 8px 14px; font-size: 13px; }
.ev-ownerbar .btn--cta { background: #121212; color: var(--gold); }
.ev-ownerbar__btns { gap: 6px !important; }
.ev-banner { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; margin: 18px 0 0; font-weight: 700; }
.ev-banner--off { background: #FDECEA; color: #8A1C10; }
.ev-body { display: grid; gap: 32px; padding-top: 34px; padding-bottom: 60px; }
@media (min-width: 960px) { .ev-body { grid-template-columns: minmax(0, 1fr) 370px; gap: 52px; } }
.ev-sec { margin-bottom: 40px; }
.ev-sec__h { font: 900 25px/1.1 var(--f-head); margin: 0 0 16px; letter-spacing: -0.02em; }
.ev-desc { font-size: 17px; line-height: 1.7; max-width: 70ch; overflow-wrap: anywhere; }
.ev-desc p { margin: 0 0 1em; }
.ev-desc a { color: var(--learn); }
.ev-where { display: grid; background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; }
@media (min-width: 700px) { .ev-where { grid-template-columns: 1.3fr 1fr; } }
.ev-minimap { min-height: 260px; height: 100%; background: #E8E3D9; position: relative; z-index: 1; }
.ev-where__txt { padding: 18px 20px; }
.ev-where__txt p { margin: 0 0 14px; }
.ev-where__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-where__btns .btn { padding: 10px 15px; font-size: 14px; }
.ev-side { display: grid; gap: 16px; align-content: start; }
@media (min-width: 960px) { .ev-side { position: sticky; top: 90px; } }
.ev-box { background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 20px; }
.ev-box__k { margin: 0 0 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ev-box__h { font: 900 21px/1.1 var(--f-head); margin: 0 0 14px; }
.ev-hostbox__who { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.ev-hostbox__who > span { display: grid; gap: 2px; min-width: 0; }
.ev-hostbox__who strong { display: flex; gap: 6px; align-items: center; font-size: 17px; }
.ev-hostbox__who > span > span { color: var(--muted); font-size: 13px; }
.ev-hostbox__bio { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.ev-av { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; background: var(--chip); }
.ev-av--txt { display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--h, 30) 70% 52%), hsl(calc(var(--h, 30) + 50) 65% 38%)); color: #FFFFFF; font: 900 19px/1 var(--f-head); letter-spacing: -0.02em; }
.ev-av--lg { width: 76px; height: 76px; font-size: 26px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.ev-av--xl { width: 124px; height: 124px; font-size: 44px; border: 5px solid var(--bg); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55); }
.ev-verified { color: #3B82F6; display: inline-flex; }
.ev-verified .gm-icon { width: 19px !important; height: 19px !important; fill: rgba(59, 130, 246, .15); }
.ev-cbtns { display: grid; gap: 8px; margin-bottom: 14px; }
.ev-cbtn { display: flex; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 15px; border: 1.5px solid var(--rule-strong); background: var(--bg); color: var(--text); text-decoration: none; cursor: pointer; text-align: left; font: inherit; width: 100%; transition: transform .15s, border-color .15s, background-color .15s; }
.ev-cbtn:hover { border-color: var(--text); transform: translateY(-1px); }
.ev-cbtn > .gm-icon { width: 22px !important; height: 22px !important; flex: none; }
.ev-cbtn span { min-width: 0; }
.ev-cbtn b { display: block; font-size: 14px; }
.ev-cbtn i { display: block; font-style: normal; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.ev-cbtn--whatsapp { border-color: #25D366; background: rgba(37, 211, 102, .08); }
.ev-cbtn--whatsapp > .gm-icon { color: #1DA851; }
.ev-cbtn--phone > .gm-icon { color: var(--learn); }
.ev-cbtn--email > .gm-icon { color: var(--news); }
.ev-cbtn--instagram > .gm-icon { color: var(--ent); }
.is-locked .ev-cbtn i { font-weight: 700; color: var(--text); }
.ev-msg textarea { min-height: 100px; }
.ev-msg .btn { justify-self: stretch; }
.ev-report { text-align: center; margin: 0; }
.ev-hh__side .ev-cbtns { margin: 0; }

.ev-dialog { border: 0; border-radius: 22px; padding: 24px; width: min(480px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.ev-dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.ev-dialog[open] { animation: ev-in .25s ease; }
.ev-dialog__h { font: 900 24px/1.1 var(--f-head); margin: 0 0 14px; }
.ev-dialog__btns { display: flex; justify-content: flex-end; gap: 8px; margin: 14px 0 0; }
.ev-radio { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-weight: 600; font-size: 15px; cursor: pointer; }
.ev-radio input { width: 18px; height: 18px; accent-color: var(--text); }
.ev-sharebox__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ev-sharebtn { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 13px; border-radius: 14px; border: 1.5px solid var(--rule-strong); font: 700 15px var(--f-body); text-decoration: none; background: var(--bg); color: var(--text); cursor: pointer; }
.ev-sharebtn--wa { background: #25D366; color: #FFFFFF; border-color: #25D366; }
.ev-sharebtn:hover { transform: translateY(-1px); }

/* ---------- Host form ---------- */
.ev-formpage, .ev-paypage, .ev-msgpage { padding: 30px 0 72px; }
.ev-fh { max-width: 780px; margin: 0 0 20px; }
.ev-fh__h { font: 900 clamp(32px, 5vw, 54px)/1 var(--f-head); letter-spacing: -0.035em; margin: 10px 0 10px; overflow-wrap: anywhere; }
.ev-fh__sub { color: var(--muted); font-size: 17px; margin: 0; }
.ev-steps { list-style: none; margin: 0 0 22px; padding: 2px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ev-steps::-webkit-scrollbar { display: none; }
.ev-steps button { display: flex; gap: 8px; align-items: center; border: 0; background: var(--chip); color: var(--text); border-radius: 999px; padding: 6px 14px 6px 6px; font: 700 13px/1 var(--f-body); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.ev-steps button:disabled { cursor: default; }
.ev-steps__n { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 800; transition: background-color .2s; }
.ev-steps__i.is-on button { background: var(--text); color: var(--bg); }
.ev-steps__i.is-on .ev-steps__n { background: var(--gold); color: #121212; }
.ev-steps__i.is-done .ev-steps__n { background: var(--sports); color: #FFFFFF; }
.ev-fgrid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .ev-fgrid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.ev-form { background: var(--surface); border: 1px solid var(--rule); border-radius: 24px; padding: clamp(18px, 3vw, 32px); }
.ev-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.ev-step.is-on { display: block; animation: ev-in .35s ease; }
.ev-step__h { font: 900 27px/1.1 var(--f-head); margin: 0 0 18px; padding: 0; letter-spacing: -0.02em; }
.ev-step__sub { font: 800 19px/1.2 var(--f-head); margin: 26px 0 4px; display: flex; gap: 8px; align-items: center; }
.ev-hint { margin: 7px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.ev-hint .gm-icon { width: 15px !important; height: 15px !important; flex: none; }
.ev-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ev-form input[type="search"], .ev-form .gm-field input[type="date"], .ev-form .gm-field input[type="time"] { width: 100%; font-size: 16px; padding: 11px 14px; border: 1.5px solid var(--rule-strong); border-radius: 10px; background: var(--surface); color: var(--text); }
.ev-form .is-bad input, .ev-form .is-bad textarea, .ev-form .is-bad select, .ev-form input.is-bad { border-color: var(--news) !important; box-shadow: 0 0 0 3px rgba(214, 58, 36, .15); }
.ev-catpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(136px, 100%), 1fr)); gap: 8px; }
.ev-catpick__i { position: relative; }
.ev-catpick__i input { position: absolute; opacity: 0; pointer-events: none; }
.ev-catpick__i span { display: flex; gap: 9px; align-items: center; height: 100%; padding: 9px 10px; border-radius: 14px; border: 1.5px solid var(--rule-strong); font-weight: 700; font-size: 13px; cursor: pointer; line-height: 1.2; background: var(--bg); transition: border-color .15s, background-color .15s, transform .15s; }
.ev-catpick__i span:hover { border-color: var(--c); }
.ev-catpick__i i { width: 32px; height: 32px; border-radius: 10px; background: var(--c); color: #FFFFFF; display: grid; place-items: center; flex: none; }
.ev-catpick__i i svg { width: 17px !important; height: 17px !important; }
.ev-catpick__i input:checked + span { border-color: var(--c); background: color-mix(in srgb, var(--c) 15%, var(--bg)); box-shadow: inset 0 0 0 1.5px var(--c); }
.ev-catpick__i input:focus-visible + span { outline: 3px solid var(--learn); outline-offset: 2px; }
.ev-drop { position: relative; border: 2px dashed var(--rule-strong); border-radius: 20px; background: var(--bg); overflow: hidden; transition: border-color .2s, background-color .2s; }
.ev-drop.is-over { border-color: var(--gold); background: rgba(255, 194, 26, .08); }
.ev-drop__file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ev-drop__in { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 30px 16px; cursor: pointer; }
.ev-drop__in strong { font-size: 16px; }
.ev-drop__in span:last-child { color: var(--muted); font-size: 13px; max-width: 44ch; }
.ev-drop__ic { width: 60px; height: 60px; border-radius: 18px; background: var(--chip); display: grid; place-items: center; margin-bottom: 4px; transition: transform .2s; }
.ev-drop__ic .gm-icon { width: 28px !important; height: 28px !important; }
.ev-drop:hover .ev-drop__ic { transform: translateY(-3px) rotate(-4deg); }
.ev-drop__pv { display: none; position: relative; background: var(--night); }
.ev-drop.has-img { border-style: solid; }
.ev-drop.has-img .ev-drop__pv { display: block; }
.ev-drop.has-img .ev-drop__in { display: none; }
.ev-drop__pv img { width: 100%; max-height: 440px; object-fit: contain; margin: 0 auto; }
.ev-drop__x { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #FFFFFF; display: grid; place-items: center; cursor: pointer; }
.ev-drop__bar { height: 4px; }
.ev-drop__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #FF7A59); transition: width .2s; }
.ev-when-sum { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--chip); font-weight: 700; font-size: 14px; }
.ev-when-sum:empty { display: none; }
.ev-geo__row { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-geo__row input { flex: 1 1 220px; }
.ev-geo__row .btn { padding: 11px 15px; }
.ev-geo__res { list-style: none; margin: 8px 0 0; padding: 5px; border: 1px solid var(--rule); border-radius: 14px; background: var(--bg); display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.ev-geo__res button { width: 100%; text-align: left; border: 0; background: none; color: var(--text); padding: 10px; border-radius: 10px; cursor: pointer; font: 600 14px/1.35 var(--f-body); display: flex; gap: 8px; align-items: flex-start; }
.ev-geo__res button:hover, .ev-geo__res button:focus { background: var(--chip); outline: 0; }
.ev-geo__res .gm-icon { flex: none; margin-top: 2px; }
.ev-geo__res li.ev-geo__none { padding: 10px; color: var(--muted); font-size: 14px; }
.ev-pickmap { height: 340px; border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); position: relative; z-index: 1; background: #E8E3D9; }
.ev-pickmap .leaflet-container { cursor: crosshair; }
.ev-fnav { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.ev-fnav .js-ev-back { margin-right: auto; }
.ev-fnav .btn { padding: 13px 20px; }
.ev-fnav .btn[hidden] { display: none; }
.ev-form .gm-form__live { margin-top: 14px; }
.ev-form .gm-form__live.is-good { background: #DFF4E7; color: #0A4426; }
.ev-preview { position: sticky; top: 90px; }
@media (max-width: 1023px) { .ev-preview { display: none; } }
.ev-preview__k { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.ev-preview__card .ev-card { animation: none; }
.ev-preview__card .ev-card__t a::after { display: none; }
.ev-terms { margin: 4px 0 12px; font-size: 14px; }
.ev-terms summary { cursor: pointer; font-weight: 700; }
.ev-terms ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.ev-paynote { font-size: 13px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.ev-paynote .gm-icon { width: 16px !important; height: 16px !important; color: var(--sports); vertical-align: -3px; margin-right: 6px; }
.ev-paynote .ev-badge { margin-left: 6px; }
.ev-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--chip); font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.ev-note a { font-weight: 800; }
.ev-note--good { background: #DFF4E7; color: #0A4426; }
.ev-note--hot { background: #FFF1C2; color: #4D3A00; }
.ev-note .gm-icon { flex: none; }
.ev-manual { margin-top: 16px; padding: 20px; border-radius: 18px; background: #FFF6DA; color: #3D2E00; white-space: pre-line; border: 1.5px solid var(--gold); }
.ev-manual h3 { font: 900 22px/1.1 var(--f-head); margin: 0 0 8px; white-space: normal; }
.ev-manual code { background: #FFFFFF; padding: 2px 6px; border-radius: 6px; font-size: 15px; }
.ev-upgrade { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--rule-strong); }
.ev-prefix { display: flex; border: 1.5px solid var(--rule-strong); border-radius: 10px; overflow: hidden; background: var(--surface); }
.ev-prefix span { padding: 12px 2px 12px 12px; color: var(--muted); font-size: 14px; white-space: nowrap; align-self: center; }
.ev-prefix input { border: 0 !important; padding-left: 2px !important; min-width: 0; border-radius: 0 !important; }

/* ---------- Payment result ---------- */
.ev-done { max-width: 660px; margin: 0 auto; text-align: center; position: relative; }
.ev-done__tick { width: 92px; height: 92px; border-radius: 50%; background: var(--sports); color: #FFFFFF; display: inline-grid; place-items: center; box-shadow: 0 0 0 14px rgba(8, 128, 62, .16); animation: ev-pop .7s cubic-bezier(.2, 1.7, .4, 1) both; }
.ev-done__tick .gm-icon { width: 46px !important; height: 46px !important; stroke-width: 3; }
.ev-done--fail .ev-done__tick { background: var(--news); box-shadow: 0 0 0 14px rgba(214, 58, 36, .16); }
.ev-done__h { font: 900 clamp(34px, 5.4vw, 58px)/1 var(--f-head); margin: 24px 0 12px; letter-spacing: -0.035em; }
.ev-done__sub { color: var(--muted); font-size: 17px; margin: 0 auto 24px; max-width: 50ch; }
.ev-done__card { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.ev-done__btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ev-spin { width: 66px; height: 66px; border-radius: 50%; border: 6px solid var(--chip); border-top-color: var(--gold); display: inline-block; animation: ev-spin 1s linear infinite; }
.ev-confetti { position: fixed; top: -20px; width: 10px; height: 15px; z-index: 300; pointer-events: none; border-radius: 2px; animation: ev-fall linear forwards; }

/* ---------- Dashboard ---------- */
.ev-dh { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #F6F2EA; }
.ev-dh::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(30% 50% at 15% 40%, rgba(200, 40, 140, .4), transparent 70%), radial-gradient(30% 50% at 85% 30%, rgba(255, 194, 26, .3), transparent 70%); filter: blur(10px); }
.ev-dh__in { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.ev-dh__who { flex: 1 1 280px; min-width: 0; }
.ev-dh__h { font: 900 clamp(30px, 4.2vw, 46px)/1 var(--f-head); margin: 10px 0 6px; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.ev-dh__sub { margin: 0; color: #D4CEC3; font-size: 15px; }
.ev-dh__sub a { color: var(--gold); font-weight: 700; }
.ev-dh__btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.ev-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 14px 0; position: sticky; top: 66px; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
.admin-bar .ev-tabs { top: 98px; }
.ev-tabs::-webkit-scrollbar { display: none; }
.ev-tabs__a { flex: none; display: inline-flex; gap: 7px; align-items: center; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; background: var(--chip); transition: background-color .15s, color .15s; }
.ev-tabs__a .gm-icon { width: 17px !important; height: 17px !important; }
.ev-tabs__a.is-on { background: var(--text); color: var(--bg); }
.ev-tabs__n { background: var(--surface); color: var(--text); border-radius: 999px; padding: 2px 7px; font-size: 12px; }
.ev-tabs__n.is-hot { background: var(--news); color: #FFFFFF; }
.ev-panel { display: none; padding: 20px 0 60px; }
.ev-panel.is-on { display: block; animation: ev-in .3s ease; }
html:not(.js) .ev-panel { display: block; }
.ev-panel__h { font: 900 25px/1.1 var(--f-head); margin: 22px 0 14px; letter-spacing: -0.02em; }
.ev-panel__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ev-panel__top .ev-panel__h { margin: 0; }
.ev-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); margin-bottom: 16px; }
.ev-tile { display: grid; gap: 2px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--rule); text-decoration: none; transition: transform .2s, border-color .2s; }
a.ev-tile:hover { border-color: var(--text); transform: translateY(-2px); }
.ev-tile__ic { width: 38px; height: 38px; border-radius: 12px; background: var(--chip); display: grid; place-items: center; margin-bottom: 10px; }
.ev-tile__ic .gm-icon { width: 19px !important; height: 19px !important; }
.ev-tile__n { font: 900 34px/1 var(--f-head); letter-spacing: -0.02em; }
.ev-tile__l { color: var(--muted); font-size: 13px; font-weight: 600; }
.ev-pass { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 20px; border-radius: 22px; background: linear-gradient(120deg, #2563EB, #7C3AED 60%, #C8288C); color: #FFFFFF; margin: 8px 0 18px; box-shadow: 0 20px 40px -24px #7C3AED; }
.ev-pass > div { flex: 1 1 260px; }
.ev-pass strong { font: 800 19px/1.2 var(--f-head); }
.ev-pass p { margin: 4px 0 0; opacity: .92; font-size: 14px; }
.ev-pass__ic { width: 50px; height: 50px; border-radius: 15px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.ev-pass__ic .gm-icon { width: 26px !important; height: 26px !important; }
.ev-pass.is-on { background: linear-gradient(120deg, #08803E, #0D9488); box-shadow: none; }
.ev-rows { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ev-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--rule); transition: opacity .3s; }
@media (min-width: 900px) { .ev-row { grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; } }
.ev-row.is-busy { opacity: .5; pointer-events: none; }
.ev-row__img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: block; background: var(--c); }
.ev-row__img img { width: 100%; height: 100%; object-fit: cover; }
.ev-row__main { min-width: 0; }
.ev-row__t { font: 800 18px/1.2 var(--f-head); margin: 3px 0 4px; overflow-wrap: anywhere; }
.ev-row__t a { text-decoration: none; }
.ev-row__m { margin: 0; font-size: 13px; color: var(--muted); }
.ev-row__stats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; font-size: 13px; font-weight: 700; }
.ev-row__stats span { display: inline-flex; gap: 5px; align-items: center; }
.ev-row__stats .gm-icon { width: 15px !important; height: 15px !important; color: var(--muted); }
.ev-row__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (min-width: 900px) { .ev-row__acts { grid-column: auto; justify-content: flex-end; max-width: 380px; } }
.ev-row__acts .btn { padding: 9px 14px; font-size: 13px; }
.ev-state { margin: 0; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.ev-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ev-state--live { color: var(--sports); }
.ev-state--live::before { animation: gm-pulse 1.6s infinite; }
.ev-state--awaiting { color: #B45309; }
.ev-state--hidden, .ev-state--cancelled { color: var(--news); }
.ev-gold { color: #B45309; }
[data-theme="dark"] .ev-gold, [data-theme="dark"] .ev-state--awaiting { color: var(--gold); }
.ev-msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-msgrow { display: flex; gap: 12px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--rule); transition: box-shadow .2s, border-color .2s; }
.ev-msgrow.is-unread { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.ev-msgrow .ev-av { width: 44px; height: 44px; font-size: 16px; }
.ev-msgrow__ic { width: 44px; height: 44px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; flex: none; }
.ev-msgrow__b { flex: 1; min-width: 0; }
.ev-msgrow__top { margin: 0; font-size: 14px; }
.ev-msgrow__top time { color: var(--muted); font-size: 12px; margin-left: 4px; }
.ev-msgrow__t { margin: 8px 0 12px; font-size: 15px; overflow-wrap: anywhere; }
.ev-msgrow.is-sent .ev-msgrow__t { margin-bottom: 0; color: var(--muted); }
.ev-msgrow__acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.ev-msgrow__acts .btn { padding: 8px 13px; font-size: 13px; }
.ev-tl { list-style: none; margin: 0 0 0 16px; padding: 4px 0 4px 26px; border-left: 2px solid var(--rule); display: grid; gap: 16px; }
.ev-tl li { display: flex; gap: 12px; position: relative; margin-left: -45px; }
.ev-tl__ic { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 2px solid var(--rule-strong); display: grid; place-items: center; flex: none; }
.ev-tl__ic .gm-icon { width: 16px !important; height: 16px !important; }
.ev-tl p { margin: 0; }
.ev-tl a { font-weight: 700; }
.ev-tl__m { font-size: 13px; color: var(--muted); margin-top: 2px !important; }
.ev-tablewrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--rule); }
.ev-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); }
.ev-table th, .ev-table td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.ev-table tr:last-child td { border-bottom: 0; }
.ev-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ev-table code { font-size: 12px; }
.ev-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--chip); }
.ev-pill--success { background: #DFF4E7; color: #0A4426; }
.ev-pill--pending { background: #FFF1C2; color: #4D3A00; }
.ev-pill--failed, .ev-pill--mismatch { background: #FDECEA; color: #8A1C10; }
.ev-profile { max-width: 780px; }
.ev-avpick { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; position: relative; }
.ev-avpick .ev-drop__bar { position: absolute; left: 0; right: 0; bottom: -6px; }
.ev-profile__btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }

/* ---------- Host page ---------- */
.ev-hh { position: relative; padding-top: 118px; margin-bottom: 10px; }
.ev-hh__cover { position: absolute; inset: 0 0 auto; height: 196px; background: radial-gradient(70% 140% at 8% 0%, hsl(var(--h) 75% 50%), transparent 62%), radial-gradient(60% 140% at 92% 0%, hsl(calc(var(--h) + 70) 70% 45%), transparent 62%), var(--night); }
.ev-hh__cover::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; }
.ev-hh__in { position: relative; display: grid; gap: 18px; }
@media (min-width: 900px) { .ev-hh__in { grid-template-columns: auto minmax(0, 1fr) 320px; align-items: end; } }
.ev-hh__who { min-width: 0; padding-top: 6px; }
.ev-hh__h { font: 900 clamp(30px, 4.2vw, 48px)/1 var(--f-head); margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; letter-spacing: -0.03em; }
.ev-hh__m { color: var(--muted); margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.ev-hh__m .gm-icon { width: 15px !important; height: 15px !important; }
.ev-hh__bio { max-width: 62ch; margin: 0 0 12px; }
.ev-hh__stats { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.ev-hh__stats strong { color: var(--text); font: 900 22px/1 var(--f-head); margin-right: 3px; }
.ev-hh__side p { margin: 10px 0 0; }

/* ---------- Gate and toast ---------- */
.ev-gate { max-width: 640px; margin: 24px auto; text-align: center; background: var(--surface); border: 1px solid var(--rule); border-radius: 26px; padding: clamp(26px, 5vw, 46px); }
.ev-gate__icon { width: 66px; height: 66px; border-radius: 22px; background: var(--gold); color: #121212; display: inline-grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(255, 194, 26, .7); }
.ev-gate__icon .gm-icon { width: 30px !important; height: 30px !important; }
.ev-gate__h { font: 900 clamp(24px, 3vw, 34px)/1.1 var(--f-head); margin: 18px 0 8px; letter-spacing: -0.02em; }
.ev-gate p { color: var(--muted); }
.ev-gate__btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 20px 0 0; }
.ev-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: #121212; color: #FFFFFF; padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; z-index: 400; opacity: 0; transition: opacity .25s, transform .25s; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .6); pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.ev-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .ev-toast { bottom: 32px; } }

@media (prefers-reduced-motion: reduce) {
	.ev *, .ev *::before, .ev *::after { animation: none !important; transition: none !important; }
}
