/* Horóscopo Online — estilo «Bento». Sin dependencias. */

:root {
  /* Valores por defecto (diseño Bento). Cada tema los sobrescribe desde Theme::css(). */
  --bg: #F2F2F0; --surface: #FFFFFF; --surface-2: #F2F2F0;
  --ink: #161616; --ink-2: #3A3A3A; --muted: #5A5A5A; --line: #E4E4E0;
  --accent: #B8431F; --accent-hover: #8E3216; --accent-bg: #FBE9E2;
  --primary: #161616; --on-primary: #FFFFFF;
  --header-bg: transparent; --header-ink: #161616; --footer-bg: #161616; --footer-ink: #E6E6E6;
  --hero-bg: #FFFFFF; --hero-ink: #161616; --hero-kicker: #B8431F; --sign-bg: #FFFFFF;
  --card-border: none; --badge-r: 14px; --logo-star: #E2603B; --head-weight: 800;
  --banner-bg: #161616; --banner-ink: #FFFFFF;
  --yellow-bg: #FFF4D2; --yellow-fg: #7A5600; --yellow-ic: #FFE08A;
  --pink-bg: #FCE6EE; --pink-fg: #9C2654; --pink-ic: #F8C4D7;
  --blue-bg: #DCE8FB; --blue-fg: #2D5BA8; --blue-ic: #BFD5F7;
  --green-bg: #DDF0E1; --green-fg: #256A3B; --green-ic: #BDE3C6;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: var(--font); --font-display: var(--font-head);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-family: var(--font-head); font-weight: var(--head-weight); }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; }
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--primary); color: var(--on-primary); padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; color: var(--on-primary); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.glyph { display: block; flex: none; }

