/* ==========================================================================
   LiveHim Community — front-end styles
   Modern minimal · Instrument Serif display · Geist UI · soft amber accent

   Every component selector is scoped under .livehim-community so the host
   theme's styles cannot bleed in (and vice versa).
   ========================================================================== */

/* --- Bundled fonts -------------------------------------------------------- */
@font-face {
	font-family: "LiveHim Serif";
	src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "LiveHim Serif";
	src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "LiveHim Sans";
	src: url("../fonts/Geist-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* --- Scope + design tokens ----------------------------------------------- */
.livehim-community {
	--lh-ink: #1d1b16;
	--lh-ink-soft: #6c655a;
	--lh-ink-faint: #a39b8d;
	--lh-paper: #ffffff;
	--lh-surface: #faf7f1;
	--lh-surface-2: #f1ebdf;
	--lh-line: #ebe5d9;
	--lh-amber: #d99a4e;
	--lh-amber-deep: #b9772b;
	--lh-amber-soft: #f0d3a6;
	--lh-amber-wash: #fbf2e3;
	--lh-error: #bb3b2e;
	--lh-radius: 20px;
	--lh-radius-sm: 12px;
	--lh-shadow: 0 1px 2px rgba(29, 27, 22, 0.04), 0 10px 28px -14px rgba(29, 27, 22, 0.16);
	--lh-serif: "LiveHim Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--lh-sans: "LiveHim Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	font-family: var(--lh-sans);
	color: var(--lh-ink);
	line-height: 1.55;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align: left;
}

.livehim-community *,
.livehim-community *::before,
.livehim-community *::after {
	box-sizing: border-box;
}

.livehim-community p {
	margin: 0;
	padding: 0;
}

.livehim-community button {
	margin: 0;
	font-family: var(--lh-sans);
}

.livehim-community a {
	box-shadow: none;
}

/* --- Layout -------------------------------------------------------------- */
.livehim-community.lh-block {
	max-width: 720px;
	margin: 0 auto;
	padding: 4px 0;
}

.livehim-community .lh-section {
	margin: 56px 0;
}
.livehim-community .lh-section--counter {
	margin-top: 8px;
	margin-bottom: 40px;
}

.livehim-community .lh-section__title {
	font-family: var(--lh-serif);
	font-weight: 400;
	font-size: clamp(1.9rem, 4.4vw, 2.7rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--lh-ink);
	margin: 0 0 6px;
	padding: 0;
	text-align: center;
}

.livehim-community .lh-section__intro {
	text-align: center;
	color: var(--lh-ink-soft);
	font-size: 1rem;
	margin: 0 auto 28px;
	max-width: 38ch;
}

/* ==========================================================================
   Live prayer counter
   ========================================================================== */
.livehim-community .lh-counter {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	padding: 56px 20px;
	overflow: hidden;
	isolation: isolate;
}

.livehim-community .lh-counter__glow,
.livehim-community .lh-counter__rays {
	position: absolute;
	left: 50%;
	top: 50%;
	pointer-events: none;
}

.livehim-community .lh-counter__glow {
	width: 540px;
	height: 540px;
	max-width: 130%;
	max-height: 130%;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, var(--lh-amber-wash) 0%, rgba(251, 242, 227, 0) 68%);
	z-index: -2;
	animation: lh-breathe 7s ease-in-out infinite;
}

.livehim-community .lh-counter__rays {
	width: 780px;
	height: 780px;
	max-width: 175%;
	max-height: 175%;
	transform: translate(-50%, -50%);
	background: repeating-conic-gradient(
		from 0deg,
		rgba(217, 154, 78, 0) 0deg,
		rgba(217, 154, 78, 0.24) 2.2deg,
		rgba(217, 154, 78, 0) 7deg,
		rgba(217, 154, 78, 0) 15deg
	);
	-webkit-mask-image: radial-gradient(circle, #000 6%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0) 66%);
	mask-image: radial-gradient(circle, #000 6%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0) 66%);
	z-index: -1;
	animation: lh-spin 64s linear infinite;
}

@keyframes lh-spin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}
@keyframes lh-breathe {
	0%, 100% {
		opacity: 0.7;
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.07);
	}
}

.livehim-community .lh-counter__content {
	position: relative;
	text-align: center;
}

.livehim-community .lh-counter__number {
	font-family: var(--lh-serif);
	font-weight: 400;
	font-size: clamp(4rem, 13vw, 8rem);
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--lh-ink);
	font-variant-numeric: tabular-nums;
}

