/* =====================================================================
   Página del proyecto DANIEL SANTIGOSA · negro y blanco de sus diseños, rojo de acento.
   Titulares en Michroma (extendida, como los nombres de sus historias); texto en Barlow Semi Condensed.
   ===================================================================== */
@font-face { font-family: 'DS Michroma'; font-weight: 400; font-display: swap; src: url('../assets/fonts/michroma-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow-semi-condensed-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 500; font-display: swap; src: url('../assets/fonts/barlow-semi-condensed-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-display: swap; src: url('../assets/fonts/barlow-semi-condensed-latin-700-normal.woff2') format('woff2'); }

.ventana__cuerpo.ventana__cuerpo--pag:has(.ds) { background: #0a0a0c; }
.ds {
  --ne: #0A0A0C; --ne2: #141417; --bl: #F2F1EE; --gr: #8E8E93; --ac: #E23B4E; --h: 100vh;
  --w: 'DS Michroma', 'Arial Black', sans-serif;
  position: relative; background: var(--ne); color: var(--bl); font-family: 'Barlow Semi Condensed', system-ui, sans-serif; font-size: 1rem; line-height: 1.5;
  container-type: inline-size; overflow: clip;
}
.gp-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0 !important; }
.ds p, .ds dl, .ds dd, .ds ol, .ds figure { margin: 0; }
.ds ol { padding: 0; list-style: none; }
.ds img { display: block; max-width: 100%; }
.ds a { color: inherit; }

/* ---------- comunes ---------- */
.ds-sec { position: relative; padding: clamp(70px, 9cqw, 130px) clamp(20px, 6cqw, 90px); }
.ds-etq { display: flex; align-items: baseline; gap: 16px; font-family: var(--w); text-transform: uppercase; font-size: clamp(1.4rem, 3.3cqw, 2.8rem); line-height: 1.05; letter-spacing: .01em; margin-bottom: clamp(26px, 3.4cqw, 46px) !important; }
.ds-etq span { font-size: .38em; color: var(--ac); letter-spacing: .1em; }
.ds-grande { font-size: clamp(1.35rem, 2.6cqw, 2.2rem); line-height: 1.2; font-weight: 500; max-width: 25em; }
.ds-texto { font-size: clamp(1.02rem, 1.4cqw, 1.2rem); line-height: 1.55; max-width: 34em; }
.ds-texto--s { font-size: clamp(.94rem, 1.15cqw, 1.04rem); color: #ffffffa8; }
.ds-h5 { font-family: var(--w); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gr); margin-top: clamp(50px, 6cqw, 80px) !important; }
.ds-dos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5cqw; align-items: start; }
.ds-ap { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.9,.25,1); transition-delay: calc(var(--i, 0) * .08s); }
.ds-ap.on { opacity: 1; transform: none; }
.ds-made { display: inline-grid; grid-template-columns: auto auto; justify-content: space-between; column-gap: 1.4em; font-family: var(--w); font-size: .62rem; line-height: 1.25; letter-spacing: .14em; text-transform: uppercase; text-align: left; color: #ffffffb0; }
.ds-made > span:nth-child(3) { grid-column: 1 / -1; }

/* ---------- portada ---------- */
.ds-hero { position: relative; height: var(--h); min-height: 560px; overflow: hidden; background: #000; }
.ds-hero__foto { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none !important; object-fit: cover; opacity: .9; animation: ds-foto 1.6s cubic-bezier(.2,.9,.25,1) both; -webkit-mask: linear-gradient(90deg, transparent, #000 32%); mask: linear-gradient(90deg, transparent, #000 32%); }
@keyframes ds-foto { from { opacity: 0; transform: scale(1.06); } }
.ds-hero__in { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(20px, 3cqw, 40px) clamp(20px, 5cqw, 72px); }
.ds-cab, .ds-hero__pie { display: flex; justify-content: space-between; align-items: start; gap: 20px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ffffffc0; }
.ds-hero__pie { align-items: end; }
.ds-hero__centro { align-self: center; display: grid; gap: clamp(18px, 2.6vh, 30px); justify-items: start; }
.ds-hero__t { display: grid; font-family: var(--w); text-transform: uppercase; line-height: .98; font-size: min(7.4cqw, calc(var(--h) * .11)); letter-spacing: .005em; }
.ds-hero__t span { animation: ds-entra 1s cubic-bezier(.2,.9,.25,1) both .25s; }
.ds-hero__t span + span { animation-delay: .4s; color: transparent; -webkit-text-stroke: 1.5px var(--bl); }
@keyframes ds-entra { from { opacity: 0; transform: translateX(-30px); } }
.ds-hero__lead { max-width: 26em; font-size: clamp(1rem, 1.4cqw, 1.2rem); color: #ffffffd0; animation: ds-entra 1s cubic-bezier(.2,.9,.25,1) both .55s; }
.ds-rk { text-align: left; display: inline-grid; grid-template-columns: auto auto; column-gap: 16px; align-items: center; padding: 12px 18px; border: 1px solid #ffffff38; border-radius: 4px; text-decoration: none; transition: border-color .25s, background .25s; animation: ds-entra 1s cubic-bezier(.2,.9,.25,1) both .7s; }
.ds-rk:hover { border-color: var(--ac); background: #e23b4e14; }
.ds-rk b { grid-row: span 2; font-family: var(--w); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--ac); }
.ds-rk span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ds-rk em { font-style: normal; font-size: .84rem; color: #ffffffa0; }
.ds-bajar { display: flex; align-items: center; gap: 10px; }
.ds-bajar i { width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; animation: ds-baja 1.6s ease-in-out infinite; }
@keyframes ds-baja { 50% { translate: 0 2px; } }

/* ---------- 01 jugador ---------- */
.ds-jug { background: var(--bl); color: var(--ne); }
.ds-ficha { display: grid; gap: 0; border-top: 1px solid #0a0a0c30; }
.ds-ficha > div { display: grid; grid-template-columns: minmax(130px, 40%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #0a0a0c30; }
.ds-ficha dt { font-family: var(--w); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #0a0a0c90; padding-top: 4px; }
.ds-ficha dd { font-size: 1.08rem; font-weight: 500; }
.ds-ficha a { color: var(--ac); font-weight: 700; text-decoration: none; }
.ds-ficha a:hover { text-decoration: underline; }

/* ---------- 02 trabajo: el calendario ---------- */
.ds-cal { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.6cqw, 36px); margin-top: clamp(44px, 5.5cqw, 76px) !important; }
.ds-cal li { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid #ffffff38; }
.ds-cal__m { font-family: var(--w); font-size: .7rem; color: var(--ac); }
.ds-cal__nota { margin-top: clamp(34px, 4cqw, 54px) !important; max-width: 46em; }
.ds-cal b { font-family: var(--w); font-weight: 400; text-transform: uppercase; font-size: clamp(.9rem, 1.35cqw, 1.12rem); line-height: 1.25; }
.ds-cal p { font-size: 1rem; color: #ffffffb0; max-width: 17em; }

/* ---------- 03 historias: el móvil ---------- */
.ds-hist-int { padding-bottom: 0; }
.ds-hist { position: relative; height: calc(var(--h) * 5.4); }
.ds-fijo { position: sticky; top: 0; height: var(--h); overflow: hidden; }
.ds-hist .ds-fijo { --ph: min(calc(var(--h) * .78), 800px); --pw: calc(var(--ph) * 9 / 19.5); }
.ds-lin { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--w); text-transform: uppercase; color: var(--ac); font-size: min(13cqw, calc(var(--h) * .17)); line-height: 1; letter-spacing: .02em; will-change: transform, opacity; }
.ds-lin--a { bottom: calc(50% + min(2.4cqw, 3vh)); }
.ds-lin--b { top: calc(50% + min(2.4cqw, 3vh)); }
.ds-esc { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1300px; perspective-origin: 50% 40%; pointer-events: none; }
.ds-movil { --b: calc(var(--pw) * .028); --mw: calc(var(--pw) + var(--b) * 2); --mh: calc(var(--ph) + var(--b) * 2); --t: calc(var(--mw) * .09); --dsr: calc(var(--mw) * .2); position: relative; width: var(--mw); height: var(--mh); transform-style: preserve-3d; will-change: transform; }
/* canto de titanio: capas apiladas en profundidad */
.ds-capa { position: absolute; inset: calc(var(--t) * .16 * var(--q)); border-radius: var(--dsr); background: linear-gradient(90deg, #0c0c0d, #3b3b3f 12%, #1d1d20 30%, #141416 60%, #36363a 88%, #0c0c0d); transform: translateZ(calc(var(--t) * (var(--k) / 11 - .5))); }
.ds-cara { position: absolute; inset: 0; border-radius: var(--dsr); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ds-cara--del { transform: translateZ(calc(var(--t) / 2 + .6px)); padding: var(--b); background: #000; box-shadow: inset 0 0 0 1px #5a5a5f, inset 0 0 0 2.5px #1a1a1c; }
.ds-cara--tras { transform: translateZ(calc(var(--t) / -2 - .6px)) rotateY(180deg); background: radial-gradient(120% 80% at 30% 20%, #2e2e31, #161618 70%); box-shadow: inset 0 0 0 1px #4a4a4f; }
/* módulo de cámaras de iPhone Pro: tres objetivos, flash y sensor */
.ds-camara { position: absolute; left: 6%; top: 3%; width: 47%; aspect-ratio: 1; border-radius: 26%; box-shadow: inset 0 0 0 1px #4a4a4f, 0 2px 8px #0008;
  background:
    radial-gradient(circle at 27% 27%, #142334 0 7%, #030303 8% 15%, #2a2926 16% 19%, transparent 20%),
    radial-gradient(circle at 27% 73%, #142334 0 7%, #030303 8% 15%, #2a2926 16% 19%, transparent 20%),
    radial-gradient(circle at 73% 50%, #142334 0 7%, #030303 8% 15%, #2a2926 16% 19%, transparent 20%),
    radial-gradient(circle at 73% 20%, #f3ead2 0 4%, #3a3a3d 5%, transparent 6%),
    radial-gradient(circle at 73% 80%, #111 0 4%, transparent 5%),
    linear-gradient(145deg, #2a2a2d, #1b1b1d); }
.ds-pant { position: relative; width: 100%; height: 100%; border-radius: calc(var(--dsr) - var(--b)); overflow: hidden; background: #000; transform: translateZ(0); }
.ds-estado { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: calc(var(--pw) * .13); display: flex; align-items: center; justify-content: space-between; padding: calc(var(--pw) * .02) calc(var(--pw) * .08) 0 calc(var(--pw) * .11); color: #fff; font: 600 calc(var(--pw) * .042) / 1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.ds-estado > span { display: flex; align-items: center; gap: calc(var(--pw) * .016); }
.e-cob { display: flex; align-items: end; gap: 1px; height: calc(var(--pw) * .03); }
.e-cob i { width: calc(var(--pw) * .008); background: #fff; border-radius: 1px; }
.e-cob i:nth-child(1) { height: 35%; } .e-cob i:nth-child(2) { height: 55%; } .e-cob i:nth-child(3) { height: 78%; } .e-cob i:nth-child(4) { height: 100%; }
.e-wifi { width: calc(var(--pw) * .045); height: calc(var(--pw) * .045); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.e-wifi circle { fill: #fff; stroke: none; }
.e-bat { position: relative; width: calc(var(--pw) * .06); height: calc(var(--pw) * .029); border: 1px solid #ffffff90; border-radius: 3px; padding: 1px; }
.e-bat i { display: block; width: 80%; height: 100%; background: #fff; border-radius: 1px; }
.ds-area { position: absolute; left: 0; top: calc(var(--pw) * .13); width: 100%; height: calc(var(--pw) * 16 / 9); overflow: hidden; border-radius: calc(var(--pw) * .025); }
.ds-pie { position: absolute; left: calc(var(--pw) * .04); right: calc(var(--pw) * .04); bottom: calc(var(--pw) * .075); height: calc(var(--pw) * .12); display: flex; align-items: center; gap: calc(var(--pw) * .04); color: #fff; }
.ds-pie .ds-ico { width: calc(var(--pw) * .075); height: calc(var(--pw) * .075); }
.ds-msg { flex: 1; padding: calc(var(--pw) * .025) calc(var(--pw) * .045); border: 1px solid #ffffff70; border-radius: 99px; font: 400 calc(var(--pw) * .04) / 1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #ffffffd0; }
.ds-nav { flex: 1; display: flex; align-items: center; justify-content: space-around; }
.ds-nav svg { width: calc(var(--pw) * .075); height: calc(var(--pw) * .075); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.nav-yo { width: calc(var(--pw) * .075); height: calc(var(--pw) * .075); border-radius: 50%; background: url('../assets/proyectos/santigosa/avatar.webp') center / cover; box-shadow: 0 0 0 1.5px #fff; }
.ds-home { position: absolute; left: 50%; bottom: calc(var(--pw) * .022); z-index: 3; width: 36%; height: calc(var(--pw) * .013); translate: -50% 0; border-radius: 99px; background: #fff; }
.ds-brillo { position: absolute; inset: -40%; z-index: 4; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.12) 47%, rgba(255,255,255,.035) 52%, transparent 60%); }
.ds-isla { position: absolute; left: 50%; top: calc(var(--b) + var(--pw) * .028); z-index: 5; width: 31%; height: calc(var(--pw) * .088); translate: -50% 0; border-radius: 99px; background: #000; }
.ds-boton { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #1c1c1e, #4a4a4e); }
.ds-boton--a { left: -2px; top: 17%; height: 3.6%; } .ds-boton--1 { left: -2px; top: 23.5%; height: 6.6%; } .ds-boton--2 { left: -2px; top: 32%; height: 6.6%; } .ds-boton--3 { right: -2px; top: 26%; height: 10%; }
.ds-sombra { position: absolute; left: 50%; top: calc(50% + var(--ph) * .58); width: calc(var(--pw) * 1.6); height: 70px; border-radius: 50%; background: radial-gradient(ellipse, rgba(226,59,78,.22), transparent 70%); filter: blur(10px); opacity: 0; transform-origin: 50% 50%; }
.ds-app { position: absolute; left: 0; right: 0; top: calc(var(--pw) * .13); bottom: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #fff; --u: calc(var(--pw) / 100); }
.ds-app svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* galería «añadir a la historia» */
.ds-gal { position: absolute; inset: 0; display: flex; flex-direction: column; background: #000; transform-origin: 50% 40%; }
.g-cab { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--u) * 2) calc(var(--u) * 5) calc(var(--u) * 3); font-size: calc(var(--u) * 4.4); }
.g-cab svg { width: calc(var(--u) * 6); height: calc(var(--u) * 6); }
.g-chips { display: flex; gap: calc(var(--u) * 2); padding: 0 calc(var(--u) * 4); }
.g-chips span { flex: none; width: calc(var(--u) * 27); display: grid; justify-items: center; gap: calc(var(--u) * 1.4); padding: calc(var(--u) * 2.6) 0 calc(var(--u) * 2); border-radius: calc(var(--u) * 2.5); background: #262628; font-size: calc(var(--u) * 3.1); font-weight: 500; }
.g-ch { width: calc(var(--u) * 8); height: calc(var(--u) * 8); border-radius: 50%; background: conic-gradient(from 200deg, #f58529, #dd2a7b, #8134af, #515bd4, #f58529); }
.g-ch--1 { border-radius: 26%; background: linear-gradient(135deg, #5b5b60, #2d2d30); box-shadow: inset 0 0 0 calc(var(--u) * 1.2) #8e8e93; }
.g-ch--2 { background: radial-gradient(circle, #fff 0 18%, #e1306c 20% 60%, #833ab4 62%); }
.g-rec { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--u) * 4) calc(var(--u) * 4) calc(var(--u) * 2.4); font-size: calc(var(--u) * 4.2); }
.g-rec b { display: flex; align-items: center; gap: calc(var(--u) * 1); font-weight: 600; }
.g-rec svg { width: calc(var(--u) * 4); height: calc(var(--u) * 4); }
.g-rec span { padding: calc(var(--u) * 1.4) calc(var(--u) * 3.4); border-radius: 99px; background: #262628; font-size: calc(var(--u) * 3.3); }
.g-vp { position: relative; flex: 1; overflow: hidden; }
.ds-rej { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; will-change: transform; }
.ds-rej > span { position: relative; aspect-ratio: 3 / 4.6; overflow: hidden; background: #1c1c1e; }
.ds-rej img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.g-cam { display: grid; place-items: center; background: #262628 !important; }
.g-cam svg { width: calc(var(--u) * 9); height: calc(var(--u) * 9); }
.g-n { position: absolute; right: 7%; top: 5%; width: calc(var(--u) * 6); height: calc(var(--u) * 6); border-radius: 50%; border: 1.5px solid #fff; background: #0004; display: grid; place-items: center; font-style: normal; font-size: calc(var(--u) * 3.4); font-weight: 600; transition: background .25s, transform .25s; }
.g-n.on { background: #fff; color: #000; transform: scale(1.12); }
.g-n.on::after { content: attr(data-n); }
.ds-rej > span:has(.g-n.on) img { opacity: .72; }
.g-bandeja { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: calc(var(--u) * 1.8); padding: calc(var(--u) * 3.4) calc(var(--u) * 4) calc(var(--u) * 7); background: linear-gradient(transparent, #000 30%); transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.9,.25,1); }
.g-bandeja.on { transform: none; }
.g-bandeja span { width: calc(var(--u) * 11); aspect-ratio: 9 / 16; border-radius: calc(var(--u) * 1.4); overflow: hidden; }
.g-bandeja img { width: 100%; height: 100%; object-fit: cover; }
.g-ir { margin-left: auto; width: calc(var(--u) * 14); height: calc(var(--u) * 14); border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }
.g-ir svg { width: 50%; height: 50%; stroke-width: 2.4; }
/* vista previa: un diseño en el centro y los vecinos asomando */
.ds-fila { position: absolute; inset: 0; opacity: 0; background: #000; overflow: hidden; }
.ds-card { position: absolute; left: 50%; top: 4%; height: 74%; aspect-ratio: 9 / 16; translate: -50% 0; border-radius: calc(var(--u) * 3.5); overflow: hidden; will-change: transform; }
.ds-card img { width: 100%; height: 100%; object-fit: cover; }
.f-pie { position: absolute; left: 0; right: 0; bottom: calc(var(--u) * 7); display: grid; justify-items: center; gap: calc(var(--u) * 5); }
.f-puntos { display: flex; gap: calc(var(--u) * 1.2); }
.f-puntos i { width: calc(var(--u) * 1.5); height: calc(var(--u) * 1.5); border-radius: 50%; background: #ffffff55; transition: background .2s; }
.f-puntos i.on { background: #fff; }
.f-bots { display: flex; gap: calc(var(--u) * 3); width: 88%; }
.f-bots span { flex: 1; text-align: center; padding: calc(var(--u) * 3) 0; border-radius: 99px; background: #262628; font-size: calc(var(--u) * 3.8); font-weight: 600; }
.f-bots span + span { background: #fff; color: #000; }
.ds-info { --cc: var(--ac); position: absolute; right: clamp(20px, 6cqw, 90px); top: 50%; translate: 0 -50%; width: min(30cqw, 340px); opacity: 0; }
.ds-info__n { font-family: var(--w); font-size: .72rem; letter-spacing: .14em; color: var(--gr); }
.ds-info__n b { font-weight: 400; color: var(--cc); }
.ds-info__ciu { font-family: var(--w); text-transform: uppercase; font-size: clamp(1.5rem, 3.2cqw, 2.6rem); line-height: 1.05; color: var(--cc); margin: 14px 0 10px !important; transition: color .3s; }
.ds-info__tipo { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.ds-info__pa { margin-top: 18px !important; font-size: 1.06rem; font-weight: 700; line-height: 1.3; }
.ds-info__pa em { display: block; margin: 6px 0; font-style: normal; font-family: var(--w); font-size: .7rem; color: var(--cc); }
.ds-info__d { margin-top: 12px !important; font-size: .98rem; line-height: 1.45; color: #ffffffb0; }
.ds-info__bar { height: 2px; margin-top: 24px; background: #ffffff20; }
.ds-info__bar i { display: block; height: 100%; background: var(--cc); transform-origin: left; transition: transform .3s, background .3s; }
.ds-info.cambia .ds-info__ciu, .ds-info.cambia .ds-info__tipo, .ds-info.cambia .ds-info__pa, .ds-info.cambia .ds-info__d { animation: ds-info .45s cubic-bezier(.2,.9,.25,1); }
@keyframes ds-info { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 04 publicaciones y reels ---------- */
.ds-pub { background: var(--ne2); }
.ds-pub__rej { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) minmax(0, .75fr); gap: clamp(24px, 4cqw, 60px); align-items: center; }
/* tarjetas con aspecto de Instagram */
.ds-ig { background: #000; border: 1px solid #262626; border-radius: 10px; overflow: hidden; color: #f5f5f5; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.ds-ig__cab { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.ds-ig__cab img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #000, 0 0 0 4px #d6249f; margin: 4px; }
.ds-ig__cab p { flex: 1; display: grid; line-height: 1.2; font-size: .86rem; }
.ds-ig__cab b { font-weight: 600; }
.ds-ig__cab span { font-size: .74rem; color: #a8a8a8; }
.ds-ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.ds-ico circle { fill: currentColor; stroke: none; }
.ds-ig__acc { display: flex; align-items: center; gap: 14px; padding: 10px 12px; }
.ds-ig__centro { flex: 1; display: flex; justify-content: center; }
.ds-ig__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ds-pub__post .ds-ig { box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.ds-pub figcaption { margin-top: 16px; font-size: .84rem; font-weight: 700; letter-spacing: .06em; }
.ds-pub figcaption a, .ds-hx__ver { color: var(--ac); text-decoration: none; }
.ds-pub figcaption a:hover, .ds-hx__ver:hover { text-decoration: underline; }
.ds-pub__txt { display: grid; gap: 22px; }
.ds-pub__reel { justify-self: center; perspective: 1400px; }
.ds-movil--reel { --pw: min(21cqw, 270px); --ph: calc(var(--pw) * 19.5 / 9); transform: rotateY(calc(-16deg + var(--ix, 0deg))) rotateX(calc(5deg + var(--iy, 0deg))) rotateZ(1deg); transition: transform .6s cubic-bezier(.2,.9,.25,1); }
.ds-movil--reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-movil--reel .ds-brillo { transform: translateX(-18%); }
.ds-reel { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.ds-reel .ds-ico { width: calc(var(--pw) * .085); height: calc(var(--pw) * .085); filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.ds-reel__cab { position: absolute; left: 5%; top: 3%; font-weight: 700; font-size: calc(var(--pw) * .06); }
.ds-reel__acc { position: absolute; right: 4%; bottom: 14%; display: grid; gap: calc(var(--pw) * .07); }
.ds-reel__pie { position: absolute; left: 5%; bottom: 5%; display: flex; align-items: center; gap: calc(var(--pw) * .025); font-size: calc(var(--pw) * .045); }
.ds-reel__pie img { width: calc(var(--pw) * .085); height: calc(var(--pw) * .085); border-radius: 50%; object-fit: cover; }
.ds-reel__pie span { border: 1px solid #ffffffb0; border-radius: 6px; padding: 1px 7px; }
.ds-pub__reel figcaption { text-align: center; }

/* ---------- 05 hexagon cup ---------- */
.ds-hx-int { padding-bottom: 20px; }
.ds-hx { position: relative; height: calc(var(--h) * 3.4); }
.ds-hx__fijo { --sh: min(calc(var(--h) * .64), 720px); display: grid; align-items: center; }
.ds-hx__tira { position: absolute; left: 0; top: calc(50% - 14px); translate: 0 -50%; display: flex; height: var(--sh); will-change: transform; }
.ds-hx__tira img { height: 100%; width: auto; max-width: none !important; aspect-ratio: 4 / 5; object-fit: cover; }
.ds-hx__marco { position: absolute; left: 50%; top: calc(50% - 14px); width: calc(var(--sh) * .8); height: var(--sh); translate: -50% -50%; outline: 1px solid #262626; box-shadow: 0 0 0 200vmax rgba(10,10,12,.78); pointer-events: none; }
.ds-ig--marco { position: absolute; left: -1px; right: -1px; bottom: 100%; border-radius: 10px 10px 0 0; border-bottom: 0; }
.ds-ig--pie { position: absolute; left: -1px; right: -1px; top: 100%; border-radius: 0 0 10px 10px; border-top: 0; }
.ds-hx__n { position: absolute; right: 12px; top: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(18,18,18,.72); color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: .74rem; font-weight: 600; }
.ds-hx__n b { font-weight: 600; }
.ds-hx__puntos { display: flex; gap: 4px; }
.ds-hx__puntos i { width: 6px; height: 6px; border-radius: 50%; background: #ffffff40; transition: background .3s; }
.ds-hx__puntos i.on { background: #0095f6; }
.ds-hx__ver { display: block; padding: 0 12px 12px; font-size: .84rem; font-weight: 600; pointer-events: auto; }

/* ---------- 06 objetivo ---------- */
.ds-obj { background: var(--bl); color: var(--ne); }
.ds-obj .ds-h5 { color: #0a0a0c90; }
.ds-obj__rej { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3cqw, 44px); margin-top: clamp(40px, 5cqw, 70px); }
.ds-obj__rej div { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ne); }
.ds-obj__rej span { font-family: var(--w); font-size: .7rem; color: var(--ac); }
.ds-obj__rej b { font-family: var(--w); font-weight: 400; text-transform: uppercase; font-size: clamp(1rem, 1.6cqw, 1.3rem); }
.ds-obj__rej p { font-size: 1rem; color: #0a0a0cb8; }
.ds-marcas { overflow: hidden; background: var(--bl); color: var(--ne); border-top: 1px solid #0a0a0c26; padding: 22px 0 26px; }
.ds-marcas__t { display: flex; width: max-content; align-items: center; animation: ds-marcas 50s linear infinite; font-family: var(--w); text-transform: uppercase; font-size: clamp(.9rem, 1.6cqw, 1.3rem); white-space: nowrap; }
.ds-marcas__t span { padding: 0 26px; }
.ds-marcas__t i { width: 7px; height: 7px; border-radius: 50%; background: var(--ac); }
@keyframes ds-marcas { to { transform: translateX(-50%); } }

/* ---------- cierre ---------- */
.ds-fin { display: grid; justify-items: center; gap: 18px; text-align: center; padding: clamp(80px, 11cqw, 150px) 20px; }
.ds-made--fin { margin-bottom: 20px !important; }
.ds-fin__h { font-family: var(--w); text-transform: uppercase; font-size: clamp(1.6rem, 5cqw, 4rem); line-height: 1; }
.ds-fin__s { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gr); margin-bottom: 14px !important; }

/* ---------- móvil ---------- */
@media (max-width: 760px) {
  .ds-dos, .ds-pub__rej, .ds-obj__rej { grid-template-columns: 1fr; }
  .ds-cal { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .ds-hero__foto { opacity: .55; -webkit-mask: none; mask: none; }
  .ds-hero__t { font-size: 9.6cqw; }
  .ds-hist .ds-fijo { --ph: min(calc(var(--h) * .6), 600px); }
  .ds-esc { inset: 0 0 20% 0; }
  .ds-lin--a { bottom: calc(60% + 2vh); }
  .ds-lin--b { top: calc(40% + 2vh); }
  .ds-info { left: 20px; right: 20px; top: auto; bottom: calc(var(--h) * .04); translate: none; width: auto; }
  .ds-info__ciu { font-size: 1.3rem; margin: 6px 0 4px !important; }
  .ds-info__d { margin-top: 6px !important; font-size: .9rem; }
  .ds-info__bar { margin-top: 10px; }
  .ds-movil--reel { --pw: min(52cqw, 250px); }
  .ds-hx__fijo { --sh: min(calc(var(--h) * .6), 118cqw); }
}
.ds img, .ds video { pointer-events: none; }
.ds a { pointer-events: auto; }

/* =====================================================================
   Animaciones y efectos
   ===================================================================== */
/* títulos letra a letra */
.ds-ap.ds-split { opacity: 1; transform: none; }
.ds-split em { font-style: normal; }
.ds-split em i { display: inline-block; font-style: normal; opacity: 0; transform: translateY(.55em) rotate(8deg); transform-origin: 0 100%; transition: opacity .5s, transform .7s cubic-bezier(.2,.9,.25,1); transition-delay: calc(var(--l) * .028s); }
.ds-split > span { display: inline-block; opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .6s; }
.ds-split.on em i, .ds-split.on > span { opacity: 1; transform: none; }
/* frases que se encienden palabra a palabra */
.ds-pal i { font-style: normal; opacity: .16; transition: opacity .35s; }
.ds-pal i.on { opacity: 1; }
/* portada con profundidad */
.ds-hero__par { position: absolute; inset: 0; will-change: transform; }
.ds-hero__centro { will-change: transform, opacity; }
/* cifras */
.ds-cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3cqw, 44px); margin-top: clamp(50px, 6cqw, 90px); }
.ds-cifras > div { padding-top: 16px; border-top: 2px solid var(--ne); }
.ds-cifras b { display: block; font-family: var(--w); font-weight: 400; font-size: clamp(3rem, 8.5cqw, 7.4rem); line-height: 1; color: var(--ne); font-variant-numeric: tabular-nums; }
.ds-cifras > div:last-child b { color: var(--ac); }
.ds-cifras p { margin-top: 10px !important; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #0a0a0c99; }
/* ejemplos de cada pieza, que se inclinan con el puntero */
.ds-cal__ej { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; margin-bottom: 8px !important; background: #1c1c1e; transform: perspective(800px) rotateY(var(--ix, 0deg)) rotateX(var(--iy, 0deg)); transition: transform .6s cubic-bezier(.2,.9,.25,1), box-shadow .4s; }
.ds-cal__ej img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s cubic-bezier(.2,.9,.25,1); }
.ds-cal li:hover .ds-cal__ej { box-shadow: 0 24px 40px rgba(0,0,0,.5); }
.ds-cal li:hover .ds-cal__ej img { transform: scale(1.06); }
.ds-incl.mueve .ds-cal__ej, .ds-incl.mueve .ds-ig, .ds-incl.mueve .ds-movil--reel { transition-duration: .12s; }
/* publicación: inclinación y «me gusta» */
.ds-pub__post { perspective: 1000px; }
.ds-pub__post .ds-ig { transform: rotateY(var(--ix, 0deg)) rotateX(var(--iy, 0deg)); transition: transform .6s cubic-bezier(.2,.9,.25,1); }
.ds-ig__foto { position: relative; cursor: pointer; user-select: none; -webkit-user-select: none; }
.ds-corazon { position: absolute; left: 50%; top: 50%; width: 26%; translate: -50% -50%; opacity: 0; transform: scale(0); pointer-events: none; filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.ds-corazon .ds-ico { width: 100%; height: auto; fill: #fff; stroke: none; }
.ds-corazon.late { animation: ds-late .9s cubic-bezier(.2,.9,.25,1) forwards; }
@keyframes ds-late { 0% { opacity: 0; transform: scale(0); } 18% { opacity: 1; transform: scale(1.15); } 30% { transform: scale(.95); } 45% { transform: scale(1); } 80% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.4) translateY(-30px); } }
.ds-ig__acc .ds-ico:first-child { cursor: pointer; pointer-events: auto; transition: transform .2s; }
.ds-ico.lleno { fill: #ff3040; stroke: #ff3040; animation: ds-pop .4s cubic-bezier(.3,1.6,.5,1); }
@keyframes ds-pop { 40% { transform: scale(1.3); } }
.ds-ig__pista { padding: 0 12px 12px; font-size: .74rem; color: #a8a8a8; }
/* cintas con las ciudades del circuito */
.ds-ciu { overflow: hidden; padding: clamp(18px, 2.4cqw, 34px) 0; }
.ds-ciu--osc { --tc: var(--bl); background: var(--ne); color: var(--bl); border-top: 1px solid #ffffff1a; border-bottom: 1px solid #ffffff1a; }
.ds-ciu--cla { --tc: var(--ne); background: var(--bl); color: var(--ne); }
.ds-ciu__t { display: flex; width: max-content; align-items: center; font-family: var(--w); text-transform: uppercase; font-size: clamp(1.8rem, 5.6cqw, 5rem); line-height: 1.1; white-space: nowrap; will-change: transform; }
.ds-ciu__t span { padding: 0 .45em; }
.ds-ciu__t span.h { color: transparent; -webkit-text-stroke: 1.4px var(--tc); }
.ds-bola { flex: none; position: relative; width: .42em; height: .42em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f4ff8a, #d4ec2d 55%, #a9c11c); box-shadow: 0 0 .3em #d4ec2d55; }
.ds-bola::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; border: 2px solid #ffffffb0; border-left-color: transparent; border-right-color: transparent; transform: rotate(35deg); }
/* el nombre final se rellena con el scroll */
.ds-fin__h { font-size: clamp(2rem, 7.6cqw, 6.6rem) !important; line-height: 1 !important; color: transparent; -webkit-text-stroke: 1.2px var(--bl); background: linear-gradient(90deg, var(--bl) 0 50%, transparent 50%) no-repeat; background-size: 200% 100%; background-position: calc((1 - var(--f, 0)) * 100%) 0; -webkit-background-clip: text; background-clip: text; }
@media (max-width: 760px) {
  .ds-cifras { grid-template-columns: 1fr; }
  .ds-cal__ej { aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ds-split em i, .ds-split > span { opacity: 1; transform: none; transition: none; }
}

/* foco de luz que sigue al puntero en la portada */
.ds-hero { --mx: 68%; --my: 38%; }
.ds-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx) var(--my), transparent 0, transparent 14%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.72) 75%); transition: background-position .2s; }
.ds-hero__in { z-index: 1; }
/* el globo */
.ds-globo { background: var(--ne); padding: clamp(40px, 6cqw, 90px) clamp(20px, 6cqw, 90px) 0; }
.ds-globo svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-suelo { stroke: #ffffff26; stroke-width: 1.5; fill: none; }
.g-red { stroke: #ffffff80; stroke-width: 3; fill: none; }
.g-malla { stroke: #ffffff30; stroke-width: 1; fill: none; }
.g-tray { fill: none; stroke: #ffffff45; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.g-sombra { fill: #000; }
.g-bola circle { fill: #d4ec2d; }
.g-bola path { fill: none; stroke: #ffffffc0; stroke-width: 1.6; }
/* líneas de las piezas que se trazan al aparecer */
.ds-cal li { border-top: 0; }
.ds-cal li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ac); z-index: 1; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.9,.25,1); transition-delay: calc(.2s + var(--i, 0) * .14s); }
.ds-cal li.on::before { transform: scaleX(1); }
.ds-cal li::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #ffffff38; }
.ds-cal b { transition: color .3s, transform .4s cubic-bezier(.2,.9,.25,1); }
.ds-cal li:hover b { color: var(--ac); transform: translateX(6px); }
/* la ficha de las historias: panel de llegadas */
.ds-info__ciu { font-variant-numeric: tabular-nums; }
/* el reel flota */
.ds-pub__reel { animation: ds-flota 6s ease-in-out infinite; }
@keyframes ds-flota { 50% { translate: 0 -12px; } }
/* iconos de «El objetivo» que se dibujan */
.ds-obj__ico { width: 46px; height: 46px; margin-bottom: 6px; fill: none; stroke: var(--ne); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ds-obj__ico * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.6,0,.2,1); transition-delay: calc(.3s + var(--i, 0) * .2s); }
.ds-obj__rej .on .ds-obj__ico * { stroke-dashoffset: 0; }
.ds-obj__rej > div { transition: transform .4s cubic-bezier(.2,.9,.25,1); }
.ds-obj__rej > div:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .ds-pub__reel { animation: none; } .ds-obj__ico * { stroke-dashoffset: 0; } }
.ds-rk b span { font: inherit; letter-spacing: inherit; text-transform: none; }
.ds-cifras b { white-space: nowrap; font-size: clamp(2.6rem, 6.4cqw, 6rem); }

/* =====================================================================
   Jugadas: pista de pádel a escala, como un gráfico de retransmisión
   ===================================================================== */
.ds-jug3 { position: relative; background: var(--ne); padding: clamp(40px, 5.5cqw, 80px) clamp(20px, 6cqw, 90px) clamp(30px, 4cqw, 60px); border-top: 1px solid #ffffff12; }
.ds-jug3__cab { display: flex; align-items: baseline; gap: 16px; margin-bottom: clamp(14px, 2cqw, 26px); }
.ds-jug3__cab span { font-family: var(--w); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); }
.ds-jug3__cab b { font-family: var(--w); font-weight: 400; font-size: clamp(1rem, 1.8cqw, 1.5rem); text-transform: uppercase; }
.ds-jug3__cab em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gr); }
.ds-jug3__lienzo { position: relative; width: 100%; }
.ds-jug3__lienzo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ds-jug3--red .ds-jug3__lienzo { max-width: 1000px; margin: 0 auto; }
/* pista lateral */
.j-cielo { fill: none; }
.j-suelo { stroke: #ffffff70; stroke-width: 2; fill: none; }
.j-tick { stroke: #ffffff30; stroke-width: 1; } .j-tick--m { stroke: #ffffff60; }
.j-servicio { stroke: #ffffff90; stroke-width: 2; }
.j-guia { stroke: #ffffff14; stroke-width: 1; stroke-dasharray: 4 6; fill: none; }
.j-cota { fill: #ffffff55; font-family: var(--w); font-size: 11px; letter-spacing: .1em; }
.j-cristal { fill: #9fd3ff1f; stroke: #bfe3ff80; stroke-width: 1; }
.j-valla { stroke: #ffffff40; stroke-width: 2; stroke-dasharray: 2 4; }
.j-malla { stroke: #ffffff18; stroke-width: 1; }
.j-red { fill: #ffffff26; stroke: #ffffffa0; stroke-width: 1; }
.j-poste { stroke: #fff; stroke-width: 2.5; }
/* pista cenital */
.j-cesped { fill: #ffffff05; }
.j-linea { fill: none; stroke: #ffffff70; stroke-width: 2; }
.j-cristalc { fill: none; stroke: #bfe3ff70; stroke-width: 5; stroke-linecap: square; }
.j-redc { stroke: #fff; stroke-width: 3; stroke-dasharray: 3 3; }
.j-postec { fill: #fff; }
/* trayectoria, bola, estela y sombra */
.j-tray { fill: none; stroke: #ffffffa0; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.j-bola circle { fill: #d4ec2d; }
.j-bola path { fill: none; stroke: #ffffffc8; stroke-width: 1.6; }
.j-estela { fill: #d4ec2d; opacity: var(--o); }
.j-sombra { fill: #000; filter: blur(1.5px); }
.ds-jug3 { --sb: #000; }
/* jugadores */
.j-jug circle { stroke-width: 2; }
.j-jug text { font-family: var(--w); font-size: 14px; text-anchor: middle; }
.j-jug--a circle { fill: var(--ac); stroke: #fff; } .j-jug--a text { fill: #fff; }
.j-jug--b circle { fill: var(--ne); stroke: #ffffffb0; } .j-jug--b text { fill: #ffffffd0; }
.j-mov { fill: none; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.j-mov--a { stroke: var(--ac); } .j-mov--b { stroke: #ffffff60; }
/* marcadores de cada momento de la jugada */
.j-ev { position: absolute; width: 0; height: 0; pointer-events: none; }
.j-ev i { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #fff; opacity: 0; transform: scale(.3); }
.j-ev b { position: absolute; left: 0; bottom: 22px; translate: -50% 0; white-space: nowrap; padding: 5px 10px 4px; border-radius: 99px; background: #fff; color: var(--ne); font-family: var(--w); font-weight: 400; font-size: clamp(.5rem, .8cqw, .66rem); letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s cubic-bezier(.2,.9,.25,1); }
.j-ev b::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 12px; background: #fff; }
.j-ev.on b { opacity: 1; transform: none; }
.j-ev.on i { animation: ds-onda .9s cubic-bezier(.2,.9,.25,1) forwards; }
@keyframes ds-onda { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.8); } }
.j-ev--bote b, .j-ev--remate b, .j-ev--fuera b { background: var(--ac); color: #fff; }
.j-ev--bote b::after, .j-ev--remate b::after, .j-ev--fuera b::after { background: var(--ac); }
.j-ev--pico b { bottom: 18px; }
.j-ev--pared b { left: -10px; translate: -100% 0; }
.j-ev--pared b::after { left: 100%; }
@media (max-width: 760px) {
  .ds-jug3__cab { flex-wrap: wrap; } .ds-jug3__cab em { margin-left: 0; width: 100%; }
  .j-ev b { font-size: .46rem; padding: 3px 6px; bottom: 14px; }
}

/* =====================================================================
   Pausas entre secciones: la pelota rebota contra los bordes y deja un rastro
   (solo aquí; dentro de las secciones no aparece, para no estorbar la lectura)
   ===================================================================== */
.ds-paso { position: relative; height: clamp(160px, calc(var(--h) * .34), 320px); overflow: hidden; }
.ds-paso svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ds-paso--osc { background: var(--ne); }
.ds-paso--cla { background: var(--bl); }
.p-bola { transition: opacity .3s; }
.p-bola circle { fill: #d4ec2d; }
.p-bola path { fill: none; stroke: #ffffffd0; stroke-width: 1.4; }
.ds-paso--cla .p-bola circle { fill: #c7dd22; }
.p-rastro circle { fill: #d4ec2d; }
.ds-paso--cla .p-rastro circle { fill: #a9bd17; }
.p-ondas circle { fill: none; stroke: #d4ec2d; stroke-width: 1.5; animation: ds-ponda .8s cubic-bezier(.2,.9,.25,1) forwards; transform-box: fill-box; transform-origin: center; }
.ds-paso--cla .p-ondas circle { stroke: #a9bd17; }
@keyframes ds-ponda { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }

.ds-pal-n { display: inline-block; white-space: nowrap; font: inherit; }

/* ---------- historias más grandes: el móvil ocupa casi todo el alto y cada diseño llena la pantalla, como al verla en Instagram ---------- */
.ds-hist .ds-fijo { --ph: min(calc(var(--h) * .9), 1000px); }
.ds-hist .ds-card { top: 0; height: calc(var(--pw) * 16 / 9); border-radius: 0; pointer-events: auto; cursor: zoom-in; }
.ds-hist .f-bots { display: none; }
.ds-hist .f-pie { bottom: calc(var(--pw) * .1); }
.ds-ver { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 16px; border: 1px solid #ffffff40; border-radius: 99px; background: none; color: #fff; font: 700 .72rem/1 var(--t, inherit); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s; }
.ds-ver svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ds-ver:hover { background: var(--cc); border-color: var(--cc); }
@media (max-width: 760px) {
  .ds-hist .ds-fijo { --ph: min(calc(var(--h) * .64), 640px); }
  .ds-esc { inset: 0 0 26% 0; }
  .ds-info__pa { margin-top: 8px !important; font-size: .92rem; }
  .ds-info__d { display: none; }
  .ds-ver { margin-top: 10px; padding: 8px 14px; }
}

/* ---------- visor a pantalla completa ---------- */
.vz { position: fixed; inset: 0; z-index: 9000; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; background: rgba(6,6,8,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; touch-action: pan-y; }
.vz.on { opacity: 1; }
.vz-fig { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.vz-fig img { height: calc(100svh - 80px); max-width: 100%; width: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: scale(.96); transition: transform .3s cubic-bezier(.2,.9,.25,1); }
.vz.on .vz-fig img { transform: none; }
.vz-fig figcaption { font: 600 .74rem/1 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #ffffffa0; }
.vz-f, .vz-x { border: 0; background: none; color: #fff; cursor: pointer; font: 300 3rem/1 system-ui, sans-serif; opacity: .7; transition: opacity .2s; }
.vz-f:hover, .vz-x:hover { opacity: 1; }
.vz-x { position: absolute; top: 14px; right: 20px; z-index: 2; font-size: 2.4rem; }
@media (max-width: 760px) {
  .vz { grid-template-columns: 1fr; }
  .vz-f { display: none; }
  .vz-fig img { height: auto; max-height: calc(100svh - 90px); width: calc(100vw - 24px); }
}
.vz-x:focus:not(:focus-visible) { outline: none; }

/* ---------- flechas de historias y carrusel: solo en el móvil ---------- */
.ds-flechas { display: none; }
.ds-info__acc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ds-info__acc .ds-ver { margin-top: 22px; }

/* ===================== MÓVIL ===================== */
@media (max-width: 1100px) {
  /* portada: la foto arriba, con la cara despejada, y el texto abajo */
  .ds-hero__foto { left: 0; right: 0; top: 0; width: 100%; height: auto; aspect-ratio: 864 / 1080; object-fit: cover; opacity: .85;
    -webkit-mask: linear-gradient(180deg, #000 55%, transparent 96%); mask: linear-gradient(180deg, #000 55%, transparent 96%); }
  .ds-hero { --mx: 45%; --my: 26%; }
  .ds-hero__centro { align-self: end; padding-bottom: 18px; }

  /* historias: una pantalla; el móvil se levanta solo y luego cada historia se pasa a mano */
  .ds--auto .ds-hist { height: var(--h); }
  .ds--auto .ds-hist .ds-fijo { position: relative; touch-action: pan-y; }
  .ds--auto .ds-hist .ds-card { cursor: pointer; }
  .ds--auto .ds-flechas { display: inline-flex; gap: 8px; }
  .ds-flechas button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ffffff55; background: #0a0a0c99; color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; }
  .ds-flechas button:active { background: var(--ac); border-color: var(--ac); }
  .ds-flechas svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .ds--auto .ds-info__acc { margin-top: 10px; }
  .ds--auto .ds-info__acc .ds-ver { margin-top: 0; }

  /* carrusel: una pantalla, se pasa con flechas, tocando a los lados o deslizando */
  .ds--auto .ds-hx { height: calc(var(--h) * .9); }
  .ds--auto .ds-hx__fijo { position: relative; height: 100%; touch-action: pan-y; }
  .ds--auto .ds-hx__tira { cursor: pointer; }
  .ds-flechas--hx { position: absolute; left: 0; right: 0; bottom: 4px; justify-content: center; z-index: 3; }
}
/* tablet: las historias con las mismas proporciones que en el móvil (el móvil arriba, la ficha debajo) */
.ds--auto .ds-hist .ds-fijo { --ph: min(calc(var(--h) * .62), 680px); }
.ds--auto .ds-esc { inset: 0 0 26% 0; }
.ds--auto .ds-lin--a { bottom: calc(60% + 2vh); }
.ds--auto .ds-lin--b { top: calc(40% + 2vh); }
.ds--auto .ds-info { left: 50%; right: auto; top: auto; bottom: calc(var(--h) * .04); translate: -50% 0; width: min(100% - 40px, 520px); }
.ds--auto .ds-info__d { display: none; }
