/* ============ tokens ============ */
:root {
  --bg: #f5f5f7;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f0f3;
  --ink: #1d1d1f;
  --ink-2: #48484d;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --accent: #0a6cff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(10, 108, 255, 0.1);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.04), 0 24px 60px -20px rgba(0, 0, 0, 0.22);
  --r: 22px;
  --r-lg: 32px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0c;
    --bg-2: #111114;
    --surface: #16161a;
    --surface-2: #1f1f24;
    --ink: #f5f5f7;
    --ink-2: #c7c7cc;
    --muted: #8e8e93;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.16);
    --accent: #3d8bff;
    --accent-soft: rgba(61, 139, 255, 0.16);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 30px 70px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

/* Colores de atajo: degradado del icono (--c1 → --c2) y fondo suave (--tint). */
.tile--red, .tint--red, .dot--red { --c1: #ff7a7a; --c2: #e5383b; }
.tile--orange, .tint--orange, .dot--orange { --c1: #ffad5c; --c2: #f76707; }
.tile--yellow, .tint--yellow, .dot--yellow { --c1: #ffd84d; --c2: #f59f00; }
.tile--green, .tint--green, .dot--green { --c1: #6ee080; --c2: #2b9a43; }
.tile--teal, .tint--teal, .dot--teal { --c1: #5fe3c0; --c2: #0ca678; }
.tile--cyan, .tint--cyan, .dot--cyan { --c1: #6ad8ea; --c2: #1098ad; }
.tile--blue, .tint--blue, .dot--blue { --c1: #6fbfff; --c2: #1c6fe6; }
.tile--indigo, .tint--indigo, .dot--indigo { --c1: #92a6ff; --c2: #4256e0; }
.tile--purple, .tint--purple, .dot--purple { --c1: #b89cff; --c2: #7048e8; }
.tile--pink, .tint--pink, .dot--pink { --c1: #ff8ab4; --c2: #d6336c; }
.tile--gray, .tint--gray, .dot--gray { --c1: #b4b9c0; --c2: #6b7280; }

/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
p a, .prose a { color: var(--accent); }
p a:hover, .prose a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.028em; margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; }
code { font: 0.88em var(--mono); background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--accent-soft); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--ink-2); margin: 16px 0 0; letter-spacing: -0.016em; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.ui { width: 18px; height: 18px; flex: none; }

/* ============ cabecera ============ */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-by { font-size: 13px; line-height: 1; color: var(--muted); white-space: nowrap; margin-top: 5px; }
.brand-by .by { font-weight: 500; color: var(--ink-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5px; width: 26px; height: 26px; }
.brand-mark i { border-radius: 4px; }
.brand-mark i:nth-child(1) { background: linear-gradient(160deg, #ffad5c, #f76707); }
.brand-mark i:nth-child(2) { background: linear-gradient(160deg, #ff8ab4, #d6336c); }
.brand-mark i:nth-child(3) { background: linear-gradient(160deg, #6fbfff, #1c6fe6); }
.brand-mark i:nth-child(4) { background: linear-gradient(160deg, #b89cff, #7048e8); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 7px 12px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: background 0.15s, color 0.15s; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current] { color: var(--ink); font-weight: 600; }

/* ============ botones ============ */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  border: 0; cursor: pointer; transition: transform 0.15s var(--ease), background 0.15s, box-shadow 0.2s;
}
.btn { background: var(--ink); color: var(--bg); }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); } }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn .ui, .get .ui { transition: transform 0.2s var(--ease); }
.btn:hover .ui, .get:hover .ui { transform: translateX(3px); }

/* «Obtener», al estilo del App Store */
.get {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 82px; height: 32px; padding: 0 16px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 14px; font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase;
  transition: background 0.15s, transform 0.15s var(--ease);
}
.get:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); }
.get:active { transform: scale(0.96); }
.get--big { height: 48px; padding: 0 24px; font-size: 16px; text-transform: none; letter-spacing: -0.01em; background: var(--accent); color: var(--accent-ink); }
.get--big:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.get--soon, .get--soon:hover { background: var(--surface-2); color: var(--muted); cursor: default; }

/* ============ icono de atajo ============ */
.tile {
  --s: 52px;
  display: inline-grid; place-items: center; flex: none;
  width: var(--s); height: var(--s); border-radius: calc(var(--s) * 0.235);
  background: linear-gradient(160deg, var(--c1), var(--c2));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.08), 0 6px 16px -6px color-mix(in srgb, var(--c2) 70%, transparent);
}
.tile .ico { width: 54%; height: 54%; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12)); }
.tile--lg { --s: 112px; }
.tile--xl { --s: clamp(150px, 22vw, 220px); }
.tile--lg .ico, .tile--xl .ico { stroke-width: 1.6; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(160deg, var(--c1), var(--c2)); }

/* ============ hero ============ */
.hero { position: relative; isolation: isolate; padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: -10% -10% 0 20%;
  background:
    radial-gradient(32% 42% at 72% 32%, rgba(214, 51, 108, 0.2), transparent 70%),
    radial-gradient(30% 38% at 88% 62%, rgba(28, 111, 230, 0.18), transparent 70%),
    radial-gradient(28% 36% at 58% 72%, rgba(247, 103, 7, 0.16), transparent 70%),
    radial-gradient(26% 30% at 82% 12%, rgba(112, 72, 232, 0.16), transparent 70%);
  filter: blur(24px); animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora { 50% { transform: translate(-3%, 2%) rotate(4deg) scale(1.06); } to { transform: translate(2%, -2%) rotate(-3deg) scale(1.1); } }
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.18s; }
.hero-copy > :nth-child(4) { animation-delay: 0.28s; }
.hero-copy > :nth-child(5) { animation-delay: 0.38s; }
@keyframes rise { from { opacity: 0; translate: 0 26px; filter: blur(10px); } }
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); letter-spacing: -0.045em; line-height: 1.02; }
.grad {
  background: linear-gradient(95deg, #f76707 0%, #d6336c 35%, #7048e8 68%, #1c6fe6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 220% 100%; animation: shimmer 7s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.hero .lead { max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats { display: flex; gap: 28px; list-style: none; padding: 0; margin: 40px 0 0; color: var(--muted); font-size: 15px; }
.stats strong { display: block; color: var(--ink); font: 700 24px/1.1 var(--font-display); letter-spacing: -0.03em; }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); justify-self: center; transform: perspective(1000px) rotateX(calc(var(--my, 0) * -10deg)) rotateY(calc(var(--mx, 0) * 12deg)) rotate(-8deg); transform-style: preserve-3d; transition: transform 0.8s var(--ease); }
.mosaic .m { display: block; animation: float 7s var(--ease) infinite alternate; animation-delay: calc(var(--i) * -0.8s); }
.mosaic .m { translate: 0 calc(var(--off, 0px) - var(--sy, 0) * var(--sp, 40) * 1px); }
.mosaic .m:nth-child(even) { --off: 18px; }
.mosaic .m .tile { animation: tile-in 0.9s var(--ease) both; animation-delay: calc(0.25s + var(--i) * 0.07s); }
@keyframes tile-in { from { opacity: 0; scale: 0.3; rotate: -25deg; } }
.mosaic .tile { --s: clamp(76px, 9vw, 108px); }
.mosaic a.m .tile { transition: transform 0.25s var(--ease); }
@media (hover: hover) { .mosaic a.m:hover .tile { transform: scale(1.06) rotate(4deg); } }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

/* ============ destacado ============ */
.feature {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--c1) 38%, transparent), transparent 55%),
    radial-gradient(90% 120% at 85% 110%, color-mix(in srgb, var(--c2) 26%, transparent), transparent 60%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: clamp(48px, 7vw, 88px);
}
.feature h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.04em; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checks .ui { color: #2b9a43; margin-top: 3px; }
.checks--big li { font-size: 17px; padding: 14px 16px; background: var(--surface); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }

/* ============ biblioteca ============ */
.library { padding-bottom: clamp(56px, 8vw, 96px); }
.lib-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.lib-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.search {
  display: flex; align-items: center; gap: 10px;
  width: min(100%, 340px); height: 46px; padding: 0 12px 0 16px;
  background: var(--surface); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow 0.15s;
}
.search:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.search .ui { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-size: 16px; color: var(--ink); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { font: 12px var(--mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 -2px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.chip span { color: var(--muted); font-size: 13px; }
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip[aria-pressed='true'] span { color: inherit; opacity: 0.6; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 20px; border-radius: var(--r); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
@media (hover: hover) { .card:hover { --ty: -4px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); } }
@media (hover: hover) { .card:hover .tile { transform: rotate(-4deg); } }
.card .tile { transition: transform 0.3s var(--ease); }
.card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), color-mix(in srgb, #fff 14%, transparent), transparent 45%); }
@media (hover: hover) and (pointer: fine) { .card:hover::after { opacity: 1; } }
.card-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card h3 { font-size: 20px; letter-spacing: -0.022em; }
.card p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; flex: 1; }
.card-meta { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ============ cómo instalar (portada) ============ */
.how { padding-bottom: clamp(64px, 9vw, 120px); }
.how h2 { font-size: clamp(28px, 3.4vw, 40px); text-align: center; }
.how-steps { list-style: none; padding: 0; margin: 36px 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-steps li { padding: 26px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.how-steps h3 { font-size: 19px; margin: 16px 0 6px; }
.how-steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; }
.link-arrow { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.link-arrow:hover .ui { transform: translateX(3px); }
.link-arrow .ui { transition: transform 0.2s var(--ease); }

/* ============ ficha de atajo ============ */
.detail { padding-top: 20px; padding-bottom: 80px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; padding: 6px 0; margin-bottom: 18px; }
.back:hover { color: var(--ink); }
.d-head {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding: clamp(24px, 4.5vw, 48px); border-radius: var(--r-lg);
  background:
    radial-gradient(100% 160% at 0% 0%, color-mix(in srgb, var(--c1) 30%, transparent), transparent 55%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.d-id { display: flex; gap: clamp(20px, 3vw, 36px); align-items: flex-start; }
.d-id h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.042em; }
.d-id .lead { max-width: 560px; margin-top: 10px; }
.d-id .row { margin-top: 24px; }
.qr { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 200px; text-align: center; font-size: 13.5px; color: var(--muted); }
.qr svg { width: 156px; height: 156px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.qr p { margin: 0; line-height: 1.4; }
.qr strong { color: var(--ink); }

.info { display: grid; grid-template-columns: repeat(5, 1fr); margin: 20px 0 0; padding: 0; }
.info div { padding: 14px 18px; border-right: 1px solid var(--line); }
.info div:last-child { border-right: 0; }
.info dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; }
.info dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; }

.shots { display: flex; gap: 18px; overflow-x: auto; padding: 36px 2px 8px; scroll-snap-type: x mandatory; }
.phone { flex: none; width: 240px; margin: 0; border-radius: 34px; overflow: hidden; box-shadow: 0 0 0 7px var(--ink), var(--shadow-lg); scroll-snap-align: start; }

.d-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin-top: 40px; align-items: start; }
.block + .block { margin-top: 48px; }
.block h2 { font-size: 26px; margin-bottom: 18px; }
.prose p { margin: 0 0 14px; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 20px; color: var(--ink-2); }
.uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.use { padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.use h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.015em; }
.use p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.flow { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 0 0 22px 48px; color: var(--ink-2); }
.flow li::before { content: counter(f); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; font-size: 14px; color: var(--ink); }
.flow li::after { content: ''; position: absolute; left: 14.5px; top: 32px; bottom: 4px; width: 1px; background: var(--line-2); }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::after { display: none; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 22px; font-weight: 400; color: var(--muted); transition: rotate 0.2s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }

.d-side { display: grid; gap: 14px; position: sticky; top: 80px; }
.panel { padding: 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.panel h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 12px; }
.panel h2 .ui { color: var(--muted); }
.panel .prose p { font-size: 15.5px; line-height: 1.5; }
.plain { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { padding: 5px 11px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 500; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.log div { display: flex; justify-content: space-between; font-size: 15px; }
.log time { color: var(--muted); font-size: 14px; }
.log p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }

.related { margin-top: 80px; }
.related h2 { font-size: 26px; margin-bottom: 18px; }

.sticky-get {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg);
  translate: 0 140%; transition: translate 0.35s var(--ease);
}
.sticky-get .tile { --s: 42px; }
.sticky-get div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.sticky-get strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-get span { font-size: 13px; color: var(--muted); }
.sticky-get.show { translate: 0 0; }

/* ============ instalar ============ */
.i-hero { text-align: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); }
.i-hero h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.045em; line-height: 1.04; }
.i-hero .lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.i-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.i-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; }
.i-facts .ui { width: 16px; height: 16px; color: #2b9a43; }

.i-steps { list-style: none; display: grid; gap: 20px; margin-top: 0; margin-bottom: 0; }
.i-step {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(24px, 6vw, 80px);
  padding: clamp(28px, 5vw, 56px) clamp(24px, 6vw, 80px); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.i-step:nth-child(1) { --c1: #6fbfff; }
.i-step:nth-child(2) { --c1: #ffd84d; }
.i-step:nth-child(3) { --c1: #6ee080; }
.i-step:nth-child(4) { --c1: #b89cff; }
.i-step { background: radial-gradient(80% 120% at 100% 50%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%), var(--surface); }
.i-step:nth-child(even) { grid-template-columns: auto 1fr; background: radial-gradient(80% 120% at 0% 50%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%), var(--surface); }
.i-step:nth-child(even) .phone-mock { order: -1; }
.i-num { display: block; font: 700 clamp(56px, 8vw, 96px)/1 var(--font-display); letter-spacing: -0.05em; background: linear-gradient(160deg, var(--c1), color-mix(in srgb, var(--c1) 30%, var(--ink))); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.i-copy h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.035em; }
.i-copy p { margin: 12px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.7vw, 19px); line-height: 1.55; max-width: 460px; }

/* iPhone dibujado en CSS */
.phone-mock {
  --w: 248px;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.2; flex: none;
  border-radius: calc(var(--w) * 0.17); padding: 9px; background: #1d1d1f;
  box-shadow: inset 0 0 0 1.5px #3a3a3f, 0 0 0 1px rgba(0, 0, 0, 0.1), 0 40px 80px -30px rgba(0, 0, 0, 0.45);
}
.i-step { --dir: 1; }
.i-step:nth-child(even) { --dir: -1; }
.i-step .phone-mock {
  transform: perspective(1400px) rotateY(calc((var(--p, 0) * 26deg + 10deg) * var(--dir) * -1)) rotateX(calc(var(--p, 0) * 9deg)) translateY(calc(var(--p, 0) * 28px));
  box-shadow: inset 0 0 0 1.5px #3a3a3f, 0 0 0 1px rgba(0, 0, 0, 0.1), calc((var(--p, 0) * 22px + 10px) * var(--dir)) 50px 80px -30px rgba(0, 0, 0, 0.45);
  will-change: transform;
}
.phone-mock::after {
  content: ''; position: absolute; z-index: 4; inset: 9px; border-radius: calc(var(--w) * 0.135); pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 46%, transparent 58%);
  background-size: 260% 100%; background-position: calc(50% + var(--p, 0) * 70%) 0;
}
.phone-mock::before { content: ''; position: absolute; z-index: 3; top: 19px; left: 50%; translate: -50% 0; width: 30%; height: 22px; border-radius: 999px; background: #000; }
.pm-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--w) * 0.135);
  background: var(--bg); padding: 48px 14px 16px; display: flex; flex-direction: column; gap: 12px;
  font-size: 12.5px; line-height: 1.3; color: var(--ink);
}
.pm-screen .tile { box-shadow: none; }
.pm-sub { color: var(--muted); font-size: 11.5px; }
.pm-url { display: flex; align-items: center; justify-content: center; gap: 5px; height: 30px; border-radius: 10px; background: var(--surface-2); font-size: 12px; color: var(--ink-2); }
.pm-url .ui { width: 12px; height: 12px; }
.pm-center { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; border-radius: 18px; background: var(--surface); text-align: center; }
.pm-name { font-size: 17px; letter-spacing: -0.02em; margin-top: 6px; }
.pm-btn { position: relative; display: flex; align-items: center; justify-content: center; height: 38px; padding: 0 18px; margin-top: 10px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 13.5px; align-self: stretch; }
.pm-lines { display: grid; gap: 8px; padding: 4px 2px; }
.pm-lines i { display: block; height: 9px; border-radius: 5px; background: var(--surface-2); }
.pm-lines--dim { opacity: 0.6; }
.pm-bar { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--accent); }
.pm-bar b { color: var(--ink); }
.pm-bar span { min-width: 50px; }
.pm-head { display: flex; align-items: center; gap: 10px; padding: 4px 2px 6px; }
.pm-head b { display: block; font-size: 15px; letter-spacing: -0.015em; }
.pm-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pm-actions li { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.pm-actions em { font-style: normal; color: var(--accent); background: var(--accent-soft); padding: 1px 5px; border-radius: 5px; }
.mi { flex: none; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.pm-scroll { align-self: center; width: 4px; height: 36px; border-radius: 2px; background: var(--line-2); margin-top: auto; animation: pm-scroll 2.4s var(--ease) infinite; }
@keyframes pm-scroll { 0%, 100% { translate: 0 0; opacity: 0.4; } 50% { translate: 0 -14px; opacity: 1; } }
.pm-sheet { margin: auto -14px -16px; padding: 18px 16px 22px; border-radius: 22px 22px 0 0; background: var(--surface); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12); display: flex; flex-direction: column; gap: 6px; }
.pm-sheet b { font-size: 15px; letter-spacing: -0.015em; }
.pm-input { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.pm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; opacity: 0.35; filter: blur(1px); }
.pm-g { height: 62px; border-radius: 14px; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.pm-alert {
  position: absolute; left: 22px; right: 22px; top: 50%; translate: 0 -46%;
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 0 0; text-align: center;
  border-radius: 18px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); overflow: hidden;
}
.pm-alert b { padding: 4px 14px 0; font-size: 13.5px; }
.pm-alert .pm-sub { padding: 0 14px 10px; }
.pm-alert-btn { position: relative; align-self: stretch; padding: 11px; border-top: 1px solid var(--line-2); color: var(--accent); font-size: 13.5px; }
.pm-alert-btn:first-of-type { font-weight: 600; }
/* el «toque» */
.tap { position: absolute; right: 22%; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9); animation: tap 2.2s var(--ease) infinite; pointer-events: none; }
.pm-alert-btn .tap { background: color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: 0 0 0 2px var(--accent); }
@keyframes tap { 0%, 30% { scale: 1.6; opacity: 0; } 45% { scale: 1; opacity: 1; } 60% { scale: 0.8; opacity: 1; } 100% { scale: 2.2; opacity: 0; } }

.i-sec-head { text-align: center; margin-bottom: 32px; }
.i-sec-head h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.04em; }
.i-sec-head .lead { margin-top: 10px; }
.i-launch { padding-top: clamp(64px, 9vw, 112px); }
.launch { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.launch li { padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.launch h3 { font-size: 19px; margin: 16px 0 6px; letter-spacing: -0.02em; }
.launch p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.i-faq { padding-top: clamp(64px, 9vw, 112px); }
.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: clamp(64px, 9vw, 112px) 0; padding: clamp(28px, 5vw, 48px); border-radius: var(--r-lg);
  background: radial-gradient(70% 140% at 100% 0%, rgba(214, 51, 108, 0.18), transparent 60%), radial-gradient(70% 140% at 0% 100%, rgba(28, 111, 230, 0.16), transparent 60%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cta-card h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.035em; }
.cta-card .lead { margin-top: 6px; }

/* ============ 404 ============ */
.nf h1 { font-size: clamp(38px, 5.4vw, 60px); letter-spacing: -0.045em; }
.nf { text-align: center; padding: 96px 24px 120px; }
.nf .lead { margin-bottom: 32px; }
.nf .tile { margin-bottom: 28px; }

/* ============ etiquetas y novedades ============ */
.badge { display: inline-flex; align-items: center; vertical-align: 0.2em; height: 20px; padding: 0 8px; border-radius: 999px; font: 700 11px/1 var(--font); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.badge--new { background: rgba(43, 154, 67, 0.14); color: #23863a; }
.badge--updated { background: rgba(247, 103, 7, 0.14); color: #d4580a; }
@media (prefers-color-scheme: dark) {
  .badge--new { color: #6ee080; }
  .badge--updated { color: #ffad5c; }
}
.badge--updated::before, .badge--new::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.fresh { margin-bottom: clamp(48px, 7vw, 88px); }
.fresh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.fresh-head h2 { font-size: clamp(24px, 3vw, 32px); }
.fresh-head .link-arrow { font-size: 15px; }
.fresh-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.fresh-item { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s var(--ease); }
.fresh-body { flex: 1; min-width: 0; }
.fresh-top { display: flex; align-items: center; gap: 8px; }
.fresh-top h3 { font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fresh-meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.fresh-body p:last-child { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.update-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 18px 20px; border-radius: var(--r);
  background: color-mix(in srgb, #f76707 7%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #f76707 22%, transparent);
}
.update-note:has(.badge--new) { background: color-mix(in srgb, #2b9a43 7%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #2b9a43 22%, transparent); }
.update-note .badge { margin-top: 2px; }
.update-note p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.update-note .update-title { color: var(--ink); margin-bottom: 4px; }
.update-note .update-tip { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ============ pie ============ */
.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--bg-2); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-in p { margin: 12px 0 0; font-size: 15px; max-width: 320px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: flex-start; font-size: 15px; }
.foot-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-links .ui { width: 15px; height: 15px; }
.by { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 0.15s; }
.by:hover { text-decoration-color: currentColor; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; margin-top: 16px; }
.support .ico { width: 16px; height: 16px; color: #d6336c; }
.panel-support { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); transition: background 0.15s; }
.panel-support .ico { width: 22px; height: 22px; flex: none; color: #d6336c; }
.panel-support strong { color: var(--ink); }
.foot-made { display: block; margin-top: 36px; }
.foot-made-in {
  display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: var(--r);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; color: var(--ink-2);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.foot-made-in strong { color: var(--ink); }
.foot-made-in .ui { margin-left: auto; color: var(--muted); transition: transform 0.2s var(--ease); }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; font-size: 13px; }

@media (hover: hover) {
  .fresh-item:hover, .foot-made:hover .foot-made-in { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
  .foot-made:hover .foot-made-in .ui { transform: translateX(3px); }
  .panel-support:hover { background: var(--surface-2); }
}
.card:active, .fresh-item:active { scale: 0.985; transition-duration: 0.1s; }

/* ============ animación de entrada ============ */
.reveal { opacity: 0; translate: 0 16px; transition: opacity 0.6s var(--ease), translate 0.6s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }

/* ============ responsive ============ */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .mosaic { order: -1; grid-template-columns: repeat(5, 1fr); transform: rotate(-6deg); margin: 0 -40px 8px; }
  .mosaic .tile { --s: clamp(56px, 15vw, 88px); }
  .mosaic .m:nth-child(n + 6) { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature-art { order: -1; }
  .d-body { grid-template-columns: 1fr; }
  .d-side { position: static; }
  .qr { display: none; }
  .info { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .info div:nth-child(3) { border-right: 0; }
  .i-step, .i-step:nth-child(even) { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .i-step:nth-child(even) .phone-mock { order: 0; }
  .i-step .i-copy p { margin-left: auto; margin-right: auto; }
  .i-step { background: radial-gradient(120% 60% at 50% 100%, color-mix(in srgb, var(--c1) 26%, transparent), transparent 70%), var(--surface) !important; }
  .launch { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .phone-mock { --w: 230px; }
  .i-step { padding: 32px 20px 0; gap: 28px; }
  .i-step .phone-mock { --w: 220px; margin-bottom: -28px; }
  .i-step .pm-screen { padding-bottom: 40px; }
  .i-step .pm-sheet { margin-bottom: -40px; padding-bottom: 50px; }
  .i-steps { gap: 14px; }
  .launch { grid-template-columns: 1fr; }
  .launch li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
  .launch .tile { --s: 48px; grid-row: span 2; }
  .launch h3 { margin: 2px 0 2px; font-size: 17px; }
  .launch p { font-size: 15px; }
  .cta-card .btn { width: 100%; justify-content: center; }
  .fresh-item { padding: 14px; gap: 12px; }
  .fresh-item .tile { --s: 46px; align-self: flex-start; }
  .fresh-item > .get { display: none; }
  .update-note { flex-direction: column; gap: 10px; padding: 16px; }
  .fresh-top { flex-wrap: wrap; row-gap: 2px; }
  .fresh-top h3 { white-space: normal; }
  .fresh-head .link-arrow { display: none; }
  .nav a:first-child { display: none; }
  .nav a { padding: 7px 10px; }
  .how-steps { grid-template-columns: 1fr; }
  .d-id { flex-direction: column; }
  .d-id .tile--lg { --s: 92px; }
  .info { grid-template-columns: 1fr 1fr; }
  .info div { border-right: 0; padding: 10px 4px; }
  .search { width: 100%; }
  .search kbd { display: none; }
  .sticky-get { display: flex; }
  .page-shortcut .foot { padding-bottom: 110px; }
  .stats { gap: 20px; }
}
@media (max-width: 380px) {
  .brand-by { display: none; }
  .hero h1 { font-size: 36px; }
  .stats { gap: 16px; }
  .card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}

/* atajos que necesita / que lo usan */
.dep-title { margin: 16px 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.deps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.deps li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 14px; background: var(--surface-2); }
.deps a { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.deps .tile { --s: 36px; }
.deps .get { min-width: 0; height: 28px; padding: 0 12px; font-size: 12.5px; }
.plain a { color: var(--accent); }

/* ============ ilustraciones de atajos (src/art.mjs) ============ */
/* Las animaciones arrancan pausadas y se reproducen al entrar en pantalla (.play, ver art.js). */
.art { position: relative; width: 320px; height: 260px; flex: none; font: 13px/1.3 var(--font); color: var(--ink); user-select: none; -webkit-user-select: none; }
.art:not(.play), .art:not(.play) * { animation-play-state: paused !important; }
.art .ico { width: 100%; height: 100%; }
.mini-tile { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(160deg, var(--c1), var(--c2)); color: #fff; flex: none; }
.mini-tile .ico { width: 15px; height: 15px; }
.art-hint { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.art button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.art-card { background: var(--surface); border-radius: 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 40px -16px rgba(0, 0, 0, 0.28); }
@keyframes art-in { from { opacity: 0; translate: 0 10px; } }
@keyframes art-pop { from { opacity: 0; scale: 0.6; } }

/* escaparate en la ficha */
.stage {
  position: relative; overflow: hidden; display: grid; place-items: center;
  height: 380px; margin-top: 16px; border-radius: var(--r-lg);
  background:
    radial-gradient(60% 90% at 20% 10%, color-mix(in srgb, var(--c1) 30%, transparent), transparent 70%),
    radial-gradient(60% 90% at 85% 100%, color-mix(in srgb, var(--c2) 22%, transparent), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stage::before {
  content: ''; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent);
}
.stage .art { scale: 1.2; transform: perspective(900px) rotateX(calc(var(--my, 0) * -7deg)) rotateY(calc(var(--mx, 0) * 9deg)); transition: transform 0.6s var(--ease); }
.feature-art { position: relative; display: grid; place-items: center; min-height: 300px; }

/* genérica */
.art--generic { display: grid; place-items: center; }
.gen-tile { --s: 120px; position: relative; animation: float 5s var(--ease) infinite alternate; }
.gen-ring { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c2) 45%, transparent); animation: spin 30s linear infinite; }
.gen-2 { width: 260px; height: 260px; margin: -130px; animation-direction: reverse; opacity: 0.6; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- El Apuntador Pro ---------- */
.nt-paper { position: absolute; left: 34px; top: 4px; width: 252px; padding: 12px 16px 14px; rotate: -3deg; display: grid; gap: 8px; }
.nt-paper { background: var(--surface); border-radius: 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 24px 50px -18px rgba(0, 0, 0, 0.3); }
.nt-bar { display: flex; justify-content: space-between; color: #e0a100; font-weight: 600; font-size: 12px; }
.nt-h { margin: 2px 0 0; font: 700 17px/1.15 var(--font-display); letter-spacing: -0.02em; }
.nt-q { padding: 6px 9px; border-left: 3px solid #f5b800; border-radius: 4px; background: rgba(245, 184, 0, 0.1); font-size: 12px; color: var(--ink-2); }
.nt-q b { color: var(--ink); }
.nt-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nt-pts li { display: flex; align-items: center; gap: 7px; }
.nt-pts li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-2); flex: none; }
.nt-pts i { display: block; height: 7px; width: 100%; border-radius: 4px; background: var(--surface-2); }
.nt-flow { width: 100%; height: auto; overflow: visible; }
.nt-flow rect { fill: color-mix(in srgb, #f5b800 14%, var(--surface)); stroke: #e0a100; stroke-width: 1.4; }
.nt-flow text { font: 600 9.5px var(--font); fill: var(--ink); text-anchor: middle; }
.nt-flow path { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.nt-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 12px; color: var(--ink-2); }
.nt-todo li { display: flex; align-items: center; gap: 7px; }
.nt-todo i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; }
.nt-todo li:first-child i { border-color: #e0a100; background: #f5b800; }
.nt-todo li:first-child i::after { content: ''; position: absolute; left: 3.5px; top: 1px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; rotate: 45deg; }
.nt-paper > * { animation: art-in 0.6s var(--ease) both; }
.nt-paper > :nth-child(2) { animation-delay: 0.15s; }
.nt-paper > :nth-child(3) { animation-delay: 0.35s; }
.nt-paper > :nth-child(4) { animation-delay: 0.55s; }
.nt-paper > :nth-child(5) { animation-delay: 0.75s; }
.nt-paper > :nth-child(6) { animation-delay: 1.4s; }
.nt-flow rect, .nt-flow text { animation: art-pop 0.5s var(--ease) both; transform-box: fill-box; transform-origin: center; }
.nt-flow rect:nth-of-type(2), .nt-flow text:nth-of-type(2) { animation-delay: 1.05s; }
.nt-flow rect:nth-of-type(3), .nt-flow text:nth-of-type(3) { animation-delay: 1.3s; }
.nt-flow rect:nth-of-type(1), .nt-flow text:nth-of-type(1) { animation-delay: 0.8s; }
.nt-flow path { animation: nt-draw 0.5s ease-out both; }
.nt-flow path:nth-of-type(1) { animation-delay: 0.95s; }
.nt-flow path:nth-of-type(2) { animation-delay: 1.2s; }
@keyframes nt-draw { from { stroke-dashoffset: 40; } }

/* ---------- Haptic Settings ---------- */
.art--haptic-settings { display: grid; place-items: center; }
.hp-phone { position: relative; width: 136px; height: 252px; padding: 6px; border-radius: 30px; background: #1d1d1f; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5); animation: hp-buzz 2.6s ease-in-out infinite; }
.hp-screen { height: 100%; border-radius: 24px; background: var(--bg); padding: 30px 9px 10px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.hp-back { font-size: 10px; color: var(--accent); }
.hp-t { font: 700 13px/1.1 var(--font-display); letter-spacing: -0.02em; }
.hp-group { margin-top: 4px; border-radius: 10px; background: var(--surface); overflow: hidden; }
.hp-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px; font-size: 10px; border-bottom: 1px solid var(--line); }
.hp-row:last-child { border-bottom: 0; }
.sw { position: relative; width: 26px; height: 16px; border-radius: 99px; background: var(--line-2); flex: none; }
.sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.sw.on { background: #34c759; }
.sw.on::after { left: 12px; }
.sw-anim { animation: hp-sw-bg 2.6s ease-in-out infinite; }
.sw-anim::after { animation: hp-sw 2.6s ease-in-out infinite; }
@keyframes hp-sw-bg { 0%, 20% { background: var(--line-2); } 30%, 100% { background: #34c759; } }
@keyframes hp-sw { 0%, 20% { left: 2px; } 30%, 100% { left: 12px; } }
@keyframes hp-buzz { 0%, 30%, 52%, 100% { translate: 0; } 33% { translate: -3px; } 36% { translate: 3px; } 39% { translate: -3px; } 42% { translate: 3px; } 45% { translate: -2px; } 48% { translate: 2px; } }
.hp-wave { position: absolute; top: 50%; width: 80px; height: 140px; margin-top: -70px; border-radius: 50%; border: 3px solid transparent; opacity: 0; }
.hp-l { left: 50%; margin-left: -120px; border-left-color: var(--c2); animation: hp-wave-l 2.6s ease-out infinite; }
.hp-r { right: 50%; margin-right: -120px; border-right-color: var(--c2); animation: hp-wave-r 2.6s ease-out infinite; }
.hp-2 { animation-delay: 0.18s; }
@keyframes hp-wave-l { 0%, 30% { opacity: 0; translate: 20px; } 40% { opacity: 0.9; } 70%, 100% { opacity: 0; translate: -18px; } }
@keyframes hp-wave-r { 0%, 30% { opacity: 0; translate: -20px; } 40% { opacity: 0.9; } 70%, 100% { opacity: 0; translate: 18px; } }

/* ---------- Drop TikTok Metadata ---------- */
.lk-card { position: absolute; left: 6px; right: 6px; top: 22px; padding: 14px 16px; display: grid; gap: 8px; }
.lk-card, .lk-bubble { background: var(--surface); border-radius: 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 40px -16px rgba(0, 0, 0, 0.28); }
.lk-label { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.lk-url { margin: 0; font: 13px/1.5 var(--mono); word-break: break-all; color: var(--ink); }
.lk-p { display: inline-block; max-width: 160px; overflow: hidden; vertical-align: bottom; white-space: nowrap; border-radius: 4px; animation: lk-strip 6s var(--ease) infinite; }
.lk-p:nth-child(2) { animation-delay: 0.08s; }
.lk-p:nth-child(3) { animation-delay: 0.16s; }
@keyframes lk-strip {
  0%, 18% { max-width: 160px; opacity: 1; background: transparent; color: inherit; }
  26%, 40% { max-width: 160px; opacity: 1; background: rgba(229, 56, 59, 0.14); color: #e5383b; text-decoration: line-through; }
  52%, 88% { max-width: 0; opacity: 0; background: transparent; }
  100% { max-width: 160px; opacity: 1; }
}
.lk-ok { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: rgba(43, 154, 67, 0.14); color: #23863a; font-weight: 700; font-size: 12px; animation: lk-ok 6s var(--ease) infinite; }
.lk-ok .ico { width: 14px; height: 14px; }
@keyframes lk-ok { 0%, 48% { opacity: 0; scale: 0.7; } 56%, 90% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
.lk-bubble { position: absolute; right: 6px; bottom: 6px; max-width: 230px; padding: 10px 14px; display: grid; gap: 2px; background: var(--accent); color: #fff; border-radius: 18px 18px 4px 18px; font-size: 13px; animation: lk-bubble 6s var(--ease) infinite; }
.lk-bubble span { font-size: 10.5px; opacity: 0.75; }
.lk-bubble u { font: 11.5px var(--mono); text-decoration: none; opacity: 0.9; }
@keyframes lk-bubble { 0%, 58% { opacity: 0; translate: 0 16px; } 66%, 92% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@media (prefers-color-scheme: dark) { .lk-ok { color: #6ee080; } }

/* ---------- Backup Shortcuts ---------- */
.bk-grid { position: absolute; left: 14px; top: 28px; display: grid; grid-template-columns: repeat(3, 34px); gap: 8px; }
.bk-t { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(160deg, var(--c1), var(--c2)); animation: bk-fly 4.5s var(--ease) infinite; animation-delay: calc(var(--i) * 0.12s); }
@keyframes bk-fly {
  0%, 10% { translate: 0 0; scale: 1; opacity: 1; }
  45% { translate: 190px 30px; scale: 0.3; opacity: 0; }
  46%, 70% { translate: 0 0; scale: 0.6; opacity: 0; }
  85%, 100% { translate: 0 0; scale: 1; opacity: 1; }
}
.bk-folder { position: absolute; right: 12px; top: 22px; width: 132px; height: 112px; padding: 34px 12px 12px; border-radius: 14px; background: linear-gradient(160deg, #6fbfff, #1c6fe6); color: #fff; display: grid; justify-items: center; align-content: center; gap: 2px; box-shadow: 0 20px 40px -18px rgba(28, 111, 230, 0.8); animation: bk-gulp 4.5s var(--ease) infinite; }
.bk-folder::before { content: ''; position: absolute; left: 0; top: -10px; width: 56px; height: 20px; border-radius: 8px 8px 0 0; background: #5aaeff; z-index: -1; }
.bk-folder .ico { width: 34px; height: 34px; }
.bk-folder b { font-size: 13px; }
.bk-folder span { font-size: 11px; opacity: 0.85; }
@keyframes bk-gulp { 0%, 30%, 60%, 100% { scale: 1; } 42% { scale: 1.06; } }
.bk-progress { position: absolute; left: 14px; right: 12px; bottom: 26px; display: grid; gap: 8px; }
.bk-bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.bk-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #6fbfff, #1c6fe6); transform-origin: left; animation: bk-bar 4.5s var(--ease) infinite; }
@keyframes bk-bar { 0%, 8% { scale: 0 1; } 50%, 100% { scale: 1 1; } }
.bk-txt { font-size: 13px; color: var(--ink-2); text-align: center; animation: bk-txt 4.5s var(--ease) infinite; }
@keyframes bk-txt { 0%, 46% { opacity: 0; } 54%, 100% { opacity: 1; } }

/* ---------- Botón Acción ---------- */
.ac-phone { position: absolute; left: 8px; top: 6px; bottom: 6px; width: 64px; border-radius: 34px 0 0 34px; background: linear-gradient(90deg, #2a2a2e, #1d1d1f 40%); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5); }
.ac-phone::after { content: ''; position: absolute; inset: 6px 0 6px 6px; border-radius: 28px 0 0 28px; background: var(--bg); }
.ac-btn, .ac-vol { position: absolute; left: -5px; width: 5px; border-radius: 3px 0 0 3px; background: #3a3a3f; }
.ac-btn { top: 46px; height: 24px; background: var(--c2); box-shadow: 0 0 0 0 var(--c1); animation: ac-press 4s ease-in-out infinite; }
.ac-vol { top: 88px; height: 40px; }
.ac-vol2 { top: 136px; }
@keyframes ac-press { 0%, 8% { translate: 0; box-shadow: 0 0 0 0 color-mix(in srgb, var(--c1) 60%, transparent); } 10% { translate: 2px; } 14% { translate: 0; box-shadow: 0 0 0 10px transparent; } 100% { translate: 0; } }
.ac-menu { position: absolute; left: 92px; right: 6px; top: 16px; padding: 12px 8px 8px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 24px 50px -18px rgba(0, 0, 0, 0.35); animation: ac-open 4s var(--ease) infinite; transform-origin: 0 20%; }
.ac-title { display: block; padding: 0 8px 6px; font-size: 11px; font-weight: 600; color: var(--muted); }
.ac-menu ul { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.ac-menu li { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 8px; font-size: 14px; font-weight: 500; }
.ac-hl { position: absolute; left: 8px; right: 8px; top: 33px; height: 38px; border-radius: 10px; background: var(--surface-2); animation: ac-hl 4s var(--ease) infinite; }
@keyframes ac-open { 0%, 10% { opacity: 0; scale: 0.6; } 18%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 0.95; } }
@keyframes ac-hl { 0%, 25% { translate: 0 0; } 35%, 45% { translate: 0 38px; } 55%, 65% { translate: 0 76px; } 75%, 100% { translate: 0 114px; } }

/* ---------- Lens ---------- */
.ln-view { position: absolute; left: 50%; top: 2px; width: 220px; height: 190px; margin-left: -110px; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45); }
.ln-scene { position: absolute; inset: 0; background: linear-gradient(180deg, #8ec5ff 0%, #ffd1e0 70%, #ffe7c2 100%); }
.ln-sun { position: absolute; right: 34px; top: 26px; width: 34px; height: 34px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 30px 8px rgba(255, 243, 196, 0.8); }
.ln-mt { position: absolute; left: 20px; right: 20px; bottom: 0; height: 120px; background: linear-gradient(180deg, #fff 0 22%, #5b6b9c 23%, #3e4a74); clip-path: polygon(50% 0, 62% 14%, 100% 100%, 0 100%, 38% 14%); }
.ln-mt2 { position: absolute; left: -20px; right: -20px; bottom: 0; height: 36px; background: #2e3a5e; clip-path: polygon(0 40%, 30% 10%, 55% 50%, 80% 20%, 100% 45%, 100% 100%, 0 100%); }
.ln-c { position: absolute; width: 26px; height: 26px; border: 3.5px solid #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); }
.ln-tl { left: 16px; top: 16px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.ln-tr { right: 16px; top: 16px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.ln-bl { left: 16px; bottom: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.ln-br { right: 16px; bottom: 16px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.ln-c { animation: ln-focus 4s var(--ease) infinite; }
@keyframes ln-focus { 0%, 100% { scale: 1; } 40%, 60% { scale: 0.9; } }
.ln-scan { position: absolute; left: 16px; right: 16px; height: 2px; top: 16px; background: #fff; box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.9); animation: ln-scan 4s ease-in-out infinite; }
@keyframes ln-scan { 0% { top: 16px; opacity: 0; } 10% { opacity: 1; } 45% { top: 172px; opacity: 1; } 55%, 100% { top: 172px; opacity: 0; } }
.ln-dot { position: absolute; left: 50%; top: 52%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35); animation: ln-dot 4s var(--ease) infinite; }
@keyframes ln-dot { 0%, 50% { opacity: 0; scale: 0; } 58%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
.ln-chips { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.ln-chips span { padding: 6px 11px; border-radius: 99px; background: var(--surface); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35); font-size: 12px; font-weight: 600; animation: ln-chip 4s var(--ease) infinite; }
.ln-chips span:first-child { background: var(--ink); color: var(--bg); }
.ln-chips span:nth-child(2) { animation-delay: 0.1s; }
.ln-chips span:nth-child(3) { animation-delay: 0.2s; }
@keyframes ln-chip { 0%, 55% { opacity: 0; translate: 0 10px; } 63%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }

/* ---------- Edad de mi iPhone ---------- */
@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }
.ag-cal { position: absolute; left: 22px; top: 14px; width: 84px; rotate: -8deg; border-radius: 16px; overflow: hidden; text-align: center; background: var(--surface); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.35); animation: art-in 0.6s var(--ease) both; }
.ag-cal span { display: block; padding: 4px 0; background: #e5383b; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.ag-cal b { display: block; font: 700 36px/1.1 var(--font-display); padding-top: 4px; }
.ag-cal small { display: block; padding-bottom: 8px; color: var(--muted); font-size: 11px; }
.ag-count { position: absolute; right: 8px; left: 70px; top: 96px; text-align: right; }
.ag-n { --n: var(--to, 1106); display: block; font: 800 76px/1 var(--font-display); letter-spacing: -0.05em; background: linear-gradient(160deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; counter-reset: n var(--n); animation: ag-count 2.4s cubic-bezier(0.15, 0.6, 0.2, 1) both 0.3s; }
.ag-n::after { content: counter(n); }
@keyframes ag-count { from { --n: 0; } }
.ag-count span { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ag-confetti i { position: absolute; left: calc(40% + var(--i) * 17px); top: 60px; width: 6px; height: 10px; border-radius: 2px; background: hsl(calc(var(--i) * 36), 85%, 60%); opacity: 0; animation: ag-conf 1.4s ease-out both 2.5s; animation-delay: calc(2.5s + var(--i) * 0.03s); }
@keyframes ag-conf { 0% { opacity: 1; translate: 0 40px; rotate: 0deg; } 100% { opacity: 0; translate: calc((var(--i) - 5) * 8px) -50px; rotate: 240deg; } }

/* ---------- Clipboard Pro ---------- */
.cl-head { position: absolute; left: 34px; right: 34px; top: 0; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.cl-head .ico { width: 18px; height: 18px; color: var(--c2); }
.cl-head b { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--c2) 16%, transparent); color: var(--c2); font-size: 12px; }
.cl-stack { position: absolute; left: 34px; right: 34px; top: 92px; height: 70px; }
.cl-card { position: absolute; inset: 0; padding: 12px 14px; display: grid; gap: 3px; align-content: center; font-weight: 600; font-size: 14px; background: var(--surface); border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 14px 30px -14px rgba(0, 0, 0, 0.35); animation: cl-cycle 8s var(--ease) infinite; animation-delay: calc(var(--i) * 2s - 8s); }
.cl-card small { font-weight: 500; font-size: 11px; color: var(--muted); }
@keyframes cl-cycle {
  0%, 18% { translate: 0 0; scale: 1; opacity: 1; z-index: 4; }
  24% { translate: 120% 0; rotate: 10deg; scale: 1; opacity: 0; z-index: 4; }
  25% { translate: 0 -48px; rotate: 0deg; scale: 0.82; opacity: 0; z-index: 1; }
  32%, 43% { translate: 0 -48px; scale: 0.82; opacity: 0.55; z-index: 1; }
  50%, 68% { translate: 0 -32px; scale: 0.88; opacity: 0.75; z-index: 2; }
  75%, 93% { translate: 0 -16px; scale: 0.94; opacity: 0.9; z-index: 3; }
  100% { translate: 0 0; scale: 1; opacity: 1; z-index: 4; }
}
.cl-actions { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 6px; }
.cl-actions span { padding: 7px 11px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 600; }
.cl-actions span:first-child { background: var(--c2); color: #fff; box-shadow: none; }

/* ---------- Memoji Me ---------- */
.art--memoji-me { display: grid; place-items: center; }
.mj-grid { display: grid; grid-template-columns: repeat(3, 72px); gap: 12px; }
.mj { position: relative; width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, hsl(var(--h) 90% 75%), hsl(var(--h) 75% 55%)); overflow: hidden; animation: mj-bob 3s ease-in-out infinite alternate, art-pop 0.5s var(--ease) both; animation-delay: calc(var(--i) * -0.4s), calc(var(--i) * 0.07s); }
.mj-face { position: absolute; left: 50%; top: 18px; width: 40px; height: 46px; margin-left: -20px; border-radius: 48% 48% 44% 44%; background: var(--skin); box-shadow: inset 0 9px 0 0 var(--hair); }
.mj-face::before { content: ''; position: absolute; left: 11px; top: 20px; width: 4px; height: 6px; border-radius: 50%; background: #2a1d17; box-shadow: 14px 0 0 #2a1d17; }
.mj-face::after { content: ''; position: absolute; left: 13px; top: 30px; width: 14px; height: 6px; border-radius: 0 0 14px 14px; background: #fff; box-shadow: inset 0 -2px 0 #c0392b; }
.mj-me { scale: 1.18; z-index: 1; box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--c2), 0 16px 30px -10px rgba(0, 0, 0, 0.4); }
@keyframes mj-bob { from { translate: 0 -3px; } to { translate: 0 3px; } }

/* ---------- Diccionario ---------- */
.dc-search { position: absolute; left: 30px; right: 30px; top: 0; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 99px; background: var(--surface); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.35), inset 0 0 0 1px var(--line); }
.dc-search .ico { width: 16px; height: 16px; color: var(--c2); }
.dc-type { display: inline-block; overflow: hidden; white-space: nowrap; font: 14px var(--mono); width: 5ch; animation: dc-type 1.2s steps(5) both 0.2s; }
@keyframes dc-type { from { width: 0; } }
.dc-caret { width: 2px; height: 16px; background: var(--accent); animation: dc-blink 1s steps(1) infinite; }
@keyframes dc-blink { 50% { opacity: 0; } }
.dc-card { position: absolute; left: 30px; right: 30px; top: 52px; padding: 14px 16px; background: var(--surface); border-radius: 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 20px 44px -18px rgba(0, 0, 0, 0.3); animation: art-in 0.6s var(--ease) both 1.4s; }
.dc-card h4 { margin: 0; font: italic 700 28px/1 Georgia, 'Times New Roman', serif; letter-spacing: -0.01em; }
.dc-ph { display: block; margin: 4px 0 8px; font-size: 11px; color: var(--muted); }
.dc-card p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); }
.dc-card b { color: var(--c2); }
.dc-hist { position: absolute; left: 30px; right: 30px; bottom: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.dc-hist i { font-style: normal; padding: 4px 9px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; animation: art-in 0.5s var(--ease) both 1.9s; }
.dc-hist i:nth-of-type(2) { animation-delay: 2s; }
.dc-hist i:nth-of-type(3) { animation-delay: 2.1s; }

/* ---------- Moneda ---------- */
.art--moneda, .art--dado { display: grid; place-items: center; }
.cn-wrap, .di-wrap { position: relative; display: grid; place-items: center; margin-top: -20px; }
.cn { position: relative; width: 132px; height: 132px; transform-style: preserve-3d; transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); animation: cn-idle 4s ease-in-out infinite alternate; }
.cn.tossing { animation: cn-toss 1.6s cubic-bezier(0.3, 0.6, 0.3, 1); }
.cn-f { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: radial-gradient(circle at 35% 30%, #fff2b0, #f5c518 45%, #c99400); box-shadow: inset 0 0 0 6px #e0a800, inset 0 0 0 9px #ffe680, inset 0 -6px 14px rgba(120, 80, 0, 0.35); }
.cn-f b { font: 800 22px/1 var(--font-display); letter-spacing: 0.06em; color: #8a5d00; text-shadow: 0 1px 0 #ffe680; }
.cn-t { transform: rotateX(180deg); }
.cn-shadow, .di-shadow { width: 110px; height: 14px; margin-top: 30px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, 0.28), transparent 70%); animation: shadow-idle 4s ease-in-out infinite alternate; }
@keyframes cn-idle { from { translate: 0 -6px; } to { translate: 0 6px; } }
@keyframes cn-toss { 0% { translate: 0 0; } 40% { translate: 0 -56px; } 100% { translate: 0 0; } }
@keyframes shadow-idle { from { scale: 0.9; opacity: 0.7; } to { scale: 1.05; opacity: 1; } }
.art-hint b { color: var(--ink); }

/* ---------- Dado ---------- */
.di { width: 96px; height: 96px; perspective: 600px; }
.di-cube { position: relative; display: block; width: 96px; height: 96px; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(34deg); transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.di-cube.idle { animation: di-idle 9s linear infinite; }
@keyframes di-idle { from { transform: rotateX(-24deg) rotateY(0deg); } to { transform: rotateX(-24deg) rotateY(360deg); } }
.di-f { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px; gap: 4px; border-radius: 18px; background: linear-gradient(160deg, #fff, #f1f1f4); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), inset 0 -4px 10px rgba(0, 0, 0, 0.08); }
.di-f i { justify-self: center; align-self: center; width: 15px; height: 15px; border-radius: 50%; }
.di-f i.on { background: radial-gradient(circle at 35% 30%, #ff7a7a, #c8202a); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35); }
.di-1 { transform: translateZ(48px); }
.di-6 { transform: rotateY(180deg) translateZ(48px); }
.di-2 { transform: rotateY(90deg) translateZ(48px); }
.di-5 { transform: rotateY(-90deg) translateZ(48px); }
.di-3 { transform: rotateX(90deg) translateZ(48px); }
.di-4 { transform: rotateX(-90deg) translateZ(48px); }
.di-shadow { margin-top: 36px; }

/* ---------- ¡Perro! ---------- */
.art--perro { display: grid; justify-items: center; align-content: start; }
.dg-polaroid { margin: 0; width: 184px; padding: 10px 10px 0; background: #fff; border-radius: 6px; rotate: 3deg; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 24px 50px -20px rgba(0, 0, 0, 0.45); transition: rotate 0.4s var(--ease); }
.dg-img { position: relative; height: 164px; border-radius: 2px; overflow: hidden; background: linear-gradient(110deg, #eee 30%, #f8f8f8 50%, #eee 70%); background-size: 200% 100%; animation: dg-shimmer 1.4s linear infinite; }
.dg-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
.dg-img img.ok { opacity: 1; }
.dg-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #c9c9cf; }
.dg-ph .ico { width: 54px; height: 54px; }
@keyframes dg-shimmer { to { background-position: -200% 0; } }
.dg-polaroid figcaption { padding: 9px 0 11px; text-align: center; font: 600 15px/1.2 'Marker Felt', 'Bradley Hand', 'Segoe Print', cursive; color: #333; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dg-btn { margin-top: 16px; display: inline-flex !important; align-items: center; gap: 6px; height: 34px; padding: 0 14px !important; border-radius: 99px; background: var(--surface) !important; box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 20px -10px rgba(0, 0, 0, 0.3); font-weight: 600 !important; font-size: 13px !important; }
.dg-btn .ico { width: 15px; height: 15px; color: var(--c2); }
.dg-btn:active { scale: 0.96; }

/* ---------- tamaños ---------- */
@media (max-width: 960px) {
  .feature-art { min-height: 270px; }
}
@media (max-width: 720px) {
  .stage { height: 300px; }
  .stage .art { scale: 1; }
  .feature-art .art { scale: 0.92; }
}
@media (max-width: 380px) {
  .stage { height: 270px; }
  .stage .art, .feature-art .art { scale: 0.86; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-n { --n: var(--to, 1106); }
}

/* El Apuntador Pro: grabación en marcha */
.nt-rec { position: absolute; left: -10px; bottom: -14px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 99px; background: #1d1d1f; color: #fff; font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 16px 34px -12px rgba(0, 0, 0, 0.5); rotate: 3deg; animation: art-pop 0.6s var(--ease) both 1.8s; }
.nt-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: pulse 1.2s ease-in-out infinite; }
.nt-wave { display: flex; align-items: center; gap: 2px; height: 18px; }
.nt-wave i { width: 3px; height: 100%; border-radius: 2px; background: #ffd84d; transform-origin: center; animation: nt-wave 0.9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.13s); }
@keyframes nt-wave { from { scale: 1 0.2; } to { scale: 1 1; } }
