/* Horóscopo Gratis — diseño fijo: fondo a pantalla completa, Cinzel dorado y texto blanco. */

.hg {
	--hg-dorado: #dbca58;
	--hg-texto: #ffffff;
	--hg-oscuro: #1a1322;
	--hg-sombra: 0 1px 3px rgba(0, 0, 0, .6);
	--hg-cinzel: "Cinzel", "Trajan Pro", Georgia, serif;

	box-sizing: border-box;
	position: relative;
	display: block;
	/* Ancho completo aunque esté dentro de una columna (el JS ajusta al píxel y descuenta la barra de desplazamiento). */
	width: 100vw;
	max-width: 100vw !important;
	/* !important: algunos temas (p. ej. los de bloques) fuerzan margin: auto !important en el contenido. */
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	min-height: 100vh;
	padding: clamp(28px, 5vw, 56px) 16px clamp(36px, 6vw, 64px);
	border: 0;
	border-radius: 0;
	background-color: #0a0716;
	background-image: url("ui/fondo.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--hg-texto);
	text-shadow: var(--hg-sombra);
	line-height: 1.6;
	overflow-x: clip;
	font-family: inherit;
}
@supports (min-height: 100svh) {
	@media (max-width: 1024px) {
		.hg { min-height: 100svh; }
	}
}
@media (min-width: 1025px) and (hover: hover) {
	.hg { background-attachment: fixed; }
}
.hg *, .hg *::before, .hg *::after { box-sizing: border-box; }
.hg [hidden] { display: none !important; }

.hg .hg-interior {
	max-width: 760px;
	margin: 0 auto;
}

/* ---------- Tipografía ---------- */
.hg .hg-interior p,
.hg .hg-interior label,
.hg .hg-interior legend,
.hg .hg-interior li {
	color: var(--hg-texto);
}
.hg .hg-interior .hg-marca,
.hg .hg-interior .hg-tusigno,
.hg .hg-interior .hg-signo-nombre,
.hg .hg-interior .hg-cab-signo,
.hg .hg-interior .hg-cab-titulo,
.hg .hg-interior .hg-h,
.hg .hg-interior .hg-prof-titulo,
.hg .hg-interior .hg-prof-sub,
.hg .hg-interior .hg-aviso,
.hg .hg-interior .hg-consultoras span,
.hg .hg-interior .hg-tecnico th,
.hg .hg-interior .hg-tecnico summary {
	font-family: var(--hg-cinzel);
	color: var(--hg-dorado);
	text-shadow: var(--hg-sombra);
	letter-spacing: .03em;
}
.hg .hg-interior h2,
.hg .hg-interior h3,
.hg .hg-interior h4 {
	font-family: var(--hg-cinzel);
	color: var(--hg-dorado);
	text-transform: none;
	border: 0;
	padding: 0;
	background: none;
}

.hg .hg-marca {
	text-align: center;
	font-size: clamp(1.5rem, 3.4vw, 2.2rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 22px;
}

/* ---------- Formulario ---------- */
.hg .hg-form { margin: 0; }
.hg .hg-campo {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	min-width: 0;
}
.hg .hg-campo label,
.hg .hg-campo legend {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 6px;
	padding: 0;
	font-size: .95rem;
	font-weight: 400;
}
.hg .hg-interior input.hg-nombre,
.hg .hg-interior input.hg-p-nombre,
.hg .hg-interior select {
	display: block;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 14px;
	font: inherit;
	font-size: 16px; /* evita el zoom automático en iOS */
	line-height: 1.3;
	color: var(--hg-texto);
	background-color: transparent;
	border: 1px solid var(--hg-dorado);
	border-radius: 8px;
	box-shadow: none;
	text-shadow: var(--hg-sombra);
	outline: none;
}
.hg .hg-interior input.hg-nombre::placeholder,
.hg .hg-interior input.hg-p-nombre::placeholder { color: rgba(255, 255, 255, .6); opacity: 1; }
.hg .hg-interior select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 34px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23dbca58' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px 8px;
	cursor: pointer;
}
.hg .hg-interior select:invalid,
.hg .hg-interior select.is-vacio { color: rgba(255, 255, 255, .6); }
.hg .hg-interior select option { color: #ffffff; background-color: var(--hg-oscuro); }
.hg .hg-fecha-selects {
	display: grid;
	grid-template-columns: 1fr 1.6fr 1.2fr;
	gap: 10px;
}
.hg .hg-error {
	margin: -4px 0 12px;
	font-size: .92rem;
	font-weight: 600;
}

/* Foco visible en dorado */
.hg .hg-interior input:focus-visible,
.hg .hg-interior select:focus-visible,
.hg .hg-interior button:focus-visible,
.hg .hg-interior a:focus-visible,
.hg .hg-interior summary:focus-visible {
	outline: 2px solid var(--hg-dorado);
	outline-offset: 3px;
}
.hg .hg-interior input.hg-nombre:focus,
.hg .hg-interior input.hg-p-nombre:focus,
.hg .hg-interior select:focus { box-shadow: 0 0 0 1px var(--hg-dorado); }

/* ---------- Grilla de signos ---------- */
.hg .hg-grilla {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px 10px;
	margin: 22px 0 8px;
	padding: 0;
}
.hg .hg-signo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .5s ease, filter .5s ease;
}
.hg .hg-signo::before, .hg .hg-signo::marker { content: none; }
.hg .hg-signo img {
	display: block;
	width: 100%;
	max-width: 92px;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	transition: box-shadow .5s ease;
}
.hg .hg-signo-nombre {
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}
.hg .hg-grilla.tiene-signo .hg-signo { opacity: .32; filter: grayscale(.55); }
.hg .hg-grilla.tiene-signo .hg-signo.es-activo {
	opacity: 1;
	filter: none;
	transform: scale(1.12);
	z-index: 1;
}
.hg .hg-signo.es-activo img {
	box-shadow: 0 0 0 2px var(--hg-dorado), 0 0 18px 4px rgba(219, 202, 88, .75), 0 0 44px 12px rgba(219, 202, 88, .35);
	animation: hg-halo 2.6s ease-in-out infinite;
}
@keyframes hg-halo {
	50% { box-shadow: 0 0 0 2px var(--hg-dorado), 0 0 26px 8px rgba(219, 202, 88, .9), 0 0 64px 18px rgba(219, 202, 88, .42); }
}

.hg .hg-tusigno {
	min-height: 1.6em;
	margin: 14px 0 12px;
	text-align: center;
	font-size: 1.15rem;
	font-weight: 700;
}
.hg .hg-tusigno small {
	display: block;
	margin-top: 2px;
	font-family: inherit;
	font-size: .8rem;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--hg-texto);
}

