/**
 * Aumaujaya Sacred Events — base layer.
 * Structure and layout only. Colour and type live in each template stylesheet.
 * Mobile first: designed at 375px, scaled up.
 */

.ase-page,
.ase-page *,
.ase-page *::before,
.ase-page *::after {
	box-sizing: border-box;
}

.ase-page {
	--ase-max: 720px;
	--ase-pad: 18px;
	--ase-gap: 14px;
	--ase-radius: 12px;
	--ase-radius-sm: 8px;

	width: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	font-size: 16px;
	line-height: 1.75;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
}

.ase-body {
	margin: 0;
	padding: 0;
}

.ase-main {
	display: block;
	width: 100%;
}

/* ------------------------------------------------------------------ header */

.ase-header {
	position: sticky;
	top: 0;
	z-index: 60;
	width: 100%;
	transition: background-color 240ms ease, box-shadow 240ms ease;
}

.ase-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: var(--ase-max);
	margin: 0 auto;
	padding: 10px var(--ase-pad);
}

.ase-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	min-height: 44px;
}

.ase-brand-logo {
	display: block;
	height: 34px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
}

.ase-brand-text {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.ase-menu-btn {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	background: none;
	cursor: pointer;
}

.ase-menu-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	transition: transform 200ms ease, opacity 200ms ease;
}

.ase-menu-btn[aria-expanded="true"] .ase-menu-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ase-menu-btn[aria-expanded="true"] .ase-menu-bar:nth-child(2) {
	opacity: 0;
}

.ase-menu-btn[aria-expanded="true"] .ase-menu-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.ase-nav {
	display: none;
	padding: 0 var(--ase-pad) 12px;
}

.ase-nav.is-open {
	display: block;
}

.ase-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: var(--ase-max);
	margin-inline: auto;
}

.ase-nav-list li {
	margin: 0;
}

.ase-nav-list a {
	display: block;
	padding: 12px 4px;
	font-size: 15px;
	text-decoration: none;
	min-height: 44px;
}

.ase-nav-list .sub-menu {
	list-style: none;
	margin: 0;
	padding-left: 14px;
}

/* ---------------------------------------------------------------- sections */

.ase-sec {
	max-width: var(--ase-max);
	margin: 0 auto;
	padding: 34px var(--ase-pad);
}

.ase-sec + .ase-sec {
	padding-top: 8px;
}

.ase-h1 {
	margin: 0 0 6px;
	font-size: clamp(22px, 6vw, 32px);
	line-height: 1.3;
	font-weight: 500;
}

.ase-h2 {
	margin: 0 0 16px;
	font-size: clamp(18px, 4.6vw, 24px);
	line-height: 1.35;
	font-weight: 500;
	text-align: center;
}

.ase-prose p {
	margin: 0 0 16px;
}

.ase-prose p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------- contrast safety net */
/*
 * Rich-text fields often carry pasted inline colours (e.g. color:#000 from
 * Word, Docs or Facebook), which override the template and can turn text
 * invisible on dark or blue backgrounds. Force pasted body text to inherit
 * the template's ink colour instead. Links keep the accent colour; explicit
 * highlight/mark styling is left alone. Templates that need a different
 * shade re-declare .ase-prose colour after the base layer and still win for
 * their own class-level rules — this only overrides *inline* pasted colour.
 */
.ase-prose,
.ase-prose p,
.ase-prose span,
.ase-prose div,
.ase-prose li,
.ase-prose td,
.ase-prose th,
.ase-prose h1,
.ase-prose h2,
.ase-prose h3,
.ase-prose h4,
.ase-prose h5,
.ase-prose h6,
.ase-prose strong,
.ase-prose em,
.ase-prose blockquote {
	color: var(--ase-ink) !important;
}

.ase-prose a {
	color: var(--ase-accent-2, var(--ase-accent)) !important;
}

/* Pasted inline background colours can also hide text — clear them so the
 * section background shows through and the ink stays readable. */
.ase-prose [style*="background"] {
	background: transparent !important;
}

.ase-intro,
.ase-note,
.ase-footnote {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.7;
}

/* ------------------------------------------------------------ language flip */

.ase-lang-toggle {
	position: sticky;
	top: 56px;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 10px var(--ase-pad) 14px;
}

