/* =====================================================================
   Ojalá · sistema de diseño
   Layout: columna única mobile-first (máx. 1120px). El contenido vive en
   superficies sólidas; la navegación (barras, dock, hojas, menús) flota en
   vidrio ("Liquid Glass") sobre una aurora tintada por la ocasión de la lista.
   ===================================================================== */

:root {
  /* Tipografía: SF Pro en Apple, Inter/Nunito como respaldo en el resto */
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;

  /* Color de la ocasión (lo cambia JS según la lista) */
  --accent-l: #FF2D55; --accent-d: #FF375F;
  --on-accent-l: #FFFFFF; --on-accent-d: #FFFFFF;
  --a1: #FF9F0A; --a2: #FF2D55; --a3: #BF5AF2;

  /* Paleta clara (valores del sistema iOS) */
  --accent: var(--accent-l);
  --on-accent: var(--on-accent-l);
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-ink: var(--accent);
  --bg: #F2F2F7;
  --surface: #FFFFFF;
  --group: #FFFFFF;
  --sheet-bg: #F2F2F7;
  --label: #000000;
  --label-2: rgba(60, 60, 67, .64);
  --label-3: rgba(60, 60, 67, .32);
  --separator: rgba(60, 60, 67, .2);
  --fill: rgba(118, 118, 128, .12);
  --fill-2: rgba(116, 116, 128, .08);
  --fill-3: rgba(120, 120, 128, .2);
  --seg-active: #FFFFFF;
  --plate: #F4F4F6;
  --bubble: #E9E9EB;
  --glass: rgba(255, 255, 255, .6);
  --glass-bar: rgba(242, 242, 247, .72);
  --glass-stroke: rgba(255, 255, 255, .75);
  --glass-hi: rgba(255, 255, 255, .75);
  --glass-edge: rgba(0, 0, 0, .07);
  --glass-shadow: 0 8px 28px rgba(0, 0, 0, .10), 0 1px 3px rgba(0, 0, 0, .06);
  --menu-bg: rgba(248, 248, 250, .86);
  --shadow: rgba(0, 0, 0, .12);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  --card-shadow-hover: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 24px -12px rgba(0, 0, 0, .18);
  --island-ring: transparent;
  --aurora-opacity: .3;
  --green: #34C759; --green-ink: #008932;
  --red: #FF383C; --orange: #FF8D28; --yellow: #FFCC00; --blue: #0088FF; --indigo: #6155F5; --purple: #CB30E0; --brown: #AC7F5E;

  --tail: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'><path d='M20 0V18H0C5.5 18 10.5 14.5 12 7V0Z'/></svg>");
  --ease: cubic-bezier(.32, .72, 0, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: 16px;
  --maxw: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: var(--accent-d);
    --on-accent: var(--on-accent-d);
    --accent-ink: var(--accent);
    --accent-soft: color-mix(in srgb, var(--accent) 22%, transparent);
    --bg: #000000;
    --surface: #1C1C1E;
    --group: #2C2C2E;
    --sheet-bg: #1C1C1E;
    --label: #FFFFFF;
    --label-2: rgba(235, 235, 245, .62);
    --label-3: rgba(235, 235, 245, .3);
    --separator: rgba(84, 84, 88, .65);
    --fill: rgba(118, 118, 128, .24);
    --fill-2: rgba(118, 118, 128, .18);
    --fill-3: rgba(120, 120, 128, .36);
    --seg-active: #636366;
    --plate: #EDEDF0;
    --bubble: #2C2C2E;
    --glass: rgba(44, 44, 48, .55);
    --glass-bar: rgba(0, 0, 0, .6);
    --glass-stroke: rgba(255, 255, 255, .16);
    --glass-hi: rgba(255, 255, 255, .16);
    --glass-edge: rgba(255, 255, 255, .05);
    --glass-shadow: 0 8px 28px rgba(0, 0, 0, .45);
    --menu-bg: rgba(40, 40, 42, .86);
    --shadow: rgba(0, 0, 0, .55);
    --card-shadow: none;
    --card-shadow-hover: none;
    --island-ring: rgba(255, 255, 255, .16);
    --aurora-opacity: .22;
    --green: #30D158; --green-ink: #4AD968;
    --red: #FF4245; --orange: #FF9230; --yellow: #FFD600; --blue: #0091FF; --indigo: #6D7CFF; --purple: #DB34F2; --brown: #B78A66;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --accent: var(--accent-d);
  --on-accent: var(--on-accent-d);
  --accent-ink: var(--accent);
  --accent-soft: color-mix(in srgb, var(--accent) 22%, transparent);
  --bg: #000000;
  --surface: #1C1C1E;
  --group: #2C2C2E;
  --sheet-bg: #1C1C1E;
  --label: #FFFFFF;
  --label-2: rgba(235, 235, 245, .62);
  --label-3: rgba(235, 235, 245, .3);
  --separator: rgba(84, 84, 88, .65);
  --fill: rgba(118, 118, 128, .24);
  --fill-2: rgba(118, 118, 128, .18);
  --fill-3: rgba(120, 120, 128, .36);
  --seg-active: #636366;
  --plate: #EDEDF0;
  --bubble: #2C2C2E;
  --glass: rgba(44, 44, 48, .55);
  --glass-bar: rgba(0, 0, 0, .6);
  --glass-stroke: rgba(255, 255, 255, .16);
  --glass-hi: rgba(255, 255, 255, .16);
  --glass-edge: rgba(255, 255, 255, .05);
  --glass-shadow: 0 8px 28px rgba(0, 0, 0, .45);
  --menu-bg: rgba(40, 40, 42, .86);
  --shadow: rgba(0, 0, 0, .55);
  --card-shadow: none;
  --card-shadow-hover: none;
  --island-ring: rgba(255, 255, 255, .16);
  --aurora-opacity: .22;
  --green: #30D158; --green-ink: #4AD968;
  --red: #FF4245; --orange: #FF9230; --yellow: #FFD600; --blue: #0091FF; --indigo: #6D7CFF; --purple: #DB34F2; --brown: #B78A66;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.025em;
  font-synthesis: none;
  color: var(--label);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.is-locked, html.is-locked body { overflow: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; text-align: inherit; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 12px; }
::selection { background: var(--accent-soft); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 720px; }
@media (min-width: 700px) { :root { --gutter: 28px; } }

#app { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; }
.page { animation: pageIn .45s var(--ease) both; padding-bottom: 140px; }
.page-plain { padding-top: calc(env(safe-area-inset-top, 0px) + 72px); }

/* ---------- Aurora ambiental ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: var(--aurora-opacity); transition: opacity .6s; }
.aurora i { position: absolute; width: 75vmax; height: 75vmax; border-radius: 50%; will-change: transform; transition: background .8s; }
.aurora i:nth-child(1) { background: radial-gradient(circle, var(--a1) 0%, transparent 60%); top: -44vmax; left: -30vmax; }
.aurora i:nth-child(2) { background: radial-gradient(circle, var(--a2) 0%, transparent 60%); top: -40vmax; right: -36vmax; }
.aurora i:nth-child(3) { display: none; }
@keyframes drift1 { to { transform: translate(14vmax, 10vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-12vmax, 16vmax) scale(.92); } }
@keyframes drift3 { to { transform: translate(10vmax, -14vmax) scale(1.08); } }

/* ---------- Tipografía ---------- */
.display { font-family: var(--font-rounded); }
.t-large { font: 700 34px/41px var(--font-text); letter-spacing: 0; text-wrap: balance; }
.t-title2 { font: 700 22px/28px var(--font-text); letter-spacing: 0; text-wrap: balance; }
.t-title3 { font-size: 20px; font-weight: 600; line-height: 25px; letter-spacing: 0; }
.t-headline { font-size: 17px; font-weight: 600; line-height: 1.3; }
.t-sub { font-size: 15px; line-height: 20px; letter-spacing: -.015em; }
.t-foot { font-size: 13px; line-height: 18px; letter-spacing: -.006em; }
.muted { color: var(--label-2); }
.faint { color: var(--label-3); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Iconos ---------- */
.ic { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 18px; height: 18px; }
.ic.xs { width: 15px; height: 15px; stroke-width: 2.1; }
.ic.lg { width: 26px; height: 26px; }
.ic.fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, opacity .2s, box-shadow .2s;
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(.97); opacity: .85; }
.btn[disabled], .btn.is-busy { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-tinted { background: var(--accent-soft); color: var(--accent-ink); }
.btn-gray { background: var(--fill-3); color: var(--accent); }
.btn-gray.neutral { color: var(--label); }
.btn-glass { background: var(--glass); color: var(--label); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 0 .5px var(--glass-stroke), 0 0 0 .5px var(--glass-edge), var(--glass-shadow); }
.btn-plain { min-height: 44px; padding: 0 8px; color: var(--accent-ink); font-weight: 500; }
.btn-danger { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn .ic { margin-left: -2px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--glass); color: var(--label);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 0 .5px var(--glass-stroke), 0 0 0 .5px var(--glass-edge), var(--glass-shadow);
  transition: transform .2s var(--ease), background .2s;
}
.icon-btn:active { transform: scale(1.06); }
.glass-group { display: inline-flex; align-items: center; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 0 .5px var(--glass-stroke), 0 0 0 .5px var(--glass-edge), var(--glass-shadow); }
.glass-group .icon-btn { width: 44px; height: 40px; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.icon-btn.plain { position: relative; background: var(--fill-3); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; width: 32px; height: 32px; }
.icon-btn.plain::after, .card-more::after, .pill::after { content: ""; position: absolute; inset: -6px; }
.icon-btn.plain .ic { width: 17px; height: 17px; stroke-width: 2.4; color: var(--label-2); }

.text-btn { font-size: 17px; color: var(--accent-ink); padding: 8px 4px; border-radius: 10px; white-space: nowrap; }
.text-btn.strong { font-weight: 600; }
.text-btn[disabled] { color: var(--label-3); pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  background: var(--fill-2); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--label);
}
.chip .ic { width: 16px; height: 16px; stroke-width: 2.1; }
.chip.accent { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.chip.glass { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: inset 0 0 0 1px var(--glass-stroke); }

.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; transition: transform .2s var(--ease), background .2s; }
.pill:active { transform: scale(.96); }
.pill .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.pill.tinted { background: var(--accent-soft); color: var(--accent-ink); }
.pill.gray { background: var(--fill-3); color: var(--accent); }
.pill.done { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green-ink); }
.pill.muted { background: var(--fill-2); color: var(--label-2); cursor: default; }
.pill.muted:active { transform: none; }

/* ---------- Vidrio ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 0 .5px var(--glass-stroke), 0 0 0 .5px var(--glass-edge), var(--glass-shadow);
}

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))) 10px;
}
.topbar::before { content: ""; position: absolute; z-index: -1; inset: 0 0 -26px; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.topbar.is-solid::before { opacity: 1; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-right { justify-self: end; }
.topbar-title { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.topbar.is-solid .topbar-title, .topbar.show-title .topbar-title { opacity: 1; transform: none; }


.brand { display: inline-flex; align-items: baseline; font: 700 25px/1 var(--font-rounded); letter-spacing: -.03em; color: var(--label); }
.brand-a { position: relative; display: inline-block; }
.brand-a svg { position: absolute; width: .5em; height: .5em; left: 50%; top: -.2em; transform: translateX(-60%) rotate(10deg); }
.brand.lg { font-size: 44px; }

/* ---------- Dock flotante (estilo iOS 26) ---------- */
.dock {
  position: fixed; z-index: 45; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px;
  background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 0 .5px var(--glass-stroke), 0 0 0 .5px var(--glass-edge), var(--glass-shadow);
  max-width: calc(100vw - 24px);
  animation: dockIn .6s var(--spring) both .15s;
}
.dock-btn { height: 50px; min-width: 50px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--label); transition: transform .2s var(--ease), background .2s; }
.dock-btn:active { transform: scale(.94); }
.dock-btn.primary { background: var(--accent); color: var(--on-accent); padding: 0 20px; }
.dock-btn.primary .ic { stroke-width: 2.4; }
@media (max-width: 380px) { .dock-btn .lbl-opt { display: none; } .dock-btn { padding: 0 14px; } }
@keyframes dockIn { from { transform: translate(-50%, 140%); } }

/* ---------- Landing ---------- */
.landing-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: calc(env(safe-area-inset-top, 0px) + 18px); position: relative; z-index: 2; }
.landing-nav nav { display: flex; align-items: center; gap: 6px; }
.hero { display: grid; gap: 40px; align-items: center; padding-block: 40px 28px; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; padding-block: 64px 48px; } }
.hero-title { font: 700 clamp(44px, 7vw, 80px)/1.02 var(--font-text); letter-spacing: -.02em; text-wrap: balance; max-width: 11ch; }
.hero-sub { margin-top: 20px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.45; color: var(--label-2); max-width: 31em; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 14px; color: var(--label-2); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .ic { width: 16px; height: 16px; color: var(--green); stroke-width: 2.4; }

.stage { position: relative; display: grid; place-items: center; padding: 10px 0 20px; }
.phone {
  position: relative; width: min(330px, 80vw); aspect-ratio: 9 / 19.3; border-radius: 54px; padding: 11px;
  background: linear-gradient(145deg, #2a2a2e, #0c0c0e 40%, #1d1d20);
  box-shadow: 0 0 0 1.5px #3a3a3f, 0 50px 100px -30px rgba(0, 0, 0, .55), 0 30px 60px -40px color-mix(in srgb, var(--a2) 60%, transparent);
  transform: rotate(-2.5deg);
  animation: phoneFloat 9s ease-in-out infinite;
}
@keyframes phoneFloat { 0%, 100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(-1.5deg) translateY(-12px); } }
.phone-screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: var(--bg); isolation: isolate; }
.phone-island { position: absolute; z-index: 5; top: 11px; left: 50%; width: 31%; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.phone-scaler { width: 390px; transform-origin: top left; pointer-events: none; }
.phone-scaler .page { animation: none; padding-bottom: 0; }

.float-chip {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 20px;
  font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--label); max-width: 240px;
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%);
  box-shadow: inset 0 0 0 1px var(--glass-stroke), inset 0 1px 0 var(--glass-hi), 0 18px 40px -16px var(--shadow);
}
.float-chip small { display: block; font-weight: 500; font-size: 12.5px; color: var(--label-2); margin-top: 2px; }
.float-chip .dot { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; }
.float-chip.one { top: 16%; left: -2%; animation: chipFloat 7s ease-in-out infinite; }
.float-chip.two { bottom: 16%; right: -3%; animation: chipFloat 8s ease-in-out infinite reverse; }
@keyframes chipFloat { 50% { transform: translateY(-8px); } }
@media (max-width: 560px) { .float-chip.one { left: 0; top: 8%; } .float-chip.two { right: 0; bottom: 8%; } .float-chip { max-width: 200px; font-size: 13px; } }

