/* ============================================================
   ON/SOUND — Global Stylesheet
   ============================================================ */

/* === VARIABLES === */
:root {
	--bg-dark: #0f0f0f;
	--bg-card: #161616;
	--bg-card-raised: #1c1c1c;
	--text-primary: #f0f0f0;
	--text-secondary: #aaa;
	--text-muted: #777;
	--accent: #f4620a;
	--accent-glow: rgba(244, 98, 10, 0.18);
	--accent-hover: rgba(244, 98, 10, 0.07);
	--accent-dark: #ff7a2e;
	--border-subtle: rgba(255, 255, 255, 0.07);
	--border-mid: rgba(255, 255, 255, 0.11);
	color-scheme: dark;
}

/* === RESET === */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family:
		Inter,
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		sans-serif;
	background: var(--bg-dark);
	color: var(--text-primary);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

/* === HEADER === */
.header {
	position: sticky;
	top: 0;
	z-index: 300;
	background: rgba(15, 15, 15, 0.9);
	border-bottom: 1px solid var(--border-subtle);
	backdrop-filter: blur(12px);
	transition: transform 0.18s ease;
}

.headerInner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	height: 60px;
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Feed page uses full-width content */
.headerInner--wide {
	max-width: none;
}

.headerBrand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.headerCenter {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.headerActions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
	flex-shrink: 0;
}

/* Logo */
.logo {
	font-family: 'Inter', sans-serif;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--text-primary);
	text-decoration: none;
}

.logoSlash {
	color: var(--accent);
}

.coverageChip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	padding: 6px 12px 6px 10px;
	line-height: 1;
	white-space: nowrap;
}

.coverageChip svg {
	width: 13px;
	height: 13px;
	fill: var(--accent);
	flex-shrink: 0;
}

/* Nav links */
.headerNavLinks {
	display: flex;
	align-items: center;
	gap: 4px;
}

.headerNavLink {
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-muted);
	text-decoration: none;
	transition:
		color 0.15s,
		background 0.15s;
}

.headerNavLink:hover {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.04);
}

.headerNavLink.active {
	color: var(--accent);
	font-weight: 700;
}

/* Mobile burger */
.mobileNavBtn {
	display: none;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--text-primary);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	margin-left: auto;
}

.mobileNavBtn span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

/* Mobile drawer */
.mobileNavDrawer {
	display: none;
	position: fixed;
	top: 61px;
	left: 0;
	right: 0;
	z-index: 150;
	background: rgba(15, 15, 15, 0.97);
	border-bottom: 1px solid rgba(255, 92, 0, 0.5);
	padding: 0;
	flex-direction: column;
	gap: 0;
	backdrop-filter: blur(18px);
}

.mobileNavDrawer[data-open='1'] {
	display: flex;
}

.mobileNavDrawerLink {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 14px 20px;
	border-radius: 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--text-muted);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition:
		color 0.15s,
		background 0.15s;
}

.mobileNavDrawerLink svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.8;
	flex-shrink: 0;
}

.mobileNavDrawerLink:last-child {
	border-bottom: none;
}

.mobileNavDrawerLink:hover {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.04);
}

.mobileNavDrawerLink.active {
	color: var(--accent);
	font-weight: 700;
}

/* Mobile search button (feed page only) */
.mobileSearchBtn {
	display: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mobileSearchBtn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.8;
}

@media (max-width: 767px) {
	.headerNavLinks {
		display: none;
	}
	.headerActions {
		gap: 10px;
	}
	.mobileNavBtn {
		display: flex;
	}
	.headerInner {
		padding: 0 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.header {
		transition: none;
	}
}

/* === FOOTER === */
.footer {
	display: none;
}

@media (min-width: 768px) {
	.footer {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		height: 38px;
		display: block;
		z-index: 300;
		background: rgba(8, 8, 8, 0.96);
		border-top: 1px solid rgba(255, 255, 255, 0.07);
		backdrop-filter: blur(10px);
	}

	.footerInner {
		max-width: 1800px;
		height: 100%;
		margin: 0 auto;
		padding: 0 20px;
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		gap: 20px;
	}

	.footerBrand {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		white-space: nowrap;
	}

	.footerLogo {
		font-family: 'DM Sans', sans-serif;
		font-size: 14px;
		font-weight: 800;
		letter-spacing: -0.02em;
		color: rgba(255, 255, 255, 0.72);
		text-decoration: none;
	}

	.footerCopy {
		font-size: 11px;
		color: var(--text-muted);
	}

	.footerNav {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		font-size: 12px;
		color: #888;
		white-space: nowrap;
	}

	.footerLink {
		color: #888;
		text-decoration: none;
		transition: color 0.15s;
	}

	.footerLink:hover,
	.footerLink:focus-visible {
		color: #fff;
	}

	.footerDivider {
		color: #5d5d5d;
		user-select: none;
	}

	.footerSocials {
		display: inline-flex;
		align-items: center;
		gap: 12px;
	}

	.footerSocialLink {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 16px;
		height: 16px;
		color: #888;
		text-decoration: none;
		transition:
			color 0.15s,
			transform 0.15s;
	}

	.footerSocialLink:hover,
	.footerSocialLink:focus-visible {
		color: #fff;
		transform: translateY(-1px);
	}

	.footerSocialLink svg {
		width: 16px;
		height: 16px;
		fill: currentColor;
	}
}

/* === COMMON UTILITIES === */
.hidden {
	display: none !important;
}

.muted {
	color: var(--text-secondary);
}

.dimText {
	color: var(--text-muted);
	font-size: 13px;
}

.eyebrow {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--text-muted);
	margin: 0 0 8px;
}

.eyebrow.accent {
	color: var(--accent);
}

.error {
	color: #ef4444;
	font-size: 14px;
	white-space: pre-wrap;
}

/* === BUTTONS === */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 999px;
	padding: 11px 22px;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition:
		opacity 0.15s,
		box-shadow 0.15s,
		transform 0.1s;
	line-height: 1;
}

.btn:active {
	transform: scale(0.97);
}

.btnPrimary {
	background: var(--accent);
	color: #fff;
}

.btnPrimary:hover {
	opacity: 0.88;
	box-shadow: 0 0 18px 2px var(--accent-glow);
}

.btnSecondary {
	background: transparent;
	color: var(--text-primary);
	border: 1px solid var(--border-mid);
}

.btnSecondary:hover {
	border-color: rgba(244, 98, 10, 0.45);
	background: var(--accent-hover);
}

/* === CARDS (generic) === */
.contentCard {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 0;
	padding: 15px;
}

.contentCard.primary {
	padding: 28px;
	border-color: var(--border-mid);
}

.contentCard.dim {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.05);
}

/* Event feed card */
.card {
	display: block;
	text-decoration: none;
	color: inherit;
	position: relative;
	transition: transform 0.2s;
}

.card:hover {
	transform: translateY(-4px);
}

.card:hover .cardImg {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* === FORMS === */
.formField {
	display: grid;
	gap: 6px;
	margin-bottom: 14px;
}

.formField label {
	font-size: 13px;
	color: var(--text-secondary);
}

.formField input {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--border-mid);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	font: inherit;
	font-size: 15px;
	outline: none;
	transition:
		border-color 0.15s,
		box-shadow 0.15s;
}

.formField input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-glow);
}