.livehim-community .lh-counter__label {
	margin-top: 14px;
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--lh-ink-soft);
	font-weight: 500;
}

/* ==========================================================================
   Submission form
   ========================================================================== */
.livehim-community .lh-form {
	background: var(--lh-paper);
	border: 1px solid var(--lh-line);
	border-radius: var(--lh-radius);
	padding: 24px;
	box-shadow: var(--lh-shadow);
}

.livehim-community .lh-form__field {
	margin: 0;
}

.livehim-community .lh-form__label {
	display: block;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--lh-ink-soft);
	margin-bottom: 8px;
}

.livehim-community .lh-form__textarea,
.livehim-community .lh-form__input {
	display: block;
	width: 100%;
	margin: 0;
	border: 1px solid var(--lh-line);
	border-radius: var(--lh-radius-sm);
	background: var(--lh-surface);
	padding: 14px 16px;
	font-family: var(--lh-sans);
	font-size: 1rem;
	color: var(--lh-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.livehim-community .lh-form__textarea {
	min-height: 122px;
	line-height: 1.6;
	resize: vertical;
}

.livehim-community .lh-form__textarea:focus,
.livehim-community .lh-form__input:focus {
	outline: none;
	border-color: var(--lh-amber);
	background: var(--lh-paper);
	box-shadow: 0 0 0 3px var(--lh-amber-wash);
}

.livehim-community .lh-form__textarea::placeholder,
.livehim-community .lh-form__input::placeholder {
	color: var(--lh-ink-faint);
	opacity: 1;
}

.livehim-community .lh-form__hint {
	display: flex;
	justify-content: flex-end;
	margin-top: 6px;
}

.livehim-community .lh-form__counter {
	font-size: 0.76rem;
	color: var(--lh-ink-faint);
	font-variant-numeric: tabular-nums;
}
.livehim-community .lh-form__counter.is-warn {
	color: var(--lh-amber-deep);
	font-weight: 500;
}

.livehim-community .lh-form__row {
	margin: 18px 0 4px;
}

.livehim-community .lh-form__name {
	margin-top: 16px;
}

.livehim-community .lh-form__actions {
	margin-top: 22px;
}
.livehim-community .lh-form__actions .lh-btn {
	width: 100%;
}

.livehim-community .lh-form__message {
	margin-top: 16px;
	font-size: 0.92rem;
	text-align: center;
	border-radius: var(--lh-radius-sm);
}
.livehim-community .lh-form__message:empty {
	display: none;
}
.livehim-community .lh-form__message.is-success {
	background: var(--lh-amber-wash);
	color: var(--lh-amber-deep);
	padding: 13px 16px;
	font-weight: 500;
}
.livehim-community .lh-form__message.is-error {
	background: #fbeae8;
	color: var(--lh-error);
	padding: 13px 16px;
}

/* --- Toggle switch ------------------------------------------------------- */
.livehim-community .lh-switch {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
}
.livehim-community .lh-switch__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	margin: 0;
}
.livehim-community .lh-switch__track {
	position: relative;
	flex: none;
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: var(--lh-surface-2);
	border: 1px solid var(--lh-line);
	transition: background 0.18s ease, border-color 0.18s ease;
}
.livehim-community .lh-switch__thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.18s ease;
}
.livehim-community .lh-switch__input:checked + .lh-switch__track {
	background: var(--lh-amber);
	border-color: var(--lh-amber);
}
.livehim-community .lh-switch__input:checked + .lh-switch__track .lh-switch__thumb {
	transform: translateX(18px);
}
.livehim-community .lh-switch__input:focus-visible + .lh-switch__track {
	box-shadow: 0 0 0 3px var(--lh-amber-wash);
}
.livehim-community .lh-switch__label {
	font-size: 0.9rem;
	color: var(--lh-ink-soft);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
/* Ensure the HTML hidden attribute always wins over the display rules below. */
.livehim-community [hidden] {
	display: none !important;
}

.livehim-community .lh-btn {
	font-family: var(--lh-sans);
	font-weight: 500;
	font-size: 0.95rem;
	line-height: 1.2;
	cursor: pointer;
	border-radius: 999px;
	border: 1px solid transparent;
	padding: 13px 24px;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease,
		color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.livehim-community .lh-btn:active {
	transform: translateY(1px) scale(0.99);
}
.livehim-community .lh-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--lh-amber-wash);
}
.livehim-community .lh-btn--primary {
	background: var(--lh-amber);
	color: #fff;
	box-shadow: 0 8px 18px -8px rgba(185, 119, 43, 0.65);
}
.livehim-community .lh-btn--primary:hover {
	background: var(--lh-amber-deep);
	color: #fff;
}
.livehim-community .lh-btn--primary:disabled {
	opacity: 0.55;
	cursor: default;
	box-shadow: none;
	transform: none;
}
.livehim-community .lh-btn--ghost {
	background: var(--lh-paper);
	border-color: var(--lh-line);
	color: var(--lh-ink);
}
.livehim-community .lh-btn--ghost:hover {
	border-color: var(--lh-amber);
	color: var(--lh-amber-deep);
}
.livehim-community .lh-btn--ghost:disabled {
	opacity: 0.6;
	cursor: default;
}

