/* 24CR Conversación Premium */
:root{
  --24p-red:#e90026;
  --24p-red-strong:#d60024;
  --24p-ink:#111318;
  --24p-muted:#727780;
  --24p-line:#e8e9ed;
  --24p-soft:#f6f7f9;
  --24p-soft-red:#fff4f6;
  --24p-white:#fff;
  --24p-shadow:0 14px 40px rgba(17,19,24,.055);
}

/* Si quedó activo el plugin viejo, ocultamos únicamente su interfaz. */
.cr24c-community,.cr24c-floating{display:none!important}

.cr24p-wrap,.cr24p-profile{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Arial,sans-serif;
  color:var(--24p-ink);
  -webkit-font-smoothing:antialiased;
}
.cr24p-wrap{margin:52px 0 24px;padding-top:28px;border-top:1px solid var(--24p-line)}
.cr24p-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:18px}
.cr24p-kicker{display:block;color:var(--24p-red);font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;margin-bottom:5px}
.cr24p-head h2{font-size:clamp(25px,3vw,34px);line-height:1.06;letter-spacing:-.045em;margin:0;font-weight:780}
.cr24p-head p{margin:8px 0 0;max-width:720px;color:var(--24p-muted);font-size:14px;line-height:1.5}
.cr24p-head-actions{padding-top:2px}
.cr24p-fav{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #dfe1e6;background:#fff;color:#343941;border-radius:999px;padding:0 14px;font-size:13px;font-weight:760;text-decoration:none!important;cursor:pointer;transition:.18s ease}
.cr24p-fav:hover{border-color:#cfd2d9;background:#fafafa;transform:translateY(-1px)}
.cr24p-fav.is-active{color:var(--24p-red);background:var(--24p-soft-red);border-color:#ffd0d8}

/* Caja de acceso: discreta, no un bloque gigante */
.cr24p-auth{border:1px solid var(--24p-line);border-radius:18px;background:rgba(250,250,251,.88);overflow:hidden;box-shadow:0 10px 34px rgba(17,19,24,.035);margin:16px 0 22px}
.cr24p-auth-bar{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--24p-line);background:#fff}
.cr24p-auth-bar strong{font-size:14px}.cr24p-auth-bar span{font-size:12px;color:var(--24p-muted)}
.cr24p-tabs{display:flex;gap:6px;padding:10px 12px 0}
.cr24p-tab{appearance:none;border:0;background:transparent;color:#6b7078;padding:9px 13px;border-radius:999px;font:750 13px/1 inherit;cursor:pointer;transition:.18s ease}
.cr24p-tab:hover{background:#f0f1f4;color:#22262c}
.cr24p-tab.is-active{background:var(--24p-red);color:#fff;box-shadow:0 8px 22px rgba(233,0,38,.14)}
.cr24p-panels{padding:10px 14px 16px}.cr24p-panel{display:none}.cr24p-panel.is-active{display:block}
.cr24p-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cr24p-field-row-3{grid-template-columns:1fr 1.25fr 1fr}
.cr24p-panel label,.cr24p-profile-card label{display:block;font-size:12px;font-weight:760;color:#4d535c}
.cr24p-panel input[type=text],.cr24p-panel input[type=email],.cr24p-panel input[type=password],.cr24p-profile-card input[type=text]{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #dde0e6;border-radius:11px;background:#fff;padding:12px 13px;font:500 15px/1.2 inherit;color:var(--24p-ink);outline:none;transition:.18s ease}
.cr24p-panel input:focus,.cr24p-profile-card input:focus,.cr24p-composer textarea:focus{border-color:#f06b80;box-shadow:0 0 0 3px rgba(233,0,38,.07)}
.cr24p-check{display:flex!important;align-items:flex-start;gap:8px;margin:12px 0!important;font-weight:520!important;line-height:1.45}.cr24p-check input{margin-top:2px}
.cr24p-primary{appearance:none;border:0;border-radius:11px;background:var(--24p-red);color:#fff;padding:11px 16px;font:780 14px/1 inherit;cursor:pointer;box-shadow:0 8px 22px rgba(233,0,38,.12);transition:.18s ease}
.cr24p-primary:hover{background:var(--24p-red-strong);transform:translateY(-1px)}
.cr24p-primary:disabled{opacity:.55;cursor:default;transform:none}

/* Compositor */
.cr24p-composer{border:1px solid var(--24p-line);border-radius:18px;background:#fff;padding:16px;box-shadow:var(--24p-shadow);margin:16px 0 22px}
.cr24p-composer-user{display:flex;align-items:center;gap:10px;margin-bottom:12px}.cr24p-composer-user strong{display:block;font-size:14px}.cr24p-composer-user small{display:block;margin-top:2px;color:var(--24p-muted);font-size:11px}
.cr24p-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(145deg,var(--24p-red),#b9001f);color:#fff;font-weight:850;flex:0 0 auto;width:38px;height:38px;font-size:14px}
.cr24p-avatar-sm{width:36px;height:36px;font-size:13px}.cr24p-avatar-lg{width:68px;height:68px;font-size:25px}
.cr24p-composer textarea{width:100%;min-height:104px;box-sizing:border-box;border:1px solid #dfe1e6;border-radius:13px;padding:13px 14px;resize:vertical;font:500 15px/1.55 inherit;outline:none;background:#fff}
.cr24p-composer-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}.cr24p-note{font-size:11px;color:#8a8f97}
.cr24p-reply-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--24p-soft-red);color:#8f2436;border:1px solid #ffd5dc;padding:9px 11px;border-radius:10px;margin-bottom:9px;font-size:12px;font-weight:720}
.cr24p-reply-banner button{appearance:none;border:0;background:transparent;color:#8f2436;font-size:20px;line-height:1;cursor:pointer;padding:0 2px}

/* Hilos */
.cr24p-comments{margin-top:24px}
.cr24p-comments-title{display:flex;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid var(--24p-line)}
.cr24p-comments-title strong{font-size:14px}.cr24p-comments-title span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#f0f1f4;color:#60656d;font-size:11px;font-weight:750}
.cr24p-empty{padding:24px 0;color:var(--24p-muted);font-size:14px}
.cr24p-comment{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);gap:11px;padding:17px 0;border-bottom:1px solid var(--24p-line)}
.cr24p-comment.depth-1,.cr24p-comment.depth-2,.cr24p-comment.depth-3{margin-left:24px;padding-left:13px;border-left:2px solid #f0d6db}
.cr24p-comment.depth-2{margin-left:18px;border-left-color:#ececef}.cr24p-comment.depth-3{margin-left:14px}
.cr24p-comment-meta{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.cr24p-comment-meta strong{font-size:13px}.cr24p-comment-meta time{font-size:11px;color:#999da5}
.cr24p-comment-copy p{font-size:14.5px;line-height:1.6;margin:6px 0 0;color:#23272d}
.cr24p-comment-actions{display:flex;align-items:center;gap:12px;min-height:25px;margin-top:6px}
.cr24p-action-link{appearance:none;border:0;background:transparent;padding:2px 0;color:#6f747c;font:700 12px/1 inherit;cursor:pointer;transition:.16s ease}
.cr24p-action-link:hover{color:var(--24p-red)}
.cr24p-delete{color:#9a606a;opacity:0;transform:translateY(2px);pointer-events:none}
.cr24p-comment:hover>.cr24p-comment-main>.cr24p-comment-actions .cr24p-delete,.cr24p-delete:focus{opacity:1;transform:none;pointer-events:auto}
.cr24p-comment.is-removing{opacity:.3;transform:translateX(8px);transition:.22s ease}

.cr24p-flash{border-radius:12px;padding:11px 13px;margin-bottom:12px;font-size:13px;font-weight:720}.cr24p-flash.is-success{background:#eef9f2;color:#176f39}.cr24p-flash.is-error{background:#fff0f3;color:#9b1930}
.cr24p-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,12px);z-index:99999;background:#111318;color:#fff;border-radius:999px;padding:11px 16px;font:720 13px/1 inherit;box-shadow:0 14px 38px rgba(0,0,0,.2);opacity:0;transition:.22s ease}.cr24p-toast.is-visible{opacity:1;transform:translate(-50%,0)}

/* Perfil */
.cr24p-profile{max-width:1000px;margin:52px auto;padding:0 18px}.cr24p-profile-title h1,.cr24p-profile-hero h1{margin:3px 0;font-size:36px;letter-spacing:-.045em}.cr24p-profile-hero{display:flex;align-items:center;gap:16px;margin-bottom:24px}.cr24p-profile-hero p{margin:0;color:var(--24p-muted)}
.cr24p-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cr24p-profile-card{border:1px solid var(--24p-line);border-radius:18px;background:#fff;padding:18px;box-shadow:var(--24p-shadow)}.cr24p-profile-card h2{font-size:20px;margin:0 0 14px;letter-spacing:-.025em}.cr24p-profile-card label{margin:12px 0}.cr24p-profile-wide{grid-column:1/-1}
.cr24p-logout{display:inline-block;margin-top:14px;color:#777c84;font-size:13px}.cr24p-muted{color:var(--24p-muted)}
.cr24p-saved-list a{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--24p-line);color:var(--24p-ink);text-decoration:none}.cr24p-saved-list a span{color:var(--24p-red);font-size:12px;white-space:nowrap}
.cr24p-profile-comments article{padding:13px 0;border-top:1px solid var(--24p-line)}.cr24p-profile-comments a{color:var(--24p-ink);text-decoration:none}.cr24p-profile-comments p{margin:6px 0 0;color:#555b63;font-size:14px}

@media (max-width:760px){
  .cr24p-wrap{margin-top:40px;padding-top:22px}
  .cr24p-head{gap:12px}.cr24p-head h2{font-size:27px}.cr24p-head p{font-size:13px}
  .cr24p-auth-bar{align-items:flex-start;flex-direction:column;gap:3px}
  .cr24p-field-row,.cr24p-field-row-3{grid-template-columns:1fr}
  .cr24p-composer{padding:14px;border-radius:16px}
  .cr24p-composer-actions{align-items:flex-end}.cr24p-note{max-width:60%}
  .cr24p-comment.depth-1,.cr24p-comment.depth-2,.cr24p-comment.depth-3{margin-left:12px;padding-left:10px}
  .cr24p-delete{opacity:1;transform:none;pointer-events:auto;color:#9a606a}
  .cr24p-profile-grid{grid-template-columns:1fr}.cr24p-profile-wide{grid-column:auto}
  .cr24p-profile-hero h1{font-size:29px}
}
