/* =====================================================
   APP PREVIEW MODALS (WHATSAPP & SNAPCHAT)
   ===================================================== */

/* Shared Modal Backdrop */
.sn-preview-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 12, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.sn-preview-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* -----------------------------------------------------
   1. WHATSAPP DARK-MODE CHAT STYLES
   ----------------------------------------------------- */
.sn-wa-window {
  background: #0b141a;
  border: 1px solid #222e35;
  border-radius: 22px;
  width: 100%;
  max-width: 660px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #e9edef;
}

.sn-preview-backdrop.open .sn-wa-window {
  transform: translateY(0) scale(1);
}

.sn-wa-body {
  padding: 24px 20px;
  background-color: #0b141a;
  background-image: 
    radial-gradient(#1f2c34 1px, transparent 1px),
    radial-gradient(#1f2c34 1px, #0b141a 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.sn-wa-header {
  background: #111b21;
  border-bottom: 1px solid #202c33;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sn-wa-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sn-wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #00a884;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 168, 132, 0.3);
}

.sn-wa-avatar svg {
  width: 22px;
  height: 22px;
  fill: #111b21;
}

.sn-wa-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #e9edef;
}

.sn-wa-status {
  font-size: 0.78rem;
  color: #8696a0;
  margin-top: 1px;
}

.sn-wa-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #202c33;
  color: #aebac1;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.sn-wa-close-btn:hover {
  background: #2a3942;
  color: #ffffff;
}

.sn-wa-bubble {
  max-width: 82%;
  padding: 10px 14px 8px;
  border-radius: 12px;
  position: relative;
  font-size: 1.02rem;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.sn-wa-bubble-incoming {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-top-left-radius: 2px;
}

.sn-wa-bubble-outgoing {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-top-right-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sn-wa-bubble-outgoing .sn-wa-preview-text {
  font-size: 1.2rem;
  font-weight: 600;
}

.sn-wa-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.68rem;
  color: rgba(233, 237, 239, 0.6);
  margin-top: 4px;
  float: right;
  margin-left: 12px;
}

.sn-wa-checks {
  color: #53bdeb;
  font-weight: 800;
  letter-spacing: -2px;
  font-size: 0.72rem;
}

.sn-wa-footer {
  background: #111b21;
  border-top: 1px solid #202c33;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sn-wa-copy-btn {
  background: #00a884;
  color: #111b21;
  border: none;
  border-radius: 10px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sn-wa-copy-btn:hover {
  background: #06cf9c;
}

/* -----------------------------------------------------
   2. SNAPCHAT STORY / CAMERA PREVIEW STYLES
   ----------------------------------------------------- */
.sn-snap-window {
  background: #000000;
  border: 1px solid #27272a;
  border-radius: 24px;
  width: 100%;
  max-width: 440px; /* Authentic vertical phone frame */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
}

.sn-preview-backdrop.open .sn-snap-window {
  transform: translateY(0) scale(1);
}

/* Snap Camera Viewfinder Canvas */
.sn-snap-canvas {
  position: relative;
  min-height: 420px;
  background: 
    radial-gradient(circle at 50% 30%, #1f2937 0%, #111827 50%, #000000 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 14px;
}

/* Camera Lens subtle grid/frame */
.sn-snap-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

/* Snap Header */
.sn-snap-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sn-snap-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sn-snap-avatar-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fffc00; /* Signature Snapchat Yellow */
  background: #1e1e24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 0 10px rgba(255, 252, 0, 0.35);
  flex-shrink: 0;
}

.sn-snap-username {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.sn-snap-time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1px;
}

.sn-snap-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.sn-snap-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* The Iconic Translucent Snapchat Caption Bar */
.sn-snap-center-stage {
  position: relative;
  z-index: 2;
  margin: auto 0;
  width: 100%;
}

.sn-snap-caption-bar {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 18px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
}

.sn-snap-caption-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  line-height: 1.35;
}

/* Snap Footer (Story Bar & Chat reply) */
.sn-snap-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sn-snap-chat-fake {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.sn-snap-send-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0096e6; /* Snapchat Blue Send Icon */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
}

/* Snap Bottom Copy Button */
.sn-snap-copy-btn {
  background: #fffc00; /* Snapchat Yellow */
  color: #000000;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(255, 252, 0, 0.3);
}

.sn-snap-copy-btn:hover {
  background: #fff44f;
  transform: translateY(-1px);
}

/* Shared Card Trigger Button inside Grid Card */
.sn-preview-trigger-btn {
  background: transparent;
  border: 1px solid var(--sn-line);
  color: var(--sn-ink-soft);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sn-preview-trigger-btn:hover {
  background: var(--sn-mint-bg);
  border-color: var(--sn-mint-border);
  color: var(--sn-ink);
}

@media (max-width: 575px) {
  .sn-snap-window {
    border-radius: 18px;
    max-width: 360px;
  }
  .sn-snap-canvas {
    min-height: 380px;
    padding: 14px 10px;
  }
  .sn-snap-caption-text {
    font-size: 1.15rem;
  }
}
/* =====================================================
   3. TIKTOK "FOR YOU PAGE" (FYP) PREVIEW MODAL
   ===================================================== */
.sn-tiktok-window {
  background: #000000;
  border: 1px solid #262626;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
}

.sn-preview-backdrop.open .sn-tiktok-window {
  transform: translateY(0) scale(1);
}

/* TikTok Vertical Video Stage */
.sn-tt-stage {
  position: relative;
  min-height: 480px;
  background: radial-gradient(circle at 60% 40%, #1c1c1e 0%, #0d0d0d 60%, #000000 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 14px 12px;
  overflow: hidden;
}

/* Top Bar: Following | For You + Close */
.sn-tt-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.sn-tt-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
  margin-right: auto;
}

.sn-tt-tab.active {
  color: #ffffff;
  position: relative;
}

.sn-tt-tab.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.sn-tt-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
  position: absolute;
  right: 0;
  top: 0;
}

.sn-tt-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Middle Layout: Left Content vs Right Action Bar */
.sn-tt-middle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 12px;
}

