/* gluclink: web y panel */
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/assets/fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/assets/fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --night: #0f2233;
  --night-2: #183449;
  --night-ink: #e6eef2;
  --night-muted: #9fb3c0;
  --bg: #f2f5f5;
  --surface: #ffffff;
  --text: #13232e;
  --muted: #566973;
  --line: #d6e0e3;
  --brand: #0e7c86;
  --brand-ink: #ffffff;
  --brand-soft: #e1f1f2;
  --in-range: #2b9a59;
  --in-range-glow: #46d483;
  --high: #c98a0c;
  --high-glow: #f2c03d;
  --low: #cf3f37;
  --ok: #2b9a59; --ok-soft: #e3f4e9;
  --bad: #b3261e; --bad-soft: #fbe9e7;
  --warn: #8a5a00; --warn-soft: #fff3d6;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  body:not(.is-site) {
    --bg: #0c1a26;
    --surface: #12283a;
    --text: #e4edf1;
    --muted: #9db1bd;
    --line: #23415a;
    --brand: #3cb6c0;
    --brand-ink: #06232a;
    --brand-soft: #173a46;
    --in-range: #58d58c;
    --high: #f2c03d;
    --low: #f07a72;
    --ok: #5fcf8d; --ok-soft: #173326;
    --bad: #f28b82; --bad-soft: #3a1d1b;
    --warn: #f0c060; --warn-soft: #3a2f14;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;   /* pie siempre abajo */
  font: 18px/1.6 "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code, pre { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; }
