/* CHATI-AI V13 — canon voice card viewer */
.v13-canon {
  position: fixed;
  inset: 0;
  z-index: 9700;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 6, 14, 0.62);
  animation: v10-fade 0.2s ease both;
}

.v13-canon-panel {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(78vh, 720px);
  overflow: hidden;
  color: #ece9f6;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: #1b1826;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: v10-zoom 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.v13-canon-head,
.v13-canon-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.v13-canon-head {
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v13-canon-foot {
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.v13-canon-head button,
.v13-canon-foot button {
  padding: 7px 12px;
  color: inherit;
  font: inherit;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.v13-canon-body {
  overflow-y: auto;
  padding: 14px 16px 18px;
  font-size: 14px;
  line-height: 1.55;
  overscroll-behavior: contain;
}

.v13-canon-label {
  display: inline-block;
  margin-top: 10px;
  color: var(--v11-accent, #c4b5fd);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.v13-canon-body em {
  color: #b9b3cc;
}

.v13-canon-muted {
  margin: 8px 0;
  color: #a8a2bb;
}

html[data-chati-theme="light"] .v13-canon-panel {
  color: #24202f;
  border-color: rgba(0, 0, 0, 0.08);
  background: #fff;
}

html[data-chati-theme="light"] .v13-canon-label {
  color: #7c3aed;
}

html[data-chati-theme="light"] .v13-canon-body em,
html[data-chati-theme="light"] .v13-canon-muted {
  color: #6b6480;
}

@media (min-width: 761px) {
  .v13-canon {
    align-items: center;
  }
}
