.czvoz { margin: 0 0 14px; color: var(--text); }
.czvoz-invita, .czvoz-receptor { animation: czvozEntra .32s cubic-bezier(.2,.8,.2,1); }
.czvoz.czvoz-on .czvoz-invita, .czvoz:not(.czvoz-on) .czvoz-receptor { display: none; }
@keyframes czvozEntra { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .czvoz-invita, .czvoz-receptor { animation: none; } }

.czvoz-invita { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: end; gap: 6px 14px; padding: 14px 16px 14px 10px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,184,51,.10), rgba(255,184,51,.02) 60%), #221c33; border: 1px solid rgba(255,184,51,.35); }
.czvoz-invita cz-mascota { justify-self: center; }
.czvoz-der { display: grid; gap: 10px; min-width: 0; }
.czvoz-globo { position: relative; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: #fffdf6; color: #26213a;
  box-shadow: 0 6px 16px rgba(0,0,0,.25); font: 500 13px/1.45 var(--ce-texto, 'DM Sans', sans-serif); }
.czvoz-globo::before { content: ""; position: absolute; left: -9px; bottom: 6px; width: 12px; height: 14px; background: #fffdf6; clip-path: polygon(100% 0, 0 100%, 100% 100%); }
.czvoz-globo b { font-weight: 800; color: #26213a; }
.czvoz-pregunta { font: 800 16px/1.25 'Unbounded', 'Arial Rounded MT Bold', sans-serif; margin-bottom: 3px; }
.czvoz-acciones { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.czvoz-si { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; cursor: pointer; border: 0;
  font: 800 14px/1 var(--ce-texto, 'DM Sans', sans-serif); color: #26213a; background: #ffb833; box-shadow: 0 6px 16px rgba(255,184,51,.28); transition: transform .12s, box-shadow .15s; }
.czvoz-si:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(255,184,51,.36); }
.czvoz-si:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.czvoz-si:focus-visible { outline: 2px solid #ffb833; outline-offset: 3px; }
.czvoz-nota { font: 500 11.5px/1.4 var(--ce-texto, 'DM Sans', sans-serif); color: rgba(246,239,224,.58); }

.czvoz-receptor { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 18px; background: linear-gradient(180deg, #1f2233 0%, #171926 100%); border: 1px solid rgba(74,222,128,.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 26px rgba(0,0,0,.28); }
.czvoz-receptor::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 2px; border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, rgba(74,222,128,.7), transparent); }
.czvoz-altavoz { position: relative; width: 76px; height: 76px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,239,224,.22) 1.3px, transparent 1.9px) 0 0 / 7px 7px, radial-gradient(circle at 50% 45%, #2a2e44, #121420 70%);
  border: 3px solid #ffb833; box-shadow: 0 0 0 4px rgba(255,184,51,.12), inset 0 0 14px rgba(0,0,0,.6); }
.czvoz-altavoz::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a3f5c, #15172a);
  box-shadow: 0 0 0 2px rgba(255,184,51,.55); }
.czvoz-ondas i { position: absolute; inset: -3px; border-radius: 50%; border: 2px solid transparent; pointer-events: none; }
.czvoz-receptor.habla .czvoz-ondas i { animation: czvozOnda 2.4s ease-out infinite; }
.czvoz-receptor.habla .czvoz-ondas i:nth-child(2) { animation-delay: .8s; }
.czvoz-receptor.habla .czvoz-ondas i:nth-child(3) { animation-delay: 1.6s; }
@keyframes czvozOnda { 0% { transform: scale(1); border-color: rgba(74,222,128,.55); } 100% { transform: scale(1.45); border-color: rgba(74,222,128,0); } }
@media (prefers-reduced-motion: reduce) { .czvoz-receptor.habla .czvoz-ondas i { animation: none; } }
.czvoz-centro { min-width: 0; }
.czvoz-ceja { font: 800 10.5px/1 'Figtree', system-ui, sans-serif; letter-spacing: .14em; color: #4ade80; margin-bottom: 6px; }
.czvoz-tit { font: 800 18px/1.2 'Unbounded', 'Arial Rounded MT Bold', sans-serif; letter-spacing: -.01em; margin-bottom: 9px; }
.czvoz-pantalla { display: inline-flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 8px; max-width: 100%;
  background: #0b1710; border: 1px solid rgba(74,222,128,.28); box-shadow: inset 0 0 12px rgba(74,222,128,.10);
  font: 700 12px/1 'Figtree', system-ui, sans-serif; letter-spacing: .06em; color: #7cf0a8; text-shadow: 0 0 6px rgba(124,240,168,.45); }
.czvoz-pantalla b { font-size: 15px; color: #b6ffd0; }
.czvoz-pantalla.aviso { background: #1d1607; border-color: rgba(255,184,51,.35); color: #ffcf73; text-shadow: 0 0 6px rgba(255,207,115,.35); box-shadow: inset 0 0 12px rgba(255,184,51,.08); }
.czvoz-sep { width: 1px; height: 14px; background: rgba(74,222,128,.3); }
.czvoz-vivo::before { content: "● "; animation: czvozParpadeo 1.2s steps(1) infinite; }
@keyframes czvozParpadeo { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .czvoz-vivo::before { animation: none; } }
.czvoz-sub2 { margin-top: 8px; font: 500 12px/1.45 var(--ce-texto, 'DM Sans', sans-serif); color: rgba(246,239,224,.58); }
.czvoz-apagar { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 14px; cursor: pointer; white-space: nowrap;
  font: 800 14px/1 var(--ce-texto, 'DM Sans', sans-serif); color: #f6efe0; background: rgba(255,255,255,.05); border: 1px solid rgba(246,239,224,.18); }
.czvoz-apagar:hover { background: rgba(255,255,255,.09); }
.czvoz-apagar:focus-visible { outline: 2px solid #4ade80; outline-offset: 3px; }
.czvoz-led { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
@media (max-width: 760px) { .czvoz-receptor { grid-template-columns: 60px minmax(0, 1fr); } .czvoz-altavoz { width: 60px; height: 60px; } .czvoz-altavoz::after { inset: 18px; }
  .czvoz-apagar { grid-column: 1 / -1; justify-self: start; } }
.czvoz-estado {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.09); font-size: 12.5px; color: var(--text); line-height: 1.45;
}
.czvoz-estado[hidden], .czvoz-consejo[hidden], .czvoz-pastilla[hidden], .czvoz-p-btn[hidden], .czvoz-p-accion[hidden], .czvoz-eq[hidden] { display: none !important; }
.czvoz-punto { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--muted); }
.czvoz-punto.on { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.czvoz-punto.aviso { background: #f59e0b; }
.czvoz-punto.mal { background: #ef4444; }
.czvoz-consejo { margin-top: 8px; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.czvoz-consejo b { color: var(--text); font-weight: 700; }
.czvoz-btn {
  font: 700 12px 'DM Sans', system-ui, sans-serif; color: #22c55e; background: none; cursor: pointer;
  border: 1px solid rgba(34,197,94,0.45); border-radius: 8px; padding: 4px 11px;
}
.czvoz-btn:hover { background: rgba(34,197,94,0.1); }
.czvoz-btn:focus-visible { outline: 2px solid #22c55e; outline-offset: 2px; }

.czvoz-pastilla {
  position: fixed; left: 18px; bottom: 18px; z-index: 290; max-width: min(420px, calc(100vw - 36px));
  display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 12px; border-radius: 999px;
  background: #1e1930; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  font: 600 12.5px 'DM Sans', system-ui, sans-serif; color: var(--text);
}
.czvoz-pastilla.on { border-color: rgba(34,197,94,0.5); }
.czvoz-pastilla.aviso { border-color: rgba(245,158,11,0.6); }
.czvoz-p-txt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.czvoz-p-txt b { font-weight: 800; }
.czvoz-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; flex-shrink: 0; }
.czvoz-eq i { width: 3px; height: 4px; border-radius: 2px; background: #22c55e; opacity: .8; }
.czvoz-pastilla.habla .czvoz-eq i { animation: czvozEq .55s ease-in-out infinite; }
.czvoz-pastilla.habla .czvoz-eq i:nth-child(2) { animation-delay: .12s; }
.czvoz-pastilla.habla .czvoz-eq i:nth-child(3) { animation-delay: .24s; }
@keyframes czvozEq { 0%, 100% { height: 4px; } 50% { height: 12px; } }
@media (prefers-reduced-motion: reduce) { .czvoz-pastilla.habla .czvoz-eq i { animation: none; height: 10px; } }
.czvoz-p-btn, .czvoz-p-accion {
  flex-shrink: 0; height: 28px; border-radius: 999px; cursor: pointer; color: var(--text);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); font: 700 12px system-ui, sans-serif;
}
.czvoz-p-btn { width: 28px; padding: 0; line-height: 1; }
.czvoz-p-accion { padding: 0 12px; color: #1a1205; background: #f59e0b; border-color: #f59e0b; }
.czvoz-p-btn:hover { background: rgba(255,255,255,0.12); }
.czvoz-p-btn:focus-visible, .czvoz-p-accion:focus-visible { outline: 2px solid #22c55e; outline-offset: 2px; }

.czvoz-velo { position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center; padding: 20px; background: rgba(4,4,10,0.62); backdrop-filter: blur(3px); }
.czvoz-dialogo {
  width: min(440px, 100%); padding: 22px; border-radius: 16px; background: #1e1930; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); color: var(--text); font-family: 'DM Sans', system-ui, sans-serif;
}
.czvoz-dialogo h3 { margin: 0 0 8px; font: 800 16px 'Plus Jakarta Sans', var(--ce-texto, 'DM Sans', sans-serif); }
.czvoz-dialogo p { margin: 0 0 16px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.czvoz-dialogo-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.czvoz-dialogo-btns button {
  font: 700 13px 'DM Sans', system-ui, sans-serif; border-radius: 10px; padding: 9px 14px; cursor: pointer;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); color: var(--text);
}
.czvoz-dialogo-btns .czvoz-principal { background: #22c55e; border-color: #22c55e; color: #06210f; }
.czvoz-dialogo-btns button:focus-visible { outline: 2px solid #22c55e; outline-offset: 2px; }

.czvoz-oculto { display: none !important; }

.czvoz-pastilla { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; }
.czvoz-pastilla.czvoz-arrastrando { cursor: grabbing; box-shadow: 0 16px 36px rgba(0,0,0,0.55); }
.czvoz-pastilla button { cursor: pointer; }
.czvoz-asa {
  width: 8px; height: 16px; flex-shrink: 0; margin-left: -4px; opacity: .45;
  background: radial-gradient(circle, currentColor 1.1px, transparent 1.6px) 0 0 / 4px 4px;
}
.czvoz-pastilla:hover .czvoz-asa { opacity: .8; }
