/*!
 * AstroAjaya Jyotish & Tarot — components
 * Uses the AstroAjaya theme tokens when present, with fallbacks for other themes.
 */

.aa {
	--_bg: var(--aa-night, #0e1330);
	--_raised: var(--aa-night-2, #182050);
	--_raised-2: var(--aa-night-3, #222b66);
	--_line: var(--aa-line, rgba(241, 234, 219, .14));
	--_text: var(--aa-text, #f1eadb);
	--_mist: var(--aa-mist, #a9aecf);
	--_gold: var(--aa-gold, #f2a93b);
	--_gold-ink: var(--aa-gold-ink, #21170a);
	--_red: var(--aa-sindoor, #e0533f);
	--_radius: var(--aa-radius, 14px);
	--_display: var(--aa-font-display, "Rozha One", Georgia, serif);
	--_font: var(--aa-font, "Mukta", system-ui, sans-serif);
	--_fire: #e8743b;
	--_earth: #9cc27a;
	--_air: #aebbea;
	--_water: #4fb3bf;
	color: var(--_text);
	font-family: var(--_font);
}

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

.aa h2,
.aa h3 { font-family: var(--_display); font-weight: 400; line-height: 1.15; color: var(--_text); }
.aa h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin: 0 0 .4em; }
.aa h3 { font-size: 1.3rem; margin: 0 0 .3em; }
.aa a { color: var(--_gold); }
.aa [hidden] { display: none !important; }
.aa-lead { color: var(--_mist); font-size: 1.08rem; max-width: 62ch; }
.aa-fineprint { color: var(--_mist); font-size: .88rem; }
.aa-keywords { color: var(--_gold); font-size: .95rem; margin: 0 0 .5em; }
.aa-tag { display: inline-block; font-family: var(--_font); font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--_red); border: 1px solid currentColor; border-radius: 99px; padding: 0 .6em; vertical-align: middle; }
.aa [lang="ne"] { font-family: var(--_display); }

/* Buttons and links ---------------------------------------------------- */
.aa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: .55em 1.35em; border: 1px solid var(--_gold); border-radius: 999px;
	background: var(--_gold); color: var(--_gold-ink) !important; font: 600 1rem/1.2 var(--_font);
	text-decoration: none !important; cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.aa-btn:hover { background: #ffc061; }
.aa-btn:active { transform: translateY(1px); }
.aa-btn--ghost { background: transparent; color: var(--_gold) !important; }
.aa-btn--ghost:hover { background: rgba(242, 169, 59, .12); }
.aa-btn--small { min-height: 38px; padding: .35em 1.1em; font-size: .92rem; }
.aa-link { background: none; border: 0; padding: 0; color: var(--_gold); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.aa :focus-visible { outline: 2px solid var(--_gold); outline-offset: 3px; }

/* Forms --------------------------------------------------------------- */
.aa-panel { background: color-mix(in srgb, var(--_raised) 88%, transparent); border: 1px solid var(--_line); border-radius: var(--_radius); padding: clamp(1rem, .6rem + 2vw, 1.75rem); backdrop-filter: blur(6px); }
.aa-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.aa-field { display: flex; flex-direction: column; gap: .35rem; margin: 0 0 1rem; font-size: .95rem; color: var(--_mist); }
.aa-row .aa-field { margin: 0; }
.aa-field > span { color: var(--_text); font-weight: 500; }
.aa-field em { color: var(--_mist); font-style: normal; font-weight: 400; }
.aa-field small { color: var(--_gold); min-height: 1.2em; }
.aa input[type="text"], .aa input[type="email"], .aa input[type="tel"], .aa input[type="date"], .aa input[type="time"], .aa input[type="number"], .aa select, .aa textarea {
	width: 100%; min-height: 46px; padding: .55rem .8rem; border: 1px solid rgba(241, 234, 219, .22); border-radius: 10px;
	background: rgba(8, 11, 32, .55); color: var(--_text); font: 400 1rem/1.4 var(--_font); color-scheme: dark;
}
.aa select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--_gold) 50%), linear-gradient(135deg, var(--_gold) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.aa select option, .aa select optgroup { background: #182050; color: #f1eadb; }
.aa input::placeholder, .aa textarea::placeholder { color: rgba(169, 174, 207, .7); }
.aa input:focus, .aa select:focus, .aa textarea:focus { border-color: var(--_gold); outline: none; box-shadow: 0 0 0 3px rgba(242, 169, 59, .25); }
.aa-check { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1rem; color: var(--_mist); font-size: .95rem; cursor: pointer; }
.aa-check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--_gold); flex: none; }
.aa-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end; }
.aa-inline .aa-field { margin: 0; }
.aa-inline .aa-out { grid-column: 1 / -1; }
.aa-inline:has(.aa-field + .aa-field) { grid-template-columns: 1fr 1fr auto; }
.aa-alert { border-left: 3px solid var(--_red); background: rgba(224, 83, 63, .1); padding: .7rem 1rem; border-radius: 0 8px 8px 0; color: var(--_text); }
.aa-form__error { color: #ff9b8a; }
.aa-note { color: var(--_mist); border-top: 1px solid var(--_line); padding-top: 1rem; margin-top: 1.5rem; }
.aa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aa fieldset { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.aa legend { font-weight: 600; margin-bottom: .6rem; color: var(--_text); }

/* Segmented choice (tarot spreads) */
.aa-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem; }
.aa-seg legend { grid-column: 1 / -1; }
.aa-seg__opt { position: relative; cursor: pointer; }
.aa-seg__opt input { position: absolute; opacity: 0; }
.aa-seg__opt span { display: block; height: 100%; padding: .8rem 1rem; border: 1px solid var(--_line); border-radius: 12px; transition: border-color .2s, background .2s; }
.aa-seg__opt strong { display: block; font-family: var(--_display); font-weight: 400; font-size: 1.15rem; }
.aa-seg__opt small { color: var(--_mist); font-size: .85rem; }
.aa-seg__opt input:checked + span { border-color: var(--_gold); background: rgba(242, 169, 59, .1); }
.aa-seg__opt input:focus-visible + span { outline: 2px solid var(--_gold); outline-offset: 2px; }
.aa-method { margin-bottom: 1.25rem; }
.aa-method .aa-seg__opt strong { font-size: 1.05rem; }

/* Cards ---------------------------------------------------------------- */
.aa-card { display: block; aspect-ratio: 200 / 340; width: 100%; border-radius: 6% / 3.5%; }
.aa-card svg, .aa-card img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.aa-card img { object-fit: cover; }
.aa-card--face, .aa-flip__face { filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45)); }
.aa-card.is-reversed svg, .aa-card.is-reversed img, .aa-flip__face.is-reversed > * { transform: rotate(180deg); }
.aa-card--mini { width: 92px; flex: none; }

.aa-flip { perspective: 1200px; aspect-ratio: 200 / 340; width: 100%; }
.aa-flip__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.aa-flip.is-flipped .aa-flip__inner { transform: rotateY(180deg); }
.aa-flip__back, .aa-flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.aa-flip__face { transform: rotateY(180deg); }
.aa-flip svg, .aa-flip img { display: block; width: 100%; height: 100%; border-radius: 6% / 3.5%; }

/* Hero fan: draw today's card ----------------------------------------- */
.aa-daily { position: relative; text-align: center; }
.aa-fan { position: relative; height: clamp(260px, 30vw, 360px); max-width: 520px; margin: 0 auto; }
.aa-fan__card {
	--rot: calc((var(--i) - 3) * 9deg);
	position: absolute; left: 50%; bottom: 0; width: clamp(110px, 12vw, 150px); margin-left: calc(clamp(110px, 12vw, 150px) / -2);
	padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px;
	transform-origin: 50% 160%; transform: rotate(var(--rot));
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .5s;
	animation: aa-deal .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms + 200ms);
}
.aa-fan__card:hover:not(:disabled), .aa-fan__card:focus-visible { transform: rotate(var(--rot)) translateY(-18px); }
.aa-fan__card .aa-card { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); }
@keyframes aa-deal { from { transform: rotate(0) translateY(30px); opacity: 0; } }
.aa-daily.is-drawn .aa-fan__card:not(.is-chosen) { opacity: 0; pointer-events: none; }
.aa-fan__card.is-chosen { transform: rotate(0) translateY(-10px) scale(1.18); z-index: 2; cursor: default; animation: none; }
.aa-daily__hint { color: var(--_mist); margin-top: 1rem; }
.aa-daily__result { max-width: 46ch; margin: 1.6rem auto 0; text-align: center; animation: aa-rise .6s .5s both; }
.aa-daily__label { color: var(--_mist); margin: 0; }
.aa-daily__name { font-size: 1.7rem !important; margin: .1em 0 .2em !important; }
.aa-daily__links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; align-items: center; margin-top: 1rem; }
@keyframes aa-rise { from { opacity: 0; transform: translateY(8px); } }

/* Tarot table ----------------------------------------------------------- */
.aa-tarot__setup .aa-btn { margin-top: .4rem; }
.aa-tarot__table { margin-top: 1rem; }
.aa-shuffle { position: relative; width: 120px; height: 204px; margin: 1rem auto 2rem; }
.aa-shuffle .aa-card { position: absolute; inset: 0; width: 120px; animation: aa-riffle 1.2s ease-in-out both; }
.aa-shuffle .aa-card:nth-child(2) { animation-delay: .08s; }
.aa-shuffle .aa-card:nth-child(3) { animation-delay: .16s; }
.aa-shuffle .aa-card:nth-child(4) { animation-delay: .24s; }
.aa-shuffle .aa-card:nth-child(5) { animation-delay: .32s; }
@keyframes aa-riffle { 30% { transform: translateX(-70px) rotate(-12deg); } 60% { transform: translateX(70px) rotate(12deg); } 100% { transform: none; } }
.aa-tarot__table.is-ready .aa-shuffle { display: none; }
.aa-tarot__count { text-align: center; color: var(--_gold); font-size: 1.1rem; min-height: 1.6em; }
.aa-ribbon { display: flex; padding: 1.5rem .5rem 2rem; margin: 0 auto 1.5rem; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.aa-ribbon__card { flex: none; width: 74px; margin-right: max(-60px, calc((100% - 74px) / 77 - 74px)); padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; transition: transform .2s, opacity .3s; animation: aa-spread-in .5s both; animation-delay: calc(var(--i) * 8ms); scroll-snap-align: start; }
.aa-ribbon__card:hover:not(:disabled), .aa-ribbon__card:focus-visible { transform: translateY(-16px); z-index: 1; }
.aa-ribbon__card.is-taken { opacity: 0; pointer-events: none; }
.aa-ribbon.is-done .aa-ribbon__card { opacity: .25; }
@keyframes aa-spread-in { from { opacity: 0; transform: translateX(-30px); } }

.aa-spread { display: grid; gap: 1.25rem; justify-content: center; margin: 0 auto 2rem; }
.aa-spread--3 { grid-template-columns: repeat(3, minmax(0, 170px)); }
.aa-spread--yesno, .aa-spread--daily { grid-template-columns: minmax(0, 190px); }
.aa-slot { position: relative; aspect-ratio: 200 / 340; border: 1px dashed rgba(242, 169, 59, .4); border-radius: 10px; }
.aa-slot__n { position: absolute; top: .5rem; left: .6rem; font-family: var(--_display); color: var(--_gold); }
.aa-slot__label { position: absolute; left: 0; right: 0; bottom: -1.8rem; text-align: center; font-size: .9rem; color: var(--_mist); }
.aa-slot.is-filled { border-color: transparent; }
.aa-slot .aa-flip { position: absolute; inset: 0; animation: aa-rise .4s both; }
.aa-spread--celtic { grid-template-columns: repeat(4, minmax(0, 120px)); grid-template-areas: ". c5 . c10" "c4 c1 c6 c9" ". c3 . c8" ". . . c7"; gap: 2.4rem 1.2rem; }
.aa-spread--celtic .aa-slot--1 { grid-area: c1; } .aa-spread--celtic .aa-slot--2 { grid-area: c1; transform: rotate(90deg) scale(.85); z-index: 1; }
.aa-spread--celtic .aa-slot--3 { grid-area: c3; } .aa-spread--celtic .aa-slot--4 { grid-area: c4; } .aa-spread--celtic .aa-slot--5 { grid-area: c5; }
.aa-spread--celtic .aa-slot--6 { grid-area: c6; } .aa-spread--celtic .aa-slot--7 { grid-area: c7; } .aa-spread--celtic .aa-slot--8 { grid-area: c8; }
.aa-spread--celtic .aa-slot--9 { grid-area: c9; } .aa-spread--celtic .aa-slot--10 { grid-area: c10; }
.aa-spread--celtic .aa-slot--2 .aa-slot__label { display: none; }
@media (max-width: 640px) {
	.aa-spread--3 { gap: .7rem; }
	.aa-spread--celtic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: none; gap: 2.4rem .8rem; }
	.aa-spread--celtic .aa-slot { grid-area: auto !important; transform: none !important; }
	.aa-spread--celtic .aa-slot--2 .aa-slot__label { display: block; }
	.aa-ribbon { flex-wrap: wrap; justify-content: center; overflow: visible; padding: 1rem 0 3rem; }
	.aa-ribbon__card { width: 46px; margin: 0 -16px -44px 0; }
}

/* Reading */
.aa-reading__head { border-bottom: 1px solid var(--_line); margin-bottom: 1.2rem; padding-bottom: .8rem; }
.aa-reading__spread { color: var(--_mist); margin: 0; }
.aa-reading__q { margin: .2em 0 0 !important; }
.aa-reading__summary { font-size: 1.12rem; max-width: 62ch; }
.aa-reading__list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1.6rem; }
.aa-reading__item { display: flex; gap: 1.25rem; align-items: flex-start; }
.aa-reading__item p { margin: 0 0 .4em; max-width: 60ch; }
.aa-reading__pos { color: var(--_gold); font-weight: 600; }
.aa-reading__pos span { color: var(--_mist); font-weight: 400; }
.aa-reading__actions, .aa-kundli__actions, .aa-sign__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.aa-yesno { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 1.25rem; border: 1px solid var(--_line); border-radius: var(--_radius); margin-bottom: 1rem; }
.aa-yesno__word { font-family: var(--_display); font-size: 3rem; line-height: 1; color: var(--_gold); }
.aa-yesno--no .aa-yesno__word { color: var(--_red); }
.aa-yesno--maybe .aa-yesno__word { color: var(--_air); }
.aa-yesno p { margin: 0; }

