/* ═══ Reset & base ══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #18181b; }
body { background: #18181b !important; margin: 0 !important; padding: 0 !important; overflow-x: hidden; }

/* Hide all theme chrome */
body > *:not(#ms-app):not(#wpadminbar):not(script):not(style) { display: none !important; }

/* ═══ App root ══════════════════════════════════════ */
#ms-app {
	display: block;
	background: #18181b;
	color: #e4e4e7;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	min-height: 100dvh;
}
#ms-app * { box-sizing: border-box; }
#ms-app a { color: inherit; text-decoration: none; }
#ms-app img { display: block; max-width: 100%; }
#ms-app button { font-family: inherit; cursor: pointer; border: none; background: none; outline: none; }
#ms-app h1, #ms-app h2, #ms-app h3 { color: #fff; }

/* ═══ Page container ════════════════════════════════ */
.ms-page {
	max-width: 600px;
	margin: 0 auto;
	padding-bottom: calc(48px + env(safe-area-inset-bottom));
}

/* ═══ HERO BANNER (FourVenues style) ════════════════ */
.ms-hero {
	position: relative;
	background: #27272a; /* fallback */
	overflow: hidden;
}
/* Blurred background image fills the hero */
.ms-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(30px);
	transform: scale(1.15); /* prevent blur edges */
	opacity: 0.45;
}
/* Dark overlay on top of blur */
.ms-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(24, 24, 27, 0.55);
}
/* Content sits above bg layers */
.ms-hero-content {
	position: relative;
	z-index: 2;
	padding: 16px 16px 20px;
}
/* Circular avatar */
.ms-avatar {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	border: 3px solid rgba(255,255,255,0.15);
	background: #3f3f46;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}
.ms-hero-row {
	display: flex;
	align-items: flex-end;
	gap: 16px;
}
.ms-hero-text {}
.ms-hero-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255,255,255,0.45);
	margin-bottom: 4px;
}
.ms-hero-name {
	font-size: 26px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}