.authError {
	color: #f87171;
	min-height: 18px;
	font-size: 13px;
	margin-bottom: 8px;
}

/* === AUTH MODAL (used on index + account) === */
.authModal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999;
}

.authModal[data-open='1'] {
	display: flex;
}

.authOverlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 15, 0.8);
	backdrop-filter: blur(8px);
}

.authPanel {
	position: relative;
	width: min(420px, 90vw);
	border-radius: 24px;
	background: rgba(26, 26, 26, 0.95);
	border: 1px solid var(--border-subtle);
	padding: 32px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.authPanel h2 {
	margin: 0 0 8px;
	font-size: 24px;
}

.authPanel h2 {
	display: flex;
	align-items: center;
	gap: 10px;
}

.authTitleIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: var(--text-secondary);
}

.authSubtitle {
	margin: 0 0 24px;
	color: var(--text-secondary);
	font-size: 14px;
}

.authField {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
	font-size: 13px;
}

.authField input {
	border-radius: 12px;
	border: 1px solid var(--border-subtle);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
	padding: 12px;
	font: inherit;
}

.authField input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

#authForm {
	margin: 0 0 18px;
}

.authModal[data-context='save'] .authPanel {
	background: linear-gradient(180deg, rgba(33, 24, 18, 0.96), rgba(24, 24, 24, 0.96));
	border-color: rgba(244, 98, 10, 0.45);
	box-shadow:
		0 40px 80px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(244, 98, 10, 0.2);
}

.authModal[data-context='save'] .authTitleIcon {
	color: var(--accent);
}

.authModal[data-context='save'] #authModalTitleText {
	font-size: 28px;
}

.authModal[data-context='save'] .authSubtitle {
	font-size: 16px;
	line-height: 1.5;
}

.authModal[data-context='save'] .authSubtitle strong {
	color: var(--accent);
	font-weight: 700;
}

@media (max-width: 767px) {
	.authTitleIcon {
		display: none;
	}
}

.authSubmit {
	width: 100%;
	border: none;
	border-radius: 12px;
	padding: 12px;
	font-weight: 600;
	font-size: 15px;
	background: var(--accent);
	color: #fff;
	cursor: pointer;
}

.authSubmit[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.authSwitchBtn {
	border: none;
	background: none;
	color: var(--accent);
	font-size: 13px;
	cursor: pointer;
}

.authClose {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	color: var(--text-secondary);
	font-size: 18px;
	cursor: pointer;
}

/* === SEARCH TRIGGER (feed header) === */
.headerSearchTrigger {
	position: relative;
	width: 100%;
	max-width: 420px;
	padding: 10px 40px 10px 14px;
	border-radius: 999px;
	border: 1px solid var(--border-subtle);
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-secondary);
	font: inherit;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
	transition:
		border-color 0.2s,
		background 0.2s;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.headerSearchTrigger:hover,
.headerSearchTrigger:focus-visible {
	outline: none;
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.18);
}

.headerSearchIcon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	stroke: var(--text-secondary);
	stroke-width: 1.8;
	pointer-events: none;
}

/* === SEARCH OVERLAY === */
.searchOverlay {
	position: fixed;
	inset: 0;
	z-index: 360;
	display: none;
	align-items: flex-start;
	justify-content: flex-start;
	padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
}

.searchOverlay[data-open='1'] {
	display: flex;
}

.searchOverlayBackdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 7, 11, 0.64);
	backdrop-filter: blur(10px);
}

.searchOverlayPanel {
	position: relative;
	z-index: 1;
	width: min(720px, calc(100vw - 40px));
	margin: 0 auto;
}

.searchOverlayTop {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	margin-bottom: 14px;
}

.searchOverlayField {
	position: relative;
}

.searchOverlayField svg {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	stroke: var(--text-secondary);
	stroke-width: 1.8;
}

.searchOverlayInput {
	width: 100%;
	padding: 14px 16px 14px 42px;
	border-radius: 16px;
	border: 1px solid var(--border-subtle);
	background: rgba(19, 22, 29, 0.92);
	color: var(--text-primary);
	font: inherit;
	font-size: 16px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.searchOverlayInput::placeholder {
	color: var(--text-muted);
}

.searchOverlayInput:focus-visible {
	outline: none;
}

.searchOverlayClose {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--border-subtle);
	border-radius: 12px;
	background: rgba(19, 22, 29, 0.92);
	color: var(--text-primary);
	font-size: 20px;
	cursor: pointer;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.searchOverlayCard {
	display: flex;
	flex-direction: column;
	max-height: min(70vh, 720px);
	border-radius: 22px;
	background: rgba(20, 20, 20, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
	overflow: hidden;
}

.searchOverlayCardHeader {
	padding: 18px 20px 14px;
	border-bottom: 1px solid var(--border-subtle);
}

.searchOverlayHeading {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}

.searchOverlaySubcopy {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--text-secondary);
}

.searchOverlayResults {
	min-height: 180px;
	max-height: min(58vh, 620px);
	overflow-y: auto;
}

.searchOverlayState {
	padding: 18px 20px 22px;
	font-size: 14px;
	color: var(--text-secondary);
}

.searchOverlayList {
	display: grid;
	gap: 0;
}

.searchOverlayItem {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	width: 100%;
	padding: 14px 20px;
	border: none;
	border-bottom: 1px solid var(--border-subtle);
	background: transparent;
	color: var(--text-primary);
	text-align: left;
	cursor: pointer;
	font: inherit;
}

.searchOverlayItem:last-child {
	border-bottom: none;
}

.searchOverlayItem:hover {
	background: rgba(255, 255, 255, 0.04);
}

.searchOverlayThumb {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	overflow: hidden;
}

.searchOverlayThumbImg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.searchOverlayMeta {
	min-width: 0;
}

.searchOverlayTitle {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.searchOverlaySubline {
	margin: 0;
	font-size: 13px;
	color: var(--text-secondary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 767px) {
	.headerCenter {
		display: none;
	}
	.mobileSearchBtn {
		display: inline-flex;
		background: transparent;
		border-color: transparent;
		box-shadow: none;
	}
	.searchOverlay {
		padding: max(12px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));
		align-items: stretch;
	}
	.searchOverlayPanel {
		width: 100%;
		height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom)));
		display: flex;
		flex-direction: column;
		min-height: 0;
	}
	.searchOverlayTop {
		flex-shrink: 0;
	}
	#searchOverlayResults {
		display: flex;
		flex: 1;
		min-height: 0;
		max-height: none;
		overflow: hidden;
	}
	#searchOverlayResults > .searchOverlayCard {
		flex: 1;
		min-height: 0;
	}
	.searchOverlayCard {
		height: 100%;
		max-height: none;
		border-radius: 18px;
		min-height: 0;
	}
	.searchOverlayCard > .searchOverlayResults {
		flex: 1;
		min-height: 0;
		max-height: none;
	}
	.searchOverlayItem {
		padding-inline: 16px;
	}
	.headerSearchTrigger {
		max-width: 100%;
	}
}

/* === HERO SECTION (feed page) === */
.heroSlider {
	position: relative;
	width: 100%;
	height: 65vh;
	min-height: 420px;
	max-height: 700px;
	overflow: hidden;
	background: var(--bg-card);
	border-bottom: 1px solid var(--border-subtle);
}

