/**
 * «Pregunta del Corral» (modulos/trivia-pregunta.php): tarjeta clara con el naranja del club, para que no se confunda
 * con la invitación oscura (club-invita.css). Al responder, la correcta en verde, la fallada en rojo y el gancho a jugar.
 * @version 1.0
 * @date 2026-11-21
 */
.tw {
    --tw-naranja: #fd3f00;
    --tw-tinta: #141414;
    --tw-suave: #6b6b6b;
    --tw-borde: #ececec;
    --tw-bien: #12833f;
    --tw-mal: #c8102e;
    margin: 26px 0;
    padding: 20px 22px;
    border: 1px solid var(--tw-borde);
    border-top: 4px solid var(--tw-naranja);
    border-radius: 16px;
    background: #fff;
    color: var(--tw-tinta);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
    font-family: var(--fuente-texto, "Inter", Arial, sans-serif);
    text-align: left;
}
.tw [hidden] { display: none !important; }
.tw-cabeza { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 8px; }
.tw-etiqueta { color: var(--tw-naranja); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tw-tema { padding: .2em .7em; border-radius: 999px; background: #fff1eb; color: #b32d00; font-size: 12px; font-weight: 700; }
.tw-pregunta { margin: 0 0 14px; font-family: var(--fuente-titulo, "Saira Condensed", sans-serif); font-size: 24px; font-weight: 800; line-height: 1.15; color: var(--tw-tinta); }
.tw-opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tw-opcion {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 10px 12px;
    border: 2px solid var(--tw-borde); border-radius: 12px; background: #fafafa; color: var(--tw-tinta);
    font: inherit; font-size: 15px; font-weight: 600; line-height: 1.25; text-align: left; cursor: pointer;
    transition: border-color .15s, background-color .15s, transform .15s;
}
.tw-opcion:hover:not(:disabled), .tw-opcion:focus-visible { border-color: var(--tw-naranja); background: #fff6f2; transform: translateY(-1px); outline: none; }
.tw-opcion:disabled { cursor: default; }
.tw-letra { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--tw-borde); color: var(--tw-suave); font-size: 13px; font-weight: 800; }
.tw-elegida { border-color: var(--tw-naranja); }
.tw-bien { border-color: var(--tw-bien); background: #eaf7ef; }
.tw-bien .tw-letra { background: var(--tw-bien); border-color: var(--tw-bien); color: #fff; }
.tw-mal { border-color: var(--tw-mal); background: #fdecee; }
.tw-mal .tw-letra { background: var(--tw-mal); border-color: var(--tw-mal); color: #fff; }
.tw-hecha .tw-opcion:not(.tw-bien):not(.tw-mal) { opacity: .55; }

.tw-resultado { margin-top: 14px; }
.tw-veredicto { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.tw-veredicto .fa-circle-check { color: var(--tw-bien); }
.tw-veredicto .fa-circle-xmark { color: var(--tw-mal); }
.tw-explica { margin: 0 0 6px; color: #333; font-size: 14px; line-height: 1.5; }
.tw-explica a { color: #b32d00; font-weight: 700; }
.tw-dato { margin: 0 0 10px; color: var(--tw-suave); font-size: 13px; font-weight: 600; }
.tw-gancho { display: flex; align-items: center; gap: 14px; margin: 10px 0 8px; padding: 14px 16px; border-radius: 12px; background: #141414; color: #fff; }
.tw-gancho strong { display: block; font-family: var(--fuente-titulo, "Saira Condensed", sans-serif); font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.tw-gancho span { display: block; color: rgba(255, 255, 255, .78); font-size: 13px; line-height: 1.45; }
.tw-gancho > div { flex: 1; min-width: 0; }
.tw-boton { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: .8em 1.3em; border-radius: 999px; background: var(--tw-naranja); color: #fff !important; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap; box-shadow: 0 8px 18px rgba(253, 63, 0, .35); transition: transform .2s, background-color .2s; }
.tw-boton:hover, .tw-boton:focus { transform: translateY(-2px); background: #e13901; }
.tw-otra { padding: 6px 0; border: 0; background: none; color: #b32d00; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.tw-otra:hover { text-decoration: underline; }
.tw-pie { margin: 12px 0 0; color: var(--tw-suave); font-size: 12px; }
.tw-pie a { color: #b32d00; font-weight: 700; }

@media (max-width: 575px) {
    .tw { padding: 16px; }
    .tw-pregunta { font-size: 21px; }
    .tw-opciones { grid-template-columns: 1fr; }
    .tw-gancho { flex-direction: column; align-items: stretch; text-align: left; }
    .tw-boton { justify-content: center; }
}