/* ==========================================================================
   Prayer wall
   ========================================================================== */
.livehim-community .lh-wall__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.livehim-community .lh-card {
	position: relative;
	background: var(--lh-paper);
	border: 1px solid var(--lh-line);
	border-radius: var(--lh-radius);
	padding: 22px 22px 18px;
	box-shadow: var(--lh-shadow);
	animation: lh-fade-in 0.45s ease both;
}

.livehim-community .lh-card--pinned {
	border-color: var(--lh-amber-soft);
	background: linear-gradient(180deg, var(--lh-amber-wash), var(--lh-paper) 58%);
}

.livehim-community .lh-card__pin {
	position: absolute;
	top: 15px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.66rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--lh-amber-deep);
}
.livehim-community .lh-card__pin svg {
	width: 12px;
	height: 12px;
}

.livehim-community .lh-card__text {
	font-size: 1.07rem;
	line-height: 1.62;
	color: var(--lh-ink);
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	margin: 0 0 16px;
}
.livehim-community .lh-card--pinned .lh-card__text {
	padding-right: 70px;
}

.livehim-community .lh-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.livehim-community .lh-card__meta {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 0.84rem;
	color: var(--lh-ink-faint);
	min-width: 0;
}
.livehim-community .lh-card__name {
	font-weight: 600;
	color: var(--lh-ink-soft);
}
.livehim-community .lh-card__dot {
	color: var(--lh-line);
}

.livehim-community .lh-card__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* --- "I prayed" button --------------------------------------------------- */
.livehim-community .lh-pray {
	font-family: var(--lh-sans);
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 16px;
	margin: 0;
	border-radius: 999px;
	border: 1px solid var(--lh-line);
	background: var(--lh-paper);
	color: var(--lh-ink-soft);
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
		transform 0.12s ease, opacity 0.15s ease;
}
.livehim-community .lh-pray__icon {
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--lh-amber);
	transition: color 0.15s ease, transform 0.25s ease;
}
.livehim-community .lh-pray__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}
.livehim-community .lh-pray:hover:not(.is-prayed):not(:disabled) {
	border-color: var(--lh-amber);
	color: var(--lh-amber-deep);
	background: var(--lh-amber-wash);
}
.livehim-community .lh-pray:active:not(:disabled) {
	transform: scale(0.96);
}
.livehim-community .lh-pray:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--lh-amber-wash);
}
.livehim-community .lh-pray.is-prayed {
	background: var(--lh-amber);
	border-color: var(--lh-amber);
	color: #fff;
	cursor: default;
}
.livehim-community .lh-pray.is-prayed .lh-pray__icon {
	color: #fff;
}
.livehim-community .lh-pray.is-loading {
	opacity: 0.65;
	cursor: default;
}
.livehim-community .lh-pray.is-burst .lh-pray__icon {
	animation: lh-flame 0.55s ease;
}
@keyframes lh-flame {
	0% { transform: scale(1); }
	35% { transform: scale(1.45) rotate(-6deg); }
	70% { transform: scale(0.92) rotate(4deg); }
	100% { transform: scale(1); }
}

/* --- Count / account gate ------------------------------------------------ */
.livehim-community .lh-card__count {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.84rem;
	color: var(--lh-ink-soft);
	white-space: nowrap;
}
.livehim-community .lh-card__count-num {
	font-weight: 600;
	color: var(--lh-ink);
	font-variant-numeric: tabular-nums;
}

