/* ============================================================
   YUKTI VOICE — Standalone MWeb CSS
   Matches exact UI of LiveSession.tsx + MobileAgentsView.tsx
   ============================================================ */

:root {
  --space:        #060b14;
  --space-mid:    #0d1b2e;
  --gold:         #c9a558;
  --gold-dim:     rgba(201,165,88,0.5);
  --text-bright:  rgba(241,232,210,0.92);
  --text-dim:     rgba(255,255,255,0.45);
  --ember:        #e87a5a;
  --silver:       rgba(255,255,255,0.55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--space);
  color: var(--text-bright);
  font-family: Georgia, 'Times New Roman', serif;
  -webkit-font-smoothing: antialiased;
}

#yukti-root {
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* ── Keyframe Animations ──────────────────────────────────── */

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(201,165,88,0.6); }
  70%  { box-shadow: 0 0 0 18px rgba(201,165,88,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,165,88,0); }
}

@keyframes spin-ring {
  to { transform: rotate(360deg); }
}

@keyframes slow-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

@keyframes ripple-out {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes waveform-pulse {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes toast-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(201,165,88,0.2); border-radius: 2px; }

/* ============================================================
   LISTING SCREEN
   ============================================================ */

.yv-listing {
  background: #060b14;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Hero Banner */
.yv-hero {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  flex-shrink: 0;
}

.yv-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: opacity 0.6s ease;
}

.yv-hero-back {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.yv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,11,20,0) 0%, rgba(6,11,20,0) 55%, rgba(6,11,20,0.55) 100%);
}

.yv-hero-text {
  position: absolute;
  top: 32%;
  right: 12px;
  width: 42%;
  text-align: right;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.yv-hero-text-line1 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
  font-family: 'Noto Sans Devanagari', system-ui, sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 30px rgba(0,0,0,0.9), 2px 2px 0 rgba(0,0,0,0.5);
}

.yv-hero-text-line2 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 8px;
  word-break: keep-all;
  font-family: 'Noto Sans Devanagari', system-ui, sans-serif;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 24px rgba(0,0,0,0.9);
}

.yv-hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
  background: rgba(0,0,0,0.35);
  border-radius: 20px;
  padding: 6px 12px;
  backdrop-filter: blur(4px);
}

.yv-hero-dot {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.6);
  transition: width 0.3s, background 0.3s;
  cursor: pointer;
}

.yv-hero-dot.active {
  background: #c9a558;
}

/* Listing body */
.yv-listing-body {
  padding: 18px 16px 40px;
  background: #060b14;
  border-radius: 28px 28px 0 0;
  margin-top: -28px;
  position: relative;
  z-index: 1;
  flex: 1;
}

/* Time exhausted banner */
.yv-exhausted-banner {
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(196,71,28,0.18), rgba(196,71,28,0.08));
  border: 1px solid rgba(196,71,28,0.35);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
}

.yv-exhausted-title {
  color: #f1e8d2;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.yv-exhausted-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.yv-exhausted-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,165,88,0.3);
  border-radius: 50px;
  padding: 8px 20px;
  color: #c9a558;
  font-size: 0.82rem;
  font-family: Georgia, serif;
}

/* Listing headings */
.yv-listing-title {
  color: #f1e8d2;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 4px;
}

.yv-listing-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  text-align: center;
  margin: 0 0 12px;
  line-height: 1.4;
}

/* Time badge */
.yv-time-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.yv-time-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,165,88,0.07);
  border: 1px solid rgba(201,165,88,0.35);
  border-radius: 50px;
  padding: 9px 20px;
  color: #e2c880;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.yv-time-mono {
  font-family: monospace;
  font-weight: 700;
}

/* Agent list */
.yv-agent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yv-agent-card {
  background: linear-gradient(160deg, #0d1b2e, #0a1628);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
}

/* Spinning avatar ring */
.yv-avatar-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.yv-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #6366f1, #a855f7, #ec4899, #f59e0b, #22c55e, #3b82f6, #6366f1);
  animation: spin-ring 2.5s linear infinite;
}

.yv-avatar-bg {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #0d1b2e;
}

.yv-avatar-img {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}

/* Agent info */
.yv-agent-info { flex: 1; min-width: 0; }

