/* =========================================================================
   La Guadalupana — app prototype (for recording TikTok videos)
   Screens follow the fat-marker sketches (Figma RJXOPzEQMwjkKEoyRlbtfT,
   node 134:787); the visual language follows web/landing.

   Colors: brand tokens from assets/tokens.css, tints via color-mix().
   The one exception is the simulated iOS chrome (keyboard, lock/home
   screen glass): it copies the OS, not the brand, so it uses neutral
   literals, all kept in the --ios-* block below.
   ========================================================================= */

:root {
  --cobalt: var(--gua-color-cobalt);
  --cream: var(--gua-color-cream);
  --on-brand: var(--gua-color-cream-on-brand);
  --pink: var(--gua-color-pink);
  --gold: var(--gua-color-gold);
  --jade: var(--gua-color-jade);
  --white: var(--gua-color-white);
  --muted: var(--gua-text-muted);

  --cobalt-lift: color-mix(in srgb, var(--cream) 12%, var(--cobalt));
  --cobalt-deep: color-mix(in srgb, #000 24%, var(--cobalt));
  --cobalt-night: color-mix(in srgb, #000 48%, var(--cobalt));
  --lavender: color-mix(in srgb, var(--cobalt) 11%, var(--white));
  --blush: color-mix(in srgb, var(--pink) 9%, var(--white));
  --on-brand-soft: color-mix(in srgb, var(--on-brand) 78%, transparent);
  --on-brand-faint: color-mix(in srgb, var(--on-brand) 14%, transparent);
  --pink-deep: color-mix(in srgb, #000 22%, var(--pink));
  /* Hoy fondos: dusk = lighter top glow, night = base. Dusk is the darkest
     the glow can be and still keep small cream text at 4.5:1 under the rays. */
  --pink-dusk: color-mix(in srgb, #000 32%, var(--pink));
  --pink-night: color-mix(in srgb, #000 40%, var(--pink));
  --jade-dusk: color-mix(in srgb, #000 38%, var(--jade));
  --jade-night: color-mix(in srgb, #000 48%, var(--jade));

  --display: var(--gua-font-display);
  --body: var(--gua-font-body);
  --sf: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --sf-round: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Simulated iOS chrome (see header note) */
  --ios-kb: #D1D4DA;
  --ios-key: #FCFCFE;
  --ios-key-alt: #A9AFBA;
  --ios-key-shadow: #898A8D;
  --ios-ink: #111114;
  --ios-sheet: #F2F2F6;
  --ios-red: #FF3B30;

  /* Safe areas: overwritten for the real-phone ("bare") layout */
  --sat: 54px;
  --sab: 30px;
  --badge: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--cobalt-night);
  color: var(--cobalt);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  overscroll-behavior: none;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
h1, h2, h3, p, blockquote, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[data-go], [data-open], [data-back], [data-close] { cursor: pointer; }

/* =========================================================================
   Stage, control panel, device frame
   ========================================================================= */
.stage {
  position: relative;
  min-height: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 300px auto;
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: 20px;
  background:
    radial-gradient(60% 55% at 62% 50%, color-mix(in srgb, var(--pink) 20%, transparent), transparent 70%),
    radial-gradient(50% 50% at 20% 20%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%),
    var(--cobalt-night);
}
.panel {
  color: var(--on-brand);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.panel__brand { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.panel__brand strong { display: block; font-family: var(--display); font-size: 22px; }
.panel__brand span { font-size: 13px; color: var(--on-brand-soft); }
.panel__label {
  margin-top: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.panel button, .panel input, .panel select, .panel textarea {
  font-family: var(--body);
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid var(--on-brand-faint);
  background: color-mix(in srgb, var(--on-brand) 7%, transparent);
  color: var(--on-brand);
  padding: 9px 10px;
  text-align: left;
  transition: background .2s, border-color .2s;
}
.panel button:hover { background: color-mix(in srgb, var(--on-brand) 14%, transparent); }
.panel button.is-on { background: var(--on-brand); color: var(--cobalt); border-color: var(--on-brand); }
.panel__field { display: grid; gap: 5px; font-size: 13px; color: var(--on-brand-soft); }
.panel__field input, .panel__field select, .panel__field textarea { width: 100%; outline: none; }
.panel__field textarea { resize: vertical; line-height: 1.35; }
.panel__field small { font-size: 11px; line-height: 1.3; }
.panel__field select option { color: var(--cobalt); }
.panel__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.panel__seg button { text-align: center; }
.panel__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.panel__row button { text-align: center; }
.panel__upload {
  position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 14px; border-radius: 12px; padding: 9px 10px;
  border: 1px solid var(--on-brand-faint);
  background: color-mix(in srgb, var(--on-brand) 7%, transparent);
  color: var(--on-brand);
}
.panel__upload:hover { background: color-mix(in srgb, var(--on-brand) 14%, transparent); }
.panel__upload:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.panel__upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.panel__rec { display: flex; align-items: center; justify-content: center; gap: 8px; }
.panel__rec span { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.panel__speed { margin-top: 4px; }
.panel__speed > span:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.panel__speed output { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--on-brand); }
.panel input[type="range"] { padding: 0; border: 0; background: none; height: 24px; accent-color: var(--gold); cursor: pointer; }
.panel__scale { display: flex; justify-content: space-between; font-size: 11px; }
.panel__hint { font-size: 12.5px; line-height: 1.45; color: var(--on-brand-soft); margin-top: 6px; }
.panel__hint kbd {
  font-family: var(--body); font-size: 11px; padding: 1px 5px; border-radius: 5px;
  border: 1px solid var(--on-brand-faint);
}

.device {
  position: relative;
  width: 390px;
  height: 844px;
  border-radius: 64px;
  padding: 12px;
  box-sizing: content-box;
  background: linear-gradient(145deg, color-mix(in srgb, var(--on-brand) 22%, var(--cobalt-night)), var(--cobalt-night) 40%, color-mix(in srgb, #000 30%, var(--cobalt-night)));
  box-shadow:
    inset 0 0 0 2px color-mix(in srgb, var(--on-brand) 18%, transparent),
    0 40px 80px -20px color-mix(in srgb, #000 70%, transparent),
    0 0 0 1px color-mix(in srgb, #000 60%, transparent);
  transform: scale(var(--scale, 1));
  transform-origin: center;
}
.device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 52px;
  overflow: hidden;
  overflow: clip;
  background: var(--cream);
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}

/* Record mode: panel gone, phone centered */
.stage.is-recording { grid-template-columns: auto; }
.stage.is-recording .panel { display: none; }

/* Bare mode: real phone or ?frame=0 — app fills the viewport */
.stage.is-bare { display: block; padding: 0; background: var(--cobalt); }
.stage.is-bare .panel { display: none; }
.stage.is-bare .device {
  width: 100%; height: 100%; padding: 0; border-radius: 0;
  box-shadow: none; background: none; transform: none;
}
.stage.is-bare .device__screen { border-radius: 0; }
.stage.is-bare { --sat: max(env(safe-area-inset-top), 14px); --sab: max(env(safe-area-inset-bottom), 12px); }
.stage.is-bare .statusbar,
.stage.is-bare .home-indicator { display: none; }
.stage.is-bare.show-status .statusbar { display: flex; }
.stage.is-bare.show-status { --sat: 54px; }

@media (max-width: 760px) {
  .stage:not(.is-bare) { grid-template-columns: auto; }
}

/* Phone / narrow screens: the panel becomes a bottom sheet, opened with a
   two-finger long-press (nothing visible on screen, so recordings stay clean) */
.panel__close, .panel__hint--phone, .panel-scrim { display: none; }
.stage.is-sheet .panel {
  display: flex;
  position: fixed; z-index: 100; left: 0; right: 0; bottom: 0;
  max-height: 78dvh;
  padding: 0 18px max(env(safe-area-inset-bottom), 16px);
  border-radius: 24px 24px 0 0;
  background: var(--cobalt-night);
  box-shadow: 0 -20px 50px -10px color-mix(in srgb, #000 60%, transparent);
  overscroll-behavior: contain;
  transform: translateY(105%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s;
}
.stage.is-sheet.panel-open .panel { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.stage.is-sheet .panel-scrim {
  display: block;
  position: fixed; inset: 0; z-index: 99;
  background: color-mix(in srgb, #000 40%, transparent);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.stage.is-sheet.panel-open .panel-scrim { opacity: 1; pointer-events: auto; }
.stage.is-sheet .panel__close {
  display: block;
  position: sticky; top: 0; z-index: 1;
  margin: 0 -18px 4px; padding: 14px 18px 10px;
  min-height: 44px;
  border: 0; border-radius: 0;
  background: var(--cobalt-night);
  color: var(--gold);
  font-weight: 700; font-size: 16px; text-align: right;
}
.stage.is-sheet .panel input,
.stage.is-sheet .panel select,
.stage.is-sheet .panel textarea { font-size: 16px; } /* iOS zooms into smaller fields */
.stage.is-sheet .panel__hint--desktop { display: none; }
.stage.is-sheet .panel__hint--phone { display: block; }

/* =========================================================================
   iOS status bar + home indicator (frame mode only)
   ========================================================================= */
.statusbar {
  position: absolute; z-index: 60; top: 0; left: 0; right: 0;
  height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 30px 0 44px;
  font-family: var(--sf); font-weight: 600; font-size: 17px;
  color: var(--ios-ink);
  pointer-events: none;
  transition: color .35s;
}
.statusbar__island {
  position: absolute; left: 50%; top: 11px; translate: -50% 0;
  width: 124px; height: 36px; border-radius: 20px; background: #000;
}
.statusbar__icons { display: flex; gap: 6px; align-items: center; }
.statusbar svg { fill: currentColor; }
.statusbar__battery {
  width: 26px; height: 12.5px; border-radius: 4px;
  border: 1.3px solid color-mix(in srgb, currentColor 45%, transparent);
  padding: 1.5px; position: relative;
}
.statusbar__battery i { display: block; height: 100%; width: 78%; border-radius: 2px; background: currentColor; }
.statusbar__battery::after {
  content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px;
  border-radius: 0 2px 2px 0; background: color-mix(in srgb, currentColor 45%, transparent);
}
.device__screen[data-tone="light"] .statusbar { color: var(--white); }

.home-indicator {
  position: absolute; z-index: 60; left: 50%; bottom: 8px; translate: -50% 0;
  width: 136px; height: 5px; border-radius: 3px;
  background: var(--ios-ink); opacity: .9; pointer-events: none;
  transition: background .35s;
}
.device__screen[data-tone="light"] .home-indicator { background: var(--white); }

/* =========================================================================
   Shared bits
   ========================================================================= */
.screen {
  position: absolute; inset: 0;
  visibility: hidden;
  overflow: hidden;
  overflow: clip;
  background: var(--cream);
}
.screen.is-active, .screen.is-leaving { visibility: visible; }
.screen.is-leaving { z-index: 1; pointer-events: none; }
.screen.is-active { z-index: 2; }

.scroll {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  padding: calc(var(--sat) + var(--badge) + 10px) 20px calc(var(--sab) + 118px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.scroll::-webkit-scrollbar { display: none; }

.overline {
  font-family: var(--body);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pink-deep);
}
.overline--gold {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  color: var(--gold); background: var(--cobalt-deep);
}
.overline--jade { color: color-mix(in srgb, #000 30%, var(--jade)); }

/* Sun rays (the resplandor), from the landing hero */
.rays {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  --ry: 26%;
  -webkit-mask-image: radial-gradient(circle at 50% var(--ry), #000 0, #000 18%, transparent 68%);
          mask-image: radial-gradient(circle at 50% var(--ry), #000 0, #000 18%, transparent 68%);
}
.rays::before {
  content: "";
  position: absolute; left: 50%; top: var(--ry);
  width: 260%; aspect-ratio: 1;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg,
    color-mix(in srgb, var(--on-brand) 5%, transparent) 0deg 5deg,
    transparent 5deg 15deg);
  animation: spin 120s linear infinite;
}
.rays::after {
  content: ""; position: absolute; left: 50%; top: var(--ry);
  width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 14%, transparent), transparent 65%);
}
.rays--full { --ry: 34%; }
.rays--spin::before { animation-duration: 40s; }
@keyframes spin { to { rotate: 360deg; } }

.star { position: absolute; width: 26px; pointer-events: none; z-index: 1; }
.twinkle { animation: twinkle 3.4s ease-in-out infinite; }
.star--b { animation-delay: -1.2s; }
.star--d { animation-delay: -2s; }
@keyframes twinkle {
  0%, 100% { opacity: .95; transform: scale(1) rotate(0deg); }
  50% { opacity: .35; transform: scale(.7) rotate(18deg); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 17px; letter-spacing: .01em;
  transition: transform .18s var(--ease), box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active, .btn.is-pressed { transform: scale(.96); }
.btn small { font-weight: 700; font-size: 14px; padding-left: 10px; border-left: 1.5px solid color-mix(in srgb, currentColor 35%, transparent); }
.btn--lg { height: 60px; font-size: 19px; padding: 0 28px; }
.btn--sm { height: 38px; font-size: 14px; padding: 0 16px; gap: 6px; }
.btn--block { display: flex; width: 100%; }
.btn--wide { width: calc(100% - 48px); }
.btn--pink {
  background: linear-gradient(180deg, color-mix(in srgb, var(--white) 14%, var(--pink)), var(--pink));
  color: var(--white);
  box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--pink) 70%, transparent), inset 0 1px 0 color-mix(in srgb, var(--white) 35%, transparent);
}
.btn--chunky { box-shadow: 0 6px 0 var(--pink-deep), 0 14px 26px -8px color-mix(in srgb, #000 50%, transparent); }
.btn--chunky:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--pink-deep); }
.btn--ink { background: var(--cobalt); color: var(--on-brand); }
.btn--glass {
  background: var(--on-brand-faint); color: var(--on-brand);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-brand) 22%, transparent);
  font-size: 16px;
}

/* =========================================================================
   HOY: one message at a time (I Am / BibleWidgets feel). Full-bleed fondo,
   quiet glass controls, a swipe-up feed and one pink CTA above the tab bar.
   ========================================================================= */
.screen--hoy {
  --hoy-ink: var(--on-brand);
  --hoy-glass: var(--on-brand-faint);
  --hoy-ring: color-mix(in srgb, var(--on-brand) 22%, transparent);
  color: var(--hoy-ink);
  background:
    radial-gradient(120% 55% at 50% 0%, var(--cobalt-lift), transparent 70%),
    var(--cobalt);
}
.screen--hoy[data-fondo="crema"] {
  --hoy-ink: var(--cobalt);
  --hoy-glass: color-mix(in srgb, var(--cobalt) 8%, transparent);
  --hoy-ring: color-mix(in srgb, var(--cobalt) 14%, transparent);
  background:
    radial-gradient(90% 40% at 100% 0%, color-mix(in srgb, var(--pink) 10%, transparent), transparent 70%),
    radial-gradient(70% 30% at 0% 8%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%),
    var(--cream);
}
/* On crema the cream rays vanish: draw them in soft gold instead (cobalt
   text stays well above 7:1 on the tinted cream) */
.screen--hoy[data-fondo="crema"] .rays::before {
  background: repeating-conic-gradient(from 0deg,
    color-mix(in srgb, var(--gold) 22%, transparent) 0deg 5deg,
    transparent 5deg 15deg);
}
.screen--hoy[data-fondo="rosa"] { background: radial-gradient(120% 55% at 50% 0%, var(--pink-dusk), transparent 70%), var(--pink-night); }
.screen--hoy[data-fondo="jade"] { background: radial-gradient(120% 55% at 50% 0%, var(--jade-dusk), transparent 70%), var(--jade-night); }

.hoy-bar {
  position: absolute; z-index: 6; left: 16px; right: 16px;
  top: calc(var(--sat) + var(--badge) + 4px);
  display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  pointer-events: none;
}
.hoy-bar > * { pointer-events: auto; }
.circle-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--hoy-ink); background: var(--hoy-glass);
  box-shadow: inset 0 0 0 1px var(--hoy-ring);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .18s var(--ease);
}
.circle-btn:active { transform: scale(.92); }
.progress-pill {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px 0 10px; border-radius: 999px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  color: var(--hoy-ink); background: var(--hoy-glass);
  box-shadow: inset 0 0 0 1px var(--hoy-ring);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .18s var(--ease);
}
.progress-pill:active { transform: scale(.95); }
.progress-pill img { width: 26px; height: 26px; margin: -2px 0; }
.progress-pill i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 0 3px; }

.feed {
  position: absolute; inset: 0; z-index: 2;
  overflow-y: auto; overflow-x: hidden;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.feed::-webkit-scrollbar { display: none; }
.slide {
  height: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; flex-direction: column; align-items: center; justify-content: safe center;
  padding: calc(var(--sat) + var(--badge) + 64px) 28px calc(var(--sab) + 130px);
  text-align: center;
}
.slide__virgin { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
.slide__virgin span {
  position: absolute; inset: -22px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 34%, transparent), transparent 66%);
}
.slide__img { position: relative; width: 118px; filter: drop-shadow(0 10px 14px color-mix(in srgb, #000 25%, transparent)); animation: float 6s ease-in-out infinite; }
.slide__virgin .star { width: 20px; z-index: 2; }
.slide__virgin .star--a { left: -26px; top: 30px; }
.slide__virgin .star--b { right: -24px; top: 10px; width: 16px; }
.slide__virgin .star--c { right: -34px; bottom: 24px; width: 13px; animation-delay: -2s; }
/* Short screens (e.g. a short browser window in bare mode): shrink so the
   card never slides under the top bar */
.feed { container-type: size; }
@container (max-height: 720px) {
  .slide__virgin { width: 96px; height: 96px; }
  .slide__img { width: 86px; }
  .slide__text { font-size: 27px; }
  .slide__text--long { font-size: 23px; }
  .slide__actions { margin-top: 18px; }
}
@container (max-height: 600px) {
  .slide { padding-top: calc(var(--sat) + var(--badge) + 52px); }
  .slide__virgin { width: 64px; height: 64px; }
  .slide__img { width: 58px; }
  .slide__virgin .star { display: none; }
  .slide__voice { margin-top: 8px; font-size: 15px; }
  .slide__text { margin-top: 8px; font-size: 22px; }
  .slide__text--long { font-size: 19px; }
  .slide__actions { margin-top: 6px; }
}
@media (max-height: 600px) { .stage.is-bare .swipe-hint, .swipe-hint { display: none; } }
.feed.is-refresh .slide { animation: feedIn .5s var(--ease); }
@keyframes feedIn { from { opacity: 0; transform: translateY(14px); } }
.slide__voice {
  margin-top: 16px;
  font-family: var(--body); font-style: italic; font-weight: 500; font-size: 17px; line-height: 1.3;
  color: var(--hoy-ink);
}
.slide__text {
  margin-top: 16px; max-width: 320px;
  font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.16;
  text-wrap: balance;
}
.slide__text--long { font-size: 27px; }
.slide__cite { margin-top: 14px; font-style: normal; font-weight: 600; font-size: 15px; letter-spacing: .06em; }
.slide__actions { display: flex; gap: 44px; margin-top: 30px; }
.slide__actions button {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--hoy-ink);
  transition: transform .2s var(--spring);
}
.slide__actions button:active { transform: scale(.88); }
.slide__actions [data-like].is-on { color: var(--pink); animation: likePop .45s var(--spring); }
.slide__actions [data-like].is-on path { fill: currentColor; }
.screen--hoy[data-fondo="rosa"] .slide__actions [data-like].is-on { color: var(--on-brand); }
@keyframes likePop { 40% { transform: scale(1.3); } }

.swipe-hint {
  position: absolute; z-index: 3; left: 50%; translate: -50% 0;
  bottom: calc(var(--sab) + 84px);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 14px; font-weight: 600; color: var(--hoy-ink);
  pointer-events: none;
  transition: opacity .35s, visibility 0s;
}
.swipe-hint svg { animation: bob 1.8s ease-in-out infinite; }
.swipe-hint.is-hidden { opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
@keyframes bob { 50% { transform: translateY(-4px); } }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Bottom dock replaces the tab bar: Temas · Reza conmigo · Virgencita */
.hoy-dock {
  position: absolute; z-index: 6; left: 16px; right: 16px;
  bottom: calc(var(--sab) + 12px);
  display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 12px;
}
.hoy-cta { justify-self: center; height: 56px; padding: 0 34px; }
.circle-btn--lg { width: 56px; height: 56px; }
/* Talk to the Virgencita: her plain mark inside a glass speech bubble.
   One sharp corner (pointing at the CTA) makes the circle read as a chat. */
.chat-bubble {
  position: relative; width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50% 50% 50% 8px;
  background: var(--hoy-glass);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 70%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .18s var(--ease);
}
.chat-bubble:active { transform: scale(.92); }
.chat-bubble img { height: 38px; width: auto; filter: drop-shadow(0 3px 5px color-mix(in srgb, #000 25%, transparent)); }

/* Last card of the feed: guide her to the next step */
.slide--end .slide__text { font-size: 30px; }
.slide__next { display: grid; gap: 10px; width: 100%; max-width: 300px; margin-top: 26px; }
.slide__next .btn { width: 100%; }
.screen--hoy[data-fondo="crema"] .slide__next .btn--glass { color: var(--cobalt); background: var(--hoy-glass); box-shadow: inset 0 0 0 1px var(--hoy-ring); }
.hoy-cta:active { transform: scale(.96); }
/* Pink on pink disappears: on rosa the CTA turns cream */
.screen--hoy[data-fondo="rosa"] .hoy-cta { background: var(--on-brand); color: var(--pink-night); box-shadow: 0 12px 26px -8px color-mix(in srgb, #000 45%, transparent); }

/* Temas + Fondos sheets (share-sheet pattern) */
.sheet__title { text-align: center; font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--cobalt); }
.temas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tema {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 20px;
  background: var(--white); color: var(--cobalt);
  font-size: 16px; font-weight: 700; text-align: left;
  transition: transform .18s var(--ease), box-shadow .2s;
}
.tema:active { transform: scale(.97); }
.tema img { width: 40px; height: 40px; flex: none; }
.tema.is-on { box-shadow: inset 0 0 0 2px var(--pink); }
.fondos-row { display: flex; justify-content: space-around; padding: 4px 0 8px; }
.fondo-swatch { display: grid; justify-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--cobalt); }
.fondo-swatch i {
  width: 62px; height: 62px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cobalt) 12%, transparent);
  transition: box-shadow .2s, transform .2s var(--spring);
}
.fondo-swatch.is-on i { box-shadow: 0 0 0 3px var(--ios-sheet), 0 0 0 5px var(--cobalt); transform: scale(1.04); }
.fondo-swatch[data-fondo-pick="cobalt"] i { background: var(--cobalt); }
.fondo-swatch[data-fondo-pick="crema"] i { background: var(--cream); }
.fondo-swatch[data-fondo-pick="rosa"] i { background: var(--pink-night); }
.fondo-swatch[data-fondo-pick="jade"] i { background: var(--jade-night); }

/* Floating back button for chat + Mi camino (no tab bar in this variant) */
.screen-back {
  position: absolute; z-index: 8; left: 14px; top: calc(var(--sat) + var(--badge) + 2px);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--cobalt);
  background: color-mix(in srgb, var(--white) 70%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cobalt) 10%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.screen--camino .scroll { padding-top: calc(var(--sat) + var(--badge) + 56px); padding-bottom: calc(var(--sab) + 40px); }
.screen--chat .chat__head { padding-left: 70px; }

/* =========================================================================
   MI PERFIL (settings list, after I Am's Settings)
   ========================================================================= */
.screen--perfil .scroll { padding-top: calc(var(--sat) + var(--badge) + 64px); padding-bottom: calc(var(--sab) + 30px); }
.navbar__title--display { font-family: var(--display); font-size: 22px; color: var(--cobalt); }
.profile-card {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: 26px;
  background: var(--white); text-align: left;
  box-shadow: 0 10px 24px -16px color-mix(in srgb, var(--cobalt) 45%, transparent);
}
.profile-card__avatar {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pink-deep); color: var(--white);
  font-family: var(--display); font-weight: 700; font-size: 26px;
}
.profile-card__text strong { display: block; font-family: var(--display); font-size: 24px; color: var(--cobalt); }
.profile-card__text span { font-size: 15px; color: var(--muted); }
.settings__label { margin: 22px 6px 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.settings__group { border-radius: 24px; background: var(--white); overflow: hidden; box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--cobalt) 40%, transparent); }
.row {
  position: relative; width: 100%;
  display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 0 16px;
  color: var(--cobalt); text-align: left;
  transition: background .15s;
}
.row:active { background: var(--lavender); }
.row + .row::before { content: ""; position: absolute; top: 0; left: 54px; right: 0; height: 1px; background: color-mix(in srgb, var(--cobalt) 9%, transparent); }
.row__icon { flex: none; }
.row__label { flex: 1; font-size: 17px; font-weight: 500; }
.row__value { font-size: 15px; color: var(--muted); max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__chev { flex: none; color: color-mix(in srgb, var(--cobalt) 45%, var(--white)); }
.row--quiet { color: var(--pink-deep); }
.switch { flex: none; width: 50px; height: 30px; border-radius: 999px; background: color-mix(in srgb, var(--cobalt) 18%, var(--white)); position: relative; transition: background .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 5px color-mix(in srgb, #000 22%, transparent); transition: transform .25s var(--spring); }
.switch.is-on { background: var(--jade-dusk); }
.switch.is-on i { transform: translateX(20px); }
.settings__foot { margin-top: 26px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sheet__input {
  width: 100%; height: 54px; padding: 0 18px; border-radius: 18px;
  background: var(--white); color: var(--cobalt);
  font-family: var(--body); font-size: 18px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cobalt) 16%, transparent);
  outline: none;
}
.sheet__input:focus { box-shadow: inset 0 0 0 2px var(--cobalt); }

/* =========================================================================
   Navbars for pushed screens
   ========================================================================= */
.navbar {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  padding: calc(var(--sat) + var(--badge)) 10px 6px;
  display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.navbar__back, .navbar__action { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--cobalt); }
.navbar__title { text-align: center; font-weight: 700; font-size: 16px; }
.navbar--brand { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--on-brand); }
.navbar--brand .navbar__back, .navbar--brand .navbar__action { color: var(--on-brand); background: var(--on-brand-faint); }
.navbar--brand .navbar__title { justify-self: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: var(--cobalt-deep); padding: 6px 12px; border-radius: 999px; }

/* =========================================================================
   ORAR
   ========================================================================= */
.screen--orar { background: radial-gradient(90% 50% at 50% 12%, var(--cobalt-lift), transparent 70%), var(--cobalt); color: var(--on-brand); }
.screen--orar .rays { --ry: 18%; }
.screen--orar .star--c { left: 34px; top: 170px; }
.screen--orar .star--d { right: 40px; top: 120px; width: 20px; }
.scroll--orar { padding-top: calc(var(--sat) + var(--badge) + 56px); padding-bottom: calc(var(--sab) + 110px); text-align: center; }
.orar-candle { position: relative; width: 150px; margin: 0 auto; }
.orar-candle img { position: relative; z-index: 1; filter: drop-shadow(0 12px 20px color-mix(in srgb, #000 35%, transparent)); }
.orar-candle__glow, .velas__glow, .vela-lit__glow {
  position: absolute; left: 50%; top: 18%; width: 150%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 40%, transparent), transparent 52%);
  animation: flicker 2.6s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: .9; transform: scale(1); }
  30% { opacity: .65; transform: scale(.94); }
  55% { opacity: 1; transform: scale(1.05); }
  75% { opacity: .75; transform: scale(.98); }
}
.orar-title { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.1; }
.orar-title span { color: var(--gold); }
.prayer { margin: 20px auto 0; max-width: 330px; font-family: var(--body); font-style: italic; font-weight: 500; font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.prayer p + p { margin-top: 16px; }
.prayer__line { transition: opacity .6s, color .6s, text-shadow .6s; }
.prayer__line { border-radius: 6px; padding: 1px 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background .5s, color .5s; }
.prayer.is-playing .prayer__line.is-now { background: var(--cobalt-deep); color: var(--gold); }
.prayer__amen { color: var(--gold); font-weight: 700; font-size: 21px; font-style: normal; }
.orar-actions { display: grid; gap: 12px; margin: 30px auto 0; max-width: 330px; }

.player {
  position: absolute; z-index: 30;
  left: 14px; right: 14px; bottom: calc(var(--sab) + 6px);
  display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cobalt-night) 62%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 0 0 1px var(--on-brand-faint), 0 18px 36px -12px color-mix(in srgb, #000 55%, transparent);
  color: var(--on-brand);
}
.player__play {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pink); color: var(--white);
  box-shadow: 0 8px 18px -6px var(--pink);
  transition: transform .2s var(--spring);
}
.player__play:active { transform: scale(.9); }
.player .i-pause { display: none; }
.player.is-playing .i-pause { display: block; }
.player.is-playing .i-play { display: none; }
.player__meta p { font-size: 14px; font-weight: 600; }
.player__bar { margin-top: 8px; height: 5px; border-radius: 3px; background: var(--on-brand-faint); overflow: hidden; }
.player__bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--gold); }
.player__time { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--on-brand-soft); }

/* =========================================================================
   VIRGENCITA (chat)
   ========================================================================= */
.screen--chat {
  background:
    radial-gradient(80% 36% at 50% 10%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 72%),
    radial-gradient(70% 40% at 100% 60%, color-mix(in srgb, var(--pink) 7%, transparent), transparent 70%),
    var(--cream);
}
.chat { position: absolute; inset: 0; }
.chat__hero {
  position: absolute; inset: 0;
  padding: calc(var(--sat) + var(--badge) + 8px) 22px 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.chat__halo {
  position: absolute; left: 50%; top: calc(var(--sat) + 120px); width: 330px; aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--gold) 16%, transparent) 0 4deg, transparent 4deg 14deg);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
          mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  animation: spin 80s linear infinite;
}
.chat__virgin { position: relative; width: 210px; filter: drop-shadow(0 16px 22px color-mix(in srgb, var(--cobalt) 25%, transparent)); animation: float 6s ease-in-out infinite; }
.chat__greet {
  position: relative; margin-top: 14px;
  font-family: var(--display); font-weight: 700; font-size: 27px; line-height: 1.15;
  color: var(--cobalt); text-wrap: balance;
}
.chat__greet em { font-style: normal; color: var(--pink); }
.chat__chips { position: relative; width: 100%; display: grid; gap: 10px; margin-top: 22px; }
.chip {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--white);
  color: var(--cobalt);
  font-size: 16px; font-weight: 600; text-align: left;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--cobalt) 8%, transparent), 0 10px 24px -14px color-mix(in srgb, var(--cobalt) 40%, transparent);
  opacity: 0; transform: translateY(12px);
  animation: rise .55s var(--ease) forwards;
  transition: transform .2s var(--ease);
}
.chip:active { transform: scale(.97); }
.chip img { width: 34px; height: 34px; flex: none; }
.chip span { flex: 1; }
.chip svg { flex: none; color: color-mix(in srgb, var(--cobalt) 40%, transparent); }
@keyframes rise { to { opacity: 1; transform: none; } }

.chat__virgin, .chat__greet { transition: width .4s var(--ease), margin .4s var(--ease), font-size .4s var(--ease); }
.kb-open .chat__virgin { width: 150px; }
.kb-open .chat__greet { margin-top: 6px; font-size: 24px; }
.kb-open .chip:nth-child(n+3) { visibility: hidden; }
.chat.is-talking .chat__hero { opacity: 0; transform: translateY(-40px) scale(.96); pointer-events: none; }
.chat__head {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  padding: calc(var(--sat) + var(--badge) + 2px) 18px 12px;
  display: flex; align-items: center; gap: 12px;
  background: color-mix(in srgb, var(--cream) 84%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--cobalt) 8%, transparent);
  opacity: 0; transform: translateY(-100%);
  transition: opacity .4s, transform .5s var(--ease);
}
.chat.is-talking .chat__head { opacity: 1; transform: none; }
.chat__head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; background: var(--cobalt); box-shadow: 0 0 0 2px var(--gold); }
.chat__head strong { display: block; font-family: var(--display); font-size: 20px; color: var(--cobalt); }
.chat__head span { font-size: 13px; color: var(--jade); font-weight: 600; }

.chat__log {
  position: absolute; inset: 0;
  overflow-y: auto; scrollbar-width: none;
  padding: calc(var(--sat) + var(--badge) + 84px) 16px var(--log-pad, 190px);
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
  pointer-events: none;
}
.chat.is-talking .chat__log { pointer-events: auto; }
.chat__log::-webkit-scrollbar { display: none; }
.chat__log > * { flex-shrink: 0; }
.msg {
  max-width: 84%;
  padding: 12px 16px;
  font-size: 17px; line-height: 1.38;
  border-radius: 22px;
  animation: pop .4s var(--spring) both;
  text-wrap: pretty;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
.msg--me {
  align-self: flex-end;
  background: var(--cobalt); color: var(--on-brand);
  border-bottom-right-radius: 7px;
}
.msg--her {
  align-self: flex-start;
  background: var(--white); color: var(--cobalt);
  border-bottom-left-radius: 7px;
  box-shadow: 0 8px 20px -14px color-mix(in srgb, var(--cobalt) 45%, transparent);
}
.msg--typing { display: flex; gap: 5px; padding: 16px 18px; }
.msg--typing i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--cobalt) 45%, transparent); animation: dot 1.1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-5px); opacity: 1; } 60% { transform: none; opacity: .5; } }
.verse-card {
  align-self: flex-start;
  position: relative; overflow: hidden;
  width: 88%;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: var(--cobalt); color: var(--on-brand);
  animation: pop .5s var(--spring) both;
  box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--cobalt) 70%, transparent);
}
.verse-card .rays { display: none; }
.verse-card img { position: absolute; right: -12px; bottom: -14px; width: 92px; opacity: .95; }
.verse-card p:not(.overline) { position: relative; margin-top: 8px; font-family: var(--display); font-size: 21px; line-height: 1.25; padding-right: 50px; }
.verse-card cite { position: relative; display: block; margin-top: 10px; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--gold); }
.msg-actions { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 8px; animation: pop .45s var(--spring) both; }
.msg-actions .btn { height: 42px; font-size: 15px; padding: 0 16px; }
.btn--outline { background: var(--white); color: var(--cobalt); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cobalt) 18%, transparent); }

