/* ==========================================================================
   BULLDER · recap — resúmenes estilo historias (prefijo rc-)
   La historia es siempre "de noche": fondos con el azul de la marca y brillos de color, texto blanco,
   en ambos temas (igual que las imágenes que se comparten).
   ========================================================================== */

/* ------------------------------------------------------------------ paletas por lámina */
.rc-t-cover  { --g1: var(--accent); --g2: var(--c1); --hl: var(--accent); }
.rc-t-blue   { --g1: var(--c1); --g2: var(--c5); --hl: var(--c5); }
.rc-t-purple { --g1: var(--c6); --g2: var(--c1); --hl: var(--c6); }
.rc-t-green  { --g1: var(--accent); --g2: var(--c2); --hl: var(--accent); }
.rc-t-gold   { --g1: var(--pr); --g2: var(--c7); --hl: var(--pr); }
.rc-t-teal   { --g1: var(--c5); --g2: var(--c2); --hl: var(--c5); }
.rc-t-pink   { --g1: var(--c4); --g2: var(--c6); --hl: var(--c4); }
.rc-t-orange { --g1: var(--c3); --g2: var(--c7); --hl: var(--c3); }
.rc-t-coral  { --g1: var(--c7); --g2: var(--c4); --hl: var(--c7); }
.rc-t-mint   { --g1: var(--c2); --g2: var(--c5); --hl: var(--c2); }
.rc-t-indigo { --g1: var(--c1); --g2: var(--c6); --hl: var(--c1); }
.rc-t-final  { --g1: var(--accent); --g2: var(--c6); --hl: var(--accent); }

.rc-grad {
  background:
    radial-gradient(120% 62% at 100% 0%, color-mix(in srgb, var(--g1) 58%, transparent) 0%, transparent 64%),
    radial-gradient(105% 55% at 0% 100%, color-mix(in srgb, var(--g2) 46%, transparent) 0%, transparent 68%),
    linear-gradient(165deg, color-mix(in srgb, var(--navy) 82%, black) 0%, color-mix(in srgb, var(--navy) 30%, black) 100%);
}