.heroSlides {
	display: flex;
	width: 100%;
	height: 100%;
	touch-action: pan-y;
	transition: transform 0.42s ease;
	will-change: transform;
}

.heroSlides.isDragging {
	transition: none;
}

.heroSlide {
	position: relative;
	flex: 0 0 100%;
	display: flex;
	align-items: flex-end;
	pointer-events: none;
}

.heroSlideImage {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	z-index: 0;
}

.heroSlide.isActive {
	pointer-events: auto;
}

.heroSlide::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to top, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.55) 35%, rgba(15, 15, 15, 0) 65%),
		linear-gradient(to right, rgba(15, 15, 15, 0.7) 0%, rgba(15, 15, 15, 0.2) 50%, rgba(15, 15, 15, 0) 100%);
}

.heroContent {
	position: relative;
	z-index: 2;
	max-width: 1800px;
	margin: 0 auto;
	padding: 20px 20px;
	width: 100%;
}

.heroTitle {
	font-family: 'DM Sans', sans-serif;
	font-size: clamp(28px, 5vw, 56px);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 12px;
	letter-spacing: -0.02em;
	white-space: pre-line;
}

.heroMeta {
	font-size: 16px;
	color: var(--text-secondary);
	margin: 0 0 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.heroMetaLine {
	line-height: 1.4;
}

.heroLocation {
	color: var(--text-primary);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.heroSchedule {
	color: var(--text-primary);
	font-size: 16px;
	font-weight: 500;
}

.heroSubtitle {
	color: var(--text-secondary);
	font-size: 15px;
	white-space: pre-line;
}

.heroTimer {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid var(--border-subtle);
	background: rgba(15, 15, 15, 0.85);
	font-size: 12px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--accent);
}

.heroTimerDot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 12px rgba(110, 193, 228, 0.8);
}

.heroTimerLabel {
	font-weight: 600;
}

.heroTimerCountdown {
	color: var(--text-primary);
	font-weight: 600;
	letter-spacing: 0.05em;
}

.heroCta {
	display: inline-block;
	padding: 14px 32px;
	background: var(--accent);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-radius: 999px;
	transition:
		transform 0.2s,
		box-shadow 0.2s,
		background 0.2s;
}

.heroCta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(110, 193, 228, 0.4);
	background: var(--accent-dark);
}

.heroControls {
	position: absolute;
	right: 24px;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 16px;
	z-index: 2;
}

.heroIndicators {
	display: flex;
	gap: 6px;
}

.heroIndicator {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	border: none;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	padding: 0;
	transition: all 0.2s ease;
}

.heroIndicator:hover {
	background: rgba(255, 255, 255, 0.6);
}

.heroIndicator.isActive {
	background: var(--accent);
}

.heroNavButtons {
	display: flex;
	gap: 6px;
}

.heroNav {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(15, 15, 15, 0.7);
	color: var(--text-primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	backdrop-filter: blur(4px);
}

.heroNav:hover {
	background: rgba(15, 15, 15, 0.9);
	border-color: rgba(255, 255, 255, 0.4);
}

.heroNav:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.heroNavIcon {
	font-size: 16px;
	line-height: 1;
}

@media (max-width: 640px) {
	.heroControls {
		display: none;
		right: 16px;
		bottom: 16px;
		gap: 12px;
	}

	.heroIndicators {
		position: absolute;
		right: 16px;
		bottom: 16px;
		z-index: 3;
		pointer-events: none;
	}

	.heroIndicator {
		pointer-events: none;
		cursor: default;
	}

	.heroCta {
		padding: 10px 22px;
		font-size: 14px;
	}
}

/* === FILTER BAR (feed page) === */
.filterBar {
	background: rgba(15, 15, 15, 0.9);
	border-bottom: 1px solid var(--border-subtle);
	backdrop-filter: blur(12px);
}

.filterInner {
	max-width: 1800px;
	margin: 0 auto;
	padding: 16px 20px;
	display: grid;
	gap: 0;
}

.filterGroup {
	position: relative;
}

@media (min-width: 768px) {
	.filterInner {
		row-gap: 14px;
	}

	.filterGroup {
		display: grid;
		grid-template-columns: 48px minmax(0, 1fr);
		align-items: start;
		column-gap: 14px;
		padding-top: 8px;
	}

	#filterGroupTime {
		padding-top: 0;
	}
}

.filterLabel {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 700;
	margin: 10px 0 0;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.filterGroupToggle {
	display: none;
}

.filterGroupChevron {
	transition: transform 0.22s ease;
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 767px) {
	.filterInner {
		padding: 0;
		display: flex;
		flex-direction: column;
	}
	.filterGroup {
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}
	.filterGroup:last-child {
		border-bottom: none;
	}
	.filterLabel {
		display: none;
	}
	.filterGroupToggle {
		display: flex;
		align-items: center;
		width: 100%;
		padding: 0 20px;
		height: 52px;
		min-height: 52px;
		background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
		border: none;
		cursor: pointer;
		gap: 8px;
		text-align: left;
		box-sizing: border-box;
		transition:
			min-height 0.2s ease,
			height 0.2s ease;
	}
	.filterGroupToggle::before {
		content: attr(data-label);
		font-size: 12px;
		text-transform: uppercase;
		letter-spacing: 0.08em;
		color: rgba(255, 255, 255, 0.78);
		font-weight: 700;
		flex-shrink: 0;
	}
	.filterGroupCurrent {
		flex: 1;
		font-size: 13px;
		font-weight: 500;
		color: #fff;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.filterGroup .chips {
		display: none;
		padding: 12px 16px 16px;
	}
	.filterGroup[data-open='1'] .chips {
		display: flex;
		flex-wrap: wrap;
	}
	.filterGroup[data-open='1'] .filterGroupChevron {
		transform: rotate(180deg);
	}
}

.chip,
label.chip {
	appearance: none;
	border: 1px solid var(--border-subtle);
	border-radius: 999px;
	padding: 8px 16px;
	background: transparent;
	color: var(--text-secondary);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.chip:hover,
label.chip:hover {
	border-color: var(--text-secondary);
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.05);
}

.chip[data-selected='1'],
label.chip[data-selected='1'] {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
	font-weight: 700;
}

.chipClear {
	display: inline-block;
	margin-left: 5px;
	font-size: 13px;
	opacity: 0.65;
	vertical-align: middle;
	line-height: 1;
}

.chipClear:hover {
	opacity: 1;
}

/* === MOBILE FILTER FAB + PANEL === */
.mobileFilterFab {
	display: none;
	position: fixed;
	bottom: 24px;
	right: 15px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: none;
	background: var(--accent);
	color: #fff;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	z-index: 250;
	box-shadow: 0 4px 16px rgba(110, 193, 228, 0.3);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px);
	transition:
		opacity 0.22s ease,
		transform 0.22s ease,
		visibility 0.22s ease;
}

.mobileFilterFab.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.mobileFilterFab:active {
	transform: scale(0.92);
}

.mobileFilterFab:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.mobileFilterFab svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.mobileFilterFabBadge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(15, 15, 15, 0.9);
}

.mobileFilterPanel {
	position: fixed;
	inset: 0;
	z-index: 280;
	display: flex;
	flex-direction: column;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.mobileFilterPanel[aria-hidden='false'] {
	opacity: 1;
	pointer-events: auto;
}

.mobileFilterPanel[aria-hidden='false'] .mobileFilterPanelContent {
	transform: translateY(0);
}

.mobileFilterPanelBackdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
}

