/*
 * Tamraght Forum, "Sable Glass" design layer (2026-10-22).
 *
 * Sand, Atlantic and terracotta (the Sable palette), glass panels, a living sky whose sun and moon
 * follow today's real sunrise and sunset, a live conditions ticker and a few hand-drawn notes.
 * Loads after the plugin stylesheets. Day / night stays the plugin's (body.tmf-night).
 */

/* ------------------------------------------------------------------
 * Fonts (self-hosted)
 * ------------------------------------------------------------------ */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/caveat-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/caveat-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans Tifinagh"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tifinagh-all0.woff2) format("woff2"); unicode-range: U+2D30-2D7F; }

/* ------------------------------------------------------------------
 * Tokens
 * ------------------------------------------------------------------ */
body.lv {
	--r-sm: 14px;
	--r-md: 26px;
	--r-pill: 999px;
	--font-hand: "Caveat", "Bradley Hand", cursive;
	--glass: rgba(251, 247, 241, .52);
	--glass-strong: rgba(251, 247, 241, .78);
	--glass-border: rgba(255, 255, 255, .78);
	--glass-hi: rgba(255, 255, 255, .92);
	--glass-shadow: 0 24px 50px -30px rgba(23, 72, 90, .42);
	--chip: rgba(28, 43, 51, .07);
	--on-accent: #FBF7F1;
	--note: #B8482A;
	--lv-sky-bg: var(--bg);
	--sky-sun: #E8744C;
	--sky-halo: #F4B39E;
	--w1: #8CC3D3;
	--w2: #2E6E80;
	--w3: #17485A;
	--blob1: #8CC3D3;
	--blob2: #F4B39E;
	--lv-sun: 132px;
	--lv-moon: 64px;
	--lv-sea-h: 86px;
	position: relative;
	min-height: 100vh;
}
body.lv.tmf-night {
	--glass: rgba(21, 42, 55, .6);
	--glass-strong: rgba(21, 42, 55, .84);
	--glass-border: rgba(238, 240, 234, .14);
	--glass-hi: rgba(238, 240, 234, .1);
	--glass-shadow: 0 26px 50px -30px rgba(0, 0, 0, .7);
	--chip: rgba(238, 240, 234, .09);
	--on-accent: #0E1B26;
	--note: #F4B39E;
	--sky-sun: #D9572E;
	--sky-halo: rgba(238, 240, 234, .1);
	--w1: #1B3A4A;
	--w2: #15303E;
	--w3: #0B2433;
	--blob1: #17485A;
	--blob2: #4A2A22;
}
body.lv[data-lv-phase="dawn"]:not(.tmf-night) { --lv-sky-bg: #F1E4DC; --sky-sun: #F09A72; --sky-halo: #F7CBB6; }
body.lv[data-lv-phase="golden"]:not(.tmf-night) { --lv-sky-bg: #F3DCC4; --sky-sun: #D9572E; --sky-halo: #F2A27F; }
body.lv-home { --lv-sun: 250px; --lv-moon: 112px; --lv-sea-h: 210px; }
@media (max-width: 700px) { body.lv-home { --lv-sun: 150px; --lv-moon: 72px; --lv-sea-h: 140px; } body.lv { --lv-sun: 96px; --lv-moon: 48px; --lv-sea-h: 70px; } }

/* ------------------------------------------------------------------
 * Living sky
 * ------------------------------------------------------------------ */
.lv-sky { position: absolute; top: 0; left: 0; right: 0; height: var(--lv-sky-h, 214px); overflow: hidden; pointer-events: none; z-index: 0; background: var(--lv-sky-bg); transition: background-color .9s ease; }
body.lv-home .lv-sky { --lv-sky-h: 860px; }
.lv-sky__sun, .lv-sky__moon, .lv-sky__halo { position: absolute; left: var(--x, 72%); top: var(--y, 40px); border-radius: 50%; transform: translate(-50%, 0); transition: left 1.4s cubic-bezier(.4, 0, .2, 1), top 1.4s cubic-bezier(.4, 0, .2, 1), opacity .6s, background-color .9s; }
.lv-sky__sun { width: var(--lv-sun); height: var(--lv-sun); background: var(--sky-sun); }
.lv-sky__halo--sun { width: calc(var(--lv-sun) * 1.7); height: calc(var(--lv-sun) * 1.7); margin-top: calc(var(--lv-sun) * -.35); background: var(--sky-halo); }
.lv-sky__moon { width: var(--lv-moon); height: var(--lv-moon); overflow: hidden; background: #EEF0EA; }
.lv-sky__moon span { position: absolute; left: 34%; top: -12%; width: 100%; height: 100%; border-radius: 50%; background: var(--lv-sky-bg); transition: background-color .9s; }
.lv-sky__halo--moon { width: calc(var(--lv-moon) * 2.2); height: calc(var(--lv-moon) * 2.2); margin-top: calc(var(--lv-moon) * -.6); background: rgba(238, 240, 234, .08); }
.lv-sky .is-hidden { opacity: 0; }
.lv-sky__sea { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: var(--lv-sea-h); overflow: visible; }
.lv-sky__sea path { transition: fill .9s; }
.lv-w1 { fill: var(--w1); animation: lv-bob 7s ease-in-out infinite; }
.lv-w2 { fill: var(--w2); animation: lv-bob 5.5s ease-in-out infinite reverse; }
.lv-w3 { fill: var(--w3); animation: lv-bob 9s ease-in-out infinite; }
.lv-shore { fill: var(--bg); }
@keyframes lv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/*
 * The land under the page, from top to bottom on every page, however long: flat sun and sea shapes
 * that repeat every 2200px (some of them partly under the content column, so the glass always has
 * colour to blur) and a pale swell band every 2600px.
 */
body.lv { --b1: #A9D0DA; --b2: #F4B39E; --b3: #CFE0E2; --b4: #F2C9A8; }
body.lv.tmf-night { --b1: #17485A; --b2: #4A2A22; --b3: #15303E; --b4: #3B2A20; }
.lv-blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
	background-image:
		radial-gradient(circle 300px at 7% 560px, var(--b1) 99.4%, transparent 100%),
		radial-gradient(circle 230px at 94% 1140px, var(--b2) 99.4%, transparent 100%),
		radial-gradient(circle 170px at 40% 1650px, var(--b3) 99.4%, transparent 100%),
		radial-gradient(circle 120px at 72% 300px, var(--b4) 99.4%, transparent 100%),
		radial-gradient(circle 90px at 18% 2010px, var(--b2) 99.4%, transparent 100%);
	background-size: 100% 2200px;
	background-repeat: repeat-y;
	opacity: .8;
	transition: opacity .6s;
}
.lv-blobs span { display: none; }
.lv-blobs::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.lv-blobs::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 2600' preserveAspectRatio='none'><path d='M0 1330 C 240 1270 480 1390 720 1330 S 1200 1270 1440 1320 V1560 C 1200 1600 960 1520 720 1570 S 240 1610 0 1560 Z' fill='%23D7E7E8'/><path d='M0 1400 C 260 1350 520 1450 760 1400 S 1220 1360 1440 1405 V1500 C 1180 1540 940 1470 700 1515 S 220 1545 0 1505 Z' fill='%23BFDCE3'/></svg>"); background-size: 100% 2600px; background-repeat: repeat-y; }
body.lv.tmf-night .lv-blobs::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 2600' preserveAspectRatio='none'><path d='M0 1330 C 240 1270 480 1390 720 1330 S 1200 1270 1440 1320 V1560 C 1200 1600 960 1520 720 1570 S 240 1610 0 1560 Z' fill='%23132A38'/><path d='M0 1400 C 260 1350 520 1450 760 1400 S 1220 1360 1440 1405 V1500 C 1180 1540 940 1470 700 1515 S 220 1545 0 1505 Z' fill='%23183747'/></svg>"); }
@media (max-width: 700px) { .lv-blobs { background-size: 100% 1600px; } }

/* Film grain over everything (never blocks clicks). */
body.lv::after { content: ""; position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: .11; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
body.lv.tmf-night::after { opacity: .2; mix-blend-mode: overlay; }

/* Content sits above the sky. */
.lv .lv-ticker, .lv .site-main, .lv .site-footer { position: relative; z-index: 1; }

/* ------------------------------------------------------------------
 * Live ticker
 * ------------------------------------------------------------------ */
.lv-ticker { height: 34px; overflow: hidden; background: #17485A; color: #EAF1F0; font-size: .82rem; font-weight: 600; z-index: 2; }
body.tmf-night .lv-ticker { background: #0B2433; }
.lv-ticker__link { display: flex; align-items: center; height: 100%; color: inherit; text-decoration: none; }
.lv-ticker__link:hover { color: #FFFFFF; }
.lv-ticker__link:focus-visible { outline-offset: -3px; }
.lv-ticker__track { display: flex; width: max-content; animation: lv-tick 42s linear infinite; }
.lv-ticker:hover .lv-ticker__track, .lv-ticker:focus-within .lv-ticker__track { animation-play-state: paused; }
.lv-ticker__run { display: flex; align-items: center; gap: 24px; padding-right: 24px; white-space: nowrap; }
.lv-ticker__live { display: inline-flex; align-items: center; gap: 7px; color: #F4B39E; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; }
.lv-ticker__live i { width: 7px; height: 7px; border-radius: 50%; background: #E8744C; animation: lv-pulse 1.6s ease-in-out infinite; }
.lv-ticker__sep { opacity: .55; font-size: .7rem; }
@keyframes lv-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lv-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }

/* ------------------------------------------------------------------
 * Header: floating glass pill
 * ------------------------------------------------------------------ */
body.lv .site-header { position: sticky; top: 10px; z-index: 50; padding: 10px 0 0; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.lv.admin-bar .site-header { top: 42px; }
@media (max-width: 782px) { body.lv.admin-bar .site-header { top: 56px; } }
@media (max-width: 600px) { body.lv.admin-bar .site-header { top: 10px; position: sticky; } }
body.lv .site-header__bar { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); min-height: 62px; gap: 20px; padding: 8px 10px 8px 18px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 40px -24px rgba(14, 27, 38, .5); transition: padding .3s, background-color .4s, box-shadow .3s; }
body.lv.lv-scrolled .site-header__bar { background: var(--glass-strong); padding-block: 5px; box-shadow: inset 0 1px 0 var(--glass-hi), 0 20px 44px -22px rgba(14, 27, 38, .55); }
body.lv .site-nav__main a, body.lv .site-nav__mod, body.lv .site-nav__login { padding: 9px 13px; }
body.lv .site-nav__main a:hover, body.lv .site-nav__mod:hover, body.lv .site-nav__login:hover { background: var(--chip); }
body.lv .lang-switch, body.lv .me { background: var(--chip); border-color: transparent; }
body.lv .lang-switch a[aria-current] { background: var(--ink); color: var(--surface); }
body.lv .me:hover, body.lv .me[aria-current] { border-color: var(--ink); }
body.lv .nav-toggle { background: var(--chip); border-color: transparent; }
@media (max-width: 900px) {
	body.lv .site-header__bar { border-radius: 26px; padding: 8px 8px 8px 16px; }
	body.lv .site-nav.is-open { padding: 6px 4px 12px; }
	body.lv .site-nav__main a { border-radius: 14px; }
	body.lv .site-nav__user { border-top-color: var(--glass-border); }
}

/* Logo mark */
.site-logo__mark .mk-arch { fill: var(--ocean); }
.site-logo__mark .mk-sun { fill: #E8744C; }
.site-logo__mark .mk-wave1 { fill: #8CC3D3; }
.site-logo__mark .mk-wave2 { fill: var(--bg); }
body.tmf-night .site-logo__mark .mk-arch { fill: #2E6E80; }
.site-logo--light .site-logo__mark .mk-arch { fill: #EAF1F0; }
.site-logo--light .site-logo__mark .mk-sun { fill: #F4B39E; }
.site-logo--light .site-logo__mark .mk-wave1 { fill: #8CC3D3; }
.site-logo--light .site-logo__mark .mk-wave2 { fill: #17485A; }
body.tmf-night .site-logo--light .site-logo__mark .mk-wave2 { fill: #0B2433; }

/* ------------------------------------------------------------------
 * Page frame
 * ------------------------------------------------------------------ */
body.lv:not(.lv-home) .site-main { padding-top: clamp(92px, 9vw, 112px); }
body.lv-home .site-main { padding-top: 0; }
body.lv-home .tmf-home-h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.lv :where(h1, h2, h3) { letter-spacing: -0.025em; }

/* Home hero */
.lv-hero { position: relative; z-index: 1; padding-top: clamp(28px, 5vw, 60px); padding-bottom: calc(var(--lv-sea-h) + clamp(28px, 4vw, 48px)); }
.lv-hero__hello { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 15px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); font-weight: 600; font-size: .95rem; }
.lv-tifinagh { font-family: "Noto Sans Tifinagh", sans-serif; color: var(--accent); font-size: 1.05rem; letter-spacing: .04em; }
.lv-hero__title { margin: 0 0 18px; max-width: 12.5em; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 7.6vw, 6.7rem); line-height: .95; letter-spacing: -0.05em; color: var(--ink); text-wrap: balance; }
body.tmf-night .lv-hero__title { text-shadow: 0 2px 22px rgba(14, 27, 38, .9), 0 0 3px rgba(14, 27, 38, .9); }
.lv-scribble { position: relative; display: inline-block; color: var(--accent); }
.lv-scribble svg { position: absolute; left: -4%; bottom: -.14em; width: 108%; height: .3em; overflow: visible; }
.lv-scribble path { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: lv-draw 1.3s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
.lv-hero__sub { max-width: 46ch; margin: 0 0 26px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.5; }
body.tmf-night .lv-hero__sub { text-shadow: 0 1px 12px rgba(14, 27, 38, .9); }
.lv-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.lv-hero__actions .tmf-btn { min-height: 50px; padding-inline: 24px; font-size: 1.02rem; }
@keyframes lv-draw { to { stroke-dashoffset: 0; } }

/* Hand-drawn notes. Always in normal flow, never under another element. */
.lv-note { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-hand); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--note); transform: rotate(-4deg); pointer-events: none; }
.lv-note svg { width: 58px; height: 36px; overflow: visible; flex: none; }
.lv-note path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: lv-draw 1.1s 1.5s cubic-bezier(.6, 0, .2, 1) forwards; }
body.tmf-night .lv-note { text-shadow: 0 1px 10px rgba(14, 27, 38, .9); }

/* ------------------------------------------------------------------
 * Glass panels (every card, panel and widget of the forum)
 * ------------------------------------------------------------------ */
body.lv :is(.tmf-card, .tmf-panel, .tmf-rows, .tmf-forum, .tmf-post, .tmf-reply-box, .tmf-event-card, .tmf-event__head, .tmf-artist-card, .tmf-now-card, .tmf-wx, .tmf-surf, .tmf-table-wrap, .tmf-mini-events--wide, .tmf-creation, .tmf-offer, .tmf-poll, .tmf-report__form, .tmf-souk) {
	background: var(--glass);
	border: 1px solid var(--glass-border);
	border-radius: var(--r-md);
	-webkit-backdrop-filter: blur(22px) saturate(160%);
	backdrop-filter: blur(22px) saturate(160%);
	box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
}
body.lv :is(.tmf-post, .tmf-reply-box, .tmf-report__form, .tmf-table-wrap) { background: var(--glass-strong); }
body.lv :is(.tmf-now-card, .tmf-event-card, .tmf-artist-card, .tmf-creation, .tmf-offer) { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
body.lv :is(.tmf-now-card, .tmf-event-card, .tmf-artist-card, .tmf-creation, .tmf-offer):hover { transform: translateY(-5px) rotate(-.3deg); box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 54px -28px rgba(23, 72, 90, .5); }
body.lv .tmfx-steps > li { background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: 18px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 var(--glass-hi); }
body.lv .tmf-map.leaflet-container { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }
body.lv .tmf-empty { border-radius: var(--r-md); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
body.lv .tmf-band { border-radius: 34px; }
body.lv .tmf-now-card__stat, body.lv .tmf-badge { border-radius: 999px; }

/* Labels on the "Right now" cards become little stamps. */
body.lv .tmf-now-card__label { justify-self: start; padding: 4px 10px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 800; letter-spacing: .08em; font-size: .68rem; transform: rotate(-2.5deg); box-shadow: 0 6px 14px -8px rgba(184, 72, 42, .8); }
body.lv .tmf-now-card:hover .tmf-now-card__label { animation: lv-wobble 1.6s ease-in-out infinite; }
@keyframes lv-wobble { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(1.5deg) scale(1.04); } }

/* Buttons: pill, soft lift, press */
body.lv .tmf-btn { box-shadow: 0 12px 24px -16px rgba(184, 72, 42, .85); transition: background .15s, color .15s, transform .15s, box-shadow .2s; }
body.lv .tmf-btn:hover { transform: translateY(-1px); }
body.lv .tmf-btn:active { transform: scale(.96); }
body.lv .tmf-btn--ghost { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: none; }
body.lv .tmf-btn--ghost:hover { background: var(--ink); }
body.lv .tmf-chips a { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
body.lv .tmf-chips a[aria-current] { background: var(--ink); }

/* RSVP burst */
.lv-burst { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; pointer-events: none; z-index: 5; animation: lv-spark .8s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes lv-spark { from { transform: translate(0, 0) scale(.3); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(1.1); opacity: 0; } }

/* Footer */
body.lv .site-footer { margin-top: clamp(40px, 6vw, 72px); border-radius: 40px 40px 0 0; }
body.tmf-night.lv .site-footer { background-color: #0B2433; }

/* ------------------------------------------------------------------
 * Comfort settings
 * ------------------------------------------------------------------ */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	body.lv :is(.tmf-card, .tmf-panel, .tmf-rows, .tmf-forum, .tmf-post, .tmf-reply-box, .tmf-event-card, .tmf-event__head, .tmf-artist-card, .tmf-now-card, .tmf-wx, .tmf-surf, .tmf-table-wrap, .tmf-mini-events--wide, .tmf-creation, .tmf-offer, .tmf-poll, .tmf-report__form, .tmf-souk, .site-header__bar, .lv-hero__hello) { background: var(--surface); }
}
@media (prefers-reduced-transparency: reduce) {
	body.lv :is(.tmf-card, .tmf-panel, .tmf-rows, .tmf-forum, .tmf-post, .tmf-reply-box, .tmf-event-card, .tmf-event__head, .tmf-artist-card, .tmf-now-card, .tmf-wx, .tmf-surf, .tmf-table-wrap, .tmf-mini-events--wide, .tmf-creation, .tmf-offer, .tmf-poll, .tmf-report__form, .tmf-souk, .site-header__bar, .lv-hero__hello, .tmf-empty, .tmf-chips a, .tmf-btn--ghost) { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
	body.lv::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.lv-ticker__track, .lv-ticker__live i, .lv-w1, .lv-w2, .lv-w3, body.lv .tmf-now-card:hover .tmf-now-card__label { animation: none; }
	.lv-ticker__link { overflow-x: auto; }
	.lv-scribble path, .lv-note path { animation: none; stroke-dashoffset: 0; }
	.lv-sky__sun, .lv-sky__moon, .lv-sky__halo, body.lv .site-header__bar { transition: none; }
	body.lv :is(.tmf-now-card, .tmf-event-card, .tmf-artist-card, .tmf-creation, .tmf-offer):hover, body.lv .tmf-btn:hover, body.lv .tmf-btn:active { transform: none; }
	.lv-burst { display: none; }
}
/* ------------------------------------------------------------------
 * Home: hero with the "Today in Tamraght" card (replaces the plugin's "Right now" title and weather
 * strip on the home page only; the ticker carries the same live data on every page)
 * ------------------------------------------------------------------ */
body.lv { --today-tile: rgba(255, 255, 255, .5); --glass-line: rgba(28, 43, 51, .22); }
body.lv.tmf-night { --today-tile: rgba(238, 240, 234, .07); --glass-line: rgba(238, 240, 234, .2); }
.lv-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); align-items: end; gap: 28px clamp(24px, 4vw, 56px); }
.lv-hero__main { min-width: 0; }
.lv-hero__title { font-size: clamp(2.8rem, 6.6vw, 6.2rem); }
.lv-today { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 30px; background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 60px -28px rgba(14, 27, 38, .55); animation: lv-rise .8s .3s both cubic-bezier(.2, .8, .2, 1); }
@keyframes lv-rise { from { opacity: 0; transform: translateY(18px); } }
.lv-today__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lv-today__label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lv-today__clock { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-today__now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-weight: 700; }
.lv-today__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sky-sun); box-shadow: 0 0 0 4px var(--sky-halo); transition: background-color .9s, box-shadow .9s; }
body.tmf-night .lv-today__dot, body.lv[data-lv-phase="night"] .lv-today__dot { background: #EEF0EA; box-shadow: 0 0 0 4px rgba(142, 195, 211, .35); }
.lv-today__wx { font-weight: 500; color: var(--muted); }
.lv-today__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 10px; margin: 0; }
.lv-today__tiles > div { min-width: 0; padding: 10px 12px; border-radius: 18px; background: var(--today-tile); }
.lv-today__tiles dt { font-size: .75rem; font-weight: 600; color: var(--muted); }
.lv-today__tiles dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
.lv-today__tiles small { margin-left: 2px; font-size: .6em; }
.lv-today__sub { display: block; margin-top: 3px; font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: 0; color: var(--muted); white-space: normal; }
.lv-today__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding-top: 12px; border-top: 1px dashed var(--glass-line); font-size: .86rem; }
.lv-today__foot a { font-weight: 700; color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lv-today__foot a:hover { color: var(--accent); }
@media (max-width: 900px) {
	.lv-hero { grid-template-columns: minmax(0, 1fr); }
	.lv-today { max-width: 480px; }
}
body.lv-home .tmf-now > .tmf-sec-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.lv-home .tmf-now > .tmf-wx { display: none; }

/* ------------------------------------------------------------------
 * Stamps, a circled date and scribbled notes on events and topics.
 * All in normal flow: they push content down, never sit on top of it.
 * ------------------------------------------------------------------ */
.lv-stamp { display: inline-flex; align-items: center; width: fit-content; padding: 6px 12px; border: 2px dashed var(--on-accent); border-radius: 10px; outline: 3px solid var(--accent); background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .74rem; line-height: 1.2; letter-spacing: .09em; text-transform: uppercase; transform: rotate(-3deg); box-shadow: 0 10px 20px -12px rgba(14, 27, 38, .7); animation: lv-stamp .55s .35s both cubic-bezier(.2, .9, .3, 1.35); }
.lv-stamp--ok { outline-color: var(--ocean); background: var(--ocean); }
body.tmf-night .lv-stamp--ok { color: #0E1B26; border-color: #0E1B26; }
@keyframes lv-stamp { from { opacity: 0; transform: scale(1.7) rotate(-14deg); } to { opacity: 1; transform: rotate(-3deg); } }
.tmf-topic-flags .lv-stamp { margin: 4px 6px 4px 4px; }
.tmf-topic-head:has(.lv-stamp--ok) .tmf-topic-flags .tmf-pt--ok { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tmf-event__title .lv-stamp { margin: 0 0 12px 4px; }

/* A hand-drawn circle around the event date. */
body.lv .tmf-event__title .tmf-date { position: relative; overflow: visible; }
body.lv .tmf-event__title .tmf-date::after { content: ""; position: absolute; inset: -13px -15px; pointer-events: none; transform: rotate(-7deg);
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' preserveAspectRatio='none'><path d='M66 9 C 30 4 7 30 9 62 C 11 96 42 115 74 109 C 104 103 117 74 111 44 C 105 16 80 5 50 12 C 39 15 31 20 25 27' fill='none' stroke='%23B8482A' stroke-width='3.6' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
	animation: lv-circle .9s .6s both cubic-bezier(.6, 0, .2, 1); }
body.lv.tmf-night .tmf-event__title .tmf-date::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' preserveAspectRatio='none'><path d='M66 9 C 30 4 7 30 9 62 C 11 96 42 115 74 109 C 104 103 117 74 111 44 C 105 16 80 5 50 12 C 39 15 31 20 25 27' fill='none' stroke='%23F4B39E' stroke-width='3.6' stroke-linecap='round'/></svg>"); }
@keyframes lv-circle { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
body.lv .tmf-event__title { gap: 26px; }

/* Notes: by the RSVP button, and under the best answer. */
.lv-note--rsvp, .lv-note--answer { display: flex; width: fit-content; margin: 2px 0 10px; font-size: 1.6rem; transform: rotate(-3deg); }
.lv-note--answer { margin: 10px 0 4px; }
.lv-note--rsvp svg, .lv-note--answer svg { width: 46px; height: 30px; order: 2; }

@media (prefers-reduced-motion: reduce) {
	.lv-today, .lv-stamp, body.lv .tmf-event__title .tmf-date::after { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
	.lv-today { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.lv-today { background: var(--surface); }
}

@media print { .lv-sky, .lv-blobs, .lv-ticker, body.lv::after, body.lv-home .tmf-now::before { display: none; } }

/* ==================================================================
 * Daily-first home, clearer glass, the sea at the foot of inner pages,
 * and the A+ layouts for events and threads.
 * ================================================================== */

/* Glass: a little clearer, so what's behind it shows through. */
body.lv { --glass: rgba(251, 247, 241, .4); --glass-strong: rgba(251, 247, 241, .66); }
body.lv.tmf-night { --glass: rgba(21, 42, 55, .5); --glass-strong: rgba(21, 42, 55, .76); }

/* The sky no longer paints a box: nothing behind it gets cut off. The moon is a masked disc. */
.lv-sky { background: none; }
body.lv-home .lv-sky { background: linear-gradient(to bottom, var(--lv-sky-bg), transparent 75%); }
.lv-sky__moon { -webkit-mask: radial-gradient(circle calc(var(--lv-moon) * .5) at 84% 38%, transparent 98%, #000 100%); mask: radial-gradient(circle calc(var(--lv-moon) * .5) at 84% 38%, transparent 98%, #000 100%); }
.lv-sky__moon span, .lv-shore { display: none; }

/* Inner pages: sun, moon and waves sit at the foot of the page and run into the footer. */
body.lv:not(.lv-home) { --lv-scene-h: 330px; --lv-sea-h: 150px; --lv-sun: 120px; --lv-moon: 56px; }
@media (max-width: 700px) { body.lv:not(.lv-home) { --lv-scene-h: 250px; --lv-sea-h: 112px; --lv-sun: 86px; --lv-moon: 44px; } }
body.lv:not(.lv-home) .lv-sky { top: auto; bottom: 0; }
body.lv:not(.lv-home) .site-main { padding-top: clamp(20px, 3vw, 34px); padding-bottom: var(--lv-sea-h); }
body.lv:not(.lv-home) .site-footer { margin-top: 0; }

/* ------------------------------------------------------------------
 * Home: hello, composer and Today card on the waves, then the daily blocks
 * ------------------------------------------------------------------ */
body.lv-home { --lv-sun: 210px; --lv-moon: 96px; --lv-sea-h: 190px; }
@media (max-width: 700px) { body.lv-home { --lv-sun: 130px; --lv-moon: 64px; --lv-sea-h: 130px; } }
.lv-hero { padding-top: clamp(18px, 3vw, 34px); padding-bottom: calc(var(--lv-sea-h) * .42); }
.lv-hero__hello { margin-bottom: 14px; }
.lv-compose { display: flex; flex-direction: column; gap: 14px; max-width: 680px; padding: 18px; border-radius: 28px; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi), 0 24px 60px -28px rgba(23, 72, 90, .5); animation: lv-rise .8s .15s both cubic-bezier(.2, .8, .2, 1); }
.lv-compose__label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.lv-compose__row { display: flex; gap: 10px; align-items: center; }
.lv-compose__row input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(28, 43, 51, .14); background: rgba(255, 255, 255, .72); color: #1C2B33; font: 500 1rem var(--font-body); }
.lv-compose__row input::placeholder { color: #5E625F; }
.lv-compose__row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lv-compose__go { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); color: var(--surface); cursor: pointer; transition: transform .15s; }
.lv-compose__go:hover { transform: translateX(2px); }
.lv-compose__go:active { transform: scale(.94); }
.lv-compose__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lv-compose__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-compose__chips a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(28, 43, 51, .14); background: rgba(255, 255, 255, .6); color: #1C2B33; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background-color .15s, color .15s; }
.lv-compose__chips a:hover { background: var(--ink); color: var(--surface); }
body.tmf-night .lv-compose__row input, body.tmf-night .lv-compose__chips a { background: rgba(238, 240, 234, .08); border-color: rgba(238, 240, 234, .16); color: var(--ink); }
body.tmf-night .lv-compose__row input::placeholder { color: #A3B4B8; }
body.tmf-night .lv-compose__chips a:hover { background: var(--ink); color: #0E1B26; }

/* The sea keeps going behind the daily blocks, getting shallower, then breaks on the sand. */
body.lv .site-main { overflow-x: clip; }
body.lv-home .tmf-now { position: relative; isolation: isolate; padding-top: clamp(18px, 2.4vw, 30px); padding-bottom: 76px; }
body.lv-home .tmf-now::before { content: ""; position: absolute; z-index: -1; left: calc(50% - 50vw); right: calc(50% - 50vw); top: -1px; bottom: 0; height: auto; pointer-events: none;
	background:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path d='M1440 33 C1200 55 960 11 720 37 S240 57 0 33' fill='none' stroke='%23FFFFFF' stroke-opacity='.75' stroke-width='5' stroke-linecap='round'/></svg>") left bottom / 100% 64px no-repeat,
		linear-gradient(180deg, #17485A 0, #2E6E80 130px, #6FAFC2 280px, #A9D3DE 430px, #CBE5EA 100%);
	-webkit-mask: linear-gradient(#000 0 0) left top / 100% calc(100% - 63px) no-repeat, url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path d='M0 0 H1440 V40 C1200 62 960 18 720 44 S240 64 0 40 Z'/></svg>") left bottom / 100% 64px no-repeat;
	mask: linear-gradient(#000 0 0) left top / 100% calc(100% - 63px) no-repeat, url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path d='M0 0 H1440 V40 C1200 62 960 18 720 44 S240 64 0 40 Z'/></svg>") left bottom / 100% 64px no-repeat;
}
body.lv-home.tmf-night .tmf-now::before {
	background:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'><path d='M1440 33 C1200 55 960 11 720 37 S240 57 0 33' fill='none' stroke='%23EEF0EA' stroke-opacity='.3' stroke-width='5' stroke-linecap='round'/></svg>") left bottom / 100% 64px no-repeat,
		linear-gradient(180deg, #0B2433 0, #15303E 160px, #1B3A4A 100%);
}
body.lv-home:not(.tmf-night) .tmf-now-card { --muted: #3F4549; }

/* ------------------------------------------------------------------
 * Shared: breadcrumb pill, two columns with an aside, side cards
 * ------------------------------------------------------------------ */
body.lv .tmf-crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 16px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); }
.lv-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 330px); gap: 24px; align-items: start; }
.lv-cols__main { min-width: 0; }
.lv-cols__side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
@media (max-width: 980px) { .lv-cols { grid-template-columns: minmax(0, 1fr); } .lv-cols__side { position: static; } }

.lv-side-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 26px; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow); }
.lv-side-card h2 { margin: 0; font-size: 1.08rem; letter-spacing: -0.01em; }
body.lv .lv-side-card__kicker { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lv-side-card__btn { justify-content: center; margin-top: 4px; }
.lv-side-card__more { font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lv-stamp--corner { position: absolute; top: -13px; right: 16px; margin: 0; }
.lv-rows { display: grid; margin: 0; }
.lv-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--glass-line); }
.lv-rows > div:first-child { padding-top: 2px; border-top: 0; }
.lv-rows dt { font-size: .9rem; color: var(--muted); }
.lv-rows dd { margin: 0; font-weight: 700; text-align: right; }
.lv-rows a { color: var(--ink); }
.lv-links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lv-links li { display: grid; gap: 2px; }
.lv-links a { font-weight: 700; line-height: 1.3; color: var(--ink); text-decoration: none; }
.lv-links a:hover { color: var(--accent); }
.lv-links span { font-size: .82rem; color: var(--muted); }
body.lv .lv-side-card--sea { background: #17485A; color: #EAF1F0; border-color: rgba(234, 241, 240, .16); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.lv.tmf-night .lv-side-card--sea { background: #0B2433; }
.lv-side-card--sea h2 { color: #FFFFFF; }
.lv-side-card--sea p { margin: 0; color: rgba(234, 241, 240, .88); }
.lv-side-card--sea a { font-weight: 700; color: #F4B39E; }

/* ------------------------------------------------------------------
 * Thread (A+): title and first post as one card, best answer lifted, facts on the side
 * ------------------------------------------------------------------ */
.lv-cols--thread .tmf-topic-head { margin: 0 0 14px; padding: 26px 28px 18px; border-radius: 30px; background: var(--glass-strong); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 1px 0 var(--glass-hi); }
.lv-cols--thread .tmf-topic-head h1 { max-width: none; }
.lv-cols--thread .tmf-topic-head:has(+ .tmf-thread) { margin-bottom: 0; padding-bottom: 8px; border-bottom: 0; border-radius: 30px 30px 0 0; }
.lv-cols--thread .tmf-topic-head + .tmf-thread > .tmf-post--op { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.lv-cols--thread .tmf-thread { display: flex; flex-direction: column; gap: 12px; }
.lv-cols--thread .tmf-post--op { order: -2; }
.lv-cols--thread .tmf-post--answer { order: -1; border: 1px solid rgba(47, 107, 74, .4); background: linear-gradient(rgba(220, 235, 221, .5), rgba(220, 235, 221, .25)), var(--glass-strong); box-shadow: inset 4px 0 0 #2F6B4A, var(--glass-shadow); }
body.lv.tmf-night .lv-cols--thread .tmf-post--answer { background: linear-gradient(rgba(30, 58, 42, .55), rgba(30, 58, 42, .3)), var(--glass-strong); }
.lv-cols--thread .tmf-reply-box { border-radius: 26px; }
#reply-form { scroll-margin-top: 110px; }

/* ------------------------------------------------------------------
 * Event (A+): photo left, one glass card right; description and side panels below
 * ------------------------------------------------------------------ */
body.lv .tmf-event__head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); gap: 20px; align-items: stretch; margin-bottom: 26px; padding: 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.lv .tmf-event__head .tmf-event__media { aspect-ratio: auto; min-height: 400px; border-radius: 32px; overflow: hidden; box-shadow: var(--glass-shadow); }
body.lv .tmf-event__head .tmf-event__media > * { height: 100%; }
.lv-event-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 26px; border-radius: 32px; background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 60px -30px rgba(14, 27, 38, .55); }
body.lv .lv-event-card .tmf-event__title { align-items: flex-start; padding: 6px 0 0 6px; }
body.lv .lv-event-card .tmf-facts { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 0; }
body.lv .lv-event-card .tmf-facts > div { padding: 10px 12px; border: 0; border-radius: 16px; background: var(--today-tile); color: var(--ink); }
body.lv .lv-event-card .tmf-rsvp { padding: 16px 0 0; border: 0; border-top: 1px dashed var(--glass-line); border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.lv .lv-event-card .tmf-rsvp h2 { margin: 0 0 4px; font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
body.lv .lv-event-card .tmf-rsvp__btns > * { flex: 1 1 140px; }
body.lv .lv-event-card .tmf-rsvp__btns .tmf-btn { width: 100%; min-height: 50px; }
body.lv .tmf-event__main > .tmf-prose, body.lv .tmf-event__main > .tmf-lineup { padding: 24px 26px; border-radius: 26px; background: var(--glass-strong); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow); }
body.lv .tmf-event__main > * + * { margin-top: 20px; }
@media (max-width: 900px) {
	body.lv .tmf-event__head { grid-template-columns: minmax(0, 1fr); }
	body.lv .tmf-event__head .tmf-event__media { min-height: 0; aspect-ratio: 16 / 9; }
}
.lv-where__place { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: #FFFFFF; }
.lv-where .lv-where__addr { font-size: .9rem; }
.lv-where__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-where__actions a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; background: rgba(234, 241, 240, .16); color: #EAF1F0; text-decoration: none; }
.lv-where__actions a:first-child { background: #F4B39E; color: #1C2B33; }
.lv-mini-events { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lv-mini-events a { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.lv-mini-events a:hover strong { color: var(--accent); }
.lv-mini-date { display: grid; place-items: center; align-content: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--chip); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1; }
.lv-mini-date b { font-family: var(--font-body); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lv-mini-events__text { display: grid; min-width: 0; }
.lv-mini-events__text small { color: var(--muted); }

@media (prefers-reduced-transparency: reduce) {
	.lv-compose, .lv-side-card:not(.lv-side-card--sea), .lv-event-card, body.lv .tmf-crumbs, .lv-cols--thread .tmf-topic-head { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) { .lv-compose { animation: none; } }
@media print { body.lv-home .tmf-now::before { display: none; } }
body.lv .tmf-prose > .lv-about { margin: 0 0 12px; font-size: 1.3rem; }
/* Phones: a compact Today card so the daily blocks come up sooner (the ticker has the rest). */
@media (max-width: 700px) { .lv-today { gap: 10px; padding: 16px 18px; } .lv-today__foot { display: none; } }

/* More open sky above the home blocks, and a smaller sun, so its course across the day reads clearly. */
body.lv-home { --lv-sun: 150px; --lv-moon: 76px; }
.lv-hero { padding-top: clamp(110px, 13vw, 200px); }
@media (max-width: 700px) { body.lv-home { --lv-sun: 92px; --lv-moon: 52px; } .lv-hero { padding-top: 104px; } }

/* ==================================================================
 * Stronger glass: clearer panes, a light sheen, crisp edges, and more colour behind them
 * ================================================================== */
body.lv {
	--glass: rgba(251, 247, 241, .28);
	--glass-strong: rgba(251, 247, 241, .56);
	--glass-border: rgba(255, 255, 255, .92);
	--glass-sheen: linear-gradient(140deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .16) 38%, rgba(255, 255, 255, .04) 70%, rgba(255, 255, 255, .12) 100%);
	--glass-shadow: 0 26px 50px -28px rgba(23, 72, 90, .5), 0 2px 8px -4px rgba(23, 72, 90, .18);
}
body.lv.tmf-night {
	--glass: rgba(21, 42, 55, .4);
	--glass-strong: rgba(21, 42, 55, .66);
	--glass-border: rgba(238, 240, 234, .2);
	--glass-sheen: linear-gradient(140deg, rgba(238, 240, 234, .14) 0%, rgba(238, 240, 234, .04) 40%, transparent 70%, rgba(238, 240, 234, .05) 100%);
}
body.lv :is(.tmf-card, .tmf-panel, .tmf-rows, .tmf-forum, .tmf-post, .tmf-reply-box, .tmf-event-card, .tmf-artist-card, .tmf-now-card, .tmf-wx, .tmf-surf, .tmf-table-wrap, .tmf-mini-events--wide, .tmf-creation, .tmf-offer, .tmf-poll, .tmf-report__form, .tmf-souk, .site-header__bar, .lv-hero__hello, .lv-today, .lv-compose, .lv-side-card, .lv-event-card, .tmf-crumbs, .tmf-topic-head, .tmf-empty, .tmfx-steps > li):not(.lv-side-card--sea):not(.tmf-post--answer) {
	background-image: var(--glass-sheen);
	-webkit-backdrop-filter: blur(20px) saturate(185%);
	backdrop-filter: blur(20px) saturate(185%);
	box-shadow: inset 0 1px 0 var(--glass-hi), inset 1px 0 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(255, 255, 255, .18), var(--glass-shadow);
}
/* (2026-11-19) The night version of this shadow was removed: it out-ranked caustic.css and put the
   old flat highlight on every glass panel at night. caustic.css now draws the night rim. */
/* The rsvp panel inside the event card stays flat (it is part of the card). */
body.lv .lv-event-card .tmf-rsvp { background-image: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* More colour behind the panes, spread so most panels have a shape under them. */
body.lv { --b1: #8CC3D3; --b2: #F4B39E; --b3: #BFDCE3; --b4: #F2C9A8; --b5: #F7D6C3; }
body.lv.tmf-night { --b1: #17485A; --b2: #4A2A22; --b3: #15303E; --b4: #3B2A20; --b5: #20394A; }
.lv-blobs {
	background-image:
		radial-gradient(circle 340px at 3% 560px, var(--b1) 99.4%, transparent 100%),
		radial-gradient(circle 150px at 76% 250px, var(--b4) 99.4%, transparent 100%),
		radial-gradient(circle 190px at 58% 820px, var(--b5) 99.4%, transparent 100%),
		radial-gradient(circle 270px at 97% 1080px, var(--b2) 99.4%, transparent 100%),
		radial-gradient(circle 210px at 36% 1450px, var(--b3) 99.4%, transparent 100%),
		radial-gradient(circle 120px at 16% 1760px, var(--b2) 99.4%, transparent 100%),
		radial-gradient(circle 160px at 84% 1720px, var(--b1) 99.4%, transparent 100%);
	background-size: 100% 1950px;
	opacity: .95;
}
@media (max-width: 700px) { .lv-blobs { background-size: 100% 1500px; } }

@media (prefers-reduced-transparency: reduce) {
	body.lv :is(.tmf-card, .tmf-panel, .tmf-rows, .tmf-forum, .tmf-post, .tmf-reply-box, .tmf-event-card, .tmf-artist-card, .tmf-now-card, .site-header__bar, .lv-today, .lv-compose, .lv-side-card, .lv-event-card, .tmf-crumbs, .tmf-topic-head) { background-image: none; background-color: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ------------------------------------------------------------------
 * Event form: invite artists by type, from a dropdown
 * ------------------------------------------------------------------ */
.tmf-invite.lv-invite-on .tmf-invite__list, .tmf-invite.lv-invite-on .tmf-invite__filter { display: none; }
.lv-invite { display: grid; gap: 10px; margin-top: 6px; }
.lv-invite__step { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-weight: 700; }
.lv-invite__step b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: .78rem; }
.lv-invite__types { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-invite__types button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); color: var(--ink); font: 600 .92rem var(--font-body); cursor: pointer; transition: background-color .15s, color .15s; }
.lv-invite__types button span { font-weight: 500; opacity: .65; }
.lv-invite__types button:hover { border-color: var(--ink); }
.lv-invite__types button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.lv-invite__row { display: flex; gap: 8px; align-items: stretch; }
.lv-invite__row select { flex: 1; min-width: 0; }
.lv-invite__add { min-height: 44px; }
.lv-invite__add:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.lv-invite__page { justify-self: start; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lv-invite__page[hidden] { display: none; }
.lv-invite__chosen ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.lv-invite__chosen li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 6px 4px 14px; border: 1px solid var(--glass-border); border-radius: 999px; background: var(--today-tile); }
.lv-invite__chosen li > :last-child:not(.lv-invite__x) { margin-right: 6px; }
.lv-invite__chosen a { font-weight: 700; color: var(--ink); }
.lv-invite__chosen small { color: var(--muted); }
.lv-invite__x { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--chip); color: var(--ink); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.lv-invite__x:hover { background: var(--ink); color: var(--surface); }
body.lv .lv-cols--thread .tmf-topic-head:has(+ .tmf-thread) { box-shadow: inset 0 1px 0 var(--glass-hi); }

/* ==================================================================
 * Home: open sky first, then the daily blocks riding on the waves;
 * composer above "Latest discussions", Today card above "Coming up".
 * ================================================================== */
body.lv-home { --lv-hero-h: clamp(250px, 26vw, 360px); }
@media (max-width: 700px) { body.lv-home { --lv-hero-h: 220px; } }
.lv-hero { display: block; height: var(--lv-hero-h); padding: 0; }
body.lv-home .tmf-now { margin-top: calc(var(--lv-sea-h) * -.55); padding-top: 0; }
body.lv-home .tmf-now::before { top: calc(var(--lv-sea-h) * .55 - 1px); }
.tmf-home-feed > .lv-compose { max-width: none; margin-bottom: 26px; }
.lv-compose__hello { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: 1.05rem; }
.tmf-home-side > .lv-today { animation: none; }

/* ------------------------------------------------------------------
 * Showcase: "Your piece" fields on the form, and the player on the post
 * ------------------------------------------------------------------ */
.lv-sc-fields[hidden], [data-pt-pick][hidden], [data-poll-toggle][hidden], .lv-sc-photo[hidden] { display: none !important; }
.lv-sc-fields { display: grid; gap: 6px; padding: 16px 18px 18px; border: 1px dashed var(--glass-line); border-radius: 20px; }
.lv-sc-fields legend { padding: 0 6px; font-weight: 800; }
.lv-sc-photo { margin: 0; font-weight: 600; color: var(--ink); }
.lv-sc { display: grid; gap: 12px; margin: 4px 0 18px; }
.lv-sc__embed { overflow: hidden; border-radius: 18px; }
.lv-sc__embed iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.lv-sc--video .lv-sc__embed iframe { height: auto; aspect-ratio: 16 / 9; }
.lv-sc__embed blockquote { margin: 0 auto; }
.lv-sc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.lv-sc__medium { padding: 6px 12px; border-radius: 999px; background: var(--chip); font-size: .9rem; font-weight: 600; }
.lv-sc__link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--surface); font-weight: 700; text-decoration: none; }
.lv-sc__link:hover { background: var(--accent); color: #FFFFFF; }

/* More sky above the daily blocks: room for the sun's whole arc between the header and the waves. */
body.lv-home { --lv-hero-h: clamp(380px, 36vw, 470px); }
@media (max-width: 700px) { body.lv-home { --lv-hero-h: 290px; } }
body.lv-home .tmf-now { margin-top: calc(var(--lv-sea-h) * -.4); }
body.lv-home .tmf-now::before { top: calc(var(--lv-sea-h) * .4 - 1px); }

/* Showcase form ("Share your work") */
.lv-sc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.lv-sc-head__kicker { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lv-sc-head .tmf-lede { max-width: 60ch; margin: 6px 0 0; }
select.lv-sc-select-hidden { display: none !important; }
.lv-sc-sections { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-sc-sections[hidden] { display: none; }
.lv-sc-sections button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); color: var(--ink); font: 600 .95rem var(--font-body); cursor: pointer; transition: background-color .15s, color .15s; }
.lv-sc-sections button:hover { border-color: var(--ink); }
.lv-sc-sections button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.lv-sc-form .lv-sc-fields { border: 1px dashed var(--glass-line); }
.lv-sc-hint { margin-top: 8px; }
.lv-sc-hint a { font-weight: 700; color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }