/* ═══════════════════════════════════════════════════════════════
   Noticias EHS — Minimal Premium v6
   ═══════════════════════════════════════════════════════════════ */

:root {
  --min-bg: #000000;
  --min-surface: #0a0a0a;
  --min-elevated: #111111;
  --min-text: #ffffff;
  --min-muted: #a1a1aa;
  --min-muted-dark: #52525b;
  --min-border: rgba(255, 255, 255, 0.08);
  --min-border-hover: rgba(255, 255, 255, 0.18);
  --min-accent: #55ccff;
  --min-accent-hover: #7dd9ff;
  --min-nav-h: 64px;
  --nav-glass-bg: rgba(12, 12, 12, 0.78);
  --nav-glass-blur: blur(12px) saturate(1.2);
  --nav-glass-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  --min-font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --text-4xl: 2.25rem;
  --text-4xl--line-height: 1.11;
  --text-8xl: 6rem;
  --text-8xl--line-height: 1;
  --tracking-tight: -0.025em;
  --font-weight-semibold: 600;
  --min-stps: #3b8fff;
  --min-env: #34d399;
  --min-profepa: #fbbf24;
  --min-max-w: 1200px;
  --bento-bg: #0d0d0d;
  --bento-card: #141414;
  --bento-border: rgba(255, 255, 255, 0.1);
  --bento-muted: #9ca3af;
  --bento-title: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}
  
body {
  font-family: var(--min-font);
  background: var(--min-bg);
  color: var(--min-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* ── Rayos submarinos permanentes ── */
html.is-intro-pending body {
  overflow: hidden;
}

html.is-intro-pending .noticias-page {
  opacity: 0;
}

html.is-intro-pending .noticias-sun-rays {
  opacity: 0;
}

html.noticias-intro-skip .noticias-intro-curtain {
  display: none;
}

html.noticias-intro-skip .noticias-sun-rays {
  opacity: 1;
}

body.is-intro-active {
  overflow: hidden;
}

.noticias-page {
  position: relative;
  z-index: 2;
}

.noticias-sun-rays {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  contain: strict;
  /* Soft light without CSS mask (masks + opacity anim = expensive on Windows) */
  background:
    radial-gradient(
      ellipse 85% 70% at 0% 0%,
      rgba(190, 210, 230, 0.07) 0%,
      rgba(160, 185, 210, 0.03) 32%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 45% 55% at 0% 35%,
      rgba(255, 255, 255, 0.035) 0%,
      transparent 58%
    );
  transform-origin: 0% 0%;
}

.noticias-sun-rays.is-visible {
  opacity: 1;
  animation: sunRaysBreath 16s ease-in-out infinite;
}

@keyframes sunRaysBreath {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.78;
    transform: scale(1.04);
  }
}

.noticias-intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Buttons ── */
.min-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--min-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.min-btn--primary {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 45%, rgba(0, 0, 0, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 600;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.min-btn--primary:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.min-btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ── Navigation ── */
.min-nav {
  --nav-progress: 0;
  --nav-top-end: 14px;
  --nav-height-start: 64px;
  --nav-height-end: 54px;
  --nav-pill-width: min(780px, calc(100vw - 32px));
  --nav-pad-end: 44px;
  position: fixed;
  z-index: 100;
  pointer-events: none;
  top: calc(var(--nav-progress) * var(--nav-top-end));
  left: 50%;
  right: auto;
  width: calc(
    (1 - var(--nav-progress)) * 100%
    + var(--nav-progress) * var(--nav-pill-width)
  );
  height: calc(
    var(--nav-height-start)
    - var(--nav-progress) * (var(--nav-height-start) - var(--nav-height-end))
  );
  transform: translate3d(-50%, 0, 0);
  border-radius: calc(var(--nav-progress) * 999px);
  box-shadow: 0 calc(var(--nav-progress) * 16px) calc(var(--nav-progress) * 48px) rgba(0, 0, 0, calc(var(--nav-progress) * 0.45));
  background: transparent;
  overflow: hidden;
  contain: layout style;
}

.min-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--nav-glass-bg);
  /* Lighter frost — 28px backdrop blur over full-bleed content is a major scroll cost */
  backdrop-filter: var(--nav-glass-blur);
  -webkit-backdrop-filter: var(--nav-glass-blur);
  opacity: var(--nav-progress);
  pointer-events: none;
  z-index: 0;
}

.min-nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 calc(
    (1 - var(--nav-progress)) * clamp(20px, 4vw, 40px)
    + var(--nav-progress) * var(--nav-pad-end)
  );
  pointer-events: auto;
}

