/* Luminous Events 1.8.0 — front-end styles */

.lmec {
	--lmec-accent: #4f6bd8;
	--lmec-bg: #ffffff;
	--lmec-fg: #1f2430;
	--lmec-muted: #69707d;
	--lmec-border: #e3e6ec;
	--lmec-cell: #ffffff;
	--lmec-cell-other: #f6f7f9;
	--lmec-today: #eef1fb;
	--lmec-chip-bg: #f2f4f9;
	color: var(--lmec-fg);
	background-color: var(--lmec-bg);
	font-size: 15px;
	line-height: 1.45;
}

/* The toolbar sits on the wrapper's own background rather than the theme's,
   so a dark calendar on a light page still reads correctly. */
.lmec-calendar, .lmec-sidebar {
	padding: 10px;
	border-radius: 8px;
}
.lmec-label { color: var(--lmec-fg); }
.lmec-mode-wrap { background-color: transparent; padding: 0; }

/* Dark mode: automatic via media query, manual via the network's shared
   dark class (.fanrev-is-dark, with .fanrev-dark still honored). */
@media (prefers-color-scheme: dark) {
	.lmec {
		--lmec-bg: #181b22;
		--lmec-fg: #e7e9ee;
		--lmec-muted: #9aa1ad;
		--lmec-border: #2c313c;
		--lmec-cell: #1d212a;
		--lmec-cell-other: #171a21;
		--lmec-today: #232a3d;
		--lmec-chip-bg: #232733;
	}
}
.fanrev-is-dark .lmec,
.fanrev-dark .lmec {
	--lmec-bg: #181b22;
	--lmec-fg: #e7e9ee;
	--lmec-muted: #9aa1ad;
	--lmec-border: #2c313c;
	--lmec-cell: #1d212a;
	--lmec-cell-other: #171a21;
	--lmec-today: #232a3d;
	--lmec-chip-bg: #232733;
}

/* ---------- Toolbar ---------- */
.lmec-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 12px;
}
.lmec-nav { display: flex; gap: 4px; }
.lmec-btn {
	background: var(--lmec-chip-bg);
	color: var(--lmec-fg);
	border: 1px solid var(--lmec-border);
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}
.lmec-btn:hover { border-color: var(--lmec-accent); }
.lmec-btn:focus-visible { outline: 2px solid var(--lmec-accent); outline-offset: 1px; }
.lmec-viewbtn.lmec-active {
	background: var(--lmec-accent);
	border-color: var(--lmec-accent);
	color: #fff;
}
.lmec-label { font-weight: 700; font-size: 17px; }
.lmec-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.lmec-views { display: inline-flex; gap: 2px; }
.lmec-filter {
	background: var(--lmec-cell);
	color: var(--lmec-fg);
	border: 1px solid var(--lmec-border);
	border-radius: 6px;
	padding: 4px 8px;
	font-size: 14px;
}
.lmec-subscribe { font-size: 13px; color: var(--lmec-accent); text-decoration: none; }
.lmec-subscribe:hover { text-decoration: underline; }

.lmec-loading .lmec-body { opacity: 0.5; transition: opacity 0.15s; pointer-events: none; }

/* ---------- Month grid ---------- */
.lmec-calendar { overflow-x: auto; }
.lmec-grid {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	background: var(--lmec-bg);
	min-width: 560px;
}
.lmec-grid th {
	text-align: center;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--lmec-muted);
	padding: 6px 4px;
	border: 1px solid var(--lmec-border);
	background: var(--lmec-cell-other);
}
.lmec-day {
	vertical-align: top;
	border: 1px solid var(--lmec-border);
	background: var(--lmec-cell);
	min-height: 96px;
	height: 96px;
	padding: 4px;
}
.lmec-day-other { background: var(--lmec-cell-other); }
.lmec-day-other .lmec-daynum { opacity: 0.45; }
.lmec-day-today { background: var(--lmec-today); box-shadow: inset 0 2px 0 var(--lmec-accent); }
.lmec-daynum { display: block; font-size: 12px; font-weight: 700; color: var(--lmec-muted); margin-bottom: 3px; }