.mobileFilterPanelContent {
	position: relative;
	z-index: 1;
	margin-top: auto;
	background: rgba(20, 20, 20, 0.98);
	border-top: 1px solid var(--border-subtle);
	border-radius: 24px 24px 0 0;
	display: flex;
	flex-direction: column;
	max-height: 85vh;
	backdrop-filter: blur(12px);
	transform: translateY(100%);
	transition: transform 0.24s ease;
}

.mobileFilterPanelHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 20px 10px;
	border-bottom: 1px solid var(--border-subtle);
}

.mobileFilterPanelHeader h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.mobileFilterPanelClose {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	color: var(--text-primary);
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.15s;
}

.mobileFilterPanelClose:hover {
	color: var(--accent);
}

.mobileFilterPanelBody {
	flex: 1;
	overflow-y: auto;
	padding: 0;
}

.mobileFilterPanelBody .filterGroup {
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobileFilterPanelBody .filterGroup:last-child {
	border-bottom: none;
}

.mobileFilterPanelSectionTitle {
	padding: 14px 20px 10px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.78);
	font-weight: 700;
}

.mobileFilterPanelBody .chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0 20px 16px;
}

.mobileFilterPanelFooter {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 16px 20px 24px;
	border-top: 1px solid var(--border-subtle);
}

.mobileFilterPanelClear,
.mobileFilterPanelApply {
	padding: 12px 16px;
	border-radius: 12px;
	border: none;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
}

.mobileFilterPanelClear {
	background: transparent;
	border: 1px solid var(--border-subtle);
	color: var(--text-primary);
}

.mobileFilterPanelClear:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--text-primary);
}

.mobileFilterPanelApply {
	background: var(--accent);
	color: #fff;
}

.mobileFilterPanelApply:hover {
	opacity: 0.88;
	box-shadow: 0 0 18px 2px rgba(110, 193, 228, 0.3);
}

@media (max-width: 767px) {
	.filterBar {
		display: none;
	}

	.mobileFilterFab {
		display: flex;
	}
}

@media (min-width: 768px) {
	.mobileFilterFab,
	.mobileFilterPanel {
		display: none !important;
	}
}

/* === FEED MAIN / EVENT GRID === */
.main {
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 24px 100px;
}

.main--account {
	max-width: 800px;
	padding: 40px 15px 100px;
}

.main--wide {
	max-width: none;
	padding: 20px 24px 80px;
}

@media (max-width: 767px) {
	.main--wide {
		max-width: none;
		padding: 10px 0 80px;
	}
}

@media (min-width: 768px) {
	.main--wide {
		padding-bottom: 104px;
	}
}

.status {
	display: none;
}

.status:empty {
	display: none;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px 24px;
}

@media (min-width: 768px) {
	.grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 32px 24px;
	}
}

@media (min-width: 1200px) {
	.grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

/* === EVENT CARDS (feed page) === */
.eventCard {
	display: none;
}

.cardImg {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	margin-bottom: 6px;
	position: relative;
	transition: box-shadow 0.2s;
}

.cardImgPlaceholderWrap {
	border: 1px solid var(--border-subtle);
	background-size: cover;
	background-position: center;
}

.cardImg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes cardImageSpinnerSpin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.cardImgLoading::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.28);
	border-top-color: var(--accent);
	transform: translate(-50%, -50%);
	animation: cardImageSpinnerSpin 0.75s linear infinite;
	z-index: 1;
	pointer-events: none;
}

.cardImgLoading {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
}

.cardImgLoading img {
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.cardImgLoading.cardImgPlaceholderWrap::before {
	display: none;
}

.searchOverlayThumb.cardImgLoading {
	position: relative;
}

.cardImgPlaceholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 16px;
	gap: 6px;
	color: #fff;
	font-weight: 600;
	text-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.cardImgPlaceholderEyebrow {
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	opacity: 0.8;
}

.cardImgPlaceholderTitle {
	font-size: 18px;
	line-height: 1.2;
}

.badgeRow {
	position: absolute;
	top: 0;
	left: 0;
	right: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: rgba(15, 15, 15, 0.95);
	color: var(--accent);
	backdrop-filter: blur(8px);
	white-space: nowrap;
}

.badge.happening {
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	padding: 5px 12px;
}

.badge.urgent {
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	border-radius: 0;
}

.saveBtn {
	position: relative;
	width: 28px;
	height: 28px;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		transform 0.2s,
		opacity 0.2s;
	opacity: 0.6;
}

.saveBtn:hover {
	opacity: 1;
	transform: scale(1.1);
}

.saveBtn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: var(--text-secondary);
	stroke-width: 2;
	transition: all 0.2s;
}

.saveBtn.saved svg {
	fill: var(--accent);
	stroke: var(--accent);
}

.saveBtn:hover svg {
	stroke: var(--text-primary);
}

.saveBtn.saved:hover svg {
	stroke: var(--accent);
}

.cardActionRow {
	display: flex;
	gap: 6px;
	justify-content: flex-end;
	align-items: center;
	padding: 0;
	border-bottom: 1px solid #333333;
	margin-bottom: 10px;
	padding-bottom: 2px;
}

.cardActionRow .urgencySubtext {
	margin: 0 auto 0 0;
	line-height: 1;
}

.shareBtn {
	position: relative;
	width: 28px;
	height: 28px;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		transform 0.2s,
		opacity 0.2s;
	opacity: 0.6;
}

.shareBtn:hover {
	opacity: 1;
	transform: scale(1.1);
}

.shareBtn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	color: var(--text-secondary);
	transition: all 0.2s;
}

.shareBtn:hover svg {
	color: var(--text-primary);
}

.cardText {
}

.cardTitle {
	font-weight: 600;
	font-size: 19px;
	line-height: 1.3;
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cardTags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 8px 0 0;
}

.cardTag {
	font-size: 12px;
	color: #a0a0a0;
	background: rgba(255, 255, 255, 0.05);
	padding: 3px 8px;
	border-radius: 999px;
	font-weight: 500;
}

.cardVenue {
	font-size: 14px;
	color: var(--text-secondary);
	margin: 0 0 4px;
}

.cardNeighborhood {
	font-size: 13px;
	color: var(--text-secondary);
	margin: -1px 0 4px;
	font-weight: 500;
}

.cardNeighborhood:empty {
	display: none;
}

.cardTime {
	font-size: 14px;
	color: var(--text-secondary);
	margin: 0 0 4px;
	font-weight: 500;
}

.urgencySubtext {
	font-size: 12px;
	color: var(--accent);
	margin: 2px 0 0;
	font-weight: 600;
}

.urgencySubtext:empty {
	display: none;
}

@media (max-width: 767px) {
	.grid {
		grid-template-columns: 1fr;
		gap: 24px 0;
	}

	.cardImg {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
	}

	.badgeRow {
		top: 0;
		left: 0;
		right: auto;
	}

	.cardText {
		padding: 0 15px;
	}

	.cardActionRow {
		position: relative;
		border-bottom: none;
		padding: 0 15px 4px 15px;
	}

	.cardActionRow::after {
		content: '';
		position: absolute;
		left: 15px;
		right: 15px;
		bottom: 0;
		height: 1px;
		background: #333333;
	}

	.saveBtn,
	.shareBtn {
		width: 32px;
		height: 32px;
	}

	.saveBtn svg,
	.shareBtn svg {
		width: 22px;
		height: 22px;
	}

	.badge {
		border-radius: 0;
	}

	.badge.happening,
	.badge.urgent {
		border-radius: 0;
	}

	.cardBody {
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* Date separators */
.dateSeparator {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
	margin: 16px 0 0;
}

.dateSeparator::before,
.dateSeparator::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--accent);
}