/* ---------- Botones ---------- */
.hg button.hg-btn,
.hg a.hg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin: 0;
	padding: 10px 20px;
	font-family: var(--hg-cinzel);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.15;
	text-align: center;
	text-transform: none;
	text-decoration: none;
	text-shadow: var(--hg-sombra);
	color: var(--hg-dorado);
	background: transparent;
	border: 1px solid var(--hg-dorado);
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, opacity .25s ease, transform .25s ease;
}
.hg button.hg-btn:hover:not(:disabled),
.hg button.hg-btn[aria-pressed="true"],
.hg button.hg-btn[aria-expanded="true"],
.hg a.hg-btn:hover,
.hg a.hg-btn:focus {
	background: var(--hg-dorado);
	color: var(--hg-oscuro);
	text-shadow: none;
}
.hg button.hg-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}
.hg button.hg-btn[aria-pressed="true"]:disabled { opacity: 1; }

.hg .hg-periodos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 6px 0 0;
}

/* Carga */
.hg .hg-cargando {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 16px 0 0;
	font-style: italic;
	text-align: center;
}
.hg .hg-spinner {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border: 2px solid rgba(219, 202, 88, .25);
	border-top-color: var(--hg-dorado);
	border-radius: 50%;
	animation: hg-giro .9s linear infinite;
}
@keyframes hg-giro { to { transform: rotate(360deg); } }