.lmec-chips { display: flex; flex-direction: column; gap: 2px; }
.lmec-chip {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	padding: 2px 5px 2px 7px;
	border-left: 3px solid var(--chip, var(--lmec-accent));
	background: var(--lmec-chip-bg);
	border-radius: 3px;
	color: var(--lmec-fg);
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.lmec-chip:hover { text-decoration: underline; }
.lmec-chip-time { color: var(--lmec-muted); font-size: 11px; }
.lmec-chip-annual { font-style: italic; }
.lmec-chip-cont { opacity: 0.75; }
.lmec-hidden-chips { display: none; }
.lmec-hidden-chips .lmec-chip { display: block; }
.lmec-day.lmec-open .lmec-hidden-chips { display: flex; flex-direction: column; gap: 2px; }
.lmec-day.lmec-open .lmec-more { display: none; }
.lmec-more {
	background: none;
	border: none;
	color: var(--lmec-accent);
	font-size: 11px;
	cursor: pointer;
	padding: 1px 0;
	text-align: left;
}

/* ---------- Lists ---------- */
.lmec-list-date {
	margin: 18px 0 8px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--lmec-muted);
	border-bottom: 1px solid var(--lmec-border);
	padding-bottom: 4px;
}
.lmec-item {
	display: flex;
	gap: 12px;
	padding: 8px 8px 8px 10px;
	border-left: 3px solid var(--chip, var(--lmec-accent));
	background: var(--lmec-cell);
	border-radius: 4px;
	margin: 0 0 6px;
}
.lmec-item-when { min-width: 110px; font-size: 13px; color: var(--lmec-muted); padding-top: 2px; }
.lmec-item-main { flex: 1; min-width: 0; }
.lmec-item-title { font-weight: 700; color: var(--lmec-fg); text-decoration: none; }
.lmec-item-title:hover { color: var(--lmec-accent); }
.lmec-item-meta { font-size: 13px; color: var(--lmec-muted); margin-top: 2px; }
.lmec-empty { color: var(--lmec-muted); font-style: italic; }

/* Add to calendar */
.lmec-addcal { display: inline-block; font-size: 12px; margin-top: 3px; }
.lmec-addcal summary { cursor: pointer; color: var(--lmec-accent); list-style: none; }
.lmec-addcal summary::-webkit-details-marker { display: none; }
.lmec-addcal summary::after { content: " ▾"; font-size: 10px; }
.lmec-addcal-links { display: inline-flex; gap: 10px; margin-left: 8px; }
.lmec-addcal-links a { color: var(--lmec-fg); text-decoration: underline; }

/* ---------- Sidebar mini list ---------- */
.lmec-minilist { list-style: none; margin: 0; padding: 0; }
.lmec-mini {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 7px 0;
	border-bottom: 1px solid var(--lmec-border);
}
.lmec-mini:last-child { border-bottom: none; }
.lmec-mini-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 40px;
	background: var(--lmec-chip-bg);
	border-top: 3px solid var(--chip, var(--lmec-accent));
	border-radius: 4px;
	padding: 3px 4px 4px;
}
.lmec-mini-date b { font-size: 17px; line-height: 1.1; }
.lmec-mini-date i { font-size: 10px; font-style: normal; text-transform: uppercase; color: var(--lmec-muted); }
.lmec-mini-main { min-width: 0; }
.lmec-mini-main a { font-weight: 600; color: var(--lmec-fg); text-decoration: none; }
.lmec-mini-main a:hover { color: var(--lmec-accent); }
.lmec-mini-main em { display: block; font-style: normal; font-size: 12px; color: var(--lmec-muted); }
.lmec-viewall { margin: 8px 0 0; }
.lmec-viewall a { font-size: 13px; font-weight: 600; color: var(--lmec-accent); text-decoration: none; }
.lmec-viewall a:hover { text-decoration: underline; }

