/* Mi Readify web (3.16.0): encima de panel.css (tokens, botones, campos, bloques). */
body.mi { background: var(--bg); }
.mi [hidden] { display: none !important; }
.mi-barra { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.mi-barra-dentro { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 20px; }
.mi-nav { display: flex; gap: 4px; background: var(--sup); border-radius: 999px; padding: 4px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.mi-nav::-webkit-scrollbar { display: none; }
.mi-nav a { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--tinta-2); text-decoration: none; white-space: nowrap; }
.mi-nav a.on { background: var(--tinta); color: #fff; }
.mi-contenido { max-width: 1040px; margin: 0 auto; padding: 8px 20px 60px; }
.mi-titulo { font-size: clamp(34px, 5vw, 46px); line-height: 1.02; letter-spacing: -.04em; margin: 14px 0 6px; }
.mi-sub { color: var(--tinta-2); font-size: 16.5px; margin: 0 0 22px; max-width: 620px; }
.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.hero { border-radius: var(--r-xl); padding: 24px; position: relative; overflow: hidden; }
.hero .ilus-hero { position: absolute; right: 18px; top: 18px; width: 96px; height: 96px; }
.hero small { font-weight: 600; color: var(--tinta-2); font-size: 14px; }
.hero h2 { font-size: 34px; line-height: 1.05; letter-spacing: -.035em; margin: 4px 0 6px; padding-right: 110px; }
.hero p { color: var(--tinta-2); margin: 0; padding-right: 100px; }
.tono-melocoton { background: var(--melocoton); } .tono-lila { background: var(--lila); } .tono-amarillo { background: var(--amarillo); }
.tono-rosa { background: var(--rosa); } .tono-cielo { background: var(--cielo); } .tono-menta { background: var(--menta); }
.recorrido { list-style: none; margin: 14px 0 0; padding: 0; }
.recorrido li { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.recorrido li:last-child { padding-bottom: 0; }
.recorrido li::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 3px; border-radius: 2px; background: var(--bg-2); }
.recorrido li:last-child::before { display: none; }
.recorrido li.hecho::before { background: var(--tinta); }
.recorrido i { width: 29px; height: 29px; border-radius: 50%; background: var(--bg); flex: 0 0 auto; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; position: relative; z-index: 1; }
.recorrido li.hecho i { background: var(--tinta); }
.recorrido li.actual i { background: var(--naranja); box-shadow: 0 0 0 6px var(--melocoton); }
.recorrido b { display: block; font-weight: 700; }
.recorrido span { color: var(--tenue); font-size: 13.5px; }
.recorrido li:not(.hecho):not(.actual) b { color: var(--tenue); }
.estanteria { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.libro { display: flex; flex-direction: column; gap: 6px; }
.libro img, .libro .sin-portada { width: 100%; aspect-ratio: 2/3; border-radius: 6px 12px 12px 6px; object-fit: cover; background: var(--bg-2); box-shadow: 0 16px 30px -18px rgba(21, 20, 18, .5); }
.libro b { font-size: 14.5px; line-height: 1.25; }
.libro small { color: var(--tinta-2); }
.valorar { display: flex; gap: 2px; }
.valorar button { font-size: 22px; line-height: 1; color: #D9D5CE; padding: 2px; }
.valorar button.on { color: #E0A106; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opcion { border-radius: 999px; padding: 9px 16px; background: var(--bg); font-weight: 600; font-size: 14.5px; transition: background .15s, color .15s; }
.opcion.on { background: var(--tinta); color: #fff; }
.opcion.evitar.on { background: #B42318; }
.ritmos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ritmos .opcion { border-radius: var(--r-md); text-align: left; padding: 14px 16px; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: var(--bg); border-radius: var(--r-md); padding: 8px; }
.etiquetas input { flex: 1; min-width: 140px; border: 0; background: none; outline: none; padding: 6px; }
.etiquetas .chip { background: #FDE2DD; color: #B42318; display: inline-flex; align-items: center; gap: 6px; }
.etiquetas .chip button { color: inherit; font-weight: 800; }
.acciones-fila { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fila-accion { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-top: 1px solid var(--bg); }
.fila-accion:first-child { border-top: 0; }
.fila-accion img { width: 40px; height: 40px; }
.fila-accion div { flex: 1; }
.fila-accion b { display: block; }
.fila-accion span { color: var(--tinta-2); font-size: 14px; }
.guardar-pie { position: sticky; bottom: 16px; display: flex; justify-content: flex-end; margin-top: 16px; }
.vacio-grande { text-align: center; padding: 30px 16px; }
.vacio-grande img { width: 120px; height: 120px; margin: 0 auto 10px; }
.vacio-grande h3 { font-size: 24px; }
.vacio-grande p { color: var(--tinta-2); max-width: 420px; margin: 8px auto 16px; }
.tiendas-mi { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tienda-mi { background: var(--tinta); color: #fff; border-radius: 12px; padding: 8px 14px; font-size: 12px; line-height: 1.2; }
.tienda-mi b { display: block; font: 700 15px var(--f-t); }
.modal-velo { position: fixed; inset: 0; background: rgba(21, 20, 18, .35); z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--sup); border-radius: var(--r-xl); padding: 24px; width: min(480px, 100%); box-shadow: var(--sombra); }
.modal h3 { font-size: 24px; margin-bottom: 6px; }
.modal p { color: var(--tinta-2); margin: 0 0 16px; }
@media (max-width: 760px) {
  .rejilla { grid-template-columns: minmax(0, 1fr); }
  .mi-barra-dentro { flex-wrap: wrap; }
  .mi-nav { order: 3; width: 100%; margin: 0; }
  .hero h2 { font-size: 28px; padding-right: 76px; }
  .hero .ilus-hero { width: 64px; height: 64px; }
  .hero p { padding-right: 0; }
  .hero p:first-of-type { padding-right: 70px; }
  .ritmos { grid-template-columns: minmax(0, 1fr); }
}

/* ───── 3.28.0 · Insignias oficiales de las tiendas ───── */
.tienda-oficial { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .15s ease, opacity .15s; }
.tienda-oficial:hover { transform: translateY(-1px); opacity: .9; }
.tienda-oficial img { height: 44px; width: auto; }

/* ───── 3.28.0 · Esqueleto mientras carga ───── */
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, var(--bg-2) 0%, #F8F7F4 45%, var(--bg-2) 90%); background-size: 220% 100%; animation: sk-brillo 1.3s ease-in-out infinite; }
.sk + .sk { margin-top: 10px; }
.sk-circulo { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; }
.sk-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sk-cab .sk + .sk { margin-top: 0; }
.sk-pastilla { width: 84px; height: 32px; border-radius: 999px; }
.sk-nav { pointer-events: none; }
.sk-nav .sk + .sk { margin-top: 0; }
.sk-saludo { padding: 22px 4px 26px; }
.sk-saludo .sk + .sk { margin-top: 14px; }
.sk-bloque { min-height: 132px; }
@keyframes sk-brillo { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ───── 3.28.0 · Movimiento: la página entra y responde (sobre todo en ordenador) ───── */
.mi-contenido > * { animation: mi-entra .38s cubic-bezier(.2, .7, .2, 1) both; }
.mi-contenido .rejilla > *, .mi-contenido > div > .bloque { animation: mi-entra .42s cubic-bezier(.2, .7, .2, 1) both; }
.mi-contenido .rejilla > *:nth-child(2) { animation-delay: 50ms; }
.mi-contenido .rejilla > *:nth-child(3) { animation-delay: 100ms; }
.mi-contenido .rejilla > *:nth-child(4) { animation-delay: 150ms; }
.mi-contenido .rejilla > *:nth-child(n+5) { animation-delay: 200ms; }
@keyframes mi-entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (min-width: 900px) {
  .mi-contenido .rejilla > .bloque { transition: transform .2s ease, box-shadow .2s ease; }
  .mi-contenido .rejilla > .bloque:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -22px rgba(21, 20, 18, .35); }
  .mi-nav a { transition: background .18s ease, color .18s ease; }
  .mi-nav a:not(.on):hover { background: var(--bg); color: var(--tinta); }
}
@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
  .mi-contenido > *, .mi-contenido .rejilla > *, .mi-contenido > div > .bloque { animation: none; }
  .mi-contenido .rejilla > .bloque:hover { transform: none; }
}