/* Bottom Left: Creator Tag & Styled Caption */
.sn-tt-left-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.sn-tt-handle {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sn-tt-verify-check {
  width: 14px;
  height: 14px;
  background: #20d5ec; /* TikTok Blue Verification Check */
  color: #000;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
}

/* The Target Styled Font as TikTok Caption */
.sn-tt-caption-box {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid #fe2c55; /* TikTok Pink Accent */
}

.sn-tt-caption-text {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.sn-tt-hashtags {
  font-size: 0.78rem;
  color: #fe2c55;
  font-weight: 700;
  margin-top: 2px;
}

.sn-tt-music-marquee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

/* Right Side: TikTok Action Rail */
.sn-tt-action-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.sn-tt-avatar-box {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  background: #1e1e24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sn-tt-follow-plus {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fe2c55; /* TikTok Red/Pink Plus */
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.sn-tt-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.sn-tt-action-btn svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Spinning Vinyl Record */
.sn-tt-disc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(#111 0deg, #333 90deg, #111 180deg, #333 270deg, #111 360deg);
  border: 4px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sn-tt-spin 3.5s linear infinite;
}

.sn-tt-disc-inner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fe2c55;
}

@keyframes sn-tt-spin {
  100% { transform: rotate(360deg); }
}

/* Bottom Copy Button */
.sn-tt-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}

.sn-tt-copy-btn {
  background: #fe2c55; /* TikTok Brand Red */
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(254, 44, 85, 0.4);
}

.sn-tt-copy-btn:hover {
  background: #e02047;
  transform: translateY(-1px);
}

@media (max-width: 575px) {
  .sn-tiktok-window {
    border-radius: 18px;
    max-width: 350px;
  }
  .sn-tt-stage {
    min-height: 440px;
  }
  .sn-tt-caption-text {
    font-size: 1.1rem;
  }
}
/* =====================================================
   4. INSTAGRAM PROFILE & BIO PREVIEW MODAL
   ===================================================== */
.sn-ig-window {
  background: #000000;
  border: 1px solid #262626;
  border-radius: 22px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #f5f5f5;
}

.sn-preview-backdrop.open .sn-ig-window {
  transform: translateY(0) scale(1);
}

/* Instagram Header */
.sn-ig-header {
  padding: 14px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1c1c1c;
}

.sn-ig-top-handle {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sn-ig-verified {
  width: 14px;
  height: 14px;
  background: #0095f6;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
}

.sn-ig-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #1c1c1c;
  color: #a8a8a8;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.sn-ig-close-btn:hover {
  background: #2c2c2c;
  color: #ffffff;
}

/* Instagram Body */
.sn-ig-body {
  padding: 18px;
}

/* Profile Row: Avatar & Stats */
.sn-ig-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

/* Iconic Story Gradient Ring */
.sn-ig-avatar-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sn-ig-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #121212;
  border: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Stats Counter Row */
.sn-ig-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
}

