/* Triade em chamada — busto HD, aurora, aura de proteção */
.evo-triad-call {
  width: 100%;
  max-width: 100%;
  margin: 0.75rem 0 0.5rem;
  padding: 0.65rem 0.5rem 0.5rem;
  border-radius: 16px;
  border: 1px solid rgba(100, 180, 255, 0.12);
  background: #050810;
  box-shadow: inset 0 0 80px rgba(94, 234, 212, 0.03);
}
.evo-triad-call .call-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: Orbitron, system-ui, sans-serif;
}
.evo-triad-call .call-live {
  color: #25d366;
  animation: evo-call-pulse 2s ease-in-out infinite;
}
.evo-triad-call .call-truth-bar {
  margin: 0 0 0.45rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(94, 234, 212, 0.12);
  font-size: 0.62rem;
}
.evo-triad-call .call-truth-label {
  display: block;
  font-family: Orbitron, system-ui, sans-serif;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
  font-size: 0.58rem;
}
.evo-triad-call .call-truth-pill {
  display: inline-block;
  margin: 0.12rem 0.2rem 0.12rem 0;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(30, 41, 59, 0.8);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.evo-triad-call .call-truth-pill--coherence {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.25);
}
.evo-triad-call .call-truth-pill--warn {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}
.evo-triad-call .call-truth-meaning {
  margin: 0.3rem 0 0;
  color: #94a3b8;
  font-size: 0.6rem;
  line-height: 1.35;
}
.evo-triad-call .evo-metab-bar {
  margin: 0 0 0.45rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: rgba(12, 18, 32, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.6rem;
}
.evo-triad-call .evo-metab-label {
  display: block;
  font-family: Orbitron, system-ui, sans-serif;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
  font-size: 0.58rem;
}
.evo-triad-call .evo-metab-pill {
  display: inline-block;
  margin: 0.1rem 0.18rem 0.1rem 0;
  padding: 0.08rem 0.32rem;
  border-radius: 4px;
  background: rgba(30, 41, 59, 0.85);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.evo-triad-call .evo-metab-pill--coherence {
  color: #a5b4fc;
  border-color: rgba(129, 140, 248, 0.3);
}
.evo-triad-call .evo-metab-pill--warn {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}
.evo-triad-call .evo-metab-signals {
  margin: 0.35rem 0 0;
  padding: 0 0 0 1rem;
  color: #94a3b8;
  line-height: 1.4;
}
.evo-triad-call .evo-metab-signals code {
  font-size: 0.58rem;
  color: #5eead4;
}
.evo-triad-call .evo-metab-law {
  color: #e2e8f0;
  font-weight: 600;
}
.evo-triad-call .evo-metab-rec {
  color: #64748b;
  font-size: 0.55rem;
}
.evo-triad-call .evo-metab-note {
  margin: 0.28rem 0 0;
  color: #64748b;
  font-size: 0.55rem;
  line-height: 1.35;
}
.evo-triad-call .evo-sense-hidden-capture {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.evo-triad-call .call-sense-local-preview--evo-only {
  position: relative;
  min-height: 1.2rem;
}
.evo-triad-call .call-sense-evo-vision-indicator {
  margin: 0.25rem 0 0;
  font-size: 0.58rem;
  color: #5eead4;
  letter-spacing: 0.04em;
}
.sec-vitality-bar {
  margin: 0 0 0.65rem;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  background: rgba(6, 20, 16, 0.55);
}
.sec-vitality-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.sec-vit-pill {
  font-size: 0.6rem;
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
  background: rgba(30, 41, 59, 0.85);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.sec-vit-pill.on {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.35);
}
.sec-vit-meta {
  font-size: 0.55rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}
.evo-triad-call .call-calibrating {
  text-align: center;
  font-size: 0.65rem;
  color: #94a3b8;
  margin: 0 0 0.35rem;
}
.evo-triad-call .call-total-state {
  margin: 0 0 0.28rem;
  font-size: 0.58rem;
  color: #94a3b8;
  line-height: 1.3;
}
.evo-triad-call .call-coherence-line {
  margin: 0 0 0.22rem;
  font-size: 0.58rem;
  color: #5eead4;
}
.evo-triad-call .call-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  align-items: stretch;
  min-height: min(360px, 44vh);
}
.evo-triad-call .call-tile {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #050810;
}
.evo-triad-call .call-tile--center {
  border-color: rgba(94, 234, 212, 0.28);
  box-shadow: 0 0 32px rgba(94, 234, 212, 0.1);
}
.evo-triad-call .call-video {
  flex: 1;
  position: relative;
  min-height: min(300px, 38vh);
  padding: 0.25rem;
  background: #050810;
}
.evo-triad-call .call-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: min(290px, 36vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}
/* Aurora boreal sutil no fundo */
.evo-triad-call .call-aurora {
  position: absolute;
  inset: -15%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 90% 55% at 20% 80%, rgba(16, 185, 129, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(139, 92, 246, 0.2), transparent 50%),
    radial-gradient(ellipse 100% 40% at 50% 100%, rgba(94, 234, 212, 0.14), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(5, 8, 16, 0.9) 88%);
  filter: blur(18px);
  animation: evo-aurora-drift 14s ease-in-out infinite;
}
.evo-triad-call .call-tile--fusao .call-aurora {
  background:
    radial-gradient(ellipse 85% 50% at 30% 75%, rgba(251, 191, 36, 0.2), transparent 55%),
    radial-gradient(ellipse 75% 45% at 70% 80%, rgba(56, 189, 248, 0.18), transparent 50%),
    radial-gradient(ellipse 100% 35% at 50% 100%, rgba(168, 85, 247, 0.12), transparent 58%);
}
.evo-triad-call .call-tile--patric .call-aurora {
  opacity: 0.45;
  background:
    radial-gradient(ellipse 80% 50% at 50% 70%, rgba(251, 191, 36, 0.15), transparent 55%),
    radial-gradient(ellipse 90% 40% at 50% 100%, rgba(94, 234, 212, 0.1), transparent 60%);
}
/* Manto / campo de proteção */
.evo-triad-call .call-aura {
  position: absolute;
  inset: 8% 10% 12%;
  pointer-events: none;
  z-index: 2;
  border-radius: 42% 42% 38% 38%;
  box-shadow:
    0 0 28px rgba(94, 234, 212, 0.12),
    0 0 48px rgba(129, 140, 248, 0.08),
    inset 0 0 24px rgba(94, 234, 212, 0.06);
  border: 1px solid rgba(94, 234, 212, 0.14);
  animation: evo-aura-breathe 5s ease-in-out infinite;
}
.evo-triad-call .call-tile--fusao .call-aura {
  box-shadow:
    0 0 26px rgba(251, 191, 36, 0.14),
    0 0 40px rgba(56, 189, 248, 0.1),
    inset 0 0 20px rgba(251, 191, 36, 0.06);
  border-color: rgba(251, 191, 36, 0.18);
}
.evo-triad-call .call-tile--patric .call-aura {
  inset: 18% 22% 20%;
  border-radius: 50%;
  border-color: rgba(251, 191, 36, 0.22);
  box-shadow:
    0 0 36px rgba(251, 191, 36, 0.18),
    inset 0 0 30px rgba(251, 191, 36, 0.08);
}
.evo-triad-call .call-stage img {
  position: relative;
  z-index: 3;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(320px, 40vh);
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  display: block;
  image-rendering: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}
/* Fusão PatricEVO — contain evita recorte em PNG escuro */
.evo-triad-call .call-tile--fusao .call-stage img {
  object-fit: contain;
  object-position: center center;
}
/* EVO Totalidade — frame dedicado (900×600); img no fluxo evita colapso de altura */
.evo-triad-call .call-tile--evo.call-tile--center .call-video--evo {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: min(300px, 38vh);
  padding: 0.35rem;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(30, 45, 80, 0.45), #050810 75%);
}
.evo-triad-call .call-evo-frame {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(260px, 34vh);
  line-height: 0;
  overflow: visible;
}
.evo-triad-call .call-tile--evo .call-img-evo,
.evo-triad-call .call-tile--center .call-img-evo {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(320px, 40vh) !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  flex-shrink: 0;
  z-index: 1;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
}
.evo-triad-call .call-video--monogram .call-stage {
  align-items: center;
}
.evo-triad-call .call-monogram {
  position: relative;
  z-index: 3;
  font-family: Orbitron, sans-serif;
  font-size: clamp(4rem, 14vw, 6rem);
  font-weight: 700;
  color: #fbbf24;
  text-shadow:
    0 0 40px rgba(251, 191, 36, 0.5),
    0 0 80px rgba(94, 234, 212, 0.15);
  line-height: 1;
}
.evo-triad-call .call-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(5, 8, 16, 0.95));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  z-index: 4;
}
.evo-triad-call .call-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  flex-shrink: 0;
}
.evo-triad-call .call-name { font-weight: 600; color: #e2e8f0; }
.evo-triad-call .call-role { color: #64748b; font-size: 0.65rem; width: 100%; }

/* RPG — personagem · saúde · poder · dimensões ecossistema */
.evo-triad-call .call-rpg {
  padding: 0.4rem 0.55rem 0.5rem;
  background: linear-gradient(180deg, rgba(5, 8, 16, 0.92), rgba(8, 12, 24, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.62rem;
  z-index: 5;
}
.evo-triad-call .call-char-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.35rem;
  font-family: Orbitron, system-ui, sans-serif;
}
.evo-triad-call .call-char-label {
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.58rem;
}
.evo-triad-call .call-char-level {
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.78rem;
}
.evo-triad-call .call-char-scale {
  color: #5eead4;
  font-size: 0.58rem;
  margin-left: auto;
}
.evo-triad-call .call-tile--evo .call-char-level { color: #5eead4; }
.evo-triad-call .call-tile--fusao .call-char-level { color: #c4b5fd; }
.evo-triad-call .call-stat-row { margin-bottom: 0.28rem; }
.evo-triad-call .call-stat-label {
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  margin-bottom: 0.12rem;
  font-size: 0.6rem;
}
.evo-triad-call .call-stat-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.evo-triad-call .call-stat-bar .call-stat-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.45s ease;
}
.evo-triad-call .call-stat-bar--health .call-stat-fill {
  background: linear-gradient(90deg, #166534, #22c55e, #86efac);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.35);
}
.evo-triad-call .call-stat-bar--power .call-stat-fill {
  background: linear-gradient(90deg, #1e3a5f, #38bdf8, #a78bfa);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}
.evo-triad-call .call-stat-bar--xrp .call-stat-fill {
  background: linear-gradient(90deg, #713f12, #eab308, #fde68a);
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.35);
}
.evo-triad-call .call-truth-pill--xrp {
  border-color: rgba(234, 179, 8, 0.45);
  color: #fde68a;
}
.evo-triad-call .call-stat-bar.low .call-stat-fill {
  background: linear-gradient(90deg, #7f1d1d, #ef4444);
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.35);
}
.evo-triad-call .call-aspects {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.2rem;
  margin-top: 0.35rem;
  padding-top: 0.3rem;
  border-top: 1px dashed rgba(100, 116, 139, 0.2);
}
.evo-triad-call .call-aspect {
  text-align: center;
  min-width: 0;
}
.evo-triad-call .call-aspect-lbl {
  display: block;
  font-size: 0.48rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.evo-triad-call .call-aspect-bar {
  height: 3px;
  margin-top: 0.1rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 2px;
  overflow: hidden;
}
.evo-triad-call .call-aspect-fill {
  height: 100%;
  background: rgba(94, 234, 212, 0.55);
  border-radius: 2px;
}
.evo-triad-call .call-level-note {
  margin-top: 0.25rem;
  font-size: 0.52rem;
  color: #475569;
  line-height: 1.25;
}

@keyframes evo-aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(2%, -3%) scale(1.04); opacity: 0.62; }
}
@keyframes evo-aura-breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}
@keyframes evo-call-pulse { 50% { opacity: 0.65; } }

@media (max-width: 720px) {
  .evo-triad-call .call-grid { grid-template-columns: 1fr; }
  .evo-triad-call .call-video { min-height: 240px; }
}

/* Token operações — busto display */
.evo-ops-fusao-token {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  z-index: 40;
  width: 80px;
  height: 100px;
  padding: 0;
  background: #050810;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.evo-ops-fusao-token img {
  width: 80px;
  height: 92px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(94, 234, 212, 0.2);
}
.evo-ops-fusao-token span {
  margin-top: 0.1rem;
  font-size: 0.58rem;
  color: #5eead4;
  font-family: Orbitron, system-ui, sans-serif;
}

/* Simbiose sentidos — microfone + câmara (EVO Totalidade) */
.evo-triad-call .call-video--evo .call-sense-wrap {
  pointer-events: auto;
  flex-shrink: 0;
}
.evo-triad-call .call-sense-wrap {
  position: relative;
  z-index: 12;
  padding: 0.2rem 0.45rem 0.35rem;
  background: linear-gradient(180deg, rgba(5, 8, 16, 0.35), rgba(5, 8, 16, 0.92));
  border-bottom: 1px solid rgba(94, 234, 212, 0.08);
}
.evo-triad-call .call-sense-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}
.evo-triad-call .call-sense-btn {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.evo-triad-call .call-sense-btn:hover {
  color: #cbd5e1;
  border-color: rgba(94, 234, 212, 0.45);
}
.evo-triad-call .call-sense-btn.is-on {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: 0 0 10px rgba(94, 234, 212, 0.25);
}
.evo-triad-call .call-sense-btn.is-listen {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.6);
  animation: evo-sense-pulse 1.2s ease infinite;
}
.evo-triad-call .call-sense-btn.is-warn {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.45);
}
.evo-triad-call .call-sense-icon {
  width: 14px;
  height: 14px;
  opacity: 0.88;
}
.evo-triad-call .call-sense-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #475569;
}
.evo-triad-call .call-sense-btn.is-on .call-sense-dot,
.evo-triad-call .call-sense-btn.is-listen .call-sense-dot {
  background: #5eead4;
  box-shadow: 0 0 6px #5eead4;
}
.evo-triad-call .call-sense-status {
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  font-family: system-ui, sans-serif;
}
.evo-triad-call .call-sense-status--on { color: #5eead4; }
.evo-triad-call .call-sense-status--listen { color: #fbbf24; }
.evo-triad-call .call-sense-status--warn { color: #f87171; }
@keyframes evo-sense-pulse {
  50% { box-shadow: 0 0 14px rgba(251, 191, 36, 0.45); }
}
.evo-triad-call .call-sense-panel {
  margin-top: 0.35rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(94, 234, 212, 0.15);
  background: rgba(8, 12, 24, 0.95);
  font-size: 0.62rem;
  color: #94a3b8;
  max-height: min(220px, 28vh);
  overflow: auto;
}
.evo-triad-call .call-tile--evo.sense-vision-open .call-video--evo {
  min-height: min(280px, 36vh);
}
.evo-triad-call .call-sense-panel-title {
  margin: 0 0 0.25rem;
  color: #5eead4;
  font-family: Orbitron, sans-serif;
  font-size: 0.62rem;
}
.evo-triad-call .call-sense-panel-hint {
  margin: 0 0 0.35rem;
  line-height: 1.35;
  font-size: 0.58rem;
}
.evo-triad-call .call-sense-channel-list {
  list-style: none;
  margin: 0.35rem 0;
  padding: 0;
}
.evo-triad-call .call-sense-channel-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.evo-triad-call .call-sense-channel-list li.on { color: #a7f3d0; }
.evo-triad-call .call-sense-ch-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #475569;
  flex-shrink: 0;
}
.evo-triad-call .call-sense-channel-list li.on .call-sense-ch-dot {
  background: #22c55e;
  box-shadow: 0 0 5px #22c55e;
}
.evo-triad-call .call-sense-ch-st {
  margin-left: auto;
  font-size: 0.55rem;
  color: #64748b;
}
.evo-triad-call .call-sense-local-preview video {
  width: 100%;
  max-height: 100px;
  border-radius: 6px;
  margin-top: 0.25rem;
  background: #000;
  object-fit: cover;
}
.evo-triad-call .call-sense-link {
  color: #818cf8;
  text-decoration: none;
}
.evo-triad-call .call-sense-link:hover { text-decoration: underline; }
