

/******************
MMR MERGED: /wp-content/themes/flatsome-child/css/tt-footer.css
***************/

/* ============================================================
   Site footer — global, theme-rendered (footer.php).
   Single home for footer styles (previously duplicated across the
   assets-plugin front.css + page-locations.css + theme-base.css and
   misnamed "tt-locations-footer-*"). Enqueued site-wide.
   ============================================================ */

.tt-footer {
	background: #f4f4f5;
	border-top: 1px solid #e4e4e7;
	color: #71717a;
	clear: both;
}

.tt-footer a {
	color: #71717a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tt-footer a:hover,
.tt-footer a:focus {
	color: #0a0a0a;
	text-decoration: none;
}

.tt-footer-desktop {
	display: none;
}

.tt-footer-inner {
	max-width: 1050px; /* match the header (.tt-desktop-header__inner) */
	margin: 0 auto;
	padding: 40px 24px;
}

.tt-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin-bottom: 32px;
}

.tt-footer-heading {
	margin: 0 0 16px;
	color: #0a0a0a;
	font-size: 14px;
	font-weight: 600;
}

.tt-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tt-footer-list li {
	margin-bottom: 8px;
}

.tt-footer-list a {
	font-size: 14px;
}

.tt-footer-bar {
	border-top: 1px solid #e4e4e7;
	padding-top: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.tt-footer-copy {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.tt-footer-sep {
	color: #a1a1aa;
}

.tt-footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
}

.tt-footer-social-icon {
	width: 20px;
	height: 20px;
	display: block;
}

.tt-footer-mobile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 15px;
	color: #666666;
	max-width: 100%;
	box-sizing: border-box;
}

@media (max-width: 1023px) {
	.tt-footer-mobile {
		padding: 32px 16px 112px;
	}
}

.tt-footer-mobile-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: 16px;
	row-gap: 0;
	font-size: 14px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Full-width spacer: forces the links after it onto the next row. */
.tt-footer-mobile-break {
	flex-basis: 100%;
	width: 100%;
	height: 12px;
	margin: 0;
	padding: 0;
}

.tt-footer-mobile-nav a {
	white-space: nowrap;
	color: #666666;
	text-overflow: clip;
}

.tt-footer-mobile-nav a:hover,
.tt-footer-mobile-nav a:focus {
	color: #0a0a0a;
}

.tt-footer-mobile .tt-footer-social {
	gap: 20px;
}

.tt-footer-mobile .tt-footer-social a {
	color: #666666;
}

.tt-footer-mobile .tt-footer-social a:hover,
.tt-footer-mobile .tt-footer-social a:focus {
	color: #0a0a0a;
}

.tt-footer-copy-mobile {
	margin: 0;
	font-size: 12px;
	color: #666666;
	text-align: center;
}

@media (min-width: 1024px) {
	.tt-footer-desktop {
		display: block;
	}

	.tt-footer-mobile {
		display: none;
	}
}



/******************
MMR MERGED: /wp-content/plugins/view-as-customer/assets/css/admin-style.css
***************/

#wpadminbar .quicklinks #wp-admin-bar-wsmab_main_switch_user ul li .ab-item {
	height: auto;
	min-width: 286px;
	padding: 5px;
}
#wpadminbar .quicklinks #wp-admin-bar-wsmab_main_switch_user #vac_search_username {
	height: 32px;
	font-size: 13px !important;
	padding: 0 5px;
	width: 145px;
	border-radius: 2px !important;
	box-sizing: border-box !important;
}
#vac_search_username.loading {
	background-image: url('/wp-admin/images/spinner.gif');
	background-repeat: no-repeat;
	background-position: right center;
}

.vac-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    font-size: 13px;
    color: #555;
}

.vac-loader::after {
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid #aaa;
    border-top-color: transparent;
    border-radius: 50%;
    margin-left: 8px;
    animation: vac-spin 0.7s linear infinite;
}

@keyframes vac-spin {
    to { transform: rotate(360deg); }
}

#vac_user_search_form {
	width: auto;
	box-sizing: border-box
}
hr.hr_top_bottom_border{	
    border: 0;
    border-top: 1px solid #dcdcde;
    border-bottom: 1px solid #f6f7f7;
}
#vac_switch_user_search_submit {
	padding: 0;
	font-size: 13px !important;
	border: 0 !important;
	background-color: #fff !important;
	border-radius: 2px !important;
	width: 74px;
	box-sizing: border-box;
	color: #000 !important;
	margin: 0 3px;
}

#vac_user_search_result {
	width: 100%;
	max-height: 320px;
	overflow-y: auto;
	margin-top: 10px;
	float: left;
}

#vac_user_search_form {
	width: 226px;
}

#vac_recent_users {
	width: 100%;
	float: left;
}

form#vac_user_search_form input[type="text"] {
	background-color: #fff !important;
}

#wpadminbar .quicklinks .menupop ul li a,
#wpadminbar .quicklinks .menupop.hover ul li a {
	color: #b4b9be;
	padding: 0;
}

#wpadminbar .menupop .ab-sub-wrapper,
#wpadminbar .shortlink-input {
	padding: 0px 0 0 10px !important;
}

.rtl #wpadminbar .menupop .ab-sub-wrapper {
	padding: 0 10px 0 10px !important;
}

.rtl #wpadminbar .menupop .menupop>.ab-item .wp-admin-bar-arrow:before {
	left: 0px !important;
}

.absolute-footer,
html {
	background-color: none !importent;
}

.login #backtoblog {
	text-align: center !important;

}
.rtl #wpadminbar .ab-top-menu>li.menupop.icon-woocommerce>.ab-sub-wrapper>.ab-submenu>.zorem_powered_by {
	background-repeat: no-repeat;
	background-position: right;
	padding-right: 15px;
	background-size: contain;
	margin: 5px 0 10px 0px;
}

li.zorem_powered_by a.ab-item {
	text-align: center;
}

#wpadminbar .menupop li.hover>.ab-sub-wrapper,
#wpadminbar .menupop li:hover>.ab-sub-wrapper {
	padding-right: 10px !important;
}

#wpadminbar .ab-top-menu>li.menupop.icon-woocommerce>.ab-sub-wrapper>.ab-submenu>.zorem_powered_by {
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 15px;
	background-size: contain;
	margin: 5px 0 10px 4px;
}

li.zorem_powered_by a.ab-item {
	text-align: center;
}

/** Snackbar CSS **/
@-webkit-keyframes fadein {
    from {
        right: 0;
        opacity: 0;
    }
    to {
        right: 20px;
        opacity: 1;
    }
}
@keyframes fadein {
    from {
        right: 0;
        opacity: 0;
    }
    to {
        right: 20px;
        opacity: 1;
    }
}
.snackbar-logs {
    position: fixed;
    z-index: 5000;
    top: 95px;
    right: 10px;
    width: 300px;
}
.snackbar-log {
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}
.snackbar-log {
    display: block;
    margin-top: 10px;
    position: relative;
    right: -300px;
    opacity: 0;
}
.snackbar-log-show {
    right: 0;
    opacity: 1;
}
.snackbar-log {
    background: #3bc4e4;
    padding: 15px;
    border-radius: 4px;
    color: #FFF;
}
.snackbar-log-success {
    background: #3bc4e4;
}
.snackbar-log-error {
    background: #FE1A00;
}
.rtl .snackbar-logs{
    left: 10px;
    right: unset;
}
.rtl .snackbar-log {
    left: -300px;
    right: unset;
}
.rtl .snackbar-log-show{
    left: 0;
    right: unset;
}
/** End Snackbar CSS **/


/******************
MMR MERGED: /wp-content/plugins/todo-today-assets/css/front.css
***************/

:root {
    /* Event Card Variables */
	--tt-card-radius: 10px;
    --tt-card-radius-sm: 5px;
	--tt-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	--tt-card-text-color: #000000;
	--tt-card-bg: #fff;
	--tt-card-border: #e5e7eb;
    --tt-card-other-text-color: #212121;
    --tt-font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Lovable Design System */
	--tt-background: #ffffff;
	--tt-foreground: #171717;
	--tt-muted: #f5f5f5;
	--tt-muted-foreground: #666666;
	--tt-border: #e5e5e5;
	--tt-primary: #171717;
	--tt-primary-foreground: #ffffff;
}

body {
    font-family: var(--tt-font-family);
}

.absolute-footer, html {
  background-color: #ffffff !important;
}

/* ============================================================
   HIDE FLATSOME THEME HEADER (all screen sizes)
   The "header header-full-width" element is removed entirely.
   Only the custom tt-desktop-header remains.
   ============================================================ */
#header,
.header-wrapper,
.header-main,
#wide-nav,
.header-full-width,
.html_nav_position_text_top,
[class*="html_nav_position_text"],
.header-top .html-element,
.top-bar .html-element,
.header-inner > .html-element {
	display: none !important;
}

/* ============================================================
   DESKTOP HEADER (Lovable Design) — shown above 800px
   Matches: fixed header, h-[60px], bg-background, border-b border-border
   ============================================================ */

/* Hidden by default (mobile-first) */
.tt-desktop-header {
	display: none;
}