.section { padding-block: 44px; }
.section-head { display: grid; gap: 8px; margin-bottom: 22px; max-width: 40em; }
.section-head h2 { font: 700 clamp(28px, 4vw, 40px)/1.1 var(--font-text); letter-spacing: -.01em; text-wrap: balance; }
.section-head p { color: var(--label-2); font-size: 17px; line-height: 1.45; }

.occ-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px var(--gutter) 10px; margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x proximity; }
.occ-strip::-webkit-scrollbar { display: none; }
.occ-chip {
  flex: none; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 8px; border-radius: 999px; scroll-snap-align: start;
  background: var(--surface); box-shadow: var(--card-shadow); font-size: 16px; font-weight: 600; transition: transform .25s var(--ease);
}
.occ-chip:active { transform: scale(.96); }
.occ-chip .em { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--chip-tint, var(--fill-2)); }

.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.step { background: var(--surface); border-radius: 26px; padding: 22px; box-shadow: var(--card-shadow); display: grid; gap: 8px; align-content: start; }
.step-n { font: 700 44px/1 var(--font-rounded); letter-spacing: -.02em; background: linear-gradient(135deg, var(--a1), var(--a2) 55%, var(--a3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.step p { color: var(--label-2); font-size: 15.5px; line-height: 1.45; }
.step-demo { margin-top: 8px; display: flex; align-items: center; gap: 8px; height: 44px; border-radius: 14px; padding: 0 12px; background: var(--fill-2); font-size: 14px; color: var(--label-2); overflow: hidden; white-space: nowrap; }
.step-demo .ic { color: var(--accent); }

.settings-like { display: grid; gap: 14px; }
@media (min-width: 860px) { .settings-like { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } }
.set-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; position: relative; }
.set-row + .set-row::before { content: ""; position: absolute; top: 0; left: 62px; right: 0; height: .5px; background: var(--separator); }
.set-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; margin-top: 1px; }
.set-ic .ic { width: 19px; height: 19px; stroke-width: 2.1; }
.set-row h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.012em; }
.set-row p { font-size: 14.5px; color: var(--label-2); line-height: 1.4; margin-top: 2px; }

