/* ==========================================================================
   Cartas del juego (canal, registro, pregunta, respuesta, dorso) y colores de
   canal .k1–.k9. Se usan en la portada y en las páginas de El juego. Cada carta
   es un contenedor propio: sus cqw son relativos a la carta.
   ========================================================================== */

.k1 { --k: var(--rojo); } .k2 { --k: var(--naranja); } .k3 { --k: var(--amarillo); } .k4 { --k: var(--lima); } .k5 { --k: var(--menta); } .k6 { --k: var(--turquesa); } .k7 { --k: var(--azul); } .k8 { --k: var(--naranja-claro); } .k9 { --k: var(--violeta); }

.ct { container-type: inline-size; position: relative; aspect-ratio: 63 / 88; background: var(--k, var(--papel)); color: var(--calle); border-radius: .9rem .45rem 1rem .5rem; overflow: hidden; box-shadow: 0 0 0 2px var(--calle); }
.ct-in { position: absolute; inset: 0; font-family: var(--font-titular); line-height: 1.1; }
.ct.k9 { color: var(--crema); }
.ct-num { position: absolute; left: 5.4cqw; top: -3cqw; font-weight: 800; font-size: 66cqw; line-height: 1; }
.ct-et { position: absolute; left: 6.3cqw; top: 59cqw; font: 600 3.8cqw/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ct-dial { position: absolute; display: flex; gap: .8cqw; left: 6.3cqw; right: 6.3cqw; top: 65cqw; height: 7.3cqw; }
.ct-dial i { flex: 1; display: grid; place-items: center; background: var(--calle); color: var(--crema); font: 500 normal 4.4cqw/1 var(--font-mono); border-radius: .8cqw .3cqw .8cqw .3cqw; }
.ct-dial i.on { background: var(--crema); color: var(--calle); font-weight: 700; box-shadow: 0 0 0 .5cqw var(--calle); }
.ct-nm { position: absolute; left: 6.3cqw; top: 76cqw; font-weight: 800; font-size: 17.5cqw; line-height: 1; white-space: nowrap; }
.ct-lente { position: absolute; left: 6.3cqw; right: 6.3cqw; top: 95cqw; bottom: 6.3cqw; background: var(--papel); color: var(--calle); border: 1.9cqw solid var(--calle); border-radius: 1.6cqw 4.8cqw 1.6cqw 4.8cqw; padding: 3cqw 5cqw; font-weight: 700; font-size: 5.4cqw; line-height: 1.13; }
.ct-lente small { display: block; font: 600 3.6cqw/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.6cqw; }
.ct-dorso { background: var(--calle); color: var(--crema); }
.ct-dorso img { position: absolute; left: 26%; top: 25%; width: 48%; height: auto; }
.ct-dorso p { position: absolute; left: 0; right: 0; top: 64%; margin: 0; text-align: center; font-weight: 800; font-size: 7.3cqw; line-height: 1; white-space: nowrap; }
.ct-dorso .in { background: var(--crema); color: var(--calle); padding: .04em .14em .08em; margin-inline: .06em; }
.ct-foto { position: absolute; left: 0; top: 0; width: 100%; height: 95.455%; overflow: hidden; background: var(--calle); }
.ct-foto img { position: absolute; left: 0; top: 100%; width: 133.333%; height: 75%; transform-origin: 0 0; transform: rotate(-90deg) scale(1.04); object-fit: cover; filter: grayscale(1); }
.ct-franja { position: absolute; left: 0; right: 0; bottom: 0; height: 21.6%; background: var(--k); border-top: 2.4cqw solid var(--calle); padding: 2.4cqw 6.3cqw; display: grid; align-content: start; gap: .6cqw; font: 500 3.6cqw/1.15 var(--font-mono); }
.ct-franja b { font: 800 6cqw/1.1 var(--font-titular); }
.ct-ficha { position: absolute; left: 4.8cqw; top: 4.8cqw; width: 41.3cqw; height: 27cqw; background: var(--k); border: 1.9cqw solid var(--calle); border-radius: 4.8cqw 1.6cqw 4.8cqw 1.6cqw; color: var(--calle); }
.ct-ficha b { position: absolute; left: 3cqw; top: -1cqw; font-weight: 800; font-size: 16cqw; line-height: 1; }
.ct-ficha em { position: absolute; left: 15cqw; top: 2.6cqw; font-style: normal; font-weight: 800; font-size: 5.7cqw; }
.ct-ficha .ct-dial { left: 3cqw; right: 3cqw; top: auto; bottom: 3cqw; height: 4.8cqw; gap: .6cqw; }
.ct-sello { position: absolute; right: 4.8cqw; top: 5.6cqw; width: 19.8cqw; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--papel); color: var(--calle); border: 1.4cqw solid var(--calle); box-shadow: inset 0 0 0 1.4cqw var(--papel), inset 0 0 0 2.4cqw var(--calle); font-weight: 700; font-size: 10cqw; transform: rotate(-8deg); }