/* ═══ EVENT CARDS ═══════════════════════════════════ */
.ms-events {
	padding: 12px 12px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ms-card {
	display: flex;
	background: #27272a;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background .12s;
	position: relative;
}
.ms-card:active { background: #2e2e32; }

/* Left: portrait thumbnail */
.ms-card-thumb {
	flex-shrink: 0;
	width: 108px;
	position: relative;
}
.ms-card-thumb-inner {
	width: 100%;
	/* 4:5 aspect within the card — matches FV */
	padding-top: 125%; /* height = 125% of width */
	position: relative;
	overflow: hidden;
}
/* Blurred background fill */
.ms-card-thumb-bg {
	position: absolute;
	inset: -10%;
	background-size: cover;
	background-position: center;
	filter: blur(8px);
	transform: scale(1.1);
}
/* Contain the actual flyer */
.ms-card-thumb-img {
	position: absolute;
	inset: 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-color: rgba(0,0,0,.15);
}
/* Placeholder when no image */
.ms-card-thumb-ph {
	position: absolute;
	inset: 0;
	background: #3f3f46;
}

/* Right: card body */
.ms-card-body {
	flex: 1;
	padding: 12px 14px 12px 12px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
}

/* Date + time row */
.ms-card-date-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}
/* Blue date badge — exact FourVenues style */
.ms-date-badge {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	background: rgb(37, 99, 235);
	color: #fff;
	border-radius: 5px;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	flex-shrink: 0;
}
.ms-date-badge-day { font-weight: 300; }
.ms-date-badge-num { font-weight: 700; }
.ms-date-badge-mon { font-weight: 300; }
.ms-card-time {
	font-size: 11px;
	color: #71717a;
}

/* Event title */
.ms-card-title {
	font-size: 17px;
	font-weight: 600;
	color: #fff;
	line-height: 1.25;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-bottom: 8px;
}

/* Bottom row: venue pill + arrow */
.ms-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.ms-venue-pill {
	font-size: 11px;
	color: #a1a1aa;
	background: rgba(59,130,246,.12);
	border-radius: 4px;
	padding: 2px 7px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ms-card-arrow {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgb(37, 99, 235);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	flex-shrink: 0;
}

/* ═══ EMPTY / 404 ════════════════════════════════════ */
.ms-empty {
	text-align: center;
	padding: 40px 24px;
	color: #52525b;
	font-size: 14px;
	line-height: 1.7;
}
.ms-not-found {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100dvh;
	padding: 32px;
	text-align: center;
	gap: 10px;
}
.ms-not-found-title { font-size: 18px; color: #52525b; font-weight: 600; }
.ms-not-found-sub   { font-size: 13px; color: #3f3f46; }
.ms-home-btn {
	margin-top: 12px;
	padding: 12px 26px;
	background: #fff;
	color: #000;
	border-radius: 40px;
	font-weight: 700;
	font-size: 13px;
	display: inline-block;
}

/* ═══ FOOTER ════════════════════════════════════════ */
.ms-footer {
	text-align: center;
	padding: 28px 24px 0;
	font-size: 11px;
	color: #3f3f46;
}
.ms-footer a { color: #52525b; }

/* ═══ BOTTOM SHEETS ════════════════════════════════ */
.ms-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.82);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 1000;
	display: none;
	align-items: flex-end;
	justify-content: center;
}
.ms-overlay.open { display: flex; }

.ms-sheet {
	width: 100%;
	max-width: 600px;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 20px 20px 0 0;
	max-height: 88dvh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-bottom: calc(24px + env(safe-area-inset-bottom));
	animation: ms-slide-up .24s cubic-bezier(.32,.72,0,1) both;
}
@keyframes ms-slide-up {
	from { transform: translateY(100%); }
	to   { transform: translateY(0); }
}
.ms-sheet-handle {
	width: 36px; height: 4px;
	background: #3f3f46;
	border-radius: 2px;
	margin: 14px auto 0;
}

/* Sheet hero */
.ms-sheet-hero {
	width: 100%;
	height: 200px;
	position: relative;
	overflow: hidden;
	margin-top: 12px;
}
.ms-sheet-hero-bg {
	position: absolute;
	inset: -10%;
	background-size: cover;
	background-position: center;
	filter: blur(8px);
	transform: scale(1.1);
}
.ms-sheet-hero-img {
	position: absolute;
	inset: 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-color: rgba(0,0,0,.2);
}
.ms-sheet-hero-ph { position: absolute; inset: 0; background: #27272a; }
.ms-sheet-hero-grad {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 55%;
	background: linear-gradient(to top, #18181b 0%, transparent 100%);
}
.ms-sheet-close {
	position: absolute;
	top: 10px; right: 10px;
	width: 28px; height: 28px;
	border-radius: 50%;
	background: rgba(0,0,0,.6);
	color: #fff;
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	cursor: pointer;
}

.ms-sheet-body { padding: 0 18px 4px; }
.ms-sheet-date { display: flex; align-items: center; gap: 8px; margin: 14px 0 7px; }
.ms-sheet-title {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.15;
}

/* Section headers inside sheet */
.ms-sec-head { display: flex; align-items: center; gap: 8px; margin: 20px 0 10px; }
.ms-sec-bar  { width: 3px; height: 14px; background: rgb(37,99,235); border-radius: 2px; flex-shrink: 0; }
.ms-sec-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #a1a1aa; }

/* Item rows (tickets/tables) */
.ms-item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 14px;
	background: #27272a;
	border-radius: 10px;
	margin-bottom: 7px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background .1s;
}
.ms-item-row:active { background: #2e2e32; }
.ms-item-row.unavail { opacity: .35; cursor: default; pointer-events: none; }
.ms-item-name  { font-size: 14px; font-weight: 600; color: #fff; }
.ms-item-right { display: flex; align-items: center; gap: 10px; }
.ms-item-price { font-size: 14px; font-weight: 700; color: #fff; }
.ms-item-arrow {
	width: 32px; height: 32px;
	border-radius: 50%;
	background: rgb(37,99,235);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.ms-item-row.unavail .ms-item-arrow { background: #3f3f46; color: #52525b; }
.ms-badge-sold {
	font-size: 9px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .05em;
	background: #1a0e0e; color: #ef4444;
	padding: 3px 7px; border-radius: 4px;
}

/* ═══ PURCHASE SHEET ════════════════════════════════ */
.ms-buy-overlay {
	position: fixed; inset: 0;
	background: rgba(0,0,0,.86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 1100;
	display: none;
	align-items: flex-end;
	justify-content: center;
}
.ms-buy-overlay.open { display: flex; }
.ms-buy-box {
	width: 100%; max-width: 600px;
	background: #18181b;
	border: 1px solid #27272a;
	border-radius: 20px 20px 0 0;
	padding: 0 20px calc(28px + env(safe-area-inset-bottom));
	animation: ms-slide-up .24s cubic-bezier(.32,.72,0,1) both;
}
.ms-buy-hd {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 0 14px;
	border-bottom: 1px solid #27272a;
	margin-bottom: 18px;
}
.ms-buy-title { font-size: 15px; font-weight: 700; color: #fff; }
.ms-buy-close { color: #52525b; font-size: 22px; line-height: 1; }

/* Stepper */
.ms-stepper-wrap {
	background: #27272a;
	border-radius: 12px;
	padding: 20px 16px;
	text-align: center;
	margin-bottom: 14px;
}
.ms-stepper-lbl { font-size: 10px; color: #52525b; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.ms-stepper { display: flex; align-items: center; justify-content: center; gap: 24px; }
.ms-step-btn {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: #3f3f46;
	color: #fff;
	font-size: 22px;
	display: flex; align-items: center; justify-content: center;
	transition: background .1s, transform .1s;
}
.ms-step-btn:active { background: #52525b; transform: scale(.9); }
.ms-step-count { font-size: 36px; font-weight: 800; color: #fff; min-width: 46px; text-align: center; }

/* Price breakdown */
.ms-price-box {
	background: #27272a;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 18px;
}
.ms-price-row {
	display: flex; justify-content: space-between;
	font-size: 13px; color: #71717a;
	margin-bottom: 7px;
}
.ms-price-row:last-child { margin-bottom: 0; }
.ms-price-row.ms-total {
	color: #fff; font-weight: 700; font-size: 15px;
	padding-top: 10px; margin-top: 7px;
	border-top: 1px solid #3f3f46;
}

/* CTA */
.ms-continue {
	display: block; width: 100%; padding: 15px;
	background: rgb(37,99,235);
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 15px; font-weight: 700;
	text-align: center;
	border-radius: 10px;
	cursor: pointer;
	transition: opacity .15s, transform .1s;
}
.ms-continue:active { opacity: .85; transform: scale(.98); }
.ms-tt-wrap { padding-bottom: 8px; }

/* ── Inline ticket stepper (inside detail sheet) ── */
.ms-ticket-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	background: #27272a;
	border-radius: 10px;
	margin-bottom: 7px;
}
.ms-ticket-row.unavail { opacity: .35; }
.ms-ticket-info { flex: 1; min-width: 0; }
.ms-ticket-info-name  { font-size: 14px; font-weight: 600; color: #fff; }
.ms-ticket-info-price { font-size: 12px; color: #71717a; margin-top: 2px; }
.ms-ticket-stepper {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.ms-inline-btn {
	width: 30px; height: 30px;
	border-radius: 50%;
	background: #3f3f46;
	color: #fff;
	font-size: 18px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	transition: background .1s, transform .1s;
	cursor: pointer;
}
.ms-inline-btn:active { background: #52525b; transform: scale(.9); }
.ms-inline-btn.ms-inline-plus { background: rgb(37,99,235); }
.ms-inline-btn.ms-inline-plus:active { background: rgb(29,78,216); }
.ms-inline-qty {
	font-size: 16px; font-weight: 700; color: #fff;
	min-width: 20px; text-align: center;
}

/* ── Sticky CTA bar at bottom of detail sheet ── */
.ms-sheet-cta {
	position: sticky;
	bottom: 0;
	background: linear-gradient(to top, #18181b 70%, transparent);
	padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
	margin: 0 -18px;
}
.ms-sheet-cta-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 20px;
	background: rgb(37,99,235);
	color: #fff;
	border-radius: 10px;
	font-family: 'Inter', sans-serif;
	font-size: 15px; font-weight: 700;
	cursor: pointer;
	transition: opacity .15s, transform .1s;
	border: none; outline: none;
}
.ms-sheet-cta-btn:active { opacity: .85; transform: scale(.98); }
.ms-sheet-cta-btn:disabled { background: #3f3f46; color: #52525b; cursor: not-allowed; transform: none; opacity: 1; }
.ms-sheet-cta-label { font-size: 15px; font-weight: 700; }
.ms-sheet-cta-total { font-size: 15px; font-weight: 700; opacity: .9; }

/* ═══ HERO ACTIONS ══════════════════════════════════ */
.ms-hero-actions {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}
.ms-action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 0 14px;
	transition: opacity .15s, transform .1s, background .15s;
}
.ms-action-btn:active {
	opacity: .85;
	transform: scale(.98);
}
.ms-action-btn i {
	font-size: 18px;
	line-height: 1;
}
.ms-action-primary {
	flex: 1 1 auto;
	background: rgb(37,99,235);
	color: #fff;
}
.ms-action-secondary {
	flex: 0 0 auto;
	background: rgba(255,255,255,.1);
	color: #fff;
	border: 1px solid rgba(255,255,255,.12);
}

/* ═══ PR Microsite UI refinements ══════════════════ */
.ms-hero {
	background:
		radial-gradient(circle at 18% 8%, rgba(37, 99, 235, .48), transparent 34%),
		radial-gradient(circle at 88% 0%, rgba(236, 72, 153, .28), transparent 32%),
		linear-gradient(145deg, #111827 0%, #18181b 52%, #0f172a 100%);
	border-bottom: 1px solid rgba(255,255,255,.08);
	box-shadow: inset 0 -70px 110px rgba(0,0,0,.28);
}
.ms-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
	pointer-events: none;
}
.ms-hero-bg {
	opacity: .22;
	filter: blur(36px) saturate(1.25);
}
.ms-hero-overlay {
	background: linear-gradient(180deg, rgba(24,24,27,.18), rgba(24,24,27,.82));
}
.ms-hero-content {
	padding: 26px 16px 22px;
}
.ms-avatar-initial {
	background: linear-gradient(135deg, #f97316, #ec4899 52%, #2563eb) !important;
	box-shadow: 0 16px 45px rgba(37,99,235,.28), inset 0 0 0 1px rgba(255,255,255,.18);
	display: flex;
	align-items: center;
	justify-content: center;
}
.ms-avatar-initial span {
	font-size: 42px;
	line-height: 1;
	font-weight: 800;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0,0,0,.28);
}
.ms-hero-name {
	font-size: 30px;
	letter-spacing: -.03em;
}
.ms-hero-label {
	color: rgba(255,255,255,.62);
}
.ms-card {
	min-height: 126px;
}
.ms-card-thumb {
	align-self: stretch;
	min-height: 126px;
}
.ms-card-thumb-inner {
	position: absolute;
	inset: 0;
	height: 100%;
	padding-top: 0;
}
.ms-card-thumb-img {
	background-size: cover;
	background-position: center;
}
.ms-venue-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	max-width: 180px;
}
.ms-venue-pill i {
	font-size: 13px;
	color: rgb(96,165,250);
	line-height: 1;
	flex-shrink: 0;
}
.ms-overlay {
	display: flex;
	opacity: 0;
	pointer-events: none;
	transition: opacity .22s ease;
}
.ms-overlay.open {
	opacity: 1;
	pointer-events: auto;
}
.ms-sheet {
	transform: translateY(105%);
	animation: none;
	transition: transform .32s cubic-bezier(.22,1,.36,1);
	will-change: transform;
}
.ms-overlay.open .ms-sheet {
	transform: translateY(0);
}
.ms-sheet-body {
	padding: 0 18px 4px;
	min-height: 390px;
}
.ms-sheet-info {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 10px 0 12px;
}
.ms-info-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 7px 9px;
	border-radius: 8px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.06);
	color: #d4d4d8;
	font-size: 12px;
	font-weight: 600;
}
.ms-info-pill i {
	font-size: 16px;
	color: rgb(96,165,250);
	line-height: 1;
	flex-shrink: 0;
}
.ms-info-pill span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ms-sheet-desc {
	font-size: 13px;
	line-height: 1.55;
	color: #a1a1aa;
	background: rgba(255,255,255,.035);
	border-radius: 10px;
	padding: 11px 12px;
	margin: 0 0 14px;
}
.ms-ticket-skeleton {
	height: 60px;
	border-radius: 10px;
	margin-bottom: 7px;
	background: linear-gradient(90deg, #27272a 0%, #323238 50%, #27272a 100%);
	background-size: 200% 100%;
	animation: ms-skeleton 1.15s ease-in-out infinite;
}
@keyframes ms-skeleton {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* ═══ Header upgrades: animation, sticky behavior, dynamic accent ═════════ */
.ms-page {
	--ms-accent: #ff3b30;
	--ms-promoter-accent: #ff3b30;
}

.ms-hero {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #111115 !important;
	background-image: none !important;
	border-bottom: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 12px 34px rgba(0,0,0,.28);
}

.ms-hero::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 4px;
	background: var(--ms-accent);
	z-index: 3;
}

.ms-hero::after {
	display: none !important;
	content: none !important;
	background-image: none !important;
}

.ms-hero-bg {
	opacity: .18 !important;
	filter: blur(34px) saturate(1.1) !important;
}

.ms-hero-overlay {
	background: rgba(17,17,21,.78) !important;
}

.ms-hero-content {
	animation: msHeaderFadeUp .38s ease-out both;
}

.ms-avatar-initial {
	background: var(--ms-promoter-accent) !important;
	background-image: none !important;
	animation: msAvatarPop .42s cubic-bezier(.22,1,.36,1) both;
}

.ms-hero-text {
	animation: msHeaderTextIn .42s ease-out both;
}

.ms-hero-actions {
	animation: msHeaderActionsIn .48s ease-out both;
}

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

@keyframes msAvatarPop {
	from { opacity: 0; transform: scale(.86); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes msHeaderTextIn {
	from { opacity: 0; transform: translateX(8px); }
	to { opacity: 1; transform: translateX(0); }
}

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

.ms-card .ms-date-badge,
.ms-card .ms-card-arrow {
	background: var(--ms-card-accent, var(--ms-accent)) !important;
}

.ms-card .ms-venue-pill i {
	color: var(--ms-card-accent, var(--ms-accent)) !important;
}

.ms-action-primary,
.ms-sheet-cta-btn,
.ms-inline-btn.ms-inline-plus,
.ms-sec-bar,
.ms-item-arrow,
.ms-card-arrow,
.ms-date-badge {
	background: var(--ms-accent) !important;
}

.ms-info-pill i {
	color: var(--ms-accent) !important;
}

.ms-venue-pill {
	background: color-mix(in srgb, var(--ms-card-accent, var(--ms-accent)) 18%, transparent);
}

@supports not (background: color-mix(in srgb, #fff 10%, transparent)) {
	.ms-venue-pill {
		background: rgba(255,255,255,.08);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ms-hero-content,
	.ms-avatar-initial,
	.ms-hero-text,
	.ms-hero-actions {
		animation: none !important;
	}
}

/* ═══ FINAL OVERRIDES: fixed Juniper blue header + mobile CTA fixes ═════════ */
.ms-page {
	--ms-accent: #2563eb !important;
	--ms-promoter-accent: #2563eb !important;
}

.ms-hero {
	background: #111115 !important;
	background-image: none !important;
	border-bottom: 1px solid rgba(255,255,255,.08) !important;
	box-shadow: 0 12px 34px rgba(0,0,0,.28) !important;
}

.ms-hero::before {
	background: #2563eb !important;
}

.ms-hero::after,
.ms-hero *::before,
.ms-hero *::after {
	background-image: none !important;
}

.ms-hero-row {
	align-items: flex-start !important;
}

.ms-hero-text {
	padding-top: 2px;
}

.ms-hero-label {
	margin: 0 0 4px !important;
	color: #60a5fa !important;
	line-height: 1;
}

.ms-hero-name {
	margin: 0 !important;
}

.ms-avatar-initial {
	background-image: none !important;
}

.ms-action-primary,
.ms-sheet-cta-btn,
.ms-inline-btn.ms-inline-plus,
.ms-sec-bar,
.ms-item-arrow,
.ms-card-arrow,
.ms-date-badge {
	background: #2563eb !important;
}

.ms-info-pill i,
.ms-venue-pill i {
	color: #60a5fa !important;
}

.ms-venue-pill {
	background: rgba(96,165,250,.14) !important;
}

.ms-sheet {
	overflow: hidden !important;
	padding-bottom: 0 !important;
}

.ms-sheet-body {
	overflow-y: auto;
	max-height: calc(88dvh - 18px);
	padding: 0 18px 0 !important;
	-webkit-overflow-scrolling: touch;
}

.ms-sheet-close {
	top: 14px !important;
	right: 14px !important;
	width: 42px !important;
	height: 42px !important;
	font-size: 26px !important;
	background: rgba(0,0,0,.45) !important;
	color: #fff !important;
	z-index: 8 !important;
}

.ms-sheet-close i {
	font-size: 28px;
	line-height: 1;
}

.ms-sheet-cta {
	position: sticky !important;
	left: auto !important;
	right: auto !important;
	bottom: 0 !important;
	z-index: 20 !important;
	background: #18181b !important;
	background-image: none !important;
	border-top: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 -16px 30px rgba(24,24,27,.96);
	padding: 14px 18px calc(14px + env(safe-area-inset-bottom)) !important;
	margin: 18px -18px 0 !important;
}

.ms-sheet-cta::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -18px;
	height: 18px;
	background: linear-gradient(to top, #18181b, rgba(24,24,27,0));
	pointer-events: none;
}

.ms-sheet-cta-btn {
	position: relative;
	z-index: 2;
}