/* Card meanings --------------------------------------------------------- */
.aa-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.aa-chips a { display: inline-block; padding: .35rem .9rem; border: 1px solid var(--_line); border-radius: 99px; color: var(--_text); text-decoration: none; font-size: .95rem; }
.aa-chips a:hover { border-color: var(--_gold); color: var(--_gold); }
.aa-meanings__group { margin-bottom: 3rem; scroll-margin-top: 6rem; }
.aa-meanings__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem 2rem; }
.aa-meaning { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; align-items: start; padding-top: 1.25rem; border-top: 1px solid var(--_line); scroll-margin-top: 6rem; }
.aa-meaning:target { border-top-color: var(--_gold); }
.aa-meaning h3 { font-size: 1.2rem; }
.aa-meaning p { margin: 0 0 .45em; font-size: .97rem; }
.aa-meaning strong { color: var(--_text); }

/* Rashi lattice --------------------------------------------------------- */
.aa-rashis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--_line); border-left: 1px solid var(--_line); }
.aa-rashi { border-right: 1px solid var(--_line); border-bottom: 1px solid var(--_line); }
.aa-rashi a { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; column-gap: .9rem; height: 100%; padding: 1.1rem 1.1rem 1.25rem; color: var(--_text); text-decoration: none; transition: background .25s; }
.aa-rashi a:hover, .aa-rashi a:focus-visible { background: rgba(242, 169, 59, .07); }
.aa-rashi__glyph { grid-row: 1 / 3; width: 42px; height: 42px; color: var(--el, var(--_gold)); }
.aa-rashi__name { font-family: var(--_display); font-size: 1.3rem; line-height: 1.1; }
.aa-rashi__name span { color: var(--_gold); font-size: .95em; margin-left: .2em; }
.aa-rashi__west { color: var(--_mist); font-size: .9rem; }
.aa-rashi__line { grid-column: 1 / -1; margin-top: .7rem; font-size: .93rem; color: rgba(241, 234, 219, .82); line-height: 1.5; }
.aa-el--fire { --el: var(--_fire); } .aa-el--earth { --el: var(--_earth); } .aa-el--air { --el: var(--_air); } .aa-el--water { --el: var(--_water); }
@media (max-width: 960px) { .aa-rashis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .aa-rashis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .aa-rashi a { padding: .9rem; } .aa-rashi__glyph { width: 34px; height: 34px; } .aa-rashi__line { font-size: .88rem; } }