/* ------------------------------------------------------------------ marco de la historia */
.rc-story {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  color: #fff; background: color-mix(in srgb, var(--navy) 22%, black); overflow: hidden;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.rc-backdrop { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 20% 10%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%),
              radial-gradient(50% 45% at 85% 90%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.rc-stage {
  position: relative; width: 100%; height: 100dvh; overflow: hidden; container-type: size;
  touch-action: none; outline: none; transition: transform .28s var(--ease); background: color-mix(in srgb, var(--navy) 40%, black);
}
.rc-stage:focus-visible { outline: none; }
@media (min-width: 720px) {
  .rc-stage { height: min(calc(100dvh - 48px), 940px); width: auto; aspect-ratio: 9 / 16; border-radius: 26px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
}
.rc-slides { position: absolute; inset: 0; }
.rc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s; }
.rc-slide.is-active { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }

/* navegación de escritorio a los lados */
.rc-nav { display: none; }
@media (min-width: 720px) {
  .rc-nav { display: grid; place-items: center; position: relative; z-index: 2; width: 52px; height: 52px; margin: 0 22px; border-radius: 50%;
    background: rgba(255, 255, 255, .1); color: #fff; transition: background .15s, transform .12s; }
  .rc-nav:hover { background: rgba(255, 255, 255, .2); }
  .rc-nav:active { transform: scale(.92); }
}

/* barra de segmentos y cabecera */
.rc-chrome { position: absolute; left: 0; right: 0; top: 0; z-index: 3; padding: calc(var(--safe-t) + 10px) 10px 18px;
  background: linear-gradient(rgba(0, 0, 0, .34), transparent); transition: opacity .2s; pointer-events: none; }
.rc-chrome button { pointer-events: auto; }
.rc-bars { display: flex; gap: 4px; padding: 0 2px; }
.rc-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.rc-bars i { display: block; height: 100%; background: #fff; transform-origin: left center; transform: scaleX(0); will-change: transform; }
.rc-head { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-left: 4px; }
.rc-head-mark { width: 34px; height: auto; }
.rc-head b { display: block; font: 800 13px/1.1 var(--font-display); letter-spacing: .14em; }
.rc-head small { display: block; font: 500 12px/1.2 var(--font); opacity: .78; margin-top: 2px; }
.rc-ib { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .15s, transform .12s; flex: none; }
.rc-ib:hover { background: rgba(255, 255, 255, .14); }
.rc-ib:active { transform: scale(.9); }
.rc-ib:focus-visible, .rc-share:focus-visible, .rc-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rc-ib-lg { width: 54px; height: 54px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* pie: compartir */
.rc-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 26px 18px calc(var(--safe-b) + 18px); background: linear-gradient(transparent, rgba(0, 0, 0, .3)); transition: opacity .2s; }
.rc-share { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .15); color: #fff; font: 650 14px/1 var(--font); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .16); transition: background .15s, transform .12s; }
.rc-share:hover { background: rgba(255, 255, 255, .24); }
.rc-share:active { transform: scale(.96); }
.rc-share.is-loading { color: transparent; position: relative; }
.rc-share.is-loading::after { content: ""; position: absolute; left: calc(50% - 9px); width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #fff; border-top-color: transparent; animation: spin .7s linear infinite; }
.rc-share-main { flex: 1; max-width: 320px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.rc-stage.is-holding .rc-chrome, .rc-stage.is-holding .rc-foot { opacity: 0; }
.rc-stage.is-paused .rc-bars span { background: rgba(255, 255, 255, .4); }

/* ------------------------------------------------------------------ contenido de una lámina */
.rc-body {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: min(2.4cqw, 1.4cqh);
  padding: calc(var(--safe-t) + 86px) 7cqw calc(var(--safe-b) + 96px); font-size: 4cqw;
}
.rc-slide.is-active .rc-body > * { animation: rc-up .6s var(--ease) both; }
.rc-slide.is-active .rc-body > :nth-child(2) { animation-delay: .06s; }
.rc-slide.is-active .rc-body > :nth-child(3) { animation-delay: .14s; }
.rc-slide.is-active .rc-body > :nth-child(4) { animation-delay: .24s; }
.rc-slide.is-active .rc-body > :nth-child(5) { animation-delay: .36s; }
.rc-slide.is-active .rc-body > :nth-child(6) { animation-delay: .5s; }
.rc-slide.is-active .rc-body > :nth-child(n+7) { animation-delay: .62s; }
@keyframes rc-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rc-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes rc-grow-x { from { transform: scaleX(0); } }
@keyframes rc-grow-y { from { transform: scaleY(0); } }

.rc-over { display: inline-flex; align-items: center; gap: 10px; font: 750 min(3.2cqw, 15px)/1 var(--font); letter-spacing: .16em; text-transform: uppercase;
  color: color-mix(in srgb, var(--hl) 75%, white); }
.rc-over::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--hl); }
.rc-pre { font: 600 min(5.6cqw, 3.3cqh)/1.2 var(--font-display); color: rgba(255, 255, 255, .88); margin-top: 1cqh; }
.rc-hero { display: flex; flex-direction: column; line-height: .9; margin: .4cqh 0 .2cqh; }
.rc-count { font: 800 min(30cqw, 17cqh)/.92 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--hl) 70%, white) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rc-unit { font: 700 min(7.4cqw, 4.2cqh)/1.1 var(--font-display); color: var(--hl); margin-top: .8cqh; }
.rc-sub { font: 500 min(4.2cqw, 2.4cqh)/1.35 var(--font); color: rgba(255, 255, 255, .74); }
.rc-note { font: 500 min(3.5cqw, 2cqh)/1.35 var(--font); color: rgba(255, 255, 255, .66); }
.rc-word { font: 800 min(15cqw, 8.5cqh)/.95 var(--font-display); letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff 35%, color-mix(in srgb, var(--hl) 70%, white) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.rc-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); font: 600 min(3.7cqw, 2.1cqh)/1.2 var(--font); margin-top: 1cqh; }
.rc-pill .ic { color: var(--hl); }
.rc-mini-head { display: flex; align-items: center; gap: 8px; font: 700 min(3.3cqw, 1.9cqh)/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 2cqh; }
.rc-mini-head .ic { color: var(--hl); }

/* tarjeta destacada dentro de la lámina */
.rc-hl { display: flex; align-items: center; gap: 3.4cqw; padding: 3.4cqw 4cqw; margin-top: 1.6cqh; border-radius: 18px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rc-hl-ic { width: min(11cqw, 6.4cqh); height: min(11cqw, 6.4cqh); border-radius: 30%; display: grid; place-items: center; background: var(--hl); color: var(--on-accent); flex: none; }
.rc-hl small { display: block; font: 650 min(3cqw, 1.7cqh)/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .62); }
.rc-hl b { display: block; font: 700 min(4.6cqw, 2.6cqh)/1.2 var(--font-display); margin-top: 3px; }
.rc-hl em { display: block; font: 500 min(3.4cqw, 1.9cqh)/1.3 var(--font); font-style: normal; color: rgba(255, 255, 255, .66); margin-top: 2px; }
.rc-hl strong { font: 800 min(5.4cqw, 3cqh)/1 var(--font-display); white-space: nowrap; color: var(--hl); font-variant-numeric: tabular-nums; }
.rc-hl-soft .rc-hl-ic { background: rgba(255, 255, 255, .16); color: #fff; }

/* portada */
.rc-body-cover { justify-content: center; align-items: flex-start; }
.rc-cover { display: flex; flex-direction: column; gap: 1.4cqh; }
.rc-cover-mark img { width: min(30cqw, 17cqh); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); margin-bottom: 2cqh; }
.rc-kicker { font: 750 min(3.6cqw, 2cqh)/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.rc-cover-big { font: 800 min(var(--fs, 22cqw), 13cqh)/.9 var(--font-display); letter-spacing: -.04em; overflow-wrap: anywhere;
  background: linear-gradient(180deg, #fff 40%, color-mix(in srgb, var(--accent) 55%, white)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.rc-cover-small { font: 700 min(8cqw, 4.6cqh)/1 var(--font-display); color: rgba(255, 255, 255, .5); letter-spacing: .02em; }
.rc-cover-line { font: 500 min(4.6cqw, 2.6cqh)/1.4 var(--font); color: rgba(255, 255, 255, .82); max-width: 80cqw; margin-top: 1.4cqh; }
.rc-cover-line b { color: #fff; font-weight: 700; }
.rc-live { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 1cqh; padding: 7px 12px; border-radius: var(--r-full);
  background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); font: 700 min(3.2cqw, 13px)/1 var(--font); }
.rc-slide.is-active .rc-cover > * { animation: rc-up .7s var(--ease) both; }
.rc-slide.is-active .rc-cover > :nth-child(2) { animation-delay: .1s; }
.rc-slide.is-active .rc-cover > :nth-child(3) { animation-delay: .2s; }
.rc-slide.is-active .rc-cover > :nth-child(n+4) { animation-delay: .34s; }

/* calendario del mes */
.rc-visual { margin-top: 1.4cqh; }
.rc-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: min(1.7cqw, 1cqh); max-width: min(86cqw, 52cqh); }
.rc-cal i { font-style: normal; display: grid; place-items: center; aspect-ratio: 1; border-radius: 30%; font: 650 min(3.1cqw, 1.8cqh)/1 var(--font); }
.rc-cal-h { aspect-ratio: auto !important; color: rgba(255, 255, 255, .5); font-weight: 700 !important; padding-bottom: 2px; }
.rc-cal-d { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .55); }
.rc-cal-d.is-future { background: transparent; border: 1px dashed rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .3); }
.rc-cal-d.is-on { background: var(--hl); color: var(--on-accent); font-weight: 800; box-shadow: 0 0 18px color-mix(in srgb, var(--hl) 45%, transparent); }
.rc-slide.is-active .rc-cal-d.is-on { animation: rc-pop .45s var(--ease) both; animation-delay: calc(.3s + var(--i) * 18ms); }

.rc-weekdots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2cqw; }
.rc-weekdots span { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rc-weekdots i { font-style: normal; width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08);
  font: 700 min(3.6cqw, 2cqh)/1 var(--font); color: rgba(255, 255, 255, .55); }
.rc-weekdots .is-on i { background: var(--hl); color: var(--on-accent); box-shadow: 0 0 18px color-mix(in srgb, var(--hl) 45%, transparent); }
.rc-weekdots small { font: 650 min(3.2cqw, 1.8cqh)/1 var(--font); color: rgba(255, 255, 255, .6); }
.rc-slide.is-active .rc-weekdots .is-on i { animation: rc-pop .45s var(--ease) both; animation-delay: calc(.3s + var(--i) * 60ms); }

/* barras verticales (días de la semana, meses del año) */
.rc-vbars { display: flex; align-items: stretch; gap: 2.4cqw; height: min(34cqw, 20cqh); margin-top: 1.4cqh; }
.rc-vbars span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.rc-vbars i { display: block; width: 100%; height: calc(max(var(--h), .04) * 72%); border-radius: 8px 8px 4px 4px; background: rgba(255, 255, 255, .2); transform-origin: bottom; }
.rc-vbars .is-top i { background: var(--hl); box-shadow: 0 0 22px color-mix(in srgb, var(--hl) 45%, transparent); }
.rc-vbars em { font: 700 min(3.2cqw, 1.8cqh)/1 var(--font); font-style: normal; color: rgba(255, 255, 255, .7); min-height: 1em; }
.rc-vbars .is-top em { color: #fff; }
.rc-vbars small { font: 650 min(3.2cqw, 1.8cqh)/1 var(--font); color: rgba(255, 255, 255, .6); }
.rc-vbars-12 { gap: 1.4cqw; }
.rc-vbars-12 i { background: color-mix(in srgb, var(--hl) 70%, transparent); }
.rc-slide.is-active .rc-vbars i { animation: rc-grow-y .7s var(--ease) both; animation-delay: calc(.3s + var(--i) * 50ms); }

/* volumen: puntos */
.rc-thing { font: 700 min(6cqw, 3.4cqh)/1.2 var(--font-display); margin-top: 1.2cqh; }
.rc-dots { display: flex; flex-wrap: wrap; gap: min(1.6cqw, .9cqh); max-width: 86cqw; }
.rc-dots i { width: min(5.4cqw, 3cqh); height: min(5.4cqw, 3cqh); border-radius: 50%; background: var(--hl); box-shadow: 0 0 12px color-mix(in srgb, var(--hl) 40%, transparent); }
.rc-slide.is-active .rc-dots i { animation: rc-pop .4s var(--ease) both; animation-delay: calc(.35s + var(--i) * 22ms); }
.rc-row2, .rc-row3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3cqw; margin-top: 1.6cqh; }
.rc-row3 { grid-template-columns: repeat(3, 1fr); }
.rc-row2 b, .rc-row3 b { display: block; font: 800 min(8cqw, 4.4cqh)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.rc-row2 small, .rc-row3 small { display: block; font: 550 min(3.4cqw, 1.9cqh)/1.2 var(--font); color: rgba(255, 255, 255, .68); margin-top: 4px; }

/* portadas de ejercicio (siempre sobre blanco, sin recortar al modelo) */
.rc-thumb { width: min(17cqw, 9.6cqh); aspect-ratio: 4 / 3; border-radius: 16%; background: var(--media-bg); overflow: hidden; flex: none; display: grid; place-items: center; color: var(--navy); }
.rc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rc-thumb-sm { width: min(13cqw, 7.4cqh); border-radius: 18%; }
.rc-thumb-xl { width: min(80cqw, 45cqh); border-radius: 7%; box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 6px color-mix(in srgb, var(--hl) 35%, transparent); }

/* récords */
.rc-prs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2cqh; }
.rc-prs li { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.rc-prs b { font: 700 min(4.1cqw, 2.3cqh)/1.2 var(--font-display); }
.rc-prs small { display: block; font: 500 min(3.4cqw, 1.9cqh)/1.3 var(--font); color: rgba(255, 255, 255, .7); margin-top: 3px; }
.rc-prs small strong { color: #fff; }
.rc-prs em { font: 800 min(4cqw, 2.2cqh)/1 var(--font-display); font-style: normal; color: var(--pr); background: color-mix(in srgb, var(--pr) 16%, transparent); padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.rc-slide.is-active .rc-prs li { animation: rc-up .5s var(--ease) both; animation-delay: calc(.45s + var(--i) * 120ms); }

/* ejercicio estrella */
.rc-body-favorite { align-items: center; text-align: center; }
.rc-body-favorite .rc-over { align-self: center; }
.rc-fav { margin: 2cqh 0 1cqh; }
.rc-fav-name { font: 800 min(7.4cqw, 4.2cqh)/1.1 var(--font-display); letter-spacing: -.02em; max-width: 84cqw; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rc-body-favorite .rc-row3 { width: 100%; }
.rc-others { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 1.6cqh; text-align: left; }
.rc-others > small { font: 700 min(3cqw, 1.7cqh)/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.rc-others > span { display: flex; align-items: center; gap: 3cqw; padding: 2cqw; border-radius: 16px; background: rgba(255, 255, 255, .08); min-width: 0; }
.rc-others b { flex: 1; font: 650 min(3.8cqw, 2.1cqh)/1.2 var(--font-display); }
.rc-others em { font: 600 min(3.2cqw, 1.8cqh)/1 var(--font); font-style: normal; color: rgba(255, 255, 255, .7); white-space: nowrap; }

/* músculos: barras horizontales */
.rc-hbars { display: flex; flex-direction: column; gap: min(1.5cqw, .85cqh); margin-top: 1.4cqh; }
.rc-hbars span { display: grid; grid-template-columns: 27cqw 1fr 9cqw; align-items: center; gap: 2.4cqw; }
.rc-hbars small { font: 600 min(3.4cqw, 1.9cqh)/1 var(--font); color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-hbars i { display: block; height: min(3cqw, 1.7cqh); width: calc(var(--w) * 100%); border-radius: 99px; background: rgba(255, 255, 255, .26); transform-origin: left; }
.rc-hbars em { font: 700 min(3.4cqw, 1.9cqh)/1 var(--font); font-style: normal; text-align: right; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.rc-hbars .is-top i { background: var(--hl); box-shadow: 0 0 18px color-mix(in srgb, var(--hl) 50%, transparent); }
.rc-hbars .is-top small, .rc-hbars .is-top em { color: #fff; }
.rc-hbars .is-low i { background: transparent; border: 1.5px dashed rgba(255, 255, 255, .6); }
.rc-slide.is-active .rc-hbars i { animation: rc-grow-x .7s var(--ease) both; animation-delay: calc(.35s + var(--i) * 45ms); }

/* fuerza */
.rc-lifts { display: flex; flex-direction: column; gap: 1.8cqh; margin-top: 1.6cqh; }
.rc-lift-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rc-lift-top b { font: 700 min(4.6cqw, 2.6cqh)/1.1 var(--font-display); }
.rc-lift-top em { font: 800 min(5cqw, 2.8cqh)/1 var(--font-display); font-style: normal; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.rc-lift-top em.is-up { color: var(--hl); }
.rc-lift-bar { position: relative; height: min(3.4cqw, 1.9cqh); margin: 1cqh 0 .8cqh; border-radius: 99px; background: rgba(255, 255, 255, .08); }
.rc-lift-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; transform-origin: left; }
.rc-lift-b { width: calc(var(--b) * 100%); background: var(--hl); box-shadow: 0 0 16px color-mix(in srgb, var(--hl) 45%, transparent); }
.rc-lift-a { width: calc(var(--a) * 100%); background: rgba(255, 255, 255, .55); z-index: 1; height: 100%; }
.rc-lift-foot { display: flex; align-items: center; gap: 8px; font: 550 min(3.5cqw, 2cqh)/1 var(--font); color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.rc-lift-foot strong { color: #fff; font-weight: 750; }
.rc-lift-foot span { margin-left: auto; font-weight: 700; color: rgba(255, 255, 255, .75); }
.rc-slide.is-active .rc-lift-b { animation: rc-grow-x .9s var(--ease) both; animation-delay: calc(.5s + var(--i) * 120ms); }
.rc-slide.is-active .rc-lift-a { animation: rc-grow-x .6s var(--ease) both; animation-delay: calc(.3s + var(--i) * 120ms); }

/* icono decorativo grande de fondo */
.rc-deco { position: absolute; right: -14cqw; top: 14cqh; width: 74cqw; height: 74cqw; color: var(--hl); opacity: .1; pointer-events: none; animation: none !important; }
.rc-deco .ic { width: 100%; height: 100%; stroke-width: 1.2; }

/* cuerpo: línea del antes y el después */
.rc-span { display: flex; align-items: center; gap: 3cqw; margin-top: 2cqh; }
.rc-span span { display: flex; flex-direction: column; gap: 4px; }
.rc-span small { font: 650 min(3cqw, 1.7cqh)/1 var(--font); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.rc-span b { font: 800 min(6.4cqw, 3.6cqh)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.rc-span i { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .25), var(--hl)); position: relative; }
.rc-span i::after { content: ""; position: absolute; right: -2px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--hl); transform: translateY(-50%); box-shadow: 0 0 16px var(--hl); }
.rc-span span:last-child { text-align: right; }

/* comida */
.rc-food { margin-top: 1cqh; }

/* comparación */
.rc-cmp { display: flex; flex-direction: column; gap: 1cqh; margin-top: 1.4cqh; }
.rc-cmp-row { display: flex; align-items: center; gap: 12px; padding: 2.6cqw 3.6cqw; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.rc-cmp-row small { display: block; font: 650 min(3cqw, 1.7cqh)/1 var(--font); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.rc-cmp-row b { display: inline-block; font: 800 min(6cqw, 3.4cqh)/1.1 var(--font-display); margin-top: 4px; font-variant-numeric: tabular-nums; }
.rc-cmp-row em { font: 500 min(3.3cqw, 1.9cqh)/1 var(--font); font-style: normal; color: rgba(255, 255, 255, .6); margin-left: 8px; }
.rc-cmp-row strong { display: inline-flex; align-items: center; gap: 4px; font: 800 min(4.2cqw, 2.4cqh)/1 var(--font-display); padding: 8px 10px; border-radius: 10px;
  background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); white-space: nowrap; }
.rc-cmp-row strong.is-up { color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.rc-cmp-row strong.is-down { color: #fff; background: rgba(255, 255, 255, .14); }
.rc-slide.is-active .rc-cmp-row { animation: rc-up .5s var(--ease) both; animation-delay: calc(.3s + var(--i) * 90ms); }

/* final */
.rc-body-final { align-items: center; text-align: center; gap: min(2cqw, 1.2cqh); }
.rc-body-final .rc-over { align-self: center; }
.rc-badge { width: min(24cqw, 13cqh); height: min(24cqw, 13cqh); border-radius: 32%; display: grid; place-items: center; margin-top: 1cqh;
  background: linear-gradient(135deg, var(--accent), var(--c5)); color: var(--on-accent); box-shadow: 0 18px 50px color-mix(in srgb, var(--accent) 35%, transparent); transform: rotate(-6deg); }
.rc-badge .ic { width: 46%; height: 46%; stroke-width: 2.2; }
.rc-slide.is-active .rc-badge { animation: rc-pop .7s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: .15s; }
.rc-title { font: 800 min(11cqw, 6.2cqh)/1 var(--font-display); letter-spacing: -.03em; max-width: 88cqw; margin-top: 1.4cqh;
  background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--accent) 60%, white)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.rc-title-text { font: 500 min(4cqw, 2.3cqh)/1.4 var(--font); color: rgba(255, 255, 255, .78); max-width: 78cqw; }
.rc-sum { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; margin-top: 2cqh; }
.rc-sum span { padding: 3.4cqw 3cqw; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); text-align: left; }
.rc-sum b { display: block; font: 800 min(7cqw, 3.9cqh)/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-sum small { display: block; font: 550 min(3.3cqw, 1.9cqh)/1.2 var(--font); color: rgba(255, 255, 255, .65); margin-top: 6px; }
.rc-sum-star { width: 100%; display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 3cqw; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); text-align: left; }
.rc-sum-star small { display: block; font: 600 min(3cqw, 1.7cqh)/1 var(--font); color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .06em; }
.rc-sum-star b { display: block; font: 700 min(4cqw, 2.3cqh)/1.25 var(--font-display); margin-top: 4px; }
.rc-sum-m { flex: none; text-align: right; padding-left: 3cqw; border-left: 1px solid rgba(255, 255, 255, .14); }
.rc-sign { font: 600 min(3.2cqw, 1.8cqh)/1 var(--font); color: rgba(255, 255, 255, .55); margin-top: 1cqh; }

/* carga y mensajes */
.rc-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.rc-loading img { width: 120px; height: auto; animation: splash-pulse 1.4s ease-in-out infinite; }
.rc-loading p { font: 600 15px/1 var(--font); color: rgba(255, 255, 255, .75); }
.rc-body-msg { align-items: center; text-align: center; gap: 14px; }
.rc-body-msg h2 { font: 800 min(8cqw, 32px)/1.1 var(--font-display); }
.rc-body-msg p { color: rgba(255, 255, 255, .78); max-width: 80cqw; }
.rc-msg-ic { width: 88px; height: 88px; border-radius: 28px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--c1); margin-bottom: 8px; }
.rc-msg-actions { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.rc-btn-glass { background: rgba(255, 255, 255, .12); color: #fff; }
.rc-btn-glass:hover { background: rgba(255, 255, 255, .2); }

/* ==========================================================================
   /recap — lista de periodos
   ========================================================================== */
.rc-page { display: flex; flex-direction: column; gap: var(--sp-2); }
.rc-page .section-head { margin-top: var(--sp-6); }
.rc-page .section-head:first-child { margin-top: 0; }
.rc-intro { color: var(--text-2); font-size: 14px; margin-top: -2px; }

.rc-pcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 168px; padding: 16px; border-radius: var(--r-lg);
  color: #fff; overflow: hidden; isolation: isolate; transition: transform .14s var(--ease), box-shadow .2s; box-shadow: var(--shadow-sm); }
.rc-pcard:hover { box-shadow: var(--shadow); }
.rc-pcard:active { transform: scale(.98); }
.rc-pcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .1); pointer-events: none; }
.rc-pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rc-pcard-over { font: 750 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--hl) 75%, white); }
.rc-pcard-tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--r-full); background: rgba(255, 255, 255, .16); font: 700 11.5px/1 var(--font); }
.rc-pcard-tag.is-live { background: color-mix(in srgb, var(--accent) 24%, transparent); color: var(--accent); }
.rc-pcard-name { font: 800 30px/1 var(--font-display); letter-spacing: -.03em; }
.rc-pcard-name small { display: block; font: 700 14px/1 var(--font-display); letter-spacing: 0; color: rgba(255, 255, 255, .6); margin-top: 6px; }
.rc-pcard-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-right: 52px; font: 600 12.5px/1.2 var(--font); color: rgba(255, 255, 255, .78); }
.rc-feature .rc-pcard-stats { padding-right: 0; }
.rc-pcard-stats b { display: block; font: 800 17px/1.1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.rc-pcard-play { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .15s, transform .15s; }
.rc-pcard:hover .rc-pcard-play { background: var(--hl); color: var(--on-accent); transform: scale(1.06); }
.rc-pcard-play .ic { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.rc-pcard-deco { position: absolute; right: -8px; bottom: -26px; font: 800 116px/1 var(--font-display); letter-spacing: -.06em; color: rgba(255, 255, 255, .05); z-index: -1; pointer-events: none; }

/* destacada */
.rc-feature { min-height: 230px; padding: 20px; }
.rc-feature .rc-pcard-name { font-size: 40px; }
.rc-feature-mark { position: absolute; right: 18px; top: 18px; width: 64px; height: auto; opacity: .9; }
.rc-feature-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r-full);
  background: var(--accent); color: var(--on-accent); font: 700 14.5px/1 var(--font); }
.rc-feature-cta .ic { width: 16px; height: 16px; fill: currentColor; }
.rc-feature .rc-pcard-play { display: none; }

/* listas */
.rc-weeks { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin: 0 calc(var(--sp-4) * -1); padding: 2px var(--sp-4) 6px; scroll-padding: 0 var(--sp-4); }
.rc-weeks::-webkit-scrollbar { display: none; }
.rc-weeks .rc-pcard { flex: 0 0 72%; max-width: 280px; min-height: 150px; scroll-snap-align: start; }
.rc-weeks .rc-pcard-name { font-size: 22px; }
.rc-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rc-months .rc-pcard { min-height: 172px; }
.rc-months .rc-pcard-name { font-size: 26px; }
.rc-months .rc-pcard-stats { flex-direction: column; gap: 6px; }
.rc-years { display: grid; gap: 10px; }
.rc-years .rc-pcard { min-height: 150px; }
.rc-years .rc-pcard-name { font-size: 44px; }
@media (min-width: 960px) {
  .rc-months { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .rc-weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0; padding: 0; overflow: visible; }
  .rc-weeks .rc-pcard { max-width: none; }
  .rc-years { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
  .rc-feature { min-height: 260px; padding: 28px; }
  .rc-feature .rc-pcard-name { font-size: 52px; }
}
.rc-sk { min-height: 168px; border-radius: var(--r-lg); }

/* ==========================================================================
   Tarjeta para Inicio (widgets.js)
   ========================================================================== */
.rc-wcard { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); color: #fff; overflow: hidden; isolation: isolate; min-height: 112px; cursor: pointer;
  border: 0; transition: transform .12s var(--ease); text-align: left; }
.rc-wcard:active { transform: scale(.985); }
.rc-wcard-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--hl); color: var(--on-accent); flex: none; box-shadow: 0 8px 24px color-mix(in srgb, var(--hl) 35%, transparent); }
.rc-wcard-over { font: 750 10.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--hl) 75%, white); }
.rc-wcard-title { display: block; font: 800 19px/1.15 var(--font-display); margin-top: 6px; }
.rc-wcard-sub { display: block; font: 500 13px/1.3 var(--font); color: rgba(255, 255, 255, .75); margin-top: 4px; }
.rc-wcard-x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: rgba(255, 255, 255, .7); }
.rc-wcard-x:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.rc-wcard-x .ic { width: 18px; height: 18px; }
.rc-wcard-go { display: none; }