.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 18px; justify-items: start; isolation: isolate; color: #fff; background: #111; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 10% 10%, var(--a1), transparent 60%), radial-gradient(60% 90% at 90% 20%, var(--a3), transparent 60%), radial-gradient(80% 100% at 50% 110%, var(--a2), transparent 70%), #1a1022; }
.cta-band h2 { font: 700 clamp(30px, 4.6vw, 52px)/1.06 var(--font-text); letter-spacing: -.015em; max-width: 14ch; text-wrap: balance; }
.cta-band p { font-size: 17px; opacity: .85; max-width: 30em; }
.cta-band .btn-primary { background: #fff; color: #000; box-shadow: none; }

.site-footer { padding-block: 34px calc(40px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; color: var(--label-2); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a:hover { color: var(--label); }

/* ---------- Encabezado de página grande (iOS large title) ---------- */
.large-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-block: 8px 18px; }
.large-head p { margin-top: 6px; }

/* ---------- Mis listas ---------- */
.list-rows { display: grid; gap: 10px; }
@media (min-width: 800px) { .list-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.list-row { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 22px; background: var(--surface); box-shadow: var(--card-shadow); transition: transform .25s var(--ease), box-shadow .25s; min-width: 0; }
.list-row:active { transform: scale(.985); }
@media (hover: hover) { .list-row:hover { box-shadow: var(--card-shadow-hover); } }
.list-thumb { width: 60px; height: 60px; border-radius: 14px; flex: none; display: grid; place-items: center; font-size: 30px; position: relative; overflow: hidden; }
.list-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.list-row-main { min-width: 0; flex: 1; display: grid; gap: 3px; }
.list-row-main h3 { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.015em; }
.list-row-main p { font-size: 14px; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-row .chev { color: var(--label-3); }
.list-row .count { font: 700 15px/1 var(--font-rounded); color: var(--label-2); font-variant-numeric: tabular-nums; }
.new-list-row { border: 1.5px dashed var(--label-3); background: transparent; box-shadow: none; color: var(--accent-ink); font-weight: 600; justify-content: center; min-height: 84px; }
.new-list-row .ic { stroke-width: 2.3; }
.sub-title { font-size: 20px; font-weight: 600; line-height: 25px; letter-spacing: 0; margin: 34px 0 12px; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 22px; font-size: 15px; line-height: 20px; background: var(--surface); }
.notice .ic { color: var(--accent-ink); margin-top: 1px; }
.notice b { font-weight: 600; }

/* ---------- Crear lista ---------- */
.occ-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .occ-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.occ-card {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.15; border-radius: 26px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; text-align: left;
  background: var(--surface); box-shadow: var(--card-shadow); transition: transform .3s var(--ease), box-shadow .3s;
}
.occ-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; background: radial-gradient(80% 70% at 90% 0%, color-mix(in srgb, var(--c2) 45%, transparent), transparent 70%), radial-gradient(70% 70% at 0% 100%, color-mix(in srgb, var(--c1) 40%, transparent), transparent 70%); transition: opacity .3s; }
.occ-card:active { transform: scale(.97); }
@media (hover: hover) { .occ-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); } }
.occ-card .em { font-size: 44px; line-height: 1; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .15)); }
.occ-card b { font-size: 17px; font-weight: 700; letter-spacing: -.015em; display: block; }
.occ-card small { font-size: 13px; color: var(--label-2); display: block; margin-top: 2px; }

