/* ── Thumbnail Interactive Previews ───────────────────────────────────────── */

.thumb-preview {
  position: absolute;
  inset: 0;
  opacity: 1;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Freeze all animations when reduced motion is on — still shows the overlay */
@media (prefers-reduced-motion: reduce) {
  .thumb-preview * { animation-play-state: paused !important; transition: none !important; }
}

/* ── Shared phone shell ──────────────────────────────────────────────────── */
.tp-phone {
  position: relative;
  width: 112px;
  height: 192px;
  border-radius: 15px;
  border-width: 1.5px;
  border-style: solid;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.tp-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 6px;
  border-radius: 0 0 4px 4px;
  z-index: 10;
}

/* Screens stack inside the phone */
.tp-screen {
  position: absolute;
  inset: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
}

/* ADCB phone: header + screens container */
.tp-adcb .tp-phone {
  display: flex;
  flex-direction: column;
}
.adcb-screens {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* ── Background grids (match SVG grid lines) ─────────────────────────────── */
.tp-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 0;
}

.tp-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, currentColor 0.5px, transparent 0.5px),
    linear-gradient(to bottom, currentColor 0.5px, transparent 0.5px);
  background-size: 155px 93px;
  opacity: 0.04;
  pointer-events: none;
}

/* ── Left label column ───────────────────────────────────────────────────── */
.tp-label {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 16px;
}

.tp-eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  white-space: nowrap;
}

.tp-name {
  font-family: 'Inter Tight', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1;
}

.tp-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.38);
  line-height: 1.4;
}

.tp-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tp-chip {
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  padding: 4px 8px;
  text-align: center;
}

.tp-chip-val {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.tp-chip-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 7px;
  color: rgba(255,255,255,0.32);
  margin-top: 2px;
}

.tp-pill {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 10px;
  padding: 4px 10px;
  border-width: 1px;
  border-style: solid;
  margin-top: 2px;
}

/* ── Phone right side ────────────────────────────────────────────────────── */
.tp-phone-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.tp-glow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 10px;
  border-radius: 50%;
  filter: blur(8px);
}