.dateSeparatorLabel {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.13em;
	color: var(--accent);
	white-space: nowrap;
	text-transform: uppercase;
}

/* Skeleton cards */
@keyframes certchShimmer {
	0% {
		background-position: -600px 0;
	}
	100% {
		background-position: 600px 0;
	}
}

.cardSkeleton {
	pointer-events: none;
	user-select: none;
}

.cardSkeletonImg {
	width: 100%;
	aspect-ratio: 1;
	background: rgba(255, 255, 255, 0.08);
	position: relative;
}

.cardSkeletonImg::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.28);
	border-top-color: var(--accent);
	transform: translate(-50%, -50%);
	animation: cardImageSpinnerSpin 0.75s linear infinite;
	pointer-events: none;
}

.cardSkeletonBody {
	padding: 10px 2px 4px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cardSkeletonLine {
	border-radius: 4px;
	height: 11px;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.05) 25%,
		rgba(255, 255, 255, 0.1) 50%,
		rgba(255, 255, 255, 0.05) 75%
	);
	background-size: 1200px 100%;
	animation: certchShimmer 1.5s infinite linear;
}

.cardSkeletonLine.long {
	width: 78%;
}
.cardSkeletonLine.medium {
	width: 52%;
}
.cardSkeletonLine.short {
	width: 34%;
}

/* Feed end + sentinel */
.feedEndMessage {
	grid-column: 1 / -1;
	text-align: center;
	padding: 36px 16px 56px;
	color: rgba(255, 255, 255, 0.3);
	font-size: 13px;
	letter-spacing: 0.03em;
}

#feedSentinel {
	height: 1px;
	width: 100%;
	margin-top: 8px;
}

/* === EMAIL CAPTURE === */
.emailCaptureCard {
	cursor: default;
	display: none;
}

@media (max-width: 767px) {
	.emailCaptureCard {
		display: block;
		background: linear-gradient(180deg, #ff7a1a 0%, #ff5c00 100%);
		border-radius: 12px;
		box-shadow: 0 8px 28px rgba(255, 92, 0, 0.24);
	}
}

.emailCaptureCard:hover {
	transform: none;
}

.emailCaptureCard:hover .cardImg {
	box-shadow: 0 10px 30px rgba(255, 92, 0, 0.24);
}

.emailCaptureCard .cardImg {
	aspect-ratio: auto;
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.emailCaptureCard .cardImg {
		margin: 0;
	}
}

.emailCaptureCardImg {
	background: transparent;
	border: none;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
	padding: 18px;
	gap: 12px;
	color: #fff;
}

.ecLogo {
	font-family: 'DM Sans', sans-serif;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
	line-height: 1;
}

.ecHeadline {
	font-family: 'DM Sans', sans-serif;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fff;
	line-height: 1.05;
	text-transform: uppercase;
}

.ecBody {
	padding: 0;
}

@media (max-width: 767px) {
	.emailCaptureCard .ecBody {
		padding: 18px;
		gap: 12px;
		display: flex;
		flex-direction: column;
	}
}

.ecSubline {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.88);
	margin: 0;
	line-height: 1.4;
	letter-spacing: 0.01em;
}

.ecPromo {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.8);
	margin: 2px 0 0;
	line-height: 1.4;
}

@media (max-width: 767px) {
	.emailCaptureCard .ecPromo {
		margin: 0 0 4px;
	}
}

.ecRow {
	display: flex;
	gap: 8px;
	width: 100%;
}

@media (max-width: 767px) {
	.emailCaptureCard .ecRow {
		gap: 8px;
		margin-top: 2px;
	}
}

.emailCaptureCard .ecInput {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.95);
	color: #111;
}

.emailCaptureCard .ecInput:focus {
	border-color: #fff;
}

.emailCaptureCard .ecInput::placeholder {
	color: rgba(17, 17, 17, 0.45);
}

.emailCaptureCard .ecBtn {
	background: #111;
	color: #fff;
}

.emailCaptureCard .ecBtn:hover {
	opacity: 0.92;
}

.emailCaptureCard .ecValidationError {
	color: #7f1d1d;
	font-weight: 600;
}

.emailCaptureCard .ecSuccess {
	color: #fff;
	font-weight: 700;
	margin-top: 2px;
}

.ecInput {
	flex: 1;
	min-width: 0;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border-subtle);
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 14px;
	font-family: inherit;
	color: var(--text-primary);
	outline: none;
	transition: border-color 0.2s;
}

.ecInput:focus {
	border-color: var(--accent);
}

.ecInput::placeholder {
	color: var(--text-muted);
}

.ecBtn {
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.2s;
	flex-shrink: 0;
}

.ecBtn:hover {
	opacity: 0.85;
}

.ecBtn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.ecValidationError {
	font-size: 12px;
	color: #ef4444;
	margin: 6px 0 0;
	display: none;
}

.ecSuccess {
	font-size: 14px;
	color: #fff;
	font-weight: 600;
	margin: 8px 0 0;
	line-height: 1.4;
}

/* Desktop email widget */
.ecWidget {
	display: none;
}

@media (min-width: 768px) {
	.ecWidget {
		display: block;
		position: fixed;
		bottom: 28px;
		right: 28px;
		z-index: 900;
		width: 315px;
		background: var(--bg-card);
		border: 1px solid var(--accent);
		box-shadow:
			0 0 20px rgba(110, 193, 228, 0.25),
			0 8px 32px rgba(0, 0, 0, 0.6);
		border-radius: 14px;
		padding: 20px;
		animation: ecWidgetIn 0.3s ease;
	}
}

