/* carta-portada.css — COPIA EXACTA de las reglas .ccard de game/css/recompensas.css (la carta de Vocabulario),
   para el anillo 3D de la portada. Si cambia la carta del juego, volver a copiar ese bloque. (Dave 2026-10-31) */
/* ═══ carta coleccionable (visor del álbum): plantillas de la app teñidas por tipo,
   colocación de CardView.kt, 100% fluida con unidades de contenedor (cqw/cqh) ═══ */
.ccard{position:relative;width:100%;max-width:360px;margin:0 auto;aspect-ratio:1355/1861;
  container-type:size;--type:#6280ED;filter:drop-shadow(0 18px 36px rgba(10,6,32,.5))}
.ccard .cc-clip{position:absolute;inset:0;border-radius:6cqw;overflow:hidden}
/* CARGANDO la ilustración: brillo (skeleton) del COLOR DE SU TIPO (--type: adjetivo morado,
   verbo azul…) SOLO en el hueco de la ilustración (mismo recuadro que .cc-ilus, por debajo del
   marco); desaparece del todo en cuanto llega la imagen (.cc-ilus.ready) */
.ccard .cc-clip::before{content:"";position:absolute;top:2.5%;left:3.5%;width:93%;height:95%;border-radius:3.8cqh;   /* dentro del marco: sus esquinas son redondas (comprobado sobre plantilla_marco) */
  
  background:linear-gradient(100deg,color-mix(in srgb,var(--type) 45%,#fff) 30%,color-mix(in srgb,var(--type) 18%,#fff) 50%,color-mix(in srgb,var(--type) 45%,#fff) 70%) 0 0/300% 100%;
  animation:ccCarga 1.3s linear infinite}
.ccard:has(.cc-ilus.ready) .cc-clip::before{content:none}
@keyframes ccCarga{to{background-position:-150% 0}}
@media (prefers-reduced-motion:reduce){ .ccard .cc-clip::before{animation:none} }
.ccard .cc-lyr,.ccard .cc-tint{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.ccard .cc-lyr{object-fit:fill}
.ccard .cc-ilus{position:absolute;top:1.5%;left:2%;width:96%;height:97%;object-fit:cover;
  border-radius:2cqh;background:transparent;opacity:0;transition:opacity .3s;pointer-events:none}
.ccard .cc-ilus.ready{opacity:1}
/* capa teñida = plantilla en escala de grises × color del tipo (Modulate: conserva el bisel) */
.ccard .cc-tint{background:var(--type);
  -webkit-mask:var(--src) center/100% 100% no-repeat;mask:var(--src) center/100% 100% no-repeat}
.ccard .cc-tint::before{content:"";position:absolute;inset:0;
  background:var(--src) center/100% 100% no-repeat;mix-blend-mode:multiply}
.ccard .cc-audio{position:absolute;width:6.5cqh;height:6.5cqh;
  left:calc(93.51cqw - 6.5cqh - 2cqw);top:calc(9.95cqh - 3.25cqh);
  background:none;border:0;padding:0;cursor:pointer;z-index:6}
.ccard .cc-audio img{width:100%;height:100%}
.ccard .cc-t{position:absolute;display:flex}
.ccard .cc-en{left:8.54cqw;top:5.5cqh;width:65cqw;height:9.3cqh;align-items:center;justify-content:flex-start;
  font-family:'Cormorant Garamond',serif;font-weight:700;font-size:var(--fs-en,7cqh);color:#fff;white-space:nowrap;line-height:1}
.ccard .cc-pron{left:7.68cqw;top:14.5cqh;width:60cqw;height:9cqh;flex-direction:column;justify-content:center;
  align-items:flex-start;cursor:pointer}
/* verde de la pronunciación oficial: GreenPronunciation (Android Color.kt) = #0FA35B, en negrita (iOS) */
.ccard .cc-pron .cc-p{font-family:'Kumbh Sans';font-size:3.4cqh;color:#0FA35B;font-weight:700;line-height:1}
.ccard .cc-pron .cc-ipa{margin-top:.8cqh;font-size:2.4cqh;color:#fff;font-weight:600;
  background:var(--type);border-radius:1.2cqh;padding:.4cqh 1.2cqh;display:none;white-space:nowrap}
.ccard .cc-pron.open .cc-ipa{display:inline-block}
/* cartas sin pronunciación (p. ej. las pequeñas de La Arena): fuera el texto fonético Y su
   panel de fondo (las dos capas plantilla_panel_pronu*) */
.ccard--sin-pron .cc-pron,
.ccard--sin-pron .cc-l-panel_pronu,
.ccard--sin-pron .cc-l-panel_pronu_marco{display:none}
/* FICHA de combate (.ccard--token): SOLO ilustración + marco + palabra en inglés. Fuera el
   resto de textos y sus paneles (español, historia, tipo, nivel y pronunciación). */
.ccard--token .cc-pron,.ccard--token .cc-es,.ccard--token .cc-story,
.ccard--token .cc-type,.ccard--token .cc-level,
.ccard--token .cc-l-panel_historia,.ccard--token .cc-l-panel_pronu,.ccard--token .cc-l-panel_pronu_marco,
.ccard--token .cc-l-palabra_esp,.ccard--token .cc-l-palabra_esp_marc,
.ccard--token .cc-l-sombra_tipo_palabra,.ccard--token .cc-l-tipo_palabra,.ccard--token .cc-l-nivel_palabra{display:none}
/* significado en español: Cormorant bold. Las apps usan #A835D4; las cartas oficiales de referencia
   (assets/car-card.webp, happy-card.webp) lo pintan en morado más oscuro → se sigue la referencia. */
.ccard .cc-es{left:12.5cqw;top:65.5cqh;width:75cqw;height:9.19cqh;align-items:center;justify-content:center;
  font-family:'Cormorant Garamond',serif;font-weight:700;font-size:var(--fs-es,7cqh);color:#72279D;line-height:1;text-align:center}
.ccard .cc-story{left:7.5cqw;top:72.16cqh;width:85cqw;height:24.45cqh;align-items:center;justify-content:center}
/* historia: más grande que en las apps (3.6 % del alto) para igualar la carta oficial de referencia;
   el tamaño baja solo con historias largas (--fs-st, cartavisual.js) */
.ccard .cc-story span{font-family:'Kumbh Sans';font-size:var(--fs-st,4.3cqh);line-height:1.2;color:#111;text-align:center}
/* keyword / significado: formato único .st-kw/.st-sig (base.css). La regla «.cc-story span» de arriba
   pisaría su color, así que se repiten aquí los colores con la especificidad de la carta. */
.ccard .cc-story .st-kw{color:#08A256}
.ccard .cc-story .st-sig{color:#7437E8}
/* chips de tipo y nivel: tamaños de CardView.kt / CardFaceView.swift (0.016 y 0.018 del alto),
   un pelín más grandes para igualar la carta oficial de referencia */
.ccard .cc-type{left:76.8cqw;top:18.5cqh;transform:translateY(-50%);width:10cqw;justify-content:center;
  font-family:'Kumbh Sans';font-weight:600;font-size:2.2cqh;line-height:1;color:#fff}
.ccard .cc-level{right:3.3cqw;top:18.5cqh;transform:translateY(-50%);width:15cqw;justify-content:center;
  font-family:'Kumbh Sans';font-weight:600;font-size:2.2cqh;line-height:1;color:#fff}

.st-kw{color:#08A256;font-weight:800;text-decoration:underline;text-decoration-thickness:.12em;text-underline-offset:.16em}
.st-sig{color:#7437E8;font-weight:800;text-transform:uppercase}