.aa-rashifal__date { color: var(--_mist); margin: 0 0 1.25rem; }
.aa-dateline { display: inline-flex; flex-wrap: wrap; gap: .25rem .9rem; align-items: baseline; }
.aa-dateline__bs { color: var(--_gold); font-size: 1.05em; }

/* Single rashi */
.aa-crumbs { margin-bottom: 1rem; font-size: .95rem; }
.aa-crumbs a::before { content: "‹ "; }
.aa-sign__head { display: flex; align-items: center; gap: 1.25rem; }
.aa-sign__glyph { width: 88px; height: 88px; color: var(--el, var(--_gold)); flex: none; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--el, #f2a93b) 45%, transparent)); }
.aa-sign__title { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem) !important; margin: 0 !important; }
.aa-sign__title span { color: var(--_gold); }
.aa-sign__sub { color: var(--_mist); margin: .2rem 0 0; }
.aa-daytabs { display: inline-flex; margin: 1.5rem 0 .5rem; border: 1px solid var(--_line); border-radius: 99px; padding: 3px; }
.aa-daytabs a { padding: .35rem 1rem; border-radius: 99px; color: var(--_mist); text-decoration: none; }
.aa-daytabs a[aria-current="page"] { background: var(--_gold); color: var(--_gold-ink); font-weight: 600; }
.aa-sign__date { color: var(--_mist); margin: 0 0 1.5rem; }
.aa-sign__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.aa-sign__lead { font-size: 1.22rem; line-height: 1.6; }
.aa-sign__part { border-top: 1px solid var(--_line); padding-top: 1rem; margin-top: 1rem; }
.aa-sign__part h3 { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 1.15rem; }
.aa-sign__part p { margin: 0; }
.aa-rating { display: inline-flex; gap: 4px; }
.aa-rating i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--_gold); }
.aa-rating i.on { background: var(--_gold); }
.aa-sign__facts { border-left: 1px solid var(--_line); padding-left: clamp(1rem, 3vw, 2rem); }
.aa-sign__facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin: 0 0 1.25rem; }
.aa-sign__facts dt { color: var(--_mist); font-size: .85rem; }
.aa-sign__facts dd { margin: 0; font-weight: 500; }
.aa-sign__desc { font-family: var(--_display); font-size: 1.15rem; line-height: 1.45; }
.aa-sign__facts p { font-size: .97rem; }
.aa-sign__facts strong { display: block; color: var(--_gold); font-weight: 600; }
.aa-sign__pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; border-top: 1px solid var(--_line); padding-top: 1rem; }
.aa-sign__pager a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-family: var(--_display); font-size: 1.2rem; }
.aa-sign__pager .aa-glyph { width: 26px; height: 26px; }
@media (max-width: 860px) { .aa-sign__grid { grid-template-columns: 1fr; } .aa-sign__facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--_line); padding-top: 1.5rem; } .aa-sign__glyph { width: 64px; height: 64px; } }