.min-nav-logo {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: calc(15px - var(--nav-progress) * 1px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.min-nav-logo img {
  border-radius: 6px;
  width: calc(24px - var(--nav-progress) * 2px);
  height: calc(24px - var(--nav-progress) * 2px);
}

/* Expandida: links centrados. Contraída: a la derecha con inset (no pegados al borde). */
.min-nav-links {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: calc(24px + var(--nav-progress) * 2px);
  min-width: 0;
  left: calc(
    50% * (1 - var(--nav-progress))
    + (100% - var(--nav-pad-end)) * var(--nav-progress)
  );
  transform: translate(
    calc(-50% * (1 - var(--nav-progress)) - 100% * var(--nav-progress)),
    -50%
  );
  margin-right: 0;
}

.min-nav-links a {
  font-size: calc(14px - var(--nav-progress) * 1px);
  font-weight: 500;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 0%, #e4e4e7 55%, #d4d4d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  opacity: 0.92;
}

.min-nav-links a:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 1;
}

.min-nav-actions {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: calc(16px * (1 - var(--nav-progress)));
  /* Guest: al contraer el CTA desaparece y no reserva ancho (hueco limpio a la derecha) */
  max-width: calc((1 - var(--nav-progress)) * 220px);
  opacity: calc(1 - var(--nav-progress));
  overflow: hidden;
}

/* Sesión iniciada: sin Empezar ahora; CTA = Cerrar sesión */
body.noticias-nav--authed [data-auth-cta] {
  display: none !important;
}

body.noticias-nav--authed .min-nav {
  --nav-pill-width: min(720px, calc(100vw - 32px));
  --nav-pad-end: 14px;
  --nav-height-end: 44px;
  /* Panel Alice debajo; el borde rainbow va enmascarado a la pill */
  overflow: visible;
  contain: none;
}

body.noticias-nav--authed .min-nav--contracted {
  --nav-pill-width: min(640px, calc(100vw - 32px));
}

body.noticias-nav--authed .min-nav-logo {
  opacity: calc(1 - var(--nav-progress));
  max-width: calc((1 - var(--nav-progress)) * 160px);
  overflow: hidden;
  pointer-events: auto;
  transition: opacity 0.2s ease, max-width 0.25s ease;
}

body.noticias-nav--authed .min-nav-logo span {
  opacity: calc(1 - var(--nav-progress));
}

body.noticias-nav--authed .min-nav-links {
  gap: calc(18px + var(--nav-progress) * 2px);
  margin-right: 0;
  opacity: 1;
}

/* Contraída: Alice + links juntos (sin hueco al centro); sin Cerrar sesión */
body.noticias-nav--authed .min-nav--contracted .min-nav-inner {
  justify-content: flex-start;
  gap: 12px;
  padding-left: 14px;
  padding-right: 16px;
}

body.noticias-nav--authed .min-nav--contracted .min-nav-links {
  position: static;
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  margin: 0;
  gap: 12px;
  z-index: 3;
  flex: 0 0 auto;
}

body.noticias-nav--authed .min-nav--contracted .min-nav-links a {
  font-size: 12.5px;
}

body.noticias-nav--authed .min-nav--contracted [data-auth-logout],
body.noticias-nav--authed .min-nav--contracted .min-nav-logout {
  display: none !important;
}

body.noticias-nav--authed .min-nav-actions {
  max-width: none;
  opacity: 1;
  overflow: visible;
  gap: 10px;
}

body.noticias-nav--authed .min-nav--contracted .min-nav-actions {
  margin-left: 0;
  gap: 0;
  width: 0;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Alice: solo authed + navbar contraída */
.min-nav-alice {
  display: none;
}

body.noticias-nav--authed .min-nav-alice:not([hidden]) {
  display: flex;
  position: relative;
  z-index: 3;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(var(--nav-progress) * 460px);
  opacity: var(--nav-progress);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, max-width 0.25s ease;
}

body.noticias-nav--authed .min-nav--contracted .min-nav-alice:not([hidden]) {
  flex: 0 1 auto;
  width: min(280px, 38vw);
  max-width: 280px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  margin-right: 0;
}

body.noticias-nav--authed .min-nav--contracted .min-nav-logo {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  gap: 0;
}

.min-nav-alice__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: #fafafa;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.min-nav-alice__brand .material-symbols-outlined {
  font-size: 18px;
  color: var(--min-accent);
  font-variation-settings: "FILL" 1;
}

.min-nav-alice__field {
  flex: 1 1 auto;
  min-width: 0;
}

.min-nav-alice__input {
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.min-nav-alice__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.min-nav-alice__input:focus {
  border-color: rgba(85, 204, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.min-nav-alice__send {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.min-nav-alice__send:hover {
  background: rgba(85, 204, 255, 0.22);
}

.min-nav-alice__send .material-symbols-outlined {
  font-size: 18px;
}

/* Panel bajo la pill */
.min-nav-alice-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: min(520px, calc(100vw - 40px));
  max-height: min(420px, 58vh);
  overflow: auto;
  padding: 14px 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 12, 12, 0.94);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

.min-nav-alice-panel[hidden] {
  display: none !important;
}

.min-nav-alice-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.min-nav-alice-panel__title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.min-nav-alice-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: transparent;
  color: var(--min-muted);
  cursor: pointer;
}

.min-nav-alice-panel__close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.min-nav-alice-panel__hint {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--min-muted-dark);
}

.min-nav-alice-panel__suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.min-nav-alice-chip {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.min-nav-alice-chip:hover {
  border-color: rgba(85, 204, 255, 0.35);
  background: rgba(85, 204, 255, 0.08);
}

.min-nav-alice-panel__chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.min-nav-alice-panel__chat[hidden] {
  display: none !important;
}

.alice-msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.alice-msg--user {
  align-self: flex-end;
  background: rgba(85, 204, 255, 0.16);
  border: 1px solid rgba(85, 204, 255, 0.28);
  color: #e8f9ff;
}

.alice-msg--assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

.alice-msg--error {
  align-self: stretch;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.alice-news-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--min-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: left;
}

.alice-news-link:hover {
  color: var(--min-accent-hover);
}

/* Borde Alice Intelligence: anillo fijo en la pill; solo gira el color */
@property --alice-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.min-nav--alice-thinking::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 4;
  padding: 2px;
  background: conic-gradient(
    from var(--alice-angle),
    #ffffff,
    rgba(255, 255, 255, 0.25),
    #ffffff,
    rgba(255, 255, 255, 0.25),
    #ffffff
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: aliceIntelligenceSpin 2.2s linear infinite;
  pointer-events: none;
  filter: none;
  opacity: 1;
}

.min-nav--alice-thinking::before {
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.16);
}

@keyframes aliceIntelligenceSpin {
  to {
    --alice-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .min-nav--alice-thinking::after {
    animation: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.min-nav-logout {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--min-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 7px 14px;
  font-size: calc(13px - var(--nav-progress) * 0.5px);
}

/* Guest: nunca mostrar Cerrar sesión (display del btn pisa [hidden]) */
body:not(.noticias-nav--authed) [data-auth-logout],
.min-nav-logout[hidden],
[data-auth-logout][hidden] {
  display: none !important;
}

body.noticias-nav--authed [data-auth-logout]:not([hidden]) {
  display: inline-flex;
}

.min-nav-logout:hover {
  color: var(--min-text);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

body.noticias-nav--authed .min-mobile-drawer .min-nav-logout {
  margin-top: 12px;
}

.min-nav-cta {
  max-width: calc(220px * (1 - var(--nav-progress)));
  overflow: hidden;
  white-space: nowrap;
  transform: scale(calc(1 - var(--nav-progress) * 0.12)) translateX(calc(var(--nav-progress) * 8px));
  transform-origin: right center;
}

.min-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--min-muted);
  transition: color 0.2s;
}

.min-nav-links .min-nav-locked,
.min-mobile-drawer .min-nav-locked {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: calc(14px - var(--nav-progress, 0) * 1px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--min-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}

.min-nav-links .min-nav-locked:hover,
.min-mobile-drawer .min-nav-locked:hover {
  color: var(--min-text);
}

.min-nav-locked .material-symbols-outlined {
  font-size: 15px;
  opacity: 0.75;
}

.min-nav-locked.is-shaking {
  animation: navLockShake 0.38s ease;
}

@keyframes navLockShake {
  0%, 100% { transform: translateX(0); }
  18% { transform: translateX(-5px) rotate(-1deg); }
  36% { transform: translateX(5px) rotate(1deg); }
  54% { transform: translateX(-4px); }
  72% { transform: translateX(3px); }
  90% { transform: translateX(-1px); }
}

body.noticias-nav--authed [data-nav-guest] {
  display: none !important;
}

.min-nav-link:hover {
  color: var(--min-text);
}

.min-nav-toggle {
  display: none;
  width: calc(40px - var(--nav-progress) * 4px);
  height: calc(40px - var(--nav-progress) * 4px);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--min-border);
  border-radius: calc(8px + var(--nav-progress) * 991px);
  background: transparent;
  color: var(--min-text);
  cursor: pointer;
  flex-shrink: 0;
}

.min-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.min-mobile-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Mismo glass que la navbar pill — sin bordes; opciones flotando */
.min-mobile-drawer {
  --mobile-pill-w: min(300px, calc(100vw - 24px));
  position: fixed;
  top: calc(var(--min-nav-h) + 10px);
  left: 50%;
  right: auto;
  z-index: 160;
  width: var(--mobile-pill-w);
  max-height: 0;
  padding: 0 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  background: var(--nav-glass-bg);
  backdrop-filter: var(--nav-glass-blur);
  -webkit-backdrop-filter: var(--nav-glass-blur);
  border: none;
  border-radius: 22px;
  box-shadow: none;
  opacity: 0;
  transform: translate3d(-50%, -10px, 0);
  pointer-events: none;
  visibility: hidden;
  transition:
    max-height 0.34s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.22s ease,
    transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    padding 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.22s ease,
    visibility 0s linear 0.3s;
}

body.noticias-nav--authed .min-mobile-drawer {
  --mobile-pill-w: min(420px, calc(100vw - 24px));
}

.min-mobile-drawer.is-open {
  max-height: min(72vh, 380px);
  padding: 14px 10px 14px;
  box-shadow: var(--nav-glass-shadow);
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
  visibility: visible;
  transition:
    max-height 0.34s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.22s ease,
    transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    padding 0.3s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.22s ease,
    visibility 0s linear 0s;
}

.min-mobile-drawer a:not(.min-btn),
.min-mobile-drawer .min-nav-locked {
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  border: none;
  transition: background 0.2s, color 0.2s;
  justify-content: center;
  width: 100%;
  text-align: center;
  background: transparent;
}

.min-mobile-drawer a:not(.min-btn):hover,
.min-mobile-drawer .min-nav-locked:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.min-mobile-drawer .min-btn {
  margin-top: 6px;
  margin-inline: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  box-shadow: none;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.min-mobile-drawer .min-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.min-mobile-close {
  display: none;
}

/* ── Hero ── */
.min-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100svh;
  /* Copy un poco más abajo; planeta libre abajo */
  padding: calc(var(--min-nav-h) + 40px) clamp(20px, 4vw, 40px) 0;
  text-align: center;
  background: #000;
  overflow: hidden;
}

.min-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.min-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
  border: 0;
  filter: none;
}

.min-hero-media-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Brillo intacto arriba; desde ~mitad (logo Gemini) funde al fondo de la página */
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 48%,
    rgba(13, 13, 13, 0.22) 62%,
    rgba(13, 13, 13, 0.72) 82%,
    var(--bento-bg) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .min-hero-video {
    display: none;
  }

  .min-hero-media-veil {
    background:
      radial-gradient(ellipse 90% 70% at 50% 35%, rgba(20, 20, 24, 0.4), #000 75%),
      #000;
  }
}

.min-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}

.min-hero-title {
  --hero-scale: 1;
  --hero-fade: 1;
  --hero-metal: linear-gradient(
    155deg,
    #7a7a82 0%,
    #94949c 18%,
    #b8b8c0 38%,
    #e4e4ea 52%,
    #a8a8b0 72%,
    #8e8e96 88%,
    #a0a0a8 100%
  );
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06em;
  font-size: clamp(1.85rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 14px;
  overflow: visible;
  /* Scale + fade only — live filter:blur on scroll is the #1 jank source */
  transform: scale3d(var(--hero-scale), var(--hero-scale), 1);
  opacity: var(--hero-fade);
  transform-origin: center top;
}

.min-hero.is-scrolling .min-hero-title {
  will-change: transform, opacity;
}

.min-hero-line {
  display: inline-block;
  vertical-align: top;
  text-decoration: inherit;
  background-image: var(--hero-metal);
  background-size: 140% 280%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: heroMetalShimmer 7s ease-in-out infinite;
}

.min-hero-line--muted {
  background-position: 0% 0%;
}

.min-hero-line--row {
  display: block;
}

.min-hero-title-row {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: visible;
}

.min-hero-title-row-inner {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
  gap: 0.32em;
  overflow: visible;
  line-height: 1.2;
  padding-bottom: 0.1em;
  max-width: 100%;
}

.min-hero-line--prefix {
  flex-shrink: 0;
  line-height: 1.2;
}

.min-hero-line--bright {
  display: block;
  background-position: 0% 100%;
  animation-delay: -3.5s;
}

.min-hero-typewriter.min-hero-line--bright {
  display: inline-flex;
  align-items: baseline;
  vertical-align: baseline;
  text-align: left;
  overflow: visible;
  line-height: 1.2;
}

.min-hero-typewriter-text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  overflow: visible;
  line-height: 1.2;
  padding-bottom: 0.12em;
  margin-bottom: -0.08em;
}

.min-hero-typewriter-char {
  display: inline-block;
  line-height: 1.2;
  vertical-align: baseline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: var(--hero-metal);
  background-size: 140% 280%;
  background-position: 0% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transform: translate3d(0, 0.42em, 0);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.min-hero-typewriter-char.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.min-hero-typewriter-char.is-exiting {
  transform: translate3d(0, -0.2em, 0) scale(0.96);
  opacity: 0;
  transition:
    transform 0.12s cubic-bezier(0.4, 0, 0.72, 0.2),
    opacity 0.12s cubic-bezier(0.4, 0, 0.72, 0.2);
}

.min-hero-typewriter-cursor {
  display: inline-block;
  width: 1px;
  height: 0.72em;
  min-height: 24px;
  margin-left: 2px;
  vertical-align: baseline;
  align-self: baseline;
  background: #d4d4d8;
  animation: heroCursorBlink 1s step-end infinite;
}

@keyframes heroCursorBlink {
  0%, 49% {
    opacity: 1;
  }

  50%, 100% {
    opacity: 0;
  }
}

@keyframes heroMetalShimmer {
  0%, 100% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 0% 100%;
  }
}

.min-hero-sub {
  max-width: 520px;
  margin: 0 auto 16px;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.5;
  color: #fff;
  text-wrap: balance;
  opacity: calc(1 - var(--hero-progress, 0) * 0.55);
  transform: translate3d(0, calc(var(--hero-progress, 0) * 8px), 0);
}

.min-hero-actions {
  margin-bottom: 20px;
}

.min-hero-actions,
.min-hero .min-stats {
  opacity: calc(1 - var(--hero-progress, 0));
  transform: translate3d(0, calc(var(--hero-progress, 0) * 18px), 0);
}

/* ── Stats ── */
.min-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid var(--min-border);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}

.min-hero .min-stats {
  margin-bottom: 0;
  max-width: 920px;
  margin-inline: auto;
}

.min-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 24px;
  min-width: 120px;
}

.min-stat--wide {
  min-width: 180px;
  max-width: 280px;
}

.min-stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  color: var(--min-text);
  font-variant-numeric: tabular-nums;
}

.min-stat-value--text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: var(--min-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.min-stat-value--conn {
  font-size: 0.8125rem;
}

.min-stat-value--conn.is-error {
  color: #f87171;
}

.min-stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--min-muted-dark);
}

.min-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--min-border);
  align-self: center;
  flex-shrink: 0;
}

/* ── Bento Grid ── */
.bento-section {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 4vw, 40px);
  background: var(--bento-bg);
  /* Continúa el fundido del hero (sin línea de corte) */
  margin-top: -1px;
  border-top: 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: var(--min-max-w);
  margin: 0 auto;
}

.bento-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--bento-border);
  background: var(--bento-card);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 30px 26px;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(
      ellipse 88% 78% at 50% 40%,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.015) 26%,
      transparent 54%
    ),
    radial-gradient(
      ellipse 115% 105% at 50% 50%,
      transparent 16%,
      rgba(0, 0, 0, 0.22) 52%,
      rgba(0, 0, 0, 0.62) 82%,
      rgba(0, 0, 0, 0.9) 100%
    );
  box-shadow:
    inset 0 0 48px 10px rgba(0, 0, 0, 0.5),
    inset 0 0 96px 28px rgba(0, 0, 0, 0.38);
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.bento-card:hover::after {
  background:
    radial-gradient(
      ellipse 88% 78% at 50% 40%,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.018) 26%,
      transparent 54%
    ),
    radial-gradient(
      ellipse 115% 105% at 50% 50%,
      transparent 18%,
      rgba(0, 0, 0, 0.2) 52%,
      rgba(0, 0, 0, 0.58) 82%,
      rgba(0, 0, 0, 0.88) 100%
    );
}

.bento-card--hub {
  grid-column: span 2;
  min-height: 380px;
  padding: 32px 34px 28px;
  justify-content: space-between;
}

.bento-card__copy--top {
  margin-bottom: 16px;
}

.bento-card--hub .bento-card__visual {
  position: relative;
  inset: auto;
  flex: 1;
  min-height: 200px;
  pointer-events: auto;
}

.bento-card--analytics {
  min-height: 380px;
}

.bento-card--ai,
.bento-card--collab,
.bento-card--audience {
  min-height: 320px;
}

.bento-card__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bento-card__copy {
  position: relative;
  z-index: 3;
}

.bento-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--bento-title);
  margin-bottom: 8px;
  line-height: 1.2;
}

.bento-card__desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--bento-muted);
  max-width: 42ch;
}

/* Multi-Platform Hub — logo marquee */
.bento-hub {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.bento-hub-marquee {
  position: relative;
  width: 100%;
  max-width: 100%;
  z-index: 2;
}

.bento-hub-marquee__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(132px, 18vw, 172px);
  display: flex;
  align-items: center;
  /* Edge fade via ::before/::after only — CSS mask on moving track is costly */
}

.bento-hub-marquee__viewport::before,
.bento-hub-marquee__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.bento-hub-marquee__viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--bento-card) 0%, transparent 100%);
}

.bento-hub-marquee__viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--bento-card) 0%, transparent 100%);
}

.bento-hub-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: bentoHubMarquee var(--marquee-duration, 35s) linear infinite;
}

.bento-hub-marquee__viewport:hover .bento-hub-marquee__track {
  animation-play-state: paused;
}

.bento-hub-marquee__set {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-inline: clamp(16px, 3vw, 32px);
  margin: 0;
  list-style: none;
  flex-shrink: 0;
}

.bento-hub-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: clamp(104px, 16vw, 168px);
  height: clamp(56px, 8vw, 72px);
}

.bento-hub-marquee__item img {
  display: block;
  width: auto;
  max-width: clamp(104px, 16vw, 168px);
  height: clamp(52px, 7vw, 68px);
  object-fit: contain;
  opacity: 0.82;
  transition: opacity 200ms ease, transform 200ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.bento-hub-marquee__item img:hover {
  opacity: 1;
  transform: scale(1.04);
}

@keyframes bentoHubMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Analytics */
.bento-analytics {
  overflow: hidden;
}

.bento-orb-glow {
  position: absolute;
  top: 12%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translateX(-50%);
  border-radius: 50%;
  /* Soft glow baked into gradient — no live filter:blur while scaling */
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.22) 0%,
    rgba(59, 130, 246, 0.1) 35%,
    rgba(59, 130, 246, 0.03) 55%,
    transparent 70%
  );
  opacity: 0.85;
}

.bento-orb-glow--secondary {
  display: none;
}

.bento-analytics-svg {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  height: 65%;
}

.bento-wave-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.bento-wave-tail {
  stroke-linecap: round;
  pointer-events: none;
}

.bento-wave-dot-glow {
  opacity: 0.55;
}

.bento-wave-marker {
  opacity: 0.9;
}

.bento-analytics-badge {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, calc(-100% - 10px));
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  background: rgba(10, 10, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.bento-analytics .bento-cursor {
  position: absolute;
  width: 19px;
  height: auto;
  pointer-events: none;
  z-index: 4;
  transform: translate(3px, 5px);
  filter: drop-shadow(0 0 5px rgba(94, 179, 255, 0.45));
}

/* AI Knowledge Graph */
.bento-graph {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 90px;
}

.bento-graph-svg {
  width: 90%;
  max-width: 280px;
  height: auto;
}

.bento-graph-edge {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: bentoLinePulse 2.5s ease-in-out infinite;
}

.bento-graph-edge:nth-child(2) { animation-delay: 0.3s; }
.bento-graph-edge:nth-child(3) { animation-delay: 0.6s; }
.bento-graph-edge:nth-child(4) { animation-delay: 0.9s; }
.bento-graph-edge:nth-child(5) { animation-delay: 1.2s; }

.bento-graph-node--center {
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.4));
}

.bento-graph-logo {
  pointer-events: none;
}

/* Interest selection waterfall */
.bento-waterfall {
  position: relative;
  padding: 20px 24px 100px;
}

.bento-waterfall-dots {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 8px 6px;
}

.bento-waterfall-line {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  height: calc(100% - 120px);
  width: 40px;
}

.bento-waterfall-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bento-waterfall-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 220px;
}

.bento-waterfall-item--1 { transform: translateX(-12px); }
.bento-waterfall-item--2 { transform: translateX(8px); }
.bento-waterfall-item--3 { transform: translateX(-6px); }
.bento-waterfall-item--4 { transform: translateX(10px); }
.bento-waterfall-item--5 { transform: translateX(-8px); }

.bento-waterfall-pill {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bento-interest-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.bento-interest-pill.is-hovered {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(59, 130, 246, 0.06);
}

.bento-interest-pill.is-checked {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(59, 130, 246, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(59, 130, 246, 0.12);
}

.bento-interest-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bento-interest-pill.is-checked .bento-interest-check {
  background: #3b82f6;
  border-color: #60a5fa;
  transform: scale(1.05);
}

.bento-interest-pill.is-checked .bento-interest-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bento-interest-label {
  flex: 1;
  text-align: left;
}

.bento-interest-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: auto;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transform-origin: top left;
  will-change: transform, opacity;
}

.bento-waterfall-user {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--bento-muted);
}

.bento-cursor--sm {
  width: 12px;
  height: 14px;
}

/* User Engagement Profile */
.bento-profile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px 90px;
  overflow: hidden;
}

.bento-profile-calendar {
  position: relative;
  z-index: 0;
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
  pointer-events: none;
  opacity: 0.24;
  mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
}

.bento-cal-inner {
  width: min(220px, 92%);
  padding: 0 4px 6px;
}

.bento-cal-month {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bento-muted);
  text-align: center;
  margin-bottom: 8px;
}

.bento-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.bento-cal-weekdays span {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--bento-muted-dark);
  text-transform: uppercase;
}

.bento-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.bento-cal-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  font-size: 9px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.38);
  border-radius: 5px;
}

.bento-cal-day--empty {
  visibility: hidden;
}

.bento-cal-day--assigned {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.32);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
  animation: bentoCalPulse 3.2s ease-in-out infinite;
}

.bento-cal-plan-dot {
  display: block;
  width: 4px;
  height: 4px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.85);
  box-shadow: 0 0 6px rgba(139, 92, 246, 0.6);
}

.bento-profile-card {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: 6px;
  text-align: center;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.bento-profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.bento-profile-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(6, 182, 212, 0.4));
  filter: blur(6px);
  opacity: 0.7;
  z-index: 0;
}

.bento-profile-avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bento-profile-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--bento-title);
  margin-bottom: 4px;
}

.bento-profile-metric {
  font-size: 11px;
  color: var(--bento-muted);
}

@keyframes bentoCalPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.15);
    background: rgba(139, 92, 246, 0.14);
  }
  50% {
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.28);
    background: rgba(139, 92, 246, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bento-cal-day--assigned {
    animation: none;
  }
}

.bento-reveal {
  will-change: transform, opacity;
}

@keyframes bentoOrbBreath {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.7; }
  50% { transform: translateX(-50%) scale(1.12); opacity: 1; }
}

@keyframes bentoLinePulse {
  0%, 100% { stroke-opacity: 0.3; stroke-dashoffset: 120; }
  50% { stroke-opacity: 0.8; stroke-dashoffset: 0; }
}

@keyframes bentoWaveDraw {
  to { stroke-dashoffset: 0; }
}

/* ── Features ── */
.min-features {
  position: relative;
  z-index: 4;
  padding: 80px clamp(20px, 4vw, 40px);
  border-top: 1px solid var(--min-border);
  background: var(--min-bg);
}

.min-features-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--min-max-w);
  margin: 0 auto;
}

.min-feature-card {
  padding: 28px;
  background: var(--min-surface);
  border: 1px solid var(--min-border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.min-feature-card:hover {
  border-color: var(--min-border-hover);
}

.min-feature-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--min-muted);
  background: var(--min-elevated);
  border-radius: 6px;
}

.min-feature-title {
  margin-bottom: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
}

.min-feature-desc {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--min-muted);
}

.min-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--min-accent);
  transition: gap 0.2s;
}

.min-feature-link:hover {
  gap: 8px;
}

.min-feature-link .material-symbols-outlined {
  font-size: 16px;
}

/* ── Feed section ── */
.min-feed {
  position: relative;
  z-index: 4;
  padding: 80px clamp(20px, 4vw, 40px) 100px;
  border-top: 1px solid var(--min-border);
  background: var(--min-bg);
}

/* Feed-first app shell — only when logged in */
.noticias-body--feed [data-noticias-landing] {
  display: none !important;
}

.noticias-body--feed .noticias-sun-rays,
.noticias-body--feed .noticias-intro-curtain {
  display: none !important;
}

.noticias-body--landing .min-feed-stats,
.noticias-body--landing .min-feed-title--app {
  display: none !important;
}

.noticias-body--feed .min-feed-title--guest {
  display: none !important;
}

.noticias-body--feed .min-feed {
  min-height: 100svh;
  padding: calc(var(--min-nav-h) + 28px) clamp(16px, 3vw, 32px) 72px;
  border-top: none;
}

.noticias-body--feed .noticias-page {
  opacity: 1;
}

.noticias-body--feed .min-feed-inner {
  max-width: min(1320px, 100%);
  gap: clamp(28px, 3vw, 48px);
}

.noticias-body--feed .desk-mosaic,
.noticias-body--feed .feed-sections {
  gap: 16px;
  width: 100%;
}

.min-feed--app {
  min-height: 100svh;
  padding: calc(var(--min-nav-h) + 28px) clamp(16px, 3vw, 32px) 72px;
  border-top: none;
}

.noticias-body--feed .noticias-page {
  opacity: 1;
}

.min-feed-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: min(1280px, 100%);
  margin: 0 auto;
  align-items: start;
}

.min-feed--app .min-feed-inner {
  max-width: min(1320px, 100%);
  gap: clamp(28px, 3vw, 48px);
}

.min-feed-head {
  margin-bottom: 22px;
}

.min-feed-head h2,
.min-feed-title {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  color: var(--min-text);
}

.min-feed-head p,
.min-feed-head #deskFeedSub {
  margin: 0;
  font-size: 14px;
  color: var(--min-muted);
}

.min-feed-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.min-feed-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 4px;
}

.min-feed-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 72px;
  padding: 8px 12px;
  border: 1px solid var(--min-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.min-feed-stat--wide {
  min-width: min(180px, 100%);
  flex: 1 1 140px;
}

.min-feed-stat-value {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--min-text);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.min-feed-stat-value--conn.is-error,
.min-feed-stat-value.min-feed-stat-value--conn.is-error {
  color: #fca5a5;
}

.min-feed-stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--min-muted-dark);
}

.min-feed--app .desk-mosaic,
.min-feed--app .feed-sections {
  gap: 16px;
}

.min-feed--app .min-footer {
  margin-top: 0;
}