.sn-ig-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sn-ig-stat-num {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
}

.sn-ig-stat-label {
  font-size: 0.72rem;
  color: #a8a8a8;
}

/* Bio Section (Focus on Styled Font) */
.sn-ig-bio-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.sn-ig-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.sn-ig-badge-tag {
  font-size: 0.75rem;
  color: #8e8e8e;
  margin-bottom: 2px;
}

/* THE TARGET STYLED FONT */
.sn-ig-target-text {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: anywhere;
  padding: 6px 10px;
  background: #121212;
  border-radius: 8px;
  border: 1px dashed #262626;
  margin: 4px 0;
}

.sn-ig-link {
  font-size: 0.8rem;
  color: #e0f1ff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Fake Action Buttons */
.sn-ig-btn-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.sn-ig-pill-btn {
  flex: 1;
  background: #262626;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 7px 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

/* Copy Action */
.sn-ig-copy-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 18px rgba(220, 39, 67, 0.4);
}

.sn-ig-copy-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}
/* =====================================================
   5. DISCORD CHAT & SERVER NICKNAME PREVIEW MODAL
   ===================================================== */
.sn-discord-window {
  background: #313338; /* Discord Native Dark Theme */
  border: 1px solid #1f2023;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: 'gg sans', 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #dbdee1;
}

.sn-preview-backdrop.open .sn-discord-window {
  transform: translateY(0) scale(1);
}

/* Discord Channel Top Bar */
.sn-dc-header {
  background: #2b2d31;
  border-bottom: 1px solid #1f2023;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sn-dc-channel-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sn-dc-hash-icon {
  font-size: 1.25rem;
  color: #80848e;
  font-weight: 800;
  line-height: 1;
}

.sn-dc-channel-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #f2f3f5;
}

.sn-dc-channel-divider {
  width: 1px;
  height: 16px;
  background: #4e5058;
}

.sn-dc-channel-desc {
  font-size: 0.76rem;
  color: #949ba4;
}

.sn-dc-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #383a40;
  color: #b5bac1;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.sn-dc-close-btn:hover {
  background: #474a52;
  color: #ffffff;
}

/* Discord Chat Body */
.sn-dc-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #313338;
}

/* Individual Discord Message Item */
.sn-dc-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sn-dc-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.sn-dc-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #5865f2; /* Discord Blurple */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
}

.sn-dc-avatar.friend {
  background: #23a55a;
}

/* Green Online Status Dot */
.sn-dc-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #23a55a; /* Discord Online Green */
  border: 3px solid #313338;
}

.sn-dc-msg-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sn-dc-author-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* TARGET STYLED NICKNAME */
.sn-dc-author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1c40f; /* High-rank Gold Role Color */
  cursor: pointer;
  letter-spacing: -0.01em;
}