.composer {
  position: absolute; z-index: 30;
  left: 14px; right: 14px;
  bottom: calc(var(--sab) + 12px);
  display: flex; gap: 8px; align-items: flex-end;
  margin: 0;
  transition: bottom .38s var(--ease);
}
.screen--chat.kb-open .composer { bottom: calc(var(--kb-h, 290px) + 8px); }
.composer__field {
  position: relative; flex: 1;
  min-height: 54px; max-height: 120px; overflow: hidden;
  padding: 15px 18px;
  border-radius: 27px;
  background: var(--white);
  font-size: 17px; line-height: 1.35; color: var(--cobalt);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cobalt) 12%, transparent), 0 10px 26px -16px color-mix(in srgb, var(--cobalt) 50%, transparent);
  cursor: text;
}
.composer__ph { position: absolute; left: 18px; top: 15px; color: color-mix(in srgb, var(--cobalt) 80%, var(--white)); pointer-events: none; }
.composer__field.has-text .composer__ph { display: none; }
.composer__caret { display: none; width: 2px; height: 21px; margin-left: 1px; vertical-align: -4px; background: var(--pink); animation: caret 1s steps(1) infinite; }
.screen--chat.kb-open .composer__caret { display: inline-block; }
@keyframes caret { 50% { opacity: 0; } }
.composer__send {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--cobalt) 18%, var(--white)); color: var(--white);
  transition: background .25s, transform .2s var(--spring);
}
.composer__field.has-text + .composer__send { background: var(--pink); box-shadow: 0 10px 20px -8px var(--pink); }
.composer__send:active { transform: scale(.9); }