/* Filters */
.desk-filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.desk-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.desk-personalize {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--min-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--min-muted);
  font-family: var(--min-font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

/* Guest: display:inline-flex pisa [hidden] del UA */
.desk-personalize[hidden] {
  display: none !important;
}

.desk-personalize:hover {
  border-color: var(--min-border-hover);
  color: var(--min-text);
  background: rgba(255, 255, 255, 0.07);
}

.desk-personalize .material-symbols-outlined {
  font-size: 18px;
}

.desk-card-for-you {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86efac;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.28);
  vertical-align: middle;
}

.desk-feed-parati-label {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Feed carousels (sections + horizontal rails) ── */
.feed-sections {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.feed-section {
  min-width: 0;
}

.feed-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 4px;
}

.feed-section__title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--min-text);
  line-height: 1.2;
}

.feed-section__chevron {
  font-size: 22px;
  color: var(--min-muted);
}

.feed-rail__next {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--min-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--min-text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.feed-rail__next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--min-border-hover);
}

.feed-rail__next:active {
  transform: scale(0.96);
}

.feed-rail__next .material-symbols-outlined {
  font-size: 20px;
}

.feed-rail-wrap {
  position: relative;
  margin: 0 -4px;
}

.feed-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.feed-rail::-webkit-scrollbar {
  height: 6px;
}

.feed-rail::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.feed-card {
  flex: 0 0 min(420px, 88vw);
  width: min(420px, 88vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  color: inherit;
  min-height: 280px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

.feed-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.14);
}

.feed-card:focus-visible {
  outline: 2px solid var(--min-accent);
  outline-offset: 2px;
}

.feed-card__media {
  display: none;
}

.feed-card--stps .feed-card__media,
.feed-card--env .feed-card__media,
.feed-card--profepa .feed-card__media {
  background: none;
}

.feed-card__media-tag {
  display: none;
}

.feed-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 18px;
  flex: 1;
  min-height: 0;
}

.feed-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--min-muted);
}

.feed-card__cat {
  font-weight: 600;
  color: var(--min-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
}

.feed-card--env .feed-card__cat,
.feed-card--stps .feed-card__cat,
.feed-card--profepa .feed-card__cat {
  color: var(--min-muted);
}

.feed-card__for-you {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--min-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--min-border);
}

.feed-card__time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.feed-card__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--min-text);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}

.feed-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--min-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.feed-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}

.feed-card__source {
  font-size: 0.75rem;
  color: var(--min-muted-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.feed-card__like {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--min-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--min-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.feed-card__like .material-symbols-outlined {
  font-size: 16px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
}

.feed-card__like:hover {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.35);
}

.feed-card__like.is-liked {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.1);
}

.feed-card__like.is-liked .material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.feed-card__like:disabled {
  opacity: 0.6;
  cursor: wait;
}

.feed-card--loading {
  pointer-events: none;
  opacity: 0.7;
  min-height: 240px;
}

.feed-card--loading .feed-card__media {
  display: none;
}

@keyframes feed-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (max-width: 720px) {
  .feed-section__title {
    font-size: 1.1rem;
  }
  .feed-card {
    flex-basis: min(360px, 90vw);
    width: min(360px, 90vw);
    min-height: 260px;
  }
}

.desk-filter {
  padding: 8px 16px;
  border: 1px solid var(--min-border);
  border-radius: 999px;
  background: transparent;
  color: var(--min-muted);
  font-family: var(--min-font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.desk-filter:hover {
  border-color: var(--min-border-hover);
  color: var(--min-text);
}

.desk-filter.is-active {
  background: var(--min-text);
  border-color: var(--min-text);
  color: var(--min-bg);
}

/* Mosaic — text-only premium */
.desk-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* Cards: solo texto, limpio */
.desk-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--min-border);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
  min-height: 0;
}

.desk-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-2px);
}

.desk-card--feature-solo {
  grid-column: 1 / -1;
}

.desk-card--feature-primary {
  grid-column: 1 / span 8;
}

.desk-card--feature-secondary {
  grid-column: 9 / span 4;
}

.desk-card--story {
  grid-column: span 4;
}

.desk-card--brief {
  grid-column: span 4;
}

.desk-card--loading {
  pointer-events: none;
  opacity: 0.5;
}

.desk-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 22px 24px 24px;
  min-height: 0;
}

.desk-card-body--feature {
  gap: 18px;
  padding: 28px 30px 30px;
  min-height: 220px;
}

.desk-card-body--story {
  gap: 14px;
  padding: 22px 24px 24px;
  min-height: 168px;
}

.desk-card-body--brief {
  gap: 12px;
  padding: 18px 20px 20px;
  min-height: 132px;
}

.desk-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.desk-card-tag {
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  background: none;
  border-radius: 0;
  color: var(--min-muted);
}

.desk-card-tag--stps { color: var(--min-stps); }
.desk-card-tag--env { color: var(--min-env); }
.desk-card-tag--profepa { color: var(--min-profepa); }

.desk-card-time {
  margin-left: auto;
  color: var(--min-muted-dark);
  font-size: 12px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.desk-card-headline {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  line-height: 1.35;
  color: var(--min-text);
}

.desk-card-headline--feature {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.18;
  font-weight: 700;
  max-width: 22ch;
}

.desk-card--feature-secondary .desk-card-headline--feature,
.desk-card--feature-solo .desk-card-headline--feature {
  max-width: none;
}

.desk-card--feature-secondary .desk-card-headline--feature {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}

.desk-card-headline--story {
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.desk-card-headline--brief {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.desk-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.desk-card-source {
  font-size: 13px;
  color: var(--min-muted-dark);
  letter-spacing: 0.01em;
}

.desk-card-body--brief .desk-card-source {
  font-size: 12px;
}

.desk-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--min-accent);
}

.desk-card-link .material-symbols-outlined {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.desk-card:hover .desk-card-link .material-symbols-outlined {
  transform: translateX(3px);
}

/* Skeleton */
.desk-skeleton {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: minSkeleton 1.2s ease-in-out infinite;
}

.desk-skeleton--tag { width: 72px; height: 12px; }
.desk-skeleton--title { width: 88%; height: 16px; margin-top: 4px; }
.desk-skeleton--title-lg { width: 70%; height: 28px; margin-top: 8px; }

@keyframes minSkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.desk-feed-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 24px;
  text-align: center;
  color: var(--min-muted);
  border: 1px dashed var(--min-border);
  border-radius: 12px;
  font-size: 14px;
}

.desk-feed-empty .material-symbols-outlined {
  font-size: 32px;
  opacity: 0.4;
}

.desk-feed-empty--error .material-symbols-outlined {
  color: #f87171;
}

/* Sidebar */
.min-feed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--min-nav-h) + 24px);
}

.min-sidebar-block {
  padding: 20px;
  background: var(--min-surface);
  border: 1px solid var(--min-border);
  border-radius: 12px;
}

.min-sidebar-title {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--min-muted);
}

.desk-alert-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.desk-alert-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--min-border);
  font-size: 13px;
}

.desk-alert-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.desk-alert-item:first-child {
  padding-top: 0;
}

.desk-alert-tag {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--min-muted-dark);
}

.desk-alert-item a {
  color: var(--min-text);
  line-height: 1.4;
  transition: color 0.2s;
}

.desk-alert-item a:hover {
  color: var(--min-accent);
}

.desk-alert-item time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--min-muted-dark);
}

.desk-alert-item--live .desk-alert-tag::before {
  content: "● ";
  color: #34d399;
}

.min-source-list {
  list-style: none;
}

.min-source-list li {
  border-bottom: 1px solid var(--min-border);
}

.min-source-list li:last-child {
  border-bottom: none;
}

.min-source-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  color: var(--min-muted);
  transition: color 0.2s;
}

.min-source-list a:hover {
  color: var(--min-text);
}

.min-source-list .material-symbols-outlined {
  font-size: 14px;
  opacity: 0.4;
}

/* ── CTA band ── */
.min-cta {
  padding: 100px clamp(20px, 4vw, 40px);
  border-top: 1px solid var(--min-border);
  text-align: center;
}

.min-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.min-cta-title {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

.min-cta-sub {
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--min-muted);
  text-wrap: balance;
}

/* ── Footer ── */
.min-footer {
  padding: 40px clamp(20px, 4vw, 40px) 48px;
  border-top: 1px solid var(--min-border);
  text-align: center;
}

.min-footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.min-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.min-footer-links a {
  font-size: 13px;
  color: var(--min-muted);
  transition: color 0.2s;
}

.min-footer-links a:hover {
  color: var(--min-text);
}

.min-footer-copy {
  font-size: 12px;
  color: var(--min-muted-dark);
}

