/* PrivilegeFans v33 · módulo «llamadas» · sala de llamada / videollamada exclusiva, ventanas de ampliación y juego Vibralush. Prefijo: cl- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cl-page { padding: 0; margin: 0; display: block; }
.pfx-shell[data-route-name="llamada"] { height: 100dvh; min-height: 0; overflow: hidden; }
.cl-center { min-height: calc(100dvh - 140px); display: grid; place-items: center; padding: 24px 16px; }
.cl-card { background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 20px; padding: 28px 26px; width: min(520px, 100%); text-align: center; box-shadow: 0 18px 50px rgba(15, 54, 84, .12); }
.cl-card h2 { margin: 10px 0 6px; font-size: 21px; color: var(--pfx-blue-2); } .cl-card p { margin: 0 0 14px; color: #51657b; line-height: 1.5; font-size: 14px; }
.cl-card-ic { width: 60px; height: 60px; border-radius: 50%; display: inline-grid; place-items: center; background: #eaf2fa; color: var(--pfx-blue); font-size: 26px; } .cl-card-ic.bad { background: #fdecec; color: var(--pfx-bad); }
.cl-card-b { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.cl-cd { display: flex; gap: 8px; justify-content: center; margin: 8px 0 14px; }
.cl-cd > div { display: grid; justify-items: center; gap: 4px; } .cl-cd b { min-width: 44px; height: 40px; padding: 0 8px; border-radius: 9px; background: var(--pfx-blue); color: #fff; font-size: 20px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cl-cd b.red { background: var(--ice, #fff); color: var(--pfx-bad); border: 2px solid var(--pfx-bad); } .cl-cd small { font-size: 10.5px; color: #66798f; }
.cl-gem { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; white-space: nowrap; } .cl-gem i { color: var(--pfx-gold); font-size: .85em; }

/* ───── distribución ───── */
.cl-room { display: grid; grid-template-columns: 250px minmax(0, 1fr) 340px; gap: 12px; padding: 12px 14px; height: calc(100dvh - 65px); min-height: 0; background: #eef2f7; box-sizing: border-box; position: relative; }
.cl-room.side-off { grid-template-columns: minmax(0, 1fr) 340px; } .cl-room.chat-off { grid-template-columns: 250px minmax(0, 1fr); } .cl-room.side-off.chat-off { grid-template-columns: minmax(0, 1fr); }
.cl-room.side-off .cl-side, .cl-room.chat-off .cl-chat { display: none; }
.cl-back { display: none; }
.cl-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; }
.cl-stage { position: relative; flex: 1 1 auto; min-height: 0; background: #000; border-radius: 16px; overflow: hidden; color: #fff; isolation: isolate; }
.cl-stage:fullscreen { border-radius: 0; }
.cl-stage-in { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }

/* ───── panel izquierdo ───── */
.cl-side { background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 16px; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; min-height: 0; }
.cl-side-top { display: flex; justify-content: space-between; align-items: center; } .cl-side-x { display: none; }
.cl-side-tg, .cl-side-x { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #f1f5f9; color: var(--pfx-blue); cursor: pointer; }
.cl-acc { border-bottom: 1px solid var(--pfx-line); } .cl-acc-h { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 11px 2px; border: 0; background: none; color: var(--pfx-blue-2); font-weight: 800; font-size: 13.5px; cursor: pointer; text-align: left; }
.cl-acc-h b { color: var(--pfx-blue); margin-left: 4px; } .cl-acc-h i { font-size: 11px; transition: transform .15s; color: #6c8197; } .cl-acc.open .cl-acc-h i { transform: rotate(180deg); }
.cl-acc-b { display: none; padding: 2px 2px 12px; } .cl-acc.open .cl-acc-b { display: block; }
.cl-prow { margin-bottom: 8px; } .cl-prow small { display: block; color: #7a8da1; font-size: 11px; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .04em; }
.cl-pr { display: flex; align-items: center; gap: 9px; } .cl-pr b { color: var(--pfx-blue-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-er { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 12.5px; color: #4a5f77; border-bottom: 1px dashed #e6ecf3; } .cl-er b { color: var(--pfx-blue-2); }
.cl-er.tot { border-bottom: 0; padding-top: 9px; font-weight: 800; color: var(--pfx-blue-2); font-size: 13.5px; } .cl-er.eur { border: 0; color: var(--pfx-ok); } .cl-er.eur b { color: var(--pfx-ok); }
.cl-note { display: block; color: #7a8da1; font-size: 11px; line-height: 1.4; margin-top: 6px; }
.cl-spent { background: #f4f8fc; border-radius: 12px; padding: 10px 12px; display: grid; gap: 3px; margin: 6px 0; } .cl-spent span { font-size: 11.5px; color: #66798f; font-weight: 700; } .cl-spent b { font-size: 16px; color: var(--pfx-blue-2); } .cl-spent small { color: #7a8da1; font-size: 11px; }
.cl-menu { margin-top: auto; padding-top: 10px; display: grid; gap: 2px; }
.cl-mi { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border: 0; background: none; border-bottom: 1px solid #f0f4f8; color: var(--pfx-blue-2); font-weight: 700; font-size: 13px; cursor: pointer; text-align: left; border-radius: 8px; }
.cl-mi:hover { background: #f1f6fb; } .cl-mi > i:first-child { width: 18px; color: var(--pfx-blue); text-align: center; } .cl-mi span { flex: 1; } .cl-ext { font-size: 10px; color: #9aaabc; }
.cl-game { background: #f3f7fc; border: 1px solid #dbe6f1; border-radius: 12px; padding: 10px 11px; margin: 8px 0; display: grid; gap: 8px; }
.cl-game h4 { margin: 0; color: var(--pfx-blue-2); font-size: 13.5px; } .cl-game-t { margin: 0; font-style: italic; color: #4a5f77; font-size: 12px; word-break: break-word; }
.cl-game-tot { background: #e4edf6; border-radius: 9px; padding: 8px 10px; text-align: center; display: grid; gap: 2px; } .cl-game-tot span { font-size: 11px; color: #4a5f77; font-weight: 700; } .cl-game-tot b { color: var(--pfx-ok); font-size: 15px; } .cl-game-tot small { color: #7a8da1; font-size: 10.5px; }
.cl-dev { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--pfx-blue-2); } .cl-dev span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-dev.vib .cl-dot { animation: clPulse .5s infinite alternate; }
.cl-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: 0 0 auto; margin-right: 7px; background: #9aaabc; } .cl-dev .cl-dot { margin-right: 0; }
.cl-dot.ok { background: #1fb35a; } .cl-dot.wait { background: #f0b429; } .cl-dot.off { background: var(--pfx-bad); }
.cl-st { font-size: 11.5px; } .cl-st.ok { color: #138a43; } .cl-st.wait { color: #b8860b; } .cl-st.off { color: var(--pfx-bad); }
.cl-endgame { border: 0; border-radius: 8px; background: var(--pfx-blue-2); color: #fff; font-weight: 800; font-size: 12.5px; padding: 9px; cursor: pointer; } .cl-endgame:hover { filter: brightness(1.12); }
@keyframes clPulse { to { transform: scale(1.5); opacity: .6; } }
.cl-dctl { background: #f3f7fc; border: 1px solid #dbe6f1; border-radius: 12px; padding: 10px 11px; margin: 8px 0; display: grid; gap: 8px; }
.cl-dctl.on { border-color: rgba(235, 183, 42, .35); }
.cl-dctl h4 { margin: 0; color: var(--pfx-blue-2); font-size: 13.5px; display: flex; align-items: center; gap: 6px; } .cl-dctl h4 small { margin-left: auto; font-weight: 800; color: #EBB72A; font-size: 12.5px; }
.cl-dctl-note { margin: 0; font-size: 12px; color: #4a5f77; }
.cl-dctl-range { width: 100%; accent-color: #EBB72A; }
.cl-dctl-lv { text-align: center; font-size: 12px; color: #4a5f77; font-weight: 700; }
.cl-cm-opts { display: grid; gap: 7px; } .cl-cm-o { display: flex; align-items: center; gap: 8px; border: 1px solid var(--pfx-line); border-radius: 9px; padding: 8px 10px; cursor: pointer; font-size: 13px; }
.cl-cm-o span { display: flex; justify-content: space-between; flex: 1; } .cl-cm-o input { accent-color: #EBB72A; }
.cl-qr-wait { display: flex; align-items: center; justify-content: center; color: var(--pfx-blue-2); font-size: 22px; }

/* ───── escenario ───── */
.cl-logo { position: absolute; left: 6px; top: -6px; width: 118px; filter: brightness(0) invert(1); opacity: .88; pointer-events: none; z-index: 2; }
.cl-top { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 3; display: grid; gap: 2px; justify-items: center; max-width: 60%; }
.cl-top b { font-size: 13px; letter-spacing: .08em; } .cl-el { font-size: 13px; color: #cfe0f1; font-variant-numeric: tabular-nums; } .cl-rem { font-size: 11.5px; color: #9fb7cf; font-variant-numeric: tabular-nums; } .cl-rem.urgent { color: #ff8b8b; font-weight: 800; }
.cl-ic { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: inline-grid; place-items: center; font-size: 17px; cursor: pointer; position: relative; transition: background .12s; }
.cl-ic:hover { background: rgba(255, 255, 255, .24); } .cl-ic.sm { width: 32px; height: 32px; font-size: 14px; background: transparent; color: var(--pfx-blue); } .cl-ic.sm:hover { background: #eef3f8; } .cl-ic.sm.on { background: #e4edf6; }
.cl-tr { position: absolute; top: 12px; right: 12px; z-index: 3; background: transparent; font-size: 26px; } .cl-bl { position: absolute; left: 12px; bottom: 12px; z-index: 3; }
.cl-br { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 4px; } .cl-sidebtn { position: absolute; left: 12px; top: 12px; z-index: 4; display: none; }
.cl-room.side-off .cl-sidebtn { display: inline-grid; } .cl-unread { position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--pfx-bad); border: 2px solid #000; }
.cl-simnote { position: absolute; left: 50%; transform: translateX(-50%); bottom: 84px; z-index: 3; white-space: nowrap; font-size: 11px; color: #ffd98a; background: rgba(0, 0, 0, .55); padding: 4px 9px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.cl-ctrl { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; z-index: 4; }
.cl-cb { width: 52px; height: 52px; border: 0; border-radius: 50%; display: grid; place-items: center; font-size: 20px; cursor: pointer; transition: transform .1s, filter .12s; } .cl-cb:hover { filter: brightness(1.1); transform: scale(1.05); }
.cl-cb.white { background: var(--ice, #fff); color: var(--pfx-blue-2); } .cl-cb.red { background: #d92d20; color: #fff; } .cl-cb.gray { background: #8b94a0; color: #fff; } .cl-cb.off { background: #3a4452; color: #ff9b9b; }
.cl-idle { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 20px; max-width: 420px; }
.cl-idle h3, .cl-audio h3 { margin: 0; font-size: 20px; } .cl-idle p { margin: 0; color: #b8cbdd; font-size: 13.5px; line-height: 1.45; } .cl-idle small { color: #b8cbdd; }
.cl-bigav { position: relative; display: grid; place-items: center; } .cl-bigav .pfx-avatar { border: 4px solid var(--pfx-gold); } .cl-bigav .pfx-avatar img { object-fit: cover; } .cl-bigav .pfx-dot { width: 24px; height: 24px; right: 8px; bottom: 8px; border-width: 3px; } .cl-room .pfx-dot.on { background: #1fb35a; }
.cl-callbtn { width: 72px; height: 72px; border: 0; border-radius: 50%; background: #1fb35a; color: #fff; font-size: 28px; cursor: pointer; box-shadow: 0 0 0 0 rgba(31, 179, 90, .6); animation: clCall 1.8s infinite; } .cl-callbtn:disabled { opacity: .6; animation: none; }
@keyframes clCall { 70% { box-shadow: 0 0 0 20px rgba(31, 179, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 179, 90, 0); } }
.cl-audio { display: grid; justify-items: center; gap: 10px; text-align: center; } .cl-audio small { color: #b8cbdd; } .cl-warn { color: #ffb4b4 !important; display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; }
.cl-phone { width: 130px; height: 130px; border-radius: 50%; background: var(--ice, #fff); color: #000; display: grid; place-items: center; font-size: 52px; position: relative; } .cl-phone i { transform: rotate(-5deg); }
.cl-phone.speaking::after, .cl-ring-pulse.on { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); animation: clSpeak 1.6s infinite; } .cl-phone.speaking::after { content: ''; }
.cl-ring-pulse { position: absolute; inset: -12px; border-radius: 50%; } .cl-ring-pulse.on { border-color: rgba(240, 193, 44, .55); }
@keyframes clSpeak { 0% { transform: scale(.95); opacity: 1; } 100% { transform: scale(1.18); opacity: 0; } }
.cl-remote { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; } .cl-rvid { width: 100%; height: 100%; object-fit: cover; background: #05080c; } .cl-remote .cl-warn { position: relative; } .cl-remote .cl-rvid { position: absolute; inset: 0; } .cl-tile .cl-rvid { position: absolute; inset: 0; }
.cl-tile-l { position: absolute; left: 14px; bottom: 74px; background: rgba(0, 0, 0, .55); padding: 4px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; z-index: 2; }
.cl-self { position: absolute; right: 14px; bottom: 74px; width: 190px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111a24; border: 2px solid rgba(255, 255, 255, .5); z-index: 3; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.cl-self video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); } .cl-self-off { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 4px; color: #b8cbdd; font-size: 11px; }
.cl-self-l { position: absolute; left: 8px; bottom: 6px; font-size: 11px; font-weight: 800; background: rgba(0, 0, 0, .55); padding: 2px 8px; border-radius: 6px; } .cl-self-m { position: absolute; right: 8px; top: 7px; color: #ff9b9b; font-size: 13px; }
.cl-gridv { position: absolute; inset: 56px 14px 84px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .cl-tile { position: relative; background: #0a1118; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.cl-tile .cl-tile-l { bottom: 10px; } .cl-gridv .cl-self.tile { position: relative; inset: auto; width: auto; height: auto; aspect-ratio: auto; border-radius: 14px; right: auto; bottom: auto; }
.cl-ended { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 20px; max-width: 520px; } .cl-emblem { width: 300px; max-width: 70%; filter: brightness(0) invert(1); margin: -26px 0 -26px; }
.cl-ended h2 { margin: 0; font-size: 20px; font-weight: 700; } .cl-ended p { margin: 0; color: #b8cbdd; font-size: 13.5px; line-height: 1.5; max-width: 420px; }

/* pantalla de llamada (saliente / entrante): tarjeta vertical con la foto desenfocada */
.cl-ring { display: grid; place-items: center; width: 100%; height: 100%; padding: 16px; }
.cl-ringcard { position: relative; width: min(300px, 100%); aspect-ratio: 3 / 4.1; border-radius: 22px; overflow: hidden; background: #0c1c2c var(--bg) center / cover; display: grid; align-content: end; justify-items: center; gap: 6px; padding: 22px 18px 24px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); isolation: isolate; }
.cl-ringcard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 32, .35), rgba(8, 20, 32, .88)); backdrop-filter: blur(14px); z-index: -1; }
.cl-ring-av { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: clCall 1.8s infinite; } .cl-ring-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-ring-t { margin: 0; font-size: 20px; font-weight: 700; } .cl-ring-s { color: #d6e3f0; font-size: 12.5px; } .cl-ring-l { color: #9fb7cf; font-size: 11px; min-height: 14px; }
.cl-ring-b { display: flex; gap: 16px; align-items: center; margin-top: 12px; }
.cl-rb { width: 56px; height: 56px; border: 0; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #fff; cursor: pointer; background: var(--ice, #fff); transition: transform .1s; } .cl-rb:hover { transform: scale(1.06); } .cl-rb:disabled { opacity: .6; }
.cl-rb.green { background: var(--ice, #fff); color: #1fb35a; } .cl-rb.red { background: var(--ice, #fff); color: #e5484d; } .cl-rb.mic { width: 42px; height: 42px; font-size: 16px; color: var(--pfx-blue); } .cl-rb.mic.off { color: #e5484d; } .cl-rb.sm { width: 42px; height: 42px; font-size: 17px; }
.cl-rb.green.sm { background: #1fb35a; color: #fff; } .cl-rb.red.sm { background: #e5484d; color: #fff; }

/* notificaciones rojas del juego y vibración */
.cl-hits { position: absolute; top: 52px; right: 12px; z-index: 5; display: grid; gap: 6px; justify-items: end; pointer-events: none; max-width: min(320px, 70%); }
.cl-hit { background: #e5484d; color: #fff; border-radius: 10px; padding: 8px 12px; display: grid; gap: 2px; font-size: 12.5px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); animation: clIn .25s ease; word-break: break-word; } .cl-hit b { font-size: 13px; } .cl-hit span { font-size: 11.5px; opacity: .92; } .cl-hit.out { opacity: 0; transform: translateX(14px); transition: .3s; }
.cl-hit.l1 { background: #ef7a7e; } .cl-hit.l2 { background: #ea5f64; } .cl-hit.l3 { background: #e5484d; } .cl-hit.l4 { background: #d62f36; } .cl-hit.l5 { background: #b3141f; }
@keyframes clIn { from { opacity: 0; transform: translateX(16px); } }
.cl-vib { position: absolute; top: 66px; left: 14px; z-index: 5; max-width: 62%; } .cl-vib:empty { display: none; }
.cl-vibpill { background: rgba(235, 183, 42, .92); color: #fff; border-radius: 12px; padding: 7px 12px; font-size: 12px; display: grid; gap: 5px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); animation: clShake .3s infinite alternate; } .cl-vibpill i.fa-wave-square { margin-right: 6px; }
.cl-vib-bar { height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; } .cl-vib-bar i { display: block; height: 100%; background: var(--ice, #fff); width: 100%; }
@keyframes clShake { from { transform: translateX(-1px); } to { transform: translateX(1px); } }
.cl-banner { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); z-index: 5; max-width: 86%; } .cl-banner:empty { display: none; }
.cl-bn { background: rgba(240, 193, 44, .95); color: #3a2a00; border-radius: 999px; padding: 8px 16px; font-size: 12.5px; font-weight: 700; display: flex; gap: 8px; align-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); } .cl-bn.soft { background: rgba(255, 255, 255, .92); color: var(--pfx-blue-2); }

/* ───── barra de diamantes ───── */
.cl-tipbar { display: flex; align-items: center; gap: 12px; overflow-x: auto; padding: 4px 2px 2px; scrollbar-width: thin; flex: 0 0 auto; min-height: 48px; }
.cl-tipbar[hidden] { display: none; }
.cl-tip-l { color: var(--pfx-blue-2); font-weight: 800; font-size: 13.5px; white-space: nowrap; } .cl-tip-l i { color: #EBB72A; margin-right: 4px; }
.cl-tip-b { display: flex; gap: 10px; flex: 1 1 auto; min-width: max-content; }
.cl-tipbtn { flex: 1 1 0; min-width: 96px; height: 42px; border: 0; border-radius: 10px; background: var(--pfx-blue); color: #fff; font-weight: 800; font-size: 13.5px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; cursor: pointer; transition: filter .12s, transform .05s; box-shadow: 0 4px 12px rgba(21, 76, 130, .22); }
.cl-tipbtn i { color: var(--pfx-gold); font-size: 11px; margin-left: 4px; } .cl-tipbtn small { font-size: 9.5px; font-weight: 700; color: #cfe0f1; line-height: 1; margin-top: 1px; } .cl-tipbtn.g { background: linear-gradient(135deg, #1b5d9f, #0F3654); }
.cl-tipbtn:hover:not(:disabled) { filter: brightness(1.12); } .cl-tipbtn:active:not(:disabled) { transform: translateY(1px); } .cl-tipbtn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.cl-bal { white-space: nowrap; font-size: 12px; color: #4a5f77; background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 999px; padding: 6px 11px; }

/* ───── chat ───── */
.cl-chat { background: var(--ice, #fff); border: 1px solid var(--pfx-line); border-radius: 16px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; position: relative; }
.cl-chat-h { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid var(--pfx-line); position: relative; } .cl-chat-h b { color: var(--pfx-blue-2); font-size: 14px; }
.cl-cfg { position: absolute; top: 46px; right: 10px; z-index: 20; width: 288px; max-width: calc(100% - 16px); background: var(--ice, #fff); border-radius: 14px; box-shadow: 0 18px 50px rgba(15, 54, 84, .25); border: 1px solid var(--pfx-line); padding: 14px 16px; animation: clIn .15s ease; }
.cl-cfg h4 { margin: 0 0 8px; text-align: center; font-size: 17px; color: var(--pfx-blue); } .cl-cfg p { margin: 10px 0 6px; font-size: 12.5px; color: var(--pfx-blue); } .cl-cfg small { color: #7a8da1; font-size: 11px; display: block; margin-top: 6px; }
.cl-radios { display: flex; gap: 8px; flex-wrap: nowrap; white-space: nowrap; } .cl-radios label { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; color: #3c5069; cursor: pointer; } .cl-radios input { accent-color: var(--pfx-blue); width: 16px; height: 16px; }
.cl-sw { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--pfx-blue); font-weight: 700; }
.cl-msgs { flex: 1 1 auto; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; min-height: 0; scroll-behavior: smooth; font-size: 13px; line-height: 1.45; }
.cl-msgs.cl-fs-md { font-size: 15px; } .cl-msgs.cl-fs-lg { font-size: 17px; }
.cl-m { word-break: break-word; } .cl-m time { color: #a6b3c2; font-size: .72em; margin-left: 6px; white-space: nowrap; }
.cl-m.txt .cl-nick { font-weight: 800; } .cl-nick.cr { color: #d92d20; } .cl-nick.cr i { color: #d92d20; font-size: .85em; } .cl-m.cr .cl-tx { color: #d92d20; }
.cl-nick.fn { color: #c9962a; } .cl-m.fn .cl-tx { color: #111; }
.cl-m.sys { color: #7a8da1; font-size: .85em; font-style: italic; display: flex; gap: 6px; align-items: flex-start; text-align: left; }
.cl-m.pill { display: flex; justify-content: space-between; gap: 6px; align-items: center; border-radius: 8px; padding: 6px 10px; color: #fff; font-size: .88em; flex-wrap: wrap; } .cl-m.pill .cl-gem i { color: var(--pfx-gold); } .cl-m.pill time { color: rgba(255, 255, 255, .7); }
.cl-m.pill.tip { background: #1565c0; } .cl-m.pill em { font-style: normal; font-weight: 800; background: rgba(255, 255, 255, .22); border-radius: 6px; padding: 0 6px; margin-left: 4px; } .cl-m.pill small { flex-basis: 100%; opacity: .92; font-size: .9em; }
.cl-m.pill.game.l1 { background: #ef7a7e; } .cl-m.pill.game.l2 { background: #ea5f64; } .cl-m.pill.game.l3 { background: #e5484d; } .cl-m.pill.game.l4 { background: #d62f36; } .cl-m.pill.game.l5 { background: #b3141f; }
.cl-bot { background: #154C82; color: #fff; border-radius: 12px; padding: 0; overflow: hidden; } .cl-bot-h { padding: 6px 12px; background: rgba(255, 255, 255, .14); font-weight: 800; font-size: .85em; } .cl-bot-h i { color: var(--pfx-gold); margin-right: 6px; }
.cl-bot-b { padding: 10px 12px 12px; display: grid; gap: 4px; } .cl-bot-b > small { opacity: .85; font-style: italic; } .cl-bot-b ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.cl-bot-b li { display: grid; grid-template-columns: 58px 76px 1fr; gap: 6px; align-items: baseline; font-size: .92em; } .cl-bot-b li b i { color: var(--pfx-gold); font-size: .8em; } .cl-bot-b li em { font-style: normal; opacity: .92; word-break: break-word; }
.cl-chat-empty { margin: auto; text-align: center; color: #8a9bb0; display: grid; gap: 4px; font-size: 12.5px; } .cl-chat-empty i { font-size: 28px; color: #c3d0de; } .cl-chat-empty b { color: #5b7088; }
.cl-compose-w { border-top: 1px solid var(--pfx-line); padding: 8px 10px 10px; }
.cl-input { display: flex; align-items: center; gap: 4px; background: #f3f6fa; border-radius: 12px; padding: 3px 4px 3px 12px; } .cl-input input { flex: 1; border: 0; background: transparent; outline: none; min-height: 38px; font-size: 14px; min-width: 0; color: var(--pfx-ink); }
.cl-sendb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--pfx-blue); color: #fff; cursor: pointer; } .cl-cnt { display: block; text-align: right; color: #8a9bb0; font-size: 11px; min-height: 0; } .cl-cnt:empty { display: none; }
.cl-compose.off { text-align: center; color: #7a8da1; font-size: 12.5px; padding: 6px; display: block; }

/* ───── ventanas ───── */
.cl-pop .cl-lead { margin: 0 0 10px; text-align: center; color: #26405c; font-size: 14px; line-height: 1.5; } .cl-pop .cl-lead.s { margin-bottom: 4px; font-size: 13px; color: #51657b; }
.cl-pop .pfx-field { max-width: 220px; margin: 0 auto 10px; text-align: center; } .cl-pop .pfx-field label { text-align: center; } .cl-pop .pfx-field select { text-align: center; }
.cl-tip-note { background: #154C82; color: #fff; border-radius: 8px; font-size: 11.5px; padding: 7px 10px; margin: 0 auto 12px; max-width: 300px; display: flex; gap: 7px; align-items: flex-start; line-height: 1.35; }
.cl-price { margin: 0 0 4px; text-align: center; color: #51657b; font-size: 13px; } .cl-price small { color: #7a8da1; }
.cl-earnbox { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 10px; } .cl-earnbox span { font-weight: 800; color: var(--pfx-blue-2); font-size: 13.5px; } .cl-earnbox b { background: #e2f3e8; color: #138a43; border-radius: 8px; padding: 6px 18px; font-size: 16px; }
.cl-gpop .pfx-pop-body { text-align: left; } .cl-gbanner { background: #154C82; color: #fff; border-radius: 10px; padding: 10px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; } .cl-gbanner i { color: var(--pfx-gold); font-size: 17px; }
.cl-gh { margin: 14px 0 8px; font-size: 13px; color: var(--pfx-blue-2); }
.cl-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .cl-pick-c { background: #f4f7fb; border-radius: 12px; padding: 14px 12px; display: grid; justify-items: center; gap: 6px; text-align: center; } .cl-pick-c b { color: var(--pfx-blue-2); } .cl-pick-c small { color: #66798f; font-size: 11.5px; line-height: 1.4; }
.cl-pick-i { width: 54px; height: 54px; display: grid; place-items: center; } .cl-pick-i svg { width: 100%; height: 100%; }
.cl-devs { background: #f8fafc; border: 1px solid var(--pfx-line); border-radius: 12px; padding: 4px 10px; }
.cl-devtab { width: 100%; border-collapse: collapse; font-size: 12.5px; } .cl-devtab th { text-align: left; color: #8a9bb0; font-weight: 700; padding: 8px 6px; font-size: 11.5px; } .cl-devtab td { padding: 7px 6px; border-top: 1px solid #edf1f6; color: var(--pfx-blue-2); font-weight: 700; } .cl-devtab small { color: #8a9bb0; font-weight: 400; }
.cl-dev-a { text-align: right; white-space: nowrap; } .cl-dev-a .pfx-iconbtn { width: 30px; height: 30px; font-size: 13px; }
.cl-dev-empty { display: grid; justify-items: center; gap: 4px; padding: 16px 8px; text-align: center; color: #66798f; font-size: 12.5px; } .cl-dev-empty i { font-size: 26px; color: #b7c5d4; } .cl-dev-empty b { color: var(--pfx-blue-2); }
.cl-lvl { margin-top: 8px; } .cl-lvl label { display: block; font-size: 12px; font-weight: 800; color: var(--pfx-blue); margin-bottom: 4px; } .cl-lvl-r { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.cl-gpop input.cl-lvl-d, .cl-gpop input.cl-g-desc { width: 100%; border: 1px solid #dbe4ee; border-radius: 10px; padding: 10px 12px; min-height: 42px; font-size: 13.5px; box-sizing: border-box; } .cl-gpop input.cl-lvl-d { background: #f3f6fa; color: #4a5f77; font-weight: 700; cursor: default; }
.cl-gnote { color: #66798f; font-size: 12px; margin: 12px 0 6px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.cl-steps { margin: 0 0 12px; padding-left: 20px; color: #3c5069; font-size: 13px; line-height: 1.55; }
.cl-qrbox { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 8px 0 12px; } .cl-qr { width: 160px; height: 160px; border: 1px solid var(--pfx-line); border-radius: 12px; padding: 6px; background: var(--ice, #fff); }
.cl-code { display: grid; gap: 6px; justify-items: center; text-align: center; } .cl-code span { font-size: 11.5px; color: #7a8da1; } .cl-code b { font-size: 26px; letter-spacing: .22em; color: var(--pfx-blue-2); font-family: 'Courier New', monospace; padding-left: .22em; } .cl-code small { color: #7a8da1; font-size: 11px; }
.cl-wait { text-align: center; color: var(--pfx-blue); font-size: 13px; font-weight: 700; margin-bottom: 8px; }

/* ───── avisos globales ───── */
#cl-global { position: static; }       /* sin contexto de apilado propio: la tarjeta de llamada entrante va por encima de los avisos (450) y la barra por debajo de las ventanas (410) */
#cl-ring-host { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); display: none; gap: 8px; z-index: 460; width: min(440px, calc(100vw - 24px)); } #cl-ring-host.on { display: grid; }
.cl-inc { display: flex; align-items: center; gap: 12px; background: #0f2236; color: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .15); animation: clIn .25s ease; } .cl-inc-t { flex: 1; display: grid; min-width: 0; } .cl-inc-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-inc-t span { font-size: 12.5px; color: #cfe0f1; } .cl-inc-t small { font-size: 11px; color: #9fb7cf; }
#cl-mini-host { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 381; width: min(460px, calc(100vw - 20px)); } #cl-mini-host:empty { display: none; }
.cl-mini { display: flex; align-items: center; gap: 10px; background: #0f2236; color: #fff; border-radius: 999px; padding: 8px 10px 8px 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.cl-mini-dot { width: 10px; height: 10px; border-radius: 50%; background: #1fb35a; animation: clPulse .8s infinite alternate; flex: 0 0 auto; } .cl-mini-dot.wait { background: #f0b429; }
.cl-mini-t { flex: 1; display: grid; min-width: 0; } .cl-mini-t b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cl-mini-t small { font-size: 11.5px; color: #b8cbdd; font-variant-numeric: tabular-nums; }

/* ───── móvil (430 px) ───── */
@media (max-width: 1100px) { .cl-room { grid-template-columns: 220px minmax(0, 1fr) 300px; } .cl-room.side-off { grid-template-columns: minmax(0, 1fr) 300px; } .cl-room.chat-off { grid-template-columns: 220px minmax(0, 1fr); } }
@media (max-width: 860px) {
  .cl-room, .cl-room.side-off, .cl-room.chat-off, .cl-room.side-off.chat-off { display: block; position: fixed; inset: 0; height: 100dvh; padding: 0; background: #000; z-index: 60; }
  .pfx-shell[data-route-name="llamada"] .topbar, .pfx-shell[data-route-name="llamada"] .mobile-nav { display: none !important; }
  .cl-main { position: absolute; inset: 0; gap: 0; } .cl-stage { border-radius: 0; } .cl-tipbar { background: #0b1623; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); min-height: 0; }
  .cl-tip-l { color: #cfe0f1; font-size: 12px; } .cl-tipbtn { min-width: 84px; height: 40px; font-size: 13px; } .cl-bal { background: #14283d; border-color: #1f3a55; color: #cfe0f1; }
  .cl-side { position: fixed; left: 0; top: 0; bottom: 0; width: min(84vw, 320px); z-index: 70; border-radius: 0 18px 18px 0; transform: translateX(-105%); transition: transform .22s ease; display: flex !important; }
  .cl-room.side-open .cl-side { transform: none; } .cl-side-tg { display: none; } .cl-side-x { display: inline-grid; place-items: center; }
  .cl-chat { position: fixed; left: 0; right: 0; bottom: 0; height: 64dvh; z-index: 70; border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform .22s ease; display: flex !important; border: 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .35); }
  .cl-room.chat-open .cl-chat { transform: none; } .cl-chat-h .cl-ic:first-child i { transform: rotate(90deg); }
  .cl-back { position: fixed; inset: 0; z-index: 65; background: rgba(5, 19, 34, .5); display: none; } .cl-room.side-open .cl-back, .cl-room.chat-open .cl-back { display: block; }
  .cl-sidebtn, .cl-room.side-off .cl-sidebtn { display: inline-grid; } .cl-tr { right: 10px; top: 10px; } .cl-top { top: 14px; max-width: 54%; } .cl-top b { font-size: 11.5px; } .cl-logo { left: 40px; top: -2px; width: 88px; } .cl-simnote { bottom: 90px; font-size: 10.5px; }
  .cl-self { width: 112px; right: 10px; bottom: 78px; } .cl-tile-l { bottom: 78px; left: 10px; } .cl-gridv { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr 1fr; inset: 60px 10px 84px; } .cl-bl { left: 10px; bottom: 14px; } .cl-br { right: 10px; bottom: 14px; }
  .cl-ctrl { gap: 12px; bottom: 16px; } .cl-cb { width: 50px; height: 50px; } .cl-hits { top: 56px; right: 8px; max-width: 78%; } .cl-vib { left: 10px; top: 110px; max-width: 80%; } .cl-banner { top: 108px; max-width: 94%; } .cl-bn { border-radius: 14px; font-size: 12px; }
  .cl-phone { width: 112px; height: 112px; font-size: 44px; } .cl-emblem { width: 240px; } .cl-lvl-r { grid-template-columns: minmax(0, 1fr); } .cl-pick { grid-template-columns: minmax(0, 1fr); } .cl-bot-b li { grid-template-columns: 50px 70px 1fr; }
  #cl-mini-host { bottom: 76px; } #cl-ring-host { top: 10px; }
}
@media (min-width: 861px) { .cl-sidebtn { display: none; } .cl-room.side-off .cl-sidebtn { display: inline-grid; } }
@media (prefers-reduced-motion: reduce) { .cl-callbtn, .cl-ring-av, .cl-ring-pulse, .cl-phone::after, .cl-vibpill { animation: none !important; } }

/* Los botones flotantes de soporte y buzón (módulo de acceso) tapan los controles de la sala. Se ocultan mientras la sala está abierta. */
body:has(.cl-room) .au-supfab, body:has(.cl-room) .au-mailfab { display: none !important; }