/* Fake iOS keyboard (Spanish layout) */
.kb {
  position: absolute; z-index: 45; left: 0; right: 0; bottom: 0;
  padding: 8px 3px calc(var(--sab) + 30px);
  background: var(--ios-kb);
  font-family: var(--sf);
  transform: translateY(100%);
  transition: transform .38s var(--ease);
}
.screen--chat.kb-open .kb { transform: none; }
.kb__row { display: flex; justify-content: center; gap: 6px; margin-bottom: 11px; padding: 0 3px; }
.kb__row--2 { padding: 0 3px; }
.key {
  position: relative;
  flex: 1; max-width: 34px; height: 43px;
  display: grid; place-items: center;
  border-radius: 5px;
  background: var(--ios-key);
  box-shadow: 0 1px 0 var(--ios-key-shadow);
  font-size: 23px; font-weight: 400; color: var(--ios-ink);
}
.key--alt { background: var(--ios-key-alt); max-width: 44px; flex: 1.3; font-size: 16px; }
.key--space { max-width: none; flex: 5; font-size: 16px; }
.key--send { max-width: none; flex: 2; font-size: 16px; background: var(--cobalt); color: var(--white); }
.key--num { max-width: none; flex: 1.4; font-size: 16px; }
.key.is-pressed { background: var(--ios-key-alt); }
.key[data-k].is-pressed::after {
  content: attr(data-k);
  position: absolute; left: 50%; bottom: 100%; translate: -50% 4px;
  width: 52px; height: 60px; border-radius: 10px 10px 8px 8px;
  display: grid; place-items: center;
  font-size: 32px; background: var(--ios-key); color: var(--ios-ink);
  box-shadow: 0 2px 6px color-mix(in srgb, #000 25%, transparent);
  z-index: 2;
}
.kb__extra { position: absolute; left: 22px; right: 22px; bottom: calc(var(--sab) + 2px); display: flex; justify-content: space-between; color: color-mix(in srgb, var(--ios-ink) 55%, transparent); }

/* =========================================================================
   MI CAMINO
   ========================================================================= */
.screen--camino {
  background:
    radial-gradient(80% 30% at 0% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%),
    var(--cream);
}
.page-head { padding: 6px 2px 16px; }
.page-head .overline { color: var(--muted); }
.page-head h1 { margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; color: var(--cobalt); }
.velas {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 18px 18px 22px;
  border-radius: 34px;
  background: radial-gradient(100% 70% at 50% 0%, var(--cobalt-lift), transparent 70%), var(--cobalt);
  color: var(--on-brand); text-align: center;
  box-shadow: 0 24px 48px -20px color-mix(in srgb, var(--cobalt) 70%, transparent);
}
.velas .rays { --ry: 22%; }
.velas__candle { position: relative; width: 170px; margin: 0 auto; }
.velas__candle img { position: relative; z-index: 1; filter: drop-shadow(0 12px 18px color-mix(in srgb, #000 35%, transparent)); }
.velas__num { position: relative; font-family: var(--display); font-weight: 900; font-size: 76px; line-height: .9; margin-top: 2px; color: var(--gold); text-shadow: 0 6px 24px color-mix(in srgb, var(--gold) 45%, transparent); }
.velas__label { position: relative; font-family: var(--display); font-size: 22px; font-weight: 600; margin-top: 4px; }
.week { position: relative; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 20px; }
.week li { display: grid; gap: 7px; justify-items: center; font-size: 13px; font-weight: 700; color: var(--on-brand); }
.week li.is-today { color: var(--white); }
.week i {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--on-brand-faint);
  color: var(--cobalt);
}
.week li.is-done i { background: var(--gold); box-shadow: 0 0 16px color-mix(in srgb, var(--gold) 55%, transparent); }
.week li.is-today:not(.is-done) i { box-shadow: inset 0 0 0 2.5px var(--pink); animation: ring 1.8s ease-in-out infinite; }
.week li.is-lit i { animation: lit .8s var(--spring); }
@keyframes ring { 50% { box-shadow: inset 0 0 0 2.5px var(--pink), 0 0 0 6px color-mix(in srgb, var(--pink) 25%, transparent); } }
@keyframes lit { from { transform: scale(.3); } }
.velas__note { position: relative; margin-top: 18px; font-size: 15px; color: var(--on-brand); }
.velas__note strong { color: var(--gold); }
.soft-note { margin: 14px 12px 0; text-align: center; font-size: 14px; line-height: 1.4; color: var(--muted); }

.novena-card {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 18px 18px 20px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--cobalt) 45%, transparent);
  transition: transform .2s var(--ease);
}
.novena-card:active { transform: scale(.98); }
.novena-card h2 { font-family: var(--display); font-size: 24px; font-weight: 700; margin-top: 4px; }
.novena-card__meta { font-size: 14px; color: var(--muted); margin-top: 2px; font-weight: 600; }
.novena-card__ring {
  flex: none; width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle, var(--white) 58%, transparent 59%),
    conic-gradient(var(--jade) calc(var(--p, .33) * 360deg), color-mix(in srgb, var(--jade) 16%, transparent) 0);
}

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 4px 12px; }
.section-head h2 { font-family: var(--display); font-size: 26px; font-weight: 700; }
.section-head > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* Estampita cards */
.estampita {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--cobalt) 60%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--white) 25%, transparent);
  transition: transform .25s var(--ease);
}
.estampita:active { transform: scale(.96); }
.estampita > img { width: 82%; filter: drop-shadow(0 8px 10px color-mix(in srgb, #000 25%, transparent)); }
.estampita__badge {
  position: absolute; left: 9px; top: 7px; z-index: 2;
  font-family: var(--display); font-weight: 900; font-size: 20px; color: var(--white);
  text-shadow: 0 2px 6px color-mix(in srgb, #000 30%, transparent);
}
.estampita__new {
  position: absolute; right: 7px; top: 8px; z-index: 2;
  padding: 3px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--white); color: var(--pink);
}
.estampita--pink { background: linear-gradient(160deg, color-mix(in srgb, var(--white) 30%, var(--pink)), var(--pink-deep)); }
.estampita--gold { background: linear-gradient(160deg, color-mix(in srgb, var(--white) 35%, var(--gold)), color-mix(in srgb, var(--pink) 25%, var(--gold))); }
.estampita--jade { background: linear-gradient(160deg, color-mix(in srgb, var(--white) 25%, var(--jade)), color-mix(in srgb, #000 20%, var(--jade))); }
.estampita--cobalt { background: radial-gradient(90% 60% at 50% 25%, color-mix(in srgb, var(--gold) 40%, var(--cobalt-lift)), var(--cobalt) 70%, var(--cobalt-deep)); }
.estampita--locked { background: color-mix(in srgb, var(--cobalt) 7%, var(--cream)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cobalt) 10%, transparent); }
.estampita--locked > img { filter: grayscale(1) brightness(1.6) contrast(.5); opacity: .45; }
.estampita--locked .estampita__badge { color: color-mix(in srgb, var(--cobalt) 30%, transparent); text-shadow: none; }
.estampita__lock {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 0;
  padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
  background: var(--white); color: var(--muted);
}
.estampita.is-new { animation: newglow 2.4s ease-in-out infinite; }
@keyframes newglow { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 40%, transparent), 0 14px 26px -12px var(--pink); } }

/* =========================================================================
   NOVENA
   ========================================================================= */
.screen--novena .scroll { padding-top: calc(var(--sat) + var(--badge) + 60px); padding-bottom: calc(var(--sab) + 40px); }
.novena-head { text-align: center; }
.novena-head img { margin: 0 auto; }
.novena-head h1 { font-family: var(--display); font-weight: 700; font-size: 34px; margin-top: 6px; }
.novena-head p { margin-top: 4px; color: var(--muted); font-size: 16px; }
.novena-return {
  display: none;
  margin: 18px 6px 0; padding: 14px 16px;
  border-radius: 18px;
  background: var(--blush); color: var(--pink-deep);
  font-size: 15px; font-weight: 600; line-height: 1.35; text-align: center;
}
.novena-return.is-on { display: block; }
.path { list-style: none; position: relative; margin: 26px auto 0; width: 260px; display: grid; gap: 18px; }
.path li { position: relative; display: flex; align-items: center; gap: 14px; translate: var(--x, 0) 0; }
.path li:nth-child(4n+2) { --x: 46px; }
.path li:nth-child(4n+3) { --x: 70px; }
.path li:nth-child(4n+4) { --x: 30px; }
.node {
  flex: none; width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 24px;
  background: color-mix(in srgb, var(--cobalt) 9%, var(--cream));
  color: color-mix(in srgb, var(--cobalt) 35%, transparent);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--cobalt) 14%, var(--cream));
}
.path .is-done .node { background: var(--gold); color: var(--cobalt); box-shadow: 0 6px 0 color-mix(in srgb, #000 16%, var(--gold)); }
.path .is-today .node {
  width: 78px; height: 78px;
  background: var(--pink); color: var(--white);
  box-shadow: 0 6px 0 var(--pink-deep), 0 0 0 8px color-mix(in srgb, var(--pink) 18%, transparent);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-5px); } }
.path li span { font-weight: 700; font-size: 15px; color: var(--muted); }
.path .is-today span { color: var(--pink-deep); font-size: 19px; }
.path .is-done span { color: var(--cobalt); }

/* =========================================================================
   iOS system screens (lock / home) — font + chrome copy iOS
   ========================================================================= */
.ios { font-family: var(--sf); background: var(--cobalt); color: var(--white); }
.wallpaper { position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 62%, var(--cobalt-lift), var(--cobalt) 55%, var(--cobalt-deep)); }
.wallpaper .rays { --ry: 62%; }
.wallpaper__virgin { position: absolute; left: 50%; bottom: 12%; width: 94%; translate: -50% 0; filter: drop-shadow(0 20px 30px color-mix(in srgb, #000 30%, transparent)); }
.wallpaper--blur .wallpaper__virgin { filter: blur(26px) saturate(1.3); opacity: .8; }
.wallpaper--blur::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--cobalt-deep) 30%, transparent); }