/* Facts (Kundli, tools) ------------------------------------------------- */
.aa-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin: 1.25rem 0; border-top: 1px solid var(--_line); }
.aa-facts > div { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--_line); }
.aa-facts dt { color: var(--_mist); font-size: .88rem; }
.aa-facts dd { margin: .15rem 0 0; font-family: var(--_display); font-size: 1.35rem; line-height: 1.25; }
.aa-facts dd small { display: block; font-family: var(--_font); font-size: .85rem; color: var(--_mist); margin-top: .15rem; }
.aa-facts dd [lang="ne"] { color: var(--_gold); }
.aa-facts--two > div p { margin: .4rem 0 0; font-size: .97rem; }
.aa-bignum { font-size: 2.6rem; color: var(--_gold); line-height: 1; }

/* Kundli */
.aa-kundli__head p { color: var(--_mist); margin: 0; }
.aa-kundli__result { margin-top: 2rem; }
.aa-kundli__grid { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 2rem; align-items: start; margin: 1.5rem 0; }
.aa-kundli__chart { margin: 0; }
.aa-kundli__chart figcaption { color: var(--_mist); font-size: .88rem; margin-top: .5rem; }
.aa-chart { width: 100%; height: auto; background: rgba(8, 11, 32, .5); border-radius: 6px; }
.aa-chart__lines { fill: none; stroke: var(--_gold); stroke-width: 1.4; }
.aa-chart__sign { fill: var(--_mist); font: 400 12px var(--_font); text-anchor: middle; }
.aa-chart__pl { fill: var(--_text); font: 600 14px var(--_font); text-anchor: middle; }
.aa-chart__pl.is-asc { fill: var(--_gold); }
.aa-table-wrap { overflow-x: auto; }
.aa-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.aa-table caption { text-align: left; color: var(--_mist); padding-bottom: .5rem; }
.aa-table th, .aa-table td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--_line); white-space: nowrap; }
.aa-table thead th { color: var(--_mist); font-weight: 500; font-size: .85rem; }
.aa-table tbody th { font-weight: 600; }
.aa-table abbr { color: var(--_red); text-decoration: none; font-weight: 700; }
.aa-dasha { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.aa-dasha li { display: flex; flex-direction: column; padding: .6rem .8rem; border: 1px solid var(--_line); border-radius: 10px; }
.aa-dasha li span { color: var(--_mist); font-size: .88rem; }
.aa-dasha li.is-now { border-color: var(--_gold); background: rgba(242, 169, 59, .08); }
.aa-dasha em { color: var(--_gold); font-style: normal; font-size: .82rem; }

/* Dashas: tabs and the nested Mahadasha → Antardasha → Pratyantardasha list */
.aa-dashas { max-width: 820px; margin-top: 2rem; }
.aa-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.aa-tabs [role="tab"] { min-height: 42px; padding: .3rem 1.1rem; border: 1.5px solid var(--_line); border-radius: 99px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.aa-tabs [role="tab"][aria-selected="true"] { background: var(--_gold); border-color: var(--_gold); color: var(--_gold-ink); }
.aa-tabs [role="tab"]:focus-visible { outline: 2px solid var(--_gold); outline-offset: 2px; }
.aa-ds-now { margin: 0 0 .6rem; padding: .7rem 1rem; border-left: 3px solid var(--_gold); border-radius: 0 10px 10px 0; background: rgba(242, 169, 59, .1); }
.aa-ds-now span { display: block; color: var(--_mist); font-size: .9rem; }
.aa-dl { list-style: none; margin: 0; padding: 0; }
.aa-dl__item { border-bottom: 1px solid var(--_line); }
.aa-dl__item:last-child { border-bottom: 0; }
.aa-dl summary, .aa-dl__row { display: grid; grid-template-columns: minmax(8rem, 1fr) minmax(0, 2.4fr) 3.2rem; gap: .2rem 1rem; align-items: center; padding: .65rem .5rem; border-radius: 8px; }
.aa-dl summary { cursor: pointer; list-style: none; }
.aa-dl summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .aa-dl summary:hover { background: rgba(127, 127, 127, .07); } }
.aa-dl summary:focus-visible { outline: 2px solid var(--_gold); outline-offset: -2px; }
.aa-dl__name { font-weight: 600; }
.aa-dl summary .aa-dl__name::before { content: ""; display: inline-block; width: .45em; height: .45em; margin: 0 .55em .12em 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.aa-dl details[open] > summary .aa-dl__name::before { transform: rotate(45deg); }
.aa-dl__name small { display: block; margin-left: 1.05em; color: var(--_mist); font-size: .82rem; font-weight: 400; }
.aa-dl__row .aa-dl__name small { margin-left: 0; }
.aa-dl__dates { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.aa-dl__dates span + span { color: var(--_mist); font-size: .86rem; }
.aa-dl em { justify-self: end; color: var(--_gold); font-style: normal; font-size: .8rem; font-weight: 700; }
.aa-dl .is-now > details > summary, .aa-dl .is-now > .aa-dl__row { background: rgba(242, 169, 59, .12); }
.aa-dl--sub { margin: 0 0 .6rem .9rem; padding-left: .6rem; border-left: 2px solid var(--_line); }
.aa-dl__cap { margin: .35rem 0 .15rem 1.5rem; color: var(--_mist); font-size: .82rem; font-weight: 600; }
@media (max-width: 560px) {
	.aa-dl summary, .aa-dl__row { grid-template-columns: minmax(0, 1fr) auto; }
	.aa-dl__dates { grid-column: 1 / -1; grid-row: 2; padding-left: 1.05em; font-size: .92rem; }
	.aa-dl__name small { display: inline; margin-left: .5em; }
	.aa-dl__row .aa-dl__dates { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .aa-dl summary .aa-dl__name::before { transition: none; } }

/* Date of birth with a BS / AD choice */
.aa-bdate__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.aa-bdate__cal, .aa-tfield__ap { display: inline-flex; flex: none; border: 1px solid var(--_edge, var(--_line)); border-radius: 99px; overflow: hidden; font-weight: 400; }
.aa-bdate__cal label, .aa-tfield__ap label { position: relative; display: flex; cursor: pointer; }
.aa-bdate__cal input, .aa-tfield__ap input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.aa-bdate__cal span, .aa-tfield__ap span { display: flex; align-items: center; padding: .2rem .75rem; color: var(--_mist); font-size: .85rem; line-height: 1.5; }
.aa-bdate__cal input:checked + span, .aa-tfield__ap input:checked + span { background: var(--_gold); color: var(--_gold-ink); }
.aa-bdate__cal input:focus-visible + span, .aa-tfield__ap input:focus-visible + span { outline: 2px solid var(--_gold); outline-offset: -2px; }
/* Time: hour : minute  AM | PM */
.aa-tfield__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: .35rem; align-items: center; font-weight: 400; }
.aa-tfield__colon { font-weight: 700; }
.aa-tfield__ap { align-self: stretch; border-radius: 10px; }
.aa-tfield__ap span { padding: 0 .85rem; font-size: .95rem; font-weight: 600; }
.aa .aa-tfield__row select { padding-left: .6rem; padding-right: 1.8rem; background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; }
.aa-tfield__eq { font-size: .88rem; }
.aa-tfield.is-disabled { opacity: .5; }
.aa-tfield.is-disabled .aa-tfield__ap label { cursor: default; }
.aa-bdate__bs { display: grid; grid-template-columns: 1fr 1.3fr .9fr; gap: .4rem; font-weight: 400; }
.aa-bdate__bs[hidden], .aa-bdate input[hidden] { display: none; }
.aa-bdate__eq { font-size: .88rem; }
.aa .aa-bdate__bs select { padding-left: .6rem; padding-right: 1.8rem; background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; }
@media (max-width: 820px) { .aa-kundli__grid { grid-template-columns: 1fr; } }

/* Sky now */
.aa-skynow { margin: 0; }
.aa-skynow .aa-chart { background: rgba(8, 11, 32, .35); }
.aa-skynow__cap { color: var(--_mist); font-size: .95rem; margin-top: .75rem; }
.aa-skynow__cap [lang="ne"] { color: var(--_gold); }

/* Tools ----------------------------------------------------------------- */
.aa-tool { padding: 2.5rem 0; border-top: 1px solid var(--_line); scroll-margin-top: 6rem; }
.aa-tool:first-of-type { border-top: 0; padding-top: 0; }
.aa-results { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; }
.aa-result { display: flex; gap: 1rem; align-items: flex-start; }
.aa-result .aa-glyph { width: 40px; height: 40px; color: var(--_gold); flex: none; }
.aa-result p { margin: .2rem 0 0; color: var(--_mist); }
.aa-result strong { font-family: var(--_display); font-weight: 400; font-size: 1.3rem; }
.aa-result:not(.is-main) { opacity: .75; }
.aa-match { display: flex; gap: 1.5rem; align-items: flex-start; margin-top: 1rem; }
.aa-score { width: 110px; flex: none; }
.aa-score circle { fill: none; stroke: var(--_line); stroke-width: 6; }
.aa-score .aa-score__bar { stroke: var(--_gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 40px 40px; }
.aa-score text { fill: var(--_text); font: 400 22px var(--_display); text-anchor: middle; }
@media (max-width: 640px) { .aa-inline, .aa-inline:has(.aa-field + .aa-field) { grid-template-columns: 1fr; } .aa-match { flex-direction: column; } }

/* Panchang strip --------------------------------------------------------- */
.aa-panchang { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.1rem; font-size: .92rem; color: var(--_mist); }
.aa-panchang__moon { display: inline-flex; color: #f6eccf; }
.aa-panchang__item small { color: var(--_mist); opacity: .8; }
.aa-panchang__date [lang="ne"] { color: var(--_gold); font-size: 1.02rem; }
.aa-panchang__tithi, .aa-panchang__nak { color: var(--_text); }
.aa-panchang__vaar { margin-left: .3rem; }
.aa-panchang__city select { min-height: 30px !important; padding: .1rem 1.8rem .1rem .6rem !important; font-size: .85rem !important; width: auto !important; border-radius: 99px !important; background-color: transparent !important; }
.aa-panchang:not(.is-ready) .aa-panchang__tithi, .aa-panchang:not(.is-ready) .aa-panchang__nak { display: none; }


/* Chart tabs ------------------------------------------------------------- */
.aa-tabs { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border: 1px solid var(--_line); border-radius: 99px; margin-bottom: .75rem; }
.aa-tabs button { border: 0; background: none; color: var(--_mist); padding: .35rem .9rem; border-radius: 99px; font: 500 .9rem var(--_font); cursor: pointer; }
.aa-tabs button[aria-selected="true"] { background: var(--_gold); color: var(--_gold-ink); }

/* Kundli Milan ------------------------------------------------------------ */
.aa-milan__people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.aa-person { border: 1px solid var(--_line) !important; border-radius: 12px; padding: 1rem 1.1rem .25rem !important; }
.aa-person legend { padding: 0 .4rem; font-family: var(--_display); font-weight: 400; font-size: 1.2rem; color: var(--_gold); }
.aa-person .aa-row { margin-bottom: 1rem; }
.aa-milan__result { margin-top: 2rem; }
.aa-milan__head { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; }
.aa-milan__head h2 { margin: .1rem 0 .3rem !important; }
.aa-milan__head p { margin: 0; color: var(--_mist); max-width: 54ch; }
.aa-milan__names { color: var(--_gold) !important; font-weight: 600; }
.aa-score--lg { width: 132px; }
.aa-score .aa-score__of { font: 400 9px var(--_font); fill: var(--_mist); }
.aa-milan__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.aa-facts--tight { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 1.25rem; }
.aa-facts--tight dd { font-size: 1.15rem; }
.aa-milan__table th small { display: block; color: var(--_mist); font-weight: 400; font-size: .8rem; white-space: normal; }
.aa-milan__table tbody th { white-space: normal; min-width: 12rem; }
.aa-milan__table tr.is-zero .aa-pts strong { color: var(--_red); }
.aa-milan__table tr.is-full .aa-pts strong { color: #8fd18a; }
.aa-milan__table tfoot th, .aa-milan__table tfoot td { border-bottom: 0; font-size: 1.05rem; }
.aa-pts { text-align: right !important; }
.aa-pts strong { font-family: var(--_display); font-weight: 400; font-size: 1.2rem; color: var(--_gold); }
.aa-milan__result h3 { margin-top: 2rem !important; }
.aa-checks { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .6rem; }
.aa-checks li { position: relative; padding-left: 1.6rem; color: rgba(241, 234, 219, .88); }
.aa-checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: .75rem; height: .75rem; border-radius: 50%; }
.aa-checks li.is-good::before { background: #8fd18a; }
.aa-checks li.is-bad::before { background: var(--_red); }
.aa-checks strong { color: var(--_text); margin-right: .3rem; }
@media (max-width: 760px) { .aa-milan__people, .aa-milan__pair { grid-template-columns: 1fr; } .aa-milan__head { flex-direction: column; align-items: flex-start; } }

/* Panchang page ------------------------------------------------------------ */
.aa-panchang-page__controls { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 2rem; }
.aa-panchang-page__controls .aa-field { margin: 0; }
.aa-panchang-page__controls input[type="date"] { width: auto; }
.aa-panchang-page__place { flex: 1 1 220px; }
.aa-panchang-page__head h2 { margin-bottom: .2rem !important; }
.aa-panchang-page__head p { margin: 0; }
.aa-panchang-page__head [lang="ne"] { color: var(--_gold); font-size: 1.2rem; }
.aa-muted { color: var(--_mist); }
.aa-panchang-page .aa-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.aa-panchang-page__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; margin-bottom: 1rem; }
.aa-panchang-page h3 { margin-top: 1.5rem !important; }
.aa-panchang-page h4 { font-family: var(--_display); font-weight: 400; font-size: 1.15rem; margin: 0 0 .5rem; }
.aa-table--wrap th, .aa-table--wrap td { white-space: normal; vertical-align: top; }
.aa-table--wrap tbody th { width: 34%; }
.aa-table--wrap th small { display: block; color: var(--_mist); font-weight: 400; font-size: .8rem; }
.aa-table tr.is-good th { color: #8fd18a; }
.aa-table tr.is-bad th { color: #ff9b8a; }
.aa-until { color: var(--_mist); font-size: .9rem; }
.aa-chog { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--_line); }
.aa-chog li { display: grid; grid-template-columns: 6rem 1fr auto; gap: .75rem; align-items: baseline; padding: .5rem .25rem; border-bottom: 1px solid var(--_line); }
.aa-chog strong { font-weight: 600; }
.aa-chog li.is-best strong, .aa-chog li.is-good strong { color: #8fd18a; }
.aa-chog li.is-neutral strong { color: var(--_air); }
.aa-chog li.is-bad strong { color: #ff9b8a; }
.aa-chog li span { color: rgba(241, 234, 219, .85); font-size: .95rem; }
.aa-chog li.is-now { background: rgba(242, 169, 59, .1); }
.aa-chog em { font-style: normal; color: var(--_gold); font-size: .85rem; }
@media (max-width: 760px) { .aa-panchang-page__cols { grid-template-columns: 1fr; } }

/* Date converter --------------------------------------------------------------- */
.aa-converter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.aa-converter h3 { font-size: 1.15rem; }
.aa-converter .aa-row { margin-bottom: 1rem; }
.aa-conv { margin: 1rem 0 0; font-family: var(--_display); font-size: 1.5rem; line-height: 1.3; }
.aa-conv [lang="ne"] { color: var(--_gold); }
.aa-conv small { display: block; font-family: var(--_font); font-size: .95rem; color: var(--_mist); }
@media (max-width: 760px) { .aa-converter { grid-template-columns: 1fr; } }

/* Astrologer profile -------------------------------------------------------------- */
.aa-astrologer { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 2rem; align-items: start; margin: 2.5rem 0; padding: 1.75rem; border: 1px solid var(--_line); border-radius: var(--_radius); background: rgba(24, 32, 80, .55); }
.aa-astrologer__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 120px 120px 12px 12px; }
.aa-astrologer__mono { display: grid; place-items: center; border: 1px solid rgba(242, 169, 59, .45); background: radial-gradient(circle at 50% 38%, rgba(242, 169, 59, .22), transparent 62%), radial-gradient(circle at 50% 38%, transparent 0 46%, rgba(242, 169, 59, .28) 46.5% 47%, transparent 47.5%), rgba(14, 19, 48, .7); }
.aa-astrologer__mono span { font-family: var(--_display); font-size: clamp(4rem, 9vw, 6.5rem); line-height: 1; color: var(--_gold); transform: translateY(-6%); }
.aa-astrologer h2 { margin: 0 0 .2rem !important; }
.aa-astrologer__title { color: var(--_gold); margin: 0 0 1rem; }
.aa-astrologer__langs { color: var(--_mist); }
.aa-astrologer__langs strong { color: var(--_text); }
@media (max-width: 640px) { .aa-astrologer { grid-template-columns: 1fr; } .aa-astrologer__photo { max-width: 200px; } }

/* Panchang strip link */
.aa-panchang__more { color: var(--_gold); font-size: .85rem; white-space: nowrap; }

/* Services menu ---------------------------------------------------------- */
.aa-currency { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--_line); border-radius: 99px; margin-bottom: 1.5rem; }
.aa-currency button { border: 0; background: none; color: var(--_mist); padding: .4rem 1rem; border-radius: 99px; font: 500 .95rem var(--_font); cursor: pointer; }
.aa-currency button[aria-pressed="true"] { background: var(--_gold); color: var(--_gold-ink); }
.aa-menu { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.aa-menu__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; padding: 1.4rem 0; border-top: 1px solid var(--_line); }
.aa-menu__item:last-child { border-bottom: 1px solid var(--_line); }
.aa-menu__main h3 { font-size: 1.45rem; margin: 0; }
.aa-menu__meta { color: var(--_gold); margin: .15rem 0 .4rem; font-size: .95rem; }
.aa-menu__desc p { margin: 0; color: rgba(241, 234, 219, .85); max-width: 60ch; }
.aa-menu__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: .6rem; text-align: right; }
.aa-menu__price { margin: 0; font-family: var(--_display); font-size: 1.45rem; color: var(--_text); white-space: nowrap; }
@media (max-width: 600px) { .aa-menu__item { grid-template-columns: 1fr; } .aa-menu__side { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } }

/* Booking --------------------------------------------------------------- */
.aa-booking { margin-top: 3rem; scroll-margin-top: 6rem; }
.aa-booking .aa-form > .aa-btn { margin-top: .5rem; }
.aa-field--wide { grid-column: 1 / -1; }
.aa-thanks { scroll-margin-top: 6rem; }
.aa-thanks:focus { outline: none; }
.aa-thanks__price { font-family: var(--_display); font-size: 1.4rem; color: var(--_gold); }

/* Contact */
.aa-contact__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 2rem; margin: 0 0 1rem; }
.aa-contact__list dt { color: var(--_mist); font-size: .88rem; }
.aa-contact__list dd { margin: 0; font-size: 1.1rem; }
.aa-contact .aa-booking { margin-top: 2rem; }

/* Testimonials */
/* Client reviews: cards hanging from a marigold garland ------------------ */
.aa-tm {
	--tm-paper: var(--aa-card, #FFFDF8); --tm-ink: var(--aa-ink, #2A1608); --tm-ink-2: var(--aa-ink-2, #5B4535);
	--tm-accent: var(--aa-accent, #B1450B); --tm-pad: 0px; --tm-gap: clamp(18px, 3vw, 34px);
	position: relative; color: inherit;
}
.aa-tm:has(> .aa-tm__title) { margin-top: clamp(2.5rem, 5vw, 4rem); }
.aa-tm .aa-tm__title { margin: 0 0 .75rem; }
.aa-tm__track {
	position: relative; display: flex; align-items: flex-start; gap: var(--tm-gap);
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tm-pad);
	padding: 0 var(--tm-pad) 40px; scrollbar-width: none;
	/* the garland: orange and yellow marigolds strung across the top */
	background:
		radial-gradient(circle at 50% 50%, #9C3A06 0 1.6px, #F07F12 2.2px 6px, rgba(240, 127, 18, 0) 6.6px) 0 4px / 26px 14px repeat-x local,
		radial-gradient(circle at 50% 50%, #B5650A 0 1.4px, #F6B73C 2px 5.4px, rgba(246, 183, 60, 0) 6px) 13px 5px / 26px 14px repeat-x local,
		linear-gradient(#5C7A2E, #5C7A2E) 0 10px / 100% 1.5px repeat-x local;
}
.aa-tm__track::-webkit-scrollbar { display: none; }
.aa-tm__track:focus-visible { outline: 2px solid var(--tm-accent); outline-offset: 4px; }
.aa-tm__card {
	--drop: 30px; --tilt: -1deg; --sway: 6.5s; --delay: 0s;
	position: relative; flex: 0 0 clamp(256px, 80vw, 344px); margin: calc(18px + var(--drop)) 0 0; scroll-snap-align: start;
	transform-origin: 50% calc(-1 * var(--drop)); transform: rotate(var(--tilt));
	animation: aa-sway var(--sway) ease-in-out var(--delay) infinite;
}
.aa-tm__card:nth-child(4n+2) { --drop: 52px; --tilt: 1.1deg; --sway: 7.4s; --delay: -2.1s; }
.aa-tm__card:nth-child(4n+3) { --drop: 22px; --tilt: -.4deg; --sway: 5.8s; --delay: -4.2s; }
.aa-tm__card:nth-child(4n+4) { --drop: 42px; --tilt: .7deg; --sway: 8.1s; --delay: -1.3s; }
/* the thread and its knot */
.aa-tm__card::before { content: ""; position: absolute; left: 50%; top: calc(-1 * var(--drop)); width: 1.5px; height: var(--drop); margin-left: -.75px; background: linear-gradient(#5C7A2E, rgba(92, 122, 46, .55)); }
.aa-tm__card::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #F07F12; box-shadow: inset 0 0 0 2.5px #F6B73C; }
.aa-tm__card:hover, .aa-tm__card:focus-within, .aa-tm.is-paused .aa-tm__card { animation-play-state: paused; }
@keyframes aa-sway {
	0%, 100% { transform: rotate(calc(var(--tilt) - 1.6deg)); }
	50% { transform: rotate(calc(var(--tilt) + 1.6deg)); }
}
.aa-tm__paper {
	position: relative; padding: 1.4rem 1.4rem 1.2rem; border-radius: 14px; background: var(--tm-paper); color: var(--tm-ink);
	box-shadow: 0 2px 3px rgba(42, 22, 8, .08), 0 22px 44px -12px rgba(30, 10, 4, .42);
}
.aa-tm__paper::before { content: "\201C"; position: absolute; top: -.1em; right: .7rem; font: 700 6rem/1 Georgia, "Times New Roman", serif; color: var(--tm-accent); opacity: .13; pointer-events: none; }
.aa-tm__stars { display: flex; gap: 2px; margin: 0 0 .7rem; }
.aa-tm__stars svg { width: 18px; height: 18px; }
.aa-tm__stars .is-on { fill: #E3A02F; }
.aa-tm__stars .is-off { fill: rgba(42, 22, 8, .14); }
.aa-tm .aa-tm__paper blockquote { position: relative; margin: 0; padding: 0; border: 0; max-height: calc(1.62em * 6); overflow: hidden; font-family: inherit; font-size: 1.02rem; line-height: 1.62; color: var(--tm-ink); }
.aa-tm__paper blockquote p { margin: 0 0 .6em; }
.aa-tm__paper blockquote p:last-child { margin-bottom: 0; }
.aa-tm__more:not([hidden]) ~ figcaption { margin-top: .5rem; }
.aa-tm__card:not(.is-open) .aa-tm__more:not([hidden]) { margin-top: .2rem; }
.aa-tm__card:not(.is-open) blockquote:has(+ .aa-tm__more:not([hidden]))::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; background: linear-gradient(rgba(255, 253, 248, 0), var(--tm-paper)); }
.aa-tm .aa-tm__card.is-open blockquote { max-height: none; }
.aa .aa-tm__more { color: var(--tm-accent); font-weight: 600; font-size: .95rem; min-height: 32px; }
.aa-tm figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .75rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed rgba(169, 129, 78, .45); }
.aa-tm__avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #E9893A, var(--tm-accent) 70%); color: #fff; font-weight: 700; font-size: 1.05rem; }
.aa-tm__who { display: flex; flex-direction: column; min-width: 0; flex: 1 1 8rem; line-height: 1.3; }
.aa-tm__who strong { color: var(--tm-ink); font-size: 1rem; }
.aa-tm__who small { color: var(--tm-ink-2); font-size: .86rem; }
.aa-tm__badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem .2rem .3rem; border-radius: 99px; background: #E7F1DF; color: #1E5121; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.aa-tm__badge svg { width: 18px; height: 18px; fill: #2E7D32; }
.aa-tm__nav { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: -12px; }
.aa-tm__nav[hidden] { display: none; }
.aa-tm__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; opacity: .85; }
.aa-tm__btn:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.aa-tm__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aa-tm__dots { display: flex; align-items: center; min-height: 44px; padding: 0 .25rem; }
.aa-tm__dot { width: 22px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; position: relative; }
.aa-tm__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 99px; background: currentColor; opacity: .35; transition: width .25s, margin .25s, opacity .25s; }
.aa-tm__dot.is-active::before { width: 22px; margin-left: -11px; opacity: 1; background: #F07F12; }
.aa-tm__count { min-width: 4.5em; text-align: center; font-variant-numeric: tabular-nums; }
.aa-tm__play { min-height: 44px; margin-left: .25rem; padding: 0 .6rem; border: 0; background: none; color: inherit; font: inherit; font-size: .88rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; opacity: .8; }
.aa-tm__play:hover { opacity: 1; }
.aa-tm__cta { margin: 1.75rem 0 0; text-align: center; }
.aa-tm--empty { text-align: center; padding: 1rem 0; }
.aa-tm--empty p { max-width: 36rem; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) {
	.aa-tm__card { animation: none; }
	.aa-tm__dot::before { transition: none; }
}

/* Share-your-experience form */
.aa-review { max-width: 760px; }
.aa-review:focus { outline: none; }
.aa-review__verified { display: flex; gap: .5rem; align-items: flex-start; padding: .7rem .9rem; border-radius: 10px; background: #E7F1DF; color: #1E5121; font-size: .95rem; }
.aa-review__verified svg { flex: none; width: 22px; height: 22px; margin-top: .05rem; }
.aa-review--done h2 { margin-top: 0; }
.aa-rate { margin-bottom: 1.1rem; }
.aa-rate__stars { display: flex; gap: .15rem; }
.aa-rate label { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; cursor: pointer; }
.aa-rate input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.aa-rate svg { width: 34px; height: 34px; fill: rgba(42, 22, 8, .12); stroke: rgba(169, 129, 78, .9); stroke-width: 1; transition: transform .15s, fill .15s; }
.aa-rate label.is-on svg, .aa-rate label.is-hover svg { fill: #E3A02F; stroke: #B5650A; }
.aa-rate label:hover svg { transform: scale(1.12); }
.aa-rate label:has(input:focus-visible) { outline: 2px solid var(--_gold); outline-offset: 1px; }
.aa-rate__word { display: block; min-height: 1.5em; margin-top: .25rem; color: var(--_mist); font-size: .95rem; }
.aa-review__count { min-height: 1.2em; }
@media (prefers-reduced-motion: reduce) { .aa-rate svg { transition: none; } .aa-rate label:hover svg { transform: none; } }

/* Wallpaper dialog --------------------------------------------------------- */
.aa-dialog { border: 1px solid var(--_line); border-radius: 18px; background: #11163a; color: var(--_text); padding: 1.25rem; max-width: min(92vw, 420px); }
.aa-dialog::backdrop { background: rgba(4, 6, 20, .75); backdrop-filter: blur(4px); }
.aa-dialog img { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; }
.aa-dialog__status { text-align: center; padding: 3rem 1rem; color: var(--_mist); }
.aa-dialog__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }

/* WhatsApp floating button -------------------------------------------------- */
.aa-wa { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px; background: #1fae5b; color: #fff !important; font: 600 .95rem var(--aa-font, system-ui, sans-serif); text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.aa-wa svg { width: 26px; height: 26px; }
@media (max-width: 600px) { .aa-wa span { display: none; } .aa-wa { padding: .8rem; } }

/* Motion preferences -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.aa *, .aa *::before, .aa *::after { animation: none !important; transition: none !important; }
}

/* Print: Kundli and readings -------------------------------------------------- */
@media print {
	.aa-kundli__form, .aa-kundli__actions, .aa-wa, .aa-chart-lang { display: none !important; }
	.aa { color: #000; --_text: #000; --_mist: #444; --_gold: #8a5a00; --_line: #bbb; }
	.aa-chart { background: none; }
	.aa-chart__pl { fill: #000; }
	.aa-dasha li.is-now { background: none; }
}