@keyframes ecWidgetIn {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ecWidgetLogo {
	font-family: 'Inter', sans-serif;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fff;
	line-height: 1;
	margin-bottom: 14px;
}

.ecLogoSlash {
	color: var(--accent);
}

.ecWidgetClose {
	background: none;
	border: none;
	color: var(--text-muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 6px;
	transition: color 0.15s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ecWidgetClose:hover {
	color: var(--text-primary);
}

.ecWidgetHeadline {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: var(--accent);
	line-height: 1.05;
	margin: 0 0 12px;
}

.ecWidgetSub {
	font-size: 13px;
	color: var(--text-secondary);
	margin: 0 0 14px;
	line-height: 1.4;
}

/* === DATE RANGE DROPDOWN === */
#datePickerInput {
	display: none;
}

.dateRangeDropdown {
	position: fixed;
	z-index: 2000;
	background: #1c1c1e;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 210px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

.dateRangeDropdown.hidden {
	display: none;
}

.dateRangeRow {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.dateRangeLbl {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
}

.dateRangeInput {
	appearance: none;
	-webkit-appearance: none;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	color: #fff;
	font-size: 14px;
	font-family: inherit;
	padding: 8px 10px;
	color-scheme: dark;
	cursor: pointer;
	width: 100%;
	box-sizing: border-box;
	outline: none;
}

.dateRangeInput:focus {
	border-color: var(--accent);
}

.dateRangeApply {
	border: none;
	border-radius: 8px;
	background: var(--accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	font-family: inherit;
	padding: 9px 16px;
	cursor: pointer;
	width: 100%;
	margin-top: 2px;
}

/* === DETAIL VIEW (event slide-in, feed page) === */
.detailBackdrop {
	position: fixed;
	inset: 0;
	z-index: 199;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.detailBackdrop.detailBackdrop--open {
	opacity: 1;
	pointer-events: auto;
}

.detailView {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	width: min(480px, 92vw);
	z-index: 400;
	overflow-y: auto;
	-webkit-overflow-scrolling: auto;
	overscroll-behavior: none;
	background:
		radial-gradient(circle at top center, rgba(255, 92, 0, 0.1), transparent 50%),
		linear-gradient(180deg, #1a1a1a 0%, #111111 30%, #0a0a0a 100%);
	border-left: 1px solid var(--border-subtle);
	box-shadow: -12px 0 48px rgba(0, 0, 0, 0.6);
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 0 0 80px;
	will-change: transform;
	transform: translateX(100%);
	visibility: hidden;
	pointer-events: none;
	transition:
		transform 0.22s ease-out,
		visibility 0s linear 0.22s;
}

.detailView.detailView--open {
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
	transition:
		transform 0.22s ease-out,
		visibility 0s linear 0s;
}

/* In-app detail view components */
.detailActionsRow {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.detailBack {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 20px;
	line-height: 1;
	font-weight: 400;
	color: var(--text-secondary);
	background: none;
	border: none;
	padding: 6px 0;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	transition: color 0.15s;
}

.detailBack:hover {
	color: var(--text-primary);
}

.detailTiming {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.detailTimingLeft {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.detailTimingActions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.detailTimingLabel {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
	background: var(--accent);
	padding: 3px 10px;
	border-radius: 99px;
}

.detailTimingCountdown {
	font-size: 12px;
	font-weight: 600;
	color: var(--text-secondary);
}

.detailNeighborhood {
	font-size: 14px;
	color: var(--text-muted);
	margin: -8px 0 0;
}

.detailDescription {
	font-size: 15px;
	line-height: 1.65;
	color: var(--text-secondary);
	margin: 0;
	white-space: pre-line;
}

/* Drawer-scoped detail layout */
.detailView .detailBody {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 20px 0;
}

.detailView .detailTitle {
	font-family: 'DM Sans', sans-serif;
	font-size: 22px;
	margin: 0;
	line-height: 1.2;
	color: var(--text-primary);
	padding-top: 15px;
}

.detailView .detailDate,
.detailView .detailVenue {
	font-size: 14px;
	color: var(--text-secondary);
	margin: 0;
}

.detailView .detailTags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}

.detailButtons {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	align-items: center;
}

.detailButtons .detailPrimaryBtn {
	flex: 1;
}

.detailPrimaryBtn {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: none;
	padding: 14px 26px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	background: var(--accent);
	color: #fff;
	transition: opacity 0.15s;
}

.detailPrimaryBtn:hover {
	opacity: 0.88;
}

.detailPrimaryBtn--disabled,
.detailPrimaryBtn--disabled:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-muted);
	opacity: 1;
	cursor: default;
	pointer-events: none;
}

.detailSecondaryBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-primary);
	border: 1px solid var(--border-subtle);
	transition:
		background 0.15s,
		border-color 0.15s;
}

.detailSecondaryBtn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.18);
}

.detailRelated {
	width: 100%;
	padding: 0 20px;
}

.detailRelatedTitle {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
	letter-spacing: -0.01em;
}

.detailRelatedGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
}

@media (max-width: 767px) {
	.detailView {
		width: 100vw;
	}
}

/* === SAVED PAGE === */
.pageHeader {
	margin-bottom: 32px;
}

.pageHeader h1 {
	font-family: 'DM Sans', Inter, sans-serif;
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 0 6px;
}

.pageHeader p {
	margin: 0;
	font-size: 14px;
	color: var(--text-secondary);
}

.groupLabel {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--text-muted);
	margin: 28px 0 12px;
}

.groupLabel:first-child {
	margin-top: 0;
}

.savedGrid {
	display: grid;
	gap: 0;
}

.savedCard {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: stretch;
	min-height: 104px;
	padding: 20px 14px;
	text-decoration: none;
	color: inherit;
	transition:
		border-color 0.15s,
		background 0.15s;
	border-bottom: 1px solid #343434;
}

.savedCardImg {
	width: 112px;
	height: 100%;
	min-height: 76px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	object-fit: cover;
	display: block;
	align-self: stretch;
}

.savedCardImgPlaceholder {
	background: rgba(255, 255, 255, 0.04);
}

.savedCardBody {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.savedCardTitle {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 7px;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.savedCardRelative {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin: 0 0 8px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(244, 98, 10, 0.08);
	border: 1px solid rgba(244, 98, 10, 0.2);
	color: var(--accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.savedCardStatusRow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	min-height: 20px;
}

.savedCardStatusRow .savedCardRelative {
	margin: 0;
}

.savedCardCountdown {
	margin: 0;
	line-height: 1.3;
}

.savedCardMeta {
	font-size: 13px;
	color: var(--text-secondary);
	margin: 0;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.savedCardUnavailableNote {
	white-space: normal;
	color: var(--text-muted);
}

.savedCardActions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-left: auto;
}

.savedCardViewBtn,
.savedCardViewBtn.primaryBtn {
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.savedCardViewBtn:hover {
	opacity: 0.9;
	transform: translateY(-1px);
	transition:
		opacity 0.15s,
		transform 0.15s;
}

.unsaveBtn {
	background: transparent;
	border: 1px solid var(--border-subtle);
	color: var(--text-muted);
	border-radius: 999px;
	padding: 10px 18px;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background 0.15s,
		color 0.15s,
		border-color 0.15s;
	flex-shrink: 0;
}

.unsaveBtn:hover {
	background: rgba(248, 113, 113, 0.08);
	color: #f87171;
	border-color: rgba(248, 113, 113, 0.4);
}

.emptyState {
	padding: 60px 24px;
	text-align: center;
	border: 1px dashed var(--border-subtle);
	border-radius: 20px;
}

.emptyState h2 {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.emptyState p {
	margin: 0 0 24px;
	color: var(--text-secondary);
	font-size: 15px;
}

.savedLoadSentinel {
	width: 100%;
	height: 1px;
}

@media (max-width: 767px) {
	.savedGrid {
		gap: 0;
	}
	.savedCardBody {
		gap: 4px;
	}
	.savedCard {
		grid-template-columns: 52px minmax(0, 1fr);
		align-items: start;
		border: none !important;
		background: transparent !important;
		border-radius: 0;
		padding: 20px 0px;
		min-height: 0;
		gap: 10px;
		position: relative;
	}
	.savedGrid .savedCard + .savedCard::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		height: 1px;
		background: #343434;
	}
	.savedCardTitle {
		font-size: 14px;
		margin-bottom: 8px;
		line-height: 1.32;
	}
	.savedCardStatusRow {
		flex-direction: row;
		align-items: center;
		gap: 5px;
		margin-bottom: 8px;
		min-height: 0;
	}
	.savedCardRelative {
		padding: 2px 7px;
		font-size: 9px;
		line-height: 1.1;
	}
	.savedCardCountdown {
		font-size: 10px;
		color: var(--text-muted);
		line-height: 1.3;
	}
	.savedCardImg {
		width: 52px;
		min-height: 52px;
		border-radius: 8px;
	}
	.savedCardMeta {
		font-size: 12px;
		line-height: 1.45;
	}
	.savedCardActions {
		grid-column: 2;
		justify-content: flex-start;
		margin-left: 0;
		flex-wrap: wrap;
		gap: 10px;
		margin-top: 10px;
	}
	.savedCardViewBtn,
	.savedCardViewBtn.primaryBtn,
	.unsaveBtn {
		padding: 7px 12px;
		font-size: 11px;
		min-height: 0;
		line-height: 1.15;
		border-radius: 999px;
	}
	.unsaveBtn {
		border: 1px solid var(--border-subtle);
		background: transparent;
		opacity: 1;
	}
}

/* === ACCOUNT PAGE === */
.pageTitle {
	margin: 0 0 36px;
}

.pageTitle h1 {
	font-family: 'DM Sans', Inter, sans-serif;
	font-size: clamp(28px, 5vw, 46px);
	line-height: 1;
	margin: 6px 0 0;
	letter-spacing: -0.03em;
}

.layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: start;
}

.sectionStack {
	display: grid;
	gap: 20px;
	align-content: start;
}

.metaList {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.metaRow {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 12px;
	color: var(--text-muted);
}

.metaRow span {
	flex: 1 1 auto;
	min-width: 0;
}

.metaRow strong {
	flex: 0 0 auto;
	color: var(--accent);
	font-weight: 700;
	text-align: right;
}

.colLeft,
.colRight {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.savedHeader {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.savedCountBadge {
	font-size: 11px;
	font-weight: 700;
	color: var(--text-muted);
	background: rgba(255, 255, 255, 0.05);
	padding: 3px 10px;
	border-radius: 99px;
	white-space: nowrap;
	margin-top: 4px;
}

.savedStatusText {
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 14px;
	min-height: 16px;
}

.savedList {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.savedItem {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 12px;
	padding: 11px;
	border-radius: 14px;
	border: 1px solid var(--border-subtle);
	background: var(--bg-card-raised);
	text-decoration: none;
	color: inherit;
	transition:
		border-color 0.15s,
		background 0.15s;
}

.savedItem:hover {
	border-color: rgba(244, 98, 10, 0.28);
	background: rgba(244, 98, 10, 0.04);
}

.savedThumb {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}

.savedBody {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
}

.savedTitle {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.savedMeta {
	margin: 0;
	font-size: 12px;
	color: var(--text-secondary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 20px;
	justify-content: center;
}
/* Right-align the logout button in the sidebar */
#logoutCard {
	display: flex;
	justify-content: center;
}
#logoutTop {
	width: auto;
	min-width: 120px;
}

.statusText {
	margin-top: 10px;
	font-size: 12px;
	color: var(--text-muted);
	min-height: 16px;
}

.gridTags {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
	gap: 8px;
	margin-top: 16px;
}

.checkTile {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 13px;
	border-radius: 12px;
	border: 1px solid var(--border-subtle);
	background: rgba(255, 255, 255, 0.02);
	font-size: 13px;
	cursor: pointer;
	transition:
		border-color 0.15s,
		background 0.15s;
}

.checkTile:hover {
	border-color: rgba(244, 98, 10, 0.28);
	background: var(--accent-hover);
}

.checkTile input {
	accent-color: var(--accent);
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.fieldStack {
	display: grid;
	gap: 0;
}

.inlineField {
	padding: 14px 0;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid #343434;
	background: transparent;
	cursor: pointer;
	transition:
		background 0.15s,
		opacity 0.15s;
}

.inlineField:hover {
	background: transparent;
	opacity: 0.9;
}

.inlineField label {
	display: flex;
	gap: 13px;
	align-items: flex-start;
	cursor: pointer;
	width: 100%;
}

.inlineField input[type='checkbox'] {
	accent-color: var(--accent);
	margin-top: 3px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.fieldLabel {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 3px;
}

.fieldDesc {
	font-size: 12px;
	color: var(--text-muted);
}

.accountEmailVal {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-secondary);
	word-break: break-all;
	margin-bottom: 12px;
}

.accountInfoGrid {
	display: grid;
	gap: 8px;
}

.accountInfoRow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	color: var(--text-muted);
}

.accountInfoRow strong {
	color: var(--text-secondary);
	font-weight: 500;
	font-size: 12px;
}

.authGate {
	max-width: 440px;
	margin: 80px auto;
}

.authModeAccent {
	color: var(--accent);
}

#authEyebrow {
	font-size: 18px;
}

@media (max-width: 767px) {
	.authGate {
		margin: 24px auto;
	}
}

.viewAllLink {
	display: inline-block;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.15s;
}

.viewAllLink:hover {
	opacity: 1;
}

.formActions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* === EVENT DETAIL PAGE === */

.detailBreadcrumb {
	display: none;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	font-size: 13px;
	color: var(--text-secondary);
}

.detailPageMain {
	padding: 0 0 80px;
}

.detailBreadcrumbLink {
	color: var(--text-secondary);
	text-decoration: none;
}

.detailBreadcrumbLink:hover {
	color: var(--text-primary);
}

.detailBreadcrumbDivider,
.detailBreadcrumbCurrent {
	color: var(--text-muted);
}

.detailStatus {
	font-size: 15px;
	color: var(--text-secondary);
	margin: 40px 0;
	text-align: center;
	padding: 0 20px;
}

.detailLayout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	align-items: start;
	width: 100%;
}

.detailPoster {
	width: 100%;
	max-height: 600px;
	border-radius: 0;
	background: var(--bg-card);
	overflow: hidden;
	position: relative;
}

.detailBackOverlay {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 10;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-size: 18px;
	padding: 0;
	color: #fff;
}

.detailSaveBtn,
.detailShareBtn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--border-subtle);
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-secondary);
	cursor: pointer;
	flex-shrink: 0;
	opacity: 1;
	transform: none;
	transition:
		background 0.15s,
		color 0.15s,
		border-color 0.15s;
}

.detailSaveBtn:hover,
.detailShareBtn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--text-primary);
	transform: none;
}

.detailSaveBtn svg,
.detailShareBtn svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke-width: 2;
}