.create-preview { position: relative; overflow: hidden; border-radius: 28px; min-height: 168px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; isolation: isolate; color: #fff; box-shadow: var(--card-shadow); }
.create-preview .cover-art { border-radius: inherit; }
.create-preview .cover-emoji { font-size: 76px; right: 18px; top: 14px; bottom: auto; }
.create-preview h2 { font: 700 28px/1.1 var(--font-text); letter-spacing: 0; text-shadow: 0 2px 16px rgba(0, 0, 0, .25); max-width: 80%; text-wrap: balance; }
.create-preview p { font-size: 14px; font-weight: 600; opacity: .95; text-shadow: 0 1px 10px rgba(0, 0, 0, .3); }

/* ---------- Página de lista ---------- */
.cover { position: relative; height: clamp(230px, 38vw, 330px); overflow: hidden; isolation: isolate; border-radius: 0 0 34px 34px; }
@media (min-width: 900px) { .cover { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: calc(env(safe-area-inset-top, 0px) + 74px) auto 0; border-radius: 34px; } }
.cover-art { position: absolute; inset: 0; z-index: -2; background: radial-gradient(65% 85% at 12% 18%, var(--a1), transparent 62%), radial-gradient(55% 80% at 88% 22%, var(--a3), transparent 62%), radial-gradient(80% 95% at 55% 105%, var(--a2), transparent 68%), var(--accent); }
.cover-art::after { content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>"); }
.cover-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0, 0, 0, .22), transparent 32%, transparent 70%, rgba(0, 0, 0, .1)); pointer-events: none; }
.cover-emoji { position: absolute; right: 7%; bottom: 14%; font-size: clamp(92px, 15vw, 150px); line-height: 1; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .22)); transform: rotate(-8deg); }
@keyframes emojiFloat { 0%, 100% { transform: translateY(0) rotate(-9deg); } 50% { transform: translateY(-12px) rotate(-4deg); } }

.list-hero { position: relative; z-index: 2; margin-top: -48px; display: grid; gap: 14px; }
.avatar-wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.avatar { position: relative; width: 96px; height: 96px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; border: 4px solid var(--bg); background: linear-gradient(140deg, var(--a1), var(--a2) 60%, var(--a3)); color: #fff; font: 700 40px/1 var(--font-rounded); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.list-title { font: 700 clamp(34px, 5.4vw, 52px)/1.1 var(--font-text); letter-spacing: 0; text-wrap: balance; }
.owner-line { font-size: 16px; color: var(--label-2); margin-top: -6px; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.welcome-row { display: flex; align-items: flex-end; gap: 10px; max-width: 640px; }
.welcome-row .mini-avatar { margin-bottom: 2px; }
.mini-avatar { position: relative; width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, var(--a1), var(--a2)); color: #fff; font: 700 13px/1 var(--font-rounded); }
.mini-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--card-shadow); }
.stat { display: flex; align-items: baseline; gap: 6px; font-size: 14.5px; color: var(--label-2); }
.stat b { font: 700 24px/1 var(--font-rounded); color: var(--label); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats .progress { flex: 1 1 140px; min-width: 120px; height: 8px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.stats .progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), color-mix(in srgb, var(--green) 70%, #9BE15D)); transition: width .8s var(--ease); }
.surprise-note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--label-2); }
.surprise-note .ic { width: 18px; height: 18px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 28px 0 14px; flex-wrap: wrap; }
.toolbar-right { display: flex; gap: 8px; align-items: center; }
.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 2px; border-radius: 999px; background: var(--fill-3); }
.seg-btn { height: 32px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--label); transition: background .2s, box-shadow .2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg-btn[aria-pressed="true"] { background: var(--seg-active); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.seg-btn .ic { width: 17px; height: 17px; }
.tool-btn { height: 36px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: var(--fill-3); font-size: 14px; font-weight: 500; white-space: nowrap; }
.tool-btn .ic { width: 17px; height: 17px; }
.tool-btn.icon-only { width: 36px; padding: 0; justify-content: center; }

.preview-banner { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 66px); z-index: 30; margin: 16px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; font-size: 14.5px; font-weight: 500; }