/* ---------- Single event card ---------- */
.lmec-single {
	background: var(--lmec-cell);
	border: 1px solid var(--lmec-border);
	border-top: 3px solid var(--chip, var(--lmec-accent));
	border-radius: 8px;
	padding: 16px;
	margin: 16px 0;
}
.lmec-single-title { margin: 0 0 10px; }
.lmec-single-title a { color: var(--lmec-fg); text-decoration: none; }
.lmec-single-title a:hover { color: var(--lmec-accent); }
.lmec-single-image { margin: 0 0 12px; }
.lmec-single-image img { max-width: 100%; height: auto; border-radius: 6px; }
.lmec-single-dates h4 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lmec-muted); }
.lmec-date-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	padding: 5px 0;
	border-bottom: 1px dashed var(--lmec-border);
}
.lmec-date-row:last-child { border-bottom: none; }
.lmec-past { margin-top: 6px; font-size: 13px; }
.lmec-past summary { cursor: pointer; color: var(--lmec-muted); }
.lmec-info {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 6px 12px;
	margin: 14px 0 0;
	font-size: 14px;
}
.lmec-info dt { font-weight: 700; color: var(--lmec-muted); }
.lmec-info dd { margin: 0; }
.lmec-info a { color: var(--lmec-accent); }
.lmec-map { font-size: 12px; margin-left: 6px; }
.lmec-tickets { margin: 14px 0 0; }
.lmec-ticket-btn {
	display: inline-block;
	background: var(--lmec-accent);
	color: #fff !important;
	font-weight: 700;
	padding: 8px 18px;
	border: none;
	border-radius: 6px;
	text-decoration: none;
	cursor: pointer;
	font-size: 15px;
}
.lmec-ticket-btn:hover { filter: brightness(1.08); }