/* When live, the sticky LIVE ticker occupies the top zone; keeping the
   language toggle sticky as well makes the two overlap as the page scrolls.
   Let the toggle scroll away normally instead. */
.ase-body--live .ase-lang-toggle {
	position: static;
	top: auto;
}

.ase-lang-sep {
	flex: 0 0 auto;
	width: 1px;
	height: 22px;
	background: var(--ase-line, rgba(255, 255, 255, 0.35));
	opacity: 0.7;
}

.ase-lang-btn {
	flex: 0 0 auto;
	min-height: 36px;
	padding: 6px 20px;
	font: inherit;
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
	border-radius: 999px;
	cursor: pointer;
	background: none;
}

.ase-page[data-lang="te"] .ase-lang--en {
	display: none !important;
}

/* --------------------------------------------------------------------- hero */

.ase-hero {
	padding-top: 20px;
	text-align: center;
}

.ase-eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ase-hero-image {
	margin: 0 0 18px;
	border-radius: var(--ase-radius);
	overflow: hidden;
	line-height: 0;
}

.ase-hero-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.ase-hero-sub {
	margin: 2px 0 0;
	font-size: 15px;
}

.ase-hero-date {
	margin: 12px 0 0;
	font-size: 14px;
	letter-spacing: 0.04em;
}

.ase-live-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 auto 14px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ase-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	animation: ase-pulse 1.6s ease-in-out infinite;
}

@keyframes ase-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: 0.35; transform: scale(0.8); }
}

/* ---------------------------------------------------------------- countdown */

.ase-countdown {
	text-align: center;
}

.ase-cd-label {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ase-cd-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 0 0 10px;
}

.ase-cd-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 16px 4px 12px;
	border-radius: var(--ase-radius-sm);
}

.ase-cd-num {
	font-size: clamp(36px, 11vw, 58px);
	line-height: 1.02;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}

.ase-cd-unit {
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ase-cd-tz {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ase-cd-message {
	margin-top: 10px;
}

.ase-cd-live {
	margin: 0;
	font-size: clamp(22px, 6vw, 32px);
	font-weight: 500;
	letter-spacing: 0.04em;
}

.ase-cd-after {
	margin: 0;
	font-size: 15px;
}

/* ----------------------------------------------------------------- telecast */

.ase-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0 0 14px;
}

.ase-chip {
	min-height: 40px;
	padding: 8px 16px;
	font: inherit;
	font-size: 14px;
	border-radius: 999px;
	cursor: pointer;
	background: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.ase-chip__name {
	display: block;
	font-weight: 600;
	line-height: 1.2;
}

.ase-chip__place {
	display: block;
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.2;
	margin-top: 1px;
	opacity: 0.8;
	letter-spacing: 0.02em;
}

.ase-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--ase-radius);
	overflow: hidden;
}

.ase-player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ase-player-links {
	margin: 10px 0 0;
	text-align: center;
	font-size: 14px;
}

/* --------------------------------------------------------------- invitation */

.ase-invite-box {
	position: relative;
	padding: 26px 22px 28px;
	border-radius: var(--ase-radius);
	text-align: center;
}

.ase-invite-mark {
	display: block;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.4em;
	margin: 0 0 6px;
}

.ase-invite-mark--end {
	margin: 16px 0 0;
}

.ase-invite-box .ase-h2 {
	margin-bottom: 14px;
}

.ase-prose--invite p {
	font-size: 16px;
	line-height: 1.85;
}

/* ----------------------------------------------------------------- timeline */

.ase-schedule-date {
	margin: 0 0 18px;
	text-align: center;
	font-size: 14px;
	letter-spacing: 0.05em;
}

.ase-timeline {
	list-style: none;
	margin: 0 0 18px;
	padding: 0 0 0 22px;
}

.ase-tl-item {
	position: relative;
	padding: 0 0 22px 4px;
}

.ase-tl-item:last-child {
	padding-bottom: 0;
}

.ase-tl-dot {
	position: absolute;
	left: -22px;
	top: 8px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
}

.ase-tl-time {
	margin: 0 0 3px;
	font-size: 13px;
	letter-spacing: 0.06em;
}

.ase-tl-title {
	margin: 0 0 3px;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 500;
}

.ase-tl-desc {
	margin: 0;
	font-size: 14px;
}

/* ------------------------------------------------------------------ venues */

.ase-venue-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ase-gap);
}