/* ---------- Grilla y tarjetas de deseos ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.grid.is-rows { grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 900px) { .grid.is-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border-radius: 24px; box-shadow: var(--card-shadow);
  transition: transform .3s var(--ease), box-shadow .3s, opacity .3s;
}
@media (hover: hover) { .card:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); } }
.card:active { transform: scale(.985); }
.card-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-hit:focus-visible { outline-offset: -2px; }

.media { position: relative; margin: 6px 6px 0; aspect-ratio: 1 / 1; max-width: 100%; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--plate); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; opacity: 0; transition: opacity .45s; }
.media img.is-loaded { opacity: 1; }
.media img.is-cover { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.media-emoji { font-size: clamp(46px, 13vw, 66px); line-height: 1; transition: opacity .3s, transform .5s var(--spring); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .16)); user-select: none; }
.media.has-img .media-emoji { opacity: 0; }
.media.has-img.is-broken .media-emoji { opacity: 1; }
.media.has-img.is-broken img { display: none; }
.media.is-emoji, .media.is-broken { background: radial-gradient(110% 90% at 28% 12%, color-mix(in srgb, var(--a1) 30%, var(--plate)), color-mix(in srgb, var(--a2) 16%, var(--plate)) 72%); }
@media (hover: hover) { .card:hover .media-emoji { transform: scale(1.06) rotate(-4deg); } }

.badge { pointer-events: none; position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 25px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #000; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); box-shadow: 0 2px 10px rgba(0, 0, 0, .08), inset 0 0 0 .5px rgba(255, 255, 255, .8); white-space: nowrap; }
.badge .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.badge.fav { top: 8px; left: 8px; }
.badge.fav .ic { color: #F29A00; }
.badge.qty { bottom: 8px; right: 8px; font-variant-numeric: tabular-nums; }
.badge.state { bottom: 8px; left: 8px; color: #13692B; }
.badge.state .ic { color: #1F9D44; }
.badge.hidden-b { top: 8px; left: 8px; color: #3A3A3C; }
.card-more { position: absolute; z-index: 3; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #000; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 .5px rgba(0, 0, 0, .06); transition: transform .2s var(--ease); }
.card-more:active { transform: scale(.9); }

.card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 10px 12px 12px; }
.card-title { font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: -.012em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.price { font: 700 16px/1.15 var(--font-rounded); letter-spacing: -.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price.none { font: 500 13px/1.2 var(--font-text); color: var(--label-3); }
.store { display: inline-flex; align-items: center; gap: 5px; min-width: 0; font-size: 12px; color: var(--label-2); }
.store span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.favicon { width: 14px; height: 14px; border-radius: 4px; flex: none; background: var(--fill); }
.card-actions { position: relative; z-index: 2; margin-top: auto; padding-top: 3px; display: flex; }
.card-actions .pill { width: 100%; }

.card.is-full .media img, .card.is-full .media-emoji { filter: grayscale(.9) opacity(.5); }
.card.is-full .card-title { color: var(--label-2); }
.card.is-hidden { opacity: .58; }
.card.is-hidden .media { outline: 2px dashed var(--label-3); outline-offset: -7px; }
.card.is-flash { animation: flash 1.4s var(--ease); }

.grid.is-rows .card { flex-direction: row; align-items: stretch; }
.grid.is-rows .media { width: 116px; flex: none; margin: 8px 0 8px 8px; align-self: flex-start; }
.grid.is-rows .card-body { padding: 12px 14px 12px 12px; }
.grid.is-rows .bubble span { -webkit-line-clamp: 8; }
.grid.is-rows .media-emoji { font-size: 50px; }

/* Burbuja tipo iMessage para los comentarios */
.bubble { position: relative; z-index: 0; align-self: flex-start; max-width: calc(100% - 8px); margin-left: 8px; padding: 7px 12px; border-radius: 18px; background: var(--bubble); font-size: 13.5px; line-height: 1.35; overflow-wrap: anywhere; }
.bubble span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.bubble::before { content: ""; position: absolute; z-index: -1; bottom: 0; left: -6px; width: 20px; height: 18px; background: inherit; -webkit-mask: var(--tail) no-repeat 0 0 / 100% 100%; mask: var(--tail) no-repeat 0 0 / 100% 100%; }
.bubble.lg { font-size: 16px; line-height: 1.45; padding: 11px 16px; border-radius: 22px; max-width: 100%; margin-left: 6px; }
.bubble.lg span { -webkit-line-clamp: unset; display: block; }
.welcome-row .bubble { background: var(--surface); box-shadow: var(--card-shadow); }

.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 40px 22px; border-radius: 28px; background: var(--surface); box-shadow: var(--card-shadow); }
.empty-emoji { font-size: 58px; line-height: 1; }
@keyframes emojiBob { 50% { transform: translateY(-6px) rotate(6deg); } }
.empty h2 { font-size: 20px; font-weight: 600; line-height: 25px; letter-spacing: 0; }
.empty p { color: var(--label-2); max-width: 30em; font-size: 15px; line-height: 20px; }
.empty-icon { color: var(--label-3); }
.empty-icon .ic { width: 56px; height: 56px; stroke-width: 1.5; }
.quick-add { margin-top: 8px; justify-self: stretch; width: auto; max-width: 520px; margin-inline: auto; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--separator); }
.quick-add .ic { margin-left: 10px; align-self: center; color: var(--label-2); }
.quick-add input { flex: 1; min-width: 0; width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; padding: 0 4px; }
.quick-add .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

.list-footer { margin-top: 48px; display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--label-2); font-size: 14.5px; }
.list-footer .brand { font-size: 22px; }

.state-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 40px; }
.state-page > div { display: grid; gap: 12px; justify-items: center; max-width: 420px; }
.state-page h1 { font-size: 22px; font-weight: 700; line-height: 28px; }
.state-page p { color: var(--label-2); line-height: 1.45; }

/* ---------- Esqueleto de carga ---------- */
.sk { background: linear-gradient(90deg, var(--fill-2) 0%, var(--fill) 50%, var(--fill-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: 12px; }
.sk-cover { height: clamp(230px, 38vw, 330px); border-radius: 0 0 34px 34px; }
@media (min-width: 900px) { .sk-cover { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: calc(env(safe-area-inset-top, 0px) + 74px) auto 0; border-radius: 34px; } }
.sk-card { aspect-ratio: .78; border-radius: 24px; }

/* ---------- Hojas (sheets) ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .34); opacity: 0; transition: opacity .4s var(--ease); }
.overlay.is-open .sheet-backdrop { opacity: 1; }
.sheet {
  position: relative; display: flex; flex-direction: column; width: 100%; max-height: calc(100% - env(safe-area-inset-top, 0px) - 18px);
  background: var(--sheet-bg); border-radius: 34px 34px 0 0; overflow: hidden;
  box-shadow: 0 -12px 50px rgba(0, 0, 0, .22); transform: translateY(105%); transition: transform .5s var(--ease);
  --group-bg: var(--group);
}
.overlay.is-open .sheet { transform: none; }
.sheet.is-dragging { transition: none; }
@media (min-width: 720px) {
  .overlay { align-items: center; padding: 24px; }
  .sheet { width: min(560px, 100%); max-height: min(88vh, 900px); border-radius: 34px; transform: translateY(26px) scale(.97); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
  .sheet.wide { width: min(720px, 100%); }
  .overlay.is-open .sheet { opacity: 1; }
  .sheet-grabber { display: none; }
}
.sheet-grabber { width: 38px; height: 5px; border-radius: 3px; background: var(--label-3); margin: 7px auto 0; flex: none; }
.sheet-bar { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 8px 14px 6px; touch-action: none; }
.sheet-bar > :last-child { justify-self: end; }
.sheet-title { font-size: 17px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 10px 16px calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; grid-auto-rows: max-content; gap: 18px; align-content: start; }
.sheet-body.tight { gap: 14px; }
.sheet-swap { animation: swapIn .35s var(--ease); }

/* ---------- Formularios agrupados ---------- */
.form-section { display: grid; gap: 7px; }
.form-label { font-size: 13px; line-height: 18px; letter-spacing: -.006em; color: var(--label-2); padding: 0 16px; }
.form-hint { font-size: 13px; line-height: 18px; letter-spacing: -.006em; color: var(--label-2); padding: 0 16px; }
.group { background: var(--group-bg, var(--surface)); border-radius: 22px; overflow: hidden; }
.group .field:has(.field-ic) + .field::before, .group .field + .field:has(.field-ic)::before { left: 58px; }
.field { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; }
.field + .field::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: var(--separator); }
.field.top { align-items: flex-start; }
.field-label { flex: none; width: 92px; font-size: 16px; padding-top: 1px; }
.field.top .field-label { padding-top: 14px; }
.input { flex: 1; min-width: 0; width: 0; height: 50px; border: 0; outline: 0; background: transparent; font-size: 16px; padding: 0; color: var(--label); }
.input::placeholder, .textarea::placeholder { color: var(--label-3); }
.input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; min-height: 50px; }
.input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.textarea { flex: 1; min-width: 0; width: 0; border: 0; outline: 0; background: transparent; resize: none; font-size: 16px; line-height: 1.45; padding: 14px 0; min-height: 96px; color: var(--label); field-sizing: content; }
.field select.input { -webkit-appearance: none; appearance: none; cursor: pointer; }
.field .suffix { color: var(--label-2); font-size: 15px; }
.field .clear-btn { color: var(--label-3); }
.field-row-btn { width: 100%; min-height: 50px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; text-align: left; }
.field-row-btn .ic { color: var(--label-3); }
.field-row-btn.accent { color: var(--accent-ink); }
.field-row-btn.danger { color: var(--red); }
.field-row-btn:active { background: var(--fill-2); }