/* ---------- Submission form ---------- */
.lmec-submit { max-width: 760px; }
.lmec-notice { padding: 10px 14px; border-radius: 6px; margin: 0 0 14px; font-weight: 600; }
.lmec-notice-success { background: #e2f5e6; color: #1e6f34; border: 1px solid #b7e2c0; }
.lmec-notice-error { background: #fbe4e4; color: #8f2020; border: 1px solid #efc0c0; }
@media (prefers-color-scheme: dark) {
	.lmec-notice-success { background: #16301d; color: #8fd9a2; border-color: #245534; }
	.lmec-notice-error { background: #341717; color: #e79a9a; border-color: #5c2626; }
}
.fanrev-is-dark .lmec-notice-success,
.fanrev-dark .lmec-notice-success { background: #16301d; color: #8fd9a2; border-color: #245534; }
.fanrev-is-dark .lmec-notice-error,
.fanrev-dark .lmec-notice-error { background: #341717; color: #e79a9a; border-color: #5c2626; }

.lmec-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.lmec-form-grid label, .lmec-form-grid .lmec-full { display: block; }
.lmec-full { grid-column: 1 / -1; }
.lmec-form-grid label span, .lmec-form-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 3px; }
.lmec-form-grid input[type="text"],
.lmec-form-grid input[type="url"],
.lmec-form-grid input[type="email"],
.lmec-form-grid input[type="date"],
.lmec-form-grid input[type="time"],
.lmec-form-grid select,
.lmec-form-grid textarea {
	width: 100%;
	box-sizing: border-box;
	background: var(--lmec-cell);
	color: var(--lmec-fg);
	border: 1px solid var(--lmec-border);
	border-radius: 6px;
	padding: 7px 9px;
	font-size: 14px;
}
.lmec-form-grid input:focus, .lmec-form-grid select:focus, .lmec-form-grid textarea:focus {
	outline: 2px solid var(--lmec-accent);
	outline-offset: 0;
	border-color: var(--lmec-accent);
}
.lmec-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.lmec-submit-actions { margin: 16px 0 4px; }
.lmec-submit-note { font-size: 12px; color: var(--lmec-muted); }

/* Date repeater (shared with admin) */
.lmec-date-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px;
	padding: 8px;
	background: var(--lmec-chip-bg, #f2f4f9);
	border: 1px solid var(--lmec-border, #e3e6ec);
	border-radius: 6px;
	margin: 0 0 6px;
}
.lmec-date-fields label { display: block; }
.lmec-date-fields label span { display: block; font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.lmec-date-fields input[type="date"], .lmec-date-fields input[type="time"] { min-width: 0; }
.lmec-allday { display: flex !important; align-items: center; gap: 4px; font-size: 13px; padding-bottom: 6px; }
.lmec-row-allday .lmec-time-field { opacity: 0.4; pointer-events: none; }
.lmec-remove-row {
	background: none;
	border: 1px solid var(--lmec-border, #e3e6ec);
	border-radius: 6px;
	color: #b23b3b;
	font-size: 16px;
	line-height: 1;
	padding: 5px 9px;
	cursor: pointer;
	margin-bottom: 3px;
}
.lmec-remove-row:hover { border-color: #b23b3b; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
	.lmec-form-grid { grid-template-columns: 1fr; }
	.lmec-item { flex-direction: column; gap: 2px; }
	.lmec-item-when { min-width: 0; }
	.lmec-info { grid-template-columns: 74px 1fr; }
	.lmec-tools { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.lmec * { transition: none !important; }
}

/* ---------- v1.1.0: featured, timezone, review ---------- */
.lmec-star { color: #d9a400; font-style: normal; }
.lmec-featured {
	background: var(--lmec-chip-bg);
	border: 1px solid var(--lmec-border);
	border-radius: 8px;
	padding: 6px 12px 10px;
	margin: 0 0 18px;
}
.lmec-featured-head { border-bottom: none; margin: 8px 0 6px; }
.lmec-featured .lmec-item { background: var(--lmec-bg); }
.lmec-tz-note { font-size: 12.5px; color: var(--lmec-muted); font-style: italic; margin: -2px 0 8px; }
.lmec-review-btn { background: transparent; color: var(--lmec-accent) !important; box-shadow: inset 0 0 0 2px var(--lmec-accent); }
.lmec-review-btn:hover { background: var(--lmec-accent); color: #fff !important; filter: none; }

/* ---------- v1.6.0: color mode ----------
   Order matters. The site default lands on the wrapper (.lmec.lmec-dark);
   a visitor's own choice lands on <html> (.lmec-force-dark) and is defined
   afterwards at equal specificity, so it wins. */

.lmec.lmec-dark {
	--lmec-bg: #181b22;
	--lmec-fg: #e7e9ee;
	--lmec-muted: #9aa1ad;
	--lmec-border: #2c313c;
	--lmec-cell: #1d212a;
	--lmec-cell-other: #171a21;
	--lmec-today: #232a3d;
	--lmec-chip-bg: #232733;
}
.lmec.lmec-light {
	--lmec-bg: #ffffff;
	--lmec-fg: #1f2430;
	--lmec-muted: #69707d;
	--lmec-border: #e3e6ec;
	--lmec-cell: #ffffff;
	--lmec-cell-other: #f6f7f9;
	--lmec-today: #eef1fb;
	--lmec-chip-bg: #f2f4f9;
}

/* Notices need the same treatment as the media-query block above. */
.lmec-dark .lmec-notice-success, .lmec-force-dark .lmec-notice-success { background: #16301d; color: #8fd9a2; border-color: #245534; }
.lmec-dark .lmec-notice-error, .lmec-force-dark .lmec-notice-error { background: #341717; color: #e79a9a; border-color: #5c2626; }
.lmec-light .lmec-notice-success, .lmec-force-light .lmec-notice-success { background: #e2f5e6; color: #1e6f34; border-color: #b7e2c0; }
.lmec-light .lmec-notice-error, .lmec-force-light .lmec-notice-error { background: #fbe4e4; color: #8f2020; border-color: #efc0c0; }

.lmec-force-dark .lmec {
	--lmec-bg: #181b22;
	--lmec-fg: #e7e9ee;
	--lmec-muted: #9aa1ad;
	--lmec-border: #2c313c;
	--lmec-cell: #1d212a;
	--lmec-cell-other: #171a21;
	--lmec-today: #232a3d;
	--lmec-chip-bg: #232733;
}
.lmec-force-light .lmec {
	--lmec-bg: #ffffff;
	--lmec-fg: #1f2430;
	--lmec-muted: #69707d;
	--lmec-border: #e3e6ec;
	--lmec-cell: #ffffff;
	--lmec-cell-other: #f6f7f9;
	--lmec-today: #eef1fb;
	--lmec-chip-bg: #f2f4f9;
}

/* ---------- Toggle button ---------- */
.lmec-mode-wrap { display: inline-flex; align-items: center; gap: 8px; }
.lmec-mode-heading { font-size: 13px; font-weight: 600; color: var(--lmec-muted); }
.lmec-mode-toggle { display: inline-flex; align-items: center; gap: 6px; }
.lmec-mode-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}
.lmec-mode-icon svg {
	width: 16px;
	height: 16px;
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
/* Show the mode the button will switch you TO. */
.lmec-mode-toggle .lmec-icon-sun { display: none; }
.lmec-mode-toggle[aria-pressed="true"] .lmec-icon-sun { display: block; }
.lmec-mode-toggle[aria-pressed="true"] .lmec-icon-moon { display: none; }
.lmec-mode-toggle[aria-pressed="true"] .lmec-mode-icon { color: #f5c451; }
.lmec-mode-toggle-compact { padding: 4px 8px; }
.lmec-mode-toggle-compact .lmec-mode-icon { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) {
	.lmec-mode-icon { transition: none; }
}

/* ---------- Google Calendar button ---------- */
.lmec-gcal-btn {
	background: transparent;
	color: var(--lmec-fg) !important;
	box-shadow: inset 0 0 0 2px var(--lmec-border);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.lmec-gcal-btn:hover { box-shadow: inset 0 0 0 2px var(--lmec-accent); filter: none; }
.lmec-gcal-icon {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-radius: 3px;
	position: relative;
	flex: 0 0 auto;
}
.lmec-gcal-icon::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 1px;
	right: 1px;
	height: 3px;
	background: currentColor;
}
.lmec-gcal-note { font-size: 12px; color: var(--lmec-muted); margin: 6px 0 0; }

/* ---------- v1.6.1: submit-an-event link ---------- */
.lmec-submit-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}
.lmec-submit-link .lmec-plus {
	display: inline-block;
	width: 14px;
	height: 14px;
	position: relative;
	flex: 0 0 auto;
}
.lmec-submit-link .lmec-plus::before,
.lmec-submit-link .lmec-plus::after {
	content: "";
	position: absolute;
	background: currentColor;
	border-radius: 1px;
}
.lmec-submit-link .lmec-plus::before { left: 0; right: 0; top: 6px; height: 2px; }
.lmec-submit-link .lmec-plus::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.lmec-single .lmec-submit-cta {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--lmec-border);
	font-size: 14px;
}
.lmec-single .lmec-submit-cta a { color: var(--lmec-accent); font-weight: 600; }

/* ---------- v1.7.0: timezone switcher ---------- */
.lmec-tz-picker { display: inline-flex; align-items: center; gap: 6px; }
.lmec-tz-label { font-size: 12px; color: var(--lmec-muted); }
.lmec-tz-select {
	background: var(--lmec-cell);
	color: var(--lmec-fg);
	border: 1px solid var(--lmec-border);
	border-radius: 6px;
	padding: 4px 8px;
	font-size: 13px;
	max-width: 190px;
}
.lmec-tz-select:focus-visible { outline: 2px solid var(--lmec-accent); outline-offset: 1px; }
.lmec-tz-wrap { background-color: transparent; padding: 0; }
.lmec time { color: inherit; }

/* ---------- v1.8.0: type icons ---------- */
.lmec-type-emoji { font-style: normal; line-height: 1; }
.lmec-chip .lmec-type-emoji { font-size: 11px; }
.lmec-mini-main .lmec-type-emoji,
.lmec-item-title .lmec-type-emoji { font-size: 13px; }
.lmec-single-title .lmec-type-emoji { font-size: 0.9em; }

/* ---------- v1.9.0: event type key ---------- */
.lmec-key {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 12px 0 0;
	padding: 10px 2px 2px;
	border-top: 1px solid var(--lmec-border);
	font-size: 13px;
}
.lmec-key-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--lmec-muted);
}
.lmec-key-items { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.lmec-key-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--lmec-fg);
	background: none;
	border: none;
	padding: 3px 6px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.3;
}
.lmec-key-interactive .lmec-key-item { cursor: pointer; }
.lmec-key-interactive .lmec-key-item:hover { background: var(--lmec-chip-bg); }
.lmec-key-interactive .lmec-key-item:focus-visible { outline: 2px solid var(--lmec-accent); outline-offset: 1px; }
.lmec-key-item.lmec-key-on { background: var(--lmec-chip-bg); box-shadow: inset 0 0 0 1px var(--lmec-border); font-weight: 600; }
.lmec-key-swatch {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	flex: 0 0 auto;
}
.lmec-key-icon { font-size: 13px; line-height: 1; }
.lmec-key-count { color: var(--lmec-muted); font-size: 11px; }
.lmec-key-clear {
	background: none;
	border: none;
	color: var(--lmec-accent);
	font-size: 12px;
	cursor: pointer;
	padding: 3px 4px;
	text-decoration: underline;
}
.lmec-key-standalone .lmec-key { border-top: none; margin: 0; padding: 0; flex-direction: column; align-items: flex-start; }
@media (max-width: 640px) {
	.lmec-key { gap: 4px 10px; }
	.lmec-key-item { font-size: 12px; }
}

/* ---------- v1.10.0: type badges on the event page ---------- */
.lmec-type-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.lmec-type-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 10px;
	border-radius: 999px;
	color: var(--chip, var(--lmec-accent)) !important;
	background: var(--lmec-chip-bg);
	box-shadow: inset 0 0 0 1.5px var(--chip, var(--lmec-accent));
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
a.lmec-type-badge:hover { background: var(--chip, var(--lmec-accent)); color: var(--lmec-bg) !important; }
.lmec-badge-icon { font-size: 13px; letter-spacing: 0; }

/* ---------- v1.12.0: per-date ticket links ---------- */
.lmec-date-tickets {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	color: var(--lmec-accent);
	text-decoration: none;
	padding: 2px 8px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px var(--lmec-accent);
	white-space: nowrap;
}
.lmec-date-tickets:hover { background: var(--lmec-accent); color: var(--lmec-bg) !important; }
.lmec-item .lmec-date-tickets { margin-top: 4px; }
.lmec-ticket-note { font-size: 12px; color: var(--lmec-muted); margin: 6px 0 0; }
.lmec-date-row { gap: 4px 10px; }

/* ---------- v1.14.0: grouped date listings ---------- */
.lmec-single-dates h4 { margin: 0 0 8px; }

.lmec-month-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
}
.lmec-month-jump {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--lmec-chip-bg);
	color: var(--lmec-fg);
	border: 1px solid var(--lmec-border);
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.3;
}
.lmec-month-jump:hover { border-color: var(--lmec-accent); }
.lmec-month-jump:focus-visible { outline: 2px solid var(--lmec-accent); outline-offset: 1px; }
.lmec-month-jump.lmec-month-on {
	background: var(--lmec-accent);
	border-color: var(--lmec-accent);
	color: #fff;
}
.lmec-month-badge {
	font-size: 11px;
	font-weight: 700;
	background: var(--lmec-bg);
	color: var(--lmec-muted);
	border-radius: 999px;
	padding: 1px 6px;
}
.lmec-month-jump.lmec-month-on .lmec-month-badge { background: rgba(255,255,255,0.24); color: #fff; }

.lmec-month {
	border: 1px solid var(--lmec-border);
	border-radius: 8px;
	margin: 0 0 8px;
	background: var(--lmec-cell);
	overflow: hidden;
}
.lmec-month > summary {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	cursor: pointer;
	font-weight: 700;
	background: var(--lmec-cell-other);
	list-style: none;
}
.lmec-month > summary::-webkit-details-marker { display: none; }
.lmec-month > summary::after {
	content: "▾";
	font-size: 11px;
	color: var(--lmec-muted);
	transition: transform 0.15s ease;
}
.lmec-month[open] > summary::after { transform: rotate(180deg); }
.lmec-month-name { font-size: 15px; }
.lmec-month-count { font-size: 12px; font-weight: 600; color: var(--lmec-muted); margin-left: auto; }

.lmec-day-list { list-style: none; margin: 0; padding: 0; }
.lmec-day-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 14px;
	border-top: 1px solid var(--lmec-border);
}
.lmec-day-item:first-child { border-top: none; }
.lmec-day-when {
	display: flex;
	align-items: baseline;
	gap: 5px;
	min-width: 58px;
	flex: 0 0 auto;
}
.lmec-day-dow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lmec-muted); font-weight: 700; }
.lmec-day-num { font-size: 17px; font-weight: 700; line-height: 1; }
.lmec-day-times { display: flex; flex-wrap: wrap; gap: 6px; }

.lmec-time-chip {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid var(--lmec-border);
	border-radius: 999px;
	overflow: hidden;
	font-size: 13px;
	background: var(--lmec-bg);
}
.lmec-chip-when { padding: 4px 10px; font-weight: 600; white-space: nowrap; }
.lmec-chip-ticket {
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	color: var(--lmec-accent) !important;
	text-decoration: none;
	border-left: 1px solid var(--lmec-border);
	white-space: nowrap;
}
.lmec-chip-ticket:hover { background: var(--lmec-accent); color: #fff !important; }
.lmec-chip-add {
	padding: 4px 9px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: var(--lmec-muted) !important;
	text-decoration: none;
	border-left: 1px solid var(--lmec-border);
}
.lmec-chip-add:hover { background: var(--lmec-chip-bg); color: var(--lmec-fg) !important; }

.lmec-past > summary { cursor: pointer; color: var(--lmec-muted); font-size: 13px; padding: 6px 0; }

@media (max-width: 640px) {
	.lmec-month > summary { padding: 9px 11px; }
	.lmec-day-item { padding: 8px 11px; gap: 9px; }
	.lmec-month-name { font-size: 14px; }
	.lmec-day-num { font-size: 16px; }
}

/* ---------- v1.15.0: key info above the dates ---------- */
.lmec-info-key {
	background: var(--lmec-cell-other);
	border: 1px solid var(--lmec-border);
	border-radius: 8px;
	padding: 12px 14px;
	margin: 0 0 14px;
	grid-template-columns: 96px 1fr;
	row-gap: 8px;
}
.lmec-info-key dt { align-self: start; }
.lmec-info-key dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.lmec-tz-source { font-size: 12px; color: var(--lmec-muted); }
.lmec-info-key .lmec-tz-note { font-style: normal; margin: 0; font-size: 14px; }
.lmec-info-key .lmec-tz-picker { margin-left: auto; }
.lmec-info-key .lmec-tz-select { max-width: 170px; font-size: 12px; padding: 3px 6px; }
.lmec-single .lmec-tickets { margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.lmec-single .lmec-single-dates { margin-top: 4px; }
@media (max-width: 640px) {
	.lmec-info-key { grid-template-columns: 78px 1fr; padding: 10px 11px; }
	.lmec-info-key .lmec-tz-picker { margin-left: 0; }
	.lmec-info-key .lmec-tz-select { max-width: 100%; }
}

/* ---------- v1.19.0: videos ---------- */
.lmec-videos { margin: 0 0 16px; }
.lmec-videos h4 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--lmec-muted); }
.lmec-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 10px;
}
.lmec-video {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--lmec-border);
	border-radius: 8px;
	background-color: var(--lmec-cell-other);
	background-size: cover;
	background-position: center;
	cursor: pointer;
	overflow: hidden;
	padding: 0;
	text-align: left;
	text-decoration: none;
	color: var(--lmec-fg);
}
/* Older browsers without aspect-ratio still need a shape. */
@supports not (aspect-ratio: 16 / 9) {
	.lmec-video { height: 0; padding-bottom: 56.25%; }
}
.lmec-video:hover { border-color: var(--lmec-accent); }
.lmec-video:focus-visible { outline: 2px solid var(--lmec-accent); outline-offset: 2px; }
.lmec-video-has-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0) 100%);
}
.lmec-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(0,0,0,0.62);
	box-shadow: 0 0 0 2px rgba(255,255,255,0.85);
	z-index: 2;
}
.lmec-video-play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 9px 0 9px 15px;
	border-color: transparent transparent transparent #fff;
}
.lmec-video:hover .lmec-video-play { background: var(--lmec-accent); }
.lmec-video-caption {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 8px;
	z-index: 3;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	display: block;
}
.lmec-video-has-thumb .lmec-video-caption { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.lmec-video-provider {
	position: absolute;
	top: 8px;
	left: 10px;
	z-index: 3;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 2px 6px;
	border-radius: 3px;
	background: rgba(0,0,0,0.6);
	color: #fff;
}
.lmec-video-playing { cursor: default; border-color: var(--lmec-border); }
.lmec-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@supports not (aspect-ratio: 16 / 9) {
	.lmec-video-frame { position: absolute; top: 0; left: 0; }
}
@media (max-width: 640px) {
	.lmec-video-grid { grid-template-columns: 1fr; }
}