/* Creator's own wallpaper (panel → Fondo del iPhone). The photo replaces the
   rays + Virgencita. Like iOS liquid glass, the scrim and the glass behind
   the widget/notification adapt to the photo: applyWall() measures each band
   and sets --wall-scrim / --glass-mid / --glass-low just dark enough that
   white text stays ≥4.5:1 (clear glass on dark photos, smoky on bright ones). */
.wallpaper__photo { display: none; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.has-wall .wallpaper__photo { display: block; }
.has-wall .wallpaper .rays, .has-wall .wallpaper__virgin { display: none; }
.has-wall .wallpaper:not(.wallpaper--blur)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--wall-scrim), var(--wall-scrim) 22%, transparent 40%, transparent 80%, color-mix(in srgb, #000 16%, transparent));
}
.has-wall .wallpaper--blur .wallpaper__photo { filter: blur(26px) saturate(1.3); transform: scale(1.15); }
.has-wall .wallpaper--blur::after { background: color-mix(in srgb, #000 18%, transparent); }
.has-wall .lock__date { color: var(--white); text-shadow: 0 1px 8px color-mix(in srgb, #000 30%, transparent); }
.has-wall .lock__time { color: color-mix(in srgb, var(--white) 94%, transparent); text-shadow: 0 1px 12px color-mix(in srgb, #000 25%, transparent); }
.has-wall .lock-widget, .has-wall .lock__notif {
  -webkit-backdrop-filter: blur(14px) saturate(1.9); backdrop-filter: blur(14px) saturate(1.9);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--white) 38%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--white) 10%, transparent),
    inset 0 0 0 .5px color-mix(in srgb, var(--white) 22%, transparent),
    0 10px 28px -10px color-mix(in srgb, #000 35%, transparent);
  text-shadow: 0 1px 2px color-mix(in srgb, #000 22%, transparent);
}
.has-wall .lock-widget { background: var(--glass-mid); }
.has-wall .lock__notif { background: var(--glass-low); }

.lock__top { position: absolute; left: 0; right: 0; top: calc(var(--sat) + var(--badge) + 6px); text-align: center; }
.lock__date { font-size: 20px; font-weight: 600; color: color-mix(in srgb, var(--white) 88%, transparent); }
.lock__time {
  font-family: var(--sf-round);
  font-size: 108px; font-weight: 700; line-height: 1; letter-spacing: -2px;
  margin-top: -2px;
  color: color-mix(in srgb, var(--on-brand) 52%, var(--cobalt-lift));
  text-shadow: 0 1px 0 color-mix(in srgb, var(--white) 35%, transparent);
  font-variant-numeric: tabular-nums;
}
.lock-widget {
  margin: 8px auto 0;
  width: 318px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 20px;
  text-align: left;
  font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--white);
  background: color-mix(in srgb, var(--white) 16%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
}
.lock-widget img { width: 50px; height: 50px; flex: none; object-fit: contain; }
.lock__notif {
  position: absolute; left: 12px; right: 12px; bottom: calc(var(--sab) + 104px);
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--white) 22%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  font-size: 15px; line-height: 1.3;
  opacity: 0; transform: translateY(30px) scale(.96);
  transition: opacity .5s, transform .6s var(--spring);
}
.lock__notif.is-on { opacity: 1; transform: none; }
.lock__notif img { width: 38px; height: 38px; flex: none; object-fit: contain; }
.lock__notif div { flex: 1; }
.lock__notif p:first-child { display: flex; justify-content: space-between; }
.lock__notif p:first-child span { font-size: 13px; opacity: .7; }
.lock__bottom { position: absolute; left: 44px; right: 44px; bottom: calc(var(--sab) + 28px); display: flex; justify-content: space-between; }
.lock__btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--cobalt-night) 38%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

/* =========================================================================
   Agregar widget lockscreen (#widget). Auto-played by playWidgetFlow() in
   app.js; same flow as marketing/video/block-screenwidget. Each step is a
   class on the section: is-holding → is-gallery → is-edit (+ is-pulse)
   → is-sheet (+ is-glow) → is-picked/is-placed.
   ========================================================================= */
.screen--widget {
  background: var(--ios-ink);
  -webkit-touch-callout: none; user-select: none;
  --wl-t: .6s;
}
.screen--widget.wl-instant, .screen--widget.wl-instant * { transition: none !important; }
.wl-card {
  position: absolute; inset: 0; overflow: hidden;
  transform-origin: 50% 50%;
  transition: transform .65s var(--ease), border-radius .65s var(--ease);
}
.screen--widget.is-squish .wl-card { transform: scale(.97); transition-duration: .12s; }
.screen--widget.is-gallery .wl-card {
  transform: translateY(-5%) scale(.64);
  border-radius: 44px;
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--white) 8%, transparent);
}

/* Edit mode: outlined date, clock and widget slot, nudged down to clear
   Cancelar / OK (the real status bar stays on a phone) */
.screen--widget .lock__top { transition: transform var(--wl-t) var(--ease); }
.screen--widget.is-edit .lock__top { transform: translateY(36px); }
.wl-outline {
  margin-left: 28px; margin-right: 28px;
  border-radius: 16px;
  transition: box-shadow var(--wl-t) var(--ease);
}
.screen--widget.is-edit .wl-outline { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--on-brand) 55%, transparent); }
.screen--widget.is-edit.is-placed .wl-slot { box-shadow: none; }
.wl-slot {
  display: grid; place-items: center;
  width: 334px; min-height: 74px;
  margin: 4px auto 0;
  transition: box-shadow var(--wl-t) var(--ease), transform .3s var(--ease);
}
.wl-slot > * { grid-area: 1 / 1; }
.screen--widget.is-pulse .wl-slot { animation: wlPulse .9s ease-in-out infinite; }
@keyframes wlPulse { 50% { transform: scale(1.03); } }
.wl-slot__add {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--white);
  opacity: 0; transition: opacity var(--wl-t) var(--ease);
}
.screen--widget.is-edit:not(.is-placed) .wl-slot__add { opacity: 1; }
.wl-slot__widget {
  margin: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.screen--widget.is-placed .wl-slot__widget { opacity: 1; pointer-events: auto; }

/* Edit chrome (Cancelar / OK / Natural); the flashlight + camera hide */
.wl-edit { opacity: 0; transition: opacity var(--wl-t) var(--ease); pointer-events: none; }
.screen--widget.is-edit .wl-edit { opacity: 1; }
.screen--widget .lock__bottom { transition: opacity var(--wl-t) var(--ease); }
.screen--widget.is-edit .lock__bottom { opacity: 0; }
.wl-glass {
  position: absolute; top: calc(var(--sat) + var(--badge) + 2px);
  height: 34px; padding: 0 15px; border-radius: 17px;
  display: grid; place-items: center;
  font-size: 16px; font-weight: 600; color: var(--white);
  background: color-mix(in srgb, var(--cobalt-night) 38%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.wl-edit__cancel { left: 18px; }
.wl-edit__ok { right: 18px; font-weight: 700; padding: 0 17px; }
.wl-edit__style { position: absolute; left: 0; right: 0; bottom: calc(var(--sab) + 62px); text-align: center; font-size: 16px; font-weight: 600; }
.wl-dots { position: absolute; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.wl-dots i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--white) 40%, transparent); }
.wl-dots i.is-on { background: var(--white); }
.wl-edit__dots { bottom: calc(var(--sab) + 44px); }

/* Wallpaper gallery chrome */
.wl-gallery { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .65s var(--ease); }
.screen--widget.is-gallery .wl-gallery { opacity: 1; }
.wl-gallery__label { position: absolute; left: 0; right: 0; top: calc(var(--sat) + var(--badge) + 14px); text-align: center; font-size: 15px; font-weight: 600; letter-spacing: 1.5px; }
.wl-gallery__dots { bottom: calc(var(--sab) + 92px); }
.wl-gallery__btns { position: absolute; left: 0; right: 0; bottom: calc(var(--sab) + 22px); display: flex; justify-content: center; gap: 13px; }
.wl-gallery__btn {
  height: 50px; border-radius: 25px; display: grid; place-items: center;
  font-size: 17px; font-weight: 600;
  background: color-mix(in srgb, var(--white) 16%, transparent);
  transition: transform .15s var(--ease);
}
.wl-gallery__customize { width: 140px; }
.wl-gallery__plus { width: 50px; font-size: 30px; font-weight: 300; }

/* "Agregar widgets" sheet */
.wl-sheet {
  position: absolute; left: 0; right: 0; bottom: -40px;
  top: calc(var(--sat) + var(--badge) + 272px);
  padding: 8px 18px 0;
  border-radius: 38px 38px 0 0;
  background: color-mix(in srgb, var(--cobalt-lift) 55%, transparent);
  -webkit-backdrop-filter: blur(30px) saturate(1.7); backdrop-filter: blur(30px) saturate(1.7);
  box-shadow: 0 -10px 40px color-mix(in srgb, #000 25%, transparent), inset 0 1px 0 color-mix(in srgb, var(--white) 25%, transparent);
  transform: translateY(105%);
  transition: transform .55s var(--ease);
}
.screen--widget.is-sheet .wl-sheet { transform: none; }
.wl-sheet__grab { display: block; width: 40px; height: 5px; border-radius: 3px; margin: 0 auto; background: color-mix(in srgb, var(--white) 45%, transparent); }
.wl-sheet__title { text-align: center; font-size: 19px; font-weight: 700; margin-top: 12px; }
.wl-tile {
  border-radius: 20px;
  background: color-mix(in srgb, var(--white) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--white) 12%, transparent);
}
.wl-sheet__search {
  display: flex; align-items: center; gap: 6px;
  height: 36px; margin-top: 14px; padding: 0 12px; border-radius: 12px;
  font-size: 16px; color: color-mix(in srgb, var(--white) 72%, transparent);
  background: color-mix(in srgb, var(--white) 14%, transparent);
}
.wl-sheet__row { display: flex; gap: 14px; margin-top: 16px; }
.wl-sheet__row .wl-tile { flex: 1; min-height: 76px; padding: 10px 12px; font-size: 14px; line-height: 1.25; }
.wl-sheet__row b { display: block; font-weight: 700; }
.wl-sheet__row small { display: block; font-size: 14px; color: color-mix(in srgb, var(--white) 72%, transparent); }
.wl-pick { position: relative; margin-top: 18px; }
.wl-pick::before {
  content: ""; position: absolute; inset: -6px; border-radius: 26px;
  box-shadow: 0 0 0 3px var(--pink), 0 0 30px color-mix(in srgb, var(--pink) 60%, transparent);
  opacity: 0; transition: opacity .3s;
}
.screen--widget.is-glow .wl-pick::before { animation: wlGlow .8s ease-in-out infinite alternate; }
@keyframes wlGlow { from { opacity: .35; } to { opacity: 1; } }
.wl-pick__widget {
  width: 100%; min-height: 72px; margin: 0;
  background: color-mix(in srgb, var(--white) 18%, transparent);
  transition: transform .15s var(--ease);
}
.wl-pick__new {
  position: absolute; right: -4px; top: -10px;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: var(--white); background: var(--pink-deep);
}
.screen--widget.is-picked .wl-pick__widget, .screen--widget.is-picked .wl-pick__new { visibility: hidden; }
.wl-sheet__circles { display: flex; justify-content: space-between; margin-top: 20px; }
.wl-sheet__circles .wl-tile { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; }
.wl-sheet__app { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 17px; font-weight: 600; }
.wl-sheet__app i { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--cobalt); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 60%, transparent); }
.wl-sheet__app img { width: 38px; margin: 4px 0 0 1px; }