.yv-agent-name {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.yv-agent-spec {
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.yv-agent-meta {
  display: flex;
  align-items: center;
  gap: 4px;
}

.yv-star { color: #fbbf24; font-size: 0.78rem; }
.yv-rating { color: #fbbf24; font-size: 0.75rem; font-weight: 700; }
.yv-rating-count { color: #fbbf24; font-size: 0.72rem; }
.yv-meta-extra { color: rgba(255,255,255,0.4); font-size: 0.70rem; }

/* Agent actions */
.yv-agent-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.yv-call-btn {
  background: #22c55e;
  border: none;
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.yv-history-link {
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

/* ============================================================
   CONNECTING SCREEN
   ============================================================ */

.yv-connecting {
  position: fixed;
  inset: 0;
  background: #070d1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Georgia, 'Times New Roman', serif;
  z-index: 100;
}

.yv-conn-photo-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid #c9a558;
  overflow: hidden;
  margin-bottom: 28px;
  animation: pulse-ring 2s ease-out infinite;
  flex-shrink: 0;
}

.yv-conn-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.yv-conn-name {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.yv-conn-status {
  color: #22c55e;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.yv-conn-cancel-wrap {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
}

.yv-conn-cancel {
  background: #ef4444;
  border: none;
  border-radius: 50px;
  width: 200px;
  height: 58px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(239,68,68,0.5);
}

/* ============================================================
   CALL SCREEN
   ============================================================ */

.yv-call {
  position: fixed;
  inset: 0;
  background: var(--space);
  display: flex;
  flex-direction: column;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Top bar */
.yv-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(8,8,28,0.97);
  border-bottom: 1px solid rgba(201,165,88,0.12);
  flex-shrink: 0;
  z-index: 10;
}

.yv-topbar-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1.5px solid rgba(201,165,88,0.4);
  flex-shrink: 0;
}

.yv-topbar-info { flex: 1; min-width: 0; }

.yv-topbar-name {
  font-size: 0.95rem;
  color: var(--text-bright);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yv-topbar-spec {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yv-end-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e53935;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(229,57,53,0.5);
}

.yv-back-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  font-family: inherit;
}

/* Warning toast */
.yv-warning-toast {
  position: fixed;
  bottom: 130px;
  left: 12px;
  right: 12px;
  z-index: 50;
  background: linear-gradient(135deg, #f97316, #facc15);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(249,115,22,0.5);
  animation: toast-slide-up 0.3s ease;
}

.yv-toast-icon { font-size: 1.3rem; flex-shrink: 0; }
.yv-toast-title { color: #1a1200; font-size: 0.9rem; font-weight: 700; }
.yv-toast-sub { color: rgba(26,18,0,0.75); font-size: 0.75rem; margin-top: 2px; }

/* Chat area */
.yv-chat {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

/* Sticky date chip */
.yv-sticky-date {
  position: sticky;
  top: 8px;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin-bottom: -24px;
}

.yv-sticky-date-chip {
  background: rgba(15,15,35,0.88);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 3px 14px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
}

/* Date separator */
.yv-date-sep {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.yv-date-sep-line { flex: 1; height: 1px; background: rgba(201,165,88,0.15); }
.yv-date-sep-label { font-size: 0.6rem; color: rgba(255,255,255,0.3); font-family: monospace; white-space: nowrap; }

/* Session separator */
.yv-session-sep {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.yv-session-sep-line { flex: 1; height: 1px; background: rgba(201,165,88,0.3); }
.yv-session-sep-label { font-size: 0.6rem; color: var(--gold); font-family: monospace; white-space: nowrap; }

/* Messages */
.yv-msg {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  animation: fade-in 0.2s ease;
}

.yv-msg.user { align-items: flex-end; }
.yv-msg.agent { align-items: flex-start; }

.yv-msg-sender {
  font-size: 0.68rem;
  color: var(--gold);
  margin-bottom: 2px;
  padding-left: 4px;
}

.yv-msg-bubble {
  max-width: 82%;
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  word-break: break-word;
}

.yv-msg.user .yv-msg-bubble {
  border-radius: 18px 18px 4px 18px;
  background: #c9a558;
  color: #1a1200;
  font-style: italic;
}

.yv-msg.agent .yv-msg-bubble {
  border-radius: 4px 18px 18px 18px;
  background: rgba(20,20,52,0.96);
  border: 1px solid rgba(201,165,88,0.15);
  color: rgba(241,232,210,0.92);
}

.yv-msg-time {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  margin-top: 3px;
}

.yv-msg.user .yv-msg-time { padding-right: 4px; }
.yv-msg.agent .yv-msg-time { padding-left: 4px; }

/* Cursor for in-progress message */
.yv-caret {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--gold);
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 1px;
  animation: slow-blink 1s ease-in-out infinite;
}

.yv-msg.user .yv-caret { background: #1a1200; }

/* System / tool messages */
.yv-msg-system {
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-dim);
  font-style: italic;
  margin: 4px 0;
  font-family: monospace;
}

/* Chart containers */
.yv-chart-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 8px;
}

.yv-chart-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 4px;
  font-family: monospace;
}

/* History empty state */
.yv-chat-empty {
  margin: auto;
  text-align: center;
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 2rem 1rem;
}

.yv-chat-empty.limit { color: var(--gold); font-style: normal; }

/* Bottom bar */
.yv-bottom {
  flex-shrink: 0;
  background: rgba(8,8,28,0.97);
  border-top: 1px solid rgba(201,165,88,0.12);
  padding: 14px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Timer */
.yv-timer {
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  transition: color 0.5s;
}

.yv-timer.warning { color: #e87a5a; }

/* Active call pill */
.yv-call-pill {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(20,20,45,0.95);
  border-radius: 50px;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Mute button */
.yv-mute-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.yv-mute-btn.muted {
  background: #e53935;
  box-shadow: 0 2px 12px rgba(229,57,53,0.5);
}

/* Waveform */
.yv-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
}

.yv-wave-bar {
  width: 3px;
  border-radius: 2px;
  background: rgba(201,165,88,0.35);
  transition-property: height, background;
  transition-timing-function: ease;
}

.yv-wave-bar.speaking { background: rgba(201,165,88,0.8); }

/* Speaker indicator */
.yv-speaker-indicator {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(34,197,94,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.yv-speaker-indicator.speaking { background: rgba(34,197,94,0.9); }

/* Mic button (call start) */
.yv-mic-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(34,197,94,0.2);
  border: 2px solid rgba(34,197,94,0.3);
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.yv-mic-btn.ready {
  background: rgba(34,197,94,0.9);
  border-color: rgba(34,197,94,1);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(34,197,94,0.4);
}

/* History mode bottom bar */
.yv-history-bottom {
  flex-shrink: 0;
  background: rgba(8,8,28,0.97);
  border-top: 1px solid rgba(201,165,88,0.12);
  padding: 14px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.yv-history-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.14em;
  font-family: Georgia, serif;
}

.yv-history-waves {
  display: flex;
  align-items: center;
  gap: 3px;
}

.yv-history-wave-bar {
  width: 3px;
  border-radius: 2px;
  background: rgba(201,165,88,0.45);
}

/* ============================================================
   MODALS
   ============================================================ */

.yv-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,5,16,0.85);
  backdrop-filter: blur(6px);
}

.yv-modal {
  background: linear-gradient(160deg, #0d0d28, #080818);
  border: 1px solid rgba(201,165,88,0.3);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  max-width: 340px;
  width: 90%;
  text-align: center;
}

.yv-modal-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }

.yv-modal-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-bright);
}

.yv-modal-sub {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.yv-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.yv-btn-cancel {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-dim);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.yv-btn-confirm {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: rgba(196,71,28,0.15);
  border: 1px solid rgba(196,71,28,0.6);
  color: #e87a5a;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   KUNDLI CHART
   ============================================================ */

.yv-kundli-wrap {
  width: 100%;
  max-width: 360px;
  margin: 0.5rem auto 0;
}

.yv-kundli-label {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: monospace;
}

/* ============================================================
   ASHTAVARGA TABLE
   ============================================================ */

.yv-ashta-wrap { width: 100%; margin-top: 0.5rem; }

.yv-ashta-title {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: monospace;
}

.yv-ashta-scroll { overflow-x: auto; }

.yv-ashta-table {
  width: 100%;
  border-collapse: collapse;
  font-family: monospace;
  font-size: 0.72rem;
}

.yv-ashta-table th {
  padding: 4px 5px;
  color: rgba(201,165,88,0.7);
  font-weight: 400;
  border-bottom: 1px solid rgba(201,165,88,0.25);
  white-space: nowrap;
}

.yv-ashta-table th.left { text-align: left; }
.yv-ashta-table th.center { text-align: center; }

.yv-ashta-table td {
  text-align: center;
  padding: 3px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.yv-ashta-table td.label {
  text-align: left;
  padding: 3px 6px;
  color: rgba(241,232,210,0.6);
  white-space: nowrap;
}

.yv-ashta-table tr.sarva { border-top: 1px solid rgba(201,165,88,0.4); }
.yv-ashta-table tr.sarva td.label { color: var(--gold); font-weight: 700; }
.yv-ashta-table tr.sarva td { font-weight: 700; }

/* ============================================================
   KUNDLI SVG ANIMATIONS (inline in SVG via <style>)
   Defined here for reference — also injected in JS
   ============================================================ */

@keyframes kc-draw-border  { from{stroke-dashoffset:400} to{stroke-dashoffset:0} }
@keyframes kc-draw-diamond { from{stroke-dashoffset:72}  to{stroke-dashoffset:0} }
@keyframes kc-draw-cross   { from{stroke-dashoffset:142} to{stroke-dashoffset:0} }
@keyframes kc-fade-house   { from{opacity:0} to{opacity:1} }
@keyframes kc-planet-glow  {
  0%,100% { fill:rgba(241,232,210,0.92); }
  50%     { fill:rgba(255,218,100,1); }
}
@keyframes kc-badge-glow {
  0%,100% { opacity:0.85; }
  50%     { opacity:1; }
}
@keyframes kc-sparkle {
  0%,100% { opacity:0; transform:scale(0.4); }
  40%,60% { opacity:0.9; transform:scale(1.2); }
}