.detailSaveBtn svg {
	stroke: currentColor;
}

.detailSaveBtn.saved {
	color: var(--accent);
	background: rgba(244, 98, 10, 0.08);
	border-color: rgba(244, 98, 10, 0.28);
}

.detailSaveBtn.saved svg {
	fill: none;
	stroke: currentColor;
}

.detailPoster img {
	width: 100%;
	max-height: 600px;
	height: auto;
	display: block;
	object-fit: cover;
	object-position: center top;
}

.detailPageMain .detailBody {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 20px 0;
}

.detailPageMain .detailMeta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.detailPageMain .detailCta {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.detailPageMain .detailBadge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	width: fit-content;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--border-subtle);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.detailPageMain .detailTitle {
	font-family: 'DM Sans', sans-serif;
	font-size: 28px;
	margin: 0;
	line-height: 1.15;
	color: var(--text-primary);
}

.detailPageMain .detailInlineDescription {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-secondary);
}

.detailPageMain .detailDate,
.detailPageMain .detailVenue {
	font-size: 16px;
	color: var(--text-secondary);
	margin: 0;
}

.detailPageMain .detailTags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}

.detailTag {
	font-size: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-primary);
}

.detailActions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
	justify-content: flex-end;
}

.detailPageMain .detailPosterOverlay {
	position: absolute;
	bottom: 12px;
	right: 12px;
	display: flex;
	gap: 8px;
	align-items: center;
}