/* Carta de pregunta (horizontal) y su dorso, la respuesta */
.ct-preg { aspect-ratio: 88 / 63; background: var(--papel); }
.ct-preg .ct-ficha { left: 3.4cqw; top: 3.4cqw; width: 29.5cqw; height: 19cqw; border-width: 1.4cqw; }
.ct-preg .ct-ficha b { font-size: 11.4cqw; left: 2cqw; }
.ct-preg .ct-ficha em { left: 10.6cqw; top: 2.6cqw; font-size: 4cqw; }
.ct-preg .ct-ficha .ct-dial { bottom: 2cqw; height: 3.4cqw; left: 2cqw; right: 2cqw; }
.ct-preg .ct-sello { right: 3.4cqw; top: 3.4cqw; width: 14.2cqw; font-size: 7cqw; border-width: 1cqw; box-shadow: inset 0 0 0 1cqw var(--papel), inset 0 0 0 1.7cqw var(--calle); }
.ct-sobre { position: absolute; left: 35cqw; top: 4.2cqw; width: 43cqw; font-weight: 700; font-size: 3.5cqw; line-height: 1.1; }
.ct-sobre small { display: block; font: 600 2.7cqw/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.4cqw; }
.ct-q { position: absolute; left: 4.5cqw; right: 4.5cqw; top: 26.5cqw; font-weight: 800; font-size: 6.8cqw; line-height: 1.1; }
.ct-pie { position: absolute; left: 0; right: 0; bottom: 0; height: 17.5%; background: var(--k); border-top: 1.7cqw solid var(--calle); display: flex; align-items: center; padding: 0 4.5cqw; font: 600 2.3cqw/1 var(--font-mono); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.ct-resp { background: var(--k); }
.ct-resp .ct-sello { top: auto; right: 8cqw; bottom: 8cqw; transform: rotate(6deg); }
.ct-panel { position: absolute; left: 4.5cqw; top: 4.5cqw; right: 4.5cqw; bottom: 4.5cqw; background: var(--papel); border: 1.4cqw solid var(--calle); border-radius: 3.4cqw 1.1cqw 3.4cqw 1.1cqw; padding: 3.4cqw 4cqw; display: grid; grid-template-columns: 38cqw 1fr; align-content: start; align-items: start; gap: 1.6cqw 4cqw; }
.ct-panel .ct-toma-m { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--calle); border-radius: 1.2cqw; grid-row: span 2; }
.ct-panel .ct-toma-m img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); display: block; }
.ct-panel small { font: 600 2.7cqw/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ct-panel b { font-weight: 700; font-size: 5cqw; line-height: 1.12; }
.ct-quien { position: absolute; left: 9.5cqw; bottom: 8cqw; font: 600 3.2cqw/1.35 var(--font-mono); }
.ct-quien span { font-weight: 400; }
