/* ============================================================
   TODO.TODAY – Card Components + Home Page Styles
   Includes: Skeleton loaders, Highlight cards, Horizontal cards,
   Vertical cards, Happening Now, Tabs, Filter popup
   ============================================================ */

/* ──────── CSS VARIABLES (Lovable-matched) ──────── */
:root {
	/* Font family - exact Lovable match */
	--tt-font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;

	/* Colors - Lovable design system */
	--tt-background: #fff;
	--tt-foreground: #171717; /* hsl(0 0% 9%) */
	--tt-muted: #f5f5f5; /* hsl(0 0% 96%) */
	--tt-muted-foreground: #666666; /* hsl(0 0% 40%) */
	--tt-border: #e5e5e5; /* hsl(0 0% 90%) */
	--tt-primary: #171717;
	--tt-primary-foreground: #fff;
	--tt-secondary: #f5f5f5;
	--tt-destructive: #ef4444; /* hsl(0 84% 60%) - for live indicators */

	/* Legacy aliases */
	--tt-text-primary: #171717;
	--tt-text-secondary: #666666;
	--tt-text-muted: #666666;
	--tt-border-color: #e5e5e5;
	--tt-bg-white: #fff;
	--tt-bg-light: #f5f5f5;
}

/* ──────── WORDPRESS ADMIN BAR HANDLING ──────── */
/* Adjust sticky section view header when admin bar is present */
body.admin-bar .tt-section-view-header {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar .tt-section-view-header {
		top: 46px;
	}
}

/* ──────── BUTTON RESET ──────── */
/* Strips native <button> chrome (border, background, padding, system font) so
   these components render from a clean box. Originally written to fight
   Flatsome's button styles too ("FLATSOME BUTTON RESET") — Flatsome is gone
   now, so that half of the job no longer applies; this is a plain reset.
   `all: unset` used to sit here instead of these explicit properties. Every
   selector below ALSO has its own dedicated rule elsewhere in this file using
   `!important` (e.g. .tt-heart-btn, .tt-load-more-btn), so `all: unset`'s
   specificity never actually touched their look. The day bar
   (.tt-daybar__toggle etc., in the DAY BAR block further down) was the one
   component that didn't use `!important` — `all: unset` also resets `display`
   to its initial value (`inline`), which is what silently collapsed its flex
   layout. Listing properties explicitly instead of `all: unset` means a
   future component built without `!important` won't hit the same trap. */
.event_listing_data button,
.event_listing_data button[type="button"],
#tt-app button,
#tt-app button[type="button"],
.tt-filter-popup button,
.tt-filter-popup button[type="button"],
.tt-tabs-filter-bar button,
.tt-filter-icon-btn,
.tt-filter-popup-close,
.tt-filter-apply-btn,
.tt-filter-clear-all,
.tt-clear-all-filters,
.tt-load-more-btn,
.tt-see-all,
.tt-heart-btn {
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
	color: inherit;
	text-align: inherit;
	box-sizing: border-box;
	cursor: pointer;
	font-family: var(--tt-font-family);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* Font Awesome icon styles for filter components */
.tt-filter-popup-close i {
	font-size: 14px !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.tt-filter-group-icon i {
	font-size: 14px !important;
	color: #71717a;
	line-height: 1 !important;
}

/* ──────── SKELETON LOADERS ──────── */
.tt-skel {
	background: #f0f0f0;
	border-radius: 6px;
	position: relative;
	overflow: hidden;
}
.tt-skel::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
	animation: tt-shimmer 1.5s infinite;
}
@keyframes tt-shimmer {
	0%   { left: -100%; }
	100% { left: 100%; }
}

.tt-skel-tab {
	flex: 1;
	height: 40px;
	border-radius: 12px;
	margin: 0;
}
.tt-skel-filter-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
}
.tt-skel-img {
	width: 100%;
	border-radius: 10px;
}
.tt-skel-img-sq {
	width: 64px;
	height: 64px;
	border-radius: 10px;
	flex-shrink: 0;
	background: #f0f0f0;
	position: relative;
	overflow: hidden;
}
.tt-skel-img-sq::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
	animation: tt-shimmer 1.5s infinite;
}
.tt-skel-line {
	height: 12px;
	border-radius: 4px;
}
.tt-skel-chevron {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	flex-shrink: 0;
	background: #f0f0f0;
}
.tt-skel-card {
	pointer-events: none;
}
.tt-skeleton-bar {
	pointer-events: none;
}

