
.tja .modal-body{ padding-top:0; }
.tja-barra{ position:sticky; top:0; z-index:3; margin:0 -24px 14px; padding:12px 24px; background:var(--surface); border-bottom:1px solid var(--border); }
.tja-avance{ display:flex; align-items:center; gap:8px; }
.tja-avance > span{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:700; color:var(--text-2); white-space:nowrap; }
.tja-avance > span i{ width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-weight:900; font-size:13px; background:var(--surface-2); border:2px solid var(--border-strong); color:var(--text-2); transition:all .35s ease; }
.tja-avance > span.actual{ color:var(--text); } .tja-avance > span.actual i{ background:linear-gradient(135deg, #ffe14a, #d9a900); border-color:#d9a900; color:#0a0c10; box-shadow:0 4px 14px rgba(217,169,0,.35); }
.tja-avance > span.hecho i{ background:#0a0c10; border-color:#0a0c10; color:#ffe14a; }
.tja-avance > b{ flex:1; height:3px; border-radius:3px; background:var(--border); min-width:16px; }
.tja-titular{ display:grid; gap:2px; } .tja-titular b{ font-size:17px; } .tja-titular span{ font-size:13px; color:var(--text-2); }
.tja-elegir{ animation:tjaEntra .45s cubic-bezier(.22,1,.36,1) both; }
.tja-datos{ animation:tjaEntra .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes tjaEntra{ from{ opacity:0; transform:translateX(18px); } to{ opacity:1; transform:none; } }
.tja-preg{ font-size:clamp(20px, 2.6vw, 24px); font-weight:900; letter-spacing:-.01em; margin:4px 0 4px; }
.tja-ayuda{ font-size:14px; color:var(--text-2); margin:0 0 14px; }
.tja-buscar{ display:flex; align-items:center; gap:10px; padding:0 16px; margin-bottom:14px; border:2px solid var(--border-strong); border-radius:14px; background:var(--surface); transition:border-color .2s, box-shadow .2s; }
.tja-buscar:focus-within{ border-color:#d9a900; box-shadow:0 0 0 4px rgba(217,169,0,.16); }
.tja-buscar span{ font-size:18px; }
.modal-body .tja-buscar input{ border:0 !important; box-shadow:none !important; padding:14px 0; font-size:16px; background:transparent; width:100%; }
.tja-bancos{ display:flex; gap:10px; overflow-x:auto; padding:2px 2px 10px; margin-bottom:6px; scrollbar-width:thin; }
.tja-banco{ flex:0 0 auto; display:flex; align-items:center; gap:10px; padding:9px 14px 9px 9px; border-radius:14px; border:1.5px solid var(--border); background:var(--surface); cursor:pointer; text-align:left; transition:transform .2s, border-color .2s, box-shadow .2s; }
.tja-banco:hover{ transform:translateY(-2px); border-color:var(--border-strong); }
.tja-banco.activo{ border-color:#d9a900; background:var(--kap-gold-soft, rgba(217,169,0,.1)); box-shadow:0 6px 16px rgba(217,169,0,.22); }
.tja-banco b{ display:block; font-size:14px; } .tja-banco small{ font-size:12px; color:var(--text-2); }
.tja-banco-logo{ width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:#fff; border:1px solid var(--border); overflow:hidden; font-weight:900; font-size:20px; color:#8c6a00; }
.tja-otro .tja-banco-logo, .tja-todos .tja-banco-logo{ background:linear-gradient(135deg, #ffe14a, #d9a900); color:#0a0c10; border:0; }
.tja-bancos--grandes{ display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); overflow:visible; }
.tja-bancos--grandes .tja-banco{ padding:14px; } .tja-bancos--grandes .tja-banco b{ font-size:15.5px; }
.tja-bancos--pestanas .tja-banco{ border-radius:12px 12px 0 0; border-width:0 0 3px; border-color:transparent; background:transparent; box-shadow:none; padding:8px 12px 10px 6px; }
.tja-bancos--pestanas .tja-banco.activo{ border-color:#d9a900; background:transparent; box-shadow:none; }
.tja-bancos--pestanas{ border-bottom:1px solid var(--border); }
.tja-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(170px, 1fr)); gap:12px; }
.tja-tarjeta{ display:flex; flex-direction:column; gap:8px; padding:12px; border-radius:16px; border:1.5px solid var(--border); background:var(--surface); cursor:pointer; text-align:left;
  transition:transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, border-color .2s; animation:tjaSube .5s cubic-bezier(.22,1,.36,1) both; }
.tja-grid .tja-tarjeta:nth-child(2){ animation-delay:.04s } .tja-grid .tja-tarjeta:nth-child(3){ animation-delay:.08s } .tja-grid .tja-tarjeta:nth-child(4){ animation-delay:.12s }
.tja-grid .tja-tarjeta:nth-child(5){ animation-delay:.16s } .tja-grid .tja-tarjeta:nth-child(n+6){ animation-delay:.2s }
@keyframes tjaSube{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
.tja-tarjeta:hover{ transform:translateY(-4px); border-color:#d9a900; box-shadow:0 14px 28px rgba(9,11,15,.14); }
.tja-img{ height:104px; display:grid; place-items:center; }
.tja-img img{ max-width:100%; max-height:104px; object-fit:contain; border-radius:8px; filter:drop-shadow(0 8px 12px rgba(9,11,15,.25)); transition:transform .35s cubic-bezier(.22,1,.36,1); }
.tja-img img.vert{ max-height:110px; }
.tja-tarjeta:hover .tja-img img{ transform:rotate(-3deg) scale(1.05); }
.tja-sinimg{ width:100%; height:100%; border-radius:10px; display:grid; place-items:center; align-content:center; gap:4px; background:linear-gradient(135deg, #2a2f38, #0a0c10); }
.tja-sinimg small{ color:rgba(255,255,255,.7); font-size:11px; }
.tja-txt{ display:grid; gap:2px; } .tja-txt b{ font-size:14px; line-height:1.25; } .tja-txt small{ font-size:12px; color:var(--text-2); }
.tja-noesta{ border-style:dashed; border-color:#d9a900; background:var(--kap-gold-soft, rgba(217,169,0,.08)); }
.tja-mas{ width:54px; height:54px; border-radius:50%; display:grid; place-items:center; font-size:28px; font-weight:900; color:#0a0c10; background:linear-gradient(135deg, #ffe14a, #d9a900); box-shadow:0 8px 20px rgba(217,169,0,.35); }
.tja-vacio{ padding:12px 14px; border-radius:12px; background:var(--surface-2); font-size:14px; margin:0 0 12px; }
.tja-tarjeta--web{ padding:14px; } .tja-tarjeta--web .tja-img{ height:120px; border-radius:12px; background:var(--surface-2); }
.tja-tarjeta--web .tja-img img{ max-height:110px; }
.tja-tarjeta--web em{ justify-self:start; margin-top:4px; padding:2px 8px; border-radius:20px; font-style:normal; font-size:11.5px; font-weight:700; background:var(--surface-2); color:var(--text-2); }
.tja-esla{ margin-top:8px; padding:9px 12px; border-radius:10px; text-align:center; font-size:13.5px; font-weight:800; background:#0a0c10; color:#ffe14a; transition:background .2s; }
.tja-tarjeta--web:hover .tja-esla{ background:linear-gradient(135deg, #ffe14a, #d9a900); color:#0a0c10; }
.tja-lado{ display:grid; justify-items:center; gap:6px; margin-bottom:6px; }
.tja-cambiar{ border:0; background:none; color:#8c6a00; font-weight:800; font-size:13.5px; cursor:pointer; padding:4px 8px; }
.tja-grupo{ display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin:20px 0 10px; padding-top:14px; border-top:1px solid var(--border); font-size:16px; font-weight:900; }
.tja-grupo small{ font-size:12.5px; font-weight:600; color:var(--text-2); }
.tja-campos > .tja-grupo:first-of-type{ border-top:0; padding-top:0; margin-top:8px; }
@media (min-width:900px){
  .tja-datos.tja-columnas{ display:grid; grid-template-columns:340px minmax(0, 1fr); gap:28px; align-items:start; }
  .tja-columnas .tja-lado{ position:sticky; top:72px; padding:18px; border-radius:18px; background:var(--surface-2); }
}
@media (max-width:640px){
  .tja-barra{ margin:0 -16px 12px; padding:10px 16px; }
  .tja-avance > span{ font-size:12px; gap:6px; } .tja-avance > span i{ width:24px; height:24px; font-size:12px; }
  .tja-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
  .tja-img{ height:84px; } .tja-img img{ max-height:84px; } .tja-tarjeta--web .tja-img{ height:96px; } .tja-tarjeta--web .tja-img img{ max-height:88px; }
  .tja-bancos--grandes{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce){ .tja-elegir, .tja-datos, .tja-tarjeta{ animation:none; } }
.tja-filas{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:4px 16px; }
.tja-filas > .field[hidden]{ display:none; }
.tja-bloque:first-of-type .tja-grupo{ border-top:0; padding-top:0; margin-top:10px; }
@media (max-width:640px){
  .tja-filas{ grid-template-columns:1fr; }
  .tja-lado .cc-escena .cc-oficial{ max-width:230px !important; }
  .tja-lado .cc-previa{ margin-bottom:4px; }
}
.tja-datos[hidden], .tja-elegir[hidden]{ display:none !important; }
.tja-banco-logo{ width:auto; min-width:46px; padding:0 6px; }