.sn-dc-role-badge {
  background: #5865f2; /* Discord Blurple Badge */
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sn-dc-timestamp {
  font-size: 0.7rem;
  color: #949ba4;
}

.sn-dc-text {
  font-size: 0.95rem;
  color: #dbdee1;
  line-height: 1.45;
  word-break: break-word;
}

/* Discord Fake Message Input Bar */
.sn-dc-input-fake {
  background: #383a40;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6d6f78;
  font-size: 0.85rem;
  margin-top: 4px;
}

.sn-dc-input-icons {
  display: flex;
  gap: 8px;
  font-size: 1rem;
}

/* Footer & Discord Blurple Copy Action */
.sn-dc-footer {
  background: #2b2d31;
  border-top: 1px solid #1f2023;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sn-dc-copy-btn {
  background: #5865f2; /* Discord Blurple */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.sn-dc-copy-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

@media (max-width: 575px) {
  .sn-dc-channel-desc,
  .sn-dc-channel-divider {
    display: none;
  }
  .sn-dc-body {
    padding: 16px 12px;
  }
  .sn-dc-author-name {
    font-size: 0.95rem;
  }
}
/* =====================================================
   6. PUBG MOBILE / BGMI PROFILE CARD PREVIEW MODAL
   ===================================================== */
.sn-pubg-window {
  background: #181d20; /* Tactical PUBG Charcoal */
  border: 1px solid #2f373d;
  border-top: 3px solid #f3a808; /* Signature PUBG Gold Top Border */
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #d1d5db;
}

.sn-preview-backdrop.open .sn-pubg-window {
  transform: translateY(0) scale(1);
}

/* PUBG Military Header Bar */
.sn-pubg-topbar {
  background: #13171a;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #242b30;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.sn-pubg-uid-group {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
}

.sn-pubg-uid {
  color: #f3f4f6;
  font-family: monospace;
  letter-spacing: 0.05em;
}

.sn-pubg-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
}

.sn-pubg-close-btn {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid #374151;
  background: #1f2937;
  color: #9ca3af;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.sn-pubg-close-btn:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

/* Profile Card Canvas */
.sn-pubg-canvas {
  position: relative;
  padding: 20px 18px 16px;
  background: linear-gradient(135deg, #1b2125 0%, #15191c 100%);
  overflow: hidden;
}

/* Level 3 Helmet Watermark Silhouette on Right */
.sn-pubg-helmet-watermark {
  position: absolute;
  right: -10px;
  bottom: -15px;
  width: 220px;
  height: 220px;
  opacity: 0.08;
  pointer-events: none;
  fill: #ffffff;
}

/* Main Profile Content: Avatar + Player Info */
.sn-pubg-main-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

/* Metallic Avatar Frame */
.sn-pubg-avatar-box {
  position: relative;
  width: 78px;
  height: 78px;
  border: 3px solid #786443; /* Bronze/Gold Metallic Border */
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 4px 12px rgba(0, 0, 0, 0.6);
  background: #111417;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px;
}

.sn-pubg-avatar-silhouette {
  width: 44px;
  height: 44px;
  fill: #4b5563;
}

/* Corner Level Badge */
.sn-pubg-avatar-level {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 0.85rem;
  font-weight: 900;
  color: #f3f4f6;
  text-shadow: 0 1px 3px #000;
  line-height: 1;
}

/* Player Details Column */
.sn-pubg-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Player Name Row: Flag + Rank Badge + STYLED NAME */
.sn-pubg-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sn-pubg-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.sn-pubg-rank-badge {
  font-size: 1.1rem;
  line-height: 1;
}

/* THE TARGET STYLED IN-GAME NAME (IGN) */
.sn-pubg-target-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.sn-pubg-name-copy-icon {
  font-size: 0.9rem;
  color: #9ca3af;
  cursor: pointer;
}

/* In-Game Metric Badges (RP, Likes, Synergy) */
.sn-pubg-pills-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.sn-pubg-stat-pill {
  background: #111417;
  border: 1px solid #272f36;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sn-pubg-stat-pill.rp {
  color: #f3a808;
  border-color: #5c4308;
}

/* Clan Status Row */
.sn-pubg-clan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.sn-pubg-clan-text {
  font-size: 0.78rem;
  color: #9ca3af;
}

.sn-pubg-clan-btn {
  background: transparent;
  border: 1px solid #4b5563;
  color: #e5e7eb;
  padding: 2px 14px;
  border-radius: 3px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sn-pubg-clan-btn:hover {
  background: #374151;
}

/* Progress Meters (Player Level & Evo Level) */
.sn-pubg-meters {
  position: relative;
  z-index: 2;
  border-top: 1px solid #272f36;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sn-pubg-meter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #9ca3af;
}

.sn-pubg-meter-label {
  color: #d1d5db;
}

.sn-pubg-meter-val {
  font-family: monospace;
  color: #6b7280;
}

/* Footer Action */
.sn-pubg-footer {
  background: #13171a;
  border-top: 1px solid #242b30;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sn-pubg-copy-btn {
  background: #f3a808; /* PUBG Signature Yellow/Gold */
  color: #000000;
  border: none;
  border-radius: 8px;
  padding: 9px 24px;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(243, 168, 8, 0.35);
  margin-left: auto;
}

.sn-pubg-copy-btn:hover {
  background: #ffb71b;
  transform: translateY(-1px);
}

@media (max-width: 575px) {
  .sn-pubg-window {
    border-radius: 12px;
  }
  .sn-pubg-avatar-box {
    width: 64px;
    height: 64px;
  }
  .sn-pubg-target-name {
    font-size: 1.15rem;
  }
  .sn-pubg-helmet-watermark {
    width: 150px;
    height: 150px;
  }
}
/* =====================================================
   7. FREE FIRE (FF MAX) IN-GAME BANNER PREVIEW MODAL
   ===================================================== */
.sn-ff-window {
  background: #0f1115;
  border: 2px solid #5b21b6; /* High-tier Violet Banner Border */
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 25px rgba(109, 40, 217, 0.35);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
}

.sn-preview-backdrop.open .sn-ff-window {
  transform: translateY(0) scale(1);
}

/* Modal Close Button */
.sn-ff-top-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.sn-ff-top-close:hover {
  background: #ef4444;
  border-color: #ef4444;
}

/* Free Fire Banner Canvas */
.sn-ff-banner-card {
  position: relative;
  background: #14171d;
  padding: 16px 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid #232733;
}

/* Diagonal Yellow Energy Slash on Left */
.sn-ff-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 70%, #b45309 100%);
  clip-path: polygon(0 0, 100% 0, 68% 100%, 0 100%);
  opacity: 0.95;
  z-index: 1;
}

/* Top Banner Bar: FREE FIRE Logo & Guild Info */
.sn-ff-top-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sn-ff-brand-logo {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-style: italic;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.sn-ff-flame-i {
  color: #ffb800;
  font-style: normal;
  text-shadow: 0 0 8px rgba(255, 184, 0, 0.8);
}

/* Guild Badge / Crest */
.sn-ff-guild-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #e2e8f0;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-right: 36px; /* Clearance for close button */
}

.sn-ff-guild-icon {
  font-size: 0.95rem;
}

/* Main Body Row: Avatar + Name Plate */
.sn-ff-main-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Avatar Box with Level Badge */
.sn-ff-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.sn-ff-avatar-frame {
  width: 72px;
  height: 72px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.5);
  background: radial-gradient(circle at center, #f59e0b 0%, #78350f 70%, #1f2937 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  font-size: 2rem;
}

.sn-ff-level-badge {
  font-size: 0.82rem;
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.05em;
}

/* White Name Card Plate (Exact from Screenshot) */
.sn-ff-name-plate {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border-radius: 4px;
  padding: 8px 14px 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  color: #111827;
  position: relative;
}

/* TARGET STYLED IN-GAME NAME (IGN) */
.sn-ff-target-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.06em;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.sn-ff-sub-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 1px;
  margin-bottom: 6px;
}

/* Status Icons Row (Calendar, Clock, Crosshairs) */
.sn-ff-icons-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #475569;
}

/* Bottom Stats Bar: Likes & UID */
.sn-ff-bottom-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 6px;
}

.sn-ff-likes-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 900;
  color: #f1f5f9;
  letter-spacing: 0.04em;
  margin-left: auto;
  margin-right: 14px;
}

.sn-ff-likes-icon {
  color: #f59e0b;
  font-size: 1rem;
}

.sn-ff-uid-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Free Fire Action Footer */
.sn-ff-footer {
  background: #0d0f13;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sn-ff-copy-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #dc2626 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.4);
  margin-left: auto;
}

.sn-ff-copy-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

@media (max-width: 575px) {
  .sn-ff-avatar-frame {
    width: 60px;
    height: 60px;
  }
  .sn-ff-target-name {
    font-size: 1.15rem;
  }
  .sn-ff-guild-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
  }
}