/* ──────── TABS + FILTER BAR ──────── */
.tt-tabs-filter-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	overflow: visible;
}
.tt-tabs-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	overflow: visible;
}
.tt-date-tabs {
	display: flex;
	flex: 1;
	background: #f5f5f5;
	border-radius: 16px;
	padding: 6px;
	gap: 0;
	position: relative;
}
.tt-tab-slider {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 4px;
	width: calc(50% - 4px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	z-index: 0;
}
.tt-date-tab {
	flex: 1;
	text-align: center;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	color: #71717a;
	text-decoration: none !important;
	border-radius: 16px;
	transition: color 0.2s ease;
	cursor: pointer;
	line-height: 1.2;
	position: relative;
	z-index: 1;
}

@media (max-width: 480px) {
	.tt-date-tab {
		padding: 10px 5px;
		font-size: 13px;
	}
}

.tt-date-tab:hover { color: #52525b; }
.tt-date-tab--active {
	color: #09090b;
	font-weight: 500;
}
.tt-date-tab--active:hover { color: #09090b; }

/* Filter button - matches Lovable exactly */
.tt-filter-icon-btn {
	position: relative;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px;
	min-height: 40px;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 12px !important;
	background: #f5f5f5 !important;
	cursor: pointer;
	color: #09090b;
	transition: all 0.2s ease;
	line-height: 1 !important;
	flex-shrink: 0;
	box-sizing: border-box !important;
}
/* SVG Filter icon (Lovable style - outline funnel) */
.tt-filter-icon-svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}
.tt-filter-icon-btn i {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 16px !important;
	line-height: 1 !important;
	width: 16px;
	height: 16px;
	margin: 0 !important;
	padding: 0 !important;
}
.tt-filter-icon-btn:hover { background: #e5e5e5 !important; }
.tt-filter-icon-btn--active { background: var(--tt-primary, #171717) !important; color: var(--tt-primary-foreground, #fff) !important; }
.tt-filter-icon-btn--active:hover { background: #27272a !important; }

/* Filter badge - matches Lovable exactly */
/* Lovable: absolute -top-1 -right-1, w-5 h-5, bg-destructive, white border */
.tt-filter-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 20px;
	height: 20px;
	min-width: 20px;
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	border-radius: 50%;
	background: #ef4444;
	color: #fff;
	padding: 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	z-index: 1;
}

/* ──────── ACTIVE FILTER CHIPS (HIDDEN - only show count badge) ──────── */
#tt-active-chips,
.tt-active-filters,
.tt-active-filters-inner,
.tt-active-chip,
.tt-chip-remove,
.tt-clear-all-filters {
	display: none !important;
}

/* ──────── FILTER POPUP ──────── */
.tt-filter-overlay {
	position: fixed; top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.5); z-index: 99998;
	opacity: 0; transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	backdrop-filter: blur(4px);
}
.tt-filter-overlay.tt-visible { opacity: 1; }
.tt-filter-popup {
	position: fixed; z-index: 99999;
	background: #fff; border-radius: 16px;
	border: 1px solid #e5e5e5;
	box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
	display: flex; flex-direction: column; overflow: hidden;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	top: 100px; left: 50%; transform: translateX(-50%) scale(0.95);
	width: calc(100% - 30px); max-width: 448px; max-height: calc(100vh - 150px);
	opacity: 0;
}
.tt-filter-popup.tt-popup-entering { transform: translateX(-50%) scale(0.95); opacity: 0; }
.tt-filter-popup.tt-popup-visible { transform: translateX(-50%) scale(1); opacity: 1; }
.tt-retreat-card,
.tt-retreat-card:hover,
.tt-retreat-card:visited,
.tt-retreat-card:focus {
	text-decoration: none !important;
	color: inherit !important;
}

.tt-retreat-card {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 240px;
	min-height: 128px;
	padding: 18px 16px;
	border-radius: 12px;
	background: #050505;
	color: #fff !important;
	scroll-snap-align: start;
	overflow: hidden;
	transition: transform 0.2s ease-out;
}

.tt-retreat-card-date {
	margin-bottom: 12px;
	color: #facc15;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tt-retreat-card-title {
	margin: 0 0 12px !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.28 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tt-retreat-card-meta {
	color: #c8c8c8;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (hover: hover) {
	.tt-retreat-card:hover { transform: scale(1.01) !important; }
	.tt-retreat-card:active { transform: scale(0.97) !important; }
}

.tt-retreat-card:active { transform: scale(0.97); }

/* Bottom-sheet variant on PHONES only (< 600px, the single-column cap):
   on tablets the full-width sheet looks broken next to the capped 600px
   page column, so they keep the centered card. Same rule as the
   Preferences popup (sidebar.css). */
@media (max-width: 599px) {
	.tt-filter-popup {
		top: auto; left: 0; right: 0; bottom: 0;
		width: 100%; max-width: 100%; border-radius: 16px 16px 0 0; max-height: 90vh;
		transform: translateY(100%);
	}
	.tt-filter-popup.tt-popup-entering { transform: translateY(100%); opacity: 1; }
	.tt-filter-popup.tt-popup-visible { transform: translateY(0); opacity: 1; }
}
.tt-filter-popup-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px; border-bottom: 1px solid #e5e5e5; flex-shrink: 0;
}
.tt-filter-popup-header-left {
	display: flex; align-items: center; gap: 12px;
}
.tt-filter-popup-close {
	display: flex !important; align-items: center !important; justify-content: center !important;
	width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important;
	border: none !important; background: transparent !important;
	cursor: pointer; color: #09090b; border-radius: 50% !important;
	transition: all 0.15s ease;
	padding: 0 !important; margin: 0 !important; line-height: 1;
}
.tt-filter-popup-close:hover { background: #f5f5f5 !important; }
.tt-filter-popup-title { font-size: 18px; font-weight: 700; color: #09090b; margin: 0; }
.tt-filter-clear-all {
	display: inline-block !important;
	font-size: 14px; font-weight: 500; color: #09090b; background: none !important; border: none !important;
	cursor: pointer; padding: 0 !important; margin: 0 !important;
}
.tt-filter-clear-all:hover { opacity: 0.7; }
/* JS shows/hides it from the live checkbox count (syncPopupHeader). A class is
   required — an inline display:none loses to the !important above. */
.tt-filter-clear-all.is-hidden { display: none !important; }
.tt-filter-popup-body { padding: 16px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.tt-filter-group { margin-bottom: 24px; }
.tt-filter-group:last-child { margin-bottom: 0; }
.tt-filter-group-title {
	display: flex; align-items: center; gap: 8px;
	font-size: 14px; font-weight: 600; color: #09090b; margin: 0 0 12px;
}
.tt-filter-group-icon { font-size: 16px; color: #71717a; display: flex; align-items: center; }
.tt-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-filter-chip { display: inline-flex; cursor: pointer; margin: 0; }
.tt-filter-chip input[type="checkbox"] { display: none; }
.tt-filter-chip-label {
	display: inline-block; padding: 6px 12px; font-size: 14px; font-weight: 500;
	color: #09090b; background: #f5f5f5; border: none;
	border-radius: 9999px; transition: all 0.15s ease; user-select: none; white-space: nowrap;
}
.tt-filter-chip:hover .tt-filter-chip-label { background: #e5e5e5; }
.tt-filter-chip input:checked + .tt-filter-chip-label { background: #09090b; color: #fff; }
.tt-filter-popup-footer {
	padding: 16px; border-top: 1px solid #e5e5e5; background: #fff; flex-shrink: 0;
}
@media (max-width: 1024px) {
	.tt-filter-popup-footer {
		padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	}
}
.tt-filter-apply-btn {
	display: flex !important; align-items: center !important; justify-content: center !important;
	width: 100% !important; padding: 12px 24px !important; font-size: 16px !important; font-weight: 600;
	color: #fff !important; background: #09090b !important; border: none !important; border-radius: 12px !important; cursor: pointer;
	transition: background 0.15s ease;
	height: 48px !important; min-height: 48px;
	margin: 0 !important; line-height: 1.2 !important;
	text-transform: none !important; letter-spacing: normal !important;
}
.tt-filter-apply-btn:hover { background: #27272a !important; }
body.tt-filter-open { overflow: hidden; }

/* ──────── SECTIONS ──────── */
.tt-section { margin-bottom: 32px; }
.tt-section:last-child { margin-bottom: 0; }
.tt-section-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 12px;
	padding: 0;
}
.tt-section-header-left {
	display: flex;
	flex-direction: column;
	gap: 0;
}
/* "View all" link → dedicated Daily Specials / Retreats pages. */
.tt-section-view-all {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	flex-shrink: 0;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 500;
	color: var(--tt-muted-foreground, #666666);
	text-decoration: none;
	white-space: nowrap;
}
.tt-section-view-all:hover { color: var(--tt-foreground, #171717); text-decoration: none; }
.tt-section-view-all svg { width: 15px; height: 15px; }
/* iOS section title - matches Lovable: text-[22px] font-bold tracking-tight */
.tt-section-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.025em; /* tracking-tight */
	display: flex;
	align-items: center;
}
.tt-section-emoji { margin-right: 8px; font-size: inherit; }

/* Gold star for Today's Top Picks / Tomorrow's Highlights — Lovable style */
.tt-section-star {
	display: inline-flex;
	align-items: center;
	margin-right: 6px;
	font-size: 20px;
	line-height: 1;
	filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.5));
}
.tt-section-time-range {
	font-size: 14px;
	color: var(--tt-muted-foreground, #666666);
	font-weight: 400;
	margin-top: 2px;
}
/* Section subtitle - matches Lovable: text-sm text-muted-foreground */
.tt-section-subtitle {
	font-size: 14px;
	color: #666666;
	font-weight: 400;
	margin-top: 2px;
	line-height: 1.4;
}

/* ──────── UTILITY CLASSES ──────── */
.tt-hidden { display: none !important; }

/* ──────── HAPPENING NOW - Pulsing indicator ──────── */
/* Lovable: w-2 h-2 rounded-full bg-destructive animate-pulse + gap-2 */
.tt-live-indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tt-destructive, #ef4444);
	animation: tt-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
	flex-shrink: 0;
	margin-right: 8px; /* gap-2 in Lovable */
}
@keyframes tt-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* ──────── UP NEXT - Zap icon ──────── */
/* Lovable: Zap className="w-4 h-4 text-muted-foreground" + gap-2 */
.tt-section-icon {
	width: 16px;
	height: 16px;
	color: var(--tt-muted-foreground, #666666);
	flex-shrink: 0;
	margin-right: 8px; /* gap-2 in Lovable */
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.tt-section-icon i {
	font-size: 14px;
	line-height: 1;
}
/* Subtitle inline with title - matches Lovable: text-xs text-muted-foreground */
.tt-section-title-suffix {
	font-size: 12px;
	font-weight: 400;
	color: var(--tt-muted-foreground, #666666);
	margin-left: 8px;
}

/* "See all" button in section header - matches Lovable exactly */
/* Lovable: flex items-center gap-1 text-primary text-sm font-medium transition-transform active:scale-95 */
.tt-see-all-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #171717 !important;
	cursor: pointer;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	white-space: nowrap;
	transition: transform 0.15s ease;
}
.tt-see-all-btn:active {
	transform: scale(0.95);
}
.tt-see-all-btn i {
	font-size: 10px !important;
	width: 16px;
	height: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tt-see-all {
	font-size: 14px !important;
	font-weight: 500;
	color: #09090b !important;
	cursor: pointer;
	white-space: nowrap;
	display: flex !important;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	transition: transform 0.15s ease;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	text-decoration: none !important;
}
.tt-see-all:hover { opacity: 0.8; }
.tt-see-all:active { transform: scale(0.95); }

/* ──────── HIGHLIGHT CARDS (Top Picks / Tomorrow's Highlights) ──────── */
.tt-h-slider { position: relative; }
.tt-h-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
	padding: 0;
}
.tt-h-viewport::-webkit-scrollbar { display: none; }
.tt-h-track {
	display: flex;
	gap: 12px;
	padding: 4px 0 8px;
}

/* Horizontal scrolling list cards (Happening Now - Lovable style) */
.tt-h-track--list {
	gap: 12px;
}
.tt-h-track--list .tt-v-card {
	flex: 0 0 auto;
	width: 280px;
	scroll-snap-align: start;
}
@media (min-width: 640px) {
	.tt-h-track--list .tt-v-card {
		width: 320px;
	}
}

/* ──────── HORIZONTAL GRID (today page, 10+ events, vertical scroll) ──────── */
.tt-h-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	padding: 0 15px;
}
.tt-h-grid .tt-h-card {
	width: 100%;
	scroll-snap-align: unset;
}

/* ──────── UP NEXT CARD (Lovable exact match) ──────── */
/* Vertical stacked list container */
.tt-upnext-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Card: flex gap-3 p-3 rounded-2xl bg-muted border border-border */
.tt-upnext-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: var(--tt-muted, #f5f5f5);
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 16px;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.2s ease;
	cursor: pointer;
}
.tt-upnext-card:hover {
	transform: scale(1.01);
}
.tt-upnext-card:active {
	transform: scale(0.98);
}

/* Image: w-[72px] h-[72px] rounded-xl */
.tt-upnext-card-img {
	position: relative;
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	background: #e5e5e5;
}
/* Overlay for Up Next card images (like Hero card) */
.tt-upnext-card-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
}
.tt-upnext-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Content area */
.tt-upnext-card-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* Time row: clock icon + time + optional label badge */
.tt-upnext-card-time {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--tt-muted-foreground, #666666);
	line-height: 1;
	flex-wrap: wrap;
}
.tt-upnext-card-time i {
	font-size: 12px;
	width: 12px;
	text-align: center;
}

/* Label badge in time row */
.tt-upnext-card-label {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 500;
	border-radius: 9999px;
	border: none;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	margin-left: 4px;
}

/* Title: font-semibold, single line truncate */
.tt-upnext-card-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
	margin: 0;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Venue: text-muted-foreground */
.tt-upnext-card-venue {
	font-size: 12px;
	color: var(--tt-muted-foreground, #666666);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Chevron: vertically centered */
.tt-upnext-card-chevron {
	flex-shrink: 0;
	color: var(--tt-muted-foreground, #a1a1aa);
	display: flex;
	align-items: center;
	justify-content: center;
}
.tt-upnext-card-chevron svg {
	width: 20px;
	height: 20px;
}

.tt-h-card {
	flex: 0 0 auto;
	width: 180px;
	border-radius: 16px;
	background: #f5f5f5;
	border: none;
	overflow: hidden;
	scroll-snap-align: start;
	transition: transform 0.2s ease;
	position: relative;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	border: 1px solid #e6e6e6;
}
@media (min-width: 640px) {
	.tt-h-card {
		width: 220px;
	}
}
.tt-h-card:hover {
	transform: scale(1.01);
}
.tt-h-card:active {
	transform: scale(0.98);
}

.tt-h-card--highlight {
	width: 240px;
	border: none;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
@media (min-width: 640px) {
	.tt-h-card--highlight {
		width: 300px;
	}
}

.tt-h-card-link,
.tt-highlight-link {
	display: block;
	text-decoration: none !important;
	color: inherit;
}

/* --- Highlight image + gradient overlay (Apple Podcasts style for readability) --- */
.tt-highlight-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	overflow: hidden;
	background: #18181b;
}
.tt-highlight-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.tt-h-card--highlight:hover .tt-highlight-img { transform: scale(1.02); }
/* Gradient overlay — strong bottom dark for text readability */
.tt-highlight-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.70) 20%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.15) 100%);
	pointer-events: none;
	z-index: 1;
}
.tt-highlight-overlay-text {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px;
	color: #fff;
	z-index: 2;
}
@media (min-width: 640px) {
	.tt-highlight-overlay-text {
		padding: 16px;
	}
}
.tt-highlight-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px;
}
@media (min-width: 640px) {
	.tt-highlight-title {
		font-size: 18px;
	}
}
.tt-highlight-meta {
	font-size: 13px;
	line-height: 1.4;
	display: flex;
	align-items: center;
	gap: 4px;
	color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 640px) {
	.tt-highlight-meta {
		font-size: 14px;
	}
}
.tt-highlight-meta + .tt-highlight-meta {
	margin-top: 4px;
}
.tt-meta-icon-light { font-size: 12px; }

/* Heart button on cards — matches Lovable: w-8 h-8, top-2/right-2 sm:top-3/right-3 */
.tt-heart-btn {
	position: absolute !important;
	top: 8px;
	right: 8px;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.45) !important;
	border: none !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	z-index: 12 !important;
	transition: all 0.2s ease;
	backdrop-filter: blur(8px);
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	border: none !important;
}
@media (min-width: 640px) {
	.tt-heart-btn {
		top: 12px;
		right: 12px;
	}
}
.tt-heart-btn:hover {
	background: rgba(0, 0, 0, 0.58);
	transform: scale(1.05);
}
.tt-heart-btn--active {
	color: #ffffff !important;
	background: rgba(0, 0, 0, 0.58);
}
.tt-heart-btn.tt-heart-btn--active svg {
	fill: #ffffff !important;
	stroke: #ffffff !important;
}
.tt-heart-btn svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	opacity: 1 !important;
	visibility: visible !important;
	flex-shrink: 0;
	fill: none !important;
	stroke: #ffffff !important;
}
.tt-heart-btn--card {
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
}

/* --- Standard horizontal card (dayparts) --- */
.tt-h-card-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e5e5e5;
	border-radius: 16px 16px 0 0;
}
/* Overlay for horizontal card images (like Hero card) */
.tt-h-card-img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
	z-index: 1;
}
/* Darker overlay for Top Picks highlight cards */
.tt-h-card--highlight .tt-h-card-img-wrap::after {
	background: rgba(0, 0, 0, 0.28);
}
.tt-h-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}
.tt-h-card:hover .tt-h-card-img { transform: scale(1.02); }

/* Label badge (top-left) */
.tt-label-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 500;
	border-radius: 9999px;
	border: none;
	z-index: 2;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}
@media (min-width: 640px) {
	.tt-label-badge {
		top: 10px;
		left: 10px;
	}
}
/* List card variant — full-width label band across bottom of image */
.tt-label-badge--list-overlay {
	display: block;
	top: auto;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	border-radius: 0;
	padding: 4px 8px;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Ticket badge (top-left, below label) */
.tt-ticket-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 6px;
	font-size: 9px;
	font-weight: 600;
	background: rgba(255,255,255,0.95);
	color: #212121;
	border-radius: 4px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	backdrop-filter: blur(4px);
}
.tt-ticket-badge--with-label {
	top: 30px;
}

/* Price overlay (bottom-left on image) — Lovable pill style */
.tt-price-overlay {
	position: absolute;
	bottom: 8px;
	left: 8px;
	padding: 3px 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.01em;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	border-radius: 20px;
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	z-index: 2;
	white-space: nowrap;
	transition: background 0.2s ease, backdrop-filter 0.2s ease, border-color 0.2s ease;
}
.tt-h-card:hover .tt-price-overlay {
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-color: rgba(255, 255, 255, 0.22);
}

/* Card info section */
.tt-h-card-info {
	padding: 12px;
}
.tt-h-card-title {
	font-size: 15px;
	font-weight: 600;
	color: #09090b;
	margin: 0 0 6px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	/* Force 2-line height even for short titles */
	min-height: calc(14px * 1.35 * 2);
	height: calc(14px * 1.35 * 2);
}
.tt-h-card-meta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: #71717a;
	margin-top: 4px;
	line-height: 1.3;
}

@media (min-width: 640px) {
	.tt-h-card-meta {
		font-size: 14px;
	}
}

.tt-h-card-meta:first-of-type {
	margin-top: 0;
}
.tt-meta-icon {
	font-size: 12px;
	flex-shrink: 0;
}
.tt-meta-svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	vertical-align: middle;
}
.tt-venue-text {
	font-style: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ──────── SEE ALL CARD ──────── */
.tt-see-all-card {
	flex: 0 0 auto;
	width: 180px;
	height: 100%;
	min-height: 200px;
	border-radius: 16px;
	background: #f5f5f5;
	border: 2px dashed #d4d4d8;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none !important;
	color: inherit;
	scroll-snap-align: start;
}
@media (min-width: 640px) {
	.tt-see-all-card {
		width: 220px;
	}
}
.tt-see-all-card:hover {
	background: #e5e5e5;
	border-color: #a1a1aa;
}
.tt-see-all-card:active {
	transform: scale(0.98);
}
.tt-see-all-card-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #09090b;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	font-size: 20px;
}
.tt-see-all-card-text {
	font-size: 14px;
	font-weight: 600;
	color: #09090b;
	margin-bottom: 4px;
}
.tt-see-all-card-count {
	font-size: 12px;
	color: #71717a;
}