.livehim-community .lh-gate {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8rem;
	color: var(--lh-ink-faint);
	text-decoration: none;
	border-bottom: 1px dashed var(--lh-line);
	padding-bottom: 1px;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.livehim-community .lh-gate:hover {
	color: var(--lh-amber-deep);
	border-color: var(--lh-amber);
}
.livehim-community .lh-gate__icon {
	width: 13px;
	height: 13px;
	flex: none;
}
.livehim-community .lh-gate__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* --- Skeleton / status --------------------------------------------------- */
.livehim-community .lh-skeleton {
	height: 118px;
	border-radius: var(--lh-radius);
	background: linear-gradient(
		100deg,
		var(--lh-surface) 28%,
		var(--lh-surface-2) 50%,
		var(--lh-surface) 72%
	);
	background-size: 220% 100%;
	animation: lh-shimmer 1.4s linear infinite;
}
@keyframes lh-shimmer {
	to {
		background-position: -220% 0;
	}
}

.livehim-community .lh-wall__status {
	text-align: center;
	color: var(--lh-ink-faint);
	padding: 40px 16px;
	font-size: 0.95rem;
}

.livehim-community .lh-wall__more {
	text-align: center;
	margin-top: 22px;
}

/* --- Animations ---------------------------------------------------------- */
@keyframes lh-fade-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 600px) {
	.livehim-community .lh-section {
		margin: 44px 0;
	}
	.livehim-community .lh-counter {
		min-height: 260px;
		padding: 40px 16px;
	}
	.livehim-community .lh-form {
		padding: 20px;
	}
	.livehim-community .lh-card {
		padding: 20px 18px 16px;
	}
	.livehim-community .lh-card__foot {
		gap: 10px;
	}
}

/* ==========================================================================
   App promo section
   ========================================================================== */
.livehim-community .lh-section--app {
	margin: 64px 0 40px;
}

.livehim-community .lh-promo {
	position: relative;
	background: linear-gradient(180deg, var(--lh-amber-wash), var(--lh-paper) 75%);
	border: 1px solid var(--lh-amber-soft);
	border-radius: var(--lh-radius);
	padding: 44px 28px 40px;
	text-align: center;
	overflow: hidden;
}
.livehim-community .lh-promo::before {
	content: "";
	position: absolute;
	top: -120px;
	left: 50%;
	width: 380px;
	height: 380px;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(217, 154, 78, 0.18) 0%, rgba(217, 154, 78, 0) 70%);
	pointer-events: none;
	z-index: 0;
}
.livehim-community .lh-promo__inner {
	position: relative;
	z-index: 1;
}
.livehim-community .lh-promo__eyebrow {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--lh-amber-deep);
	font-weight: 600;
	margin-bottom: 12px;
}
.livehim-community .lh-promo__title {
	font-family: var(--lh-serif);
	font-weight: 400;
	font-size: clamp(1.7rem, 4.2vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--lh-ink);
	margin: 0 0 14px;
	padding: 0;
}
.livehim-community .lh-promo__copy {
	color: var(--lh-ink-soft);
	font-size: 1rem;
	line-height: 1.6;
	max-width: 38ch;
	margin: 0 auto 26px;
}
.livehim-community .lh-promo__stores {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.livehim-community .lh-store {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 10px 18px;
	border-radius: 14px;
	background: var(--lh-ink);
	color: #fff;
	text-decoration: none;
	min-width: 178px;
	transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
	box-shadow: 0 8px 22px -12px rgba(29, 27, 22, 0.5);
}
.livehim-community .lh-store:hover {
	background: #000;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px -10px rgba(29, 27, 22, 0.55);
}
.livehim-community .lh-store:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--lh-amber-wash), 0 10px 28px -10px rgba(29, 27, 22, 0.55);
}
.livehim-community .lh-store__icon {
	display: inline-flex;
	width: 26px;
	height: 26px;
	color: #fff;
	flex: none;
}
.livehim-community .lh-store__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}
.livehim-community .lh-store__text {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.05;
}
.livehim-community .lh-store__small {
	font-size: 0.66rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	opacity: 0.88;
}
.livehim-community .lh-store__big {
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.005em;
	margin-top: 2px;
}

/* ==========================================================================
   Newsletter band
   ========================================================================== */
.livehim-community .lh-section--newsletter {
	margin: 40px 0 24px;
}

