/* seo.css — editorial typography for indexable pages.
   Night is the only theme (the sun/moon toggle and the day palette were
   retired in sept-2026: the light version looked poor and nobody used it).
   Layouts: default (cell pages) · combo (Sol×Luna, Big Three) · hub (signos/planetas/casas) · figure (famous-chart pages) */

/* Night palette — the brand identity, and since sept-2026 the only one. */
:root, html[data-theme="night"] {
  color-scheme: dark; --bg: #0e1320; --bg-deep: #0a0e18;
  --ink: rgba(238,234,222,1); --ink-soft: rgba(238,234,222,0.62); --ink-mute: rgba(238,234,222,0.40);
  --line: rgba(238,234,222,0.18); --line-strong: rgba(238,234,222,0.36); --accent-bg: rgba(238,234,222,0.05);
  --svg-line: rgba(238,234,222,0.6); --svg-ink: rgba(238,234,222,0.95); --svg-ink-soft: rgba(238,234,222,0.62);
  --svg-axis: rgba(238,234,222,0.78); --svg-tension: #e08a90; --svg-harmony: #82b6ad;
  --svg-fire: rgba(217,124,131,0.17); --svg-earth: rgba(190,168,116,0.15); --svg-air: rgba(224,204,116,0.15); --svg-water: rgba(116,178,170,0.17);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
/* Ambient sky — two fixed layers behind everything (body is transparent so
   they show through): the photographic Milky Way (public/sky/, generated with
   OpenAI's image model via Codex, sept-2026) with a slow breathing zoom, and
   the twinkling star canvas on top of it. Static under reduced motion. */
.bg-mw { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: url(/sky/milky-way-1536.jpg) center / cover no-repeat; transform-origin: 50% 45%; animation: mw-breathe 48s ease-in-out infinite; will-change: transform; }
@media (max-width: 1024px) { .bg-mw { background-image: url(/sky/milky-way-1024.jpg); } }
@keyframes mw-breathe { 0% { transform: scale(1.04); } 50% { transform: scale(1.10) translate3d(-0.6%, 0.4%, 0); } 100% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .bg-mw { animation: none; transform: scale(1.04); } }
#bg-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1200ms ease; }
body {
  font-family: Geist, system-ui, -apple-system, sans-serif;
  font-weight: 300;
  background: transparent;
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 0.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color 180ms ease, color 180ms ease;
}
a:hover { text-decoration-color: var(--ink); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 24px 32px;
  border-bottom: 0.5px solid var(--line);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand {
  text-decoration: none;
  letter-spacing: 0.22em;
  color: var(--ink);
}
.site-nav { display: flex; gap: 20px; align-items: center; }
/* Feedback is a quiet text label, not a button — low emphasis. */
.feedback-link {
  align-self: center;
  text-decoration: none;
  color: var(--ink-soft);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 160ms ease;
}
.feedback-link:hover { color: var(--ink); }
/* Primary action: the calculator CTA carries button weight. */
.site-nav .cta {
  text-decoration: none;
  background: var(--ink);
  color: var(--bg);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
  transition: opacity 160ms ease, transform 160ms ease;
}
.site-nav .cta:hover { color: var(--bg); opacity: 0.88; transform: translateY(-1px); }

/* ── Main column ────────────────────────────────────────────────────────── */
main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px 96px;
}

.breadcrumb {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 64px;
}
.breadcrumb a { text-decoration: none; color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.6; }

article h1 {
  margin: 0 0 32px 0;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

article .lede {
  margin: 0;
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
  max-width: 56ch;
}

/* ── Answer-first question deck (snippet / AI-Overview capture) ─────────── */
/* The literal long-tail query, set as a deck under the H1; the .lede right
   below answers it. No box — keeps the page calm, frames the lede as answer. */
article .answer-q {
  margin: 14px 0 20px;
  max-width: 56ch;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink-mute);
  text-wrap: balance;
}
@media (max-width: 600px) {
  article .answer-q { font-size: 14px; margin: 12px 0 16px; }
}

article > section,
article > .block {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 0.5px solid var(--line);
}
article > section > h2,
article > .block > h2 {
  margin: 0 0 16px 0;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
article > section > h2 .eyebrow,
.eyebrow {
  display: inline-block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
  margin-bottom: 12px;
}
article > section > p,
article > .block > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 56ch;
  text-wrap: pretty;
  white-space: pre-line;
}
article > .block > p + p { margin-top: 14px; }
article > .block > ol,
article > .block > ul {
  margin: 0;
  padding-left: 1.4em;
  max-width: 56ch;
}
article > .block > ol li,
article > .block > ul li {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 6px;
}
article strong { font-weight: 600; }
article code {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.87em;
  background: var(--accent-bg);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
article > .block > table {
  border-collapse: collapse;
  max-width: 56ch;
  font-size: 16px;
  margin: 4px 0;
}
article > .block > table th,
article > .block > table td {
  padding: 7px 12px;
  text-align: left;
  border-bottom: 0.5px solid var(--line);
  line-height: 1.5;
  vertical-align: top;
}
article > .block > table th {
  font-weight: 600;
  background: var(--accent-bg);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.example-chart {
  max-width: 640px;
  margin: 24px 0 28px;
}
.example-chart img {
  display: block;
  width: 100%;
  height: auto;
  border: 0.5px solid var(--line);
}
.example-chart figcaption {
  max-width: 64ch;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
}

/* Combo trap block — different visual weight to mark it as a coda */
.block.trap > h2,
.combo-trap > h2 {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.block.trap > p,
.combo-trap > p {
  font-style: italic;
  color: var(--ink-soft);
}

/* ── Related grid ───────────────────────────────────────────────────────── */
.related {
  margin-top: 88px;
  padding-top: 32px;
  border-top: 0.5px solid var(--line-strong);
}
.related h2 {
  margin: 0 0 24px 0;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.related ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  border-top: 0.5px solid var(--line);
  border-left: 0.5px solid var(--line);
}
.related li {
  border-right: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.related a {
  display: block;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  transition: background 180ms ease;
}
.related a:hover { background: var(--accent-bg); }
.famous ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  border-top: 0.5px solid var(--line);
  border-left: 0.5px solid var(--line);
}
.famous li { border-right: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); }
.famous li a { display: block; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.famous li a:hover { background: var(--accent-bg); }
.famous .note { margin-top: 12px; font-size: 13px; color: var(--ink-mute); }

/* ── CTA block ──────────────────────────────────────────────────────────── */
.cta-block {
  margin-top: 96px;
  padding: 56px 36px;
  background: var(--accent-bg);
  border: 0.5px solid var(--line);
  text-align: center;
}
.cta-block h2 {
  margin: 0 0 16px 0;
  font-weight: 300;
  font-size: clamp(26px, 3.5vw, 34px);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.cta-block p {
  margin: 0 auto 32px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 52ch;
}
.cta-button {
  display: inline-block;
  padding: 18px 36px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity 180ms ease, transform 180ms ease;
}
.cta-button:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Layout variants ────────────────────────────────────────────────────── */
.layout-combo article h1 { font-size: clamp(46px, 7vw, 88px); }
.layout-combo article .lede { font-size: 22px; }

.layout-hub article h1 { font-size: clamp(42px, 6vw, 64px); }
.layout-hub article > section > p { font-size: 17px; max-width: 60ch; }

/* Tool pages keep the interactive surface in the first screen. The full
   editorial article remains intact below it with a tighter first-fold rhythm. */
.layout-tool { padding-top: 56px; }
.layout-tool .breadcrumb { margin-bottom: 40px; }
.layout-tool article h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.06;
}
.layout-tool article > .tool-block {
  margin-top: 28px;
  padding: 24px;
  border: 0.5px solid var(--line-strong);
  background: rgba(14, 19, 32, 0.74);
}
.layout-tool article > .tool-block + .tool-block { margin-top: 14px; }
.layout-tool article > .tool-block ~ .lede { margin-top: 48px; }
.layout-tool .tool-mount { width: 100%; min-width: 0; }

.layout-figure article h1 { font-size: clamp(44px, 6.5vw, 76px); margin-bottom: 12px; }
.layout-figure .figure-meta {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 40px 0;
}
/* ── Card hero: the comprehensible identity, leads the figure page ───────── */
.card-hero {
  margin: 44px 0 8px;
  padding: 0;
  border: none;
  text-align: center;
}
.card-hero-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.34);
  display: block;
  margin: 0 auto;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 13px 26px 13px 22px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.share-btn svg { width: 15px; height: 15px; flex: none; }
.share-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* ── Technical wheel: demoted, secondary, near the foot of the page ──────── */
.wheel-block {
  margin: 72px 0 8px;
  padding-top: 40px;
  border: none;
  border-top: 1px solid var(--line);
  text-align: center;
}
.wheel-eyebrow {
  margin: 0 0 8px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.figure-wheel {
  margin: 0 auto;
  display: block;
  max-width: 380px;
  width: 100%;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 1px 0 var(--accent-bg));
}
.figure-wheel text {
  font-feature-settings: "ss01" on;
  font-variant-emoji: text;
}
.wheel-readlink {
  display: inline-block;
  margin-top: 14px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}
.wheel-readlink:hover { color: var(--ink); border-color: var(--ink); }

/* ── Figure cards grid ("cotillómetro") ─────────────────────────────────── */
.figure-grid {
  margin-top: 88px;
  padding-top: 32px;
  border-top: 0.5px solid var(--line-strong);
}
.figure-grid h2 {
  margin: 0 0 24px 0;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.figure-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  border-top: 0.5px solid var(--line);
  border-left: 0.5px solid var(--line);
}
.figure-grid li {
  border-right: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.figure-grid a {
  display: block;
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  transition: background 180ms ease;
}
.figure-grid a:hover { background: var(--accent-bg); }
.figure-grid .mini-wheel { width: 64px; height: 64px; display: block; margin-bottom: 16px; }
.figure-grid .name { font-size: 17px; font-weight: 400; margin: 0 0 4px 0; }
.figure-grid .meta {
  margin: 0 0 12px 0;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.figure-grid .triad { margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-soft); }
.figure-grid .triad li { border: none; padding: 1px 0; }

/* ── Figures listing index (B12) ─────────────────────────────────────────── */
.figures-listing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  margin-top: 32px;
  border-top: 0.5px solid var(--line);
  border-left: 0.5px solid var(--line);
}
.figures-listing .figure-item {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-right: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  transition: background 180ms ease;
}
.figures-listing .figure-item:hover { background: var(--accent-bg); }
.figures-listing .figure-item span {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 3px;
}

/* ── Index pages (CollectionPage) ───────────────────────────────────────── */
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  margin-top: 32px;
  border-top: 0.5px solid var(--line);
  border-left: 0.5px solid var(--line);
}
.index-grid a {
  display: block;
  padding: 16px 20px;
  border-right: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  transition: background 180ms ease;
}
.index-grid a:hover { background: var(--accent-bg); }
.index-section { margin-bottom: 56px; }
.index-section h2 {
  margin: 0 0 12px 0;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 0.5px solid var(--line);
  padding: 40px 32px 56px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.7;
}
.site-footer .tagline {
  margin: 0 0 24px 0;
  text-align: center;
  font-family: Geist, system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 300;
}
.site-footer .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}
.site-footer .meta { margin: 0; opacity: 0.85; }
.site-footer .social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.08em;
}
.site-footer .social svg { width: 14px; height: 14px; }
.site-footer .social:hover { color: var(--ink); }