/* ── ADCB — FacePass ─────────────────────────────────────────────────────── */
.tp-adcb { background: #0e0a00; color: #C49A2A; }
.tp-adcb .tp-phone { background: linear-gradient(180deg, #1e1600 0%, #0a0800 100%); border-color: rgba(196,154,42,0.32); }
.tp-adcb .tp-phone-notch { background: rgba(255,255,255,0.06); }
.tp-adcb .tp-glow { background: rgba(196,154,42,0.25); }

/* Phone header */
.adcb-ph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px 6px;
  flex-shrink: 0;
}
.adcb-ph-time { font-size: 7px; color: rgba(255,255,255,0.35); font-family: 'Inter', sans-serif; }
.adcb-ph-title { font-size: 8px; font-weight: 700; color: #fff; font-family: 'Inter Tight', sans-serif; }
.adcb-ph-dot { width: 5px; height: 5px; border-radius: 50%; background: #00c47a; }

/* Screen 1: Scanning */
.adcb-s1 {
  padding: 6px 8px 8px;
  align-items: center;
  animation: adcb-s1-cycle 6s infinite;
}
@keyframes adcb-s1-cycle {
  0%   { opacity: 1; }
  33%  { opacity: 1; }
  42%  { opacity: 0; }
  100% { opacity: 0; }
}

.adcb-scan-box {
  width: 74px;
  height: 68px;
  border: 1px solid rgba(196,154,42,0.18);
  border-radius: 8px;
  background: rgba(196,154,42,0.04);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Corner brackets */
.adcb-cb {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: #C49A2A;
  border-style: solid;
  border-width: 0;
}
.adcb-cb-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-radius: 2px 0 0 0; }
.adcb-cb-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-radius: 0 2px 0 0; }
.adcb-cb-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 2px; }
.adcb-cb-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 2px 0; }

/* Face dots */
.adcb-face {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  width: 26px;
  height: 22px;
}
.adcb-eyes {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.adcb-eye {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(196,154,42,0.7);
}
.adcb-mouth {
  width: 12px;
  height: 5px;
  border-bottom: 1.5px solid rgba(196,154,42,0.7);
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
}

/* Scan line sweeping */
.adcb-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(196,154,42,0.8), transparent);
  animation: adcb-sweep 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(196,154,42,0.4);
}
@keyframes adcb-sweep {
  0%   { top: 8px; opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { top: 60px; opacity: 0; }
}

.adcb-s1-status {
  margin-top: 7px;
  text-align: center;
  flex-shrink: 0;
}
.adcb-s1-label {
  font-size: 7.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
}
.adcb-s1-hint {
  font-size: 6.5px;
  color: rgba(255,255,255,0.3);
  font-family: 'Inter', sans-serif;
  margin-top: 2px;
}
.adcb-s1-btn {
  margin-top: 8px;
  background: linear-gradient(90deg, #C49A2A, #E8C060);
  border-radius: 8px;
  padding: 5px 0;
  font-size: 6.5px;
  font-weight: 800;
  font-family: 'Inter Tight', sans-serif;
  letter-spacing: 0.5px;
  color: #0a0800;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

/* Screen 2: Verified */
.adcb-s2 {
  align-items: center;
  justify-content: center;
  gap: 6px;
  animation: adcb-s2-cycle 6s infinite;
}
@keyframes adcb-s2-cycle {
  0%, 38%  { opacity: 0; }
  45%  { opacity: 1; }
  60%  { opacity: 1; }
  68%  { opacity: 0; }
  100% { opacity: 0; }
}

.adcb-verify-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #C49A2A;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196,154,42,0.08);
  box-shadow: 0 0 16px rgba(196,154,42,0.25);
  animation: adcb-ring-pulse 6s infinite;
}
@keyframes adcb-ring-pulse {
  0%, 38%  { transform: scale(0.7); }
  48%  { transform: scale(1.05); }
  52%  { transform: scale(1); }
  100% { transform: scale(1); }
}
.adcb-checkmark {
  font-size: 18px;
  color: #C49A2A;
  line-height: 1;
}
.adcb-verified-lbl {
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  text-align: center;
}
.adcb-verified-sub {
  font-size: 6.5px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  text-align: center;
}
.adcb-verified-btn {
  background: rgba(196,154,42,0.12);
  border: 1px solid rgba(196,154,42,0.3);
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 6px;
  font-weight: 800;
  font-family: 'Inter Tight', sans-serif;
  color: #E8C060;
  text-align: center;
  margin-top: 4px;
}

/* Screen 3: Home */
.adcb-s3 {
  gap: 5px;
  animation: adcb-s3-cycle 6s infinite;
}
@keyframes adcb-s3-cycle {
  0%, 65%  { opacity: 0; }
  72%  { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; }
}
.adcb-greeting {
  font-size: 7px;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  padding: 2px 0;
}
.adcb-bal-card {
  background: rgba(196,154,42,0.07);
  border: 1px solid rgba(196,154,42,0.16);
  border-radius: 7px;
  padding: 7px 8px;
}
.adcb-bal-lbl { font-size: 6.5px; color: rgba(255,255,255,0.4); font-family: 'Inter', sans-serif; }
.adcb-bal-amt { font-size: 13px; font-weight: 800; color: #fff; font-family: 'Inter Tight', sans-serif; letter-spacing: -0.3px; margin: 1px 0; }
.adcb-bal-up { font-size: 6px; color: #00c47a; font-family: 'Inter', sans-serif; }
.adcb-home-actions {
  display: flex;
  gap: 4px;
}
.adcb-ha {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 5px 2px;
  text-align: center;
  font-size: 9px;
}
.adcb-ha-lbl { font-size: 6px; color: rgba(255,255,255,0.35); font-family: 'Inter', sans-serif; display: block; margin-top: 2px; }
.adcb-tx { height: 10px; border-radius: 4px; background: rgba(255,255,255,0.04); margin-top: 2px; }
.adcb-tx-2 { width: 70%; opacity: 0.5; }

/* ── MASHREQ — KYC Steps ─────────────────────────────────────────────────── */
.tp-mashreq { background: #060e1a; color: #009B9E; }
.tp-mashreq .tp-phone { background: linear-gradient(180deg, #0d1e35 0%, #060e1a 100%); border-color: rgba(0,155,158,0.25); }
.tp-mashreq .tp-glow { background: rgba(0,155,158,0.2); }

/* KYC step flow shown in the right-hand area instead of a phone */
.mq-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  width: 142px;
  flex-shrink: 0;
}

.mq-connector {
  position: absolute;
  left: 18px;
  top: 36px;
  bottom: 36px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(0,155,158,0.5), rgba(0,196,122,0.5));
  animation: mq-connector-draw 6s infinite;
}
@keyframes mq-connector-draw {
  0%   { transform: scaleY(0); transform-origin: top; }
  20%  { transform: scaleY(0.5); }
  50%  { transform: scaleY(1); }
  100% { transform: scaleY(1); }
}

.mq-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  position: relative;
  z-index: 1;
}

.mq-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,155,158,0.3);
  background: rgba(0,155,158,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.mq-step-text { flex: 1; min-width: 0; }
.mq-step-title { font-size: 8px; font-weight: 600; color: rgba(255,255,255,0.7); font-family: 'Inter', sans-serif; }
.mq-step-sub { font-size: 6.5px; color: rgba(255,255,255,0.3); font-family: 'Inter', sans-serif; margin-top: 1px; }

/* Step 1 activates first */
.mq-s1 .mq-step-icon {
  animation: mq-step-active 6s infinite;
}
@keyframes mq-step-active {
  0%   { border-color: rgba(0,155,158,0.8); background: rgba(0,155,158,0.15); box-shadow: 0 0 12px rgba(0,155,158,0.3); }
  18%  { border-color: rgba(0,155,158,0.8); background: rgba(0,155,158,0.15); box-shadow: 0 0 12px rgba(0,155,158,0.3); }
  28%  { border-color: rgba(0,196,122,0.8); background: rgba(0,196,122,0.12); box-shadow: 0 0 10px rgba(0,196,122,0.2); }
  100% { border-color: rgba(0,196,122,0.6); background: rgba(0,196,122,0.08); box-shadow: none; }
}

.mq-s2 .mq-step-icon {
  animation: mq-step2-active 6s infinite;
}
@keyframes mq-step2-active {
  0%, 26%  { border-color: rgba(0,155,158,0.25); background: rgba(0,155,158,0.05); box-shadow: none; }
  32%  { border-color: rgba(0,155,158,0.8); background: rgba(0,155,158,0.15); box-shadow: 0 0 12px rgba(0,155,158,0.3); }
  50%  { border-color: rgba(0,155,158,0.8); background: rgba(0,155,158,0.15); box-shadow: 0 0 12px rgba(0,155,158,0.3); }
  60%  { border-color: rgba(0,196,122,0.8); background: rgba(0,196,122,0.12); box-shadow: 0 0 10px rgba(0,196,122,0.2); }
  100% { border-color: rgba(0,196,122,0.6); background: rgba(0,196,122,0.08); box-shadow: none; }
}

.mq-s3 .mq-step-icon {
  animation: mq-step3-active 6s infinite;
}
@keyframes mq-step3-active {
  0%, 58%  { border-color: rgba(0,196,122,0.25); background: rgba(0,155,158,0.05); box-shadow: none; }
  65%  { border-color: rgba(0,196,122,0.9); background: rgba(0,196,122,0.15); box-shadow: 0 0 14px rgba(0,196,122,0.4); }
  100% { border-color: rgba(0,196,122,0.9); background: rgba(0,196,122,0.15); box-shadow: 0 0 14px rgba(0,196,122,0.35); }
}

/* Progress bar at bottom */
.mq-progress {
  margin-top: 8px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.mq-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #009B9E, #00C8CB);
  animation: mq-progress-run 6s infinite;
}
@keyframes mq-progress-run {
  0%   { width: 5%; }
  30%  { width: 33%; }
  62%  { width: 66%; }
  80%  { width: 100%; }
  100% { width: 100%; }
}

.mq-result {
  margin-top: 8px;
  background: rgba(0,196,122,0.08);
  border: 1px solid rgba(0,196,122,0.25);
  border-radius: 7px;
  padding: 6px 10px;
  opacity: 0;
  animation: mq-result-appear 6s infinite;
}
@keyframes mq-result-appear {
  0%, 72%  { opacity: 0; transform: translateY(4px); }
  82%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}
.mq-result-title { font-size: 8px; font-weight: 700; color: #00c47a; font-family: 'Inter Tight', sans-serif; }
.mq-result-sub { font-size: 6.5px; color: rgba(255,255,255,0.4); font-family: 'Inter', sans-serif; margin-top: 1px; }

/* ── HBL — Design System Components ─────────────────────────────────────── */
.tp-hbl { background: #050d07; color: #00aa55; }
.tp-hbl .tp-phone { background: linear-gradient(180deg, #0d1f12 0%, #050d07 100%); border-color: rgba(0,170,85,0.25); }
.tp-hbl .tp-glow { background: rgba(0,170,85,0.18); }

/* Component showcase — replaces phone with a grid */
.hbl-showcase {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 148px;
  flex-shrink: 0;
}

.hbl-row-label {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,170,85,0.55);
  font-family: 'Inter', sans-serif;
  text-align: center;
}

/* Color tokens row */
.hbl-tokens {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.hbl-token {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  animation: hbl-token-pop 6s infinite;
}
.hbl-token:nth-child(1) { background: #007a38; animation-delay: 0s; }
.hbl-token:nth-child(2) { background: #00aa55; animation-delay: 0.08s; }
.hbl-token:nth-child(3) { background: #5dffa0; animation-delay: 0.16s; }
.hbl-token:nth-child(4) { background: #0d1f12; border-color: rgba(255,255,255,0.08); animation-delay: 0.24s; }
.hbl-token:nth-child(5) { background: #f5f5f0; animation-delay: 0.32s; }
@keyframes hbl-token-pop {
  0%, 5% { transform: scale(0.85); opacity: 0.4; }
  15% { transform: scale(1.08); opacity: 1; }
  22% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Component cards */
.hbl-comps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
}

.hbl-comp {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,170,85,0.18);
  border-radius: 6px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hbl-comp-label { font-size: 6px; color: rgba(255,255,255,0.3); font-family: 'Inter', sans-serif; }

/* Button component */
.hbl-btn-demo {
  background: rgba(0,170,85,0.25);
  border: 1px solid rgba(0,170,85,0.5);
  border-radius: 5px;
  padding: 3px 5px;
  font-size: 6px;
  font-weight: 700;
  color: #5dffa0;
  font-family: 'Inter Tight', sans-serif;
  animation: hbl-btn-pulse 3s ease-in-out infinite;
}
@keyframes hbl-btn-pulse {
  0%, 100% { background: rgba(0,170,85,0.25); border-color: rgba(0,170,85,0.5); }
  30%, 50% { background: rgba(0,170,85,0.45); border-color: rgba(0,170,85,0.8); box-shadow: 0 0 8px rgba(0,170,85,0.3); }
}

/* Input component */
.hbl-input-demo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,170,85,0.3);
  border-radius: 4px;
  padding: 3px 5px;
  font-size: 6px;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  width: 100%;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  animation: hbl-input-fill 4s ease-in-out infinite;
}
@keyframes hbl-input-fill {
  0%, 20% { color: rgba(255,255,255,0.2); border-color: rgba(0,170,85,0.2); }
  40%, 80% { color: rgba(255,255,255,0.65); border-color: rgba(0,170,85,0.55); box-shadow: 0 0 5px rgba(0,170,85,0.15); }
  100% { color: rgba(255,255,255,0.2); border-color: rgba(0,170,85,0.2); }
}

/* Badge component */
.hbl-badge-demo {
  background: rgba(0,196,122,0.12);
  border: 1px solid rgba(0,196,122,0.35);
  border-radius: 5px;
  padding: 2px 4px;
  font-size: 5.5px;
  font-weight: 700;
  color: #00c47a;
  font-family: 'Inter', sans-serif;
  animation: hbl-badge-glow 3s ease-in-out infinite;
}
@keyframes hbl-badge-glow {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 6px rgba(0,196,122,0.35); }
}

/* Typography specimen */
.hbl-type {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,170,85,0.1);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hbl-aa { font-family: 'Inter Tight', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.5px; color: rgba(255,255,255,0.7); line-height: 1; }
.hbl-type-info { }
.hbl-type-name { font-size: 7.5px; font-weight: 700; color: rgba(255,255,255,0.5); font-family: 'Inter Tight', sans-serif; }
.hbl-type-weights { font-size: 6.5px; color: rgba(255,255,255,0.25); font-family: 'Inter', sans-serif; }
.hbl-type-note { font-size: 7px; color: rgba(0,170,85,0.6); font-family: 'Inter', sans-serif; margin-left: auto; white-space: nowrap; }

/* Phone screen for HBL (right side ghost) */
.hbl-phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 7px;
  gap: 4px;
}
.hbl-ps-header { background: rgba(0,170,85,0.1); border-radius: 4px; padding: 3px 6px; }
.hbl-ps-header-lbl { font-size: 6.5px; font-weight: 700; color: rgba(0,170,85,0.7); font-family: 'Inter Tight', sans-serif; text-align: center; }
.hbl-ps-bal {
  background: rgba(0,170,85,0.1);
  border: 1px solid rgba(0,170,85,0.22);
  border-radius: 6px;
  padding: 5px 6px;
  animation: hbl-bal-reveal 6s infinite;
}
@keyframes hbl-bal-reveal {
  0%, 20% { opacity: 0.4; }
  35% { opacity: 1; }
  100% { opacity: 1; }
}
.hbl-ps-bal-lbl { font-size: 6px; color: rgba(255,255,255,0.4); font-family: 'Inter', sans-serif; }
.hbl-ps-bal-amt { font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.8); font-family: 'Inter Tight', sans-serif; letter-spacing: -0.2px; }
.hbl-ps-actions { display: flex; gap: 3px; }
.hbl-ps-act {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 5px;
  padding: 4px 2px;
  text-align: center;
  font-size: 8px;
}
.hbl-ps-act-lbl { font-size: 5.5px; color: rgba(255,255,255,0.3); font-family: 'Inter', sans-serif; display: block; }
.hbl-ps-tx { height: 8px; border-radius: 3px; background: rgba(255,255,255,0.03); }
.hbl-ps-cta {
  background: rgba(0,170,85,0.2);
  border-radius: 7px;
  padding: 4px;
  text-align: center;
  font-size: 6px;
  font-weight: 700;
  color: #5dffa0;
  font-family: 'Inter Tight', sans-serif;
  margin-top: auto;
}

/* ── MILO MOVE — Transfer Arc ────────────────────────────────────────────── */
.tp-milo { background: #0a0600; color: #ff6a00; }
.tp-milo .tp-phone { background: linear-gradient(180deg, #1a0e00 0%, #0a0600 100%); border-color: rgba(255,106,0,0.28); }
.tp-milo .tp-glow { background: rgba(255,106,0,0.22); }

/* Transfer visualization */
.milo-viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
  gap: 8px;
  flex-shrink: 0;
}

.milo-flags {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  position: relative;
  height: 72px;
}

.milo-flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.milo-flag-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1.5px solid;
  flex-shrink: 0;
}

.milo-flag--ae .milo-flag-circle {
  background: rgba(255,106,0,0.07);
  border-color: rgba(255,106,0,0.22);
}
.milo-flag--pk .milo-flag-circle {
  background: rgba(0,128,0,0.07);
  border-color: rgba(0,128,0,0.22);
  animation: milo-pk-receive 6s infinite;
}
@keyframes milo-pk-receive {
  0%, 60% { border-color: rgba(0,128,0,0.22); background: rgba(0,128,0,0.07); box-shadow: none; }
  75% { border-color: rgba(0,196,122,0.7); background: rgba(0,196,122,0.12); box-shadow: 0 0 12px rgba(0,196,122,0.3); }
  100% { border-color: rgba(0,196,122,0.5); background: rgba(0,196,122,0.1); box-shadow: 0 0 8px rgba(0,196,122,0.2); }
}

.milo-flag-lbl { font-size: 7px; color: rgba(255,255,255,0.4); font-family: 'Inter', sans-serif; }

/* Arc connector */
.milo-arc-wrap {
  flex: 1;
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
}

.milo-arc-svg {
  width: 100%;
  overflow: visible;
}

/* Traveling dot is animated via SVG animateMotion — no CSS needed */

@keyframes milo-dot-move {
  0%, 8%  { offset-distance: 0%; opacity: 0; }
  12%  { opacity: 1; }
  60%  { offset-distance: 100%; opacity: 1; }
  68%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 0%; opacity: 0; }
}

/* Amount bubble */
.milo-amount {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,106,0,0.16);
  border: 1px solid rgba(255,106,0,0.38);
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 8px;
  font-weight: 800;
  color: #ffb347;
  font-family: 'Inter Tight', sans-serif;
  white-space: nowrap;
  animation: milo-amount-pulse 6s infinite;
}
@keyframes milo-amount-pulse {
  0%, 10%  { opacity: 0; transform: translateX(-50%) translateY(4px); }
  18%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  70%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Rate row */
.milo-rate {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.milo-rate-lbl { font-size: 7.5px; color: rgba(255,255,255,0.4); font-family: 'Inter', sans-serif; }
.milo-rate-val { font-size: 8px; font-weight: 700; color: rgba(255,255,255,0.7); font-family: 'Inter Tight', sans-serif; }
.milo-rate-check {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(0,196,122,0.12);
  border: 1px solid rgba(0,196,122,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; color: #00c47a;
}

/* Send button */
.milo-send-btn {
  width: 100%;
  background: linear-gradient(90deg, #ff6a00, #ffb347);
  border-radius: 10px;
  padding: 7px 0;
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  font-family: 'Inter Tight', sans-serif;
  color: #0a0600;
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Sending state */
.milo-send-state {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,196,122,0.85);
  font-size: 8px;
  font-weight: 800;
  font-family: 'Inter Tight', sans-serif;
  color: #fff;
  opacity: 0;
  animation: milo-success-show 6s infinite;
}
@keyframes milo-success-show {
  0%, 65%  { opacity: 0; }
  75%  { opacity: 1; }
  95%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Phone screen content for Milo */
.milo-phone-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 6px;
  gap: 4px;
}
.milo-ph-header {
  font-size: 8px;
  font-weight: 700;
  color: #ff6a00;
  font-family: 'Inter Tight', sans-serif;
  text-align: center;
  padding: 2px 0;
}
.milo-ph-flags { display: flex; justify-content: center; align-items: center; gap: 4px; font-size: 12px; padding: 4px 0; }
.milo-ph-arrow { font-size: 10px; color: rgba(255,106,0,0.7); animation: milo-arrow-pulse 1.5s ease-in-out infinite; }
@keyframes milo-arrow-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(2px); }
}
.milo-ph-amt {
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.22);
  border-radius: 6px;
  padding: 5px;
  text-align: center;
}
.milo-ph-amt-main { font-size: 12px; font-weight: 800; color: #fff; font-family: 'Inter Tight', sans-serif; letter-spacing: -0.3px; }
.milo-ph-amt-sub { font-size: 6px; color: rgba(255,255,255,0.35); font-family: 'Inter', sans-serif; margin-top: 1px; }
.milo-ph-rate { font-size: 7px; color: rgba(255,255,255,0.35); font-family: 'Inter', sans-serif; text-align: center; padding: 2px 0; }
.milo-ph-btn {
  background: linear-gradient(90deg, #ff6a00, #ffb347);
  border-radius: 7px;
  padding: 5px;
  text-align: center;
  font-size: 7px;
  font-weight: 800;
  font-family: 'Inter Tight', sans-serif;
  color: #0a0600;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}
.milo-ph-btn-success {
  position: absolute;
  inset: 0;
  background: #00c47a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 800;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  opacity: 0;
  animation: milo-btn-flip 6s infinite;
}
@keyframes milo-btn-flip {
  0%, 62%  { opacity: 0; }
  70%  { opacity: 1; }
  95%  { opacity: 1; }
  100% { opacity: 0; }
}
