/* El chat en directo de /contacto y /en/contact (assets/js/atencion-chat.js).
   Va dentro del panel del formulario y toma de él el color de la persona
   elegida (--acento-sel). Se apoya en los .rc-* y .btn de styles.css. */

.ct-solo-lector { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- correo o chat ---------- */
.ct-modos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0 0 1.3rem; }
.ct-modo { position: relative; display: block; min-width: 0; cursor: pointer; }
.ct-modo > input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-modo-c { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .1rem .8rem; height: 100%; box-sizing: border-box; padding: .85rem 1rem; border-radius: var(--radius-md); border: 1px solid var(--edge-hi); background: var(--panel-sunk); transition: background .2s, border-color .2s, box-shadow .2s; }
.ct-modo-c svg { grid-row: 1 / span 2; width: 28px; height: 28px; color: var(--ink-faint); transition: color .2s; }
.ct-modo-c strong { font-family: var(--font-display); font-size: 1.45rem; line-height: 1; color: var(--ink); }
.ct-modo-c small { font-size: .82rem; line-height: 1.35; color: var(--ink-dim); }
.ct-modo:hover .ct-modo-c { border-color: var(--edge-warm, var(--ember)); }
.ct-modo > input:checked + .ct-modo-c { border-color: var(--ember); background: color-mix(in srgb, var(--ember) 12%, var(--panel-sunk)); box-shadow: 0 0 0 1px var(--ember), 0 16px 34px -22px var(--ember); }
.ct-modo > input:checked + .ct-modo-c svg { color: var(--ember); }
.ct-modo > input:focus-visible + .ct-modo-c { outline: 2px solid var(--diamond-glow); outline-offset: 2px; }
.ct-modo-chat small { display: inline-flex; align-items: center; gap: .4rem; }
.ct-modo-chat small::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--ink-faint); }
.ct-modo-chat .es-on small { color: #a8dd9d; }
.ct-modo-chat .es-on small::before { background: var(--moss, #82c076); box-shadow: 0 0 0 3px rgba(130, 192, 118, .25); }

/* ---------- la caja del chat ---------- */
.ct-chat { display: grid; gap: .9rem; min-width: 0; }
.ct-chat-carga { margin: 0; padding: 2.4rem 1rem; max-width: none; text-align: center; color: var(--ink-dim); }
.ct-chat-fallo { display: grid; justify-items: start; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(209, 80, 63, .14); }
.ct-chat-fallo p { margin: 0; max-width: none; line-height: 1.55; }
.ct-chat-fila { display: flex; flex-wrap: wrap; gap: .6rem; }

.ct-chat-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.ct-chat-pres { display: inline-flex; align-items: center; gap: .55rem; margin: 0; max-width: none; font-weight: 700; font-size: .92rem; color: var(--ink-dim); }
.ct-punto { flex: none; width: .65rem; height: .65rem; border-radius: 50%; background: var(--ink-faint); }
.ct-chat-pres.es-on { color: #a8dd9d; }
.ct-chat-pres.es-on .ct-punto, .ct-chat-pill.es-on .ct-punto { background: var(--moss, #82c076); box-shadow: 0 0 0 3px rgba(130, 192, 118, .25); }
.ct-chat-chip { padding: .15rem .55rem; border-radius: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ct-chat-chip.es-abierta { background: rgba(130, 192, 118, .2); color: #a8dd9d; }
.ct-chat-chip.es-cerrada { background: rgba(255, 255, 255, .08); color: var(--ink-faint); }
.ct-chat-intro { margin: 0; max-width: 62ch; line-height: 1.6; color: var(--ink-dim); }

/* empezar una conversación */
.ct-chat-inicio { display: grid; gap: 1rem; }
.ct-chat-inicio .rc-campo input, .ct-chat-inicio .rc-campo select, .ct-chat-inicio .rc-campo textarea,
.ct-chat-area, .ct-val-form textarea { width: 100%; box-sizing: border-box; padding: .7rem .85rem; font: inherit; font-size: .98rem; line-height: 1.5; border: 1px solid var(--edge-hi); border-radius: var(--radius-xs); background: var(--bg-deep); color: var(--ink); }
.ct-chat-inicio .rc-campo textarea { min-height: 6.4rem; }
.ct-chat-inicio .rc-campo input:focus, .ct-chat-inicio .rc-campo select:focus, .ct-chat-inicio .rc-campo textarea:focus,
.ct-chat-area:focus, .ct-val-form textarea:focus { outline: 2px solid var(--ember); outline-offset: 1px; }
.ct-chat-ayuda { margin: -.4rem 0 0; max-width: none; font-size: .82rem; line-height: 1.45; color: var(--ink-faint); }
.rc-campo .ct-chat-ayuda { margin: 0; }
.ct-chat-pie { display: flex; justify-content: flex-start; }
.ct-chat-nota { margin: 0; max-width: none; font-size: .82rem; line-height: 1.5; color: var(--ink-faint); }

.ct-previas { border-radius: var(--radius-sm); background: var(--panel-sunk); box-shadow: var(--bevel); }
.ct-previas summary { padding: .75rem 1rem; font-weight: 700; font-size: .9rem; cursor: pointer; }
.ct-previas summary:focus-visible { outline: 2px solid var(--diamond-glow); outline-offset: -2px; }
.ct-previas ul { display: grid; gap: .1rem; margin: 0; padding: 0 .4rem .5rem; list-style: none; }
.ct-previa { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; width: 100%; box-sizing: border-box; padding: .6rem .7rem; border: 0; border-radius: var(--radius-xs); background: none; box-shadow: none; text-transform: none; letter-spacing: normal; color: inherit; font: inherit; font-size: .88rem; text-align: left; cursor: pointer; }
.ct-previa:hover { background: rgba(255, 255, 255, .05); }
.ct-previa:focus-visible { outline: 2px solid var(--diamond-glow); outline-offset: -2px; }
.ct-previa strong { color: var(--ember-glow); white-space: nowrap; }
.ct-previa span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-dim); }

/* la conversación */
.ct-chat-logcaja { position: relative; }
.ct-chat-log { display: flex; flex-direction: column; gap: .55rem; height: clamp(300px, 52vh, 480px); box-sizing: border-box; margin: 0; padding: 1rem; overflow-y: auto; overscroll-behavior: contain; border-radius: var(--radius-md); background: var(--panel-sunk); box-shadow: var(--bevel); scroll-behavior: auto; }
.ct-chat-log:focus-visible { outline: 2px solid var(--diamond-glow); outline-offset: 2px; }
.ct-chat-nuevos { position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); padding: .45rem .9rem; border: 0; border-radius: 99px; text-transform: none; letter-spacing: normal; background: var(--ember); color: #17120b; font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); }
.ct-chat-nuevos:focus-visible { outline: 2px solid var(--diamond-glow); outline-offset: 2px; }

.ct-cm-dia { align-self: center; margin: .3rem 0 .1rem; padding: .15rem .65rem; max-width: none; border-radius: 99px; background: rgba(255, 255, 255, .06); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.ct-cm-sis { align-self: center; margin: .2rem 0; padding: .3rem .8rem; max-width: none; border: 1px dashed var(--edge-hi); border-radius: 99px; font-size: .78rem; text-align: center; color: var(--ink-dim); }
.ct-cm { display: flex; align-items: flex-end; gap: .55rem; max-width: min(34rem, 92%); }
.ct-cm.es-v { align-self: flex-end; flex-direction: row-reverse; }
.ct-cm.es-a { align-self: flex-start; }
.ct-cm-av { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--panel-raised); box-shadow: 0 0 0 2px var(--acento-sel, var(--ember)); }
.ct-cm-av.es-cuadrada { border-radius: 22%; }
.ct-cm-ini { display: grid; place-items: center; font-size: .85rem; font-weight: 800; color: var(--ink); }
.ct-cm-c { display: grid; gap: .15rem; min-width: 0; }
.ct-cm.es-v .ct-cm-c { justify-items: end; }
.ct-cm-quien { font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: var(--acento-sel, var(--ember-glow)); }
.ct-cm-txt { margin: 0; padding: .6rem .85rem; max-width: none; border-radius: 16px; font-size: .96rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ct-cm.es-a .ct-cm-txt { background: var(--panel-raised); border-bottom-left-radius: 4px; box-shadow: inset 3px 0 0 var(--acento-sel, var(--ember)); }
.ct-cm.es-v .ct-cm-txt { background: color-mix(in srgb, var(--ember) 24%, var(--panel-raised)); border-bottom-right-radius: 4px; }
.ct-cm.es-pendiente { opacity: .55; }
.ct-cm-hora { font-size: .68rem; color: var(--ink-faint); }

/* escribir */
.ct-chat-comp { display: grid; gap: .45rem; }
.ct-chat-linea { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .6rem; }
.ct-chat-area { resize: none; min-height: 2.9rem; max-height: 168px; }
.ct-chat-ayuda2 { display: flex; justify-content: space-between; gap: 1rem; margin: 0; max-width: none; font-size: .76rem; color: var(--ink-faint); }
.ct-cierre { display: grid; justify-items: start; gap: .7rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); line-height: 1.55; color: var(--ink-dim); }
.ct-cierre strong { color: var(--ink); }

/* valorar la atención */
.ct-val { display: grid; }
.ct-val-link { justify-self: start; padding: .2rem 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-transform: none; letter-spacing: normal; font: inherit; font-size: .88rem; font-weight: 700; color: var(--ember-glow); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ct-val-link:hover { color: var(--ember); }
.ct-val-link:focus-visible { outline: 2px solid var(--diamond-glow); outline-offset: 3px; }
.ct-val-form, .ct-val-hecha { display: grid; gap: .7rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-md); background: color-mix(in srgb, var(--ember) 8%, var(--panel-sunk)); box-shadow: var(--bevel), inset 0 3px 0 var(--ember); }
.ct-val-form h4 { margin: 0; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.ct-val-ayuda { margin: 0; max-width: none; font-size: .9rem; line-height: 1.5; color: var(--ink-dim); }
.ct-val-form textarea { min-height: 3.6rem; resize: vertical; }
.ct-val-hecha { justify-items: start; }
.ct-val-hecha strong { font-size: 1rem; }
.ct-val-txt { margin: 0; padding: .5rem .8rem; border-left: 3px solid var(--ember); font-size: .92rem; line-height: 1.5; color: var(--ink-dim); white-space: pre-wrap; overflow-wrap: anywhere; }
.ct-estrellas-fijas { font-size: 1.5rem; letter-spacing: .1em; color: var(--ink-faint); opacity: .8; white-space: nowrap; }
.ct-estrellas-fijas .es-on { color: var(--ember); opacity: 1; }

.ct-estrellas { display: flex; flex-direction: row-reverse; justify-content: flex-end; width: fit-content; margin: 0; padding: 0; border: 0; min-width: 0; }
.ct-estrellas > legend { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ct-estrellas input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ct-estrellas label { padding: 0 .12em; font-size: 2.3rem; line-height: 1; color: var(--ink-faint); cursor: pointer; transition: color .15s, transform .15s; }
.ct-estrellas label:hover, .ct-estrellas label:hover ~ label, .ct-estrellas input:checked ~ label { color: var(--ember); }
.ct-estrellas label:hover { transform: scale(1.12); }
.ct-estrellas input:focus-visible + label { outline: 2px solid var(--diamond-glow); outline-offset: 2px; border-radius: 6px; }

/* en la ficha de la persona */
.ct-chat-pill { display: inline-flex; align-items: center; gap: .5rem; width: fit-content; max-width: 100%; margin: -.1rem 0 0; padding: .3rem .7rem; border-radius: 99px; font-size: .78rem; font-weight: 800; letter-spacing: .03em; color: var(--ink-dim); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ct-chat-pill.es-on { color: #a8dd9d; background: rgba(130, 192, 118, .14); box-shadow: inset 0 0 0 1px rgba(130, 192, 118, .45); }
.ct-chatbtn { position: relative; z-index: 2; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; box-sizing: border-box; padding: .5rem .95rem; border: 0; border-radius: 9px; font: inherit; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #17120b; background: linear-gradient(180deg, #ffd488, #f5a52c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 0 #a86a0f, 0 10px 20px -10px rgba(255, 171, 53, .9); cursor: pointer; transition: transform .2s, filter .2s; }
.ct-chatbtn svg { width: 18px; height: 18px; }
.ct-chatbtn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.ct-chatbtn:focus-visible { outline: 2px solid var(--diamond-glow); outline-offset: 2px; }
.ct-card-pie { flex-wrap: wrap; }

@media (max-width: 600px) {
  .ct-modos { grid-template-columns: 1fr; }
  .ct-modo-c strong { font-size: 1.3rem; }
  .ct-chat-log { height: clamp(280px, 56vh, 420px); padding: .8rem; }
  .ct-cm { max-width: 96%; }
  .ct-chat-linea { grid-template-columns: 1fr; }
  .ct-chat-linea .btn { justify-self: stretch; }
  .ct-chat-ayuda2 { flex-direction: column; gap: .2rem; }
  .ct-estrellas label { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-modo-c, .ct-estrellas label, .ct-chatbtn { transition: none; }
  .ct-chatbtn:hover, .ct-estrellas label:hover { transform: none; }
}

/* los dos botones del final de la página: el chat y Discord */
.ct-final-bt { display: flex; flex-wrap: wrap; gap: .7rem; }
.ct-chat-nuevos:hover { transform: translateX(-50%) translateY(-2px); }
.ct-chat-nuevos:active { transform: translateX(-50%) translateY(1px); }

/* aviso de problemas de conexión del chat */
.ct-chat-aviso { margin: 0; padding: .5rem .8rem; max-width: none; border-radius: var(--radius-xs); background: rgba(255, 171, 53, .14); font-size: .84rem; font-weight: 700; color: var(--ember-glow); }

/* ======================================================================
   Segunda capa visual: ficha de quien atiende, temas con botones, burbujas
   con más cuerpo, aviso de espera y cuadro de escribir tipo mensajería.
   ====================================================================== */
.ct-chat { --ico-reloj: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); --ico-enviar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.5l17-8-7.5 17-2.2-7.3z' fill='black'/%3E%3C/svg%3E"); }

/* la ficha de quien atiende */
.ct-chat-cab { padding: .85rem 1rem; border-radius: var(--radius-md); background: linear-gradient(135deg, color-mix(in srgb, var(--acento-sel, var(--ember)) 18%, var(--panel-sunk)), var(--panel-sunk) 72%); box-shadow: var(--bevel), inset 0 3px 0 var(--acento-sel, var(--ember)); }
.ct-chat-perfil { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.ct-chat-foto { position: relative; flex: none; width: 58px; height: 58px; }
.ct-chat-foto-img, .ct-chat-foto-ini { display: block; width: 100%; height: 100%; border-radius: 22%; object-fit: cover; background: var(--panel-raised); box-shadow: 0 0 0 2px var(--acento-sel, var(--ember)); }
.ct-chat-foto-ini { display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; }
.ct-chat-dot { position: absolute; right: -4px; bottom: -4px; box-sizing: border-box; width: 17px; height: 17px; border: 3px solid var(--panel-sunk); border-radius: 50%; background: var(--ink-faint); }
.ct-chat-dot.es-on { background: var(--moss, #82c076); animation: ct-latido 2.4s ease-in-out infinite; }
@keyframes ct-latido { 0% { box-shadow: 0 0 0 0 rgba(130, 192, 118, .55); } 70% { box-shadow: 0 0 0 9px rgba(130, 192, 118, 0); } 100% { box-shadow: 0 0 0 0 rgba(130, 192, 118, 0); } }
.ct-chat-quien { display: grid; gap: .15rem; min-width: 0; }
.ct-chat-nombre { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; line-height: 1; }
.ct-chat-rol { font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--acento-sel, var(--ember-glow)); }
.ct-chat-estado { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .4rem .7rem; }
.ct-chat-resp { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .65rem; border-radius: 99px; font-size: .74rem; font-weight: 800; letter-spacing: .03em; color: var(--ember-glow); background: rgba(255, 171, 53, .14); box-shadow: inset 0 0 0 1px rgba(255, 171, 53, .4); }
.ct-chat-resp::before { content: ""; flex: none; width: 1.05em; height: 1.05em; background: currentColor; -webkit-mask: var(--ico-reloj) center / contain no-repeat; mask: var(--ico-reloj) center / contain no-repeat; }
.ct-chat-intro { padding: .8rem 1rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); box-shadow: inset 3px 0 0 var(--acento-sel, var(--ember)); }

/* el tema, con botones grandes */
.ct-temas { margin: 0; padding: 0; border: 0; min-width: 0; }
.ct-temas > legend { padding: 0; margin: 0 0 .45rem; font-weight: 800; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-dim); }
.ct-temas-fila { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.ct-tema { position: relative; display: block; min-width: 0; cursor: pointer; }
.ct-tema > input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-tema-c { display: grid; justify-items: center; align-content: center; gap: .45rem; box-sizing: border-box; height: 100%; min-height: 5.2rem; padding: .75rem .55rem; border: 1px solid var(--edge-hi); border-radius: var(--radius-sm); background: var(--panel-sunk); font-size: .85rem; font-weight: 700; line-height: 1.25; text-align: center; color: var(--ink-dim); transition: background .2s, border-color .2s, box-shadow .2s, color .2s; }
.ct-tema-ico svg { display: block; width: 26px; height: 26px; color: var(--ink-faint); transition: color .2s; }
.ct-tema:hover .ct-tema-c { border-color: var(--edge-warm, var(--ember)); color: var(--ink); }
.ct-tema > input:checked + .ct-tema-c { border-color: var(--ember); background: color-mix(in srgb, var(--ember) 14%, var(--panel-sunk)); box-shadow: 0 0 0 1px var(--ember), 0 14px 30px -20px var(--ember); color: var(--ink); }
.ct-tema > input:checked + .ct-tema-c svg { color: var(--ember); }
.ct-tema > input:focus-visible + .ct-tema-c { outline: 2px solid var(--diamond-glow); outline-offset: 2px; }

/* burbujas con más cuerpo */
.ct-chat-log { background: radial-gradient(90% 60% at 15% 0, color-mix(in srgb, var(--acento-sel, var(--ember)) 9%, transparent), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 4px), var(--panel-sunk); }
.ct-cm { animation: ct-entra .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes ct-entra { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.ct-cm-txt { box-shadow: 0 8px 16px -12px rgba(0, 0, 0, .9); }
.ct-cm.es-a .ct-cm-txt { background: linear-gradient(180deg, color-mix(in srgb, var(--acento-sel, var(--ember)) 16%, var(--panel-raised)), var(--panel-raised)); }
.ct-cm.es-v .ct-cm-txt { background: linear-gradient(180deg, color-mix(in srgb, var(--ember) 40%, var(--panel-raised)), color-mix(in srgb, var(--ember) 26%, var(--panel-raised))); color: #fff8ea; }
.ct-cm-tick { font-weight: 800; color: var(--moss, #82c076); }

/* "ahora no está": cuánto puede tardar */
.ct-chat-espera { display: flex; align-items: center; gap: .75rem; padding: .7rem .95rem; border-radius: var(--radius-sm); background: rgba(255, 171, 53, .1); box-shadow: inset 3px 0 0 var(--ember); }
.ct-chat-espera p { margin: 0; max-width: none; font-size: .88rem; line-height: 1.5; color: var(--ink-dim); }
.ct-chat-reloj { flex: none; width: 1.5rem; height: 1.5rem; background: var(--ember); -webkit-mask: var(--ico-reloj) center / contain no-repeat; mask: var(--ico-reloj) center / contain no-repeat; }

/* el cuadro de escribir, como en una app de mensajes */
.ct-chat-linea { padding: .35rem .35rem .35rem .45rem; border: 1px solid var(--edge-hi); border-radius: 18px; background: var(--bg-deep); transition: border-color .2s, box-shadow .2s; }
.ct-chat-linea:focus-within { border-color: var(--ember); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ember) 28%, transparent); }
.ct-chat-linea .ct-chat-area, .ct-chat-linea .ct-chat-area:focus { border: 0; background: transparent; outline: none; box-shadow: none; }
.ct-chat-comp .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 14px; }
.ct-enviar-ico { flex: none; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--ico-enviar) center / contain no-repeat; mask: var(--ico-enviar) center / contain no-repeat; }

@media (max-width: 600px) {
  .ct-chat-estado { justify-content: flex-start; }
  .ct-temas-fila { grid-template-columns: 1fr; }
  .ct-tema-c { grid-template-columns: auto minmax(0, 1fr); justify-items: start; min-height: 0; padding: .75rem .9rem; text-align: left; }
  .ct-chat-nombre { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-cm, .ct-chat-dot.es-on { animation: none; }
  .ct-tema-c, .ct-tema-ico svg, .ct-chat-linea { transition: none; }
}