.hg .hg-privacidad {
	margin: 18px 0 0;
	font-size: .85rem;
	text-align: center;
	opacity: .95;
}

/* ---------- Transiciones entre pantallas ---------- */
.hg .hg-pantalla.is-entrando { animation: hg-entrar .65s cubic-bezier(.2, .8, .2, 1) both; }
.hg .hg-pantalla.is-saliendo { animation: hg-salir .35s ease both; }
@keyframes hg-entrar {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
@keyframes hg-salir {
	to { opacity: 0; transform: translateY(-12px); }
}

/* ---------- Pantalla 2 ---------- */
.hg .hg-aviso {
	margin: 0 0 28px;
	padding: 14px 8px;
	border-top: 1px solid var(--hg-dorado);
	border-bottom: 1px solid var(--hg-dorado);
	text-align: center;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.45;
}

.hg .hg-cabecera { text-align: center; margin: 0 0 26px; }
.hg .hg-cab-img {
	display: block;
	width: 170px;
	height: 170px;
	margin: 0 auto 12px;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--hg-dorado), 0 0 30px 8px rgba(219, 202, 88, .45);
}
.hg .hg-cab-signo {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
}
.hg .hg-interior .hg-cab-titulo {
	margin: 6px 0 4px;
	font-size: clamp(1.7rem, 4.4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
}
.hg .hg-interior .hg-cab-fecha {
	margin: 0;
	font-size: 1.05rem;
}

.hg .hg-lectura p,
.hg .hg-prof-contenido p {
	margin: 0 0 14px;
	font-size: 1.07rem;
	line-height: 1.7;
}
.hg .hg-saludo p { font-size: 1.2rem; line-height: 1.6; }
.hg .hg-interior .hg-h {
	margin: 30px 0 8px;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.2;
}
.hg .hg-clave p { font-size: 1.12rem; font-style: italic; }

/* Momento clave: la fecha importante de cada área, separada del texto */
.hg .hg-lectura p.hg-momento {
	margin: 4px 0 0;
	padding: 2px 0 2px 14px;
	border-left: 2px solid var(--hg-dorado);
	font-size: 1rem;
	line-height: 1.55;
}
.hg .hg-interior .hg-momento-label {
	display: block;
	margin: 0 0 2px;
	font-family: var(--hg-cinzel);
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--hg-dorado);
}

/* "¿Y con esa persona?" al final de Amor */
.hg .hg-lectura .hg-enlace-compat { margin: 10px 0 0; }
.hg button.hg-link-compat {
	display: inline;
	min-height: 0;
	margin: 0;
	padding: 6px 0;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: left;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-shadow: var(--hg-sombra);
	color: var(--hg-dorado);
	background: none;
	border: 0;
	box-shadow: none;
	cursor: pointer;
}
.hg button.hg-link-compat:hover { text-decoration-thickness: 2px; background: none; color: var(--hg-dorado); }