/* Show on desktop (>= 1024px) */
@media (min-width: 1024px) {
	.tt-desktop-header {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 60px;
		background: var(--tt-background, #ffffff);
		border-bottom: 1px solid var(--tt-border, #e5e5e5);
		z-index: 9999;
	}

	.tt-desktop-header__inner {
		height: 100%;
		max-width: 1050px;
		margin: 0 auto;
		padding: 0 24px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.tt-desktop-header__logo {
		display: flex;
		align-items: center;
		gap: 8px;
		text-decoration: none !important;
	}

	.tt-desktop-header__logo img {
		height: 32px;
		width: auto;
	}

	.tt-desktop-header__nav {
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.tt-desktop-header__nav-item {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 8px 16px;
		border-radius: 999px;
		font-size: 14px;
		font-weight: 500;
		color: var(--tt-muted-foreground, #666666);
		text-decoration: none !important;
		transition: all 0.15s ease;
	}

	/* Hover + active: same light-grey pill, dark text. */
	.tt-desktop-header__nav-item:hover,
	.tt-desktop-header__nav-item--active {
		background: var(--tt-secondary, #f4f4f5);
		color: var(--tt-foreground, #171717);
	}

	.tt-desktop-header__nav-item--active:hover {
		background: var(--tt-border, #e5e5e5);
	}

	.tt-desktop-header__nav-item i {
		font-size: 16px;
		width: 16px;
		height: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.tt-desktop-header__nav-icon {
		width: 16px;
		height: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
	}

	.tt-desktop-header__nav-icon svg {
		width: 16px;
		height: 16px;
		display: block;
	}

	.tt-desktop-header__nav-item--active i {
		font-weight: 900;
	}

	.tt-desktop-header__nav-item--logout {
		color: #dc2626 !important;
	}

	.tt-desktop-header__nav-item--logout:hover {
		background: rgba(220, 38, 38, 0.1);
		color: #b91c1c !important;
	}

	.tt-desktop-header__nav-item--logout i {
		color: inherit;
	}

	/* ── Profile dropdown animations (Lovable: fade + zoom-in-95 + slide-from-top) ── */
	@keyframes tt-dropdown-in {
		from {
			opacity: 0;
			transform: scale(0.95) translateY(-8px);
		}
		to {
			opacity: 1;
			transform: scale(1) translateY(0);
		}
	}

	@keyframes tt-dropdown-out {
		from {
			opacity: 1;
			transform: scale(1) translateY(0);
		}
		to {
			opacity: 0;
			transform: scale(0.95) translateY(-8px);
		}
	}

	/* ── Profile dropdown menu ─────────────────────────────────── */
	.tt-profile-menu {
		position: relative;
		margin-left: 4px;
	}

	.tt-profile-menu__btn {
		width: 36px !important;
		height: 36px !important;
		min-width: 0 !important;
		min-height: unset !important;
		border-radius: 50% !important;
		background: var(--tt-muted, #f5f5f5) !important;
		background-color: var(--tt-muted, #f5f5f5) !important;
		border: none !important;
		outline: none !important;
		box-shadow: none !important;
		cursor: pointer !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		overflow: hidden !important;
		transition: box-shadow 0.15s ease !important;
		padding: 0 !important;
		margin: 0 !important;
		line-height: 1 !important;
		font-size: inherit !important;
		text-transform: none !important;
		letter-spacing: normal !important;
		color: var(--tt-foreground, #171717) !important;
		vertical-align: middle !important;
	}

	.tt-profile-menu__btn:hover {
		background: var(--tt-muted, #f5f5f5) !important;
		background-color: var(--tt-muted, #f5f5f5) !important;
		box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.3) !important;
	}

	/* Ring for keyboard focus only — plain :focus also fired on mouse click
	   and the ring stuck to the avatar until the next click elsewhere. */
	.tt-profile-menu__btn:focus {
		outline: none !important;
		box-shadow: none !important;
	}
	.tt-profile-menu__btn:focus-visible {
		box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.3) !important;
	}

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

	.tt-profile-menu__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--tt-foreground, #171717);
		font-size: 16px;
	}

	.tt-profile-menu__icon svg {
		width: 16px;
		height: 16px;
		display: block;
	}

	.tt-profile-menu__dropdown {
		display: none;
		position: absolute !important;
		top: calc(100% + 8px) !important;
		right: 0 !important;
		width: 200px !important;
		background: var(--tt-background, #ffffff) !important;
		border: 1px solid var(--tt-border, #e5e5e5) !important;
		border-radius: 8px !important;
		padding: 4px !important;
		box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
		z-index: 10000 !important;
		list-style: none !important;
		margin: 0 !important;
	}

	.tt-profile-menu__dropdown--open {
		display: block !important;
		animation: tt-dropdown-in 0.15s ease forwards;
		transform-origin: top right;
	}

	.tt-profile-menu__dropdown--closing {
		display: block !important;
		animation: tt-dropdown-out 0.15s ease forwards;
		transform-origin: top right;
	}

	.tt-profile-menu__item {
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		width: 100% !important;
		padding: 8px 12px !important;
		border-radius: 6px !important;
		font-size: 14px !important;
		font-weight: 400 !important;
		line-height: 1.4 !important;
		color: var(--tt-foreground, #171717) !important;
		text-decoration: none !important;
		background: transparent !important;
		border: none !important;
		transition: background 0.12s ease !important;
		cursor: pointer !important;
		box-shadow: none !important;
		letter-spacing: normal !important;
		text-transform: none !important;
	}

	.tt-profile-menu__item:hover {
		background: var(--tt-muted, #f5f5f5) !important;
		color: var(--tt-foreground, #171717) !important;
		text-decoration: none !important;
		box-shadow: none !important;
	}

	.tt-profile-menu__item--destructive,
	.tt-profile-menu__item--destructive:visited {
		color: #dc2626 !important;
	}

	.tt-profile-menu__item--destructive:hover {
		background: rgba(220, 38, 38, 0.08) !important;
		color: #b91c1c !important;
	}

	.tt-profile-menu__item-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 16px;
		height: 16px;
		flex-shrink: 0;
		font-size: 16px;
	}

	.tt-profile-menu__item-icon svg {
		width: 16px;
		height: 16px;
		display: block;
	}

	.tt-profile-menu__divider {
		height: 1px;
		background: var(--tt-border, #e5e5e5);
		margin: 4px 0;
	}

	/* Add padding to main content for fixed header */
	#main {
		padding-top: 60px;
	}

	/* WordPress Admin Bar offset */
	body.admin-bar .tt-desktop-header {
		top: 32px;
	}

	/* (removed: .row.row-main.event-listing-row / .tt-single-event-row /
	   event_listing_* normalizers — that Flatsome-era markup is gone; home
	   and single-event both use .tt-page-shell now.) */
}

/* ============================================================
   MOBILE (<= 1023px): Hide header, show bottom nav
   ============================================================ */
@media (max-width: 1023px) {
	/* Hide custom desktop header on mobile */
	.tt-desktop-header {
		display: none !important;
	}

	/* Remove any top spacing from header */
	body,
	body.admin-bar {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}

	#main,
	#content,
	.page-wrapper {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
}

/* ============================================================
   MARKETING HEADER (About / Locations / Contact)
   Standalone blurred nav bar shown on the info pages in place of
   the app header + bottom nav. Same look as .tt-desktop-header,
   but visible on every breakpoint; on mobile the menu collapses
   to a single "Events →" link (matches the Lovable design).
   ============================================================ */
.tt-marketing-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: rgba(255, 255, 255, 0.8);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(229, 229, 229, 0.6);
	z-index: 9999;
}

.tt-marketing-header__inner {
	height: 100%;
	max-width: 1050px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tt-marketing-header__logo {
	display: flex;
	align-items: center;
	text-decoration: none !important;
}

.tt-marketing-header__logo img {
	height: 32px;
	width: auto;
	display: block;
}

.tt-marketing-header__nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.tt-marketing-header__nav-item {
	font-size: 14px;
	font-weight: 500;
	color: var(--tt-muted-foreground, #666666);
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.tt-marketing-header__nav-item:hover {
	color: var(--tt-foreground, #171717);
}

.tt-marketing-header__nav-item.is-active {
	color: var(--tt-foreground, #171717);
	font-weight: 600;
}

.tt-marketing-header__back {
	display: none;
	align-items: center;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--tt-muted-foreground, #666666);
	text-decoration: none !important;
	cursor: pointer;
	transition: color 0.15s ease;
}

.tt-marketing-header__back:hover {
	color: var(--tt-foreground, #171717);
}

/* Offset the page content below the fixed bar (both breakpoints). */
body.tt-marketing-page #main {
	padding-top: 60px !important;
}

/* WordPress admin bar offset — only ≥1024px, where the bar is shown
   (it's hidden below 1024px, so the header sits flush at top: 0 there). */
@media (min-width: 1024px) {
	body.admin-bar .tt-marketing-header {
		top: 32px;
	}
}

/* Mobile: hide the menu, show the single "Events →" link. */
@media (max-width: 767px) {
	.tt-marketing-header__nav {
		display: none;
	}
	.tt-marketing-header__back {
		display: inline-flex;
	}
}

/* ============================================================
   FOOTER (Lovable Design - Site-wide)
   Matches: bg-muted border-t border-border py-8 px-[15px]
   ============================================================ */

/* Hide existing Flatsome footer CONTENT but keep wrapper visible for our footer */
.footer-wrapper > .footer,
.footer-wrapper > .absolute-footer,
.footer-wrapper .footer-widgets,
.footer-wrapper .absolute-footer-wrap,
#footer > .footer,
#footer > .absolute-footer {
	display: none !important;
}

/* Reset the footer wrapper to be visible and full-width */
.footer-wrapper,
#footer.footer-wrapper {
	display: block !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR (Lovable Design)
   Shown at <= 1023px. Matches: fixed bottom-0, h-[50px],
   bg-background/80, backdrop-blur-xl, border-t, z-50
   ============================================================ */

/* Hidden by default (desktop) */
.tt-bottom-nav {
	display: none;
}

/* Show at <= 1023px */
@media (max-width: 1023px) {
	/* Floating rounded pill, not a full-width bar — matches the design
	   reference (Lovable BottomNav.tsx: mx-auto max-w-md px-3 pb-2, then
	   rounded-full + border + shadow on the nav itself).
	   left/right + margin-inline: auto centres it and caps it at 448px
	   (max-w-md); the 12px insets are the px-3 gutter. */
	.tt-bottom-nav {
		display: flex;
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(8px + env(safe-area-inset-bottom, 0px));
		margin-inline: auto;
		max-width: 448px;
		padding: 6px 8px;
		background: rgba(255, 255, 255, 0.90);
		backdrop-filter: blur(24px);
		-webkit-backdrop-filter: blur(24px);
		border: 1px solid rgba(229, 229, 229, 0.6);
		border-radius: 999px;
		box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
		z-index: 9999;
		justify-content: space-between;
		align-items: center;
		gap: 4px;
		box-sizing: border-box;
		animation: tt-bottom-nav-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
	}

	@keyframes tt-bottom-nav-slide-up {
		from {
			transform: translateY(100%);
			opacity: 0;
		}
		to {
			transform: translateY(0);
			opacity: 1;
		}
	}

	/* Nav item — each is its own rounded pill so the active one can carry a
	   filled background (Lovable: rounded-full + bg-secondary when active). */
	.tt-bottom-nav__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		flex: 1;
		padding: 6px 4px;
		border-radius: 999px;
		text-decoration: none !important;
		-webkit-tap-highlight-color: transparent;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.tt-bottom-nav__item:active {
		transform: scale(0.92);
	}

	/* Icon */
	.tt-bottom-nav__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.tt-bottom-nav__icon svg {
		width: 22px;
		height: 22px;
		stroke-width: var(--tt-nav-stroke, 1.8);
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	/* Label */
	.tt-bottom-nav__label {
		font-size: 10.5px;
		letter-spacing: 0.01em;
		font-weight: 500;
		line-height: 1;
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	/* Default state (inactive) */
	.tt-bottom-nav__item {
		color: var(--tt-muted-foreground, #666666);
	}

	/* Active state — filled pill behind the icon+label. */
	.tt-bottom-nav__item--active {
		color: var(--tt-primary, #171717);
		background: var(--tt-secondary, #f4f4f5);
	}

	.tt-bottom-nav__item--active .tt-bottom-nav__label {
		font-weight: 600;
	}
}

.tt-single-page-tags-container {
	margin: 15px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tt-hidden {
	display: none;
}

.tt-tag-box {
    border-radius: 10px;
    white-space: nowrap;
    background: #f9f9f9;
    padding: 2px 15px;
    margin-right: 5px;
    /* color: #000000; */
    border: 1px solid #eeeeee;
}

.venue_google_map_link {
    cursor: pointer;
}

/* Wrapper */
.tt-card-header-tags-wrapper {
	display: flex;
	align-items: center;
    justify-content: space-between;
    width: 90%;
}

.tt-card-header-tags {
    display: flex;
    flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

/* (removed: .tt-card-header-tags-wrapper/.tt-recurring-row .todo-actions —
   dead wrappers, that markup renders nowhere. The .todo-actions component
   itself lives in my_event.css; My Events' recurring modal is its only
   consumer.) */

/* Base tag */
.tt-card-header-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1;
	border-radius: 10px;
	white-space: nowrap;
    height: 24px;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
}

/* Icon */
.tt-card-header-tag i {
	font-size: 12px;
}

/* Primary (Red filled) */
.tt-card-header-tag-primary {
	background-color: #ff4d3f;
	color: #ffffff;
}

/* Outline tags */
.tt-card-header-tag-outline {
	background-color: #f5f5f5;
	color: #000000;
	border: 1px solid #e0e0e0;
}

.tt-card-header-tag-text {
    line-height: 24px;
}

.tt-highlights-card-header-tags-wrapper {
    /* position: absolute;
    top: 190px; */
}

/* Recurring Event Popup - Overlay Style (matches td-popup-overlay) */
#my-recurring-event-popup.td-popup-overlay {
    z-index: 9999;
}

#my-recurring-event-popup .td-popup-card--recurring {
    background: #f9f9f9;
    width: min(720px, 94vw);
    max-height: 85vh;
}

@media (max-width: 768px) {
    #my-recurring-event-popup .td-popup-card {
        width: 100% !important;
        max-width: 100% !important;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}

/* Sidebar overlay backdrop */
.append_slideout {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
    background: #00000080;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.tt-popup-panel {
    padding: 0 10px 10px 10px;
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.tt-popup-loading {
    padding: 100px 0;
    text-align: center;
}

.tt-recurring-event-tag {
    color: #1c7ce2;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	/* Hide first tag on mobile */
    .tt-highlighted-tag {
        display: none !important;
    }

    .new_home_featured_tag {
        display: block !important;
    }

	/* Slightly smaller tags on mobile */
	.tt-card-header-tag {
		font-size: 11px;
		padding: 5px 9px;
	}
}


/* Vertical Event Card Styles */
.tt-v-card {
	color: var(--tt-card-text-color);
	width: 100%;
	max-width: 100%;
	background: var(--tt-card-bg);
	border: 1px solid var(--tt-card-border);
	border-radius: var(--tt-card-radius);
	/* box-shadow: var(--tt-card-shadow); */
}
.tt-v-card-media {
	position: relative;
	background: #fff;
}
.tt-v-card-media .tt-v-card-media-image {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
    border-radius: var(--tt-card-radius);
}
.tt-v-card-media-topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.tt-v-card-topbar-status {
    padding: 4px 10px;
    /* background: #03a9f4; */
    /* color: #fff; */
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: var(--tt-card-radius-sm);
    /* border: 1px solid #fff; */
}
.tt-v-card-topbar-more-menu {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid #bdbdbd;
    font-size: 10px;
}
.tt-more-popup {
    position: absolute;
    top: 50px;
    right: 5px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 130px;
    display: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    z-index: 1000;
}

.tt-more-popup ul {
    margin: 0;
    padding: 5px 0;
    list-style: none;
}

.tt-more-popup ul li {
    padding: 5px 14px;
    cursor: pointer;
    margin-bottom: 0;
    transition: background 0.2s ease;
    font-size: 12px;
}

.tt-more-popup ul li:hover {
    background: #f7f7f7;
}
.tt-more-popup-arrow {
    position: absolute;
    top: -6px;
    right: 12px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    transform: rotate(45deg);
}

.tt-v-card-media-bottombar {
    padding: 15px;
}

.tt-event-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

.tt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
}

.tt-badge-walkin {
  background: #c6f0bb;
  color: #424242;
  border: 1px solid #c9e5c3;
}

.tt-badge-online-tickets {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.tt-badge-booking-recommended {
    background: #3f51b5;
    color: #ffffff;
    border: 1px solid #3f51b5;
}

.tt-badge-booking-required {
    background: #3f51b5;
    color: #ffffff;
    border: 1px solid #3f51b5;
}

.tt-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid #d6d6d6;
  font-size: 12px;
  color: #4a4a4a;
  background: #ffffff;
}

.tt-v-card-reccurring-icon {
    width: 10px;
    height: 10px;
}

.tt-v-card-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #212121;
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-v-card-small-icon {
    width: 14px;
    height: 14px;
}

.tt-v-card-icon-text-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tt-v-card-icon-text {
    font-size: 14px;
    color: var(--tt-card-other-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-tag-item {
    background: #fff;
    border: 1px solid #212121;
    border-radius: 5px;
    padding: 2px 10px;
    font-weight: 600;
    font-size: 12px;
    color: #212121;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.8;
}

.tt-tag-container {
    position: absolute;
    left: 0;
    top: 130px;
    margin: 8px;

    display: flex;
    flex-wrap: nowrap;          /* keep in a single row */
    gap: 8px;

    max-width: 100%;            /* avoid overflowing page */
    padding-right: 8px;         /* so last tag isn't cut off */

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;      /* Firefox: hide scrollbar */
    -ms-overflow-style: none;   /* IE/Edge legacy: hide scrollbar */

    cursor: grab;
}

/* Chrome / Safari: hide scrollbar */
.tt-tag-container::-webkit-scrollbar {
    display: none;
}

.tt-tag-item {
    flex: 0 0 auto;             /* make each tag stay its size */
    white-space: nowrap;        /* keep text on one line */
}

/* Optional: nicer feedback while dragging */
.tt-tag-container:active {
    cursor: grabbing;
}

.tt-recurring-span {
    background: #ffffff;
    color: #000000;
    border: 1px solid #bdbdbd;
    cursor: pointer;
    display: inline-block;
    position: relative;      /* ✅ Important for the tooltip */
}

.tooltip-text {
    visibility: hidden;
    width: max-content;
    max-width: 250px;
    background-color: #000;
    color: #fff;
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    position: fixed;
    z-index: 9999;           /* bump it just in case */
    top: 140%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: normal;
    font-size: 13px;
    line-height: 19px;
    pointer-events: none;    /* optional: avoid hover flicker */
}

.tt-recurring-span:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.event-reaction_sp {
    position: absolute;
    right: 15px;
    left: auto;
    top: 15px;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 50%;
    border: #212121 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 4px;
    display: none !important;
}

.event-reaction_sp_featured {
    bottom: 15px;
    top: auto;
}

/* my-events-page */
.tt-my-event-header-container {
    background-color: #ffffff;
    padding: 15px 0px;
    border-bottom: 1px solid #e0e0e0;
}

.tt-my-event-header {
    max-width: 1050px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 20px;
}

.tt-add-event-btn {
	text-transform: capitalize;
    border-radius: 5px;
    background: #000000;
    margin: 0;
    line-height: 1.5;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 8px;
}
.tt-add-event-btn {
	box-shadow: none;
    color: #ffffff;
}

.tt-header-title {
    margin: 0;
	color: #212121;
	font-weight: normal;
	font-size: 20px;
}

.tt-header-subtitle {
    font-size: 14px;
    color: #6b6f76;
    margin: auto;
    max-width: 1050px;
}

/* Header container - NEW */
.tt-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 0 20px 0;
}

/* Your original tabs wrap CSS - UNCHANGED */
.tt-tabs-wrap {
    width: 55%;
    margin: 0; /* Remove bottom margin since header has it */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 6px;
    border-radius: 15px;
    display: flex;
    gap: 6px;
    box-sizing: border-box;
    position: relative;
}

/* Sliding background indicator - NEW */
.tt-tabs-wrap::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 9px);
    height: calc(100% - 12px);
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Move background when second tab is active - NEW */
.tt-tabs-wrap:has(.tt-tab-btn:nth-child(2).active)::before {
    transform: translateX(calc(100% + 6px));
}

/* Your original tab button CSS - UNCHANGED */
.tt-tab-btn {
    width: 50%;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #212121;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin: 0;
    position: relative; /* Added for z-index */
    z-index: 1; /* Added for slide animation */
}

/* Hover effect - NEW */
.tt-tab-btn:hover:not(.active) {
    background: rgba(245, 245, 245, 0.5);
}

/* Your original active state - UNCHANGED */
.tt-tab-btn.active {
    background: transparent; /* Changed to transparent for slide animation */
    border: 1px solid transparent; /* Changed to transparent for slide animation */
    font-weight: 600; /* Added bold */
}

/* Add Event Button - NEW */
.tt-add-event-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tt-add-event-btn:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
}

.tt-add-event-btn:active {
    transform: translateY(0);
}

@media (max-width: 400px) {
    .tt-add-event-btn {
        padding: 5px 5px !important;
        gap: 0px !important;
    }
    .tt-header-subtitle {
        font-size: 12px !important;
    }
    .tt-header-title {
        font-size: 18px !important;
    }
}

.tt-plus-icon {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
}

.tt-btn-text {
    line-height: 1;
}

.todo-font-italic {
    font-style: italic;
}

.tt-show-recurring-icon {
    display: none !important;
    margin-left: 2px;
}

/* ============================================================
   AREA NAME VISIBILITY
   - Desktop: show area name in all sections
   - Mobile: hide area name in all sections
   - Today's Top Picks / Tomorrow's Top Picks: hide on both devices
   ============================================================ */

/* Show area name on desktop only (default for all sections) */
.tt-desktop-only {
    display: inline;
}

/* Hide area name on mobile for all sections */
@media (max-width: 1024px) {
    .tt-desktop-only {
        display: none;
    }
}

/* Hide area name in Today's Top Picks / Tomorrow's Top Picks sections on ALL devices */
.event_data_higlight .tt-desktop-only {
    display: none !important;
}

.event_data_higlight .tt-home-star-icon {
    margin-right: 5px;
}

/* Base title style */
.event-card__header {
    width: 100%;
}

.event-card__title {
    padding: 0;
    margin: 10px 0;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Desktop: show desktop title, hide mobile */
.event-card__title--desktop {
    display: -webkit-box;
    width: 85%;
    font-size: 16px;
}

.event_data_higlight_box .event-card__title--desktop {
    width: 100%;
}

.event-card__title--mobile {
    display: none;
}

/* Mobile: hide desktop title, show mobile */
@media (max-width: 768px) {
    .event-card__title--desktop {
        display: none;
    }

    .event-card__title--mobile {
        display: -webkit-box;
        width: 95%;
        font-size: 14px;
    }

    .event_data_higlight_box .event-card__title--mobile {
        width: 100%;
    }
}

/* Your original mobile CSS - UPDATED for new layout */
@media (max-width: 775px) {
    .tt-tabs-header {
        flex-direction: row;
        gap: 10px;
    }
    
    .tt-tabs-wrap {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .tt-tab-btn {
        font-size: 13px;
    }
    .tt-show-recurring-icon {
        display: inline-block !important;
    }
    .tt-home-card-header-recurring-tag {
        display: none !important;
    }
}
/* Mobile styles for recurring popup handled in main #my-recurring-event-popup block */
@media (max-width: 400px) {
    .tt-tab-btn {
        font-size: 12px;
    }
}


/* ═══════════════════════════════════════════════════════════
   TODO.TODAY — Welcome Page Styles
   ═══════════════════════════════════════════════════════════ */

/* Hide default header on welcome page */
.home header#header {
    display: none;
}

.home footer#footer {
    display: none;
}

/* Hide mobile bottom nav on welcome page */
.home .tt-bottom-nav {
    display: none;
}

/* ─── Reset (scoped) ─── */
.tdtd-welcome,
.tdtd-welcome *,
.tdtd-welcome *::before,
.tdtd-welcome *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ─── Variables ─── */
.tdtd-welcome {
  --bg: #fafafa;
  --bg-hero-mobile: #000000;
  --text: #212121;
  --text-light: #6b6b6b;
  --text-white: #ffffff;
  --accent: #000000;
  --card-radius: 16px;
  --section-gap: 36px;
  --ring-color: #000000;
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.5;
}

.home header.tt-desktop-header {
  display: none;
}

.home #main {
  padding-top: 0 !important;
}

/* ═══════════════════════════════════════
   LAYOUT — Desktop side-by-side
   ═══════════════════════════════════════ */
.tdtd-wrap {
  display: flex;
  min-height: 100vh;
  max-width: 1050px;
  margin: 0 auto;
  padding: 48px 16px;
  gap: 64px;
}

/* ═══════════════════════════════════════
   HERO PANEL (left sticky)
   ═══════════════════════════════════════ */
.tdtd-hero {
  flex: 0 0 340px;
  position: sticky;
  top: 48px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Logo */
.tdtd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
  margin-bottom: 10px;
}

.tdtd-logo-image {
    height: 40px;
}

.tdtd-logo:hover {
  color: inherit;
  text-decoration: none;
}

.tdtd-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-body);
}

/* Headline */
.tdtd-headline {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Subtitle */
.tdtd-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 300px;
}

/* Stats row */
.tdtd-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tdtd-stat-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1.2;
}

.tdtd-stat-label {
  font-size: 13px;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}

.tdtd-stats-divider {
  width: 1px;
  height: 40px;
  background: #ddd;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   CTA BUTTON
   ═══════════════════════════════════════ */
.tdtd-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1.4;
}

.tdtd-cta:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: none;
}

.tdtd-cta:disabled,
.tdtd-cta[disabled] {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  color: #fff;
}

.tdtd-cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tdtd-cta:not(:disabled):hover .tdtd-cta-icon {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════
   CHANNELS PANEL (right scrollable)
   ═══════════════════════════════════════ */
.tdtd-channels {
  flex: 1;
  min-width: 0;
}

.tdtd-channels-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.tdtd-channels-subtitle {
  display: none;
}

/* ═══════════════════════════════════════
   COUNTRY SECTION
   ═══════════════════════════════════════ */
.tdtd-country {
  margin-bottom: var(--section-gap);
  animation: tdtdFadeUp 0.5s ease both;
}

.tdtd-country:nth-child(2) { animation-delay: 0.07s; }
.tdtd-country:nth-child(3) { animation-delay: 0.14s; }
.tdtd-country:nth-child(4) { animation-delay: 0.21s; }
.tdtd-country:nth-child(5) { animation-delay: 0.28s; }
.tdtd-country:nth-child(6) { animation-delay: 0.35s; }

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

.tdtd-country-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tdtd-country-flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tdtd-country-name {
  font-weight: 700;
  font-size: 17px;
}

.tdtd-country-count {
  font-size: 14px;
  color: var(--text-light);
}

/* ═══════════════════════════════════════
   CHANNEL GRID
   ═══════════════════════════════════════ */
.tdtd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

/* ═══════════════════════════════════════
   CHANNEL CARD
   ═══════════════════════════════════════ */
.tdtd-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 3px solid transparent;
  outline-offset: 3px;
  background: #2a1a0e;
}

.tdtd-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.tdtd-card.selected {
  outline-color: var(--ring-color);
}

.tdtd-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tdtd-card:hover img {
  transform: scale(1.06);
}

/* Gradient overlay */
.tdtd-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.18) 50%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Card info */
.tdtd-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tdtd-card-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.tdtd-card-name .tdtd-emoji {
  font-size: 16px;
  line-height: 1;
}

.tdtd-card-events {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* ═══════════════════════════════════════
   CHECKMARK BADGE
   ═══════════════════════════════════════ */
.tdtd-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tdtd-card.selected .tdtd-check {
  opacity: 1;
  transform: scale(1);
}

.tdtd-check svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* ═══════════════════════════════════════
   MOBILE LAYOUT (≤ 768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .tdtd-wrap {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  /* Hero becomes full-width dark header */
  .tdtd-hero {
    position: relative;
    top: 0;
    flex: none;
    width: 100%;
    background: var(--bg-hero-mobile);
    color: var(--text-white);
    padding: 44px 24px 36px;
    text-align: center;
    align-items: center;
    gap: 18px;
    border-radius: 0;
  }

  .tdtd-headline {
    color: var(--text-white);
    font-size: 28px;
    line-height: 1.2;
  }

  .tdtd-sub {
    color: rgba(255, 255, 255, 0.7);
    max-width: 320px;
  }

  .tdtd-stat-label {
    color: rgba(255, 255, 255, 0.6);
  }

  .tdtd-stats-divider {
    background: rgba(255, 255, 255, 0.2);
  }

  /* Hide desktop CTA on mobile */
  .tdtd-hero .tdtd-cta {
    display: none;
  }

  /* Channels section */
  .tdtd-channels {
    padding: 28px 20px 80px;
  }

  .tdtd-channels-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
  }

  .tdtd-channels-subtitle {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
  }

  .tdtd-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tdtd-card {
    aspect-ratio: 1 / 1;
  }

  .tdtd-card-events {
    font-size: 12px;
  }
}

/* ═══════════════════════════════════════
   MOBILE STICKY CTA
   ═══════════════════════════════════════ */
.tdtd-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .tdtd-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
  }

  .tdtd-mobile-cta .tdtd-cta {
    border-radius: 60px;
    width: 100%;
  }
}

/* ═══════════════════════════════════════
   SCROLLBAR (webkit)
   ═══════════════════════════════════════ */
.tdtd-welcome ::-webkit-scrollbar {
  width: 6px;
}

.tdtd-welcome ::-webkit-scrollbar-track {
  background: transparent;
}

.tdtd-welcome ::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* ═══════════════════════════════════════
   LOADING SKELETON (optional)
   ═══════════════════════════════════════ */
.tdtd-card-skeleton {
  background: linear-gradient(
    110deg,
    #e8e8e8 8%,
    #f5f5f5 18%,
    #e8e8e8 33%
  );
  background-size: 200% 100%;
  animation: tdtdShimmer 1.5s linear infinite;
  border-radius: var(--card-radius);
  aspect-ratio: 4 / 3;
}

@keyframes tdtdShimmer {
  to {
    background-position-x: -200%;
  }
}

@media (max-width: 768px) {
  .tdtd-card-skeleton {
    aspect-ratio: 1 / 1;
  }
}

p.tt-field-error:empty {
  display: none !important;
}

/* ═══════════════════════════════════════
   RECURRING INSTANCES MODAL (single event page)
   ═══════════════════════════════════════ */

.tt-single-recurring-count--clickable {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tt-single-recurring-count--clickable:hover {
  opacity: 0.75;
}
.tt-single-recurring-count--clickable:focus-visible {
  outline: 2px solid var(--tt-primary, #171717);
  outline-offset: 2px;
  border-radius: 3px;
}

.tt-recurring-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .tt-recurring-modal {
    align-items: center;
    padding: 24px;
  }
}

.tt-recurring-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.tt-recurring-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  z-index: 1;
}

@media (min-width: 640px) {
  .tt-recurring-modal__panel {
    border-radius: 15px;
    max-width: 480px;
    height: auto;
    max-height: 72vh;
  }
}

.tt-recurring-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 8px;
}

@media (min-width: 640px) {
  .tt-recurring-modal__head {
    padding: 16px 20px 12px;
  }
}

.tt-recurring-modal__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #171717 !important;
  margin: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: inherit !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

@media (min-width: 640px) {
  .tt-recurring-modal__title {
    font-size: 16px !important;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

.tt-recurring-modal__close {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #737373;
  font-size: 22px !important;
  line-height: 1 !important;
  padding: 4px 6px !important;
  border-radius: 6px !important;
  margin: 0 !important;
  transition: color 0.15s;
}
.tt-recurring-modal__close:hover {
  color: #171717;
}

.tt-recurring-modal__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
  flex: 1;
  min-height: 0;
}
.tt-recurring-modal__body::-webkit-scrollbar {
  width: 5px;
}
.tt-recurring-modal__body::-webkit-scrollbar-track {
  background: transparent;
  margin: 12px 0;
}
.tt-recurring-modal__body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.tt-recurring-modal__body::-webkit-scrollbar-button {
  display: none;
}

.tt-recurring-modal__loading,
.tt-recurring-modal__empty,
.tt-recurring-modal__error {
  text-align: center;
  padding: 32px 0;
  font-size: 14px;
  text-transform: none !important;
  margin: 0;
}
.tt-recurring-modal__loading { color: #737373; }
.tt-recurring-modal__empty   { color: #737373; }
.tt-recurring-modal__error   { color: #dc2626; }

/* Parent event card */
.tt-recurring-parent {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  margin-bottom: 16px;
}

.tt-recurring-parent__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tt-recurring-parent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tt-recurring-parent__thumb-placeholder {
  color: #a3a3a3;
}
.tt-recurring-parent__thumb-placeholder .tt-icon {
  width: 28px;
  height: 28px;
}

.tt-recurring-parent__content {
  flex: 1;
  min-width: 0;
  padding: 2px 0;
}

.tt-recurring-parent__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 0 3px !important;
  color: #171717 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: inherit !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-recurring-parent__meta {
  font-size: 12px;
  color: #737373;
  margin: 0 0 2px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.tt-recurring-parent__heart {
  flex-shrink: 0;
  align-self: center;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  color: #d1d5db;
  border-radius: 6px !important;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  margin: 0 0 0 8px !important;
}
.tt-recurring-parent__heart .tt-icon {
  width: 20px;
  height: 20px;
}
.tt-recurring-parent__heart:hover {
  color: #ef4444;
}
.tt-recurring-parent__heart.tt-recurring-inst__heart--liked {
  color: #ef4444 !important;
}

.tt-recurring-modal__section-label {
  font-size: 12px;
  color: #737373;
  font-weight: 500;
  margin: 0 0 8px;
  padding: 0 4px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Instance row */
.tt-recurring-inst {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #fbfbfb;
  margin-bottom: 6px;
  border: 2px solid transparent;
}

/* Clickable instance row → opens that instance's single-event page */
.tt-recurring-inst--link {
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.tt-recurring-inst--link:hover {
  background: #f3f3f3;
  border-color: #e5e5e5;
}

.tt-recurring-inst__icon {
  color: #737373;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.tt-recurring-inst__icon .tt-icon {
  width: 16px;
  height: 16px;
}

.tt-recurring-inst__content {
  flex: 1;
  min-width: 0;
}

.tt-recurring-inst__date {
  font-size: 14px;
  font-weight: 500;
  color: #171717;
  margin: 0 0 2px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.tt-recurring-inst__meta {
  font-size: 12px;
  color: #737373;
  margin: 0;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Heart button */
.tt-recurring-inst__heart {
  flex-shrink: 0;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  color: #d1d5db;
  border-radius: 6px !important;
  display: flex;
  align-items: center;
  transition: color 0.15s;
  margin: 0 !important;
}
.tt-recurring-inst__heart .tt-icon {
  width: 18px;
  height: 18px;
}
.tt-recurring-inst__heart:hover {
  color: #ef4444;
}
.tt-recurring-inst__heart--liked {
  color: #ef4444 !important;
}

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

/* ============================================================
   intl-tel-input — shared site-wide overrides
   The country dropdown is used on /join/, add-mobile, the v3 event
   form and account-settings. Keep the default look; only make the
   injected search box a comfortable size (it renders too short by
   default, especially on mobile). One place → consistent everywhere.
   ============================================================ */
.iti__search-input {
  box-sizing: border-box !important;
  height: auto !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

/* ── "Rotate to portrait" overlay ─────────────────────────────────────────
   Hidden everywhere by default. Shown only when the viewport is TOO SHORT to
   use comfortably — i.e. a phone held in landscape (height ~375-430px). Tablets
   and desktop in landscape are 600px+ tall, so they never trigger. Keyed on
   height (not width) because a wide-but-short phone is the real problem case.
   Markup is printed site-wide in wp_footer by ::render_portrait_overlay. */
.tt-rotate-overlay {
  display: none;
}

@media only screen and (max-height: 450px) and (orientation: landscape) and (pointer: coarse) {
  .tt-rotate-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 2147483647;            /* above bottom nav, hero, everything */
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #ffffff;
    text-align: center;
  }

  /* Freeze + hide the page behind the overlay so it can't be scrolled/used. */
  html body {
    overflow: hidden !important;
  }

  .tt-rotate-overlay__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 420px;
  }

  .tt-rotate-overlay__icon {
    color: #111111;
  }

  .tt-rotate-overlay__text {
    margin: 0;
    font-family: var(--tt-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 20px;
    font-weight: 500;
    color: #111111;
  }
}




/******************
MMR MERGED: /wp-content/plugins/todo-today-assets/css/tt-ui.css
***************/

/**
 * Shared UI primitives — TODO.TODAY
 *
 * Small, reusable components that appear on MORE THAN ONE page and belong to
 * no single feature. Everything here must be page-agnostic: no layout, no
 * page-specific spacing, no assumptions about what wraps it.
 *
 * What lives elsewhere:
 *   event cards ................ tt-cards.css
 *   site chrome (header/footer/bottom nav) ... front.css
 *   sidebar (hero, digest, popup) ........... sidebar.css
 *   page layout/grid .......... that page's own stylesheet
 *
 * Enqueued site-wide as a dependency of front.css, so any page can use these
 * without adding its own enqueue.
 */


/* ── LOAD MORE BUTTON ──────────────────────────────────────────────────
 * One button for every "load more" across the site. Consumers:
 *   home feed ......... todo-today-assets/js/tt-cards.js
 *   search results .... todo-core/templates/search-results-page.php
 *   life stream ....... todo-today-account-area/assets/js/life-stream.js
 *   place page ........ todo-today-account-area/assets/js/place-page.js
 *   public channel .... todo-today-assets/js/public-channel.js
 *   My Events ......... todo-today-account-area/includes/templates/my-events-template.php
 *   category page ..... todo-today-categories/templates/category-page.php
 *
 * My Events and the category page previously had their own near-identical
 * copies (.me-load-more-btn / .tt-cat-load-more-btn); both now use this class.
 *
 * !important throughout: this button is matched by the BUTTON RESET block near
 * the top of tt-cards.css, which includes `#tt-app button[type="button"]`
 * (specificity 1,1,1). A plain `.tt-load-more-btn` (0,1,0) loses to that on the
 * home page no matter the load order — the same trap that silently collapsed
 * the day bar. Every other button component in this codebase defends itself the
 * same way.
 */
.tt-load-more-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	width: 100% !important;
	margin: 12px 0 0 !important;
	padding: 12px 16px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: var(--tt-secondary, #f4f4f5) !important;
	color: var(--tt-foreground, #09090b) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-transform: none !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	transition: background-color 0.15s ease !important;
}

.tt-load-more-btn:hover {
	background: var(--tt-border, #e5e5e5) !important;
	color: var(--tt-foreground, #09090b) !important;
}

.tt-load-more-btn:active {
	transform: translateY(1px);
}

.tt-load-more-btn[disabled] {
	opacity: 0.5;
	cursor: default;
}

.tt-load-more-btn[disabled]:hover {
	background: var(--tt-secondary, #f4f4f5) !important;
}

/* Chevron — SVG on newer callers, Font Awesome <i> on the older ones. */
.tt-load-more-btn svg {
	width: 16px;
	height: 16px;
	flex: none;
}

/* Loading state for SVG callers (pages without Font Awesome): the caller
   swaps the chevron for a spinning arc SVG with this class. */
.tt-load-more-btn .tt-lm-spin {
	animation: tt-lm-spin 0.8s linear infinite;
}

@keyframes tt-lm-spin {
	to { transform: rotate(360deg); }
}

.tt-load-more-btn i {
	font-size: 12px !important;
	line-height: 1 !important;
}

/* Muted count suffix, e.g. "Load more (4 more)" where the caller marks up the
   remainder separately. Kept from the category page's .tt-cat-remaining. */
.tt-load-more-btn .tt-load-more-count {
	font-weight: 400;
	opacity: 0.75;
}


/* ── PAGE SHELL ────────────────────────────────────────────────────────
 * The site's standard two-column page layout: sidebar (300px) + main
 * (750px max), centered at 1050px — the same geometry as the home page's
 * .tt-listing-shell. ONE breakpoint: 1024px. Below it the sidebar is
 * hidden and the page is a single column (pages that want the digest on
 * mobile render it separately inside .tt-page-shell__digest).
 *
 * Consumers: life-stream (first); category/place/my-events roll on next.
 * The home page keeps its own shell for now (its sidebar doubles as the
 * mobile hero band — different mobile behavior).
 */
.tt-page-shell {
	max-width: 1050px;
	margin-inline: auto;
	box-sizing: border-box;
}

/* The shell owns its sidebar slot completely: padding, stickiness, the
   divider. Templates put NO legacy sidebar class (.event_sidebar /
   .td-sidebar) on it — sidebar.css only styles what's inside (hero,
   digest, popup). */
.tt-page-shell__side {
	display: none;
}

.tt-page-shell__main {
	min-width: 0;
	padding: 15px var(--tt-gutter, 15px) 40px;
	box-sizing: border-box;
}

.tt-page-shell__digest {
	display: block;
	padding: 0 var(--tt-gutter, 15px) 24px;
}

/* Tablet: cap the single column so cards keep phone proportions. */
@media (max-width: 1023px) {
	.tt-page-shell__main,
	.tt-page-shell__digest {
		width: 100%;
		max-width: var(--tt-single-col-max, 600px);
		margin-inline: auto;
	}
}

@media (min-width: 1024px) {
	.tt-page-shell {
		display: grid;
		grid-template-columns: 300px minmax(0, 750px);
		justify-content: center;
		align-items: start;
	}

	.tt-page-shell__side {
		display: block;
		position: sticky;
		top: 60px; /* below the sticky desktop header */
		padding: 15px;
	}

	body.admin-bar .tt-page-shell__side {
		top: 92px; /* header + 32px admin bar */
	}

	/* Divider between sidebar and content. On the MAIN column, not the
	   sidebar: the sidebar box is only as tall as its own content, so a
	   border there stops mid-page instead of reaching the footer. */
	.tt-page-shell__main {
		border-left: 1px solid var(--tt-border, #e5e5e5);
	}

	/* Sidebar carries the digest on desktop. */
	.tt-page-shell__digest {
		display: none;
	}
}

/* Toast: small confirmation at the bottom of the screen (tt-event-share.js) */
.tt-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 200000;
	display: flex;
	align-items: center;
	gap: 14px;
	width: max-content;
	max-width: calc(100vw - 32px);
	padding: 12px 18px;
	box-sizing: border-box;
	border-radius: 10px;
	background: var(--tt-foreground, #171717);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%);
	transition: opacity 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
}

.tt-toast.is-visible {
	opacity: 1;
	visibility: visible;
}

.tt-toast--link {
	pointer-events: auto;
}

.tt-toast svg {
	flex: none;
	margin-right: -6px;
}

.tt-toast a {
	color: #fff !important;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.tt-toast {
		bottom: calc(96px + env(safe-area-inset-bottom, 0px));
	}
}



/******************
MMR MERGED: /wp-content/plugins/todo-today-assets/css/sidebar.css
***************/

/**
 * Sidebar — TODO.TODAY
 *
 * Owns EVERY sidebar style: the sidebar box, hero, Daily Digest, digest
 * buttons and the preferences popup. Extracted from front.css so the sidebar
 * has a single owner (styles were previously spread across front.css,
 * home-page.css and tt-cards.css).
 *
 * Rendered by todo-core: app/view/front/home-sidebar.phtml
 * Layout/grid (sidebar vs feed) is NOT here — that's the shell, in
 * todo-today-home-page/assets/css/home-page.css.
 *
 * Breakpoint: 1023/1024px, matching the rest of the frontend.
 */


/* ── LEGACY SIDEBAR BOXES ─────────────────────────────────────────────
 * .event_sidebar (home page) and .td-sidebar (category, place, search,
 * my-events, community, single event, public channel) are the OLD box
 * classes. New standard: the shared page shell (.tt-page-shell__side in
 * tt-ui.css) owns the box — padding, sticky, divider — and this file only
 * styles the contents (hero, digest, popup). Life Stream migrated first;
 * as each page moves onto the shell, drop its class here. Both blocks
 * die when the last page migrates. */

/* Home page box. Divider lives on .tt-listing-feed (home-page.css). */
.event_sidebar {
    padding: 15px;
}

/* Box on the not-yet-migrated event pages (category, place, …). */
.td-sidebar {
    position: sticky;
    top: 0;
    overflow-y: auto;
    padding: 15px 15px 15px 0px;
    border-right: 1px solid #f0eeea;
    background: #ffffff;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
/* Admin bar: adjust sticky sidebar top position */
body.admin-bar .td-sidebar {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .td-sidebar {
        top: 46px;
    }
}
.td-sidebar::-webkit-scrollbar { width: 4px; }
.td-sidebar::-webkit-scrollbar-track { background: transparent; }
.td-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* ── HERO / BRAND BAND ─────────────────────────────────────────────────
 * Markup: todo-core/app/view/front/sidebar-body.phtml (#ttHero)
 * ONE element, two layouts — no duplicated markup:
 *   >= 1024px : 110px rounded card inside the 300px sidebar.
 *               Logo mark + chevron hidden; gear pinned top-right.
 *   <  1024px : full-width sticky band, 106px tall, collapsing to 53px on
 *               scroll (js/tt-brand-band.js adds .is-compact). Logo mark and
 *               chevron appear; everything sits on one row.
 */
.tt-hero {
    position: relative;
    overflow: hidden;
    animation: tdFadeUp 0.5s ease both;
}
.tt-hero__img,
.tt-hero__img--fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tt-hero__img--fallback {
    background: linear-gradient(135deg, #3b0764 0%, #7c2d12 55%, #b45309 100%);
}
.tt-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.55) 100%);
}
.tt-hero__inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    /* Self-padded so the band can sit full-bleed below 1024px — see BAND
       GUTTERS in todo-today-home-page/assets/css/home-page.css. */
    padding: 0 var(--tt-gutter, 15px);
}
.tt-hero__logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    transition: width .22s ease-out, height .22s ease-out;
}
.tt-hero__meta {
    min-width: 0;
    flex: 1 1 auto;
}
.tt-hero__brand {
    display: block;
    font-size: 13px;
    letter-spacing: .02em;
    line-height: 1;
    color: #fff;
    margin-bottom: 6px;
}
.tt-hero__brand b { font-weight: 700; }
/* A <button> since it opens the preferences popup (data-open-preferences,
   bound in front.js). It sits outside #tt-app, so no shared button reset
   reaches it — strip the native chrome here. */
.tt-hero__place {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.tt-hero__location {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 6px rgba(0,0,0,.25);
    transition: font-size .22s ease-out;
}
.tt-hero__chevron {
    width: 14px;
    height: 14px;
    flex: none;
    color: rgba(255,255,255,.7);
}
.tt-hero__gear {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background-color .15s ease, transform .15s ease;
}
.tt-hero__gear:hover { background: rgba(255,255,255,.25); }
.tt-hero__gear:active { transform: scale(.95); }
.tt-hero__gear svg { width: 16px; height: 16px; }

/* ── Mobile / tablet: sticky collapsing brand band (< 1024px) ──────────
   Scroll-native collapse: the height is a CONSTANT 106px and `top: -53px`
   lets the top half scroll away naturally, pinning the bottom 53px — the
   collapse tracks the scroll pixel-for-pixel with no thresholds.
   The old version toggled height 106↔53 (with a transition) at scrollY > 53,
   which reflowed the entire feed by 53px at the flip — the visible "jump"
   when scrolling back up — and could oscillate around the boundary because
   the height change itself moved the positions the threshold compared.
   .is-compact (tt-brand-band.js) now only restyles the INNER content for the
   pinned state; it must never touch the outer height. */
@media (max-width: 1023px) {
    .tt-hero {
        position: sticky;
        top: -53px;
        z-index: 40;
        width: 100%;
        /* Tablet: the band caps at the single-column width like every other
           band, so the whole page reads as one centered phone column. On
           phones (< 600px) the cap has no effect — still full-bleed. */
        max-width: var(--tt-single-col-max, 600px);
        margin-inline: auto;
        height: 106px;
        transition: box-shadow .22s ease-out;
    }
    /* No admin-bar offset here: the bar is hidden below 1024px
       (see theme-base.css), so the band sits flush at top: 0. */

    .tt-hero.is-compact {
        box-shadow: 0 1px 3px rgba(0,0,0,.08);
    }
    /* Pinned: content becomes a single row inside the visible bottom 53px.
       The inner box is absolute, so this reflows nothing outside the hero. */
    .tt-hero.is-compact .tt-hero__inner {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 53px;
    }
    .tt-hero.is-compact .tt-hero__logo { width: 32px; height: 32px; }
    .tt-hero.is-compact .tt-hero__brand { display: none; }
    .tt-hero.is-compact .tt-hero__chevron { display: none; }
    .tt-hero.is-compact .tt-hero__location { font-size: 15px; }
}

/* ── Desktop: rounded card in the sidebar (>= 1024px) ────────────────── */
@media (min-width: 1024px) {
    .tt-hero {
        height: 170px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    /* Card layout: brand + location stacked at the bottom-left. */
    .tt-hero__inner {
        display: block;
        padding: 16px 56px 16px 16px;
    }
    .tt-hero__meta {
        position: absolute;
        left: 16px;
        right: 56px;
        bottom: 14px;
    }
    .tt-hero__brand {
        font-size: 10px;
        font-weight: 500;
        letter-spacing: .14em;
        color: rgba(255,255,255,.8);
        margin-bottom: 6px;
    }
    .tt-hero__location { font-size: 17px; }

    /* Mobile-only affordances */
    .tt-hero__logo,
    .tt-hero__chevron { display: none; }

    /* Gear pinned to the card's top-right */
    .tt-hero__gear {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        background: rgba(0,0,0,.4);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    .tt-hero__gear:hover { background: rgba(0,0,0,.5); }
    .tt-hero__gear svg { width: 18px; height: 18px; }
}
/* ── DAILY DIGEST ──────────────────────────────────────────────────────
 * Markup: todo-core/app/view/front/digest.phtml (single source, all 9 pages).
 * Channels render as a 3-up grid of mini-cards: coloured round icon above a
 * two-line label. auto-fit so 1 or 2 configured channels still fill the row.
 */
.tt-digest {
    background: var(--tt-muted, #f5f5f5);
    border: 1px solid var(--tt-border, #e5e5e5);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    animation: tdFadeUp 0.5s ease both;
    animation-delay: 0.1s;
}

.tt-digest__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.tt-digest__bell {
    font-size: 16px; /* tt_icon svgs are sized in em */
    color: var(--tt-muted-foreground, #666666);
    flex: none;
}
.tt-digest__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--tt-foreground, #171717);
}

.tt-digest__desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.375;
    color: var(--tt-muted-foreground, #666666);
}
.tt-digest__desc-dim { opacity: .75; }

.tt-digest__channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.tt-digest__channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 4px 8px;
    border-radius: 12px;
    background: var(--tt-background, #ffffff);
    border: 1px solid var(--tt-border, #e5e5e5);
    text-decoration: none;
    transition: border-color .15s ease;
}
.tt-digest__channel:hover,
.tt-digest__channel:focus-visible {
    border-color: rgba(23, 23, 23, .4);
    text-decoration: none;
}
.tt-digest__channel:active { transform: scale(.97); }

.tt-digest__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    color: #ffffff;
    font-size: 18px; /* tt_icon svgs are sized in em */
}
.tt-digest__icon--whatsapp { background: #25D366; }
.tt-digest__icon--telegram { background: #229ED9; }

.tt-digest__label {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--tt-foreground, #171717);
    opacity: .8;
}

/* ── PWA INSTALL CARD ──────────────────────────────────────────────────
 * Markup: todo-core/app/view/front/sidebar-body.phtml (.tt-pwa-card)
 * "Get the App Experience" — mirrors the Daily Digest card (muted box) with a
 * dark full-width button. Starts hidden; the todo-today-pwa plugin's script
 * reveals the whole card only when an install path exists. The button + iOS
 * modal behaviour is that plugin's; the modal's own CSS lives there too.
 */
.tt-pwa-card {
    background: var(--tt-muted, #f5f5f5);
    border: 1px solid var(--tt-border, #e5e5e5);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 15px;
    animation: tdFadeUp 0.5s ease both;
    animation-delay: 0.15s;
}
/* Belt-and-braces: the plugin script toggles [hidden], but if the script never
   loads the card must stay hidden rather than flash a dead button. */
.tt-pwa-card[hidden] { display: none; }

.tt-pwa-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.tt-pwa-card__icon {
    width: 16px;
    height: 16px;
    color: var(--tt-muted-foreground, #666666);
    flex: none;
}
.tt-pwa-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--tt-foreground, #171717);
}
.tt-pwa-card__desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.375;
    color: var(--tt-muted-foreground, #666666);
}
.tt-pwa-card__desc-dim { opacity: .75; }

.tt-pwa-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--tt-foreground, #171717);
    color: var(--tt-background, #ffffff);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}
.tt-pwa-card__btn:hover { background: #2d2d2d; }
.tt-pwa-card__btn:active { transform: scale(.98); }
.tt-pwa-card__btn svg { width: 16px; height: 16px; flex: none; }

/* ── JOIN BANNER + POPUP ───────────────────────────────────────────────
 * Markup: todo-core/app/view/front/join-banner.phtml
 * A slim one-liner above the feed carrying the Daily Digest tagline + a
 * "Join Now" link that opens the digest in a compact centred popup.
 */
.tt-join-banner {
    --tt-join-accent: #047857;      /* emerald link / accent */
    --tt-join-accent-tint: #ecfdf5; /* soft emerald wash */
    position: relative;
    background: var(--tt-join-accent-tint);
    border-radius: 5px;
    /* Extra right padding reserves the corner for the absolute close button. */
    padding: 12px 40px 12px 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    animation: tdFadeUp 0.5s ease both;
}

/* The banner is a feed "band": align it with #tt-event-sections at every width
 * (15px inset desktop; capped + centred on tablet/phone) so it never stretches
 * full-bleed. See home-page.css BAND GUTTERS. */
.tt-listing-shell #tt-join-banner {
    box-sizing: border-box;
    width: calc(100% - 30px);
    margin: 15px auto;
}
@media (max-width: 1023px) {
    .tt-listing-shell #tt-join-banner {
        max-width: calc(var(--tt-single-col-max, 600px) - 30px);
    }
}

.tt-join-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--tt-foreground, #171717);
}
.tt-join-banner__text strong { font-weight: 600; }
.tt-join-banner__dim { color: var(--tt-muted-foreground, #666666); }

.tt-join-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin-left: 3px;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--tt-join-accent, #047857);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    white-space: nowrap;
}
.tt-join-banner__cta:hover { opacity: .85; }
.tt-join-banner__cta svg { flex: none; }

.tt-join-banner__close {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px; /* tt_icon svgs are sized in em */
    color: var(--tt-muted-foreground, #666666);
    transition: background .15s ease;
}
.tt-join-banner__close:hover { background: rgba(23, 23, 23, .06); }

/* Popup: a compact centred card (all screen sizes) whose body is the canonical
 * Daily Digest box. The digest's own box chrome is stripped here so it sits
 * cleanly inside the card instead of a box-in-a-box. */
.tt-joinpop {
    position: fixed;
    inset: 0;
    z-index: 10001; /* above the preferences popup (10000) + bottom nav (9999) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.tt-joinpop--active { opacity: 1; pointer-events: auto; }
.tt-joinpop__card {
    position: relative;
    width: 360px;
    max-width: 100%;
    background: var(--tt-background, #ffffff);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
    transform: translateY(12px) scale(.98);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.tt-joinpop--active .tt-joinpop__card { transform: none; }
.tt-joinpop__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* tt_icon svgs are sized in em */
    color: var(--tt-muted-foreground, #666666);
    transition: background .15s ease;
}
.tt-joinpop__close:hover { background: rgba(23, 23, 23, .06); }
/* Strip the digest's own card chrome inside the popup — the card is the box. */
/* Strip the digest's own card chrome inside the popup — the card is the box.
   The .tt-listing-shell qualifier out-specifies home-page.css's tablet rule
   (.tt-listing-shell .tt-digest{width:calc(100% - 30px);max-width:570px}) which
   is meant for the SIDEBAR digest and otherwise shrinks the popup one by 30px. */
.tt-listing-shell .tt-joinpop .tt-digest {
    width: 100%;
    max-width: none;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    animation: none;
}
/* Force 3 equal columns: the digest's auto-fit grid spawns empty tracks in the
   wider popup, clustering the buttons left with dead space on the right. */
.tt-joinpop .tt-digest__channels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* POPUP */
.td-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000; /* Above bottom nav (z-index: 9999) */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.td-popup-overlay--active { opacity: 1; pointer-events: auto; }
.td-popup-overlay--active .td-popup-card { transform: translateY(0) scale(1); opacity: 1; }

.td-popup-card {
    background: #fff;
    border-radius: 24px;
    width: 500px;
    max-width: 92vw;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    display: flex;
    flex-direction: column;
}
.td-popup__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px 10px;
    border-bottom: 1px solid #f0eeea;
}
.td-popup__close {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none; background: transparent;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    color: #1a1a1a; font-size: 16px;
    margin: 0;
    padding: 0;
}
.td-popup__close:hover { background: #f0f0f0; }
.td-popup__close .td-popup__icon--back { display: none !important; }
.td-popup__close .td-popup__icon--close { display: inline-block !important; }
.td-popup__title { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; }

/* Full-screen slide-up sheet on PHONES only (< 600px, the single-column
   cap — media queries can't read --tt-single-col-max). Tablets keep the
   desktop centered card: a 100%-wide sheet looks broken next to the capped
   600px page column. */
@media (max-width: 599px) {
    /* On mobile: slide up from bottom */
    .td-popup-overlay {
        align-items: flex-end;
        justify-content: center;
    }
    .td-popup-card {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        transform: translateY(100%);
        opacity: 1;
    }
    .td-popup-overlay--active .td-popup-card {
        transform: translateY(0);
    }
    .td-popup__close .td-popup__icon--back { display: inline-block !important; }
    .td-popup__close .td-popup__icon--close { display: none !important; }
}

.td-popup__tabs { display: flex; gap: 8px; padding: 14px 24px; border-bottom: 1px solid var(--tt-border, #e5e5e5); }
/* Pill tab. NB: vertical padding is load-bearing — the old rule had
   `padding: 0 20px` and relied on Flatsome's global button height, so when
   the parent theme was removed the pill collapsed onto its text. */
.td-popup__tab {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0;
    padding: 10px 18px;
    border: 0; border-radius: 999px;
    font-size: 14px; font-weight: 600; line-height: 1.2;
    background: var(--tt-secondary, #f5f5f5); color: var(--tt-foreground, #171717);
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.td-popup__tab:hover { background: var(--tt-border, #e5e5e5); }
.td-popup__tab svg { width: 15px; height: 15px; flex: none; }
.td-popup__tab--active { background: var(--tt-primary, #171717); color: #fff; }
.td-popup__tab--active:hover { background: #2d2d2d; }

.td-popup__body {
    flex: 1; overflow-y: auto;
    padding: 4px 14px 16px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.td-popup__tab-content { display: none; }
.td-popup__tab-content--active { display: block; }

.td-popup__country {
    display: flex; align-items: center;
    padding: 14px 10px;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}
.td-popup__country:hover { background: #fafaf8; border-color: #1a1a1a; }
.td-popup__country:has(+ .td-popup__cities .td-popup__city--selected) { background: #fafaf8; }
.td-popup__country-flag {
    width: 28px;
    height: 20px;
    margin-right: 14px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.td-popup__country-info { flex: 1; }
.td-popup__country-name { font-size: 15px; font-weight: 600; }
.td-popup__country-meta { font-size: 13px; color: #666666; margin-top: 2px; }
.td-popup__country-chevron { font-size: 18px; color: #666666; transition: transform 0.3s ease; }
.td-popup__country--expanded .td-popup__country-chevron { transform: rotate(180deg); }

.td-popup__cities { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.td-popup__cities--open { max-height: 500px; }

.td-popup__city {
    position: relative;
    display: flex; align-items: center;
    padding: 12px 10px 12px 28px;
    cursor: pointer; border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}
.td-popup__city:hover { background: #fafaf8; border-color: #1a1a1a; }
.td-popup__city--selected { background: #fafaf8; border-color: #1a1a1a; }
.td-popup__city-icon { font-size: 20px; margin-right: 12px; }
.td-popup__city-name { font-size: 14.5px; font-weight: 500; flex: 1; }
.td-popup__city-count { font-size: 13px; color: #9a9a9a; transition: opacity 0.15s ease; }

/* "Check In" reveal — a dark pill that slides in on hover so the user
   understands the row is directly clickable. Absolutely positioned at the
   right edge, over the count, which fades out while hovering. */
.td-popup__city-checkin {
    position: absolute; top: 50%; right: 10px;
    transform: translateY(-50%) translateX(10px);
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #1a1a1a; color: #fff;
    font-size: 13px; font-weight: 600; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.td-popup__city-checkin svg { width: 14px; height: 14px; flex: none; }
.td-popup__city:hover .td-popup__city-checkin {
    opacity: 1; transform: translateY(-50%) translateX(0);
}
.td-popup__city:hover .td-popup__city-count { opacity: 0; }

.td-popup__vibes-placeholder { text-align: center; padding: 40px 20px; color: #9a9a9a; font-size: 14px; }

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

/* Was 900px — realigned to 1023px so the sidebar box drops its desktop
   border/sticky at the same width the layout goes single-column. */
@media (max-width: 1023px) {
    .td-sidebar {
        position: relative; height: auto;
        border-right: none;
        border-bottom: 1px solid #f0eeea;
    }
}



/******************
MMR MERGED: /wp-content/plugins/todo-today-assets/css/tt-cards.css
***************/

/* ============================================================
   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: 16px;
	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: 16px;
	background: #050505;
	color: #fff !important;
	scroll-snap-align: start;
	overflow: hidden;
	transition: transform 0.2s ease-out;
}

.tt-retreat-card-pill {
	align-self: flex-start;
	margin-bottom: 12px;
	padding: 7px 11px;
	border-radius: 999px;
	background: #ff3b6b;
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.tt-retreat-card-date {
	margin-bottom: 10px;
	color: #facc15;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.08em;
	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;
	}
}

/* ──────── 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;
}

/* Base for the Top Picks card (.tt-h-card--highlight also carries .tt-h-card).
   Width is set per-variant (see .tt-h-track .tt-h-card--highlight); this rule
   only provides the shared shell — clipping, scroll-snap, hover transition. */
.tt-h-card {
	flex: 0 0 auto;
	border-radius: 16px;
	background: #f5f5f5;
	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;
}
.tt-h-card:hover {
	transform: scale(1.01);
}
.tt-h-card:active {
	transform: scale(0.98);
}

.tt-h-card--highlight {
	border: none;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
/* Top Picks width — 2 tiers at the site's 600px boundary (mobile vs
   tablet+desktop, which share the same size). The .tt-h-track ancestor gives
   these specificity (0,2,0) so they beat the generic .tt-h-card mobile width
   rules (0,1,0) that also match the highlight card. Single-event "You May Also
   Like" reuses .tt-h-card--highlight outside .tt-h-track, so it's unaffected. */
.tt-h-track .tt-h-card--highlight {
	width: 200px;
}
@media (min-width: 600px) {
	.tt-h-track .tt-h-card--highlight {
		width: 280px;
	}
}

.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: auto 0 0 0;
	height: 75%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.50) 50%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}
.tt-highlight-overlay-text {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 10px;
	color: #fff;
	z-index: 2;
}
@media (min-width: 600px) {
	.tt-highlight-overlay-text {
		padding: 12px;
	}
}
.tt-highlight-title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 4px;
}
@media (min-width: 600px) {
	.tt-highlight-title {
		font-size: 16px;
	}
}
.tt-highlight-meta {
	font-size: 10px;
	line-height: 1.4;
	display: flex;
	align-items: center;
	gap: 4px;
	color: rgba(255, 255, 255, 0.85);
}
@media (min-width: 600px) {
	.tt-highlight-meta {
		font-size: 13px;
	}
}
.tt-highlight-meta + .tt-highlight-meta {
	margin-top: 4px;
}
/* Top Picks (highlight) card — Lovable overrides for the smaller portrait card.
   NOTE: Lovable hides this heart on mobile (hidden lg:flex) — we keep it visible
   on all sizes so phone users can still save. Higher specificity (0,2,0) so these
   beat the base .tt-label-badge / .tt-heart-btn 640px offsets at every breakpoint. */
.tt-h-card--highlight .tt-heart-btn {
	top: 5px;
	right: 5px;
	width: 28px !important;
	height: 28px !important;
}
.tt-h-card--highlight .tt-label-badge {
	top: 8px;
	left: 8px;
	max-width: 90%;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 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;
}

/* 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;
}
/* Mobile (< 600px, the Top Picks card's small tier): shrink the badge text. */
@media (max-width: 599px) {
	.tt-label-badge {
		padding: 3px 8px;
		font-size: 10px;
	}
}
/* List card variant — full-width label band across the TOP of the image.
   Top corners rounded to match the image (12px); higher-specificity selector
   so it beats the base .tt-label-badge top/left offsets at every breakpoint. */
.tt-list-card-img-wrap .tt-label-badge--list-top {
	display: block;
	top: 0;
	bottom: auto;
	left: 0;
	right: 0;
	width: 100%;
	padding: 4px 8px;
	border-radius: 12px 12px 0 0;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
@media (min-width: 640px) {
	.tt-list-card-img-wrap .tt-label-badge--list-top {
		font-size: 11px;
	}
}



.tt-meta-svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	vertical-align: middle;
}

/* ──────── 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);
}

/* Labeled cards — subtle tint keyed to the label colour (Lovable EventListCard):
   a soft left→white gradient, a light border, and a faint colored shadow.
   --tt-label-color is set inline from ev.label.color in TTCards.listCard.
   Cards with no label keep the flat gray defaults above. */
.tt-list-card--labeled {
	background: linear-gradient(to right, color-mix(in srgb, var(--tt-label-color) 8%, #fff), #fff);
	border-color: color-mix(in srgb, var(--tt-label-color) 30%, #fff);
	box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--tt-label-color) 15%, transparent);
}

/* 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);
}
/* Heart sits bottom-right on the horizontal list/daypart cards only.
   Other cards that reuse .tt-list-card-heart (e.g. experience cards) keep
   the default top-right position above. */
.tt-list-card .tt-list-card-heart {
	top: auto;
	bottom: 6px;
}
@media (min-width: 640px) {
	.tt-list-card .tt-list-card-heart {
		top: auto;
		bottom: 8px;
	}
}
.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;
	color: #171717cc;
}
@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: auto !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-v-list .tt-v-card-img-wrap { width: 74px; height: 74px; }
	.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; }
}


/* 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;
	/* Sit directly above the mobile bottom-nav pill (~61px tall + its 8px
	   bottom inset) instead of taking the bottom slot itself. */
	bottom: calc(70px + env(safe-area-inset-bottom, 0px));
	z-index: 40;
	padding: 8px 12px;
	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: 10px 10px 10px 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);
	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;
}

/* Hide the mobile clones the instant the desktop sidebar appears. The shell
   shows .tt-page-shell__side at min-width:1024px, so these must hide at the
   SAME 1024px — using 1025px left a 1px window (exactly 1024px wide) where the
   sidebar and the clone both showed, doubling the digest + install card. */
@media (min-width: 1024px) {
	.tt-single-digest-mobile,
	.tt-single-pwa-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 ──────── */
/* Title row */
.tt-single-title-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 6px;
}

.tt-single-title-row .tt-single-title {
	flex: 1;
	min-width: 0;
	margin: 0;
}

.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;
}

/* Compact booking button mirrored inside the price meta row's right slot.
   Desktop only — on mobile the full-width .tt-single-book is used instead. */
.tt-single-book-inline {
	display: none;
}

@media (min-width: 1024px) {
	.tt-single-book-inline {
		flex-shrink: 0;
		margin-left: auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 10px 20px;
		background: var(--tt-foreground, #171717);
		color: #fff;
		border: none;
		border-radius: 999px;
		font-size: 14px;
		font-weight: 600;
		text-decoration: none;
		cursor: pointer;
		white-space: nowrap;
		transition: all 0.2s ease;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	.tt-single-book-inline: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-inline:active {
		transform: scale(0.98);
	}

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

	/* Full-width button is replaced by the inline one on desktop. */
	.tt-single-book--has-inline {
		display: 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;
	}

	/* Only when a 4th card actually exists: hold the row a sliver short of
	   three-up so that card peeks in and the shelf reads as scrollable.
	   36px = the three gaps, 64px = the peek. With exactly three cards the
	   rule above still fills the column — no dead space to scroll into. */
	.tt-single-related__list:has(> :nth-child(4)) .tt-single-related__card.tt-h-card--highlight {
		width: calc((100% - 36px - 64px) / 3);
	}
}

@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 — boxed like the Add to Calendar button (.tt-atc-btn) */
.tt-single-meta-ext-link {
	flex-shrink: 0;
	margin-left: auto;
	text-decoration: none;
}

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

/* ──────── 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;
}

@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;
	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.5;
	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;
}

/* ──────── BROWSE CATEGORIES RAIL ────────
   Home feed section "browse_categories", drawn by TTCards.renderCategoryRail.
   Same tile design as the search page's category grid (.tt-srp-category-card),
   but fixed-width and laid out in the shared horizontal rail instead of a grid.
   The gradient itself is an inline style (tt_category_color, stable per slug);
   everything here is chrome + white text. */
.tt-cat-card {
	position: relative;
	flex: 0 0 auto;
	width: 150px;
	min-height: 116px;
	display: flex !important;
	flex-direction: column;
	justify-content: flex-end;
	padding: 16px !important;
	border-radius: 16px !important;
	border: 0 !important;
	overflow: hidden;
	scroll-snap-align: start;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.tt-cat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16) !important;
	text-decoration: none !important;
}

.tt-cat-card:active {
	transform: translateY(0);
}

/* Emoji watermark, bottom-right — like the search tiles and hero cards. */
.tt-cat-card__emoji {
	position: absolute;
	right: -6px;
	bottom: -10px;
	font-size: 72px;
	line-height: 1;
	opacity: 0.28;
	pointer-events: none;
	user-select: none;
}

.tt-cat-card__name {
	position: relative;
	z-index: 1;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 !important;
	line-height: 1.25 !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	text-transform: none !important;
	font-family: inherit !important;
}

/* ──────── Single event: action panel under the title ──────── */
.tt-single-page .tt-single-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 6px;
}

.tt-single-page .tt-single-action {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: var(--tt-foreground, #171717);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.tt-single-page .tt-single-action:hover,
.tt-single-page .tt-single-action:focus {
	background: #2d2d2d;
	color: #fff;
}

.tt-single-page .tt-single-action--icon {
	width: 48px;
	padding: 0;
}

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

.tt-single-more {
	position: relative;
}

.tt-single-more__backdrop,
.tt-single-more__menu {
	display: none;
}

.tt-single-more.is-open .tt-single-more__menu {
	display: block;
}

.tt-single-more__menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 30;
	min-width: 210px;
	padding: 6px;
	box-sizing: border-box;
	border: 1px solid var(--tt-border, #e5e5e5);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.tt-single-page .tt-single-more__item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--tt-foreground, #171717);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

.tt-single-page .tt-single-more__item:hover,
.tt-single-page .tt-single-more__item:focus {
	background: var(--tt-muted, #f5f5f5);
	color: var(--tt-foreground, #171717);
}

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

/* Black icon buttons at the end of the date and location rows */
.tt-single-meta-row .tt-atc-btn {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: var(--tt-foreground, #171717);
	color: #fff !important;
}

.tt-single-meta-row .tt-atc-btn:hover {
	background: #2d2d2d;
}

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

@media (max-width: 767px) {
	.tt-single-more.is-open .tt-single-more__backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 100040;
		background: rgba(0, 0, 0, 0.45);
	}

	.tt-single-more__menu {
		position: fixed;
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 100050;
		min-width: 0;
		padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px));
		border: 0;
		border-radius: 18px 18px 0 0;
	}

	.tt-single-page .tt-single-more__item {
		min-height: 52px;
		font-size: 16px;
	}
}

/* ──────── Single event: Report event pop-up ──────── */
#tt-report-modal {
	position: fixed;
	inset: 0;
	z-index: 100100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	overflow-y: auto;
	background: rgba(0, 0, 0, 0.55);
	color: #141414;
}

#tt-report-modal .tt-report__panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	max-width: 440px;
	margin: auto;
	padding: 20px 24px 28px;
	box-sizing: border-box;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

#tt-report-modal h2,
#tt-report-modal p {
	margin: 0;
	color: inherit;
}

#tt-report-modal h2 {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
}

#tt-report-modal .tt-report__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

#tt-report-modal .tt-report__head--end {
	justify-content: flex-end;
}

#tt-report-modal .tt-report__title-grow {
	flex: 1;
}

#tt-report-modal .tt-report__heading {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

#tt-report-modal .tt-report__heading p {
	font-size: 14px;
	color: #6b655e;
}

#tt-report-modal .tt-report__icon-btn {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #141414;
	cursor: pointer;
}

#tt-report-modal .tt-report__reasons {
	display: flex;
	flex-direction: column;
}

#tt-report-modal .tt-report__reason {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 0 2px;
	border: 0;
	border-bottom: 1px solid #edebe8;
	border-radius: 0;
	background: transparent;
	color: #141414;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	text-align: left;
	cursor: pointer;
}

#tt-report-modal .tt-report__reason:last-child {
	border-bottom: 0;
}

#tt-report-modal .tt-report__reason .tt-icon {
	flex: none;
	width: 18px;
	height: 18px;
	color: #8a847d;
}

#tt-report-modal .tt-report__chosen {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f4f3f1;
	font-size: 15px;
	font-weight: 600;
}

#tt-report-modal .tt-report__chosen .tt-icon {
	flex: none;
	width: 18px;
	height: 18px;
}

#tt-report-modal .tt-report__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#tt-report-modal .tt-report__field label {
	margin: 0;
	color: #3d3a37;
	font-size: 14px;
	font-weight: 600;
}

#tt-report-modal .tt-report__field textarea {
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 12px 14px;
	box-sizing: border-box;
	border: 1px solid #dfdcd8;
	border-radius: 10px;
	box-shadow: none;
	color: #141414;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	resize: none;
}

#tt-report-modal .tt-report__error {
	color: #c62828;
	font-size: 14px;
}

#tt-report-modal .tt-report__error[hidden] {
	display: none;
}

#tt-report-modal .tt-report__primary {
	width: 100%;
	height: 54px;
	padding: 0 16px;
	border: 0;
	border-radius: 12px;
	background: var(--tt-foreground, #171717);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

#tt-report-modal .tt-report__primary:hover {
	background: #2d2d2d;
}

#tt-report-modal .tt-report__primary:disabled {
	cursor: default;
	opacity: 0.65;
}

#tt-report-modal .tt-report__done {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 0 8px 8px;
	text-align: center;
}

#tt-report-modal .tt-report__done h2 {
	font-size: 22px;
}

#tt-report-modal .tt-report__done p {
	color: #6b655e;
	font-size: 15px;
	line-height: 1.5;
}

#tt-report-modal .tt-report__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #dff5e6;
	color: #16a34a;
}

#tt-report-modal .tt-report__check .tt-icon {
	width: 30px;
	height: 30px;
}

@media (max-width: 767px) {
	#tt-report-modal {
		align-items: flex-end;
		padding: 0;
	}

	#tt-report-modal .tt-report__panel {
		max-width: none;
		margin: auto 0 0;
		padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px));
		border-radius: 20px 20px 0 0;
		box-shadow: none;
	}
}

#tt-report-modal .tt-report__count {
	align-self: flex-end;
	color: #8a847d;
	font-size: 12px;
}



/******************
MMR MERGED: /wp-content/plugins/todo-today-assets/css/channels-to-follow.css
***************/

/**
 * Channels to Follow — card section.
 * Shared by the home "Channels to Follow" and channel-page "You may also like".
 */

/* Header matches the home feed's .tt-section-* styling so this section reads
   as one of the feed sections (Upcoming Retreats, etc.). */
.tt-ctf {
	margin: 0 0 32px;
}

.tt-ctf__header {
	margin-bottom: 12px;
}

.tt-ctf__title {
	font-size: 24px;
	font-weight: 600;
	color: var( --tt-foreground, #171717 );
	letter-spacing: -0.025em;
	line-height: 1.2;
	margin: 0;
}

.tt-ctf__emoji {
	margin-right: 8px;
	font-size: inherit;
}

.tt-ctf__subtitle {
	font-size: 14px;
	font-weight: 400;
	color: #666666;
	line-height: 1.4;
	margin: 2px 0 0;
}

@media (max-width: 639px) {
	.tt-ctf__title { font-size: 22px; }
	.tt-ctf__emoji { font-size: 18px; }
	.tt-ctf { margin-bottom: 24px; }
}

.tt-ctf__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 6px;
	scrollbar-width: none;
}

.tt-ctf__track::-webkit-scrollbar {
	display: none;
}

.tt-ctf-card {
	flex: 0 0 150px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #f5f5f5;
	border: 1px solid #f5f5f5;
	border-radius: 24px;
	padding: 16px 12px;
	text-align: center;
	box-shadow: 0 2px 2px rgba( 0, 0, 0, 0.04 );
}

.tt-ctf-card__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	text-decoration: none;
	color: inherit;
}

.tt-ctf-card__link:hover,
.tt-ctf-card__link:focus,
.tt-ctf-card__link:hover .tt-ctf-card__role,
.tt-ctf-card__link:hover .tt-ctf-card__name {
	text-decoration: none;
}

.tt-ctf-card__avatar {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 10px;
	background: #f3f4f6;
	border: 1px solid #fff;
}

.tt-ctf-card__avatar-img,
.tt-ctf-card__avatar .tt-initial-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 35px;
	font-weight: 600;
	color: #fff;
}

.tt-ctf-card__role {
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #666666;
	font-weight: 600;
	margin-bottom: 3px;
}

.tt-ctf-card__name {
	font-size: 14px;
	font-weight: 700;
	color: #171717;
	line-height: 1.5;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 100%;
}

.tt-ctf-follow {
	margin-top: auto;
	width: 100%;
	box-sizing: border-box;
	display: block;
	text-align: center;
	border: none;
	background: var( --tt-primary, #171717 );
	color: var( --tt-primary-foreground, #ffffff );
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	padding: 9px 0;
	border-radius: 999px;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.tt-ctf-follow.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.tt-ctf-follow:hover {
	background: #2d2d2d;
	color: var( --tt-primary-foreground, #ffffff );
}

.tt-ctf-follow:active {
	transform: scale( 0.96 );
}

.tt-ctf-follow.is-following {
	background: #fff;
	color: #171717;
}

/* Header with a "View all" link (home rail → /{location}/creators/).
   The link itself is styled by .tt-section-view-all in tt-cards.css. */
.tt-ctf__header--with-link {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.tt-ctf__header--with-link .tt-ctf__heading {
	min-width: 0;
}

.tt-ctf__header--with-link .tt-section-view-all {
	flex: 0 0 auto;
	margin-top: 4px;
}

/* Creators directory page (/{location}/creators/) — same cards, laid out as a
   wrapping grid instead of the horizontal rail. */
.tt-ctf__grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 150px, 1fr ) );
	gap: 12px;
}

.tt-ctf__grid .tt-ctf-card {
	flex: 1 1 auto;
}

@media (max-width: 400px) {
	.tt-ctf__grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

.tt-creators__empty {
	margin: 0;
	padding: 24px 0;
	font-size: 15px;
	color: #666666;
	text-align: center;
}