pre { white-space: pre-wrap; word-break: break-word; background: var(--bg); padding: .6em; border-radius: 8px; }
code { word-break: break-all; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
main { flex: 1 0 auto; width: 100%; box-sizing: border-box; }
.topbar, .footer { flex: none; }
main.wide { display: block; }
main.wide > .band > .wrap { padding-top: 0; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--night); color: var(--night-ink); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1.2rem; color: #fff; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--night-2); display: grid; place-items: center; }
.brand-mark svg { width: 30px; height: 30px; }
.topnav { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; }
.topnav a { color: var(--night-ink); text-decoration: none; font-weight: 700; font-size: .95rem; padding: 6px 0; }
.topnav a:hover { color: #fff; text-decoration: underline; }
.topnav .nav-cta { background: var(--in-range-glow); color: #082015; padding: 8px 16px; border-radius: 99px; }
.topnav .nav-cta:hover { text-decoration: none; filter: brightness(1.06); color: #082015; }
/* Menú del sitio: en ordenador, enlaces en línea; en móvil, botón de tres rayas con desplegable */
.site-nav { flex-wrap: nowrap; gap: 18px; }
.site-menu { display: flex; gap: 4px 18px; align-items: center; }
.site-menu .only-menu { display: none; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .topbar { position: relative; z-index: 50; }
  .topbar-in { flex-wrap: nowrap; }
  .site-nav { gap: 10px; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px;
    background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .menu-btn:focus-visible { outline: 2px solid var(--in-range-glow); }
  .site-nav.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav.open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-nav.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-menu { display: none; position: absolute; top: calc(100% - 6px); right: 16px; left: 16px; max-width: 320px; margin-left: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; border-radius: 16px;
    box-shadow: 0 18px 40px rgba(4, 12, 22, .35); }
  .site-nav.open .site-menu { display: flex; animation: menu-in .16s ease-out; }
  .site-menu a, .site-menu .only-menu { display: block; color: #142027; font-size: 1.05rem; font-weight: 600; padding: 13px 14px; border-radius: 10px; }
  .site-menu a:hover, .site-menu a:focus-visible { background: #eef3f3; color: #142027; text-decoration: none; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-nav.open .site-menu { animation: none; } .menu-btn span { transition: none; } }

/* Pie: redes */
.footer-social { margin: 6px 0 14px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.footer-social a:hover span { text-decoration: underline; }

/* ---------- Bandas de la portada ---------- */
.band { padding: 72px 0; }
.band-night { background: var(--night); color: var(--night-ink); }
.band-night h1, .band-night h2 { color: #fff; }
.band-night p { color: var(--night-muted); }
.band-tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 1.2rem; max-width: 36em; }

/* Portada */
.hero { padding: 56px 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.hero-copy { padding: 8px 0; }
.hero h1 { max-width: 12em; }
.hero .lead { color: var(--night-muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-fine { font-size: .95rem; color: var(--night-muted); }
.hero-device { position: relative; justify-self: center; width: min(460px, 100%); }
.hero-device::before {
  content: ""; position: absolute; inset: 16% 8% 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 212, 131, .28), rgba(70, 212, 131, 0));
  filter: blur(20px);
}
.hero-device img { position: relative; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-device { width: min(300px, 82%); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-device img { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}

/* Pantalla explicada */
.explain { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 48px; align-items: center; }
.explain-fig { position: relative; margin: 0; }
.pin { transform: translate(-50%, -50%); }
.explain-list { list-style: none; padding: 0; margin: 0; }
.explain-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.explain-list li:last-child { border-bottom: 0; }
.explain-list .k { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--night); color: #fff; }
.explain-list strong { display: block; font-size: 1.1rem; }
.explain-list span { color: var(--muted); }
.pin { position: absolute; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: #fff; color: var(--night); border: 3px solid var(--night); font-size: .95rem; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ranges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.range { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--bg); }
.range i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.r-in i { background: var(--in-range); } .r-high i { background: var(--high); } .r-low i { background: var(--low); }
@media (max-width: 820px) { .explain { grid-template-columns: 1fr; } .explain-fig { max-width: 340px; margin: 0 auto; } }

/* Una, dos o tres personas */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; align-items: end; }
.trio figure { margin: 0; }
.trio figcaption { text-align: center; margin-top: 4px; }
.trio figcaption strong { display: block; font-size: 1.1rem; }
.trio figcaption span { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .trio { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; } }

/* Cómo llegan los datos (es una secuencia real) */
.flow { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: flow; }
.flow li { position: relative; padding: 0 18px 0 0; }
.flow li::before {
  counter-increment: flow; content: counter(flow);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--night-2); color: var(--in-range-glow); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px;
}
.flow li::after { content: ""; position: absolute; top: 22px; left: 52px; right: 8px; border-top: 2px dashed #34546b; }
.flow li:last-child::after { display: none; }
.flow strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.flow span { color: var(--night-muted); font-size: .98rem; }
@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow li { padding: 0 0 0 62px; }
  .flow li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .flow li::after { display: none; }
}

/* Precio */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.price-card { background: var(--surface); border: 2px solid var(--night); border-radius: 22px; padding: 30px; }
.price { font-size: 4rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.price small { font-size: 1.05rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.includes { list-style: none; padding: 0; margin: 20px 0 24px; }
.includes li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.includes li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 3px solid var(--in-range); border-bottom: 3px solid var(--in-range); transform: rotate(-45deg); }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; } }

/* Nightscout gratis */
.ns-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.ns-points { list-style: none; padding: 0; margin: 0; }
.ns-points li { padding: 10px 0; border-bottom: 1px solid #2a4a63; color: var(--night-ink); }
.ns-points li:last-child { border: 0; }
@media (max-width: 820px) { .ns-band { grid-template-columns: 1fr; } }

/* Preguntas */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 14px 0; list-style-position: outside; }
.faq details p { color: var(--muted); }

/* ---------- Tarjetas y formularios ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 20px 0; }
.card.narrow { max-width: 440px; margin: 48px auto; }
.card-error { border-color: var(--bad); }
.page-head { padding: 40px 0 8px; }
.page-head p { color: var(--muted); max-width: 40em; }
.field { display: block; margin: 0 0 18px; }
.field > span { display: block; font-weight: 700; margin-bottom: 6px; }
input[type=text], input[type=search], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], textarea, select {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; min-height: 48px;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.domain-input { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.domain-input:focus-within { outline: 3px solid var(--brand); outline-offset: 1px; }
.domain-input input { border: 0; border-radius: 0; min-width: 0; flex: 1; }
.domain-input input:focus { outline: none; }
.domain-input .prefix, .domain-input .suffix { display: flex; align-items: center; padding: 0 10px; color: var(--muted); background: var(--bg); white-space: nowrap; font-size: .95rem; }
.domain-input .suffix { font-weight: 700; color: var(--text); }
@media (max-width: 480px) { .domain-input .prefix { display: none; } }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row3 { display: grid; grid-template-columns: 1fr 2fr 1.4fr; gap: 0 16px; }
@media (max-width: 640px) { .row, .row3 { grid-template-columns: 1fr; } }
.hint { display: block; color: var(--muted); font-size: .88rem; margin-top: 6px; }
.hint.ok { color: var(--ok); font-weight: 700; }
.hint.bad { color: var(--bad); font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 20px; font-size: .95rem; }
.check input { margin-top: 5px; width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--brand); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.summary { position: sticky; top: 16px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary .total { border-top: 2px solid var(--line); padding-top: 10px; font-size: 1.2rem; }
@media (max-width: 820px) { .form-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; text-decoration: none;
  font: inherit; font-weight: 700; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--brand); color: var(--brand-ink); padding: 12px 22px; min-height: 50px;
}
.btn:hover { filter: brightness(1.08); }
.btn-big { font-size: 1.12rem; padding: 14px 28px; min-height: 56px; }
.btn-glow { background: var(--in-range-glow); color: #082015; }
.btn-line { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn-sm { padding: 6px 12px; min-height: 36px; font-size: .9rem; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
form.inline { display: inline-block; margin: 2px; }

/* ---------- Mensajes ---------- */
.alert { background: var(--bad-soft); color: var(--bad); border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; }
.alert ul { margin: .4em 0 0; padding-left: 1.2em; }
.notice { background: var(--brand-soft); border-radius: 10px; padding: 12px 14px; margin: 16px 0; }
.warnbox { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 12px 14px; margin: 16px 0; }
.success { text-align: center; padding: 12px 0; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 2rem; font-weight: 700; margin: 0 auto 14px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Tutorial ---------- */
.steps-list { list-style: none; padding: 0; margin: 0; counter-reset: st; }
.steps-list > li { counter-increment: st; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps-list > li::before { content: counter(st); width: 46px; height: 46px; border-radius: 50%; background: var(--night); color: var(--in-range-glow); display: grid; place-items: center; font-weight: 700; font-size: 1.25rem; }
.steps-list h2 { font-size: 1.4rem; }
.steps-list ol, .steps-list ul { padding-left: 1.2em; }
.steps-list li li { margin: .35em 0; }
.tut-fig { max-width: 260px; margin: 12px 0; }
.sensor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0; }
.sensor-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.sensor-grid h3 { margin-bottom: .3em; }
@media (max-width: 760px) { .sensor-grid { grid-template-columns: 1fr; } }

/* ---------- Panel ---------- */
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; margin-bottom: 20px; }
.admin-head h1 { margin: 0; font-size: 1.8rem; }
.capacity { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; display: flex; gap: 10px; align-items: baseline; }
.capacity span { color: var(--muted); font-size: .9rem; }
.capacity.full strong { color: var(--bad); }
.count { display: inline-block; min-width: 1.6em; padding: 0 .45em; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: .85rem; text-align: center; vertical-align: middle; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th { text-align: left; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px; }
.table td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.table td.actions { text-align: right; white-space: nowrap; }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.badge-pending, .badge-pendiente, .badge-waitlist, .badge-sin_stock { background: var(--warn-soft); color: var(--warn); }
.badge-reservado { background: var(--ok-soft); color: var(--ok); }
.badge-approved, .badge-provisioning, .badge-delete_requested, .badge-aceptado { background: var(--brand-soft); color: var(--brand); }
.badge-active, .badge-pagado, .badge-enviado { background: var(--ok-soft); color: var(--ok); }
.badge-error, .badge-cancelado { background: var(--bad-soft); color: var(--bad); }
details.secret { text-align: left; margin-bottom: 6px; white-space: normal; max-width: 340px; }
details summary { cursor: pointer; color: var(--brand); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tabs a { text-decoration: none; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--text); font-size: .92rem; }
.tabs a.on { background: var(--night); color: #fff; border-color: var(--night); }
@media (max-width: 720px) {
  .table thead { display: none; }
  .table tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table td { display: block; border: 0; padding: 4px 0; }
  .table td.actions { text-align: left; white-space: normal; }
}

/* ---------- Texto legal ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 1.25rem; }

/* ---------- Pie ---------- */
.footer { background: var(--night); color: var(--night-muted); padding: 32px 0 40px; font-size: .92rem; }
.footer p { margin: .4em 0; }
.footer a { color: var(--night-ink); }
.footer-nav { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.ns-feats { list-style: none; padding: 0; margin: 12px 0 0; }
.ns-feats li { padding: 6px 0; }

/* Actualizaciones */
.upd-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.upd-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 440px; justify-self: center; }
.upd-pair img { width: 100%; max-width: 230px; }
.upd-pair picture:last-child { margin-top: 56px; margin-left: -24px; }
@media (max-width: 820px) { .upd-band { grid-template-columns: 1fr; } .upd-pair { max-width: 360px; margin: 0 auto; } }

/* Formas de conectar */
.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.source { background: var(--night-2); border-radius: 16px; padding: 22px; }
.source h3 { color: #fff; font-size: 1.3rem; margin: 6px 0 8px; }
.source p { color: var(--night-muted); margin: 0 0 10px; font-size: .98rem; }
.source .src-need { color: var(--night-ink); font-size: .92rem; margin: 0; }
.source a { color: var(--in-range-glow); }
.src-tag { display: inline-block; font-weight: 700; font-size: .85rem; padding: 2px 10px; border-radius: 99px; margin: 0; }
.src-ok { background: rgba(70, 212, 131, .16); color: var(--in-range-glow) !important; }
.src-warn { background: rgba(242, 192, 61, .16); color: var(--high-glow) !important; }
.unofficial { margin-top: 20px; border-left: 4px solid var(--high-glow); padding: 6px 0 6px 18px; max-width: 760px; }
.unofficial h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.unofficial p { font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .sources { grid-template-columns: 1fr; } }

/* Comprobador de conexión */
.probe { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .probe { grid-template-columns: 1fr; } }
.src-pick { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.src-pick legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.src-pick label { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; cursor: pointer; }
.src-pick label:has(input:checked) { border-color: var(--brand); outline: 2px solid var(--brand); }
.src-pick input { width: 20px; height: 20px; accent-color: var(--brand); }
.src-pick span { display: flex; flex-direction: column; line-height: 1.3; }
.src-pick small { color: var(--muted); font-size: .85rem; }
.probe-out { position: sticky; top: 16px; padding: 0; margin: 0; }
@media (max-width: 860px) { .probe-out { position: static; } }
.sim {
  --sim-ok: #46d483; --sim-high: #f2c03d; --sim-vhigh: #ff8c28; --sim-low: #ff4848; --sim-band: rgba(70, 212, 131, .13);
  background: #1a1c1f; border-radius: 28px; padding: 30px 20px; max-width: 340px; margin: 0 auto;
  box-shadow: 0 18px 40px rgba(4, 10, 20, .35);
}
.sim-screen { background: #000; border-radius: 6px; padding: 14px 14px 12px; color: #ecf1f1; display: flex; flex-direction: column; }
.sim-top { display: flex; justify-content: space-between; align-items: baseline; }
.sim-name { font-weight: 700; font-size: 1.15rem; }
.sim-unit { color: #8c989c; font-size: .8rem; }
.sim-main { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 14px 0 6px; }
.sim-num { font-size: 5rem; line-height: 1; font-weight: 400; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-variant-numeric: tabular-nums; color: #707678; letter-spacing: -.02em; }
.sim-arrow { font-size: 3.6rem; line-height: 1; color: #ecf1f1; }
.sim-info { display: flex; justify-content: space-between; font-size: .9rem; color: #8c989c; }
.sim-info span:first-child { color: #ecf1f1; }
.sim-graph { width: 100%; height: auto; aspect-ratio: 300 / 160; margin-top: 14px; border-bottom: 1px solid #22282b; }
.probe-msg { margin: 16px auto 0; max-width: 420px; border-radius: 10px; padding: 0; }
.probe-msg.ok, .probe-msg.bad, .probe-msg.warn { padding: 12px 14px; }
.probe-msg.ok { background: var(--ok-soft); color: var(--ok); }
.probe-msg.bad { background: var(--bad-soft); color: var(--bad); }
.probe-msg.warn { background: var(--warn-soft); color: var(--warn); }
#buy { text-align: center; margin-top: 16px; }

/* Panel: acciones de pedidos que no se corten */
.table td.actions { white-space: normal; min-width: 170px; }
.table td.actions form.inline { display: inline-block; margin: 0 0 6px 6px; }
.table td.actions input[name=tracking] { width: 100% !important; margin: 0 0 6px !important; }
.search-bar input[type=search] { min-height: 40px; }
.diag { display: inline-block; font-size: .82rem; line-height: 1.35; }
.diag::before { content: "●"; margin-right: 5px; color: var(--muted); }
.diag-ok::before { color: var(--ok); }
.diag-warn::before { color: #e0a100; }
.diag-bad::before { color: var(--bad); }

/* Contacto: ayuda para encontrar el identificador */
.id-help { display: flex; gap: 14px; align-items: center; margin: -4px 0 16px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; }
.id-help p { margin: 0; }
.id-mock { flex: none; width: 150px; background: #000; border-radius: 8px; padding: 10px 8px 6px; text-align: center; color: #8c989c; font-size: .62rem; line-height: 1.2; }
.id-mock span { display: block; background: #40bec8; color: #000; border-radius: 6px; padding: 6px 0; font-weight: 700; font-size: .75rem; margin-bottom: 8px; }
.id-mock b { color: #ecf1f1; letter-spacing: .02em; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
@media (max-width: 560px) { .id-help { flex-direction: column; align-items: flex-start; } }

[hidden] { display: none !important; }

/* Panel: mensajes de contacto */
.ticket { margin-bottom: 16px; }
.ticket-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.ticket-meta { margin: 8px 0 0; line-height: 1.6; }
.ticket-msg { margin: 14px 0; padding: 12px 14px; background: var(--bg, #f3f6f6); border-left: 3px solid var(--brand); border-radius: 6px; white-space: normal; }
.ticket-replies { margin-top: 8px; padding: 10px 12px; border-radius: 6px; background: var(--ok-soft); }
.ticket-reply { margin-top: 10px; }
.ticket-actions { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-top: 12px; }
.badge-kind-devolucion { background: var(--warn-soft); color: var(--warn); }
.badge-kind-garantia { background: var(--bad-soft); color: var(--bad); }
.badge-kind-asistencia { background: var(--ok-soft); color: var(--ok); }
.topnav .count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 3px; border-radius: 9px; background: var(--brand-2, #46d483); color: #0f2233; font-size: .72rem; text-align: center; }

/* Panel: visitas */
.live-box span { display: inline-flex; align-items: center; gap: 6px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(43,154,89,.5); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(43,154,89,.45); } 70% { box-shadow: 0 0 0 8px rgba(43,154,89,0); } 100% { box-shadow: 0 0 0 0 rgba(43,154,89,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.vstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vstats > div { display: flex; flex-direction: column; }
.vstats strong { font-size: 2rem; line-height: 1.2; }
@media (max-width: 700px) { .vstats { grid-template-columns: repeat(2, 1fr); } }
.vchart { display: flex; align-items: flex-end; gap: 4px; height: 180px; padding-top: 18px; }
.vcol { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; min-width: 0; }
.vcol i { display: block; width: 100%; min-height: 2px; background: var(--brand); border-radius: 4px 4px 0 0; }
.vcol .vnum { font-size: .7rem; color: var(--muted); }
.vcol .vday { font-size: .66rem; color: var(--muted); margin-top: 4px; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 900px) { .vgrid { grid-template-columns: 1fr; } }
.vrow { display: grid; grid-template-columns: 1fr 90px 40px; gap: 10px; align-items: center; font-size: .92rem; padding: 6px 0; border-bottom: 1px solid var(--line); }
.vrow b { text-align: right; }
.vbar { display: block; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.vbar i { display: block; height: 100%; background: var(--brand); }

/* Donativos */
.donate-amounts { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 16px; }
.donate-amounts label { cursor: pointer; }
.donate-amounts input { position: absolute; opacity: 0; pointer-events: none; }
.donate-amounts span { display: inline-block; min-width: 76px; text-align: center; padding: 12px 16px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 1.1rem; }
.donate-amounts input:checked + span { border-color: var(--brand); background: var(--ok-soft); color: var(--text); }
.donate-amounts input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.pay-methods { margin-top: 12px; }
.badge-esperando_stock { background: var(--warn-soft); color: var(--warn); }
.badge-pagado { background: var(--ok-soft); color: var(--ok); }
.badge-pago_pendiente, .badge-reembolsado { background: var(--line); color: var(--muted); }

/* Tutorial para novatos */
.tut-need { margin-bottom: 8px; }
.tut-need h2 { font-size: 1.3rem; }
.checklist { list-style: none; padding: 0; margin: 12px 0; }
.checklist li { position: relative; padding-left: 30px; margin: 10px 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.tipbox { background: var(--brand-soft); border-radius: 10px; padding: 12px 14px; margin: 16px 0; }
.tut-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 18px; margin: 14px 0; }
.tut-figs figure { margin: 0; }
.tut-figs img { width: 100%; height: auto; display: block; }
.tut-figs figcaption { font-size: .92rem; color: var(--muted); margin-top: 6px; }
.faq details ul { margin: .4em 0 .6em; padding-left: 1.2em; }
@media (max-width: 560px) { .tut-figs { grid-template-columns: 1fr 1fr; gap: 12px; } }
.steps-list > li > div { min-width: 0; }
.steps-list code, .steps-list a { overflow-wrap: anywhere; }
.kicker { color: var(--in-range-glow); font-weight: 700; font-size: .95rem; letter-spacing: .02em; margin: 0 0 .6em; }

/* Guías */
.crumbs { margin: 8px 0 4px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.guide { max-width: 760px; margin: 0 auto; }
.guide h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; margin: 10px 0 8px; }
.guide h2 { margin-top: 1.8em; }
.guide h3 { margin-top: 1.4em; }
.guide li { margin: .4em 0; }
.guide-meta { color: var(--muted); margin-bottom: 1.4em; }
.guide .table-wrap { overflow-x: auto; }
.guide table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.guide th, .guide td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-cta { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; background: var(--night); color: var(--night-ink); border-radius: 16px; padding: 18px 20px; margin: 26px 0; }
.guide-cta img { width: 120px; height: auto; display: block; }
.guide-cta p { margin: 0 0 .6em; color: var(--night-muted); }
.guide-cta .guide-cta-title { color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: .3em; }
.guide-cta .btn-line { color: #fff; border-color: rgba(255,255,255,.5); }
.guide-cta-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: .4em 0 0 !important; }
.guide-note { margin-top: 2em; }
.guide-more { max-width: 760px; margin: 40px auto 0; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 14px 0 30px; }
.guide-card { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--text); text-decoration: none; }
.guide-card:hover { border-color: var(--brand); }
.guide-card strong { color: var(--brand); }
.guide-card small { color: var(--muted); }
@media (max-width: 520px) { .guide-cta { grid-template-columns: 1fr; text-align: left; } .guide-cta img { width: 110px; } }
.guide-more h2 { font-size: 1.4rem; }
.guide-card span { font-size: .95rem; line-height: 1.4; }
.guide-list-big .guide-card span { font-size: 1.05rem; }

/* Color de la carcasa y cupón (pedido) */
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field > legend, .field.coupon > label { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.color-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.color-opt { display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: 12px; padding: 10px 16px 10px 12px; cursor: pointer; min-height: 48px; }
.color-opt input { position: absolute; opacity: 0; pointer-events: none; }
.color-opt .swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.color-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); font-weight: 700; }
.color-opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon-row .btn { flex: none; }
.hint.ok { color: var(--ok); font-weight: 700; }
.summary dd.discount { color: var(--ok); font-weight: 700; }
.badge-color { margin-top: 4px; font-weight: 700; }
.summary .sum-img { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto 14px; }
@media (max-width: 760px) { .summary .sum-img { max-width: 170px; } }
.guide-cat { font-size: 1.25rem; margin: 26px 0 0; }
.guide-cat:first-of-type { margin-top: 6px; }
.guide .steps-check li { margin-bottom: 6px; }
.guide .tip { background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
@media (max-width: 720px) {
  .guide .table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); font-size: .85rem; }
  .guide .table td[data-label]:first-child { font-weight: 700; font-size: 1rem; }
  .guide .table td[data-label]:first-child::before { content: none; }
}

/* Opiniones */
.stars { color: #f2b01e; letter-spacing: 1px; font-size: 1.05rem; white-space: nowrap; }
.stars-off { color: var(--line); }
.reviews-head { margin: 8px 0 18px; }
.reviews-avg { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reviews-avg strong { font-size: 2rem; line-height: 1; }
.reviews-avg span:last-child { color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; line-height: 1.55; }
.review figcaption { font-size: .88rem; color: var(--muted); }
.review .verified { color: var(--ok); font-weight: 700; }
.review-reply { margin: 0; font-size: .9rem; background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; }
.reviews-note { margin-top: 16px; }
.rate-opts { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate-opts input { position: absolute; opacity: 0; pointer-events: none; }
.rate-opts label { font-size: 2.4rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0 2px; }
.rate-opts input:checked ~ label, .rate-opts label:hover, .rate-opts label:hover ~ label { color: #f2b01e; }
.rate-opts input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.review-admin { border-bottom: 1px solid var(--line); padding: 16px 0; }
.review-admin:last-child { border-bottom: 0; }
.review-admin-text { margin: 8px 0 12px; line-height: 1.55; }
.review-admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* Mi pedido */
.order-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.order-top h2 { margin: 0; }
.timeline { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: tl; }
.timeline li { position: relative; padding-top: 34px; display: flex; flex-direction: column; gap: 2px; color: var(--muted); }
.timeline li::before { counter-increment: tl; content: counter(tl); position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: .85rem; background: var(--line); color: var(--muted); }
.timeline li.done, .timeline li.now { color: var(--text); }
.timeline li.done::before { content: "✓"; background: var(--ok); color: #fff; }
.timeline li.now::before { background: var(--brand); color: #fff; }
.order-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 22px 0; }
.order-dl dt { color: var(--muted); }
.order-dl dd { margin: 0; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .order-dl { grid-template-columns: 1fr; gap: 2px; } .order-dl dd { margin-bottom: 10px; } .timeline { font-size: .9rem; } }

/* Gastos */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 6px 0 10px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.kpi span { color: var(--muted); font-size: .9rem; }
.kpi strong { font-size: 1.6rem; line-height: 1.1; }
.kpi small { color: var(--muted); }
.kpi-main { border-color: var(--ok); background: var(--ok-soft); }
.kpi-main.neg { border-color: var(--bad); background: var(--bad-soft); }
.pos { color: var(--ok); }
.neg { color: var(--bad); }
.autodel { background: var(--brand-soft); border-radius: 12px; padding: 12px 14px; margin: 6px 0 16px; }

/* ---------- Panel: menú lateral (plegado = solo iconos; desplegado = iconos y nombres) ---------- */
:root { --side-w: 64px; --side-open: 236px; }
.is-admin .topbar { position: sticky; top: 0; z-index: 60; }
.admin-top { display: flex; align-items: center; gap: 10px; padding: 0 16px 0 10px; min-height: 60px; }
.admin-top .brand { margin-right: auto; }
.side-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; background: transparent; border: 0; border-radius: 10px; cursor: pointer; flex: none; }
.side-toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; }
.side-toggle:hover { background: rgba(255, 255, 255, .08); }
.side-web { color: var(--night-ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.side-web:hover { color: #fff; text-decoration: underline; }
.admin-shell { display: flex; flex: 1 0 auto; }
.side { position: sticky; top: 60px; align-self: flex-start; height: calc(100vh - 60px); height: calc(100dvh - 60px); width: var(--side-w); flex: none;
  background: var(--night); overflow-y: auto; overflow-x: hidden; padding: 8px 10px 16px; display: flex; flex-direction: column; gap: 2px;
  transition: width .18s ease; z-index: 55; scrollbar-width: thin; }
.side-open .side { width: var(--side-open); }
.side-group { margin: 14px 8px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7d93a3; white-space: nowrap; line-height: 1.4; overflow: hidden; }
.side-group:first-child { margin-top: 4px; }
html:not(.side-open) .side-group { font-size: 0; height: 1px; margin: 10px 6px; background: #22384a; }
.side a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: 10px; color: #c9d6de; text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.side a svg { width: 24px; height: 24px; flex: none; }
.side a:hover { background: #1a3347; color: #fff; }
.side a.on { background: var(--in-range-glow); color: #082015; }
.side-label { overflow: hidden; text-overflow: ellipsis; }
html:not(.side-open) .side-label { display: none; }
.side-count { margin-left: auto; min-width: 22px; padding: 0 6px; border-radius: 11px; background: var(--in-range-glow); color: #082015; font-size: .75rem; font-weight: 700; text-align: center; line-height: 22px; }
.side a.on .side-count { background: #082015; color: var(--in-range-glow); }
html:not(.side-open) .side-count { position: absolute; top: 4px; right: 2px; min-width: 18px; line-height: 18px; padding: 0 4px; font-size: .68rem; margin: 0; }
.side-exit { margin-top: auto; color: #f2a59e !important; }
.side-exit:hover { background: #3a1d1b !important; }
.admin-main { flex: 1; min-width: 0; padding: 0 22px 40px; }
.admin-inner { max-width: 1180px; margin: 0 auto; }
.side-backdrop { display: none; }
@media (max-width: 760px) {
  :root { --side-w: 56px; }
  .side { padding: 6px 6px 14px; }
  .side a { padding: 0 9px; }
  .side-open .side { position: fixed; left: 0; top: 60px; box-shadow: 12px 0 30px rgba(4, 12, 22, .35); }
  .side-open .admin-main { margin-left: var(--side-w); }
  .side-backdrop:not([hidden]) { display: block; position: fixed; inset: 60px 0 0 0; background: rgba(4, 12, 22, .45); z-index: 54; }
  .admin-main { padding: 0 12px 30px; }
  .side-web { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .side { transition: none; } }
.ns-check { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; }
.is-admin [id] { scroll-margin-top: 76px; }

/* Franja de ayuda antes del pie (web pública) */
.help-band { background: var(--brand-soft); border-top: 1px solid var(--line); margin-top: 40px; flex: none; }
.help-band-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.help-band-in p { margin: 0; max-width: 40em; }
.help-band-title { font-weight: 700; font-size: 1.25rem; margin-bottom: 4px !important; }
.help-band-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.help-band { flex: none; }

/* Cantidad por color (pedido) */
fieldset.qtys { display: flex; flex-direction: column; gap: 10px; }
.qty-row { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 12px; padding: 8px 10px 8px 14px; }
.qty-row.on { border-color: var(--brand); background: var(--brand-soft); }
.qty-row .swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.qty-name { flex: 1; font-weight: 700; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper .step { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.stepper .step:hover { border-color: var(--brand); }
.stepper input { width: 56px; height: 44px; text-align: center; font-weight: 700; font-size: 1.1rem; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-hint { margin-top: 2px; }
.cap-form { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.cap-form .field { margin: 0; flex: 1; min-width: 200px; }
.cap-form .btn { margin-bottom: 26px; }

/* Aviso «vienes de…» (enlace de un socio) */
.aff-ribbon { background: #fff4d6; color: #4a3600; border-bottom: 1px solid #f0dca0; font-size: .95rem; }
.aff-ribbon .wrap { padding-top: 10px; padding-bottom: 10px; }

/* Informe de glucosa */
.tir-bar { display: flex; height: 26px; border-radius: 8px; overflow: hidden; margin: 14px 0 12px; background: var(--line); }
.tir-bar span { display: block; height: 100%; }
.tir-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tir-legend li { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tir-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; transform: translateY(1px); }
.report-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-top: 20px; }
.report-form .field { margin: 0; }

/* ===== Portada (v45) ===== */
/* Maqueta portada renovada */
:root{--noche:#14204a;--noche-2:#1d2c5e;--lampara:#ff5d6c;--papel:#eef2f1;--tinta:#13232e;--marca:#0e7c86;
  --g-ok:#46d483;--g-hi:#f2c03d;--g-lo:#ff5a4f;--disp:"Atkinson Hyperlegible",system-ui,sans-serif}
.h-wrap{max-width:1080px;margin:0 auto;padding:0 16px}
.h-h2{font-family:var(--disp);font-weight:700;font-size:clamp(1.9rem,4vw,2.9rem);letter-spacing:-.02em;line-height:1.08;margin:0 0 24px;max-width:18ch}

/* HERO: la habitación de noche */
.h-hero{background:radial-gradient(60% 70% at 78% 55%,rgba(255,93,108,.22),transparent 65%),linear-gradient(180deg,#101a3e,var(--noche) 60%,#182760);color:#eef1f8;overflow:hidden}
.h-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;min-height:640px;padding-top:56px;padding-bottom:64px}
.h-hero h1{font-family:var(--disp);font-weight:700;font-size:clamp(2.4rem,5.6vw,4.4rem);line-height:1.02;letter-spacing:-.03em;margin:0 0 24px;max-width:13ch;color:#fff}
.h-lead{font-size:1.2rem;line-height:1.55;color:#c9d1e6;max-width:34em;margin:0 0 30px}
.h-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:28px}
.h-btn{display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:1.08rem;padding:16px 24px;border-radius:999px;text-decoration:none;transition:transform .15s,background .15s}
.h-btn:focus-visible{outline:3px solid var(--lampara);outline-offset:3px}
.h-btn-main{background:var(--lampara);color:#fff}
.h-btn-main:hover{transform:translateY(-1px);background:#ffd98f}
.h-btn-ghost{color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.h-btn-ghost:hover{box-shadow:inset 0 0 0 2px #fff}
.h-btn-block{width:100%}
.h-facts{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px 22px;color:#aab4cf;font-size:.95rem}
.h-facts li::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--g-ok);margin-right:9px;vertical-align:middle}
.h-room{position:relative;margin:0;display:flex;flex-direction:column;align-items:center}
.h-clock{font-family:var(--disp);font-weight:500;font-size:1.05rem;letter-spacing:.04em;color:#ffc2c8;background:rgba(255,93,108,.1);padding:6px 14px;border-radius:999px;margin-bottom:22px;font-variant-numeric:tabular-nums}
.dev{width:min(330px,82vw);background:linear-gradient(160deg,#3a3f47,#24272c 55%,#1b1d21);border-radius:26px 26px 18px 18px;padding:22px 18px 16px;box-shadow:0 40px 80px -20px rgba(0,0,0,.65),0 0 120px rgba(255,93,108,.18),inset 0 1px 0 rgba(255,255,255,.12);transform:perspective(900px) rotateY(-9deg) rotateX(3deg)}
.dev-screen{background:#000;border-radius:6px;aspect-ratio:320/480;padding:12px;display:flex;flex-direction:column;gap:10px;color:#eef2f2;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow:hidden;box-shadow:0 0 30px rgba(70,212,131,.08)}
.dev-logo{text-align:center;color:#c8ccd2;font-weight:700;font-size:.85rem;margin-top:10px;letter-spacing:.02em}
.dev-screen .row{flex:1;display:flex;flex-direction:column;min-height:0;border-bottom:1px solid #1d2326;padding-bottom:6px}
.dev-screen .row:last-child{border-bottom:0}
.dev-screen .row-top{display:flex;justify-content:space-between;font-size:.82rem;font-weight:700}.dev-screen .row-top span+span{color:#7c878b;font-weight:400;font-size:.7rem}
.dev-screen .row-main{display:flex;align-items:center;justify-content:center;gap:12px;flex:1}
.dev-screen .row-main b{font-weight:400;font-size:3.6rem;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.02em;transition:color .4s}
.dev-screen.p3 .row-main b{font-size:2.6rem}.dev-screen.p1 .row-main b{font-size:5.2rem}
.dev-screen .row-main i{font-style:normal;font-size:2.4rem;color:#fff}
.dev-screen .row-info{display:flex;justify-content:space-between;font-size:.7rem;color:#7c878b}
.dev-screen .row svg{width:100%;height:56px;margin-top:6px}.dev-screen.p1 .row svg{height:140px}
.dev-screen .row.ok b,.dev-screen .row.ok svg{color:var(--g-ok)}.dev-screen .row.hi b,.dev-screen .row.hi svg{color:var(--g-hi)}.dev-screen .row.lo b,.dev-screen .row.lo svg{color:var(--g-lo)}
.h-people{display:flex;gap:6px;margin-top:26px;background:rgba(255,255,255,.07);padding:5px;border-radius:999px}
.h-people button{font:inherit;font-weight:700;font-size:.92rem;color:#c9d1e6;background:none;border:0;border-radius:999px;padding:8px 16px;cursor:pointer}
.h-people button[aria-pressed=true]{background:var(--surface);color:var(--noche)}
.h-people button:focus-visible{outline:2px solid var(--lampara)}
.h-room figcaption{font-size:.8rem;color:#8692b3;margin-top:12px}

/* UN DÍA */
.h-day{background:var(--bg);padding:96px 0 80px}
.h-timeline{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:2px solid var(--text)}
.h-timeline li{padding:22px 22px 0 0;position:relative}
.h-timeline li::before{content:"";position:absolute;top:-8px;left:0;width:14px;height:14px;border-radius:50%;background:var(--bg);border:2px solid var(--text)}
.h-timeline time{display:block;font-family:var(--disp);font-weight:700;font-size:2.4rem;letter-spacing:-.03em;color:var(--text);font-variant-numeric:tabular-nums;margin:4px 0 12px}
.h-timeline h3{font-size:1.15rem;margin:14px 0 6px}
.h-timeline p{margin:0;color:var(--muted);line-height:1.5}
.mini{display:inline-flex;align-items:baseline;gap:6px;background:#000;border-radius:10px;padding:8px 14px;font-family:system-ui,sans-serif}
.mini b{font-weight:400;font-size:1.7rem;font-variant-numeric:tabular-nums}.mini i{font-style:normal;color:#fff;font-size:1.2rem}
.mini.ok b{color:var(--g-ok)}.mini.hi b{color:var(--g-hi)}.mini.lo b{color:var(--g-lo)}
.h-note{margin:44px 0 0;color:var(--muted);font-size:.95rem;max-width:60ch}

/* POR QUÉ */
.h-why{background:var(--surface);padding:96px 0}
.h-why-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px;align-items:start}
.h-vs{width:100%;border-collapse:collapse;font-size:1.05rem}
.h-vs th,.h-vs td{text-align:left;padding:16px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.h-vs thead th{font-size:.9rem;color:var(--muted);font-weight:700}
.h-vs tbody th{font-weight:700;color:var(--text);width:22%}
.h-vs td:nth-child(2){color:var(--muted)}
.h-vs td:nth-child(3){color:var(--text);font-weight:700}
.h-vs thead th:nth-child(3){color:var(--marca)}

/* FUNDADOR */
.h-founder{background:var(--noche);color:#eef1f8;padding:88px 0;background-image:radial-gradient(40% 80% at 10% 50%,rgba(255,93,108,.15),transparent 70%)}
.h-founder-grid{display:grid;grid-template-columns:220px 1fr;gap:48px;align-items:center}
.h-founder img{width:220px;height:220px;border-radius:50%;background:var(--surface);object-fit:cover;box-shadow:0 0 0 8px rgba(255,93,108,.18)}
.h-founder blockquote{margin:0;max-width:40em}
.h-founder blockquote p{font-family:var(--disp);font-weight:500;font-size:clamp(1.3rem,2.4vw,1.85rem);line-height:1.3;letter-spacing:-.01em;margin:0 0 .7em}
.h-founder footer{color:var(--lampara);font-weight:700}

/* PROMESAS */
.h-promise{background:var(--bg);padding:96px 0}
.h-promises{display:grid;grid-template-columns:repeat(3,1fr);gap:36px 40px;margin:0}
.h-promises div{border-left:3px solid var(--marca);padding-left:18px}
.h-promises dt{font-weight:700;font-size:1.15rem;margin-bottom:6px;color:var(--text)}
.h-promises dd{margin:0;color:var(--muted);line-height:1.5}

/* COMPRA */
.h-buy{background:var(--surface);padding:96px 0}
.h-buy-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.h-lead-dark{font-size:1.15rem;color:var(--muted);max-width:34em}
.h-incl{list-style:none;padding:0;margin:24px 0 0}
.h-incl li{padding:10px 0 10px 30px;border-bottom:1px solid var(--line);position:relative}
.h-incl li::before{content:"";position:absolute;left:4px;top:17px;width:12px;height:7px;border-left:2.5px solid var(--marca);border-bottom:2.5px solid var(--marca);transform:rotate(-45deg)}
.h-price{background:var(--noche);color:#fff;border-radius:28px;padding:36px;box-shadow:0 30px 60px -30px rgba(20,32,74,.6)}
.h-price-num{font-family:var(--disp);font-weight:700;font-size:5.5rem;line-height:.9;letter-spacing:-.04em;margin:0 0 12px}
.h-price-sub{color:#c9d1e6;margin:0 0 10px}
.h-price .h-btn{margin-top:18px}
.h-price-link{display:block;text-align:center;margin-top:16px;color:#ffc2c8;font-size:.95rem}

@media (max-width:900px){
  .h-hero-grid,.h-why-grid,.h-buy-grid{grid-template-columns:1fr}
  .h-hero-grid{min-height:0;padding-top:36px}
  .h-timeline{grid-template-columns:1fr 1fr;row-gap:36px}
  .h-promises{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .h-wrap{padding-left:16px;padding-right:16px}
  .h-timeline{grid-template-columns:1fr;border-top:0;border-left:2px solid var(--text);padding-left:22px}
  .h-timeline li{padding:0 0 30px}
  .h-timeline li::before{left:-31px;top:14px}
  .h-promises{grid-template-columns:1fr}
  .h-founder-grid{grid-template-columns:1fr;gap:24px}
  .h-founder img{width:140px;height:140px}
  .h-vs{font-size:.95rem}.h-vs th,.h-vs td{padding:12px 6px}
  .dev{transform:none}
  .h-price-num{font-size:4.4rem}
  .h-day,.h-why,.h-promise,.h-buy{padding:64px 0}
}
@media (prefers-reduced-motion:reduce){.h-btn{transition:none}.dev-screen .row-main b{transition:none}}
.h-free{background:linear-gradient(180deg,var(--ok-soft),var(--bg));padding:96px 0}
.h-free-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:start}
.h-free-lead{font-size:1.15rem;color:var(--muted);line-height:1.55;max-width:32em}
.h-free-item{display:grid;grid-template-columns:120px 1fr;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
.h-free-item:last-child{border-bottom:0}
.h-free-item .h-free-price{font-family:var(--disp);font-weight:700;font-size:2.8rem;line-height:1;letter-spacing:-.03em;color:var(--ok);margin:0}
.h-free-item.h-free-pay .h-free-price{color:var(--text)}
.h-free-item h3{margin:2px 0 4px;font-size:1.15rem}
.h-free-item p{margin:0;color:var(--muted);line-height:1.5}
@media (max-width:900px){.h-free-grid{grid-template-columns:1fr;gap:16px}}
@media (max-width:600px){.h-free{padding:64px 0}.h-free-item{grid-template-columns:1fr;gap:6px}}

.is-home .topbar{background:#101a3e;border-bottom-color:rgba(255,255,255,.06)}
.is-home main.wide{padding:0}
.h-text{font-size:1.12rem;line-height:1.6;color:var(--muted);max-width:36em}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
/* Foto real */
.h-real{background:var(--surface);padding:88px 0}
.h-real-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:center}
.h-real img{width:100%;height:auto;border-radius:24px;box-shadow:0 30px 60px -30px rgba(20,32,74,.45)}
/* Compartir */
.h-family{background:var(--surface);padding:96px 0}
.h-share{display:grid;grid-template-columns:repeat(2,1fr);gap:18px 40px;margin-top:30px}
.h-share-item{display:grid;grid-template-columns:52px 1fr;gap:16px;align-items:start;padding:18px 0;border-top:1px solid var(--line)}
.h-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:1.3rem;color:#13232e;background:var(--c)}
.h-share-item h3{margin:4px 0 4px;font-size:1.15rem}
.h-share-item p{margin:0;color:var(--muted);line-height:1.5}
/* Datos */
.h-data{background:var(--noche);color:#e9eef8;padding:72px 0 40px}
.h-data-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.h-data .h-data-num{font-family:var(--disp);font-weight:700;font-size:clamp(2.2rem,4vw,3rem);letter-spacing:-.03em;line-height:1;color:var(--lampara);margin:0 0 10px}
.h-data p{margin:0;line-height:1.5;color:#c9d1e6}
.h-data sup a{color:#ffc2c8}
.h-data .h-sources{font-size:.8rem;color:#8692b3;margin:36px auto 0}
.h-founder + .h-data{padding-top:0}
.h-price-fine{color:#8692b3;font-size:.85rem;text-align:center;margin:12px 0 0}
.h-day-img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:14px;margin-bottom:12px}
@media (max-width:900px){.h-real-grid{grid-template-columns:1fr;gap:28px}.h-real img{max-width:420px}.h-share{grid-template-columns:1fr}.h-data-grid{grid-template-columns:1fr;gap:28px}}
@media (max-width:600px){.h-real,.h-family{padding:64px 0}}
.h-real-fig{margin:0}
.h-real-fig figcaption{font-size:.85rem;color:var(--muted);margin-top:12px;line-height:1.45}

/* Comunidad */
.forum-list{list-style:none;padding:0;margin:8px 0 12px}
.forum-list li{border-bottom:1px solid var(--line)}
.forum-list a{display:flex;flex-direction:column;gap:4px;padding:14px 4px;color:var(--text);text-decoration:none}
.forum-list a:hover strong{color:var(--brand);text-decoration:underline}
.forum-cat{align-self:flex-start;background:#5b6770;color:#fff;font-size:.75rem;font-weight:700;padding:2px 8px;border-radius:6px}
.forum-how ol li{margin-bottom:8px}
.forum-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--brand-soft);border-radius:14px;padding:18px 20px;margin:28px 0}
.forum-cta p{margin:4px 0 0}

/* ===== Mi gluclink (v49): tema noche, como la app ===== */
.is-account .topbar{background:#101a3e;border-bottom-color:rgba(255,255,255,.06)}
.is-account main.wide{padding:0}
.acc{--n0:#070b1f;--n1:#0c1433;--n2:#141e48;--ink:#eef1fb;--mut:#8f9bc4;--lamp:#ff5d6c;--g-ok:#46d483;--g-hi:#f5c443;--g-lo:#ff5d55;--glass:rgba(255,255,255,.05);--hair:rgba(255,255,255,.1);
  background:radial-gradient(120% 60% at 50% 0%,var(--n2),var(--n1) 55%,var(--n0));color:var(--ink);min-height:70vh;padding-bottom:60px}
.acc a{color:var(--lamp)}
.acc-head{padding:30px 0 0}
.acc-head-in{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.acc-head h1{margin:0;font-size:clamp(1.9rem,4vw,2.6rem);letter-spacing:-.02em;color:#fff}
.acc-hello{margin:0;color:var(--mut)}
.acc-out{color:var(--mut)!important;font-weight:700;text-decoration:none;border:1px solid var(--hair);padding:8px 14px;border-radius:999px}
.acc-tabs{display:flex;gap:4px;overflow-x:auto;margin-top:20px;border-bottom:1px solid var(--hair);scrollbar-width:none}
.acc-tabs a{flex:none;padding:12px 14px;color:var(--mut)!important;text-decoration:none;font-weight:700;border-bottom:3px solid transparent}
.acc-tabs a.on{color:#fff!important;border-bottom-color:var(--lamp)}
.acc-body{padding-top:26px}
.acc-h2{font-size:1.5rem;margin:6px 0 16px;color:#fff}
.acc-h3{font-size:1.15rem;margin:0 0 12px;color:#fff}
.acc-text{color:var(--mut);max-width:62ch;line-height:1.6}
.acc-small{color:var(--mut);font-size:.9rem;line-height:1.5}
.acc-label{color:var(--mut);font-size:.82rem;font-weight:700;margin:18px 0 8px}
.acc-flash{background:rgba(70,212,131,.12);border:1px solid rgba(70,212,131,.35);color:#c9f5da;padding:12px 16px;border-radius:14px;margin-bottom:18px}
.acc-alert{background:rgba(255,93,85,.12);border:1px solid rgba(255,93,85,.4);color:#ffd2cf;padding:12px 16px;border-radius:14px;margin-bottom:18px}
.acc-panel{background:var(--glass);border:1px solid var(--hair);border-radius:22px;padding:20px}
.acc-empty{background:var(--glass);border:1px dashed var(--hair);border-radius:22px;padding:22px}
.acc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 22px;border-radius:999px;background:var(--lamp);color:#fff!important;font-weight:700;font-size:1rem;border:0;cursor:pointer;text-decoration:none;font-family:inherit}
.acc-btn:focus-visible,.acc-link:focus-visible{outline:3px solid #fff;outline-offset:3px}
.acc-btn-sm{min-height:40px;padding:0 16px;font-size:.92rem}
.acc-btn-line{background:transparent;color:var(--ink)!important;box-shadow:inset 0 0 0 2px var(--hair)}
.acc-link{background:none;border:0;color:var(--lamp);font:inherit;font-weight:700;cursor:pointer;padding:6px 0;text-decoration:underline}
.acc-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.acc-field span{font-size:.88rem;color:var(--mut);font-weight:700}
.acc-field input,.acc-field select{background:rgba(0,0,0,.25);border:1px solid var(--hair);color:var(--ink);border-radius:14px;padding:12px 14px;font:inherit;width:100%}
.acc-field input:focus,.acc-field select:focus{outline:2px solid var(--lamp);border-color:transparent}
.acc-field input[type=range]{padding:0;accent-color:var(--lamp)}
.acc-code{font-size:1.6rem!important;letter-spacing:.3em;text-align:center;font-variant-numeric:tabular-nums}
.acc-check{display:flex;gap:10px;align-items:flex-start;margin:6px 0 14px;color:var(--ink);line-height:1.5;font-size:.95rem}
.acc-check input{width:20px;height:20px;accent-color:var(--lamp);flex:none;margin-top:2px}
.acc-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}
.acc-inline{display:flex;gap:10px;align-items:end}.acc-inline .acc-field{flex:1;margin:0}
.acc-seg{display:flex;flex-wrap:wrap;gap:6px;background:var(--glass);border:1px solid var(--hair);border-radius:16px;padding:5px;margin-bottom:18px}
.acc-seg label{flex:1 1 auto}.acc-seg input{position:absolute;opacity:0}
.acc-seg span{display:block;text-align:center;padding:9px 12px;border-radius:12px;color:var(--mut);font-weight:700;font-size:.9rem;cursor:pointer}
.acc-seg input:checked+span{background:var(--lamp);color:#fff}
.acc-seg input:focus-visible+span{outline:2px solid #fff}
/* Glucosa */
.acc-glu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.acc-glu{position:relative;background:#0b0d16;border:1px solid var(--hair);border-radius:24px;padding:18px 18px 16px;overflow:hidden}
.acc-glu::before{content:"";position:absolute;inset:-40% -20% auto;height:80%;background:radial-gradient(closest-side,var(--gc,transparent),transparent);opacity:.28;pointer-events:none}
.acc-glu.ok{--gc:var(--g-ok)}.acc-glu.hi{--gc:var(--g-hi)}.acc-glu.lo{--gc:var(--g-lo)}
.acc-glu-top{position:relative;display:flex;justify-content:space-between;gap:8px;color:var(--mut);font-size:.88rem}.acc-glu-top b{color:#fff;font-size:1.05rem}
.acc-glu-v{position:relative;font-size:4.2rem;font-weight:700;letter-spacing:-.04em;line-height:1;margin:14px 0 4px;color:var(--gc,#fff);font-variant-numeric:tabular-nums}
.acc-glu-v i{font-style:normal;color:#fff;font-size:2.2rem;margin-left:8px;letter-spacing:0}
.acc-glu-v.old{text-decoration:line-through;text-decoration-thickness:4px;opacity:.6}
.acc-glu-d{position:relative;color:var(--mut);font-size:.9rem}
.glu-svg{display:block;width:100%;height:64px;margin-top:12px}.glu-band{fill:rgba(70,212,131,.10)}
.glu-svg.ok{color:var(--g-ok,#46d483)}.glu-svg.hi{color:var(--g-hi,#f5c443)}.glu-svg.lo{color:var(--g-lo,#ff5d55)}
.acc-src{position:relative;display:inline-block;margin-top:12px;font-size:.78rem;background:rgba(255,255,255,.06);color:var(--mut);border-radius:999px;padding:4px 10px}
.acc-glu.big .acc-glu-v{font-size:7rem}.acc-glu.big .glu-svg{height:120px}
.acc-view{padding-top:40px;max-width:560px}
/* Listas y pantallas */
.acc-row2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}
.acc-line{display:flex;align-items:center;gap:8px;margin:8px 0}
.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--mut);vertical-align:middle;margin-right:4px}.dot.on{background:var(--g-ok);box-shadow:0 0 0 4px rgba(70,212,131,.18)}
.acc-list{background:var(--glass);border:1px solid var(--hair);border-radius:22px;overflow:hidden}
.acc-li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px}.acc-li+.acc-li{border-top:1px solid var(--hair)}
.acc-li b{display:block;color:#fff}.acc-li span{display:block;color:var(--mut);font-size:.9rem;margin-top:3px}
.acc-copy{display:block;margin-top:6px;font-size:.78rem;color:var(--lamp);background:rgba(0,0,0,.25);padding:6px 8px;border-radius:8px;cursor:copy;word-break:break-all}.acc-copy.ok{color:var(--g-ok)}
.acc-devs{display:grid;gap:12px}
.acc-dev{display:grid;grid-template-columns:72px 1fr auto;gap:16px;align-items:center;background:var(--glass);border:1px solid var(--hair);border-radius:20px;padding:12px 18px;text-decoration:none;color:var(--ink)!important}
.acc-dev:hover{border-color:rgba(255,93,108,.5)}
.acc-dev b{display:block;color:#fff;font-size:1.05rem}.acc-dev span{display:block;color:var(--mut);font-size:.88rem;margin-top:3px}
.acc-dev span.dot{display:inline-block;margin:0 6px 1px 0;vertical-align:middle}
.acc-chev{font-size:1.6rem;color:var(--mut)}
.acc-config{display:grid;grid-template-columns:240px 1fr;gap:24px;align-items:start;margin-bottom:18px}
.acc-config-dev{position:sticky;top:20px;text-align:center;background:radial-gradient(closest-side,rgba(255,93,108,.18),transparent);padding:20px 0}
.acc-config-dev img{width:200px;height:auto;filter:drop-shadow(0 22px 26px rgba(0,0,0,.6))}
.acc-dl{display:grid;grid-template-columns:auto 1fr;gap:8px 18px;margin:0 0 14px}.acc-dl dt{color:var(--mut)}.acc-dl dd{margin:0}
.acc-dl code{color:var(--lamp)}
/* Entrar */
.acc-login{display:grid;place-items:center;padding:60px 16px}
.acc-login-card{width:100%;max-width:440px;background:var(--glass);border:1px solid var(--hair);border-radius:28px;padding:30px}
.acc-login-card h1{margin:0 0 8px;color:#fff}
.acc-sub{color:var(--mut);line-height:1.55;margin:0 0 20px}
.acc-login-card .acc-btn{width:100%}
@media (max-width:760px){.acc-row2,.acc-config,.acc-2{grid-template-columns:1fr}.acc-config-dev{position:static}.acc-config-dev img{width:150px}.acc-glu.big .acc-glu-v{font-size:5rem}.acc-inline{flex-direction:column;align-items:stretch}}

/* ===== App gluclink (v52) ===== */
.h-app{background:var(--noche);color:#eef1f8;padding:96px 0;background-image:radial-gradient(45% 70% at 18% 45%,rgba(255,93,108,.16),transparent 70%)}
.h-app-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:center}
.h-app .h-text,.h-app-list{color:#c5ccdb}
.h-kicker{display:inline-block;margin:0 0 14px;padding:5px 12px;border-radius:999px;background:rgba(255,93,108,.15);color:var(--lampara);font-weight:700;font-size:.85rem;letter-spacing:.02em}
.h-app-list{list-style:none;padding:0;margin:22px 0 28px;display:grid;gap:12px}
.h-app-list li{padding-left:30px;position:relative;line-height:1.45}
.h-app-list li::before{content:"";position:absolute;left:4px;top:.45em;width:12px;height:12px;border-radius:50%;background:var(--lampara);box-shadow:0 0 12px rgba(255,93,108,.6)}
.h-app-note{color:#9aa3b6;font-size:.92rem;margin-top:18px}
.h-app-note a{color:var(--lampara)}
.h-phone{margin:0 auto;width:250px;aspect-ratio:9/18.5;border-radius:38px;padding:10px;background:#05070c;box-shadow:0 0 0 2px #2a3042,0 40px 80px rgba(0,0,0,.5)}
.h-phone-in{height:100%;border-radius:30px;padding:28px 18px;background:radial-gradient(80% 45% at 50% 32%,rgba(70,212,131,.18),transparent 70%),linear-gradient(180deg,#0f1524,#070a12);display:flex;flex-direction:column}
.h-phone-top{display:flex;justify-content:space-between;margin:0;font-weight:700;color:#eef1f8;font-size:.95rem}
.h-phone-top i{font-style:normal;color:#46d483;font-size:.75rem;padding:3px 9px;border-radius:999px;background:rgba(70,212,131,.14)}
.h-phone-num{margin:34px 0 0;text-align:center;font-family:var(--disp);font-size:4.6rem;line-height:1;font-weight:700;color:#46d483;letter-spacing:-.04em}
.h-phone-num span{font-size:2rem;color:#eef1f8;margin-left:6px;vertical-align:top}
.h-phone-sub{text-align:center;margin:6px 0 22px;color:#9aa3b6;font-size:.8rem}
.h-phone-g{width:100%;height:auto}
.h-phone-card{margin:auto 0 0;padding:12px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);font-size:.82rem;color:#c5ccdb}
.h-phone-card b{color:#46d483}
@media (max-width:820px){.h-app{padding:64px 0}.h-app-grid{grid-template-columns:1fr;gap:40px}.h-phone{width:210px}}

/* Página de la app */
.app-steps{counter-reset:s;list-style:none;padding:0;display:grid;gap:14px}
.app-steps li{counter-increment:s;position:relative;padding:14px 16px 14px 58px;border-radius:14px;background:var(--surface);border:1px solid var(--line)}
.app-steps li::before{content:counter(s);position:absolute;left:14px;top:12px;width:30px;height:30px;border-radius:50%;background:var(--lampara);color:#13232e;font-weight:700;display:grid;place-items:center}
.app-dl{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.beta-tag{display:inline-block;vertical-align:middle;margin-left:.3em;padding:.12em .5em;border-radius:999px;background:var(--lampara);color:#13232e;font-size:.38em;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
/* Contraseñas (v55) */
.acc-3{display:grid;grid-template-columns:1fr 2fr 2fr;gap:12px;align-items:end}
.acc-pw{position:relative;display:block}
.acc-pw input{width:100%;padding-right:48px}
.acc-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:none;border:0;cursor:pointer;font-size:1.1rem;opacity:.7;padding:6px}
.pw-box{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:6px 0 16px;background:var(--surface)}
.pw-box legend{font-weight:700;padding:0 6px}
@media (max-width:760px){.acc-3{grid-template-columns:1fr}}

/* ===== Portada: tres pasos y compatibilidad (v57) ===== */
.h-steps{padding:88px 0;background:var(--bg)}
.h-steps-list{list-style:none;padding:0;margin:32px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.h-steps-list li{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:26px 24px}
.h-steps-list h3{margin:14px 0 6px;font-size:1.2rem}.h-steps-list p{margin:0;color:var(--muted);line-height:1.5}
.h-step-n{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--lampara);color:#13232e;font-weight:800;font-size:1.2rem}
.h-steps-note{margin-top:20px;color:var(--muted)}
.h-compat{padding:88px 0;background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.h-compat-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:20px;margin-top:28px}
.h-compat-card{background:var(--bg);border:1px solid var(--line);border-radius:20px;padding:24px}
.h-compat-card h3{margin:6px 0 8px}.h-compat-card p{color:var(--muted);line-height:1.5;margin:0}
.h-compat-main{background:var(--noche);color:#eef1f8;border-color:transparent}.h-compat-main p{color:#c5ccdb}
.h-kicker-soft{background:rgba(14,124,134,.12);color:var(--marca)}
.h-chips{list-style:none;padding:0;margin:16px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.h-chips li{padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);font-size:.9rem}
.h-fine{display:block;font-size:.85rem;margin-top:8px}
@media (max-width:820px){.h-steps-list,.h-compat-grid{grid-template-columns:1fr}}

/* ===== Portada cálida y footer en columnas (v62) ===== */

.is-home,.k-foot{--crema:#f4f7fc;--crema2:#e9eef8;--marron:#1d2a52;--suave:#5a6680}
.k-wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.k-hero{background:radial-gradient(50% 60% at 75% 45%,rgba(255,93,108,.28),transparent 70%),linear-gradient(180deg,#0f1838,#14204a 70%,#1b2a5c);color:#eef1f8;padding:56px 0 0;overflow:hidden;position:relative}
.k-stars{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(1.5px 1.5px at 12% 18%,#fff8,transparent),radial-gradient(1px 1px at 30% 8%,#fff6,transparent),radial-gradient(1.5px 1.5px at 48% 22%,#fff5,transparent),radial-gradient(1px 1px at 8% 50%,#fff5,transparent),radial-gradient(1px 1px at 60% 12%,#fff7,transparent)}
.k-hero-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;align-items:center;position:relative}
.k-hero h1{font-family:var(--disp);font-size:clamp(2.3rem,5vw,3.9rem);line-height:1.04;letter-spacing:-.03em;margin:0 0 20px;color:#fff}
.k-hero h1 em{font-style:normal;color:var(--lampara)}
.k-lead{font-size:1.15rem;line-height:1.55;color:#c9d0de;max-width:34em;margin:0 0 28px}
.k-btns{display:flex;gap:12px;flex-wrap:wrap}
.k-btn{display:inline-flex;align-items:center;justify-content:center;padding:16px 26px;border-radius:999px;font-weight:700;text-decoration:none;font-size:1.05rem}
.k-btn-main{background:var(--lampara);color:#fff;box-shadow:0 10px 30px rgba(255,93,108,.35)}
.k-btn-ghost{border:2px solid rgba(255,255,255,.25);color:#fff}
.k-chips{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 56px;padding:0;list-style:none}
.k-chips li{padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.07);font-size:.9rem;color:#dfe4ee}
.k-scene{position:relative;min-height:520px}
.k-photo{position:absolute;right:0;top:0;width:78%;border-radius:32px;overflow:hidden;box-shadow:0 40px 80px rgba(0,0,0,.45)}
.k-photo img{display:block;width:100%;height:auto}
.k-phone{position:absolute;left:0;bottom:36px;width:190px;aspect-ratio:9/18.5;border-radius:32px;padding:8px;background:#05070c;box-shadow:0 0 0 2px #2a3042,0 30px 60px rgba(0,0,0,.55);transform:rotate(-6deg)}
.k-phone-in{height:100%;border-radius:25px;padding:20px 14px;background:radial-gradient(80% 45% at 50% 30%,rgba(70,212,131,.2),transparent 70%),linear-gradient(180deg,#0f1524,#070a12);display:flex;flex-direction:column}
.k-phone-in .t{display:flex;justify-content:space-between;font-weight:700;font-size:.8rem}.k-phone-in .t i{font-style:normal;color:#46d483;font-size:.65rem;padding:2px 8px;border-radius:99px;background:rgba(70,212,131,.15)}
.k-phone-in .n{margin:26px 0 0;text-align:center;font-family:var(--disp);font-size:3.4rem;font-weight:700;color:#46d483;line-height:1}
.k-phone-in .s{text-align:center;color:#9aa3b6;font-size:.7rem;margin:4px 0 14px}
.k-phone-in .c{margin-top:auto;padding:9px;border-radius:12px;background:rgba(255,255,255,.06);font-size:.7rem;color:#c5ccdb}.k-phone-in .c b{color:#46d483}
.k-arc{position:absolute;left:120px;top:150px;width:260px;height:200px}
.k-tag{position:absolute;left:215px;top:70px;z-index:2;background:#fff;color:#fff;font-weight:700;font-size:.85rem;padding:8px 14px;border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.k-band{padding:92px 0}
.k-crema{background:var(--crema);color:var(--tinta)}
.k-h2{font-family:var(--disp);font-size:clamp(1.9rem,4vw,2.8rem);letter-spacing:-.02em;line-height:1.08;margin:0 0 14px}
.k-sub{font-size:1.1rem;color:var(--suave);max-width:40em;margin:0 0 40px;line-height:1.55}
.k-kick{display:inline-block;margin:0 0 12px;padding:5px 12px;border-radius:999px;background:#e3ecfb;color:var(--marron);font-weight:700;font-size:.85rem}
.k-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;list-style:none;padding:0;margin:0}
.k-steps li{background:#fff;border-radius:28px;padding:28px;box-shadow:0 10px 30px rgba(16,26,62,.08);position:relative}
.k-steps .ic{width:58px;height:58px;border-radius:20px;background:#e3ecfb;color:#2a6fd6;display:grid;place-items:center;margin-bottom:16px}.k-steps .ic svg{width:28px;height:28px}
.k-steps .num{position:absolute;right:22px;top:18px;font-family:var(--disp);font-size:2.6rem;font-weight:700;color:#e3ecfb}
.k-steps h3{margin:0 0 8px;font-size:1.2rem}.k-steps p{margin:0;color:var(--suave);line-height:1.5}
.k-time{margin-top:22px;color:var(--suave)}.k-time b{color:var(--tinta)}
.k-night{background:linear-gradient(180deg,#14204a,#101a3e);color:#eef1f8}
.k-night .k-sub{color:#aab3c6}
.k-vs{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.k-vs-card{border-radius:28px;padding:28px}
.k-vs-x{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1)}
.k-vs-g{background:linear-gradient(160deg,rgba(255,93,108,.16),rgba(255,93,108,.04));border:1px solid rgba(255,93,108,.35)}
.k-vs-card h3{margin:0 0 4px;font-size:1.3rem}.k-vs-card .tm{margin:0 0 18px;font-weight:700}
.k-vs-x .tm{color:#9aa3b6}.k-vs-g .tm{color:var(--lampara)}
.k-vs-card ol{margin:0;padding-left:22px;display:grid;gap:9px;line-height:1.45}
.k-vs-x ol{color:#aab3c6}.k-vs-g ol{color:#eef1f8}
.k-vs-note{margin-top:22px;color:#8f99ae;font-size:.92rem;max-width:52em}
.k-fam{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.k-fam div{background:#fff;border-radius:26px;padding:24px;box-shadow:0 10px 30px rgba(16,26,62,.08)}
.k-fam .av{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:1.3rem;color:#fff;margin-bottom:14px}
.k-fam h3{margin:0 0 6px;font-size:1.05rem}.k-fam p{margin:0;color:var(--suave);font-size:.95rem;line-height:1.5}
.k-upd{background:var(--crema2);color:var(--tinta)}
.k-upd-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:44px;align-items:center}
.k-screens{display:flex;gap:14px;justify-content:center;align-items:flex-end}
.k-screens figure{margin:0;text-align:center}.k-screens img{width:150px;border-radius:14px;border:10px solid #1a1c1f;box-shadow:0 20px 40px rgba(0,0,0,.25);display:block}
.k-screens figure:nth-child(2) img{width:170px}
.k-screens figcaption{font-size:.82rem;color:var(--suave);margin-top:10px}
.k-list{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:10px}.k-list li{padding-left:30px;position:relative;line-height:1.5}
.k-list li::before{content:"";position:absolute;left:2px;top:.35em;width:18px;height:18px;border-radius:50%;background:#ffd88a;box-shadow:inset 0 0 0 5px #e3ecfb}
.k-free{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.k-free div{background:#fff;border-radius:24px;padding:24px;text-align:center;box-shadow:0 10px 30px rgba(16,26,62,.08)}
.k-free p.p{font-family:var(--disp);font-size:2.4rem;font-weight:700;margin:0;color:#2e9d5b}.k-free .pay p.p{color:var(--tinta)}
.k-free h3{margin:6px 0 4px;font-size:1rem}.k-free span{color:var(--suave);font-size:.9rem}
.k-founder{display:grid;grid-template-columns:200px 1fr;gap:40px;align-items:center}
.k-founder img{width:200px;height:200px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 8px rgba(255,93,108,.2)}
.k-founder p{font-family:var(--disp);font-size:clamp(1.25rem,2.4vw,1.7rem);line-height:1.35;margin:0 0 .6em}.k-founder b{color:var(--lampara)}
.k-buy{display:grid;grid-template-columns:1fr 1.15fr 1fr;background:#fff;border-radius:32px;overflow:hidden;box-shadow:0 20px 50px rgba(16,26,62,.14);color:var(--tinta)}
.k-buy .pr{font-family:var(--disp);font-size:4.2rem;font-weight:700;margin:0;line-height:1}
.k-foot{background:#0b1024;color:#c5ccdb;padding:64px 0 28px}
.k-foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px}
.k-foot .brand{font-family:var(--disp);font-size:1.4rem;font-weight:700;color:#fff;display:flex;align-items:center;gap:10px}
.k-foot .brand svg{width:30px;height:30px}
.k-foot p.t{color:#9aa3b6;line-height:1.55;margin:12px 0 18px;max-width:22em}
.k-foot h4{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:#7f8aa3;margin:6px 0 14px}
.k-foot ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.k-foot a{color:#d6dbe6;text-decoration:none}.k-foot a:hover{color:var(--lampara)}
.k-foot-bot{border-top:1px solid #1f2742;margin-top:44px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#8f99ae;font-size:.9rem}
@media (max-width:860px){.k-hero-grid,.k-vs,.k-upd-grid,.k-buy,.k-founder{grid-template-columns:1fr}.k-steps,.k-fam,.k-free{grid-template-columns:1fr 1fr}.k-scene{min-height:420px}.k-phone{width:150px}.k-foot-grid{grid-template-columns:1fr 1fr}.k-founder img{width:140px;height:140px}}
@media (max-width:520px){.k-steps,.k-fam,.k-free{grid-template-columns:1fr}.k-arc,.k-tag{display:none}.k-screens img{width:100px}.k-screens figure:nth-child(2) img{width:115px}}


/* ===== Comunidad en portada y Mi gluclink (v63) ===== */
.k-com-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.k-com-list{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:28px;padding:10px 22px}
.k-com-h{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:#8f99ae;margin:14px 0 4px}
.k-com-list a{display:flex;flex-direction:column;gap:3px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08);color:#eef1f8;text-decoration:none}
.k-com-list a:last-child{border-bottom:0}.k-com-list a:hover strong{color:var(--lampara)}
.k-com-list span{font-size:.85rem;color:#8f99ae}
.acc-com .acc-com-t{display:block;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.08);color:inherit;font-weight:600;text-decoration:none;font-size:.95rem}
.acc-com .acc-btn{margin-top:12px}
@media (max-width:860px){.k-com-grid{grid-template-columns:1fr}}

.k-social{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.08);color:#eef1f8;transition:background .2s,color .2s}
.k-foot a.k-social:hover{background:var(--lampara);color:#fff}
.k-eyebrow{display:block;font-size:clamp(.95rem,1.4vw,1.1rem);font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#ffc2c8;margin-bottom:14px}

.k-aviso-buy{margin:20px 0 0;padding:12px 14px;background:#fdecee;border-radius:10px;font-size:.95rem;color:#1d2a52;line-height:1.5}.k-aviso-buy b{color:#1d2a52}
.k-buy-ph{background:linear-gradient(180deg,#e9eef8,#ecdcbf);display:grid;place-items:center;padding:28px}.k-buy-ph img{width:88%;height:auto;filter:drop-shadow(0 18px 22px rgba(16,26,62,.3))}
.k-buy-mid{padding:36px 30px}.k-buy-mid .k-h2{font-size:clamp(1.6rem,2.6vw,2rem);margin:0}
.k-chk{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:9px}.k-chk li{padding-left:30px;position:relative;line-height:1.45}
.k-chk li::before{content:"✓";position:absolute;left:0;top:.1em;width:20px;height:20px;border-radius:50%;background:#46d483;color:#0b2a17;font-weight:700;font-size:.75rem;display:grid;place-items:center}
.k-buy-pay{background:#ff5d6c;padding:36px 28px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#fff}
.k-buy-tag{background:#fff;color:#ff5d6c;border-radius:999px;padding:5px 12px;font-size:.8rem;font-weight:700;margin-bottom:8px}
.k-buy-env{margin:8px 0 0;font-size:1.05rem}.k-buy-kl{margin:2px 0 0;font-size:.9rem}
.k-buy .k-buy-btn{background:#13232e;color:#fff;box-shadow:none;margin-top:18px;width:100%}.k-buy .k-buy-btn:hover{background:#1f3646}
.k-buy-small{font-size:.88rem;margin:12px 0 0;line-height:1.45;color:#4a3410}
@media (max-width:860px){.k-buy-mid,.k-buy-pay{padding:28px 22px}.k-buy-ph{padding:20px}.k-buy-ph img{width:auto;max-height:240px}}
.cmp-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:24px;background:#fff;box-shadow:0 20px 50px rgba(16,26,62,.12)}
.cmp{width:100%;min-width:860px;border-collapse:separate;border-spacing:0;color:var(--tinta)}
.cmp th,.cmp td{padding:16px 14px;border-bottom:1px solid #f0e6d4;vertical-align:middle;text-align:center;font-size:.95rem;line-height:1.35}
.cmp thead th{vertical-align:bottom;padding-top:22px}
.cmp thead th b{display:block;font-family:var(--disp);font-size:1.1rem}.cmp thead th small{display:block;color:var(--suave);font-weight:400;font-size:.8rem;margin-top:3px}
.cmp thead th img{display:block;margin:0 auto 8px;width:56px;height:auto}
.cmp tbody th{text-align:left;font-weight:700;width:24%;position:sticky;left:0;background:#fff;z-index:1}
.cmp thead th:first-child{position:sticky;left:0;background:#fff;z-index:1;text-align:left}
.cmp tbody th small{display:block;font-weight:400;color:var(--suave);font-size:.82rem;margin-top:3px}
.cmp tr:last-child th,.cmp tr:last-child td{border-bottom:0}
.cmp .cmp-us{background:#fff6e2;box-shadow:inset 2px 0 0 #ff5d6c,inset -2px 0 0 #ff5d6c}
.cmp thead .cmp-us{box-shadow:inset 2px 0 0 #ff5d6c,inset -2px 0 0 #ff5d6c,inset 0 2px 0 #ff5d6c;border-radius:18px 18px 0 0}
.cmp tbody tr:last-child .cmp-us{box-shadow:inset 2px 0 0 #ff5d6c,inset -2px 0 0 #ff5d6c,inset 0 -2px 0 #ff5d6c}
.cmp-i{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;font-weight:700;font-size:.85rem}
.cmp-i.ok{background:#46d483;color:#0b2a17}.cmp-i.no{background:#ff5a4f;color:#fff}.cmp-i.mid{background:#f2c03d;color:#3a2600;font-size:1.05rem}
.cmp-t{display:block;font-size:.82rem;color:var(--suave);margin-top:5px}.cmp-us .cmp-t{color:#1d2a52}
.cmp-p .cmp-t{font-size:.9rem;color:var(--tinta);margin:0}.cmp-us.cmp-p .cmp-t{font-family:var(--disp);font-weight:700;font-size:1.05rem}
.cmp-hint{display:none;font-weight:400;font-size:.8rem;color:var(--suave)}
.cmp-notes{display:grid;grid-template-columns:1.4fr 1fr;gap:30px;margin-top:36px;align-items:start}
.cmp-notes h2{font-family:var(--disp);font-size:1.5rem;margin:0}
.cmp-small{font-size:.85rem;color:var(--suave);line-height:1.5;margin:0}
.k-cmp-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:8px}
.k-cmp-mini div{background:#fff;border-radius:20px;padding:22px;box-shadow:0 10px 30px rgba(16,26,62,.08)}
.k-cmp-mini h3{font-family:var(--disp);margin:0 0 6px;font-size:1.1rem}.k-cmp-mini p{margin:0;color:var(--suave);line-height:1.5}
@media (max-width:860px){.cmp-hint{display:block}.cmp{min-width:720px}.cmp tbody th{width:150px;min-width:150px}.cmp-notes,.k-cmp-mini{grid-template-columns:1fr}}
.k-strip{background:#e9eef8;padding:26px 0;color:var(--tinta)}
.k-strip .k-wrap{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.k-strip-pix{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.k-strip-pix span{background:#111;border-radius:8px;padding:8px 10px;font-family:monospace;font-weight:700;color:#46d483;letter-spacing:2px;font-size:1.1rem}
.k-strip-pix b{font-family:var(--disp);font-size:1.4rem}.k-strip-pix img{width:46px;height:auto}
.k-strip p{margin:0;flex:1 1 280px;font-size:1.05rem;line-height:1.45}.k-strip p b{font-family:var(--disp)}
.k-strip a{flex:0 0 auto;font-weight:700;color:#13232e;background:#ff5d6c;border-radius:999px;padding:12px 20px;text-decoration:none}
@media (max-width:860px){.k-strip .k-wrap{gap:14px}}
.cmp-tabs{display:none}
@media (max-width:860px){
.cmp-tabs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}.cmp-tabs span{font-size:.9rem;color:var(--suave);width:100%}
.cmp-tabs button{border:2px solid #dce4f2;background:#fff;color:var(--tinta);border-radius:999px;padding:9px 14px;font:inherit;font-weight:700;font-size:.92rem;cursor:pointer}
.cmp-tabs button[aria-selected=true]{background:#13232e;border-color:#13232e;color:#fff}
.cmp-scroll{overflow:hidden}.cmp{min-width:0;table-layout:fixed}
.cmp th:nth-child(n+3),.cmp td:nth-child(n+3){display:none}
.cmp[data-sel="3"] :is(th,td):nth-child(3),.cmp[data-sel="4"] :is(th,td):nth-child(4),.cmp[data-sel="5"] :is(th,td):nth-child(5){display:table-cell}
.cmp tbody th{width:36%;min-width:0;position:static}.cmp thead th:first-child{position:static}
.cmp th,.cmp td{padding:12px 8px;font-size:.88rem}.cmp-t{font-size:.78rem}.cmp thead th img{width:40px}
}
.vchart-f .vcol i{background:#e8913a}
.funnel{display:flex;align-items:stretch;gap:10px}
.fstep{flex:1;display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid var(--line);border-radius:12px;min-width:0}
.fstep strong{font-size:1.8rem;line-height:1.1}
.fbar{display:block;height:8px;background:var(--line);border-radius:4px;overflow:hidden;margin:4px 0}.fbar i{display:block;height:100%;background:var(--brand);border-radius:4px}
.farrow{align-self:center;color:var(--muted);font-size:1.3rem}
@media (max-width:760px){.funnel{flex-direction:column}.farrow{transform:rotate(90deg)}}
.ofbar{--of-bg:#0b0b0b;--of-acc:#ff5d6c;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:9px 16px;font-size:.95rem;background:var(--of-bg);color:#fff;text-align:center;line-height:1.35}
.ofbar b{color:var(--of-acc);letter-spacing:.06em}.ofbar s{opacity:.65}.ofbar .cd{font-variant-numeric:tabular-nums;background:rgba(255,255,255,.14);padding:3px 10px;border-radius:999px}
.ofbar a{color:#111;background:var(--of-acc);border-radius:999px;padding:5px 12px;font-weight:700;text-decoration:none}
@media (max-width:600px){.ofbar{font-size:.85rem;gap:8px}}
.k-was{font-size:.8em;opacity:.6;margin-left:4px;font-weight:600}
.k-buy-was{font-size:1.4rem;text-decoration:line-through;opacity:.55;margin:6px 0 -4px;font-weight:700}
.k-buy-tag.k-buy-tag-of{background:var(--of-bg);color:var(--of-acc)}
.k-buy-env s{opacity:.6}
.of-kinds{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:6px 0 4px}
.of-kinds label{border:2px solid var(--line);border-radius:12px;padding:12px;display:flex;gap:8px;align-items:flex-start;cursor:pointer}
.of-kinds label.on{border-color:var(--brand);background:var(--brand-soft)}
.of-kinds small{display:block;color:var(--muted);font-weight:400;margin-bottom:6px}
.of-ship{display:flex;gap:8px;align-items:center;margin-top:8px}
.of-quick{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.of-quick button{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:4px 10px;font:inherit;font-size:.82rem;cursor:pointer}
.of-colors{display:flex;gap:10px;flex-wrap:wrap}.of-colors label{display:flex;align-items:center;gap:6px;border:2px solid var(--line);border-radius:999px;padding:6px 12px;font-size:.9rem;cursor:pointer}
.of-colors label.on{border-color:var(--text)}.of-colors input{position:absolute;opacity:0}.of-colors i{width:16px;height:16px;border-radius:50%;display:inline-block}
#ofPrev{border-radius:10px;margin-top:4px}
.badge-prog{background:#e8f0ff;color:#2856b8}
@media (max-width:760px){.of-kinds{grid-template-columns:1fr}}
.cmp-switch{display:inline-flex;background:#fff;border:2px solid #dce4f2;border-radius:999px;padding:4px;gap:4px;margin:0 0 18px}
.cmp-switch a{padding:10px 20px;border-radius:999px;font-weight:700;text-decoration:none;color:var(--tinta)}
.cmp-switch a[aria-selected=true]{background:#13232e;color:#fff}
.cmp-intro{margin:0 0 16px;color:var(--suave)}
.cmp.cmp-n3{min-width:700px}
.cmp thead th img[src*="icono"]{border-radius:12px;width:48px}
.cmp-ghost{color:var(--tinta);border:2px solid #dce4f2}
@media (max-width:860px){.cmp.cmp-n3{min-width:0}}
.dlv-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
.dlv-opt{display:flex;align-items:center;gap:10px;border:2px solid var(--line);border-radius:12px;padding:12px 14px;cursor:pointer}
.dlv-opt.on{border-color:var(--brand);background:var(--brand-soft)}
.dlv-opt span{flex:1}.dlv-opt small{display:block;color:var(--muted);font-size:.85rem}.dlv-opt em{font-style:normal;font-weight:700}.dlv-opt em.free{color:var(--ok)}
.dlv-list{margin-top:12px;display:grid;gap:8px}.dlv-list[hidden]{display:none}
.pt{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:10px 12px;cursor:pointer;position:relative}
.pt.on{border:2px solid var(--brand)}
.pt small{display:block;color:var(--muted);font-size:.85rem}
.pt-ic{width:28px;height:28px;border-radius:8px;background:#2b9a59;color:#fff;display:grid;place-items:center;font-weight:700;flex:0 0 auto}
.pt-tag{position:absolute;right:10px;top:10px;font-size:.72rem;background:#fdecee;color:#8a5a00;border-radius:999px;padding:2px 8px}
@media (max-width:600px){.dlv-opts{grid-template-columns:1fr}.pt-tag{position:static;display:inline-block;margin-top:4px}}
.pp-box{border:2px solid var(--line);border-radius:12px;padding:14px;margin:4px 0 16px}

/* ===== Portada renovada (v86): hero en vivo, las 3 de la mañana, opiniones arriba y barra de compra en el móvil ===== */
.k-trust{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:20px 0 0;color:#c9d0de;font-size:.95rem}
.k-trust a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:6px}.k-trust a:hover b{color:var(--lampara)}
.k-trust .stars{color:var(--lampara)}.k-trust .stars-off{color:rgba(255,255,255,.25)}
.k-trust + .k-chips{margin-top:18px}
.k-phone-in .t i{transition:background .3s,color .3s}
.k-phone-in .t i.is-on{background:#46d483;color:#05210f}
.k-phone-in .n.is-new{animation:k-pop .6s ease-out}
.k-phone-in polyline{transition:all .6s ease}
.k-tag{transition:background .3s,color .3s}
.k-tag.is-on{background:#46d483;color:#05210f}
@keyframes k-pop{0%{opacity:.2;transform:translateY(6px)}60%{opacity:1;transform:translateY(-2px)}100%{transform:none}}

.k-noche3{background:#fff;color:var(--tinta)}
.k-n3-tabs{display:inline-flex;gap:4px;padding:5px;border-radius:999px;background:#e9eef8;margin-bottom:22px}
.k-n3-tabs button{border:0;background:transparent;font:inherit;font-weight:700;font-size:1rem;color:var(--marron);padding:12px 22px;min-height:46px;border-radius:999px;cursor:pointer;transition:background .2s,color .2s}
.k-n3-tabs button[aria-selected="true"]{background:var(--noche);color:#fff}
.k-n3-tabs button:focus-visible{outline:3px solid var(--marca);outline-offset:2px}
.k-n3-panel{display:grid;grid-template-columns:1.1fr 1fr;border-radius:32px;overflow:hidden;background:linear-gradient(180deg,#0b1024,#151d3c);color:#e8ecf5;min-height:420px;animation:k-fade .35s ease-out}
.k-n3-text{padding:40px 40px 36px}
.k-n3-clock{font-family:var(--disp);font-weight:700;font-size:3.2rem;line-height:1;margin:0 0 20px;color:#ffc2c8;font-variant-numeric:tabular-nums}
.k-n3-text ol{margin:0;padding-left:24px;display:grid;gap:10px;font-size:1.12rem;line-height:1.45}
.k-n3-text ol li::marker{color:#7f8aa3;font-weight:700}
.k-n3-text .ok{color:#46d483;font-family:var(--disp);font-size:1.15em}
.k-n3-res{margin:24px 0 0;font-size:1.2rem;line-height:1.4}
.is-movil .k-n3-res b{color:#ff9a8f}.is-gl .k-n3-res b{color:#46d483}
.k-n3-note{margin:10px 0 0;color:#9aa3b6;font-size:.95rem}
.k-n3-scene{position:relative;overflow:hidden;min-height:300px}
.k-n3-table{position:absolute;left:0;right:0;bottom:0;height:20%;background:linear-gradient(180deg,#3b2b1e,#22170e);box-shadow:0 -1px 0 #4d3a28}
.k-n3-glare{position:absolute;inset:0;background:radial-gradient(55% 60% at 50% 66%,rgba(236,241,255,.6),rgba(236,241,255,.12) 55%,transparent 75%)}
.k-n3-mob{position:absolute;left:50%;bottom:calc(20% - 6px);width:96px;height:178px;transform:translateX(-50%) rotate(-4deg);border-radius:18px;background:#fbfcff;border:5px solid #11131a;box-shadow:0 0 90px 40px rgba(225,233,255,.45);display:flex;flex-direction:column;gap:9px;padding:26px 12px}
.k-n3-mob i{display:block;height:9px;border-radius:5px;background:#cfd6e6}.k-n3-mob i:first-child{width:60%;height:22px;background:#9fb0cf}.k-n3-mob i:last-child{width:80%}
.k-n3-soft{position:absolute;inset:0;background:radial-gradient(45% 45% at 50% 62%,rgba(70,212,131,.2),transparent 70%)}
.k-n3-scene picture img{position:absolute;left:50%;bottom:calc(20% - 24px);width:min(46%,190px);height:auto;transform:translateX(-50%);filter:brightness(.88) drop-shadow(0 14px 18px rgba(0,0,0,.5))}
@keyframes k-fade{from{opacity:0}to{opacity:1}}

.k-rv{background:var(--crema2)}
.k-rv .reviews-note{color:var(--suave)}

.k-sticky{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:60;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 8px 8px 20px;border-radius:999px;background:#13232e;color:#fff;box-shadow:0 14px 40px rgba(0,0,0,.35);transform:translateY(160%);transition:transform .3s ease}
.k-sticky.is-on{transform:none}
.k-sticky p{margin:0;display:flex;flex-direction:column;line-height:1.2}
.k-sticky p b{font-family:var(--disp);font-size:1.3rem}.k-sticky p s{opacity:.6;font-size:.85rem;margin-left:4px}
.k-sticky p span{font-size:.8rem;color:#aab3c6}
.k-sticky .k-btn{padding:13px 26px;box-shadow:none}
@media (min-width:861px){.k-sticky{display:none}}
@media (max-width:860px){body.has-sticky .k-foot{padding-bottom:110px}.k-n3-panel{grid-template-columns:1fr}.k-n3-scene{min-height:240px;order:-1}.k-n3-text{padding:28px 24px 30px}.k-n3-clock{font-size:2.6rem}}
@media (max-width:520px){.k-n3-tabs{display:flex}.k-n3-tabs button{flex:1;padding:12px 10px}}
@media (prefers-reduced-motion:reduce){.k-n3-panel,.k-phone-in .n.is-new{animation:none}.k-sticky,.k-tag,.k-phone-in .t i,.k-phone-in polyline,.k-n3-tabs button{transition:none}}
.k-trust{flex-direction:column;align-items:flex-start;gap:4px}
.k-trust-g{color:#aab3c6}
.k-n3-photo{min-height:100%}
.k-n3-photo picture,.k-n3-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;transform:none;filter:none;left:0;bottom:auto}
.k-n3-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0d1329 0,rgba(13,19,41,.35) 22%,transparent 45%);pointer-events:none}
@media (max-width:860px){.k-n3-photo{min-height:300px}.k-n3-photo::after{background:linear-gradient(0deg,#0d1329 0,transparent 35%)}}
.k-n3-scene.k-n3-photo picture{position:absolute;inset:0;display:block}
.k-n3-scene.k-n3-photo picture img{position:absolute;inset:0;left:0;bottom:auto;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 45%;transform:none;filter:none}
.k-n3-panel{grid-template-columns:minmax(300px,.8fr) 1.35fr}
@media (max-width:860px){.k-n3-panel{grid-template-columns:1fr}.k-n3-scene.k-n3-photo{min-height:0;aspect-ratio:16/10}}
@media (min-width:861px){.k-n3-panel{min-height:480px}}
.k-rv{background:#fff}
/* Hero: la foto de la mesilla "recibe" la lectura (también en el móvil, donde no hay arco) */
.k-photo::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 3px rgba(70,212,131,0),inset 0 0 0 rgba(70,212,131,0);transition:box-shadow .5s ease;pointer-events:none}
.k-photo.is-hit::after{box-shadow:inset 0 0 0 3px rgba(70,212,131,.9),inset 0 0 60px rgba(70,212,131,.35)}
@media (max-width:520px){.k-tag{display:block;left:auto;right:14px;top:14px;font-size:.8rem;padding:7px 12px}}
@media (prefers-reduced-motion:reduce){.k-photo::after{transition:none}}
/* Aviso para iPhone en la página de compra y enlace en los chips de la portada */
.iphone-check{margin-top:10px;padding:12px 14px;border-radius:12px;background:var(--brand-soft);line-height:1.5}
.k-chips li a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.k-buy-small a{color:inherit;font-weight:700}
/* Guía gratuita para familias (guia.php) */
.guia-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.guia-cover{float:right;width:160px;height:auto;margin:0 0 12px 18px;border-radius:10px;box-shadow:0 14px 30px rgba(15,24,56,.25)}
.guia-info h2{font-size:1.35rem;margin:0 0 10px}
.guia-list{padding-left:20px;margin:0 0 14px;line-height:1.5}.guia-list li{margin-bottom:6px}
.guia-band{display:grid;grid-template-columns:150px 1fr auto;gap:26px;align-items:center}
.guia-band img{width:150px;height:auto;border-radius:10px;box-shadow:0 14px 30px rgba(0,0,0,.35);transform:rotate(-3deg)}
@media (max-width:860px){.guia-grid{grid-template-columns:1fr}.guia-band{grid-template-columns:1fr;text-align:left}.guia-band img{width:120px}}
.tut-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.tut-two div{border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--surface)}@media(max-width:600px){.tut-two{grid-template-columns:1fr}}

/* App: capturas en un móvil */
.app-shots{margin:8px 0 28px}
.app-shots h2{margin-bottom:2px}
.shots{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:14px 2px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.shots::-webkit-scrollbar{display:none}
.shot{flex:0 0 230px;scroll-snap-align:start;margin:0}
.phone{border-radius:34px;padding:8px;background:#0b0f22;box-shadow:0 0 0 1px #2a3360,0 14px 30px rgba(7,11,31,.35)}
.phone img{display:block;width:100%;height:auto;border-radius:27px}
.shot figcaption{padding:12px 4px 0;font-size:14px;line-height:1.45}
.shot figcaption strong{display:block;margin-bottom:2px;color:var(--text)}
.shot figcaption span{color:var(--muted)}
.shots-nav{display:flex;gap:10px;justify-content:center}
.shots-nav button{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--text);font-size:22px;cursor:pointer}
@media (max-width:560px){.shot{flex-basis:72%}.shots-nav{display:none}}

/* Portada v98: antes/después plegado, bloque de la app y gratis + actualizaciones juntos */
.k-before{margin-top:22px;background:#fff;border-radius:22px;padding:4px 22px;box-shadow:0 10px 30px rgba(16,26,62,.06)}
.k-before summary{cursor:pointer;padding:16px 0;font-weight:700;color:var(--tinta);list-style:none;display:flex;gap:10px;align-items:center}
.k-before summary::-webkit-details-marker{display:none}
.k-before summary::after{content:"+";margin-left:auto;font-size:1.4rem;color:#2a6fd6}
.k-before[open] summary::after{content:"−"}
.k-before summary span{background:#e3ecfb;color:#1d4f9a;border-radius:99px;padding:3px 10px;font-size:.8rem;flex:0 0 auto}
.k-before ol{margin:0 0 12px;padding-left:22px;display:grid;gap:7px;color:var(--suave);line-height:1.45}
.k-before p{margin:0 0 18px;color:var(--suave);font-size:.92rem}
.k-appb-row{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:8px 0 26px}
.k-appb-row figure{margin:0}
.k-appb-ph{border-radius:30px;padding:7px;background:#070b1f;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 20px 40px rgba(0,0,0,.35);max-width:240px;margin:0 auto}
.k-appb-ph img{display:block;width:100%;height:auto;border-radius:24px}
.k-appb-row figcaption{text-align:center;margin-top:14px;color:#aab3c6;font-size:.95rem;line-height:1.4}
.k-appb-row figcaption b{display:block;color:#fff;font-family:var(--disp);font-size:1.1rem;margin-bottom:2px}
.k-appb-list{list-style:none;padding:0;margin:0 0 26px;display:grid;grid-template-columns:1fr 1fr;gap:10px 26px;color:#aab3c6}
.k-appb-list b{color:#eef1f8}
.k-upd-mini{margin-top:34px;background:#fff;border-radius:28px;padding:26px;box-shadow:0 10px 30px rgba(16,26,62,.08);align-items:center}
.k-upd-mini h3{margin:0 0 8px;font-size:1.25rem}.k-upd-mini p{margin:0;color:var(--suave);line-height:1.55}
@media (max-width:700px){
 .k-appb-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;margin:8px -20px 22px;padding:6px 20px 4px;scrollbar-width:none}
 .k-appb-row::-webkit-scrollbar{display:none}
 .k-appb-row figure{flex:0 0 62%;scroll-snap-align:center}
 .k-appb-list{grid-template-columns:1fr}
 .k-free{grid-template-columns:1fr 1fr !important;gap:10px}
 .k-free div{padding:18px 10px}
 .k-free p.p{font-size:1.9rem}
 .k-upd-mini{padding:20px}
}
@media (max-width:520px){
 .k-steps{gap:10px}
 .k-steps li{display:grid;grid-template-columns:46px 1fr;column-gap:14px;padding:16px 16px;border-radius:20px}
 .k-steps .ic{width:46px;height:46px;border-radius:14px;margin:0;grid-row:span 2}.k-steps .ic svg{width:22px;height:22px}
 .k-steps .num{font-size:1.6rem;right:14px;top:8px}
 .k-steps h3{font-size:1.05rem;margin:0 0 4px;padding-right:22px}.k-steps p{font-size:.95rem}
 .k-band{padding:64px 0}
}

/* ===== Portada v99: arreglos (modo oscuro, móvil) y animaciones suaves ===== */
/* Las bandas claras siempre usan los colores claros, aunque el móvil esté en modo oscuro */
.k-crema,.k-noche3,.k-strip,.k-buy,.k-upd{--text:#13232e;--muted:#566973;--brand:#0e7c86;--line:#d6e0e3;--surface:#fff;--bg:#f2f5f5;color-scheme:light}

/* Preguntas frecuentes: el «+» a la derecha (ya no se pega al borde) y gira al abrir */
.k-crema .faq details{border-bottom-color:#dce4f2}
.k-crema .faq summary{list-style:none;display:flex;align-items:center;gap:14px;color:var(--tinta);padding:16px 0;transition:color .2s}
.k-crema .faq summary::-webkit-details-marker{display:none}
.k-crema .faq summary::after{content:"+";flex:0 0 auto;margin-left:auto;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e3ecfb;color:#1d4f9a;font-size:1.4rem;line-height:1;transition:rotate .25s ease,background-color .2s}
.k-crema .faq details[open] summary::after{rotate:45deg;background:#ff5d6c}
.k-crema .faq summary:hover{color:var(--marca)}
.k-crema .faq details p{color:var(--muted)}

/* Portada en el móvil: la foto de la pantalla sale justo después de los botones y el teléfono ya no la tapa */
@media (max-width:860px){
 .k-hero-grid{gap:0}
 .k-hero-grid > div:first-child{display:contents}
 .k-hero h1{order:1}.k-lead{order:2}.k-hero .k-btns{order:3}.k-trust{order:5}.k-chips{order:6}.k-tipline{order:4}
 .k-scene{order:4;min-height:0;height:clamp(290px,84vw,460px);width:100%;max-width:560px;margin:30px auto 6px}
 .k-photo{width:76%}
 .k-phone{width:190px;bottom:0;scale:.8;transform-origin:0 100%}
}
@media (max-width:520px){
 .k-hero{padding-top:36px}
 .k-phone{scale:.62;left:10px}
 .k-hero .k-btns .k-btn{flex:1 1 auto}
}

/* Botones: suben un poco y brillan al pasar el ratón; se «hunden» al pulsar */
.k-btn,.k-strip a{transition:translate .2s ease,scale .15s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,filter .2s ease}
@media (hover:hover){
 .k-btn-main:hover,.k-strip a:hover{filter:brightness(1.05)}
 .k-btn-main:hover{box-shadow:0 14px 36px rgba(255,93,108,.5)}
 .k-hero .k-btn-ghost:hover,.k-night .k-btn-ghost:hover{border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.07)}
}

/* La pestaña elegida de «Las 3 de la mañana»: el fondo oscuro se desliza */
.k-n3-tabs{position:relative}
.k-n3-tabs button{position:relative;z-index:1}
.k-n3-tabs.has-pill::before{content:"";position:absolute;top:5px;bottom:5px;left:0;width:var(--pw);translate:var(--px) 0;border-radius:999px;background:var(--noche);transition:translate .35s cubic-bezier(.2,.7,.2,1),width .35s cubic-bezier(.2,.7,.2,1)}
.k-n3-tabs.has-pill button[aria-selected="true"]{background:transparent}

/* Todo lo que se mueve, solo si el sistema no pide reducir movimiento */
@media (prefers-reduced-motion:no-preference){
 /* Aparición al bajar (el script de la portada marca los bloques con data-rv) */
 body [data-rv][data-rv]{opacity:0;translate:0 22px;transition:opacity .7s ease,translate .7s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i,0) * 90ms)}
 body [data-rv][data-rv].is-in{opacity:1;translate:none}

 /* Portada: la foto y el teléfono entran al cargar; luego el teléfono «flota» muy despacio */
 .k-photo{animation:k-in .8s cubic-bezier(.2,.7,.2,1) both}
 .k-phone{animation:k-in-side .9s .15s cubic-bezier(.2,.7,.2,1) both,k-float 7s 1.3s ease-in-out infinite}
 .k-tag{animation:k-in .5s .8s ease-out both}
 .k-arc{animation:k-show .6s .9s ease-out both}

 /* Botones y tarjetas (solo con ratón) */
 .k-btn:active,.k-strip a:active{scale:.97}
 .k-steps li,.k-free>div,.k-upd-mini,.k-appb-ph,.k-buy-ph img{transition:translate .25s ease,box-shadow .25s ease}
 .k-steps .ic{transition:scale .25s ease}
 @media (hover:hover){
  .k-btn:hover,.k-strip a:hover{translate:0 -2px}
  .k-steps li:hover,.k-free>div:hover,.k-upd-mini:hover{translate:0 -4px;box-shadow:0 18px 40px rgba(16,26,62,.14)}
  .k-steps li:hover .ic{scale:1.08}
  .k-appb-row figure:hover .k-appb-ph{translate:0 -6px}
  .k-buy:hover .k-buy-ph img{translate:0 -6px}
 }

 /* Preguntas: la respuesta aparece suave */
 .k-crema .faq details[open] > :not(summary),.k-before[open] > :not(summary){animation:k-drop .3s ease-out}
}
@keyframes k-in{from{opacity:0;translate:0 18px}}
@keyframes k-in-side{from{opacity:0;translate:-26px 14px}}
@keyframes k-float{0%,100%{translate:0 0}50%{translate:0 -6px}}
@keyframes k-show{from{opacity:0}}
@keyframes k-drop{from{opacity:0;translate:0 -6px}}
@media (prefers-reduced-motion:reduce){.k-crema .faq summary::after,.k-n3-tabs.has-pill::before{transition:none}}
@media print{[data-rv]{opacity:1!important;translate:none!important}}

/* ---------- Escribir a un cliente (v100) ---------- */
.dm-results { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dm-results li { border-bottom: 1px solid var(--line); }
.dm-results a { display: flex; flex-direction: column; gap: 2px; padding: 12px 4px; text-decoration: none; color: inherit; }
.dm-results a:hover, .dm-results a:focus-visible { background: var(--bg); }
.dm-to { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.dm-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.dm-tpl-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dm-tpl-btns { display: flex; gap: 6px; }
.dm-tpl-edit { padding: 14px 0; border-bottom: 1px solid var(--line); }
.dm-tpl-new { margin-top: 16px; }
.dm-tpl-new summary { cursor: pointer; font-weight: 600; margin-bottom: 10px; }

/* Panel: varias pantallas en un pedido */
.pslot-many{border-left:3px solid var(--line);padding:2px 0 8px 10px;margin-bottom:8px}
.pslot-n{font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}

/* v107: prueba de 14 días, Klarna y Telegram junto al precio */
.k-buy-try{margin:10px 0 2px;font-size:.92rem;line-height:1.45;color:var(--text)}
.k-buy-try b{color:var(--ok,#1a7f4b)}
.k-tg{display:inline-flex;align-items:center;font-weight:700;color:#229ed9;text-decoration:none;white-space:nowrap}
.k-tg:hover{text-decoration:underline}

/* v109: WhatsApp en lugar de Telegram */
.k-wa{color:#1a9e52}

/* v111: avisos de oferta con dibujos (Navidad, Reyes y Día Mundial de la Diabetes) */
.ofbar{position:relative;overflow:hidden}
.ofbar-rojo,.ofbar-reyes,.ofbar-azul{padding-left:58px;padding-right:58px;background-repeat:repeat-x;background-position:center center}   /* v239: una sola fila de copos, centrada (antes salían cortados) */
.ofbar-rojo::before,.ofbar-rojo::after,.ofbar-reyes::before,.ofbar-reyes::after,.ofbar-azul::before,.ofbar-azul::after{content:"";position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;background:no-repeat center/contain}
.ofbar-rojo::before,.ofbar-reyes::before,.ofbar-azul::before{left:16px}
.ofbar-rojo::after,.ofbar-reyes::after,.ofbar-azul::after{right:16px}
.ofbar-rojo{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%2248%22%3E%3Cpath%20d%3D%22M30.0%2010.0L30.0%2022.0M24.8%2013.0L35.2%2019.0M24.8%2019.0L35.2%2013.0M95.0%2027.5L95.0%2036.5M91.1%2029.8L98.9%2034.2M91.1%2034.2L98.9%2029.8M150.0%209.0L150.0%2019.0M145.7%2011.5L154.3%2016.5M145.7%2016.5L154.3%2011.5M62.0%2035.0L62.0%2041.0M59.4%2036.5L64.6%2039.5M59.4%2039.5L64.6%2036.5M125.0%2021.0L125.0%2027.0M122.4%2022.5L127.6%2025.5M122.4%2025.5L127.6%2022.5%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.28%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E")}
.ofbar-rojo::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 40%22%3E%3Cpath d=%22M6 31C9 16 18 8 28 9C33 10 35 15 34 20L30 18C30 24 30 28 31 31Z%22 fill=%22%23e53935%22/%3E%3Crect x=%224%22 y=%2229%22 width=%2230%22 height=%227%22 rx=%223.5%22 fill=%22%23fff%22/%3E%3Ccircle cx=%2233%22 cy=%2220%22 r=%224.5%22 fill=%22%23fff%22/%3E%3C/svg%3E")}.ofbar-rojo::after{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 40%22%3E%3Cpath d=%22M20 3L30 17H25L33 28H7L15 17H10Z%22 fill=%22%232fbf71%22/%3E%3Crect x=%2217%22 y=%2228%22 width=%226%22 height=%227%22 fill=%22%238d5a3b%22/%3E%3Ccircle cx=%2220%22 cy=%224%22 r=%222.6%22 fill=%22%23ffd54a%22/%3E%3Ccircle cx=%2216%22 cy=%2220%22 r=%221.6%22 fill=%22%23ff5252%22/%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%221.6%22 fill=%22%23ffd54a%22/%3E%3C/svg%3E")}
.ofbar-reyes{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%2270%22%3E%3Ccircle cx=%22111%22 cy=%2210%22 r=%221.6%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%2234%22 cy=%2231%22 r=%221.6%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%22163%22 cy=%2210%22 r=%221.6%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%22152%22 cy=%2253%22 r=%221%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%2259%22 cy=%228%22 r=%221.6%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%2237%22 cy=%2240%22 r=%221.2%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%2239%22 cy=%2218%22 r=%221.6%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%2281%22 cy=%2226%22 r=%221%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%22151%22 cy=%2227%22 r=%221.2%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%2227%22 cy=%2211%22 r=%221.6%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%2218%22 cy=%2229%22 r=%221.2%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%22177%22 cy=%2257%22 r=%221.2%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%22122%22 cy=%2261%22 r=%221.2%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%2279%22 cy=%2234%22 r=%221%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%22181%22 cy=%2234%22 r=%221%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3Ccircle cx=%22150%22 cy=%2241%22 r=%221.6%22 fill=%22%23ffe08a%22 opacity=%22.7%22/%3E%3C/svg%3E")}
.ofbar-reyes::before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 40%22%3E%3Cpath d=%22M5 30L7 12L14 20L20 8L26 20L33 12L35 30Z%22 fill=%22%23f5c443%22/%3E%3Crect x=%225%22 y=%2230%22 width=%2230%22 height=%225%22 rx=%221.5%22 fill=%22%23e0a92a%22/%3E%3Ccircle cx=%227%22 cy=%2211%22 r=%222.5%22 fill=%22%23f5c443%22/%3E%3Ccircle cx=%2220%22 cy=%227%22 r=%222.5%22 fill=%22%23f5c443%22/%3E%3Ccircle cx=%2233%22 cy=%2211%22 r=%222.5%22 fill=%22%23f5c443%22/%3E%3Ccircle cx=%2214%22 cy=%2227%22 r=%221.8%22 fill=%22%23e53935%22/%3E%3Ccircle cx=%2220%22 cy=%2227%22 r=%221.8%22 fill=%22%232b8cff%22/%3E%3Ccircle cx=%2226%22 cy=%2227%22 r=%221.8%22 fill=%22%232fbf71%22/%3E%3C/svg%3E")}.ofbar-reyes::after{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 40%22%3E%3Cpath d=%22M20 3L23.5 15L36 15L26 22.5L30 35L20 27.5L10 35L14 22.5L4 15L16.5 15Z%22 fill=%22%23ffe08a%22/%3E%3C/svg%3E")}
.ofbar-azul{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22260%22 height=%2280%22 opacity=%22.22%22%3E%3Ccircle cx=%2240%22 cy=%2210%22 r=%2222%22 fill=%22none%22 stroke=%22%238fc0ff%22 stroke-width=%227%22/%3E%3Ccircle cx=%22150%22 cy=%2252%22 r=%2212%22 fill=%22none%22 stroke=%22%238fc0ff%22 stroke-width=%225%22/%3E%3Ccircle cx=%22225%22 cy=%2220%22 r=%2216%22 fill=%22none%22 stroke=%22%238fc0ff%22 stroke-width=%226%22/%3E%3C/svg%3E")}
.ofbar-azul::before,.ofbar-azul::after{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 40%22%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%2214%22 fill=%22none%22 stroke=%22%238fc0ff%22 stroke-width=%226%22/%3E%3C/svg%3E")}
@media (max-width:600px){.ofbar-rojo,.ofbar-reyes,.ofbar-azul{padding-left:44px;padding-right:44px}.ofbar-rojo::before,.ofbar-rojo::after,.ofbar-reyes::before,.ofbar-reyes::after,.ofbar-azul::before,.ofbar-azul::after{width:26px;height:26px}.ofbar-rojo::before,.ofbar-reyes::before,.ofbar-azul::before{left:10px}.ofbar-rojo::after,.ofbar-reyes::after,.ofbar-azul::after{right:10px}}

/* v112: «Por qué gluclink» y etiquetas de la caja de compra */
.k-why .k-h2{text-align:center;margin-bottom:6px}.k-why-sub{text-align:center;color:#5b6773;margin:0 0 22px}
.k-why-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
.k-why-g>div{background:#fff;border-radius:16px;padding:18px 18px 16px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.k-why-g span{font-size:30px;line-height:1}.k-why-g h3{margin:8px 0 6px;font-size:1.08rem}.k-why-g p{margin:0;color:#4b5763;font-size:.95rem;line-height:1.45}
.k-pills{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 6px}.k-pills span{background:#e3f3ec;color:#0b5d48;border-radius:999px;padding:5px 12px;font-weight:600;font-size:.9rem}

/* v113: Nightscout de pago */
.ns-prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:18px 0 8px;max-width:620px}
.ns-pr{border:2px solid var(--line,#dfe5ea);border-radius:16px;padding:16px;text-align:center;background:var(--card,#fff)}
.ns-pr b{display:block;font-size:2rem;margin:8px 0 0;line-height:1.1}.ns-pr span{font-weight:700}.ns-pr small{display:block;color:var(--muted,#5b6773);margin-top:4px}
.ns-pr-best{border-color:#0e7c86;background:rgba(14,124,134,.07)}
.ns-tag{display:inline-block;background:#0e7c86;color:#fff!important;border-radius:999px;font-size:.78rem;font-weight:700;padding:3px 10px}.ns-tag-g{background:#5b6773}
.ns-need td{vertical-align:top}.ns-need .pos{color:#0b7a4b}.ns-need .neg{color:#c2410c}
.ns-steps{display:flex;gap:8px;list-style:none;padding:0;margin:0 0 14px;counter-reset:s}.ns-steps li{flex:1;text-align:center;font-size:.8rem;padding:6px 4px;border-radius:8px;background:rgba(0,0,0,.06)}
.ns-steps li.done{background:#d7efe2;color:#0b5d48}.ns-steps li.on{background:#0e7c86;color:#fff}
.ns-pay-price{font-size:1.1rem}.ns-pay-price strong{font-size:1.6rem;margin-right:6px}
.ns-paystate{display:inline-block;border-radius:999px;padding:2px 9px;font-size:.78rem;font-weight:700}
.ns-paystate.ok{background:#d7efe2;color:#0b5d48}.ns-paystate.warn{background:#fde9c8;color:#8a5a00}.ns-paystate.bad{background:#f3d6d6;color:#8a1f1f}.ns-paystate.muted{background:rgba(0,0,0,.07);color:#5b6773}
.ns-tool{margin:8px 0 0}.ns-tool input[type=date],.ns-tool input[type=text],.ns-tool select{padding:4px 6px;font-size:.85rem;width:auto}
.ns-tool{margin:8px 0 0}.ns-tool input[type=date],.ns-tool input[type=text],.ns-tool select{padding:4px 6px;font-size:.85rem;width:auto}

/* v113: caja de compra más limpia */
.k-buy-try2{margin:12px 0 0;font-weight:700;color:#0b6b3a;font-size:.95rem}
.k-buy-links{margin:16px 0 0;font-size:.9rem;display:flex;gap:8px 12px;justify-content:center;align-items:center;flex-wrap:wrap}
.k-buy-links a{color:#13232e;font-weight:700}.k-buy-links span{opacity:.4}.k-buy-lnk svg{vertical-align:-3px}
.k-buy-qty{opacity:.8;margin-top:10px}
@media (max-width:600px){.k-buy-links{flex-direction:column;gap:10px}.k-buy-links span{display:none}}

/* ===== v116: logo de las dos gotas (roja y verde) ===== */
@font-face { font-family: "Outfit"; src: url("/assets/fonts/Outfit-var.woff") format("woff"); font-weight: 300 800; font-display: swap; }
.brand-v2 { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.brand-v2 .brand-drops { width: 34px; height: 34px; flex: none; }
.brand-v2 .brand-word { font-family: "Outfit", "Atkinson Hyperlegible", sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; display: flex; flex-direction: column; }
.brand-v2 .brand-word small { font-size: .6rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; opacity: .65; margin-top: 5px; }
.brand-v2:hover { text-decoration: none; }
.k-foot .brand-v2 .brand-drops { width: 40px; height: 40px; }
.k-foot .brand-v2 .brand-word { font-size: 1.7rem; }

/* ===== v116: «Por qué gluclink» con tarjetas ===== */
.k-why2 .k-h2 { max-width: 20em; }
.w2-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.w2-c { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 22px; padding: 24px 22px; overflow: hidden; }
.w2-c::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, var(--c, rgba(90,169,255,.25)), transparent 70%); top: -70px; right: -60px; }
.w2-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.07); margin-bottom: 18px; position: relative; }
.w2-c h3 { font-size: 1.25rem; margin: 0 0 8px; color: #fff; position: relative; }
.w2-c p { margin: 0; color: #aab3c6; font-size: .97rem; line-height: 1.5; position: relative; }
@media (max-width: 960px) { .w2-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .w2-g { grid-template-columns: 1fr; } }

/* ===== v116: App gratis, con 3 móviles juntos ===== */
.a2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; }
.a2-moviles { position: relative; height: 520px; max-width: 470px; }
.a2-m { position: absolute; width: 200px; height: auto; border-radius: 34px; border: 9px solid #05070e; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.a2-m:nth-child(1) { left: 0; top: 40px; transform: rotate(-8deg); }
.a2-m:nth-child(2) { left: 26%; top: 0; z-index: 2; }
.a2-m:nth-child(3) { left: 52%; top: 50px; transform: rotate(8deg); }
.a2-txt { position: relative; z-index: 3; }
.a2-lista { display: grid; gap: 12px; margin: 22px 0 26px; padding: 0; list-style: none; }
.a2-lista li { display: flex; gap: 12px; align-items: flex-start; color: #c9d0de; }
.a2-lista li b { color: #fff; }
.a2-lista li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7cf0b0, #46d483); margin-top: 3px; }
@media (max-width: 960px) { .a2 { grid-template-columns: 1fr; } .a2-moviles { height: 470px; width: 100%; margin: 0 auto; } }
@media (max-width: 520px) { .a2-moviles { height: 380px; } .a2-m { width: 150px; border-width: 7px; border-radius: 26px; } .a2-m:nth-child(3) { left: auto; right: 0; } .a2-m:nth-child(2) { left: 50%; margin-left: -75px; } }

/* ===== v116: Blog ===== */
.bl-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.bl-chips button { background: var(--surface); border: 1px solid var(--line); color: var(--text); font: inherit; font-weight: 700; font-size: .95rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.bl-chips button.on { background: #101a3e; border-color: #101a3e; color: #fff; }
.bl-sec { margin: 0 0 34px; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.bl-card:hover { text-decoration: none; border-color: var(--brand); box-shadow: 0 14px 34px rgba(16,26,62,.12); }
.bl-cover { aspect-ratio: 16/8; display: grid; place-items: center; overflow: hidden; }
.bl-cover img { width: 100%; height: 100%; object-fit: cover; }
.bl-t { padding: 16px 18px 20px; display: grid; gap: 7px; align-content: start; }
.bl-cat { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bl-cat::before { content: ""; width: 9px; height: 9px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: var(--cc, #ff5d6c); flex: none; }
.bl-card h3 { font-size: 1.1rem; margin: 0; line-height: 1.3; }
.bl-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.bl-meta { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .bl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bl-grid { grid-template-columns: 1fr; } }
.rd-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.rd-col h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 10px; }
.rd-col h3 i { width: 12px; height: 12px; border-radius: 50%; background: #9aa3b6; }
.rd-marcha h3 i { background: #ff5d6c; } .rd-pronto h3 i { background: #5aa9ff; } .rd-hecho h3 i { background: #46d483; }
.rd-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; }
.rd-item b { display: block; }
.rd-item p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.rd-bar { display: block; height: 7px; border-radius: 6px; background: var(--line); margin-top: 10px; overflow: hidden; }
.rd-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ff5d6c, #46d483); }
@media (max-width: 820px) { .rd-cols { grid-template-columns: 1fr; } }
.b-art { max-width: 760px; margin: 0 auto; padding: 10px 0 10px; }
.b-art h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 10px 0 12px; }
.b-lead { font-size: 1.2rem; color: var(--muted); }
.b-meta { color: var(--muted); font-size: .95rem; }
.b-cover { width: 100%; border-radius: 22px; margin: 16px 0 24px; aspect-ratio: 16/9; object-fit: cover; }
.b-body { font-size: 1.1rem; line-height: 1.75; }
.b-body h2 { font-size: 1.6rem; margin: 1.5em 0 .5em; }
.b-body h3 { font-size: 1.25rem; margin: 1.3em 0 .4em; }
.b-body blockquote { margin: 1.2em 0; padding: 14px 20px; border-left: 4px solid #ff5d6c; background: var(--brand-soft); border-radius: 0 14px 14px 0; }
.b-fig { margin: 1.5em 0; } .b-fig img { width: 100%; border-radius: 16px; }
.b-fig figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; text-align: center; }
.b-aviso { margin-top: 30px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }


/* ===== v116: web entonada con el logo (rojo, azul y blanco). El panel no cambia. ===== */
body.is-site { --brand: #2a6fd6; --brand-soft: #e5eefc; --marca: #2a6fd6; }
@media (prefers-color-scheme: dark) { }
body.is-site .btn:not(.btn-line):not(.btn-ghost):not(.btn-danger):not(.btn-sm) { background: linear-gradient(135deg, #ff6f7c, #e8455a); color: #fff; }
body.is-site .topnav .nav-cta, body.is-site .topnav .nav-cta:hover { background: linear-gradient(135deg, #ff6f7c, #e8455a); color: #fff; }
body.is-site .k-btn-main { background: linear-gradient(135deg, #ff6f7c, #e8455a); color: #fff; box-shadow: 0 10px 28px rgba(255,93,108,.32); }
body.is-site .k-hero h1 em { color: #8cc6ff; }
body.is-site .k-eyebrow { color: #ffc2c8; }
body.is-site .k-kick { color: #1d4f9a; }
body.is-site .k-night .k-kick, body.is-site .k-hero .k-kick { background: rgba(78,168,255,.16); color: #9fd0ff; }
body.is-site .k-buy-pay { background: linear-gradient(160deg, #1b2a66, #101a3e); color: #fff; }
body.is-site .k-buy .k-buy-btn { background: linear-gradient(135deg, #ff6f7c, #e8455a); color: #fff; }
body.is-site .k-buy-pay .k-buy-tag { background: rgba(255,255,255,.12); color: #fff; }
body.is-site .k-buy-pay a { color: #9fd0ff; }
body.is-site .k-strip a { color: #fff; }
body.is-site .k-tag { color: #13232e; } body.is-site .k-tag.is-on { color: #05210f; }

/* ===== v116: portada, la pantalla flotando con un brillo suave (sin móvil) ===== */
.h3-scene { position: relative; min-height: 500px; display: grid; place-items: center; }
.h3-halo { position: absolute; width: 440px; height: 440px; max-width: 95%; border-radius: 50%; background: radial-gradient(circle at 40% 45%, rgba(78,168,255,.32), transparent 62%), radial-gradient(circle at 65% 62%, rgba(255,93,108,.24), transparent 55%); filter: blur(18px); animation: h3-halo 8s ease-in-out infinite; }
.h3-foto { position: relative; z-index: 1; width: min(340px, 78%); animation: h3-flota 6s ease-in-out infinite; }
.h3-foto img { width: 100%; height: auto; filter: drop-shadow(0 34px 44px rgba(0,0,0,.5)); }
.h3-gota { position: absolute; z-index: 0; width: 26px; opacity: .75; animation: h3-sube 7s ease-in-out infinite; }
.h3-gota.g1 { left: 8%; top: 22%; }
.h3-gota.g2 { right: 10%; top: 12%; width: 18px; animation-delay: -2.5s; }
.h3-gota.g3 { right: 6%; bottom: 18%; width: 14px; animation-delay: -4.5s; opacity: .55; }
.h3-chip { position: absolute; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; background: rgba(16,26,62,.85); border: 1px solid rgba(255,255,255,.14); color: #eef1f8; font-weight: 700; font-size: .92rem; padding: 9px 16px; border-radius: 999px; box-shadow: 0 12px 26px rgba(0,0,0,.35); }
.h3-chip i { width: 9px; height: 9px; border-radius: 50%; background: #46d483; box-shadow: 0 0 0 0 rgba(70,212,131,.6); animation: h3-pulso 2s ease-out infinite; }
@keyframes h3-flota { 50% { transform: translateY(-14px); } }
@keyframes h3-halo { 50% { transform: scale(1.07); } }
@keyframes h3-sube { 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes h3-pulso { 70% { box-shadow: 0 0 0 9px rgba(70,212,131,0); } 100% { box-shadow: 0 0 0 0 rgba(70,212,131,0); } }
@media (max-width: 860px) { .h3-scene { order: 4; min-height: 0; height: clamp(320px, 90vw, 460px); width: 100%; margin: 26px auto 6px; } .h3-foto { width: min(260px, 62%); } }
@media (prefers-reduced-motion: reduce) { .h3-halo, .h3-foto, .h3-gota, .h3-chip i { animation: none; } }

/* Caja del precio: textos pequeños claros y legibles sobre el azul */
body.is-site .k-buy-pay .k-buy-env, body.is-site .k-buy-pay .k-buy-kl { color: #e6ecfa; }
body.is-site .k-buy-pay .k-buy-try2 { color: #7be3a7; }
body.is-site .k-buy-pay .k-buy-small, body.is-site .k-buy-pay .k-buy-qty { color: #c9d4f2; opacity: 1; }
body.is-site .k-buy-pay .k-buy-links, body.is-site .k-buy-pay .k-buy-links span { color: #c9d4f2; }
body.is-site .k-buy-pay a, body.is-site .k-buy-pay .k-buy-lnk { color: #9fd0ff; }

/* ===== v116: portada, del sensor a la mesilla ===== */
.fl { position: relative; padding: 34px 26px 26px; border-radius: 30px; background: radial-gradient(circle at 80% 30%, rgba(78,168,255,.18), transparent 60%), radial-gradient(circle at 20% 80%, rgba(255,93,108,.14), transparent 60%), rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.fl-row { display: flex; align-items: flex-start; }
.fl-n { flex: 0 0 auto; width: 92px; text-align: center; color: #eef1f8; opacity: .45; transition: opacity .4s, transform .4s; }
.fl-n.on, .fl.quieto .fl-n { opacity: 1; transform: translateY(-4px); }
.fl-n b { display: block; font-size: .92rem; margin-top: 10px; line-height: 1.2; }
.fl-n small { display: block; font-size: .74rem; color: #aab3c6; margin-top: 3px; line-height: 1.3; }
.fl-fin { width: 130px; }
.fl-ic { height: 118px; display: grid; place-items: center; position: relative; }
.fl-sensor span { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, #fff 0 22%, #dfe5ee 23% 58%, #fff 59%); box-shadow: 0 8px 20px rgba(0,0,0,.4), inset 0 0 0 2px #c9d1dd; }
.fl-n.on .fl-sensor span { animation: fl-lat 1.2s ease-out; }
.fl-tel::before { content: ""; position: absolute; width: 62px; height: 112px; border-radius: 14px; background: #05070e; box-shadow: 0 0 0 2px #2a3352, 0 10px 24px rgba(0,0,0,.45); }
.fl-pant { position: relative; width: 52px; height: 100px; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; }
.fl-app1 { background: linear-gradient(180deg, #f2f5f9, #dfe6ef); }
.fl-app1 em { font-style: normal; font-weight: 800; font-size: 1.15rem; color: #1f8a4c; }
.fl-app1 u { width: 34px; height: 3px; border-radius: 2px; background: #46d483; }
.fl-app2 { background: linear-gradient(180deg, #14204a, #0a1230); }
.fl-app2 svg { width: 30px; height: 30px; }
.fl-app2 em { font-style: normal; font-size: .56rem; font-weight: 700; color: #46d483; background: rgba(70,212,131,.15); padding: 2px 6px; border-radius: 99px; }
.fl-n.on .fl-app2 em { animation: fl-parpadeo 1s ease-in-out 2; }
.fl-mesa img { width: 112px; height: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.5)); transition: filter .5s; }
.fl-fin.on .fl-mesa img { filter: drop-shadow(0 0 18px rgba(70,212,131,.55)) drop-shadow(0 14px 18px rgba(0,0,0,.5)); }
.fl-ok { position: absolute; top: 4px; right: 2px; width: 28px; height: 28px; border-radius: 50%; background: #46d483; color: #05210f; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.fl-fin.on .fl-ok, .fl.quieto .fl-ok { transform: scale(1); }
.fl-l { flex: 1 1 auto; position: relative; height: 3px; margin-top: 58px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 6px, transparent 6px 12px); min-width: 14px; }
.fl-l i { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #46d483; box-shadow: 0 0 12px #46d483; opacity: 0; }
.fl-l.on i { animation: fl-viaja 1.1s ease-in-out forwards; }
.fl.quieto .fl-l { background: rgba(70,212,131,.5); }
.fl-pie { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 0; font-weight: 700; color: #eef1f8; min-height: 1.5em; }
.fl-dot { width: 9px; height: 9px; border-radius: 50%; background: #46d483; animation: h3-pulso 2s ease-out infinite; }
@keyframes fl-viaja { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fl-lat { 0% { box-shadow: 0 0 0 0 rgba(255,93,108,.7), 0 8px 20px rgba(0,0,0,.4); } 100% { box-shadow: 0 0 0 18px rgba(255,93,108,0), 0 8px 20px rgba(0,0,0,.4); } }
@keyframes fl-parpadeo { 50% { opacity: .3; } }
@media (max-width: 860px) { .fl { order: 4; width: 100%; max-width: 560px; margin: 28px auto 6px; } }
@media (max-width: 520px) { .fl { padding: 24px 12px 18px; } .fl-n { width: 64px; } .fl-fin { width: 92px; } .fl-ic { height: 92px; transform: scale(.8); } .fl-mesa img { width: 96px; } .fl-l { margin-top: 44px; min-width: 6px; } .fl-n small { display: none; } .fl-n b { font-size: .8rem; margin-top: 4px; } }

/* ===== v116: portada, el móvil manda la glucosa a la pantalla (números que se mueven) ===== */
.h4 { position: relative; min-height: 540px; }
.h4-halo { position: absolute; right: 2%; top: 4%; width: 420px; height: 420px; max-width: 90%; border-radius: 50%; background: radial-gradient(circle at 40% 45%, rgba(78,168,255,.3), transparent 62%), radial-gradient(circle at 65% 62%, rgba(255,93,108,.22), transparent 55%); filter: blur(18px); }
.h4-pant { position: absolute; right: 0; top: 0; width: 72%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.h4-n { font: 500 22px "Atkinson Hyperlegible", Arial, sans-serif; fill: #f2f4f8; }
.h4-u { font: 400 13px Arial, sans-serif; fill: #7d8494; }
.h4-d { font: 400 14px Arial, sans-serif; fill: #e6e9ef; }
.h4-v { font: 400 92px "Arial Narrow", "Roboto Condensed", Arial, sans-serif; }
.h4-flash { fill: rgba(70,212,131,0); stroke: rgba(70,212,131,0); stroke-width: 8; transition: fill .3s, stroke .3s; }
.h4.llega .h4-flash { fill: rgba(70,212,131,.06); stroke: rgba(70,212,131,.75); }
.h4-arc { position: absolute; left: 120px; top: 170px; width: 230px; height: 180px; z-index: 2; }
.h4-tag { position: absolute; right: 12%; top: 6px; z-index: 3; background: #101a3e; color: #eef1f8; border: 1px solid rgba(255,255,255,.16); font-weight: 700; font-size: .88rem; padding: 8px 14px; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: background .3s, color .3s; }
.h4-tag.on { background: #46d483; color: #05210f; border-color: transparent; }
.h4-tel { position: absolute; left: 0; bottom: 20px; z-index: 3; width: 184px; aspect-ratio: 9/18.5; border-radius: 32px; padding: 8px; background: #05070c; box-shadow: 0 0 0 2px #26305a, 0 30px 60px rgba(0,0,0,.55); transform: rotate(-6deg); }
.h4-tel-in { height: 100%; border-radius: 25px; padding: 18px 14px; background: radial-gradient(80% 45% at 50% 32%, rgba(78,168,255,.22), transparent 70%), linear-gradient(180deg, #101a3e, #070b1f); display: flex; flex-direction: column; color: #eef1f8; position: relative; overflow: hidden; }
.h4-tel-top { display: flex; justify-content: space-between; align-items: center; margin: 0; font-weight: 700; font-size: .8rem; }
.h4-tel-top span { display: flex; align-items: center; gap: 5px; } .h4-tel-top svg { width: 18px; height: 18px; }
.h4-tel-top i { font-style: normal; font-size: .62rem; color: #9fb0d8; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.08); transition: background .3s, color .3s; }
.h4-tel-top i.on { color: #05210f; background: #46d483; }
.h4-tel-n { margin: 30px 0 0; text-align: center; font-size: 3.3rem; font-weight: 700; color: #46d483; line-height: 1; }
.h4-tel-s { text-align: center; color: #9aa3b6; font-size: .7rem; margin: 6px 0 0; }
.h4-ondas { position: relative; height: 70px; margin-top: 8px; }
.h4-ondas i { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid rgba(78,168,255,.0); }
.h4.envia .h4-ondas i { animation: h4-onda 1.2s ease-out; }
.h4.envia .h4-ondas i:nth-child(2) { animation-delay: .2s; } .h4.envia .h4-ondas i:nth-child(3) { animation-delay: .4s; }
.h4-tel-c { margin: auto 0 0; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .7rem; color: #c5ccdb; } .h4-tel-c b { color: #46d483; }
@keyframes h4-onda { 0% { transform: scale(.4); border-color: rgba(78,168,255,.9); } 100% { transform: scale(3); border-color: rgba(78,168,255,0); } }
@media (max-width: 860px) { .h4 { order: 4; min-height: 0; height: clamp(330px, 92vw, 500px); width: 100%; max-width: 560px; margin: 26px auto 6px; } .h4-tel { width: 150px; bottom: 0; } .h4-arc { left: 90px; top: 34%; width: 180px; height: 140px; } }
@media (max-width: 520px) { .h4-tel { width: 118px; border-radius: 24px; padding: 6px; } .h4-tel-in { border-radius: 19px; padding: 12px 10px; } .h4-tel-n { font-size: 2.4rem; margin-top: 18px; } .h4-ondas { height: 40px; } .h4-arc, .h4-tag { display: none; } .h4-pant { width: 76%; } }
.h4.llega .h4-flash { stroke-width: 5; stroke: rgba(70,212,131,.6); }
@media (max-width: 520px) { .h4-tel-top span { font-size: .7rem; } .h4-tel-top i { display: none; } .h4-tel-c { font-size: .62rem; padding: 7px; } }
@media (min-width: 861px) { .h4 { min-height: 500px; margin-top: -56px; } .h4-tel { bottom: 34px; } }

/* ===== v116: Nightscout, «¿Lo necesito?» en 2 preguntas ===== */
.ns-q-paso { margin: 20px 0 0; }
.ns-q-p { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; margin: 0 0 12px; }
.ns-q-p span { width: 30px; height: 30px; border-radius: 50%; background: #101a3e; color: #fff; display: grid; place-items: center; font-size: .95rem; flex: none; }
.ns-q-ops { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.ns-q-ops button { text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--text); display: grid; gap: 3px; transition: border-color .2s, background .2s; }
.ns-q-ops button:hover { border-color: var(--brand); }
.ns-q-ops button.on { border-color: var(--brand); background: var(--brand-soft); }
.ns-q-ops b { font-size: 1.05rem; } .ns-q-ops small { color: var(--muted); }
.ns-q-res { margin-top: 20px; border-radius: 18px; padding: 18px 20px; background: var(--bg); border: 1px solid var(--line); }
.ns-q-res p { margin: 0 0 10px; } .ns-q-res p:last-child { margin-bottom: 0; }
.ns-q-big { font-size: 1.35rem; font-weight: 700; }
.ns-q-big.ok { color: #1f8a4c; } .ns-q-big.si { color: #d6304a; } .ns-q-big.duda { color: #2a6fd6; }
.ns-q-precio { font-size: 1.02rem; }
.ns-q-otra { margin: 12px 0 0; } .ns-q-volver { background: none; border: 0; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; padding: 4px 0; }
.ns-q-mas { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 12px; } .ns-q-mas summary { cursor: pointer; font-weight: 700; } .ns-q-mas p { color: var(--muted); margin: 8px 0 0; }
@media (prefers-color-scheme: dark) { body:not(.is-site) .ns-q-big.ok { color: #5fcf8d; } body:not(.is-site) .ns-q-big.si { color: #ff8a95; } body:not(.is-site) .ns-q-big.duda { color: #8cc6ff; } }

/* ===== v116: la guía como un librito de verdad ===== */
.guia-band { grid-template-columns: 190px 1fr auto; gap: 34px; }
.libro { display: block; width: 170px; perspective: 900px; margin: 6px auto; text-decoration: none; }
.libro-tapa { position: relative; display: block; transform: rotateY(-18deg) rotate(-2deg); transform-style: preserve-3d; transition: transform .35s ease; border-radius: 3px 8px 8px 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 24px 44px rgba(0,0,0,.55), 0 0 60px rgba(78,168,255,.25); }
.libro:hover .libro-tapa { transform: rotateY(-8deg) rotate(-1deg); }
.libro-tapa img, .guia-band .libro-tapa img { display: block; width: 100%; height: auto; border-radius: 3px 8px 8px 3px; transform: none; box-shadow: none; }
.libro-tapa::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; z-index: 1; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(255,255,255,.18) 45%, rgba(0,0,0,.2)); }
.libro-tapa::after { content: ""; position: absolute; top: 4px; bottom: 4px; right: -7px; width: 8px; border-radius: 0 4px 4px 0;
  background: repeating-linear-gradient(90deg, #f3f5f8 0 1px, #d9dee6 1px 2px); transform: translateZ(-1px); box-shadow: 2px 0 6px rgba(0,0,0,.3); }
.libro-grande { width: 230px; }
.libro-grande .guia-cover { width: 100%; max-width: none; }
@media (max-width: 860px) { .guia-band { grid-template-columns: 1fr; } .libro { width: 140px; margin: 0 0 6px 8px; } }
@media (prefers-reduced-motion: reduce) { .libro-tapa { transition: none; } }
.libro-tapa { transform: rotateY(-10deg) rotate(-2deg); }
.guia-band { padding-top: 14px; padding-bottom: 14px; }
.libro-grande { float: right; width: 170px; margin: 4px 6px 14px 22px; }
@media (max-width: 600px) { .libro-grande { width: 120px; } }

/* ===== v116: entrar en Mi panel, como Facebook: foto con QR a la izquierda y formulario limpio a la derecha ===== */
.lg2 { display: grid; grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - 64px); background: #fff; color: #13232e; }
.lg2-izq { position: relative; display: grid; place-items: center; padding: 40px 24px; color: #fff;
  background: linear-gradient(180deg, rgba(10,18,48,.55), rgba(10,18,48,.82)), url("/assets/img/noche-gluclink-800.webp") center/cover no-repeat, #101a3e; }
.lg2-izq-in { max-width: 340px; text-align: center; }
.lg2-q { font-size: 1.25rem; font-weight: 700; margin: 0 0 18px; line-height: 1.3; }
.lg2-qr { position: relative; width: 220px; height: 220px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 20px 44px rgba(0,0,0,.4); transition: opacity .3s, filter .3s; }
.lg2-qr-img, .lg2-qr-img svg { width: 100%; height: 100%; display: grid; place-items: center; }
.lg2-qr-logo { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; background: #fff; border-radius: 14px; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.lg2-qr-logo svg { width: 36px; height: 36px; }
.lg2-qr.off { opacity: .35; filter: blur(2px); }
.lg2-qr.ok { box-shadow: 0 0 0 5px #46d483, 0 20px 44px rgba(0,0,0,.4); }
.lg2-spin { width: 34px; height: 34px; border-radius: 50%; border: 4px solid #dfe5ee; border-top-color: #4ea8ff; animation: lg2-g 1s linear infinite; }
@keyframes lg2-g { to { transform: rotate(360deg); } }
.lg2-txt { font-size: .95rem; line-height: 1.5; color: #dbe3f5; margin: 20px 0 6px; }
.lg2-code { font-size: 1.7rem; font-weight: 800; letter-spacing: .06em; margin: 4px 0 0; font-variant-numeric: tabular-nums; }
.lg2-new { margin-top: 14px; background: #fff; color: #101a3e; border: 0; border-radius: 999px; padding: 10px 20px; font: inherit; font-weight: 700; cursor: pointer; }
.lg2-der { display: grid; place-items: center; padding: 40px 24px; border-left: 1px solid #e3e8ef; }
.lg2-form { width: 100%; max-width: 420px; text-align: center; }
.lg2-logo { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.lg2-logo svg { width: 46px; height: 46px; } .lg2-logo b { font-family: "Outfit", sans-serif; font-size: 1.9rem; letter-spacing: -.02em; color: #101a3e; }
.lg2-form h1 { font-size: 1.35rem; font-weight: 700; margin: 0 0 22px; color: #101a3e; letter-spacing: 0; }
.lg2-form .acc-sub { color: #566973; text-align: left; margin: -10px 0 18px; font-size: .98rem; }
.lg2-form .acc-field { display: block; text-align: left; margin: 0 0 12px; }
.lg2-form .acc-field > span:first-child { display: block; font-size: .88rem; color: #566973; margin: 0 0 5px; font-weight: 400; }
.lg2-form input[type=email], .lg2-form input[type=password], .lg2-form input[type=text] { width: 100%; box-sizing: border-box; height: 54px; padding: 0 16px; font-size: 1.05rem; color: #13232e; background: #fff; border: 1px solid #cdd5df; border-radius: 12px; }
.lg2-form input:focus { outline: none; border-color: #2a6fd6; box-shadow: 0 0 0 3px rgba(42,111,214,.18); }
.lg2-form .acc-pw { position: relative; display: block; } .lg2-form .acc-eye { color: #566973; }
.lg2-form .acc-btn { width: 100%; height: 48px; margin-top: 6px; border-radius: 999px; background: linear-gradient(135deg, #ff6f7c, #e8455a); color: #fff !important; font-size: 1.05rem; font-weight: 700; border: 0; }
.lg2-form .acc-small { color: #566973; margin: 16px 0 0; font-size: .95rem; }
.lg2-form .acc-small a { color: #13232e; text-decoration: none; font-weight: 700; } .lg2-form .acc-small a:hover { text-decoration: underline; }
.lg2-form .acc-alert { text-align: left; background: #fdecee; color: #8f1d2c; border: 1px solid #f5c2c8; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; }
.lg2-form .acc-flash { text-align: left; background: #e6f6ec; color: #1f6b3e; border-radius: 12px; padding: 12px 14px; }
.lg2-form .acc-small + .acc-small { font-size: .85rem; font-weight: 400; }
.lg2-crear { display: block; margin-top: 26px; padding-top: 22px; border-top: 1px solid #e3e8ef; }
.lg2-crear a { display: block; height: 46px; line-height: 44px; border: 2px solid #2a6fd6; border-radius: 999px; color: #2a6fd6 !important; font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .lg2 { grid-template-columns: 1fr; min-height: 0; } .lg2-der { order: -1; border-left: 0; } .lg2-izq { padding: 34px 20px 40px; } .lg2-qr { width: 190px; height: 190px; } }

/* Página del móvil al escanear */
.qrm { display: grid; place-items: center; padding: 40px 16px 60px; }
.qrm-card { width: 100%; max-width: 420px; text-align: center; background: #fff; color: #13232e; border: 1px solid #e3e8ef; border-radius: 20px; padding: 28px 22px; }
.qrm-logo svg { width: 52px; height: 52px; }
.qrm-card h1 { font-size: 1.5rem; margin: 10px 0 8px; color: #101a3e; }
.qrm-code { font-size: 2rem; font-weight: 800; letter-spacing: .06em; margin: 6px 0 18px; color: #101a3e; }
.qrm-btn { display: block; width: 100%; height: 50px; line-height: 50px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff6f7c, #e8455a); color: #fff !important; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; margin: 8px 0; }
.qrm-line { background: #fff; color: #2a6fd6 !important; border: 2px solid #2a6fd6; line-height: 46px; }
.qrm-no { background: none; border: 0; color: #566973; font: inherit; cursor: pointer; padding: 10px; }
.qrm-small { font-size: .9rem; color: #566973; margin: 6px 0 10px; }
.qrm-err { color: #b3261e; }
.qrm-btn { display: flex; align-items: center; justify-content: center; line-height: 1.2; }

/* ===== v116: preguntas frecuentes en dos columnas (en el móvil, una) ===== */
.faq:has(.faq2) { max-width: none; }
.faq2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
.faq2 summary { padding-top: 12px !important; padding-bottom: 12px !important; font-size: 1rem; }
@media (max-width: 860px) { .faq2 { grid-template-columns: 1fr; } }

/* v116: Mi panel, la entrada pegada a «¿Tienes dudas?» (sin franja oscura ni hueco gris) */
.acc:has(.lg2) { padding-bottom: 0; min-height: 0; background: #fff; }
.is-account .help-band { margin-top: 0; }

/* ===== v116: formulario de pedido más bonito ===== */
.ck-pasos { display: flex; gap: 10px; list-style: none; padding: 0; margin: 4px 0 22px; flex-wrap: wrap; }
.ck-pasos li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; }
.ck-pasos li + li::before { content: ""; width: 36px; height: 2px; background: var(--line); margin-right: 4px; }
.ck-pasos i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--text); font-size: .9rem; }
.ck-pasos .hecho i { background: #46d483; color: #05210f; }
.ck-pasos .ahora i { background: linear-gradient(135deg, #ff6f7c, #e8455a); color: #fff; }
.ck-pasos .ahora { color: var(--text); }
.ck { gap: 26px; }
.ck .ck-form { background: transparent; border: 0; padding: 0; margin: 0; box-shadow: none; }
.ck fieldset.field, .ck .ck-bloque, .ck .pw-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 12px; margin: 0 0 16px; box-shadow: 0 6px 20px rgba(16,26,62,.05); }
.ck fieldset.field legend, .ck .pw-box legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-size: 1.15rem; font-weight: 700; }
.ck fieldset.field > *:not(legend), .ck .pw-box > *:not(legend) { clear: both; }
.ck-h { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; margin: 0 0 14px; }
.ck-h small { font-weight: 400; color: var(--muted); font-size: .9rem; }
details.ck-extra { padding-bottom: 14px; }
details.ck-extra summary { cursor: pointer; list-style: none; margin: 0; }
details.ck-extra summary::-webkit-details-marker { display: none; }
details.ck-extra summary::after { content: "+"; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
details.ck-extra[open] summary { margin-bottom: 14px; } details.ck-extra[open] summary::after { content: "−"; }
.ck .field > span { font-weight: 700; font-size: .92rem; color: var(--muted); }
.ck input[type=text], .ck input[type=email], .ck input[type=tel], .ck input[type=password], .ck textarea { border-radius: 12px; border: 1px solid var(--line); min-height: 50px; padding: 10px 14px; font-size: 1rem; background: var(--bg); }
.ck input:focus, .ck textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(42,111,214,.15); background: var(--surface); }
.ck .qty-row { border-radius: 16px; padding: 8px 10px; margin-bottom: 10px; gap: 14px; }
.ck .qty-row.on { border-color: #46d483; background: rgba(70,212,131,.08); }
.qty-img { width: 44px; height: auto; flex: none; }
.ck .qty-name { font-weight: 700; font-size: 1.08rem; flex: 1; }
.ck .stepper .step { border-radius: 12px; }
.ck .dlv-opt { border-radius: 16px; }
.ck .dlv-opt.on { border-color: #46d483; background: rgba(70,212,131,.08); }
.ck .check { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; }
.ck .ck-final { padding-bottom: 18px; }
.ck .ck-pagar { width: 100%; min-height: 60px; font-size: 1.15rem; border-radius: 999px; margin-top: 6px; background: linear-gradient(135deg, #ff6f7c, #e8455a); color: #fff; box-shadow: 0 10px 26px rgba(255,93,108,.3); }
.ck .summary { top: 84px; border-radius: 22px; padding: 22px; box-shadow: 0 14px 40px rgba(16,26,62,.08); }
.ck .summary .sum-img { filter: drop-shadow(0 18px 22px rgba(16,26,62,.25)); }
.ck-pagos { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.ck-pagos span { font-size: .78rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; background: var(--bg); }
.ck-garant { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.ck-garant li { display: flex; gap: 9px; align-items: center; }
.ck-garant li::before { content: ""; width: 9px; height: 9px; background: #ff5d6c; border-radius: 0 50% 50% 50%; transform: rotate(45deg); flex: none; }
.ck-garant li:nth-child(even)::before { background: #4ea8ff; }

/* ===== v116: Contacto más bonito ===== */
.ct-head p { max-width: 44em; }
.ct-vias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 8px; }
.ct-via { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
a.ct-via:hover, .ct-wa:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(16,26,62,.08); text-decoration: none; }
.ct-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.ct-wa .ct-ic { background: rgba(37,211,102,.14); }
.ct-via b { display: block; } .ct-via small { display: block; color: var(--muted); font-size: .85rem; margin: 2px 0 6px; overflow-wrap: anywhere; }
.ct-lnk, .ct-via .ct-lnk { font-size: .9rem; font-weight: 700; color: var(--brand) !important; }
.ct { gap: 26px; }
.ct .ct-form { border-radius: 22px; padding: 26px; box-shadow: 0 10px 30px rgba(16,26,62,.06); }
.ct-h { font-size: 1.35rem; margin: 0 0 16px; }
.ct-motivos { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0 0 18px; }
.ct-motivos legend { grid-column: 1 / -1; font-weight: 700; margin-bottom: 8px; }
.ct-motivos label { margin: 0 !important; border-radius: 16px !important; padding: 14px !important; align-items: flex-start !important; }
.ct-motivos label span { display: grid; gap: 2px; }
.ct-mi { font-style: normal; font-size: 1.4rem; line-height: 1; margin-bottom: 6px; }
.ct-motivos label:has(input:checked) { border-color: #2a6fd6 !important; background: var(--brand-soft); }
.ct input[type=text], .ct input[type=email], .ct input[type=tel], .ct textarea { border-radius: 12px; min-height: 50px; background: var(--bg); }
.ct input:focus, .ct textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(42,111,214,.15); background: var(--surface); }
.ct .check { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ct .ct-enviar { width: 100%; border-radius: 999px; min-height: 56px; }
.ct-side { display: grid; gap: 16px; align-content: start; position: sticky; top: 84px; }
.ct-side .card { margin: 0; border-radius: 22px; }
.ct-yo { display: flex; gap: 14px; align-items: center; }
.ct-yo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--brand-soft); }
.ct-yo b { font-size: 1.1rem; } .ct-yo p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.ct-antes h2 { font-size: 1.2rem; margin: 0 0 12px; }
.ct-antes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ct-antes li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.ct-antes li span { font-size: 1.15rem; flex: none; }
@media (max-width: 960px) { .ct-vias { grid-template-columns: 1fr 1fr; } .ct-side { position: static; } }
@media (max-width: 560px) { .ct-vias, .ct-motivos { grid-template-columns: 1fr; } }

/* ===== v116: Mi panel por dentro, al estilo de la web nueva =====
   Arriba una banda azul noche con el saludo y las pestañas; debajo, fondo claro con tarjetas blancas.
   Las tarjetas de glucosa siguen oscuras: parecen pantallas gluclink de verdad. */
body.is-site .acc:not(:has(.lg2)) { background: #f4f7fc; color: #13232e; min-height: 70vh; padding-bottom: 50px;
  --glass: #fff; --hair: #e1e7f0; --ink: #13232e; --mut: #566973; --lamp: #2a6fd6; }
body.is-site .acc .acc-head { background: linear-gradient(180deg, #101a3e, #14204a); padding: 30px 0 0; color: #fff; }
body.is-site .acc .acc-head .acc-hello { color: #9fb0d8; }
body.is-site .acc .acc-head h1 { color: #fff; }
body.is-site .acc .acc-out { color: #dbe3f5 !important; border-color: rgba(255,255,255,.2); }
body.is-site .acc .acc-out:hover { background: rgba(255,255,255,.08); }
body.is-site .acc .acc-tabs { border-bottom: 0; margin-top: 18px; gap: 6px; padding-bottom: 0; }
body.is-site .acc .acc-tabs a { color: #9fb0d8 !important; border-bottom: 0; border-radius: 14px 14px 0 0; padding: 12px 16px; }
body.is-site .acc .acc-tabs a:hover { color: #fff !important; background: rgba(255,255,255,.06); }
body.is-site .acc .acc-tabs a.on { color: #101a3e !important; background: #f4f7fc; }
body.is-site .acc .acc-body { padding-top: 28px; }
body.is-site .acc a { color: #2a6fd6; }
body.is-site .acc .acc-h2, body.is-site .acc .acc-h3 { color: #101a3e; }
body.is-site .acc .acc-h2 { display: flex; align-items: center; gap: 10px; }
body.is-site .acc .acc-h2::before { content: ""; width: 11px; height: 11px; background: #ff5d6c; border-radius: 0 50% 50% 50%; transform: rotate(45deg); box-shadow: 10px -3px 0 -3px #4ea8ff; margin-right: 8px; flex: none; }
body.is-site .acc .acc-panel, body.is-site .acc .acc-list, body.is-site .acc .acc-dev, body.is-site .acc .acc-empty { background: #fff; border-color: #e1e7f0; box-shadow: 0 8px 24px rgba(16,26,62,.06); }
body.is-site .acc .acc-li b, body.is-site .acc .acc-dev b { color: #13232e; }
body.is-site .acc .acc-dev:hover { border-color: #4ea8ff; }
body.is-site .acc .acc-field input, body.is-site .acc .acc-field select { background: #f4f7fc; color: #13232e; border-color: #d3dbe7; border-radius: 12px; }
body.is-site .acc .acc-field input:focus, body.is-site .acc .acc-field select:focus { outline: none; border-color: #2a6fd6; box-shadow: 0 0 0 3px rgba(42,111,214,.15); background: #fff; }
body.is-site .acc .acc-seg { background: #eef2f8; border-color: #e1e7f0; }
body.is-site .acc .acc-seg input:checked + span { background: #101a3e; color: #fff; }
body.is-site .acc .acc-btn { background: linear-gradient(135deg, #ff6f7c, #e8455a); color: #fff !important; }
body.is-site .acc .acc-btn-line { background: #fff; color: #2a6fd6 !important; box-shadow: inset 0 0 0 2px #2a6fd6; }
body.is-site .acc .acc-link { color: #2a6fd6; }
body.is-site .acc .acc-src { background: #eef2f8; color: #566973; }
body.is-site .acc .acc-flash { background: #e6f6ec; color: #1f6b3e; border-color: #bfe6cd; }
body.is-site .acc .acc-alert { background: #fdecee; color: #8f1d2c; border-color: #f5c2c8; }
/* las tarjetas de glucosa: oscuras, como la pantalla */
body.is-site .acc .acc-glu { --mut: #9aa3b6; --hair: rgba(255,255,255,.08); background: linear-gradient(180deg, #0f1530, #070a16); border: 0; color: #eef1f8; box-shadow: 0 14px 34px rgba(16,26,62,.22); }
body.is-site .acc .acc-glu .acc-src { background: rgba(255,255,255,.08); color: #aab3c6; }
body.is-site .acc .acc-glu a:not(.acc-btn) { color: #9fd0ff; }
body.is-site .acc .acc-glu .acc-text, body.is-site .acc .acc-glu p { color: #aab3c6; }
@media (max-width: 700px) { body.is-site .acc .acc-tabs a { padding: 10px 12px; } }

/* v116: la guía en el móvil: librito pequeño y centrado, texto con margen */
@media (max-width: 860px) {
  .guia-band { text-align: center; justify-items: center; gap: 18px; }
  .guia-band .libro { width: 120px; margin: 0 auto; }
  .guia-band .k-kick { margin-left: auto; margin-right: auto; }
  .guia-band .k-btn { width: 100%; max-width: 360px; }
}
/* v116: portada de cada guía */
.guide-cover { width: 100%; height: auto; border-radius: 18px; margin: 6px 0 18px; aspect-ratio: 1200/630; object-fit: cover; }
.bl-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ===== v116: página de Nightscout privado ===== */
.nsp-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; background: radial-gradient(120% 140% at 100% 0%, #24366f 0%, #101a3e 55%, #0b1230 100%); color: #eef1fb; border-radius: 28px; padding: 36px 36px 32px; margin: 18px 0 18px; overflow: hidden; }
.nsp-hero h1 { color: #fff; margin: 10px 0 12px; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; }
.nsp-kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(78,168,255,.16); color: #9ccbff; font-weight: 700; font-size: .85rem; }
.nsp-lead { color: #c9d1ee; font-size: 1.08rem; line-height: 1.6; margin: 0 0 18px; } .nsp-lead strong { color: #fff; }
.nsp-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.nsp-pr { border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 14px 12px; text-align: center; background: rgba(255,255,255,.05); }
.nsp-pr b { display: block; font-size: 2rem; line-height: 1.1; margin: 8px 0 0; color: #fff; } .nsp-pr span { font-weight: 700; color: #eef1fb; } .nsp-pr small { display: block; color: #8f9bc4; margin-top: 4px; font-size: .82rem; }
.nsp-pr-best { border: 2px solid #ff5d6c; background: rgba(255,93,108,.1); }
.nsp-tag { display: inline-block; background: #ff5d6c; color: #fff; border-radius: 999px; font-size: .76rem; font-weight: 700; padding: 3px 10px; } .nsp-tag-g { background: rgba(255,255,255,.16); }
.nsp-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.nsp-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #ff5d6c; color: #fff !important; font-weight: 700; text-decoration: none; }
.nsp-btn:hover { background: #ff7380; } .nsp-btn-l { background: transparent; border: 1.5px solid rgba(255,255,255,.35); } .nsp-btn-l:hover { background: rgba(255,255,255,.08); }
.nsp-note { color: #8f9bc4; font-size: .82rem; line-height: 1.5; margin: 0; } .nsp-note strong { color: #c9d1ee; }
.nsp-hero-img { margin: 0; } .nsp-hero-img img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.nsp-feats { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nsp-feats li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.nsp-feats b { display: block; margin: 10px 0 2px; } .nsp-feats small { color: var(--muted); font-size: .88rem; line-height: 1.45; display: block; }
.nsp-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(78,168,255,.14); display: grid; place-items: center; }
.nsp-ic svg { width: 22px; height: 22px; fill: none; stroke: #2a7fe0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nsp-q { border-radius: 24px; }
.nsp-q .ns-q-p span { background: #ff5d6c; }
.nsp-q .ns-q-ops button:hover { border-color: #4ea8ff; }
.nsp-q .ns-q-ops button.on { border-color: #4ea8ff; background: rgba(78,168,255,.12); }
.nsp-q .ns-q-volver, .nsp-q .ns-q-mas summary { color: #2a7fe0; }
.nsp-q .btn, .nsp-form .btn[type=submit] { background: #ff5d6c; border-color: #ff5d6c; color: #fff; border-radius: 999px; }
.nsp-form, .nsp-como { border-radius: 24px; }
.nsp-pasos { list-style: none; counter-reset: p; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nsp-pasos li { counter-increment: p; background: var(--bg); border-radius: 16px; padding: 14px; margin: 0; font-size: .95rem; }
.nsp-pasos li::before { content: counter(p); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #101a3e; color: #fff; font-weight: 700; margin-bottom: 8px; }
@media (prefers-color-scheme: dark) { body:not(.is-site) .nsp-ic svg { stroke: #8cc6ff; } body:not(.is-site) .nsp-q .ns-q-volver, body:not(.is-site) .nsp-q .ns-q-mas summary { color: #8cc6ff; } body:not(.is-site) .nsp-pasos li::before { background: #ff5d6c; } }
@media (max-width: 900px) { .nsp-hero { grid-template-columns: 1fr; padding: 26px 20px; } .nsp-hero-img { order: -1; } .nsp-feats, .nsp-pasos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .nsp-feats, .nsp-pasos { grid-template-columns: 1fr; } .nsp-pr b { font-size: 1.6rem; } .nsp-hero { border-radius: 22px; } }

/* ===== v116: panel de administración con los colores nuevos ===== */
.is-admin { --night: #101a3e; --night-2: #1b2a5c; --night-ink: #eef1fb; --night-muted: #9aa6cf; --brand: #2a6fd6; --brand-soft: #e8f1ff; }
@media (prefers-color-scheme: dark) { .is-admin { --brand: #8cc6ff; --brand-ink: #0b1230; --brand-soft: #1b2a5c; --bg: #0b1230; --surface: #121c44; --line: #26346a; } }
.brand-adm .brand-drops { width: 30px; height: 30px; } .brand-adm .brand-word { font-size: 1.32rem; }
.brand-tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ff8a95; background: rgba(255,93,108,.14); border-radius: 999px; padding: 3px 9px; margin-left: 2px; }
.is-admin .side-group { color: #7f8bb8; }
html:not(.side-open) .is-admin .side-group { background: #24336a; }
.is-admin .side a { color: #c9d1ee; }
.is-admin .side a:hover { background: #1b2a5c; color: #fff; }
.is-admin .side a.on { background: #ff5d6c; color: #fff; }
.is-admin .side-count { background: #ff5d6c; color: #fff; }
.is-admin .side a.on .side-count { background: #fff; color: #e8475a; }
.is-admin .side-exit:hover { background: #3a1730 !important; }
.is-admin .card h2 { font-size: 1.4rem; }
.is-admin .btn:not(.btn-ghost):not(.btn-line):not(.btn-danger) { border-radius: 999px; }
.is-admin .card { border-radius: 20px; }
/* Inicio del panel */
.ai-head p { margin: 4px 0 0; }
.ai-todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 0 0 16px; }
.ai-task { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid #ff5d6c; border-radius: 16px; padding: 14px 16px; color: var(--text); text-decoration: none; font-weight: 600; }
.ai-task b { font-size: 1.7rem; line-height: 1; color: #e8475a; min-width: 1.4em; }
.ai-task i { margin-left: auto; font-style: normal; color: var(--muted); } .ai-task:hover { border-color: #ff5d6c; }
.ai-ok { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid #1f8a4c; border-radius: 16px; padding: 16px 18px; grid-column: 1 / -1; }
.ai-ok > span { width: 40px; height: 40px; border-radius: 50%; background: rgba(31,138,76,.12); color: #1f8a4c; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
.ai-ok b, .ai-ok small { display: block; } .ai-ok small { color: var(--muted); }
.ai-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 18px; }
.ai-num { background: var(--night); color: #fff; border-radius: 20px; padding: 18px; text-decoration: none; display: block; }
.ai-num small { color: var(--night-muted); font-weight: 700; font-size: .85rem; display: block; }
.ai-num b { display: block; font-size: 2.2rem; line-height: 1.1; margin: 6px 0 4px; font-family: "Outfit", "Atkinson Hyperlegible", sans-serif; }
.ai-num b span { font-size: 1rem; color: var(--night-muted); font-weight: 600; }
.ai-num em { font-style: normal; color: #9ccbff; font-size: .9rem; }
.ai-num:hover { background: var(--night-2); } .ai-warn em { color: #ff8a95; }
.ai-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.ai-card h2 { margin-top: 0; }
.ai-list { list-style: none; margin: 0 0 12px; padding: 0; }
.ai-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ai-list a { color: var(--text); text-decoration: none; } .ai-list a:hover b { text-decoration: underline; }
.ai-list b, .ai-list small { display: block; } .ai-list small { color: var(--muted); }
.ai-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ai-quick a { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--text); background: var(--bg); }
.ai-quick a:hover { border-color: var(--brand); } .ai-quick b { display: block; color: var(--brand); } .ai-quick small { color: var(--muted); }
@media (max-width: 1000px) { .ai-nums { grid-template-columns: 1fr 1fr; } .ai-cols { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ai-quick { grid-template-columns: 1fr; } .ai-num b { font-size: 1.8rem; } }
.side > * { flex-shrink: 0; }   /* los títulos de grupo no se aplastan en pantallas bajas */
/* v116: el avatar de Aitor en Contacto, redondo y sin aplastar */
.ct-yo picture { flex: none; width: 72px; height: 72px; display: block; }
.ct-yo img { display: block; width: 72px; height: 72px; aspect-ratio: 1; max-width: none; object-fit: cover; object-position: center top; }
/* v116: el ejemplo del identificador con el estilo nuevo de la pantalla */
.id-mock { background: #0c122e; color: #8f9bc4; }
.id-mock span { background: #ff5d6c; color: #fff; }

/* ===== v117: recoger en Correos ===== */
.dlv-opt .dlv-ic { flex: none; font-size: 1.5rem; line-height: 1; }
.ck .dlv-opt.on { border-color: #4ea8ff; background: rgba(78,168,255,.1); }
.dlv-cor { margin-top: 12px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 14px; background: var(--bg); }
.dlv-cor[hidden] { display: none; }
.dlv-cor-p { margin: 0 0 8px; }
.dlv-cor-btn { display: inline-flex; align-items: center; gap: 6px; }
.dlv-cor-cerca { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 8px; cursor: pointer; }
.dlv-cor-cerca input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.dlv-cor input[name=oficina]:disabled { opacity: .5; }
.dlv-cor-bus { display: flex; gap: 8px; flex-wrap: wrap; }
.dlv-cor-bus input { flex: 1 1 120px; min-width: 0; max-width: 180px; }
.dlv-cor-list { display: grid; gap: 8px; margin: 12px 0 6px; max-height: 360px; overflow: auto; }
.cor-o { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: var(--surface); }
.cor-o input { margin-top: 4px; flex: none; }
.cor-o span { flex: 1; min-width: 0; }
.cor-o b, .cor-o small { display: block; }
.cor-o small { color: var(--muted); font-size: .86rem; }
.cor-o .cor-h { font-size: .8rem; }
.cor-o em { font-style: normal; font-weight: 700; white-space: nowrap; color: #2a6fd6; }
.cor-o.on { border-color: #4ea8ff; background: rgba(78,168,255,.1); }
.dlv-cor-aviso { background: rgba(255,179,107,.15); border-radius: 10px; padding: 8px 12px; font-size: .9rem; margin: 0; }
.dlv-cor-otra { margin: 6px 0; }
.dlv-cor-otra summary { cursor: pointer; color: #2a6fd6; font-size: .92rem; }
.dlv-cor-otra input { width: 100%; margin-top: 8px; }
.cor-t { display: inline-block; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .02em; border-radius: 999px; padding: 1px 8px; margin-bottom: 3px; background: rgba(255,93,108,.12); color: #c8344a; }
.cor-t-citypaq { background: rgba(78,168,255,.15); color: #1f63c4; }
.chk{background:#eef2f8;padding:56px 0}
.chk-card{max-width:860px;margin:0 auto;background:#fff;border-radius:28px;padding:34px;box-shadow:0 20px 50px rgba(16,26,62,.12);color:#101a3e}
.chk-kick{display:inline-block;padding:4px 12px;border-radius:999px;background:rgba(78,168,255,.14);color:#1f63c4;font-weight:700;font-size:.85rem}
.chk-head h2{font-family:var(--disp);font-size:clamp(1.8rem,3.6vw,2.6rem);margin:10px 0 6px;letter-spacing:-.02em}
.chk-head p{color:#566973;margin:0 0 8px}
.chk-q{margin-top:22px}.chk-p{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.12rem;margin:0 0 12px}
.chk-p span{width:30px;height:30px;border-radius:50%;background:#ff5d6c;color:#fff;display:grid;place-items:center;font-size:.95rem}
.chk-ops{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.chk-ops-2{grid-template-columns:1fr 1fr;max-width:460px}
.chk-ops button{text-align:left;background:#fff;border:2px solid #d6e0e3;border-radius:16px;padding:14px;cursor:pointer;font:inherit;color:#101a3e;display:grid;gap:3px}
.chk-ops button:hover{border-color:#4ea8ff}.chk-ops button.on{border-color:#4ea8ff;background:rgba(78,168,255,.1)}
.chk-ops small{color:#566973;font-size:.85rem}
.chk-r{margin-top:24px;border-radius:20px;padding:22px 24px;background:#f2f5f9;border-left:6px solid #46d483}
.chk-r.chk-si{border-left-color:#4ea8ff}.chk-r.chk-duda{border-left-color:#f5c443}
.chk-big{font-family:var(--disp);font-size:1.6rem;font-weight:800;margin:0 0 6px;color:#1f8a4c}.chk-si .chk-big{color:#1f63c4}.chk-duda .chk-big{color:#9a6b00}
.chk-how{margin:0 0 10px;font-size:1.05rem;line-height:1.5}
.chk-list{margin:0 0 14px;padding-left:18px;color:#33415e}.chk-list li{margin:4px 0}
.chk-btns{display:flex;flex-wrap:wrap;gap:10px}.chk-btns .k-btn-ghost{color:#101a3e;border-color:#101a3e}
.chk-again{background:none;border:0;color:#1f63c4;font:inherit;font-weight:700;margin-top:12px;cursor:pointer;padding:0}
@media(max-width:700px){.chk-ops{grid-template-columns:1fr 1fr}.chk-card{padding:22px;border-radius:22px}}
.chk-btns{align-items:center}.chk-note{font-size:.88rem;color:#566973;margin-left:4px}
@media (prefers-color-scheme: dark){body:not(.is-site) .chk {background:#0b1230}body:not(.is-site) .chk-card {background:#121c44;color:#eef1fb}body:not(.is-site) .chk-head p, body:not(.is-site) .chk-ops small, body:not(.is-site) .chk-note {color:#9aa6cf}body:not(.is-site) .chk-ops button {background:#0f173a;color:#eef1fb;border-color:#26346a}body:not(.is-site) .chk-r {background:#0f173a}body:not(.is-site) .chk-btns .k-btn-ghost {color:#eef1fb;border-color:#eef1fb}}
.chk-hint{margin:-4px 0 12px;font-size:.9rem;color:#566973}
/* v117b: el comprobador va pegado al final de la portada, en el mismo azul (no una tarjeta suelta sobre gris) */
.chk { background: linear-gradient(180deg, #1b2a5c 0%, #16234d 100%); padding: 8px 0 52px; color: #eef1fb; }
.chk-card { max-width: none; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); box-shadow: none; color: #eef1fb; border-radius: 24px; padding: 26px 30px;
  display: grid; grid-template-columns: minmax(240px, .8fr) 1.6fr; gap: 10px 36px; align-items: start; }
.chk-head { grid-row: 1 / span 3; }
.chk-kick { background: rgba(78,168,255,.18); color: #9ccbff; }
.chk-head h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 10px 0 6px; }
.chk-head p, .chk-hint, .chk-note { color: #9aa6cf; }
.chk-q { margin-top: 0; } .chk-q + .chk-q { margin-top: 14px; }
.chk-p { color: #fff; font-size: 1.02rem; }
.chk-ops button { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.chk-ops button:hover { border-color: #4ea8ff; }
.chk-ops button.on { border-color: #4ea8ff; background: rgba(78,168,255,.2); }
.chk-ops small { color: #9aa6cf; }
.chk-ops-2 { max-width: none; }
.chk-r { margin-top: 14px; background: rgba(255,255,255,.07); color: #eef1fb; }
.chk-big { color: #6ee7a0; } .chk-si .chk-big { color: #8cc6ff; } .chk-duda .chk-big { color: #f5c443; }
.chk-btns .k-btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.chk-again { color: #8cc6ff; }
@media (max-width: 860px) { .chk-card { grid-template-columns: 1fr; padding: 22px; } .chk-head { grid-row: auto; } .chk-ops { grid-template-columns: 1fr 1fr; } }

/* v117c: el comprobador tiene su propia página (/funciona.php); en la portada solo queda una franja que lleva a ella */
.k-strip-pix .k-strip-sen{display:inline-block;width:46px;height:46px;border-radius:50%;padding:0!important;background:radial-gradient(circle at 50% 50%,#fff 0 7px,#cfd6e4 8px 15px,#eef1f6 16px)!important;box-shadow:0 2px 6px rgba(19,35,46,.25),inset 0 0 0 1px #c3cad8}
.chk-page{padding:46px 0 60px}
.chk-page .chk-head h1{color:#fff;font-size:clamp(1.9rem,3.4vw,2.6rem);line-height:1.1;margin:10px 0 8px}
.chk-lista .chk-cols{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:18px}
.chk-col{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px 24px}
.chk-col h3{margin:0 0 6px;font-family:var(--disp);font-size:1.25rem}
.chk-col p{margin:0 0 10px;color:var(--muted)}
.chk-col ul{margin:0;padding-left:1.1em;line-height:1.55}.chk-col li{margin:4px 0}
.chk-foot{margin:22px 0 0;font-size:1.05rem}
@media (max-width:860px){.chk-lista .chk-cols{grid-template-columns:1fr}.chk-page{padding:28px 0 40px}}

/* v118: comprobador → preguntar con el mensaje ya escrito y garantía de compatibilidad */
.chk-btns .chk-wa{background:#25d366!important;background-image:none!important;box-shadow:none!important;color:#fff}
.chk-btns .chk-wa:hover{background:#1fb457}
.chk-msg{display:block;flex-basis:100%;margin-top:6px;background:rgba(255,255,255,.08);border-radius:12px;padding:10px 12px;color:#dfe5f7;font-size:.92rem;line-height:1.45}
.chk-msg a{color:#8cc6ff}
.chk-gar{display:block;flex-basis:100%;margin-top:8px;padding-left:22px;position:relative;color:#b9e8cc;font-size:.9rem;line-height:1.45}
.chk-gar::before{content:"✓";position:absolute;left:2px;top:0;color:#6ee7a0;font-weight:700}

/* v118b: en el móvil también se ve el envío (línea azul, «Enviando» y «Llega sola / Recibido en la pantalla»), en pequeño */
@media (max-width: 520px) {
  .h4 { height: clamp(360px, 100vw, 440px); }
  .h4-pant { top: 34px; width: 74%; }
  .h4-tel { left: 6px; }
  .h4-arc { display: block; left: 92px; top: 30%; width: 34%; height: auto; }
  .h4-tag { display: block; right: 4%; top: 0; font-size: .74rem; padding: 6px 11px; border-radius: 11px; }
  .h4-tel-top i { display: inline-block; white-space: nowrap; font-size: .5rem; padding: 1px 5px; }
  .h4-tel-top { gap: 3px; }
}
@media (max-width: 380px) { .h4-tel-top span { font-size: .62rem; } .h4-tel-top i { font-size: .48rem; padding: 1px 4px; } .h4-arc { left: 80px; } }
/* v118c: en el móvil, gota + «Lucía» y «Pantalla conectada» más pequeños para que «Enviando» quepa entero */
@media (max-width: 520px) {
  .h4-tel-top { flex-wrap: nowrap; gap: 2px; }
  .h4-tel-top span { font-size: .6rem; gap: 3px; min-width: 0; }
  .h4-tel-top svg { width: 12px; height: 12px; flex: none; }
  .h4-tel-top i { flex: none; font-size: .5rem; padding: 1px 5px; }
  .h4-tel-c { font-size: .56rem; padding: 6px 7px; border-radius: 9px; }
}
@media (max-width: 380px) { .h4-tel-top span { font-size: .55rem; } .h4-tel-top i { font-size: .46rem; padding: 1px 4px; } }
@media (max-width: 520px) {
  .h4-tel { width: 128px; }
  .h4-tel-in { padding: 12px 7px; }
  .h4-tel-top span { font-size: .56rem; overflow: visible; white-space: nowrap; }
  .h4-tel-top i { font-size: .46rem; padding: 1px 4px; }
}
@media (max-width: 380px) { .h4-tel { width: 122px; } .h4-tel-top span { font-size: .52rem; } .h4-tel-top i { font-size: .43rem; padding: 1px 3px; } }
/* v118i: comprobador, estados «en pruebas» y «sin confirmar» */
.chk-r.chk-prueba{border-left-color:#f5c443}.chk-prueba .chk-big{color:#f5c443}
.chk-r.chk-nc{border-left-color:#9aa6cf}.chk-nc .chk-big{color:#dfe5f7}
.chk-why{margin:0 0 14px;font-size:.95rem;color:#c9d1ee}
.chk-why summary{cursor:pointer;color:#8cc6ff;font-weight:700;padding:6px 0;min-height:32px}
.chk-why p{margin:6px 0 0;line-height:1.5}
.chk-ops-q3{grid-template-columns:1fr 1fr;max-width:560px}
@media (max-width:640px){.chk-ops,.chk-ops-q3{grid-template-columns:1fr 1fr}.chk-btns .k-btn{flex:1 1 100%;text-align:center}}
/* v118i: con la pregunta 3, el resultado se quedaba en la columna de la izquierda */
@media (min-width:861px){.chk-head{grid-row:1 / span 5}.chk-card>.chk-q,.chk-card>.chk-r{grid-column:2}}
/* v118k: guía del reloj (reloj.php) */
.rw{max-width:760px;margin:0 auto}
.rw-top{position:sticky;top:0;z-index:20;background:var(--bg,#f3f6fb);padding:10px 0 8px;margin-bottom:6px}
.rw-bar{height:10px;border-radius:99px;background:#dfe6f1;overflow:hidden}.rw-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#4ea8ff,#46d483);transition:width .4s}
.rw-top p{margin:6px 0 0;font-size:.92rem;color:var(--muted,#566973)}
.rw-need{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}
.rw-need li{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid var(--line,#dfe6ee);border-radius:14px;padding:12px 14px;line-height:1.45}
.rw-need b{display:block}
.rw-ic{flex:0 0 34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(78,168,255,.14);font-size:1.1rem}
.rw-step{background:#fff;border:1px solid var(--line,#dfe6ee);border-radius:22px;padding:20px 20px 18px;margin:16px 0;scroll-margin-top:70px}
.rw-step.done{border-color:#46d483;background:#f6fdf9}
.rw-step h2{display:flex;align-items:center;gap:12px;margin:0 0 6px;font-size:1.3rem;line-height:1.25}
.rw-n{flex:0 0 38px;height:38px;border-radius:50%;background:#ff5d6c;color:#fff;display:grid;place-items:center;font-weight:800;font-size:1.1rem}
.rw-step.done .rw-n{background:#1f8a4c}.rw-step.done .rw-n::after{content:"✓"}.rw-step.done .rw-n span{display:none}
.rw-where{display:inline-flex;gap:6px;align-items:center;font-size:.82rem;font-weight:700;border-radius:99px;padding:3px 10px;margin:0 0 10px}
.rw-where.movil{background:#eaf3ff;color:#1f63c4}.rw-where.reloj{background:#fff1e0;color:#9a5a00}
.rw-body{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:start}
.rw-body ol{margin:0;padding-left:1.3em;line-height:1.6;font-size:1.05rem}.rw-body li{margin:6px 0}
.rw-body li b{background:#fff3c4;border-radius:5px;padding:0 4px}
.rw-tip{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#f2f5f9;font-size:.93rem;line-height:1.45}
.rw-tip.warn{background:#fff6e0}
.rw-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.rw-ok{font:inherit;font-weight:700;border:0;border-radius:99px;padding:12px 20px;background:#101a3e;color:#fff;cursor:pointer;min-height:46px}
.rw-step.done .rw-ok{background:#e6f6ee;color:#1f8a4c}
.rw-help{font-size:.92rem;color:#1f63c4}
.rw-dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}
.rw-dl a{display:grid;gap:2px;text-decoration:none;color:#101a3e;border:2px solid #4ea8ff;border-radius:16px;padding:12px 14px;background:#f4f9ff}
.rw-dl a b{font-size:1rem}.rw-dl small{color:#566973}
.rw-dl a span{font-size:.8rem;font-weight:800;color:#1f63c4}
/* el reloj dibujado */
.rw-watch{width:172px;height:172px;border-radius:50%;background:#222;padding:7px;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.rw-face{width:100%;height:100%;border-radius:50%;background:#0b0f1a;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:0 24px;overflow:hidden}
.rw-row{width:100%;font:600 10px/1.2 system-ui,sans-serif;color:#cfd6ea;background:#1b2233;border-radius:99px;padding:5px 9px;display:flex;justify-content:space-between;align-items:center;gap:6px;white-space:nowrap}
.rw-row.on{background:#4ea8ff;color:#06142e}
.rw-foot{font:700 10px/1.3 system-ui,sans-serif;color:#9fdcff;text-align:center}
.rw-tog{width:18px;height:10px;border-radius:99px;background:#4a5470;position:relative;flex:0 0 18px}.rw-tog::after{content:"";position:absolute;left:1px;top:1px;width:8px;height:8px;border-radius:50%;background:#cfd6ea}
.rw-tog.on{background:#46d483}.rw-tog.on::after{left:9px;background:#fff}
.rw-phone{width:176px;border-radius:18px;background:#121212;border:6px solid #2a2a2a;padding:0 0 12px;font:500 11px/1.35 system-ui,sans-serif;color:#ddd;box-shadow:0 8px 20px rgba(0,0,0,.18);overflow:hidden}
.rw-ph-bar{background:#1e1e1e;padding:9px 10px;font-weight:700;font-size:12px;display:flex;justify-content:space-between}
.rw-ph-bar span{font-size:15px;line-height:1}
.rw-ph-row{display:flex;gap:6px;align-items:center;padding:8px 10px 0}
.rw-ph-in{border-bottom:2px solid #25c2b0;padding:1px 2px;color:#fff;font-weight:600}
.rw-ph-btn{display:inline-block;margin:10px 10px 0;background:#6200ee;color:#fff;font-weight:700;padding:6px 12px;border-radius:2px}
.rw-ph-btn.hl,.rw-ph-menu .hl{outline:3px solid #ffd54a}
.rw-ph-menu{margin:6px 8px 0 auto;width:130px;background:#2b2b2b;border-radius:6px;padding:4px 0;box-shadow:0 4px 10px rgba(0,0,0,.4)}
.rw-ph-menu div{padding:6px 10px}
.rw-ph-tabs{display:flex;justify-content:space-around;padding:10px 6px 8px;border-bottom:2px solid #2d4a86;font-size:10.5px}
.rw-ph-tabs i{display:inline-block;width:9px;height:9px;border-radius:50%;border:2px solid #aaa;margin-right:3px;vertical-align:-2px}
.rw-ph-tabs .on i{border-color:#25c2b0;background:#25c2b0;box-shadow:inset 0 0 0 2px #121212}
.rw-ph-tabs .on{outline:3px solid #ffd54a;border-radius:6px;padding:0 4px}
.rw-ph-file{padding:8px 10px;border-bottom:1px solid #2a2a2a}.rw-ph-file.hl{background:#3a3520}
.rw-pics{display:flex;flex-direction:column;gap:12px;align-items:center}
@media (max-width:600px){.rw-pics{flex-direction:row;justify-content:center;flex-wrap:wrap}.rw-phone{width:160px}}
.rw-done{text-align:center;background:linear-gradient(180deg,#1b2a5c,#16234d);color:#eef1fb;border-radius:24px;padding:26px 20px;margin:22px 0}
.rw-done h2{color:#fff;margin:6px 0}.rw-done p{color:#c9d1ee;margin:6px auto;max-width:520px}
.rw-prob details{background:#fff;border:1px solid var(--line,#dfe6ee);border-radius:14px;margin:8px 0;padding:0 14px}
.rw-prob summary{cursor:pointer;font-weight:700;padding:13px 0;min-height:44px}
.rw-prob details p,.rw-prob details ul{margin:0 0 12px;line-height:1.5}
.rw-ver{font-size:.85rem;color:#566973}
@media (max-width:600px){.rw-body{grid-template-columns:1fr}.rw-watch{margin:2px auto 0}.rw-dl{grid-template-columns:1fr}.rw-step{padding:18px 16px}.rw-step h2{font-size:1.18rem}}
.rw-dl-off{display:grid;gap:2px;color:#566973;border:2px dashed #c5d0dc;border-radius:16px;padding:12px 14px;background:#f6f8fb}
.rw-dl-off>span{font-size:.8rem;font-weight:800}.rw-dl-off b{font-size:1rem}
/* v118k: Mi panel → Reloj */
.rwp{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center;margin:8px 0 16px}
.rwp-watch{line-height:0}
.rwp-box{border:1px solid var(--line,#dfe6ee);border-left:6px solid #46d483;border-radius:16px;padding:16px 18px;background:#fff}
.rwp-box p{margin:0 0 6px}.rwp-no{border-left-color:#9aa6cf}
@media (max-width:560px){.rwp{grid-template-columns:1fr;justify-items:center;text-align:left}}
/* v118k: app.php → «Y en tu reloj» */
.rwa-in{display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:center}
.rwa-fig{margin:0;text-align:center}.rwa-fig svg{display:block;filter:drop-shadow(0 12px 22px rgba(0,0,0,.22));max-width:100%;height:auto}
.rwa-fig figcaption{font-size:.78rem;color:var(--muted,#566973);margin-top:6px}
.rwa-tag{display:inline-block;background:#fff1e0;color:#9a5a00;font-weight:700;font-size:.82rem;border-radius:99px;padding:3px 10px}
.rwa h2{margin:8px 0 6px}
.rwa-early{margin-top:14px;padding:14px 16px;border-radius:14px;background:#f2f5f9;border:1px dashed #b9c6d8}
.rwa-early p{margin:0 0 8px}
@media (max-width:640px){.rwa-in{grid-template-columns:1fr;justify-items:center}.rwa-in>div{justify-self:stretch}.rwa-fig svg{width:190px}}
/* v118l: modo soporte */
.soporte-bar{position:sticky;top:0;z-index:60;background:#ffe9b0;color:#4a3500;font-weight:600;font-size:.92rem;padding:8px 16px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;border-bottom:1px solid #e8c96a}
.soporte-bar a{background:#4a3500;color:#fff;border-radius:8px;padding:4px 12px;text-decoration:none;white-space:nowrap}
/* v118l: portada, consejo «prueba la app antes de comprar» */
.k-tipline{margin:12px 0 0;font-size:.95rem;opacity:.92}
.k-tipline a{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.k-strip-2{display:flex;gap:8px;flex-wrap:wrap}
.k-strip-chk .k-strip-alt{background:transparent!important;border:2px solid currentColor;color:#13203f!important}
.k-buy-tip{margin:10px 0 0;padding:9px 12px;border-radius:12px;background:#fff6dd;border:1px solid #f0dca0;font-size:.88rem;line-height:1.45;color:#3d4a66}
.k-buy-pay .k-buy-tip a{color:#13203f!important;font-weight:800}

/* v119: estado del móvil (solo administrador) */
.ps-box{color:var(--text,#13203f);background:var(--surface,#fff);border:1px solid var(--line,#dfe5ef);border-radius:16px;padding:16px;margin:0 0 18px}
.ps-support{--surface:#fff;--text:#13203f;--muted:#5a6785;--line:#e1e7f0;--bg:#f4f6fb;--ok:#13894a;--ok-soft:#e3f6ea;--bad:#c62f3e;--bad-soft:#fde7ea;--warn:#a86b00;border:2px solid #e8c96a;background:#fffbea;color:#13203f;margin-top:14px}
.ps-hd{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.ps-hd h2{margin:0;font-size:1.1rem}
.ps-only{font-size:.75rem;font-weight:700;background:#fff1c7;color:#7a5500;border-radius:99px;padding:3px 10px}
.ps-ph{border:1px solid var(--line,#dfe5ef);border-radius:14px;padding:12px 14px;margin:10px 0;background:var(--bg,#f6f8fc)}
.ps-ph h3{margin:0 0 2px;font-size:1rem;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ps-sub{color:var(--muted,#5a6785);font-size:.85rem;margin:0 0 8px}
.ps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
.ps-it{background:var(--surface,#fff);border:1px solid var(--line,#dfe5ef);border-radius:10px;padding:8px 10px;font-size:.88rem;overflow-wrap:anywhere}
.ps-it span{display:block;color:var(--muted,#5a6785);font-size:.74rem}
.ps-ok{color:var(--ok,#13894a)}.ps-bad{color:var(--bad,#c62f3e)}.ps-warn{color:var(--warn,#a86b00)}
.ps-pill{font-size:.74rem;border-radius:99px;padding:2px 9px;font-weight:700}
.ps-pill-ok{background:var(--ok-soft,#e3f6ea);color:var(--ok,#13894a)}.ps-pill-bad{background:var(--bad-soft,#fde7ea);color:var(--bad,#c62f3e)}.ps-pill-old{background:var(--line,#e6eaf2);color:var(--muted,#5a6785)}
.ps-log{margin:8px 0 0;font-size:.82rem;color:var(--muted,#5a6785);overflow-wrap:anywhere}
.ps-log b{color:var(--text,#13203f)}
.ps-st-bad{border-color:#f3b8bf}
.ps-old{margin-top:8px}.ps-old summary{cursor:pointer;color:var(--muted,#5a6785);font-size:.85rem;margin-bottom:6px}

/* ===== v120: portada simplificada (aprobada el 12/11/2026). Solo afecta a la portada ===== */
.is-home .k-band{padding:76px 0}
@media (max-width:860px){.is-home .k-band{padding:52px 0}}

/* 1. Cabecera: la pantalla manda, el móvil acompaña */
.pv-price{margin:18px 0 0;font-family:var(--disp);color:#eef1f8;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.pv-price b{font-size:2.1rem;line-height:1}
.pv-price span{color:#b7c2e0;font-family:inherit;font-size:.95rem;font-weight:400}
.pv-v120 .k-btns{margin-top:18px}
.pv-v120 .k-trust{margin-top:14px;margin-bottom:34px}
.pv-v120 .h4-pant{width:84%;right:-2%}
.pv-v120 .h4-tel{width:150px;opacity:.96}
.pv-v120 .h4-arc{left:95px}
@media (max-width:860px){
 .pv-v120 .pv-price{order:3;margin-top:14px}.pv-v120 .k-btns{order:4}.pv-v120 .h4{order:5}.pv-v120 .k-trust{order:6;margin-top:6px}
 .pv-v120 .h4{height:clamp(340px,96vw,520px)}
}
@media (max-width:520px){
 .pv-v120 .h4-pant{width:90%;right:-6%;top:0}
 .pv-v120 .h4-tel{width:92px;left:0;bottom:-6px}
 .pv-v120 .h4-tel-n{font-size:1.9rem;margin-top:12px}
 .pv-v120 .h4-tel-c{display:none}
 .pv-v120 .pv-price b{font-size:1.8rem}
}

/* 2. Las 3 de la mañana, lado a lado */
.pv-n3-g{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:26px}
.pv-n3-c{margin:0;background:#0d1329;color:#eef1f8;border-radius:26px;overflow:hidden;display:flex;flex-direction:column}
.pv-n3-img{aspect-ratio:16/9;overflow:hidden}
.pv-n3-img img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;display:block}
.pv-n3-c figcaption{padding:20px 24px 24px}
.pv-n3-c figcaption p{margin:10px 0 0;color:#c9d1e6;line-height:1.5}
.pv-n3-tag{display:inline-block;font-weight:700;font-size:.85rem;padding:4px 12px;border-radius:99px;background:rgba(255,255,255,.1)}
.is-gl .pv-n3-tag{background:#46d483;color:#05210f}
.pv-n3-res{font-size:1.15rem;color:#fff!important}
.is-movil .pv-n3-res b{color:#ff8a95}.is-gl .pv-n3-res b{color:#46d483}
.pv-n3 .ok{color:#46d483}
.pv-n3-note{margin:16px 0 0;color:var(--suave);font-size:.92rem}
@media (max-width:760px){.pv-n3-g{grid-template-columns:1fr;gap:14px}.pv-n3-img{aspect-ratio:2/1}.pv-n3-c figcaption{padding:16px 18px 18px}}

/* 3. Tres ventajas + app en una franja */
.pv-why-g{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media (max-width:860px){.pv-why-g{grid-template-columns:1fr;gap:10px}.pv-why .w2-c{padding:16px 18px;display:grid;grid-template-columns:46px 1fr;column-gap:14px}.pv-why .w2-ic{width:46px;height:46px;margin:0;grid-row:span 2}.pv-why .w2-ic svg{width:24px;height:24px}.pv-why .w2-c h3{font-size:1.08rem;margin:0 0 4px}.pv-why .w2-c p{font-size:.93rem}}
.pv-app{display:grid;grid-template-columns:150px 1fr;gap:36px;align-items:center;margin-top:34px;padding:28px 32px;border-radius:28px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}
.pv-app-m{width:100%;height:auto;border-radius:24px;box-shadow:0 20px 50px rgba(0,0,0,.45)}
.pv-app h3{margin:6px 0 12px;font-size:1.45rem;line-height:1.2}
.pv-app-k{margin:0;color:#7fb8ff;font-weight:700;font-size:.85rem;letter-spacing:.02em}
.pv-app .a2-lista{margin:0 0 14px}
.pv-app-c{color:#9fb0d8;font-size:.86rem;margin:0 0 16px}
@media (max-width:860px){.pv-app{grid-template-columns:96px 1fr;gap:18px;padding:20px;align-items:start}.pv-app h3{font-size:1.15rem}.pv-app .a2-lista li{font-size:.92rem}}
@media (max-width:520px){.pv-app{grid-template-columns:78px 1fr;gap:14px;padding:16px}.pv-app-m{border-radius:12px}.pv-app .k-btn{width:100%;text-align:center}}

/* 4. Compatibilidad */
.pv-comp-g{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.pv-comp-c{background:#fff;border-radius:24px;padding:22px 24px;box-shadow:0 10px 30px rgba(16,26,62,.08)}
.pv-comp-c h3{margin:0 0 6px;font-size:1.08rem;display:flex;align-items:center;gap:8px}
.pv-comp-c p{margin:0;color:var(--suave);line-height:1.5}
.pv-comp-h2{margin-top:16px!important}
.pv-dot{width:12px;height:12px;border-radius:50%;flex:0 0 auto}.pv-dot.ok{background:#22b866}.pv-dot.wait{background:#f0a920}
.pv-comp-cta{display:flex;gap:22px;align-items:center;margin-top:22px;flex-wrap:wrap}
.pv-comp-cta p{margin:0;flex:1 1 320px;color:var(--tinta);background:#fff6d8;border-radius:16px;padding:12px 16px;font-size:.95rem}
@media (max-width:760px){.pv-comp-g{grid-template-columns:1fr;gap:12px}.pv-comp-cta .k-btn{width:100%;text-align:center}}

/* 5. Pasos más bajos en el móvil */
@media (max-width:860px){.pv-steps .k-steps{grid-template-columns:1fr}}
.k-time a{font-weight:700}

/* 6. Opinión real + Aitor */
.pv-trust-g{display:grid;grid-template-columns:1.25fr 1fr;gap:26px;align-items:stretch;margin-top:8px}
.pv-aitor{display:grid;grid-template-columns:150px 1fr;gap:26px;align-items:center}
.pv-aitor img{width:150px;height:150px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 4px rgba(255,93,108,.35)}
.pv-aitor p{margin:0 0 10px;font-size:1.08rem;line-height:1.55;color:#e4e9f6}
.pv-aitor b{color:#ff8a95}
.pv-rev{margin:0;background:#fff;color:var(--tinta);border-radius:24px;padding:24px 26px;display:flex;flex-direction:column;gap:10px}
.pv-rev .stars{color:#f5b400;letter-spacing:2px}
.pv-rev blockquote{margin:0;font-size:1.15rem;line-height:1.5;font-family:var(--disp)}
.pv-rev figcaption{color:var(--suave);font-size:.9rem}
.pv-rev .verified{color:#15803d;font-weight:700}
.pv-rev a{font-weight:700;color:#1d4f9a}
.pv-proto-n{margin:0;font-size:.78rem;color:#8a6d00;background:#fff7d6;border-radius:8px;padding:6px 9px}
@media (max-width:860px){.pv-trust-g{grid-template-columns:1fr}.pv-aitor{grid-template-columns:84px 1fr;gap:16px;align-items:start}.pv-aitor img{width:84px;height:84px}.pv-aitor p{font-size:1rem}}

/* 7. Compra */
.pv-incl{margin:14px 0;font-size:.92rem;color:var(--suave);line-height:1.5;background:#f2f6fd;border-radius:14px;padding:12px 14px}
.pv-incl b{color:var(--tinta)}

/* 8. FAQ */
.pv-faq-more{margin:22px 0 0}.pv-faq-more a{font-weight:700;color:#1d4f9a}

/* 9. Enlaces discretos */
.pv-more{background:#e9eef8;padding:22px 0}
.pv-more .k-wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.pv-more a{display:block;background:#fff;border-radius:16px;padding:14px 16px;color:var(--suave);text-decoration:none;font-size:.92rem;line-height:1.4}
.pv-more a b{display:block;color:var(--tinta)}
@media (max-width:760px){.pv-more .k-wrap{grid-template-columns:1fr;gap:8px}}


@media (max-width:520px){.pv-v120 .h4-tel-top{display:none}.pv-v120 .h4-tel-n{margin-top:22px}}
.pv-price s{color:#9fb0d8;font-size:1.1rem}
.pv-price-of{display:block;width:100%;font-size:.8rem;font-weight:700;color:#ffe08a;letter-spacing:.02em}
.pv-incl a{color:#1d4f9a;font-weight:700}
.pv-n3-img picture{display:block;height:100%}
.pv-trust-g.is-solo{grid-template-columns:1fr;max-width:760px}
.app-upd .k-screens{margin-top:18px}
.faq-page{background:transparent;color:inherit}.faq-page .faq{max-width:820px}
/* v120b: escritorio — la animación sube y se centra; el móvil del dibujo sin textos partidos (el móvil real no cambia) */
@media (min-width:861px){
 .pv-v120 .k-hero-grid{align-items:center}
 .pv-v120 .h4{min-height:470px;margin-top:-70px}
 .pv-v120 .h4-pant{width:78%;right:0;top:0}
 .pv-v120 .h4-tel{width:150px;bottom:auto;top:200px;left:0}
 .pv-v120 .h4-tel-in{padding:14px 10px}
 .pv-v120 .h4-tel-n{font-size:2.9rem;margin-top:22px}
 .pv-v120 .h4-tel-top i{white-space:nowrap;font-size:.52rem;padding:1px 6px;margin-left:6px;flex:none}
 .pv-v120 .h4-tel-top span{font-size:.78rem}
 .pv-v120 .h4-tel-c{white-space:nowrap;font-size:.66rem;text-align:center}
 .pv-v120 .h4-arc{left:110px;top:120px;width:200px}
 .pv-v120 .h4-tag{top:0}
}
/* v120b: «Antes de comprar» y «Así de fácil» más juntos */
.is-home .k-band.pv-compat{padding-bottom:30px}
.is-home .k-band.pv-steps{padding-top:30px}
/* v120b: las estrellas de la opinión, con su fondo */
.pv-rev .stars{display:inline-flex;align-self:flex-start;align-items:center;gap:1px;background:#fdeef0;border-radius:99px;padding:3px 10px;letter-spacing:1px;font-size:.95rem;color:#f5b400}
.pv-rev .stars-off{color:#f3c9ce}
.bl-card .bl-cover.bl-cover-libro{position:relative}.bl-card .bl-cover.bl-cover-libro img{position:absolute;top:8%;bottom:8%;left:0;right:0;margin:auto;object-fit:contain;width:100%;height:84%;padding:0;filter:drop-shadow(0 8px 14px rgba(0,0,0,.4))}

/* v122: la esfera del reloj ya se instala con el Taller */
.rwa-tag.rwa-ya{background:#e3f6ea;color:#13894a}
/* v122: guía del reloj con el Taller */
.rw-dl-one{grid-template-columns:1fr;max-width:420px}
.rw-taller{background:linear-gradient(180deg,#1b2238,#0d1120);border-color:#2a2f3f;color:#e9eefc;padding-bottom:12px}
.rw-taller .rw-ph-bar{background:none;font-size:12.5px;padding:10px 12px 6px}
.rw-tl-c{margin:4px 10px 0;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:8px 9px;font-size:10.5px;color:#b7c2e0}
.rw-tl-code{margin:8px 10px 0;border:2px solid #ffd54a;border-radius:9px;background:#0b1433;text-align:center;font:800 22px/1.4 system-ui,sans-serif;letter-spacing:4px;color:#fff}
.rw-tl-row{display:flex;justify-content:space-between;padding:4px 0;border-bottom:1px solid rgba(255,255,255,.08);color:#e9eefc}.rw-tl-row:last-child{border:0}.rw-tl-row i{font-style:normal;color:#46d483;font-weight:800}
.rw-tl-ok{margin:8px 10px 0;background:#13302a;border:1px solid #2b6b4a;border-radius:9px;padding:7px;text-align:center;color:#b8f0cf;font-weight:700}
.rw-face-fig{margin:0;display:flex;justify-content:center}
/* v123: avisos del reloj y pestañas de app.php */
.rwa-warn,.rwp-warn{background:#fff6e0;border-radius:12px;padding:10px 12px;font-size:.92rem;line-height:1.45;color:#5a4300}
.rwp-warn{color:#5a4300!important}
.app-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 22px}
.app-tabs a{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line,#dfe6ee);background:#fff;border-radius:99px;padding:8px 14px;font-weight:700;font-size:.95rem;color:var(--tinta,#13203f);text-decoration:none}
.app-tabs a:hover{border-color:#4ea8ff}
.app-tabs a span{background:#e3f6ea;color:#13894a;font-size:.72rem;border-radius:99px;padding:1px 7px}
#instalar,#reloj,#shots-h{scroll-margin-top:80px}

/* v124: admin Clientes (pestañas, venta en mano, pantallas) */
.cl-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.cl-tabs a { border: 1px solid var(--line, #c5cfdf); border-radius: 99px; padding: 5px 12px; font-size: .85rem; font-weight: 700; background: #fff; color: inherit; text-decoration: none; }
.cl-tabs a.on { background: #13203f; color: #fff; border-color: #13203f; }
.badge.cl-mano { background: #efe6ff; color: #6b3fb8; }
.badge.cl-bad { background: #fde7ea; color: #c62f3e; }
.cl-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22b866; margin-right: 5px; }
.cl-dot.off { background: #c3cad6; }
.cl-dev { border: 1px solid #e1e7f0; border-radius: 12px; padding: 10px 12px; margin: 8px 0; background: #f8fafd; }

/* v127: cuenta de LibreLinkUp conectada desde la app (bloqueada en Mi panel) */
.acc-li span.acc-lock { display: inline-block; margin-top: 6px; font-size: .8rem; font-weight: 700; border-radius: 99px; padding: 2px 10px; background: #efe6ff; color: #6b3fb8; }

/* v130: «probado» en la lista de compatibilidad (no usar .chk-ok: es el recuadro del resultado) */
.chk-probado { display: inline-block; font-size: .78rem; font-weight: 700; border-radius: 99px; padding: 1px 8px; background: #e3f6ea; color: #13894a; }

/* v133: tarjeta del móvil (admin): glucosa en directo arriba y aviso de que lo demás es una foto */
.ps-live { margin: 8px 0 4px; padding: 7px 12px; border-radius: 10px; background: #e3f6ea; color: #13894a; font-size: .9rem; }
.ps-live b { font-size: 1rem; }
.ps-live.ps-live-no { background: #fde7ea; color: #c62f3e; }
.ps-photo { margin: 4px 0 8px; font-size: .78rem; color: #5a6785; }

/* v134: sensor en las opiniones */
.rv-sensor { display: inline-block; margin-left: 8px; vertical-align: 2px; font-size: .74rem; font-weight: 700; border-radius: 99px; padding: 2px 9px; background: #e6efff; color: #1d4f9a; }
.rv-sensor.rv-s-libre { background: #fff1c7; color: #7a5500; }
.rv-sensor.rv-s-minimed, .rv-sensor.rv-s-guardian4, .rv-sensor.rv-s-simplera, .rv-sensor.rv-s-instinct { background: #e3f6ea; color: #13894a; }
.rv-pick { border: 0; padding: 0; margin: 0 0 14px; }
.rv-pick legend { font-weight: 700; margin-bottom: 8px; }
.rv-pick label { display: flex; align-items: center; gap: 10px; border: 1.5px solid #d6dde9; border-radius: 12px; padding: 10px 12px; margin: 0 0 8px; cursor: pointer; font-weight: 600; }
.rv-pick label:has(input:checked) { border-color: #ff5d6c; background: #fff4f5; }
.rv-pick input { width: 18px; height: 18px; accent-color: #ff5d6c; }
.rv-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.rv-filter a { border: 1px solid #d6dde9; border-radius: 99px; padding: 6px 13px; font-weight: 700; font-size: .88rem; text-decoration: none; color: inherit; background: #fff; }
.rv-filter a.on { background: #13203f; color: #fff; border-color: #13203f; }

/* v135: «Configurado en:» al lado de las estrellas (uno o varios sensores) */
.rv-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.rv-conf { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: .74rem; font-weight: 700; color: #5a6785; }
.rv-conf .rv-sensor { margin-left: 0; vertical-align: 0; }

/* ===================== v137: pegatinas (stickers) ===================== */
.stk-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: center; padding: 26px 0 14px; }
.stk-kick { display: inline-block; background: #e6ddff; color: #5b3fb0; font-weight: 800; font-size: .8rem; border-radius: 99px; padding: 5px 12px; }
.stk-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); line-height: 1.08; margin: 10px 0; letter-spacing: -.02em; }
.stk-hero h1 span { color: #ff5d6c; }
.stk-lead { color: #5a6785; font-size: 1.05rem; margin: 0 0 14px; }
.stk-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.stk-pills span { background: #fff; border: 1px solid #e3e0da; border-radius: 99px; padding: 5px 11px; font-size: .85rem; font-weight: 600; }
.stk-pile { position: relative; height: 240px; border-radius: 34px; background: linear-gradient(135deg, #d9efff, #e6ddff 55%, #ffe2d1); overflow: hidden; }
.stk-pile img { position: absolute; filter: drop-shadow(0 10px 16px rgba(29, 42, 74, .2)); }
.stk-shop { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; margin: 8px 0 22px; }
.stk-h { font-size: 1.3rem; margin: 18px 0 8px; }
.stk-h:first-child { margin-top: 0; }
.stk-cnt { font-size: .85rem; color: #5a6785; margin-left: 6px; }
.stk-grpl { font-size: .74rem; font-weight: 800; color: #5a6785; text-transform: uppercase; letter-spacing: .04em; margin: 10px 0 6px; }
.stk-sens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stk-sens.stk-pumps { grid-template-columns: repeat(2, 1fr); max-width: 50%; }
.stk-sen { display: flex; gap: 10px; align-items: center; text-align: left; background: #fff; border: 2px solid #e3e0da; border-radius: 18px; padding: 10px; cursor: pointer; font: inherit; color: inherit; }
.stk-sen img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.stk-pumps .stk-sen img { width: 34px; height: 50px; }
.stk-sen b { display: block; font-size: .95rem; line-height: 1.2; }
.stk-sen small { display: block; color: #5a6785; font-size: .8rem; }
.stk-sen small.stk-also { margin-top: 4px; font-size: .72rem; }
.stk-sen.on { border-color: #ff5d6c; box-shadow: 0 0 0 4px #ffe1e5; }
.stk-inst { display: inline-block; white-space: nowrap; font-style: normal; background: #e3ecff; color: #24366f; font-weight: 800; font-size: .72rem; border-radius: 99px; padding: 1px 7px; margin-top: 2px; }
.stk-instnote { background: #eef3ff; border: 1px solid #cdd9f5; color: #24366f; border-radius: 14px; padding: 10px 12px; font-size: .9rem; margin: 10px 0 0; }
.stk-for { display: block; font-weight: 700; margin-bottom: 8px; }
.stk-for select { font: inherit; border: 1px solid #d6dde9; border-radius: 10px; padding: 6px 8px; background: #fff; max-width: 100%; }
.stk-sheet { background: #fff; border: 2px dashed #ffc8b0; border-radius: 22px; padding: 14px; }
.stk-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.stk-slot { aspect-ratio: 1; border-radius: 14px; border: 2px solid transparent; background: #fbf7f1; display: flex; align-items: center; justify-content: center; padding: 3px; cursor: pointer; }
.stk-slot img { width: 100%; height: 100%; object-fit: contain; }
.stk-slot.sel { border-color: #ff5d6c; box-shadow: 0 0 0 3px #ffe1e5; }
.stk-slot.empty { border: 2px dashed #e3d9cb; color: #c4b8a6; font-weight: 800; font-size: .8rem; cursor: default; }
.stk-slots.pump { grid-template-columns: repeat(2, minmax(0, 180px)); justify-content: center; }
.stk-slots.pump .stk-slot { aspect-ratio: auto; height: 240px; }
.stk-btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.stk-btns .btn { flex: 1; min-width: 140px; }
.stk-btns .btn:disabled { opacity: .45; cursor: default; }
.stk-rnd { background: linear-gradient(135deg, #ffb35c, #ff5d6c 50%, #b48cff) !important; color: #fff !important; border: 0 !important; }
.stk-add { background: #ff5d6c !important; color: #fff !important; border: 0 !important; }
.stk-hint { font-size: .85rem; color: #5a6785; margin: 8px 0 0; }
.stk-hint.warn { color: #b3263a; font-weight: 700; }
.stk-hint.ok { color: #1f9d61; font-weight: 700; }
.stk-selbar { margin-top: 8px; background: #fff1f3; border-radius: 12px; padding: 8px 10px; font-size: .85rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.stk-sb { border: 1px solid #d6dde9; background: #fff; border-radius: 10px; padding: 5px 9px; font: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; }
.stk-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px 0 10px; }
.stk-filters span { font-weight: 700; font-size: .88rem; }
.stk-filters button { border: 1px solid #e3e0da; background: #fff; border-radius: 99px; padding: 6px 13px; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; color: inherit; }
.stk-filters button.on { background: #13203f; color: #fff; border-color: #13203f; }
.stk-pgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.stk-pgrid button { background: #fff; border: 1px solid #e3e0da; border-radius: 14px; padding: 6px 2px; position: relative; cursor: pointer; font: inherit; color: inherit; }
.stk-pgrid button img { width: 100%; height: 52px; object-fit: contain; }
.stk-pgrid.pump button img { height: 80px; }
.stk-pgrid button span { display: block; font-size: .7rem; font-weight: 700; color: #5a6785; line-height: 1.2; }
.stk-pgrid button i { position: absolute; top: -6px; left: 4px; background: #ffd66b; font-style: normal; font-weight: 800; font-size: .62rem; border-radius: 99px; padding: 1px 6px; }
.stk-cart { position: sticky; top: 16px; }
.stk-cart h2 { font-size: 1.2rem; margin: 0 0 8px; }
.stk-n-wrap { font-size: .8rem; color: #5a6785; }
.stk-li { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px dashed #e3e0da; font-size: .88rem; }
.stk-li-m { flex: 1; min-width: 0; }
.stk-li-m small { color: #5a6785; }
.stk-mini { display: grid; grid-template-columns: repeat(6, 22px); gap: 2px; margin-top: 4px; }
.stk-mini.pump { grid-template-columns: repeat(2, 30px); }
.stk-mini img { width: 22px; height: 22px; object-fit: contain; }
.stk-mini.pump img { width: 30px; height: 44px; }
.stk-q { display: flex; align-items: center; gap: 4px; }
.stk-q button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid #e3e0da; background: #fff; font-weight: 800; cursor: pointer; }
.stk-p { min-width: 58px; text-align: right; white-space: nowrap; }
.stk-x { border: 0; background: none; color: #ff5d6c; font-weight: 800; cursor: pointer; font-size: 1rem; }
.stk-sum { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 10px 0; font-size: .92rem; }
.stk-sum dd { margin: 0; text-align: right; }
.stk-sum .total { font-weight: 800; font-size: 1.1rem; margin-top: 6px; }
.stk-ok { color: #1f9d61; font-weight: 700; }
.stk-more { background: #fff6ef; border: 2px dashed #ffc8b0; border-radius: 14px; padding: 8px 10px; font-size: .86rem; margin: 6px 0 10px; }
.stk-go { width: 100%; background: #ff5d6c; color: #fff; border: 0; }
.stk-go:disabled { opacity: .45; cursor: default; }
.stk-combo { background: linear-gradient(135deg, #fff, #fff6ef); border: 2px dashed #ffc8b0; border-radius: 16px; padding: 10px 12px; font-size: .86rem; margin: 12px 0 0; }
.stk-ck { max-width: 760px; margin: 0 auto 24px; scroll-margin-top: 20px; }
.stk-guest { display: flex; gap: 10px; align-items: center; background: #eaf8f0; border: 1px solid #bfe8d0; color: #155c3a; border-radius: 14px; padding: 10px 12px; font-size: .92rem; }
.stk-how { margin: 10px 0 30px; }
.stk-how h2 { font-size: 1.3rem; }
.stk-how-g { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 14px; }
.stk-how-g div { background: #fff; border: 1px solid #e3e0da; border-radius: 18px; padding: 14px; }
.stk-how-g p { margin: 4px 0 0; color: #5a6785; font-size: .9rem; }
.stk-faq { background: #fff; border: 1px solid #e3e0da; border-radius: 14px; padding: 10px 14px; margin-bottom: 8px; }
.stk-faq summary { font-weight: 700; cursor: pointer; }
.stk-faq p { color: #5a6785; margin: 6px 0 0; }
.stk-done-list { margin: 10px 0; }
.stk-tip { background: #fff7d6; border: 1px solid #e8d48a; border-radius: 12px; padding: 8px 12px; font-size: .9rem; }
/* caja en la compra de la pantalla */
.stk-addon-box { border: 2px solid #ffc8b0; background: #fffaf6; border-radius: 20px; padding: 14px; margin: 16px 0; }
.stk-addon-box > h2 { font-size: 1.15rem; margin: 0 0 2px; }
.stk-addon-box .stk-lbl { display: inline-block; background: #ffe1e5; color: #b3263a; border-radius: 6px; padding: 1px 7px; font-size: .78rem; font-weight: 800; vertical-align: 2px; }
.stk-addon-box .stk-sheet { border-color: #ffd9c7; }
.stk-addon-box .stk-h { font-size: 1.05rem; }
@media (max-width: 900px) {
  .stk-hero, .stk-shop { grid-template-columns: 1fr; }
  .stk-pile { height: 200px; }
  .stk-sens { grid-template-columns: repeat(2, 1fr); }
  .stk-sens.stk-pumps { max-width: none; }
  .stk-slots, .stk-pgrid { grid-template-columns: repeat(4, 1fr); }
  .stk-slots.pump .stk-slot { height: 170px; }
  .stk-cart { position: static; }
  .stk-how-g { grid-template-columns: repeat(2, 1fr); }
}
/* v137: panel de pegatinas */
.stk-adm-sheet { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 6px 0; border-bottom: 1px dashed #e3e7ef; }
.stk-adm-sheet:last-child { border-bottom: 0; }
.stk-adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.stk-adm-d { display: flex; flex-direction: column; gap: 6px; padding: 12px; margin: 0; }
.stk-adm-d.off { opacity: .55; }
.stk-adm-d input[type=text], .stk-adm-d select { font: inherit; border: 1px solid #d6dde9; border-radius: 8px; padding: 5px 8px; }
.stk-adm-imgs { display: flex; gap: 4px; align-items: center; justify-content: center; background: #fbf7f1; border-radius: 10px; padding: 6px; height: 64px; }
.stk-adm-imgs img { height: 48px; max-width: 16%; object-fit: contain; }
.stk-adm-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 16px; margin: 14px 0; }
.stk-adm-on { background: #eef8f1; border: 1px solid #c9ebd6; border-radius: 14px; padding: 12px; }
.stk-modal { position: fixed; inset: 0; background: rgba(16, 26, 62, .55); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.stk-modal[hidden] { display: none; }
.stk-modal-in { background: #fff; border-radius: 20px; padding: 18px; max-width: 480px; width: 100%; max-height: 94vh; overflow: auto; }
.stk-modal canvas { width: 100%; height: auto; border: 1px solid #e1e6f0; border-radius: 8px; background: repeating-conic-gradient(#f2f2f2 0 25%, #fff 0 50%) 50% / 16px 16px; }
/* v137: carrito único y ficha de la pantalla */
.nav-cart { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; text-decoration: none; color: inherit; border: 2px solid rgba(255, 255, 255, .3); border-radius: 99px; padding: 6px 11px; margin-right: 8px; white-space: nowrap; line-height: 1; }
.nav-cart b { background: #ff5d6c; color: #fff; border-radius: 99px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; padding: 0 5px; }
.nav-cart b[hidden] { display: none; }
.pr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin: 18px 0 30px; }
.pr-img { text-align: center; padding: 20px; }
.pr-img img { max-width: 100%; height: auto; }
.pr-h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.pr-price { font-size: 2rem; font-weight: 800; margin: 6px 0 10px; }
.pr-price s { font-size: 1.1rem; font-weight: 600; }
.pr-price small { font-size: .9rem; color: #5a6785; font-weight: 600; }
.pr-lab { margin: 14px 0 6px; font-weight: 700; }
.pr-colors { display: flex; gap: 10px; flex-wrap: wrap; }
.pr-col { display: flex; align-items: center; gap: 8px; border: 2px solid #e3e7ef; border-radius: 14px; padding: 8px 14px; background: #fff; cursor: pointer; font-weight: 700; }
.pr-col input { position: absolute; opacity: 0; pointer-events: none; }
.pr-col.on { border-color: #ff5d6c; box-shadow: 0 0 0 3px #ffe1e5; }
.pr-col i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #bbb; display: inline-block; }
.pr-qty { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pr-qty button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid #d6dde9; background: #fff; font-size: 20px; font-weight: 800; cursor: pointer; }
.pr-qty input { width: 56px; height: 40px; text-align: center; font: inherit; font-weight: 800; border: 1px solid #d6dde9; border-radius: 12px; }
.pr-add { width: 100%; }
.pr-garant { margin-top: 14px; }
.pr-up { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, #fff, #fff6ef); border: 2px dashed #ffc8b0; border-radius: 20px; padding: 14px; margin-top: 16px; }
.pr-up img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.cart-h1 { margin: 10px 0 14px; }
.cart-list { margin-bottom: 18px; }
.cart-li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed #e3e0da; }
.cart-im { width: 64px; height: 64px; flex: none; display: flex; align-items: center; justify-content: center; background: #fbf7f1; border-radius: 14px; }
.cart-im img { max-width: 56px; max-height: 56px; object-fit: contain; }
.cart-tx { flex: 1; min-width: 0; }
.cart-tx small { display: block; color: #5a6785; }
.cart-q { display: flex; align-items: center; gap: 6px; margin: 0; }
.cart-q button { width: 32px; height: 32px; border-radius: 9px; border: 1px solid #d6dde9; background: #fff; font-weight: 800; cursor: pointer; }
.cart-q button:disabled { opacity: .4; cursor: default; }
.cart-p { min-width: 74px; text-align: right; font-weight: 800; white-space: nowrap; }
.cart-tip { background: #fff6ef; border: 2px dashed #ffc8b0; border-radius: 14px; padding: 10px 12px; font-size: .9rem; margin: 12px 0 0; }
.cart-more { margin: 12px 0 0; font-size: .92rem; }
.cart-empty { text-align: center; padding: 30px 14px; }
.cart-empty-ic { font-size: 3rem; margin: 0; }
.ck-guest { display: flex; gap: 10px; align-items: flex-start; background: #eaf8f0; border: 1px solid #bfe8d0; color: #155c3a; border-radius: 14px; padding: 10px 12px; font-size: .93rem; margin-bottom: 14px; }
.pw-new { background: #eef3ff; border: 1px solid #cdd9f5; border-radius: 18px; padding: 16px; margin: 16px 0; text-align: left; }
.stk-promo { background: #fff7d6; border: 1px solid #e8d48a; border-radius: 14px; padding: 10px 14px; font-size: .92rem; margin: 6px 0 14px; }
.stk-wide { margin-bottom: 26px; }
@media (max-width: 900px) {
  .pr-grid { grid-template-columns: 1fr; }
  .nav-cart { padding: 5px 9px; margin-right: 4px; }
  .cart-li { flex-wrap: wrap; }
  .cart-tx { flex-basis: calc(100% - 80px); }
  .cart-q { margin-left: 76px; }
  .cart-p { margin-left: auto; }
}
/* v139: aire entre el menú y los pasos de la compra; carrito de la cabecera más holgado */
.ck-pasos { margin-top: 28px; }
.nav-cart { gap: 7px; padding: 8px 14px; min-height: 42px; font-size: 1.15rem; border-width: 2px; margin-right: 10px; }
.nav-cart b { min-width: 22px; height: 22px; font-size: 13px; padding: 0 6px; }
@media (max-width: 900px) { .ck-pasos { margin-top: 22px; } .nav-cart { padding: 6px 11px; min-height: 38px; font-size: 1.05rem; margin-right: 6px; } }
/* v139b: carrito de la cabecera como en las tiendas: icono de línea, número encima y «Mi carrito», sin borde */
.nav-cart { border: 0 !important; padding: 6px 8px !important; min-height: 0 !important; gap: 8px !important; font-size: .95rem !important; font-weight: 600; margin-right: 12px !important; color: inherit; opacity: .95; }
.nav-cart:hover { opacity: 1; }
.nav-cart .nc-ic { position: relative; display: inline-flex; }
.nav-cart .nc-ic svg { display: block; }
.nav-cart .nc-ic b { position: absolute; top: -7px; left: -8px; min-width: 18px !important; height: 18px !important; font-size: 11px !important; padding: 0 4px !important; border-radius: 99px; background: #e0283a; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #101a3e; }
@media (max-width: 900px) { .nav-cart .nc-tx { display: none; } .nav-cart { margin-right: 6px !important; padding: 6px !important; } }
/* v141: «Pegatinas» con la etiqueta Nuevo en el menú */
.site-menu a.nav-new { display: inline-flex; align-items: center; gap: 6px; }
.site-menu a.nav-new i { font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; background: #ffd66b; color: #3a2c00; border-radius: 99px; padding: 2px 7px; line-height: 1.3; }
/* v143: «Nuevo» rojo y un poco girado, encima del final de «Pegatinas»; «Comprar pantalla» (en el móvil solo «Comprar») */
.site-menu a.nav-new { position: relative; display: inline-block; gap: 0; }
.site-menu a.nav-new i { position: absolute; top: -3px; right: -18px; transform: rotate(-12deg); background: #ff5d6c; color: #fff; font-size: .58rem; padding: 1px 6px; line-height: 1.35; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); pointer-events: none; }
@media (max-width: 900px) { .nav-cta-x { display: none; } .site-menu a.nav-new i { position: relative; top: -10px; right: auto; margin-left: 4px; } }
/* v146: pegatinas que salen de la portada azul + el móvil y la pantalla del dibujo un poco más arriba */
.hero-stk { position: relative; height: 0; z-index: 6; }
.hero-stk .k-wrap { position: relative; }
.hero-stk-in { position: absolute; right: 0; top: -44px; display: flex; align-items: flex-end; gap: 10px; text-decoration: none; }
.hero-stk-in img { width: 84px; height: auto; filter: drop-shadow(0 10px 14px rgba(16, 26, 62, .35)); transition: transform .2s; }
.hero-stk-in img:nth-of-type(1) { transform: rotate(-14deg); }
.hero-stk-in img:nth-of-type(2) { transform: rotate(8deg) translateY(-12px); }
.hero-stk-in img:nth-of-type(3) { width: 70px; transform: rotate(-5deg); }
.hero-stk-in:hover img:nth-of-type(1) { transform: rotate(-20deg) translateY(-4px); }
.hero-stk-in:hover img:nth-of-type(2) { transform: rotate(14deg) translateY(-18px); }
.hero-stk-in:hover img:nth-of-type(3) { transform: rotate(2deg) translateY(-4px); }
.hero-stk-tag { position: absolute; right: 6px; top: -44px; background: #ffd66b; color: #2b2100; font-weight: 800; font-size: .9rem; border-radius: 12px; padding: 7px 12px; transform: rotate(-5deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); white-space: nowrap; }
@media (min-width: 861px) { .pv-v120 .h4 { margin-top: -100px; } }
@media (max-width: 860px) {
  .hero-stk-in { right: 4%; top: -26px; gap: 6px; }
  .hero-stk-in img { width: 62px; } .hero-stk-in img:nth-of-type(3) { width: 52px; }
  .hero-stk-tag { font-size: .78rem; top: -30px; padding: 5px 9px; }
}
.hero-stk-tag { display: inline-flex; align-items: center; gap: 6px; }
.hero-stk-ic { flex: none; }
/* v150: apartado actual del menú, miga de pan, aviso al añadir y tarjetas para seguir navegando */
.site-menu a.on { color: #ffd66b; box-shadow: inset 0 -2px 0 #ffd66b; }
.crumb { display: flex; gap: 7px; align-items: center; font-size: .86rem; font-weight: 600; color: #5a6785; margin: 18px 0 0; }
.crumb a { color: #2f6fd6; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { opacity: .6; }
.crumb + .ck-pasos { margin-top: 14px; }
.crumb + .stk-hero { padding-top: 14px; }
.cart-toast { position: fixed; right: 20px; top: 84px; z-index: 300; background: #fff; color: #13232e; border-radius: 18px; box-shadow: 0 16px 40px rgba(16, 26, 62, .25); padding: 14px 16px; width: 330px; max-width: calc(100vw - 24px); transition: opacity .35s, transform .35s; }
.cart-toast.out { opacity: 0; transform: translateY(-8px); }
.cart-toast p { margin: 0 0 10px; font-weight: 700; }
.cart-toast div { display: flex; gap: 8px; }
.cart-toast .ct-keep, .cart-toast .ct-go { flex: 1; text-align: center; border-radius: 12px; padding: 9px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.cart-toast .ct-keep { background: #fff; border: 2px solid #d6dde9; color: #13232e; }
.cart-toast .ct-go { background: #ff5d6c; color: #fff; border: 0; }
.x-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 28px; }
.x-cards a { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid #e3e7ef; border-radius: 20px; padding: 14px 16px; text-decoration: none; color: #13232e; transition: box-shadow .2s; }
.x-cards a:hover { box-shadow: 0 10px 24px rgba(16, 26, 62, .1); }
.x-cards img { width: 62px; height: 62px; object-fit: contain; flex: none; }
.x-cards b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.x-cards small { color: #5a6785; }
@media (max-width: 900px) { .x-cards { grid-template-columns: 1fr; } .cart-toast { right: 12px; left: 12px; width: auto; top: 72px; } .site-menu a.on { box-shadow: none; color: #ff5d6c; } }

/* v151: modo oscuro del móvil — las piezas nuevas (pegatinas, ficha, carrito) con fondo oscuro y letra clara, para que se lean */
@media (prefers-color-scheme: dark) {
}

/* v152: modo oscuro — guía del reloj (/reloj.php), caja del reloj en /app.php, preguntas, filtros de opiniones y etiqueta «Nuevo» de pegatinas */
@media (prefers-color-scheme: dark) {
}
.stk-pgrid button i { color: #3a2c00; }
@media (prefers-color-scheme: dark) {
}
.acc .rwp-warn, .acc .acc-small.rwp-warn { background: #3a3110; color: #fff1c2 !important; }
.acc .rwp-warn b { color: #ffe08a; }
.pv-rev .rv-conf { color: #4b5875; }

/* v153b: ficha del producto — garantía de compatibilidad y «¿Qué necesito?» */
.pr-compat { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(46,160,90,.10); line-height: 1.45; }
.pr-need { margin-top: 14px; border: 1px solid rgba(0,0,0,.10); border-radius: 12px; padding: 10px 14px; }
.pr-need summary { cursor: pointer; font-weight: 700; }
.pr-need ul { margin: 8px 0 0; padding-left: 20px; }
.pr-need li { margin: 4px 0; }
@media (prefers-color-scheme: dark) {
  body:not(.is-site) .pr-compat { background: rgba(70,200,120,.14); }
  body:not(.is-site) .pr-need { border-color: rgba(255,255,255,.16); }
}

/* v155: retoques de la auditoría (móvil) */
@media (max-width: 560px) {
  .ck-pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex-wrap: nowrap; }
  .ck-pasos li { flex-direction: column; gap: 4px; text-align: center; font-size: .78rem; line-height: 1.2; }
  .ck-pasos li + li::before { display: none; }
  .ck-pasos i { width: 26px; height: 26px; font-size: .82rem; }
  .stk-add .stk-add-l { display: none; }
  #stk-builder .stk-add { white-space: nowrap; font-size: .95rem; padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 860px) { .hero-stk-tag { top: -20px; } }

/* v156: panel en modo oscuro (móvil) — pestañas legibles y botones con contraste */
.is-admin .side-count { background: #d93a4e; }
@media (prefers-color-scheme: dark) {
  body:not(.is-site) .cl-tabs a { background: var(--surface, #121c44); color: var(--text); border-color: var(--line); }
  body:not(.is-site) .cl-tabs a.on { background: #e4edf1; color: #0b1230; border-color: #e4edf1; }
  body:not(.is-site) .btn-ok { color: #062014; }
  body:not(.is-site) .btn-danger { background: #c9364a; color: #fff; }
  .is-admin .rv-conf { color: var(--muted); }
}

/* v157: Panel → Registro */
.rg-state { border-radius: 14px; padding: 12px 16px; margin: 0 0 14px; font-size: .95rem; }
.rg-ok { background: #e3f4e9; color: #0d3a1f; }
.rg-bad { background: #fbe9e7; color: #5a120c; }
.rg-wait { background: #fff4d6; color: #4a3600; }
.rg-days { margin: 0 0 12px; font-size: .9rem; }
.rg-list { padding-top: 6px; }
.rg-day { font-size: .95rem; margin: 16px 0 6px; color: var(--muted); }
.rg-day:first-child { margin-top: 4px; }
.rg-row { display: grid; grid-template-columns: 48px 26px 1fr; gap: 6px; align-items: baseline; padding: 7px 8px; border-radius: 10px; font-size: .92rem; line-height: 1.4; }
.rg-row time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); }
.rg-msg { overflow-wrap: anywhere; }
.rg-bad { } .rg-row.rg-bad { background: rgba(217,58,78,.10); }
.rg-row.rg-warn { background: rgba(245,196,67,.14); }
.rg-row.rg-ok .rg-msg { color: inherit; }
@media (prefers-color-scheme: dark) {
  body:not(.is-site) .rg-ok { background: #173326; color: #c9f2d9; }
  body:not(.is-site) .rg-bad { background: #3a1d1b; color: #ffd2cc; }
  body:not(.is-site) .rg-wait { background: #3a3014; color: #ffe9a8; }
  body:not(.is-site) .rg-row.rg-bad { background: rgba(242,139,130,.14); color: inherit; }
  body:not(.is-site) .rg-row.rg-warn { background: rgba(245,196,67,.12); }
}

/* v159: pegatinas de la portada sobre la línea azul/blanco + nota «¡Nuevo! Pegatinas para tu sensor» */
.hero-stk { position: relative; height: 0; z-index: 5; }
.hero-stk .k-wrap { position: relative; }
.hero-stk .hero-stk-in { position: absolute; left: 47%; top: 0; right: auto; width: 0; height: 0; display: block; transform: none; text-decoration: none; }
.hero-stk .hero-stk-in .hs { position: absolute; left: 0; top: 0; display: block; height: auto; max-width: none;
  filter: drop-shadow(0 6px 10px rgba(10,20,50,.28)) drop-shadow(0 1px 1px rgba(0,0,0,.18)); transition: transform .22s ease; }
.hero-stk .hero-stk-in .hs { transform: var(--t); }
/* v162: al pasar el ratón se levantan y giran un poco (como en la primera versión). La zona invisible ::before
   mantiene el «ratón encima» aunque la pegatina se mueva, así no entra en bucle. */
.hero-stk .hero-stk-in::before { content: ""; position: absolute; left: -160px; top: -48px; width: 420px; height: 150px; }
.hero-stk .hero-stk-in:hover .hs, .hero-stk .hero-stk-in:focus-visible .hs { transform: var(--t) translateY(var(--hy, -5px)) rotate(var(--hr, 6deg)); }
.hero-stk .hero-stk-in .hs-1 { --hy: -4px; --hr: -6deg; }
.hero-stk .hero-stk-in .hs-2 { --hy: -7px; --hr: 6deg; }
.hero-stk .hero-stk-in .hs-3 { --hy: -5px; --hr: 8deg; }
.hero-stk .hero-stk-in .hs-4 { --hy: -6px; --hr: 6deg; }
.hero-stk .hero-stk-in .hs-5 { --hy: -4px; --hr: -7deg; }
.hero-stk .hero-stk-in .hs-1 { width: 65px; --t: translate(-50%,-50%) translate(-106px,-8px) rotate(-14deg); }
.hero-stk .hero-stk-in .hs-2 { width: 72px; --t: translate(-50%,-50%) translate(-26px,10px) rotate(8deg); }
.hero-stk .hero-stk-in .hs-3 { width: 68px; --t: translate(-50%,-50%) translate(53px,-8px) rotate(-6deg); }
.hero-stk .hero-stk-in .hs-4 { width: 70px; --t: translate(-50%,-50%) translate(132px,8px) rotate(12deg); }
.hero-stk .hero-stk-in .hs-5 { width: 61px; --t: translate(-50%,-50%) translate(211px,-6px) rotate(-10deg); }
.hero-stk .hero-stk-in .hs-pl img { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: polygon(0 0,100% 0,100% 42%,42% 100%,0 100%); }
.hero-stk .hero-stk-in .hs-pl i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; transform-origin: 0 0;
  transform: translate(var(--k), var(--k)) matrix(0,-1,-1,0,0,0); clip-path: polygon(42% 100%,100% 42%,100% 100%);
  background: linear-gradient(225deg,#fff 10%,#e9ecf3 45%,#c3c9d6 100%); }
.hero-stk .hero-stk-in .hs-note { position: absolute; left: 0; top: 0; transform: translate(-50%,-50%) translate(53px,74px) rotate(-3deg);
  white-space: nowrap; font: 900 20px/1 Outfit, system-ui, sans-serif; color: #1e2b5c; padding-bottom: 12px; }
.hero-stk .hero-stk-in .hs-note b { color: #ff5d6c; font-weight: 900; margin-right: 2px; }
.hero-stk .hero-stk-in .hs-note svg { position: absolute; left: -4px; bottom: -4px; width: calc(100% + 8px); height: 14px; }
.hero-stk .hero-stk-in .hs-note path { stroke: #ff5d6c; stroke-width: 3.5; fill: none; stroke-linecap: round; }
.hero-stk .hero-stk-in:focus-visible { outline: none; }
.hero-stk .hero-stk-in:focus-visible .hs-note { outline: 3px solid #4ea8ff; outline-offset: 4px; border-radius: 6px; }
@media (max-width: 860px) {
  .hero-stk .hero-stk-in { left: 50%; }
  .hero-stk .hero-stk-in .hs-1, .hero-stk .hero-stk-in .hs-5 { display: none; }
  .hero-stk .hero-stk-in .hs-2 { width: 54px; --t: translate(-50%,-50%) translate(-65px,10px) rotate(8deg); }
  .hero-stk .hero-stk-in .hs-3 { width: 51px; --t: translate(-50%,-50%) translate(0,-8px) rotate(-6deg); }
  .hero-stk .hero-stk-in .hs-4 { width: 53px; --t: translate(-50%,-50%) translate(65px,8px) rotate(12deg); }
  .hero-stk .hero-stk-in .hs-note { font-size: 17px; transform: translate(-50%,-50%) translate(0,66px) rotate(-3deg); }
}
@media (max-width: 860px) { .hero-stk .hero-stk-in::before { left: -110px; top: -40px; width: 220px; height: 130px; } }
/* v163: en el móvil y la tablet, la nota ocupa su propio hueco (antes pisaba «Lo que cambia» con letra grande) */
@media (max-width: 860px) { .hero-stk ~ .k-noche3 { padding-top: 114px; } }
@media (prefers-reduced-motion: reduce) { .hero-stk .hero-stk-in .hs { transition: none; } .hero-stk .hero-stk-in:hover .hs { transform: var(--t); } }

/* v159: Panel → ficha del cliente, tarjeta de cada pantalla en modo oscuro */
@media (prefers-color-scheme: dark) {
  body:not(.is-site) .cl-dev { background: rgba(255,255,255,.05); border-color: var(--line); color: var(--text); }
  body:not(.is-site) .cl-dev code { color: var(--text); background: rgba(255,255,255,.08); }
}

/* v164: opiniones del inicio en carrusel (todas en la misma celda: la tarjeta no cambia de alto) */
.pv-rev .rv-slides{display:grid}
.pv-rev .rv-slide{grid-area:1/1;display:flex;flex-direction:column;gap:10px;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s}
.pv-rev .rv-slide.on{opacity:1;visibility:visible}
.pv-rev .rv-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:2px}
.pv-rev .rv-nav{display:flex;align-items:center;gap:6px}
.pv-rev .rv-nav button{border:0;background:none;cursor:pointer;padding:0;font:inherit}
.pv-rev .rv-nav .rv-prev,.pv-rev .rv-nav .rv-next{width:30px;height:30px;border-radius:50%;background:#eef2fb;color:#1d4f9a;font-size:1.3rem;line-height:28px;font-weight:700}
.pv-rev .rv-nav .rv-prev:hover,.pv-rev .rv-nav .rv-next:hover{background:#dde6f7}
.pv-rev .rv-dots{display:flex;gap:6px;padding:0 2px}
.pv-rev .rv-dot{width:8px;height:8px;border-radius:50%;background:#cfd8ea!important;transition:width .25s}
.pv-rev .rv-dot.on{width:20px;border-radius:99px;background:#1d4f9a!important}
@media (prefers-reduced-motion: reduce){.pv-rev .rv-slide{transition:none}}

/* v172: probar.php · pasos de CareLink */
.cl-steps { margin: 6px 0 10px 18px; padding: 0; }
.cl-steps li { margin: 4px 0; }

/* v175: pegatinas sin stock */
.stk-nostock { margin: 14px 0; padding: 12px 16px; border-radius: 14px; background: #fff4dc; color: #6b4a00; border: 1px solid #f0d28a; }

/* ===== v177: «Hola, Aitor» en la cabecera + carrito solo con icono ===== */
.nav-me, .topnav .nav-me { display: inline-flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px; box-sizing: border-box; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff !important; text-decoration: none !important; margin-left: 6px; line-height: 1.1; white-space: nowrap; }
.topnav .nav-me:hover { text-decoration: none; }
.nav-me:hover, .nav-me.on { background: rgba(255,255,255,.15); }
.nm-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#a855f7,#7c3aed); color: #fff; font: 800 15px/1 var(--disp, inherit); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.nm-tx small { display: block; font-size: 11px; font-weight: 500; color: #aeb8d6; }
.nm-tx b { font-size: 14px; font-weight: 800; }
.nav-cart .nc-ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; position: relative; }
.nav-cart:hover .nc-ic { background: rgba(255,255,255,.15); }
.nav-cart .nc-ic b { top: -5px !important; left: auto !important; right: -5px; }
.nav-cart .nc-tx { display: none; }
@media (max-width: 860px) {
  .nav-me, .topnav .nav-me { padding: 4px 14px 4px 4px; gap: 8px; margin-left: auto; }
  .nm-av { width: 26px; height: 26px; font-size: 13px; }
  .nm-tx small { display: none; }
  .nm-tx b { font-size: 13px; }
  .nav-cart .nc-ic { width: 38px; height: 38px; }
}
@media (max-width: 380px) { .nm-tx { display: none; } .nav-me, .topnav .nav-me { padding: 4px; } }

/* ===== v177: chat «Ayuda gluclink» ===== */
#ayuda .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ay-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; border: 0; cursor: pointer; background: #ff5d6c; color: #fff; font: 800 15px/1 var(--disp, inherit); padding: 14px 18px; border-radius: 99px; box-shadow: 0 8px 24px rgba(255,93,108,.45); display: inline-flex; gap: 8px; align-items: center; }
.ay-fab:hover { background: #f04a5a; }
#ayuda.ay-open .ay-fab { display: none; }
.ay-panel { position: fixed; right: 20px; bottom: 20px; z-index: 61; width: 390px; max-width: calc(100vw - 24px); height: 600px; max-height: calc(100vh - 40px); background: #fff; border-radius: 22px; box-shadow: 0 18px 50px rgba(16,26,62,.32); display: flex; flex-direction: column; overflow: hidden; color: #223; }
.ay-panel[hidden] { display: none; }
.ay-h { background: #101a3e; color: #fff; padding: 14px 16px; display: flex; gap: 10px; align-items: center; }
.ay-bot { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg,#ff5d6c,#ff8a5c); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.ay-h b { display: block; font-size: 15px; } .ay-h small { color: #9fe0b5; font-size: 12px; }
.ay-x { margin-left: auto; background: none; border: 0; color: #c9d1ea; font-size: 20px; cursor: pointer; padding: 4px 8px; }
.ay-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f4f6fa; }
.ay-m { max-width: 86%; padding: 10px 12px; border-radius: 16px; font-size: 14px; line-height: 1.45; word-wrap: break-word; }
.ay-m p { margin: 0 0 4px; } .ay-m p:last-child { margin: 0; } .ay-m ol { margin: 4px 0 4px 18px; padding: 0; } .ay-m li { margin: 2px 0; }
.ay-bt { background: #fff; border: 1px solid #e6eaf2; border-bottom-left-radius: 4px; align-self: flex-start; }
.ay-us { background: #2c5bd8; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ay-us img { max-width: 140px; max-height: 200px; border-radius: 8px; display: block; margin-bottom: 6px; }
.ay-cap { display: block; font-size: 12px; opacity: .85; margin-bottom: 4px; }
.ay-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.ay-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa6c4; animation: ayb 1s infinite; }
.ay-typing span:nth-child(2) { animation-delay: .15s; } .ay-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ayb { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ay-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ay-chips button { font: 700 12.5px/1 inherit; background: #fff; border: 1px solid #cdd6ea; color: #2c5bd8; padding: 8px 11px; border-radius: 99px; cursor: pointer; }
.ay-chips button.hu { border-color: #ffc2c8; color: #d23a4c; }
.ay-prev { display: flex; align-items: center; gap: 8px; padding: 8px 12px 0; } .ay-prev[hidden] { display: none; }
.ay-prev img { height: 54px; border-radius: 8px; border: 1px solid #e6eaf2; } .ay-prev button { border: 0; background: #eef1f7; border-radius: 50%; width: 26px; height: 26px; cursor: pointer; }
.ay-in { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid #e6eaf2; }
.ay-clip { font-size: 21px; cursor: pointer; padding: 6px 2px; }
.ay-in textarea { flex: 1; resize: none; min-height: 0; height: 40px; line-height: 20px; overflow-y: hidden; scrollbar-width: thin; border: 0; background: #f2f4f8; border-radius: 18px; padding: 10px 14px; font: inherit; font-size: 14px; max-height: 110px; color: #223; }
.ay-in textarea:focus { outline: 2px solid #b9c8f3; }
.ay-send { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #ff5d6c; color: #fff; font-weight: 800; cursor: pointer; flex: none; }
.ay-foot { font-size: 10.5px; color: #889; padding: 0 14px 10px; text-align: center; margin: 0; }
@media (max-width: 560px) { .ay-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 88vh; max-height: 88vh; border-radius: 20px 20px 0 0; } .ay-fab { right: 14px; bottom: 14px; } }
.ay-card { order: 9; margin-top: 22px; background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; border: 1px solid #e3e8f0; max-width: 560px; color: #223; box-shadow: 0 6px 20px rgba(16,26,62,.08); }
.ay-card-ic { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg,#ff5d6c,#ff8a5c); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.ay-card b { display: block; font-size: 16px; color: #14213d; } .ay-card > div > span { display: block; color: #667; font-size: 13.5px; margin-top: 2px; }
.ay-card-btn { margin-left: auto; border: 0; background: #ff5d6c; color: #fff; font: 800 14px/1 inherit; padding: 11px 16px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
@media (max-width: 560px) { .ay-card { flex-wrap: wrap; } .ay-card > div { flex: 1; min-width: 0; } .ay-card-btn { margin-left: 0; width: 100%; } }
.ay-card-acc { max-width: none; margin: 0 0 18px; }

/* ===== v181: menú de «Hola, Nombre» ===== */
.nav-me-wrap { position: relative; display: inline-flex; margin-left: 6px; }
.nav-me-wrap .nav-me { margin-left: 0; }
.nm-caret { width: 14px; height: 14px; margin-left: 1px; opacity: .75; transition: transform .2s; flex: none; }
.nav-me[aria-expanded="true"] .nm-caret { transform: rotate(180deg); }
.nm-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 280px; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(8,14,40,.35); padding: 8px; z-index: 80; color: #223; text-align: left; }
.nm-menu[hidden] { display: none; }
.nm-menu::before { content: ""; position: absolute; top: -6px; right: var(--ar-r, 34px); width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.nm-head { display: flex; gap: 11px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid #eef1f6; margin-bottom: 6px; min-width: 0; }
.nm-head > div { min-width: 0; }
.nm-head .nm-av { width: 40px; height: 40px; font-size: 18px; }
.nm-head b { display: block; font-size: 15px; color: #14213d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-head small { display: block; font-size: 12.5px; color: #7a849c; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topnav .nm-menu a.nm-it, .nm-menu a.nm-it { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: #223; font-weight: 700; font-size: 14.5px; text-decoration: none; line-height: 1.25; }
.topnav .nm-menu a.nm-it:hover, .nm-menu a.nm-it:focus-visible { background: #f2f5fb; color: #223; text-decoration: none; outline: none; }
.nm-ic { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.nm-ic svg { width: 19px; height: 19px; }
.nm-it small { display: block; font-weight: 500; font-size: 12px; color: #7a849c; margin-top: 1px; }
.nm-sep { height: 1px; background: #eef1f6; margin: 6px 4px; }
.topnav .nm-menu a.nm-out, .nm-menu a.nm-out { color: #d23a4c; }
.topnav .nm-menu a.nm-out:hover { color: #d23a4c; }
@media (max-width: 860px) { .nav-me-wrap { margin-left: auto; } }
@media (max-width: 560px) {
  .nm-menu { right: auto; width: calc(100vw - 24px); }
  .nm-menu::before { right: auto; left: var(--ar, 100px); }
}
@media (max-width: 560px) { .nav-me, .topnav .nav-me { padding: 4px 12px 4px 4px; gap: 7px; } .nm-caret { display: none; } .nm-tx b { max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } }
@media (max-width: 370px) { .nm-tx { display: none; } }
@media (max-width: 560px) { .nav-cart { padding: 0 !important; margin-right: 0 !important; } .nav-me-wrap { margin-right: 2px; } }
@media (max-width: 420px) { .nm-hola { display: none; } .nm-tx b { max-width: 88px; } .nav-me, .topnav .nav-me { padding-right: 10px; } }

/* ===== v182: chat también para visitantes; avisos «Pregunta a la ayuda» ===== */
.ay-m a { color: inherit; font-weight: 700; text-decoration: underline; }
.ay-foot a { color: inherit; }
.ct-vias-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .ct-vias-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .ct-vias-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ct-vias-5 { grid-template-columns: 1fr; } }
button.ct-via { font: inherit; text-align: left; cursor: pointer; width: 100%; }
.ct-ay { border-color: #ffc6cc; background: linear-gradient(180deg, #fff, #fff6f7); }
.ct-ay .ct-ic { background: #ffe8ea; }
.ct-ay .ct-lnk { color: #e2435a; }
.ay-inline { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #ffd0d5; border-radius: 16px; padding: 12px 14px; margin: 14px 0 18px; color: #223; text-align: left; }
.ay-inline > div { flex: 1; min-width: 0; }
.ay-inline b { display: block; font-size: 15px; color: #14213d; }
.ay-inline > div > span { display: block; font-size: 13.5px; color: #667; margin-top: 2px; }
.ay-inline .ay-card-btn { margin-left: 0; }
@media (max-width: 560px) { .ay-inline { flex-wrap: wrap; } .ay-inline .ay-card-btn { width: 100%; } }
.ay-h small i { font-style: normal; color: #9fe0b5; }
.ay-h small { color: #aeb8d6; }

/* ===== v184: Glu (gota azul con gotita coral) ===== */
.ay-bot { background: #1d2a5c; }
.ay-bot img, .ay-card-ic img, .ct-ay .ct-ic img { display: block; }
.ay-card-ic { background: #eef3ff; }
.ct-ay .ct-ic { background: #eef3ff; }
.ay-fab { padding: 7px 18px 7px 7px; }
.ay-fab-ic { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ay-fab-ic img { width: 30px; height: 30px; display: block; }
.ay-bt { margin-left: 32px; position: relative; overflow: visible; }
.ay-bt::before { content: ""; position: absolute; left: -32px; bottom: 0; width: 26px; height: 26px; background: url(/assets/img/glu.svg) center / contain no-repeat; }
.ay-chips { margin-left: 32px; }

/* ===== v185: en el móvil, Glu es un botón redondo y sube cuando sale la barra de «Comprar» ===== */
.ay-fab { transition: bottom .3s ease; }
@media (max-width: 860px) {
  .ay-fab { padding: 5px; width: 58px; height: 58px; justify-content: center; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .ay-fab-tx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ay-fab-ic { width: 48px; height: 48px; }
  .ay-fab-ic img { width: 40px; height: 40px; }
  body:has(.k-sticky.is-on) .ay-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* v188: Panel → Actualizar la web */
.up-grid { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; }
.up-grid .card { margin: 0; }
.up-now { text-align: center; }
.up-k { margin: 0; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.up-v { margin: 6px 0 4px; font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.up-box h2 { margin-top: 0; }
.up-form { display: grid; gap: 14px; max-width: 520px; }
.up-form label { display: grid; gap: 6px; font-weight: 600; }
.up-file { position: relative; display: grid !important; justify-items: center; gap: 4px !important; padding: 22px 16px; border: 2px dashed var(--line); border-radius: 16px; text-align: center; cursor: pointer; font-weight: 400 !important; transition: border-color .15s, background .15s; }
.up-file:hover, .up-file:focus-within { border-color: var(--brand); background: var(--brand-soft); }
.up-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.up-file-ic { font-size: 2rem; line-height: 1; }
.up-file.has b { color: var(--brand); }
.up-run { display: flex; gap: 16px; align-items: center; padding: 8px 0; }
.up-run-t { margin: 0 0 4px; font-size: 1.15rem; }
.up-spin { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 4px solid var(--brand-soft); border-top-color: var(--brand); animation: upspin 1s linear infinite; }
@keyframes upspin { to { transform: rotate(360deg); } }
.up-done, .up-bad { border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.up-done { background: #e3f4e9; color: #0d3a1f; }
.up-bad { background: #fbe9e7; color: #5a120c; }
.up-list { list-style: none; margin: 12px 0 0; padding: 0; }
.up-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.up-tag { font-weight: 800; min-width: 64px; }
.up-tag.on { color: var(--brand); }
.up-cur { margin-left: auto; font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.up-back { margin: 0 0 0 auto; }
.up-log { margin-top: 14px; }
.up-log pre { max-height: 320px; overflow: auto; background: var(--bg); border-radius: 10px; padding: 12px; font-size: .8rem; white-space: pre-wrap; }
@media (max-width: 760px) { .up-grid { grid-template-columns: 1fr; } }

/* v189: envío con Correos (Packlink) en el panel */
.pl-link { display: block; margin-bottom: 4px; font-weight: 600; }
.pl-card { max-width: 780px; }
.pl-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pl-steps { display: flex; gap: 6px; margin: 16px 0 14px; flex-wrap: wrap; }
.pl-st { flex: 1; min-width: 120px; font-size: .8rem; text-align: center; padding: 7px 6px; border-radius: 9px; background: var(--bg, #eef1f8); color: var(--muted); font-weight: 600; }
.pl-st.on { background: var(--brand); color: #fff; }
.pl-st.done { background: #e3f4e9; color: #16663a; }
.pl-svc { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 2px solid var(--brand); border-radius: 14px; }
.pl-svc b, .pl-svc span { display: block; }
.pl-ic { font-size: 1.8rem; }
.pl-price { margin-left: auto; font-weight: 800; font-size: 1.4rem; white-space: nowrap; }
.pl-price small { font-size: .75rem; font-weight: 600; color: var(--muted); }
.pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 14px; }
.pl-f { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.pl-f span { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pl-state { font-weight: 700; padding: 10px 12px; border-radius: 10px; }
.pl-wait { background: #fff4dc; color: #6b4b00; }
.pl-ok { background: #e3f4e9; color: #0d3a1f; }
.pl-bad { background: #fbe9e7; color: #5a120c; }
.pl-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
@media (max-width: 640px) { .pl-grid { grid-template-columns: 1fr; } .pl-svc { flex-wrap: wrap; } .pl-price { margin-left: 0; } }

/* v197: devoluciones en Mi panel → Pedidos y garantía */
.acc-ret { margin: 0; padding: 0 18px 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.acc-ret > b { font-size: 1rem; }
.acc-btn-off { opacity: .45; pointer-events: none; filter: grayscale(1); }
.acc-ret-form { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.acc-ret-ck { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; line-height: 1.45; margin-top: 6px; }
.acc-ret-ck input { margin-top: 3px; flex: none; }
.acc-ret-opt { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--hair); border-radius: 14px; padding: 10px 12px; cursor: pointer; }
.acc-ret-opt:has(input:checked) { border-color: #ff5d6c; background: rgba(255,93,108,.07); }
.acc-ret-opt input { margin-top: 4px; accent-color: #ff5d6c; flex: none; }
.acc-ret-opt small { display: block; color: var(--mut); font-size: .86rem; line-height: 1.45; margin-top: 2px; }
.acc-ret-form select { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--hair); font: inherit; }
.acc-ret-sum { margin: 8px 0 2px; font-size: 1rem; } .acc-ret-sum b { font-size: 1.15rem; } .acc-ret-sum small { color: var(--mut); font-size: .85rem; }
.acc-ret-tl { list-style: none; margin: 6px 0 4px; padding: 0; counter-reset: rt; }
.acc-ret-tl li { counter-increment: rt; display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--mut); padding: 3px 0; }
.acc-ret-tl li::before { content: counter(rt); width: 22px; height: 22px; border-radius: 50%; background: var(--hair); color: #fff; font-size: .75rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.acc-ret-tl li.d::before { content: "✓"; background: #2fb36d; } .acc-ret-tl li.d { color: inherit; }
.acc-ret-tl li.n::before { background: #ff5d6c; } .acc-ret-tl li.n { color: inherit; font-weight: 700; }
.acc-ret-row { display: flex; gap: 8px; flex-wrap: wrap; } .acc-ret-row input { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--hair); font: inherit; min-width: 220px; }

/* v201: el menú de arriba se queda fijo al bajar */
.topbar { position: sticky; top: 0; z-index: 60; }
html { scroll-padding-top: 76px; }
/* v201: sensor de pegatinas que aún no se vende (Simplera): se ve, pero no se elige */
.stk-sen.off { opacity: .55; cursor: not-allowed; filter: grayscale(.6); }
.stk-sen .stk-off { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #eef0f4; color: #5a6785; font-weight: 700; font-size: .72rem; }

/* v210 · volver a la portada desde Entrar */
.lg2-back { display: block; width: max-content; margin: 0 auto 22px; padding: 6px 12px; border-radius: 999px; color: #566973; font-size: .92rem; font-weight: 600; text-decoration: none; }
.lg2-back:hover, .lg2-back:focus-visible { color: #101a3e; background: #eef2f7; }
a.lg2-logo { text-decoration: none; }

/* v211 · devoluciones en las ventas de los socios */
.aff-ret { margin-top: 6px; line-height: 1.45; max-width: 380px; color: #445; }

/* ---------- v231: panel más compacto (menú y páginas) ---------- */
.is-admin { --side-open: 200px; }
.is-admin .side { padding: 6px 8px 14px; gap: 1px; }
.is-admin .side-group { margin: 9px 8px 1px; font-size: .6rem; }
html:not(.side-open) .is-admin .side-group { margin: 7px 6px; }
.is-admin .side a { min-height: 30px; gap: 9px; padding: 0 8px; font-size: .84rem; border-radius: 8px; }   /* v232: más compacto */
.is-admin .side a svg { width: 17px; height: 17px; }
.is-admin .side-count { min-width: 18px; line-height: 18px; font-size: .66rem; }
.is-admin .admin-main { padding: 0 18px 32px; }
.is-admin .admin-inner { max-width: 1240px; }
.is-admin .admin-head { padding-top: 18px; margin-bottom: 12px; gap: 10px; }
.is-admin .admin-head h1 { font-size: 1.35rem; }
.is-admin .capacity { padding: 8px 12px; }
.is-admin .card { padding: 14px 16px; margin: 10px 0; border-radius: 14px; }
.is-admin .card h2 { font-size: 1.12rem; margin-bottom: 10px; }
.is-admin .table th { padding: 6px 8px; font-size: .8rem; }
.is-admin .table td { padding: 6px 8px; font-size: .88rem; }
.is-admin .kpis { gap: 10px; }
.is-admin .kpi { padding: 10px 14px; border-radius: 12px; }
.is-admin .kpi strong { font-size: 1.3rem; }
.is-admin .notice, .is-admin .alert { padding: 9px 12px; margin: 10px 0; }
.is-admin .field { margin-bottom: 12px; }
.is-admin .btn { min-height: 40px; padding: 8px 16px; }
.is-admin .btn-sm { min-height: 32px; padding: 4px 11px; font-size: .86rem; }
.is-admin input[type=text], .is-admin input[type=email], .is-admin input[type=search], .is-admin input[type=number], .is-admin input[type=tel], .is-admin input[type=date], .is-admin select { min-height: 40px; }
.is-admin .cl-tabs a, .is-admin .tabs a { padding-top: 6px; padding-bottom: 6px; }

/* v232: Inicio del panel más compacto */
.is-admin .ai-num { padding: 12px 14px; border-radius: 14px; }
.is-admin .ai-nums { gap: 10px; }
.is-admin .ai-task { padding: 10px 14px; }
.is-admin .ai-quick a { padding: 10px 12px; }
.is-admin .ai-list > * { padding-top: 7px; padding-bottom: 7px; }

/* v240: Nightscout «Para cacharrear» (guías) */
.ns-intro{color:var(--muted,#5b6780);margin:-4px 0 14px;max-width:62ch}
.bl-grid.ns-grid{grid-template-columns:repeat(4,1fr)}.ns-grid .bl-cover{height:120px;aspect-ratio:auto;display:grid;place-items:center;background:linear-gradient(135deg,#0b4a2e,#06231a)}
@media(max-width:1000px){.bl-grid.ns-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.bl-grid.ns-grid{grid-template-columns:1fr}}
a.ns-band{display:grid;grid-template-columns:1fr auto auto;gap:22px;align-items:center;margin:18px 0;padding:20px 24px;border-radius:20px;background:linear-gradient(135deg,#0b4a2e,#0a2a3a);color:#fff;text-decoration:none}
a.ns-band:hover{text-decoration:none;filter:brightness(1.08)}
a.ns-band b{display:block;font-size:1.1rem;color:#fff!important}
a.ns-band div>span,a.ns-band .ns-price small{display:block;margin-top:4px}
a.ns-band span{color:#cfe9dc!important;font-weight:400;font-size:.95rem;line-height:1.45}
a.ns-band .ns-price{text-align:right}a.ns-band .ns-price b{font-size:1.7rem}a.ns-band .ns-price small{color:#cfe9dc;font-weight:400}
a.ns-band .ns-go{display:inline-block;margin:0;background:#fff;color:#0b4a2e!important;font-weight:700;padding:11px 18px;border-radius:999px;white-space:nowrap}
@media(max-width:720px){a.ns-band{grid-template-columns:1fr;gap:12px}a.ns-band .ns-price{text-align:left}a.ns-band .ns-go{justify-self:start}}
a.ns-band.ns-band-s{grid-template-columns:1fr auto}a.ns-band-s .ns-go{grid-column:1/-1;justify-self:start}
/* v240: barra fija del móvil más fina (no se parte en dos líneas ni se mete debajo de Glu) */
.k-sticky .k-btn{white-space:nowrap;flex:none}
.k-sticky p{min-width:0}.k-sticky p span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:860px){.k-sticky{padding:6px 6px 6px 18px}.k-sticky p b{font-size:1.08rem}.k-sticky p span{font-size:.76rem}.k-sticky .k-btn{padding:11px 18px;font-size:.95rem}}
@media (max-width:860px){body:has(.k-sticky.is-on) .ay-fab{bottom:calc(84px + env(safe-area-inset-bottom))}}
