html.viv-abierta { overflow: hidden; }
.viv-adm { --bg: #04030c; --surface: rgba(14, 11, 34, .62); --border: rgba(139, 124, 255, .22); --t1: #eeeaff; --t2: #a29cc9; --accent: #c084fc; position: fixed; inset: 0; z-index: 9500; color: var(--t1); display: flex; flex-direction: column; background: var(--bg); font-family: inherit; }
.viv-adm[hidden] { display: none !important; }
.viv-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: rgba(6, 5, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: relative; z-index: 3; }
.viv-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, #f43f5e, #a855f7, #22d3ee, transparent); opacity: .75; }
.viv-logo { width: 36px; height: 36px; border-radius: 28%; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: linear-gradient(135deg, var(--pp-a, #f43f5e), var(--pp-b, #a855f7)); box-shadow: 0 6px 18px -6px rgba(168, 85, 247, .8); }
.viv-tit { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.viv-tit b { white-space: nowrap; font-size: 16px; letter-spacing: .02em; background: linear-gradient(90deg, #fff, #d8b4fe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.viv-tit small { color: var(--t2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viv-esp { flex: 1; }
.viv-estado { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: #fecdd3; border: 1px solid rgba(244, 63, 94, .45); background: rgba(244, 63, 94, .12); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.viv-estado i { width: 8px; height: 8px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 0 0 rgba(244, 63, 94, .7); animation: viv-latido 1.6s infinite; }
.viv-estado.mal { color: #fde68a; border-color: rgba(245, 158, 11, .5); background: rgba(245, 158, 11, .12); }
.viv-estado.mal i { background: #f59e0b; animation: none; }
@keyframes viv-latido { 0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, .7); } 70% { box-shadow: 0 0 0 9px rgba(244, 63, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); } }
.viv-rangos { display: flex; gap: 6px; justify-content: center; padding: 7px 12px; background: rgba(6, 5, 18, .62); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; position: relative; z-index: 3; flex: 0 0 auto; }
.viv-rangos::-webkit-scrollbar { display: none; }
.viv-rangos button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--t2); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.viv-rangos button:hover { color: var(--t1); border-color: var(--accent); }
.viv-rangos button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, #f43f5e, #a855f7); box-shadow: 0 4px 14px -6px rgba(168, 85, 247, .9); }
.viv-rangos i { width: 7px; height: 7px; border-radius: 50%; background: #f43f5e; }
.viv-rangos button.on i { background: #fff; }
.viv-estado.rep { color: #a5f3fc; border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .12); }
.viv-estado.rep i { background: #22d3ee; }
.viv-ico { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--t1); cursor: pointer; flex: 0 0 auto; display: grid; place-items: center; }
.viv-ico:hover, .viv-ico.on { border-color: var(--accent); color: var(--accent); }
.viv-escena { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: none; }
.viv-lienzo { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.viv-lienzo:active { cursor: grabbing; }
.viv-carga { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--t2); text-align: center; padding: 20px; z-index: 1; }
.viv-carga[hidden] { display: none; }
.viv-giro { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(192, 132, 252, .25); border-top-color: #c084fc; animation: viv-giro .8s linear infinite; }
@keyframes viv-giro { to { transform: rotate(360deg); } }
.viv-hud { position: absolute; left: 18px; top: 16px; z-index: 2; pointer-events: none; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.viv-cont { display: flex; flex-direction: column; line-height: 1; }
.viv-cont b { font-size: clamp(46px, 7vw, 92px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; background: linear-gradient(180deg, #fff 20%, #f0abfc 70%, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(217, 70, 239, .45)); transform-origin: left bottom; }
.viv-cont b.sube { animation: viv-sube .55s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes viv-sube { 0% { transform: scale(1); } 35% { transform: scale(1.14); filter: drop-shadow(0 0 34px rgba(34, 211, 238, .9)); } 100% { transform: scale(1); } }
.viv-cont span { margin-top: 6px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #c4b5fd; }
.viv-top3 { display: flex; flex-direction: column; gap: 5px; }
.viv-top3 small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
.viv-top3 span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--t1); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px 4px 5px; width: max-content; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.viv-top3 em { font-style: normal; font-size: 11px; font-weight: 800; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f43f5e, #a855f7); color: #fff; }
.viv-top3 span b { color: #fde047; font-variant-numeric: tabular-nums; }
.viv-kpis { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; }
.viv-kpis div { display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); min-width: 0; }
.viv-kpis small, .viv-curva small { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--t2); white-space: nowrap; }
.viv-kpis b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.viv-curva { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); width: 300px; max-width: 100%; }
.viv-curva svg { width: 100%; height: 52px; display: block; overflow: visible; }
.viv-ini { position: relative; height: 270px; margin: 10px 0 12px; border-radius: 20px; overflow: hidden; cursor: pointer; background: #03020a; border: 1px solid rgba(139, 124, 255, .3); box-shadow: 0 10px 34px -14px rgba(168, 85, 247, .55), inset 0 0 0 1px rgba(255, 255, 255, .03); isolation: isolate; }
.viv-ini[hidden] { display: none !important; }
.viv-ini::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, rgba(3, 2, 10, .55), transparent 38%, transparent 70%, rgba(3, 2, 10, .35)); z-index: 1; }
.viv-ini-esc { position: absolute; inset: 0; }
.viv-ini-hud { position: absolute; left: 16px; top: 14px; z-index: 2; display: flex; flex-direction: column; gap: 8px; pointer-events: none; color: #eeeaff; }
.viv-ini-n { display: flex; flex-direction: column; line-height: 1; }
.viv-ini-n b { font-size: 46px; font-weight: 800; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 20%, #f0abfc 70%, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 16px rgba(217, 70, 239, .45)); transform-origin: left bottom; }
.viv-ini-n b.sube { animation: viv-sube .55s cubic-bezier(.2, 1.6, .4, 1); }
.viv-ini-n small { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #c4b5fd; }
.viv-ini .viv-estado { align-self: flex-start; font-size: 10px; padding: 3px 9px; }
.viv-ini-ult { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 200px); padding: 7px 12px; border-radius: 999px; background: rgba(8, 6, 22, .72); border: 1px solid rgba(139, 124, 255, .25); color: #eeeaff; font-size: 13px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; overflow: hidden; }
.viv-ini-ult:empty { display: none; }
.viv-ini-ult img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #fff; border: 1.5px solid var(--c, #c084fc); margin-left: -6px; }
.viv-ini-ult i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--c); box-shadow: 0 0 10px 2px var(--c); }
.viv-ini-ult b { color: var(--c, #fff); overflow: hidden; text-overflow: ellipsis; }
.viv-ini-ult b, .viv-ini-ult span { min-width: 0; }
.viv-ini-ult span { color: #a29cc9; overflow: hidden; text-overflow: ellipsis; }
.viv-ini-acc { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; gap: 6px; }
.viv-ini-b { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(139, 124, 255, .35); background: rgba(8, 6, 22, .72); color: #eeeaff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.viv-ini-b:hover { border-color: #c084fc; color: #e9d5ff; }
.viv-ini-x { width: 34px; padding: 0; justify-content: center; }
.viv-ini .viv-etq { padding: 5px 10px; }
.viv-ini .viv-etq b { font-size: 12.5px; }
.viv-ini .viv-etq span { font-size: 11px; }
.viv-feed { position: absolute; right: 16px; top: 16px; bottom: 16px; width: 300px; z-index: 2; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(14, 11, 34, .7), rgba(14, 11, 34, .35)); border: 1px solid var(--border); border-radius: 18px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; }
.viv-feed h2 { margin: 0; padding: 12px 14px 8px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--t2); font-weight: 700; }
.viv-feed ol { list-style: none; margin: 0; padding: 0 8px 10px; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
.viv-feed li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 12px; margin-bottom: 4px; border-left: 3px solid var(--c, #c084fc); background: rgba(255, 255, 255, .025); }
.viv-feed li.nuevo { animation: viv-entra .7s cubic-bezier(.2, 1.2, .4, 1); background: color-mix(in srgb, var(--c, #c084fc) 16%, transparent); box-shadow: 0 0 22px -6px var(--c, #c084fc); }
@keyframes viv-entra { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.viv-feed time { font-size: 11.5px; color: var(--t2); font-variant-numeric: tabular-nums; min-width: 52px; padding-top: 2px; }
.viv-feed li img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 12px -4px var(--c, #c084fc); }
.viv-feed li div { display: flex; flex-direction: column; min-width: 0; }
.viv-feed li b { font-size: 13.5px; color: var(--c, #fff); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viv-feed li span { font-size: 12.5px; color: var(--t1); opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viv-feed li.viv-vacio { border: 0; color: var(--t2); font-size: 13px; justify-content: center; }
.viv-etqs { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.viv-etq { position: absolute; left: 0; top: 0; display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 14px; white-space: nowrap; background: rgba(8, 6, 22, .72); border: 1px solid var(--c); box-shadow: 0 0 26px -4px var(--c), inset 0 0 14px -6px var(--c); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s ease, filter .35s ease; filter: blur(4px); will-change: transform; }
.viv-etq > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.viv-etq img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #fff; border: 2px solid var(--c); box-shadow: 0 0 16px -2px var(--c); }
.viv-etq em { position: absolute; left: 50%; bottom: -9px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px 2px var(--c); }
.viv-etq.on { opacity: 1; filter: none; }
.viv-etq.fuera { opacity: 0; }
.viv-etq b { font-size: 15px; color: var(--c); text-shadow: 0 0 12px var(--c); letter-spacing: .01em; }
.viv-etq b i { font-style: normal; color: #fff; }
.viv-etq span { font-size: 12.5px; color: #fff; opacity: .92; }
.viv-nota { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; max-width: min(560px, 92vw); text-align: center; font-size: 12.5px; color: var(--t2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; }
.viv-nota[hidden] { display: none; }
.viv-adm:fullscreen .viv-top { padding: 6px 14px; }
@media (max-width: 760px) {
  .viv-tit small, .viv-solo-g { display: none; }
  .viv-hud { left: 12px; top: 10px; }
  .viv-top3 { display: none; }
  .viv-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; max-width: calc(100vw - 24px); }
  .viv-kpis div { padding: 6px 8px; }
  .viv-kpis b { font-size: 13.5px; }
  .viv-kpis small { font-size: 9px; letter-spacing: .06em; }
  .viv-curva { display: none; }
  .viv-ini { height: 230px; }
  .viv-ini-n b { font-size: 38px; }
  .viv-ini-ult { max-width: calc(100% - 150px); font-size: 12px; }
  .viv-ini-b span { display: none; }
  .viv-ini-b { width: 34px; padding: 0; justify-content: center; }
  .viv-top { gap: 8px; padding: 8px 10px; }
  .viv-rangos { justify-content: flex-start; padding: 6px 10px; }
  .viv-rangos button { height: 28px; padding: 0 11px; font-size: 12px; }
  .viv-estado { padding: 4px 9px; font-size: 10.5px; letter-spacing: .08em; }
  .viv-cont span { font-size: 11px; }
  .viv-feed { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-height: 30%; }
  .viv-feed li { padding: 7px 9px; }
  .viv-nota { top: 10px; bottom: auto; left: auto; right: 10px; transform: none; max-width: 52vw; border-radius: 12px; font-size: 11.5px; }
  .viv-etq { padding: 6px 10px; }
  .viv-etq b { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .viv-estado i, .viv-cont b.sube, .viv-feed li.nuevo { animation: none; } }
html.cf-hx-listo #cf-app .cf-header-actions [data-ico="vivo"]::before, .cf-mmenu-ico[data-ico="vivo"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4.9%2019.1C1%2015.2%201%208.8%204.9%204.9%22%2F%3E%3Cpath%20d%3D%22M7.8%2016.2c-2.3-2.3-2.3-6.1%200-8.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M16.2%207.8c2.3%202.3%202.3%206.1%200%208.5%22%2F%3E%3Cpath%20d%3D%22M19.1%204.9C23%208.8%2023%2015.1%2019.1%2019%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4.9%2019.1C1%2015.2%201%208.8%204.9%204.9%22%2F%3E%3Cpath%20d%3D%22M7.8%2016.2c-2.3-2.3-2.3-6.1%200-8.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M16.2%207.8c2.3%202.3%202.3%206.1%200%208.5%22%2F%3E%3Cpath%20d%3D%22M19.1%204.9C23%208.8%2023%2015.1%2019.1%2019%22%2F%3E%3C%2Fsvg%3E"); }