/* Compartir */
.hg .hg-compartir { margin: 26px 0 0; text-align: center; }
.hg .hg-compartir-panel {
	max-width: 520px;
	margin: 14px auto 0;
	padding: 16px;
	border: 1px solid rgba(219, 202, 88, .5);
	border-radius: 12px;
	background: rgba(10, 7, 22, .55);
	animation: hg-entrar .3s ease both;
}
.hg .hg-formatos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 12px;
}
.hg button.hg-formato {
	min-height: 36px;
	margin: 0;
	padding: 6px 14px;
	font: inherit;
	font-size: .82rem;
	line-height: 1.2;
	text-transform: none;
	color: var(--hg-texto);
	text-shadow: var(--hg-sombra);
	background: transparent;
	border: 1px solid var(--hg-dorado);
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
}
.hg button.hg-formato[aria-pressed="true"],
.hg button.hg-formato:hover { background: var(--hg-dorado); color: var(--hg-oscuro); text-shadow: none; }
.hg .hg-vista {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	margin: 0 0 12px;
}
.hg .hg-vista-img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 440px;
	border-radius: 8px;
	box-shadow: 0 0 0 1px rgba(219, 202, 88, .6), 0 8px 28px rgba(0, 0, 0, .5);
}
.hg .hg-vista .hg-spinner { position: absolute; display: none; }
.hg .hg-vista.is-cargando .hg-spinner { display: block; }
.hg .hg-vista.is-cargando .hg-vista-img { opacity: .35; }
.hg .hg-acciones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}
.hg .hg-acciones button.hg-btn { width: 100%; padding: 8px 10px; font-size: .88rem; }
.hg .hg-interior .hg-compartir-estado {
	min-height: 1.4em;
	margin: 10px 0 0;
	font-size: .88rem;
	overflow-wrap: anywhere;
}

/* Consulta extra: tarjetas visibles */
.hg .hg-profundizar { margin: 40px 0 6px; }
.hg .hg-interior .hg-op-titulo {
	margin: 0;
	font-size: clamp(1.3rem, 3.2vw, 1.7rem);
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}
.hg .hg-interior .hg-op-sub {
	margin: 4px 0 16px;
	font-size: .9rem;
	text-align: center;
	opacity: .9;
}
.hg .hg-opciones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.hg button.hg-op {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 96px;
	margin: 0;
	padding: 16px 18px;
	font: inherit;
	text-align: center;
	text-transform: none;
	text-shadow: var(--hg-sombra);
	color: var(--hg-texto);
	background: rgba(10, 7, 22, .5);
	border: 1px solid var(--hg-dorado);
	border-radius: 12px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .25s ease, transform .25s ease, opacity .25s ease;
}
.hg button.hg-op:hover:not(:disabled) { background: rgba(219, 202, 88, .14); transform: translateY(-2px); }
.hg button.hg-op:disabled { opacity: .45; cursor: not-allowed; }
.hg button.hg-op.es-elegida:disabled { opacity: 1; box-shadow: 0 0 0 1px var(--hg-dorado), 0 0 18px 2px rgba(219, 202, 88, .45); }
.hg .hg-op-t {
	font-family: var(--hg-cinzel);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .02em;
	color: var(--hg-dorado);
}
.hg .hg-op-d { font-size: .95rem; line-height: 1.4; color: var(--hg-texto); }
/* Destacada: todo el ancho, con el brillo dorado del signo activo */
.hg button.hg-op-destacada {
	grid-column: 1 / -1;
	min-height: 112px;
	box-shadow: 0 0 0 2px var(--hg-dorado), 0 0 18px 4px rgba(219, 202, 88, .55), 0 0 44px 12px rgba(219, 202, 88, .22);
	animation: hg-halo-op 2.6s ease-in-out infinite;
}
.hg button.hg-op-destacada .hg-op-t { font-size: 1.35rem; }
.hg button.hg-op-destacada:disabled { animation: none; box-shadow: none; }
.hg button.hg-op-destacada[aria-expanded="true"] { background: rgba(219, 202, 88, .14); }
@keyframes hg-halo-op {
	50% { box-shadow: 0 0 0 2px var(--hg-dorado), 0 0 26px 8px rgba(219, 202, 88, .7), 0 0 60px 16px rgba(219, 202, 88, .3); }
}
.hg .hg-interior .hg-op-usada {
	margin: 14px 0 0;
	font-family: var(--hg-cinzel);
	font-weight: 700;
	text-align: center;
	color: var(--hg-dorado);
}