/* ── Responsive ── */
@media (min-width: 48rem) {
  .min-hero-title {
    font-size: clamp(3rem, 6vw, 4.75rem);
    line-height: 1.12;
  }
}

@media (max-width: 1100px) {
  .desk-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .desk-card--feature-solo,
  .desk-card--feature-primary {
    grid-column: 1 / -1;
  }

  .desk-card--feature-secondary {
    grid-column: span 3;
  }

  .desk-card--story,
  .desk-card--brief {
    grid-column: span 3;
  }

  .desk-card-body--feature {
    min-height: 0;
    padding: 24px;
  }

  .desk-card-headline--feature {
    max-width: none;
  }
}

@media (max-width: 960px) {
  .min-features-inner {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card--hub {
    grid-column: 1 / -1;
  }

  .min-feed-inner {
    grid-template-columns: 1fr;
  }

  .min-feed-sidebar {
    position: static;
  }

  .min-feed--app,
  .noticias-body--feed .min-feed {
    padding-top: calc(var(--min-nav-h) + 20px);
  }

  .min-feed-stat--wide {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .min-nav {
    --nav-top-end: 12px;
    --nav-height-end: 48px;
    --nav-pill-width: min(300px, calc(100vw - 24px));
    --nav-pad-end: 18px;
  }

  body.noticias-nav--authed .min-nav,
  body.noticias-nav--authed .min-nav--contracted {
    --nav-pill-width: min(420px, calc(100vw - 24px));
  }

  body.noticias-nav--authed .min-nav--contracted .min-nav-alice:not([hidden]) {
    max-width: none;
    width: auto;
    flex: 1 1 auto;
  }

  body.noticias-nav--authed .min-nav-alice__name {
    display: none;
  }

  body.noticias-nav--authed .min-nav--contracted .min-nav-actions {
    width: auto;
    min-width: auto;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    margin-left: auto;
  }

  body.noticias-nav--authed .min-nav--contracted .min-nav-links {
    display: none !important;
  }

  .min-nav-links,
  .min-nav-link,
  .min-nav-actions .min-nav-cta,
  .min-nav-actions .min-nav-logout {
    display: none !important;
  }

  .min-nav-toggle {
    display: flex;
  }

  .min-nav-inner {
    padding: 0 calc(
      (1 - var(--nav-progress)) * 18px + var(--nav-progress) * 14px
    ) 0 calc(
      (1 - var(--nav-progress)) * 18px + var(--nav-progress) * 18px
    );
  }

  .min-nav-links {
    position: static;
    transform: none;
    margin-right: 0;
  }

  .min-nav-actions {
    max-width: none;
    opacity: 1;
    overflow: visible;
    gap: 0;
  }

  .min-nav-toggle {
    width: calc(40px - var(--nav-progress) * 4px);
    height: calc(40px - var(--nav-progress) * 4px);
  }

  .bento-section {
    padding-block: clamp(48px, 10vw, 72px);
    padding-inline: clamp(16px, 4vw, 24px);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card--hub,
  .bento-card--analytics,
  .bento-card--ai,
  .bento-card--collab,
  .bento-card--audience {
    grid-column: 1 / -1;
  }

  .bento-hub-marquee__set {
    gap: 24px;
    padding-inline: 12px;
  }

  .bento-hub-marquee__item {
    min-width: 92px;
    height: 56px;
  }

  .bento-hub-marquee__item img {
    max-width: 92px;
    height: 48px;
  }

  .min-mobile-backdrop {
    display: block;
  }

  .min-stat-sep--hide-mobile,
  .min-stat--hide-mobile {
    display: none;
  }

  .min-stats {
    gap: 16px 0;
  }

  .min-stat {
    width: 50%;
    padding: 0 12px;
  }

  .min-stat-sep {
    display: none;
  }

  .desk-mosaic {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .desk-card--feature,
  .desk-card--feature-solo,
  .desk-card--feature-primary,
  .desk-card--feature-secondary,
  .desk-card--story,
  .desk-card--brief {
    grid-column: 1 / -1;
  }

  .desk-card-body,
  .desk-card-body--feature,
  .desk-card-body--story,
  .desk-card-body--brief {
    min-height: 0;
    padding: 20px;
    gap: 12px;
  }

  .desk-card-time {
    margin-left: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .desk-card,
  .min-btn,
  .min-nav,
  .min-nav-inner,
  .min-nav-cta,
  .min-nav-logo,
  .min-nav-links {
    transition: none;
  }

  .desk-skeleton {
    animation: none;
  }

  .min-hero-title {
    position: static;
    transform: none;
    opacity: 1;
  }

  .min-hero-actions,
  .min-hero .min-stats {
    pointer-events: auto;
    opacity: 1;
    transform: none;
  }

  .min-hero-sub {
    opacity: 1;
    transform: none;
  }

  .min-hero-line {
    animation: none;
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none;
  }

  .min-hero-typewriter-cursor {
    animation: none;
    opacity: 1;
  }

  .min-hero-typewriter-char {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .bento-reveal {
    opacity: 1;
    transform: none;
  }

  .bento-hub-marquee__track,
  .bento-orb-glow,
  .bento-graph-edge,
  .bento-wave-line,
  .bento-sparkline-path {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }

  html.is-intro-pending body {
    overflow: auto;
  }

  html.is-intro-pending .noticias-page {
    opacity: 1;
  }

  html.is-intro-pending .noticias-sun-rays {
    opacity: 1;
  }

  .noticias-intro-curtain {
    display: none !important;
  }

  .noticias-sun-rays {
    animation: none;
    opacity: 1;
  }
}

/* ── Unlock marketing modal (guest locks) ── */
.noticias-unlock {
  position: fixed;
  inset: 0;
  z-index: 2250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
}

.noticias-unlock[hidden] {
  display: none !important;
}

.noticias-unlock__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
}

.noticias-unlock__panel {
  --unlock-accent: var(--min-accent);
  --unlock-accent-rgb: 85, 204, 255;
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  background:
    radial-gradient(ellipse 80% 55% at 0% 0%, rgba(var(--unlock-accent-rgb), 0.14), transparent 55%),
    #0a0a0a;
  border: 1px solid rgba(var(--unlock-accent-rgb), 0.32);
  border-radius: 20px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(var(--unlock-accent-rgb), 0.1),
    0 0 48px rgba(var(--unlock-accent-rgb), 0.12);
  animation: unlockPanelIn 0.35s ease;
}

@keyframes unlockPanelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.noticias-unlock__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--min-muted);
  cursor: pointer;
}

.noticias-unlock__close:hover {
  color: var(--min-text);
  border-color: rgba(255, 255, 255, 0.22);
}

.noticias-unlock__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 36px);
  align-items: center;
}

.noticias-unlock__title {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  color: #fff;
}

.noticias-unlock__sub {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--min-muted);
}

.noticias-unlock__offers-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--unlock-accent);
}

.noticias-unlock__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.noticias-unlock__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.noticias-unlock__list .material-symbols-outlined {
  font-size: 18px;
  color: var(--unlock-accent);
  flex-shrink: 0;
}

.noticias-unlock__cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}

.noticias-unlock__cta {
  width: 100%;
  max-width: none;
  font-weight: 600;
  box-shadow: 0 0 28px rgba(var(--unlock-accent-rgb), 0.28);
}

.noticias-unlock__assurance {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  color: rgba(161, 161, 170, 0.95);
}

.noticias-unlock__mirror {
  min-height: 280px;
}

.unlock-mirror {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(var(--unlock-accent-rgb), 0.2);
  background:
    linear-gradient(165deg, rgba(var(--unlock-accent-rgb), 0.1), transparent 48%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 50%),
    #111;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.unlock-mirror__glow {
  position: absolute;
  inset: -30% auto auto -20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--unlock-accent-rgb), 0.32), transparent 68%);
  pointer-events: none;
  animation: unlockGlow 4.5s ease-in-out infinite;
}

@keyframes unlockGlow {
  0%, 100% { opacity: 0.65; transform: translate(0, 0); }
  50% { opacity: 1; transform: translate(18px, 12px); }
}

.unlock-card {
  position: relative;
  z-index: 1;
  padding: 14px 14px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.unlock-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.unlock-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--min-muted);
}

.unlock-card__status {
  font-size: 11px;
  color: #86efac;
}

.unlock-card__due {
  font-size: 11px;
  font-weight: 600;
  color: #fbbf24;
  animation: unlockPulse 1.8s ease-in-out infinite;
}