.ase-venue,
.ase-secondary-card {
	padding: 18px;
	border-radius: var(--ase-radius);
}

.ase-venue-name {
	margin: 0 0 2px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
}

.ase-venue-region {
	margin: 0 0 8px;
	font-size: 13px;
}

.ase-venue-addr {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.6;
}

.ase-venue-time {
	margin: 0 0 10px;
	font-size: 14px;
}

.ase-venue-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.ase-secondary-date {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 500;
}

.ase-mini-cd {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	margin: 6px 0 0;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ buttons */

.ase-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 20px;
	border: 0;
	border-radius: var(--ase-radius-sm);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: filter 160ms ease, transform 120ms ease;
}

.ase-btn:active {
	transform: scale(0.985);
}

.ase-btn--sm {
	min-height: 40px;
	padding: 9px 15px;
	font-size: 14px;
}

/* Primary and ghost were used in markup but never given base rules.
   Templates may still override; these are the safe defaults. */

.ase-btn--primary {
	background: var(--ase-accent);
	color: var(--ase-on-accent, #ffffff);
	font-weight: 600;
}

.ase-btn--primary:hover,
.ase-btn--primary:focus-visible {
	filter: brightness(1.08);
}

.ase-btn--ghost {
	background: transparent;
	border: 1px solid var(--ase-line, rgba(255, 255, 255, 0.24));
	color: var(--ase-accent-2, var(--ase-accent));
}

.ase-btn--ghost:hover,
.ase-btn--ghost:focus-visible {
	background: color-mix(in srgb, var(--ase-accent) 14%, transparent);
}

.ase-btn:focus-visible {
	outline: 2px solid var(--ase-accent);
	outline-offset: 2px;
}

.ase-cta-wrap {
	margin: 18px 0 0;
	text-align: center;
}

/* -------------------------------------------------------------------- frame */

.ase-frame {
	padding: 10px;
	border-radius: var(--ase-radius);
	overflow: hidden;
}

.ase-frame img {
	max-width: 100%;
	height: auto;
	display: block;
}

.ase-frame--img {
	line-height: 0;
	margin-bottom: 18px;
}


.ase-poornahuti-img {
	width: 100%;
	height: auto;
	border-radius: var(--ase-radius-sm);
}

.ase-gallery-pane {
	display: none;
}

.ase-gallery-pane.is-active {
	display: block;
}

/* --------------------------------------------------------------------- puja */

.ase-puja-grid {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
}

.ase-puja-item {
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 13px 15px;
	border-radius: var(--ase-radius-sm);
}

.ase-puja-name {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

.ase-puja-meaning {
	font-size: 13px;
}

.ase-puja-amount {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 500;
}

/* ---------------------------------------------------------------- sankalpa */

.ase-form {
	padding: 18px;
	border-radius: var(--ase-radius);
	margin: 0 0 22px;
}

.ase-form-row {
	margin: 0 0 14px;
}

.ase-flabel {
	display: block;
	margin: 0 0 5px;
	font-size: 13px;
	letter-spacing: 0.03em;
}

.ase-opt {
	font-size: 11px;
	opacity: 0.75;
}

.ase-fhint {
	display: block;
	margin-top: 3px;
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	opacity: 0.72;
}

.ase-finput {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 11px 13px;
	font: inherit;
	font-size: 16px; /* 16px prevents iOS zoom on focus */
	border-radius: var(--ase-radius-sm);
	appearance: none;
}

textarea.ase-finput {
	min-height: 84px;
	resize: vertical;
	line-height: 1.6;
}

/* Selects: appearance is stripped above, so paint our own chevron. The
   .ase-page prefix lifts specificity above the per-template .ase-finput rules,
   which use the `background` shorthand (that would otherwise wipe the arrow). */
.ase-page select.ase-finput {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9b48a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px 16px;
	cursor: pointer;
}

.ase-finput--sm {
	max-width: 130px;
}

.ase-count {
	display: block;
	margin-top: 4px;
	text-align: right;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.ase-form-msg {
	margin: 12px 0 0;
	font-size: 14px;
	min-height: 1.2em;
}

/* Confirmation card shown in place of the form after a successful submit. */
.ase-form-done {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	padding: 28px 22px 8px;
}

.ase-form-done-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 4rem;
	height: 4rem;
	min-width: 4rem;
	border-radius: 50%;
	background: var(--ase-accent, #ef9f27);
	color: var(--ase-on-accent, #1a0f02);
	font-size: 2rem;
	line-height: 1;
}

.ase-form-done-text {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.5;
	color: var(--ase-accent, #ef9f27);
}

.ase-form-done-close {
	margin-top: 4px;
}

.ase-wall {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.ase-wall-card {
	padding: 14px 16px;
	border-radius: var(--ase-radius-sm);
}

.ase-wall-text {
	margin: 0 0 6px;
	font-size: 15px;
	line-height: 1.6;
}

.ase-wall-by {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.04em;
}

/* -------------------------------------------------------------------- share */

.ase-share {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

/* -------------------------------------------------------------- audio button */

.ase-audio-btn {
	position: fixed;
	right: 14px;
	bottom: 14px;
	bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	z-index: 80;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	transition: transform 160ms ease;
}

.ase-audio-btn:active {
	transform: scale(0.94);
}

.ase-audio-btn::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	animation: ase-ring 2.6s ease-out infinite;
	pointer-events: none;
}

.ase-audio-btn.is-playing::after {
	animation: none;
}

@keyframes ase-ring {
	0%   { transform: scale(0.9); opacity: 0.7; }
	70%  { transform: scale(1.28); opacity: 0; }
	100% { transform: scale(1.28); opacity: 0; }
}

.ase-audio-glyph {
	position: relative;
	z-index: 1;
}

/* ------------------------------------------------------------------- footer */

.ase-footer {
	padding: 30px var(--ase-pad) 90px;
	text-align: center;
}

.ase-footer-name {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 500;
}

.ase-footer-phone {
	margin: 0 0 10px;
	font-size: 15px;
}

.ase-footer-copy {
	margin: 0;
	font-size: 12px;
}

.ase-notice {
	max-width: var(--ase-max);
	margin: 12px auto;
	padding: 12px 16px;
	border-radius: var(--ase-radius-sm);
	font-size: 14px;
}

/* ---------------------------------------------------------------- focus ring */

.ase-page a:focus-visible,
.ase-page button:focus-visible,
.ase-page input:focus-visible,
.ase-page select:focus-visible,
.ase-page textarea:focus-visible,
.ase-header a:focus-visible,
.ase-header button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* -------------------------------------------------------------- breakpoints */

@media (min-width: 600px) {
	.ase-page {
		--ase-pad: 24px;
	}

	.ase-venue-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ase-puja-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ase-wall {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ase-cd-cell {
		padding: 16px 6px 13px;
	}
}

@media (min-width: 900px) {
	.ase-page {
		--ase-max: 860px;
	}

	.ase-sec {
		padding-top: 44px;
		padding-bottom: 44px;
	}

	.ase-nav {
		display: block;
		padding: 0;
	}

	.ase-nav-list {
		display: flex;
		justify-content: flex-end;
		gap: 4px;
		padding: 0 var(--ase-pad) 8px;
	}

	.ase-nav-list a {
		padding: 8px 12px;
	}

	.ase-menu-btn {
		display: none;
	}

	.ase-header-inner {
		padding-bottom: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ase-page *,
	.ase-header * {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.ase-audio-btn,
	.ase-lang-toggle,
	.ase-menu-btn,
	.ase-player,
	.ase-share {
		display: none !important;
	}
}

/* ==========================================================================
   v1.1 — venue maps, floating share rail, slide-in panels, ticker, toast
   ========================================================================== */

/* ------------------------------------------------------------ venue phones */

.ase-venue-phones {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .4rem;
}

.ase-phone-link {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .6rem .8rem;
	border-radius: 10px;
	background: var(--ase-accent);
	color: var(--ase-on-accent, #1a1005);
	text-decoration: none;
	font-weight: 600;
	line-height: 1.3;
	transition: transform .15s ease, filter .15s ease;
}

.ase-phone-link:hover,
.ase-phone-link:focus-visible {
	filter: brightness(1.08);
	transform: translateX(2px);
}

.ase-phone-icon {
	flex: 0 0 auto;
	font-size: 1.05rem;
}

.ase-phone-text {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .15rem .45rem;
	min-width: 0;
}

.ase-phone-name {
	font-weight: 700;
}

.ase-phone-num {
	font-variant-numeric: tabular-nums;
	letter-spacing: .02em;
	white-space: nowrap;
}

/* -------------------------------------------------------------- venue maps */

.ase-venue-map {
	position: relative;
	margin: 0 0 1rem;
	border-radius: 12px;
	overflow: hidden;
	background: rgba(255, 255, 255, .05);
	aspect-ratio: 16 / 10;
	border: 1px solid var(--ase-line, rgba(255, 255, 255, .14));
}

.ase-venue-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.ase-venue-distance {
	margin: 0 0 .75rem;
	font-size: .85rem;
	font-weight: 600;
	color: var(--ase-accent);
	letter-spacing: .01em;
}

.ase-geo-hint {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .6rem;
	justify-content: center;
	margin: 0 0 1.5rem;
}

.ase-geo-status {
	font-size: .85rem;
	opacity: .8;
}

.ase-venue.is-nearest {
	outline: 2px solid var(--ase-accent);
	outline-offset: 2px;
}

/* -------------------------------------------------------------- share rail */

.ase-rail {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 60;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px;
	border-radius: 14px;
	background: var(--ase-rail-bg, rgba(10, 26, 20, .82));
	border: 1px solid var(--ase-line, rgba(255, 255, 255, .14));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

.ase-rail--left {
	left: 12px;
}

.ase-rail--right {
	right: 12px;
}

.ase-rail-btn {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 10px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ase-fg, #e9f5ef);
	cursor: pointer;
	text-decoration: none;
	font: inherit;
	font-size: .82rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background .18s ease, color .18s ease, gap .18s ease;
}

.ase-rail-glyph {
	display: flex;
	flex: 0 0 auto;
}

.ase-rail-label {
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-width .22s ease, opacity .18s ease;
}

.ase-rail-btn:hover,
.ase-rail-btn:focus-visible {
	background: var(--ase-accent);
	color: var(--ase-on-accent, #1a1005);
	gap: .5rem;
	outline: none;
}

.ase-rail-btn:hover .ase-rail-label,
.ase-rail-btn:focus-visible .ase-rail-label {
	max-width: 8rem;
	opacity: 1;
}

.ase-rail-btn.is-copied {
	background: var(--ase-accent);
	color: var(--ase-on-accent, #1a1005);
}

/* ---------------------------------------------------------- floating tabs */

.ase-tabs {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 60;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
	max-width: 60vw;
}

.ase-tab {
	/* Horizontal text: legible at a glance and immune to the clipping and
	   overflow problems that vertical writing-mode kept causing. */
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 44px;
	padding: .7rem 1rem .7rem .9rem;
	border: 0;
	border-radius: 999px 0 0 999px;
	background: var(--ase-accent);
	color: var(--ase-on-accent, #1a1005);
	font: inherit;
	font-size: .88rem;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: -4px 4px 18px rgba(0, 0, 0, .3);
	transform: translateX(0);
	transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.ase-tab-text {
	white-space: nowrap;
}

.ase-tab--sankalpa {
	background: var(--ase-accent-2, var(--ase-accent));
}

.ase-tab-glyph {
	font-size: 1.05rem;
	line-height: 1;
}

.ase-tab:hover,
.ase-tab:focus-visible {
	transform: translateX(-4px);
	filter: brightness(1.08);
	box-shadow: -6px 6px 22px rgba(0, 0, 0, .34);
	outline: none;
}

.ase-tab:focus-visible {
	outline: 2px solid var(--ase-accent);
	outline-offset: 2px;
}

/* -------------------------------------------------------------- panels */

.ase-panel-veil {
	position: fixed;
	inset: 0;
	z-index: 85;
	background: rgba(0, 0, 0, .5);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity .25s ease;
}

.ase-panel-veil.is-open {
	opacity: 1;
}

.ase-panel {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 90;
	width: min(460px, 92vw);
	height: 100dvh;
	display: flex;
	flex-direction: column;
	background: var(--ase-panel-bg, var(--ase-bg, #08211a));
	border-right: 1px solid var(--ase-line, rgba(255, 255, 255, .14));
	box-shadow: 12px 0 40px rgba(0, 0, 0, .4);
	transform: translateX(-102%);
	transition: transform .3s cubic-bezier(.22, .8, .3, 1);
}

.ase-panel.is-open {
	transform: translateX(0);
}

.ase-panel-head {
	position: sticky;
	top: 0;
	z-index: 2;
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.25rem 1rem;
	border-bottom: 1px solid var(--ase-line, rgba(255, 255, 255, .14));
	background: var(--ase-panel-bg, var(--ase-bg, #08211a));
}

.ase-panel-title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--ase-accent);
}

.ase-panel-close {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 2.25rem;
	height: 2.25rem;
	min-width: 2.25rem;
	padding: 0;
	border: 1px solid var(--ase-accent, #ef9f27);
	border-radius: 50%;
	background: var(--ase-accent, #ef9f27);
	color: #1a0f02;
	font-size: 1.4rem;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background .18s ease, transform .12s ease, filter .18s ease;
}

.ase-panel-close:hover,
.ase-panel-close:focus-visible {
	background: var(--ase-accent-2, #fac775);
	filter: brightness(1.05);
	transform: scale(1.06);
	outline: none;
}

.ase-panel-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1.25rem;
	-webkit-overflow-scrolling: touch;
}

.ase-panel-body .ase-sec {
	padding: 0;
	margin: 0;
}

.ase-panel-body .ase-h2 {
	display: none;
}

/* ------------------------------------------------------------------ ticker */

.ase-ticker {
	position: sticky;
	top: 0;
	z-index: 55;
	display: flex;
	align-items: stretch;
	gap: 0;
	background: var(--ase-ticker-bg, rgba(8, 33, 26, .96));
	border-bottom: 1px solid var(--ase-line, rgba(255, 255, 255, .14));
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	overflow: hidden;
}

.ase-ticker-tag {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: .4rem;
	padding: .5rem .85rem;
	background: var(--ase-accent);
	color: var(--ase-on-accent, #1a1005);
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ase-ticker-dot {
	width: .45rem;
	height: .45rem;
	border-radius: 50%;
	background: currentColor;
	animation: ase-blink 1.6s ease-in-out infinite;
}

@keyframes ase-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: .25; }
}

.ase-ticker-viewport {
	flex: 1 1 auto;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.ase-ticker-track {
	display: flex;
	align-items: center;
	gap: .9rem;
	white-space: nowrap;
	padding-left: 1rem;
	will-change: transform;
	animation: ase-marquee 32s linear infinite;
}

.ase-ticker:hover .ase-ticker-track,
.ase-ticker:focus-within .ase-ticker-track {
	animation-play-state: paused;
}

@keyframes ase-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.ase-ticker-item {
	font-size: .85rem;
	font-weight: 600;
}

.ase-ticker-link {
	color: var(--ase-accent);
	text-decoration: none;
	border-bottom: 1px dotted currentColor;
}

.ase-ticker-sep {
	color: var(--ase-accent);
	opacity: .55;
	font-size: .6rem;
}

/* ------------------------------------------------------------- pulse toast */

.ase-pulse {
	position: fixed;
	left: 50%;
	bottom: 1.25rem;
	transform: translate(-50%, 140%);
	z-index: 75;
	display: flex;
	align-items: center;
	gap: .7rem;
	max-width: min(420px, 92vw);
	padding: .75rem .9rem;
	border-radius: 14px;
	background: var(--ase-panel-bg, rgba(8, 33, 26, .97));
	border: 1px solid var(--ase-accent);
	box-shadow: 0 12px 34px rgba(0, 0, 0, .38);
	transition: transform .35s cubic-bezier(.2, .9, .3, 1);
}

/* An explicit display value beats the hidden attribute, so dismissing the
   toast left it on screen. Restore what hidden is supposed to mean. */
.ase-page [hidden],
.ase-pulse[hidden],
.ase-panel[hidden],
.ase-panel-veil[hidden] {
	display: none !important;
}

.ase-pulse.is-open {
	transform: translate(-50%, 0);
}

.ase-pulse-glyph {
	font-size: 1.1rem;
}

.ase-pulse-text {
	font-size: .88rem;
	font-weight: 600;
	flex: 1 1 auto;
}

.ase-pulse-link {
	flex: 0 0 auto;
	padding: .35rem .7rem;
	border-radius: 8px;
	background: var(--ase-accent);
	color: var(--ase-on-accent, #1a1005);
	font-size: .8rem;
	font-weight: 700;
	text-decoration: none;
}

.ase-pulse-close {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	/* A comfortable tap target, not a decorative cross. */
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: inherit;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	opacity: .85;
}

.ase-pulse-close:hover,
.ase-pulse-close:focus-visible {
	background: rgba(255, 255, 255, .18);
	opacity: 1;
	outline: none;
}

.ase-pulse-close:hover {
	opacity: 1;
}

/* -------------------------------------------------------- facebook section */

.ase-fb-frame {
	position: relative;
	margin: 0 auto 1.25rem;
	max-width: 520px;
	border-radius: 14px;
	overflow: hidden;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--ase-line, rgba(255, 255, 255, .14));
}

.ase-fb-frame iframe {
	display: block;
	width: 100%;
	height: 700px;
	border: 0;
}

.ase-footer-tagline {
	margin: .35rem 0 0;
	font-size: .9rem;
	opacity: .82;
}

/* ------------------------------------------------------------------ mobile */

@media (max-width: 860px) {
	.ase-rail {
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		transform: none;
		flex-direction: row;
		justify-content: space-around;
		border-radius: 14px 14px 0 0;
		padding: 4px 6px;
		padding-bottom: max(4px, env(safe-area-inset-bottom));
	}

	.ase-rail-btn {
		flex-direction: column;
		gap: 3px;
		padding: 8px 6px;
		font-size: .68rem;
	}

	.ase-rail-btn:hover,
	.ase-rail-btn:focus-visible {
		gap: 3px;
	}

	.ase-rail-label {
		max-width: none;
		opacity: .85;
	}

	.ase-rail-btn:hover .ase-rail-label,
	.ase-rail-btn:focus-visible .ase-rail-label {
		max-width: none;
	}

	.ase-page {
		padding-bottom: 4.5rem;
	}

	.ase-tabs {
		top: auto;
		bottom: 4.75rem;
		transform: none;
	}

	.ase-tab {
		padding: .6rem .85rem;
		font-size: .8rem;
	}

	.ase-tab-text {
		max-width: 10rem;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.ase-panel {
		width: 100%;
	}

	.ase-pulse {
		/* Sits above the bottom share bar, full width with a small inset so
		   it reads as a bar rather than a floating card on a narrow screen. */
		left: .5rem;
		right: .5rem;
		bottom: 4.25rem;
		max-width: none;
		transform: translateY(160%);
	}

	.ase-pulse.is-open {
		transform: translateY(0);
	}

	/* Two edge tabs plus a share bar plus a toast is too much on a phone.
	   The tabs collapse to compact pills and sit clear of the toast. */
	.ase-tabs {
		bottom: 9rem;
		gap: 6px;
	}

	.ase-fb-frame iframe {
		height: 560px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ase-ticker-track {
		animation: none;
	}

	.ase-panel,
	.ase-pulse,
	.ase-panel-veil {
		transition: none;
	}

	.ase-ticker-dot {
		animation: none;
	}
}

/* ==========================================================================
   Mobile chrome levels — how much floats over the page on a phone
   ========================================================================== */

@media (max-width: 860px) {
	/* Lighter: drop the share bar, keep tabs and alerts. */
	.ase-mob-light .ase-rail {
		display: none;
	}

	.ase-mob-light .ase-page,
	.ase-mob-light.ase-page {
		padding-bottom: 1.5rem;
	}

	.ase-mob-light .ase-tabs {
		bottom: 1.25rem;
	}

	.ase-mob-light .ase-pulse {
		bottom: 1rem;
	}

	/* Minimal: panel tabs only. */
	.ase-mob-panels .ase-rail,
	.ase-mob-panels .ase-pulse,
	.ase-mob-panels .ase-ticker {
		display: none;
	}

	.ase-mob-panels .ase-page,
	.ase-mob-panels.ase-page {
		padding-bottom: 1.5rem;
	}

	.ase-mob-panels .ase-tabs {
		bottom: 1.25rem;
	}

	/* None: nothing floats. */
	.ase-mob-none .ase-rail,
	.ase-mob-none .ase-tabs,
	.ase-mob-none .ase-pulse,
	.ase-mob-none .ase-ticker {
		display: none;
	}

	.ase-mob-none .ase-page,
	.ase-mob-none.ase-page {
		padding-bottom: 1.5rem;
	}
}

/* ------------------------------------------------------- add to calendar */

.ase-cd-cal {
	margin: 18px 0 0;
}

.ase-btn--cal {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ase-cal-ico {
	flex: 0 0 auto;
}

/* ---------------------------------------------------------- mini player */

.ase-player-holder {
	width: 100%;
	background: var(--ase-panel, rgba(0, 0, 0, 0.3));
	border-radius: var(--ase-radius);
}

.ase-mini {
	position: fixed;
	z-index: 70;
	right: 14px;
	bottom: 14px;
	width: min(340px, calc(100vw - 28px));
	background: var(--ase-panel, #201203);
	border: 1px solid var(--ase-line, rgba(255, 255, 255, 0.22));
	border-radius: var(--ase-radius);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	transform: translateY(16px);
	opacity: 0;
	transition: opacity 0.24s ease, transform 0.24s ease;
	pointer-events: none;
}

.ase-mini.is-shown {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.ase-mini-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.ase-mini-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.ase-mini-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	min-width: 0;
}

.ase-mini-dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e33;
	animation: ase-pulse 1.6s ease-in-out infinite;
}

.ase-mini-name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 13px;
	line-height: 1.25;
	color: var(--ase-ink, #fff);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ase-mini-actions {
	position: absolute;
	top: 6px;
	right: 6px;
	display: flex;
	gap: 6px;
}

.ase-mini-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
	transition: background 0.15s ease;
}

.ase-mini-btn:hover,
.ase-mini-btn:focus-visible {
	background: rgba(0, 0, 0, 0.8);
}

.ase-mini-btn:focus-visible {
	outline: 2px solid var(--ase-accent-2, #fac775);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.ase-mini {
		transition: none;
	}
	.ase-mini-dot {
		animation: none;
	}
}

/* ----------------------------------------------------- programme design box */

.ase-schedule-box {
	margin-top: 18px;
	padding: 22px var(--ase-pad);
	background: color-mix(in srgb, var(--ase-panel, #201203) 70%, transparent);
	border: 1px solid var(--ase-line, rgba(255, 255, 255, 0.18));
	border-radius: var(--ase-radius);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ase-schedule-box .ase-timeline {
	margin: 0;
}

.ase-schedule-box .ase-footnote {
	margin-bottom: 0;
}

/* ---------------------------------------------------------- back to top */

.ase-totop {
	position: fixed;
	z-index: 65;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px 9px 11px;
	border: 1px solid var(--ase-line, rgba(255, 255, 255, 0.22));
	border-radius: 999px;
	background: var(--ase-panel, #201203);
	color: var(--ase-ink, #fff);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.22s ease, transform 0.22s ease, background 0.15s ease;
	pointer-events: none;
}

.ase-totop.is-shown {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.ase-totop:hover,
.ase-totop:focus-visible {
	background: color-mix(in srgb, var(--ase-accent, #ef9f27) 22%, var(--ase-panel, #201203));
	outline: none;
}

.ase-totop svg {
	flex: 0 0 auto;
	color: var(--ase-accent-2, #fac775);
}

@media (prefers-reduced-motion: reduce) {
	.ase-totop {
		transition: none;
	}
}

/* -------------------------------------------------------------- payment QR */

.ase-qr-amount {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 0 0 6px;
}

.ase-qr-amount-label {
	font-size: 12px;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--ase-muted, rgba(255, 255, 255, .7));
}

.ase-qr-amount-value {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--ase-accent-2, #fac775);
}

.ase-qr {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--ase-line, rgba(255, 255, 255, 0.18));
	text-align: center;
}

.ase-qr-caption {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ase-ink, #fff);
}

.ase-qr-img {
	display: inline-block;
	padding: 10px;
	background: #fff;
	border-radius: var(--ase-radius-sm);
	line-height: 0;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .18s ease;
}

.ase-qr-img[aria-disabled="true"] {
	cursor: default;
}

a.ase-qr-img:hover,
a.ase-qr-img:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
	outline: none;
}

.ase-qr-image {
	display: block;
	width: 200px;
	max-width: 60vw;
	height: auto;
}

.ase-qr-upi {
	margin: 12px 0 0;
	font-size: 14px;
}

.ase-qr-upi-link {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--ase-line, rgba(255, 255, 255, 0.28));
	border-radius: 999px;
	color: var(--ase-accent-2, #fac775);
	text-decoration: none;
	word-break: break-all;
}

.ase-qr-upi-link:hover,
.ase-qr-upi-link:focus-visible {
	background: color-mix(in srgb, var(--ase-accent, #ef9f27) 16%, transparent);
}