/* Formulario de compatibilidad */
.hg .hg-compat-form {
	margin: 14px 0 0;
	padding: 18px;
	border: 1px solid rgba(219, 202, 88, .55);
	border-radius: 12px;
	background: rgba(10, 7, 22, .55);
	animation: hg-entrar .35s ease both;
}
.hg .hg-interior .hg-p-signo {
	min-height: 1.5em;
	margin: 4px 0 10px;
	font-family: var(--hg-cinzel);
	font-weight: 700;
	text-align: center;
	color: var(--hg-dorado);
}
.hg .hg-p-signo small {
	display: block;
	font-family: inherit;
	font-size: .8rem;
	font-weight: 400;
	color: var(--hg-texto);
}
.hg .hg-compat-form button.hg-p-enviar { width: 100%; }

/* Resultado de la compatibilidad */
.hg .hg-compat-cab { text-align: center; }
.hg .hg-compat-signos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 0 0 12px;
}
.hg .hg-compat-img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--hg-dorado), 0 0 26px 6px rgba(219, 202, 88, .4);
}
.hg .hg-compat-mas {
	font-family: var(--hg-cinzel);
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--hg-dorado);
}
.hg .hg-interior .hg-compat-general { margin: 6px 0 0; line-height: 1.1; }
.hg .hg-compat-num {
	display: block;
	font-family: var(--hg-cinzel);
	font-size: clamp(3.4rem, 10vw, 4.8rem);
	font-weight: 700;
	color: var(--hg-dorado);
}
.hg .hg-compat-de { font-size: 1rem; }
.hg .hg-prof-contenido p.hg-compat-frase { margin: 12px 0 0; font-size: 1.2rem; font-style: italic; }
.hg .hg-barras {
	list-style: none;
	max-width: 520px;
	margin: 22px auto 6px;
	padding: 0;
}
.hg .hg-barra {
	display: grid;
	grid-template-columns: 8.5em minmax(0, 1fr) 3em;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.hg .hg-barra::before, .hg .hg-barra::marker { content: none; }
.hg .hg-barra-label { font-family: var(--hg-cinzel); font-size: .92rem; font-weight: 700; color: var(--hg-dorado); }
.hg .hg-barra-num { font-weight: 700; text-align: right; }
.hg .hg-barra-pista {
	display: block;
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	overflow: hidden;
}
.hg .hg-barra-relleno {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(219, 202, 88, .65), var(--hg-dorado));
	transform-origin: left center;
	animation: hg-barra 1.2s cubic-bezier(.2, .8, .2, 1) both;
}
.hg .hg-barra:nth-child(2) .hg-barra-relleno { animation-delay: .1s; }
.hg .hg-barra:nth-child(3) .hg-barra-relleno { animation-delay: .2s; }
.hg .hg-barra:nth-child(4) .hg-barra-relleno { animation-delay: .3s; }
.hg .hg-barra:nth-child(5) .hg-barra-relleno { animation-delay: .4s; }
@keyframes hg-barra { from { transform: scaleX(0); } }
.hg .hg-interior .hg-compat-aviso {
	margin: 22px 0 0;
	font-size: .8rem;
	text-align: center;
	opacity: .85;
}

.hg .hg-prof-resultado:empty { display: none; }
.hg .hg-prof-contenido {
	margin: 26px 0 0;
	animation: hg-entrar .7s cubic-bezier(.2, .8, .2, 1) both;
	scroll-margin-top: 24px;
}
.hg .hg-interior .hg-prof-titulo {
	margin: 0 0 6px;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.25;
}
.hg .hg-interior .hg-prof-sub {
	margin: 20px 0 6px;
	font-size: 1.12rem;
	font-weight: 700;
}

/* Llamado a la acción */
.hg .hg-cta {
	margin: 44px 0 0;
	text-align: center;
}
.hg .hg-consultoras {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.hg .hg-consultoras li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.hg .hg-consultoras img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--hg-dorado);
}
.hg .hg-consultoras span { font-size: .8rem; font-weight: 600; }
.hg .hg-interior .hg-cta-texto {
	max-width: 560px;
	margin: 0 auto 16px;
	font-size: 1.05rem;
}