/* Pressed targets */
.screen--widget .is-pressed { transform: scale(.94); }

/* Fly-in from the sheet tile to the slot (positions set in JS) */
.wl-fly {
  position: absolute; z-index: 5; margin: 0;
  transform-origin: 0 0;
  background: color-mix(in srgb, var(--white) 22%, transparent);
  visibility: hidden;
}
.wl-fly.is-on { visibility: visible; }
.wl-fly.is-moving {
  transition: transform .75s var(--ease), box-shadow .75s var(--ease);
  box-shadow: 0 16px 40px color-mix(in srgb, #000 35%, transparent);
}

/* Long-press ring */
.wl-hold {
  position: absolute; z-index: 6; left: 50%; top: 62%;
  width: 80px; height: 80px; margin: -40px 0 0 -40px;
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.wl-hold i {
  position: absolute; inset: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--white) 50%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--white) 85%, transparent);
}
.wl-hold svg { position: absolute; inset: 0; rotate: -90deg; }
.wl-hold circle { fill: none; stroke: color-mix(in srgb, var(--white) 25%, transparent); stroke-width: 4; }
.wl-hold .wl-hold__p { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 214; }
.screen--widget.is-holding .wl-hold { opacity: 1; }
.screen--widget.is-holding .wl-hold__p { stroke-dashoffset: 0; transition: stroke-dashoffset .8s linear; }