/* Cabecera */
.site-header { padding: 14px 0; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--header-ink); font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo:hover { color: var(--header-ink); }
.logo__mark { width: 32px; height: 32px; border-radius: 10px; background: var(--primary); color: var(--logo-star); display: flex; align-items: center; justify-content: center; }
.nav { display: flex; gap: 2px; background: var(--surface); border-radius: 999px; padding: 4px; font-size: 14px; font-weight: 600; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a.is-active { background: var(--primary); color: var(--on-primary); }
@media (max-width: 900px) {
  .site-header__in { flex-direction: column; align-items: stretch; }
  .nav { border-radius: 16px; }
}

.crumbs { font-size: 14px; color: var(--muted); padding-top: 4px; padding-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Chips y botones */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.chip--live { background: #E3F3E8; color: #1F5E36; }
.chip--live .dot { width: 7px; height: 7px; border-radius: 50%; background: #2E9E58; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-md); border: 0; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn--dark { background: var(--primary); color: var(--on-primary); }
.btn--dark:hover { filter: brightness(1.12); color: var(--on-primary); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Formularios */
input[type=text], input[type=date], input[type=email], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-md); min-height: 48px; padding: 0 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.inline-form input { flex: 1 1 200px; width: auto; }
.tool-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.tool-form .field { flex: 1 1 220px; }
.tool-form .field--wide { flex: 3 1 320px; }
.alert { background: var(--pink-bg); color: var(--pink-fg); padding: 12px 16px; border-radius: var(--r-md); font-weight: 600; margin-top: 12px; }

/* Bento de portada */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 8px; }
.tile { min-width: 0; background: var(--surface); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; }
a.tile:hover { color: var(--ink); transform: translateY(-2px); }
a.tile { transition: transform .15s ease; }
.tile--hero { grid-column: span 2; padding: 32px; min-height: 300px; }
.hero-title { margin: 0; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.045em; }
.hero-title span { color: var(--accent); }
.tile__label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; position: relative; }
.tile__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tile__icon { width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.tile__text { font-size: 20px; font-weight: 700; line-height: 1.3; position: relative; }
.tile__big { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 8px; position: relative; }
.tile__link { font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; position: relative; }
.tile__number { font-size: 56px; font-weight: 800; letter-spacing: 4px; line-height: 1; }
.tile__deco { position: absolute; right: -16px; bottom: -36px; opacity: .22; }
.tile--sign { background: var(--el-bg, var(--accent-bg)); }
.tile--sign .tile__label, .tile--sign .tile__deco { color: var(--el-fg, var(--accent)); }
.tile--dark { background: var(--ink); color: #fff; }
a.tile--dark:hover { color: #fff; }
.tile--dark .tile__label { color: #BDBDBD; }
.tile--dark .tile__link { color: #FFB59C; }
.tile--yellow { background: var(--yellow-bg); }
.tile--yellow .tile__label, .tile--yellow .tile__link { color: var(--yellow-fg); }
.tile--yellow .tile__icon { background: var(--yellow-ic); color: var(--yellow-fg); }
.tile--pink { background: var(--pink-bg); }
.tile--pink .tile__label, .tile--pink .tile__link { color: var(--pink-fg); }
.tile--pink .tile__icon { background: var(--pink-ic); color: var(--pink-fg); }
.tile--blue { background: var(--blue-bg); }
.tile--blue .tile__label, .tile--blue .tile__link { color: var(--blue-fg); }
.tile--green { background: var(--green-bg); }
.tile--green .tile__label, .tile--green .tile__link { color: var(--green-fg); }
.tile--green .tile__icon { background: var(--green-ic); color: var(--green-fg); }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--hero { grid-column: auto; padding: 24px; min-height: 0; }
  .tile { padding: 22px; }
}

/* Secciones */
.section { padding-top: 36px; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.section__head h2 { margin: 0; }
.section__head a { font-weight: 700; font-size: 15px; }
.page-head { padding: 12px 0 20px; max-width: 820px; }
.page-head h1 { margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.panel { background: var(--surface); border-radius: var(--r-xl); padding: 26px 28px; }
.panel + .panel, .panel + .scores, .scores + .lucky, .lucky + .panel, .panel + .ad, .ad + .panel { margin-top: 12px; }
.panel__title { font-size: 20px; margin-bottom: 14px; }
.seo-intro { margin-bottom: 12px; }

/* Signos */
.signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.sign-card { height: 100%; border-radius: var(--r-lg); padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; text-decoration: none; background: var(--surface); color: var(--ink); }
.sign-card:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sign-card.is-active { background: var(--primary); color: var(--on-primary); }
.sign-card.is-active:hover { color: var(--on-primary); }
.sign-card__txt { display: flex; flex-direction: column; min-width: 0; }
.sign-card__name { font-weight: 700; font-size: 16px; }
.sign-card__dates { font-size: 13px; opacity: .75; }
.sign-card__pred { font-size: 13px; margin-top: 4px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge { width: 42px; height: 42px; flex: none; border-radius: var(--badge-r); display: inline-flex; align-items: center; justify-content: center; background: var(--el-bg, var(--bg)); color: var(--el-fg, var(--ink)); }
.badge--sm { width: 30px; height: 30px; border-radius: 10px; }
.badge--xl { width: 88px; height: 88px; border-radius: 26px; }

/* Píldoras */
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 999px; padding: 12px 18px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.pill:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* Tarjetas del blog */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.card__img { display: block; aspect-ratio: 16 / 9; background: var(--accent-bg); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.card__body { padding: 16px 18px 20px; }
.card__cat { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.card__title { margin: 0 0 6px; font-size: 19px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__text { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--r-lg); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }

/* Página de signo */
.sign-hero { background: var(--el-bg); border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden; }
.sign-hero__deco { position: absolute; right: 2%; top: -50px; color: var(--el-fg); opacity: .14; pointer-events: none; }
.sign-hero__top { position: relative; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.sign-hero__badge { width: 88px; height: 88px; border-radius: 26px; background: var(--surface); color: var(--el-fg); display: flex; align-items: center; justify-content: center; flex: none; }
.sign-hero h1 { margin: 0 0 10px; }
.sign-hero .chip { background: rgba(255, 255, 255, .7); }
.sign-hero .chip--el { background: var(--surface); color: var(--el-fg); }
.tabs { position: relative; display: flex; gap: 6px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { white-space: nowrap; background: var(--surface); color: var(--ink); text-decoration: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.tabs a:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tabs a.is-active { background: var(--primary); color: var(--on-primary); }
.layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding-top: 16px; }
.layout__main { flex: 999 1 620px; min-width: 0; }
.aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.prediction__title { font-size: clamp(24px, 3vw, 32px); }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { color: var(--ink); margin-top: 1.4em; }
.prose h2:first-child, .prose .prediction__title { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--r-md); }
.prose blockquote { margin: 1em 0; padding: 14px 18px; background: var(--surface-2); border-radius: var(--r-md); }
.prose > :last-child { margin-bottom: 0; }
.scores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.score { background: var(--s-bg); color: var(--s-fg); border-radius: var(--r-lg); padding: 14px 16px; }
.score__top { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.score__bar { display: flex; gap: 4px; }
.score__bar span { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .8); }
.score__bar span.on { background: currentColor; }
.lucky { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.lucky__item, .lucky__item a { background: var(--surface); border-radius: var(--r-lg); padding: 14px 16px; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.lucky__item a { padding: 0; background: none; width: 100%; }
.lucky__icon { width: 42px; height: 42px; border-radius: 14px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.lucky__icon--num { background: var(--yellow-bg); color: var(--yellow-fg); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.lucky__k { display: block; font-size: 13px; color: var(--muted); }
.lucky__v { font-weight: 700; }
.prevnext { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.prevnext a { background: var(--el-bg); color: var(--ink); text-decoration: none; padding: 12px 18px; border-radius: var(--r-md); font-weight: 700; }
.box { background: var(--surface); border-radius: var(--r-lg); padding: 18px; display: block; color: var(--ink); text-decoration: none; }
.box--pink { background: var(--pink-bg); }
.box--yellow { background: var(--yellow-bg); }
a.box:hover { color: var(--ink); }
.box__title { font-size: 16px; font-weight: 700; margin: 0 0 10px; display: block; }
.box p { margin: 0 0 12px; }
.box select { background: var(--surface); margin-bottom: 10px; }
.mini-signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mini-signs a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--el-fg); background: var(--el-bg); }
.mini-signs a span { color: var(--ink); }
.mini-signs a.is-active { background: var(--ink); color: #fff; }
.mini-signs a.is-active span { color: #fff; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* Hub */
.hub { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.hub__item article { background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px; height: 100%; display: flex; flex-direction: column; }
.hub__head { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); margin-bottom: 12px; }
.hub__name { display: block; font-weight: 800; font-size: 18px; }
.hub__dates { display: block; font-size: 13px; color: var(--muted); }
.hub__title { font-size: 17px; margin-bottom: 6px; }
.hub__text { color: var(--ink-2); font-size: 15px; flex: 1; }
.hub__more { font-weight: 700; font-size: 15px; }

/* Tablas y datos */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--r-lg); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.table thead th { border-top: 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0 0 1em; }
.facts div { background: var(--surface-2); border-radius: var(--r-md); padding: 10px 14px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 24px; }
.compat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.compat-list a { display: grid; grid-template-columns: auto 1fr minmax(80px, 160px) 52px; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; }
.compat-list a:hover { background: var(--surface-2); }
.compat-list .badge { width: 34px; height: 34px; border-radius: 10px; }
.compat-list__name { font-weight: 600; }
.compat-list__pct { font-weight: 800; text-align: right; }
.meter { display: block; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.meter--light { background: rgba(255, 255, 255, .8); }
.meter--light span { background: currentColor; }
@media (max-width: 560px) { .compat-list a { grid-template-columns: auto 1fr 48px; } .compat-list .meter { display: none; } }

/* Compatibilidad */
.compat-hero { background: var(--surface); border-radius: var(--r-xl); padding: 32px 24px; text-align: center; }
.compat-hero__signs { display: flex; justify-content: center; align-items: center; gap: 18px; margin-bottom: 18px; }
.compat-hero__amp { font-size: 32px; font-weight: 800; color: var(--muted); }
.compat-hero__pct { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 8px 0; color: var(--accent); }
.compat-hero__verdict { font-weight: 700; font-size: 18px; margin: 0; }
.scores--3 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-bottom: 12px; }
.compat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.compat-grid__col { padding: 18px 20px; }
.compat-grid h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.compat-grid ul { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 2; }

/* Herramientas */
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tool-card { display: flex; flex-direction: column; gap: 4px; height: 100%; background: var(--t-bg); border-radius: var(--r-lg); padding: 20px; color: var(--ink); text-decoration: none; }
.tool-card:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tool-card__t { font-weight: 800; font-size: 18px; }
.tool-card__d { color: var(--ink-2); font-size: 15px; }
.result { margin-top: 12px; background: var(--r-bg, var(--surface)); color: var(--r-fg, var(--ink)); border-radius: var(--r-xl); padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.result > * { margin-top: 0; margin-bottom: 0; }
.result--pink { --r-bg: var(--pink-bg); --r-fg: var(--pink-fg); }
.result--yellow { --r-bg: var(--yellow-bg); --r-fg: var(--yellow-fg); }
.result--green { --r-bg: var(--green-bg); --r-fg: var(--green-fg); }
.result--blue { --r-bg: var(--blue-bg); --r-fg: var(--blue-fg); }
.result--dark { --r-bg: var(--primary); --r-fg: var(--on-primary); }
.result__k { font-weight: 700; font-size: 15px; }
.result__big { font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); }
.result--dark .result__big, .result--dark .result__number { color: var(--on-primary); }
.result__number { font-size: clamp(56px, 10vw, 96px); font-weight: 800; letter-spacing: 8px; line-height: 1; }
.result__text { max-width: 620px; color: var(--ink-2); font-size: 17px; }
.result--dark .result__text { color: var(--on-primary); opacity: .85; }
.result__quote { max-width: 680px; font-size: clamp(20px, 3vw, 26px); font-weight: 700; line-height: 1.3; color: var(--ink); }
.result__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.result .meter { width: min(420px, 100%); margin: 6px 0; }
.result .share { justify-content: center; }
.balls { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.balls li { width: 60px; height: 60px; border-radius: 50%; background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; }
.swatch { width: 44px; height: 44px; border-radius: 14px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatch--xl { width: 88px; height: 88px; border-radius: 26px; }
.color-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.color-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.color-item h2 { font-size: 16px; margin: 0 0 4px; }
.color-item h2 a { color: var(--ink); }
.color-item p { margin: 0; font-size: 14px; color: var(--ink-2); }
.tarot-card { width: 140px; height: 220px; border-radius: 16px; background: var(--surface); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); margin: 8px 0; padding: 12px; text-align: center; }
.tarot-card__n { font-size: 30px; font-weight: 800; color: var(--accent); }
.tarot-card__name { font-weight: 700; font-size: 16px; }

/* Luna */
.moon-hero { background: var(--surface); border-radius: var(--r-xl); padding: 28px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.moon-hero__img { flex: none; }
.moon-hero > div:last-child { flex: 1 1 320px; }
.moon-hero .lead { margin-bottom: 12px; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.phase { background: var(--surface); border-radius: var(--r-lg); padding: 14px 16px; display: flex; gap: 14px; align-items: center; }
.phase__name { display: block; font-weight: 700; }
.phase__date { display: block; font-size: 14px; color: var(--muted); }

/* Blog y páginas */
.post { max-width: 860px; }
.post__head { padding: 12px 0 16px; }
.post__img { width: 100%; border-radius: var(--r-xl); margin-bottom: 12px; aspect-ratio: 1200 / 630; object-fit: cover; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }

/* Publicidad */
.ad { max-width: 1240px; margin: 20px auto; padding: 0 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.aside .ad, .layout__main .ad, .post .ad, .home-main .ad { padding: 0; margin: 12px 0; }
.ad__label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ad__item { width: 100%; display: flex; justify-content: center; }
.ad__item--code { min-height: 100px; }
.ad--sidebar .ad__item--code { min-height: 250px; }
.ad__item img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.ad__item ins { display: block; width: 100%; }
@media (max-width: 768px) { .ad--only-desktop, .ad__item--desktop { display: none !important; } }
@media (min-width: 769px) { .ad--only-mobile, .ad__item--mobile, .ad--mobile_sticky { display: none !important; } }
.ad--mobile_sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 6px 40px 6px 8px; background: var(--surface); box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); max-width: none; }
.ad--mobile_sticky .ad__label { display: none; }
.ad--mobile_sticky .ad__item--code { min-height: 50px; }
.ad--mobile_sticky img { max-height: 90px; width: auto; }
.ad__close { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
body.has-sticky-ad { padding-bottom: 110px; }
@media (min-width: 769px) { body.has-sticky-ad { padding-bottom: 0; } }
.ad--map { min-height: 90px; border: 2px dashed var(--accent); border-radius: var(--r-md); justify-content: center; color: var(--ink); background: var(--accent-bg); padding: 12px; }
.ad--map span { font-size: 14px; }
.aside .ad--map, .layout__main .ad--map { padding: 12px; }
.ad--mobile_sticky.ad--map { position: static; display: flex !important; }

/* Pie */
.site-footer { margin-top: 48px; margin-bottom: 24px; }
.site-footer__in, .site-footer__legal { background: var(--footer-bg); color: var(--footer-ink); }
.site-footer__in { border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 32px 28px 20px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; font-size: 14px; }
.site-footer__in nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer__in a { color: var(--footer-ink); text-decoration: none; }
.site-footer__in a:hover { color: var(--footer-ink); text-decoration: underline; }
.site-footer__brand { max-width: 300px; }
.site-footer__logo { color: var(--footer-ink); font-family: var(--font-head); font-weight: 800; font-size: 19px; margin: 0 0 6px; }
.site-footer__h { color: var(--footer-ink); font-weight: 700; margin: 0 0 4px; }
.site-footer__signs { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 18px; }
.site-footer__legal { border-radius: 0 0 var(--r-xl) var(--r-xl); border-top: 1px solid rgba(128, 128, 128, .28); padding: 16px 28px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer__legal a, .site-footer__legal .linklike { color: var(--footer-ink); }

/* Aviso de cookies */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto; background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 12px 40px rgba(0, 0, 0, .18); padding: 20px; z-index: 50; font-size: 15px; }
.consent__title { font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.consent__actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .site-header, .site-footer, .aside, .ad, .share, .tabs, .consent { display: none !important; } body { background: #fff; } }
.panel .pill, .box .pill { background: var(--surface-2); }

/* ───────── Temas ───────── */
/* Bloques de color pastel: texto siempre oscuro, también en los temas oscuros */
.score, .result--pink, .result--yellow, .result--green, .result--blue, .tile--yellow, .tile--pink, .tile--blue, .tile--green, .tile--sign,
.box--pink, .box--yellow, .tool-card, .mini-signs a, .prevnext a, .sign-hero, .chip--live, .lucky__icon--num, .badge {
  --ink: #161616; --ink-2: #3A3A3A; --muted: #4A4A4A; --surface: #FFFFFF; --surface-2: #F2F2F0; --line: #E4E4E0;
  --primary: #161616; --on-primary: #FFFFFF;
  --accent: #A63D1C; --accent-hover: #7A2C14;
}
.sign-hero, .box--pink, .box--yellow, .tool-card, .prevnext a { color: var(--ink); }
.box--pink label, .box--yellow label { color: var(--ink); }
/* Bordes de tarjeta (p. ej. tema Pop) */
.panel, .sign-card, .hub__item article, .box, .card, .pill, .lucky__item, .faq details, .compat-hero, .moon-hero, .phase, .table-wrap, .tool-card, .score, .tabs a, .result, .zs, .type-card, .sky-item { border: var(--card-border); }
.tabs a.is-active, .nav a.is-active { border-color: transparent; }

/* Franja de fechas especiales y vista previa */
.banner { background: var(--banner-bg); color: var(--banner-ink); text-align: center; padding: 10px 16px; font-weight: 700; font-size: 15px; }
.banner a { color: inherit; text-decoration: none; }
.banner a:hover { color: inherit; text-decoration: underline; }
.preview-bar { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: #161616; color: #fff; border-radius: 14px; padding: 10px 14px; font-size: 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.preview-bar a { color: #FFD23F; font-weight: 700; }

/* Pie: en Bento va en bloque redondeado; en el resto ocupa todo el ancho */
.layout-clara .site-footer { background: var(--footer-bg); margin: 56px 0 0; max-width: none; padding: 0; }
.layout-clara .site-footer__in, .layout-clara .site-footer__legal { border-radius: 0; background: transparent; max-width: 1240px; margin: 0 auto; }

/* Cabecera del diseño «clara»: barra completa y enlaces simples */
.layout-clara .site-header { background: var(--header-bg); border-bottom: 1px solid var(--line); padding: 10px 0; }
.layout-clara .nav { background: transparent; padding: 0; gap: 2px 18px; border-radius: 0; }
.layout-clara .nav a { color: var(--header-ink); padding: 10px 2px; border-radius: 0; border-bottom: 2px solid transparent; }
.layout-clara .nav a:hover { background: transparent; color: var(--header-ink); border-bottom-color: var(--line); }
.layout-clara .nav a.is-active { background: transparent; color: var(--header-ink); border-bottom-color: var(--primary); font-weight: 800; }
.layout-clara .crumbs { padding-top: 14px; }
.layout-clara .logo__text { font-size: 22px; }

/* Portada «clara» */
.hero { background: var(--hero-bg); color: var(--hero-ink); overflow: hidden; }
.hero__in { max-width: 1240px; margin: 0 auto; padding: 52px 20px; }
.hero--split .hero__in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero--split .hero__text { flex: 1 1 340px; min-width: 0; }
.hero--split .zsigns { flex: 1.4 1 560px; min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero--center .zsigns { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1000px) { .hero--center .zsigns { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hero--split .zsigns, .hero--center .zsigns { grid-template-columns: repeat(3, minmax(0, 1fr)); } .zs { padding: 12px 4px; } .zs__dates { font-size: 11px; } }
@media (max-width: 380px) { .hero--split .zsigns, .hero--center .zsigns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero--center .hero__text { text-align: center; max-width: 780px; margin: 0 auto 30px; }
.hero__text { position: relative; }
.hero__kicker { margin: 0 0 12px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--hero-kicker); }
.hero__title { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(40px, 6vw, 66px); line-height: 1.02; color: var(--hero-ink); }
.hero__sub { margin: 0; font-size: 19px; color: var(--hero-ink); opacity: .86; }
.hero--split .hero__sub { max-width: 440px; }
.hero__deco { position: absolute; right: -120px; top: -46px; pointer-events: none; }
.hero--split .hero__deco { right: 0; top: -70px; }
@media (max-width: 900px) { .hero__deco { right: 0; top: -60px; transform: scale(.6); transform-origin: top right; opacity: .8; } }
.zsigns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.zs { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: var(--r-lg); background: var(--sign-bg); color: var(--ink); text-decoration: none; text-align: center; height: 100%; transition: transform .12s ease; }
.zs:hover { color: var(--ink); transform: translateY(-2px); }
.zs .badge { width: 54px; height: 54px; border-radius: var(--badge-r); }
.zs__name { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.zs__dates { font-size: 12.5px; color: var(--muted); }
.zs.is-active { background: var(--primary); color: var(--on-primary); }
.zs.is-active .zs__dates { color: var(--on-primary); opacity: .85; }
.zs.is-active .badge { --el-bg: rgba(255, 255, 255, .22); --el-fg: var(--on-primary); }
.home-main { display: flex; flex-direction: column; gap: 52px; padding-top: 48px; }
.home-main h2 { margin-bottom: 16px; font-size: clamp(24px, 3vw, 30px); }
.types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.type-card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; }
.type-card:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--primary); }
.type-card__k { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.type-card__t { font-family: var(--font-head); font-size: 24px; font-weight: var(--head-weight); line-height: 1.15; }
.type-card__d { font-size: 14px; color: var(--muted); }
.sky { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.sky-item { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; height: 100%; }
.sky-item:hover { color: var(--ink); }
.sky-item__k { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.sky-item__v { display: block; font-family: var(--font-head); font-size: 20px; font-weight: var(--head-weight); line-height: 1.25; }
.sky-item__num { letter-spacing: 3px; }
.home-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.home-cols > section { min-width: 0; }
.tool-list { list-style: none; margin: 0; padding: 0; }
.tool-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.tool-list a:hover { color: var(--accent); }
.tool-list a span { color: var(--accent); }
.home-cols .cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.layout-clara .card__img { background: var(--surface-2); }
@media (max-width: 768px) { body.has-sticky-ad .consent { bottom: 116px; } }