/* Base astronómica (opcional) */
.hg .hg-tecnico { margin: 26px 0 0; }
.hg .hg-tecnico details { border-top: 1px solid rgba(219, 202, 88, .5); padding-top: 8px; }
.hg .hg-tecnico summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.hg .hg-tecnico table { width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: .92rem; }
.hg .hg-tecnico th,
.hg .hg-tecnico td {
	padding: 6px 8px;
	text-align: left;
	border: 0;
	border-bottom: 1px solid rgba(219, 202, 88, .3);
	background: transparent;
	color: var(--hg-texto);
}
.hg .hg-tecnico th { color: var(--hg-dorado); }
.hg .hg-tecnico .cl-h-tecnico-intro { font-size: .85rem; }
.hg .hg-tecnico .cl-h-glifo { color: var(--hg-dorado); font-family: "Segoe UI Symbol", "DejaVu Sans", "Noto Sans Symbols", serif; }
.hg .hg-tecnico abbr { text-decoration: none; color: var(--hg-dorado); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.hg .hg-grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; }
	.hg .hg-signo img { max-width: 80px; }
}

/* ---------- Celular: pantalla 1 compacta (los tres botones entran sin scroll) ---------- */
@media (max-width: 600px) {
	.hg { padding: 14px 16px 28px; }
	.hg .hg-marca { font-size: 1.28rem; margin: 0 0 10px; }
	.hg .hg-campo { margin: 0 0 8px; }
	.hg .hg-campo label,
	.hg .hg-campo legend { font-size: .86rem; margin: 0 0 3px; }
	.hg .hg-interior input.hg-nombre,
	.hg .hg-interior select { min-height: 44px; padding: 8px 12px; }
	.hg .hg-interior select { padding-right: 28px; background-position: right 9px center; }
	.hg .hg-fecha-selects { gap: 6px; }
	.hg .hg-error { margin: 0 0 6px; font-size: .82rem; }

	.hg .hg-grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 6px; margin: 12px 0 2px; }
	.hg .hg-signo { gap: 2px; }
	.hg .hg-signo img { max-width: 48px; }
	.hg .hg-signo-nombre { font-size: .64rem; letter-spacing: 0; }
	.hg .hg-grilla.tiene-signo .hg-signo.es-activo { transform: scale(1.1); }

	.hg .hg-tusigno { font-size: .98rem; margin: 8px 0 8px; min-height: 1.3em; }
	.hg .hg-tusigno small { font-size: .74rem; }

	.hg .hg-periodos { gap: 6px; margin: 0; }
	.hg .hg-periodos button.hg-btn {
		min-height: 48px;
		padding: 6px 4px;
		font-size: .74rem;
		letter-spacing: .02em;
	}
	.hg .hg-cargando { margin: 10px 0 0; font-size: .9rem; }
	.hg .hg-privacidad { margin: 10px 0 0; font-size: .74rem; line-height: 1.4; }

	.hg .hg-cab-img { width: 128px; height: 128px; }
	.hg .hg-lectura p, .hg .hg-prof-contenido p { font-size: 1.02rem; }
	.hg .hg-saludo p { font-size: 1.1rem; }
	.hg .hg-interior .hg-h { font-size: 1.3rem; margin-top: 24px; }

	/* Consulta extra: las tarjetas se apilan */
	.hg .hg-opciones { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.hg button.hg-op { min-height: 84px; padding: 14px; }
	.hg button.hg-op-destacada { min-height: 96px; }
	.hg .hg-compat-form { padding: 14px; }
	.hg .hg-compat-img { width: 92px; height: 92px; }
	.hg .hg-barra { grid-template-columns: 7.6em minmax(0, 1fr) 2.8em; gap: 8px; }
	.hg .hg-barra-label { font-size: .82rem; }
	.hg .hg-compartir-panel { padding: 12px; }
	.hg .hg-vista-img { max-height: 360px; }
}

@media (max-width: 360px) {
	.hg .hg-periodos button.hg-btn { font-size: .68rem; }
	.hg .hg-signo img { max-width: 44px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.hg *, .hg *::before, .hg *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