/* ── Footer pillar-hub nav (B11) ────────────────────────────────────────── */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  max-width: 960px;
  margin: 0 auto 36px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--line);
}
.footer-col-title {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}
.footer-col-title:hover { color: var(--ink); }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0; }
.footer-col a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 160ms ease;
}
.footer-col li a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

/* ── Language switcher (<details> dropdown, no JS) ──────────────────────── */
.lang-switcher { position: relative; }
.lang-switcher summary {
  cursor: pointer;
  list-style: none;
  padding: 4px 8px;
  color: var(--ink-soft);
  transition: color 180ms ease;
  user-select: none;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary:hover { color: var(--ink); }
.lang-switcher .caret { display: inline-block; font-size: 9px; margin-left: 3px; transition: transform 180ms ease; }
.lang-switcher[open] .caret { transform: rotate(180deg); }
.lang-switcher ul {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin: 0 0 6px 0;
  padding: 6px 0;
  list-style: none;
  background: var(--bg);
  border: 0.5px solid var(--line-strong);
  min-width: 140px;
  z-index: 10;
}
.lang-switcher li { margin: 0; }
.lang-switcher a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 10.5px;
  letter-spacing: 0.14em;
}
.lang-switcher a:hover { color: var(--ink); background: var(--accent-bg); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-header { padding: 18px 20px; font-size: 10px; }
  .site-nav { gap: 14px; }
  .feedback-link { display: none; }
  main { padding: 56px 20px 64px; }
  .breadcrumb { margin-bottom: 40px; }
  article h1 { font-size: clamp(32px, 8vw, 44px); }
  article .lede { font-size: 18px; }
  article > section,
  article > .block { margin-top: 44px; padding-top: 28px; }
  article > section > p,
  article > .block > p { font-size: 17px; }
  .related { margin-top: 64px; }
  .related ul { grid-template-columns: 1fr; }
  .cta-block { margin-top: 64px; padding: 40px 24px; }
  .figure-grid ul { grid-template-columns: 1fr 1fr; }
  .site-footer { padding: 32px 20px; }
  .site-footer .footer-row { flex-direction: column; gap: 12px; text-align: center; }
  .layout-tool { padding-top: 40px; }
  .layout-tool .breadcrumb { margin-bottom: 28px; }
  .layout-tool article h1 { font-size: clamp(30px, 9vw, 40px); }
  .layout-tool article > .tool-block { margin-top: 22px; padding: 16px; }
  .layout-tool article > .tool-block ~ .lede { margin-top: 36px; }
}