.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--fill-3); transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 3px 1px rgba(0, 0, 0, .06); transition: transform .35s var(--spring); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.field-text { flex: 1; min-width: 0; display: grid; gap: 1px; padding: 11px 0; }
.field-text b { font-weight: 400; font-size: 16px; }
.field-text small { font-size: 13px; color: var(--label-2); line-height: 1.35; }
.field-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; color: #fff; }
.field-ic .ic { width: 18px; height: 18px; stroke-width: 2.2; }

.stepper { display: inline-flex; align-items: center; gap: 0; border-radius: 999px; background: var(--fill-3); flex: none; }
.stepper button { width: 46px; height: 34px; display: grid; place-items: center; font-size: 20px; font-weight: 500; color: var(--label); }
.stepper button:first-child { border-right: .5px solid var(--separator); }
.stepper button[disabled] { color: var(--label-3); }
.stepper-value { min-width: 34px; text-align: center; font: 700 17px/1 var(--font-rounded); font-variant-numeric: tabular-nums; }

/* ---------- Editor de deseo ---------- */
.link-field { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 8px 0 14px; }
.link-field > .ic { color: var(--label-2); }
.link-field .input { height: 54px; }
.paste-btn { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--fill-3); color: var(--accent); font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.paste-btn .ic { width: 16px; height: 16px; }
.fetch-status { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--label-2); padding: 0 16px; min-height: 20px; }
.fetch-status.ok { color: var(--green-ink); }
.fetch-status.warn { color: var(--label-2); }
.fetch-status .ic { width: 16px; height: 16px; stroke-width: 2.3; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.2px solid var(--fill-3); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }

.edit-preview { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: 26px; }
.edit-preview .media { margin: 0; border-radius: 16px; }
.edit-preview .media-emoji { font-size: 52px; }
.edit-preview .media.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%); background-size: 200% 100%; animation: shimmer 1.2s ease-in-out infinite; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-actions .pill { height: 32px; font-size: 14px; background: var(--fill-3); color: var(--accent); }
.edit-preview-title { font-size: 15.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.edit-preview-title.placeholder { color: var(--label-3); font-weight: 500; }
.edit-preview-meta { font-size: 13.5px; color: var(--label-2); margin-top: 4px; }

.emoji-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 12px; }
.emoji-row::-webkit-scrollbar { display: none; }
.emoji-btn { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 25px; transition: background .2s, transform .2s var(--spring); }
.emoji-btn[aria-pressed="true"] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.emoji-btn:active { transform: scale(.88); }

/* ---------- Detalle de deseo ---------- */
.detail { display: grid; gap: 16px; }
.detail .media { margin: 0; border-radius: 24px; width: min(100%, 420px); justify-self: center; }
.detail .media-emoji { font-size: clamp(110px, 30vw, 150px); }
.detail-title { font: 700 22px/28px var(--font-text); letter-spacing: 0; text-wrap: balance; overflow-wrap: anywhere; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.detail-meta .price { font-size: 24px; }
.detail-meta .store { font-size: 14px; }
.detail-meta .favicon { width: 18px; height: 18px; }
.detail-note { display: flex; align-items: flex-end; gap: 8px; }
.detail-note .bubble { font-size: 16px; line-height: 1.45; padding: 10px 15px; border-radius: 20px; }
.detail-note .bubble span { -webkit-line-clamp: unset; display: block; }
.detail-actions { display: grid; gap: 10px; }
@media (min-width: 480px) { .detail-actions.two { grid-template-columns: 1fr 1fr; } }
.claim-info { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--group); font-size: 15px; }
.claim-info .ic { color: var(--green); }
.claim-list { display: grid; gap: 4px; font-size: 14px; color: var(--label-2); }

.mini-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 22px; }
.mini-item .media { margin: 0; border-radius: 14px; }
.mini-item .media-emoji { font-size: 32px; }
.mini-item b { font-size: 16px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-item small { font-size: 14px; color: var(--label-2); }

/* ---------- Compartir ---------- */
.share-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 18px; color: #fff; display: grid; gap: 6px; min-height: 132px; align-content: end; }
.share-card .cover-emoji { font-size: 64px; right: 16px; top: 12px; bottom: auto; }
.share-card h3 { font: 700 22px/1.15 var(--font-text); letter-spacing: 0; max-width: 78%; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }
.share-card p { font-size: 13px; opacity: .92; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.share-apps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.share-app { display: grid; justify-items: center; gap: 7px; font-size: 12px; color: var(--label); text-align: center; }
.share-app .bubble-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--group); color: var(--label); transition: transform .2s var(--ease); }
.share-app:active .bubble-ic { transform: scale(.92); }
.share-app .bubble-ic .ic { width: 25px; height: 25px; }
.qr-box { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px; border-radius: 26px; }
.qr-box canvas { width: 132px; height: 132px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 .5px var(--separator); }
.qr-box b { font-size: 16px; display: block; }
.qr-box p { font-size: 13.5px; color: var(--label-2); line-height: 1.4; margin: 4px 0 10px; }
.copy-row { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; min-height: 54px; }
.copy-row code { flex: 1; min-width: 0; font: 500 14px/1.3 ui-monospace, "SF Mono", Menlo, monospace; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: all; -webkit-user-select: all; }