/* ──────── SECTION VIEW (In-place content replacement) ──────── */
/* Replaces #tt-event-sections content, NOT an overlay */
.tt-section-view {
	opacity: 1;
	transform: translateX(0);
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tt-section-view--entering {
	opacity: 0;
	transform: translateX(20px);
}

/* Section view header - matches Lovable's SectionEvents exactly */
/* Lovable: sticky top-0 z-10 bg-background/95 backdrop-blur-sm border-b border-border */
.tt-section-view-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 15px;
	margin: 0;
	border-bottom: 1px solid var(--tt-border, #e5e5e5);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
/* Back button — Lovable: w-10 h-10 rounded-full flex items-center justify-center hover:bg-muted */
.tt-section-view-back {
	all: unset;
	box-sizing: border-box;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px;
	min-height: 40px;
	border: none !important;
	background: transparent !important;
	cursor: pointer;
	color: var(--tt-foreground, #171717);
	border-radius: 50% !important;
	padding: 0 !important;
	margin: 0 !important;
	flex-shrink: 0;
	transition: background 0.15s ease;
}
.tt-section-view-back:hover { background: var(--tt-muted, #f5f5f5) !important; }
/* Back icon SVG — Lovable ChevronLeft w-6 h-6 = 24×24px */
.tt-section-view-back svg {
	width: 24px !important;
	height: 24px !important;
	display: block;
	flex-shrink: 0;
}
.tt-section-view-header-info {
	flex: 1;
	min-width: 0;
}
/* Title: text-lg font-semibold (Lovable) */
.tt-section-view-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
	margin: 0;
	line-height: 1.3;
}
/* Subtitle: text-xs text-muted-foreground (Lovable) */
.tt-section-view-subtitle {
	font-size: 12px;
	color: var(--tt-muted-foreground, #666666);
	margin: 2px 0 0;
}

/* Section view event list - matches Lovable: p-[15px] space-y-3 */
.tt-section-view-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 15px;
	padding-bottom: 24px; /* Standard bottom padding - footer handles safe-area */
}

.tt-daypart-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* ──────── LIST CARD (Lovable EventListCard style) ──────── */
/* Matches: flex gap-2 sm:gap-3 p-2 sm:p-3 rounded-2xl bg-muted border border-border */
.tt-list-card {
	display: flex;
	gap: 8px;
	padding: 8px;
	border-radius: 16px;
	background: var(--tt-muted, #f5f5f5);
	border: 1px solid var(--tt-border, #e5e5e5);
	text-decoration: none !important;
	color: inherit;
	cursor: pointer;
	transition: transform 0.2s ease-out;
}
@media (min-width: 640px) {
	.tt-list-card {
		gap: 12px;
		padding: 12px;
	}
}
.tt-list-card:hover {
	transform: scale(1.01);
}
.tt-list-card:active {
	transform: scale(0.97);
}

/* Image: w-[100px] h-[100px] sm:w-[130px] sm:h-[130px] rounded-t-xl (Lovable) */
.tt-list-card-img-wrap {
	position: relative;
	flex-shrink: 0;
	width: 100px !important;
	height: 100px !important;
	border-radius: 12px;
	overflow: hidden;
	background: #e5e5e5;
}
@media (min-width: 640px) {
	.tt-list-card-img-wrap {
		width: 130px !important;
		height: 130px !important;
	}
}
.tt-list-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Heart button on image: absolute top-1.5 right-1.5 w-6 h-6 (mobile) */
.tt-list-card-heart {
	all: unset;
	box-sizing: border-box;
	position: absolute !important;
	top: 6px;
	right: 6px;
	width: 30px !important;
	height: 30px !important;
	min-width: 30px;
	min-height: 30px;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.45) !important;
	border: none !important;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	z-index: 12 !important;
	transition: transform 0.15s ease;
	backdrop-filter: blur(4px);
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	border: none !important;
}
@media (min-width: 640px) {
	.tt-list-card-heart {
		top: 8px;
		right: 8px;
		width: 32px !important;
		height: 32px !important;
		min-width: 32px;
		min-height: 32px;
	}
}
.tt-list-card-heart:active {
	transform: scale(0.9);
}
.tt-list-card-heart svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	opacity: 1 !important;
	visibility: visible !important;
	flex-shrink: 0;
	fill: none !important;
	stroke: #ffffff !important;
}
@media (min-width: 640px) {
	.tt-list-card-heart svg {
		width: 16px !important;
		height: 16px !important;
	}
}
.tt-list-card-heart--active {
	color: #ffffff !important;
}
.tt-list-card-heart.tt-list-card-heart--active svg {
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

/* Content section */
.tt-list-card-content {
	flex: 1;
	min-width: 0;
	padding: 2px 0;
	display: flex;
	flex-direction: column;
	line-height: 1.06rem;
}
@media (min-width: 640px) {
	.tt-list-card-content {
		padding: 4px 0;
	}
}

/* Badges row */
.tt-list-card-badges {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
	margin-top: auto;
	margin-bottom: 0;
	padding-top: 4px;
}
@media (min-width: 640px) {
	.tt-list-card-badges {
		gap: 6px;
		margin-bottom: 4px;
	}
}
.tt-list-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 8px;
	height: 22px;
	font-size: 12px;
	font-weight: 500;
	border-radius: 9999px;
	border: none;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}
.tt-list-badge--price {
	background: #fff;
	color: #09090b;
	border: 1px solid #e5e5e5;
	text-transform: none;
	letter-spacing: 0;
}

/* Title: font-semibold text-xs sm:text-sm line-clamp-2 */
.tt-list-card-title {
	font-size: 14px;
	font-weight: 600;
	color: #09090b;
	margin: 0 0 4px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (min-width: 640px) {
	.tt-list-card-title {
		margin-bottom: 6px;
		font-size: 16px;
	}
}

/* Creator row — Lovable: User icon + channel name, hidden on mobile, visible sm+ */
.tt-list-card-creator {
	font-size: 12px;
	display: none;
}
@media (min-width: 640px) {
	.tt-list-card-creator {
		display: flex;
		align-items: center;
		gap: 4px;
		font-size: 14px;
		color: #737373;
		margin-bottom: 4px;
	}
}
.tt-creator-icon {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	color: #666666;
}
.tt-creator-name {
	font-weight: 500;
	color: #09090b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Meta rows with icons */
.tt-list-card-meta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #666666;
	margin-bottom: 2px;
	line-height: 1.3;
}
.tt-list-card-meta--date {
	font-weight: 500;
}
@media (min-width: 640px) {
	.tt-list-card-meta {
		gap: 6px;
		margin-bottom: 4px;
		font-size: 14px;
	}
}
.tt-list-card-meta i {
	font-size: 10px;
	flex-shrink: 0;
	width: 10px;
	text-align: center;
}
@media (min-width: 640px) {
	.tt-list-card-meta i {
		font-size: 12px;
		width: 12px;
	}
}
.tt-list-card-meta span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Chevron arrow — Lovable: ChevronRight w-5 h-5 text-muted-foreground self-center flex-shrink-0 */
.tt-list-card-arrow {
	flex-shrink: 0;
	align-self: center;
	color: #a1a1aa;
	display: flex;
	align-items: center;
}
.tt-list-card-arrow svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
}

/* Fade-in animation for cards (Lovable staggered) */
@keyframes tt-fade-in {
	0% { opacity: 0; transform: translateY(8px); }
	100% { opacity: 1; transform: translateY(0); }
}
.tt-section-view-list .tt-list-card {
	animation: tt-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	opacity: 0;
}

/* Legacy overlay styles (hidden - no longer used) */
.tt-seeall-overlay,
.tt-seeall-page { display: none !important; }

/* Hide old See All card (no longer used) */
.tt-see-all-card {
	display: none !important;
}

/* Legacy sidebar classes (keep for backwards compat) */
.tt-sidebar-overlay { display: none !important; }
.tt-sidebar { display: none !important; }

/* ──────── VERTICAL LIST CARDS (JSON-driven homepage) ──────── */
.tt-v-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: transparent;
	border-radius: 0;
	border: none;
	overflow: visible;
}
/* Use more specific selector to avoid conflicts with old PHP template styles */
.tt-v-list > .tt-v-card,
.tt-v-list > a.tt-v-card {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: #f5f5f5;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	width: auto;
	max-width: none;
}
@media (min-width: 640px) {
	.tt-v-list > .tt-v-card,
	.tt-v-list > a.tt-v-card {
		gap: 12px;
		padding: 12px;
	}
}
.tt-v-list > .tt-v-card:last-child,
.tt-v-list > a.tt-v-card:last-child { border-bottom: 1px solid #e5e5e5; }
.tt-v-list > .tt-v-card:hover,
.tt-v-list > a.tt-v-card:hover {
	transform: scale(1.01);
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.tt-v-list > .tt-v-card:active,
.tt-v-list > a.tt-v-card:active {
	transform: scale(0.98);
}

.tt-v-list .tt-v-card-img-wrap {
	position: relative;
	flex-shrink: 0;
	width: 74px;
	height: 74px;
	border-radius: 12px;
	overflow: hidden;
	background: #e5e5e5;
}
/* Overlay for vertical card images (like Hero card) */
.tt-v-list .tt-v-card-img-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
}
@media (min-width: 640px) {
	.tt-v-list .tt-v-card-img-wrap {
		width: 74px;
		height: 74px;
	}
}
.tt-v-list .tt-v-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tt-v-list .tt-v-card-info {
	flex: 1;
	min-width: 0;
}

/* Time row: emoji + time + label badge */
.tt-v-list .tt-v-card-time-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.tt-v-list .tt-v-card-emoji { font-size: 14px; line-height: 1; }
.tt-v-list .tt-v-card-time {
	font-size: 12px;
	color: #71717a;
	font-weight: 400;
}

@media (min-width: 640px) {
	.tt-v-list .tt-v-card-time {
		font-size: 13px;
	}
}

/* Inline label badge (in time row) */
.tt-label-inline {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 500;
	border-radius: 9999px;
	border: none;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}

.tt-v-list .tt-v-card-title {
	font-size: 14px;
	font-weight: 600;
	color: #09090b;
	margin: 0 0 2px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 640px) {
	.tt-v-list .tt-v-card-title {
		font-size: 15px;
	}
}

.tt-v-list .tt-v-card-venue {
	font-size: 12px;
	color: #71717a;
	font-style: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 640px) {
	.tt-v-list .tt-v-card-venue {
		font-size: 13px;
	}
}

.tt-v-list .tt-v-card-chevron {
	flex-shrink: 0;
	color: #a1a1aa;
	margin-left: auto;
	align-self: center;
}

/* --- LIVE badge (no border on image per Lovable design) --- */
.tt-live-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	background: #f44336;
	border-radius: 50px;
	letter-spacing: 0.5px;
}

/* --- Status badge (my-events) --- */
.tt-status-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: 600;
	color: #fff;
	border-radius: 4px;
	white-space: nowrap;
}

.tt-v-hidden { display: none !important; }

/* ──────── AREA NAME (Desktop only) ──────── */
/* Area name: shows location area on desktop, hidden on mobile */
.tt-card-area {
	font-size: 10px;
	color: var(--tt-muted-foreground, #666666);
	font-style: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-top: 2px;
}
@media (min-width: 640px) {
	.tt-card-area {
		font-size: 11px;
	}
}
/* Hide area name on mobile (< 640px) */
@media (max-width: 639px) {
	.tt-card-area {
		display: none !important;
	}
}
/* Never show area name in Top Picks / Highlight cards */
.tt-h-card--highlight .tt-card-area {
	display: none !important;
}
/* Up Next section: show area name on desktop, hide on mobile (follows default .tt-card-area rules) */

/* ──────── LOAD MORE BUTTON ──────── */
/* .tt-load-more-btn moved to todo-today-assets/css/tt-ui.css — it is shared by
   seven pages, so it belongs with the cross-page primitives rather than here.
   .tt-load-more-wrap was deleted with it: nothing in any template or script
   ever used that class, and it carried `display: none !important`, so it would
   have silently hidden any wrapper that later adopted it. */

/* Hidden cards (revealed by Load More) */
.tt-card-hidden {
	display: none !important;
}

/* ──────── LOADING STATES ──────── */
.tt-loading-fade {
	opacity: 0.5;
	transition: opacity 0.2s ease;
	pointer-events: none;
}
.tt-no-events {
	text-align: center;
	padding: 60px 20px;
	font-size: 15px;
	color: #71717a;
	background: #f5f5f5;
	border-radius: 16px;
	margin: 0 15px;
}

/* ──────── EXPERIENCE CARD ──────── */
.tt-exp-card,
.tt-exp-card:hover,
.tt-exp-card:visited,
.tt-exp-card:focus {
	text-decoration: none !important;
	color: inherit !important;
}

.tt-exp-card {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 220px;
	border-radius: 14px;
	overflow: hidden;
	background: #f7f7f7;
	border: 1px solid #ebebeb;
	cursor: pointer;
	position: relative;
	scroll-snap-align: start;
	transform: scale(1);
	transition: transform 0.2s ease-out;
}

@media (max-width: 640px) {
	.tt-exp-card { width: 180px; }
	.tt-exp-card-price-pill { font-size: 11px; }
	.tt-exp-card-title { font-size: 13px !important; }
	.tt-exp-card-meta { font-size: 12px !important; }
	.tt-retreat-card { width: 220px; min-height: 120px; }
}

@media (hover: hover) {
	.tt-exp-card:hover { transform: scale(1.01) !important; }
	.tt-exp-card:active { transform: scale(0.97) !important; }
}

.tt-exp-card:active { transform: scale(0.97); }

.tt-exp-card-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	flex-shrink: 0;
}

.tt-exp-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tt-exp-card-img--placeholder {
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: #e8e8e8;
	color: #bbb;
	width: 100%;
	height: 100%;
}

.tt-exp-card-img--placeholder svg {
	width: 32px;
	height: 32px;
}

.tt-exp-card-info {
	padding: 12px 12px 13px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.tt-exp-card-info .tt-exp-card-meta:first-of-type {
	margin-top: 4px !important;
}

.tt-exp-card-title {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #171717 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-family: inherit !important;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.tt-exp-card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px !important;
	color: #666666 !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0;
	overflow: hidden;
}

.tt-exp-card-meta-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.tt-exp-card-meta svg {
	flex-shrink: 0;
	color: #666666;
}

.tt-exp-card-label {
	position: absolute;
	top: 8px;
	left: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}

.tt-exp-card-label svg {
	flex-shrink: 0;
}

.tt-exp-card-price-pill {
	position: absolute;
	left: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	max-width: calc(100% - 20px);
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.58);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}

/* ──────── RESPONSIVE ──────── */

@media (max-width: 1024px) {
	.tt-section-title {
		font-size: 22px;
	}
}

/* Mobile: < 640px */
@media (max-width: 639px) {
	.tt-h-card { width: 180px; }
	.tt-h-card--highlight { width: 240px; }
	.tt-h-card-info { padding: 10px; }
	.tt-h-card-title { font-size: 14px; }
	.tt-v-list .tt-v-card-img-wrap { width: 74px; height: 74px; }
	.tt-highlight-title { font-size: 16px; }
	.tt-highlight-overlay-text { padding: 12px; }
	.tt-section { margin-bottom: 24px; }
	.tt-section-header { margin-bottom: 12px; }
	.tt-section-emoji { font-size: 18px; }
	.tt-section-star { font-size: 18px; }
	.tt-section-time-range { font-size: 13px; }
}

/* Small mobile: < 400px */
@media (max-width: 399px) {
	.tt-h-card { width: 160px; }
	.tt-h-card--highlight { width: 220px; }
}

/* Hide old filter bar */
.tt-tabs-filter-bar ~ .events_bottom_header { display: none; }


/* .event_sidebar moved to todo-today-assets/css/sidebar.css */


/* ============================================================
   SINGLE EVENT PAGE — LOVABLE DESIGN
   ============================================================ */

/* Shared icon sizing for inline SVGs */
.tt-icon {
	width: 18px;
	height: 18px;
	display: block;
}

.tt-icon--xs {
	width: 14px;
	height: 14px;
}

.tt-single-hero__icon .tt-icon {
	width: 20px;
	height: 20px;
}

.tt-single-meta-icon .tt-icon {
	width: 20px;
	height: 20px;
}

.tt-single-badge .tt-icon {
	width: 12px;
	height: 12px;
}

/* ──────── SINGLE EVENT CONTENT CONTAINER ──────── */
/* Layout (padding, gutter, max-width, tablet cap) comes from the shared
   .tt-page-shell__main — the container adds nothing of its own now. */
.tt-single-event-container {
	box-sizing: border-box;
}

.tt-single-page {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Mobile: clear the fixed CTA pill so the last content isn't hidden. */
@media (max-width: 1023px) {
	.tt-single-page {
		padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	}
}

/* Opacity-only fade-in — NO transform. A `transform` (even translateY(0))
   makes this a containing block for position:fixed descendants, which would
   trap the mobile sticky CTA pill inside the column instead of the viewport. */
.tt-single-content {
	padding: 0;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.tt-single-content--visible {
	opacity: 1;
}

/* ── Sticky price / CTA bar ────────────────────────────────────────────
 * Desktop (>=1024): a bordered card that is `position: sticky; bottom`
 * inside the event column — it floats near the viewport bottom while
 * scrolling and, being the last child of .tt-single-page, settles above
 * the footer at the end. Mobile (<1024): a fixed floating pill at the
 * bottom, replacing the (hidden) bottom nav. Text-only right side. */
.tt-single-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
	pointer-events: none; /* the pill inside catches events */
	/* Hidden until the main .tt-single-book CTA scrolls out of view
	   (toggled by .is-visible from initStickyCta). */
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.tt-single-cta.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.tt-single-cta__inner {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 16px;
	/* Match the single-column content cap so the pill aligns with the cards
	   on tablet (was a fixed 448px phone width that looked narrow there). */
	width: 100%;
	max-width: var(--tt-single-col-max, 600px);
	margin: 0 auto;
	padding: 12px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border: 1px solid var(--tt-border, #e5e5e5);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.tt-single-cta__price-wrap {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.tt-single-cta__price {
	font-size: 15px;
	font-weight: 700;
	color: var(--tt-foreground, #171717);
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tt-single-cta__sub {
	font-size: 11px;
	line-height: 1.3;
	color: var(--tt-muted-foreground, #666666);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tt-single-cta__action {
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
}

/* Booking link rendered as a compact button (same style as .tt-single-book). */
.tt-single-cta__btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	background: var(--tt-foreground, #171717);
	color: #fff;
	border: none;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none !important;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tt-single-cta__btn:hover {
	background: #2d2d2d;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tt-single-cta__btn:active {
	transform: scale(0.98);
}

.tt-single-cta__btn .tt-icon {
	width: 16px;
	height: 16px;
}

@media (min-width: 1024px) {
	.tt-single-cta {
		position: sticky;
		left: auto;
		right: auto;
		bottom: 24px;
		z-index: 40;
		padding: 0;
		margin-top: 16px;
		pointer-events: auto;
	}
	.tt-single-cta__inner {
		max-width: none;
		border-radius: 16px;
		background: var(--tt-background, #fff);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
		padding: 16px 20px;
	}
	.tt-single-cta__price { font-size: 16px; }
	.tt-single-cta__sub { font-size: 12px; }
}

.tt-single-digest-mobile {
	margin-top: 20px;
}

@media (min-width: 1025px) {
	.tt-single-digest-mobile {
		display: none;
	}
}

/* ──────── SKELETON LOADER (Lovable Design) ──────── */
.tt-single-skeleton {
	position: relative;
	padding: 0;
	margin: 0 auto;
	transition: opacity 0.2s ease;
}

.tt-single-skeleton--hidden {
	opacity: 0;
	pointer-events: none;
}

.tt-single-skeleton__carousel {
	position: relative;
	margin-bottom: 20px;
	border-radius: 20px;
	overflow: hidden;
}

.tt-single-skeleton__carousel .tt-skeleton-box--image {
	border-radius: 20px;
}

/* Skeleton overlay buttons (back, share, like) */
.tt-single-skeleton__hero-buttons {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	display: flex;
	justify-content: space-between;
	z-index: 2;
}

.tt-single-skeleton__hero-buttons-right {
	display: flex;
	gap: 10px;
}

.tt-skeleton-box {
	background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
	background-size: 200% 100%;
	animation: tt-skeleton-shimmer 1.5s infinite ease-in-out;
	border-radius: 8px;
}

.tt-skeleton-box--circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
}

.tt-skeleton-box--image {
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 20px;
}

.tt-skeleton-box--badge {
	width: 100px;
	height: 26px;
	border-radius: 999px;
}

.tt-skeleton-box--title {
	height: 32px;
	border-radius: 8px;
}

.tt-skeleton-box--text {
	height: 16px;
	border-radius: 6px;
}

.tt-skeleton-box--card {
	width: 100%;
	height: 88px;
	border-radius: 16px;
	aspect-ratio: auto;
}

@keyframes tt-skeleton-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.tt-single-skeleton__content {
	padding: 0;
}

/* Badge skeleton */
.tt-single-skeleton__badge {
	margin-bottom: 12px;
}

/* Title skeleton */
.tt-single-skeleton__title {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 8px;
}

/* Byline skeleton */
.tt-single-skeleton__byline {
	margin-bottom: 24px;
}

/* Meta card skeleton */
.tt-single-skeleton__meta {
	margin: 0 0 20px;
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.tt-single-skeleton__meta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
}

.tt-single-skeleton__meta-row + .tt-single-skeleton__meta-row {
	border-top: 1px solid var(--tt-border, #e5e5e5);
}

.tt-single-skeleton__meta-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	flex-shrink: 0;
}

.tt-single-skeleton__meta-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Book button skeleton */
.tt-single-skeleton__book {
	margin: 8px 0 24px;
}

.tt-skeleton-box--button {
	width: 100%;
	height: 52px;
	border-radius: 14px;
}

/* Description skeleton */
.tt-single-skeleton__desc {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

/* Tags skeleton */
.tt-single-skeleton__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.tt-skeleton-box--tag {
	height: 36px;
	border-radius: 999px;
}

/* Related events skeleton */
.tt-single-skeleton__related {
	margin-top: 32px;
}

.tt-single-skeleton__related-title {
	margin-bottom: 16px;
}

.tt-single-skeleton__related-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Hero icons skeleton (over carousel) */
.tt-single-skeleton__hero-icons {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	z-index: 2;
	pointer-events: none;
}

.tt-single-skeleton__hero-icon--back {
	display: flex;
}

.tt-single-skeleton__hero-icon--actions {
	display: flex;
	gap: 10px;
}

/* Carousel dots skeleton */
.tt-single-skeleton__dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 2;
}

/* Meta card skeleton (with icon rows) */
.tt-single-skeleton__meta-card {
	margin: 0 0 20px;
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.tt-single-skeleton__meta-card .tt-single-skeleton__meta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
}

.tt-single-skeleton__meta-card .tt-single-skeleton__meta-row + .tt-single-skeleton__meta-row {
	border-top: 1px solid var(--tt-border, #e5e5e5);
}

/* Related card skeleton with image */
.tt-single-skeleton__related-card {
	display: flex;
	gap: 12px;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 16px;
}

.tt-skeleton-box--card-image {
	width: 72px;
	height: 72px;
	border-radius: 12px;
	flex-shrink: 0;
}

.tt-single-skeleton__related-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 4px 0;
}

/* ──────── IMAGE CAROUSEL + HERO ACTIONS (Lovable Design) ──────── */
.tt-single-carousel {
	position: relative !important;
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
	background-size: 200% 100%;
}

/* Loading state with shimmer animation */
.tt-single-carousel--loading {
	animation: tt-skeleton-shimmer 1.5s infinite ease-in-out;
}

.tt-single-carousel__track {
	display: flex;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	min-height: 100%;
	border-radius: 20px;
}

.tt-single-carousel__slide {
	flex: 0 0 100%;
	width: 100%;
	aspect-ratio: 16 / 10;
	min-height: 280px;
	position: relative;
	background: #e5e5e5;
}

.tt-single-carousel__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Video slide — fills the same space as an image slide */
.tt-single-carousel__slide--video {
	background: #000;
}
.tt-single-carousel__video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

/* Video play overlay */
.tt-video-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	z-index: 5;
	transition: opacity 0.2s ease;
}
.tt-video-overlay--hidden {
	opacity: 0;
	pointer-events: none;
}
.tt-video-play-btn {
	width: 64px !important;
	height: 64px !important;
	min-width: 64px !important;
	min-height: 64px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.92) !important;
	border: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #171717 !important;
	cursor: pointer !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1 !important;
}
.tt-video-play-btn svg {
	margin-left: 3px; /* optical center for triangle */
	flex-shrink: 0;
}
.tt-video-overlay:hover .tt-video-play-btn {
	transform: scale(1.08) !important;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6) !important;
}

/* Video dot — pill shape to distinguish from image dots */
.tt-single-carousel__dot--video {
	border-radius: 4px !important;
	width: 12px !important;
}

/* Hero icon buttons (back, share, like) - Lovable exact style */
/* Override event-reaction_sp and Flatsome button resets with !important */
.tt-single-hero__icon,
.tt-single-hero__icon.event-reaction_sp {
	position: absolute !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	border-radius: 50% !important;
	border: none !important;
	background: rgba(255, 255, 255, 0.9) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #171717 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	z-index: 10 !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
}

.tt-single-hero__icon .tt-icon {
	width: 20px;
	height: 20px;
}

.tt-single-hero__icon:hover,
.tt-single-hero__icon.event-reaction_sp:hover {
	transform: scale(1.05) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.tt-single-hero__icon:active {
	transform: scale(0.95);
}

/* Back button - Lovable exact match: white circle, top-left inside image */
.tt-single-hero__icon--back {
	position: absolute !important;
	top: 16px !important;
	left: 16px !important;
	background: rgba(255, 255, 255, 0.9) !important;
	color: #171717 !important;
	z-index: 10 !important;
}

.tt-single-hero__icon--back:hover {
	background: rgba(255, 255, 255, 1) !important;
}

/* Share/Like buttons - Lovable exact match: semi-transparent dark circles */
.tt-single-hero__icon--dark {
	background: rgba(0, 0, 0, 0.35) !important;
	color: #ffffff !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.tt-single-hero__icon--dark:hover {
	background: rgba(0, 0, 0, 0.5) !important;
	transform: scale(1.05);
}

.tt-single-reaction-btn .tt-icon {
	stroke: #ffffff !important;
}

/* Liked state - keep white filled heart without red accent */
.tt-single-hero__icon--liked {
	background: rgba(0, 0, 0, 0.35) !important;
	color: #ffffff !important;
}

.tt-single-hero__icon--liked .tt-icon {
	fill: #ffffff;
}

/* Actions group (share + like) - positioned top-right inside image */
.tt-single-hero__actions {
	position: absolute !important;
	top: 16px !important;
	right: 16px !important;
	display: inline-flex;
	gap: 10px;
	z-index: 10;
}

.tt-single-hero__actions .tt-single-hero__icon {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
}

/* Carousel navigation arrows */
.tt-single-carousel__nav {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	background: rgba(0, 0, 0, 0.4) !important;
	border: none !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	z-index: 5 !important;
	color: #ffffff !important;
	backdrop-filter: blur(4px) !important;
	-webkit-backdrop-filter: blur(4px) !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.tt-single-carousel__nav:hover {
	background: rgba(0, 0, 0, 0.6) !important;
	box-shadow: none !important;
}

.tt-single-carousel__nav--prev {
	left: 16px !important;
	right: auto !important;
}

.tt-single-carousel__nav--next {
	right: 16px !important;
	left: auto !important;
}

.tt-single-carousel__nav .tt-icon {
	width: 18px !important;
	height: 18px !important;
	flex-shrink: 0;
}

/* Carousel dots — hidden, counter is used instead */
.tt-single-carousel__dots {
	display: none;
}

.tt-single-carousel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0;
}

.tt-single-carousel__dot--active {
	background: #fff;
	width: 20px;
	border-radius: 999px;
}

/* Carousel count badge */
.tt-single-carousel__count {
	position: absolute;
	bottom: 16px;
	right: 16px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	z-index: 2;
	display: flex;
	justify-content: flex-end;
	width: 40px;
}

/* Hide nav/dots/count when only 1 image */
.tt-single-carousel--single .tt-single-carousel__nav,
.tt-single-carousel--single .tt-single-carousel__dots,
.tt-single-carousel--single .tt-single-carousel__count {
	display: none;
}

/* ──────── FEATURED BADGE (Lovable Design) ──────── */
.tt-single-badge {
	position: absolute;
	bottom: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 25px;
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	width: fit-content;
	z-index: 3;
}

.tt-single-badge .tt-icon {
	width: 12px;
	height: 12px;
}


/* ──────── EVENT HEADER (Title + Byline) - Lovable Design ──────── */
.tt-single-title {
	font-size: 26px;
	font-weight: 700;
	color: var(--tt-foreground, #171717);
	line-height: 1.25;
	margin: 0 0 6px;
	letter-spacing: -0.02em;
}

.tt-single-byline {
	margin: 0 0 20px;
	font-size: 15px;
	color: var(--tt-muted-foreground, #666666);
}

.tt-single-byline__link {
	color: var(--tt-foreground, #171717);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease;
}

.tt-single-byline__link:hover {
	text-decoration: underline;
}

.tt-single-byline__link--channel {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tt-single-byline__link--channel:hover {
	text-decoration: underline;
	opacity: 0.8;
}

@media (min-width: 768px) {
	.tt-single-title {
		font-size: 30px;
	}
	.tt-single-byline {
		font-size: 16px;
	}
}

/* ──────── DESKTOP TYPOGRAPHY SYSTEM (≥ 1025px, Single Event Page) ──────── */
/* Shared tokens — reuse these classes across the app on desktop */
@media (min-width: 1025px) {
	:root {
		--tt-se-title-size: 26px;  /* 1. Main event title */
		--tt-se-body-size: 14px;   /* 2. Standard body text */
		--tt-se-small-size: 13px;  /* 3. Small supporting text */
	}

	/* 1. Main event title */
	.tt-single-title {
		font-size: var(--tt-se-title-size);
	}

	/* 2. Standard body text — byline, meta rows, description, view more */
	.tt-single-byline {
		font-size: var(--tt-se-body-size);
		margin-bottom: 10px;
	}

	.tt-single-meta-row,
	.tt-single-meta-title {
		font-size: var(--tt-se-body-size);
	}

	/* 4. Description paragraphs */
	.tt-single-desc {
		font-size: var(--tt-se-body-size);
		line-height: 1.4;
	}

	.tt-single-desc p {
		margin-bottom: 0.8em;
	}

	/* 3. Small supporting text */
	.tt-single-meta-sub {
		font-size: var(--tt-se-small-size);
	}

	/* 6. Tags / chips */
	.tt-single-tag {
		background: #F9F9F9;
	}
}

/* ──────── META CARD (Lovable Design) ──────── */
.tt-single-meta-card {
	background: #fff;
	border: none;
	border-radius: 16px;
	overflow: visible;
	margin: 0 0 10px;
}

.tt-single-meta-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	font-size: 14px;
	color: var(--tt-muted-foreground, #666666);
	transition: background 0.15s ease;
}


.tt-single-meta-row + .tt-single-meta-row {
	border-top: 1px solid var(--tt-border, #e5e5e5);
}

/* ──────── ADD TO CALENDAR ──────── */
.tt-atc-wrap {
	position: relative;
	flex-shrink: 0;
	margin-left: auto;
}
.tt-atc-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid var(--tt-border, #e5e5e5);
	background: transparent;
	color: var(--tt-foreground, #171717);
	cursor: pointer;
	transition: background 0.15s;
}
.tt-atc-btn:hover {
	background: var(--tt-muted, #f5f5f5);
}
.tt-atc-dropdown {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	min-width: 196px;
	background: #ffffff;
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
	z-index: 200;
	overflow: hidden;
}
.tt-atc-dropdown--open {
	display: block;
}
.tt-atc-option {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 12px 14px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--tt-foreground, #171717) !important;
	text-decoration: none !important;
	cursor: pointer !important;
	width: 100% !important;
	border: none !important;
	background: none !important;
	text-align: left !important;
	transition: background 0.12s !important;
	line-height: 1 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}
.tt-atc-option:hover {
	background: var(--tt-muted, #f5f5f5);
}
.tt-atc-option + .tt-atc-option {
	border-top: 1px solid var(--tt-border, #e5e5e5) !important;
}
.tt-atc-option .tt-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	display: block;
}
.tt-atc-option__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--tt-muted, #f5f5f5);
	flex-shrink: 0;
}
.tt-atc-option__icon .tt-icon {
	width: 16px;
	height: 16px;
}

.tt-single-meta-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: none;
	background: var(--tt-muted, #f5f5f5);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tt-muted-foreground, #666666);
	flex-shrink: 0;
}

.tt-single-meta-icon .tt-icon {
	width: 20px;
	height: 20px;
}

.tt-single-meta-main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.tt-single-meta-title {
	color: var(--tt-foreground, #171717);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
}

.tt-single-meta-sub {
	font-size: 13px;
	color: var(--tt-muted-foreground, #666666);
}

/* Recurring text row — italic muted, primary count */
.tt-single-meta-recurring {
	font-style: italic;
}

.tt-single-recurring-count {
	color: var(--tt-primary, #171717);
	font-weight: 600;
	font-style: normal;
}

/* Map link styling */
.tt-single-meta-sub a,
.tt-single-meta-sub .tt-meta-map-link {
	color: #000 !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
	cursor: pointer !important;
}

/* Reset button defaults for map button */
button.tt-meta-map-link {
	background: none;
	border: none;
	padding: 0;
	font-size: inherit;
	font-family: inherit;
}


/* ──────── BOOK NOW BUTTON (Lovable Design) ──────── */
.tt-single-book {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 24px;
	background: var(--tt-foreground, #171717);
	color: #fff;
	border: none;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	margin: 0 0 20px 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tt-single-book:hover {
	background: #2d2d2d;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tt-single-book:active {
	transform: scale(0.98);
}

.tt-single-book .tt-icon {
	width: 18px;
	height: 18px;
}

/* Disabled state */
.tt-single-book--disabled {
	background: #d1d5db;
	cursor: not-allowed;
	box-shadow: none;
}

.tt-single-book--disabled:hover {
	background: #d1d5db;
	transform: none;
	box-shadow: none;
}

/* ──────── DESCRIPTION (Lovable Design) ──────── */
.tt-single-desc-section {
	margin-top: 0px;
}

.tt-single-desc {
	font-size: 15px;
	line-height: 1.7;
	color: var(--tt-muted-foreground, #666666);
	max-width: 100%;
	overflow: hidden;
	position: relative;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.tt-single-desc__content {
	display: block;
	color: #666666;
}

.tt-single-desc p {
	margin: 0 0 16px 0;
	line-height: 1.4;
	margin-bottom: 0.8em;
}

.tt-single-desc p:last-child {
	margin-bottom: 0;
}

.tt-single-desc a {
	color: var(--tt-foreground, #171717);
	text-decoration: underline;
	font-weight: 500;
}

.tt-single-desc a:hover {
	text-decoration: none;
}

.tt-single-desc ul,
.tt-single-desc ol {
	padding-left: 20px;
	margin: 0 0 16px 0;
}

.tt-single-desc li {
	margin-bottom: 8px;
}

/* ──────── CATEGORY TAGS (Lovable Design) ──────── */
.tt-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.tt-single-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	background: #f9f9f9;
	border: 1px solid var(--tt-border, #e5e5e5);
	color: var(--tt-foreground, #171717);
	transition: all 0.15s ease;
}

.tt-single-tag:hover {
	background: var(--tt-muted, #f5f5f5);
}

/* ──────── CANCELLED / PAST EVENT NOTICE ──────── */
.tt-single-notice {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 14px;
	color: #991b1b;
	font-size: 14px;
	font-weight: 500;
	margin: 16px 0;
}

.tt-single-notice--past {
	background: var(--tt-muted, #f5f5f5);
	border-color: var(--tt-border, #e5e5e5);
	color: var(--tt-muted-foreground, #666666);
}

.tt-single-meta-card--past .tt-single-meta-row--datetime .tt-single-meta-title,
.tt-single-meta-card--cancelled .tt-single-meta-row--datetime .tt-single-meta-title {
	color: var(--tt-muted-foreground, #666666);
	text-decoration: line-through;
}

.tt-single-notice .tt-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* ──────── RELATED EVENTS (You May Also Like) - Lovable Design ──────── */
.tt-single-related {
	margin-top: 32px;
}

.tt-single-related__title {
	font-size: 24px;
	font-weight: 700;
	color: var(--tt-foreground, #171717);
	margin: 0 0 16px 0;
	letter-spacing: -0.02em;
}

@media (max-width: 768px) {
	.tt-single-related__title {
		font-size: 20px;
	}
}

/* "You May Also Like" cover cards — reuse the home .tt-h-card--highlight
   look; this block only sets the shelf + the single-event-specific sizing.
   No edge bleed: the shelf stays within the content gutters so the first
   card aligns with the title above. */
.tt-single-related__list {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.tt-single-related__list::-webkit-scrollbar { display: none; }

/* Mobile + tablet: 202px cards that peek the next one. Desktop (>=1024):
   3-up filling the column. Overrides the shared card's fixed width. */
.tt-single-related__card.tt-h-card--highlight {
	flex: 0 0 auto;
	width: 62%;
	max-width: 202px;
}

.tt-single-related__card .tt-highlight-title { font-size: 14px; line-height: 1.25; }
.tt-single-related__card .tt-highlight-meta  { font-size: 11px; }

@media (min-width: 1024px) {
	.tt-single-related__card.tt-h-card--highlight {
		width: calc((100% - 24px) / 3);
		max-width: none;
	}
}

@media (max-width: 480px) {
	.tt-single-related__card .tt-highlight-title { font-size: 13px; }
	.tt-single-related__card .tt-highlight-meta  { font-size: 10px; }
}


/* ──────── SHARE MODAL (overlay + open state) ──────── */
.tt-share-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
}

.tt-share-modal--open {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ──────── SHARE CLASSIC ──────── */
.tt-share-classic {
	position: relative;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e5e5e5;
	width: calc(100% - 30px);
	max-width: 448px;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
	box-shadow: 0 8px 32px rgba(0,0,0,0.15);
	z-index: 1;
}
/* Header row */
.tt-share-classic__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 16px 0;
}
.tt-share-classic__header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #09090b;
}
.tt-share-classic__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	border: none;
	background: transparent;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: #71717a;
	cursor: pointer;
	transition: background 0.15s;
	margin: 0 !important;
	padding: 0 !important;
}
.tt-share-classic__close:hover { background: #f5f5f5; color: #09090b; }
/* Preview block */
.tt-share-classic__preview {
	margin: 12px 16px;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 13px;
	color: #3f3f46;
	line-height: 1.8;
	word-break: break-word;
}
/* Divider */
.tt-share-classic__divider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 16px 12px;
	color: #a1a1aa;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.tt-share-classic__divider::before,
.tt-share-classic__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e5e5;
}
/* Button grid */
.tt-share-classic__options {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 16px 16px;
}
.tt-share-classic__row {
	display: flex;
	gap: 8px;
}
.tt-share-classic__btn {
	flex: 1;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	height: 46px;
	min-height: 46px;
	white-space: nowrap;
	overflow: hidden;
	border: 1px solid #e5e5e5 !important;
	border-radius: 10px !important;
	background: #fff !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: inherit;
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1 !important;
	padding: 0 12px !important;
	box-shadow: none !important;
	transition: background 0.15s, border-color 0.15s;
	margin: 0 !important;
}
.tt-share-classic__btn:hover {
	background: #f5f5f5 !important;
	border-color: #d4d4d8 !important;
	text-decoration: none !important;
}
.tt-share-classic__btn .dashicons {
	font-size: 18px !important;
	width: 18px !important;
	height: 18px !important;
	line-height: 1 !important;
}
.tt-share-classic__btn i { font-size: 16px !important; }

.tt-share-modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.tt-share-modal__dialog {
	position: relative;
	width: min(480px, 92vw);
	background: #fff;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	z-index: 1;
}

.tt-share-modal__header {
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--tt-foreground, #171717);
}

.tt-share-modal__close {
	all: unset;
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px;
	min-height: 36px;
	border-radius: 50% !important;
	border: none !important;
	background: var(--tt-muted, #f5f5f5) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s ease;
	color: var(--tt-foreground, #171717) !important;
	padding: 0 !important;
	box-sizing: border-box;
	line-height: 1;
}

.tt-share-modal__close:hover {
	background: #e5e5e5 !important;
}

.tt-share-modal__close .tt-icon {
	width: 18px !important;
	height: 18px !important;
	display: block;
}

.tt-share-modal__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Social sharing buttons row */
.tt-share-social {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 0 8px;
}

.tt-share-social__item {
	all: unset;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-family: var(--tt-font-family);
	transition: transform 0.15s ease;
}

.tt-share-social__item:hover {
	transform: translateY(-2px);
}

.tt-share-social__icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tt-muted, #f5f5f5);
	color: var(--tt-foreground, #171717);
	transition: all 0.15s ease;
	border: none;
	padding: 0;
}

.tt-share-social__icon .tt-icon {
	width: 22px !important;
	height: 22px !important;
	display: block;
}

.tt-share-social__label {
	font-size: 11px;
	color: var(--tt-muted-foreground, #666666);
	font-weight: 500;
}

/* Platform-specific colors */
.tt-share-social__icon--secondary {
	background: var(--tt-muted, #f5f5f5);
	color: var(--tt-foreground, #171717);
}

.tt-share-social__icon--secondary:hover {
	background: #e5e5e5;
}

.tt-share-social__icon--facebook {
	background: #1877F2;
	color: #fff;
}

.tt-share-social__icon--facebook:hover {
	background: #1565d8;
}

.tt-share-social__icon--twitter {
	background: #000;
	color: #fff;
}

.tt-share-social__icon--twitter:hover {
	background: #333;
}

.tt-share-social__icon--whatsapp {
	background: #25D366;
	color: #fff;
}

.tt-share-social__icon--whatsapp:hover {
	background: #1fb855;
}

.tt-share-social__icon--instagram {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #fff;
}

.tt-share-social__icon--tiktok {
	background: #000;
	color: #fff;
}

.tt-share-social__icon--tiktok:hover {
	background: #333;
}

/* Copied state */
.tt-share-social__item.is-copied .tt-share-social__icon {
	background: #22c55e;
	color: #fff;
}

.tt-share-social__item.is-copied .tt-share-social__label {
	color: #22c55e;
}

/* Flyer preview carousel */
.tt-share-flyer {
	position: relative;
	margin: 0 -8px;
	padding: 0 8px;
}

.tt-share-flyer__viewport {
	overflow: hidden;
	border-radius: 16px;
}

.tt-share-flyer__track {
	display: flex;
	gap: 16px;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tt-share-flyer__slide {
	flex: 0 0 62%;
}

.tt-share-flyer-card {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 20px;
	padding: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	background: #fff;
	border: 1px solid #d1d5db;
	color: #171717;
	overflow: hidden;
	box-sizing: border-box;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
	clip-path: none !important;
	-webkit-clip-path: none !important;
	mask: none !important;
	isolation: isolate;
}

.tt-share-flyer-card--dark {
	background: #111827;
	border: 1px solid rgba(148, 163, 184, 0.3);
	color: #f9fafb;
}

.tt-share-flyer-card--colorful {
	background: linear-gradient(165deg, #fff1df 0%, #ffe8f5 100%);
	border: 1px solid rgba(255, 255, 255, 0.8);
	color: #1f2937;
}

.tt-share-flyer-card__image {
	position: relative;
	flex: 0 0 58%;
	margin: 0;
	border-radius: 0;
	overflow: hidden;
	clip-path: none !important;
	-webkit-clip-path: none !important;
}

.tt-share-flyer-card__img {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	display: block;
}

.tt-share-flyer-card__image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 24, 39, 0.08) 38%, rgba(17, 24, 39, 0.78) 100%);
}

.tt-share-flyer-card--dark .tt-share-flyer-card__image-overlay {
	background: linear-gradient(180deg, rgba(2, 6, 23, 0.12) 32%, rgba(2, 6, 23, 0.9) 100%);
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__image-overlay {
	background: linear-gradient(180deg, rgba(17, 24, 39, 0.08) 34%, rgba(17, 24, 39, 0.72) 100%);
}

.tt-share-flyer-card__title {
	position: absolute;
	left: 14px;
	right: 88px;
	bottom: 12px;
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.28;
	color: #ffffff;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.tt-share-flyer-card__date {
	position: absolute;
	top: 12px;
	right: 12px;
	text-align: center;
	padding: 8px 9px;
	border-radius: 14px;
	background: #ffffff;
	color: #111827;
	min-width: 54px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
	z-index: 1;
}

.tt-share-flyer-card--dark .tt-share-flyer-card__date {
	background: rgba(15, 23, 42, 0.9);
	color: #f8fafc;
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__date {
	background: rgba(255, 255, 255, 0.94);
}

.tt-share-flyer-card__month {
	font-size: 9px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.05em;
	display: block;
}

.tt-share-flyer-card__day {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
	display: block;
}

.tt-share-flyer-card__time {
	font-size: 9px;
	margin-top: 2px;
	font-weight: 600;
	display: block;
}

.tt-share-flyer-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 12px 12px;
	flex: 1;
	min-height: 0;
	justify-content: flex-start;
}

.tt-share-flyer-card__byline {
	font-size: 11px;
	font-weight: 600;
	color: #4b5563;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tt-share-flyer-card--dark .tt-share-flyer-card__byline {
	color: rgba(226, 232, 240, 0.86);
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__byline {
	color: #4b5563;
}

.tt-share-flyer-card__venue {
	display: flex;
	align-items: flex-start;
	gap: 4px;
	font-size: 11px;
	line-height: 1.3;
	color: #4b5563;
	overflow: hidden;
}

.tt-share-flyer-card__venue span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.tt-share-flyer-card__venue .tt-icon {
	width: 11px;
	height: 11px;
	flex-shrink: 0;
	margin-top: 1px;
}

.tt-share-flyer-card--dark .tt-share-flyer-card__venue {
	color: rgba(226, 232, 240, 0.86);
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__venue {
	color: #4b5563;
}

.tt-share-flyer-card__cta {
	padding: 8px 10px;
	border-radius: 999px;
	text-align: center;
	margin: 6px 0 0;
	background: #111827;
	border: none;
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	letter-spacing: 0.01em;
}

.tt-share-flyer-card__cta strong {
	font-weight: 800;
}

.tt-share-flyer-card--dark .tt-share-flyer-card__cta {
	background: #f9fafb;
	border: none;
	color: #0f172a;
}

.tt-share-flyer-card--colorful .tt-share-flyer-card__cta {
	background: #1f2937;
	border: none;
	color: #ffffff;
}

.tt-share-flyer-card__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin-top: 6px;
}

.tt-share-flyer-card__logo {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.tt-share-flyer-card__brand {
	font-size: 11px;
	font-weight: 600;
	opacity: 0.75;
}

/* Flyer navigation arrows (hidden on mobile) */
.tt-share-flyer__nav {
	all: unset;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px !important;
	height: 32px !important;
	min-width: 32px;
	min-height: 32px;
	border-radius: 50% !important;
	border: 1px solid var(--tt-border, #e5e5e5) !important;
	background: #fff !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
	transition: all 0.15s ease;
	padding: 0 !important;
	box-sizing: border-box;
	color: var(--tt-foreground, #171717) !important;
	line-height: 1;
}

.tt-share-flyer__nav:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.tt-share-flyer__nav .tt-icon {
	width: 16px !important;
	height: 16px !important;
	display: block;
}

.tt-share-flyer__nav--prev {
	left: -4px;
}

.tt-share-flyer__nav--next {
	right: -4px;
}

.tt-share-flyer__nav:disabled {
	opacity: 0.3;
	cursor: default;
}

/* Flyer dots */
.tt-share-flyer__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
	padding: 0;
}

.tt-share-flyer__dot {
	all: unset;
	width: 8px !important;
	height: 8px !important;
	min-width: 8px;
	min-height: 8px;
	border-radius: 50% !important;
	background: rgba(115, 115, 115, 0.3) !important;
	border: none !important;
	cursor: pointer;
	padding: 0 !important;
	transition: all 0.15s ease;
	box-sizing: border-box;
	display: block;
	flex-shrink: 0;
}

.tt-share-flyer__dot--active {
	background: var(--tt-foreground, #171717) !important;
}

/* Download flyer button */
.tt-share-download {
	all: unset;
	width: 100%;
	padding: 14px 20px;
	border-radius: 14px;
	background: var(--tt-foreground, #171717);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	cursor: pointer;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

.tt-share-download:hover {
	background: #2d2d2d;
}

.tt-share-download .tt-icon {
	width: 18px !important;
	height: 18px !important;
	display: block;
}

.tt-share-download.is-loading {
	opacity: 0.7;
	cursor: progress;
}

body.tt-share-modal-open {
	overflow: hidden;
}

/* ──────── SHARE OVERLAY — base styles (ported from channel share) ──────── */

@keyframes ttShareFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes ttShareSlideIn {
	from { opacity: 0; transform: translateY(28px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0)     scale(1); }
}

.tt-share-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}
.tt-share-overlay.tt-share-open {
	display: flex;
	animation: ttShareFadeIn 0.22s ease both;
}
body.tt-share-active { overflow: hidden; }

.tt-share-wrap {
	background: #fff;
	border-radius: 20px;
	width: 100%;
	max-width: 500px;
	max-height: 90vh;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: ttShareSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tt-share-header {
	display: flex;
	align-items: center;
	padding: 20px 52px 16px 20px;
	border-bottom: 1px solid #f0f0f0;
	flex-shrink: 0;
}
.tt-share-title {
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #212121 !important;
	margin: 0 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

.tt-share-close {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	width: 30px !important;
	height: 30px !important;
	min-height: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: #f0f0f0 !important;
	border: none !important;
	cursor: pointer !important;
	padding: 0 !important;
	color: #616161 !important;
	transition: background 0.15s !important;
	line-height: 1 !important;
	margin: 0 !important;
}
.tt-share-close:hover { background: #e0e0e0 !important; }
.tt-share-close svg {
	stroke: #616161 !important;
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	flex-shrink: 0;
}

.tt-share-body {
	padding: 20px 20px 24px;
	overflow-y: auto;
	overflow-x: hidden;
	flex: 1;
	scrollbar-width: none;
}
.tt-share-body::-webkit-scrollbar { display: none; }

.tt-share-icons-row {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: nowrap;
	margin-bottom: 20px;
}
.tt-share-btn {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
}
.tt-share-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: opacity 0.15s;
	flex-shrink: 0;
}
.tt-share-btn:hover .tt-share-icon { opacity: 0.85; }
.tt-share-icon svg {
	width: 20px !important;
	height: 20px !important;
	flex-shrink: 0;
}
.tt-share-icon--copy      { background: #e8e8e8; color: #333; }
.tt-share-icon--facebook  { background: #1877F2; }
.tt-share-icon--x         { background: #000; }
.tt-share-icon--whatsapp  { background: #25D366; }
.tt-share-icon--instagram { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.tt-share-icon--tiktok    { background: #010101; }
.tt-share-label {
	font-size: 10px;
	color: #666;
	white-space: nowrap;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.tt-share-flyer-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.tt-flyer-download-btn {
	display: flex;
	align-items: center;
	line-height: inherit;
	margin: 0;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
	box-sizing: border-box;
	text-transform: none !important;
	letter-spacing: normal !important;
}
.tt-flyer-download-btn svg {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0;
}
.tt-flyer-download-btn:hover:not(:disabled) { background: #2a2a2a; }
.tt-flyer-download-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

/* Copy-link icon copied state */
.tt-share-icon--copy.tt-share-icon--copied {
	background: #22c55e !important;
	color: #fff !important;
}

/* ──────── EVENT SHARE MODAL — Flyer/Text tabs (Lovable Design) ──────── */

/* Tab toggle bar */
.tt-share-tabs {
	display: flex;
	background: #f5f5f5;
	border-radius: 12px;
	padding: 4px;
	gap: 4px;
	margin-bottom: 16px;
}
.tt-share-tab {
	all: unset;
	flex: 1;
	text-align: center;
	padding: 8px 0;
	font-size: 14px;
	font-weight: 500;
	border-radius: 9px;
	cursor: pointer;
	color: #737373;
	transition: all 0.15s ease;
	box-sizing: border-box;
	line-height: 1.4;
}
.tt-share-tab--active {
	background: #fff;
	color: #171717;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Tab panels */
.tt-share-tab-panel {
	display: none;
	flex-direction: column;
	gap: 16px;
}
.tt-share-tab-panel--active {
	display: flex;
}

/* Event flyer card — full-bleed 4:5 */
.tt-event-flyer {
	position: relative;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	overflow: hidden;
	background: transparent;
}
@supports not (aspect-ratio: 4 / 5) {
	.tt-event-flyer::before {
		content: '';
		display: block;
		padding-top: 125%;
	}
	.tt-event-flyer > * { position: absolute; }
}
.tt-event-flyer__img {
	position: absolute;
	inset: -2px;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.tt-event-flyer__gradient {
	position: absolute;
	inset: -2px;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.52) 38%, transparent 62%);
	pointer-events: none;
}

/* Branding badge — top right */
/* Branding badge — matches channel share .tt-flyer-brand exactly */
.tt-event-flyer .tt-flyer-brand {
	position: absolute;
	top: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	background: rgba(0, 0, 0, 0.45);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-radius: 999px;
	padding: 6px 12px 6px 6px;
}
.tt-event-flyer .tt-flyer-brand img {
	height: 22px;
	width: auto;
	object-fit: contain;
	display: block;
}

/* Date badge — top left */
.tt-event-flyer__date {
	position: absolute;
	top: 16px;
	left: 16px;
	text-align: center;
	padding: 8px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.95);
	color: #171717;
}
.tt-event-flyer__month {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 3px;
}
.tt-event-flyer__day {
	display: block;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

/* Bottom content */
.tt-event-flyer__bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	color: #fff !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.tt-event-flyer__title {
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	margin: 0 !important;
	color: #fff !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
}
.tt-event-flyer__time,
.tt-event-flyer__venue {
	font-size: 14px !important;
	font-weight: 500 !important;
	color: rgba(255, 255, 255, 0.85) !important;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tt-event-flyer__by {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: rgba(255, 255, 255, 0.6) !important;
	margin: 0 !important;
}

/* Text preview box */
.tt-share-text-preview {
	background: rgba(0, 0, 0, 0.04);
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	padding: 16px;
	white-space: pre-wrap;
	font-size: 14px;
	line-height: 1.65;
	font-family: inherit;
	color: #171717;
	margin: 0;
	word-break: break-word;
}

/* ──────── MOBILE ADJUSTMENTS (Lovable Design) ──────── */
@media (max-width: 480px) {
	.tt-share-icons-row { gap: 8px; }
	.tt-share-icon { width: 40px; height: 40px; }
}

@media (max-width: 1023px) {
	/* Sidebar hide + single-column layout are the shell's job now
	   (.tt-page-shell). Only single-event visual tweaks stay here. */
	.tt-single-carousel {
		border-radius: 16px;
	}

	.tt-single-carousel__slide {
		min-height: 220px;
	}
}

@media (max-width: 768px) {
	/* Share modal - bottom sheet style on mobile */
	.tt-share-modal--open {
		padding-top: 0;
		align-items: center;
	}

	.tt-share-modal__dialog {
		width: 100%;
		max-width: 100%;
		border-radius: 20px 20px 0 0;
		max-height: 85vh;
		padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
	}

	.tt-share-flyer__slide {
		flex: 0 0 78%;
	}

	.tt-share-flyer__nav {
		display: none;
	}

	/* (removed: old .tt-single-related__item/thumb list-row rules — related
	   events are cover cards in a scroll shelf now.) */

	/* Title adjustments */
	.tt-single-title {
		font-size: 24px;
	}

	/* Meta card adjustments */
	.tt-single-meta-row {
		padding: 12px 0;
		gap: 12px;
	}

	.tt-single-meta-icon {
		width: 40px;
		height: 40px;
	}

	.tt-single-meta-title {
		font-size: 14px;
	}

	/* Book button */
	.tt-single-book {
		padding: 14px 20px;
		font-size: 15px;
	}
}

/* Section view open — collapse sidebar gap so content is full-width.
   .tt-section-view only exists on the home/channel page (rendered by
   tt-home-app.js), so this only ever needs to target .tt-listing-shell. */
.tt-listing-shell:has(.tt-section-view) {
	gap: 0 !important;
}

/* Section view open — remove top padding from listing data.
   Previously two selectors here also tried to cover single-events.php /
   place-page.php, but neither of those pages ever renders .tt-section-view —
   they were dead, unreachable combinations. Removed. */
.tt-listing-shell:has(.tt-section-view) .tt-listing-feed {
	padding-top: 0 !important;
}

@media (max-width: 480px) {
	/* Square image ratio on small screens (Lovable: aspect-square) */
	.tt-single-carousel__slide {
		aspect-ratio: 1 / 1;
		min-height: unset;
	}

	.tt-single-hero__icon {
		width: 36px;
		height: 36px;
	}

	.tt-single-hero__icon .tt-icon {
		width: 18px;
		height: 18px;
	}

	.tt-single-hero__icon--back {
		top: 12px !important;
		left: 12px !important;
	}

	.tt-single-hero__actions {
		top: 12px !important;
		right: 12px !important;
	}

	.tt-single-carousel__nav {
		width: 32px;
		height: 32px;
	}

	.tt-share-flyer__slide {
		flex: 0 0 88%;
	}
}

/* ──────── Venue row — place name link ──────── */
.tt-venue-name-link {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	text-decoration: none;
	color: inherit;
	font-weight: 600;
}

.tt-venue-name-link:hover {
	text-decoration: underline;
}

.tt-venue-name-link .tt-icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* External map link icon */
.tt-single-meta-ext-link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tt-muted-foreground, #666666);
	flex-shrink: 0;
	margin-left: auto;
	text-decoration: none;
}

.tt-single-meta-ext-link:hover {
	color: var(--tt-foreground, #171717);
}

.tt-single-meta-ext-link .tt-icon {
	width: 18px;
	height: 18px;
}

/* ──────── About Your Host section ──────── */
.tt-single-host-section {
	padding: 20px 0 4px;
}

.tt-single-host-section__title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--tt-foreground, #171717) !important;
	margin: 0 0 12px !important;
}

.tt-single-host-card {
	background: var(--tt-muted, #f5f5f5);
	border-radius: 16px;
	overflow: hidden;
}

.tt-host-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s;
}

.tt-host-card-header:hover {
	background: transparent;
}

.tt-host-card-header .tt-icon {
	width: 16px;
	height: 16px;
	color: var(--tt-muted-foreground, #666666);
	margin-left: auto;
	flex-shrink: 0;
}

.tt-host-avatar-wrap {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	position: relative;
}

.tt-host-avatar-wrap .tt-host-avatar,
.tt-host-avatar-wrap .tt-initial-avatar {
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	border-radius: 50% !important;
	object-fit: cover;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #fff !important;
	line-height: 1 !important;
	flex-shrink: 0 !important;
}

.tt-host-avatar--initials {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tt-foreground, #171717);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
}

.tt-host-card-info {
	flex: 1;
	min-width: 0;
}

.tt-host-card-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--tt-foreground, #171717);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tt-host-card-followers {
	font-size: 13px;
	color: var(--tt-muted-foreground, #666666);
	margin-top: 1px;
}

.tt-host-card-bio {
	font-size: 13px;
	color: var(--tt-muted-foreground, #666666);
	padding: 0 16px 14px;
	line-height: 1.5;
}

.tt-host-card-actions {
	display: flex;
	gap: 10px;
	padding: 0 16px 16px;
}

.tt-host-btn,
a.tt-host-btn,
button.tt-host-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	height: 40px !important;
	border-radius: 12px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	text-decoration: none !important;
	border: 1px solid #e5e5e5 !important;
	background: #fff !important;
	color: #171717 !important;
	transition: background 0.15s, border-color 0.15s !important;
	box-shadow: none !important;
	padding: 0 12px !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.tt-host-btn:hover,
a.tt-host-btn:hover,
button.tt-host-btn:hover {
	background: #f5f5f5 !important;
	color: #171717 !important;
	text-decoration: none !important;
}

button.tt-host-btn--follow,
a.tt-host-btn--edit {
	flex: 1 !important;
}

a.tt-host-btn--events {
	flex: 1 !important;
}

.tt-host-btn .tt-icon {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0 !important;
}

button.tt-host-btn--following,
button.tt-host-btn--following:hover {
	background: #171717 !important;
	color: #fff !important;
	border-color: #171717 !important;
}

/* Booking Advised — show full text on desktop, short on mobile */
.tt-ba-short { display: none; }
@media (max-width: 639px) {
	.tt-ba-full { display: none; }
	.tt-ba-short { display: inline; }
}

@media (max-width: 639px) { .tt-list-badge { font-size: 11px; } }


/* Recurring badge — price-style colors, shown inline in date/time row */
.tt-list-badge--recurring {
	background: #fff;
	color: #09090b;
	border: 1px solid #e5e5e5;
	text-transform: none;
	letter-spacing: 0;
	position: relative;
	cursor: default;
	gap: 4px;
	vertical-align: middle;
	overflow: visible !important;
}
.tt-list-badge--recurring .tt-recur-icon {
	flex-shrink: 0;
}
/* Tooltip arrow (points up toward badge) */
.tt-list-badge--recurring::before {
	content: '';
	position: absolute;
	top: calc(100% + 3px);
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #171717;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 11;
}
/* Tooltip box (below badge) */
.tt-list-badge--recurring::after {
	content: attr(data-tooltip);
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: #171717;
	color: #fff;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 400;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 10;
	text-transform: none;
	letter-spacing: 0;
}
.tt-list-badge--recurring:hover::before,
.tt-list-badge--recurring:hover::after {
	opacity: 1;
}
/* Recurring badge: desktop = badges row, mobile = date row icon-only */
.tt-recurring--lg { display: none; }
.tt-recurring--sm { background: none; border: none; padding: 0; }
.tt-recurring--sm .tt-recur-label { display: none; }
@media (min-width: 640px) {
	.tt-recurring--lg { display: inline-flex; }
	.tt-recurring--sm { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   DAY BAR + DAY DROPDOWN
   Replaces the old Today/Tomorrow tabs. Rendered by tt-home-app.js from the
   API's days[] window.

   Sticks under whatever chrome is above it:
     < 1024px : 51px — 2px tucked under the 53px collapsed brand band
     >= 1024px: 60px — the fixed desktop header (92px with the admin bar)
   ══════════════════════════════════════════════════════════════════════ */
/* The JS renders the bar into #tt-tabs-bar (new_event_listing.php), which
   shrink-wraps to the bar's own 58px. A sticky element can only travel inside
   its parent's box, so with a 58px-tall parent it had zero range and scrolled
   straight off — sticky was set correctly but could never take effect.
   `display: contents` removes that box from layout, so .tt-daybar-wrap's
   containing block becomes .tt-listing-feed (the full-height feed column) and
   the bar can travel the whole scroll. Same trick as .event_sidebar in
   home-page.css. */
#tt-tabs-bar {
	display: contents;
}

/* No background on the wrap itself: the day row and the chip bar each carry
   their own solid background. When the wrap held the pinned dark colour it
   bled through as a dark hairline under the white chip row at fractional
   device-pixel ratios (Windows 125% scaling rounds the two boxes
   differently).
   top: 51px (not 53) below 1024px: the bar tucks 2px UNDER the hero band
   (hero z-index 40 beats 30), because "hero height 53px" and "sticky top
   53px" can round to different device pixels mid-scroll, flashing a seam
   between them. 1px of overlap still let a hairline through at fractional
   DPRs (Windows 125%); 2px covers it — confirmed by testing on the actual
   affected setup. */
.tt-daybar-wrap {
	position: sticky;
	top: 51px;
	z-index: 30;
}
@media (max-width: 1023px) {
	/* Tablet: cap the whole sticky cluster (day bar + chip row) at the
	   single-column width, centered — matches the capped feed below it.
	   The dropdown panel is positioned inside the wrap, so it stays
	   aligned for free. No effect on phones. */
	.tt-daybar-wrap {
		max-width: var(--tt-single-col-max, 600px);
		margin-inline: auto;
	}
}
@media (min-width: 1024px) {
	.tt-daybar-wrap { top: 60px; }
	body.admin-bar .tt-daybar-wrap { top: 92px; }
}

/* ── Pinned (stuck) state — bar goes dark ─────────────────────────────
   .is-pinned is toggled by updateDayBarPinned() in tt-home-app.js while the
   bar is actually stuck at its sticky offset. The dark colour lives on the
   day ROW (.tt-daybar), never the wrap — see the wrap comment above. The
   icon overrides need !important + the #tt-app prefix because the base icon
   rules already use !important to survive the BUTTON RESET — an override has
   to match that and win on specificity. */
.tt-daybar-wrap.is-pinned .tt-daybar {
	background: var(--tt-primary, #171717);
	border-bottom-color: transparent;
}
#tt-app .tt-daybar-wrap.is-pinned .tt-daybar__toggle {
	color: #ffffff;
}
.tt-daybar-wrap.is-pinned .tt-daybar__meta {
	color: rgba(255, 255, 255, 0.65);
}
.tt-daybar-wrap.is-pinned .tt-daybar__chev {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}
#tt-app .tt-daybar-wrap.is-pinned .tt-daybar__icon {
	background: rgba(255, 255, 255, 0.16) !important;
	color: #ffffff;
}
#tt-app .tt-daybar-wrap.is-pinned .tt-daybar__icon:hover {
	background: rgba(255, 255, 255, 0.28) !important;
}

.tt-daybar {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 58px;
	/* Self-padded so the bar can sit full-bleed — see BAND GUTTERS in home-page.css. */
	padding: 0 var(--tt-gutter, 15px);
	/* Own background — the sticky wrap is deliberately transparent. */
	background: var(--tt-background, #ffffff);
	transition: background-color .2s ease;
	border-bottom: 1px solid var(--tt-border, #e5e5e5);
}
/* No divider between the bar and the category chip row — they read as one
   cluster; the chip row's own border-bottom closes the block. The bar keeps
   its border only when there are no chips (day with no categories), so the
   cluster still ends with a line either way. */
.tt-daybar-wrap:has(.tt-catbar) .tt-daybar {
	border-bottom: 0;
}

/* NB: the day bar's three interactive elements are <button>s, so they are hit
   by the `#tt-app button { all: unset }` Flatsome reset near the top of this
   file. That reset scores 1,0,1 — a bare `.tt-daybar__toggle` (0,1,0) loses to
   it regardless of source order, and `all: unset` then strips display/gap/
   background. Scoping these rules under #tt-app (1,1,0) wins them back.
   The reset itself is Flatsome-era dead weight now that the parent theme is
   gone; it is queued for the dead-code pass rather than removed here. */
#tt-app .tt-daybar__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
	color: var(--tt-foreground, #09090b);
}
.tt-daybar__day {
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	flex: none;
}
.tt-daybar__meta {
	font-size: 13px;
	line-height: 1;
	color: var(--tt-muted-foreground, #666666);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}
.tt-daybar__chev {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--tt-secondary, #f4f4f5);
	transition: transform .2s ease;
}
.tt-daybar__chev svg { width: 16px; height: 16px; }
.tt-daybar__toggle.is-open .tt-daybar__chev { transform: rotate(180deg); }

/* !important on background/border-radius/width/height: matches every other
   button component in this file (.tt-heart-btn, .tt-load-more-btn, etc.) —
   see the BUTTON RESET block near the top of this file. Those all win against
   the reset via !important, not specificity, which is why they never needed
   an #tt-app prefix fight in the first place. This one previously relied on
   #tt-app .tt-daybar__icon (1,1,0) legitimately outscoring #tt-app button
   (1,0,1) — correct for the base state, but :hover below did NOT carry the
   #tt-app prefix, so its (0,2,0) lost outright to the reset's (1,0,1): ID
   count is compared before class count, so no number of extra classes closes
   that gap. Hardening all of it with !important removes the dependency on
   getting that fight right. */
#tt-app .tt-daybar__icon {
	position: relative;
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	flex: none;
	border: 0;
	background: var(--tt-secondary, #f4f4f5) !important;
	color: var(--tt-foreground, #09090b);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}
#tt-app .tt-daybar__icon:hover { background: #e5e5e5 !important; text-decoration: none; }
.tt-daybar__icon:active { transform: scale(.95); }
.tt-daybar__icon svg { width: 17px; height: 17px; }
#tt-app .tt-daybar__icon.is-active {
	background: var(--tt-primary, #171717) !important;
	color: var(--tt-primary-foreground, #ffffff);
}
.tt-daybar__dot {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ef4444;
}

/* ── Dropdown ─────────────────────────────────────────────────────── */
.tt-daydrop[hidden] { display: none; }
.tt-daydrop__backdrop {
	position: fixed;
	inset: 0;
	z-index: 40;
}
.tt-daydrop__panel {
	position: absolute;
	/* Anchored to the 58px bar itself, NOT calc(100% - 6px): the sticky wrap
	   also contains the category chip bar now, so 100% would open the panel
	   below the chips instead of under the day row. */
	top: 52px;
	left: 12px;
	z-index: 50;
	width: 300px;
	max-width: calc(100vw - 24px);
	max-height: 70vh;
	overflow-y: auto;
	padding: 8px;
	border-radius: 24px;
	background: var(--tt-background, #ffffff);
	border: 1px solid rgba(0, 0, 0, .05);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

/* padding needs !important: the reset a few hundred lines up (search "BUTTON
   RESET") lists BOTH `#tt-app button` (1,0,1) AND `#tt-app button[type=
   "button"]` (1,1,1) — every selector in this file gets checked against the
   HIGHER of those two, not just the simpler one. `#tt-app .tt-daydrop__item`
   is (1,1,0): it beats (1,0,1) (tied a, higher b) but LOSES to (1,1,1) (tied
   a AND b, reset's c=1 > this rule's c=0). Since these rows are all
   `<button type="button">`, that's the one that actually applies — padding
   was silently collapsing to 0, which is why the dropdown rendered as a
   cramped, low-row-height list instead of the intended spacious one. */
#tt-app .tt-daydrop__item {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px 12px 16px !important;
	border: 0;
	border-radius: 999px;
	background: none;
	cursor: pointer;
	text-align: left;
	color: var(--tt-foreground, #09090b);
	transition: background-color .15s ease;
}
/* Same gap as .tt-daybar__icon:hover above — :hover (0,2,0, no ID) loses
   outright to #tt-app button (1,0,1), so the row never actually highlighted
   on hover. #tt-app prefix + !important, matching the fix above. */
#tt-app .tt-daydrop__item:hover { background: var(--tt-secondary, #f4f4f5) !important; }
#tt-app .tt-daydrop__item.is-active {
	background: var(--tt-primary, #171717) !important;
	color: var(--tt-primary-foreground, #ffffff);
}
.tt-daydrop__text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.tt-daydrop__name {
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	flex: none;
}
.tt-daydrop__sub {
	font-size: 13px;
	line-height: 1;
	color: var(--tt-muted-foreground, #666666);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tt-daydrop__item.is-active .tt-daydrop__sub { color: rgba(255, 255, 255, .7); }
.tt-daydrop__count {
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	flex: none;
}