/* ── Landing del widget (/{lang}/widget/) ─────────────────────────────────
   Estas clases se emitían sin una sola regla, así que el snippet que el
   blogger tiene que copiar salía como un <pre> por defecto: monoespaciada del
   navegador, sin fondo, sin borde y SIN AJUSTE DE LÍNEA — desbordando en
   horizontal la columna de 656px. La página que existe para convencer a
   alguien de incrustar el widget era la peor presentada del sitio. */
.widget-snippet {
  margin: 0;
  padding: 16px 18px;
  background: var(--accent-bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  white-space: pre-wrap;   /* el snippet es largo: envolver, no desbordar */
  word-break: break-all;
  overflow-x: auto;
  user-select: all;        /* un clic selecciona todo lo que hay que copiar */
}
.widget-snippet code { font: inherit; color: inherit; background: none; padding: 0; }
/* Configurador del snippet: idioma + tema + copiar, sin editar HTML a mano. */
.widget-config { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.widget-config-item { display: flex; flex-direction: column; gap: 6px; }
.widget-config-item span {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); opacity: .75;
}
.widget-config select {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--accent-bg); border: 1px solid var(--line);
  border-radius: 4px; padding: 8px 10px; min-width: 150px;
}
.widget-copy {
  font: inherit; font-size: 14px; cursor: pointer;
  color: var(--ink); background: var(--accent-bg);
  border: 1px solid var(--line-strong); border-radius: 4px;
  padding: 9px 16px;
}
.widget-copy:hover { background: var(--line); }
.widget-demo { display: flex; justify-content: center; }
.widget-demo iframe {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
@media (max-width: 700px) {
  .widget-snippet { font-size: 12px; padding: 14px; }
}