@keyframes unlockPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.unlock-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.unlock-card__meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--min-muted-dark);
}

.unlock-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.unlock-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--min-muted);
}

.unlock-step .material-symbols-outlined {
  font-size: 16px;
}

.unlock-step.is-done {
  color: rgba(255, 255, 255, 0.75);
}

.unlock-step.is-done .material-symbols-outlined {
  color: #86efac;
}

.unlock-step.is-active {
  color: #fff;
}

.unlock-step.is-active .material-symbols-outlined {
  color: var(--unlock-accent, var(--min-accent));
  animation: unlockPulse 1.6s ease-in-out infinite;
}

.unlock-progress {
  margin-top: 12px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.unlock-progress__bar {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, var(--unlock-accent, var(--min-accent)));
  animation: unlockBar 2.8s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes unlockBar {
  0%, 100% { width: 58%; }
  50% { width: 72%; }
}

.unlock-cal-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.unlock-cal-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 52px;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: #fbbf24;
}

.unlock-cal-date span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.unlock-cal-date strong {
  font-size: 18px;
  line-height: 1;
}

.unlock-toast {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #bae6fd;
  background: rgba(var(--unlock-accent-rgb, 85, 204, 255), 0.12);
  border: 1px solid rgba(var(--unlock-accent-rgb, 85, 204, 255), 0.28);
  animation: unlockToast 3.2s ease-in-out infinite;
}

.unlock-toast .material-symbols-outlined {
  font-size: 16px;
}

@keyframes unlockToast {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-3px); opacity: 1; }
}

@media (max-width: 800px) {
  .noticias-unlock__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .noticias-unlock__cta-wrap {
    max-width: none;
  }
}

/* ── Reader modal (noticia completa) ── */
.noticias-reader {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(10px, 2.5vw, 20px);
}

.noticias-reader[hidden] {
  display: none !important;
}

.noticias-reader__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

.noticias-reader__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1100px, 100%);
  max-height: none;
  height: min(94vh, 100%);
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.noticias-reader__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 28px 0;
}

.noticias-reader__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--min-muted);
  min-width: 0;
}

.noticias-reader__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--min-accent);
}

.noticias-reader__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.noticias-reader__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: transparent;
  color: var(--min-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.noticias-reader__close:hover {
  color: var(--min-text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.noticias-reader__close .material-symbols-outlined {
  font-size: 22px;
}

.noticias-reader__title {
  margin: 0;
  padding: 16px 28px 12px;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--min-text);
}

.noticias-reader__scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 28px 16px;
  overscroll-behavior: contain;
}

.noticias-reader__loading {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 24px;
}

.noticias-reader__loading.is-visible {
  display: flex;
}

.noticias-reader__loading[hidden] {
  display: none !important;
}

.noticias-reader__partial {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(85, 204, 255, 0.2);
  background: rgba(85, 204, 255, 0.06);
  font-size: 13px;
  color: #bae6fd;
}

.noticias-reader__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.noticias-reader__like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--min-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--min-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.noticias-reader__like .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
}

.noticias-reader__like:hover {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.35);
}

.noticias-reader__like.is-liked {
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.1);
}

.noticias-reader__like.is-liked .material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.noticias-reader__like:disabled {
  opacity: 0.6;
  cursor: wait;
}

.noticias-reader__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--min-accent);
  text-decoration: none;
}

.noticias-reader__source:hover {
  color: var(--min-accent-hover);
}

.noticias-reader__source .material-symbols-outlined {
  font-size: 18px;
}

/* Prose tipográfico clean (DOF-like structure, our style) */
.noticias-reader-prose {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16.5px;
  line-height: 1.75;
  max-width: none;
  width: 100%;
}

.noticias-reader-prose.is-pending {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.noticias-reader-prose.is-ready {
  opacity: 1;
  visibility: visible;
}

.noticias-reader-prose img,
.noticias-reader-prose picture,
.noticias-reader-prose video,
.noticias-reader-prose iframe {
  display: none !important;
}

.noticias-reader-prose p,
.noticias-reader-prose div {
  margin: 0 0 1em;
}

.noticias-reader-prose h1,
.noticias-reader-prose h2,
.noticias-reader-prose h3,
.noticias-reader-prose h4 {
  margin: 1.4em 0 0.55em;
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.25;
  color: #fff;
}

.noticias-reader-prose h1 { font-size: 1.35rem; }
.noticias-reader-prose h2 { font-size: 1.2rem; }
.noticias-reader-prose h3,
.noticias-reader-prose h4 { font-size: 1.05rem; }

.noticias-reader-prose strong,
.noticias-reader-prose b {
  color: #fff;
  font-weight: 700;
}

.noticias-reader-prose ul,
.noticias-reader-prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}

.noticias-reader-prose li {
  margin: 0.35em 0;
}

.noticias-reader-prose ul { list-style: disc; }
.noticias-reader-prose ol { list-style: decimal; }

.noticias-reader-prose a {
  color: var(--min-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.noticias-reader-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 13px;
}

.noticias-reader-prose th,
.noticias-reader-prose td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.noticias-reader-prose th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
}

.noticias-reader-prose blockquote {
  margin: 1em 0;
  padding: 0.2em 0 0.2em 1em;
  border-left: 2px solid rgba(85, 204, 255, 0.45);
  color: var(--min-muted);
}

.desk-alert-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.desk-alert-open:hover {
  color: var(--min-text);
}

body.is-reader-open,
body.is-unlock-open {
  overflow: hidden;
}

body.is-reader-open .noticias-page {
  pointer-events: none;
}

body.is-reader-open .noticias-sun-rays {
  animation-play-state: paused !important;
}

/* ── Auth open: freeze expensive page layers under the overlay ── */
body.is-auth-open .noticias-page {
  pointer-events: none;
}

body.is-auth-open .noticias-sun-rays {
  visibility: hidden;
  animation: none !important;
  opacity: 0 !important;
}