/* ---------- Menú contextual ---------- */
.menu-layer { position: fixed; inset: 0; z-index: 120; }
.menu { position: fixed; min-width: 240px; max-width: calc(100vw - 24px); border-radius: 16px; overflow: hidden; background: var(--menu-bg); -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%); box-shadow: 0 24px 70px -16px rgba(0, 0, 0, .4), 0 0 0 .5px var(--separator); animation: menuIn .28s var(--spring) both; }
.menu-item { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 16px; font-size: 16px; text-align: left; color: var(--label); }
.menu-item + .menu-item { border-top: .5px solid var(--separator); }
.menu-item.sep { border-top: 7px solid var(--fill-2); }
.menu-item .ic { width: 19px; height: 19px; color: var(--label); }
.menu-item.danger, .menu-item.danger .ic { color: var(--red); }
.menu-item.checked::after { content: "✓"; font-weight: 700; color: var(--accent-ink); }
.menu-item:hover, .menu-item:active { background: var(--fill-2); }

/* ---------- Alerta ---------- */
.alert-wrap { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .28); animation: fadeIn .2s both; }
.alert { width: min(300px, 100%); border-radius: 20px; overflow: hidden; text-align: center; background: var(--menu-bg); -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); animation: alertIn .35s var(--spring) both; }
.alert-body { padding: 20px 18px 18px; display: grid; gap: 6px; }
.alert-title { font-size: 17px; font-weight: 600; }
.alert-msg { font-size: 14px; line-height: 1.4; color: var(--label); }
.alert-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: .5px solid var(--separator); }
.alert-actions button { min-height: 48px; font-size: 17px; color: var(--accent-ink); }
.alert-actions button + button { border-left: .5px solid var(--separator); font-weight: 600; }
.alert-actions button.danger { color: var(--red); }
.alert-actions button:active { background: var(--fill-2); }

