/* FlashWatcher — Phone Discord mockup (extrait de V2 FlashWatcherpage.html, scopé .fv-phone-stage) */
.fv-phone-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.fv-phone-stage * { box-sizing: border-box; }
.fv-phone-stage .phone-mock {
  position: relative;
  width: 320px;
  height: 660px;
  margin: 0 auto;
  background: linear-gradient(155deg, #1a1c20 0%, #0a0b0d 40%, #050608 100%);
  border-radius: 46px;
  padding: 5px;
  transform: rotate(3.5deg);
  transform-origin: center center;
  box-shadow:
    0 40px 80px -10px rgba(0,0,0,0.65),
    0 20px 40px -10px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 120px rgba(9,177,186,0.06);
}
.fv-phone-stage .phone-mock::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.06) 15%,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0) 70%,
    rgba(255,255,255,0.04) 85%,
    rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 11;
}
.fv-phone-stage .phone-mock::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px;
  background: #000;
  border-radius: 18px;
  z-index: 10;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.fv-phone-stage .phone-screen {
  width: 100%; height: 100%;
  background: #2b2d31;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.6);
}
.fv-phone-stage .phone-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px 0;
  height: 50px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  position: relative; z-index: 5;
  background: #1e1f22;
}
.fv-phone-stage .phone-status-icons { display: flex; align-items: center; gap: 4px; }
.fv-phone-stage .phone-status-icons svg { width: 15px; height: 11px; fill: #fff; }
.fv-phone-stage .phone-status-batt {
  width: 24px; height: 11px;
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 3px; position: relative;
  padding: 1px;
}
.fv-phone-stage .phone-status-batt::after {
  content: ''; position: absolute; right: -3px; top: 3px;
  width: 2px; height: 5px;
  background: rgba(255,255,255,0.85);
  border-radius: 0 1px 1px 0;
}
.fv-phone-stage .phone-status-batt-fill {
  background: #fff; height: 100%; width: 82%; border-radius: 1.5px;
}
.fv-phone-stage .dm-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #1e1f22;
  border-bottom: 1px solid rgba(0,0,0,0.4);
}
.fv-phone-stage .dm-head-back { color: rgba(255,255,255,0.7); display: flex; }
.fv-phone-stage .dm-head-back svg { width: 18px; height: 18px; }
.fv-phone-stage .dm-channel-icon {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  flex-shrink: 0;
}
.fv-phone-stage .dm-channel-icon::before {
  content: '#'; font-size: 14px; font-weight: 700; line-height: 1;
}
.fv-phone-stage .dm-channel-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.1; }
.fv-phone-stage .dm-channel-meta { font-size: 10.5px; color: rgba(255,255,255,0.5); display: flex; align-items: center; }
.fv-phone-stage .dm-channel-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #23a55a;
  box-shadow: 0 0 6px rgba(35,165,90,0.6);
  margin-right: 5px; display: inline-block;
  animation: blink 2s ease-in-out infinite;
}
.fv-phone-stage .dm-head-info { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
@keyframes blink {0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
 }
.fv-phone-stage .dm-body {
  padding: 10px 14px 8px;
  background: #313338;
  height: calc(100% - 50px - 47px - 44px);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.fv-phone-stage .dm-feed {
  display: flex; flex-direction: column-reverse;
  gap: 14px;
  flex: 1; min-height: 0;
  margin-top: 8px;
  position: relative;
  mask-image: linear-gradient(180deg, transparent 0, #000 28px, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28px, #000 100%);
}
.fv-phone-stage .dm-msg.popping {
  animation: dmPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform-origin: top left;
}
.fv-phone-stage .dm-msg.leaving {
  animation: dmLeave 0.4s cubic-bezier(0.4, 0, 1, 1) forwards;
}
@keyframes dmPop {0% { opacity: 0; transform: translateY(-12px) scale(0.92); }
60% { opacity: 1; transform: translateY(2px) scale(1.02); }
100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dmLeave {0% { opacity: 1; transform: translateY(0); max-height: 200px; margin-bottom: 14px; }
100% { opacity: 0; transform: translateY(8px); max-height: 0; margin-bottom: -14px; }
}
.fv-phone-stage .dm-msg.popping .dm-avatar {
  animation: avatarPulse 0.8s ease-out;
}
@keyframes avatarPulse {0% { box-shadow: 0 0 0 0 rgba(9,177,186,0.7); }
100% { box-shadow: 0 0 0 12px rgba(9,177,186,0); }
}
.fv-phone-stage .dm-day-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 2px 0 4px;
  font-family: var(--mono); font-size: 9.5px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.fv-phone-stage .dm-day-divider::before, .fv-phone-stage .dm-day-divider::after {
  content: ''; height: 1px; background: rgba(255,255,255,0.08); flex: 1;
}
.fv-phone-stage .dm-msg {
  display: flex; gap: 9px;
}
.fv-phone-stage .dm-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff;
  box-shadow: 0 0 12px rgba(9,177,186,0.4);
}
.fv-phone-stage .dm-avatar svg { width: 15px; height: 15px; }
.fv-phone-stage .dm-body-content { flex: 1; min-width: 0; }
.fv-phone-stage .dm-user {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 3px;
}
.fv-phone-stage .dm-user-name { font-size: 13px; font-weight: 600; color: #fff; }
.fv-phone-stage .dm-user-badge {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 1px 4px 1px 3px;
  background: var(--accent); color: #fff;
  border-radius: 3px;
  font-size: 8px; font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.fv-phone-stage .dm-user-badge svg { width: 8px; height: 8px; }
.fv-phone-stage .dm-user-time { font-size: 10px; color: rgba(255,255,255,0.45); }
.fv-phone-stage .dm-embed {
  margin-top: 3px;
  background: #2b2d31;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 9px 11px;
}
.fv-phone-stage .dm-embed-title {
  font-size: 12.5px; font-weight: 600; color: #fff;
  margin-bottom: 7px; line-height: 1.3;
}
.fv-phone-stage .dm-embed-photo {
  width: 100%; height: 110px;
  border-radius: 6px;
  background-size: cover; background-position: center;
  margin-bottom: 8px;
}
.fv-phone-stage .dm-embed-photo.p1 { background: linear-gradient(135deg, #d4202b 0%, #b91c2d 40%, #1a1a1a 100%); position: relative; }
.fv-phone-stage .dm-embed-photo.p1::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,0,0,0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.15) 0%, transparent 40%);
  border-radius: inherit;
}
.fv-phone-stage .dm-embed-photo.p2 { background: linear-gradient(135deg, #d4b896 0%, #b89968 40%, #6e5a3a 100%); position: relative; }
.fv-phone-stage .dm-embed-photo.p3 { background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 40%, #2a2a2a 100%); position: relative; }
.fv-phone-stage .dm-embed-photo.p4 { background: linear-gradient(135deg, #8b5e3c 0%, #5e3a22 50%, #2e1a0e 100%); position: relative; }
.fv-phone-stage .dm-embed-photo.p5 { background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 30%, #5a7e5a 100%); position: relative; }
.fv-phone-stage .dm-embed-photo.p3::after, .fv-phone-stage .dm-embed-photo.p4::after, .fv-phone-stage .dm-embed-photo.p5::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,0,0,0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.12) 0%, transparent 40%);
  border-radius: inherit;
}
.fv-phone-stage .dm-embed-photo.p2::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.25), transparent 60%);
  border-radius: inherit;
}
.fv-phone-stage .dm-embed-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px;
  margin-bottom: 6px;
}
.fv-phone-stage .dm-embed-field-label {
  font-size: 9.5px; color: rgba(255,255,255,0.55); font-weight: 600;
  margin-bottom: 1px; text-transform: uppercase; letter-spacing: 0.03em;
}
.fv-phone-stage .dm-embed-field-value { font-size: 12px; color: #fff; font-weight: 500; }
.fv-phone-stage .dm-embed-field-value.price { color: var(--accent); font-weight: 700; font-size: 13px; }
.fv-phone-stage .dm-embed-field-value.disc { color: #f59e0b; font-weight: 700; font-family: var(--mono); font-size: 11px; }
.fv-phone-stage .dm-embed-foot {
  font-family: var(--mono); font-size: 9px; color: rgba(255,255,255,0.45);
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px;
}
.fv-phone-stage .dm-embed-foot::before { content: '⚡'; color: var(--accent); }
.fv-phone-stage .dm-typing {
  position: absolute; bottom: 44px; left: 0; right: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #1e1f22;
  border-top: 1px solid rgba(0,0,0,0.3);
  font-size: 11px; color: rgba(255,255,255,0.55);
}
.fv-phone-stage .dm-typing-dots { display: inline-flex; gap: 3px; }
.fv-phone-stage .dm-typing-dots span {
  width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.4);
  animation: typing 1.4s ease-in-out infinite;
}
.fv-phone-stage .dm-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.fv-phone-stage .dm-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
30% { transform: translateY(-3px); opacity: 1; }
}
.fv-phone-stage .phone-home-indicator {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  z-index: 5;
}
.fv-phone-stage .float-stat {
  position: absolute;
  padding: 11px 16px;
  background: var(--surf2); border: 1px solid var(--border2);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  display: flex; align-items: center; gap: 10px;
  z-index: 5;
}
.fv-phone-stage .float-stat.tl { top: 40px; left: -50px; transform: rotate(2deg); }
.fv-phone-stage .float-stat.br { bottom: 60px; right: -50px; transform: rotate(-2deg); }
.fv-phone-stage .float-stat-num {
  font-family: var(--mono); font-size: 18px; font-weight: 700;
  color: var(--accent); letter-spacing: -0.02em; line-height: 1;
}
.fv-phone-stage .float-stat-label { font-size: 10px; color: var(--text3); font-family: var(--mono); letter-spacing: 0.04em; margin-top: 2px; line-height: 1.2; }
.fv-phone-stage .float-stat-text { display: flex; flex-direction: column; }
.fv-phone-stage .sec { padding: 90px 0 100px; }