.detailPageMain .detailPosterOverlay .detailIconBtn {
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-color: rgba(255, 255, 255, 0.15);
}

.detailPageMain .detailIconBtn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border-subtle);
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-secondary);
	cursor: pointer;
	flex-shrink: 0;
	transition:
		background 0.15s,
		color 0.15s;
}

.detailPageMain .detailIconBtn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--text-primary);
}

.detailPageMain .detailIconBtn svg {
	width: 18px;
	height: 18px;
}

.detailPageMain .detailIconSave[data-saved='1'] {
	color: var(--accent);
	border-color: var(--accent);
	background: rgba(255, 99, 20, 0.12);
}

.detailPageMain .detailIconSave svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	transition: all 0.2s;
}

.detailPageMain .detailIconSave[data-saved='1'] svg {
	fill: var(--accent);
	stroke: var(--accent);
}

.primaryBtn,
.secondaryBtn {
	border-radius: 999px;
	border: none;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
}

.primaryBtn {
	background: var(--accent);
	color: #fff;
}

.detailPageMain .detailBody .primaryBtn {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 8px;
}

@media (min-width: 901px) {
	.detailPageMain .detailBody {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 24px;
		align-items: stretch;
	}

	.detailPageMain .detailCta {
		align-items: flex-end;
		justify-content: center;
		height: 100%;
		padding-right: 70px;
	}

	.detailPageMain .detailCta .primaryBtn {
		width: 100%;
		max-width: 350px;
		margin-top: 0;
	}

	.detailPageMain .detailCta .ticketNote {
		width: auto;
	}
}

/* Related events section */
.detailPageMain .eventRelated {
	padding: 24px 20px 0;
	margin-top: 30px;
}

.detailPageMain .eventRelatedTitle {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-secondary);
	margin: 0 0 14px;
}

.detailPageMain .eventRelatedGrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

@media (max-width: 767px) {
	.detailPageMain .footer {
		display: block;
		position: static;
		height: auto;
		background: rgba(8, 8, 8, 0.96);
		border-top: 1px solid rgba(255, 255, 255, 0.07);
		margin-top: 24px;
	}

	.detailPageMain .footerInner {
		padding: 14px 16px;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.detailPageMain .footerBrand {
		display: inline-flex;
		align-items: center;
		gap: 8px;
	}

	.detailPageMain .footerLogo {
		font-family: 'DM Sans', sans-serif;
		font-size: 14px;
		font-weight: 800;
		letter-spacing: -0.02em;
		color: rgba(255, 255, 255, 0.72);
		text-decoration: none;
	}

	.detailPageMain .footerCopy {
		font-size: 11px;
		color: var(--text-muted);
	}

	.detailPageMain .footerNav {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		font-size: 12px;
		color: #888;
	}

	.detailPageMain .footerLink {
		color: #888;
		text-decoration: none;
	}

	.detailPageMain .footerDivider {
		color: #5d5d5d;
		user-select: none;
	}

	.detailPageMain .footerSocials {
		display: inline-flex;
		align-items: center;
		gap: 12px;
	}

	.detailPageMain .footerSocialLink {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 16px;
		height: 16px;
		color: #888;
		text-decoration: none;
	}

	.detailPageMain .footerSocialLink svg {
		width: 16px;
		height: 16px;
		fill: currentColor;
	}
}

@media (min-width: 768px) {
	.detailPageMain .eventRelatedGrid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.detailPageMain .eventRelatedCard {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-radius: 0;
	overflow: hidden;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s;
}

.detailPageMain .eventRelatedCard:hover {
	transform: translateY(-4px);
}

.detailPageMain .eventRelatedCard:hover .eventRelatedThumb {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.detailPageMain .eventRelatedThumb {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center top;
	display: block;
	background: var(--bg-card);
}

.detailPageMain .eventRelatedThumbPlaceholder {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.detailPageMain .eventRelatedBody {
	padding: 12px 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.detailPageMain .eventRelatedBadge {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff;
	background: var(--accent);
	padding: 2px 8px;
	border-radius: 99px;
	align-self: flex-start;
	margin-bottom: 4px;
}

.detailPageMain .eventRelatedName {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1.3;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.detailPageMain .eventRelatedTags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 4px 0 0;
}

.detailPageMain .eventRelatedTag {
	font-size: 11px;
	color: #a0a0a0;
	background: rgba(255, 255, 255, 0.05);
	padding: 3px 8px;
	border-radius: 999px;
	font-weight: 500;
}

.detailPageMain .eventRelatedDate {
	font-size: 12px;
	color: var(--text-secondary);
	margin: 0;
}

.detailPageMain .eventRelatedVenue {
	font-size: 11px;
	color: var(--text-muted);
	margin: 0;
}

.primaryBtn:hover {
	opacity: 0.88;
}

.primaryBtn--disabled,
.primaryBtn--disabled:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-muted);
	opacity: 1;
	cursor: default;
	pointer-events: none;
}

.secondaryBtn {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-primary);
	border: 1px solid var(--border-subtle);
}

.ticketNote {
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	border: 1px dashed var(--accent);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: center;
	pointer-events: none;
	cursor: default;
}

.ticketNote::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--accent);
	box-shadow: 0 0 8px rgba(255, 99, 20, 0.6);
}

.ticketNote[hidden] {
	display: none !important;
	padding: 0;
	border: none;
}

.toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(30, 30, 30, 0.9);
	padding: 12px 20px;
	border-radius: 999px;
	border: 1px solid var(--border-subtle);
	font-size: 13px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.toast[data-show='1'] {
	opacity: 1;
}

@media (max-width: 900px) {
	.detailPageMain {
		padding: 0 0 88px;
	}
	.detailLayout {
		grid-template-columns: 1fr;
		padding: 0;
	}
	.detailPoster {
	}
}

/* === TERMS & PRIVACY === */
.legalMain {
	max-width: 860px;
	margin: 0 auto;
	padding: 64px 20px 96px;
}

.legalMain h1 {
	margin: 0 0 12px;
	font-size: clamp(30px, 4vw, 48px);
}

.legalMain p,
.legalMain li {
	color: var(--text-secondary);
	line-height: 1.7;
}

.legalMain a {
	color: var(--accent);
}

.legalMain .card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: 20px;
	padding: 28px;
}

.small {
	font-size: 13px;
}

/* Prevent iOS Safari focus-zoom "jump" on text inputs. */
@media (max-width: 767px) {
	input:not([type]),
	input[type='text'],
	input[type='search'],
	input[type='email'],
	input[type='password'],
	input[type='tel'],
	input[type='url'],
	input[type='number'],
	input[type='date'],
	input[type='datetime-local'],
	input[type='time'],
	textarea,
	select,
	.formField input,
	.authField input,
	.searchOverlayInput,
	.ecInput,
	.dateRangeInput,
	#datePickerInput {
		font-size: 16px !important;
	}
}
