/*
Theme Name: Mihnea Astro
Template: twentytwentyfive
Description: Tema copil pentru mihneafiran.ro, cu sablon astro pe 2 coloane.
Version: 0.1.0
Text Domain: mihnea-astro
*/

/* ===== PALETA ASTRO: culorile hartilor intr-un singur loc. Schimbi aici si se schimba peste tot. ===== */
:root {
	--astro-mem-1: #bfe5c4; --astro-mem-1-t: #2f7a45;   /* Memorie, nivelul Usor (fundal, text) */
	--astro-mem-2: #fff1a8; --astro-mem-2-t: #8a6b00;   /* Mediu */
	--astro-mem-3: #f8c6d9; --astro-mem-3-t: #b5486f;   /* Greu */
	--astro-mem-4: #cdbdf0; --astro-mem-4-t: #5b3fa8;   /* Expert */
	--astro-pericol: #d9534f;          /* sterge / avertisment (buton si bordura rosie) */
	--astro-text-gri: #4a5568;         /* text secundar */
	--astro-text-slab: #555;           /* text gri mai slab */
	--astro-camp-bordura: #c5ccd8;   /* bordura campurilor, selecturilor si butoanelor (era scrisa direct de 64 de ori) */
	--astro-bordura-albastra: #c5d5ee; /* bordura casetelor albastre */
	--astro-albastru-mediu: #6f93c4;   /* hover / selectie albastru */
	--astro-focus: #2a5db0;            /* conturul de focus la tastatura */
	--astro-tinta: #111;            /* simboluri, text */
	--astro-halo: #fff;             /* conturul simbolurilor */
	--astro-retro: #c0392b;         /* planete retrograde */
	--astro-sah-clar: #f0d9b5;      /* sah: casute deschise */
	--astro-sah-inchis: #b58863;    /* sah: casute inchise */
	--astro-sah-ultima: #cdd26a;    /* sah: ultima mutare (se amesteca peste culoarea casutei) */
	--astro-sah-punct: #1e6b3a;     /* sah: mutari posibile */
	--astro-cufar-lemn: #8b5a2b;      /* Cufarul cu comori: corpul */
	--astro-cufar-capac: #a56a33;      /* capacul */
	--astro-cufar-metal: #e0a526;      /* benzile si lacatul */
	--astro-cufar-mesaj-fundal: #f9cf35;  /* fundalul auriu al mesajului cu punctele */
	--astro-cufar-mesaj-chenar: #e0a800;
	--astro-cufar-licar: #ffe27a;      /* lumina din cufar cand se deschide */
	--astro-col-aur: #d4a537;        /* Colectia de imagini: auriul sigiliilor si al bulinei din antet */
	--astro-col-sigiliu: #14305f;    /* fundalul sigiliilor (imagini deblocate, inca nedeschise) */
	--astro-col-blocat: #e8ebf0;      /* casuta imaginilor blocate */
	--astro-lus-0: #757166;        /* Testul Luscher: gri */
	--astro-lus-1: #1b1b5b;        /* albastru inchis */
	--astro-lus-2: #025c43;        /* verde */
	--astro-lus-3: #d93b0b;        /* rosu */
	--astro-lus-4: #f6d703;        /* galben */
	--astro-lus-5: #811a69;        /* violet */
	--astro-lus-6: #9a5218;        /* maro */
	--astro-lus-7: #000000;        /* negru */
	--astro-mx-0: #333333;          /* matricea vietii: calitate blocata / cifre lipsa */
	--astro-mx-1: #ff0000;          /* calitate putin dezvoltata */
	--astro-mx-2: #ff6600;          /* bine dezvoltata / cifre echilibrate */
	--astro-mx-3: #006400;          /* echilibrata / cifre in exces */
	--astro-mx-4: #0000cc;          /* foarte buna */
	--astro-mx-5: #cc00cc;          /* exceptionala */
	--astro-mx-6: #cc0000;          /* in exces / cifre in exces dar blocate */
	--astro-bio-1: #0000ff;         /* bioritm: fizic / maiestrie / estetic */
	--astro-bio-2: #e00000;         /* emotional / pasiune / autocunoastere */
	--astro-bio-3: #00a000;         /* intelectual / intelepciune / spiritual */
	--astro-bio-4: #00a8c8;         /* intuitiv */
	--astro-info-fundal: #e8f1fb;   /* fundalul notelor informative (.astro-harta-nota), cu bara --astro-sus */
	--astro-galben-nota: #fff8d6;   /* fundalul rezumatului zilei (bioritm) */
	--astro-anunt-bordura: #d4a017;  /* chenarul auriu (galben inchis) al anuntului de sub antet */
	--astro-anunt-rosu-fundal: #fde8e6; /* fundalul anuntului rosu (eroare / probleme pe site), cu chenarul --astro-retro */
	--astro-ora-zi: #c0392b;         /* ore planetare: orele guvernate de aceeasi planeta ca ziua */
	--astro-verde-nota: #e2f3dc;    /* fundalul mesajului "moment extrem de favorabil" (ore planetare) */
	--astro-pc-fundal: #eef3f9;     /* Patru Coloane: fundalul cardurilor */
	--astro-pc-titlu: #cbd8e8;      /* si titlul lor (mai inchis) */
	--astro-gri-slab: #8a8f98;      /* text estompat (ex. orbul din titlul horoscopului zilnic) */
	--astro-jc-atac: #c8473a;        /* joc de carti: atac */
	--astro-jc-viata: #d6477f;       /* vindecare */
	--astro-jc-trage: #7a55c9;       /* carti trase */
	--astro-jc-vulnerabil: #d9822b;  /* vulnerabil */
	--astro-jc-purja: #5b6272;       /* umbre alungate */
	--astro-jc-pierd: #5a1f1f;       /* viata pierduta */
	--astro-jc-bloc: #3b7bc4;        /* aparare */
	--astro-jc-spec: #8a54c0;        /* abilitate */
	--astro-jc-vraja: #6a3d9a;       /* vraja inamicului */
	--astro-jc-combo: #e0b34a;       /* combo activ */
	--astro-jc-umbra: #3b3f4a;       /* carte-umbra */
	--astro-jc-fundal: #f4efe6;      /* fundalul mesei */
	--astro-rosu-nota: #fdecea;     /* fundalul zilei instabile / critice (bioritm) */
	--astro-dem-bun: #2e9b4e;       /* tabelul demnitatilor: bare pozitive */
	--astro-dem-rau: #c0392b;       /* bare negative si planeta in propria demnitate */
	--astro-aspect-bun: #2a6fb0;    /* sextil, trigon */
	--astro-aspect-conj: #8a2be2;   /* conjunctia: arc pe cercul interior */
	--astro-aspect-tens: #c0392b;   /* careu, opozitie */
	--astro-aspect-min-o: #e67e22;  /* inconjunctie (quincunx): aspect de ajustare */
	--astro-aspect-conj: #7b2d8b;   /* conjunctie (aspectarium) */
	--astro-aspect-min: #2e9b4e;    /* aspecte minore armonioase (semisextil, quintil, inconjunctie) */
	--astro-sec-foc: #fdeceb;        /* fundalul semnelor in harta, pe elemente */
	--astro-sec-pam: #eef5e6;
	--astro-sec-aer: #fff8dc;
	--astro-sec-apa: #e6f0fb;
	--astro-sec-oph: #f1e6f5;
	--astro-oph: #7b2d8b;           /* Ophiuchus */
	--astro-cer-sg-foc: #c0392b;       /* simbolurile semnelor pe elemente */
	--astro-cer-sg-pam: #2e7d32;
	--astro-cer-sg-aer: #b8860b;
	--astro-cer-sg-apa: #1f5fa8;
	--astro-foc: #c0392b;           /* semne de foc */
	--astro-pamant: #4d7c3a;        /* semne de pamant */
	--astro-aer: #b8860b;           /* semne de aer */
	--astro-apa: #2a6fb0;           /* semne de apa */
	--astro-fundal-hover: #fffbe6;  /* tooltip */
	--astro-tr-sus: #dbe7f5;        /* fundalul inelului de tranzit: sus */
	--astro-tr-jos: #f4f8fc;        /* si jos */
	--astro-si-sus: #f6d2dc;        /* hartile duble au culoare proprie: sinastrie (roz, dragoste) sus */
	--astro-si-jos: #fdeff3;        /* si jos */
	--astro-pr-sus: #d9ebcf;        /* progresii (verde, crestere): sus */
	--astro-pr-jos: #f3f9ef;
	--astro-arc-sus: #f6e9a6;       /* arce solare (galben, Soarele): sus */
	--astro-arc-jos: #fcf8dd;
	--astro-tp-tr: #ebf2fa;         /* randurile tabelelor Calculator tranzite / electiv: tranzit (albastru pal) */
	--astro-tp-pr: #eaf4e4;         /* progresii (verde pal) */
	--astro-fl-ecl-s: #fde0c0;      /* Fazele Lunii: randul cu eclipsa solara (portocaliu pal) */
	--astro-fl-ecl-l: #e4d8f5;      /* eclipsa lunara (mov pal) */
	--astro-fl-albastra: #b7d4f1;   /* Luna albastra (albastru mai intens decat randurile obisnuite) */
	--astro-tp-ar: #fbf4cc;         /* arce solare, perioada in desfasurare (galben pal) */
	--astro-pf-sus: #e3d6f2;        /* profectii (violet): sus */
	--astro-pf-jos: #f6f1fb;
	--astro-rv-sus: #c9e8e6;        /* revolutii (turcoaz): sus */
	--astro-rv-jos: #eff9f8;
	--astro-zona: #fff;             /* celelalte zone ale hartii */
	--astro-inel-case: #ebebeb;     /* inelul cu numerele caselor */
	--astro-sus: var(--astro-focus);           /* butonul "Sus" (racheta): fundal */
	--astro-el-fundal: #fff4cc;     /* Calculator electiv: fundalul unei conditii */
	--astro-rt-umbra: #f0b9b3;      /* Obiecte retrograde: umbra unei perioade retrograde (rosu palid) */
	--astro-rt-pista: #eef1f7;      /* Obiecte retrograde: pista barei de timp */
	--astro-el-bordura: #e0c670;    /* Calculator electiv: bordura unei conditii */
	--astro-sus-hover: #1d3f73;     /* si la trecerea mouse-ului */
	--astro-sus-simbol: #fff;       /* racheta */
	--astro-sus-flacara: #ff8c1a;   /* flacara rachetei (in zbor si la trecerea mouse-ului) */
	--astro-sus-flacara-miez: #ffe066; /* miezul flacarii */
	--astro-stare-1: #f3c1bd;       /* jurnal, starea zilei: foarte proasta */
	--astro-stare-2: #f7dcb4;       /* proasta */
	--astro-stare-3: #f8eeb4;       /* obisnuita (galben pal) */
	--astro-stare-4: #cfe8c4;       /* buna */
	--astro-stare-5: #a8dba0;       /* foarte buna */
	--astro-jcal-mr: #c0392b;       /* calendarul jurnalului: linia de sub zilele cu Mercur retrograd */
	--astro-jcal-ecl: #7b2d8b;      /* inelul zilelor cu eclipsa */
	--astro-jcal-azi: var(--astro-focus);      /* ziua de azi */
	--astro-jcal-luna: #3a3f4a;     /* simbolurile fazelor Lunii */
}

.astro-layout {
	gap: 3rem;
	align-items: flex-start;
}

.astro-sidebar {
	position: sticky;
	top: 2rem;
}

.astro-sidebar > * + * {
	margin-top: 1.5rem;
}

.astro-sidebar .wp-block-calendar table {
	width: 100%;
}

@media (max-width: 781px) {
	.astro-sidebar {
		position: static;
	}
}

/* Formular si rezultate astro */
.astro-form label {
	display: inline-block;
	margin: 0 1rem 0.5rem 0;
}

.astro-form input[type="number"] {
	width: 5.5rem;
}

.astro-form input[type="text"] {
	max-width: 100%;
}

.astro-eroare {
	color: #9b1c1c;
	font-weight: 600;
}

.astro-tabel {
	border-collapse: collapse;
	margin-bottom: 1.5rem;
	width: 100%;
}

.astro-tabel th,
.astro-tabel td {
	border-bottom: 1px solid currentColor;
	padding: 0.4rem 0.6rem;
	text-align: left;
}

/* Harta natala (SVG). Pe ecran ingust se pastreaza dimensiunea si harta se poate derula. */
.astro-harta {
	margin: 1rem 0 0.5rem;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.astro-harta-svg {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 900px; /* aceeasi marime la harta natala si la tranzite */
	min-width: 700px;
	width: 100%;
}

/* Nota informativa (explicatii, legende, precizari) sub un rezultat: fundal albastru deschis si bara albastra. */
.astro-harta-nota {
	display: block;
	margin: 1rem 0;
	padding: .7rem 1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	background: var(--astro-info-fundal);
	border-left: 4px solid var(--astro-sus);
	border-radius: 0 6px 6px 0;
}

@media (max-width: 700px) {
	.astro-harta-nota {
		display: block;
	}
}

.astro-harta-svg text {
	fill: currentColor;
	font-family: "Noto Sans Symbols", "Noto Sans Symbols 2", "Segoe UI Symbol", "DejaVu Sans", "Apple Symbols", sans-serif;
}

.astro-harta-svg .h-linie {
	fill: none;
	stroke: currentColor;
	stroke-width: 1;
}

.astro-harta-svg .h-pct { fill: #fff; stroke: var(--astro-tinta); stroke-width: 1.2; pointer-events: none; }

.astro-harta-svg .h-zodiac {
	fill: none;
	stroke: currentColor;
	stroke-width: 2px;
	vector-effect: non-scaling-stroke;
}

.astro-harta-svg .h-gradatii {
	fill: none;
	stroke: currentColor;
	stroke-width: 1px;
	vector-effect: non-scaling-stroke;
}

.astro-harta-svg .h-casa {
	stroke: currentColor;
	stroke-width: 0.8;
	opacity: 0.45;
}

.astro-harta-svg .h-axa {
	stroke: currentColor;
	stroke-width: 2;
}

.astro-harta-svg .h-semn { font-size: 30px; }
.astro-harta-svg .h-planeta { font-size: 34px; }
.astro-harta-svg .h-grad { font-size: 15px; }
.astro-harta-svg .h-semn-mic { font-size: 17px; }
.astro-harta-svg .h-nrcasa { font-size: 13px; opacity: 0.7; }
.astro-harta-svg .h-eticheta { font-size: 13px; font-weight: 700; }

.astro-harta-svg .h-inel-case {
	fill: var(--astro-inel-case);
	fill-rule: evenodd;
	stroke: none;
}

.astro-harta-svg .h-el0 { fill: var(--astro-foc); }
.astro-harta-svg .h-el1 { fill: var(--astro-pamant); }
.astro-harta-svg .h-el2 { fill: var(--astro-aer); }
.astro-harta-svg .h-el3 { fill: var(--astro-apa); }
.astro-harta-svg .h-el4 { fill: var(--astro-oph); }
.astro-harta-svg .h-sec0 { fill: var(--astro-sec-foc); }
.astro-harta-svg .h-sec1 { fill: var(--astro-sec-pam); }
.astro-harta-svg .h-sec2 { fill: var(--astro-sec-aer); }
.astro-harta-svg .h-sec3 { fill: var(--astro-sec-apa); }
.astro-harta-svg .h-sec4 { fill: var(--astro-sec-oph); }
.astro-harta-svg .h-asp-min { stroke: var(--astro-aspect-min); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.astro-harta-svg .h-asp-min-o { stroke: var(--astro-aspect-min-o); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.astro-harta-svg .h-asp-min-t { stroke: var(--astro-aspect-tens); stroke-width: 1px; vector-effect: non-scaling-stroke; } /* semicareu, sesquicareu */

.astro-harta-svg .h-asp-bun,
.astro-harta-svg .h-asp-tens {
	stroke-width: 1px;
	vector-effect: non-scaling-stroke;
}

.astro-harta-svg .h-asp-bun {
	stroke: var(--astro-aspect-bun);
}

.astro-harta-svg .h-asp-tens {
	stroke: var(--astro-aspect-tens);
}

/* Aspect aproape de exact (orb sub 30% din orbul maxim): linie dubla. */
.astro-harta-svg .h-asp-gros {
	stroke-width: 2px;
}


/* Simbolurile planetelor: trasee negre cu contur alb de 2 px. */
.astro-harta-svg .h-gl,
.astro-harta-svg .h-gl-halo {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.astro-harta-svg .h-gl {
	stroke: currentColor;
	stroke-width: 1.9px;
}

.astro-harta-svg .h-gl-halo {
	stroke: var(--astro-halo);
	stroke-width: 4.9px;
}

/* Interactiune: clic pe o planeta arata doar aspectele ei. */
.astro-harta-svg .h-pl {
	cursor: pointer;
	outline: none;
	transition: opacity 0.15s;
}

.astro-harta-svg .h-pl:focus-visible .h-gl {
	stroke: var(--astro-aspect-bun);
}

.astro-harta-svg.h-selectie .h-asp {
	display: none;
}

.astro-harta-svg.h-selectie .h-asp.h-activ:not(.h-ascuns) {
	display: inline; /* aspectele ascunse de slider (orb prea mare) raman ascunse si la selectie */
}

.astro-harta-svg.h-selectie .h-pl.h-estompat {
	opacity: 0.22;
}

.astro-tooltip {
	background: var(--astro-fundal-hover);
	border: 1px solid #777;
	border-radius: 3px;
	color: #000;
	font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
	padding: 4px 10px;
	-webkit-font-smoothing: auto;
	pointer-events: none;
	position: fixed;
	max-width: 26rem;
	white-space: pre-line;
	z-index: 9999;
}

/* Zona de hover mai lata in jurul liniilor de aspect, ca sa fie usor de nimerit. */
.astro-harta-svg .h-asp-hit {
	fill: none;
	pointer-events: stroke;
	stroke: transparent;
	stroke-width: 10px;
	vector-effect: non-scaling-stroke;
}

.astro-harta-svg .h-asp:hover .h-asp-bun,
.astro-harta-svg .h-asp:hover .h-asp-tens {
	stroke-width: 3px;
}

.astro-harta-svg .h-gl.h-plin,
.astro-harta-svg .h-gl-halo.h-plin {
	fill: currentColor; /* culoarea vine din .h-pl (negru) sau .h-retro (rosu) */
}

/* Culoarea unei planete = 'color'; planetele retrograde sunt rosii, ca in aspectarium. */
.astro-harta-svg .h-pl { color: var(--astro-tinta, #111); }
.astro-harta-svg .h-retro { color: var(--astro-retro, var(--astro-retro)); }
.astro-harta-svg .h-retro .h-grad { fill: var(--astro-retro, var(--astro-retro)); }

/* Pagina Tranzite */
.astro-harta-svg .h-zona-tr { fill: var(--astro-tr-jos); }
.astro-harta-svg .h-zona-nat { fill: var(--astro-zona); }
.astro-harta-svg .h-semn-tr { font-size: 26px; }
.astro-pasi { display: inline-flex; flex-wrap: wrap; gap: .4em; margin-left: .8em; }
.astro-nota { color: var(--astro-text-slab); font-size: .95em; }

/* Lista de sugestii pentru localitate */
.astro-oras-cadru { position: relative; }
.astro-sugestii { position: absolute; z-index: 20; left: 0; right: 0; max-width: 34em; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #999; max-height: 18em; overflow-y: auto; }
.astro-sugestii[hidden] { display: none; }
.astro-sugestii li { padding: .35em .6em; cursor: pointer; font-size: 15px; }
.astro-sugestii li:hover, .astro-sugestii li.activ { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }


/* Aspectarium */
.astro-aspectarium { margin: 1.2em 0; overflow-x: auto; }
.astro-aspectarium svg { display: block; width: 100%; height: auto; }
.astro-aspectarium .asp-cel { fill: #fff; stroke: #222; stroke-width: 1px; }
.astro-aspectarium .asp-simb { fill: none; stroke-width: 1.6px; stroke-linecap: round; stroke-linejoin: round; stroke: currentColor; }
.astro-aspectarium .asp-bun { color: var(--astro-aspect-bun); }
.astro-aspectarium .asp-tens { color: var(--astro-aspect-tens); }
.astro-aspectarium .asp-conj { color: var(--astro-aspect-conj); }
.astro-aspectarium .asp-min { color: var(--astro-aspect-min); }
.astro-aspectarium .asp-min-o { color: var(--astro-aspect-min-o); }
.astro-aspectarium .asp-min-t { color: var(--astro-aspect-tens); }
.astro-aspectarium .asp-gl { color: var(--astro-tinta); fill: none; stroke: currentColor; stroke-width: 1.7px; stroke-linecap: round; stroke-linejoin: round; }
.astro-aspectarium .asp-gl.asp-pln { fill: currentColor; }
.astro-aspectarium .asp-gl.asp-retro { color: var(--astro-retro); }
.astro-details > summary { cursor: pointer; color: #a01818; margin: .6em 0; }
.astro-aspectarium .asp-txt { font: 700 12px Verdana, Arial, sans-serif; fill: #111; }

/* Interpretari harta natala */
.astro-interpretari { margin-top: 2em; }
.astro-interpretari h3 { margin: 1.4em 0 .4em; }
.astro-interpretari p { margin: 0 0 1em; }
.astro-retro-nota { color: var(--h-retro, var(--astro-retro)); }

/* Slider forta aspecte */
.astro-orb-slider { margin: .2em 0 1em; display: flex; align-items: flex-end; flex-wrap: wrap; gap: .5rem 1rem; }
.astro-orb-slider .astro-orb-cadru { flex: 0 1 320px; width: auto; }
.astro-orb-reset { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .9rem; font-size: 1rem; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-orb-reset:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-orb-cadru { display: inline-block; width: min(50%, 320px); vertical-align: middle; }
.astro-orb-scala { display: flex; justify-content: space-between; font-size: .8rem; color: var(--astro-text-slab); line-height: 1.2; }
.astro-orb-slider input { width: 100%; vertical-align: middle; border: 0; padding: 0; background: transparent; box-shadow: none; }
.astro-orb-slider input:focus { outline: none; }
.astro-orb-slider input:focus-visible { outline: 2px solid #9db7d8; outline-offset: 3px; } /* doar la tastatura */
.h-ascuns { display: none; }

/* Formular: carduri cu randuri (iconita + campuri), ca in pagina veche */
.astro-formular { margin: 0 0 1.5rem; border: 1px solid var(--astro-form-bordura); border-radius: 6px; background: var(--astro-form-fundal); max-width: 52rem; }
.astro-formular .af-rand { display: flex; align-items: center; gap: .8rem; padding: .55rem .8rem; border-bottom: 1px solid var(--astro-form-linie); }
.astro-formular .af-ico { flex: 0 0 2.4rem; height: 2.4rem; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; color: #333; }
.astro-formular .af-campuri { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .5rem; min-width: 0; }
.astro-formular .af-campuri > * { margin: 0; }
.astro-formular .af-rand-sus .af-campuri { flex-direction: column; align-items: flex-start; }
.astro-formular input[type="text"], .astro-formular input[type="number"], .astro-formular select { box-sizing: border-box; height: 2.4rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; }
.astro-formular input[type="number"] { width: 5rem; }
.astro-formular input[name="an"], .astro-formular input[name="tr_an"] { width: 6rem; }
.astro-formular select[name="luna"], .astro-formular select[name="tr_luna"], .astro-formular select[name="sex"] { width: auto; }
.astro-formular .af-nume { flex: 1 1 12rem; max-width: 22rem; }
.astro-formular .astro-oras-cadru { flex: 1 1 18rem; max-width: 26rem; }
.astro-formular .astro-camp-oras { width: 100%; }
.astro-formular .af-bifa { display: inline-flex; align-items: center; gap: .3rem; margin: 0; white-space: nowrap; }
.astro-formular .af-spatiu { flex: 0 0 .6rem; }
.astro-formular .astro-gmt[hidden] { display: none; }
.astro-formular .astro-gmt { display: inline-flex; align-items: center; gap: .5rem; }
.astro-formular .astro-gmt input { width: 6rem; }
.astro-formular .astro-gmt small { color: var(--astro-text-slab); }
.astro-formular .af-eticheta { font-weight: 600; }
.astro-formular .astro-pers-sel { width: 100%; max-width: 22rem; }
.astro-formular .astro-pers-princ-et { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; color: #444; }
.astro-formular .astro-pers-invitatie { margin: 0; }
.astro-formular .af-butoane { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .7rem .8rem; background: #eaf0f8; border-radius: 0 0 6px 6px; }
.astro-formular .af-butoane button, .astro-tarot-titlu-et button, .astro-formular .astro-pasi button { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .9rem; font-size: 1rem; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-formular .astro-pasi button { height: 2rem; padding: 0 .6rem; font-size: .9rem; }
.astro-formular .af-butoane button:hover, .astro-tarot-titlu-et button:hover, .astro-formular .astro-pasi button:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-formular .af-butoane .af-ok { font-weight: 700; padding: 0 1.4rem; }
.astro-formular .af-svg { flex: none; }
.astro-pers-mesaj { margin-left: .4rem; color: var(--astro-ok); }
.astro-pers-mesaj.astro-pers-eroare { color: #b00020; }

/* Imaginea care se schimba dupa sex (M / F / - eveniment) */
.astro-avatar { flex: 0 0 72px; width: 72px; height: 72px; cursor: zoom-in; transition: width .25s ease, height .25s ease, flex-basis .25s ease; }
.astro-avatar.mare { flex-basis: 200px; width: 200px; height: 200px; cursor: zoom-out; }
.astro-avatar:focus-visible { outline: 2px solid var(--astro-sus); outline-offset: 2px; }
.astro-avatar .av { display: none; width: 100%; height: 100%; border-radius: 6px; object-fit: cover; }
.astro-avatar[data-sex="M"] .av-M, .astro-avatar[data-sex="F"] .av-F, .astro-avatar[data-sex="-"] .av-E { display: block; }

@media (max-width: 600px) {
	.astro-formular .af-rand { align-items: flex-start; padding: .5rem; gap: .5rem; }
	.astro-formular .af-ico { flex-basis: 2rem; height: 2rem; }
	.astro-formular .af-spatiu { flex-basis: 100%; height: 0; }
}

/* Iconite clicabile din formular (Acum / Aici) */
.astro-formular .af-click { cursor: pointer; }
.astro-formular .af-click:hover { background: #e8eef9; border-color: #8aa0c8; }
.astro-formular .af-click:focus-visible { outline: 2px solid var(--astro-focus); outline-offset: 1px; }

/* Bara de sus: Na / Tr si Schimba (ca in pagina veche) */
.astro-bara-sus { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; row-gap: 0; margin: 0 0 .2rem; max-width: 52rem; }
.astro-bara-sus > :not(.astro-setari) { margin-bottom: .6rem; } /* spatiul de sub rand e al butoanelor, nu al randului, ca panoul sa nu faca salt cand apare */
.astro-nav { display: flex; flex-wrap: wrap; gap: .35rem; }
.astro-nav-b { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; height: 2.4rem; padding: 0 .8rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; color: #333; font-size: 1rem; font-weight: 600; text-decoration: none; }
a.astro-nav-b:hover { background: var(--astro-bordura-albastra); border-color: #8aa0c8; }
.astro-nav-b.activ { background: var(--astro-focus); border-color: var(--astro-focus); color: #fff; cursor: default; }
.astro-schimba { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 1rem; border: 0; border-radius: 4px; background: var(--astro-pericol); color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-schimba:hover { background: #c9302c; }
.astro-formular.astro-ascuns { display: none; }

/* Fara chenar negru la clic pe bife (i.Hr., nu stiu ora, favorita); ramane la navigarea cu tastatura */
.astro-formular .af-bifa, .astro-formular .af-bifa input, .astro-formular .astro-pers-princ-et, .astro-formular .astro-pers-princ { outline: none; box-shadow: none; }
.astro-formular .af-bifa input:focus-visible, .astro-formular .astro-pers-princ:focus-visible { outline: 2px solid var(--astro-focus); outline-offset: 2px; }

/* Tranzite: randul cu data tranzitului, separat vizibil de datele persoanei */
.astro-formular .astro-tranzit-camp { margin-top: 1rem; border-top: 3px solid #b9c6dd; background: #eaf0fa; }

/* Linkurile "in detaliu": fara contur la clic (ramane pentru tastatura) */
.astro-details > summary, .astro-details > summary:focus, .astro-details > summary:active { outline: none; box-shadow: none; border: 0; }
.astro-details > summary:focus-visible { outline: 2px solid var(--astro-focus); outline-offset: 2px; }

/* Fara chenar negru de focus al temei la clic cu mouse-ul (nicaieri); la tastatura ramane un contur albastru subtire */
body *:focus:not(:focus-visible) { outline: none !important; box-shadow: none; }
body a:focus-visible, body button:focus-visible, body summary:focus-visible, body [role="button"]:focus-visible, body input:focus-visible, body select:focus-visible { outline: 2px solid var(--astro-focus); outline-offset: 2px; }

/* Setari (butonul verde din bara de sus + panoul care coboara) */
.astro-bara-sus .astro-setari-buton { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 1rem; border: 0; border-radius: 4px; background: #5cb85c; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-bara-sus .astro-setari-buton:hover { background: #449d44; }
.astro-setari { flex: 1 0 100%; border: 1px solid var(--astro-form-bordura); border-radius: 6px; background: var(--astro-form-fundal); padding: .8rem 1rem; }
/* Tema de baza (Twenty Twenty-Five) da textului grosimea 300 (subtire): in setari si in etichetele formularului textul are
   grosimea si marimea campurilor din Persoane (400, 1rem), ca fontul sa arate la fel peste tot */
.astro-setari, .astro-formular { font-weight: 400; font-size: 1rem; color: #222; }
.astro-setari.astro-ascuns { display: none; }
.astro-setari .as-rand { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 .7rem; }
.astro-setari .as-eticheta { display: inline-flex; align-items: center; gap: .6rem; margin: 0; }
.astro-setari select { height: 2.2rem; padding: 0 .5rem; font-size: 1rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; }
.astro-setari .as-coloane { display: flex; flex-wrap: wrap; gap: .4rem 2.5rem; margin: 0 0 .8rem; }
.astro-setari .as-bifa { display: flex; align-items: center; gap: .4rem; margin: .15rem 0; white-space: nowrap; cursor: pointer; }
.astro-setari .as-jos { margin: 0; padding-top: .7rem; border-top: 1px solid var(--astro-form-linie); }
.astro-formular .af-buton-p, .astro-setari .astro-setari-salveaza, .astro-setari .astro-setari-reset, .astro-btn-s { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .9rem; font-size: 1rem; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-formular .af-buton-p:hover, .astro-setari .astro-setari-reset:hover, .astro-setari .astro-setari-salveaza:hover, .astro-btn-s:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-setari .as-mesaj { font-size: .9rem; }
.astro-setari .as-mesaj.eroare { color: #b32d2e; }
.astro-setari .as-nota { color: var(--astro-text-slab); font-size: .8rem; }

/* Setari: lista corpurilor afisate */
.astro-setari .as-corpuri { border: 1px solid #d5dbe3; border-radius: 4px; margin: 0 0 .8rem; padding: .4rem .8rem .6rem; display: flex; flex-wrap: wrap; gap: .1rem 2rem; }
.astro-setari .as-corpuri legend { font-weight: 600; padding: 0 .3rem; }
.astro-setari .as-corpuri .as-nota { flex-basis: 100%; margin-top: .3rem; }
.astro-setari .as-col-corpuri { display: flex; flex-direction: column; min-width: 12rem; }

/* Stele fixe pe harta */
.astro-harta-svg .h-stea-l { stroke: var(--astro-stea, var(--astro-focus)); stroke-width: 1.4px; }
.astro-harta-svg .h-stea-t { fill: var(--astro-stea, var(--astro-focus)); font-size: 14px; }
.astro-harta-svg { overflow: visible; }
.astro-harta-svg .h-stea { cursor: default; }
.astro-formular .astro-tranzit-camp.astro-tranzit-oras { margin-top: 0; border-top: 0; }

/* Antetul persoanei / tranzitului (nume mai ingrosat) si titlul de deasupra hartii */
.astro-rezultat .astro-antet b { font-weight: 800; font-size: 1.08em; }
.astro-rezultat .astro-titlu-harta { margin: 1.2rem 0 0; font-size: 1.9rem; line-height: 1.2; }
.astro-rezultat .astro-titlu-harta + .astro-harta { margin-top: 0; }
.astro-formular .af-fantoma { visibility: hidden; } /* ocupa locul bifei "î.Hr." ca ora tranzitului sa fie sub ora nasterii */
.astro-formular input[name="ora"], .astro-formular input[name="ora2"], .astro-formular input[name="tr_ora"], .astro-formular input[name="d_ora"], .astro-formular input[name="minut"], .astro-formular input[name="minut2"], .astro-formular input[name="tr_minut"], .astro-formular input[name="d_minut"] { width: 3.2rem; padding: 0 .4rem; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.astro-formular input[name="ora"]::-webkit-outer-spin-button, .astro-formular input[name="ora"]::-webkit-inner-spin-button, .astro-formular input[name="ora2"]::-webkit-outer-spin-button, .astro-formular input[name="ora2"]::-webkit-inner-spin-button, .astro-formular input[name="tr_ora"]::-webkit-outer-spin-button, .astro-formular input[name="tr_ora"]::-webkit-inner-spin-button, .astro-formular input[name="d_ora"]::-webkit-outer-spin-button, .astro-formular input[name="d_ora"]::-webkit-inner-spin-button, .astro-formular input[name="minut"]::-webkit-outer-spin-button, .astro-formular input[name="minut"]::-webkit-inner-spin-button, .astro-formular input[name="minut2"]::-webkit-outer-spin-button, .astro-formular input[name="minut2"]::-webkit-inner-spin-button, .astro-formular input[name="tr_minut"]::-webkit-outer-spin-button, .astro-formular input[name="tr_minut"]::-webkit-inner-spin-button, .astro-formular input[name="d_minut"]::-webkit-outer-spin-button, .astro-formular input[name="d_minut"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ===== Cadrul site-ului: bara de sus si meniul-sertar din stanga ===== */
:root {
	--astro-antet: #17476f;         /* bara de sus */
	--astro-antet-text: #fff;
	--astro-accent: #b02a2a;        /* linkuri, accente */
	--astro-sertar-bg: #fff;
	--astro-linie: #e3e7ee;
	--astro-panou: #f6f8fb;         /* fundalul casetelor din coloana din dreapta */
	--astro-form-fundal: #f5f8fd;   /* fundalul formularelor (cardul "Schimba") */
	--astro-form-bordura: #c9d3e3;  /* conturul cardului */
	--astro-form-linie: #dfe5f0;    /* linia dintre randuri */
	--astro-verde: #5cb85c;         /* butoanele de salvare / confirmare (ca Setari) */
	--astro-verde-hover: #449d44;
	--astro-cal-sarb: #476c82;      /* calendarul astrologic: numarul zilelor cu sfinti / sarbatori */
	--astro-cal-sarb-bara: #f2b705; /* bara galbena de sub zilele cu sfinti / sarbatori */
	--astro-cal-aniv: #2e9d3f;      /* bara verde de sub zilele cu aniversari din Jurnal, si fundalul casetei de aniversari din pagina Evenimente */
	--astro-cal-aniv-inchis: #14532d; /* bara din stanga casetei de aniversari */
	--astro-cal-azi: #b02a2a;       /* si inelul zilei de azi */
	--astro-m-bronz: #cd8f55;       /* medaliile de nivel: disc, inel */
	--astro-m-bronz-i: #8a5a2b;
	--astro-m-argint: #cdd4dc;
	--astro-m-argint-i: #7d8995;
	--astro-m-aur: #f0c040;
	--astro-m-aur-i: #a67c00;
	--astro-m-glif: #17335a;        /* simbolul planetei pe bronz / argint / aur */
	--astro-m-glif-mare: #f6d36b;   /* simbolul pe ultima medalie (albastra) */
	--astro-m-panglica-bara: #7fa9d6; /* panglica medaliei din antet (pe albastrul barei, panglica normala ar disparea) */
	--astro-aur: #c9962b;           /* puncte si recompense (bara de progres, sageata serie) */
	--astro-ok: #1e6b3a;            /* texte de confirmare ramase in pagina (verde); confirmarile care dispar folosesc .astro-toast */
	--astro-ok-hover: #165430;      /* butonul verde (Ma simt norocos) la hover */
	--astro-pauza: #c0392b;         /* butonul Pauza de la Cer animat / Tranzite animate (rosu) */
	--astro-pauza-hover: #a02f23;
	--astro-zn-inchis: #dbe7f5;     /* zile de nastere: titlul sectiunii strânse (albastru deschis) */
	--astro-zn-inchis-text: #17476f;
	--astro-zn-deschis: #b02a2a;    /* si al celei deschise (rosu, ca accentul site-ului; verde: #2e7d4f) */
	--astro-zn-deschis-text: #fff;
}
.wp-site-blocks > header { margin: 0; }
.astro-antet-site { padding: 0 !important; background: var(--astro-antet); }
.astro-antet-site > .astro-meniu-loc { margin: 0; }
.astro-bara { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; max-width: 1180px; margin: 0 auto; padding: .6rem 1.2rem; color: var(--astro-antet-text); }
.astro-bara a, .astro-bara button { color: inherit; text-decoration: none; font: inherit; }
.astro-hamb { justify-self: start; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem; background: rgba(255, 255, 255, .12); border: 0; border-radius: 6px; cursor: pointer; font-size: 1.125rem; }
.astro-hamb:hover { background: rgba(255, 255, 255, .22); }
.astro-logo { display: block; line-height: 0; }
.astro-logo { position: relative; }
.astro-logo img { position: relative; display: block; height: 81px; width: auto; }
@keyframes astro-scutura { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-9deg) translateX(-1px); } 40% { transform: rotate(8deg) translateX(1px); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(5deg); } }
.astro-logo:hover img { animation: astro-scutura .4s linear 1; } /* palaria se scutura o singura data la fiecare trecere cu mouse-ul */
@media (prefers-reduced-motion: reduce) { .astro-logo:hover img { animation: none; } }
@media (max-width: 640px) { .astro-logo img { height: 63px; } .astro-hamb span { display: none; } }

.astro-vel { position: fixed; inset: 0; z-index: 9998; background: rgba(10, 25, 40, .5); opacity: 0; transition: opacity .25s; }
.astro-vel.deschis { opacity: 1; }
.astro-sertar { position: fixed; z-index: 9999; top: 0; left: 0; bottom: 0; width: min(330px, 88vw); overflow-y: auto; background: var(--astro-sertar-bg); transform: translateX(-102%); transition: transform .28s ease, visibility 0s linear .28s; visibility: hidden; }
.astro-sertar.deschis { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
body.admin-bar .astro-sertar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .astro-sertar { top: 46px; } }
html.astro-sertar-deschis { overflow: hidden; }
.astro-sertar-inchide { display: block; width: 100%; height: 3.2rem; padding: 0 1.2rem; text-align: right; font-size: 2rem; line-height: 1; color: #fff; background: var(--astro-antet); border: 0; cursor: pointer; }
.astro-sertar ul { list-style: none; margin: 0; padding: 0; }
.astro-acordeon > li { border-bottom: 1px solid var(--astro-linie); }
.astro-ac-top { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; font: inherit; font-size: .95rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-align: left; text-decoration: none; color: #1b2a3a; background: none; border: 0; cursor: pointer; box-sizing: border-box; }
.astro-ac-top:hover, .astro-ac-are.deschis > .astro-ac-top { background: #f2f5f9; }
.astro-ac-sageata { width: .5rem; height: .5rem; border-right: 2px solid #5b6b7d; border-bottom: 2px solid #5b6b7d; transform: rotate(45deg); transition: transform .8s ease; }
.astro-ac-are.deschis > .astro-ac-top .astro-ac-sageata { transform: rotate(-135deg); }
.astro-ac-sub { display: block; height: 0; overflow: hidden; padding: 0 !important; background: #f8fafc; visibility: hidden; transition: height .8s ease, visibility 0s .8s; }
.astro-ac-sub::before { content: ""; display: block; height: .2rem; }
.astro-ac-sub::after { content: ""; display: block; height: .8rem; }
.astro-ac-are.deschis > .astro-ac-sub { visibility: visible; transition: height .8s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .astro-ac-sub { transition: none; } }
.astro-ac-sub a, .astro-ac-sub .astro-meniu-off { display: block; padding: .5rem 1.2rem .5rem 2rem; font-size: .98rem; text-decoration: none; }
.astro-ac-sub a { color: #1a1a1a; }
.astro-ac-sub a, .astro-ac-sub .astro-meniu-off { font-weight: 600; font-size: 1rem; }
.astro-ac-sub a:hover { background: #eef2f8; }
.astro-meniu-off { color: #8a929e; cursor: default; }

/* Pagini: aerisit, pe toata latimea utila, fara coloana din dreapta */
.astro-pagina { padding: 2rem 1.2rem 3rem; }
.astro-pagina .wp-block-post-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; margin: 0 0 1rem; }

/* Bara de derulare rezervata mereu: fara asta, paginile lungi (cu bara) se muta putin spre stanga fata de cele scurte. */
html { scrollbar-gutter: stable; }

/* ---- Pagina de start ---- */
.astro-erou { max-width: 880px; margin: 0 auto; text-align: center; padding: 3rem 1rem 2rem; }
.astro-erou h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 .6rem; color: var(--astro-antet); }
.astro-acasa-h1 { margin: 3rem 0 0; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--astro-antet); }
.astro-erou { padding-top: 1rem; }
.astro-acasa .astro-layout { margin-bottom: 2rem; } /* sus: titlul si textul in stanga, calendarul in dreapta, ca la celelalte pagini (acelasi sablon cu 2 coloane) */
.astro-erou > *, .astro-erou.is-layout-constrained > * { max-width: none; }
.astro-erou p { font-size: inherit; line-height: 1.6; margin: 0 auto 1rem; color: inherit; text-align: left; }
.astro-carduri { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; max-width: 1180px; margin: 0 auto 3rem; }
.astro-card { display: flex; flex-direction: column; gap: .5rem; padding: 0 0 1.4rem; overflow: hidden; border: 1px solid var(--astro-linie); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.astro-card > span { padding: 0 1.4rem; }
.astro-card-img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 3; object-fit: cover; margin-bottom: .6rem; }
.astro-card { position: relative; }
.astro-card-clip { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 7 / 3; padding: 0 !important; pointer-events: none; opacity: 0; transition: opacity .6s ease; } /* clipul de hover sta peste imaginea cardului (inc/astro-carduri-anim.php); durata = FADE din assets/astro-carduri-anim.js */
.astro-card-clip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.astro-card.cu-clip .astro-card-clip { opacity: 1; }
.astro-card:hover { border-color: var(--astro-antet); transform: translateY(-2px); }
.astro-card-titlu { font-size: 1.3rem; font-weight: 700; color: var(--astro-antet); }
.astro-card-text { color: var(--astro-text-gri); line-height: 1.5; }
.astro-card-act { margin-top: auto; padding-top: .4rem !important; font-weight: 600; color: var(--astro-accent); } /* linkul sta jos, pe acelasi rand la toate cardurile */
.astro-acasa-titlu { font-size: 1.4rem; border-top: 1px solid var(--astro-linie); padding-top: 1.5rem; }
.astro-articole h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.astro-articole h3 a { text-decoration: none; }
.astro-articole .wp-block-post-date { font-size: .85rem; color: #6b7686; }

/* ---- Dreapta sus: cautare + cont ---- */
.astro-dreapta { display: flex; align-items: center; justify-content: flex-end; gap: .9rem; }
.astro-cauta { display: flex; align-items: center; background: rgba(255,255,255,.12); border-radius: 999px; padding: 0 .2rem 0 .9rem; }
.astro-cauta input[type=search] { width: 9rem; height: 2.1rem; padding: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 1.125rem; }
.astro-cauta input[type=search]::placeholder { color: rgba(255,255,255,.75); }
.astro-cauta-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
.astro-cont, .astro-login { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.125rem; white-space: nowrap; }
.astro-cont-nume { display: inline-flex; align-items: center; gap: .4rem; }
.astro-cont-link:hover { text-decoration: underline; }
.astro-cont { gap: .8rem; }
.astro-cont-medalie { display: inline-flex; line-height: 0; }
/* Medalia din antet: 58 px (cam 70% din palarie, 81 px); pe telefon 45 px; cand antetul se micsoreaza 30 px, cu aceeasi tranzitie ca palaria. Fara animatie la hover (apare panoul). */
.astro-cont-medalie .astro-med { width: auto; height: 58px; transition: height .2s ease, transform .2s ease; transform-origin: 50% 45%; }
@media (max-width: 640px) { .astro-cont-medalie .astro-med { height: 45px; } }
html.astro-antet-mic .astro-cont-medalie .astro-med { height: 30px; }
a.astro-cont-medalie { position: relative; z-index: 3; }
@media (prefers-reduced-motion: reduce) { .astro-cont-medalie .astro-med { transition: none; } }
.astro-cont-medalie .astro-med .m-panglica { fill: var(--astro-m-panglica-bara); }
.astro-cont-medalie .astro-med-mare .m-panglica { fill: var(--astro-cal-azi); }
@media (max-width: 900px) { .astro-cauta input[type=search] { width: 6rem; } .astro-cont-nume span, .astro-login span { display: none; } .astro-cont-nume { gap: 0; } }
@media (max-width: 640px) {
	.astro-cauta { padding: 0; background: transparent; }
	.astro-cauta input[type=search] { display: none; }
	.astro-cauta.astro-deschis { position: absolute; left: 1rem; right: 1rem; top: 100%; z-index: 20; padding: 0 .3rem 0 .9rem; background: var(--astro-antet); border: 1px solid rgba(255,255,255,.3); }
	.astro-cauta.astro-deschis input[type=search] { display: block; flex: 1; width: auto; }
	.astro-bara { position: relative; }
}

/* ---- Aforism, carte, ghicitoare ---- */
.astro-acasa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; max-width: 1180px; margin: 0 auto 1.25rem; }
.astro-sectiune { box-sizing: border-box; border: 1px solid var(--astro-linie); border-radius: 12px; background: #fff; padding: 1.5rem; max-width: 1180px; margin: 0 auto 1.25rem; }
.astro-acasa-grid .astro-sectiune { margin: 0; max-width: none; }
.astro-acasa-col { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; } /* aforismul si ghicitoarea una sub alta, in stanga cartii zilei */
.astro-acasa-col .astro-sectiune { margin: 0; max-width: none; }
.astro-acasa-col > :last-child { flex: 1; }
.astro-sectiune h2 { margin: 0 0 .2rem; font-size: 1.25rem; color: var(--astro-antet); }
.astro-sub { margin: 0 0 .8rem; font-size: .85rem; color: #6b7686; }
.astro-aforism blockquote { margin: .8rem 0 0; padding: 0 0 0 1rem; border-left: 3px solid var(--astro-antet); }
.astro-aforism blockquote p { margin: 0 0 .5rem; font-size: 1.1em; line-height: 1.55; }
.astro-aforism footer { font-size: .9rem; color: #6b7686; }
.astro-aforism footer::before { content: '— '; }
.astro-carte-cadru { display: block; width: 156px; margin: .8rem auto; padding: 0; border: 0; background: none; }
.astro-carte-btn { cursor: pointer; perspective: 1200px; }
.astro-carte-cadru img { display: block; width: 100%; height: auto; border-radius: 8px; }
.astro-carte-intern { position: relative; display: block; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.4, .1, .2, 1); }
.astro-carte-btn[aria-expanded="true"] .astro-carte-intern { transform: rotateY(180deg); }
.astro-carte-spate, .astro-carte-fata { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.astro-carte-fata { position: absolute; inset: 0; height: 100%; transform: rotateY(180deg); }
@media (prefers-reduced-motion: reduce) { .astro-carte-intern { transition: none; } }
.astro-carte-text { text-align: left; line-height: 1.5; }
.astro-carte-text .astro-tarot-numecarte { text-align: center; }
.astro-ghic-text { font-size: 1.1em; line-height: 1.6; font-style: italic; margin: .6rem 0; }
.astro-ghic-act { margin: .8rem 0; }
.astro-ghic-vreau, .astro-ghic-arata { height: 2.4rem; padding: 0 1.2rem; border: 0; border-radius: 999px; background: var(--astro-antet); color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; }
.astro-ghic-vreau:hover, .astro-ghic-arata:hover { background: #0f3452; }
.astro-ghic-ok { margin: 0; color: #2e7d46; font-weight: 600; }
.astro-ghic-ieri { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--astro-linie); }
.astro-ghic-raspuns { margin-top: .8rem; }
.astro-semnatura { box-sizing: border-box; max-width: 880px; margin: 2.5rem auto 0; padding: 0; text-align: left; background: none; color: inherit; font-size: inherit; line-height: inherit; } /* text simplu, fara fundal, de la capat de rand */

/* Ultimele date */
.astro-date-lista { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; text-align: center; }
.astro-date-lista li { display: flex; flex-direction: column; align-items: center; gap: .15rem; min-width: 0; }
.astro-date-lista img { width: 100%; max-width: 120px; height: auto; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--astro-linie); background: #f3f5f9; }
.astro-date-nume { font-size: .9rem; font-weight: 600; color: var(--astro-antet); line-height: 1.25; overflow-wrap: break-word; hyphens: auto; max-width: 100%; }
.astro-date-data { font-size: .8rem; color: #6b7280; }
@media (max-width: 900px) { .astro-date-lista { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .astro-date-lista { grid-template-columns: repeat(2, 1fr); } }

/* Tarot */
.astro-tarot { max-width: 960px; margin: 0 auto; }
.astro-tarot-intro { line-height: 1.6; }
/* formularul foloseste stilul .astro-formular (ca la persoane) */
.astro-tarot-formular { margin: 1rem 0; }
.astro-tarot-formular select { max-width: 100%; }
.astro-tarot-formular .astro-tarot-din-nou { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; padding: 0; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; color: #222; cursor: pointer; }
.astro-tarot-formular .astro-tarot-din-nou:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-tarot-formular .af-ok:disabled { opacity: .6; cursor: wait; }
.astro-tarot-descriere { color: var(--astro-text-gri); line-height: 1.55; }
.astro-tarot-eroare { color: var(--astro-accent); font-weight: 600; }
.astro-tarot-masa { position: relative; width: 100%; margin: 1.2rem 0; }
.astro-tarot-scena { position: absolute; left: 0; top: 0; transform-origin: top left; }
.astro-tarot-carte { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; }
.astro-tarot-int { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.4,.1,.2,1); }
.astro-tarot-carte.intoarsa .astro-tarot-int { transform: rotateY(180deg); }
.astro-tarot-spate, .astro-tarot-fata { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; } /* contain: cartile de joc (0,715) nu se deformeaza in casuta de 3:5 */
.astro-tarot-fata { transform: rotateY(180deg); }
.astro-tarot-nr { position: absolute; left: 3px; top: 3px; z-index: 3; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; box-sizing: border-box; border-radius: 999px; background: rgba(23,71,111,.9); color: #fff; font-size: .75rem; line-height: 1.35rem; text-align: center; pointer-events: none; }
.astro-tarot-taburi { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.astro-tarot-taburi button { font: inherit; padding: .4rem .9rem; border: 1px solid var(--astro-linie); border-radius: 999px; background: #fff; cursor: pointer; }
.astro-tarot-taburi button.activ { background: var(--astro-antet); color: #fff; border-color: var(--astro-antet); }
.astro-tarot-lista { list-style: none; margin: 0; padding: 0; }
.astro-tarot-item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1rem 1.2rem; margin-bottom: .8rem; border: 1px solid var(--astro-linie); border-radius: 12px; background: #fff; scroll-margin-top: 5rem; transition: box-shadow .3s ease, border-color .3s ease; }
.astro-tarot-item.evidentiat { border-color: var(--astro-antet); box-shadow: 0 0 0 3px rgba(23,71,111,.15); }
.astro-tarot-item h3 { margin: 0 0 .5rem; display: block; }
.astro-tarot-pozitie { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--astro-antet); }
.astro-tarot-numecarte { display: block; margin-top: .2rem; font-size: 1.1rem; font-weight: 700; color: #2d3748; }
.astro-tarot-numecarte.rasturnata { color: var(--astro-accent); }
.astro-tarot-numecarte small { font-size: .8rem; font-weight: 400; color: #1a202c; }
.astro-tarot-kw { margin: 0 0 .5rem; font-style: italic; color: #6b7280; }
.astro-tarot-text { margin: 0; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .astro-tarot-int { transition: none; } }

.astro-tarot-poza { flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }
.astro-tarot-poza img { display: block; width: auto; height: auto; max-width: min(156px, 100%); max-height: 260px; border-radius: 4px; transition: transform .2s ease; }
.astro-tarot-poza:hover img { transform: translateY(-2px); }
.astro-tarot-corp { flex: 1; min-width: 0; }
@media (max-width: 560px) { .astro-tarot-item { flex-direction: column; } .astro-tarot-poza img { width: 120px; height: auto; } }

.astro-tarot-tip { position: absolute; z-index: 5; max-width: 16rem; padding: .3rem .7rem; border-radius: 6px; background: var(--astro-antet); color: #fff; font-size: .9rem; line-height: 1.3; text-align: center; pointer-events: none; }
.astro-tarot-tip[hidden] { display: none; }

.astro-tarot-item[hidden] { display: none; }
.astro-tarot-actiuni { margin: 0; padding: .2rem 0 1rem; text-align: center; color: var(--astro-text-gri); } /* spatiul e padding (nu margine), ca la ascundere sa nu apara salt din colapsul marginilor */
.astro-tarot-actiuni[hidden], .astro-tarot-toate[hidden] { display: none; }
.astro-tarot-toate { font: inherit; margin-left: 0; padding: .3rem .8rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; cursor: pointer; }
.astro-tarot-toate:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }

/* Tarot – constructor */
.astro-tarot-formular .astro-tarot-ctor { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .9rem; background: var(--astro-retro); border: 1px solid var(--astro-retro); border-radius: 4px; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-tarot-formular .astro-tarot-ctor:hover { background: #a93226; border-color: #a93226; }
.astro-tarot-formular .astro-tarot-ctor.activ { background: #2e8b57; border-color: #2e8b57; }
.astro-tarot-formular .astro-tarot-ctor.activ:hover { background: #267349; border-color: #267349; }
.astro-tarot-alege { max-width: 560px; margin: 1.2rem auto; text-align: center; }
.astro-tarot-alege[hidden] { display: none; }
.astro-tarot-alege-text { margin: 0 0 .7rem; }
.astro-tarot-alege-rand { display: flex; gap: .8rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.astro-tarot-alege-carte { min-width: 14rem; max-width: 100%; height: 2.4rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; padding: 0 .5rem; font: inherit; background: #fff; }
.astro-tarot-alege-rx[hidden] { display: none; }
.astro-tarot-alege-buton { margin: 1rem 0 0; }
.astro-tarot-gata { padding: .6rem 1.4rem; background: #1e3a5f; color: #fff; border: 0; border-radius: 4px; font: inherit; cursor: pointer; }
.astro-tarot-gata:disabled { background: #b8c1cf; cursor: not-allowed; }
.astro-tarot-carte.curenta { animation: astro-puls 1.2s ease-in-out infinite; z-index: 3; } /* proprietatea scale se adauga la rotatia existenta, nu o strica */
@keyframes astro-puls { 0%, 100% { scale: 1; } 50% { scale: 1.1; } }
@media (prefers-reduced-motion: reduce) { .astro-tarot-carte.curenta { animation: none; scale: 1.06; } }
.astro-tarot-intro-ctor { margin: 1rem 0 0; text-align: center; }
.astro-tarot-intro-ctor[hidden] { display: none; }
.astro-tarot-alege-text { margin: 0 0 .7rem; font-weight: 600; }
.astro-tarot-urm { height: 2.4rem; padding: 0 .9rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; font: inherit; cursor: pointer; }
.astro-tarot-urm[hidden] { display: none; }

/* Fontul temei (Roboto) si in campurile de formular */
input, select, textarea { font-family: inherit; }

/* Bara de sus si meniul din stanga (sertarul): font fara serife de sistem, apropiat de cel de pe astro.com */
.astro-bara, .astro-bara *, .astro-sertar, .astro-sertar * { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }

/* Titlurile: acelasi font fara serife ca in meniu */
h1, h2, h3, h4, h5, h6, .wp-block-post-title, .wp-block-heading, .astro-card-titlu, .astro-titlu-harta, .astro-acasa-titlu, .astro-tarot-pozitie, .astro-tarot-numecarte { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 600; }
/* Titlurile h3: marimea din tema parinte scade pe telefon pana la 18 px (mai mic decat textul), aici nu coboara sub 1,3 rem */
h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.38rem); }
/* h4 din tema parinte are 16 px pe telefon (fluid 1 - 1,125 rem), sub textul de 18,4 px; aici e cel putin cat textul */
h4 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.25rem); }
/* Capul de tabel este ca un titlu: fara serif, la toate tabelele. */
table th, table thead td { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }

/* Butoanele Na / Tr / Schimba / Setari: acelasi font fara serife ca meniul */
.astro-nav-b, .astro-schimba, .astro-bara-sus .astro-setari-buton { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }

/* Toate butoanele: font fara serife ca in meniu (fara schimbare de marime) */
button, .wp-element-button, .wp-block-button__link, input[type="submit"], input[type="button"] { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }

/* Tot ce e in formulare: font fara serife */
.astro-formular, .astro-formular *, .astro-setari, .astro-setari *, .astro-tarot-alege, .astro-tarot-alege *, .astro-sugestii, .astro-sugestii *, input, select, textarea, label { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }

/* Tarot constructor: lista de carti, aceeasi marime si grosime in toate starile */
.astro-tarot-alege .astro-tarot-alege-carte, .astro-tarot-alege .astro-tarot-alege-carte option, .astro-tarot-alege-rx, .astro-tarot-alege .astro-tarot-urm { font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.astro-tarot-alege .astro-tarot-alege-carte option:disabled { color: #8a929e; }
.astro-tarot-alege .astro-tarot-urm { background: #d4edda; border-color: #8fcf9f; color: #14532d; }
.astro-tarot-alege .astro-tarot-urm:hover { background: #8fd1a1; border-color: #4caf6a; }

/* Tarot constructor: galeria de miniaturi */
.astro-tarot-alege { max-width: 760px; }
.astro-tarot-galerie { margin: 0 0 1rem; text-align: left; }
.astro-tarot-galerie[hidden], .astro-tarot-alege-carte[hidden] { display: none; }
.astro-tarot-g-sus { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.astro-tarot-g-taburi { display: flex; flex-wrap: wrap; gap: .3rem; }
.astro-tarot-g-tab { height: 2.2rem; padding: 0 .9rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; font-size: .95rem; color: #222; cursor: pointer; }
.astro-tarot-g-tab:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-tarot-g-tab.activ { background: #17476f; border-color: #17476f; color: #fff; }
.astro-tarot-g-cauta { box-sizing: border-box; width: 12rem; max-width: 100%; height: 2.2rem; padding: 0 .7rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; font-size: .95rem; }
.astro-tarot-g-grila { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .7rem .6rem; max-height: 26rem; overflow-y: auto; padding: .2rem; }
.astro-tarot-mini { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .3rem .2rem; background: none; border: 2px solid transparent; border-radius: 6px; cursor: pointer; }
.astro-tarot-mini[hidden] { display: none; }
.astro-tarot-mini img { width: 64px; height: auto; border-radius: 3px; transition: transform .15s; }
.astro-tarot-mini:hover:not(:disabled) img { transform: translateY(-3px) scale(1.05); }
.astro-tarot-mini-nume { font-size: .78rem; line-height: 1.2; color: #222; text-align: center; }
.astro-tarot-mini.aleasa { border-color: #2e8b57; background: #e6f4ea; }
.astro-tarot-mini.folosita { opacity: .3; cursor: not-allowed; }
.astro-tarot-g-tab, .astro-tarot-g-cauta, .astro-tarot-mini { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }

/* Toate butoanele, indiferent de clasa: font fara serife (suprascrie "font: inherit" din regulile de mai sus) */
button, .astro-tarot-toate, .astro-tarot-gata, .astro-tarot-urm, .astro-ghic-vreau, .astro-ghic-arata, .astro-tarot-taburi button, .astro-ac-top { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif !important; }
.astro-tarot-toate, .astro-tarot-taburi button, .astro-tarot-gata, .astro-tarot-urm, .astro-tarot-g-tab { font-weight: 600; font-size: 1rem; }

/* Tarot: buton pachet favorit */
.astro-tarot-formular .astro-tarot-fav { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; padding: 0; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; color: #6b7686; cursor: pointer; }
.astro-tarot-formular .astro-tarot-fav:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-tarot-formular .astro-tarot-fav.activ { color: #d4a017; border-color: #d4a017; background: #fff8e1; }
.astro-tarot-formular .astro-tarot-fav.activ svg { fill: currentColor; }

/* Steaua "favorit": acelasi buton la persoana, locatia actuala si pachetul de tarot */
.astro-formular .astro-stea, .astro-formular .astro-tarot-fav { position: relative; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 2.4rem; height: 2.4rem; padding: 0; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; color: #6b7686; cursor: pointer; }
.astro-formular .astro-stea:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-formular .astro-stea2 { width: 3.4rem; gap: 0; } /* doua stelute: persoana favorita pentru sinastrie */
.astro-formular .astro-stea2 svg { width: 15px; height: 15px; }
.astro-formular .astro-stea input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.astro-formular .astro-stea input:checked ~ svg { color: #d4a017; fill: currentColor; }
.astro-formular .astro-stea:has(input:checked) { background: #fff8e1; border-color: #d4a017; }
.astro-formular .astro-stea:has(input:focus-visible) { outline: 2px solid var(--astro-focus); outline-offset: 2px; }
.astro-formular .astro-pers-linie { display: flex; align-items: center; gap: .5rem; width: 100%; }
.astro-formular .astro-pers-linie .astro-pers-sel { flex: 1 1 auto; width: auto; }

.astro-formular .af-campuri > .astro-stea { margin: 0; }

/* Mesaj peste formular: apare, sta 2 secunde, dispare */
.astro-formular.astro-persoane { position: relative; }
.astro-toast { position: fixed; z-index: 100000; right: 5rem; bottom: 1.25rem; left: auto; top: auto; box-sizing: border-box; width: max-content; max-width: min(26rem, calc(100vw - 2rem)); padding: .75rem 1.2rem; border-radius: 6px; background: #2e8b57; color: #fff; font-weight: 600; text-align: left; white-space: normal; opacity: 0; transform: translateX(1rem); pointer-events: none; transition: opacity .25s, transform .25s; }
.astro-toast.eroare { background: var(--astro-retro); }
.astro-toast.arata { opacity: 1; transform: none; }
@media (max-width: 640px) { .astro-toast { left: 1rem; right: 1rem; top: 4.5rem; bottom: auto; width: auto; max-width: none; text-align: center; transform: translateY(-1rem); } .astro-toast.arata { transform: none; } }
@media (prefers-reduced-motion: reduce) { .astro-toast { transition: none; } }

/* Confirmare peste formular (ex. stergerea unei persoane) */
.astro-confirma { position: absolute; z-index: 6; left: 50%; top: 1rem; width: max-content; max-width: calc(100% - 2rem); box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; padding: .8rem 1.2rem; border: 1px solid #e8a3a0; border-radius: 6px; background: #fdecea; color: #7a1f1a; font-weight: 600; opacity: 0; transform: translate(-50%, -8px); transition: opacity .25s, transform .25s; }
.astro-confirma[hidden] { display: none; }
.astro-confirma.arata { opacity: 1; transform: translate(-50%, 0); }
.astro-confirma-butoane { display: inline-flex; gap: .5rem; }
.astro-confirma button { height: 2.2rem; padding: 0 1rem; border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.astro-confirma-da { background: var(--astro-retro); border: 1px solid var(--astro-retro); color: #fff; }
.astro-confirma-da:hover { background: #a93226; border-color: #a93226; }
.astro-confirma-nu { background: #fff; border: 1px solid var(--astro-camp-bordura); color: #222; }
.astro-confirma-nu:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
@media (prefers-reduced-motion: reduce) { .astro-confirma { transition: none; } }

/* Interpretări: titlul rândului (ex. „Soarele în Vărsător") îngroșat */
.astro-interpretari p > b, .astro-interpretari p > strong { font-weight: 700 !important; }

.astro-tarot { position: relative; }
.astro-toast { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif !important; font-size: 1rem; }

/* ===== Jurnal ===== */
.astro-jurnal-salvare { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1rem; }
.astro-jurnal-salvare[hidden] { display: none; }
.astro-jurnal-titlu { flex: 1 1 14rem; min-width: 0; padding: .55rem .8rem; border: 1px solid #b8c1cf; border-radius: 4px; background: #fff; font-size: 1rem; box-sizing: border-box; }
.astro-jurnal-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.2rem; background: #2e8b57; color: #fff; border: 0; border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.astro-jurnal-btn:hover:not(:disabled) { background: #236b43; }
.astro-jurnal-btn:disabled { background: #b8c1cf; cursor: not-allowed; }
.astro-jurnal-btn.salvat { background: #236b43; cursor: default; }
.astro-jurnal-nota { font-size: .95rem; color: var(--astro-text-gri); }
.astro-jurnal-nota a, .astro-tarot-din-jurnal a { color: #1e3a5f; }
.astro-tarot-din-jurnal { margin: .4rem 0 1rem; text-align: center; color: var(--astro-text-gri); }
.astro-jurnal-lista { position: relative; list-style: none; margin: 1rem 0; padding: 0; }
.astro-jurnal-lista li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; padding: .7rem 0; border-bottom: 1px solid #dfe5ee; }
.astro-jurnal-data { min-width: 9rem; color: var(--astro-text-gri); }
.astro-jurnal-cat { padding: .15rem .6rem; border-radius: 3px; color: #fff; font-size: .85rem; font-weight: 600; }
.astro-jurnal-t { flex: 1 1 10rem; min-width: 0; overflow-wrap: anywhere; }
.astro-jurnal-act { display: flex; gap: .5rem; margin-left: auto; }
.astro-jurnal-vezi, .astro-jurnal-sterge { padding: .35rem .9rem; border: 1px solid var(--astro-albastru-mediu); border-radius: 4px; background: #fff; color: #1e3a5f; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.astro-jurnal-vezi:hover, .astro-jurnal-sterge:hover { background: var(--astro-bordura-albastra); }
.astro-jurnal-sterge.sigur { background: var(--astro-retro); border-color: var(--astro-retro); color: #fff; }
.astro-jurnal-btn, .astro-jurnal-titlu, .astro-jurnal-vezi, .astro-jurnal-sterge, .astro-jurnal-cat { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif !important; }
.astro-jurnal-nota, .astro-jurnal-nota a, .astro-tarot-din-jurnal, .astro-jurnal-nota-gol { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-jurnal-nota-gol { margin: 1.2rem 0; padding: .9rem 1.2rem; background: #f5a142; color: #1a1a1a; border-radius: 6px; text-align: center; font-size: 1rem; font-weight: 600; }
.astro-jurnal-nota-gol a { color: #1a1a1a; text-decoration: underline; }

/* La derularea spre etalare sau spre o interpretare ramane un spatiu fata de marginea de sus a ferestrei */
.astro-tarot-masa, .astro-tarot-item { scroll-margin-top: 2rem; }
body.admin-bar .astro-tarot-masa, body.admin-bar .astro-tarot-item { scroll-margin-top: calc(32px + 2rem); }
@media (max-width: 782px) { body.admin-bar .astro-tarot-masa, body.admin-bar .astro-tarot-item { scroll-margin-top: calc(46px + 2rem); } }
.astro-sub[hidden] { display: none; }

/* ===== Sinastrie: cele doua persoane in acelasi formular ===== */
.astro-formular .af-titlu-p { padding: .55rem .8rem; font-family: Roboto, "Open Sans","Segoe UI","Noto Sans",Arial,sans-serif; font-weight: 700; font-size: .95rem; color: var(--astro-sus-hover); background: #eaf0fa; border-bottom: 1px solid var(--astro-form-linie); border-radius: 6px 6px 0 0; }
.astro-formular .af-persoana2 { margin-top: 1rem; border-top: 3px solid #b9c6dd; }
.astro-formular .af-persoana2 .af-titlu-p { border-radius: 0; }
/* Titlul partii de jos la tranzite / progresii ("Tranzite", "Progresii secundare"): preia linia de despartire a randului cu data */
.astro-formular .af-titlu-data { margin-top: 1rem; border-top: 3px solid #b9c6dd; border-radius: 0; }
.astro-formular .af-titlu-data + .astro-tranzit-camp { margin-top: 0; border-top: 0; }
.astro-formular .af-titlu-data ~ .astro-tranzit-camp { background: transparent; margin-top: 0; border-top: 0; } /* sub titlu, randurile au fundalul formularului, ca cele de sus */
.astro-formular input[name="an2"] { width: 6rem; }
.astro-formular input[name="minut2"] { width: 5rem; }
.astro-formular select[name="luna2"], .astro-formular select[name="sex2"] { width: auto; }
.astro-formular .astro-pers-sel2 { width: 100%; max-width: 22rem; }

/* Linkurile "in detaliu": marginile primului / ultimului paragraf raman in interiorul continutului (altfel se aduna la final si apare un salt) */
.astro-details > div { display: flow-root; }

/* Raspunsul de ieri si textul cartii zilei: marginile paragrafelor raman in interior (fara salt la sfarsitul animatiei) */
.astro-ghic-raspuns, .astro-carte-text { display: flow-root; }
.astro-ghic-raspuns[hidden], .astro-carte-text[hidden] { display: none; }
.astro-carte-text .astro-carte-mesaj { margin: .7rem 0 0; }

/* Butonul "Sus": patrat plutitor in coltul din dreapta jos, cu o racheta; apare dupa un ecran de derulare (assets/astro-sus.js) */
.astro-sus { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 999; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; padding: 0; color: var(--astro-sus-simbol); background: var(--astro-sus); border: 0; border-radius: 8px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background-color .2s; }
.astro-sus.vizibil { opacity: 1; visibility: visible; transform: none; }
.astro-sus:focus-visible { background: var(--astro-sus-hover); }
.astro-sus:focus-visible { outline: 2px solid var(--astro-sus); outline-offset: 3px; }
/* Racheta zboara la trecerea mouse-ului si cat urca pagina: se leagana in sus si in jos, iar focul de dedesubt palpaie */
.astro-sus .astro-sus-foc { opacity: 0; transition: opacity .15s; }
.astro-sus .astro-sus-flacara, .astro-sus .astro-sus-miez { stroke: none; transform-box: fill-box; transform-origin: 50% 0; }
.astro-sus .astro-sus-flacara { fill: var(--astro-sus-flacara); }
.astro-sus .astro-sus-miez { fill: var(--astro-sus-flacara-miez); }
.astro-sus.zboara .astro-sus-foc { opacity: 1; }
.astro-sus.zboara svg { animation: astro-sus-zbor .45s ease-in-out infinite alternate; }
.astro-sus.zboara .astro-sus-flacara { animation: astro-sus-foc .13s ease-in-out infinite alternate; }
.astro-sus.zboara .astro-sus-miez { animation: astro-sus-foc .09s ease-in-out infinite alternate-reverse; }
@keyframes astro-sus-zbor { from { transform: translateY(-1px); } to { transform: translateY(-4px); } }
@media (hover: hover) { .astro-sus:hover { background: var(--astro-sus-hover); } .astro-sus:hover .astro-sus-foc { opacity: 1; } .astro-sus:hover svg { animation: astro-sus-zbor .45s ease-in-out infinite alternate; } .astro-sus:hover .astro-sus-flacara { animation: astro-sus-foc .13s ease-in-out infinite alternate; } .astro-sus:hover .astro-sus-miez { animation: astro-sus-foc .09s ease-in-out infinite alternate-reverse; } } /* pe telefon :hover ramane lipit dupa atingere, deci animatia doar la mouse */
@keyframes astro-sus-foc { from { transform: scale(1, .7); opacity: .85; } to { transform: scale(.85, 1.25); opacity: 1; } }
@media (max-width: 600px) { .astro-sus { right: .8rem; bottom: .8rem; width: 2.6rem; height: 2.6rem; } }
@media (prefers-reduced-motion: reduce) { .astro-sus, .astro-sus svg, .astro-sus .astro-sus-flacara, .astro-sus .astro-sus-miez { transition: none; animation: none; } }
/* Revolutii: randul cu planeta (sub titlu) si butoanele revolutia precedenta / urmatoare */
.astro-formular .astro-rev-pl + .astro-tranzit-camp { margin-top: 0; border-top: 0; }
.astro-formular .astro-rev-pasi { display: inline-flex; gap: .4rem; }
.astro-formular .astro-rev-pasi .af-buton-p { padding: 0 .8rem; }

/* ---------- Jurnal: calendarul anului (assets/astro-jurnal-cal.js) ---------- */
.astro-jcal { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 400; color: #222; }
.astro-jcal-sus { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin: 0 0 .8rem; }
.astro-jcal-nav { display: flex; align-items: center; gap: .5rem; }
.astro-jcal-an { font-size: 1.6rem; font-weight: 700; min-width: 4.5rem; text-align: center; color: var(--astro-sus-hover); }
.astro-jcal-an-b { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; color: #222; text-decoration: none; }
.astro-jcal-an-b:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-jcal-cauta { position: relative; flex: 1 1 16rem; max-width: 26rem; }
.astro-jcal-cauta input { box-sizing: border-box; width: 100%; height: 2.4rem; padding: 0 .7rem; font-size: 1rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; }
.astro-jcal-rezultate { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 4px); max-height: 22rem; overflow: auto; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 6px; padding: .3rem; }
.astro-jcal-rezultate[hidden] { display: none; }
.astro-jcal-rezultate .astro-nota { margin: .4rem .5rem; }
.astro-jcal-rez { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .45rem .5rem; border: 0; border-radius: 4px; background: none; text-align: left; font-size: .95rem; cursor: pointer; }
.astro-jcal-rez:hover, .astro-jcal-rez:focus-visible { background: #eaf0fa; }
.astro-jcal-rez-data { flex: 0 0 auto; color: var(--astro-text-slab); font-size: .85rem; min-width: 7.5rem; }
.astro-jcal-rez-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.astro-jcal-legenda { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: 0 0 1rem; font-size: .85rem; color: var(--astro-text-slab); }
.astro-jcal-leg { display: inline-flex; align-items: center; gap: .35rem; }
.astro-jcal-punct { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.astro-jcal-leg-mr { display: inline-block; width: 14px; border-bottom: 2px solid var(--astro-jcal-mr); }
.astro-jcal-leg-ecl { display: inline-block; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--astro-jcal-ecl); }
.astro-jcal-leg-stare { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 2px; background: var(--stare); }
.astro-jcal .stare-1, .astro-jcal-fereastra .stare-1 { --stare: var(--astro-stare-1); }
.astro-jcal .stare-2, .astro-jcal-fereastra .stare-2 { --stare: var(--astro-stare-2); }
.astro-jcal .stare-3, .astro-jcal-fereastra .stare-3 { --stare: var(--astro-stare-3); }
.astro-jcal .stare-4, .astro-jcal-fereastra .stare-4 { --stare: var(--astro-stare-4); }
.astro-jcal .stare-5, .astro-jcal-fereastra .stare-5 { --stare: var(--astro-stare-5); }
.astro-jcal-luni { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.astro-jcal-luna { border: 1px solid var(--astro-form-bordura); border-radius: 6px; background: var(--astro-form-fundal); padding: .5rem .55rem .6rem; }
.astro-jcal-luna-t { margin: 0 0 .35rem; font-size: 1rem; text-align: center; color: var(--astro-sus-hover); }
.astro-jcal-grila { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.astro-jcal-zs { font-size: .72rem; text-align: center; color: #666; padding-bottom: 2px; }
.astro-jcal-zs.we { color: var(--astro-retro); }
.astro-jcal-zi { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; aspect-ratio: 1; min-width: 0; padding: 2px 0 0; border: 1px solid var(--astro-form-linie); border-radius: 4px; background: var(--stare, #fff); color: #222; font-size: .85rem; line-height: 1.2; cursor: pointer; }
.astro-jcal-zi:hover, .astro-jcal-zi:focus-visible { border-color: var(--astro-albastru-mediu); box-shadow: 0 0 0 1px var(--astro-albastru-mediu); outline: none; }
.astro-jcal-zi.azi { border-color: var(--astro-jcal-azi); box-shadow: inset 0 0 0 1px var(--astro-jcal-azi); font-weight: 700; color: var(--astro-jcal-azi); }
.astro-jcal-zi.mr::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; border-bottom: 2px solid var(--astro-jcal-mr); opacity: .55; }
.astro-jcal-zi.ecl .astro-jcal-nr { border-radius: 50%; box-shadow: 0 0 0 2px var(--astro-jcal-ecl); padding: 0 .2em; }
.astro-jcal-semne { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; margin-top: auto; margin-bottom: 5px; min-height: 9px; }
.astro-jcal-faza { width: 9px; height: 9px; fill: none; stroke: var(--astro-jcal-luna); stroke-width: 1.3; }
.astro-jcal-faza.f-nl circle, .astro-jcal-faza path { fill: var(--astro-jcal-luna); }
.astro-jcal-gol { display: block; }

/* Fereastra zilei */
html.astro-jcal-deschis { overflow: hidden; }
.astro-jcal-fundal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 1rem; background: rgba(20, 30, 50, .45); overflow-y: auto; }
.astro-jcal-fundal[hidden] { display: none; }
.astro-jcal-fereastra { box-sizing: border-box; width: 100%; max-width: 40rem; background: #fff; border-radius: 8px; padding: 1rem 1.2rem 1.2rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 400; color: #222; }
.astro-jcal-f-cap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.astro-jcal-f-titlu { margin: 0; font-size: 1.3rem; color: var(--astro-sus-hover); }
.astro-jcal-f-titlu small { font-size: .95rem; font-weight: 400; color: var(--astro-text-slab); }
.astro-jcal-inchide { width: 2.2rem; height: 2.2rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.astro-jcal-inchide:hover { background: var(--astro-bordura-albastra); }
.astro-jcal-cer { margin: .5rem 0 .8rem; padding: .45rem .7rem; border-radius: 4px; background: #eaf0fa; color: var(--astro-sus-hover); font-size: .9rem; }
.astro-jcal-lista { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.astro-jcal-card { border: 1px solid var(--astro-form-linie); border-radius: 6px; padding: .6rem .75rem; background: #fafcff; }
.astro-jcal-card-cap { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.astro-jcal-cat { display: inline-block; padding: .1rem .5rem; border-radius: 999px; color: #fff; font-size: .78rem; font-weight: 600; }
.astro-jcal-stare-et { padding: .1rem .5rem; border-radius: 999px; background: var(--stare); font-size: .78rem; }
.astro-jcal-card-text { margin: .45rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.astro-jcal-card-info { margin: .35rem 0 0; font-size: .9rem; color: var(--astro-text-slab); }
.astro-jcal-card-act { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.astro-jcal-card-act .af-buton-p, .astro-jcal-form .af-buton-p { display: inline-flex; align-items: center; height: 2rem; padding: 0 .7rem; font-size: .9rem; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-jcal-card-act .af-buton-p:hover, .astro-jcal-form .af-buton-p:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-jcal-form { border-top: 1px solid var(--astro-form-linie); padding-top: .8rem; display: flex; flex-direction: column; gap: .55rem; }
.astro-jcal-form-t { margin: 0; font-size: 1rem; color: var(--astro-sus-hover); }
.astro-jcal-cat-rand { display: flex; flex-wrap: wrap; gap: .4rem; }
.astro-jcal-cat-b { height: 2rem; padding: 0 .9rem; border: 2px solid var(--c); border-radius: 999px; background: #fff; color: #333; font-size: .9rem; font-weight: 600; cursor: pointer; }
.astro-jcal-cat-b.activ { background: var(--c); color: var(--t, #fff); }
.astro-jcal-cat-b:disabled { opacity: .35; cursor: default; }
.astro-jcal-form input, .astro-jcal-form select, .astro-jcal-form textarea { box-sizing: border-box; width: 100%; padding: .45rem .6rem; font-size: 1rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; font-family: inherit; }
.astro-jcal-form textarea { resize: vertical; min-height: 6rem; }
.astro-jcal-stare-rand { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .9rem; color: var(--astro-text-slab); }
.astro-jcal-stare-rand[hidden], .astro-jcal-aniv-rand[hidden] { display: none; }
.astro-jcal-stare-b { width: 2rem; height: 2rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: var(--stare); color: #333; font-weight: 600; cursor: pointer; }
.astro-jcal-stare-b.activ { box-shadow: 0 0 0 2px var(--astro-sus-hover); border-color: var(--astro-sus-hover); }
.astro-jcal-aniv-rand { display: flex; gap: .5rem; }
.astro-jcal-aniv-rand .astro-jcal-an-n { flex: 0 0 9rem; }
.astro-jcal-form-jos { display: flex; gap: .5rem; }
.astro-jcal-form .af-ok { height: 2.4rem; padding: 0 1.2rem; border: 1px solid var(--astro-focus); border-radius: 4px; background: var(--astro-focus); color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; }
.astro-jcal-form .af-ok:hover { background: var(--astro-sus-hover); }
.astro-jcal-form .af-ok:disabled { opacity: .6; }
@media (max-width: 600px) {
	.astro-jcal-luni { grid-template-columns: 1fr; }
	.astro-jcal-fundal { padding: 0; }
	.astro-jcal-fereastra { min-height: 100%; border-radius: 0; }
	.astro-jcal-aniv-rand { flex-direction: column; }
	.astro-jcal-aniv-rand .astro-jcal-an-n { flex: none; }
}
/* Jurnal: numele lunii (clic = toate notitele lunii) si vederea lunii in fereastra */
.astro-jcal-luna-b { padding: .1rem .5rem; border: 0; border-radius: 4px; background: none; color: var(--astro-sus-hover); font: inherit; font-weight: 700; cursor: pointer; }
.astro-jcal-luna-b:hover, .astro-jcal-luna-b:focus-visible { background: #dbe7f5; text-decoration: underline; }
.astro-jcal-la-luna { margin: .4rem 0 0; padding: 0; border: 0; background: none; color: var(--astro-focus); font-size: .9rem; cursor: pointer; }
.astro-jcal-la-luna:hover { text-decoration: underline; }
.astro-jcal-luna-lista { display: flex; flex-direction: column; gap: 1rem; }
.astro-jcal-luna-zi { border-top: 1px solid var(--astro-form-linie); padding-top: .6rem; }
.astro-jcal-luna-zi-b { padding: 0; border: 0; background: none; color: var(--astro-sus-hover); font-size: 1.05rem; font-weight: 700; cursor: pointer; }
.astro-jcal-luna-zi-b small { font-weight: 400; color: var(--astro-text-slab); }
.astro-jcal-luna-zi-b:hover { text-decoration: underline; }
.astro-jcal-luna-zi-cer { margin: .15rem 0 .5rem; font-size: .85rem; color: var(--astro-text-slab); }
.astro-jcal-luna-zi .astro-jcal-lista { margin: 0; }
/* Faza Lunii in locul cifrei zilei (Luna noua / plina / patrar); la eclipsa, inelul inconjoara simbolul */
.astro-jcal-nr.cu-faza { display: inline-flex; align-items: center; justify-content: center; width: 1.2em; height: 1.2em; }
.astro-jcal-nr.cu-faza .astro-jcal-faza { width: 15px; height: 15px; stroke-width: 1.1; }
.astro-jcal-zi.ecl .astro-jcal-nr.cu-faza { padding: 2px; }
/* 3-4 tipuri de notite intr-o zi: bulinele pe doua randuri, cate doua (cu 4 = un patrat), putin mai mici */
.astro-jcal-semne.doua-randuri { display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; justify-content: center; margin-bottom: 3px; }
.astro-jcal-semne.doua-randuri .astro-jcal-punct { width: 7px; height: 7px; }
/* Bulinele stau fixate in partea de jos a zilei, deci oricate ar fi (si pe doua randuri) ziua ramane patrata, ca celelalte */
.astro-jcal-zi .astro-jcal-semne { position: absolute; left: 0; right: 0; bottom: 4px; margin: 0; }
.astro-jcal-zi .astro-jcal-semne.doua-randuri { bottom: 2px; }
/* Loc intre cifra zilei si buline: cifra putin mai mica si mai sus, bulinele pe doua randuri mai stranse */
.astro-jcal-zi { padding-top: 1px; font-size: .78rem; }
.astro-jcal-nr.cu-faza { width: 15px; height: 15px; }
.astro-jcal-nr.cu-faza .astro-jcal-faza { width: 13px; height: 13px; }
.astro-jcal-zi .astro-jcal-semne { bottom: 3px; }
.astro-jcal-zi .astro-jcal-semne .astro-jcal-punct { width: 7px; height: 7px; }
.astro-jcal-zi .astro-jcal-semne.doua-randuri { grid-template-columns: repeat(2, 6px); gap: 1px; bottom: 2px; }
.astro-jcal-zi .astro-jcal-semne.doua-randuri .astro-jcal-punct { width: 6px; height: 6px; }
/* Jurnal: butonul Azi de langa an */
.astro-jcal-azi-b { height: 2.4rem; margin-left: .3rem; padding: 0 1rem; border: 1px solid var(--astro-focus); border-radius: 4px; background: var(--astro-focus); color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-jcal-azi-b:hover, .astro-jcal-azi-b:focus-visible { background: var(--astro-sus-hover); border-color: var(--astro-sus-hover); }
/* Bara de sus: butoanele Na / Tr / Si ... pe propriul rand; Schimba si Setari mereu pe rand separat, dedesubt */
.astro-bara-sus .astro-nav { flex: 0 0 100%; }
/* Harta orara */
.astro-orara-info p { margin: .3rem 0; }
.astro-orara-voc { color: var(--astro-retro); font-weight: 600; }
.astro-form-orara .astro-nota { margin-left: .8rem; }
/* Merlin (fost Gandalf): caseta de la sfarsitul paginii, cu linkuri la pagini asemanatoare */
.astro-gandalf { display: flex; gap: 1.2rem; align-items: flex-start; margin: 4rem 0 1rem; padding: 1rem 1.2rem; border-top: 1px solid var(--astro-form-linie); border-radius: 6px; background: var(--astro-form-fundal); font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 400; }
.astro-gandalf-img { position: relative; flex: 0 0 auto; width: 240px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #e8eef8 center / cover no-repeat; } /* cadrul lui Merlin (marimea afisata se schimba aici si in width / height din astro_gandalf_html()) */
.astro-gandalf-img img, .astro-gandalf-img video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; } /* fara mouse pe video, ca browserul sa nu arate butonul Picture in picture */
.astro-merlin-hover { opacity: 0; transition: opacity .7s ease; } /* clipul de hover apare peste cel in bucla (clasa .joaca pusa de astro-merlin.js); durata fade-ului = FADE din astro-merlin.js (0,7 s) */
.astro-gandalf-img.joaca .astro-merlin-hover { opacity: 1; }
.astro-gandalf-titlu { margin: 0 0 .4rem; font-weight: 700; color: var(--astro-sus-hover); }
.astro-gandalf-linkuri ul { display: flex; flex-direction: column; gap: .35rem; margin: 0; padding: 0; list-style: none; } /* linkurile una sub alta, fara titlu */
.astro-gandalf-linkuri a { color: var(--astro-focus); text-decoration: none; }
.astro-gandalf-linkuri a:hover { text-decoration: underline; }
@media (max-width: 600px) { .astro-gandalf { flex-direction: column; } .astro-gandalf-img { width: 200px; } }

/* ---- Coloana din dreapta: caseta Jurnal ---- */
.astro-jurnal-lateral { border: 1px solid var(--astro-linie); border-radius: 10px; overflow: hidden; background: var(--astro-panou); }
.astro-jurnal-lateral .aj-titlu { margin: 0; padding: .7rem 1rem; background: var(--astro-antet); color: var(--astro-antet-text); font-size: 1.15rem; font-weight: 600; }
.astro-jurnal-lateral .aj-corp { padding: .9rem 1rem 1rem; }
.astro-jurnal-lateral .aj-luna { margin: 0 0 .5rem; font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--astro-antet); }
.astro-jurnal-lateral .aj-lista { list-style: none; margin: 0 0 .9rem; padding: 0; }
.astro-jurnal-lateral .aj-lista li { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--astro-linie); font-size: 1rem; }
.astro-jurnal-lateral .aj-nume { font-weight: 600; overflow-wrap: anywhere; }
.astro-jurnal-lateral .aj-zi { flex: none; font-size: .92rem; opacity: .8; }
.astro-jurnal-lateral .aj-azi .aj-zi { color: var(--astro-accent); font-weight: 700; opacity: 1; }
.astro-jurnal-lateral .aj-gol { margin: 0 0 .9rem; opacity: .8; }
.astro-jurnal-lateral .aj-link { display: inline-block; font-size: 1.125rem; font-weight: 600; color: var(--astro-accent); text-decoration: none; }
.astro-jurnal-lateral .aj-link:hover { text-decoration: underline; }

/* ---- Calendarul astrologic din coloana din dreapta ---- */
.astro-cal { position: relative; }
.astro-cal.ac-incarca { opacity: .55; }
.astro-cal .ac-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.astro-cal .ac-luna { font-weight: 700; font-size: 1.05rem; }
.astro-cal .ac-luna a { color: inherit; text-decoration: none; }
.astro-cal .ac-prev, .astro-cal .ac-next { width: 2rem; height: 2rem; border: 0; border-radius: 4px; background: transparent; color: var(--astro-antet); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.astro-cal .ac-prev:hover, .astro-cal .ac-next:hover { background: var(--astro-linie); }
.astro-cal .ac-tabel { width: 100%; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.astro-cal .ac-tabel th { padding: 0 0 .2rem; font-size: .9rem; font-weight: 600; text-align: center; }
.astro-cal .ac-tabel th.ac-wk { color: var(--astro-accent); }
.astro-cal .ac-tabel td { position: relative; height: 2rem; padding: 0; text-align: center; font-size: 1rem; border: 0; border-radius: 50%; outline: 0; }
.astro-cal .ac-tabel td:not(:empty) { cursor: default; }
.astro-cal .ac-tabel td img { display: block; margin: 0 auto; width: 27px; height: 27px; }
.astro-cal .ac-tabel td a { display: block; color: inherit; text-decoration: none; }
.astro-cal .ac-sarb { font-weight: 700; color: var(--astro-cal-sarb); }
/* ca in calendarul vechi: o bara rosie sub zilele cu sfinti / sarbatori (si peste iconita astro, daca ziua are si una) */
.astro-cal .ac-sarb::after, .astro-calendar-lateral .ac-leg-ex.ac-sarb::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 5px; border-radius: 2px; background: var(--astro-cal-sarb-bara); pointer-events: none; }
.astro-cal .ac-anv::before, .astro-calendar-lateral .ac-leg-ex.ac-anv::before { content: ''; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 5px; border-radius: 2px; background: var(--astro-cal-aniv); pointer-events: none; }
.astro-cal .ac-sarb.ac-anv::before { bottom: 5px; } /* ziua are si sarbatoare, si aniversare: doua bare, galbena jos, verde deasupra */
.astro-calendar-lateral .ac-leg-ex.ac-sarb, .astro-calendar-lateral .ac-leg-ex.ac-anv { position: relative; }
.astro-cal .ac-tip-sarb { color: #ffd84a; font-weight: 700; }
.astro-cal .ac-tip-anv { color: #8be26b; font-weight: 700; }
.astro-cal .ac-azi { box-shadow: inset 0 0 0 2px var(--astro-cal-azi); }
.astro-cal .ac-nota { margin: .6rem 0 0; font-size: .8rem; opacity: .7; }
.astro-cal .ac-gol { margin: 0; opacity: .8; }
.astro-calendar-lateral { overflow: visible; }
.astro-calendar-lateral .aj-titlu { border-radius: 9px 9px 0 0; }

/* Legenda calendarului: simbolul din antet + lista la hover / focus */
.astro-calendar-lateral .aj-titlu { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.astro-calendar-lateral .ac-leg { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; cursor: help; outline: 0; opacity: .85; }
.astro-calendar-lateral .ac-leg:hover, .astro-calendar-lateral .ac-leg:focus-visible { opacity: 1; background: rgba(255,255,255,.15); }
.astro-calendar-lateral .ac-leg-lista { display: none; position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; width: max-content; max-width: min(19rem, 86vw); padding: .8rem 1rem; border: 1px solid var(--astro-linie); border-radius: 8px; background: var(--astro-panou); color: var(--astro-tinta); font-size: .92rem; font-weight: 400; line-height: 1.35; text-align: left; cursor: default; }
.astro-calendar-lateral .ac-leg:hover .ac-leg-lista, .astro-calendar-lateral .ac-leg:focus-visible .ac-leg-lista { display: block; }
.astro-calendar-lateral .ac-leg-titlu { display: block; margin-bottom: .5rem; font-size: 1rem; }
.astro-calendar-lateral .ac-leg-lista ul { list-style: none; margin: 0; padding: 0; }
.astro-calendar-lateral .ac-leg-lista li { display: flex; align-items: center; gap: .6rem; padding: .15rem 0; }
.astro-calendar-lateral .ac-leg-lista img { flex: none; width: 27px; height: 27px; }
.astro-calendar-lateral .ac-leg-ex { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 50%; font-size: 1rem; }
.astro-calendar-lateral .ac-leg-nota { display: block; margin-top: .6rem; padding-top: .5rem; border-top: 1px solid var(--astro-linie); font-size: .82rem; opacity: .8; }
.astro-calendar-lateral .ac-leg-ex.ac-sarb { font-weight: 700; color: var(--astro-cal-sarb); }
.astro-calendar-lateral .ac-leg-ex.ac-azi { box-shadow: inset 0 0 0 2px var(--astro-cal-azi); }
/* Legenda pe doua coloane: incape pe ecran; pe telefon revine la o coloana */
.astro-calendar-lateral .ac-leg-lista { width: 26rem; max-width: 88vw; max-height: calc(100vh - 8rem); overflow-y: auto; padding: .7rem .9rem; }
.astro-calendar-lateral .ac-leg-lista ul { display: grid; grid-template-rows: repeat(7, auto); grid-auto-flow: column; grid-auto-columns: 1fr; column-gap: .9rem; row-gap: .1rem; }
.astro-calendar-lateral .ac-leg-lista li { gap: .5rem; padding: .1rem 0; font-size: .88rem; }
.astro-calendar-lateral .ac-leg-lista img, .astro-calendar-lateral .ac-leg-ex { width: 24px; height: 24px; }
.astro-calendar-lateral .ac-leg-titlu { margin-bottom: .4rem; }
@media (max-width: 480px) {
	.astro-calendar-lateral .ac-leg-lista ul { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: 1fr; }
}

/* Tooltip-ul zilei din calendar (element real, ca sa putem pune ziua ca titlu) */
.astro-cal .ac-tabel td .ac-tip { display: none; position: absolute; z-index: 20; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 15rem; padding: .5rem .7rem; border-radius: 6px; background: var(--astro-antet); color: var(--astro-antet-text); font-size: .88rem; font-weight: 400; line-height: 1.4; text-align: left; pointer-events: none; }
.astro-cal .ac-tabel td:hover .ac-tip, .astro-cal .ac-tabel td:focus-visible .ac-tip, .astro-cal .ac-tabel td.ac-arata .ac-tip { display: block; }
.astro-cal .ac-tabel td.ac-st .ac-tip { left: 0; transform: none; }
.astro-cal .ac-tabel td.ac-dr .ac-tip { left: auto; right: 0; transform: none; }
.astro-cal .ac-tabel td.ac-sus .ac-tip { bottom: auto; top: calc(100% + 6px); }
.astro-cal .ac-tip-zi { display: block; margin-bottom: .2rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .95rem; font-weight: 700; }
.astro-cal .ac-tip-l { display: block; }

/* ---- Caseta Planete acum ---- */
.astro-planete-lateral .ap-data { margin: 0 0 .5rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .95rem; color: var(--astro-tinta); }
.astro-planete-lateral .ap-data b { font-weight: 700; }
.astro-planete-lateral .ap-lista { list-style: none; margin: 0; padding: 0; }
.astro-planete-lateral .ap-lista li { display: flex; align-items: center; gap: .7rem; padding: .22rem 0; border-top: 1px solid var(--astro-linie); font-size: 1rem; font-variant-numeric: tabular-nums; }
.astro-planete-lateral .ap-lista li:first-child { border-top: 0; }
.astro-planete-lateral .ap-gl { flex: none; color: var(--astro-tinta); }
.astro-planete-lateral .ap-semn { font-size: 1.1rem; }
.astro-planete-lateral .ap-el-0 { color: var(--astro-foc); }
.astro-planete-lateral .ap-el-1 { color: var(--astro-pamant); }
.astro-planete-lateral .ap-el-2 { color: var(--astro-aer); }
.astro-planete-lateral .ap-el-3 { color: var(--astro-apa); }
.astro-planete-lateral .ap-rx { margin-left: auto; color: var(--astro-retro); font-weight: 700; }

/* ---- Baza de date (personalitati, evenimente) ---- */
.astro-bd-form textarea { box-sizing: border-box; width: 100%; max-width: 32rem; padding: .6rem .8rem; border: 1px solid var(--astro-linie); border-radius: 6px; font: inherit; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 1rem; }
.astro-bd-ajutor { margin: .4rem 0 .8rem; font-size: .95rem; }
.astro-bd-ajutor summary { cursor: pointer; color: var(--astro-accent); font-weight: 600; }
.astro-bd-ajutor > div { padding: .6rem .9rem; margin-top: .4rem; border: 1px solid var(--astro-linie); border-radius: 6px; background: var(--astro-panou); }
.astro-bd-ajutor code { font-size: .95em; }
.astro-bd-butoane { display: flex; flex-wrap: wrap; gap: .5rem; }
.astro-bd-cauta, .astro-bd-norocos { height: 2.4rem; padding: 0 1.1rem; border-radius: 4px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-bd-cauta { border: 0; background: var(--astro-sus); color: var(--astro-sus-simbol); }
.astro-bd-cauta:hover { background: var(--astro-sus-hover); }
.astro-bd-total { margin: 1rem 0; font-size: .95rem; opacity: .8; }
.astro-bd-ajutor h4 { margin: 1rem 0 .3rem; font-size: 1rem; }
.astro-bd-ajutor ul { margin: 0 0 .4rem; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.astro-bd-ajutor p { margin: .3rem 0; }
.astro-bd-formula { margin: .2rem 0 .8rem; padding: .5rem .8rem; border: 1px solid var(--astro-linie); border-radius: 6px; background: #fff; font-size: .95rem; white-space: pre-wrap; }
@media (max-width: 480px) { .astro-bd-ajutor ul { columns: 1; } }
/* Baza de date: bife aliniate, filtrul de ore separat, butonul "Ma simt norocos" langa "Cauta" */
.astro-bd-norocos { border: 1px solid var(--astro-linie); background: #fff; color: inherit; }
.astro-bd-norocos:hover { background: var(--astro-panou); }
.astro-bd-noroc-form { display: none; }
/* Baza de date: categoriile si filtrul de ore, in cardul colorat al formularelor */
.astro-bd-categorii { margin: .8rem 0 0; padding: .8rem 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .5rem 1.5rem; max-width: 52rem; box-sizing: border-box; border: 1px solid var(--astro-form-bordura); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--astro-form-fundal); }
.astro-bd-categorii legend { float: left; width: 100%; padding: 0; margin: 0 0 .1rem; font-weight: 700; font-size: 1rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-bd-categorii legend + * { clear: both; }
.astro-bd-categorii label, .astro-bd-ora { display: flex; align-items: flex-start; gap: .55rem; margin: 0; font: inherit; font-weight: 400; line-height: 1.35; cursor: pointer; }
.astro-bd-categorii input, .astro-bd-ora input { flex: none; width: 1.05rem; height: 1.05rem; margin: .22rem 0 0; }
.astro-bd-ora { max-width: 52rem; margin: 0 0 1rem; padding: .7rem 1rem; box-sizing: border-box; border: 1px solid var(--astro-form-bordura); border-top: 1px solid var(--astro-form-linie); border-radius: 0 0 6px 6px; background: var(--astro-form-fundal); font-weight: 600; }
/* Baza de date: cardurile persoanelor (numele, clicabil, duce la harta natala) */
.astro-bd-lista { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 1rem; }
.astro-bd-lista li { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--astro-form-bordura); border-radius: 8px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.astro-bd-lista li:hover { border-color: var(--astro-antet); }
.astro-bd-poza { flex: none; width: 80px; height: 80px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--astro-panou); }
.astro-bd-date { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; line-height: 1.4; }
.astro-bd-harta { margin: 0; }
.astro-bd-harta button { padding: 0; border: 0; background: none; text-align: left; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--astro-antet); cursor: pointer; overflow-wrap: anywhere; }
.astro-bd-harta button:hover { color: var(--astro-accent); text-decoration: underline; }
.astro-bd-data { font-size: 1rem; }
.astro-bd-loc { font-size: .95rem; opacity: .75; }
.astro-bd-pozitii { display: flex; flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: .2rem; margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--astro-form-linie); font-size: .95rem; font-variant-numeric: tabular-nums; }
.astro-bd-pozitii span { display: inline-flex; align-items: center; gap: .35rem; }
.astro-bd-pozitii .ap-gl { flex: none; }
/* Pagina unei persoane (baza de date) */
a.astro-bd-nume { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--astro-antet); text-decoration: none; overflow-wrap: anywhere; }
a.astro-bd-nume:hover { color: var(--astro-accent); text-decoration: underline; }
.astro-vedeta-nume { margin: 0 0 1rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--astro-antet); }
.astro-vedeta-poze { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.astro-vedeta-poze li { margin: 0; }
.astro-vedeta-categorii { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.astro-vedeta-categorii span { padding: .15rem .7rem; border: 1px solid var(--astro-form-bordura); border-radius: 999px; background: var(--astro-form-fundal); font-size: .92rem; }
.astro-vedeta-text { margin: 0 0 1.2rem; line-height: 1.6; }
.astro-vedeta-fapte { width: 100%; max-width: 40rem; margin: 0 0 1.5rem; }
.astro-vedeta-fapte th { width: 45%; font-weight: 400; text-align: left; }
.astro-vedeta-fapte td { font-weight: 600; }
/* Fotografiile din fisa persoanei: la marimea lor naturala (nu se maresc, ca sa nu se pixeleze) */
.astro-vedeta-poze img { display: block; height: auto; width: auto; max-width: 100%; max-height: 320px; border: 1px solid var(--astro-form-bordura); border-radius: 6px; background: var(--astro-panou); }
.astro-vedeta-poze a { display: block; cursor: zoom-in; overflow: hidden; border-radius: 6px; transition: box-shadow .15s ease; }
.astro-vedeta-poze img { transition: transform .35s ease; }
.astro-vedeta-poze a:hover img { transform: scale(1.07); } /* zoom usor in interiorul cadrului, fara chenar */
/* Fisa persoanei: butoanele Compatibilitate / Salveaza */
.astro-vedeta-actiuni { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.5rem; }
.astro-vedeta-compat, .astro-vedeta-salveaza { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 1.1rem; border: 1px solid var(--astro-form-bordura); border-radius: 4px; background: #fff; color: inherit; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-vedeta-compat { color: var(--astro-accent); }
.astro-vedeta-rand { flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: .5rem; } /* Sinastrie, Harta compusa, Harta Davison: un rand sub celelalte butoane */
.astro-vedeta-compat:hover, .astro-vedeta-salveaza:hover:not(:disabled) { background: var(--astro-panou); }
.astro-vedeta-salveaza:disabled { opacity: .5; cursor: not-allowed; }
.astro-vedeta-mesaj { font-size: .95rem; }
.astro-vedeta-mesaj.ok { color: var(--astro-pamant); }
.astro-vedeta-mesaj.eroare { color: var(--astro-retro); }
/* Fotografiile din fisa persoanei: marire in aceeasi pagina */
.astro-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(8, 14, 24, 0); transition: background .45s ease; }
.astro-lb[hidden] { display: none; }
.astro-lb.vizibil { background: rgba(8, 14, 24, .88); }
.astro-lb-img { display: block; max-width: 92vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; cursor: zoom-out; will-change: transform; }
.astro-lb button { position: absolute; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .45s ease, background .2s ease; }
.astro-lb.vizibil button { opacity: 1; }
.astro-lb button:hover, .astro-lb button:focus-visible { background: rgba(255, 255, 255, .28); outline: 0; }
.astro-lb button[hidden] { display: none; }
.astro-lb-x { top: 1rem; right: 1rem; }
html.astro-lb-deschis { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .astro-lb, .astro-lb button { transition: none; } }
a.astro-bd-norocos { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 2.4rem; padding: 0 1.1rem; border-radius: 4px; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; text-decoration: none; }
/* Compatibilitate */
.astro-compat-procent { margin: 1.2rem 0 .1rem; text-align: center; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--astro-antet); }
.astro-compat-puncte { margin: 0 0 .6rem; text-align: center; font-size: 1.1rem; font-weight: 600; opacity: .8; }
.astro-compat-inimi { display: flex; justify-content: center; gap: .35rem; margin: 0 0 1rem; }
.astro-compat-inimi .plina { color: var(--astro-accent); }
.astro-compat-inimi .goala { color: var(--astro-linie); }
.astro-compat-inimi svg { display: block; }
.astro-compat-insigne { list-style: none; margin: 0 auto 1.2rem; padding: 0; max-width: 24rem; display: flex; flex-direction: column; gap: .4rem; }
.astro-compat-insigne li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.astro-compat-tabel { width: 100%; max-width: 30rem; margin: 0 0 1rem; }
.astro-compat-tabel td:last-child, .astro-compat-tabel th:last-child { text-align: right; width: 6rem; }
.astro-compat-total td { font-weight: 700; border-top: 2px solid var(--astro-form-bordura); }
.astro-compat-vm { display: flex; align-items: center; gap: .5rem; margin: .8rem 0 .2rem; font-weight: 600; }
.astro-compat .rosu { color: var(--astro-retro); }
/* Fisa persoanei: linkul Compatibilitate si butoanele Si / Co / Da */
a.astro-vedeta-compat { display: inline-flex; align-items: center; height: 2.4rem; padding: 0 1.1rem; border: 1px solid var(--astro-form-bordura); border-radius: 4px; background: #fff; text-decoration: none; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; }
a.astro-vedeta-compat:hover { background: var(--astro-panou); }
/* Rezultatul compatibilitatii (semnificatia punctajului): pe fundal albastru, ca sa se vada bine */
.astro-compat-text { margin: 1.2rem 0; padding: 1rem 1.2rem; border-radius: 8px; background: var(--astro-antet); color: var(--astro-antet-text); font-size: 1.1rem; line-height: 1.6; }
/* Pagina de start: ultimele date, cu link catre fisa persoanei */
.astro-date-link { display: flex; flex-direction: column; align-items: center; gap: .15rem; width: 100%; min-width: 0; color: inherit; text-decoration: none; }
.astro-date-link:hover .astro-date-nume { color: var(--astro-accent); text-decoration: underline; }
/* Chenarul ramane fix (3 px la hover), doar poza dinauntru se mareste */
.astro-date-poza { display: block; width: 100%; max-width: 120px; aspect-ratio: 1; overflow: hidden; border-radius: 8px; border: 1px solid var(--astro-linie); background: #f3f5f9; box-sizing: border-box; transition: border-color .15s ease, box-shadow .15s ease; }
.astro-date-poza img { display: block; width: 100%; max-width: none; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; transition: transform .35s ease; }
.astro-date-link:hover .astro-date-poza img { transform: scale(1.07); } /* zoom usor, fara chenar; titlul se subliniaza */
.astro-ultimele-toate { margin: 1rem 0 0; text-align: right; font-weight: 600; }
.astro-ultimele-toate a { color: var(--astro-accent); text-decoration: none; }
.astro-ultimele-toate a:hover { text-decoration: underline; }
/* Fisa persoanei: butonul Salveaza, verde ca sa se vada usor */
.astro-vedeta-salveaza { background: var(--astro-verde); border-color: var(--astro-verde); color: #fff; }
.astro-vedeta-salveaza:hover:not(:disabled) { background: var(--astro-verde-hover); border-color: var(--astro-verde-hover); }
.astro-vedeta-salveaza .af-svg { color: #fff; }

/* Astro gemeni: semnele persoanei, titlurile grupelor si numarul de persoane din grupa */
.astro-gemeni-semne { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin: 0 0 1rem; font-weight: 600; color: var(--astro-tinta); }
.astro-gemeni-sectiune { margin: 3rem 0 .6rem; font-size: 1.5rem; color: var(--astro-tinta); }
.astro-gemeni-titlu { margin: 2.6rem 0 .6rem; font-size: 1.15rem; color: var(--astro-tinta); }
.astro-gemeni-nr { font-weight: 400; color: var(--astro-text-gri); }

/* Caseta Zile de nastere: numele ca link in lista casetelor din dreapta */
.astro-jurnal-lateral a.aj-nume { color: var(--astro-antet); text-decoration: none; }
.astro-jurnal-lateral a.aj-nume:hover { color: var(--astro-accent); text-decoration: underline; }

/* Caseta Articole: imaginea reprezentativa (sau prima din text) si titlul */
.astro-articole-lateral .aa-lista { list-style: none; margin: 0 0 .9rem; padding: 0; display: grid; gap: 1.25rem; }
.astro-articole-lateral .aa-lista li { margin: 0; }
.astro-articole-lateral .aa-card { display: block; padding: .55rem .55rem .7rem; border: 1px solid var(--astro-form-bordura); border-radius: 8px; background: #fff; text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.astro-articole-lateral .aa-card:hover { border-color: var(--astro-antet); }
.astro-articole-lateral .aa-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.astro-articole-lateral .aa-titlu { display: block; margin-top: .55rem; padding: 0 .15rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--astro-antet); }
.astro-articole-lateral .aa-card:hover .aa-titlu { color: var(--astro-accent); text-decoration: underline; }

/* Articole recente (prima pagina): pe orizontala, imaginea mica la stanga, la dreapta data, titlul si rezumatul */
.astro-articole-recente { max-width: 1180px; margin: 0 auto 2.5rem; }
.aar-lista { list-style: none; margin: 0; padding: 0; }
.aar { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--astro-linie); }
.aar:first-child { border-top: 0; }
.aar-poza { flex: none; display: block; width: 200px; }
.aar-img { display: block; width: 200px; height: 112px; object-fit: cover; border-radius: 6px; } /* 16:9, ca imaginile articolelor (1200 x 675) */
.aar-img { transition: transform .35s ease; }
.aar-poza { overflow: hidden; border-radius: 6px; transition: box-shadow .15s ease; }
.aar-poza:hover .aar-img, .aar:has(.aar-titlu:hover) .aar-img { transform: scale(1.07); } /* zoom usor in interiorul cadrului, fara chenar; doar pe imagine sau pe titlu, nu pe rezumat */
.aar-poza:hover + .aar-text .aar-titlu { color: var(--astro-accent); text-decoration: underline; } /* imagine si titlu reactioneaza impreuna */
.aar-text { flex: 1; min-width: 0; }
.aar-data { float: right; margin-left: 1rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .9rem; color: #6b7280; }
.aar-titlu { display: inline-block; max-width: 100%; vertical-align: top; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.3; color: var(--astro-antet); text-decoration: none; overflow-wrap: anywhere; }
.aar-titlu:hover { color: var(--astro-accent); text-decoration: underline; }
.aar-rezumat { margin: .4rem 0 0; line-height: 1.55; color: #374151; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; min-height: calc(3 * 1.55em); } /* mereu 3 randuri, ca pozele sa se alinieze la fel */
@media (max-width: 520px) { .aar-poza, .aar-img { width: 110px; } .aar-img { height: 62px; } }

/* Pagina Articole: lista completa, cu numerele paginilor sus si jos */
.astro-articole-pagina .aar-lista { margin: 1rem 0; }
.astro-articole-pagina .aar-poza, .astro-articole-pagina .aar-img { width: 200px; }
.astro-articole-pagina .aar-img { height: 112px; }
@media (max-width: 520px) { .astro-articole-pagina .aar-poza, .astro-articole-pagina .aar-img { width: 110px; } .astro-articole-pagina .aar-img { height: 62px; } }

/* Zile de nastere: Ieri / Astazi / Maine ca sectiuni care se strang si se deruleaza (una deschisa) */
.astro-zile-nastere .zn-sectiune { margin: 0 0 .5rem; }
.astro-zile-nastere .zn-cap { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0; padding: .55rem .8rem; border: 0; border-radius: 6px; background: var(--astro-zn-inchis); cursor: pointer; text-align: left; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .95rem; font-weight: 700; color: var(--astro-zn-inchis-text); transition: background-color .2s ease, color .2s ease; }
.astro-zile-nastere .zn-cap::after { content: ""; flex: none; width: .55rem; height: .55rem; margin-right: .2rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.astro-zile-nastere .zn-sectiune.deschis .zn-cap::after { transform: rotate(-135deg); }
.astro-zile-nastere .zn-sectiune.deschis .zn-cap { background: var(--astro-zn-deschis); color: var(--astro-zn-deschis-text); }
.astro-zile-nastere .zn-cap:hover { filter: brightness(.96); }
.astro-zile-nastere .zn-continut .aj-lista { margin: .35rem 0 .2rem; }
.astro-zile-nastere .zn-panou { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.astro-zile-nastere .zn-sectiune.deschis .zn-panou { grid-template-rows: 1fr; }
.astro-zile-nastere .zn-continut { overflow: hidden; min-height: 0; }
@media (prefers-reduced-motion: reduce) { .astro-zile-nastere .zn-panou, .astro-zile-nastere .zn-cap::after { transition: none; } }

/* Pagina Temperament: tabelul pas cu pas (cald / rece / umed / uscat) */
.astro-temperament-tabel { width: 100%; max-width: 760px; min-width: 32rem; }
.astro-temperament-tabel th, .astro-temperament-tabel td { vertical-align: middle; }
.astro-temperament-tabel thead th:not(:first-child), .astro-temperament-tabel .at-c { text-align: center; width: 4.5rem; }
.astro-temperament-tabel .at-antet th { padding-top: .8rem; text-align: left; background: var(--astro-panou); color: var(--astro-antet); }
.astro-temperament-tabel .at-da { color: var(--astro-verde-hover); font-weight: 700; }
.astro-temperament-tabel .at-total th, .astro-temperament-tabel .at-total td { font-size: 1.15rem; font-weight: 700; border-top: 2px solid var(--astro-antet); }
.astro-temperament .at-text { max-width: 760px; line-height: 1.6; }

/* Temperament fara ora: imaginea reprezentativa a paginii, sub mesaj */
.at-fara-ora-fig { margin: 1rem 0; }
.at-fara-ora { display: block; max-width: 100%; height: auto; border-radius: 8px; }

/* Temperament: personalitati pe tipuri (5 pe rand) */
.astro-temperament-persoane { margin: 2.5rem 0 1rem; }
.astro-temperament-persoane .at-tip { margin: 1.6rem 0 0; font-size: 1.15rem; }
.astro-temperament-persoane .astro-date-lista { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .astro-temperament-persoane .astro-date-lista { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .astro-temperament-persoane .astro-date-lista { grid-template-columns: repeat(2, 1fr); } .astro-temperament-persoane .astro-date-lista > :nth-child(5) { display: none; } }

/* Tarot / Oracol / Lenormand / Rune: vitrina cu carti la intamplare (pana la "Ok") si "Cum se foloseste" */
.astro-tarot-vitrina { margin-top: 3rem; }
.astro-tarot-vitrina h2 { margin: 0; text-align: left; }
.astro-tarot-vitrina-fereastra { overflow: hidden; margin-top: 1rem; }
.astro-tarot-vitrina-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 13px; width: max-content; will-change: transform; }
.astro-tarot-vitrina-fereastra { padding: 4px 0 10px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); }
.astro-tarot-vitrina-lista li { flex: none; width: 110px; margin: 0; aspect-ratio: var(--ar, 3 / 5); overflow: hidden; border-radius: 6px; background: #e4e0d6 center / cover no-repeat; }
.astro-tarot-vitrina-lista img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .35s ease; }
.astro-tarot-vitrina-lista li.gata img { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .astro-tarot-vitrina-lista img { transition: none; } }
.astro-tarot-masa:not([hidden]) ~ .astro-tarot-vitrina, .astro-tarot-rezultat:not([hidden]) ~ .astro-tarot-vitrina { display: none; }
.astro-tarot-cum { margin: 2rem 0 1rem; }
.astro-tarot-cum ol { margin: .5rem 0 0 1.2rem; padding: 0; line-height: 1.6; }
.astro-tarot-cum li { margin: 0 0 .4rem; }

/* Trutina lui Hermes: data si ora rectificata, in aldin (negru) */
.astro-trutina p > strong, .astro-trutina p > b { font-weight: 700 !important; color: var(--astro-tinta); }

/* Trutina lui Hermes: butonul "Foloseste aceasta ora", albastru (nu verde ca "Salveaza" de pe fisa) */
button.astro-trutina-foloseste { border-color: var(--astro-antet); background: var(--astro-antet); color: var(--astro-antet-text); }
button.astro-trutina-foloseste:hover:not(:disabled) { border-color: var(--astro-sus-hover); background: var(--astro-sus-hover); color: var(--astro-antet-text); }
button.astro-trutina-foloseste:disabled { opacity: .6; cursor: default; }
.astro-trutina-actiune { margin: 1rem 0; }
.astro-trutina-mesaj { display: block; margin: .6rem 0 0; font-weight: 400; font-size: 1rem; line-height: 1.5; color: var(--astro-ok); }
.astro-trutina-mesaj:empty { display: none; }
.astro-trutina-mesaj a { margin-left: .3rem; font-weight: 700; color: var(--astro-accent); text-decoration: none; }
.astro-trutina-mesaj a:hover { text-decoration: underline; }

/* Bara Na / Tr / ...: la hover numele scurt al paginii apare intr-un strat mai lat, centrat peste buton. Stratul nu muta nimic din
   rand (pozitie absoluta, copil al butonului), deci cursorul nu mai "tremura" la marginea butonului. */
.astro-nav-b { position: relative; }
.astro-nav-b .nb-nume { position: absolute; left: 50%; top: -1px; bottom: -1px; z-index: 3; display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: calc(100% + 2px); padding: 0 1rem; border: 1px solid #8aa0c8; border-radius: 4px; background: var(--astro-bordura-albastra); color: #17476f; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateX(-50%) scaleX(.7); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; pointer-events: none; }
.astro-nav-b:hover .nb-nume, .astro-nav-b:focus-visible .nb-nume { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) scaleX(1); transition: opacity .18s ease, transform .18s ease, visibility 0s; }
.astro-nav-b.activ .nb-nume { background: var(--astro-focus); border-color: var(--astro-focus); color: #fff; }
@media (prefers-reduced-motion: reduce) { .astro-nav-b .nb-nume { transition: none; } }

/* Directii primare: data exacta a directiei, mai mica decat textul interpretarii */
.astro-interpretari .astro-dir-data { font-size: .92rem !important; line-height: 1.5; }
.astro-dir-tabel { font-size: 1.02rem !important; }
.astro-dir-tabel .pm-pl .ap-gl { vertical-align: middle; }
.astro-dir-tabel th, .astro-dir-tabel td { white-space: nowrap !important; padding: .45em .5em; }
.astro-dir-tabel abbr { text-decoration: none; cursor: help; }
.astro-dir-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.astro-dir-scroll .astro-dir-tabel { margin-bottom: .5em; }

/* Bibliomantie */
.astro-bibl-form, .astro-bibl-nou { text-align: center; margin: 1.5rem 0; }
.astro-bibl-citat { margin: 1.5rem 0; padding: .6rem 1.2rem; border-left: 4px solid var(--astro-sus); background: var(--astro-fundal-hover); font-size: 1.1rem; }
.astro-bibl-citat p { margin: .4em 0; }
.astro-bibl-nr { font-weight: 700; }
.astro-bibl-citat footer { margin-top: .6em; font-weight: 700; text-align: right; }
.astro-bibl-img { text-align: center; }
.astro-bibl-img img { max-width: 100%; height: auto; }
/* Oracol Sabian */
.astro-sab-form, .astro-sab-nou { text-align: center; margin: 1.5rem 0; }
.astro-sab-buton, .astro-btn-p, .astro-bibl-buton, .astro-geo-buton, .astro-chiro-buton, .astro-cd-buton { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; display: inline-block; padding: .55rem 1.6rem; border: 1px solid var(--astro-sus); border-radius: 4px; background: var(--astro-sus); color: #fff; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.astro-sab-buton:hover, .astro-btn-p:hover, .astro-bibl-buton:hover, .astro-geo-buton:hover, .astro-chiro-buton:hover, .astro-cd-buton:hover { background: var(--astro-sus-hover); color: #fff; }
.astro-sab-citat { margin: 1.5rem 0; padding: .6rem 1.2rem; border-left: 4px solid var(--astro-sus); background: var(--astro-fundal-hover); font-size: 1.15rem; }
.astro-sab-citat p { margin: .4em 0; }
.astro-sab-citat footer { margin-top: .6em; font-weight: 700; text-align: right; }
.astro-sab-img { text-align: center; margin: 1.2rem 0 0; }
.astro-sab-img img { max-width: 100%; height: auto; border-radius: 6px; }
.astro-sab-cheie { font-weight: 700; }
.astro-sab-poz { font-style: italic; }
.astro-sab-eticheta { color: var(--astro-retro); font-weight: 700; }
/* I Ching: hexagramele desenate cu CSS (linia 6 sus; yang = bara intreaga, yin = doua bare; schimbatoarele in culoarea --astro-retro) */.astro-ich-form, .astro-ich-nou { text-align: center; margin: 1.5rem 0; }.astro-ich-buton { display: inline-block; padding: .55rem 1.6rem; border: 1px solid var(--astro-sus); border-radius: 4px; background: var(--astro-sus); color: #fff; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; }.astro-ich-buton:hover { background: var(--astro-sus-hover); color: #fff; }.astro-ich-afis { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; margin: 1.5rem 0; text-align: center; }.astro-ich-col p { margin: .8rem 0 0; }.astro-ich-rom { font-size: .9rem; }.astro-ich-sageata { font-size: 2.4rem; line-height: 1; }.astro-ich-hex { width: 150px; margin: 0 auto; }.astro-ich-lin { display: flex; justify-content: space-between; height: 14px; margin: 0 0 9px; }.astro-ich-lin i { display: block; height: 100%; background: currentColor; border-radius: 2px; }.astro-ich-lin.yang i:first-child { flex: 1 1 100%; }.astro-ich-lin.yang i:last-child { display: none; }.astro-ich-lin.yin i { flex: 0 0 44%; }.astro-ich-lin.schimba { color: var(--astro-retro); }.astro-ich-citat { margin: 1.5rem 0; padding: .6rem 1.2rem; border-left: 4px solid var(--astro-sus); background: var(--astro-fundal-hover); font-size: 1.1rem; }.astro-ich-citat p { margin: .4em 0; }.astro-ich-citat footer { margin-top: .6em; font-weight: 700; text-align: right; }.astro-ich-leg { font-weight: 700; }

/* Tabelul demnitatilor esentiale si accidentale (harta traditionala, harta orara) */
.astro-dem-tabel { font-size: .9rem !important; width: auto !important; border-collapse: collapse !important; border-spacing: 0 !important; }
.astro-dem-tabel th, .astro-dem-tabel td { white-space: nowrap !important; text-align: center; padding: .4em .6em; vertical-align: middle; border-bottom: 1px solid #d9dde3; }
.astro-dem-tabel th { border-bottom: 2px solid #aab2bd; }
.astro-dem-tabel td.dem-planeta { display: table-cell; text-align: left; }
.astro-dem-tabel td.dem-planeta { white-space: nowrap; }
.astro-dem-tabel .dem-bare { display: inline-block; width: 100px; vertical-align: middle; line-height: 0; text-align: right; }
.astro-dem-tabel .dem-b { display: block; height: 6px; margin: 2px 0 2px auto; }
.astro-dem-tabel .dem-pos { background: var(--astro-dem-bun); }
.astro-dem-tabel .dem-neg { background: var(--astro-dem-rau); }
.astro-dem-tabel .dem-nr { display: inline-block; min-width: 4.2em; margin: 0 .5em; font-size: .8rem; color: var(--astro-text-slab); text-align: center; vertical-align: middle; }
.astro-dem-tabel .dem-simbol { display: inline-block; min-width: 34px; vertical-align: middle; line-height: 0; }
.astro-dem-tabel .dem-pl { display: inline-block; line-height: 0; }
.astro-dem-tabel .dem-egal { color: var(--astro-dem-rau); }
.astro-dem-tabel .dem-rx { font-size: .8rem; margin-left: .15em; color: #000; vertical-align: bottom; line-height: 1; }
.astro-dem-tabel .dem-simbol { position: relative; }
.astro-dem-tabel abbr { text-decoration: none; cursor: help; }

/* Harta natala traditionala: titlurile interpretarilor in aldin */
.astro-trad p > strong, .astro-trad p > b { font-weight: 700 !important; }
.astro-trad h3 { margin-top: 2.8rem; }

/* Aspectarium: spatiu mai mare deasupra titlului, pe toate hartile */
.astro-titlu-aspectarium { margin-top: 2.8rem; }

/* Note rosii (avertismente): textul in culoarea de eroare, fara estomparea notelor obisnuite */
.astro-harta-nota.rosu { color: var(--astro-retro); background: var(--astro-rosu-nota); border-left-color: var(--astro-retro); }

/* Astrodine */
.astro-ad-ord { margin: 1rem 0; }
.astro-ad-tabel { width: auto !important; min-width: 22rem; }
.astro-ad-tabel th, .astro-ad-tabel td { text-align: left; padding: .4em .8em; }
.astro-ad-tabel th:not(:first-child), .astro-ad-tabel td:not(:first-child) { text-align: right; }
.astro-ad-tabel tfoot td { font-weight: 700; border-top: 2px solid #aab2bd; }
.astro-astrodine .astro-interpretari p > b { font-weight: 700 !important; }
.astro-ad-ord { margin: 1rem 0; font-family: inherit; font-size: inherit; font-weight: 400; line-height: inherit; }
.astro-ad-ord b { font-weight: 700; }
.astro-ad-tabel th[data-ord] { cursor: pointer; user-select: none; white-space: nowrap; }
.astro-ad-tabel th[data-ord]:hover { background: var(--astro-fundal-hover); }
.astro-ad-tabel th.ad-activ::after { content: " \25BC"; font-size: .7em; color: var(--astro-sus); }
.astro-ad-tabel th.ad-activ[data-ord="n"]::after { content: " \25B2"; }

/* Firdaria */
.astro-fd-tabel { width: auto !important; min-width: 20rem; }
.astro-fd-tabel th, .astro-fd-tabel td { text-align: left; padding: .4em .8em; vertical-align: middle; }
.astro-fd-tabel tr.fd-curent td { background: var(--astro-fundal-hover); font-weight: 700; }
.astro-fd-tabel .fd-pl { display: inline-block; line-height: 0; vertical-align: middle; }
.astro-fd-interp { margin: 1rem 0; }
.astro-fd-citeste { padding: .55rem 1.2rem; border: 1px solid var(--astro-sus); border-radius: 4px; background: #fff; color: var(--astro-sus); font-size: 1rem; font-weight: 600; cursor: pointer; }
.astro-fd-citeste:hover { background: var(--astro-fundal-hover); }
.astro-fd-text { margin: 1.5rem 0; padding: .6rem 1.2rem; border-left: 4px solid var(--astro-sus); background: var(--astro-fundal-hover); } /* card galben, ca la Bibliomantie */
.astro-fd-text p { margin: .5em 0; }
.astro-fd-text p > b { font-weight: 700 !important; }
/* Avertismentul interpretarii: fereastra modala, afisata de doua ori */
.astro-fd-dialog { max-width: min(34rem, 92vw); padding: 1.5rem 1.6rem; border: 4px solid var(--astro-dem-rau); border-radius: 8px; background: #fff; color: #111; font-size: 1.05rem; line-height: 1.5; }
.astro-fd-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.astro-fd-dialog h2 { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 800; letter-spacing: .03em; color: var(--astro-dem-rau); }
.astro-fd-dialog p { margin: 0 0 .9rem; }
.astro-fd-dialog[open] { display: flex; flex-direction: column; min-height: 25rem; }
.astro-fd-dialog-butoane { display: flex; gap: .7rem; margin-top: auto; padding-top: 1.2rem; }
.astro-fd-dialog-butoane button { flex: 1 1 0; min-width: 0; }
.astro-fd-ok:disabled { opacity: .45; cursor: not-allowed; }
.astro-fd-ok { padding: .65rem 1.2rem; border: 2px solid var(--astro-dem-rau); border-radius: 4px; background: var(--astro-dem-rau); color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-fd-nu { padding: .65rem 1.2rem; border: 2px solid var(--astro-text-slab); border-radius: 4px; background: #fff; color: #111; font-size: 1rem; font-weight: 600; cursor: pointer; }

/* Luna natala */
.astro-ln-luna { display: inline-block; margin: 0 0 1rem; padding: 0; background: #000; text-align: center; }
.astro-ln-luna img { display: block; width: 170px; height: auto; }
.astro-ln-luna figcaption { padding: .3rem .5rem; color: #999; font-size: .9rem; }
.astro-ln-capete { display: flex; align-items: center; gap: .6rem; margin: .5rem 0 1rem; }
.astro-ln-capete img { width: 50px; height: 50px; }
.astro-ln-sageata { font-size: 1.4rem; }

/* Chakre si planete */
.ch-corp { position: relative; width: 510px; height: 330px; background-repeat: no-repeat; background-position: top center; margin: 0 auto 1rem; }
.ch-et { position: absolute; top: 0; width: 100px; text-align: center; line-height: 24px; }
.ch-st { left: 0; }
.ch-dr { right: 0; }
.ch-rand { position: absolute; left: 0; width: 510px; display: grid; grid-template-columns: 100px 135px 40px 135px 100px; align-items: center; }
.ch-r1 { top: 24px; height: 74px; }
.ch-r2 { top: 98px; height: 46px; }
.ch-r3 { top: 144px; height: 46px; }
.ch-r4 { top: 190px; height: 36px; }
.ch-r5 { top: 226px; height: 36px; }
.ch-r6 { top: 262px; height: 36px; }
.ch-pls { text-align: center; line-height: 0; }
.ch-pl { display: inline-block; line-height: 0; vertical-align: middle; }
.ch-pl svg { width: 20px; height: 20px; }
.ch-ind { line-height: 0; }
.ch-ind img { display: block; }
.ch-poza { width: 100px; height: 100px; }
.ch-verde { color: var(--astro-ok); }
.ch-rosu { color: var(--astro-retro); }
.astro-chakre b, .astro-chakre strong { font-weight: 700 !important; }
.ch-et { font-weight: 700; }
.astro-chakre h3 { margin-top: 2.8rem; }
.astro-ad-tabel td, .astro-ad-tabel th { color: #000; }

/* Puncte mijlocii */
.pm-lista { margin: 0 0 1rem; padding: 0; list-style: none; }
.pm-lista li { margin: .35rem 0; }
.pm-pl { display: inline-block; line-height: 0; vertical-align: middle; }
.pm-pl svg { width: 20px; height: 20px; }
.pm-atentie { color: var(--astro-retro); font-weight: 700; }
.astro-pm h3 { margin-top: 2.2rem; }

/* Simboluri grade: taburi fara JavaScript (radio + etichete) */
.sg-radio { position: absolute; opacity: 0; pointer-events: none; }
.sg-eticheta { display: inline-block; padding: .5rem 1.1rem; margin: 0 .3rem .6rem 0; border: 1px solid #aab2bd; border-radius: 4px; cursor: pointer; font-weight: 600; background: #fff; }
.sg-radio:checked + .sg-eticheta { background: var(--astro-sus); border-color: var(--astro-sus); color: #fff; }
.sg-radio:focus-visible + .sg-eticheta { outline: 2px solid var(--astro-sus); outline-offset: 2px; }
.sg-panou { display: none; }
#sg-t1:checked ~ .sg-sabian, #sg-t2:checked ~ .sg-kozminsky, #sg-t3:checked ~ .sg-volasfera { display: block; }
.sg-cheie { font-weight: 600; color: var(--astro-gri-slab); }
.sg-simbol { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin: .45rem 0 .5rem; padding: .5rem 1rem; border-left: 4px solid var(--astro-sus); background: var(--astro-galben-nota); }
.sg-simbol-t { flex: 1 1 14rem; }
.sg-poza { flex: 0 0 auto; display: block; width: 17rem; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
@media (max-width: 520px) { .sg-poza { width: 100%; } }
.sg-interp { display: block; }
.sg-sursa { display: block; margin-top: .5rem; color: var(--astro-gri-slab); }
.sg-pl { display: inline-block; line-height: 0; vertical-align: middle; }
.sg-pl svg { width: 20px; height: 20px; }
.sg-poz { color: var(--astro-text-slab); font-size: .9rem; }
.astro-sg p > b { font-weight: 700 !important; }
.astro-retro-nota a, .astro-uv-retro { color: inherit; }
.astro-retro-nota .astro-retro-link { color: var(--astro-accent); font-weight: 600; text-decoration: none; white-space: nowrap; } /* ca linkurile rosii cu sageata de pe prima pagina */
.astro-retro-nota .astro-retro-link:hover { text-decoration: underline; }

/* Geomantie: figurile desenate cu CSS (4 randuri de 1 sau 2 puncte); harta = grila de 8 coloane */
.astro-geo-form, .astro-geo-nou { text-align: center; margin: 1.5rem 0; }
.astro-geo-fig { display: inline-flex; flex-direction: column; gap: 6px; padding: 4px; }
.astro-geo-fig .r { display: flex; justify-content: center; gap: 10px; height: 10px; }
.astro-geo-fig i { display: block; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.astro-geo-harta { display: grid; grid-template-columns: repeat(8, 1fr); max-width: 420px; margin: 1.5rem auto; text-align: center; }
.astro-geo-cel { display: flex; justify-content: center; padding: 8px 0; color: inherit; text-decoration: none; }
.astro-geo-cel:hover { background: var(--astro-fundal-hover); }
.astro-geo-cel.c1 { grid-column: span 1; }
.astro-geo-cel.c2 { grid-column: span 2; }
.astro-geo-cel.c4 { grid-column: span 4; }
.astro-geo-cel.c8 { grid-column: span 8; }
.astro-geo h4 { margin: 1.6rem 0 .3rem; }
.astro-geo-fisa { margin-top: .4rem; }
.astro-geo-pl { vertical-align: -4px; }
.astro-geo-sn { font-size: 1.1rem; }
.astro-geo-reconc { margin: .5rem 0 1rem; }
.astro-geo-reconc summary { list-style: none; width: fit-content; }
.astro-geo-reconc summary::-webkit-details-marker { display: none; }

.astro-geo-sus { color: inherit; text-decoration: none; display: inline-block; }
.astro-geo-fisa strong { font-weight: 700; }
.astro-astrogeo-desen { max-width: 560px; margin: 1.5rem auto; }
.astro-astrogeo-svg { display: block; width: 100%; height: auto; color: inherit; }

/* Chiromantie: chestionar pas cu pas (assets/astro-chiromantie.js) */
.astro-chiro-progres { margin: 0 0 .4rem; font-size: .95rem; }
.astro-chiro-bara { height: 6px; background: var(--astro-fundal-hover); border-radius: 3px; overflow: hidden; margin-bottom: 1rem; }
.astro-chiro-bara span { display: block; height: 100%; background: var(--astro-sus); }
.astro-chiro-expl { font-style: italic; }
.astro-chiro-grila { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; margin: 1.2rem 0; }
.astro-chiro-opt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: .7rem; border: 1px solid var(--astro-fundal-hover); border-radius: 6px; cursor: pointer; }
.astro-chiro-opt:hover { background: var(--astro-fundal-hover); }
.astro-chiro-opt.ales { border-color: var(--astro-sus); box-shadow: 0 0 0 2px var(--astro-sus); }
.astro-chiro-opt img { max-width: 100%; max-height: 150px; width: auto; height: auto; }
.astro-chiro-nume { font-weight: 700; }
.astro-chiro-desc { font-size: .9rem; }
.astro-chiro-mesaj { color: var(--astro-retro); min-height: 1.4em; text-align: center; margin: 0; }
.astro-chiro-butoane { display: flex; justify-content: center; gap: .8rem; margin: 1rem 0 1.5rem; }
.astro-chiro-buton.alt { background: transparent; color: var(--astro-sus); }
.astro-chiro-buton.alt:hover { background: var(--astro-fundal-hover); }
.astro-chiro-opt { position: relative; }
.astro-chiro-opt input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.astro-chiro-opt:focus-within { outline: 2px solid var(--astro-sus); outline-offset: 2px; }
.astro-chiro-opt.ales { border-color: var(--astro-sus); box-shadow: 0 0 0 3px var(--astro-sus); }
.astro-chiro-opt:focus-within { outline: none; }

/* Cartea Destinului: intrebarile pe teme (taburi), un clic pune intrebarea */
.astro-cd-taburi { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; }
.astro-cd-taburi button { padding: .45rem 1rem; border: 1px solid var(--astro-sus); border-radius: 999px; background: transparent; color: var(--astro-sus); font-size: .95rem; font-weight: 600; cursor: pointer; }
.astro-cd-taburi button:hover { background: var(--astro-fundal-hover); }
.astro-cd-taburi button.activ { background: var(--astro-sus); color: #fff; }
.astro-cd-lista { display: grid; gap: .6rem; }
.astro-cd-intrebare { text-align: left; padding: .8rem 1rem; border: 1px solid var(--astro-fundal-hover); border-left: 4px solid var(--astro-sus); border-radius: 4px; background: #fff; color: inherit; font-size: 1.05rem; cursor: pointer; }
.astro-cd-intrebare:hover, .astro-cd-intrebare:focus-visible { background: var(--astro-fundal-hover); border-color: var(--astro-sus); }
.astro-cd-raspuns { margin: 1.5rem 0; padding: .6rem 1.2rem; border-left: 4px solid var(--astro-sus); background: var(--astro-fundal-hover); font-size: 1.15rem; }
.astro-cd-nou { text-align: center; margin: 1.5rem 0; }

/* Oracol tibetan: legenda celor 4 fete ale zarului si cele 3 zaruri aruncate */
.astro-tib-fete { margin: 0 0 1.5rem; border-collapse: collapse; }
.astro-tib-fete td { padding: .35rem .6rem .35rem 0; vertical-align: middle; border: 0; }
.astro-tib-zaruri { display: flex; justify-content: center; gap: .8rem; margin: 1.2rem 0 2rem; }
.astro-tib-zaruri img { width: 56px; height: 56px; }

/* Numerologie */
.astro-numerologie h3 { margin-top: calc(2rem + 8px); margin-bottom: .1rem; }
.astro-num-sursa { font-size: .85rem; font-weight: 400; opacity: .75; }
.astro-num-planeta { margin: calc(.25rem + 4px) 0 .2rem; }
.astro-numerologie .astro-interpretari { margin-top: calc(.3rem + 4px); }
.astro-numerologie .astro-interpretari p { margin: 0; } /* fara linie goala intre paragrafe (ton unitar cu textele cu <br>) */
.astro-num-planeta svg { width: 34px; height: 34px; }
.astro-numerologie .astro-interpretari.astro-num-fara { margin-top: .8rem; } /* fara simbol: textul aproape de titlu, ca sub un simbol */
.astro-num-nota { margin: 0 0 1rem; padding: .5rem .9rem; border-left: 4px solid var(--astro-sus); background: var(--astro-fundal-hover); font-size: 1.1rem; font-weight: 600; }

/* Matricea vietii (desen SVG, culorile din --astro-mx-*) */
.astro-matrice h3 { margin-top: 2.4rem; margin-bottom: calc(.2rem + 10px); }
.astro-mx { display: block; width: 100%; max-width: 555px; height: auto; margin: 0 0 1rem; }
.mx-b0, .mx-n0 { fill: var(--astro-mx-0); background: var(--astro-mx-0); }
.mx-b1 { fill: var(--astro-mx-1); background: var(--astro-mx-1); }
.mx-b2, .mx-ng { fill: var(--astro-mx-2); background: var(--astro-mx-2); }
.mx-b3, .mx-nv { fill: var(--astro-mx-3); background: var(--astro-mx-3); }
.mx-b4 { fill: var(--astro-mx-4); background: var(--astro-mx-4); }
.mx-b5 { fill: var(--astro-mx-5); background: var(--astro-mx-5); }
.mx-b6, .mx-nr { fill: var(--astro-mx-6); background: var(--astro-mx-6); }
.astro-mx text { fill: #fff; font-family: inherit; }
.astro-mx .mx-n { font-size: 18px; font-weight: 700; }
.astro-mx .mx-v { font-size: 64px; font-weight: 700; }
.astro-mx .mx-d { font-size: 11px; letter-spacing: .04em; opacity: .85; }
.astro-mx .mx-t { font-size: 26px; font-weight: 700; fill: var(--astro-text, #222); }
.astro-mx .mx-lin { stroke-width: 5; stroke-linecap: round; fill: none; }
.astro-mx .mx-lin-da { stroke: #fff; opacity: .65; }
.astro-mx .mx-lin-nu { stroke: #000; opacity: .5; stroke-dasharray: 2 9; }
.astro-mx-scara { list-style: none; margin: 0 0 1rem; padding: 0; }
.astro-mx-scara li { margin: .15rem 0; }
.astro-mx-legenda i { display: inline-block; width: 1.1rem; height: 1.1rem; border-radius: 3px; flex: none; }
.astro-matrice .astro-interpretari { margin-top: .5rem; }
.astro-matrice .astro-interpretari p { margin: 0 0 .65rem; } /* considerații generale ca în vechi: rânduri apropiate, un gol între grupe */
.astro-matrice .astro-interpretari p.astro-mx-grup { margin: 2rem 0 .65rem; }
.astro-matrice .astro-interpretari p.astro-mx-grup:first-child { margin-top: 0; }
.astro-matrice .astro-mx-sep { border: 0; border-top: 1px solid #c8c8c8; margin: .9rem 0; }
.astro-matrice .astro-interpretari .astro-mx-linie { margin-bottom: 1.8rem; } /* spațiu mai mare între o linie / cifră și următoarea */
.astro-matrice .astro-interpretari .astro-mx-linie p { margin: 0; } /* paragrafele unui bloc: fără spațiu propriu (spațiul îl dă linia gri și marginea blocului) */
.astro-mx-legenda { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin: 0 0 1rem; padding: 0; font-size: .92rem; }
.astro-mx-legenda li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.astro-mx-legenda-t, .astro-mx-legenda-t b { margin: 0 0 .35rem; font-weight: 700 !important; } /* tema reseteaza <b> in afara .astro-interpretari */
.astro-matrice .astro-mx { margin-bottom: .2rem; }

/* Alegerea numelui */
.astro-nb-simboluri { display: flex; gap: .6rem; margin: .3rem 0 1rem; }
.astro-nb-simboluri svg { width: 34px; height: 34px; }
.astro-nb-verde { color: var(--astro-ok); }
.astro-nb-galben { color: var(--astro-mx-2); }
.astro-nb-rosu { color: var(--astro-retro); }
.astro-nb-numere { margin: 0 0 .9rem; }
.astro-nb-litere { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.6rem 0 1rem; padding: 0; }
.astro-nb-litere a { display: block; min-width: 2.2rem; padding: .35rem .5rem; text-align: center; border: 1px solid var(--astro-sus); border-radius: 4px; text-decoration: none; }
.astro-nb-litere a.activ { background: var(--astro-sus); color: #fff; font-weight: 700; }
.astro-nb-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 1.2rem; }
.astro-nb-lista td { padding: .3rem .6rem .3rem 0; }
.astro-nb-fam { color: #777; }
.astro-nb-parinti { margin: 0 0 1.2rem; }
.astro-nb-av { vertical-align: middle; border-radius: 50%; margin-right: .35rem; }
.astro-nb-parinti b { font-weight: 700 !important; }
.astro-nb-numere b, .astro-nb-numere span { font-weight: 700 !important; }
/* Alegerea numelui: campurile ca in formularul astro (aceeasi inaltime, chenar si rotunjire) */
.astro-nb-form { padding: .7rem .8rem; border: 1px solid var(--astro-form-bordura); border-radius: 6px; background: var(--astro-form-fundal); max-width: 52rem; }
.astro-nb-form input[type="text"], .astro-nb-form select { box-sizing: border-box; height: 2.4rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; margin: 0; }
.astro-nb-form input[type="text"] { flex: 1 1 14rem; max-width: 22rem; }
.astro-nb-form .astro-sab-buton { height: 2.4rem; padding: 0 1.2rem; display: inline-flex; align-items: center; margin: 0; }
.astro-nb-litere a.gol { background: var(--astro-retro); border-color: var(--astro-retro); color: #fff; } /* litera fara niciun nume gasit */
.astro-nb-litere a.gol.activ { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--astro-retro); }
.astro-nb-nimic[hidden] { display: none; } /* .astro-harta-nota are display:block si ar anula atributul hidden */
.astro-nb-lista th:last-child, .astro-nb-lista td:last-child { text-align: right; padding-right: 1rem; white-space: nowrap; }
.astro-nb-lista th { font-weight: 700; }
.astro-nb-nimic { font-size: 1rem; opacity: 1; margin: 1rem 0; } /* mesaj la fel de mare ca textul normal */
.astro-nb .astro-nb-nimic { font-size: 1.125rem; font-weight: 700; opacity: 1; margin: 1.2rem 0; }
.astro-nb-lista td b { font-weight: 700 !important; } /* prenumele bebelusului: tema reseteaza <b> in afara .astro-interpretari */
.astro-nb-sort { display: flex; flex: 0 0 100%; flex-wrap: wrap; align-items: center; gap: .3rem; margin: .2rem 0 0; } /* rând nou, sub numele de familie și băieți / fete */
.astro-nb-sort-t { margin-right: .2rem; }
.astro-nb-sort button { height: 2.4rem; padding: 0 .8rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; font-size: .95rem; cursor: pointer; }
.astro-nb-sort button.activ { background: var(--astro-sus); border-color: var(--astro-sus); color: #fff; font-weight: 700; }
.astro-nb-lista th { font-size: 1.125rem; }
.astro-nb-rand { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; flex: 0 0 100%; }
.astro-nb-form select.astro-nb-filtru, .astro-nb-form select.astro-nb-sortare, .astro-nb-form select.astro-nb-sex { width: auto; }
.astro-nb .astro-nb-form { margin-bottom: 2.2rem; } /* spațiu între setări și paginarea de deasupra tabelului */
.astro-nb-nota { margin: 0 0 1rem; padding: .6rem .9rem; border-left: 4px solid var(--astro-mx-2); background: #fff7ef; }

/* Perioada fertila */
.astro-fe-sex { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.astro-fe-sex svg { width: 22px; height: 22px; }
.astro-fe-baiat { color: var(--astro-aspect-bun); }
.astro-fe-fata { color: var(--astro-retro); }
.astro-fe-calc { margin-top: 2rem; }
.astro-fe-card { margin: 0 0 1.2rem; padding: 1rem 1.2rem .2rem; background: var(--astro-form-fundal); border: 1px solid var(--astro-form-bordura); border-radius: 6px; max-width: 52rem; } /* ca formularele: fundal albastru deschis, de la prima intrebare la butonul Calculeaza */
.astro-fe-camp { margin: 0 0 1rem; }
.astro-fe-camp input { box-sizing: border-box; height: 2.4rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; }
.astro-fe-camp input[type="number"] { width: 6rem; }
.astro-fe-rez[hidden] { display: none; }
.astro-fe-rez p b { font-weight: 700 !important; }
.astro-fe-camp label { display: block; margin: 0 0 .4rem; font-weight: 400; color: inherit; } /* întrebările: scris normal, în culoarea textului */
.astro-fe-data { display: flex; flex-wrap: wrap; gap: .5rem; }
.astro-fe-camp select { box-sizing: border-box; height: 2.4rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; }

.astro-fe-cal { max-width: 20rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 6px; padding: .5rem .6rem; }
.astro-fe-zi { border: 0; border-radius: 50%; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.astro-fe-zi.activ { background: var(--astro-sus); color: #fff; font-weight: 700; }
.astro-fe-zi { display: block; width: 100%; height: 2rem; }
.astro-fe-zi:hover { background: var(--astro-linie); }
.astro-fe-zi.activ:hover { background: var(--astro-sus); }
.astro-fe-zi.azi { box-shadow: inset 0 0 0 2px var(--astro-cal-azi); }
.astro-fe-ales { margin: .5rem 0 0; }
.astro-fe-ales span { font-weight: 700; }

/* ecran lat: 3 carduri pe rand; randul incomplet (1 sau 2 carduri) ramane centrat sub celelalte */
@media (min-width: 900px) {
	.astro-carduri { grid-template-columns: repeat(6, 1fr); }
	.astro-carduri > .astro-card { grid-column: span 2; }
	.astro-carduri > .astro-card:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
	.astro-carduri > .astro-card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
	.astro-carduri > .astro-card:last-child:nth-child(3n+2) { grid-column: 4 / span 2; }
}

/* Bioritm */
.astro-bio-grafic { display: block; width: 100%; height: auto; margin: .6rem 0 .8rem; } /* pe toata latimea coloanei */
.astro-bio-grafic .bio-fond { fill: #fff; stroke: var(--astro-text-slab); }
.astro-bio-grafic .bio-ax { stroke: var(--astro-text-slab); stroke-width: 1; }
.astro-bio-grafic .bio-cruce { stroke: #ccc; stroke-width: 1; }
.astro-bio-grafic .bio-zi { font-size: 12px; fill: var(--astro-text-slab); }
.astro-bio-grafic .bio-azi { font-weight: 700; fill: #000; }
.astro-bio-grafic polyline { stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.astro-bio-grafic .bio-c1 { stroke: var(--astro-bio-1); } .astro-bio-grafic .bio-c2 { stroke: var(--astro-bio-2); }
.astro-bio-grafic .bio-c3 { stroke: var(--astro-bio-3); } .astro-bio-grafic .bio-c4 { stroke: var(--astro-bio-4); }
.astro-bio-grafic .bio-leg { font-size: 14px; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; } /* contur alb: se citesc si peste linii */
.bio-t1 { fill: var(--astro-bio-1); color: var(--astro-bio-1); } .bio-t2 { fill: var(--astro-bio-2); color: var(--astro-bio-2); }
.bio-t3 { fill: var(--astro-bio-3); color: var(--astro-bio-3); } .bio-t4 { fill: var(--astro-bio-4); color: var(--astro-bio-4); }
.astro-bio-tabel { max-width: 100%; }
.astro-bio-tabel b { font-weight: 700 !important; }
.astro-bio-pr { text-align: right; white-space: nowrap; }
.astro-bio-sg { width: 2rem; text-align: center; }
.astro-bio-sg.jos { color: var(--astro-retro); } .astro-bio-sg.sus { color: var(--astro-ok); }
.astro-bio-interp .astro-bio-critic { color: var(--astro-retro); text-align: center; margin-top: 1rem; }
.astro-bioritm .astro-antet b { font-weight: 700 !important; }
.astro-bioritm .astro-bio-tabel { margin-bottom: 1.5rem; }
.astro-bioritm .astro-interpretari.astro-bio-interp { margin-top: 0; } /* interpretarea lipita de tabelul cu procente */
.astro-bioritm .astro-bio-interp .astro-bio-alerta { margin: .3rem 0 .9rem; padding: .7rem 1rem .2rem; background: var(--astro-rosu-nota); border-left: 4px solid var(--astro-sus); border-radius: 0 6px 6px 0; }
.astro-bioritm .astro-bio-interp .astro-bio-alerta p { margin: 0 0 .6rem; }
.astro-bioritm .astro-bio-interp .astro-bio-alerta .astro-bio-critic { margin: 0 0 .4rem; text-align: left; color: var(--astro-retro); }
.astro-bioritm h3 { margin-top: 3rem; } /* spațiu mai mare între grupele de bioritmuri */
.astro-bioritm .astro-bio-grup p { margin-bottom: 1rem; }
.astro-bio-stare { font-size: .9rem; opacity: .75; }

/* Bioritm: liniile ciclurilor in locul tabelelor */
.astro-bio-ciclu { margin: 1.1rem 0 .3rem; font-size: 1.1rem; }
.astro-bio-ciclu b { font-weight: 700 !important; }
.astro-bio-ciclu .astro-bio-pr { font-weight: 700; margin-left: .4rem; }
.astro-bio-ciclu .astro-bio-sg { margin-left: .2rem; }
.astro-bio-ciclu .astro-bio-stare { margin-left: .5rem; font-size: .95rem; opacity: .75; }
.astro-bioritm .astro-bio-interp p { margin: 0 0 .6rem; }
.astro-bioritm .astro-bio-interp p.astro-bio-ciclu { margin: 1.1rem 0 .3rem; }
.astro-bioritm .astro-bio-interp .astro-bio-zilnic { margin: 1.6rem 0 .5rem; padding: .8rem 1rem .3rem; background: var(--astro-galben-nota); border-left: 4px solid var(--astro-sus); border-radius: 0 6px 6px 0; }
.astro-bioritm .astro-bio-interp .astro-bio-zilnic p { margin: 0 0 .6rem; }
.astro-bioritm .astro-bio-interp .astro-bio-zilnic-t b { font-weight: 700 !important; color: var(--astro-sus); }

/* Puncte arabice (panoul Setari) */
.as-pa { margin: .8rem 0 0; }
.as-pa-bara { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .5rem; }
.as-pa-cauta { box-sizing: border-box; height: 2.2rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; flex: 1 1 14rem; max-width: 22rem; }
.as-pa-bara button { height: 2.2rem; padding: 0 .8rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; font-size: .95rem; }
.as-pa-nr { font-size: .9rem; opacity: .75; }
.as-pa-lista { max-height: 14rem; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .1rem .8rem; padding: .3rem; background: #fff; border: 1px solid var(--astro-form-linie); border-radius: 4px; }
.as-pa-r { display: block; margin: 0; }
.as-pa-r[hidden] { display: none; }
.as-pa-r small { opacity: .65; }
.astro-harta-svg .h-arab .h-gl { stroke: var(--astro-aspect-conj); }

/* Setari: rubrici pliabile (corpuri, asteroizi, puncte arabice), bifele pe 2 coloane */
.astro-setari .as-rubrica { border: 1px solid #d5dbe3; border-radius: 4px; margin: 0 0 .6rem; padding: 0 .8rem; }
.astro-setari .as-rubrica > summary { cursor: pointer; font-weight: 600; padding: .5rem 0; }
.astro-setari .as-rubrica[open] > summary { margin-bottom: .2rem; }
.astro-setari .as-rub-corp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1.5rem; padding-bottom: .4rem; }
.astro-setari .as-rubrica > .as-nota { display: block; padding-bottom: .5rem; }
.astro-setari .as-rubrica .as-pa-bara { margin-top: .2rem; }

/* Horoscop zilnic: textul interpretarii pe fundal galben, cu bara verticala albastra (ca rezumatul zilei de la Bioritm) */
.astro-horoscop .astro-hz-titlu { margin-top: 2.2rem; }
.astro-horoscop .astro-hz-text { margin: .4rem 0 1rem; padding: .8rem 1rem .3rem; background: var(--astro-galben-nota); border-left: 4px solid var(--astro-sus); border-radius: 0 6px 6px 0; }
.astro-horoscop .astro-hz-text p { margin: 0 0 .6rem; }
.astro-horoscop .astro-hz-lista { list-style: none; margin: 0 0 1rem; padding: 0; }
.astro-horoscop .astro-hz-lista li { margin: 0 0 .3rem; padding: 0; }
.astro-horoscop .astro-hz-orb { font-size: .75em; font-weight: 400; color: var(--astro-gri-slab); white-space: nowrap; }

/* Ore planetare */
.astro-ore-planetare .astro-op-simbol { vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.astro-ore-planetare .astro-op-mic { font-size: .85em; opacity: .75; }
.astro-ore-planetare .astro-op-soare { margin: 0 0 1rem; opacity: .8; }
.astro-ore-planetare .astro-op-titlu { margin: 1.4rem 0 .4rem; }
.astro-ore-planetare .astro-op-text { margin: .4rem 0 1rem; padding: .8rem 1rem; background: var(--astro-galben-nota); border-left: 4px solid var(--astro-sus); border-radius: 0 6px 6px 0; }
.astro-ore-planetare .astro-op-tabel td.astro-op-ora { text-align: right; font-variant-numeric: tabular-nums; }
.astro-ore-planetare .astro-op-tabel td.astro-op-zi .astro-op-c { color: var(--astro-ora-zi); }
.astro-ore-planetare .astro-op-tabel td.astro-op-acum { background: var(--astro-galben-nota); font-weight: 700; }
.astro-ore-planetare .astro-op-gri { font-size: .7em; font-weight: 400; color: var(--astro-gri-slab); white-space: nowrap; }
.astro-ore-planetare .astro-op-dubla { font-size: 1.15rem; margin: .8rem 0 1.2rem; padding: .8rem 1rem; background: var(--astro-verde-nota); border-left: 4px solid var(--astro-ok); border-radius: 0 6px 6px 0; }
.astro-ore-planetare .astro-op-text p { margin: 0; }

/* Astro Symbolon: grila mare cu doua blocuri pe rand (planeta cu cartile ei); blocurile din acelasi rand impart aceleasi randuri (subgrid),
   deci rolul, titlul, poza, semnele si cuvintele cheie sunt aliniate si intre blocuri vecine */
.astro-symbolon .astro-sy-grila { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 0 2.2rem; margin: .4rem 0 1.6rem; }
.astro-symbolon .astro-sy-bloc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: subgrid; grid-row: span 6; column-gap: 1rem; justify-items: center; min-width: 0; padding-bottom: 1.4rem; }
.astro-symbolon .astro-sy-grila-gen .astro-sy-bloc { grid-row: span 5; }
.astro-symbolon .astro-sy-planeta { grid-column: 1 / -1; justify-self: stretch; margin: 0 0 .5rem; padding-bottom: .25rem; border-bottom: 1px solid #d5dbe3; }
.astro-symbolon .astro-sy-rand { display: contents; }
.astro-symbolon .astro-sy-celula { display: grid; grid-template-rows: subgrid; grid-row: span 5; width: 100%; max-width: 200px; min-width: 0; }
.astro-symbolon .astro-sy-rand[style*="--n:1"] > .astro-sy-celula { grid-column: 1 / -1; width: calc(50% - .5rem); }
.astro-symbolon .astro-sy-carte { display: contents; }
.astro-symbolon .astro-sy-eticheta { margin: 0 0 .3rem; font-size: .9em; line-height: 1.35; color: var(--astro-gri-slab); text-align: center; }
.astro-symbolon .astro-sy-semne { color: var(--astro-tinta); }
.astro-symbolon .astro-sy-glifa { vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.astro-symbolon .astro-sy-titlu { font-weight: 700; margin-bottom: .4rem; line-height: 1.3; display: flex; align-items: flex-end; justify-content: center; text-align: center; }
.astro-symbolon .astro-sy-celula img { display: block; width: 100%; height: auto; border-radius: 6px; }
.astro-symbolon .astro-sy-comp { margin: 0; font-size: .8em; line-height: 1.35; color: var(--astro-gri-slab); text-align: center; }
.astro-symbolon .astro-sy-cuvinte { margin: .4rem 0 0; font-size: .85em; line-height: 1.35; text-align: center; }
.astro-symbolon .astro-sy-semn { font-size: 1.2em; }
.astro-symbolon .astro-sy-casa { display: inline-block; min-width: 1.35em; padding: 0 .2em; border: 1px solid currentColor; font-size: .85em; line-height: 1.3; text-align: center; vertical-align: 1px; }

/* Patru Coloane: carduri cu fundal, titlul pe fundal mai inchis, 4 pe rand (2 pe ecrane inguste), fara tabele si fara derulare */
.astro-patru-coloane .astro-pc-grila { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin: .4rem 0 1rem; }
.astro-patru-coloane .astro-pc-grila-mijloc > .astro-pc-card:first-child { grid-column-start: 2; }
.astro-patru-coloane .astro-pc-grila-3 > .astro-pc-card:first-child { grid-column-start: 1; }
.astro-patru-coloane .astro-pc-grila-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.astro-patru-coloane .astro-pc-card { background: var(--astro-pc-fundal); border-radius: 6px; overflow: hidden; text-align: center; }
.astro-patru-coloane .astro-pc-titlu { background: var(--astro-pc-titlu); font-weight: 700; padding: .4rem .3rem; }
.astro-patru-coloane .astro-pc-corp { padding: .7rem .4rem .8rem; }
.astro-patru-coloane .astro-pc-trunchi { display: block; font-size: 1.15em; font-weight: 700; margin-bottom: .4rem; }
.astro-patru-coloane .astro-pc-corp img { display: block; margin: 0 auto .3rem; width: 75px; max-width: 100%; height: auto; }
.astro-patru-coloane .astro-pc-animal { display: block; margin-bottom: .4rem; }
.astro-patru-coloane .astro-pc-ascunse { display: block; font-size: .85em; line-height: 1.4; color: var(--astro-gri-slab); }
@media (max-width: 560px) {
	.astro-patru-coloane .astro-pc-grila { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.astro-patru-coloane .astro-pc-grila-mijloc > .astro-pc-card:first-child { grid-column-start: auto; }
	.astro-patru-coloane .astro-pc-grila-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.astro-patru-coloane h3 { margin-top: 2.4rem; margin-bottom: .8rem; }
.astro-patru-coloane .astro-pc-grila + .astro-pc-grila { margin-top: .8rem; }
.astro-patru-coloane .astro-pc-grila-ki > .astro-pc-card:first-child { grid-column-start: auto; }
.astro-patru-coloane .astro-pc-grila-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Calendar simplu: de la verde (zi favorabila) la rosu (zi defavorabila), scorul zilei = suma aspectelor tranzit - natal */
:root {
	--astro-cs-p8: #4a8c22; --astro-cs-p7: #549d27; --astro-cs-p6: #5dae2b; --astro-cs-p5: #67be2f; --astro-cs-p4: #7bd247; --astro-cs-p3: #9cde74; --astro-cs-p2: #aee48e; --astro-cs-p1: #d4f1c3;
	--astro-cs-0: #efefef;
	--astro-cs-m1: #ffb5b6; --astro-cs-m2: #fe8081; --astro-cs-m3: #fe5655; --astro-cs-m4: #fe1e1e; --astro-cs-m5: #f10100; --astro-cs-m6: #dd0101; --astro-cs-m7: #c80000; --astro-cs-m8: #b50100;
}
.astro-cs-luna { text-align: center; margin: 1rem 0; }
.astro-cs-tabel { width: 100%; max-width: 720px; margin: 0 auto 1rem; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.astro-cs-tabel th { font-weight: 600; text-align: center; padding: .3rem 0; color: var(--astro-antet); }
.astro-cs-tabel td { text-align: center; height: 3.4rem; border-radius: 6px; font-weight: 700; font-size: 1.1rem; color: #1f2937; }
.astro-cs-tabel td.astro-cs-gol { background: none; }
.astro-cs-azi { outline: 3px solid var(--astro-antet); outline-offset: -3px; }
.astro-cs-vp8 { background: var(--astro-cs-p8); } .astro-cs-vp7 { background: var(--astro-cs-p7); } .astro-cs-vp6 { background: var(--astro-cs-p6); }
.astro-cs-vp5 { background: var(--astro-cs-p5); } .astro-cs-vp4 { background: var(--astro-cs-p4); } .astro-cs-vp3 { background: var(--astro-cs-p3); }
.astro-cs-vp2 { background: var(--astro-cs-p2); } .astro-cs-vp1 { background: var(--astro-cs-p1); } .astro-cs-v0 { background: var(--astro-cs-0); }
.astro-cs-vm1 { background: var(--astro-cs-m1); } .astro-cs-vm2 { background: var(--astro-cs-m2); } .astro-cs-vm3 { background: var(--astro-cs-m3); }
.astro-cs-vm4 { background: var(--astro-cs-m4); } .astro-cs-vm5 { background: var(--astro-cs-m5); } .astro-cs-vm6 { background: var(--astro-cs-m6); }
.astro-cs-vm7 { background: var(--astro-cs-m7); } .astro-cs-vm8 { background: var(--astro-cs-m8); }
.astro-cs-vp8, .astro-cs-vp7, .astro-cs-vp6, .astro-cs-vm4, .astro-cs-vm5, .astro-cs-vm6, .astro-cs-vm7, .astro-cs-vm8 { color: #fff !important; }
.astro-cs-legenda { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .5rem 0 1rem; font-size: .9rem; }
.astro-cs-bara { width: 220px; max-width: 40%; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--astro-cs-m8), var(--astro-cs-m4), var(--astro-cs-m1), var(--astro-cs-0), var(--astro-cs-p1), var(--astro-cs-p4), var(--astro-cs-p8)); }
.astro-cs-nav { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 1rem 0; }
/* sagetile: ca in calendarul din coloana din dreapta (albastre, la hover se coloreaza fundalul) */
.astro-cs-nav .astro-cs-pas { width: 2.4rem; height: 2.4rem; font-size: 1.8rem; line-height: 1; padding: 0 0 .15rem; border: 0; border-radius: 4px; background: transparent; color: var(--astro-antet); cursor: pointer; }
.astro-cs-nav .astro-cs-pas:hover { background: var(--astro-linie); }
.astro-cs-nav .astro-cs-titlu { min-width: 11rem; text-align: center; font-size: 1.35rem; font-weight: 700; color: var(--astro-sus); }

/* Calendar astrologic: in fiecare zi, aspectele (planeta din tranzit, aspectul, planeta natala) ca simboluri */
.astro-ca-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.astro-ca-tabel { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.astro-ca-tabel th { font-weight: 600; text-align: center; padding: .3rem 0; color: var(--astro-antet); }
.astro-ca-tabel td { vertical-align: top; text-align: center; padding: 0 0 .4rem; border: 0; border-radius: 6px; background: var(--astro-pc-fundal); } /* ca cardurile de la Patru Coloane */
.astro-ca-tabel td.astro-ca-gol { border: 0; background: none; }
.astro-ca-nr { display: block; margin: 0 0 .3rem; padding: .3rem 0; border-radius: 6px 6px 0 0; background: var(--astro-pc-titlu); font-size: 1.05rem; font-weight: 800; color: var(--astro-antet); }
.astro-ca-asp { display: flex; justify-content: center; align-items: center; gap: 1px; padding: 1px 0; }
.astro-ca-asp:hover { background: var(--astro-linie); border-radius: 4px; }
.astro-ca-g { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--astro-tinta); }
.astro-ca-g.astro-ca-asp-bun { color: var(--astro-aspect-bun); }
.astro-ca-g.astro-ca-asp-tens { color: var(--astro-aspect-tens); }
.astro-ca-g.astro-ca-asp-conj { color: var(--astro-aspect-conj); }
.astro-ca-tabel td.astro-cs-azi { outline: 3px solid var(--astro-antet); outline-offset: -3px; }

/* Calendar medical: semnul zilei, organul ales, simbolul Lunii in semn, legenda; planeta natala in rosu ca in vechi */
.astro-ca-g.astro-ca-natal { color: var(--astro-retro); }
.astro-cm-organ { scroll-margin-top: 4.5rem; margin: 2rem 0 1.5rem; padding: 1rem 1.2rem; text-align: center; background: var(--astro-pc-fundal); border-radius: 8px; }
.astro-cm-eticheta { display: inline-flex; align-items: center; gap: .6rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; color: var(--astro-antet); }
.astro-cm-organ select { height: 2.4rem; min-width: 11rem; padding: 0 .7rem; font: inherit; font-size: 1rem; font-weight: 400; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-cm-organ select:hover { background: #e8eef9; border-color: #8aa0c8; }
.astro-cm-organ select:focus-visible { outline: 2px solid var(--astro-sus); outline-offset: 1px; }
.astro-cm-zodie { margin: .6rem 0 0; font-size: .95rem; color: var(--astro-text-gri); }
.astro-cm .astro-ca-asp { gap: 2px; padding: 3px 0; }
.astro-cm-rx { color: var(--astro-retro); font-size: 1.15rem; font-weight: 700; line-height: 18px; }
.astro-cm-sg { font-size: 1.3rem; line-height: 18px; }
.astro-cm .astro-cm-sus { color: var(--astro-dem-bun); stroke-width: 3; }
.astro-cm-legenda ul { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.astro-cm-legenda li { display: flex; align-items: center; gap: .4rem; }

/* Calendar medical: 7 niveluri ale zilei, de la rosu (in nici un caz) la verde (excelent); cardul si banda cu cifra */
:root {
	--astro-cm-1: #cc0a14; --astro-cm-1-b: #8f0710;
	--astro-cm-2: #fb5b52; --astro-cm-2-b: #e63329;
	--astro-cm-3: #ffd6d1; --astro-cm-3-b: #ff9a91;
	--astro-cm-4: #eef0f3; --astro-cm-4-b: #cfd4db;
	--astro-cm-5: #dcf8d5; --astro-cm-5-b: #9fe791;
	--astro-cm-6: #96e985; --astro-cm-6-b: #52d03c;
	--astro-cm-7: #2fa81d; --astro-cm-7-b: #0e6a07;
}
.astro-ca-tabel td.astro-cm-n1 { background: var(--astro-cm-1); }
.astro-cm-n1 .astro-ca-nr { background: var(--astro-cm-1-b); color: #fff; }
.astro-ca-tabel td.astro-cm-n2 { background: var(--astro-cm-2); }
.astro-cm-n2 .astro-ca-nr { background: var(--astro-cm-2-b); color: #fff; }
.astro-ca-tabel td.astro-cm-n3 { background: var(--astro-cm-3); }
.astro-cm-n3 .astro-ca-nr { background: var(--astro-cm-3-b); }
.astro-ca-tabel td.astro-cm-n4 { background: var(--astro-cm-4); }
.astro-cm-n4 .astro-ca-nr { background: var(--astro-cm-4-b); }
.astro-ca-tabel td.astro-cm-n5 { background: var(--astro-cm-5); }
.astro-cm-n5 .astro-ca-nr { background: var(--astro-cm-5-b); }
.astro-ca-tabel td.astro-cm-n6 { background: var(--astro-cm-6); }
.astro-cm-n6 .astro-ca-nr { background: var(--astro-cm-6-b); }
.astro-ca-tabel td.astro-cm-n7 { background: var(--astro-cm-7); }
.astro-cm-n7 .astro-ca-nr { background: var(--astro-cm-7-b); color: #fff; }
.astro-cm-cul { display: inline-block; width: 1.3rem; height: 1.3rem; border-radius: 4px; vertical-align: middle; }
.astro-cm-cul.astro-cm-n1 { background: var(--astro-cm-1-b); }
.astro-cm-cul.astro-cm-n2 { background: var(--astro-cm-2-b); }
.astro-cm-cul.astro-cm-n3 { background: var(--astro-cm-3-b); }
.astro-cm-cul.astro-cm-n4 { background: var(--astro-cm-4-b); }
.astro-cm-cul.astro-cm-n5 { background: var(--astro-cm-5-b); }
.astro-cm-cul.astro-cm-n6 { background: var(--astro-cm-6-b); }
.astro-cm-cul.astro-cm-n7 { background: var(--astro-cm-7-b); }

/* Calendar medical: tabelul cu cele mai favorabile zile din an */
.astro-cm-top-titlu { margin: 2rem 0 .6rem; }
.astro-cm-top { width: 100%; border-collapse: collapse; }
.astro-cm-top th { text-align: left; padding: .45rem .6rem; background: var(--astro-pc-titlu); color: var(--astro-antet); }
.astro-cm-top td { padding: .35rem .6rem; border-bottom: 1px solid var(--astro-linie); vertical-align: middle; }
.astro-cm-top td .astro-ca-asp { display: inline-flex; margin-right: .5rem; }
.astro-cm-sari { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--astro-antet); cursor: pointer; text-decoration: underline; }
.astro-cm-sari:hover { color: var(--astro-accent); }
.astro-cm-top tr.astro-cm-top-luna th { background: var(--astro-pc-fundal); padding: .5rem .6rem; }
/* Calendar medical: fiecare aspect pe un fundal alb translucid, ca simbolurile sa se citeasca pe orice culoare de card */
.astro-cm .astro-ca-tabel .astro-ca-asp { background: rgba(255, 255, 255, .78); border-radius: 6px; margin: 3px 5px; padding: 2px 4px; }
.astro-cm .astro-ca-tabel .astro-ca-asp:hover { background: #fff; }
.astro-cm-top tr.astro-cm-top-luna th { border-top: 1.8rem solid #fff; padding: .55rem .6rem; font-size: 1.1rem; }
.astro-cm-top tbody tr.astro-cm-top-luna:first-child th { border-top: 0; }

/* LEGENDA COMUNA (astro_legenda() din astro-desen.php): acelasi aspect la toate paginile; jurnalul (JS) are acelasi stil */
.astro-legenda, .astro-jcal-legenda { margin: 1.2rem 0; padding: .8rem 1rem; background: var(--astro-panou); border: 1px solid var(--astro-linie); border-radius: 8px; }
.astro-legenda-t { margin: 0 0 .5rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .95rem; font-weight: 700; color: var(--astro-antet); }
.astro-legenda-lista { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 0; font-size: .95rem; }
.astro-legenda-lista li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.astro-leg-cul { display: inline-block; flex: none; box-sizing: border-box; width: 1.2rem; height: 1.2rem; border: 1px solid rgba(0, 0, 0, .3); border-radius: 4px; }
.astro-jcal-legenda { gap: .4rem 1.4rem; font-size: .95rem; color: inherit; }
.astro-legenda .astro-cs-bara { margin: 0; }

/* Bibliomantie: versetele apar pe rand, cu fade si o mica deplasare de sus in jos */

/* Oracolele (Sabian, Kozminsky, I Ching, Cartea Destinului, 3 zaruri, tibetan): textul apare pe loc, fara animatie. Doar Bibliomantia pastreaza animatia de mai sus. */
.astro-sab-img img { aspect-ratio: 4 / 3; }
@keyframes astro-sab-dupa { from { opacity: 0; } to { opacity: 1; } }

/* I Ching: semnificatiile (casetele) apar pe rand, cu fade si deplasare de sus in jos; hexagramele si ce urmeaza dupa ultima caseta apar pe loc
   (butonul dupa ce s-a terminat animatia ultimei casete) */
.astro-ich-col b { font-weight: 700 !important; } /* tema reseteaza <b> in afara .astro-interpretari: numele hexagramei (Fu, Ta Yu) in bold */

/* Cartea Destinului: textul raspunsului apare cu fade si deplasare de sus in jos (ca la Bibliomantie), iar butonul dupa ce s-a terminat animatia */
.astro-tib-start .astro-tib-fete { text-align: left; margin-left: 0; margin-right: auto; }
/* separatorul dintre grupurile de butoane (ex. oracole: Bi Os Ok Ic Cd | Oz Ot) */
.astro-nav-sep { flex: none; align-self: stretch; width: 1px; margin: .3rem .5rem; background: var(--astro-camp-bordura); }
/* Butoanele oracolelor ("Intreaba", "Pune alta intrebare"): acelasi font si aldin peste tot */
.astro-sab-buton, .astro-bibl-buton, .astro-ich-buton, .astro-cd-buton, .astro-geo-buton { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 700; }

/* Geomantie: Reconciliatorul se deschide si se inchide lent (inaltimea creste / scade treptat), fara fade */
.astro-geo-reconc { interpolate-size: allow-keywords; }
.astro-geo-reconc::details-content { block-size: 0; overflow: hidden; transition: block-size 1s ease, content-visibility 1s allow-discrete; }
.astro-geo-reconc[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .astro-geo-reconc::details-content { transition: none; } }

/* ANTET LIPIT SUS: ramane vizibil la derulare (cu meniul, cautarea si utilizatorul) si se micsoreaza ca sa ocupe putin loc.
   Clasa astro-antet-mic o pune assets/astro-meniu.js dupa ce ai derulat putin. */
.wp-site-blocks > header { position: static; }
:target, h2[id], h3[id], h4[id] { scroll-margin-top: 6rem; } /* ancorele nu raman sub antetul lipit (nu cu scroll-padding pe html: el muta pagina la fiecare litera scrisa in campul din antet) */
.astro-bara, .astro-logo img, .astro-hamb { transition: padding .2s ease, height .2s ease; }
html.astro-antet-mic .astro-bara { padding-top: .2rem; padding-bottom: .2rem; }
html.astro-antet-mic .astro-logo img { height: 42px; }
html.astro-antet-mic .astro-hamb { padding-top: .3rem; padding-bottom: .3rem; }
@media (prefers-reduced-motion: reduce) { .astro-bara, .astro-logo img, .astro-hamb { transition: none; } }

/* Linkuri rapide in bara de sus (langa butonul Meniu): nume intregi pe ecrane late, 2 litere pe cele inguste, ascunse pe telefon */
.astro-stanga { display: flex; align-items: center; gap: .6rem; justify-self: start; min-width: 0; }
.astro-rapide { display: flex; align-items: center; gap: .1rem; }
.astro-rapid { padding: .4rem .55rem; border-radius: 6px; font-size: .98rem; font-weight: 600; white-space: nowrap; color: inherit; }
.astro-rapid:hover { background: rgba(255, 255, 255, .18); }
.astro-rapid-lung { display: none; }
@media (min-width: 1400px) {
	.astro-bara { max-width: 1320px; }
	.astro-rapid-lung { display: inline; }
	.astro-rapid-scurt { display: none; }
}
@media (max-width: 640px) { .astro-rapide { display: none; } }

/* Rune: imaginile sunt dreptunghiuri cu colturi rotunjite pe fundal deschis; umbra dupa contur (drop-shadow) ar urma dreptunghiul si arata ciudat */
.astro-tarot-rune .astro-tarot-spate, .astro-tarot-rune .astro-tarot-fata { filter: none; }
/* Rune: fara umbra si la interpretari (poza din lista si miniaturi) si in vitrina; desenele au deja colturile rotunjite */
.astro-tarot-rune .astro-tarot-poza img, .astro-tarot-rune .astro-tarot-mini img { box-shadow: none; border-radius: 0; }
.astro-tarot-rune .astro-tarot-poza img { width: 75px; max-width: 100%; height: auto; } /* imaginile de rune au 75 x 110 px: peste atat ies incetosate (la fel in etalare si in pachet) */
.astro-tarot-rune .astro-tarot-deck { width: 77px; height: 113px; }
.astro-tarot-rune .astro-tarot-dc { width: 75px; height: auto; }
.astro-tarot-rune .astro-tarot-vitrina-lista li { box-shadow: none; border-radius: 0; background-color: transparent; width: 75px; } /* 75 px = latimea imaginilor de rune */

/* Zarurile Oracolului cu 3 zaruri, desenate din cod (plat, fara 3D) */
.astro-zar { display: inline-block; vertical-align: middle; margin: 0 .35rem; }
.astro-zar rect { fill: #fff; stroke: var(--astro-antet); stroke-width: 2.5; }
.astro-zar circle { fill: var(--astro-antet); }
.astro-zar-tib text { fill: var(--astro-antet); stroke: none; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 24px; font-weight: 700; }

/* Rezultatele cautarii: o lista simpla, ca la Google (titlul ca link si cateva randuri de descriere) */
.astro-cautare .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.astro-cautare .wp-block-post-template > li { margin: 0 0 1.6rem; padding: 0 0 1.4rem; border-bottom: 1px solid var(--astro-linie); }
.astro-cautare .wp-block-post-title { margin: 0 0 .3rem; font-size: 1.3rem; }
.astro-cautare .wp-block-post-title a { color: var(--astro-antet); text-decoration: none; }
.astro-cautare .wp-block-post-title a:hover { color: var(--astro-accent); text-decoration: underline; }
.astro-cautare .wp-block-post-excerpt { margin: 0; color: var(--astro-text-gri); }
/* Cautare: mai mult loc deasupra primului rezultat; paginarea in stilul numerelor de pagina din site (butoane cu chenar, pagina curenta in albastru) */
.astro-cautare { margin-top: 2.2rem; }

/* PAGINAREA COMUNA: butoane cu chenar albastru, pagina curenta plina, sageti ◀ ▶ (Personalitati, Articole, Alegerea numelui, cautare) */
.astro-pag, .astro-nb-pager, .astro-cautare .wp-block-query-pagination, .astro-cautare .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: .8rem 0 1.2rem; }
.astro-cautare .wp-block-query-pagination-numbers { margin: 0; }
.astro-pag-b, .astro-nb-pager button, .astro-cautare .page-numbers, .astro-cautare .wp-block-query-pagination-previous, .astro-cautare .wp-block-query-pagination-next {
	display: inline-flex; align-items: center; justify-content: center; min-width: 2.2rem; height: 2.2rem; margin: 0; padding: 0 .5rem;
	background: #fff; border: 1px solid var(--astro-sus); border-radius: 4px; color: var(--astro-sus); font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1; text-decoration: none; cursor: pointer;
}
a.astro-pag-b:hover, .astro-nb-pager button:hover:not(:disabled):not(.activ), .astro-cautare a.page-numbers:hover, .astro-cautare .wp-block-query-pagination-previous:hover, .astro-cautare .wp-block-query-pagination-next:hover { background: #e8eef9; }
.astro-pag-b.activ, .astro-nb-pager button.activ, .astro-cautare .page-numbers.current { background: var(--astro-sus); color: #fff; font-weight: 700; cursor: default; }
.astro-pag-b.dez, .astro-nb-pager button:disabled { opacity: .4; cursor: default; }
.astro-pag-puncte, .astro-nb-pager span, .astro-cautare .page-numbers.dots { padding: 0 .2rem; border: 0; background: none; min-width: 0; }
/* Paginarea: aceleasi dimensiuni si acelasi font (sans-serif, ca la butoanele din Alegerea numelui) peste tot, chiar daca tema sau WordPress pun propriile reguli */
.astro-pag-b, .astro-nb-pager button, .astro-cautare .wp-block-query-pagination .page-numbers, .astro-cautare .wp-block-query-pagination-previous, .astro-cautare .wp-block-query-pagination-next {
	font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif !important; font-size: 1rem !important; line-height: 1 !important;
	min-width: 2.2rem !important; height: 2.2rem !important; padding: 0 .5rem !important; margin: 0 !important; box-sizing: border-box;
}
.astro-cautare .wp-block-query-pagination .page-numbers.dots, .astro-pag-puncte { min-width: 0 !important; padding: 0 .2rem !important; }
/* Rezultatele cautarii: exact aceeasi asezare ca la pagina Articole (spatiul dintre titlu si rezumat, intre randuri), chiar daca tema pune alte margini */
.astro-cautare-articole .aar-text > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.astro-cautare-articole .aar-text > .aar-rezumat { margin-top: .4rem !important; }
.astro-cautare-articole .aar-lista { margin: 2.4rem 0 1rem !important; padding: 0 !important; } /* spatiu mai mare intre titlu si primul rezultat */
.astro-cautare-articole .aar { margin: 0 !important; }
.astro-cautare-articole .aar-poza, .astro-cautare-articole .aar-img { width: 200px; }
.astro-cautare-articole .aar-img { height: 112px; }

/* Calendar medical: avertismentul de la sfarsit, bine vizibil */
.astro-cm-avertisment { margin: 2rem 0 1.5rem; padding: 1rem 1.2rem; background: var(--astro-rosu-nota); border-left: 5px solid var(--astro-retro); border-radius: 6px; font-size: 1.05rem; line-height: 1.55; color: #3b1a16; }
.astro-cm-avertisment b { font-weight: 800 !important; }

/* Calendar biologic: numarul zilelor traite in zi si litera ciclului la zilele critice (F fizic, E emotional, I intelectual, V intuitiv) */

.astro-cb .astro-cs-tabel td { height: 4rem; }
.astro-cb .astro-cs-tabel td small { display: block; font-size: .7rem; font-weight: 400; opacity: .8; line-height: 1.1; }
.astro-cb-marci { display: flex; justify-content: center; gap: 2px; margin-top: 2px; }
.astro-cb-c { outline: 1.5px solid #fff; display: inline-block; min-width: 1.15rem; padding: 0 .2rem; border-radius: 3px; font-style: normal; font-size: .7rem; font-weight: 800; line-height: 1.25; text-align: center; color: #fff; }
.astro-cb-f { background: var(--astro-bio-1); } .astro-cb-e { background: var(--astro-bio-2); } .astro-cb-i { background: var(--astro-bio-3); } .astro-cb-v { background: var(--astro-bio-4); }
.af-rand[hidden] { display: none; }

/* Noutati: pagina cu ce s-a adaugat pe site si cand */
.astro-noutati .astro-noutati-data { margin: 1.8rem 0 .5rem; font-size: 1.15rem; color: var(--astro-antet); }
.astro-noutati .astro-noutati-lista { list-style: none; margin: 0; padding: 0; }
.astro-noutati .astro-noutati-lista li { margin: 0; padding: .45rem 0; border-bottom: 1px solid var(--astro-linie); }
.astro-noutati-tip { display: inline-block; min-width: 6.5rem; margin-right: .5rem; padding: 0 .5rem; border: 1px solid var(--astro-antet); border-radius: 4px; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .9rem; font-weight: 600 !important; text-align: center; color: var(--astro-antet); }
.astro-actualizare { margin-top: 0; }
/* linkurile din Noutati si data din subsol: albastre, la hover rosii (ca numele din caseta Zile de nastere) */
.astro-noutati a, .astro-actualizare a { color: var(--astro-antet); text-decoration: none; }
.astro-noutati a:hover, .astro-actualizare a:hover { color: var(--astro-accent); text-decoration: underline; }
.astro-actualizare a { font-weight: 700 !important; }
.astro-noutati .astro-noutati-data { font-weight: 700; }

/* Calendar faza Lunii: desenul Lunii, iluminarea si semnul in fiecare zi; numarul zilei colorat la Luna noua / patrar / Luna plina */
.astro-cfl .astro-ca-tabel td { background: #fafcfe; } .astro-cfl .astro-ca-nr { background: #e9eff7; } /* zi obisnuita: mai deschisa decat in celelalte calendare */
:root {
	--astro-luna-noua: #6b21a8;
	--astro-luna-noua-f: #d8c0f1; --astro-luna-noua-t: #bc92e8;      /* ziua cu Luna noua: fundal si banda cu numarul (violet pal) */
	--astro-luna-patrar-f: #ffc4bc; --astro-luna-patrar-t: #ff948a;  /* ziua cu patrar (rosu pal) */
	--astro-luna-plina-f: #b8edc2; --astro-luna-plina-t: #7ddb92;    /* ziua cu Luna plina (verde pal) */
}
.astro-cfl-luna { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .2rem 0 .3rem; }
.astro-cfl-luna img { display: block; width: 50px; height: 50px; } /* marimea reala a desenului */
.astro-cfl-info { order: -1; display: flex; align-items: center; gap: .5rem; } /* deasupra desenului */
.astro-cfl-ilu { font-size: 1.05rem; font-weight: 700 !important; }
.astro-cfl .astro-cs-nav { margin-top: 2.2rem; }
.astro-cfl-semn { font-size: 1.4rem; line-height: 1; }
.astro-cfl-noua .astro-ca-nr { color: var(--astro-luna-noua); }
.astro-cfl-patrar .astro-ca-nr { color: var(--astro-retro); }
.astro-cfl-plina .astro-ca-nr { color: var(--astro-ok); }
.astro-cfl-leg { display: inline-block; min-width: 1.8rem; border-radius: 4px; background: var(--astro-pc-titlu); text-align: center; }
.astro-cfl-leg .astro-ca-nr { display: block; margin: 0; padding: 0 .4rem; border-radius: 4px; background: none; }
.astro-ca-tabel td.astro-cfl-noua { background: var(--astro-luna-noua-f); } .astro-cfl-noua .astro-ca-nr { background: var(--astro-luna-noua-t); }
.astro-ca-tabel td.astro-cfl-patrar { background: var(--astro-luna-patrar-f); } .astro-cfl-patrar .astro-ca-nr { background: var(--astro-luna-patrar-t); }
.astro-ca-tabel td.astro-cfl-plina { background: var(--astro-luna-plina-f); } .astro-cfl-plina .astro-ca-nr { background: var(--astro-luna-plina-t); }
.astro-cfl-el-0 { color: var(--astro-foc); } .astro-cfl-el-1 { color: var(--astro-pamant); } .astro-cfl-el-2 { color: var(--astro-aer); } .astro-cfl-el-3 { color: var(--astro-apa); }
/* Calendar medical: ceasul din stanga sagetilor (luna si anul curent, ora ramane cea aleasa) */
.astro-cs-nav .astro-cs-acum { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--astro-antet); cursor: pointer; }
.astro-cs-nav .astro-cs-acum:hover { background: var(--astro-linie); color: var(--astro-accent); }
.astro-cs-nav .astro-cs-acum svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Algol Minima: tabelul minimelor lunii (data, ora UT, ora Romaniei) */
.astro-algol-tabel { width: 100%; max-width: 640px; margin: 1rem auto; border-collapse: collapse; }
.astro-algol-tabel th, .astro-algol-tabel td { padding: .55rem .8rem; border-bottom: 1px solid var(--astro-linie); text-align: left; }
.astro-algol-tabel th { color: var(--astro-antet); font-weight: 700; }
.astro-algol-tabel .astro-algol-azi td { background: var(--astro-pc-fundal); font-weight: 700; }

/* Luna VOC: tabelul perioadelor lunii (inceput, ultimul aspect, sfarsit, semnul in care intra) */
.astro-voc-alege { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 1.5rem 0 0; }
.astro-voc-tabel { width: 100%; max-width: 760px; margin: 1rem auto; border-collapse: collapse; }
.astro-voc-tabel th, .astro-voc-tabel td { padding: .5rem .7rem; border-bottom: 1px solid var(--astro-linie); text-align: left; vertical-align: middle; }
.astro-voc-tabel th { color: var(--astro-antet); font-weight: 700; }
.astro-voc-tabel small { display: block; font-size: .8rem; color: var(--astro-gri-slab); }
.astro-voc-ora { font-weight: 600; }
.astro-voc-semn { font-size: 1.3rem; vertical-align: middle; }
.astro-voc-tabel .astro-voc-acum td { background: var(--astro-pc-fundal); }
.astro-voc-tabel .astro-ca-asp { justify-content: flex-start; }

/* Durata vietii: notele de avertisment si totalul */
.astro-dv-nota { margin: 1.5rem 0; padding: 1rem 1.2rem; background: var(--astro-rosu-nota); border-left: 5px solid var(--astro-retro); border-radius: 6px; }
.astro-dv-nota p { margin: 0 0 .6rem; }
.astro-dv-nota p:last-child { margin-bottom: 0; }
.astro-dv-scroll { overflow-x: auto; margin-top: 1.5rem; }
.astro-dv-tabel { width: 100%; border-collapse: collapse; }
.astro-dv-tabel thead th { padding: .7rem 1rem; background: var(--astro-antet); color: var(--astro-antet-text); font-size: 1.1rem; text-align: left; }
.astro-dv-tabel tbody th, .astro-dv-tabel tbody td { padding: .6rem 1rem; border: 1px solid var(--astro-linie); text-align: left; vertical-align: top; }
.astro-dv-tabel tbody th { width: 38%; background: var(--astro-pc-fundal); color: var(--astro-antet); font-weight: 700; }
.astro-dv-tabel tr.astro-dv-total th, .astro-dv-tabel tr.astro-dv-total td { background: var(--astro-pc-titlu); font-weight: 700; }
.astro-dv-dupa { margin-top: 1rem; }
/* butonul "Sunt de acord" cu numaratoarea de la 10 la 0 peste el (cat timp e inactiv) */
.astro-fd-ok-cadru { position: relative; display: flex; flex: 1 1 0; min-width: 0; }
.astro-fd-ok-cadru .astro-fd-ok { flex: 1 1 0; min-width: 0; }
.astro-fd-numar { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 900 !important; color: var(--astro-retro); pointer-events: none; }

/* Nota de atentionare in pagina (ex. ora nasterii necunoscuta): fundal galben cu bara verticala rosie (avertisment); interpretarile / textele au bara albastra. Se poate folosi oriunde: <p class="astro-nota-galbena">. */
.astro-nota-galbena { margin: 1.2rem 0; padding: .8rem 1rem; background: var(--astro-galben-nota); border-left: 4px solid var(--astro-retro); border-radius: 0 6px 6px 0; color: #1f2937; }

/* Astro Look: poze, doua harti de ales, raspuns si Top 10 */
.astro-look-harta svg { max-width: 100%; height: auto; }
.astro-look-harta .astro-harta-svg { max-width: 640px; min-width: 0; } /* mai mica decat harta natala, cat ar fi cu stelele fixe */
.astro-look-raspuns { margin: 1rem 0; padding: .8rem 1rem; border-left: 4px solid; border-radius: 0 6px 6px 0; font-size: 1.1rem; }
.astro-look-bun { border-color: var(--astro-ok); background: var(--astro-look-bun); color: var(--astro-ok); }
.astro-look-rau { border-color: var(--astro-retro); background: var(--astro-rosu-nota); color: var(--astro-retro); }
.astro-look-sub { margin-top: 2rem; }
.astro-look-din-nou { text-align: center; margin: 2rem 0; }
.astro-look-top-titlu { margin-top: 2.5rem; text-align: center; }
.astro-look-top { width: 100%; max-width: 520px; margin: 1rem auto; border-collapse: collapse; }
.astro-look-top th, .astro-look-top td { padding: .45rem .7rem; border-bottom: 1px solid var(--astro-linie); text-align: left; }
.astro-look-top th { color: var(--astro-antet); font-weight: 700; }
.astro-look-top .astro-look-c { background: var(--astro-look-c); text-align: center; } .astro-look-top .astro-look-g { background: var(--astro-look-g); text-align: center; }
.astro-look-top .astro-look-p { text-align: center; }
.astro-look-top .astro-look-eu td { font-weight: 700; }
:root { --astro-look-bun: #e6f4ea; --astro-look-c: #ccff99; --astro-look-g: #ffcccc; } /* Astro Look: raspuns corect, coloane C / G din Top 10 */

.astro-look-taburi { margin: 1.5rem 0; }
.astro-look-taburi .al-panou { display: none; }
#al-t1:checked ~ .al-p1, #al-t2:checked ~ .al-p2 { display: block; }
.astro-look-alege { text-align: center; margin: 1rem 0; }
.astro-look-alege .astro-bibl-buton { cursor: pointer; }
.astro-look-tabel { margin: 1rem 0; }
.astro-look-tabel .astro-dv-tabel { max-width: 560px; }
.astro-look-tabel .astro-dv-tabel thead a { color: var(--astro-antet-text); text-decoration: underline; }
.astro-look-lateral .aa-img { object-position: center top; } /* portrete: decuparea 4:3 pastreaza capul */
.astro-look-tabel .astro-dv-tabel thead th { font-size: 1.2rem; font-weight: 800 !important; } /* numele persoanei (sau "Cine este?") aldin, ca sa difere de restul tabelului */
.astro-look-tabel .astro-dv-tabel thead a { font-weight: 800 !important; }
.astro-look-tabel .astro-dv-tabel thead th, .astro-look-tabel .astro-dv-tabel thead a { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 700 !important; } /* sans-serif aldin: se deosebeste clar de textul serif din tabel */

/* Caseta Cauta personalitate */
.astro-cv-form { position: relative; }
.astro-cv-camp { width: 100%; box-sizing: border-box; height: 2.4rem; padding: 0 .7rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; color: #222; background: #fff; border: 1px solid var(--astro-form-bordura); border-radius: 4px; }
.astro-cv-camp:focus-visible { outline: 2px solid var(--astro-sus); outline-offset: 1px; }
.astro-cv-sugestii { top: 2.5rem; } /* aspectul listei (font, margini, hover) vine din .astro-sugestii, ca la cautarea orasului */
.astro-cv-buton { display: inline-flex; align-items: center; height: 2.4rem; margin-top: .6rem; padding: 0 1rem; border: 0; border-radius: 4px; background: var(--astro-verde); color: #fff; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; } /* verde, ca butonul Setari; latime cat textul */
.astro-cv-buton:hover { background: var(--astro-verde-hover); }
.astro-cv-lateral { overflow: visible; } /* lista de sugestii iese din caseta (altfel ar fi taiata dupa 3 randuri) */
.astro-cv-lateral .aj-titlu { border-radius: 9px 9px 0 0; }
.astro-cv-lateral .astro-cv-sugestii { z-index: 50; }

/* Meniul din stanga: caseta Acasa */
.astro-ac-acasa { text-decoration: none; }
.astro-ac-acasa.activ { background: #eef2f8; }
.astro-ac-ico { display: inline-flex; color: #5b6b7d; }
.astro-ac-ico svg { width: 20px; height: 20px; }

/* Bioritm relational */
.astro-biorel-titlu { text-align: center; margin: 1.2rem 0 .2rem; }
.astro-biorel-inimi { text-align: center; font-size: 2rem; line-height: 1; margin: 0 0 1rem; color: var(--astro-retro); letter-spacing: .15em; }
.astro-biorel-inimi .gri { color: #d4d4d4; }
.astro-biorel-plan { font-weight: 700; }
.astro-biorel-tabel td, .astro-biorel-tabel th { white-space: nowrap; }
.astro-biorel-plan-titlu { margin: 1.2rem 0 0; font-size: 1.1rem; }
.astro-biorel-zile { display: grid; grid-template-columns: repeat(auto-fill, minmax(3.2rem, 1fr)); gap: 4px; margin: .8rem 0; }
.astro-biorel-zi { display: flex; flex-direction: column; align-items: center; padding: .3rem 0; border-radius: 4px; line-height: 1.2; }
.astro-biorel-zi .n { font-weight: 700; font-size: 1.05rem; }
.astro-biorel-zi small { font-size: .75rem; opacity: .75; }
.astro-biorel-zi.prima { outline: 2px solid var(--astro-antet); outline-offset: 1px; }
.astro-biorel-a3 { background: var(--astro-cs-p5); } .astro-biorel-a2 { background: var(--astro-cs-p2); }
.astro-biorel-a1 { background: var(--astro-cs-m1); } .astro-biorel-a0 { background: var(--astro-cs-m4); }
.astro-biorel-leg { display: inline-block; width: 1.1rem; height: 1.1rem; border-radius: 3px; vertical-align: middle; }
.bior-b-sus { fill: var(--astro-cs-p4); background: var(--astro-cs-p4); } .bior-b-jos { fill: var(--astro-cs-p1); background: var(--astro-cs-p1); }
.bior-b-opus { fill: var(--astro-cs-m3); background: var(--astro-cs-m3); } .bior-b-c { fill: var(--astro-cs-0); background: var(--astro-cs-0); }
.astro-biorel-lista { padding-left: 1.2rem; }
.astro-biorel-lista li { margin-bottom: .4rem; }
.astro-biorel-data { font-weight: 700; }
.astro-bio-grafic .bio-critic { fill: var(--astro-cs-m3); }
.astro-bio-grafic .bio-punct { stroke: #fff; stroke-width: 1.5; }
/* Prima pagina: nota si caseta lui Gandalf la aceeasi latime ca restul sectiunilor si semnatura */
.astro-acasa .astro-gandalf-acasa, .astro-acasa .astro-gandalf { box-sizing: border-box; max-width: 1180px; margin-left: auto; margin-right: auto; }
.astro-reclama { margin: 1.5rem 0; text-align: center; overflow: hidden; }
.astro-caseta-reclama { padding: 0; }
/* Pagina de sprijin */
.astro-sprijin h2 { margin-top: 2rem; }
.astro-sprijin-plata { margin: .6rem 0 1rem; padding: .9rem 1.2rem; background: var(--astro-pc-fundal); border: 1px solid var(--astro-linie); border-radius: 6px; }
.astro-sprijin-plata p { margin: 0 0 .6rem; }
.astro-sprijin-plata p:last-child { margin-bottom: 0; }
.astro-sprijin-nume { font-weight: 700; }
.astro-sprijin-pasi { padding-left: 1.4rem; }
.astro-sprijin-pasi li { margin-bottom: .4rem; }

/* Cartile voastre: cele doua carti de Tarot ale perechii, una langa alta, cu titlul si numele persoanei dedesubt */
.astro-cv-carti { display: flex; justify-content: center; align-items: flex-start; gap: 1.2rem; margin: 1rem 0; }
.astro-cv-carte { margin: 0; flex: 0 1 auto; min-width: 0; max-width: 200px; text-align: center; font-size: .9rem; }
.astro-cv-carte img { display: block; width: auto; max-width: 100%; height: auto; border-radius: 6px; margin: 0 auto .4rem; }
.astro-cv-carte figcaption { line-height: 1.3; }
.astro-cv-titlu { display: block; font-weight: 700; font-size: 1rem; margin-bottom: .15rem; }
.astro-cv-nume { display: block; font-size: .9em; color: var(--astro-gri-slab); }
.astro-cv-persoana { margin: 0 0 1.6rem; }
.astro-cv-nume-persoana { margin: 1rem 0 .2rem; font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", Arial, sans-serif; text-align: center; }
.astro-cv-nume-persoana .astro-num-sursa { font-weight: 400; }
.astro-cv-sub { margin: 1.2rem 0 .3rem; font-size: 1.05rem; }
.astro-cv-repet { margin: 1.2rem 0 .3rem; font-size: .9em; color: var(--astro-gri-slab); }

/* Puncte si recompense (inc/astro-puncte.php) */
.astro-pct-mare { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--astro-antet); }
.astro-pct-mare span, .astro-pct-eticheta { font-size: .9rem; font-weight: 400; color: var(--astro-text-gri); }
.astro-pct-eticheta { display: block; white-space: nowrap; font-weight: 600; font-size: 1rem; }
.astro-pct-panou { display: grid; grid-template-columns: 1fr; align-items: center; gap: 1rem; margin: 1.2rem 0 .8rem; padding: 1rem 1.2rem; border: 1px solid var(--astro-linie); border-radius: 10px; background: var(--astro-panou); }
.astro-pct-bara { height: 12px; margin: .4rem 0; border-radius: 999px; background: var(--astro-linie); overflow: hidden; }
.astro-pct-bara span { display: block; height: 100%; border-radius: 999px; background: var(--astro-aur); }
.astro-pct-mic { margin: .3rem 0 .8rem; font-size: .95rem; color: var(--astro-text-gri); }
.astro-pct-lista { margin: 0 0 1rem; padding-left: 1.2rem; }
.astro-pct-lista li { margin: .3rem 0; }
.astro-pct tr.astro-pct-eu td { background: #fff7e0; font-weight: 700; }
.astro-pct-form { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--astro-linie); }
.astro-pct-bifa { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
.astro-pct-bifa input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--astro-antet); flex: none; }
.astro-pct-bifa b { display: block; font-weight: 600; color: var(--astro-antet); }
.astro-pct-bifa small { display: block; font-size: .9rem; color: var(--astro-text-gri); }
.astro-pct-form button { height: 2.4rem; padding: 0 1.1rem; border: 1px solid var(--astro-form-bordura); border-radius: 4px; background: #fff; color: inherit; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-pct-form button:hover { background: var(--astro-panou); }
.astro-pct-form { scroll-margin-top: 9rem; } /* la salvare pagina revine aici, nu sus (antetul lipit acopera ~7 rem) */
.astro-pct-salvat { font-weight: 600; color: var(--astro-ok); }
.astro-pct-salvat.eroare { color: var(--astro-cal-azi); }

/* Medalii de nivel */
.astro-tarot-pachete-nr { align-self: center; padding: 0 .3rem; font-size: .9rem; font-weight: 600; color: var(--astro-text-gri); white-space: nowrap; }
.astro-med { display: inline-block; flex: none; vertical-align: middle; }
.astro-pct-niveluri td:first-child, .astro-pct-niveluri th:first-child { width: 2.9rem; min-width: 2.9rem; padding-left: .4rem; padding-right: .4rem; text-align: center; }
.astro-pct-niveluri .astro-med { width: 34px; height: auto; max-width: none; }
.astro-med .m-panglica { fill: var(--astro-antet); }
.astro-med .m-disc { stroke-width: 2; }
.astro-med .m-inel { fill: none; stroke-width: 1.4; opacity: .7; }
.astro-med .m-glif { fill: none; stroke: var(--astro-m-glif); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.astro-med-bronz .m-disc { fill: var(--astro-m-bronz); stroke: var(--astro-m-bronz-i); }
.astro-med-bronz .m-inel { stroke: var(--astro-m-bronz-i); }
.astro-med-argint .m-disc { fill: var(--astro-m-argint); stroke: var(--astro-m-argint-i); }
.astro-med-argint .m-inel { stroke: var(--astro-m-argint-i); }
.astro-med-aur .m-disc { fill: var(--astro-m-aur); stroke: var(--astro-m-aur-i); }
.astro-med-aur .m-inel { stroke: var(--astro-m-aur-i); }
.astro-med-mare .m-disc { fill: var(--astro-antet); stroke: var(--astro-m-aur); }
.astro-med-mare .m-inel { stroke: var(--astro-m-aur); opacity: 1; }
.astro-med-mare .m-pct { fill: var(--astro-m-aur); }
.astro-med-mare .m-glif { stroke: var(--astro-m-glif-mare); }
.astro-med-mare .m-panglica { fill: var(--astro-cal-azi); }
.astro-pct-nivel { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.astro-pct-titlu { display: block; font-size: 22px; font-weight: 700; color: var(--astro-antet); line-height: 1.2; }
.astro-pct-niveluri td:first-child { width: 48px; padding-top: .3rem; padding-bottom: .3rem; }
.astro-pct-niveluri td:nth-child(n+3), .astro-pct-niveluri th:nth-child(n+3) { text-align: center; }
.astro-pct-niveluri td small { display: block; margin-top: .1rem; font-size: .85rem; font-weight: 400; color: var(--astro-text-gri); }
.astro-pct-urm td:first-child, .astro-pct-urm td:last-child { font-weight: 700; }
.astro-pct-urm td:nth-child(n+2), .astro-pct-urm th:nth-child(n+2) { text-align: center; }
.astro-pct-urm td.putine { color: var(--astro-retro); }
.astro-pct-nume { display: inline-flex; align-items: center; gap: .5rem; }
.astro-pct-niveluri td { vertical-align: middle; }
.astro-cont-medalie { margin-right: .35rem; } /* loc pentru medalia marita la hover */
/* Panoul de la medalia din antet (ca legenda calendarului): apare sub medalie, la hover */
.astro-cont { position: relative; }
.astro-cont-card { display: none; position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: max-content; max-width: min(19rem, 88vw); padding: .8rem 1rem; border: 1px solid var(--astro-linie); border-radius: 8px; background: var(--astro-panou); color: var(--astro-tinta); font-size: .92rem; font-weight: 400; line-height: 1.35; text-align: left; white-space: normal; }
.astro-cont:has(a.astro-cont-medalie:hover) .astro-cont-card, .astro-cont:has(a.astro-cont-medalie:focus-visible) .astro-cont-card { display: block; }
.astro-cont-card-titlu { display: block; font-size: 1rem; font-weight: 700; }
.astro-cont-card-sub { display: block; margin-top: .15rem; font-size: .88rem; color: var(--astro-text-gri); }
.astro-cont-card ul { list-style: none; margin: .55rem 0 0; padding: .5rem 0 0; border-top: 1px solid var(--astro-linie); }
.astro-cont-card li { display: flex; justify-content: space-between; gap: 1.4rem; padding: .1rem 0; }
@media (hover: none) { .astro-cont-card { display: none !important; } } /* pe ecrane tactile apasarea merge direct la pagina */
.astro-cont-card-urm { display: block; margin-top: .3rem; }
.astro-cont-card .astro-pct-bara { display: block; height: 8px; margin: .5rem 0 .1rem; }

/* Testul Luscher */
.astro-lus-indic { margin: 0 0 1.2rem; }
.astro-lus-grila { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; max-width: 26rem; margin: 0 auto; }
.astro-lus-c { aspect-ratio: 1; border: 2px solid transparent; border-radius: 6px; cursor: pointer; padding: 0; transition: background-color .25s, border-color .25s, transform .18s ease; }
.astro-lus-c:hover:not(:disabled) { transform: scale(1.1); }
.astro-lus-c:disabled { cursor: default; }
.astro-lus-c.ales { background: transparent !important; border: 2px dashed var(--astro-gri-slab); }
.astro-lus-c0 { background: var(--astro-lus-0); }
.astro-lus-c1 { background: var(--astro-lus-1); }
.astro-lus-c2 { background: var(--astro-lus-2); }
.astro-lus-c3 { background: var(--astro-lus-3); }
.astro-lus-c4 { background: var(--astro-lus-4); }
.astro-lus-c5 { background: var(--astro-lus-5); }
.astro-lus-c6 { background: var(--astro-lus-6); }
.astro-lus-c7 { background: var(--astro-lus-7); }
.astro-lus-contor { min-height: 1.6rem; margin: 1rem 0 0; text-align: center; color: var(--astro-gri-slab); }
.astro-lus-rand { display: flex; gap: .4rem; margin: 0 0 1.2rem; }
.astro-lus-m { flex: 0 0 2.2rem; height: 2.2rem; border-radius: 4px; }

/* Colectia de imagini */
.astro-col-antet { position: relative; display: inline-flex; align-items: center; justify-content: center; color: #fff; line-height: 0; }
.astro-col-ic { width: 46px; height: 46px; transition: width .2s ease, height .2s ease; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; } /* aproape cat medalia (58 px); cu antetul micsorat 30 px, ca medalia */
.astro-col-ic .ci-rama { stroke-width: 2.4; }
.astro-col-ic .ci-linii { stroke-width: 1; stroke-opacity: .75; }
.astro-col-ic .ci-stea { fill: var(--astro-col-aur); stroke: none; }
.astro-col-ic .ci-punct { fill: currentColor; stroke: none; }
@media (max-width: 640px) { .astro-col-ic { width: 36px; height: 36px; } }
html.astro-antet-mic .astro-col-ic { width: 30px; height: 30px; }
.astro-col-antet:hover { color: var(--astro-col-aur); }
.astro-col-nou { position: absolute; top: -.25rem; right: -.5rem; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; border-radius: 999px; background: var(--astro-col-aur); color: #14305f; font-size: .72rem; font-weight: 700; line-height: 1.1rem; text-align: center; }
.astro-col-sus { margin: 0 0 1rem; }
.astro-col-tema { margin: 0 0 1.2rem; border: 1px solid var(--astro-linie); border-radius: 8px; background: var(--astro-panou); }
.astro-col-cap { display: flex; align-items: center; gap: .8rem; padding: .6rem .9rem; font-size: 1.1rem; cursor: pointer; list-style: none; }
.astro-col-cap::-webkit-details-marker { display: none; }
.astro-col-inchisa .astro-col-cap { cursor: default; color: var(--astro-gri-slab); }
.astro-col-titlu { flex: 1; font-weight: 700; font-family: var(--wp--preset--font-family--roboto, inherit); }
.astro-col-nr { color: var(--astro-gri-slab); font-weight: 600; }
.astro-col-desc { margin: 0; padding: 0 .9rem .6rem; color: var(--astro-text-gri); }
.astro-col-grila { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; padding: 0 .9rem .9rem; }
@media (max-width: 640px) { .astro-col-grila { grid-template-columns: repeat(2, 1fr); } }
.astro-col-c { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; margin: 0; padding: 0; border: 0; border-radius: 6px; overflow: hidden; }
.astro-col-blocata { background: var(--astro-col-blocat); color: var(--astro-gri-slab); }
.astro-col-lipsa { background: var(--astro-col-blocat); color: var(--astro-gri-slab); font-size: .9rem; }
.astro-col-sigiliu { position: relative; background: var(--astro-col-sigiliu); color: var(--astro-col-aur); font: inherit; font-weight: 700; cursor: pointer; outline: 2px solid var(--astro-col-aur); outline-offset: -2px; animation: astro-col-puls 2.2s ease-in-out infinite; }
.astro-col-sigiliu:hover { background: var(--astro-sus); }
.astro-col-sigiliu.se-deschide { opacity: .5; animation: none; cursor: default; }
@keyframes astro-col-puls { 0%, 100% { outline-offset: -2px; } 50% { outline-offset: -6px; } }
.astro-col-img { cursor: zoom-in; background: #000; outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .15s; }
.astro-col-img:hover { outline-color: var(--astro-sus); }
.astro-col-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.astro-col-apare { animation: astro-col-apare .9s ease both; }
@keyframes astro-col-apare { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .astro-col-sigiliu, .astro-col-apare { animation: none; } }
.astro-col-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(8, 14, 30, .94); }
.astro-col-lb[hidden] { display: none; }
.astro-col-lb figure { margin: 0; max-width: 92vw; max-height: 92vh; text-align: center; }
.astro-col-lb img { display: block; max-width: 92vw; max-height: 84vh; margin: 0 auto; border-radius: 6px; }
.astro-col-lb figcaption { margin-top: .6rem; color: #fff; font-size: 1.1rem; }
.astro-col-lb button { position: absolute; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 2rem; line-height: 1; padding: .6rem 1rem; }
.astro-col-lb button:hover { color: var(--astro-col-aur); }
.astro-col-lb-x { top: .4rem; right: .6rem; font-size: 2.6rem !important; }
.astro-col-lb-s { left: .3rem; top: 50%; transform: translateY(-50%); }
.astro-col-lb-d { right: .3rem; top: 50%; transform: translateY(-50%); }
html.astro-col-lb-deschis { overflow: hidden; }

/* Cufarul cu comori */
.astro-cufar-form { display: contents; }
.astro-cufar { position: fixed; z-index: 90; left: calc(50% - 110px); top: calc(50% - 92px); width: 220px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; animation: astro-cufar-intra .8s ease both, astro-cufar-pluteste 3.2s ease-in-out .8s infinite; transition: opacity .6s, transform .6s; }
@media (max-width: 640px) { .astro-cufar { width: 160px; left: calc(50% - 80px); top: calc(50% - 67px); } }
.astro-cufar svg { display: block; overflow: visible; }
.astro-cufar .cf-lemn { fill: var(--astro-cufar-lemn); }
.astro-cufar .cf-lemn-deschis { fill: var(--astro-cufar-capac); }
.astro-cufar .cf-metal, .astro-cufar .cf-lacat { fill: var(--astro-cufar-metal); }
.astro-cufar .cf-gaura { fill: var(--astro-cufar-lemn); }
.astro-cufar .cf-umbra { fill: rgba(0, 0, 0, .18); }
.astro-cufar .cf-licar { fill: var(--astro-cufar-licar); opacity: 0; transition: opacity .35s; }
.astro-cufar .cf-capac { transform-box: fill-box; transform-origin: 8% 100%; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.astro-cufar:hover .cf-capac { transform: rotate(-6deg); }
.astro-cufar.deschis { animation: none; cursor: default; }
.astro-cufar.deschis .cf-capac { transform: rotate(-52deg); }
.astro-cufar.deschis .cf-licar { opacity: .95; }
.astro-cufar.se-duce { opacity: 0; transform: translateY(-18px) scale(.9); }
.astro-cufar:hover:not(.deschis):not(.boing) svg, .astro-cufar:hover:not(.deschis):not(.boing) .cf-pile { animation: astro-cufar-tremura .2s ease-in-out infinite; }
.astro-cufar:hover:not(.deschis) .cf-licar { opacity: .45; }
@keyframes astro-cufar-tremura { 0%, 100% { transform: translate(-2px, 0) rotate(-1deg); } 50% { transform: translate(2px, 0) rotate(1deg); } }
.cf-pile { position: relative; display: block; }
.cf-i { display: block; width: 100%; height: auto; transition: opacity .12s linear; }
.cf-i-deschis { position: absolute; left: 0; top: 0; opacity: 0; }
.astro-cufar.deschis .cf-i-inchis { opacity: 0; }
.astro-cufar.deschis .cf-i-deschis { opacity: 1; }
.astro-cufar:hover:not(.deschis):not(.boing) .cf-licar { opacity: .45; }
@keyframes astro-cufar-tremura-vechi { 0% { transform: translate(-3px, 1px) rotate(-1.6deg); } 25% { transform: translate(3px, -2px) rotate(1.4deg); } 50% { transform: translate(-2px, -1px) rotate(1.8deg); } 75% { transform: translate(2px, 2px) rotate(-1.2deg); } 100% { transform: translate(-3px, 1px) rotate(-1.6deg); } }
.astro-cufar-gata { pointer-events: none; animation: astro-cufar-dispare-cufar .7s ease 4s forwards; }
.astro-cufar-gata .cf-capac { animation: astro-cufar-capac .5s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes astro-cufar-capac { from { transform: rotate(0); } to { transform: rotate(-52deg); } }
@keyframes astro-cufar-dispare-cufar { to { opacity: 0; transform: translateY(-18px) scale(.9); } }@keyframes astro-cufar-pluteste { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes astro-cufar-intra { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .astro-cufar { animation: none; } }
.astro-cufar-mesaj { position: fixed; z-index: 91; border: 2px solid var(--astro-cufar-mesaj-chenar); left: 0; right: 0; top: calc(50% - 170px); width: max-content; max-width: 90vw; margin: 0 auto; padding: .45rem 1.1rem; border-radius: 999px; background: var(--astro-cufar-mesaj-fundal); color: #5a3a00; font-size: 1.4rem; font-weight: 700; transition: opacity .7s, transform .7s; animation: astro-cufar-mesaj-apare .5s ease both; }
.astro-cufar-mesaj.rosu { background: var(--astro-retro); color: #fff; font-size: 1rem; }
.astro-cufar-mesaj-server { animation: astro-cufar-mesaj-apare .5s ease both, astro-cufar-dispare .7s ease 3.6s forwards; }
@keyframes astro-cufar-dispare { to { opacity: 0; visibility: hidden; transform: translateY(-24px); } }
.astro-cufar-mesaj.se-duce { opacity: 0; transform: translateY(-24px); }
@keyframes astro-cufar-mesaj-apare { from { opacity: 0; transform: translateY(10px) scale(.8); } to { opacity: 1; transform: none; } }
.astro-col-tema { interpolate-size: allow-keywords; }
.astro-col-tema::details-content { block-size: 0; overflow: hidden; transition: block-size .7s ease, content-visibility .7s allow-discrete; }
.astro-col-tema[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .astro-col-tema::details-content { transition: none; } }
/* Clic pe cufar: "boing" (se turteste, se intinde in sus, se aseaza) si imaginea se schimba la varful intinderii; imaginea deschisa apare cu un mic salt */
.astro-cufar.boing svg, .astro-cufar.boing .cf-pile { transform-origin: 50% 100%; animation: astro-cufar-boing .5s cubic-bezier(.3, .6, .4, 1) both; }
@keyframes astro-cufar-boing { 0% { transform: scale(1, 1); } 22% { transform: scale(1.2, .84); } 48% { transform: scale(.9, 1.22); } 74% { transform: scale(1.05, .96); } 100% { transform: scale(1, 1); } }
.astro-cufar.deschis svg, .astro-cufar.deschis .cf-pile { transform-origin: 50% 100%; animation: astro-cufar-sare .38s cubic-bezier(.3, 1.6, .5, 1) both; }
.astro-cufar.boing.deschis svg, .astro-cufar.boing.deschis .cf-pile { animation: astro-cufar-boing .5s cubic-bezier(.3, .6, .4, 1) both; }
@keyframes astro-cufar-sare { 0% { transform: scale(.94, .94); } 100% { transform: scale(1, 1); } }
@media (prefers-reduced-motion: reduce) { .astro-cufar.boing svg, .astro-cufar.boing .cf-pile, .astro-cufar.deschis svg, .astro-cufar.deschis .cf-pile { animation: none; } }

/* Caseta Bibliografie: fundal verde deschis, bara verde inchis, titlul aldin pe primul rand, apoi cate o carte pe rand */
/* Bibliografie in pagini: acelasi font si aceeasi marime ca la stilul de bloc "verde" din articole (assets/blocuri.css), doar titlul e aldin */
.astro-bibliografie { margin: 2.7rem 0 1rem; padding: .8rem 1rem; background: var(--astro-verde-nota); border-left: 4px solid var(--astro-ok); border-radius: 0 6px 6px 0; color: #1f2937; }
.astro-bibliografie p { margin: 0; font-family: var(--wp--preset--font-family--roboto); font-size: 16px; line-height: 1.65; }
.astro-bibliografie p.astro-bib-titlu { font-weight: 700 !important; }
.astro-bibliografie p.astro-bib-carte { font-weight: 400; }

/* Pagina de start: Ultimele date, 5 persoane, poze patrate mai mari */
.astro-ultimele .astro-date-lista { grid-template-columns: repeat(6, 1fr); }
.astro-ultimele .astro-date-poza { max-width: 170px; }
@media (max-width: 900px) { .astro-ultimele .astro-date-lista { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .astro-ultimele .astro-date-lista { grid-template-columns: repeat(2, 1fr); } }
/* Caseta Astro Look din dreapta: poza patrata si mai mica, cu capul incadrat */
.astro-look-lateral .aa-card:hover { border-color: var(--astro-form-bordura); } /* fara chenar albastru pe caseta la hover; se mareste poza */
.astro-look-lateral .aa-poza { display: block; box-sizing: border-box; width: 9.5rem; max-width: 100%; aspect-ratio: 1; margin: 0 auto; overflow: hidden; border: 2px solid var(--astro-antet); border-radius: 6px; } /* chenar albastru: pozele cu fundal alb nu se pierd in card */
.astro-look-lateral .aa-poza .aa-img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-position: center 15%; transition: transform .2s ease; }
.astro-look-lateral .aa-card:hover .aa-poza .aa-img { transform: scale(1.07); }

/* Horoscop zilnic: Alte aspecte ca simboluri (fara nume scrise; numele la hover) */
.astro-horoscop .astro-hz-simboluri li { display: flex; align-items: center; gap: .9rem; margin: 0 0 .5rem; }
.astro-horoscop .astro-hz-simboluri .astro-ca-asp { display: inline-flex; flex: 0 0 auto; gap: 4px; padding: 3px 8px; border-radius: 6px; background: var(--astro-pc-fundal); }
.astro-horoscop .astro-hz-simboluri .astro-ca-g { width: 28px; height: 28px; }
.astro-horoscop .astro-hz-simboluri .astro-ca-g[class*="astro-ca-asp-"] { width: 20px; height: 20px; }
.astro-sab-form.asteapta { opacity: .55; pointer-events: none; } /* cat se incarca simbolul si imaginea */ /* acelasi spatiu intre butonul de interpretare si caseta Bibliografie ca intre tabel si buton (~43 px) */
.astro-gemeni-sectiune + .astro-gemeni-titlu { margin-top: 1.5rem; } /* prima grupa de sub titlul sectiunii: aproape de titlu */
.astro-col-grila { align-items: start; }
.astro-col-el { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.astro-col-leg { font-size: .78rem; line-height: 1.25; text-align: center; color: var(--astro-tinta); overflow-wrap: anywhere; } /* titlul sub poza mica */
.astro-harta-svg .h-asp-punct { stroke-dasharray: 4 3; } /* aspecte separante cu linie punctata (setare) */
.astro-setari .as-rub-corp.as-o-coloana { grid-template-columns: minmax(0, 1fr); } /* Simboluri: Sabian deasupra, Kozminsky dedesubt */

/* Setari: rubrica Orburi (tabel compact: aspect x Natal / Tranzit / Progresii / Sinastrie) */
.astro-setari .as-orb-corp { padding-bottom: .4rem; overflow-x: auto; }
.astro-setari .as-orb-tabel { width: 100%; border-collapse: collapse; font-size: .95rem; }
.astro-setari .as-orb-tabel th, .astro-setari .as-orb-tabel td { padding: .2rem .35rem; text-align: center; border: 0; }
.astro-setari .as-orb-tabel th:first-child, .astro-setari .as-orb-tabel td:first-child { text-align: left; white-space: nowrap; }
.astro-setari .as-orb-sep td { padding-top: .6rem; font-size: .85rem; font-weight: 600; text-align: left; color: var(--astro-gri-slab); }
.astro-setari .as-orb-in { width: 4.2rem; padding: .15rem .3rem; font: inherit; text-align: center; }
.as-orb-simb { vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.as-orb-simb.asp-bun { color: var(--astro-aspect-bun); }
.as-orb-simb.asp-tens, .as-orb-simb.asp-min-t { color: var(--astro-aspect-tens); }
.as-orb-simb.asp-conj { color: var(--astro-aspect-conj); }
.as-orb-simb.asp-min { color: var(--astro-aspect-min); }
.as-orb-simb.asp-min-o { color: var(--astro-aspect-min-o); }

.astro-sistem-case { margin: .15rem 0 .7rem; font-size: .85rem; font-weight: 400; color: var(--astro-gri-slab); }
span.astro-sistem-case { display: inline; margin: 0; }
.astro-rezultat .astro-titlu-harta + .astro-sistem-case + .astro-harta { margin-top: 0; }

/* Aforisme: filtre, lista si aforismul la intamplare */
.astro-afor-filtre { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: flex-end; padding: .7rem .8rem; border: 1px solid var(--astro-form-bordura); border-radius: 6px; background: var(--astro-form-fundal); margin: 0 0 1rem; }
.astro-afor-filtre label { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; }
.astro-afor-filtre select, .astro-afor-filtre input[type="search"] { box-sizing: border-box; height: 2.4rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; margin: 0; }
.astro-afor-cauta { flex: 1 1 14rem; }
.astro-afor-filtre .astro-sab-buton { height: 2.4rem; padding: 0 1.2rem; display: inline-flex; align-items: center; margin: 0; }
.astro-afor-nr { margin: 0 0 1.4rem; font-size: .9rem; color: var(--astro-gri-slab); }
.astro-afor-item, .astro-afor-unul { padding: .8rem 1rem; margin: 0 0 .8rem; border: 1px solid #d6dce8; border-radius: 6px; background: #fff; }
.astro-afor-unul { background: var(--astro-info-fundal); border-left: 4px solid var(--astro-sus); }
.astro-afor-item[hidden], .astro-afor-unul[hidden], .astro-afor-nimic[hidden] { display: none; }
.astro-afor-text { margin: 0 0 .4rem; font-size: 1.1rem; line-height: 1.55; }
.astro-afor-text mark { background: #ffe58a; color: inherit; padding: 0 .1rem; }
.astro-afor-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin: 0; font-size: .88rem; color: var(--astro-gri-slab); }
.astro-afor-autor { font-weight: 600; }
.astro-afor-copiaza { margin-left: auto; padding: .15rem .7rem; font: inherit; font-size: .85rem; color: var(--astro-sus); background: none; border: 1px solid var(--astro-sus); border-radius: 4px; cursor: pointer; }
.astro-afor-copiaza:hover { background: #e8eef9; }
.astro-afor-copiaza + .astro-afor-copiaza { margin-left: 0; }
/* Butonul Ma simt norocos (Personalitati, Aforisme) = verde */
.astro-bd-norocos, a.astro-bd-norocos { background: var(--astro-ok); border: 1px solid var(--astro-ok); color: #fff; }
.astro-bd-norocos:hover, a.astro-bd-norocos:hover { background: var(--astro-ok-hover); border-color: var(--astro-ok-hover); color: #fff; }

.astro-afor-filtre label { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; }
.astro-afor-norocos { margin: 0 0 1rem; }

/* Dictionare (vise, astrologic): rezultate sub litere si cautare */
.astro-dic .astro-dic-cauta { margin-top: 1rem; }
.astro-dic .astro-dic-cauta input[type="search"] { width: 100%; }
.astro-dic-rez { margin: 1rem 0; transition: opacity .15s; }
.astro-dic-rez.asteapta { opacity: .45; }
.astro-dic-nr { margin: 0 0 .8rem; font-size: .9rem; color: var(--astro-gri-slab); }
.astro-dic-lista { list-style: none; margin: 0; padding: 0; }
.astro-dic-cuvant { border-bottom: 1px solid #e3e8f0; }
.astro-dic-cuvant summary { cursor: pointer; padding: .45rem .2rem; font-size: 1.05rem; font-weight: 700; list-style-position: inside; }
.astro-dic-cuvant summary:hover { background: var(--astro-form-fundal); }
.astro-dic-cuvant[open] summary { color: var(--astro-sus); }
.astro-dic-adj { font-weight: 400; color: var(--astro-gri-slab); }
.astro-dic-expl { padding: .1rem .2rem .7rem 1.4rem; }
.astro-dic-intrare { margin: 0 0 .5rem; line-height: 1.55; }
.astro-dic-sin { font-size: .9rem; color: var(--astro-gri-slab); }
.astro-dic-fisa { padding: .8rem 1rem; margin: 0 0 .8rem; border: 1px solid #d6dce8; border-radius: 6px; background: #fff; }
.astro-dic-fisa h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.astro-dic mark { background: #ffe58a; color: inherit; padding: 0 .1rem; }
.astro-dic-total { margin: 1.5rem 0 0; font-size: .9rem; color: var(--astro-gri-slab); }
/* Testul Zener: carti desenate din cod, se maresc la hover */
.astro-zener-carti { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 1.2rem 0; padding: .6rem 0; }
.astro-zener-carte { box-sizing: border-box; width: clamp(64px, 17vw, 112px); aspect-ratio: 5 / 7; padding: 6px; background: #fff; color: var(--astro-antet); border: 2px solid var(--astro-form-bordura); border-radius: 8px; cursor: pointer; transition: transform .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease; }
.astro-zener-carte svg { display: block; width: 100%; height: 100%; }
@media (hover: hover) { .astro-zener-carte:hover:not(:disabled) { transform: scale(1.1); border-color: var(--astro-sus); position: relative; z-index: 2; } }
.astro-zener-carte:focus-visible { outline: 3px solid var(--astro-sus); outline-offset: 3px; }
.astro-zener-carte.aleasa { border-color: var(--astro-sus); transform: scale(1.1); position: relative; z-index: 2; }
.astro-zener-carte.estompata { opacity: .35; }
.astro-zener-carte.corect { color: var(--astro-ok); border-color: var(--astro-ok); transform: scale(1.1); }
.astro-zener-carte.gresit { color: var(--astro-retro); border-color: var(--astro-retro); transform: scale(1.1); }
.astro-zener-msg { min-height: 1.6em; margin: 0 0 .6rem; text-align: center; font-size: 1.1rem; }
.astro-zener-msg.corect { color: var(--astro-ok); font-weight: 700; }
.astro-zener-msg.gresit { color: var(--astro-retro); font-weight: 700; }
.astro-zener-scor { text-align: center; line-height: 1.7; margin: 0 0 1rem; }
.astro-zener-scor b { font-weight: 700 !important; }
.astro-zener-final { text-align: center; max-width: 42rem; margin: 1rem auto; }
.astro-zener-final[hidden] { display: none; }
.astro-zener-final p { text-align: left; }
.astro-zener-final p:last-child { text-align: center; }
.astro-zener-msg.asteapta { color: var(--astro-gri-slab); font-style: italic; }

.astro-zener-tu { text-align: center; margin: .6rem 0 0; font-size: .95rem; color: var(--astro-gri-slab); }

/* Carti gratuite: lista pe autori cu PDF-uri */
.astro-cg .astro-afor-filtre { margin-bottom: .8rem; }
.astro-cg .astro-afor-filtre input[type="search"] { width: 100%; }
.astro-cg-nr { margin: 0 0 1rem; font-size: .9rem; color: var(--astro-gri-slab); }
.astro-cg-autor { margin: 0 0 1.4rem; }
.astro-cg-autor h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.astro-cg-lista { list-style: none; margin: 0; padding: 0; }
.astro-cg-carte { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .7rem; padding: .3rem 0; }
.astro-cg-pdf { display: block; flex: none; image-rendering: pixelated; }
.astro-cg-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--astro-sus); text-decoration: none; font-size: 1.05rem; }
.astro-cg-link:hover .astro-cg-titlu { text-decoration: underline; }
.astro-cg-blocat { color: var(--astro-gri-slab); }
.astro-cg-mic { font-size: .85rem; color: var(--astro-gri-slab); }
.astro-cg-carte[hidden], .astro-cg-autor[hidden], .astro-cg-nimic[hidden] { display: none; }
.astro-cg-plat[hidden] { display: none; }
.astro-cg-autor-mic { font-size: .9rem; font-weight: 600; color: var(--astro-gri-slab); }
.astro-cg .astro-afor-filtre { align-items: flex-end; }

/* Campuri de text, zone de text si liste: la focus doar chenarul albastru al campului (fara inel separat la distanta); bifele, butoanele si cursoarele pastreaza inelul obisnuit */
body :is(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]):focus-visible { outline: 0; outline-offset: 0; border-color: var(--astro-sus); box-shadow: 0 0 0 1px var(--astro-sus); }

/* Combinatii Lenormand: grila de carti si rezultatul combinatiei */
.astro-lnc-indicatie { margin: 0 0 .8rem; font-weight: 600; }
.astro-lnc-carti { display: grid; grid-template-columns: repeat(9, 1fr); gap: .45rem; margin: 0 0 1.2rem; }
.astro-lnc-carte { padding: 0; background: none; border: 3px solid transparent; border-radius: 6px; cursor: pointer; line-height: 0; transition: transform .15s ease, border-color .15s ease; }
.astro-lnc-carte img { display: block; width: 100%; height: auto; border-radius: 3px; }
@media (hover: hover) { .astro-lnc-carte:hover { transform: scale(1.08); border-color: var(--astro-bordura-albastra); position: relative; z-index: 2; } }
.astro-lnc-carte.prima { border-color: var(--astro-retro); }
.astro-lnc-carte.a-doua { border-color: var(--astro-ok); }
@media (max-width: 640px) { .astro-lnc-carti { grid-template-columns: repeat(6, 1fr); } }
.astro-lnc-rez { transition: opacity .15s; }
.astro-lnc-rez.asteapta { opacity: .45; }
.astro-lnc-perechea { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 1rem; margin: 1rem 0; }
.astro-lnc-fig { margin: 0; width: 170px; text-align: center; }
.astro-lnc-fig img { display: block; width: 100%; height: auto; border-radius: 6px; }
.astro-lnc-fig figcaption b { display: block; margin-top: .4rem; font-weight: 700 !important; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-lnc-fig figcaption span { display: block; font-size: .85rem; line-height: 1.35; color: var(--astro-gri-slab); }
.astro-lnc-plus { align-self: center; font-size: 2rem; color: var(--astro-gri-slab); }
.astro-lnc-butoane { text-align: center; margin: 0 0 1rem; }
.astro-lnc-inverseaza { height: 2.4rem; padding: 0 1.1rem; background: #fff; border: 1px solid var(--astro-linie); border-radius: 4px; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-lnc-inverseaza:hover { background: var(--astro-panou); }
.astro-lnc-titlu { margin: 1.5rem 0 .5rem; }
.astro-lnc-orig { margin: 0 0 .5rem; padding: .8rem 1rem .5rem 2.6rem; background: var(--astro-galben-nota); border-left: 4px solid var(--astro-sus); border-radius: 0 6px 6px 0; }
.astro-lnc-orig li { margin: 0 0 .35rem; }
.astro-lnc-domenii { margin: 0; display: block; }
.astro-lnc-domenii dt { margin: 0; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 700; color: var(--astro-antet); }
.astro-lnc-domenii dd { margin: 0 0 .8rem; }
.astro-lnc-total { margin: 1.5rem 0 0; font-size: .9rem; color: var(--astro-gri-slab); }
/* Quiz astrologic */
.astro-quiz { max-width: 44rem; margin: 0; }
.astro-quiz-start, .astro-quiz-butoane { text-align: center; }
.astro-quiz-intro { text-align: left; margin: 0 0 1.4rem; }
.astro-quiz-joc, .astro-quiz-final { margin-top: 2rem; }
.astro-quiz-joc[hidden], .astro-quiz-final[hidden], .astro-quiz-start[hidden] { display: none; }
.astro-harta-nota.astro-gc-rez.verde { background: var(--astro-verde-nota); border-left-color: var(--astro-ok); }
.astro-gc-opreste { margin-left: .6rem; padding: .55rem 1rem; border: 1px solid var(--astro-fundal-hover); border-radius: 4px; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.astro-quiz-cap.astro-gc-cap { align-items: center; padding: .65rem .9rem; background: var(--astro-info-fundal); border-left: 4px solid var(--astro-sus); color: var(--astro-text, inherit); }
.astro-gc-scor { font-weight: 700; font-size: 1.15rem; }
.astro-quiz-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin: 0 0 1rem; font-size: .95rem; color: var(--astro-gri-slab); }
.astro-quiz-nivel { font-weight: 700; color: var(--astro-sus); }
.astro-quiz-nivel.n1, .astro-quiz-nivel.n2 { color: var(--astro-ok); }
.astro-quiz-nivel.n5 { color: var(--astro-retro); }
.astro-quiz-ok { color: var(--astro-ok); font-weight: 700; margin: 0 0 .6rem; }
.astro-quiz-text { font-weight: 700; margin: 0 0 .8rem; }
.astro-quiz-optiune { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem 1rem; margin: 0 0 .6rem; border: 1px solid var(--astro-fundal-hover); border-left: 4px solid var(--astro-sus); border-radius: 4px; background: #fff; color: inherit; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1.05rem; font-weight: 400; cursor: pointer; }
.astro-quiz-optiune:hover, .astro-quiz-optiune:has(input:checked) { background: var(--astro-fundal-hover); border-color: var(--astro-sus); }
.astro-quiz-optiune input { margin-top: .35rem; flex: none; accent-color: var(--astro-sus); }
.astro-quiz-indiciu { font-size: .9rem; color: var(--astro-gri-slab); }
.astro-quiz-eroare[hidden] { display: none; }
.astro-quiz-gresit { font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-quiz-corect p { margin: 0 0 .4rem; }
.astro-quiz-corect p:last-child { margin-bottom: 0; }
.astro-quiz-corect-titlu { font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-quiz-final { margin: 1rem 0; }
.astro-quiz-final h3 { text-align: center; }
.astro-quiz-cuvenit ul { margin-top: 0; }

.astro-quiz-grafic { max-width: 14rem; margin: 0 auto 1rem; }
.astro-quiz-grafic svg { display: block; width: 100%; height: auto; }
.astro-quiz-grafic .q-cerc, .astro-quiz-grafic .q-linie { fill: none; stroke: var(--astro-linie); stroke-width: 1.5; }
.astro-quiz-grafic .q-planeta { fill: var(--astro-sus); }
.astro-look-top .astro-quiz-p { text-align: center; }

/* Sah */
.astro-sah { max-width: 34rem; margin: 0 auto; }
.astro-sah-setari { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: end; margin: 0 0 1rem; }
.astro-sah-setari label { display: flex; flex-direction: column; font-size: .9rem; color: var(--astro-gri-slab); gap: .2rem; }
.astro-sah-setari select { min-width: 5.5rem; padding: .4rem .5rem; font-size: 1rem; }
.astro-sah-jucator { display: flex; justify-content: space-between; align-items: center; margin: .4rem 0; font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.sah-ceas { padding: .15rem .7rem; border: 1px solid var(--astro-linie); border-radius: 4px; font-variant-numeric: tabular-nums; }
.sah-ceas.activ { background: var(--astro-fundal-hover); border-color: var(--astro-sus); }
.astro-sah-tabla { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); width: 100%; aspect-ratio: 1; border: 2px solid var(--astro-sah-inchis); touch-action: none; user-select: none; -webkit-user-select: none; }
.astro-sah-tabla .sq { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; cursor: default; }
.astro-sah-tabla .sq.clar { background: var(--astro-sah-clar); }
.astro-sah-tabla .sq.inchis { background: var(--astro-sah-inchis); }
.astro-sah-tabla .sq.ultima { background-image: linear-gradient(var(--astro-sah-ultima), var(--astro-sah-ultima)); background-blend-mode: multiply; }
.astro-sah-tabla .sq.sel { box-shadow: inset 0 0 0 4px var(--astro-sus); }
.astro-sah-tabla .sq.sah { box-shadow: inset 0 0 0 4px var(--astro-retro); }
.astro-sah-tabla .sq.mutare::after { content: ""; position: absolute; width: 28%; height: 28%; border-radius: 50%; background: var(--astro-sah-punct); opacity: .55; }
.astro-sah-tabla .sq.captura { box-shadow: inset 0 0 0 4px var(--astro-sah-punct); }
.astro-sah-tabla .piesa { width: 100%; height: 100%; display: block; pointer-events: none; position: relative; z-index: 1; }
.astro-sah-tabla .co { position: absolute; font-size: .65rem; line-height: 1; opacity: .75; pointer-events: none; z-index: 2; font-family: Roboto, "Open Sans", Arial, sans-serif; }
.astro-sah-tabla .rang { top: 2px; left: 3px; }
.astro-sah-tabla .fila { bottom: 2px; right: 3px; }
.astro-sah-tabla .sq.clar .co { color: var(--astro-sah-inchis); }
.astro-sah-tabla .sq.inchis .co { color: var(--astro-sah-clar); }
.sah-fantoma { position: fixed; z-index: 100001; pointer-events: none; }
.sah-promovare { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: .8rem; background: #fff; border: 2px solid var(--astro-sus); border-radius: 6px; max-width: 80%; }
.sah-promovare p { flex: 0 0 100%; margin: 0; text-align: center; font-weight: 700; }
.sah-promo { width: 3.4rem; height: 3.4rem; padding: 2px; background: var(--astro-sah-clar); border: 1px solid var(--astro-sah-inchis); border-radius: 4px; cursor: pointer; }
.sah-promo img { width: 100%; height: 100%; display: block; }
.astro-sah-stare { min-height: 1.6em; margin: .6rem 0; text-align: center; }
.astro-sah-final { margin: 1rem 0; }
.astro-sah-final[hidden] { display: none; }
.astro-sah-final p { margin: 0 0 .4rem; }
.sah-final-titlu { font-weight: 700; font-size: 1.15rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-sah-butoane { text-align: center; margin: 1rem 0; }
.sah-renunt[hidden] { display: none; }
.astro-sah-mutari h3 { margin-bottom: .3rem; }
.sah-pgn { font-size: .95rem; overflow-wrap: anywhere; }
.astro-leg-abr { display: inline-block; flex: none; min-width: 2rem; padding: .05rem .35rem; box-sizing: border-box; text-align: center; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .85rem; font-weight: 700; background: #fff; border: 1px solid var(--astro-linie); border-radius: 4px; }
.astro-leg-abr.c { background: var(--astro-look-c); }
.astro-leg-abr.g { background: var(--astro-look-g); }
.astro-sah-top { margin-top: 2rem; }
.astro-sah-top .astro-look-top { max-width: 100%; }

/* Caseta Topuri jocuri (coloana din dreapta) */
.astro-topuri-lateral .at-lista { list-style: none; margin: 0 0 .8rem; padding: 0; counter-reset: loc; }
.astro-topuri-lateral .at-lista li { display: flex; justify-content: space-between; gap: .6rem; padding: .4rem 0; border-bottom: 1px solid var(--astro-linie); counter-increment: loc; }
.astro-topuri-lateral .at-lista li::before { content: counter(loc) "."; flex: 0 0 1.4rem; color: var(--astro-gri-slab); }
.astro-topuri-lateral .at-nume { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.astro-topuri-lateral .at-val { flex: 0 0 auto; color: var(--astro-gri-slab); font-size: .9rem; }
.astro-topuri-lateral .at-eu .at-nume { font-weight: 700; }
.astro-legenda.pe-rand .astro-legenda-lista { flex-direction: column; align-items: flex-start; gap: .45rem; } /* fiecare element pe rand, aliniat la stanga (Sah, Directii primare) */
.astro-legenda.pe-rand .astro-leg-abr { min-width: 2.8rem; }
.astro-legenda.pe-rand.lat .astro-leg-abr { min-width: 3.8rem; }
.sah-adv-poza { text-align: left; margin: 1.5rem 0 .4rem; cursor: zoom-in; width: 72px; max-width: 100%; aspect-ratio: 1; transition: width .25s ease; } /* cadrul se mareste lent la clic (clasa .mare), ca avatarul din formular; imaginea si clipul il umplu */
.sah-adv-poza.mare { width: 200px; cursor: zoom-out; }
.sah-avatar { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.sah-avatar[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .sah-avatar { transition: none; } }
.sah-avatar[hidden] { display: none; }
.sah-piese-rand { display: flex; align-items: center; gap: .6rem; }

/* Zodiace */
.astro-zod-cap { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; margin: 1rem 0 .8rem; }
.astro-zod-cap h3 { margin: 0; }
.astro-zod-zodie .astro-interpretari { margin-top: 0; }
.astro-zod-zodie .astro-interpretari > p:first-child { margin-top: 0; }
.astro-zod-poza img { display: block; width: 200px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* Mesaj cifrat (inc/astro-mesaj-cifrat.php) */
.astro-cifrat { max-width: 52rem; margin: 0; }
.astro-cifrat-start, .astro-cifrat-joc { margin-top: 0; }
.astro-cifrat-start[hidden], .astro-cifrat-joc[hidden] { display: none; }
.astro-cifrat .cf-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 0 0 1.2rem; font-weight: 700; color: var(--astro-sus); font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-cifrat .cf-text { display: block; line-height: 1; margin: 0 0 1rem; }
.astro-cifrat .cf-cuv { display: inline-block; white-space: nowrap; margin: 0 1.1rem 1rem 0; }
.astro-cifrat .cf-rand { display: block; height: 0; }
.astro-cifrat .cf-celula { display: inline-flex; flex-direction: column; align-items: center; width: 1.9rem; vertical-align: top; }
.astro-cifrat .cf-semn { width: auto; min-width: .8rem; }
.astro-cifrat .cf-nr { display: block; height: 1rem; font: 400 .72rem/1rem Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; color: var(--astro-gri-slab); }
.astro-cifrat .cf-car { display: block; height: 2.1rem; font: 700 1.2rem/2.1rem Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; text-transform: uppercase; }
.astro-cifrat input.cf-lit { box-sizing: border-box; width: 1.7rem; height: 2.1rem; min-height: 0; max-width: none; margin: 0; padding: 0; text-align: center; font: 700 1.2rem/2.1rem Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; text-transform: uppercase; color: inherit; background: transparent; border: 0; border-bottom: 2px solid var(--astro-sus); border-radius: 0; box-shadow: none; outline: none; cursor: pointer; }
.astro-cifrat input.cf-lit:focus, .astro-cifrat input.cf-lit.cf-eu { background: var(--astro-fundal-hover); outline: none; }
.astro-cifrat input.cf-lit.gata { color: var(--astro-ok); border-bottom-color: var(--astro-ok); background: transparent; cursor: default; }
.astro-cifrat .cf-car.cf-sub { box-sizing: border-box; width: 1.7rem; text-align: center; border-bottom: 2px solid var(--astro-sus); }
.astro-cifrat .cf-text.gata .cf-car { color: var(--astro-ok); }
.astro-cifrat .cf-text.gata .cf-car.cf-sub { border-bottom-color: var(--astro-ok); }
.astro-cifrat .cf-corect { margin: 1.6rem 0 .8rem; font: 700 1.5rem/1.3 Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; color: var(--astro-ok); }
.astro-cifrat .cf-rezultat { margin-top: 0; }
.astro-cifrat .cf-sursa { font-weight: 700; }
@media (max-width: 640px) {
	.astro-cifrat .cf-celula { width: 1.55rem; }
	.astro-cifrat input.cf-lit { width: 1.4rem; font-size: 1.1rem; }
	.astro-cifrat .cf-car.cf-sub { width: 1.4rem; }
	.astro-cifrat .cf-cuv { margin-right: .8rem; }
}

/* Abecedar astrologic (inc/astro-abecedar.php) */
.astro-ab-taburi { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.4rem; border-bottom: 2px solid var(--astro-sus); }
.astro-ab-tab { padding: .55rem 1rem; border-radius: 4px 4px 0 0; color: var(--astro-sus); font: 600 1rem/1.3 Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; text-decoration: none; }
.astro-ab-tab:hover { background: var(--astro-fundal-hover); }
.astro-ab-tab.activ { background: var(--astro-sus); color: #fff; }
.astro-ab-alege { display: grid; grid-template-columns: repeat( auto-fill, minmax( 3.4rem, 1fr ) ); gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.astro-ab-alege li:first-child { grid-column: 1 / -1; }
.astro-ab-alege li:first-child a { padding: .45rem .8rem; font-weight: 600; }
.astro-ab-alege a.ab-sim { display: flex; align-items: center; justify-content: center; height: 3rem; padding: 0; font-size: 1.05rem; font-weight: 600; }
.ab-sim .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect( 0, 0, 0, 0 ); white-space: nowrap; }
.ab-gl { width: 1.4rem; height: 1.4rem; }
.ab-sg { font-size: 1.7rem; line-height: 1; }
.ab-el-0 { color: var(--astro-foc); } .ab-el-1 { color: var(--astro-pamant); } .ab-el-2 { color: var(--astro-aer); } .ab-el-3 { color: var(--astro-apa); }
.astro-ab-alege a.ab-sim.activ .ab-sg, .astro-ab-alege a.ab-sim.activ .ab-gl { color: #fff; }
.astro-ab-alege li { margin: 0; }
.astro-ab-alege a { display: block; padding: .3rem .8rem; border: 1px solid var(--astro-linie); border-radius: 4px; color: inherit; font: 400 .98rem/1.4 Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; text-decoration: none; }
.astro-ab-alege a:hover { border-color: var(--astro-sus); background: var(--astro-fundal-hover); }
.astro-ab-alege a.activ { background: var(--astro-sus); border-color: var(--astro-sus); color: #fff; }
.astro-ab-mod { display: flex; margin: 0 0 1.2rem; max-width: 28rem; }
.astro-ab-mod a { flex: 1 1 0; text-align: center; }
.astro-ab-mod a { padding: .35rem .9rem; border: 1px solid var(--astro-sus); color: var(--astro-sus); font: 600 .92rem/1.4 Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; text-decoration: none; }
.astro-ab-mod a:first-child { border-radius: 4px 0 0 4px; }
.astro-ab-mod a:last-child { margin-left: -1px; border-radius: 0 4px 4px 0; }
.astro-ab-mod a.activ { background: var(--astro-sus); color: #fff; }
.astro-ab-rez.asteapta { opacity: .5; }
.astro-ab-titlu { margin: .2rem 0 1rem; }
.astro-ab-continut h3 { margin: 1.6rem 0 .5rem; }
.astro-ab-continut dl { margin: 0 0 .9rem; }
.astro-ab-continut dt { font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-ab-continut dd { margin: 0; }
.astro-ab-tabel { width: 100%; max-width: 40rem; margin: 0 0 1.2rem; border-collapse: collapse; }
.astro-ab-tabel td { padding: .45rem .7rem; border-bottom: 1px solid var(--astro-linie); vertical-align: top; }
.astro-ab-tabel td:first-child { font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; width: 40%; }
@media (max-width: 640px) {
	.astro-ab-taburi { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: .3rem; }
	.astro-ab-tab { padding: .5rem .3rem; font-size: .9rem; text-align: center; }
}

/* Calculator numerologic (inc/astro-calculator-universal.php) */
.astro-cu { max-width: 52rem; }
.astro-cu-form { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 .8rem; }
.astro-cu-form input[type="text"] { flex: 1 1 18rem; min-width: 0; box-sizing: border-box; padding: .55rem .8rem; border: 1px solid var(--astro-linie); border-radius: 4px; font: 400 1.05rem/1.4 Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-cu-nota { font-size: .92rem; color: var(--astro-gri-slab); margin: .4rem 0 .8rem; }
.astro-cu-rez { margin-top: 3rem; }
.astro-cu-rez h3 { margin: 1.6rem 0 .5rem; }
.astro-cu-rez > h3:first-child { margin-top: 0; }
.astro-cu-sub { margin: 1.2rem 0 .4rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; color: var(--astro-sus); }
.astro-cu-text { margin: .5rem 0 1rem; padding: .6rem 1rem; border-left: 4px solid var(--astro-sus); background: var(--astro-fundal-hover); font-size: 1.1rem; overflow-wrap: anywhere; }
.astro-cu-tabel { width: 100%; margin: 0 0 1rem; }
.astro-cu-tabel td:first-child { font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-cu-tabel td { vertical-align: top; overflow-wrap: anywhere; }

/* Test IQ (inc/astro-iq*.php): figurile matricelor */
.iq-cd { fill: #fff; stroke: var(--astro-linie); stroke-width: 1.5; }
.iq-lipsa { fill: var(--astro-fundal-hover); stroke-dasharray: 5 4; stroke: var(--astro-gri-slab); }
.iq-intreb { font: 700 46px/1 Roboto, "Open Sans", "Segoe UI", Arial, sans-serif; fill: var(--astro-gri-slab); }
.iq-f0, .iq-f1, .iq-f2, .iq-f3 { stroke: var(--astro-antet); stroke-width: 2; stroke-linejoin: round; }
.iq-f0 { fill: #fff; }
.iq-f1 { fill: #c9d1e0; }
.iq-f2 { fill: #6f7e9c; }
.iq-f3 { fill: var(--astro-antet); }
.iq-p { fill: var(--astro-antet); stroke: none; }
.iq-pa { fill: #fff; stroke: none; }
.iq-fr { fill: none; stroke: var(--astro-antet); stroke-width: 2.2; }
.astro-iq { max-width: 44rem; margin: 0; }
.astro-iq-start[hidden], .astro-iq-joc[hidden], .astro-iq-rezultat[hidden], .astro-iq-reia[hidden] { display: none; }
.astro-iq-reia { text-align: center; }
.astro-iq .iq-scena.iese { animation: iq-iese .22s ease-in forwards; }
.astro-iq .iq-scena.pauza { opacity: 0; }
.astro-iq .iq-scena.intra { animation: iq-intra .42s ease-out; }
@keyframes iq-iese { to { opacity: 0; transform: translateX(calc(var(--dx, 48px) * -1)); } }
@keyframes iq-intra { from { opacity: 0; transform: translateX(var(--dx, 48px)); } to { opacity: 1; transform: none; } }
.astro-iq .iq-opt.pop { animation: iq-pop .3s ease; }
@keyframes iq-pop { 40% { transform: scale(1.09); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .astro-iq .iq-scena.iese, .astro-iq .iq-scena.intra, .astro-iq .iq-opt.pop { animation: none; }
	.astro-iq .iq-scena.pauza { opacity: 1; } }
.astro-iq .iq-matrice { max-width: 21rem; margin: 0 auto 1.4rem; }
.astro-iq .iq-matrice svg { display: block; width: 100%; height: auto; }
.astro-iq .iq-optiuni { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; max-width: 30rem; margin: 0 auto 1.2rem; }
.astro-iq .iq-optiuni.o6 { grid-template-columns: repeat(3, 1fr); max-width: 23rem; }
.astro-iq .iq-opt { position: relative; display: block; padding: 0; margin: 0; border: 2px solid var(--astro-linie); border-radius: 6px; background: #fff; cursor: pointer; }
.astro-iq .iq-opt svg { display: block; width: 100%; height: auto; }
.astro-iq .iq-opt:hover { border-color: var(--astro-sus); }
.astro-iq .iq-opt.ales { border-color: var(--astro-sus); box-shadow: inset 0 0 0 2px var(--astro-sus); }
.astro-iq .iq-nrv { position: absolute; left: 4px; top: 2px; font: 600 .75rem/1 Roboto, "Open Sans", "Segoe UI", Arial, sans-serif; color: var(--astro-gri-slab); }
.astro-iq .iq-nav { display: flex; justify-content: center; gap: 1rem; margin: 0 0 1rem; }
.astro-iq .iq-nav-b:disabled { opacity: .4; cursor: default; }
.astro-iq .iq-harta { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin: 0 0 1.2rem; }
.astro-iq .iq-pas { width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--astro-linie); border-radius: 4px; background: #fff; font: 600 .8rem/1 Roboto, "Open Sans", "Segoe UI", Arial, sans-serif; cursor: pointer; color: inherit; }
.astro-iq .iq-pas.r { background: var(--astro-sus); border-color: var(--astro-sus); color: #fff; }
.astro-iq .iq-pas.cur { outline: 2px solid var(--astro-antet); outline-offset: 1px; }
.astro-iq .iq-nu { background: var(--astro-gri-slab); }
.astro-iq .iq-confirma { text-align: center; }
.astro-iq .iq-confirma[hidden] { display: none; }
.astro-iq .iq-confirma p { margin: .3rem 0; }
.astro-iq-mare { display: flex; flex-direction: column; align-items: center; margin: .6rem 0 .4rem; }
.astro-iq-valoare { font: 700 4.5rem/1 Roboto, "Open Sans", "Segoe UI", Arial, sans-serif; color: var(--astro-antet); }
.astro-iq-eticheta { font: 600 1rem/1.4 Roboto, "Open Sans", "Segoe UI", Arial, sans-serif; color: var(--astro-gri-slab); }
.astro-iq-interval { text-align: center; margin: 0 0 .6rem; }
.iq-clopot { display: block; width: 100%; max-width: 30rem; height: auto; margin: 0 auto 1rem; }
.iq-clopot-curba { fill: none; stroke: var(--astro-antet); stroke-width: 2; }
.iq-clopot-zona { fill: var(--astro-sus); opacity: .25; }
.iq-clopot-axa { stroke: var(--astro-gri-slab); stroke-width: 1; }
.iq-clopot-text { font: 400 11px/1 Roboto, "Open Sans", Arial, sans-serif; fill: var(--astro-gri-slab); }
.iq-clopot-semn { stroke: var(--astro-retro); stroke-width: 2; }
.iq-clopot-mare { font: 700 14px/1 Roboto, "Open Sans", Arial, sans-serif; fill: var(--astro-retro); }
.iq-clopot-interval { stroke: var(--astro-ok); stroke-width: 2.5; }
@media (max-width: 480px) {
	.astro-iq .iq-optiuni, .astro-iq .iq-optiuni.o6 { grid-template-columns: repeat(2, 1fr); max-width: 16rem; }
	.astro-iq-valoare { font-size: 3.6rem; }
}
.iq-sol { fill: #eaf6ee; stroke: var(--astro-ok); stroke-width: 3; }
.astro-iq-ex { margin: 1.4rem 0; }
.astro-iq-ex .iq-ex-mat { max-width: 18rem; }
.astro-iq-ex .iq-ex-mat svg { display: block; width: 100%; height: auto; }
.astro-iq-ex-sol .iq-ex-mat { max-width: 12rem; }
.astro-iq-ex .iq-ex-ops { display: grid; grid-template-columns: repeat(3, 5.2rem); gap: .5rem; margin: .8rem 0 0; }
.astro-iq-ex .iq-ex-ops.o8 { grid-template-columns: repeat(4, 5.2rem); }
.astro-iq-ex .iq-ex-op { position: relative; display: block; width: 5.2rem; }
.astro-iq-ex .iq-ex-op svg { display: block; width: 100%; height: auto; }
.astro-iq-ex .iq-ex-nr { position: absolute; left: 4px; top: 1px; font: 700 .75rem/1 Roboto, "Open Sans", "Segoe UI", Arial, sans-serif; color: var(--astro-gri-slab); }

/* Pagina Evenimente (inc/astro-evenimente.php) */
.astro-ev { max-width: 52rem; margin: 0; }
.astro-ev-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin: 0 0 .8rem; }
.astro-ev-titlu { min-width: 11rem; text-align: center; font: 700 1.4rem/1.3 Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; color: var(--astro-antet); }
.astro-ev-nav .astro-cs-acum { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--astro-antet); }
.astro-ev-nav .astro-cs-acum:hover { background: var(--astro-linie); color: var(--astro-accent); }
.astro-ev-nav .astro-cs-acum svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.astro-ev-sageata { display: inline-block; width: 2.4rem; height: 2.4rem; line-height: 2.2rem; text-align: center; border: 1px solid var(--astro-linie); border-radius: 4px; font-size: 1.6rem; text-decoration: none; color: var(--astro-sus); }
.astro-ev-sageata:hover { border-color: var(--astro-sus); background: var(--astro-fundal-hover); }
.astro-ev-sageata.gol { opacity: .35; }
.astro-ev-alege { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin: 0 0 1.6rem; }
.astro-ev-alege select, .astro-ev-alege input[type="number"] { box-sizing: border-box; padding: .4rem .6rem; border: 1px solid var(--astro-linie); border-radius: 4px; font: 400 1rem/1.4 Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-ev-alege input[type="number"] { width: 6rem; }
.astro-ev-zi { margin: 0 0 1.6rem; padding: 0 0 .4rem; border-bottom: 1px solid var(--astro-linie); scroll-margin-top: 6rem; }
.astro-ev-zi h3 { margin: 0 0 .3rem; }
.astro-ev-zi:target h3 { color: var(--astro-accent); }
.astro-ev-ico { vertical-align: middle; }
.astro-ev-eticheta { display: inline-block; padding: .05rem .5rem; margin-left: .4rem; border-radius: 3px; background: var(--astro-ok); color: #fff; font: 600 .8rem/1.5 Roboto, "Open Sans", "Segoe UI", Arial, sans-serif; vertical-align: middle; }
.astro-ev-luna { margin: 0 0 .8rem; font-size: .92rem; color: var(--astro-gri-slab); }
.astro-ev-sarb { margin: 0 0 1rem; padding: .2rem 0 .2rem 1rem; border-left: 4px solid var(--astro-sus); }
.astro-ev-sarb h4 { margin: 0 0 .4rem; }
.astro-ev-sarb p { margin: 0 0 .6rem; }
.astro-ev-mai summary { font-weight: 600; }
.astro-ev-astro h4 { margin: .6rem 0 .3rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; color: var(--astro-sus); }
.astro-ev-astro ul { margin: 0; padding-left: 1.2rem; }
.astro-ev-anv { margin: 0 0 1rem; padding: .7rem 1rem .7rem 1.1rem; border-left: 6px solid var(--astro-cal-aniv-inchis); background: var(--astro-cal-aniv); color: #fff; border-radius: 0 6px 6px 0; }
.astro-ev-anv h4 { margin: 0 0 .3rem; color: #fff; }
.astro-ev-anv ul { margin: 0; padding-left: 1.2rem; }
.astro-ev-anv li { color: #fff; font-weight: 600; }

/* Calculator de eclipse (inc/astro-eclipse.php) */
.astro-ecl { max-width: 100%; }
.astro-ecl-form { margin: 0; }
.astro-ecl-formular { margin-bottom: 1.4rem; }
.astro-ecl-formular input[type="date"] { box-sizing: border-box; height: 2.4rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; }
.astro-ecl-formular input[type="number"] { width: 5.5rem; }
.astro-ecl-formular .af-titlu-p ~ .af-titlu-p { border-top: 3px solid #b9c6dd; border-radius: 0; }
.astro-ecl-formular .af-titlu-p:first-child { border-radius: 6px 6px 0 0; }
.astro-ecl-formular .af-butoane { border-top: 0; }
.astro-ecl-formular .af-campuri small { color: var(--astro-gri-slab); }
.ecl-semn { font-size: 1.15em; }
.ecl-el-0 { color: var(--astro-foc); }
.ecl-el-1 { color: var(--astro-pamant); }
.ecl-el-2 { color: var(--astro-aer); }
.ecl-el-3 { color: var(--astro-apa); }
.astro-ecl-nota { font-size: .88rem; color: var(--astro-gri-slab); }
.astro-ecl-sumar { margin: 0 0 .6rem; font-weight: 600; }
.astro-ecl-tabel { line-height: 1.35; }
.astro-ecl-tabel th, .astro-ecl-tabel td { padding: .35rem .4rem; vertical-align: top; }
.astro-ecl-tabel td .astro-ecl-nota { font-size: .85rem; }
.ecl-a { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; line-height: 1.3; }
.ecl-a svg { flex: none; display: block; }
.ecl-nw { white-space: nowrap; }
.ecl-asp.asp-bun { color: var(--astro-aspect-bun); }
.ecl-asp.asp-tens, .ecl-asp.asp-min-t { color: var(--astro-aspect-tens); }
.ecl-asp.asp-conj { color: var(--astro-aspect-conj); }
.ecl-asp.asp-min { color: var(--astro-aspect-min); }
.ecl-asp.asp-min-o { color: var(--astro-aspect-min-o); }
.astro-ecl-tabel tr.astro-ecl-ultima td { background: var(--astro-fundal-hover); }
.astro-ecl h3 { margin: 1.4rem 0 .4rem; }
.astro-ecl-tabel td > .ap-gl { vertical-align: -6px; }
.astro-ecl-tabel th .astro-ecl-nota { font-weight: 400; }
.astro-ecl-salveaza { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; color: #333; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-ecl-salveaza:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-ecl-salveaza svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.astro-ecl-salveaza.salvat { color: var(--astro-ok); border-color: var(--astro-ok); }
.astro-ecl-salveaza:disabled { cursor: default; }
@media (max-width: 760px) {
	.astro-ecl-tabel { min-width: 42rem; }

}
.astro-ecl-formular input[name$="_zi"] { width: 4.5rem; }
.astro-ecl-formular input.ecl-an { width: 6rem; }
.astro-ecl-formular span.af-bifa { display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.astro-ecl-formular .ecl-2col { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: .4rem 1.5rem; }
.astro-ecl-formular .ecl-col { display: flex; flex-direction: column; gap: .45rem; }
.astro-ecl-formular .ecl-col .af-bifa { margin: 0; }
.astro-ecl-formular .af-butoane a.astro-ecl-reset { display: inline-flex; align-items: center; height: 2.4rem; padding: 0 .9rem; font-size: 1rem; color: #222; text-decoration: none; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; }
.astro-ecl-formular .af-butoane a.astro-ecl-reset:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-ecl-formular .af-butoane a.astro-ecl-reset { gap: .4rem; }
.astro-perioada-reset { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; padding: 0; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-perioada-reset:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-perioada-reset svg { width: 1.1rem; height: 1.1rem; }
.astro-ecl-salveaza { background: var(--astro-verde); border-color: var(--astro-verde); color: #fff; }
.astro-ecl-salveaza:hover:not(:disabled) { background: var(--astro-verde-hover); border-color: var(--astro-verde-hover); }
.astro-ecl-salveaza.salvat { color: #fff; border-color: var(--astro-verde); }
.astro-ecl-salveaza:disabled { opacity: .5; }
.astro-ecl-formular .astro-oras-cadru { position: relative; flex: 1 1 16rem; max-width: 24rem; }
.astro-ecl-formular .astro-oras-cadru input { width: 100%; }
.astro-ecl-tabel th, .astro-ecl-tabel td { padding: .3rem .3rem; white-space: nowrap; }
.astro-ecl-tabel td.ecl-dur { white-space: normal; min-width: 4.5rem; }
.astro-lnc { max-width: 56rem; }

/* Tranzite pe perioade */
.astro-tp-tabel td { vertical-align: top; }
.astro-tp-tabel .pm-pl svg { width: 18px; height: 18px; }
.astro-tp-ora { color: var(--astro-gri-slab); }
.astro-tp-tabel tr.astro-tp-m-tr td, .astro-tp-c-tr { background: var(--astro-tp-tr); }
.astro-tp-tabel tr.astro-tp-m-pr td, .astro-tp-c-pr { background: var(--astro-tp-pr); }
.astro-tp-tabel tr.astro-tp-m-ar td, .astro-tp-c-ar { background: var(--astro-tp-ar); }
.astro-tp-asp { white-space: nowrap; }
.astro-tp-asp-i { display: inline-flex; align-items: center; gap: .4rem; }
.astro-tp-tabel .pm-pl { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
.astro-tp-tabel .pm-pl svg.as-orb-simb { width: 17px; height: 17px; vertical-align: baseline; stroke-width: 1.8; }
.astro-tp-lista { padding: .2rem 0 .5rem; }
.astro-tp-nr { font-weight: 400; color: var(--astro-gri-slab); }
.astro-tp .astro-formular .af-rand { border-bottom: 0; }
.astro-tp .astro-ecl-formular .af-titlu-p ~ .af-titlu-p { border-top: 0; }
.astro-tp-orburi-set { background: none; border: 0; padding: .8rem 1rem; max-width: none; }
.astro-tp .astro-setari-reset { text-decoration: none; }
.astro-tp .astro-ecl-form { margin-bottom: 0; }
.astro-tp .astro-tp-orburi-set { padding-bottom: .74rem; }
.astro-ecl .astro-formular .af-butoane { background: none; border-top: 0; border-radius: 0; padding: .7rem .8rem .8rem; margin-top: 0; } /* linia de deasupra e cea de sub ultimul rand */
.astro-tp-scroll-max { max-height: 18rem; overflow: auto; }
.astro-tp-corpuri th:not(:first-child), .astro-tp-corpuri td:not(:first-child) { width: 5.5rem; text-align: center; }
.astro-tp-corpuri thead th { position: sticky; top: 0; background: var(--astro-form-fundal); }
.astro-tp-corpuri tr[hidden] { display: none; }
.astro-tp-corpuri .pm-pl { margin-right: .2rem; }
.astro-tp-bara { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .1rem 0 .5rem; }
.astro-tp-cauta { box-sizing: border-box; height: 2.2rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; flex: 1 1 14rem; max-width: 22rem; }
.astro-tp-bara button { height: 2.2rem; padding: 0 .8rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; font-size: .95rem; }
.astro-tp-pa-nr { font-size: .9rem; opacity: .75; }
.astro-tp-asp2 { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.5rem; padding: .2rem 0 .6rem; }
.astro-tp-asp2 > div { display: flex; flex-direction: column; gap: .45rem; }
.astro-tp-case { display: inline-flex; align-items: center; gap: .2rem; margin-left: .5rem; }
.astro-tp-casa { display: inline-block; min-width: 1.5rem; padding: .05rem .2rem; border: 1.5px solid var(--astro-sus); font-size: .85rem; line-height: 1.25; text-align: center; font-family: Roboto, "Open Sans","Segoe UI","Noto Sans",Arial,sans-serif; font-weight: 600; }
.astro-tp-casa.mobil { background: var(--astro-sus); color: #fff; }
.astro-tp-casa.natal { margin-left: .25rem; color: var(--astro-sus); background: none; }
.astro-tp-sag { color: var(--astro-gri-slab); font-size: .8rem; }
.astro-tp-corpuri td.astro-tp-celula { padding: 0; }
.astro-tp-bifa { display: flex; align-items: center; justify-content: center; min-height: 2rem; cursor: pointer; }
.astro-tp .astro-formular .af-butoane { border-top: 1px solid #d5dbe3; margin-top: .3rem; }
.astro-tp-calc { margin-top: 0; }
.astro-setari .as-dezactivat { opacity: .45; }
.astro-setari .as-dezactivat * { cursor: default; }
.astro-setari input:disabled, .astro-setari select:disabled { opacity: .55; }
.astro-setari .astro-oras-cadru { position: relative; flex: 1 1 16rem; max-width: 24rem; }
.astro-setari .astro-oras-cadru input { width: 100%; }
.astro-setari .as-rand input[type="text"], .astro-setari .as-rand input[type="number"] { box-sizing: border-box; height: 2.2rem; padding: 0 .5rem; font-size: 1rem; font-family: inherit; color: inherit; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; }
.astro-setari .as-rand input[name="grad"], .astro-setari .as-rand input[name="grad_min"], .astro-setari .as-rand input[name="saros"] { width: 5rem; }
.astro-ecl-asp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
@media (max-width: 640px) { .astro-ecl-asp-grid { grid-template-columns: 1fr; } }
.astro-tp .astro-formular.astro-tp-calc { margin-bottom: 2.6rem; }
.astro-setari .as-rand .astro-ecl-gm { display: inline-flex; flex-wrap: nowrap; align-items: stretch; }
.astro-setari .as-rand .astro-ecl-gm > input, .astro-setari .as-rand .astro-ecl-gm > select { margin: 0; min-width: 0; border-radius: 0; }
.astro-setari .as-rand .astro-ecl-gm > input + input, .astro-setari .as-rand .astro-ecl-gm > input + select { margin-left: -1px; }
.astro-setari .as-rand .astro-ecl-gm > :first-child { border-radius: 4px 0 0 4px; }
.astro-setari .as-rand .astro-ecl-gm > :last-child { border-radius: 0 4px 4px 0; }
.astro-setari .as-rand .astro-ecl-gm > input[type="number"] { width: 4.5rem; }
.astro-setari .as-rand .astro-ecl-gm > :focus { position: relative; z-index: 1; }

/* Calculator electiv */
.astro-el .af-campuri.el-cadru { flex-direction: column; align-items: stretch; gap: .7rem; }
.astro-el .el-randuri { display: flex; flex-direction: column; gap: .6rem; }
.astro-el .el-rand { position: relative; display: grid; grid-template-columns: 5.4rem 3.6rem auto minmax(0, 1fr) 3.6rem; align-items: center; gap: .45rem .6rem; padding: .6rem 3rem .6rem .7rem; background: var(--astro-el-fundal); border: 1px solid var(--astro-el-bordura); border-radius: 6px; }
.astro-el .el-conn { min-width: 5.4rem; font-weight: 700; color: var(--astro-sus); }
.astro-el .el-rand:first-child .el-conn-sel { display: none; }
.astro-el .el-rand:not(:first-child) .el-conn-first { display: none; }
.astro-el .el-conn-sel { font-weight: 700; color: var(--astro-sus); }
.astro-el .el-nu { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--astro-retro); cursor: pointer; }
.astro-el .el-f { display: none; flex-direction: column; align-items: flex-start; gap: .5rem; }
.astro-el .el-lin { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .6rem; }
.astro-el .el-rand.t-semn .el-t-semn, .astro-el .el-rand.t-casa .el-t-casa, .astro-el .el-rand.t-aspect .el-t-aspect, .astro-el .el-rand.t-retro .el-t-retro, .astro-el .el-rand.t-faza .el-t-faza, .astro-el .el-rand.t-voc .el-t-voc { display: flex; }
.astro-el .el-in { color: var(--astro-gri-slab); }
.astro-el .el-togs { display: inline-flex; flex-wrap: wrap; gap: .25rem; }
.astro-el .el-tog { position: relative; display: inline-flex; cursor: pointer; }
.astro-el .el-tog input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.astro-el .el-tog > span { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; padding: 0 .2rem; font-size: 1.15rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; box-sizing: border-box; }
.astro-el .el-tog:hover > span { border-color: var(--astro-sus); }
.astro-el .el-tog input:checked + span { background: #dbe6f7; border-color: var(--astro-sus); box-shadow: inset 0 0 0 1px var(--astro-sus); }
.astro-el .el-tog input:focus-visible + span { outline: 2px solid var(--astro-sus); outline-offset: 1px; }
.astro-el .el-tog-nr > span { font-size: .95rem; font-weight: 600; }
.astro-el .el-grade { display: inline-flex; align-items: center; gap: .3rem; color: var(--astro-gri-slab); }
.astro-el .el-grade input[type="number"] { width: 4.2rem; }
.astro-el .el-sterge { position: absolute; top: .6rem; right: .6rem; width: 2rem; height: 2rem; padding: 0; font-size: 1.3rem; line-height: 1; color: var(--astro-retro); background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-el .el-sterge:hover { background: #fdecea; border-color: var(--astro-retro); }
.astro-el .el-adauga { height: 2.4rem; padding: 0 1rem; font-size: 1rem; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-el .el-adauga:hover:not(:disabled) { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-el .el-adauga:disabled { opacity: .5; cursor: default; }
.astro-el .el-jos { display: flex; align-items: center; }
.astro-el-lista { margin: 0 0 .5rem; padding-left: 1.2rem; }
.astro-el-lista li { margin: .15rem 0; }
.astro-el .el-leg { font-weight: 700; color: var(--astro-sus); }
.astro-el .el-leg-nu { color: var(--astro-retro); }
.astro-el-sub { margin: 0 0 .8rem; color: var(--astro-gri-slab); }
.astro-el-nr { margin: .4rem 0; font-weight: 700; }
.astro-el-tabel td, .astro-el-tabel th { text-align: left; }
@media (max-width: 640px) { .astro-el .el-rand { padding: .5rem 2.8rem .5rem .5rem; } .astro-el .el-sterge { top: .5rem; right: .5rem; } }
.astro-el .el-par { width: 3.6rem; padding: 0 .3rem; font-weight: 700; font-size: 1.1rem; color: var(--astro-sus); text-align: center; }
.astro-el .el-par-i { margin-left: auto; }

.astro-el .el-sumar-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; width: 100%; }
.astro-el .el-sum-r { display: grid; grid-template-columns: 3.4rem 1fr; gap: .5rem; align-items: center; min-height: 2rem; }
.astro-el .el-sum-r > .el-leg { font-size: .95rem; text-align: right; }
.astro-el .el-sum-c { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .4rem; }
.astro-el .el-sum-c .el-gl svg { display: block; width: 22px; height: 22px; }
.astro-el .el-sum-c .el-txt { font-weight: 700; }
.astro-el .el-sum-c .as-orb-simb { width: 18px; height: 18px; vertical-align: middle; }
.astro-el .el-sum-c [class^="ecl-el-"] { font-size: 1.25rem; }
.astro-el .el-gol { color: var(--astro-gri-slab); font-style: italic; }
.astro-el .el-gr { color: var(--astro-gri-slab); font-size: .92rem; }
.astro-el .el-nrc { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .2rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; font-size: .9rem; }
.astro-el .el-rx { color: var(--astro-retro); font-weight: 700; }
.astro-el .el-par-t { font-size: 1.3rem; line-height: 1; }

.astro-el .el-conn { grid-column: 1; grid-row: 1; }
.astro-el .el-par { grid-column: 2; grid-row: 1; }
.astro-el .el-par-i { grid-column: 5; grid-row: 1; margin-left: 0; }
.astro-el .el-nu { grid-column: 3; grid-row: 1; }
.astro-el .el-tip { grid-column: 4; grid-row: 1; justify-self: start; min-width: 0; max-width: 100%; }
.astro-el .el-f { grid-column: 2 / -1; grid-row: 2; }
.astro-el .el-par[data-v="0"] { color: var(--astro-gri-slab); font-weight: 400; }
@media (max-width: 640px) { .astro-el .el-rand { grid-template-columns: 4.4rem 3.4rem auto minmax(0, 1fr) 3.4rem; } .astro-el .el-par { width: 3.4rem; } }
.astro-el .el-n { margin-left: .1rem; font-size: .72rem; font-weight: 700; color: var(--astro-gri-slab); }
.astro-setari .as-rub-corp.as-pe-coloane, .astro-setari .el-corp-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(var(--r, 5), auto); gap: .1rem 1.5rem; padding: .3rem 0 .5rem; }
.astro-setari .as-bifa .ap-gl, .astro-setari .as-bifa .pm-pl svg { width: 18px; height: 18px; flex: none; }
.astro-setari .as-bifa .pm-pl { display: inline-flex; }
.astro-setari .el-nota-corp { display: block; margin-bottom: .5rem; }
.el-pa { margin: .8rem 0 0; }
.el-pa-bara { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .2rem 0 .5rem; }
.el-pa-cauta { box-sizing: border-box; height: 2.2rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; flex: 1 1 14rem; max-width: 22rem; }
.el-pa-bara button { height: 2.2rem; padding: 0 .8rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; font-size: .95rem; }
.el-pa-bara button:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.el-pa-nr { font-size: .9rem; opacity: .75; }
.el-pa-lista { max-height: 14rem; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .1rem .8rem; padding: .3rem; background: #fff; border: 1px solid var(--astro-form-linie); border-radius: 4px; }
.el-pa-r { display: block; margin: 0; }
.el-pa-r[hidden] { display: none; }
.el-pa-r small { opacity: .65; }

.astro-pct-niveluri th:first-child, .astro-pct-niveluri td:first-child { width: 1%; padding-left: .5rem; padding-right: .1rem; }
.astro-pct-niveluri th:nth-child(2), .astro-pct-niveluri td:nth-child(2) { padding-left: .5rem; white-space: nowrap; }
/* Teste de personalitate si teste cu intrebari (pete de cerneala, IQ, Zener, Luscher, Big Five): aceleasi componente peste tot, ca testele sa arate la fel.
   Ajutoarele JS: assets/astro-test.js (progres, optiuni, bare). Ce se schimba unde:
   - aspectul tuturor testelor deodata = variabilele --astro-test-* de mai jos;
   - un lucru anume = regula cu numele lui (cap + bara de progres, scena cu animatie, intrebare, optiuni, bare de rezultat, recapitulare). */
:root {
	--astro-test-font: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; /* etichete, intrebari, titluri de bare */
	--astro-test-progres-h: 6px;                         /* inaltimea barii de progres de sus */
	--astro-test-progres-culoare: var(--astro-sus);      /* umplerea barii de progres */
	--astro-test-pista: var(--astro-linie);              /* fundalul barilor (progres si rezultat) */
	--astro-test-bara-h: 10px;                           /* inaltimea barilor din rezultat */
	--astro-test-bara-culoare: var(--astro-sus);         /* umplerea barilor din rezultat */
	--astro-test-optiune-ales: var(--astro-sus);         /* chenarul optiunii alese / la hover */
	--astro-test-raza: 6px;                              /* colturile optiunilor si ale imaginilor */
	--astro-test-latime: 44rem;                          /* latimea maxima a unui test */
	--astro-test-poza: 21rem;                            /* latimea maxima a imaginii (planse) */
}
.astro-test { max-width: var(--astro-test-latime); margin: 0; }
.astro-test-start[hidden], .astro-test-joc[hidden], .astro-test-rezultat[hidden], .astro-test-q2[hidden] { display: none; }
/* capul testului: pasul (stanga) si, optional, cronometrul (dreapta, .astro-test-timp, rosu cu .putin) */
.astro-test-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 .4rem; font: 600 1rem/1.4 var(--astro-test-font); }
.astro-test-timp { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--astro-antet); }
.astro-test-timp.putin { color: var(--astro-retro); }
.astro-test-bara { height: var(--astro-test-progres-h); margin: 0 0 1.2rem; background: var(--astro-test-pista); border-radius: calc(var(--astro-test-progres-h) / 2); overflow: hidden; }
.astro-test-bara span { display: block; height: 100%; width: 0; background: var(--astro-test-progres-culoare); transition: width .3s ease; }
/* trecerea de la o intrebare la alta */
.astro-test-scena.intra { animation: astro-test-intra .3s ease-out; }
.astro-test-scena.iese { animation: astro-test-iese .15s ease-in forwards; }
@keyframes astro-test-iese { to { opacity: 0; } }
@keyframes astro-test-intra { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .astro-test-scena.intra, .astro-test-scena.iese { animation: none; } }
.astro-test-poza { max-width: var(--astro-test-poza); margin: 0 auto 1.2rem; }
.astro-test-imagine { display: block; width: 100%; height: auto; border: 1px solid var(--astro-linie); border-radius: var(--astro-test-raza); background: #fff; }
.astro-test-intrebare { margin: 1.2rem 0 .6rem; font: 600 1.05rem/1.4 var(--astro-test-font); color: var(--astro-antet); }
/* optiuni de raspuns (butoane); .astro-test-stari = 5 pe un rand */
.astro-test-optiuni { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 0 0 1rem; }
.astro-test-optiuni.astro-test-stari { grid-template-columns: repeat(5, 1fr); }
.astro-test-opt { padding: .6rem .8rem; border: 2px solid var(--astro-linie); border-radius: var(--astro-test-raza); background: #fff; color: inherit; font-family: inherit; font-size: 1rem; line-height: 1.35; text-align: left; cursor: pointer; }
.astro-test-stari .astro-test-opt { text-align: center; padding: .6rem .3rem; }
.astro-test-opt:hover { border-color: var(--astro-test-optiune-ales); }
.astro-test-opt.ales { border-color: var(--astro-test-optiune-ales); box-shadow: inset 0 0 0 2px var(--astro-test-optiune-ales); }
/* bare de rezultat (nume, bara, valoare) */
.astro-test-bare { margin: .6rem 0 1.2rem; }
.astro-test-bara-rand { display: grid; grid-template-columns: 8.5rem 1fr 2.6rem; align-items: center; gap: .7rem; margin: 0 0 .45rem; }
.astro-test-bara-nume { font: 600 .95rem/1.3 var(--astro-test-font); white-space: pre-line; } /* 
 din nume = rand nou (Enneagrama: Tipul 1 / Perfectionistul) */
.astro-test-bara-pista { height: var(--astro-test-bara-h); background: var(--astro-test-pista); border-radius: calc(var(--astro-test-bara-h) / 2); overflow: hidden; }
.astro-test-bara-umplere { display: block; height: 100%; background: var(--astro-test-bara-culoare); border-radius: calc(var(--astro-test-bara-h) / 2); }
.astro-test-bara-val { font: 600 .9rem/1 var(--astro-test-font); color: var(--astro-gri-slab); text-align: right; font-variant-numeric: tabular-nums; }
/* recapitulare cu miniaturi */
.astro-test-recap { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem .6rem; margin: .6rem 0 1.4rem; }
.astro-test-recap-c { margin: 0; }
.astro-test-recap-c img { display: block; width: 100%; height: auto; border: 1px solid var(--astro-linie); border-radius: 4px; }
.astro-test-recap-c figcaption { margin: .25rem 0 0; font-size: .78rem; line-height: 1.3; color: var(--astro-gri-slab); }
@media (max-width: 640px) {
	.astro-test-optiuni { grid-template-columns: 1fr; }
	.astro-test-optiuni.astro-test-stari { grid-template-columns: repeat(2, 1fr); }
	.astro-test-bara-rand { grid-template-columns: 6.5rem 1fr 2rem; }
	.astro-test-recap { grid-template-columns: repeat(2, 1fr); }
}
/* Big Five: o afirmatie pe ecran, scala de 5 raspunsuri, butonul Inapoi, descrierea trasaturii in rezultat */
/* testele cu afirmatii si scala 1..5 (Big Five, stil de atasament, ...): clasa `astro-test-afirmatii` pe radacina; un test nou de acelasi fel o primeste si arata la fel */
.astro-test-afirmatii .astro-test-intrebare { font-size: 1.25rem; margin-top: 1.6rem; }
.astro-test-sub { margin: 0 0 .9rem; font-size: .95rem; color: var(--astro-gri-slab); }
.astro-test-inapoi { margin: .2rem 0 0; padding: .3rem .1rem; border: 0; background: none; color: var(--astro-gri-slab); font-family: inherit; font-size: .95rem; cursor: pointer; text-decoration: underline; }
.astro-test-inapoi:hover { color: var(--astro-test-optiune-ales); }
.astro-test-descriere { font-size: .95rem; color: var(--astro-gri-slab); margin-bottom: .4rem; }
@media (max-width: 640px) { .astro-test-optiuni.astro-test-scala { grid-template-columns: 1fr; } }

/* Anunt pe toate paginile (Astro -> Anunt): banda galbena sub antet, inainte de continut */
.astro-anunt { width: min(1180px, calc(100% - 2.4rem)); margin: 1.1rem auto 0; box-sizing: border-box; }
.astro-anunt-text { padding: .7rem 1.2rem; text-align: center; font-size: 1.25rem; line-height: 1.4; color: #1f2937; background: var(--anunt-fundal, var(--astro-galben-nota)); border: 2px solid var(--anunt-bordura, var(--astro-anunt-bordura)); border-radius: 6px; }
.astro-anunt-text h2 { margin: 0; font-size: 1.9rem; line-height: 1.25; }
.astro-anunt-text h3 { margin: 0; font-size: 1.5rem; line-height: 1.3; }
.astro-anunt-text a { color: inherit; font-weight: 600; text-decoration: underline; }
.astro-anunt-rosu { --anunt-fundal: var(--astro-anunt-rosu-fundal); --anunt-bordura: var(--astro-retro); }.astro-anunt-verde { --anunt-fundal: var(--astro-verde-nota); --anunt-bordura: var(--astro-ok); }.astro-anunt-albastru { --anunt-fundal: var(--astro-info-fundal); --anunt-bordura: var(--astro-sus); }

/* Blocant de reclame (inc/astro-adblock.php, assets/astro-adblock.js): nota care ia locul interpretarilor si bannerul care se poate inchide */
.astro-ab-nota-loc { display: none; }
html.astro-adblock .astro-ab-poarta .astro-ab-continut { display: none; }
html.astro-adblock .astro-ab-nota-loc { display: block; }
.astro-ab-nota { display: flex; gap: 1.2rem; align-items: flex-start; margin: 1.2rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--astro-linie); border-left: 5px solid var(--astro-sus); border-radius: 6px; background: var(--astro-info-fundal); font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-ab-nota .astro-ab-poza { flex: 0 0 auto; width: 120px; height: auto; border-radius: 6px; }
.astro-ab-text p { margin: 0 0 .8rem; line-height: 1.55; }
.astro-ab-butoane { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-bottom: 0 !important; }
.astro-ab-sprijin { color: var(--astro-ok); font-weight: 700; text-decoration: underline; }
.astro-ab-banner { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 9990; display: flex; gap: .9rem; align-items: center; max-width: 30rem; padding: .9rem 2.4rem .9rem .9rem; border: 1px solid var(--astro-linie); border-left: 5px solid var(--astro-sus); border-radius: 8px; background: #fff; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .95rem; }
.astro-ab-banner[hidden] { display: none; }
.astro-ab-banner .astro-ab-poza { flex: 0 0 auto; width: 84px; height: auto; border-radius: 6px; }
.astro-ab-banner-text p { margin: 0 0 .4rem; line-height: 1.45; }
.astro-ab-inchide { position: absolute; top: .3rem; right: .5rem; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: #6b7280; cursor: pointer; }
.astro-ab-inchide:hover { color: var(--astro-accent); }
@media (max-width: 640px) {
	.astro-ab-nota { flex-direction: column; }
	.astro-ab-banner { left: .6rem; right: .6rem; bottom: .6rem; max-width: none; }
}
/* mesaj in locul reclamei goale, doar cand blocantul e detectat (inc/astro-adblock.php, astro_ab_loc) */
.astro-ab-loc { display: none; padding: .9rem 1rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .92rem; line-height: 1.5; text-align: left; }
.astro-ab-loc p { margin: 0; }
.astro-ab-loc p + p { margin-top: .5rem; }
html.astro-adblock .astro-ab-loc { display: block; }
html.astro-adblock .astro-reclama ins.adsbygoogle { display: none !important; }
.astro-pct h3 { margin-top: 2.6rem; } /* spatiu mai mare deasupra titlurilor din pagina Puncte (Niveluri, Cum strangi puncte, Topul lunii) */

/* Tipare in harta (inc/astro-tipare.php + assets/astro-harta.js) */
.astro-tipare { margin: .4rem 0 .6rem; padding: 0; list-style: none; }
.astro-tipare li { margin: 0 0 .5rem; padding: .55rem .9rem; border-left: 4px solid var(--astro-linie); background: var(--astro-fundal-hover); border-radius: 0 4px 4px 0; cursor: pointer; }
.astro-tipare li:hover { border-left-color: var(--astro-ok); }
.astro-tipare li:focus-visible { outline: 2px solid var(--astro-sus); outline-offset: 2px; }
.astro-tipare li.ales { border-left-color: var(--astro-ok); background: var(--astro-verde-nota); }
.h-tipar-extra:not(.h-tipar) { display: none; }
.tp-nume { font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.tp-pl { display: inline-flex; align-items: center; gap: .35rem; margin: 0 .4rem; vertical-align: middle; }
.tp-g { display: inline-flex; width: 1.25rem; height: 1.25rem; align-items: center; justify-content: center; }
.tp-g svg { width: 100%; height: 100%; }
.tp-det { color: var(--astro-gri-slab); font-size: .92em; margin-right: .5rem; }
.astro-tipare li.tp-ascuns { display: none; }
.tp-gol[hidden] { display: none; }
.tp-text { display: none; margin-top: .5rem; line-height: 1.55; cursor: text; }
.astro-tipare li.ales .tp-text { display: block; }
.tp-p { display: block; margin: 0 0 .55rem; }
.tp-p:last-child { margin-bottom: 0; }
.astro-harta-svg.h-tipare .h-asp:not(.h-tipar) { opacity: .1; }
.astro-harta-svg.h-tipare .h-asp.h-tipar { display: inline !important; opacity: 1; }
.astro-harta-svg.h-tipare .h-asp.h-tipar > *:not(.h-asp-hit) { stroke: var(--astro-ok) !important; stroke-width: 3.4 !important; stroke-dasharray: none !important; }
.astro-harta-svg.h-tipare .h-pl.h-tipar-estompat { opacity: .25; }


/* Calculator electiv: butonul Harta de la capetele perioadelor */
.astro-el-tabel .el-harta, .astro-tp-tabel .el-harta, .astro-ecl-tabel .el-harta { display: inline-block; margin-top: .3rem; padding: .15rem .6rem; font-family: inherit; font-size: .85rem; font-weight: 600; color: var(--astro-sus); border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; cursor: pointer; }
.astro-el-tabel .el-harta:hover, .astro-tp-tabel .el-harta:hover, .astro-ecl-tabel .el-harta:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.el-harta-loc { position: relative; margin: 1.5rem 0; padding: 1rem; scroll-margin-top: 6rem; border: 1px solid var(--astro-camp-bordura); border-radius: 6px; background: #fff; }
.el-harta-loc.nou { animation: el-harta-nou 1.4s ease-out; }
@keyframes el-harta-nou { 0% { border-color: var(--astro-sus); box-shadow: 0 0 0 4px rgba(42, 93, 176, .35); } 100% { border-color: var(--astro-camp-bordura); box-shadow: 0 0 0 4px rgba(42, 93, 176, 0); } }
.el-harta-loc .el-harta-asteapta { margin: 2rem 0; text-align: center; color: var(--astro-text-slab); }
.el-harta-loc .el-harta-inchide { position: absolute; top: .4rem; right: .6rem; z-index: 2; width: 2rem; height: 2rem; font-size: 1.4rem; line-height: 1; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.el-harta-loc .el-harta-inchide:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
@media (prefers-reduced-motion: reduce) { .el-harta-loc.nou { animation: none; } }

/* Obiecte retrograde: bara de timp pe corp, stationarile intrare / iesire */
.astro-rt-rez .rt-titlu { margin: 2rem 0 .6rem; font-family: Roboto, "Open Sans","Segoe UI","Noto Sans",Arial,sans-serif; font-size: 1.15rem; }
.astro-rt-rez .rt-bara { margin: .5rem 0 1rem; }
.astro-rt-rez .rt-rand { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); align-items: center; gap: .6rem; margin: .2rem 0; }
.astro-rt-rez .rt-nume { display: flex; align-items: center; gap: .3rem; font-size: .95rem; white-space: nowrap; }
.astro-rt-rez .rt-nume svg { width: 18px; height: 18px; flex: none; }
.astro-rt-rez .rt-pista { position: relative; height: 1.1rem; background: var(--astro-rt-pista); border-radius: 3px; overflow: hidden; }
.astro-rt-rez .rt-pista-axa { height: 1.3rem; background: none; overflow: visible; border-bottom: 1px solid var(--astro-camp-bordura); }
.astro-rt-rez .rt-tick { position: absolute; top: 0; bottom: 0; border-left: 1px solid #b9c3d6; }
.astro-rt-rez .rt-tick i { position: absolute; top: -.05rem; left: .25rem; font-style: normal; font-size: .75rem; color: var(--astro-gri-slab); white-space: nowrap; }
.astro-rt-rez .rt-seg { position: absolute; top: 0; bottom: 0; }
.astro-rt-rez .rt-retro { background: var(--astro-retro); min-width: 2px; }
.astro-rt-rez .rt-umbra { background: var(--astro-rt-umbra); }
.astro-rt-rez .rt-azi { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--astro-sus); z-index: 2; }
.astro-rt-rez .rt-leg-retro, .astro-rt-rez .rt-leg-umbra { display: inline-block; width: 1.6rem; height: .8rem; border-radius: 2px; vertical-align: middle; }
.astro-rt-rez .rt-leg-retro { background: var(--astro-retro); }
.astro-rt-rez .rt-leg-umbra { background: var(--astro-rt-umbra); }
.astro-rt-tabel .rt-sr { color: var(--astro-retro); font-weight: 700; }
.astro-rt-tabel .rt-sd { color: var(--astro-ok); font-weight: 700; }
.astro-rt-tabel tr.rt-r td { background: #fdf3f1; }
.astro-rt-tabel tr.rt-d td { background: #f2f9f1; }
.astro-rt-tabel tr.astro-tp-m-ar td { background: var(--astro-tp-ar); }
.astro-rt-tabel .rt-atinge { display: inline-flex; align-items: center; gap: .15rem; margin-left: .45rem; white-space: nowrap; }
@media (max-width: 640px) { .astro-rt-rez .rt-rand { grid-template-columns: 5.5rem minmax(0, 1fr); } .astro-rt-rez .rt-nume .rt-et { display: none; } }
.astro-rt-rez .rt-corp { display: inline-flex; align-items: center; gap: .35rem; }
.astro-rt-rez .rt-corp .el-gl { display: inline-flex; align-items: center; }
.astro-rt-rez .rt-corp .el-gl svg { display: block; width: 18px; height: 18px; }
.astro-ae-rez .rt-corp, .astro-it-rez .rt-corp { display: inline-flex; align-items: center; gap: .35rem; }
.astro-ae-rez .rt-corp .el-gl, .astro-it-rez .rt-corp .el-gl { display: inline-flex; align-items: center; }
.astro-ae-rez .rt-corp .el-gl svg, .astro-it-rez .rt-corp .el-gl svg { display: block; width: 18px; height: 18px; }

/* Configuratii speciale in interpretari: numele cu simbolurile primei configuratii, simbolurile celorlalte pe randurile urmatoare, apoi textul o singura data */
.astro-interpretari .tp-i { margin: 0 0 1.1rem; }
.astro-interpretari .tp-i-cap { display: block; margin-bottom: .45rem; }
.astro-interpretari .tp-i-cap .tp-nume { display: block; margin-bottom: .3rem; }
.astro-interpretari .tp-i-seturi { display: flex; flex-direction: column; gap: .3rem; }
.astro-interpretari .tp-i-seturi .tp-pl { margin: 0 .5rem 0 0; }
.astro-interpretari .tp-i-seturi .tp-det { display: inline; }
.astro-interpretari .tp-i p { margin: 0 0 .55rem; }
.astro-interpretari .tp-i-set { display: flex; align-items: center; gap: .5rem; }
.astro-interpretari .tp-i-set .tp-pl { margin: 0; }

@media (max-width: 640px) { .astro-avatar.mare { flex-basis: 140px; width: 140px; height: 140px; } }

/* Avatarul mic (72 px) in fata antetului: persoana dupa sex, un moment (data, evenimentul) cu Excalibur */
.astro-antet.cu-av { display: flow-root; min-height: 72px; }
.astro-antet-av { --av: 72px; float: left; width: var(--av); height: var(--av); margin: .5rem .9rem .3rem 0; border-radius: 6px; object-fit: cover; }
@supports (height: 1lh) { .astro-antet-av { margin-top: max(0px, calc((3lh - var(--av)) / 2)); } } /* centrat pe cele 3 randuri ale antetului (nume, data, locul) */
@media (max-width: 640px) { .astro-antet.cu-av { min-height: 56px; } .astro-antet-av { --av: 56px; margin-right: .7rem; } }

/* Conjunctia in harta: arc violet pe cercul interior, intre cele doua corpuri (ca in ZET) */
.astro-harta-svg .h-asp-conj { fill: none; stroke: var(--astro-aspect-conj); stroke-width: 3px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.astro-harta-svg .h-asp-conj.h-asp-gros { stroke-width: 4px; }
.astro-harta-svg .h-asp:hover .h-asp-conj { stroke-width: 5px; }

/* Marea provocare (inc/astro-marea-provocare.php + assets/astro-marea-provocare.js) */
.astro-mp .astro-mp-scara { width: 100%; max-width: 26rem; border-collapse: collapse; margin: 0 0 1rem; }
.astro-mp .astro-mp-scara th, .astro-mp .astro-mp-scara td { padding: .25rem .6rem; border-bottom: 1px solid var(--astro-form-linie); text-align: left; }
.astro-mp .astro-mp-scara tr.prag td { background: var(--astro-galben-nota); font-weight: 700; }
.astro-mp-corp { display: grid; grid-template-columns: minmax(0, 1fr) 10rem; gap: 1.2rem; align-items: start; margin: 0 0 1.6rem; }
@media (max-width: 760px) { .astro-mp-corp { grid-template-columns: 1fr; } }
/* cele patru cifre de sus */
.astro-mp-cap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: 0 0 1rem; }
@media (max-width: 560px) { .astro-mp-cap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.astro-mp-stat { padding: .55rem .8rem; border: 1px solid var(--astro-form-bordura); border-left: 4px solid var(--astro-sus); border-radius: 0 6px 6px 0; background: var(--astro-info-fundal); font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-mp-stat span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--astro-gri-slab); }
.astro-mp-stat b { display: block; font-size: 1.15rem; }
.astro-mp-stat.aur { background: var(--astro-galben-nota); border-left-color: #d6a900; }
.astro-mp-stat.verde { background: var(--astro-verde-nota); border-left-color: var(--astro-ok); }
/* cardul din mijloc */
.astro-mp-card { padding: 1.1rem 1.2rem; border: 1px solid var(--astro-form-bordura); border-radius: 6px; background: var(--astro-form-fundal); animation: astro-mp-apare .25s ease-out; }
@keyframes astro-mp-apare { from { opacity: 0; transform: translateY(.4rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .astro-mp-card { animation: none; } }
.astro-mp-start .astro-mp-card { padding: 0; border: 0; border-radius: 0; background: none; animation: none; } /* textul de inceput, fara caseta (caseta ramane la intrebari) */
.astro-mp-titlu { margin: 0 0 .8rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1.15rem; font-weight: 700; }
.astro-mp-ok { margin: 0 0 .6rem; color: var(--astro-ok); font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-mp-oferte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 0 0 1rem; }
@media (max-width: 560px) { .astro-mp-oferte { grid-template-columns: 1fr; } }
.astro-mp-cat, .astro-mp-optiune, .astro-mp-ajutor { font: inherit; cursor: pointer; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; color: #222; transition: background .15s, border-color .15s; }
.astro-mp-cat { padding: 1.1rem .8rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 700; font-size: 1.02rem; color: var(--astro-sus); border: 2px solid var(--astro-sus); border-radius: 6px; }
.astro-mp-cat:hover, .astro-mp-optiune:hover:not(:disabled), .astro-mp-ajutor:hover:not(:disabled) { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-mp-categorie { display: inline-block; margin: 0 0 .6rem; padding: .15rem .7rem; border-radius: 999px; background: var(--astro-sus); color: #fff; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: .03em; }
.astro-mp-intrebare { margin: 0 0 1rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1.45rem; font-weight: 700; line-height: 1.35; color: #111; }
.astro-mp-bara { height: .55rem; background: var(--astro-form-linie); border-radius: 3px; overflow: hidden; }
.astro-mp-bara span { display: block; height: 100%; background: var(--astro-ok); transition: width .2s linear; }
.astro-mp-bara span.putin { background: var(--astro-retro); }
.astro-mp-timp { display: block; margin: .25rem 0 .9rem; text-align: right; font-size: .9rem; color: var(--astro-gri-slab); font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-mp-optiuni { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 0 0 1rem; }
@media (max-width: 560px) { .astro-mp-optiuni { grid-template-columns: 1fr; } }
.astro-mp-optiune { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; text-align: left; min-height: 3.2rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1.08rem; font-weight: 600; color: #111; }
.astro-mp-optiune .lit { flex: none; width: 1.8rem; height: 1.8rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--astro-sus); color: #fff; font-weight: 700; font-size: .9rem; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-mp-optiune.stearsa { visibility: hidden; }
.astro-mp-jos { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-top: .8rem; border-top: 1px solid var(--astro-form-linie); }
.astro-mp-jos .spatiu { flex: 1; }
.astro-mp-ajutor { height: 2.4rem; padding: 0 1rem; font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; border-color: var(--astro-sus); color: var(--astro-sus); }
.astro-mp-ajutor:disabled { opacity: .4; cursor: default; }
/* butonul de retragere, albastru (in confirmare fundalul ramane roz) */
.astro-mp-retrage { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 1rem; border: 0; border-radius: 4px; background: var(--astro-sus); color: #fff; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-mp-retrage:hover { background: var(--astro-sus-hover); }
/* scara din dreapta */
.astro-mp-scara-mica { border: 1px solid var(--astro-form-bordura); border-radius: 6px; overflow: hidden; background: #fff; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-mp-scara-mica h4 { margin: 0; padding: .45rem .7rem; background: var(--astro-sus); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .03em; }
.astro-mp-scara-mica ol { list-style: none; margin: 0; padding: 0; }
.astro-mp-scara-mica li { display: flex; justify-content: space-between; padding: .22rem .7rem; font-size: .9rem; border-bottom: 1px solid #eef1f7; }
.astro-mp-scara-mica li.prag { background: var(--astro-galben-nota); font-weight: 700; }
.astro-mp-scara-mica li.trecut { color: var(--astro-ok); }
.astro-mp-scara-mica li.trecut .nr::after { content: " ✓"; }
.astro-mp-scara-mica li.curent { background: var(--astro-sus); color: #fff; font-weight: 700; }
.astro-mp-final { margin: 0 0 1.6rem; padding: 1.2rem 1.4rem; border: 1px solid var(--astro-form-bordura); border-left: 4px solid var(--astro-sus); border-radius: 0 6px 6px 0; background: var(--astro-info-fundal); }
.astro-mp-final h3 { margin-top: 0; }
.astro-mp-final h3.astro-mp-final-rosu { color: var(--astro-retro); }
/* confirmarea retragerii: butonul se schimba pe loc in textul confirmarii, cu butoanele de confirmare dedesubt */
.astro-mp-retragere.deschis { flex: 1 1 100%; }
.astro-mp-conf { padding: .8rem 1rem; border-left: 4px solid var(--astro-pericol); border-radius: 0 6px 6px 0; background: var(--astro-rosu-nota); font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; animation: astro-mp-apare .2s ease-out; }
.astro-mp-conf p { margin: 0 0 .7rem; font-weight: 600; }
.astro-mp-conf .butoane { display: flex; flex-wrap: wrap; gap: .5rem; }
.astro-mp-conf .nu { height: 2.4rem; padding: 0 1rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.astro-mp-conf .nu:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-mp-indiciu { font-size: .9rem; color: var(--astro-gri-slab); font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }

/* Stergerea contului (Contul meu) */
.astro-sterge-cont summary { cursor: pointer; font-weight: 600; }
.astro-sterge-cont .astro-sterge-buton { background: var(--astro-retro); color: #fff; border: 0; padding: .55rem 1.1rem; border-radius: 4px; cursor: pointer; }
.astro-sterge-cont .astro-sterge-buton:hover { opacity: .85; }
.astro-sterge-cont .astro-pct-form { margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--astro-rosu-nota); border: 0; border-left: 5px solid var(--astro-retro); border-radius: 6px; align-items: flex-end; gap: 1rem 1.6rem; }
.astro-sterge-cont .astro-pct-form p { margin: 0; }
.astro-sterge-cont .astro-pct-form label { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-sterge-cont .astro-pct-form input[type="password"] { height: 2.4rem; padding: 0 .6rem; border: 1px solid var(--astro-form-bordura); border-radius: 4px; background: #fff; }
.astro-sterge-cont .astro-sterge-buton { height: 2.4rem; padding: 0 1.2rem; border: 0; color: #fff; }
.astro-sterge-cont .astro-pct-form .astro-sterge-buton:hover, .astro-sterge-cont .astro-pct-form .astro-sterge-buton:focus-visible { background: color-mix(in srgb, var(--astro-retro) 78%, #000); color: #fff; opacity: 1; }

/* Intrari in semne */
.astro-it-num { width: 4.5rem; }
.astro-it .af-bifa { display: inline-flex; align-items: center; gap: .3rem; }
.astro-it-rez .it-sezon { color: var(--astro-gri-slab); }

/* Avatarele Arthur / Morgana: poza mica e fixa, la marire se vede clipul in bucla (se incarca atunci) */
.astro-avatar { position: relative; overflow-anchor: none; } /* clipul sta peste poza fixa si devine vizibil abia cand ruleaza, ca sa nu apara negru / transparent pe telefoane lente */
.astro-avatar .av-video { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 6px; object-fit: cover; pointer-events: none; opacity: 0; }
.astro-avatar.mare.rulat[data-sex="M"] .av-video-M, .astro-avatar.mare.rulat[data-sex="F"] .av-video-F, .astro-avatar.mare.rulat[data-sex="-"] .av-video-E { display: block; opacity: 1; }
@media (hover: none) { .astro-avatar { transition: none; cursor: default; } } /* pe telefon fara animatia de latime: schimba pagina in timp ce porneste clipul */

/* Calculator eclipse: prescurtarile T / I / H / P / Pn din tabel au fontul legendei (bold, mai mic, fara serif) */
.astro-ecl-tabel td > b { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: .85rem; font-weight: 700; }

.astro-articole-toate { margin: 2.5rem 0 0; }
.astro-articole-toate a { color: var(--astro-accent); font-weight: 600; text-decoration: none; }
.astro-articole-toate a:hover { text-decoration: underline; }

/* Contul meu, persoanele salvate */
.astro-cp .astro-cp-nr { margin: 0 0 .8rem; }
.astro-cp-act { margin: 1rem 0 0; }
.astro-cp-form { margin: 1rem 0 0; }

/* Contul meu, persoanele salvate: lista compacta, un rand pe persoana (avatar | date | stelute), fara derulare pe telefon; clic pe avatar = formularul de modificare / stergere */
.astro-cp-rand { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: .5rem .9rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--astro-linie); }
.astro-cp-rand.in-editare { background: var(--astro-fundal-hover); }
.astro-cp-poza { display: block; padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; line-height: 0; }
.astro-cp-poza:hover, .astro-cp-poza:focus-visible { border-color: var(--astro-sus); }
.astro-cp-sort { margin: 0 0 .6rem; font-size: 1.05rem; }
.astro-cp-sort select { margin-left: .5rem; padding: .35rem .7rem; font: inherit; color: inherit; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-cp-butoane-f { flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.astro-cp-sterge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.astro-cp-butoane-f .af-buton-p:first-child:hover { color: #fff; background: var(--astro-ok); border-color: var(--astro-ok); }
.astro-cp-sterge .af-buton-p:first-child:hover { color: #fff; background: var(--astro-pericol); border-color: var(--astro-pericol); }
.astro-cp-sterge .astro-cp-da { color: #fff; background: var(--astro-pericol); border-color: var(--astro-pericol); }
.astro-cp-sterge .astro-cp-da:hover { color: #fff; background: #c9302c; border-color: #c9302c; }
.astro-cp-av { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.astro-cp-info { min-width: 0; line-height: 1.35; }
.astro-cp-nume { display: block; font-weight: 700; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-cp-loc { color: var(--astro-gri-slab); }
.astro-cp-linie { display: flex; align-items: center; gap: .3rem; min-height: 1.6rem; }
.astro-cp-stea { padding: 0 .35rem; font-size: .85rem; line-height: 1.5; color: #9aa4b5; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-cp-linie .astro-cp-stea { cursor: default; }
.astro-cp-stea.activ { color: var(--astro-accent); border-color: var(--astro-accent); }
.astro-cp-butoane { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem; }
.astro-cp-btn { padding: .2rem .65rem; font-family: inherit; font-size: .88rem; font-weight: 600; color: var(--astro-sus); border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; cursor: pointer; }
.astro-cp-btn:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.astro-cp-btn.rosu { color: #fff; background: var(--astro-retro); border-color: var(--astro-retro); }
.astro-cp-btn.rosu:hover { background: color-mix(in srgb, var(--astro-retro) 80%, #000); }
.astro-cp-intreb { margin-right: .2rem; }
@media (max-width: 640px) {
	.astro-cp-rand { grid-template-columns: 56px minmax(0, 1fr); }
}
.astro-cp-formular { margin: 0; }
.astro-cp-titlu { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-weight: 700; color: var(--astro-sus); }

.astro-cp-gmt { width: 5.2rem; }

/* Fusul orar (GMT) la nastere: casuta e mereu vizibila, completata din istoric */
.astro-formular .astro-gmt-et { display: inline-flex; align-items: center; gap: .35rem; }
.astro-formular .astro-gmt-v { width: 5.6rem; }

/* Adversarul de la sah: la marire se vede clipul in bucla, daca exista */
.sah-video { display: none; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.sah-adv-poza.mare .sah-video.are { display: block; }
.sah-adv-poza.mare .sah-video.are ~ .sah-avatar { display: none; }

/* Poza unei personalitati din baza in loc de avatar (inc/astro-vedeta-foto.php, assets/astro-poza.js): se vede doar cu clasa cu-vedeta, pusa cat datele din formular coincid cu ale personalitatii */
.astro-avatar .av-V { display: none; object-position: center top; }
.astro-avatar.cu-vedeta .av, .astro-avatar.cu-vedeta .av-video { display: none !important; }
.astro-avatar.cu-vedeta .av-V { display: block !important; }
.astro-antet-foto { object-position: center top; }
/* Poza personalitatii patrata si de aceeasi marime cu avatarul, peste tot (formular, antet, Contul meu) */
.astro-avatar .av-V, .astro-antet-foto, .astro-cp-av { aspect-ratio: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 6px; }
.astro-antet-foto { width: var(--av); height: var(--av); }
.astro-cp-av { width: 56px; height: 56px; }
.astro-cp-av { object-position: center top; }

/* Evenimente astro: data si butoanele pe un singur rand, Rx si D ca la Obiecte retrograde */
.astro-ea-tabel td:nth-child(2), .astro-ea-tabel td.ea-btn { white-space: nowrap; }
.astro-ea-tabel .rt-sr { color: var(--astro-retro); font-weight: 700; }
.astro-ea-tabel .rt-sd { color: var(--astro-ok); font-weight: 700; }
.astro-ea-tabel .ea-et { display: inline-flex; align-items: center; gap: .3rem; }
.astro-ea-tabel td.ea-btn .el-harta + .el-harta { margin-left: .3rem; }
.astro-ea-tabel tr.rt-r td { background: #fdf3f1; }
.astro-ea-tabel tr.rt-d td { background: #f2f9f1; }
.astro-ea-tabel tr.astro-tp-m-ar td { background: var(--astro-tp-ar); }
.astro-ea-tabel td.ea-natal { white-space: nowrap; }
.astro-ea-tabel .ea-casa { display: flex; align-items: center; gap: .35rem; margin-bottom: .2rem; font-size: .9rem; color: var(--astro-text-slab); }
.astro-ea-tabel .ea-asp { display: flex; align-items: center; gap: .3rem; line-height: 1.6; }
.astro-ea-tabel .ea-orb { font-size: .85rem; color: #666; }
.astro-ea-tabel .ea-nimic { color: #999; }
.astro-ea-tabel .ea-lent { display: inline-flex; align-items: center; gap: .35rem; }
.astro-ea-tabel .ea-lent > * { display: inline-flex; align-items: center; line-height: 1; }
.astro-ea-tabel .ea-lent .ecl-asp, .astro-ea-tabel .ea-lent svg { display: block; }
.astro-ea-tabel .ea-asp > :not(.ea-orb) { display: inline-flex; align-items: center; line-height: 1; }
.astro-ea-tabel .ea-asp svg { display: block; }
.astro-ea-tabel .ea-asp > .ea-orb { align-self: flex-end; line-height: 1.1; }
.astro-ea-tabel .ea-grup { display: flex; flex-direction: column; gap: .15rem; }
.astro-ea-tabel .ea-grup + .ea-grup { margin-top: .8rem; }
.astro-ea-tabel .ea-casa { margin-bottom: 0; min-height: 1.6rem; }
.astro-ea-tabel .ea-asp { min-height: 1.6rem; }
.astro-ea-tabel .ea-casa > .rt-corp { display: inline-flex; align-items: center; line-height: 1; }
.astro-ea-tabel .ea-casa .astro-tp-casa { margin: 0; align-self: center; }

.astro-legenda .ea-leg-r { background: #fdf3f1; }
.astro-legenda .ea-leg-d { background: #f2f9f1; }
.astro-rt-tabel .rt-impact { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .45rem; }
.astro-rt-tabel .rt-impact > * { display: inline-flex; align-items: center; margin: 0; line-height: 1; }
.astro-rt-tabel .rt-impact svg { display: block; }
.astro-rt-tabel .rt-corp .el-gl svg { width: 22px; height: 22px; }
.astro-rt-rez .rt-rand { grid-template-columns: 2rem minmax(0, 1fr); }

/* Articole si pagini: imaginile (hartile GIF din articolele vechi), video si iframe nu depasesc latimea paginii pe telefon; tabelele late se deruleaza in cadrul lor. */
.wp-block-post-content img, .wp-block-post-content video, .wp-block-post-content iframe { max-width: 100%; height: auto; }
.wp-block-post-content svg { max-width: 100%; } /* fara height: auto, altfel simbolurile SVG (aspecte, planete) iau 150 px inaltime si inalta calendarele */
.wp-block-post-content .table-responsive { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wp-block-post-content div[align] { max-width: 100%; }

/* Setari: bifele cu text lung (ex. aspecte separante cu linie punctata) trec pe randul urmator in loc sa se suprapuna cu coloana vecina. */
.astro-setari .as-bifa { white-space: normal; align-items: center; }
.astro-setari .as-bifa > input[type=checkbox] { flex: none; margin: 0; }
.astro-formular .astro-tr-ev { width: 100%; max-width: 22rem; min-width: 0; }
@media (hover: none) { .astro-sah-tabla { touch-action: manipulation; } } /* pe telefon pagina se poate derula cu degetul peste tabla; mutarea se face doar prin atingere */

/* Tabele compacte cu simboluri (Poziții / Aspecte în detaliu): coloane înguste, centrate pe verticală; casa = număr în chenar albastru. */
.astro-tabel-c { width: auto; min-width: min(100%, 14rem); margin-bottom: 1rem; }
.astro-tabel-c th, .astro-tabel-c td { padding: .2rem .7rem; vertical-align: middle; white-space: nowrap; }
.astro-tabel-c .pm-pl svg { width: var(--astro-simb-tabel, 22px); height: var(--astro-simb-tabel, 22px); }
.astro-tabel-c .pm-pl svg.as-orb-simb { width: var(--astro-simb-aspect, 16px); height: var(--astro-simb-aspect, 16px); vertical-align: middle; }
.astro-tabel-c .tab-ap { color: var(--astro-gri-slab); font-size: .85rem; }
.astro-tabel-c .astro-tp-casa { margin: 0; }

/* Telefonul nu mai mareste singur textul */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 700px) {
	html body { font-size: 17.5px; }
	.astro-bibliografie p { font-size: 16px; }
}

/* Setari pe telefon: nimic nu depaseste latimea panoului (lista Sistemul de case, coloanele cu corpuri, lista punctelor arabice) */
.astro-setari { box-sizing: border-box; max-width: 100%; min-width: 0; }
.astro-setari select { max-width: 100%; min-width: 0; }
@media (max-width: 640px) {
	.astro-setari { padding: .8rem .7rem; }
	.astro-setari .as-col-corpuri { min-width: 0; }
	.astro-setari .as-corpuri { gap: .1rem 1rem; }
	.as-pa-lista { grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
	.astro-setari .as-rub-corp, .astro-setari .as-rub-corp.as-pe-coloane, .astro-setari .el-corp-lista { column-gap: .8rem; }
	.astro-setari .as-bifa { white-space: normal; }
}

/* Formular: ziua, luna, anul si i.Hr. pe un singur rand, casute mai inguste (fara sagetile campului numeric) */
.astro-formular .af-data { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: .4rem; max-width: 100%; }
.astro-formular .af-data input[name="zi"], .astro-formular .af-data input[name="zi2"], .astro-formular .af-data input[name="tr_zi"], .astro-formular .af-data input[name="d_zi"] { width: 3.2rem; padding: 0 .4rem; text-align: center; }
.astro-formular .af-data input[name="an"], .astro-formular .af-data input[name="an2"], .astro-formular .af-data input[name="tr_an"], .astro-formular .af-data input[name="d_an"] { width: 4.6rem; padding: 0 .4rem; text-align: center; }
.astro-formular .af-data select[name="luna"], .astro-formular .af-data select[name="luna2"], .astro-formular .af-data select[name="tr_luna"], .astro-formular .af-data select[name="d_luna"] { width: auto; min-width: 0; max-width: 7.5rem; padding: 0 .3rem; }
.astro-formular .af-data input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.astro-formular .af-data input[type="number"]::-webkit-outer-spin-button, .astro-formular .af-data input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.astro-formular .af-data .af-bifa { white-space: nowrap; }
/* Perioada la calculatoare (eclipse, electiv...): zi, luna, an pe un singur rand */
.astro-ecl-formular .af-data, .af-rand .af-data { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: .4rem; max-width: 100%; }
.af-data input[name$="_zi"] { width: 3.2rem; padding: 0 .4rem; text-align: center; }
.af-data input[name$="_an"], .astro-ecl-formular .af-data input.ecl-an { width: 4.6rem; padding: 0 .4rem; text-align: center; }
.af-data select[name$="_luna"] { width: auto; min-width: 0; max-width: 7.5rem; padding: 0 .3rem; }
.af-data input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.af-data input[type="number"]::-webkit-outer-spin-button, .af-data input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Setari: eticheta deasupra listei (select), direct pe doua randuri */
.astro-setari label.as-eticheta { display: block; }
.astro-setari label.as-eticheta select { display: block; margin-top: .3rem; max-width: 100%; }
/* Reveniri: tabelul nu se strange pe telefon, se deruleaza orizontal */
.astro-rv-tabel { min-width: 36rem; }
.astro-rv-tabel th, .astro-rv-tabel td { white-space: nowrap; }
/* Tranzite, progresii si arce: tabelul nu se strange pe telefon, se deruleaza orizontal */
.astro-tp-lat { min-width: 32rem; }
.astro-tp-lat th, .astro-tp-lat td { white-space: nowrap; }

/* Perioade favorabile pe telefon: prima linie = legatura, paranteza, NU, paranteza de inchidere; sub ea felul conditiei, apoi campurile ei, fiecare pe toata latimea */
@media (max-width: 640px) {
	.astro-el .el-rand { grid-template-columns: auto auto auto minmax(0, 1fr) auto; }
	.astro-el .el-conn { min-width: 0; }
	.astro-el .el-tip { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
	.astro-el .el-f { grid-column: 1 / -1; grid-row: 3; }
}
/* Obiecte retrograde: tabelele nu se strang pe telefon, se deruleaza orizontal */
.astro-rt-tabel { min-width: 36rem; }
.astro-rt-tabel th, .astro-rt-tabel td { white-space: nowrap; }
/* Aspecte exacte: tabelul nu se strange pe telefon, se deruleaza orizontal */
.astro-ae-tabel { min-width: 38rem; }
.astro-ae-tabel th, .astro-ae-tabel td { white-space: nowrap; }
/* Intrari in semne: tabelul nu se strange pe telefon, se deruleaza orizontal */
.astro-it-tabel { min-width: 36rem; }
.astro-it-tabel th, .astro-it-tabel td { white-space: nowrap; }
/* Evenimente astro: tabelul nu se strange pe telefon, se deruleaza orizontal */
.astro-ea-tabel { min-width: 38rem; }
.astro-ea-tabel th, .astro-ea-tabel td { white-space: nowrap; }

/* Evenimente astro: simbolurile din coloana "In harta ta" au aceeasi marime (18 px) si stau pe aceeasi linie */
.astro-ea-tabel .ea-asp, .astro-ea-tabel .ea-casa { gap: .4rem; }
.astro-ea-tabel .ea-asp svg, .astro-ea-tabel .ea-casa svg { width: 22px; height: 22px; flex: none; display: block; }
.astro-ea-tabel .ea-asp .el-gl, .astro-ea-tabel .ea-asp .rt-corp, .astro-ea-tabel .ea-asp .ae-asp { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: none; }
/* Evenimente astro: simbolul de la inceputul randului nu se micsoreaza cand textul e lung (Soarele de la eclipsa inelara) */
.astro-ea-tabel .ea-et svg { flex: none; width: 22px; height: 22px; min-width: 22px; }
.astro-ea-tabel .ea-et .el-gl { flex: none; display: inline-flex; align-items: center; }

/* Calculatoare: toate simbolurile din tabele (planete, aspecte, semne la pozitii) au aceeasi marime, 22 px (valoarea comuna a glifelor) */
:root { --astro-simb-tabel: 22px; }
.astro-ecl-tabel svg.ap-gl, .astro-ecl-tabel svg.ecl-asp, .astro-ecl-tabel .ecl-semn svg,
.astro-tp-tabel svg.ap-gl, .astro-tp-tabel svg.ecl-asp, .astro-tp-tabel svg.as-orb-simb, .astro-tp-tabel .el-gl svg, .astro-tp-tabel .rt-corp svg, .astro-tp-tabel .pm-pl svg, .astro-tp-tabel .ae-asp svg, .astro-tp-tabel .ecl-semn svg,
.astro-el-tabel svg.ap-gl, .astro-el-tabel svg.ecl-asp, .astro-el-tabel svg.as-orb-simb, .astro-el-tabel .el-gl svg, .astro-el-tabel .rt-corp svg, .astro-el-tabel .pm-pl svg, .astro-el-tabel .ae-asp svg, .astro-el-tabel .ecl-semn svg {
	width: var(--astro-simb-tabel) !important; height: var(--astro-simb-tabel) !important; flex: none;
}
.astro-tp-tabel .pm-pl, .astro-el-tabel .pm-pl, .astro-tp-tabel .ea-asp .ae-asp { width: var(--astro-simb-tabel); height: var(--astro-simb-tabel); }
/* ... dar simbolurile aspectelor au 16 px */
:root { --astro-simb-aspect: 16px; }
.astro-ecl-tabel svg.ecl-asp, .astro-tp-tabel svg.ecl-asp, .astro-tp-tabel svg.as-orb-simb, .astro-tp-tabel .ae-asp svg, .astro-el-tabel svg.ecl-asp, .astro-el-tabel svg.as-orb-simb, .astro-el-tabel .ae-asp svg {
	width: var(--astro-simb-aspect) !important; height: var(--astro-simb-aspect) !important;
}
.astro-tp-tabel .ea-asp .ae-asp, .astro-ea-tabel .ea-asp .ae-asp { width: var(--astro-simb-aspect); height: var(--astro-simb-aspect); }

/* Prima pagina, Articole recente, pe telefon: imaginea si titlul pe primul rand, rezumatul dedesubt pe toata latimea */
@media (max-width: 520px) {
	.astro-articole-recente .aar { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 1rem; row-gap: .5rem; align-items: start; }
	.astro-articole-recente .aar-text { display: contents; }
	.astro-articole-recente .aar-poza { grid-column: 1; grid-row: 1; }
	.astro-articole-recente .aar-titlu { grid-column: 2; grid-row: 1; align-self: start; }
	.astro-articole-recente .aar-rezumat { grid-column: 1 / -1; grid-row: 2; margin: 0; }
}

/* Telefon: tabelele Pozitii / Aspecte in detaliu (nowrap) se deruleaza orizontal daca nu incap */
@media (max-width: 640px) {
	.astro-tabel-c { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Jurnal: cautarea cu alegerea categoriei, rezultatele sunt linkuri */
.astro-jcal-cauta { display: flex; gap: .4rem; max-width: 34rem; }
.astro-jcal-cauta .astro-jcal-cat-sel { flex: 0 0 auto; box-sizing: border-box; height: 2.4rem; padding: 0 .5rem; font-size: 1rem; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; }
.astro-jcal-cauta input { flex: 1 1 auto; min-width: 0; width: auto; }
a.astro-jcal-rez { text-decoration: none; color: inherit; }
a.astro-jcal-rez { box-sizing: border-box; min-width: 0; }
.astro-jcal-rezultate { overflow-x: hidden; }
.astro-jcal-rez-t { min-width: 0; }

/* Jurnal: caseta mare de la hover peste o zi (ca la calendarul mic) */
.astro-jcal-tip { position: fixed; z-index: 1000; width: max-content; max-width: min(22rem, calc(100vw - 16px)); padding: .6rem .8rem; border-radius: 6px; background: var(--astro-antet); color: var(--astro-antet-text); font-size: .9rem; line-height: 1.45; text-align: left; pointer-events: none; }
.astro-jcal-tip[hidden] { display: none; }
.astro-jcal-tip-data { font-weight: 700; margin-bottom: .2rem; }
.astro-jcal-tip-ev { opacity: .85; }
.astro-jcal-tip-nota { display: flex; align-items: baseline; gap: .4rem; margin-top: .25rem; }
.astro-jcal-tip-nota .astro-jcal-punct { flex: none; }
.astro-jcal-tip-nota b { font-weight: 700; }

/* Telefon: lista Articole si rezultatele cautarii ca la Articole recente (imaginea mica + titlul pe primul rand, rezumatul dedesubt) */
@media (max-width: 520px) {
	.astro-articole-pagina .aar { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 1rem; row-gap: .5rem; align-items: start; }
	.astro-articole-pagina .aar-text { display: contents; }
	.astro-articole-pagina .aar-poza { grid-column: 1; grid-row: 1; }
	.astro-articole-pagina .aar-poza, .astro-articole-pagina .aar-img { width: 110px; }
	.astro-articole-pagina .aar-img { height: 62px; }
	.astro-articole-pagina .aar-titlu { grid-column: 2; grid-row: 1; align-self: start; }
	.astro-articole-pagina .aar-rezumat { grid-column: 1 / -1; grid-row: 2; margin: 0 !important; }
}

/* Carduri prima pagina: titlul mai aproape de text, linkul de jos ca un text obisnuit */
.astro-card { gap: 0; }
.astro-card > span:not(.astro-card-act) { margin: 0 !important; }
.astro-card-titlu { line-height: 1.3; margin-bottom: .6rem !important; }
.astro-card-text { margin-bottom: .5rem !important; }
.astro-card-act { margin-top: auto !important; padding-top: 0 !important; font-weight: 600; color: var(--astro-accent); }

/* Pozitiile din tabelele de evenimente (Evenimente astro, Lunatii progresate): acelasi rand ca aspectele din coloana In harta ta */
.astro-ea-tabel .ea-poz { display: flex; align-items: center; gap: .4rem; min-height: 1.6rem; line-height: 1.6; }
.astro-ea-tabel .ea-poz > * { display: inline-flex; align-items: center; line-height: 1; }
.astro-ea-tabel .ea-poz svg { display: block; }

/* Perioada (De la / Pana la): textul are aceeasi latime, ca zilele, lunile si anii din cele doua randuri sa fie aliniate pe verticala */
.astro-ecl-formular span.af-bifa:has( > .af-data ) { display: grid; grid-template-columns: 4.4rem auto; align-items: center; gap: 0 .4rem; }

/* Casuta GMT se completeaza singura: fundal verde care se stinge lent */
@keyframes astro-gmt-schimbat { from { background-color: #5fd47a; } to { background-color: #fff; } }
input.gmt-schimbat { animation: astro-gmt-schimbat 1.6s ease-out; }
@media (prefers-reduced-motion: reduce) { input.gmt-schimbat { animation: none; } }

.astro-lu-tabel .lu-faza { flex: none; display: block; }

.astro-avatar.fix { cursor: default; transition: none; }

.astro-avatar { cursor: default; transition: none; }

.astro-gandalf-img { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.astro-gandalf-img img { -webkit-user-drag: none; }

/* Topuri pe telefon: celule mai strânse, cuvintele nu se rup în litere */
@media (max-width: 480px) {
	.astro-look-top th, .astro-look-top td { padding: .4rem .3rem; font-size: .9rem; overflow-wrap: normal; word-break: normal; }
	.astro-look-top th { font-size: .8rem; hyphens: none; }
}

/* Zener: cele cinci carti raman pe un singur rand, si pe telefon */
.astro-zener-carti { flex-wrap: nowrap; gap: clamp(.35rem, 2vw, 1rem); }
.astro-zener-carte { flex: 0 1 112px; width: auto; min-width: 0; }

/* Jocul de memorie */
.astro-memorie { max-width: 46rem; margin: 0; }
.astro-mem-start[hidden], .astro-mem-joc[hidden] { display: none; }
.astro-mem-start { text-align: center; }
.astro-mem-start .astro-quiz-butoane { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.astro-mem-start .astro-mem-porneste { width: 15rem; max-width: 100%; margin: 0; }
.astro-mem-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin: 0 0 1rem; font-family: Roboto, "Open Sans", "Segoe UI", Arial, sans-serif; color: var(--astro-sus); }
.astro-mem-cap b { font-weight: 700 !important; }
.astro-mem-tabla { display: grid; grid-template-columns: repeat( var(--col, 6), minmax( 0, 1fr ) ); gap: clamp( .3rem, 1.6vw, .7rem ); max-width: 40rem; margin: 0 auto; }
.mem-carte { will-change: transform; position: relative; aspect-ratio: 1 / 1; padding: 0; border: 2px solid var(--astro-form-bordura); border-radius: 8px; background: #fff; cursor: pointer; transform-style: preserve-3d; transition: transform .35s ease, border-color .2s ease; }
.mem-carte .mem-fata, .mem-carte .mem-spate { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mem-carte .mem-spate { background: var(--astro-sus); color: #fff; font-size: clamp( 1rem, 5vw, 1.8rem ); }
.mem-carte .mem-fata { transform: rotateY( 180deg ); background: #fff; color: var(--astro-antet); }
.mem-carte.intoarsa { transform: rotateY( 180deg ); cursor: default; }
.mem-carte.potrivita { border-color: var(--astro-ok); }
@media (hover: hover) { .astro-mem-tabla .mem-carte:not(.intoarsa):hover .mem-spate { background: color-mix( in srgb, var(--mc) 62%, var(--mt) 38% ); } }
.mem-carte:focus-visible { outline: 3px solid var(--astro-sus); outline-offset: 2px; }
.mem-carte .mem-fata { container-type: size; }
.mem-gl { display: block; width: 60cqmin; height: 60cqmin; stroke-width: 1.9; overflow: visible; transform: translateZ( 0 ); }
.mem-sg { font-size: 60cqmin; line-height: 1; }
.mem-carte .mem-el-0 { color: var(--astro-foc); } .mem-carte .mem-el-1 { color: var(--astro-pamant); } .mem-carte .mem-el-2 { color: var(--astro-aer); } .mem-carte .mem-el-3 { color: var(--astro-apa); }
.astro-mem-msg { min-height: 1.6em; margin: .8rem 0 0; text-align: center; font-weight: 700; color: var(--astro-ok); }
.astro-mem-final { text-align: center; margin: 1.2rem 0; }
@media (prefers-reduced-motion: reduce) { .mem-carte { transition: none; } }
.astro-mem-porneste[data-nivel="1"]  { --mc: var(--astro-mem-1); --mt: var(--astro-mem-1-t); }
.astro-mem-porneste[data-nivel="2"] { --mc: var(--astro-mem-2); --mt: var(--astro-mem-2-t); }
.astro-mem-porneste[data-nivel="3"] { --mc: var(--astro-mem-3); --mt: var(--astro-mem-3-t); }
.astro-mem-porneste[data-nivel="4"] { --mc: var(--astro-mem-4); --mt: var(--astro-mem-4-t); }
.astro-mem-porneste { background: var(--mc); color: var(--mt); border-color: var(--mt); }
.astro-mem-porneste:hover { background: var(--mt); color: #fff; }
.astro-mem-tabla.niv-1 { --mc: var(--astro-mem-1); --mt: var(--astro-mem-1-t); }
.astro-mem-tabla.niv-2 { --mc: var(--astro-mem-2); --mt: var(--astro-mem-2-t); }
.astro-mem-tabla.niv-3 { --mc: var(--astro-mem-3); --mt: var(--astro-mem-3-t); }
.astro-mem-tabla.niv-4 { --mc: var(--astro-mem-4); --mt: var(--astro-mem-4-t); }
.astro-mem-tabla .mem-carte .mem-spate { background: var(--mc); color: var(--mt); }

/* Text de baza mai mic pe telefon (17 px in loc de 18,4 px) */
@media (max-width: 640px) { html body { font-size: 17px; } }

/* Cum strangi puncte: actiunea cu limita dedesubt (text mic, gri), punctele in coloana din dreapta */
.astro-pct-actiuni td:last-child, .astro-pct-actiuni th:last-child { width: 5.5rem; text-align: center; }
.astro-pct-lim { display: block; margin-top: .2rem; font-size: .85em; line-height: 1.4; color: var(--astro-gri-slab); }

.astro-pct-stele { display: flex; gap: .25rem; margin-top: .4rem; }
.astro-pct-stea { fill: var(--astro-linie); stroke: none; }
.astro-pct-stea.aprinsa { fill: var(--astro-aur); }

/* Contul meu, Ce ai deblocat: cate un bloc pe lucru, cu cate / total in gri si denumirile dedesubt */
.astro-cm-deb { display: grid; gap: .9rem; margin: 0 0 1.2rem; }
.astro-cm-deb-i b { font-size: 1.05rem; }
.astro-cm-deb-n { margin-left: .3rem; color: var(--astro-gri-slab); font-size: .95rem; }
.astro-cm-deb-act { display: block; }
.astro-cm-deb-i .astro-pct-mic { display: block; margin: .1rem 0 0; }

/* Link in forma de buton mic (Contul meu: Deschide colectia, Vezi cum) */
a.astro-link-buton { display: inline-block; margin-top: .4rem; padding: .2rem .65rem; line-height: normal; letter-spacing: normal; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; background: #fff; color: var(--astro-sus); font-family: inherit; font-size: .88rem; font-weight: 600; text-decoration: none; }
a.astro-link-buton:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }

/* Contul meu, Localitatea actuala: Salveaza si Sterge mereu pe acelasi rand (pe telefon, sub localitate si GMT) */
.astro-cl-butoane { display: flex; flex: 0 0 100%; flex-wrap: wrap; align-items: center; gap: .5rem; }
.astro-cl-butoane [hidden] { display: none !important; }


/* Luna ca numar (1..12), ca ziua si anul: fara lista cu buline pe telefon */
.astro-formular .af-data input[name="luna"], .astro-formular .af-data input[name="luna2"], .astro-formular .af-data input[name="tr_luna"], .astro-formular .af-data input[name="d_luna"], .af-data input[name$="_luna"] { width: 3.6rem; padding: 0 .4rem; text-align: center; }

/* Localitatea actuala (Contul meu): aceleasi culori ca la persoane, verde la Salveaza, rosu la Sterge, cu confirmare */
.astro-cl-butoane .astro-cl-salveaza:hover { color: #fff; background: var(--astro-ok); border-color: var(--astro-ok); }
.astro-cl-butoane .astro-cl-sterge:hover { color: #fff; background: var(--astro-pericol); border-color: var(--astro-pericol); }
.astro-cl-conf { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.astro-cl-conf .astro-cl-da { color: #fff; background: var(--astro-pericol); border-color: var(--astro-pericol); }
.astro-cl-conf .astro-cl-da:hover { background: #c9302c; border-color: #c9302c; }
.astro-cp-butoane-f [hidden] { display: none !important; }

/* Contul meu, perioadele fara reclame: lista, nu tabel (incape pe telefon fara derulare) */
.astro-cm-per { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .8rem; padding: .6rem 0; border-bottom: 1px solid var(--astro-linie); }
.astro-cm-per-date { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-cm-per-stare { text-align: right; color: var(--astro-gri-slab); }
.astro-cm-per-cum { grid-column: 1 / -1; color: var(--astro-gri-slab); }

/* Contul meu: sectiuni ascunse (Ce ai primit, Ce ai deblocat), titlul ca la celelalte h2, cu sageata */
.astro-cm-det > summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem; cursor: pointer; list-style: none; }
.astro-cm-det > summary::-webkit-details-marker { display: none; }
.astro-cm-det > summary h2 { margin: 0; }
.astro-cm-det > summary::after { content: ''; flex: 0 0 auto; width: .6rem; height: .6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.astro-cm-det[open] > summary::after { transform: rotate(-135deg); }

/* Contul meu (31.10.2026): titluri mai mici, butonul Salveaza sub bifa */
.astro-contul-meu h2 { font-size: 1.35rem; }
.astro-contul-meu .astro-cm-det > summary h2 { font-size: 1.35rem; }
.astro-contul-meu .astro-pct-form { flex-direction: column; align-items: flex-start; gap: .8rem; }
.astro-contul-meu .astro-cm-det { padding-bottom: .9rem; border-bottom: 1px solid var(--astro-linie); }
.astro-contul-meu .astro-cm-det + .astro-cm-det, .astro-contul-meu .astro-cm-det + .astro-pct-form { margin-top: .9rem; }
.astro-contul-meu .astro-pct-form { border-top: 0; margin-top: 1.2rem; padding-top: 0; }
.astro-contul-meu .astro-cm-det .astro-cm-per:last-child { border-bottom: 0; }
.astro-cm-deb-link { color: var(--astro-accent); font-weight: 700; text-decoration: none; }
.astro-cm-deb-link:hover { text-decoration: underline; }
.astro-contul-meu h2.astro-cm-linie { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--astro-linie); }

/* Panoul de nivel (31.10.2026): total mare, luna mai mica, pe calculator totul pe un rand */
.astro-pct-panou { grid-template-columns: 1fr 1fr; }
.astro-pct-panou .astro-pct-nivel, .astro-pct-panou .astro-pct-total { grid-column: 1 / -1; }
.astro-pct-total .astro-pct-mare { font-size: 2.6rem; }
.astro-pct-luna .astro-pct-mare, .astro-pct-serie .astro-pct-mare { font-size: 1.5rem; }
.astro-pct-luna .astro-pct-eticheta, .astro-pct-serie .astro-pct-eticheta { font-size: .9rem; font-weight: 400; color: var(--astro-text-gri); }
@media (min-width: 900px) {
	.astro-pct-panou { grid-template-columns: auto 1fr auto auto; gap: 1rem 3rem; }
	.astro-pct-panou .astro-pct-nivel, .astro-pct-panou .astro-pct-total { grid-column: auto; margin-bottom: 0; }
}
.astro-cp-lista > .astro-cp-rand:last-child { border-bottom: 0; }
.astro-contul-meu .astro-cm-det { border-top: 1px solid var(--astro-linie); padding-top: .9rem; }
.astro-contul-meu .astro-cm-det + .astro-cm-det { border-top: 0; padding-top: 0; }

/* Jurnal, fereastra zilei (1.11.2026): notitele sunt randuri pe care se da clic (modificare / stergere in formular), fara butoane */
.astro-jcal-card.click { position: relative; padding-right: 2rem; cursor: pointer; }
.astro-jcal-card.click::after { content: ''; position: absolute; right: .9rem; top: 50%; width: .55rem; height: .55rem; border-top: 2px solid #9aa4b5; border-right: 2px solid #9aa4b5; transform: translateY(-50%) rotate(45deg); }
.astro-jcal-card.click:hover, .astro-jcal-card.click:focus-visible { background: #eef3fb; border-color: var(--astro-albastru-mediu); outline: 0; }
.astro-jcal-card.click:hover::after { border-color: #1e3a5f; }
.astro-jcal-card-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.astro-jcal-form-jos .astro-jurnal-sterge { margin-left: auto; height: 2rem; padding: 0 .8rem; font-size: .9rem; }
.astro-jcal-adauga { height: 2.4rem; padding: 0 1.2rem; font: inherit; font-size: 1rem; font-weight: 700; color: #fff; background: var(--astro-sus); border: 0; border-radius: 4px; cursor: pointer; }
.astro-jcal-adauga:hover { background: var(--astro-antet); }
/* Jurnal, butoanele formularului ca la Persoanele salvate din Contul meu */
.astro-jcal-form-jos { flex-wrap: wrap; align-items: center; }
.astro-jcal-form .af-buton-p { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .9rem; font-family: inherit; font-size: 1rem; font-weight: 400; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.astro-jcal-form .af-buton-p svg { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.astro-jcal-form .astro-jcal-ok:hover { color: #fff; background: var(--astro-ok); border-color: var(--astro-ok); }
.astro-jcal-sterge-zona { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.astro-jcal-sterge-zona .astro-jcal-sterge:hover { color: #fff; background: var(--astro-pericol); border-color: var(--astro-pericol); }
.astro-jcal-sterge-zona .astro-jcal-da { color: #fff; background: var(--astro-pericol); border-color: var(--astro-pericol); }
.astro-jcal-sterge-zona .astro-jcal-da:hover { color: #fff; background: #c9302c; border-color: #c9302c; }
.astro-jcal-form-jos [hidden] { display: none !important; }

/* Tarot: pregatirea pachetului (amestecare, taiere), descrierea pozitiei si Creeaza etalare */
:root { --astro-cv-fundal: var(--astro-form-fundal); --astro-cv-bordura: #c9d6e8; }
.astro-tarot-pachet { text-align: center; margin: 1.2rem 0; }
.astro-tarot-pachet-text { margin: 0 0 1rem; }
.astro-tarot-deck { position: relative; width: 112px; height: 190px; margin: 0 auto 1.2rem; isolation: isolate; }
.astro-tarot-dc { position: absolute; display: block; width: 110px; height: auto; border-radius: 4px; border: 1px solid var(--astro-cv-bordura); }
.astro-tarot-pachet-butoane { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 0 0 .8rem; }
.astro-tarot-pb { font: inherit; padding: .45rem 1rem; border: 1px solid var(--astro-sus); background: transparent; color: var(--astro-sus); border-radius: 4px; cursor: pointer; }
.astro-tarot-pb:hover { background: var(--astro-sus); color: #fff; }
.astro-tarot-pb.principal { background: var(--astro-ok); border-color: var(--astro-ok); color: #fff; }
.astro-tarot-pb:disabled { opacity: .5; cursor: default; }
.astro-tarot-taiere p { margin: 0 0 .4rem; }
.astro-tarot-taiere-fasii { position: relative; height: 3.2rem; max-width: 30rem; margin: 0 auto; background: var(--astro-cv-fundal); border: 1px solid var(--astro-cv-bordura); border-radius: 4px; }
.astro-tarot-fasie { position: absolute; top: 0; bottom: 0; width: 5%; margin-left: -2.5%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.astro-tarot-fasie::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; border-left: 1px dashed var(--astro-sus); }
.astro-tarot-fasie:hover { background: var(--astro-cv-bordura); }
.astro-tarot-pozdesc { margin: 0 0 .4rem; font-style: italic; opacity: .75; }
.astro-tarot-formular .astro-tarot-creeaza { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .9rem; background: #2e8b57; border: 1px solid #2e8b57; border-radius: 4px; color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-tarot-formular .astro-tarot-creeaza:hover, .astro-tarot-formular .astro-tarot-creeaza.activ { background: #267349; border-color: #267349; }
.astro-tarot-creator { margin: 1rem 0; padding: 1rem; background: var(--astro-cv-fundal); border: 1px solid var(--astro-cv-bordura); border-radius: 6px; }
.astro-tarot-cv-text { margin: 0 0 .7rem; }
.astro-tarot-cv-bara, .astro-tarot-cv-jos { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .7rem; }
.astro-tarot-creator button { font: inherit; padding: .35rem .8rem; border: 1px solid var(--astro-sus); background: transparent; color: var(--astro-sus); border-radius: 4px; cursor: pointer; }
.astro-tarot-creator button:hover:not(:disabled) { background: var(--astro-sus); color: #fff; }
.astro-tarot-creator button:disabled { opacity: .45; cursor: default; }
.astro-tarot-creator .cv-salveaza { background: var(--astro-ok); border-color: var(--astro-ok); color: #fff; }
.astro-tarot-creator input[type=text] { font: inherit; padding: .35rem .6rem; border: 1px solid var(--astro-cv-bordura); border-radius: 4px; min-width: 12rem; flex: 1 1 12rem; }
.astro-tarot-cv { position: relative; height: 520px; background: #fff; border: 1px dashed var(--astro-cv-bordura); border-radius: 4px; margin-bottom: .7rem; overflow: hidden; touch-action: none; }
.cv-slot { position: absolute; width: 60px; height: 100px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--astro-cv-fundal); border: 2px solid var(--astro-cv-bordura); border-radius: 4px; cursor: grab; user-select: none; }
.cv-slot.sel { border-color: var(--astro-sus); }
.cv-slot.trage { cursor: grabbing; z-index: 5; }
.cv-slot b { font: inherit; font-weight: 700; font-size: 1.1rem; }
.cv-slot-et { font-size: .62rem; line-height: 1.15; padding: 0 2px; overflow: hidden; max-height: 4.6em; word-break: break-word; }
.astro-tarot-cv-salvate { list-style: none; margin: 0; padding: 0; }
.astro-tarot-cv-salvate li { display: flex; gap: .5rem; align-items: center; padding: .25rem 0; }
.cv-sal-nume { flex: 1 1 auto; font-weight: 700; }
.astro-tarot-creator .cv-mic { padding: .15rem .6rem; font-size: .85rem; }
.astro-tarot-creator .cv-mic-sterge { border-color: var(--astro-pericol); color: var(--astro-pericol); }
@media (max-width: 640px) { .astro-tarot-cv { height: 420px; } }
.astro-tarot-et-act { display: inline-flex; gap: .4rem; align-items: center; }
.astro-tarot-et-act[hidden] { display: none; }
.astro-tarot-et-b { font: inherit; font-size: .9rem; padding: .3rem .7rem; border: 1px solid var(--astro-sus); background: transparent; color: var(--astro-sus); border-radius: 4px; cursor: pointer; }
.astro-tarot-et-b:hover { background: var(--astro-sus); color: #fff; }
.astro-tarot-et-b.sterge { border-color: var(--astro-pericol); color: var(--astro-pericol); }
.astro-tarot-et-b.sterge:hover { background: var(--astro-pericol); color: #fff; }
.astro-tarot-formular[hidden] { display: none; }

/* Constructor Tarot: randul de carti (se ridica la hover, se trag pe pozitii) */
.astro-tarot-g-grila { display: flex; flex-wrap: nowrap; gap: .3rem; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 1.1rem .2rem .5rem; touch-action: pan-x; scrollbar-width: thin; }
.astro-tarot-mini { flex: 0 0 auto; width: 84px; user-select: none; -webkit-user-select: none; touch-action: pan-x; }
.astro-tarot-mini img { width: 72px; -webkit-user-drag: none; transition: transform .18s ease-out; }
.astro-tarot-mini:hover:not(:disabled) img { transform: translateY(-.9rem); }
.astro-tarot-mini.ridicata { opacity: .3; }
.astro-tarot-carte.ridicata { opacity: .35; }
.astro-tarot-carte.tinta { outline: 3px solid #2e8b57; outline-offset: 3px; }
.astro-tarot-masa .astro-tarot-carte img { -webkit-user-drag: none; user-select: none; }
.astro-tarot-ghost { position: fixed; left: 0; top: 0; z-index: 100000; pointer-events: none; border-radius: 4px; will-change: transform; }
.astro-tarot-ghost.lipit { transition: transform .12s ease-out; }

/* Tarot: dupa Ok se vede doar numele etalarii */
.astro-tarot-titlu-et { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 1.2rem 0 .6rem; }
.astro-tarot-titlu-et[hidden] { display: none; }
.astro-tarot-titlu-et h2 { margin: 0; }
.astro-tarot.ok-facut .astro-tarot-formular, .astro-tarot.ok-facut .astro-tarot-vitrina { display: none; }

/* Tarot: taierea pachetului (cartile se rasfira, cele de la mouse in sus se ridica) */
.astro-tarot-deck { transition: width .35s ease; }
.astro-tarot-dc { transition: left .35s ease, top .35s ease, transform .3s ease; }
.astro-tarot-deck.rasfirat .astro-tarot-dc { cursor: pointer; }
.astro-tarot-deck.rasfirat .astro-tarot-dc.sus { transform: translateY(-14px); }
.astro-tarot-rune .astro-tarot-dc { border: 0; border-radius: 0; } /* imaginile de rune sunt WebP cu colturi transparente */
.astro-tarot-taiere-ind { margin: 0 0 .8rem; }
.astro-tarot-taiere-ind[hidden] { display: none; }

/* Tarot: cartea intoarsa devine plata (fara 3D), ca sa nu se vada tulbure */
.astro-tarot-carte.intoarsa.fixa .astro-tarot-int { transition: none; transform: none; transform-style: flat; }
.astro-tarot-carte.intoarsa.fixa .astro-tarot-spate { display: none; }
.astro-tarot-carte.intoarsa.fixa .astro-tarot-fata { transform: none; backface-visibility: visible; -webkit-backface-visibility: visible; }

.astro-tarot-cv-bara .cv-snap { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.astro-tarot-masa.mici .astro-tarot-nr { display: none; }
@media (max-width: 700px) { .astro-tarot-creator .astro-tarot-cv-jos input.cv-nume { flex: 1 1 100%; } }

.astro-nl-form .astro-pct-form { flex-direction: column; align-items: flex-start; gap: .8rem; border-top: 0; margin-top: 0; padding-top: 0; } /* pagina Newsletter: butonul sub bifa */

/* telefon: fara fulgerul albastru / gri care apare o clipa la atingerea linkurilor, imaginilor si butoanelor (nu are legatura cu focusul de la tastatura) */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, label, img, [role="button"], [tabindex] { -webkit-tap-highlight-color: transparent; }

/* Fisa personalitatii pe telefon: butoanele pe toata latimea, iar Sinastrie / Harta compusa / Harta Davison pe un singur rand, in trei coloane egale */
@media (max-width: 640px) {
	.astro-vedeta-actiuni { gap: .6rem; }
	.astro-vedeta-actiuni > a.astro-vedeta-compat, .astro-vedeta-actiuni > .astro-vedeta-salveaza { flex: 0 0 100%; justify-content: center; }
	.astro-vedeta-rand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
	.astro-vedeta-rand .astro-vedeta-compat { justify-content: center; height: auto; min-height: 2.4rem; padding: .35rem .4rem; text-align: center; font-size: .85rem; line-height: 1.2; }
	.astro-vedeta-mesaj:empty { display: none; }
}

/* Ghiceste cartea */
.astro-gc { max-width: 44rem; margin: 0; }
.astro-gc-start, .astro-gc-joc, .astro-gc-final { margin-top: 1rem; }
.astro-gc-start[hidden], .astro-gc-joc[hidden], .astro-gc-final[hidden] { display: none; }
.astro-gc-titlu { margin: 1.4rem 0 .6rem; font-size: 1.1rem; }
.astro-gc-grupa { display: flex; flex-wrap: wrap; gap: .5rem; }
.astro-gc-alege { padding: .5rem .9rem; border: 1px solid var(--astro-fundal-hover); border-radius: 4px; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.astro-gc-alege:hover { border-color: var(--astro-sus); }
.astro-gc-alege.ales { border-color: var(--astro-sus); background: var(--astro-sus); color: #fff; }
.astro-gc-mic { margin: .6rem 0 0; color: var(--astro-gri-slab); font-size: .9rem; }
.astro-gc-dif { display: grid; gap: .5rem; }
.astro-gc-dificultate { display: grid; grid-template-columns: auto 6rem 1fr; align-items: center; gap: .7rem; padding: .6rem .9rem; border: 1px solid var(--astro-fundal-hover); border-left: 4px solid var(--astro-fundal-hover); border-radius: 4px; background: #fff; cursor: pointer; }
.astro-gc-dificultate.ales { border-left-color: var(--astro-sus); }
.astro-gc-dificultate span { color: var(--astro-gri-slab); font-size: .92rem; }
.astro-gc-pts { font-weight: 600; }
.astro-gc-cadru { position: relative; width: min(100%, 20rem); margin: 1rem auto .6rem; background: var(--astro-fundal-hover); border: 0; border-radius: 6px; overflow: hidden; }
.astro-gc-cadru::before { content: ""; position: absolute; inset: 0; box-sizing: border-box; border: 1px solid var(--astro-sus); border-radius: 6px; pointer-events: none; }
.astro-gc-img { position: absolute; display: block; max-width: none; opacity: 0; transition: opacity .6s ease; }
.astro-gc-img.vizibil { opacity: 1; }
.astro-gc-bara { height: .55rem; width: min(100%, 20rem); margin: 0 auto 1rem; background: var(--astro-test-pista, #dde5f2); border-radius: 3px; overflow: hidden; }
.astro-gc-bara span { display: block; height: 100%; width: 0; background: var(--astro-sus); }
.astro-gc-raspunsuri { display: grid; gap: .5rem; max-width: 26rem; margin: 0 auto; }
.astro-gc-varianta { padding: .75rem 1rem; border: 1px solid var(--astro-fundal-hover); border-left: 4px solid var(--astro-sus); border-radius: 4px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.astro-gc-varianta:hover:not(:disabled) { background: var(--astro-fundal-hover); }
.astro-gc-varianta:disabled { opacity: .55; cursor: default; }
.astro-gc-formular { display: grid; gap: .6rem; }
.astro-gc-formular input[type=text] { padding: .7rem .9rem; border: 1px solid var(--astro-fundal-hover); border-radius: 4px; font: inherit; }
.astro-gc-rez-titlu { margin: 0; font-weight: 600; }
.astro-gc-eroare { max-width: 26rem; margin: .6rem auto 0; }
.astro-gc-eroare[hidden] { display: none; }
@media (min-width: 700px) {
	.astro-gc-joc:not([hidden]) { display: grid; grid-template-columns: 17rem 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 2rem; align-items: start; }
	.astro-gc-joc .astro-quiz-cap { grid-column: 1 / -1; }
	.astro-gc-joc .astro-gc-cadru { grid-column: 1; grid-row: 2; width: 100%; margin: .4rem 0 .6rem; }
	.astro-gc-joc .astro-gc-bara { grid-column: 1; grid-row: 3; width: 100%; margin: 0; }
	.astro-gc-joc .astro-gc-raspunsuri { grid-column: 2; grid-row: 2 / span 3; margin: .4rem 0 0; max-width: none; }
	.astro-gc-joc .astro-gc-eroare { grid-column: 2; grid-row: 5; margin: .6rem 0 0; max-width: none; }
}

/* Ghiceste cartea, lista tuturor cartilor sub campul de raspuns */
.astro-gc-lista { list-style: none; margin: 0; padding: 0; max-height: 17rem; overflow-y: auto; border: 1px solid var(--astro-fundal-hover); border-radius: 4px; background: #fff; }
.astro-gc-lista li { padding: .45rem .8rem; cursor: pointer; border-bottom: 1px solid var(--astro-fundal-hover); }
.astro-gc-lista li:last-child { border-bottom: 0; }
.astro-gc-lista li:hover, .astro-gc-lista li:focus-visible { background: var(--astro-fundal-hover); outline: 0; }
.astro-gc-lista li.ales { background: var(--astro-fundal-hover); font-weight: 700; }
.astro-gc-lista li[hidden] { display: none; }
.astro-gc-bare { width: min(100%, 20rem); margin: 0 auto 1rem; display: grid; gap: .55rem; }
.astro-gc-bara-rand small { display: block; margin-bottom: .2rem; color: var(--astro-gri-slab); font-size: .82rem; }
.astro-gc-bare .astro-gc-bara { width: 100%; margin: 0; }
.astro-gc-bare .astro-gc-bara-rand:last-child .astro-gc-bara span { background: var(--astro-ok, #2e8b57); }
.astro-gc-fixeaza { padding: .7rem 1rem; border: 2px solid var(--astro-sus); border-radius: 4px; background: #fff; color: var(--astro-sus); font: inherit; font-weight: 700; cursor: pointer; }
.astro-gc-fixeaza:hover:not(:disabled) { background: var(--astro-fundal-hover); }
.astro-gc-fixeaza:disabled { opacity: .55; cursor: default; }
@media (min-width: 700px) {
	.astro-gc-joc .astro-gc-bare { grid-column: 1; grid-row: 3; width: 100%; margin: 0; }
}
.astro-gc-formular[hidden], .astro-gc-bara-rand[hidden] { display: none; }
.astro-gc-bare[hidden] { display: none; }
.astro-gc-bara-rand[hidden] { display: none; }

/* Contul meu, Cartea zilei: pachetul si imaginea primei carti */
.astro-cz-pachet { margin-top: .8rem; }
.astro-cz-eticheta { display: flex; align-items: center; gap: .6rem; }
.astro-cz-poza { margin-top: .8rem; }
.astro-cz-poza img { display: block; max-width: 156px; max-height: 260px; width: auto; height: auto; border-radius: 8px; }

/* Contul meu: casete colorate, fiecare cu propriul buton Salveaza */
.astro-contul-meu .astro-cm-caseta { margin-top: 1.6rem; padding: 1.1rem 1.3rem 1.3rem; background: var(--astro-info-fundal); border: 1px solid var(--astro-sus); border-left-width: 5px; border-radius: 6px; }
.astro-contul-meu .astro-cm-caseta h2.astro-cm-linie { margin-top: 0; padding-top: 0; border-top: 0; }
.astro-contul-meu .astro-cm-caseta > p:first-of-type { margin-top: .4rem; }
.astro-contul-meu .astro-cm-caseta .astro-pct-form { margin-top: .6rem; }
.astro-cm-salveaza { margin-top: 1rem; }
.astro-contul-meu .astro-cm-caseta .astro-setari .as-jos { gap: .5rem; margin-top: .8rem; padding-top: 0; border-top: 0; } /* Setari de calcul: fara linie, aceeasi distanta intre butoane ca la Localitatea actuala */

/* Contul meu, Cartea zilei: metoda ca butoane, pachetul ca lista de la formulare, Salveaza ca la Topuri si newsletter */
.astro-cz-set, .astro-cz-salveaza { height: 2.4rem; padding: 0 1.1rem; border: 1px solid var(--astro-form-bordura); border-radius: 4px; background: #fff; color: inherit; font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; }
.astro-cz-set:hover, .astro-cz-salveaza:hover { background: var(--astro-panou); }
.astro-cz-set.activ { background: var(--astro-sus); border-color: var(--astro-sus); color: #fff; }
.astro-carte-zi-pref > .astro-cz-set { margin: 0 .4rem .4rem 0; }
.astro-cz-pachet select { box-sizing: border-box; height: 2.4rem; padding: 0 .6rem; font-size: 1rem; font-family: inherit; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; }
.astro-cz-eticheta { font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }
.astro-carte-zi-pref > .af-rand { display: flex; flex-wrap: wrap; gap: .5rem; }
.astro-gc-alege.astro-mem-porneste { width: 12rem; max-width: 100%; margin: 0; padding: .5rem .9rem; background: var(--mc); color: var(--mt); border: 1px solid var(--mt); border-radius: 4px; font-weight: 700; }
.astro-gc-alege.astro-mem-porneste:hover { background: color-mix( in srgb, var(--mc) 93%, #000 ); color: var(--mt); border-color: var(--mt); }
.astro-gc-alege.astro-mem-porneste.ales, .astro-gc-alege.astro-mem-porneste.ales:hover { background: var(--mt); color: #fff; }
.astro-gc-opreste:hover { color: var(--astro-retro); font-weight: 700; }
.astro-gc-opreste { display: inline-flex; flex-direction: column; align-items: center; }
.astro-gc-opreste::after { content: attr(data-t); font-weight: 700; height: 0; overflow: hidden; visibility: hidden; }
.astro-gc-bara { background: var(--astro-form-linie); border-radius: 3px; }
.astro-gc-bare .astro-gc-bara-rand .astro-gc-bara span.putin { background: var(--astro-retro); }
.astro-gc-bara-rand .astro-mp-timp { display: block; margin: .25rem 0 0; text-align: right; font-size: .9rem; color: var(--astro-gri-slab); font-family: Roboto, "Open Sans", "Segoe UI", "Noto Sans", Arial, sans-serif; }

/* Zile speciale, telefon: fiecare rand devine un card (prima celula = titlul, restul cu eticheta) */
@media (max-width: 640px) {
	.astro-zs-tabel, .astro-zs-tabel tbody, .astro-zs-tabel tr, .astro-zs-tabel td { display: block; width: 100%; }
	.astro-zs-tabel thead { display: none; }
	.astro-zs-tabel tr { border-bottom: 1px solid var(--astro-camp-bordura); padding: .45rem .6rem; }
	.astro-zs-tabel td { border: 0; padding: .1rem 0; font-size: .95rem; line-height: 1.4; overflow-wrap: break-word; }
	.astro-zs-tabel td:first-child { font-weight: 700; font-size: 1rem; padding-bottom: .2rem; }
	.astro-zs-tabel td:not(:first-child)::before { content: attr(data-l) ": "; color: var(--astro-gri-slab); font-size: .82rem; }
	.astro-zs-tabel td[data-l=""]::before { content: ""; }
}
@media (max-width: 640px) {
	.astro-zs-tabel tr { padding: 0; }
	.astro-zs-tabel td { padding: .1rem .6rem; }
	.astro-zs-tabel td:first-child { padding-top: .45rem; }
	.astro-zs-tabel td:last-child { padding-bottom: .45rem; }
}
@media (max-width: 640px) {
	.astro-zs-tabel, .astro-zs-tabel tbody, .astro-zs-tabel tr, .astro-zs-tabel td { box-sizing: border-box; }
	.astro-dir-scroll:has( .astro-zs-tabel ) { overflow-x: hidden; }
}

/* Zile speciale: legenda lipita de tabelul ei, spatiu mai mare dupa ea */
.astro-zs-rez .astro-dir-scroll .astro-zs-tabel { margin-bottom: 0; }
.astro-zs-rez .astro-legenda { margin: .6rem 0 2.2rem; }

/* Zile speciale pe mai multi ani, telefon: celulele goale nu se arata, etichetele sunt mai usor de citit */
@media (max-width: 640px) {
	.astro-zs-tabel td:empty { display: none; }
	.astro-zs-tabel td:not(:first-child)::before { font-size: .9rem; }
}

/* Zile speciale, comparatia pe ani: cuvintele si datele nu se rup, tabelul se deruleaza daca nu incape */
@media (min-width: 641px) {
	.astro-zs-ani .astro-zs-tabel th, .astro-zs-ani .astro-zs-tabel td { white-space: nowrap; overflow-wrap: normal; word-break: normal; padding-left: .5rem; padding-right: .5rem; }
	.astro-zs-ani .astro-zs-tabel th { white-space: normal; vertical-align: bottom; }
}

/* Zile speciale: a doua linie a unei celule (tara, ziua saptamanii) in gri si mai mica */
.zs-sub { display: block; margin-top: .1rem; font-size: .82rem; line-height: 1.3; color: var(--astro-gri-slab); }
@media (max-width: 640px) { .astro-zs-tabel td:first-child .zs-sub { font-weight: 400; } }
.astro-zs-tabel td.zs-data { white-space: nowrap; }
/* Ziua saptamanii ca insigna de doua litere inaintea datei; sambata si duminica in rosu */
.zs-zi { display: inline-block; min-width: 1.9rem; margin-right: .5rem; padding: .05rem .25rem; font-size: .78rem; font-weight: 600; line-height: 1.3; text-align: center; color: var(--astro-gri-slab); background: var(--astro-panou); border: 1px solid var(--astro-linie); border-radius: 4px; cursor: default; }
.zs-zi.sfarsit { color: var(--astro-retro); border-color: var(--astro-retro); }

/* Zile speciale, telefon: fara etichetele Data / Observatie / Harta, iar data si butoanele hartii pe acelasi rand */
@media (max-width: 640px) {
	.astro-zs-tabel td[data-l="Data"]::before, .astro-zs-tabel td[data-l="Observație"]::before, .astro-zs-tabel td[data-l="Harta"]::before, .astro-zs-tabel td[data-l="Data și ora"]::before { content: none; }
	.astro-zs-tabel tr:has( td.zs-harta ) { display: flex; flex-wrap: wrap; align-items: center; }
	.astro-zs-tabel tr:has( td.zs-harta ) td { order: 1; }
	.astro-zs-tabel tr:has( td.zs-harta ) td:first-child { order: 0; }
	.astro-zs-tabel tr:has( td.zs-harta ) td.zs-data { width: auto; flex: 0 0 auto; }
	.astro-zs-tabel tr:has( td.zs-harta ) td.zs-harta { order: 2; width: auto; flex: 0 0 auto; margin-left: auto; padding-top: .2rem; padding-bottom: .2rem; }
	.astro-zs-tabel tr:has( td.zs-harta ) td[data-l="Observație"] { order: 3; }
}

/* Zile speciale, telefon: fara eticheta Regula, iar culoarea randului se vede si intre celulele puse pe acelasi rand */
@media (max-width: 640px) {
	.astro-zs-tabel td[data-l="Regula"]::before { content: none; }
	.astro-zs-tabel tr.astro-tp-m-tr { background: var(--astro-tp-tr); }
	.astro-zs-tabel tr.astro-tp-m-pr { background: var(--astro-tp-pr); }
	.astro-zs-tabel tr.astro-tp-m-ar { background: var(--astro-tp-ar); }
	.astro-zs-tabel tr[class*="astro-tp-m-"] td { background: transparent; }
}

/* Zile speciale: coloana Harta are aceeasi latime in toate tabelele; Harta 2 (harta natala suprapusa) in alta culoare */
@media (min-width: 641px) {
	.astro-zs-tabel th.zs-h, .astro-zs-tabel td.zs-h { width: 6.5rem; min-width: 6.5rem; white-space: nowrap; }
	.astro-zs-tabel td.zs-h .el-harta { display: block; margin: 0 0 .3rem; }
	.astro-zs-tabel td.zs-h .el-harta:last-child { margin-bottom: 0; }
}
.astro-zs-tabel .el-harta.h2 { color: var(--astro-ok); border-color: var(--astro-ok); }
.astro-zs-tabel .el-harta.h2:hover { color: var(--astro-ok); background: var(--astro-verde-nota); border-color: var(--astro-ok); }

/* Zile speciale: butoanele hartii stau sub data, unul langa altul */
.astro-zs-tabel .zs-btn { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.astro-zs-tabel .zs-btn .el-harta { margin: 0; }

/* Zile speciale: Harta 1 pe galben foarte deschis, Harta 2 pe verde foarte deschis */
.astro-zs-tabel .zs-btn .el-harta { background: var(--astro-galben-nota); border-color: var(--astro-gri-slab); }
.astro-zs-tabel .zs-btn .el-harta:hover { background: var(--astro-galben-nota); border-color: var(--astro-sus); }
.astro-zs-tabel .zs-btn .el-harta.h2 { background: var(--astro-verde-nota); border-color: var(--astro-ok); }
.astro-zs-tabel .zs-btn .el-harta.h2:hover { background: var(--astro-verde-nota); border-color: var(--astro-ok); }
.astro-zs-tabel .zs-btn .el-harta { font-weight: 400; }

/* Zile speciale, telefon: spatiu sub butoane si cand celula urmatoare (observatia) e goala */
@media (max-width: 640px) {
	.astro-zs-tabel td:has( .zs-btn ):has( + td:empty ) { padding-bottom: .45rem; }
}

/* Zile speciale: coloana Data e ultima si are aceeasi latime in toate tabelele, deci datele sunt aliniate pe verticala */
@media (min-width: 641px) {
	.astro-zs-tabel th.zs-d:last-child, .astro-zs-tabel td.zs-d:last-child { width: 15rem; min-width: 15rem; }
}

/* Zile speciale: toate tabelele au coloanele la aceleasi distante (prima 16 rem, ultima Data 15 rem, restul ocupa ce ramane) */
@media (min-width: 641px) {
	.astro-zs-tabel { table-layout: fixed; width: 100%; }
	.astro-zs-tabel th:first-child, .astro-zs-tabel td:first-child { width: 16rem; }
	.astro-zs-ani .astro-zs-tabel { table-layout: auto; }
	.astro-zs-ani .astro-zs-tabel th:first-child, .astro-zs-ani .astro-zs-tabel td:first-child { width: auto; }
}

/* Zile speciale: Data este a doua coloana peste tot; prima 16 rem, Data 15 rem, restul ce ramane; tabelele cu doua coloane au latimea celor doua */
@media (min-width: 641px) {
	.astro-zs-tabel th.zs-d:last-child, .astro-zs-tabel td.zs-d:last-child { width: auto; min-width: 0; }
	.astro-zs-tabel th.zs-d, .astro-zs-tabel td.zs-d { width: 15rem; }
	.astro-zs-tabel:not( :has( th:nth-child( 3 ) ) ) { width: 31rem; max-width: 100%; }
	.astro-zs-ani .astro-zs-tabel th.zs-d, .astro-zs-ani .astro-zs-tabel td.zs-d { width: auto; }
	.astro-zs-ani .astro-zs-tabel:not( :has( th:nth-child( 3 ) ) ) { width: 100%; }
}

/* Butoanele hartii din toate calculatoarele: Harta 1 (cerul) pe galben foarte deschis, Harta 2 (harta natala suprapusa) pe verde foarte deschis, fara bold */
.astro-el-tabel .el-harta.h1, .astro-tp-tabel .el-harta.h1, .astro-ecl-tabel .el-harta.h1,
.astro-el-tabel .el-harta.h2, .astro-tp-tabel .el-harta.h2, .astro-ecl-tabel .el-harta.h2 { font-weight: 400; }
.astro-el-tabel .el-harta.h1, .astro-tp-tabel .el-harta.h1, .astro-ecl-tabel .el-harta.h1 { background: var(--astro-galben-nota); border-color: var(--astro-gri-slab); }
.astro-el-tabel .el-harta.h1:hover, .astro-tp-tabel .el-harta.h1:hover, .astro-ecl-tabel .el-harta.h1:hover { background: var(--astro-galben-nota); border-color: var(--astro-sus); }
.astro-el-tabel .el-harta.h2, .astro-tp-tabel .el-harta.h2, .astro-ecl-tabel .el-harta.h2 { color: var(--astro-ok); background: var(--astro-verde-nota); border-color: var(--astro-ok); }
.astro-el-tabel .el-harta.h2:hover, .astro-tp-tabel .el-harta.h2:hover, .astro-ecl-tabel .el-harta.h2:hover { color: var(--astro-ok); background: var(--astro-verde-nota); border-color: var(--astro-ok); }
.astro-el-tabel .el-harta + .el-harta, .astro-tp-tabel .el-harta + .el-harta { margin-left: .3rem; }

/* Tranzite, progresii si arce: tabelul incape in pagina; notele lungi (nu devine exact, continua dupa sfarsit) se rup pe randuri, simbolurile aspectului si datele raman pe un rand */
.astro-tp-lat th, .astro-tp-lat td { white-space: normal; }
.astro-tp-lat td.astro-tp-asp { white-space: nowrap; }
.astro-tp-lat { min-width: 0; width: 100%; }
.astro-tp-lat td .el-harta, .astro-tp-lat td .astro-ecl-salveaza, .astro-tp-lat td button { white-space: nowrap; }
/* pe telefon tabelul isi pastreaza latimea si se deruleaza orizontal (altfel coloanele se strivesc) */
@media (max-width: 760px) {
	.astro-tp-lat { min-width: 36rem; width: auto; }
	.astro-tp-lat th, .astro-tp-lat td { white-space: nowrap; }
	.astro-tp-lat td small { white-space: normal; display: inline-block; min-width: 9rem; }
}

/* Joc de carti */
.astro-jc { max-width: 72rem; margin: 1rem 0; padding: 1rem; background: var(--astro-jc-fundal); border: 1px solid var(--astro-linie); border-radius: 8px; }
.jc-sus { display: flex; justify-content: space-between; margin-bottom: .8rem; font-weight: 600; color: var(--astro-gri-slab); }
.jc-inamic { display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; margin-bottom: .3rem; }
.jc-inamic-info { width: 100%; max-width: 24rem; }
.astro-jc { position: relative; }
.jc-obiecte { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 .6rem; font-weight: 600; color: var(--astro-gri-slab); }
@media ( min-width: 900px ) {
	.jc-obiecte { position: absolute; left: 1rem; top: 1rem; flex-direction: column; align-items: flex-start; gap: .6rem; margin: 0; }
	.astro-jc:has( .jc-obiecte ) > :not( .jc-sus ):not( .jc-obiecte ) { margin-left: 6.5rem; margin-right: 6.5rem; }
	.jc-sus { justify-content: flex-end; align-items: center; gap: .8rem; margin: 0 0 .6rem 6.5rem; text-align: right; }
}
.jc-ob { display: block; width: 5.2rem; height: 5.2rem; overflow: hidden; border: 2px solid var(--astro-anunt-bordura); border-radius: 50%; cursor: help; }
.jc-arta-ob { width: 100%; height: 100%; border-radius: 0; }
.jc-arta-ob.jc-fara { font-size: 1.2rem; }
.jc-gasit { padding: .5rem .8rem; background: var(--astro-galben-nota); border-left: 4px solid var(--astro-anunt-bordura); text-align: left; }
.jc-i-ascuns { color: var(--astro-gri-slab); font-style: italic; }
.jc-inamic h3 { display: inline-block; margin: .2rem 0 .4rem; padding: .25rem 1rem; font-size: 1.5rem; font-weight: 700; color: #fff; background: #2b1d3f; border: 2px solid var(--astro-anunt-bordura); border-radius: 6px; letter-spacing: .02em; }
.jc-sef h3 { background: #4a1020; }
.jc-pata { position: absolute; left: 50%; top: 45%; z-index: 5; display: flex; align-items: center; justify-content: center; width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; font-size: 2.2rem; font-weight: 800; color: #fff; background: radial-gradient( circle, #e02020 55%, #b01010 70%, rgba( 176, 16, 16, 0 ) 71% ); border-radius: 50% 42% 55% 45%; pointer-events: none; animation: jc-pata 1.1s ease-out forwards; }
.jc-erou .jc-pata { left: 50%; top: 50%; width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem; font-size: 1.6rem; }
@keyframes jc-pata { 0% { opacity: 0; transform: scale( .3 ) rotate( -12deg ); } 20% { opacity: 1; transform: scale( 1.15 ) rotate( 4deg ); } 70% { opacity: 1; transform: scale( 1 ); } 100% { opacity: 0; transform: translateY( -1.2rem ) scale( 1 ); } }
.jc-vraja-efect { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; gap: .6rem; overflow: hidden; border-radius: inherit; pointer-events: none; animation: jc-vraja 1.5s ease-out forwards; }
.jc-vraja-efect b { font-size: 2.2rem; font-weight: 800; color: #fff; text-shadow: 0 0 .6rem #fff; }
.jc-ve-umbra { background: radial-gradient( circle, rgba( 120, 40, 190, .75 ), rgba( 60, 10, 100, .5 ) 60%, rgba( 60, 10, 100, 0 ) 100% ); }
.jc-ve-forta { background: radial-gradient( circle, rgba( 220, 60, 40, .6 ), rgba( 220, 60, 40, 0 ) 70% ); }
.jc-ve-noi { background: radial-gradient( circle, rgba( 240, 180, 30, .7 ), rgba( 240, 180, 30, 0 ) 70% ); }
@keyframes jc-vraja { 0% { opacity: 0; transform: scale( .6 ); } 25% { opacity: 1; transform: scale( 1.05 ); } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY( -.8rem ); } }
.jc-mesaj-lupta .jc-nr { display: inline-block; width: auto; min-width: 2rem; padding: 0 .5rem; margin-left: .3rem; color: #fff; }
.jc-ve-bloc { background: radial-gradient( circle, rgba( 59, 123, 196, .7 ), rgba( 59, 123, 196, 0 ) 70% ); }
.jc-ve-vindec { background: radial-gradient( circle, rgba( 40, 160, 80, .7 ), rgba( 40, 160, 80, 0 ) 70% ); }
.jc-stari .jc-vr-forta, .jc-erou .jc-vr-confuz { display: inline-block; margin-right: .4rem; padding: .05rem .5rem; font-size: .85rem; font-weight: 600; color: #fff; border-radius: 4px; }
.jc-vr-umbra { background: #5a2a8a; }
.jc-vr-confuz { background: #c26a1b; }
.jc-vr-forta { background: #b01010; }
.jc-lovit { animation: jc-lovit .35s linear; }
@keyframes jc-lovit { 0%, 100% { transform: translateX( 0 ); } 20% { transform: translateX( -6px ); } 40% { transform: translateX( 6px ); } 60% { transform: translateX( -4px ); } 80% { transform: translateX( 4px ); } }
@media ( prefers-reduced-motion: reduce ) { .jc-lovit { animation: none; } }
.jc-sef h3 { color: var(--astro-jc-atac); }
.jc-arta { background-size: cover; background-position: center; border-radius: 6px; }
.jc-fara { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #5b6c8f, #2a3552); color: #fff; font-size: 2.2rem; font-weight: 700; }
.jc-arta-inamic { flex: 0 0 auto; width: 13rem; max-width: 100%; aspect-ratio: 1; }
.jc-bara { position: relative; display: block; height: 1.3rem; background: #d9dde5; border-radius: 4px; overflow: hidden; }
.jc-bara i { position: absolute; inset: 0 auto 0 0; background: var(--astro-ok); }
.jc-hp-rau i { background: var(--astro-jc-atac); }
.jc-bara b { position: relative; display: block; text-align: center; font-size: .85rem; line-height: 1.3rem; color: #111; font-weight: 600; }
.jc-stari { min-height: 1.4rem; margin: .3rem 0 0; }
.jc-bloc, .jc-vuln, .jc-energie { display: inline-block; margin-right: .4rem; padding: .05rem .5rem; font-size: .85rem; font-weight: 600; border-radius: 4px; }
.jc-bloc { color: #fff; background: var(--astro-jc-bloc); }
.jc-vuln { color: #fff; background: var(--astro-jc-spec); }
.jc-energie { color: #5a4300; background: var(--astro-galben-nota); border: 1px solid var(--astro-anunt-bordura); }
.jc-cadru { position: relative; }
.jc-intentie { position: absolute; top: .5rem; right: .5rem; display: flex; flex-direction: column; gap: .3rem; align-items: center; cursor: help; }
.jc-nr-ascuns { background: #5b6272; }
.jc-erou { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .4rem 0 .2rem; }
.jc-erou .jc-bara { flex: 1 1 10rem; max-width: 18rem; }
.jc-erou-nume { font-weight: 700; }
.jc-mesaj-lupta { min-height: 1.4rem; margin: .3rem 0; color: var(--astro-gri-slab); }
.jc-mana { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.jc-carte { position: relative; display: block; width: 11rem; aspect-ratio: 2 / 3; padding: 0; overflow: hidden; text-align: center; font-family: inherit; background: #1d2438; border: 3px solid var(--astro-linie); border-radius: 10px; cursor: pointer; transition: transform .15s; }
@media ( min-width: 900px ) { .jc-mana .jc-carte { width: calc( 16.666% - .45rem ); max-width: 11rem; } }
.jc-carte:hover { transform: translateY( -6px ); }
.jc-carte.tip-a { border-color: var(--astro-jc-atac); }
.jc-carte.tip-b { border-color: var(--astro-jc-bloc); }
.jc-carte.tip-s { border-color: var(--astro-jc-spec); }
.jc-carte.jc-nu { opacity: .5; }
.jc-carte.jc-plus { border-color: var(--astro-anunt-bordura); }
.jc-stea { position: absolute; top: .3rem; right: .45rem; z-index: 2; font-size: 1.5rem; line-height: 1; color: #f2c230; -webkit-text-stroke: 1px #7a5600; }
.jc-cost, .jc-nr { display: block; box-sizing: border-box; width: 2rem; height: 2rem; line-height: 1.7rem; font-size: 1.1rem; font-weight: 700; border-radius: 50%; }
.jc-cost { color: #5a4300; background: var(--astro-galben-nota); border: 2px solid var(--astro-anunt-bordura); }
.jc-nr { color: #fff; border: 2px solid #fff; }
.jc-nr-atac { background: var(--astro-jc-atac); }
.jc-nr-scut { background: var(--astro-jc-bloc); }
.jc-nr-en { background: var(--astro-ok); }
.jc-cmb { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .2rem; }
.jc-cmb-c { display: inline-block; padding: 0 .3rem; font-size: .68rem; line-height: 1.1rem; color: #5a4300; background: var(--astro-galben-nota); border: 1px solid var(--astro-anunt-bordura); border-radius: 4px; }
.jc-cmb-bulina { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; background: var(--astro-jc-umbra); }
.jc-cmb-a { background: var(--astro-jc-atac); }
.jc-cmb-b { background: var(--astro-jc-bloc); }
.jc-cmb-s { background: var(--astro-jc-spec); }
.jc-arta-carte { position: absolute; inset: 0; border-radius: 0; }
.jc-arta-carte.jc-fara { font-size: 4rem; }
.jc-panglica { position: absolute; top: .35rem; left: .35rem; z-index: 2; display: flex; flex-direction: column; gap: .3rem; }
.jc-placa { position: absolute; inset: auto 0 0 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 3.2rem; box-sizing: border-box; padding: .25rem .4rem .3rem; color: #1f1b12; background: #f3ead2; border-top: 2px solid var(--astro-anunt-bordura); }
.jc-nume { display: block; margin: 0 0 .05rem; font-size: .92rem; font-weight: 700; line-height: 1.2; }
.jc-pers { display: block; margin: 0 0 .1rem; font-size: .72rem; font-style: italic; color: #7a6a3c; }
.jc-text { display: block; font-size: .72rem; line-height: 1.15; color: #3a3426; }
.jc-placa .jc-sub { display: block; margin-top: .15rem; font-style: italic; color: #6b6248; }
.jc-jos { margin: .8rem 0 0; text-align: center; }
.jc-pachete { margin-left: .8rem; font-size: .85rem; color: var(--astro-gri-slab); }
.jc-mesaj { padding: 1rem; text-align: center; }
.jc-mesaj h3 { margin: 0 0 .4rem; }
.jc-bine h3 { color: var(--astro-ok); }
.jc-rau h3 { color: var(--astro-jc-atac); }
@media ( max-width: 640px ) {
	.astro-jc { padding: .6rem; }
	.jc-arta-inamic { width: 14rem; }
	.jc-carte { width: calc( 33.3% - .4rem ); min-width: 6.4rem; }
	.jc-nume { font-size: .8rem; }
	.jc-text { font-size: .68rem; }
	.jc-cost, .jc-nr { width: 1.6rem; height: 1.6rem; line-height: 1.35rem; font-size: .85rem; }
}

/* Ultima Eclipsa: ecranul povestii si fraza de poveste de pe carti */
.jc-intro { max-width: 52rem; margin: 0 auto; }
.jc-vezi { padding: .2rem .7rem; font: inherit; font-size: .9rem; color: #1f3c78; background: #fff; border: 1px solid var(--astro-linie); border-radius: 4px; cursor: pointer; }
.jc-vezi:hover { border-color: var(--astro-sus); color: var(--astro-sus); }
.jc-vezi-mic { padding: .1rem .5rem; margin-left: .3rem; }
.jc-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba( 15, 20, 35, .72 ); }
.jc-modal-caseta { position: relative; width: 100%; max-width: 62rem; max-height: 90vh; overflow-y: auto; padding: 1rem 1.2rem 1.4rem; background: var(--astro-jc-fundal); border-radius: 10px; }
.jc-modal-x { position: absolute; top: .4rem; right: .7rem; font-size: 2rem; line-height: 1; color: #333; background: none; border: 0; cursor: pointer; }
.jc-lista .jc-carte { pointer-events: none; }
.jc-grup { position: relative; display: contents; }
.jc-grup { display: block; position: relative; width: 9rem; }
.jc-grup .jc-carte { width: 100%; }
.jc-multi { display: table; margin: .4rem auto 0; padding: .05rem .6rem; font-size: 1rem; color: #fff; background: #2b1d3f; border: 2px solid var(--astro-anunt-bordura); border-radius: 12px; }
.jc-gol { text-align: center; }
.jc-sectiune { margin: 1.2rem 0 .6rem; text-align: center; font-size: 1.3rem; font-weight: 700; }
.jc-intro-cadru { position: relative; margin: 0 0 1rem; }
.jc-intro-poza { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; border-radius: 8px; }
.jc-intro-nivel { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .8rem; text-align: center; font-size: 1.8rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: linear-gradient( to top, rgba( 0, 0, 0, .65 ), rgba( 0, 0, 0, 0 ) ); border-radius: 0 0 8px 8px; }
.jc-intro p { max-width: 40rem; margin-left: auto; margin-right: auto; }
.jc-intro h3 { font-size: 1.6rem; }
.jc-intro p { line-height: 1.6; }
.jc-sub { display: block; margin-top: .2rem; font-size: .75rem; font-style: italic; color: var(--astro-gri-slab); line-height: 1.25; }

/* Ultima Eclipsa: combo, umbre si vraji */
.jc-carte.tip-x { border-color: var(--astro-jc-umbra); filter: grayscale( 1 ); }
.jc-carte.jc-combo { outline: 3px solid var(--astro-jc-combo); outline-offset: 1px; }
.jc-nr-vraja { background: var(--astro-jc-vraja); }
.jc-nivel { text-align: center; margin: 1rem 0; padding: .6rem .9rem; color: #1f1b12; background: var(--astro-galben-nota); border-left: 4px solid var(--astro-anunt-bordura); border-radius: 4px; }
.jc-nivel strong { font-weight: 700; }

.jc-erou { justify-content: center; gap: 1rem; margin: .6rem 0; }
.jc-erou .jc-bara { flex: 0 1 18rem; }
.jc-erou .jc-energie { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 4.2rem; height: 4.2rem; margin: 0; padding: 0; border: 3px solid var(--astro-anunt-bordura); border-radius: 50%; line-height: 1; }
.jc-erou .jc-energie b { font-size: 1.9rem; font-weight: 700; }
.jc-erou .jc-energie small { font-size: .65rem; text-transform: uppercase; letter-spacing: .03em; }

/* Ultima Eclipsa: barele mai scurte, energia in dreapta lor */
.jc-inamic-info { max-width: 20rem; }
.jc-erou { position: relative; flex-wrap: nowrap; width: 20rem; max-width: 100%; margin: .4rem auto; }
.jc-erou .jc-bara { flex: 1 1 auto; max-width: none; }
.jc-erou .jc-energie { position: absolute; left: calc( 50% + 10rem + 1rem ); top: 50%; margin: 0; transform: translateY( -50% ); }
/* bara ta sta in centru, exact sub cea a inamicului; "Tu" si energia stau in stanga / dreapta ei */
.jc-erou { width: 100%; max-width: none; justify-content: center; }
.jc-erou .jc-bara { flex: 0 0 20rem; max-width: 100%; }
.jc-erou .jc-stari-erou { position: absolute; left: 50%; top: 100%; margin-top: .25rem; transform: translateX( -50% ); white-space: nowrap; }
.jc-erou { margin-bottom: 1.8rem; }
.jc-erou .jc-erou-nume { position: absolute; right: calc( 50% + 10rem + .6rem ); top: 50%; transform: translateY( -50% ); }
@media ( max-width: 700px ) {
	.jc-erou .jc-energie, .jc-erou .jc-erou-nume { position: static; transform: none; margin: 0; }
	.jc-erou .jc-stari-erou { position: static; transform: none; margin: 0; }
	.jc-erou { margin-bottom: .2rem; }
	.jc-erou .jc-bara { flex: 1 1 auto; }
	.jc-erou { width: auto; }
}
.jc-jos .astro-sab-buton { margin: 0 .25rem; }
@media ( max-width: 899px ) {
	.jc-sus { flex-direction: column; align-items: center; gap: .1rem; margin-bottom: .5rem; font-size: .9rem; text-align: center; }
	.jc-sus span { white-space: nowrap; }
}
.jc-erou .jc-energie { width: 2.8rem; height: 2.8rem; border-width: 2px; }
.jc-erou .jc-energie b { font-size: 1.5rem; }
.jc-erou { margin: .2rem auto; }
.jc-inamic { margin-bottom: .2rem; }

/* Viata inamicului si a ta, apropiate, cu energia in dreapta lor */
.jc-duel { position: relative; width: 20rem; max-width: 100%; margin: 0 auto 1.8rem; }
.jc-duel .jc-stari { min-height: 0; margin: .15rem 0; }
.jc-duel .jc-erou { position: static; width: 100%; margin: .15rem 0 0; }
.jc-duel .jc-erou .jc-bara { flex: 1 1 auto; }
.jc-duel .jc-erou .jc-stari-erou { top: 100%; }
.jc-duel .jc-erou { position: relative; }
.jc-duel > .jc-energie { position: absolute; left: calc( 100% + 1rem ); top: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; margin: 0; padding: 0; border: 3px solid var(--astro-anunt-bordura); border-radius: 50%; transform: translateY( -50% ); line-height: 1; }
.jc-duel > .jc-energie b { font-size: 2rem; font-weight: 700; }
@media ( max-width: 700px ) {
	.jc-duel { width: auto; padding-right: 4.2rem; }
	.jc-duel > .jc-energie { left: auto; right: 0; width: 3.4rem; height: 3.4rem; }
	.jc-duel > .jc-energie b { font-size: 1.6rem; }
}
.jc-viata-sus { width: 20rem; max-width: 100%; margin: 0 auto .4rem; }
.jc-viata-sus .jc-stari { min-height: 0; margin: .15rem 0 0; }
.jc-duel { margin-top: .2rem; }

.jc-duel .jc-erou { margin-top: 1.1rem; }

/* Ultima Eclipsa pe telefon: bare de viata mai mari, cartile din mana pe un singur rand, suprapuse; cartea atinsa vine in fata si se mareste */
@media ( max-width: 700px ) {
	.jc-duel .jc-bara { height: 1.9rem; }
	.jc-duel .jc-bara b { font-size: 1.05rem; line-height: 1.9rem; }
	.jc-duel { padding-right: 4.6rem; }
	.jc-duel > .jc-energie { width: 3.8rem; height: 3.8rem; }
	.jc-mana:not(.jc-oferta):not(.jc-lista) { flex-wrap: nowrap; justify-content: flex-start; gap: .5rem; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding: .4rem .2rem .6rem; }
	.jc-mana:not(.jc-oferta):not(.jc-lista) .jc-carte { flex: 0 0 9.5rem; width: 9.5rem; min-width: 0; scroll-snap-align: center; }
	.jc-mana:not(.jc-oferta):not(.jc-lista) .jc-carte:hover { transform: none; }
}

/* Ultima Eclipsa pe telefon, strans pe verticala ca sa incapa si butonul Termina tura; bare late cu text alb */
@media ( max-width: 700px ) {
	.jc-duel { width: 100%; margin: .1rem auto .5rem; }
	.jc-duel .jc-bara { width: 100%; background: #4a5060; }
	.jc-duel .jc-bara b { color: #fff; text-shadow: 0 0 3px rgba( 0, 0, 0, .7 ); }
	.jc-duel .jc-erou { margin-top: .7rem; }
	.jc-arta-inamic { width: 9rem; }
	.jc-inamic h3 { margin: .3rem 0; font-size: 1.1rem; }
	.jc-mesaj-lupta { min-height: 0; margin: .2rem 0; }
	.jc-mana:not(.jc-oferta):not(.jc-lista) .jc-carte { flex-basis: 8.5rem; width: 8.5rem; }
	.jc-mana:not(.jc-oferta):not(.jc-lista) { padding-top: .2rem; }
}

/* Ultima Eclipsa, fereastra Pachetul meu: nu depaseste ecranul, derularea ramane in ea */
.jc-modal, .jc-modal-caseta { box-sizing: border-box; }
.jc-modal { overscroll-behavior: contain; }
.jc-modal-caseta { overscroll-behavior: contain; }

/* Ultima Eclipsa pe telefon: cercul de energie incape, fereastra Pachetul meu in ecran, cartile pe doua coloane */
@media ( max-width: 700px ) {
	.jc-duel { box-sizing: border-box; }
	.jc-modal { padding: .6rem; }
	.jc-modal-caseta { min-width: 0; width: 100%; padding: .8rem .6rem 1rem; }
	.jc-modal-caseta .jc-lista { display: grid; grid-template-columns: repeat( 2, minmax( 0, 1fr ) ); gap: .8rem .6rem; align-items: start; justify-content: stretch; }
	.jc-modal-caseta .jc-grup { width: auto; min-width: 0; }
	.jc-modal-caseta .jc-grup .jc-carte { width: 100%; min-width: 0; flex: none; }
}

/* Ultima Eclipsa pe calculator: bare groase cu text alb, scutul in dreapta barei verzi, mai putin spatiu pana la cartile tale */
@media ( min-width: 701px ) {
	.jc-duel { width: 22rem; margin-bottom: .8rem; }
	.jc-duel .jc-bara { height: 1.9rem; background: #4a5060; }
	.jc-duel .jc-bara b { font-size: 1.05rem; line-height: 1.9rem; color: #fff; text-shadow: 0 0 3px rgba( 0, 0, 0, .7 ); }
	.jc-duel .jc-erou { margin: .7rem 0 0; }
	.jc-duel .jc-erou .jc-stari-erou { position: absolute; left: calc( 100% + .5rem ); top: 50%; display: flex; flex-direction: column; gap: .2rem; margin: 0; transform: translateY( -50% ); white-space: nowrap; }
	.jc-duel > .jc-energie { left: calc( 100% + 5.5rem ); }
}
@media ( max-width: 700px ) {
	.jc-duel .jc-erou .jc-stari-erou { position: absolute; right: .5rem; left: auto; top: 50%; margin: 0; transform: translateY( -50% ); color: #fff; }
}

/* Ultima Eclipsa, recompensa: cele doua alegeri (carte noua / evoluare) pe fundaluri diferite */
.jc-optiune { margin: 1rem 0; padding: .2rem 1rem 1rem; border: 2px solid; border-radius: 10px; }
.jc-optiune .jc-sectiune { margin-top: .8rem; }
.jc-opt-noua { background: #e3eefb; border-color: #8fb3e3; }
.jc-opt-evol { background: #fbf0d4; border-color: #e0b94f; }
.jc-optiune { width: fit-content; max-width: 100%; margin: 1rem auto; padding-left: .8rem; padding-right: .8rem; box-sizing: border-box; }
.jc-opt-evol { background: var(--astro-verde-nota); border-color: var(--astro-ok); }
.jc-optiune { width: min( 100%, 31rem ); }
.jc-reset { margin-left: .6rem; }
@media ( min-width: 701px ) {
	.jc-optiune { width: min( 100%, 32rem ); }
	.jc-optiune .jc-mana .jc-carte { flex: 0 0 auto; width: 9.3rem; max-width: none; }
}
.jc-optiune { align-self: center; margin-left: auto; margin-right: auto; }
.astro-jc > .jc-optiune { margin-left: auto !important; margin-right: auto !important; }
.jc-duel .jc-bara.jc-hp-rau { background: #f3b9b3; }
.jc-duel .jc-bara.jc-hp-bun { background: #b5e0bd; }
.jc-duel .jc-bara b { text-shadow: 0 0 3px rgba( 0, 0, 0, .85 ), 0 0 2px rgba( 0, 0, 0, .85 ); }
@media ( max-width: 700px ) {
	.jc-optiune { padding-left: .5rem; padding-right: .5rem; }
	.jc-optiune .jc-mana.jc-oferta { flex-wrap: nowrap; justify-content: flex-start; gap: .5rem; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding: .3rem .2rem .6rem; }
	.jc-optiune .jc-mana.jc-oferta .jc-carte { flex: 0 0 9.5rem; width: 9.5rem; min-width: 0; scroll-snap-align: center; }
}
/* mana nu mai pierde latime din cauza coloanei de obiecte (obiectele sunt sus, deasupra ei) */
@media ( min-width: 900px ) {
	.astro-jc > .jc-mana:not( .jc-oferta ) { margin-left: 0 !important; margin-right: 0 !important; }
}
/* Ultima Eclipsa pe calculator: inamicul mai mare, butonul Termina tura mutat in dreapta sus (nu mai ocupa un rand sub carti) */
@media ( min-width: 900px ) {
	.jc-arta-inamic { width: 17rem; }
	.jc-jos-lupta { position: absolute; right: 1.5rem; top: 6rem; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; width: 11rem; margin: 0 !important; }
	.jc-jos-lupta .astro-sab-buton { margin: 0; width: 100%; }
}

/* Efectele cartilor ca insigne (fara text) */
.jc-nr-viata { background: var(--astro-jc-viata); }
.jc-nr-trage { background: var(--astro-jc-trage); }
.jc-nr-vuln { background: var(--astro-jc-vulnerabil); }
.jc-nr-purja { background: var(--astro-jc-purja); }
.jc-nr-pierd { background: var(--astro-jc-pierd); }
.jc-nr-viata, .jc-nr-trage, .jc-nr-vuln, .jc-nr-purja, .jc-nr-pierd { font-size: .8rem; letter-spacing: -.03em; white-space: nowrap; }

/* Calculator: inamicul sus, Pragul Umbrei in dreapta sus, butonul Termina tura in dreapta bulinei de energie, aproape de carti */
@media ( min-width: 900px ) {
	.astro-jc:has( .jc-inamic ) > .jc-sus { position: absolute; top: 1rem; right: 1rem; margin: 0 !important; }
	.jc-arta-inamic { width: 18.5rem; }
}
@media ( min-width: 1200px ) {
	.jc-jos-lupta { top: auto; bottom: 18rem; right: auto; left: calc( 50% + 21.5rem ); width: auto; flex-direction: column; align-items: stretch; }
	.jc-jos-lupta .astro-sab-buton { width: auto; }
}
@media ( min-width: 900px ) {
	.astro-jc:has( .jc-inamic ) > .jc-sus { flex-direction: column; align-items: flex-end; gap: .4rem; }
}
@media ( min-width: 1200px ) {
	.jc-jos-lupta { bottom: 19.1rem; }
}

/* Ultima Eclipsa: viata ca doua casete pline (verde / rosie), energia si butonul Gata in dreapta */
.jc-duel .jc-bara { background: var(--astro-ok); }
.jc-duel .jc-bara.jc-hp-rau { background: var(--astro-retro); }
.jc-duel .jc-bara.jc-hp-bun { background: var(--astro-ok); }
.jc-lateral { position: absolute; left: calc( 100% + .6rem ); top: 50%; display: flex; align-items: center; gap: .4rem; transform: translateY( -50% ); }
.jc-lateral .jc-energie { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; width: 3.4rem; height: 3.4rem; margin: 0; padding: 0; border: 3px solid var(--astro-anunt-bordura); border-radius: 50%; line-height: 1; }
.jc-lateral .jc-energie b { font-size: 1.6rem; font-weight: 700; }
.jc-actiuni { display: flex; flex-direction: column; align-items: stretch; gap: .25rem; }
.jc-actiuni .astro-sab-buton { margin: 0; padding: .35rem .7rem; font-size: .95rem; }
.jc-actiuni .jc-pachete { display: flex; gap: .2rem; margin: 0; }
.jc-actiuni .jc-vezi-mic { margin: 0; padding: .05rem .3rem; font-size: .75rem; }
.jc-duel .jc-erou .jc-stari-erou { left: auto; right: calc( 100% + .5rem ); }
@media ( max-width: 700px ) {
	.jc-duel { padding-right: 10.4rem; }
	.jc-lateral { left: auto; right: 0; }
	.jc-duel .jc-erou .jc-stari-erou { right: .5rem; left: auto; }
	.jc-mana:not(.jc-oferta):not(.jc-lista) .jc-carte { flex-basis: 9.5rem; width: 9.5rem; }
}

/* Ultima Eclipsa: butoanele mici (pachet / aruncate / pachetul meu) in coloana langa inamic, in dreapta bulinei doar Gata */
.jc-inamic { position: relative; }
.jc-chei { position: absolute; top: .4rem; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: .3rem; z-index: 2; }
.jc-chei .jc-vezi-mic { margin: 0; padding: .15rem .45rem; font-size: .8rem; white-space: nowrap; }
@media ( max-width: 700px ) {
	.jc-arta-inamic { width: 10.5rem; }
	.jc-duel { padding-right: 7.8rem; }
	.jc-duel .jc-bara { width: calc( 100% - 3.2rem ); }
	.jc-duel .jc-erou .jc-stari-erou { right: 0; left: auto; color: inherit; }
	.jc-duel .jc-bara b { font-size: 1rem; }
}

/* Ultima Eclipsa pe telefon: casete de viata mici, grupul centrat */
@media ( max-width: 700px ) {
	.jc-duel { width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; padding-right: 7.6rem; }
	.jc-duel .jc-bara { width: 8.5rem; height: 1.6rem; }
	.jc-duel .jc-bara b { font-size: .9rem; line-height: 1.6rem; }
	.jc-duel .jc-erou { width: 8.5rem; padding-right: 0; }
	.jc-duel .jc-erou .jc-stari-erou { right: -3.4rem; left: auto; }
}

@media ( max-width: 700px ) {
	.jc-duel { margin-top: 0; margin-bottom: .2rem; }
	.jc-duel .jc-erou { margin-top: .3rem; }
	.jc-duel .jc-bara { height: 1.4rem; }
	.jc-duel .jc-bara b { line-height: 1.4rem; font-size: .85rem; }
	.jc-inamic h3 { margin: .15rem 0 .25rem; }
	.jc-lateral .jc-energie { width: 3.2rem; height: 3.2rem; }
	.jc-arta-inamic { width: 11.5rem; }
}

/* Ultima Eclipsa pe telefon: casetele de viata cat textul, scutul langa caseta verde */
@media ( max-width: 700px ) {
	.jc-duel .jc-bara { width: fit-content; min-width: 0; padding: 0 .7rem; }
	.jc-duel .jc-erou { width: auto; display: flex; align-items: center; gap: .4rem; }
	.jc-duel .jc-erou .jc-stari-erou { position: static; transform: none; margin: 0; display: flex; gap: .2rem; }
}

/* Ultima Eclipsa pe telefon: casetele de viata fixe la stanga, scutul in spatiul dintre ele si energie */
@media ( max-width: 700px ) {
	.jc-duel { width: 19rem; max-width: 100%; padding-right: 7.6rem; box-sizing: border-box; }
	.jc-duel .jc-bara { width: 5rem; padding: 0; text-align: center; }
	.jc-duel .jc-bara b { display: block; font-size: .85rem; }
	.jc-duel .jc-erou { width: auto; justify-content: flex-start; }
	.jc-duel .jc-erou .jc-stari-erou { flex-direction: column; align-items: flex-start; }
	.jc-duel .jc-stari { position: absolute; top: 0; left: 5.4rem; margin: 0; display: flex; flex-direction: column; gap: .2rem; z-index: 1; }
}

@media ( max-width: 700px ) {
	.jc-duel .jc-bara, .jc-duel .jc-erou .jc-bara { flex: 0 0 4.4rem; width: 4.4rem; max-width: 4.4rem; }
	.jc-duel .jc-stari, .jc-duel .jc-erou .jc-stari-erou { left: 4.8rem; }
}

@media ( max-width: 700px ) {
	.jc-duel .jc-stari { left: 4.9rem; }
	.jc-duel .jc-erou { position: relative; }
	.jc-duel .jc-erou .jc-stari-erou { position: absolute; left: 4.9rem; right: auto; top: 50%; transform: translateY( -50% ); margin: 0; }
}

@media ( max-width: 700px ) { .jc-arta-inamic { width: 13.5rem; } }
.jc-previz { max-width: 24rem; margin: 0 auto; padding: .6rem; border: 1px dashed #b9c2d3; border-radius: 8px; }

/* Ultima Eclipsa: Arthur / Morgana langa energie, atacurile inamicului vin pe el */
.jc-arthur { position: absolute; top: 50%; width: 4.2rem; transform: translateY( -50% ); }
.jc-arthur img { display: block; width: 100%; height: auto; border-radius: 8px; border: 2px solid var(--astro-anunt-bordura); box-sizing: border-box; }
.jc-arthur .jc-intentie { position: absolute; top: .2rem; right: .2rem; left: .2rem; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: .15rem; }
.jc-arthur .jc-nr { width: 1.4rem; height: 1.4rem; line-height: 1.1rem; font-size: .75rem; }
@media ( min-width: 701px ) {
	.jc-arthur { left: calc( 100% + .6rem ); }
	.jc-lateral { left: calc( 100% + 5.4rem ); }
}
@media ( max-width: 700px ) {
	.jc-duel { width: 21.6rem; padding-right: 7.2rem; }
	.jc-arthur { left: 7.8rem; }
	.jc-lateral .jc-energie { width: 2.7rem; height: 2.7rem; }
	.jc-lateral .jc-energie b { font-size: 1.3rem; }
}

.jc-arthur .jc-pata { left: 50%; top: 50%; width: 3.6rem; height: 3.6rem; margin: -1.8rem 0 0 -1.8rem; font-size: 1.4rem; }
.jc-arthur.jc-lovit { animation: jc-lovit-a .35s linear; }
@keyframes jc-lovit-a { 0%, 100% { transform: translate( 0, -50% ); } 20% { transform: translate( -6px, -50% ); } 40% { transform: translate( 6px, -50% ); } 60% { transform: translate( -4px, -50% ); } 80% { transform: translate( 3px, -50% ); } }
@media ( prefers-reduced-motion: reduce ) { .jc-arthur.jc-lovit { animation: none; } }
.jc-arthur .jc-vraja-efect { inset: -.5rem; }

/* Ultima Eclipsa pe telefon: obiectele magice mici, in stanga inamicului */
@media ( max-width: 700px ) {
	.astro-jc { position: relative; }
	.astro-jc .jc-obiecte { position: absolute; left: .6rem; top: 3.6rem; z-index: 2; flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: .4rem; margin: 0; }
	.astro-jc .jc-ob { width: 2.6rem; height: 2.6rem; }
}

/* Ultima Eclipsa: obiectul nou gasit, centrat pe verticala cu textul lui */
.jc-gasit-rand { display: flex; align-items: center; gap: .7rem; }
.jc-gasit-rand .jc-gasit { flex: 1 1 auto; margin: 0; }
@media ( min-width: 701px ) { .jc-gasit-rand .jc-ob { display: none; } }
@media ( max-width: 700px ) {
	.jc-gasit-rand .jc-ob { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; }
	.astro-jc:has( .jc-gasit-rand ) .jc-obiecte { display: none; }
}

/* Ultima Eclipsa: viata inamicului sub numele lui, linie despartitoare, apoi eroul cu viata sub poza lui */
.jc-viata { position: relative; display: flex; align-items: center; justify-content: center; margin: .3rem auto; }
.jc-viata .jc-bara { flex: 0 0 6.2rem; width: 6.2rem; max-width: none; height: 1.5rem; padding: 0; border-radius: 4px; text-align: center; }
.jc-viata .jc-bara b { display: block; font-size: .85rem; line-height: 1.5rem; color: #fff; text-shadow: 0 0 3px rgba( 0, 0, 0, .85 ); }
.jc-viata .jc-bara.jc-hp-rau { background: var(--astro-retro); }
.jc-viata .jc-bara.jc-hp-bun { background: var(--astro-ok); }
.jc-stari-v { position: absolute; left: calc( 50% + 3.1rem + .4rem ); top: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; transform: translateY( -50% ); white-space: nowrap; }
.jc-stari-v:empty { display: none; }
.jc-sep { width: 80%; max-width: 18rem; margin: .5rem auto; border: 0; border-top: 1px solid #c3c9d6; }
.jc-eroul { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .3rem 0; }
.jc-erou-col { display: flex; flex-direction: column; align-items: center; }
.jc-eroul .jc-arthur { position: relative; left: auto; top: auto; width: 4.6rem; transform: none; }
.jc-eroul .jc-lateral { position: static; left: auto; right: auto; top: auto; transform: none; }
.jc-eroul .jc-arthur.jc-lovit { animation: jc-lovit .35s linear; }
@media ( min-width: 701px ) { .jc-eroul .jc-arthur { width: 5.4rem; } .jc-viata .jc-bara { flex-basis: 7.5rem; width: 7.5rem; } .jc-stari-v { left: calc( 50% + 3.75rem + .4rem ); } }
@media ( max-width: 700px ) { .jc-viata-erou { margin-top: .3rem; } }

/* Arthur centrat pe orizontala, energia si butonul Gata una sub alta in dreapta, nu mai inalte decat poza lui */
.jc-eroul { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; }
.jc-eroul .jc-erou-col { grid-column: 2; }
.jc-eroul .jc-lateral { grid-column: 3; justify-self: start; align-self: start; margin-left: .8rem; flex-direction: column; align-items: center; gap: .2rem; }
.jc-eroul .jc-lateral .jc-energie { width: 2.5rem; height: 2.5rem; border-width: 2px; }
.jc-eroul .jc-lateral .jc-energie b { font-size: 1.25rem; }
.jc-eroul .jc-actiuni .astro-sab-buton { padding: .15rem .8rem; font-size: .85rem; line-height: 1.3; }
@media ( min-width: 701px ) {
	.jc-eroul .jc-lateral .jc-energie { width: 3rem; height: 3rem; }
	.jc-eroul .jc-lateral .jc-energie b { font-size: 1.5rem; }
	.jc-eroul .jc-actiuni .astro-sab-buton { padding: .25rem 1rem; font-size: .95rem; }
}

.jc-eroul .jc-lateral .jc-energie { width: 2.1rem; height: 2.1rem; }
.jc-eroul .jc-lateral .jc-energie b { font-size: 1.05rem; }
.jc-eroul .jc-actiuni .astro-sab-buton { padding: .2rem .9rem; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
@media ( min-width: 701px ) {
	.jc-eroul .jc-lateral .jc-energie { width: 2.6rem; height: 2.6rem; }
	.jc-eroul .jc-lateral .jc-energie b { font-size: 1.3rem; }
	.jc-eroul .jc-actiuni .astro-sab-buton { padding: .25rem 1rem; font-size: 1.1rem; }
}

/* Energia in stanga pozei lui Arthur, Gata in dreapta, amandoua centrate vertical dupa poza */
.jc-eroul .jc-lateral { display: contents; }
.jc-eroul .jc-lateral .jc-energie { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; margin: 1.25rem .8rem 0 0; }
.jc-eroul .jc-actiuni { grid-column: 3; grid-row: 1; justify-self: start; align-self: start; height: 4.6rem; display: flex; flex-direction: row; align-items: center; margin-left: .8rem; }
.jc-eroul .jc-erou-col { grid-row: 1; }
@media ( min-width: 701px ) {
	.jc-eroul .jc-lateral .jc-energie { margin-top: 1.4rem; }
	.jc-eroul .jc-actiuni { height: 5.4rem; }
}

.jc-arta-inamic { position: relative; }
.jc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; border-radius: inherit; }

.jc-et { display: none; }
@media ( min-width: 701px ) {
	.jc-et { display: inline; }
	.jc-chei { top: 2.6rem; }
	.jc-chei .jc-vezi-mic { font-size: .85rem; text-align: left; }
}

@media ( min-width: 701px ) { .jc-inamic h3 { display: table; margin: .2rem auto 0; } .jc-viata.jc-viata-en { margin-top: .2rem; } }

.jc-intro-nivel { background: none; text-shadow: 0 0 6px rgba( 0, 0, 0, .9 ), 0 0 3px rgba( 0, 0, 0, .9 ); }

@media ( min-width: 701px ) { .jc-mesaj-lupta { min-height: 1.4rem; line-height: 1.4rem; margin: -.2rem 0; } }

@media ( min-width: 701px ) { .jc-eroul { margin-bottom: 1.3rem; } }
.jc-stari-v .jc-vr-umbra, .jc-stari-v .jc-vr-confuz, .jc-stari-v .jc-vr-forta { display: inline-block; padding: .05rem .5rem; font-size: .85rem; font-weight: 600; color: #fff; border-radius: 4px; }

@media ( min-width: 701px ) { .jc-arthur img { display: block; } .jc-eroul .jc-viata-erou { margin: .7rem auto 0; } .jc-eroul { margin-bottom: 1.1rem; } }

.jc-alege-nivel { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin: .8rem 0 0; }
.jc-alege-nivel > span { margin-right: .3rem; }
.jc-nv { min-width: 2.2rem; font-weight: 700; }
.jc-nv.ales { background: var(--astro-sus); color: #fff; border-color: var(--astro-sus); }
.jc-nv:disabled { opacity: .45; cursor: default; }

.jc-sef h3 { color: #fff; }

.jc-stea { white-space: nowrap; letter-spacing: -.12em; }

/* Numele inamicului peste animatie, jos; Arthur animat peste poza statica */
.jc-inamic .jc-cadru h3 { position: absolute; left: 50%; bottom: .6rem; display: block; width: max-content; max-width: calc( 100% - 1rem ); margin: 0; transform: translateX( -50% ); font-size: 1.15rem; line-height: 1.25; text-align: center; background: rgba( 43, 29, 63, .82 ); }
.jc-inamic.jc-sef .jc-cadru h3 { background: rgba( 74, 16, 32, .85 ); }
@media ( max-width: 700px ) { .jc-inamic .jc-cadru h3 { bottom: .35rem; padding: .15rem .6rem; font-size: .9rem; } }
.jc-arthur { position: relative; }
.jc-arthur .jc-video { border-radius: 8px; }

/* Arthur animat mai mare (150 px pe calculator, 112 px pe telefon) */
.jc-eroul .jc-arthur { width: 7rem; }
.jc-eroul .jc-actiuni { height: 7rem; }
.jc-eroul .jc-lateral .jc-energie { margin-top: 2.2rem; }
@media ( min-width: 701px ) {
	.jc-eroul .jc-arthur { width: 9.4rem; }
	.jc-eroul .jc-actiuni { height: 9.4rem; }
	.jc-eroul .jc-lateral .jc-energie { margin-top: 3.4rem; }
	.jc-eroul .jc-viata-erou .jc-bara { flex-basis: 9.4rem; width: 9.4rem; }
	.jc-eroul .jc-viata-erou .jc-stari-v { left: calc( 50% + 4.7rem + .4rem ); }
}

/* Recompensa pe telefon: cele doua carti isi impart latimea, fara bara de derulare */
@media ( max-width: 700px ) {
	.jc-optiune .jc-mana.jc-oferta { overflow-x: visible; scroll-snap-type: none; justify-content: center; }
	.jc-optiune .jc-mana.jc-oferta .jc-carte { flex: 1 1 0; width: auto; max-width: 9.5rem; min-width: 0; }
}

/* Fazele Lunii (calculator): etichete sub numele fazei si durata lunatiei */
.astro-fl-tabel .fl-eticheta { margin-top: .15rem; font-size: .85rem; font-weight: 600; color: #444; }
.astro-fl-tabel tr.fl-ecl-s td, .fl-c-s { background: var(--astro-fl-ecl-s); }
.astro-fl-tabel tr.fl-ecl-l td, .fl-c-l { background: var(--astro-fl-ecl-l); }
.astro-fl-tabel tr.fl-albastra td, .fl-c-a { background: var(--astro-fl-albastra); }
.astro-fl-tabel tr.astro-tp-m-ar td { background: var(--astro-tp-ar); }
.astro-fl-tabel .fl-durata { font-size: .85rem; color: #666; white-space: nowrap; }
.astro-fl-tabel td:nth-child(2), .astro-fl-tabel td.ea-btn { white-space: nowrap; }

/* Echidistante: planeta rectificatoare pe fundal */
.astro-ech-tabel tr.ales td { background: var(--astro-tp-ar); font-weight: 600; }
.astro-ech-tabel td svg { vertical-align: middle; }

/* Grafic tranzite (inc/astro-grafic-tranzite.php) */
:root { --astro-gt-azi: #e0a800; --astro-gt-grila: #dfe6ee; --astro-gt-banda: #eef3f9; --astro-gt-grila-m: #b9c6d6; --astro-gt-text: #51606f; --astro-gt-exact: #1b2733; }
.gt-scroll { margin: 1rem 0; }
.gt { display: flex; min-width: 980px; align-items: flex-start; }
.gt-col-lab { flex: 0 0 5.4rem; position: sticky; left: 0; z-index: 2; background: var(--astro-fundal, #fff); }
.gt-col-plot { flex: 1 1 auto; min-width: 0; }
.gt-lr { display: flex; align-items: center; gap: .15rem; white-space: nowrap; }
.gt-lr { box-sizing: border-box; border-radius: 3px 0 0 3px; padding-left: .25rem; }
.gt-lr.hov, .gt-lr.ales { background: var(--astro-gt-banda); box-shadow: inset 3px 0 0 var(--astro-sus); }
.gt-lr .pm-pl svg { vertical-align: middle; }
.gt-lr svg.as-orb-simb, .gt-det-sim svg.as-orb-simb { width: var(--astro-simb-aspect, 16px) !important; height: var(--astro-simb-aspect, 16px) !important; }
.gt-svg { display: block; font-family: inherit; }
.gt-grila { stroke: var(--astro-gt-grila); stroke-width: 1; }
.gt-grila.mare { stroke: var(--astro-gt-grila-m); }
.gt-eti { font-size: 14px; font-weight: 600; fill: var(--astro-gt-text); }
.gt-sep { stroke: var(--astro-gt-grila-m); stroke-width: 1; }
.gt-zona { fill: transparent; }
.gt-r:hover .gt-zona, .gt-r.ales .gt-zona { fill: var(--astro-gt-banda); }
.gt-r:focus { outline: none; }
.gt-bara.gt-conj { fill: var(--astro-aspect-conj); }
.gt-bara.gt-bun { fill: var(--astro-aspect-bun); }
.gt-bara.gt-tens { fill: var(--astro-aspect-tens); }
.gt-bara.gt-min { fill: var(--astro-aspect-min-o); }
.gt-exact { stroke: var(--astro-gt-exact); stroke-width: 2; }
.gt-azi { stroke: var(--astro-gt-azi); stroke-width: 2; stroke-dasharray: 4 3; }
.astro-leg-cul.gt-conj { background: var(--astro-aspect-conj); }
.astro-leg-cul.gt-bun { background: var(--astro-aspect-bun); }
.astro-leg-cul.gt-tens { background: var(--astro-aspect-tens); }
.astro-leg-cul.gt-min { background: var(--astro-aspect-min-o); }
.astro-leg-cul.gt-leg-exact { background: var(--astro-gt-exact); width: 3px; }
.astro-leg-cul.gt-leg-azi { background: var(--astro-gt-azi); width: 3px; }

/* Grafic tranzite: planeta in casa si in semn, interpretarea de la clic */
:root { --astro-gt-casa: #5b6b80; --astro-gt-semn: #b08d3c; }
.gt-bara.gt-casa { fill: var(--astro-gt-casa); }
.gt-bara.gt-semn { fill: var(--astro-gt-semn); }
.astro-leg-cul.gt-casa-l { background: var(--astro-gt-casa); }
.astro-leg-cul.gt-semn-l { background: var(--astro-gt-semn); }
.gt-casa { display: inline-block; min-width: 1.15rem; height: 1.15rem; line-height: 1.05rem; padding: 0 .15rem; box-sizing: border-box; border: 1px solid var(--astro-gt-casa); border-radius: 3px; font-size: .78rem; text-align: center; color: var(--astro-gt-text); margin-left: .1rem; }
.gt-det-sim .gt-casa, .gt-det-sim .ecl-semn { margin-left: .2rem; }
.gt-interp:empty { display: none; }
.gt-interp { margin-top: 1rem; }
@media ( max-width: 700px ) { .astro-legenda.gt-leg .astro-legenda-lista { flex-direction: column; align-items: flex-start; gap: .45rem; } }
.gt-d-lista { display: none; }
@media ( max-width: 700px ) {
	.gt-d-linie { display: none; }
	.gt-d-lista { display: block; }
	.gt-detaliu .gt-det-sim { display: block; margin-bottom: .35rem; }
	.gt-d-r { display: block; line-height: 1.6; }
	.gt-d-sep { display: block; height: .5rem; }
}
/* Grafic tranzite: detaliul la clic e mereu pe randuri (Incepe / Exact / Se termina), linia intr-un rand ramane doar la tooltip */
.gt-d-linie { display: none !important; }
.gt-d-lista { display: block !important; }
.gt-detaliu .gt-det-sim { display: block; margin-bottom: .35rem; }
.gt-d-r { display: block; line-height: 1.6; }
.gt-d-sep { display: block; height: .5rem; }

/* Grafic tranzite: data de sub cursor, marcajul zilei alese si lista tranzitelor */
.gt-cursor { stroke: var(--astro-gt-text); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.gt-marca { stroke: var(--astro-sus); stroke-width: 2; pointer-events: none; }
.gt-tip { position: fixed; z-index: 50; background: var(--astro-gt-text); color: #fff; font-size: .85rem; padding: .2rem .5rem; border-radius: 3px; pointer-events: none; white-space: nowrap; }
.gt-zi { margin-top: 1rem; }
.gt-zi .gt-zi-lista { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin-top: .5rem; }
.gt-zi .gt-zi-r { display: inline-flex; align-items: center; gap: .1rem; }
.gt-zi .gt-zi-r .gt-casa, .gt-zi .gt-zi-r svg { vertical-align: middle; }
.gt-zi .gt-zi-data { margin-right: .5rem; }
.gt-svg { touch-action: pan-x pan-y; }
.gt-zi .el-harta { display: inline-block; padding: .15rem .6rem; font-family: inherit; font-size: .85rem; font-weight: 400; border-radius: 4px; cursor: pointer; }
.gt-zi .el-harta.h2, .gt-zi .el-harta.h2:hover { color: var(--astro-ok); background: var(--astro-verde-nota); border: 1px solid var(--astro-ok); }
.gt-zi .el-harta.h1, .gt-zi .el-harta.h1:hover { color: var(--astro-sus); background: var(--astro-galben-nota); border: 1px solid var(--astro-gri-slab); }
.gt-zi .el-harta.h1:hover { border-color: var(--astro-sus); }
.gt-zi .el-harta.h1, .gt-zi .el-harta.h1:hover { color: var(--astro-sus); background: var(--astro-galben-nota); border: 1px solid var(--astro-gri-slab); }
.gt-zi .el-harta.h1:hover { border-color: var(--astro-sus); }
.gt-zi[hidden], .gt-interp[hidden] { display: none; }
.astro-legenda.gt-leg .astro-legenda-lista { flex-direction: column; align-items: flex-start; gap: .45rem; }
.gt-harta-loc .astro-harta-svg { max-width: 760px; }
/* Grafic tranzite: pe doua coloane se vede tot, fara derulare; derularea ramane doar pe ecrane inguste */
.gt-scroll { overflow-y: hidden; }
.gt { min-width: 760px; }
@media ( min-width: 1100px ) { .gt-scroll { overflow: visible; } .gt { min-width: 0; } }
.gt-svg line, .gt-svg rect { vector-effect: non-scaling-stroke; }
.gt-zi .gt-zi-u { margin-left: .3rem; color: var(--astro-gt-text); font-size: .9rem; }

/* Tranzite: pana cand e valabila casa / aspectul din interpretare */
.astro-tr-pana { display: block; margin-top: .35rem; font-size: .92em; font-style: italic; color: var(--astro-gri-slab); }


/* Serialul interactiv ([aventura]) */
.astro-av { max-width: 46rem; }
.astro-av-titlu { margin: 0 0 .8rem; font-size: clamp( 1.05rem, 4.6vw, 1.5rem ); line-height: 1.25; }
.astro-av-scena.intra { animation: astro-av-apare .3s ease-out; }
.astro-av-scena.iese { animation: astro-av-dispare .15s ease-in forwards; }
@keyframes astro-av-apare { from { opacity: 0; } to { opacity: 1; } }
@keyframes astro-av-dispare { from { opacity: 1; } to { opacity: 0; } }
.astro-av-img { display: block; width: 100%; height: auto; margin: 1.25rem 0 1.25rem; border-radius: 6px; }
.astro-av-text { margin: 0 0 1rem; font-size: 1.1rem; line-height: 1.65; }
.astro-av-urmeaza { margin: 1.2rem 0; padding: .7rem 1rem; background: var(--astro-galben-nota); border-left: 4px solid var(--astro-sus); }
.astro-av-urmeaza strong { font-family: var(--astro-font-titlu, inherit); display: block; margin-bottom: .25rem; }
.astro-av-urmeaza p { margin: 0; }
.astro-av-obiect-nou { margin: 0 0 1rem; padding: .5rem .8rem; background: var(--astro-galben-nota); border-left: 4px solid var(--astro-sus); }
.astro-av-alegeri { display: flex; flex-direction: column; gap: .6rem; margin: 1.4rem 0 1rem; }
.astro-av-alegere { text-align: left; padding: .75rem 1rem; font: inherit; line-height: 1.4; color: inherit; background: #fff; border: 2px solid var(--astro-sus); border-radius: 6px; cursor: pointer; transition: background .2s; }
.astro-av-alegere:hover:not(:disabled), .astro-av-alegere:focus-visible { background: var(--astro-galben-nota); outline: none; }
.astro-av-alegere.blocat { color: var(--astro-gri-slab); border-color: var(--astro-gri-slab); cursor: not-allowed; }
.astro-av-cere { display: block; margin-top: .25rem; font-size: .88em; font-style: italic; }
.astro-av-inventar { margin: 0; font-size: .92rem; color: var(--astro-gri-slab); }
@media (prefers-reduced-motion: reduce) { .astro-av-scena.intra, .astro-av-scena.iese { animation: none; } }

.astro-av-arhiva ul { margin: .6rem 0 0; padding-left: 1.2rem; }

.astro-av-scena { scroll-margin-top: 7rem; }

/* Prima pagina: ultimul episod din serial */
.astro-av-acasa { margin: 2rem 0; }
.astro-av-acasa-card { display: grid; grid-template-columns: 1fr; border: 1px solid var(--astro-linie, #d9d4c7); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; }
.astro-av-acasa-card:hover { border-color: var(--astro-galben-nota, #e0b84c); }
.astro-av-acasa-img { width: 100%; height: 100%; min-height: 12rem; object-fit: cover; display: block; }
.astro-av-acasa-corp { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem; justify-content: center; }
.astro-av-acasa-eticheta { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.astro-av-acasa-titlu { font-size: 22.4px; font-weight: 700; line-height: 1.25; }
.astro-av-acasa-text { line-height: 1.5; }
@media (min-width: 700px) {
	.astro-av-acasa-card:has( .astro-av-acasa-img ) { grid-template-columns: 3fr 2fr; }
	.astro-av-acasa-img { order: 2; aspect-ratio: 16 / 9; height: 100%; min-height: 0; }
}

/* Serialul, "Cine e cine" pe ecranul de start */
.astro-av-cine { margin: 1rem 0; }
.astro-av-cine summary { cursor: pointer; font-weight: 600; }
.astro-av-pers-lista { display: flex; flex-direction: column; gap: 1.6rem; margin: 1.2rem 0 0; }
.astro-av-pers { display: flex; gap: 1rem; align-items: flex-start; margin: 0 0 1.6rem; }
.astro-av-pers:last-child { margin-bottom: 0; }
.astro-av-pers-poza { flex: 0 0 110px; width: 110px; height: auto; aspect-ratio: 300 / 386; object-fit: cover; border-radius: 6px; }
.astro-av-pers strong { display: block; }
.astro-av-pers p { margin: .15rem 0 0; }

/* Lista serialelor interactive ([seriale_interactive]) */
.astro-seriale .astro-av-acasa { margin: 0 0 1.5rem; }
.astro-av-acasa-descriere { display: block; margin: 0 0 .6rem; color: var(--astro-gri-slab); font-size: .95rem; }

/* episoadele anterioare ale unui serial, sub butoanele de start */
.astro-av-ep-mare { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin: 0 0 1rem; }
.astro-av-rezumat { margin: 0 0 1.4rem; }
.astro-av-start:not([hidden]) ~ .astro-av-titlu-joc { display: none; }
.astro-av-arhiva-titlu { margin: 2.2rem 0 .8rem; }
.astro-av-arhiva { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.astro-av-ep { display: flex; flex-direction: column; border: 1px solid var(--astro-linie); border-radius: 8px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; }
.astro-av-ep-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--astro-info-fundal); transition: transform .35s ease; }
.astro-av-ep:hover .astro-av-ep-img { transform: scale(1.07); }
.astro-av-ep { position: relative; }
.astro-av-ep-titlu { display: block; padding: .7rem .8rem .9rem; font-weight: 700; line-height: 1.3; }
.astro-av-ep:hover .astro-av-ep-titlu { text-decoration: underline; color: var(--astro-accent); }
.astro-av-ep-nr { display: block; font-weight: 400; font-size: .82rem; color: var(--astro-gri-slab); margin-bottom: .15rem; }
@media (max-width: 700px) { .astro-av-arhiva { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cer animat ([cer_animat]) */
.astro-cer-grila { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; margin-bottom: 1rem; }
.astro-cer-roata { position: relative; }
.astro-cer .astro-cer-svg { min-width: 0; width: 100%; height: auto; max-width: 640px; display: block; margin: 0 auto; color: var(--astro-tinta); }
.astro-cer-incarca { position: absolute; left: 0; right: 0; top: 46%; text-align: center; margin: 0; font-weight: 700; color: var(--astro-gri-slab); }
.astro-cer-lin { stroke-linecap: round; }
.astro-cer-lin.astro-cer-asp-bun { stroke: var(--astro-aspect-bun); }
.astro-cer-lin.astro-cer-asp-tens { stroke: var(--astro-aspect-tens); }
.astro-cer-lin.astro-cer-asp-conj { stroke: var(--astro-aspect-conj); }
.astro-cer-lin.sep { stroke-dasharray: 5 4; }
.astro-cer-lin.ex { filter: none; stroke-opacity: 1; }
.astro-cer-panou { min-width: 0; }
.astro-cer-data { display: flex; flex-direction: column; margin-bottom: .6rem; }
.astro-cer-data strong { font-size: 1.25rem; color: var(--astro-sus); }
.astro-cer-data span { color: var(--astro-gri-slab); font-size: .92rem; }
.astro-cer-sl { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) 6.2rem; align-items: center; gap: .6rem; margin: .35rem 0; }
.astro-cer-sl span { font-weight: 700; }
.astro-cer-sl input[type=range] { width: 100%; }
.astro-cer-sl output { text-align: right; font-variant-numeric: tabular-nums; }
.astro-cer-sl input[type=range] { accent-color: var(--astro-sus); outline: none; }
.astro-cer-sl { padding: .05rem .4rem; margin-left: -.4rem; margin-right: -.4rem; border-radius: 4px; }
.astro-cer-sl:focus-within { background: var(--astro-galben-nota); }
.astro-cer-sl input[type=range]:focus { accent-color: var(--astro-retro); }
.astro-cer-poz { display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--r, 6), auto); grid-template-columns: 1fr 1fr; column-gap: 1.2rem; margin-top: 1.4rem; }
.astro-cer-pr { display: grid; grid-template-columns: 1.6rem 4.4rem 1.8rem 1.2rem; align-items: center; column-gap: .45rem; padding: .22rem .1rem; border-bottom: 1px solid var(--astro-linie); font-variant-numeric: tabular-nums; }
.astro-cer-pr .astro-ca-g { width: 1.4rem; height: 1.4rem; }
.astro-cer-gr { font-size: 1.05rem; }
.astro-cer-et { font-weight: 700; font-size: .95rem; text-align: center; }
.astro-cer-case { margin-top: 1.1rem; }
.astro-cer-case-t { font-weight: 700; color: var(--astro-sus); margin-bottom: .2rem; }
.astro-cer-case-g { display: grid; grid-auto-flow: column; grid-template-rows: repeat(6, auto); grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
.astro-cer-sg { font-size: 1.4rem; line-height: 1; text-align: center; text-align: center; }
.astro-cer-sg.e0 { color: var(--astro-cer-sg-foc); } .astro-cer-sg.e1 { color: var(--astro-cer-sg-pam); } .astro-cer-sg.e2 { color: var(--astro-cer-sg-aer); } .astro-cer-sg.e3 { color: var(--astro-cer-sg-apa); }
.astro-cer-r { color: var(--astro-retro); font-weight: 700; font-size: 1.1rem; }
.astro-cer-st { min-width: 0; }
.astro-cer-sub { margin-top: .6rem; }
.astro-cer-asp { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.2rem, 1fr)); gap: 0 .7rem; }
.astro-cer-nota { margin: .8rem 0 0; }
.astro-cer-chip { cursor: pointer; display: flex; align-items: center; gap: .2rem; padding: .1rem .3rem; border-bottom: 1px solid var(--astro-linie); font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.astro-cer-chip .astro-ca-g { width: 20px; height: 20px; flex: none; }
.astro-cer-chip .astro-ca-g[class*="astro-ca-asp-"] { width: 16px; height: 16px; }
.astro-cer-chip i { font-style: normal; margin-left: .3rem; }
.astro-cer-chip b { margin-left: .2rem; font-size: .85rem; }
.astro-cer-chip b.ap { color: var(--astro-ok); } .astro-cer-chip b.sp { color: var(--astro-sus); }
.astro-cer-chip:hover, .astro-cer-chip:focus-visible { background: var(--astro-galben-nota); outline: none; }
.astro-cer-chip.astro-cer-ex { background: var(--astro-galben-nota); font-weight: 700; }
.astro-cer-nimic { grid-column: 1 / -1; color: var(--astro-gri-slab); }
@media (min-width: 801px) { .astro-cer .astro-cer-svg { max-width: 620px; } .astro-cer-grila { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .astro-cer-sl { margin: .15rem 0; } }
@media (min-width: 801px) { .astro-cer-st { grid-column: 1; grid-row: 1; } .astro-cer-panou { grid-column: 2; grid-row: 1; } .astro-cer-sub { grid-column: 1 / -1; grid-row: 2; margin-top: 0; } }
@media (max-width: 800px) { .astro-cer-grila { grid-template-columns: minmax(0, 1fr); } .astro-cer-st { order: 1; } .astro-cer-panou { order: 2; } .astro-cer-sub { order: 3; margin-top: 0; } .astro-cer-sl { grid-template-columns: 3.6rem minmax(0, 1fr) 5.4rem; } }

/* ===== COMPONENTE COMUNE (butoane si campuri): clasele de folosit la orice pagina noua, fara reguli proprii pe pagina ===== */
.astro-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.4rem; padding: 0 .9rem; border: 1px solid var(--astro-sus); border-radius: 4px; background: #fff; color: var(--astro-sus); font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.astro-btn:hover, .astro-btn[aria-pressed="true"] { background: var(--astro-sus); color: #fff; }
.astro-camp { box-sizing: border-box; height: 2.2rem; padding: 0 .5rem; font: inherit; font-size: 1rem; font-weight: 400; color: var(--astro-tinta); background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; }
.astro-camp:hover { border-color: var(--astro-albastru-mediu); }
body .astro-camp:focus, body .astro-camp:focus-visible { outline: none; box-shadow: none; border-color: var(--astro-sus); }

/* Cer animat: aspecte minore si panoul Setari */
.astro-cer-lin.astro-cer-asp-min { stroke: var(--astro-aspect-min); }
.astro-cer-lin.astro-cer-asp-min-t { stroke: var(--astro-aspect-tens); }
.astro-cer-lin.astro-cer-asp-min-o { stroke: var(--astro-aspect-min-o); }
.astro-ca-g.astro-ca-asp-min { color: var(--astro-aspect-min); }
.astro-ca-g.astro-ca-asp-min-t { color: var(--astro-aspect-tens); }
.astro-ca-g.astro-ca-asp-min-o { color: var(--astro-aspect-min-o); }
.astro-cer-setari[hidden], .astro-cer-poz[hidden] { display: none; }
.astro-cer-setari { margin-top: .6rem; }


.astro-cer .astro-formular, .astro-sol .astro-formular { max-width: none; margin: 0 0 1rem; }
.astro-cer-form .af-rand.astro-cer-mom { flex-direction: column; align-items: stretch; gap: .2rem; }
.astro-cer .astro-cer-bt, .astro-sol .astro-cer-bt, .astro-obs .astro-cer-bt { margin: 1.4rem 0 0; background: none; border: 0; }
.astro-cer-bt .af-butoane { justify-content: center; background: none; padding: 0; }
.astro-cer-bt .af-butoane button { min-width: 7.6rem; justify-content: center; background: var(--astro-sus); border-color: var(--astro-sus); color: #fff; }
@media (max-width: 800px) { .astro-cer-bt .af-butoane { flex-wrap: nowrap; gap: .4rem; } .astro-cer-bt .af-butoane button { flex: 1 1 0; min-width: 0; padding: 0 .2rem; font-size: .9rem; height: 2.2rem; white-space: nowrap; } }
.astro-cer-bt .af-butoane button:hover { background: var(--astro-sus-hover); border-color: var(--astro-sus-hover); }
@media (hover: none) { .astro-cer-bt .af-butoane button:hover { background: var(--astro-sus); border-color: var(--astro-sus); } }
.astro-cer-bt .af-butoane button[aria-pressed="true"] { background: var(--astro-pauza); border-color: var(--astro-pauza); }
.astro-cer-bt .af-butoane button[aria-pressed="true"]:hover { background: var(--astro-pauza-hover); border-color: var(--astro-pauza-hover); }
@media (hover: none) { .astro-cer-bt .af-butoane button[aria-pressed="true"]:hover { background: var(--astro-pauza); border-color: var(--astro-pauza); } }

.astro-cer-mesaj { margin: 0 0 .4rem; color: #b00020; font-weight: 600; }
.astro-cer-mesaj:empty { display: none; }
.astro-cer-mesaj.calcul { color: var(--astro-sus, #1a5fb4); }
.astro-cer-chip .astro-cer-txt { font-size: .7rem; font-weight: 700; min-width: 1.1rem; text-align: center; }

/* Sistemul solar (inc/astro-sistem-solar.php): foloseste formularele, butoanele si grila de la Cer animat; aici doar ce e specific desenului */
:root { --astro-sol-soare: #e0a200; --astro-sol-pamant: #1f5fa8; --astro-sol-orbita: #b9c6dd; --astro-sol-vizare: var(--astro-retro); --astro-sol-retro: #f28c1e; }
.astro-sol [hidden] { display: none !important; }
.astro-sol .astro-sol-svg { min-width: 0; width: 100%; height: auto; max-width: 640px; display: block; margin: 0 auto; color: var(--astro-tinta); }
.astro-sol-orbita { fill: none; stroke: var(--astro-sol-orbita); stroke-width: 1.2; }
.astro-sol-soare { fill: var(--astro-sol-soare); stroke: none; }
.astro-sol-pl { fill: var(--astro-tinta); stroke: none; }
.astro-sol-pl.astro-sol-pam { fill: var(--astro-sol-pamant); }
.astro-sol-pl.astro-sol-retro { fill: var(--astro-sol-retro); } /* planeta retrograda, bila portocalie plina */
.astro-sol-luna { fill: var(--astro-gri-slab); stroke: none; }
.astro-sol-lorbita { fill: none; stroke: var(--astro-sol-orbita); stroke-width: 1; }
.astro-sol-vizare { stroke: var(--astro-sol-vizare); stroke-width: 1.4; stroke-opacity: .6; stroke-dasharray: 5 4; }
.astro-sol-vizare-pct { fill: var(--astro-sol-vizare); stroke: #fff; stroke-width: 1.5; }
.astro-sol-lg { display: inline-block; flex: none; width: 1.4rem; height: .8rem; position: relative; }
.astro-sol-lg::before { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.astro-sol-lg-soare::before { width: .9rem; height: .9rem; background: var(--astro-sol-soare); }
.astro-sol-lg-pam::before { width: .75rem; height: .75rem; background: var(--astro-sol-pamant); }
.astro-sol-lg-pl::before { width: .7rem; height: .7rem; background: var(--astro-tinta); }
.astro-sol-lg-retro::before { width: .7rem; height: .7rem; background: var(--astro-sol-retro); }
.astro-sol-lg-luna::before { width: .45rem; height: .45rem; background: var(--astro-gri-slab); }
.astro-sol-lg-pct::before { width: .6rem; height: .6rem; background: var(--astro-sol-vizare); }
.astro-sol-lg-linie::before { width: 100%; height: 0; border-radius: 0; border-top: 2px dashed var(--astro-sol-vizare); }
.astro-sol-poz[data-v="top"] { column-gap: .8rem; }
.astro-sol-poz[data-v="top"] .astro-cer-pr { grid-template-columns: 1.6rem 3.9rem 1.8rem minmax(0, 1fr) 1.1rem; column-gap: .3rem; }
.astro-sol-poz[data-v="top"] .astro-sol-dist { font-size: .92rem; }
.astro-sol-dist { color: var(--astro-gri-slab); font-variant-numeric: tabular-nums; white-space: nowrap; }
.astro-sol-nota { margin-top: .8rem; }
@media (min-width: 801px) { .astro-sol .astro-sol-svg { max-width: 760px; } .astro-sol .astro-cer-grila { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.astro-formular .af-campuri.astro-sol-vert { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; } /* setarile vederii heliocentrice, una sub alta */
@media (max-width: 600px) { .astro-sol-poz[data-v="top"] { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); } } /* pe telefon lista planetelor pe o singura coloana */
.astro-sol .astro-sol-vedere { margin: 0 0 .3rem; width: 100%; } /* Heliocentric / Geocentric: doua butoane albastre, cel ales plin albastru, celalalt alb cu text albastru */
.astro-sol .astro-sol-vedere .af-butoane { padding: 0; justify-content: flex-start; }
.astro-sol .astro-sol-vedere .af-butoane button[aria-pressed="false"] { background: #fff; color: var(--astro-sus); border-color: var(--astro-sus); }
.astro-sol .astro-sol-vedere .af-butoane button[aria-pressed="false"]:hover { background: var(--astro-bordura-albastra); color: var(--astro-sus-hover); border-color: var(--astro-sus-hover); }
.astro-sol .astro-sol-vedere .af-butoane button[aria-pressed="true"], .astro-sol .astro-sol-vedere .af-butoane button[aria-pressed="true"]:hover { background: var(--astro-sus); border-color: var(--astro-sus); color: #fff; cursor: default; }

/* Observator (inc/astro-observator.php, assets/astro-observator.js) */
.astro-obs { margin-bottom: 1.5rem; }
.obs-cadru { position: relative; background: #050912; border-radius: 6px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.obs-canvas { display: block; width: 100%; outline: none; cursor: grab; }
.obs-canvas:active { cursor: grabbing; }
.obs-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--astro-sus); }
.obs-incarca { position: absolute; left: 0; right: 0; top: 45%; text-align: center; margin: 0; color: #cfe0ff; font-weight: 700; }
.obs-hud { position: absolute; left: .8rem; top: .6rem; display: flex; flex-direction: column; gap: .1rem; color: #e8eefc; font-size: .88rem; text-shadow: 0 0 4px #000, 0 0 2px #000; pointer-events: none; max-width: calc(100% - 7rem); }
.obs-hud b { font-weight: 700; }
.obs-zoom { position: absolute; right: .7rem; top: .6rem; display: flex; flex-direction: column; gap: .3rem; }
.obs-zoom button, .obs-busola button { width: 2.2rem; height: 2.2rem; padding: 0; font-size: 1.25rem; line-height: 1; color: #e8eefc; background: rgba(12, 20, 40, .72); border: 1px solid rgba(160, 190, 240, .45); border-radius: 4px; cursor: pointer; }
.obs-busola { position: absolute; left: 50%; bottom: .6rem; transform: translateX(-50%); display: flex; gap: .3rem; }
.obs-busola button { width: auto; min-width: 2.2rem; padding: 0 .6rem; font-size: .92rem; font-weight: 700; }
.obs-zoom button:hover, .obs-busola button:hover { background: rgba(40, 70, 130, .85); border-color: #9bbcf0; }
.obs-info { position: absolute; left: .8rem; bottom: 3.4rem; max-width: min(21rem, calc(100% - 1.6rem)); padding: .6rem .8rem; font-size: .88rem; line-height: 1.45; color: #e8eefc; background: rgba(8, 14, 30, .88); border: 1px solid rgba(160, 190, 240, .4); border-radius: 6px; }
.obs-info b { font-size: 1rem; color: #fff; }
.obs-tipul { color: #9fb6e4; }
.obs-info .obs-x { position: absolute; right: .3rem; top: .15rem; width: 1.6rem; height: 1.6rem; padding: 0; font-size: 1.2rem; color: #cfe0ff; background: none; border: 0; cursor: pointer; }
.obs-tip { position: absolute; z-index: 2; padding: .2rem .5rem; font-size: .82rem; color: #fff; background: rgba(8, 14, 30, .9); border: 1px solid rgba(160, 190, 240, .4); border-radius: 4px; white-space: nowrap; pointer-events: none; }
.obs-bara { margin-top: .9rem; display: flex; flex-direction: column; gap: .9rem; }
.obs-timp { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem 1rem; }
.obs-camp { display: flex; flex-direction: column; gap: .2rem; font-weight: 700; font-size: .9rem; }
.obs-camp input[type=date], .obs-camp input[type=time], .obs-camp input[type=text] { height: 2.4rem; padding: 0 .6rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; }
.obs-sl { flex: 1 1 14rem; }
.obs-sl input[type=range] { width: 100%; height: 2.4rem; accent-color: var(--astro-sus); }
.obs-butoane { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.obs-butoane button, .obs-butoane select { height: 2.4rem; padding: 0 .9rem; font-size: 1rem; color: #222; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; cursor: pointer; }
.obs-butoane select { padding: 0 .5rem; }
.obs-butoane button:hover { background: var(--astro-bordura-albastra); border-color: var(--astro-albastru-mediu); }
.obs-butoane button[aria-pressed=true] { background: var(--astro-bordura-albastra); border-color: var(--astro-sus); font-weight: 700; }
.obs-camp-loc { max-width: 32rem; }
.obs-camp-loc .astro-oras-cadru { position: relative; display: block; font-weight: 400; }
.obs-camp-loc input { width: 100%; box-sizing: border-box; }
.obs-straturi { display: block; }
.obs-straturi .obs-extra { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .4rem; }
.obs-straturi .obs-bifa .obs-gl { width: 1.1rem; height: 1.1rem; }
.obs-grup { display: flex; flex-direction: column; gap: .45rem; }
.obs-grup > b { font-family: var(--astro-font-titlu, inherit); color: var(--astro-sus); padding-bottom: .25rem; border-bottom: 1px solid var(--astro-linie); }
.obs-grup small { font-size: .82rem; color: var(--astro-gri-slab); line-height: 1.35; }
.obs-mag { display: flex; align-items: center; gap: .5rem; }
.obs-mag input { width: 5.5rem; height: 2.2rem; padding: 0 .5rem; font-size: 1rem; background: #fff; border: 1px solid var(--astro-camp-bordura); border-radius: 4px; box-sizing: border-box; }
.obs-bara .astro-cer-bt { margin: 0; }
.obs-bifa { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.obs-jos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; margin-top: .8rem; }
.obs-jos > .obs-acum { grid-column: 1; grid-row: 1; }
.obs-jos > .obs-vizib { grid-column: 2; grid-row: 1; }
.obs-jos > .obs-meteori { grid-column: 1 / -1; grid-row: 2; }
.obs-rand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; margin-top: .9rem; }
.obs-rand > .astro-formular { margin: 0; max-width: none; }
.astro-obs { display: flex; flex-direction: column; }
.astro-obs > .obs-straturi { display: block; }
@media (max-width: 900px) { .obs-rand { display: contents; } .obs-rand > .obs-f-caut { order: -1; margin: 0 0 .9rem; } .obs-rand > .obs-f-loc { margin: .9rem 0 0; } .obs-bara { order: 1; } .obs-f-loc { order: 2; } .obs-jos { order: 3; } }
.obs-jos > .obs-obiecte { grid-column: 1 / -1; grid-row: 3; } /* tabelul si graficul pe acelasi rand, ca randurile lor sa se aliniaze */
.obs-form .af-titlu-p ~ .af-titlu-p { border-top: 0; } /* fara linia inchisa intre sectiuni */
.obs-rand .astro-tranzit-camp, .obs-rand .af-rand { background: transparent; }
.obs-rand .astro-formular .astro-tranzit-camp { border-top: 0; margin-top: 0; } /* randul Locul pe fundalul deschis, ca randul Viteza */
.obs-cartela h3 { margin: 0 0 .5rem; color: var(--astro-sus); }
.obs-faza { margin: 0 0 .6rem; }
.obs-tabel { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.obs-tabel th, .obs-tabel td { padding: .3rem .4rem; text-align: left; border-bottom: 1px solid var(--astro-linie); font-size: .92rem; white-space: nowrap; }
.obs-tabel tr.jos td { color: var(--astro-gri-slab); }
.obs-tabel tr.jos .astro-cer-sg { color: inherit; }
.obs-tabel .astro-cer-sg { display: inline; font-size: 1.15rem; vertical-align: middle; }
.obs-gl { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.obs-nota { margin: .5rem 0 0; font-size: .85rem; color: var(--astro-gri-slab); }
.obs-meteori ul { margin: 0 0 .5rem; padding-left: 1.2rem; }
.obs-meteori .obs-interes-titlu { margin-top: 1.8rem; }
.obs-jos > .obs-acum > h3:first-child, .obs-jos > .obs-vizib > h3:first-child { margin-top: 1.4rem; }
@media (max-width: 900px) { .obs-jos { grid-template-columns: minmax(0, 1fr); } .obs-jos > .obs-acum, .obs-jos > .obs-vizib, .obs-jos > .obs-form, .obs-jos > .obs-meteori, .obs-jos > .obs-obiecte, .obs-jos > * { grid-column: 1; grid-row: auto; } .obs-cartela.obs-acum { overflow-x: auto; } }
@media (max-width: 640px) { .obs-hud { font-size: .8rem; } .obs-busola button { min-width: 1.9rem; padding: 0 .45rem; } .obs-info { bottom: 3.2rem; } }
.obs-caut { position: relative; display: block; width: 100%; }
.obs-caut input { width: 100%; box-sizing: border-box; }

.obs-doua { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; align-items: start; }
.obs-doua > .astro-formular { margin: 0; }
@media (max-width: 800px) { .obs-doua { grid-template-columns: minmax(0, 1fr); } }

.obs-viz-svg { width: 100%; height: auto; display: block; border-radius: 6px; }
.obs-viz-ora { fill: var(--astro-gri-slab); font-size: 12px; }
.obs-viz-t { fill: #fff; font-size: 11px; paint-order: stroke; stroke: rgba(3, 6, 16, .75); stroke-width: 2.5px; }
.obs-viz-gl { color: var(--astro-text, #222); overflow: visible; }
.obs-viz-gl path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Observator: fara contururi albastre de focus / selectie nicaieri */
body .astro-obs *, body .astro-obs *:focus, body .astro-obs *:focus-visible, body .astro-obs *:active { -webkit-tap-highlight-color: transparent; }
body .astro-obs *:focus, body .astro-obs *:focus-visible, body .astro-obs canvas:focus, body .astro-obs select:focus-visible, body .astro-obs input:focus-visible, body .astro-obs button:focus-visible { outline: none !important; outline-offset: 0 !important; box-shadow: none !important; }
body .astro-obs input:not([type="checkbox"]):focus-visible, body .astro-obs select:focus-visible { border-color: var(--astro-gri-slab, #bbb); }

.obs-tabel tr.clic { cursor: pointer; }
.obs-tabel tr.clic:hover td { background: var(--astro-info-fundal); }
.obs-obiecte .obs-interes { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .5rem; grid-auto-rows: 1fr; }
.obs-interes button { height: 100%; width: 100%; display: flex; flex-direction: column; gap: .15rem; text-align: left; padding: .5rem .7rem; background: #fff; border: 1px solid var(--astro-bordura-albastra); border-radius: 6px; cursor: pointer; font: inherit; color: inherit; }
.obs-interes button:hover { background: var(--astro-info-fundal); }
.obs-interes button b { font-size: .9rem; }
.obs-interes button span { font-size: .85rem; color: var(--astro-gri-slab); }
.obs-obiecte .obs-interes-titlu { margin-top: 0; }

.obs-interes li { display: flex; }
.obs-interes button { justify-content: flex-start; }
.obs-leg { display: inline; width: auto; padding: 0; border: 0; background: none; font: inherit; color: var(--astro-sus); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.obs-leg b { font-weight: 700; }

.obs-meteori ul:not(.obs-interes) { list-style: none; padding-left: 0; }
.obs-meteori ul:not(.obs-interes) li { margin-bottom: .3rem; }
.obs-cartela h3, .obs-jos h3 { color: inherit; }

.obs-leg.jos { color: var(--astro-gri-slab); }
.obs-interes button.jos, .obs-interes button.jos b, .obs-interes button.jos span { color: var(--astro-gri-slab); }
.obs-interes button.jos { border-color: var(--astro-linie); background: transparent; }
.obs-gl-nume { display: inline-block; width: 1.1rem; text-align: center; font-weight: 700; }

.obs-tabel th { height: 33px; padding-top: 0; padding-bottom: 0; }
.obs-tabel td { height: 39px; padding-top: 0; padding-bottom: 0; }
.obs-viz-svg { width: auto; max-width: 100%; }
.obs-bara .astro-cer-bt .af-butoane { justify-content: center; }
.obs-bara .astro-cer-bt { width: 100%; max-width: none; }
.astro-sol-svg .h-asp-conj-raza { stroke: var(--astro-aspect-conj); stroke-width: 1px; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.astro-sol-svg .h-asp-conj { stroke-width: 1.6px; }
.astro-sol-svg .astro-sol-hit { fill: transparent; pointer-events: all; cursor: grab; }
.astro-sol-svg.trage, .astro-sol-svg.trage .astro-sol-hit { cursor: grabbing; }
.astro-sol-svg [data-pl] { cursor: grab; }
.astro-cer-svg .astro-cer-hit { fill: transparent; pointer-events: all; cursor: grab; }
.astro-cer-svg [data-pl] { cursor: grab; }
.astro-cer-svg.trage, .astro-cer-svg.trage .astro-cer-hit { cursor: grabbing; }

/* butonul cu ochi spre Simulatorul de eclipse, in ultima coloana a tabelelor de eclipse */
.astro-ecl-tabel td.ecl-act { white-space: nowrap; text-align: right; }
.astro-ecl-tabel td.ecl-act > * { vertical-align: middle; }
.astro-ecl-sim { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin-right: .35rem; color: #fff; background: var(--astro-sus); border: 1px solid var(--astro-sus); border-radius: 4px; text-decoration: none; }
.astro-ecl-sim:hover { background: var(--astro-sus-hover); border-color: var(--astro-sus-hover); }
.astro-ecl-sim svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