/* ---------- Isla (avisos tipo Dynamic Island) ---------- */
.island { position: fixed; z-index: 150; top: calc(env(safe-area-inset-top, 0px) + 10px); left: 50%; display: flex; align-items: center; gap: 10px; min-height: 46px; max-width: calc(100vw - 24px); padding: 8px 20px 8px 9px; border-radius: 999px; background: #000; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.01em; box-shadow: 0 0 0 1px var(--island-ring), 0 14px 40px -10px rgba(0, 0, 0, .5); transform: translate(-50%, -150%) scale(.7); opacity: 0; transition: transform .55s var(--spring), opacity .3s; pointer-events: none; }
.island.is-in { transform: translate(-50%, 0) scale(1); opacity: 1; }
.island-ic { width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--green); color: #fff; }
.island-ic .ic { width: 17px; height: 17px; stroke-width: 2.8; }
.island.error .island-ic { background: #FF453A; }
.island.info .island-ic { background: #0A84FF; }
.island span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.confetti { position: fixed; inset: 0; z-index: 160; pointer-events: none; }

/* ---------- Ajustes ---------- */
.settings-stack { display: grid; gap: 26px; max-width: 720px; }
.bookmarklet { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; cursor: grab; box-shadow: 0 8px 20px -10px var(--accent); }

/* ---------- Animaciones ---------- */
@keyframes pageIn { from { opacity: 0; } }
@keyframes rise { from { opacity: .3; transform: translateY(16px) scale(.97); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes menuIn { from { opacity: 0; transform: scale(.88); } }
@keyframes alertIn { from { opacity: 0; transform: scale(1.12); } }
@keyframes swapIn { from { opacity: 0; transform: translateX(14px); } }
@keyframes flash { 0%, 100% { box-shadow: var(--card-shadow); } 25% { box-shadow: 0 0 0 3px var(--accent), var(--card-shadow-hover); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.pop { animation: pop .6s var(--spring) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Complementos ---------- */
.landing { padding-bottom: 0; }
.center-stack { display: grid; gap: 10px; justify-items: center; text-align: center; padding-top: 4px; }
.hero-emoji { font-size: 64px; line-height: 1; }
.occ-chip[aria-pressed] { cursor: pointer; }
.occ-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent), var(--card-shadow); }

/* Teléfono de la portada: siempre con el diseño de celular */
.phone-scaler .cover { width: 100%; max-width: none; height: 250px; margin: 0; border-radius: 0 0 30px 30px; }
.phone-scaler .cover-emoji { font-size: 108px; }
.phone-scaler .wrap { padding-inline: 16px; }
.phone-scaler .list-hero { margin-top: -44px; gap: 12px; }
.phone-scaler .avatar { width: 84px; height: 84px; font-size: 34px; }
.phone-scaler .list-title { font-size: 32px; }
.phone-scaler .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.phone-scaler .card { animation: none; }

@media (max-width: 420px) {
  .toolbar .tool-btn span { display: none; }
  .toolbar .tool-btn { width: 36px; padding: 0; justify-content: center; }
}

@media (min-width: 700px) { .stats { justify-self: start; min-width: min(460px, 100%); } }

/* ---------- Accesibilidad del vidrio ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-group, .icon-btn, .dock, .btn-glass, .float-chip, .menu, .alert { background: var(--sheet-bg); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-group, .icon-btn, .dock, .btn-glass, .float-chip, .menu, .alert, .topbar::before { background: var(--sheet-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .aurora { display: none; }
}
@media (min-width: 900px) { .home-wrap { max-width: 760px; } .home-wrap .list-rows { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   iOS-pass (propuesta). Cada bloque vive entre sus marcas: para revertir
   uno, borra su sección o revierte su commit en la rama propuesta-ios.
   ===================================================================== */

/* iOS-pass · Bloque A — áreas táctiles ≥ 44×44 */
.icon-btn { width: 44px; height: 44px; }
.glass-group .icon-btn { width: 44px; height: 44px; }
.tool-btn, .btn-sm, .bookmarklet, .site-footer nav a, a:has(> .brand) { position: relative; }
.tool-btn::after { content: ""; position: absolute; inset: -4px; }                 /* 36 → 44 */
.btn-sm::after { content: ""; position: absolute; inset: -4px 0; }                 /* 36 → 44 de alto (ya miden más de 44 de ancho) */
.bookmarklet::after { content: ""; position: absolute; inset: -2px 0; }            /* 40 → 44 */
.site-footer nav a::after { content: ""; position: absolute; inset: -14px -4px; }  /* 17 (13 px, Bloque B) → 45 */
a:has(> .brand)::after { content: ""; position: absolute; inset: -9px -4px; }       /* logo: 26 → 44 */
/* Ajuste: controles que ya tienen el tamaño visual de iOS → solo se agranda el área invisible */
.seg-btn, .text-btn, .paste-btn, .stepper button, button.chip { position: relative; }
.seg-btn::after { content: ""; position: absolute; inset: -6px 0; }          /* 32 → 44; solo vertical: segmentos pegados */
.switch input { inset: -7px -4px; }                                          /* 51×31 → 59×45 (el input es invisible) */
.text-btn::after { content: ""; position: absolute; inset: -3px -4px; }       /* "Cancelar": 39 → 45 */
.paste-btn::after { content: ""; position: absolute; inset: -4px 0; }        /* "Pegar": 36 → 44 */
.stepper button::after { content: ""; position: absolute; inset: -5px 0; }   /* −/+: 34 → 44; solo vertical para no pisarse */
.field select.input { margin-inline: 0 -2px; padding-inline: 6px 0; }         /* moneda: 38 → 46 de ancho; el texto queda en el mismo lugar */
.photo-actions .pill:first-child::after { inset: -8px 0 -4px; }              /* "Cambiar foto" y "Quitar foto" van apiladas: */
.photo-actions .pill:last-child::after { inset: -4px 0 -8px; }               /* cada una crece hacia afuera, 44 de alto sin pisarse */
button.chip::after { content: ""; position: absolute; inset: -6px 0; }        /* chip "Modo sorpresa": 32 → 44 */
/* /iOS-pass · Bloque A */

/* iOS-pass · Bloque B — tipografía a la escala iOS (11·12·13·15·16·17·20·22·28·34) */
.bubble { font-size: 13px; }
.pill, .photo-actions .pill, .chip, .tool-btn, .stat, .paste-btn, .list-row-main p, .hero-note { font-size: 15px; }
.step p, .set-row p { font-size: 15px; }
.set-row h3 { font-size: 17px; }
.step h3 { font-size: 20px; }
.float-chip small { font-size: 12px; }
.input, .textarea, .field-label, .field-row-btn, .field-text b, .menu-item { font-size: 17px; }
/* Ajuste: textos que faltaban */
.fetch-status, .edit-preview-meta, .qr-box p { font-size: 13px; }                                                       /* 13,5 → 13 */
.step-demo, .create-preview p, .surprise-note, .mini-item small, .detail-meta .store, .claim-list { font-size: 15px; } /* 14 → 15 */
.edit-preview-title { font-size: 15px; }                                                                                /* 15,5 → 15 */
.site-footer, .alert-msg, .list-footer { font-size: 13px; }                                                             /* footer, alertas y pies: 13 como en iOS */
/* /iOS-pass · Bloque B */

/* iOS-pass · Bloque C — navegación clara y sin acciones duplicadas */
.example-banner { margin-top: 16px; padding: 12px 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--card-shadow); font-size: 15px; font-weight: 500; }
/* /iOS-pass · Bloque C */

/* iOS-pass · Bloque D — hojas flotantes estilo iOS 26 (celular) */
@media (max-width: 719.98px) {
  .sheet.is-floating {
    width: calc(100% - 16px);
    margin-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100% - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 26px);
    border-radius: 34px;
    background: color-mix(in srgb, var(--sheet-bg) 90%, transparent);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 0 .5px var(--glass-stroke), 0 20px 50px rgba(0, 0, 0, .22);
    transform: translateY(calc(100% + 40px));
  }
  .sheet.is-floating .sheet-body { padding-bottom: 24px; }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .sheet.is-floating { background: var(--sheet-bg); } }
  @media (prefers-reduced-transparency: reduce) { .sheet.is-floating { background: var(--sheet-bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
}
.sheet:focus { outline: none; }   /* el contenedor recibe foco al abrir; el anillo de foco queda en los controles */
/* /iOS-pass · Bloque D */

/* iOS-pass · Bloque E — landing */
.hero-cta .btn-glass { background: var(--surface); color: var(--label); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--card-shadow-hover); }
/* /iOS-pass · Bloque E */

/* iOS-pass · Bloque F — color */
:root { --label-2: rgba(60, 60, 67, .6); --label-3: rgba(60, 60, 67, .3); --separator: rgba(60, 60, 67, .29); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --label-2: rgba(235, 235, 245, .6); --label-3: rgba(235, 235, 245, .3); --separator: rgba(84, 84, 88, .6); } }
:root[data-theme="dark"] { --label-2: rgba(235, 235, 245, .6); --label-3: rgba(235, 235, 245, .3); --separator: rgba(84, 84, 88, .6); }
.island.error .island-ic { background: var(--red); }
.island.info .island-ic { background: var(--blue); }
/* /iOS-pass · Bloque F */

/* iOS-pass · Bloque G — pulido */
.step-n { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
.stats .progress i { background: var(--green); }
.list-thumb { border-radius: 10px; }
.grid.is-rows .media { border-radius: 16px; }
.new-list-row { border: 0; background: var(--surface); box-shadow: var(--card-shadow); }
.new-list-row .ic { color: var(--accent); }
.card.is-hidden .media { outline: none; }
.menu { border-radius: 22px; }
:root { --spring: cubic-bezier(.34, 1.2, .64, 1); --spring-celebrate: cubic-bezier(.34, 1.56, .64, 1); }
.island { transition: transform .55s var(--spring-celebrate), opacity .3s; }   /* celebración: rebote fuerte */
.pop { animation: pop .6s var(--spring-celebrate) both; }                      /* 🎉 de "lista creada", junto al confeti */
/* /iOS-pass · Bloque G */

/* iOS-pass · Extra — un chip demasiado largo (fecha del próximo año) baja de línea en vez de salirse de la pantalla.
   Bug previo (desbordaba 3 px con 14 px de letra; 28 px con los 15 px del Bloque B). Los chips que caben se ven igual. */
.meta-chips .chip { max-width: 100%; height: auto; min-height: 32px; padding-block: 5px; white-space: normal; }
/* /iOS-pass · Extra */