.livehim-community .lh-newsletter {
	background: var(--lh-paper);
	border: 1px solid var(--lh-line);
	border-radius: var(--lh-radius);
	padding: 30px 26px;
	text-align: center;
}
.livehim-community .lh-newsletter__title {
	font-family: var(--lh-serif);
	font-weight: 400;
	font-size: clamp(1.5rem, 3.4vw, 1.9rem);
	line-height: 1.2;
	color: var(--lh-ink);
	margin: 0 0 8px;
	padding: 0;
}
.livehim-community .lh-newsletter__copy {
	color: var(--lh-ink-soft);
	font-size: 0.95rem;
	max-width: 38ch;
	margin: 0 auto 20px;
	line-height: 1.55;
}
.livehim-community .lh-newsletter__form {
	display: flex;
	gap: 8px;
	max-width: 460px;
	margin: 0 auto;
	flex-wrap: wrap;
	align-items: stretch;
}
.livehim-community .lh-newsletter__input {
	flex: 1 1 220px;
	min-width: 0;
	border: 1px solid var(--lh-line);
	border-radius: var(--lh-radius-sm);
	background: var(--lh-surface);
	padding: 12px 16px;
	font-family: var(--lh-sans);
	font-size: 0.95rem;
	color: var(--lh-ink);
	margin: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.livehim-community .lh-newsletter__input:focus {
	outline: none;
	border-color: var(--lh-amber);
	background: var(--lh-paper);
	box-shadow: 0 0 0 3px var(--lh-amber-wash);
}
.livehim-community .lh-newsletter__input::placeholder {
	color: var(--lh-ink-faint);
	opacity: 1;
}
.livehim-community .lh-newsletter__btn {
	flex: 0 0 auto;
	padding: 12px 22px;
}
.livehim-community .lh-newsletter__message {
	flex: 0 0 100%;
	margin-top: 4px;
	font-size: 0.9rem;
	text-align: center;
}
.livehim-community .lh-newsletter__message:empty {
	display: none;
}
.livehim-community .lh-newsletter__message.is-success {
	color: var(--lh-amber-deep);
	font-weight: 500;
}
.livehim-community .lh-newsletter__message.is-error {
	color: var(--lh-error);
}

@media (max-width: 520px) {
	.livehim-community .lh-newsletter__form {
		flex-direction: column;
	}
	.livehim-community .lh-newsletter__btn {
		width: 100%;
	}
	.livehim-community .lh-promo {
		padding: 36px 22px;
	}
	.livehim-community .lh-store {
		min-width: 160px;
	}
}

/* --- Toast (appended to <body>, so styles are self-contained) ------------ */
.lh-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	transform: translate(-50%, 16px);
	z-index: 100000;
	max-width: 90vw;
	padding: 12px 20px;
	border-radius: 999px;
	background: #1d1b16;
	color: #fff;
	font-family: "LiveHim Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 0.9rem;
	line-height: 1.4;
	text-align: center;
	box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.28s ease, transform 0.28s ease;
	pointer-events: none;
}
.lh-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.livehim-community *,
	.lh-toast {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.livehim-community .lh-counter__rays,
	.livehim-community .lh-counter__glow {
		animation: none !important;
	}
}


/* ==========================================================================
   Sort / filter pills
   ========================================================================== */
.livehim-community .lh-sort {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	justify-content: center;
}
.livehim-community .lh-sort__btn {
	font-family: var(--lh-sans);
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid var(--lh-line);
	background: var(--lh-paper);
	color: var(--lh-ink-soft);
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.livehim-community .lh-sort__btn:hover {
	border-color: var(--lh-amber);
	color: var(--lh-amber-deep);
}
.livehim-community .lh-sort__btn.is-active {
	background: var(--lh-amber);
	border-color: var(--lh-amber);
	color: #fff;
}
.livehim-community .lh-sort__btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--lh-amber-wash);
}

/* ==========================================================================
   Music section (reuses .lh-promo with --music modifier)
   ========================================================================== */
.livehim-community .lh-section--music {
	margin: 40px 0;
}
.livehim-community .lh-promo--music {
	background: var(--lh-surface);
	border-color: var(--lh-line);
}
.livehim-community .lh-promo--music::before {
	display: none;
}

/* Brand-colored streaming icons inside .lh-store pills */
.livehim-community .lh-store--spotify .lh-store__icon { color: #1DB954; }
.livehim-community .lh-store--apple .lh-store__icon { color: #FA243C; }
.livehim-community .lh-store--youtube .lh-store__icon { color: #FF0033; }