body.is-auth-open .min-nav::before {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.is-auth-open .bento-hub-track,
body.is-auth-open .bento-orb-glow,
body.is-auth-open .bento-graph-edge,
body.is-auth-open .bento-cal-day--assigned,
body.is-auth-open .min-hero-typewriter-cursor,
body.is-auth-open .min-hero-line {
  animation-play-state: paused !important;
}

/* ── Interests onboarding (full-screen) ── */
.interests-entry {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 6, 8, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
  contain: layout style paint;
  isolation: isolate;
}

.interests-entry.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.interests-entry__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.interests-entry__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.interests-entry__panel {
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.interests-entry__kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.interests-entry__title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
}

.interests-entry__sub {
  margin: 0 auto 28px;
  max-width: 420px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.interests-entry__groups {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 22px;
  text-align: left;
}

.interests-entry__group-label {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.interests-entry__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interests-chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.interests-chip:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.interests-chip.is-selected {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
}

.interests-entry__alert {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.interests-entry__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.interests-entry__cta {
  width: 100%;
  max-width: 280px;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, transform 140ms ease;
}

.interests-entry__cta:hover {
  background: #f4f4f5;
}

.interests-entry__cta:disabled {
  opacity: 0.6;
  cursor: wait;
}

.interests-entry__skip {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.interests-entry__skip:hover {
  color: rgba(255, 255, 255, 0.8);
}

body.is-interests-open {
  overflow: hidden;
}

body.is-interests-open .noticias-sun-rays {
  visibility: hidden;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .interests-entry {
    transition: none;
  }
}

/* ── Auth entry screen (full-screen) ── */
.auth-entry {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #0a0a0a;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
  contain: layout style paint;
  isolation: isolate;
}

.auth-entry.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.auth-entry__rays {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  contain: strict;
  opacity: 0.85;
  /* Static soft light — no mask + no infinite opacity anim (very costly on Windows) */
  background:
    radial-gradient(
      ellipse 90% 70% at 8% 0%,
      rgba(190, 210, 230, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 0% 40%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 60%
    );
}

.auth-entry__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.auth-entry__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.auth-entry__close .material-symbols-outlined {
  font-size: 20px;
}

.auth-entry__center {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
  will-change: transform, opacity;
}

.auth-entry.is-open .auth-entry__center {
  transform: translateY(0);
  opacity: 1;
}

.auth-entry:not(.is-open) .auth-entry__center {
  will-change: auto;
}

.auth-entry__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-entry__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.auth-entry__logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.auth-entry__brand-name {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.auth-entry__title {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 12px;
}

.auth-entry__sub {
  margin: 0 0 28px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  max-width: 34ch;
}

.auth-entry__cta {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.auth-entry__cta:hover {
  background: #f4f4f5;
}

.auth-entry__cta:active {
  transform: scale(0.985);
}

.auth-entry__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 18px 0;
}

.auth-entry__divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.auth-entry__divider-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

.auth-entry__cta--dark {
  background: #171717;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-entry__cta--dark:hover {
  background: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.16);
}

.auth-entry[data-auth-step="form"] {
  padding: 20px;
  align-items: stretch;
  justify-content: stretch;
}

.auth-entry[data-auth-step="form"] .auth-entry__center {
  display: none;
}

.auth-entry[data-auth-step="entry"] .auth-split {
  display: none !important;
}

.auth-split {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  height: min(640px, calc(100vh - 40px));
  margin: auto;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.auth-entry[data-auth-step="form"].is-open .auth-split {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-split__stage {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 14, 0.92);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  isolation: isolate;
}

.auth-split__panel {
  position: relative;
  flex: 0 0 50%;
  width: 50%;
  min-height: 0;
  backface-visibility: hidden;
}

.auth-split__panel--form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  background: #050505;
  z-index: 2;
}

.auth-split[data-mode="login"] .auth-split__panel--form {
  z-index: 1;
}

.auth-split[data-mode="login"] .auth-split__panel--promo {
  z-index: 2;
}

.auth-split__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-split__title {
  margin: 0 0 22px;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
}

.auth-split__alert {
  margin: -8px 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.auth-split__alert.is-success {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
}

.auth-split__form {
  display: none;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
}

.auth-split__form.is-active {
  display: flex;
}

.auth-split__form[hidden] {
  display: none !important;
}

.auth-otp-hint {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.auth-otp-field {
  gap: 8px;
}

.auth-otp-input {
  text-align: center;
  letter-spacing: 0.28em;
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid #ffffff;
  background: #0a0a0a;
  color: #ffffff;
}

.auth-otp-input:focus {
  border-color: #ffffff;
  background: #111111;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.auth-otp-input::placeholder {
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

.auth-otp-format-hint {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.auth-otp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.auth-otp-resend,
.auth-otp-back {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.auth-otp-resend[aria-disabled="true"],
.auth-otp-resend:disabled {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  cursor: default;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.auth-field__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.auth-field__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #171717;
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.auth-field__input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.auth-field__input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: #1c1c1c;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.auth-field__wrap {
  position: relative;
}

.auth-field__input.has-eye {
  padding-right: 46px;
}

.auth-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.auth-eye:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}

.auth-eye .material-symbols-outlined {
  font-size: 20px;
}

.auth-split__submit {
  margin-top: 8px;
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 180ms ease, transform 160ms ease;
}

.auth-split__submit:hover {
  background: #f4f4f5;
}

.auth-split__submit:active {
  transform: scale(0.985);
}

.auth-split__panel--promo {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 48px);
  border: none;
  background:
    radial-gradient(ellipse 90% 80% at 70% 85%, rgba(90, 120, 180, 0.12), transparent 60%),
    linear-gradient(165deg, #121214 0%, #0b0b0d 50%, #080808 100%);
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: background 220ms ease;
}

.auth-split__panel--promo:hover {
  background:
    radial-gradient(ellipse 90% 80% at 70% 85%, rgba(100, 130, 190, 0.16), transparent 60%),
    linear-gradient(165deg, #161618 0%, #0d0d0f 50%, #0a0a0a 100%);
}

.auth-split__panel--promo:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: -2px;
}

.auth-split__abstract {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.auth-split__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 45% at 55% 45%, rgba(100, 130, 200, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 35% at 30% 70%, rgba(140, 110, 200, 0.1), transparent 65%);
  opacity: 0.75;
  /* Transform-only drift — no conic-gradient repaint each frame */
  animation: authMeshDrift 22s ease-in-out infinite;
  will-change: transform;
}

.auth-split__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-split__ring--1 {
  width: 280px;
  height: 280px;
  top: 18%;
  right: -12%;
  background: radial-gradient(circle, transparent 58%, rgba(120, 150, 220, 0.08) 70%, transparent 72%);
  animation: authRingPulse1 14s ease-in-out infinite;
}

.auth-split__ring--2 {
  width: 200px;
  height: 200px;
  bottom: 8%;
  left: 10%;
  background: radial-gradient(circle, transparent 55%, rgba(160, 130, 220, 0.06) 68%, transparent 70%);
  animation: authRingPulse2 11s ease-in-out infinite;
}

.auth-split.is-switching .auth-split__panel {
  will-change: transform;
  contain: layout style paint;
  pointer-events: none;
}

.auth-split.is-switching .auth-split__title,
.auth-split.is-switching .auth-split__form.is-active,
.auth-split.is-switching .auth-split__promo-copy {
  will-change: opacity, transform;
  pointer-events: none;
}

.auth-split.is-switching .auth-split__mesh,
.auth-split.is-switching .auth-split__ring--1,
.auth-split.is-switching .auth-split__ring--2,
.auth-split.is-switching .auth-split__orb {
  animation-play-state: paused;
}

.auth-split__orb {
  position: absolute;
  border-radius: 50%;
  /* Soft edge via radial-gradient — avoids live filter:blur(40px) while moving */
  opacity: 0.7;
  will-change: transform;
}

.auth-split__orb--1 {
  width: 260px;
  height: 260px;
  top: 38%;
  left: 4%;
  background: radial-gradient(circle, rgba(100, 140, 210, 0.28) 0%, rgba(100, 140, 210, 0.08) 40%, transparent 70%);
  animation: authOrbFloat1 9s ease-in-out infinite;
}

.auth-split__orb--2 {
  width: 220px;
  height: 220px;
  right: 2%;
  top: 52%;
  background: radial-gradient(circle, rgba(160, 130, 230, 0.22) 0%, rgba(160, 130, 230, 0.06) 42%, transparent 70%);
  animation: authOrbFloat2 11s ease-in-out infinite;
}

.auth-split__orb--3 {
  width: 180px;
  height: 180px;
  left: 38%;
  bottom: 2%;
  background: radial-gradient(circle, rgba(80, 180, 210, 0.18) 0%, rgba(80, 180, 210, 0.05) 45%, transparent 70%);
  animation: authOrbFloat3 8s ease-in-out infinite;
}

@keyframes authMeshDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(18px, -12px) rotate(8deg) scale(1.04); }
  66% { transform: translate(-14px, 16px) rotate(-6deg) scale(0.98); }
}

@keyframes authRingPulse1 {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.08) rotate(12deg); opacity: 0.75; }
}

@keyframes authRingPulse2 {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.4; }
  50% { transform: scale(1.12) rotate(-10deg); opacity: 0.65; }
}

@keyframes authOrbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, 22px) scale(1.08); }
}

@keyframes authOrbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, -18px) scale(1.12); }
}

@keyframes authOrbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -26px) scale(0.94); }
}

.auth-split__promo-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
}

.auth-split__promo-kicker {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.auth-split__promo-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}

.auth-split__promo-text {
  margin: 0 0 22px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.auth-split__promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.auth-split.is-switching {
  pointer-events: none;
}

@media (max-width: 860px) {
  .auth-entry[data-auth-step="form"] {
    padding: 12px;
    overflow-y: auto;
  }

  .auth-split {
    height: auto;
    min-height: calc(100vh - 24px);
  }

  .auth-split__stage {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 24px);
  }

  .auth-split__panel {
    flex: 0 0 auto;
    width: 100%;
  }

  .auth-split__panel--form {
    padding: 28px 22px 24px;
  }

  .auth-split__panel--promo {
    min-height: 220px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 28px 22px;
  }

  .auth-split__form {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .auth-entry__brand-name {
    font-size: 0.7rem;
    letter-spacing: 0.01em;
  }

  .auth-entry__close {
    top: 14px;
    right: 14px;
  }

  .auth-split__brand .auth-entry__brand-name {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-entry,
  .auth-entry__center,
  .auth-entry[data-auth-step="form"].is-open .auth-split {
    transition: none;
  }

  .auth-entry__rays,
  .auth-split__orb,
  .auth-split__mesh,
  .auth-split__ring {
    animation: none;
  }

  .auth-entry.is-open .auth-entry__center {
    transform: none;
  }
}