.springboard { position: absolute; inset: 0; padding: calc(var(--sat) + var(--badge) + 14px) 22px 0; }
.sb-grid { display: grid; grid-template-columns: repeat(4, 64px); justify-content: space-between; row-gap: 24px; }
.app { display: grid; justify-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--white); text-shadow: 0 1px 3px color-mix(in srgb, #000 35%, transparent); }
.app i {
  position: relative; overflow: hidden;
  width: 64px; height: 64px; border-radius: 15px;
  display: grid; place-items: center;
  box-shadow: 0 2px 6px color-mix(in srgb, #000 22%, transparent);
  font-style: normal;
}
.app i svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.app i[data-badge]::after {
  content: attr(data-badge);
  position: absolute; right: -2px; top: -2px; z-index: 2;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--sf); font-size: 13px; font-weight: 600; color: var(--white);
  background: var(--ios-red);
}
.app i[data-badge] { overflow: visible; }
/* Stock iOS app icon looks (simulated OS chrome, see header note) */
[data-glyph="facetime"], [data-glyph="phone"], [data-glyph="messages"] { background: linear-gradient(180deg, #5BF675, #0CBD2A); }
[data-glyph="calendar"] { background: var(--white); color: var(--ios-ink); display: flex !important; flex-direction: column; justify-content: center; gap: 0; }
[data-glyph="calendar"] small { font-family: var(--sf); font-size: 11px; font-weight: 600; color: var(--ios-red); text-transform: capitalize; line-height: 1; }
[data-glyph="calendar"] b { font-family: var(--sf); font-size: 32px; font-weight: 400; line-height: 1; margin-top: 2px; }
[data-glyph="photos"], [data-glyph="reminders"], [data-glyph="health"], [data-glyph="safari"] { background: var(--white); }
[data-glyph="camera"] { background: linear-gradient(180deg, #E9E9EC, #A2A2A8); }
[data-glyph="maps"] { background: linear-gradient(160deg, #DDF0CF, #B5DDA1); }
[data-glyph="weather"] { background: linear-gradient(180deg, #2A7BE8, #62B6F7); }
[data-glyph="notes"] { background: linear-gradient(180deg, #FDD64C 0 26%, var(--white) 26%); }
[data-glyph="books"] { background: linear-gradient(180deg, #FFA41B, #FF7B00); }
[data-glyph="podcasts"] { background: linear-gradient(180deg, #D56EF6, #8A2BE2); }
[data-glyph="wallet"] { background: #111114; }
[data-glyph="settings"] { background: linear-gradient(180deg, #D8D8DC, #8E8E93); }
[data-glyph="contacts"] { background: linear-gradient(180deg, #F2F2F4, #CFCFD4); }
[data-glyph="music"] { background: linear-gradient(180deg, #FF6A75, #FA2D48); }
.app--gua i { background: var(--cobalt); overflow: hidden; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent); }
.app--gua i img { width: 60px; margin-top: 8px; }
.widget-lg {
  position: relative; overflow: hidden;
  width: 100%; height: 100%;
  min-height: 150px;
  border-radius: 24px;
  padding: 13px 14px;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  text-align: left;
  background: radial-gradient(110% 70% at 80% 100%, color-mix(in srgb, var(--gold) 40%, var(--cobalt-lift)), var(--cobalt) 72%);
  box-shadow: 0 12px 30px -12px color-mix(in srgb, #000 40%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--white) 16%, transparent);
  color: var(--white);
  transition: transform .25s var(--ease);
}
.widget-lg:active { transform: scale(.96); }
.widget-lg__text { position: relative; z-index: 1; display: block; font-size: 13.5px; font-weight: 700; line-height: 1.22; text-shadow: 0 1px 6px color-mix(in srgb, var(--cobalt-deep) 60%, transparent); }
.widget-lg img { position: absolute; right: -6px; bottom: -8px; width: 86px; }
.widget-lg__label { position: absolute; left: 14px; bottom: 11px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.sb-search {
  position: absolute; left: 50%; bottom: calc(var(--sab) + 118px); translate: -50% 0;
  display: flex; gap: 5px; align-items: center;
  padding: 7px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: color-mix(in srgb, var(--white) 20%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.dock {
  position: absolute; left: 12px; right: 12px; bottom: calc(var(--sab) + 4px);
  height: 94px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 36px;
  background: color-mix(in srgb, var(--white) 18%, transparent);
  -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5);
}

/* =========================================================================
   Bloqueo de redes
   ========================================================================= */
/* 1. Home screen: the creator's real screenshot (img/redes-N.webp, status
   bar removed); tap targets sit over the icons. */
.screen--redes { background: var(--cobalt-night); }
.redes__art { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 923 / 2000; }
.redes__wall { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.redes__app {
  position: absolute; top: 9.05%; width: 16.14%; aspect-ratio: 1;
  border-radius: 22.5%;
  transition: background .15s;
}
[data-wall="2"] .redes__app, [data-wall="3"] .redes__app { top: 9.45%; }
.redes__app[data-app="instagram"] { left: 7.15%; }
.redes__app[data-app="tiktok"] { left: 30.44%; }
.redes__app:active, .redes__app.is-pressed { background: color-mix(in srgb, #000 30%, transparent); }

/* 2. Screen Time shield: system layout (icon, title, subtitle, a filled
   button and a plain one) over the blurred wallpaper, in the iOS font. */
.screen--shield {
  background: var(--cobalt-night);
  display: flex; flex-direction: column;
  padding: calc(var(--sat) + var(--badge)) 24px calc(var(--sab) + 18px);
  text-align: center;
}
.shield__bg {
  position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none;
  object-fit: cover; filter: blur(30px) saturate(1.2);
}
.screen--shield::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, #000 55%, transparent); }
.shield__body { position: relative; flex: 1; display: grid; align-content: center; justify-items: center; gap: 10px; padding-bottom: 40px; }
.shield__icon {
  width: 88px; height: 88px; border-radius: 21px; overflow: hidden; margin-bottom: 14px;
  display: grid; place-items: start center;
  background: var(--cobalt);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 55%, transparent), 0 14px 30px -10px color-mix(in srgb, #000 55%, transparent);
}
.shield__icon img { width: 82px; margin-top: 12px; }
.shield__title { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--white); text-wrap: balance; }
.shield__sub { font-size: 17px; line-height: 1.35; color: color-mix(in srgb, var(--white) 85%, transparent); max-width: 300px; text-wrap: balance; }
.shield__actions { position: relative; display: grid; gap: 6px; }
.shield__primary {
  height: 52px; border-radius: 14px;
  font-family: var(--sf); font-size: 17px; font-weight: 600;
  background: var(--pink-deep); color: var(--white);
  transition: transform .18s var(--ease), filter .2s;
}
.shield__primary:active { transform: scale(.97); filter: brightness(.9); }
.shield__secondary { height: 48px; font-family: var(--sf); font-size: 17px; font-weight: 500; color: var(--white); }
.shield__secondary:active { opacity: .6; }

/* iOS notification banner, dropping from the top */
.banner {
  position: absolute; z-index: 3; left: 10px; right: 10px; top: calc(var(--sat) + var(--badge) + 2px);
  display: flex; gap: 11px; align-items: center;
  padding: 12px 14px; border-radius: 24px;
  text-align: left; font-family: var(--sf); font-size: 15px; line-height: 1.3; color: var(--white);
  background: color-mix(in srgb, var(--white) 22%, var(--cobalt-night));
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: 0 18px 40px -14px color-mix(in srgb, #000 70%, transparent);
  opacity: 0; transform: translateY(-140%); pointer-events: none;
  transition: transform .55s var(--spring), opacity .3s;
}
.banner.is-on { opacity: 1; transform: none; pointer-events: auto; }
button.banner:active { transform: scale(.97); }
.banner img { width: 38px; height: 38px; flex: none; object-fit: contain; border-radius: 9px; background: var(--cobalt); }
.banner > span { flex: 1; display: grid; }
.banner__top { display: flex; justify-content: space-between; align-items: baseline; }
.banner__top small { font-size: 13px; color: color-mix(in srgb, var(--white) 75%, transparent); }

/* 3. Inside La Guadalupana: the Hoy card itself (same fondo, rays, stars,
   type and CTA), with a pill saying what is paused and the iOS back link. */
.rezo__crumb {
  position: absolute; z-index: 7; left: 26px; top: calc(var(--sat) + var(--badge) - 14px);
  display: flex; align-items: center; gap: 4px; min-height: 24px; padding-right: 12px;
  font-family: var(--sf); font-size: 12px; font-weight: 600; color: var(--hoy-ink);
}
.rezo__bar { display: flex; justify-content: center; }
.rezo__pill { pointer-events: none; gap: 7px; }
.rezo__feed { overflow: hidden; }
.screen--rezo.is-active .slide { animation: feedIn .6s var(--ease) both; }

/* Veladora overlay in Bloqueo de redes: the streak, then how long to open */
.vela-unlock { display: none; position: relative; width: calc(100% - 48px); max-width: 340px; margin-top: 22px; }
.overlay--vela.is-blk #btnVelaNext { display: none; }
.overlay--vela.is-blk .vela-unlock { display: grid; gap: 10px; }
.vela-unlock__title { font-size: 17px; font-weight: 700; color: var(--on-brand); margin-bottom: 2px; }
.vela-unlock__opts { display: grid; gap: 8px; }
.overlay--vela.is-blk .vela-lit { width: 170px; }
.overlay--vela .vela-unlock { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.overlay--vela.is-lit .vela-unlock { opacity: 1; transform: none; transition-delay: 1.2s; }

/* 4. The unlocked app's own launch screen + the unlock banner */
.screen--abierta { background: var(--white); display: grid; place-items: center; }
.screen--abierta[data-app="tiktok"] { background: #000; }
.abierta__icon { width: 96px; }

/* Splash */
.screen--splash { background: var(--cobalt); color: var(--on-brand); display: grid; place-content: center; justify-items: center; text-align: center; }
.screen--splash .rays { --ry: 42%; }
.splash__virgin { position: relative; width: 230px; }
.splash__word { position: relative; font-family: var(--display); font-weight: 700; font-size: 38px; margin-top: 8px; }
.splash__tag { position: relative; font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.screen--splash.is-active .splash__virgin { animation: splashIn .9s var(--spring) both; }
.screen--splash.is-active .splash__word { animation: rise .7s var(--ease) .25s both; opacity: 0; transform: translateY(12px); }
.screen--splash.is-active .splash__tag { animation: rise .7s var(--ease) .4s both; opacity: 0; transform: translateY(12px); }
@keyframes splashIn { from { opacity: 0; transform: scale(.6); } }

/* =========================================================================
   Overlays
   ========================================================================= */
.overlay {
  position: absolute; inset: 0; z-index: 50;
  visibility: hidden; opacity: 0;
  transition: opacity .4s var(--ease), visibility 0s .4s;
}
.overlay.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }

.overlay--vela, .overlay--unlock {
  background: radial-gradient(80% 50% at 50% 34%, var(--cobalt), var(--cobalt-night));
  color: var(--on-brand);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--sat) + 20px) 24px calc(var(--sab) + 30px);
}
.overlay--vela .rays { --ry: 30%; }
.vela-lit { position: relative; width: 210px; }
.vela-lit__img { position: relative; z-index: 1; filter: grayscale(1) brightness(.55); transform: scale(.85); transition: filter 1.1s var(--ease), transform .9s var(--spring); }
.vela-lit__glow { opacity: 0; transition: opacity 1s; animation: none; }
.overlay--vela.is-lit .vela-lit__img { filter: none; transform: none; }
.overlay--vela.is-lit .vela-lit__glow { opacity: 1; animation: flicker 2.6s ease-in-out 1s infinite; }
.vela-lit__count { position: relative; font-family: var(--display); font-weight: 900; font-size: 84px; line-height: 1; color: var(--gold); margin-top: 4px; }
.vela-lit__count span { display: inline-block; }
.vela-lit__count span.is-tick { animation: tick .6s var(--spring); }
@keyframes tick { 0% { transform: translateY(40%) scale(.6); opacity: 0; } }
.vela-lit__title { position: relative; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.12; margin-top: 8px; text-wrap: balance; }
.vela-lit__sub { position: relative; font-size: 17px; line-height: 1.4; color: var(--on-brand); margin-top: 10px; max-width: 300px; }
.overlay--vela .btn { position: relative; margin-top: 34px; }
.overlay--vela .vela-lit__count, .overlay--vela .vela-lit__title, .overlay--vela .vela-lit__sub, .overlay--vela .btn { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.overlay--vela.is-lit .vela-lit__count { opacity: 1; transform: none; transition-delay: .5s; }
.overlay--vela.is-lit .vela-lit__title { opacity: 1; transform: none; transition-delay: .75s; }
.overlay--vela.is-lit .vela-lit__sub { opacity: 1; transform: none; transition-delay: .9s; }
.overlay--vela.is-lit .btn { opacity: 1; transform: none; transition-delay: 1.2s; }

.overlay--unlock { justify-content: space-between; }
.unlock__banner {
  position: relative;
  width: 100%;
  padding: 18px 20px;
  border-radius: 26px;
  background: color-mix(in srgb, var(--on-brand) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-brand) 18%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 16px; line-height: 1.35;
  margin-top: 30px;
}
.unlock__banner strong { font-family: var(--display); font-size: 24px; line-height: 1.12; display: block; margin-bottom: 6px; color: var(--white); }
.unlock__banner p + p { color: var(--gold); font-weight: 600; }
.unlock__row { position: relative; width: calc(100% + 48px); display: flex; align-items: center; justify-content: center; gap: 16px; }
.estampita--side { flex: none; width: 118px; opacity: .75; }
.estampita--side:first-child { margin-left: -64px; }
.estampita--side:last-child { margin-right: -64px; }
.estampita--side.estampita--locked { background: color-mix(in srgb, var(--on-brand) 18%, transparent); box-shadow: inset 0 0 0 1px var(--on-brand-faint); }
.estampita--side.estampita--locked .estampita__badge { color: var(--on-brand-soft); }
.unlock__center { position: relative; flex: none; perspective: 1200px; }
.unlock__tag {
  position: absolute; left: 50%; top: -38px; translate: -50% 0; z-index: 3;
  padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 800;
  background: var(--gold); color: var(--cobalt);
  white-space: nowrap;
}
.unlock__tag--muted { top: auto; bottom: 12px; background: var(--on-brand-faint); color: var(--on-brand); }
.flip {
  position: relative; width: 214px; aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transition: transform 1s var(--spring);
}
.flip.is-flipped { transform: rotateY(180deg); }
.flip__back, .flip__front { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 24px; }
.flip__back {
  display: grid; place-items: center;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, color-mix(in srgb, var(--gold) 30%, transparent) 0 6deg, transparent 6deg 16deg),
    var(--cobalt-deep);
  box-shadow: inset 0 0 0 4px var(--gold), 0 20px 40px -14px color-mix(in srgb, #000 60%, transparent);
}
.flip__back img { width: 70px; filter: drop-shadow(0 6px 10px color-mix(in srgb, #000 40%, transparent)); }
.flip__front { transform: rotateY(180deg); }
.estampita--hero { width: 100%; height: 100%; box-shadow: inset 0 0 0 4px var(--gold), 0 24px 50px -12px color-mix(in srgb, var(--gold) 55%, transparent); }
.estampita--hero > img { width: 94%; margin-top: 16px; }
.estampita--hero .estampita__badge { font-size: 28px; left: 14px; top: 10px; }
.estampita__shine {
  position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 40%, color-mix(in srgb, var(--white) 55%, transparent) 50%, transparent 60%);
  transform: translateX(-60%);
}
.flip.is-flipped .estampita__shine { animation: shine 1.4s var(--ease) .7s; }
@keyframes shine { to { transform: translateX(60%); } }
.overlay--unlock.is-open .flip { animation: dealIn .8s var(--spring) both; }
@keyframes dealIn { from { transform: translateY(80px) scale(.4) rotate(-8deg); opacity: 0; } }
.overlay--unlock.is-open .flip.is-flipped { animation: none; }
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petals img { position: absolute; left: 50%; top: 52%; width: 40px; animation: burst 1.6s var(--ease) forwards; }
@keyframes burst {
  0% { transform: translate(-50%, -50%) scale(.2) rotate(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(var(--s)) rotate(var(--r)); opacity: 0; }
}

/* Share sheet */
.overlay--share { background: color-mix(in srgb, #000 40%, transparent); }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 20px calc(var(--sab) + 14px);
  border-radius: 34px 34px 0 0;
  background: var(--ios-sheet);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
  display: grid; gap: 18px;
}
.overlay--share.is-open .sheet { transform: none; }
.sheet__grab { justify-self: center; width: 40px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ios-ink) 20%, transparent); }
.share-card {
  position: relative; overflow: hidden;
  justify-self: center;
  width: 280px; min-height: 330px;
  padding: 26px 22px 20px;
  border-radius: 28px;
  background: radial-gradient(90% 60% at 50% 100%, var(--cobalt-lift), var(--cobalt) 70%);
  color: var(--on-brand);
  text-align: center;
  box-shadow: 0 20px 40px -18px color-mix(in srgb, var(--cobalt) 80%, transparent);
  display: flex; flex-direction: column; align-items: center;
}
.share-card__flower { position: absolute; right: -40px; top: -34px; width: 118px; opacity: .95; }
.share-card .overline { margin-top: 18px; }
.share-card .overline { position: relative; }
.share-card__text { position: relative; margin-top: 10px; font-family: var(--display); font-size: 23px; line-height: 1.2; font-weight: 600; text-wrap: balance; }
.share-card__virgin { width: 120px; margin-top: auto; padding-top: 10px; }
.share-card__domain { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--on-brand-soft); margin-top: 4px; }
.share-apps { display: flex; justify-content: space-around; font-family: var(--sf); font-size: 12px; color: var(--ios-ink); text-align: center; }
.share-apps span { display: grid; justify-items: center; gap: 6px; width: 72px; }
.share-apps i { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: var(--white); }
.share-apps__wa { background: var(--jade); }
.share-apps__msg { background: var(--cobalt); }
.share-apps__save { background: var(--pink); }
.share-apps__more { background: var(--white); color: var(--ios-ink) !important; }

/* Toast */
.toast {
  position: absolute; z-index: 70; left: 50%; top: calc(var(--sat) + 6px);
  translate: -50% 0;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--cobalt); color: var(--on-brand);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--cobalt) 80%, transparent);
  opacity: 0; transform: translateY(-20px) scale(.9);
  transition: opacity .3s, transform .45s var(--spring);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: none; }

/* "Vista previa de la app" label (shape-up guardrail) */
.preview-badge {
  position: absolute; z-index: 65; left: 50%; top: calc(var(--sat) - 2px); translate: -50% 0;
  padding: 3px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: color-mix(in srgb, var(--cobalt) 10%, transparent);
  color: color-mix(in srgb, var(--cobalt) 70%, transparent);
  pointer-events: none;
  display: none;
}
.has-badge .preview-badge { display: block; }
.has-badge { --badge: 24px; }
.device__screen[data-tone="light"] .preview-badge { background: color-mix(in srgb, var(--white) 16%, transparent); color: color-mix(in srgb, var(--white) 85%, transparent); }

/* Tap indicators for desktop screen recordings */
.touches { position: absolute; inset: 0; z-index: 90; pointer-events: none; }
.touch {
  position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--white) 45%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--white) 80%, transparent), 0 4px 14px color-mix(in srgb, #000 25%, transparent);
  animation: touch .55s var(--ease) forwards;
}
@keyframes touch { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }

/* =========================================================================
   Screen transitions (iOS-like)
   ========================================================================= */
.t-push-in { animation: pushIn .5s var(--ease) both; box-shadow: -20px 0 40px color-mix(in srgb, #000 12%, transparent); }
.t-push-out { animation: pushOut .5s var(--ease) both; }
.t-pop-in { animation: popIn .45s var(--ease) both; }
.t-pop-out { animation: popOut .45s var(--ease) both; box-shadow: -20px 0 40px color-mix(in srgb, #000 12%, transparent); }
.t-fade-in { animation: fadeIn .32s ease both; }
.t-fade-out { animation: fadeOut .32s ease both; }
.t-launch { animation: launch .6s var(--ease) both; transform-origin: var(--ox, 50%) var(--oy, 50%); }
@keyframes pushIn { from { transform: translateX(100%); } }
@keyframes pushOut { to { transform: translateX(-28%); filter: brightness(.85); } }
@keyframes popIn { from { transform: translateX(-28%); filter: brightness(.85); } }
@keyframes popOut { to { transform: translateX(100%); } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.985); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes launch { from { transform: scale(.14); border-radius: 60px; opacity: .4; } }

/* Motion: rays + stars keep going (slower), everything else stops */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rays::before { animation-duration: 400s !important; }
  .twinkle { animation-duration: 8s !important; }
}
