/* FanArab — الصفحة الرئيسية (تطبيق) */

:root {
  /* ارتفاع الشريط (مع الحشو الداخلي، بدون هامش تحت المتصفح) + منطقة آمنة أسفل الشاشة داخل الشريط */
  --store-bottom-nav-bar-h: 78px;
  --store-bottom-nav-height: calc(
    var(--store-bottom-nav-bar-h) + env(safe-area-inset-bottom, 0px)
  );
  --store-header-h: 60px;
  --store-top-tabs-h: 48px;
}

/* الهيدر + شريط الرئيسية / المبدعون / البث */
body.store-app-home.store-pro {
  padding-top: calc(
    var(--store-header-h) + var(--store-top-tabs-h) + env(safe-area-inset-top, 0px)
  );
}
body.store-app-home.store-pro.store-search-panel-open {
  padding-top: calc(132px + var(--store-top-tabs-h) + env(safe-area-inset-top, 0px));
}

@media (max-width: 720px) {
  body.store-app-home.store-pro {
    --store-header-h: 62px;
  }
  body.store-app-home.store-pro.store-search-panel-open {
    padding-top: calc(140px + var(--store-top-tabs-h) + env(safe-area-inset-top, 0px));
  }
}

/* شريط التبويب العلوي — 3 خانات */
body.store-app-home .store-top-tabs {
  position: fixed;
  top: calc(var(--store-header-h) + env(safe-area-inset-top, 0px) - 4px);
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  height: var(--store-top-tabs-h);
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

body.store-app-home.store-search-panel-open .store-top-tabs {
  top: calc(132px + env(safe-area-inset-top, 0px) - 4px);
}

@media (max-width: 720px) {
  body.store-app-home.store-search-panel-open .store-top-tabs {
    top: calc(140px + env(safe-area-inset-top, 0px) - 4px);
  }
}


/* ——— تبويب المبدعون (دليل الحسابات) ——— */
body.store-app-home #store-panel-creators {
  padding: 0 14px 28px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 120px);
}

body.store-app-home .creators-dir-head {
  padding: 16px 4px 14px;
  text-align: center;
}

body.store-app-home .creators-dir-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

body.store-app-home .creators-dir-title i {
  color: #1d9bf0;
  margin-left: 6px;
  font-size: 0.95em;
}

body.store-app-home .creators-dir-sub {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

body.store-app-home .creators-dir-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 8px;
}

@media (min-width: 520px) {
  body.store-app-home .creators-dir-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

body.store-app-home .creators-dir-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  min-width: 0;
}

body.store-app-home .creators-dir-card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.08);
}

body.store-app-home .creators-dir-card.is-live {
  border-color: rgba(254, 44, 85, 0.28);
  box-shadow: 0 4px 18px rgba(254, 44, 85, 0.1);
}

body.store-app-home .creators-dir-avatar-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

body.store-app-home .creators-dir-avatar-ring {
  width: 64px;
  height: 64px;
  margin: 2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  box-sizing: content-box;
}

body.store-app-home .creators-dir-avatar-ring.is-live-ring {
  background: linear-gradient(135deg, #fe2c55, #ff6b9d, #fe2c55);
  animation: creators-dir-live-pulse 2.2s ease-in-out infinite;
}

@keyframes creators-dir-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

body.store-app-home .creators-dir-avatar {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  background: #e2e8f0;
}

/* توثيق صغير على زاوية الصورة — مثل التطبيقات الاحترافية */
body.store-app-home .creators-dir-verified-pin {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  --verified-size: 17px;
  width: 17px;
  height: 17px;
  min-width: 17px;
  max-width: 17px;
  min-height: 17px;
  max-height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  padding: 1px;
  box-sizing: border-box;
}

body.store-app-home .creators-dir-verified-pin .fan-verified-badge-svg,
body.store-app-home .creators-dir-verified-pin svg {
  display: block;
  width: 100%;
  height: 100%;
}

body.store-app-home .creators-dir-live-dot {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  padding: 2px 6px;
  border-radius: 6px;
  background: #fe2c55;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border: 2px solid #fff;
  line-height: 1.2;
}

body.store-app-home .creators-dir-body {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

body.store-app-home .creators-dir-name {
  margin: 0;
  font-weight: 800;
  font-size: 0.86rem;
  color: #0f172a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  width: 100%;
}

body.store-app-home .creators-dir-handle {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  width: 100%;
  direction: ltr;
}

body.store-app-home .creators-dir-meta {
  margin: 4px 0 0;
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* قائمة ⋯ للمنشور */
body.store-app-home .fs-post-menu-wrap {
  position: relative;
  flex-shrink: 0;
}

body.store-app-home .fs-post-menu-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 168px;
  padding: 6px 0;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  z-index: 40;
}

body.store-app-home .fs-post-menu-dropdown.hidden {
  display: none;
}

body.store-app-home .fs-post-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  text-align: right;
  direction: rtl;
}

body.store-app-home .fs-post-menu-item:active {
  background: rgba(15, 23, 42, 0.06);
}

body.store-app-home .fs-post-menu-item i {
  width: 18px;
  color: #64748b;
}

body.store-app-home .fs-stat-bookmark.is-saved,
body.store-app-home .fs-stat-bookmark.is-saved i {
  color: #1d9bf0;
}

body.store-app-home .store-top-tab {
  flex: 1;
  max-width: 140px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  position: relative;
  padding: 10px 6px 12px;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

body.store-app-home .store-top-tab::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
  transform: scaleX(0.6);
}

body.store-app-home .store-top-tab.is-active {
  color: #1d9bf0;
  font-weight: 800;
}

body.store-app-home .store-top-tab.is-active::after {
  background: #1d9bf0;
  transform: scaleX(1);
}

body.store-app-home .store-top-tab:active:not(.is-active) {
  color: #334155;
}

body.store-app-home .store-panel-placeholder {
  text-align: center;
  padding: 48px 24px 64px;
  color: #64748b;
}

body.store-app-home .store-panel-placeholder .store-empty-icon {
  font-size: 2.5rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

body.store-app-home .store-panel-head--center {
  text-align: center;
}

/* ——— الرئيسية: خلاصة منشورات (ستايل احترافي) ——— */
body.store-app-home #store-panel-home {
  padding: 0;
  margin: 0 -10px;
  width: calc(100% + 20px);
  max-width: none;
  background: #fff;
}

@media (min-width: 740px) {
  body.store-app-home #store-panel-home {
    margin: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
  }
}

body.store-app-home .home-feed-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 20px;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}

body.store-app-home .home-feed-status i {
  font-size: 2rem;
  color: #94a3b8;
}

body.store-app-home .home-feed-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(29, 155, 240, 0.2);
  border-top-color: #1d9bf0;
  border-radius: 50%;
  animation: home-feed-spin 0.8s linear infinite;
}

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

body.store-app-home .home-posts-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #fff;
}

/* —— بطاقة منشور —— */
body.store-app-home .fs-post {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  padding-bottom: 10px;
  margin-bottom: 2px;
}

body.store-app-home .fs-post-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px 8px;
  direction: ltr;
}

body.store-app-home .fs-post-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
  text-decoration: none;
  color: inherit;
  direction: rtl;
}

body.store-app-home .fs-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

body.store-app-home .fs-post-user-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

body.store-app-home .fs-post-name-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

body.store-app-home .fs-post-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: #0f172a;
  line-height: 1.2;
}

body.store-app-home .fs-post-verified {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

body.store-app-home .fs-post-verified .verified-badge-svg,
body.store-app-home .fs-post-verified .fan-verified-badge-svg {
  width: 16px;
  height: 16px;
}

body.store-app-home .fs-post-handle {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

body.store-app-home .fs-post-head-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #64748b;
}

body.store-app-home .fs-post-time {
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

body.store-app-home .fs-post-menu {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.store-app-home .fs-post-menu:active {
  background: rgba(0, 0, 0, 0.06);
}

/* —— الوسائط بعرض كامل —— */
body.store-app-home .fs-post-media {
  position: relative;
  width: 100%;
  background: #0c0c0c;
  overflow: hidden;
}

body.store-app-home .fs-post-media-inner {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 560px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #111;
}

body.store-app-home .post-feed-video,
body.store-app-home .post-feed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

body.store-app-home .fs-post-media--locked .fs-post-blur {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px) brightness(0.55);
  transform: scale(1.08);
}

/* —— قفل / اشتراك —— */
body.store-app-home .fs-paywall {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  z-index: 3;
}

body.store-app-home .fs-paywall-card {
  width: min(92%, 300px);
  padding: 22px 18px 18px;
  border-radius: 16px;
  background: rgba(28, 28, 30, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

body.store-app-home .fs-paywall-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
}

body.store-app-home .fs-paywall-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

body.store-app-home .fs-paywall-lock-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1c1c1e;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #fff;
}

body.store-app-home .fs-paywall-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

body.store-app-home .fs-paywall-media-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}

body.store-app-home .fs-paywall-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  -webkit-tap-highlight-color: transparent;
}

body.store-app-home .fs-paywall-cta span {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.85;
}

body.store-app-home .fs-paywall-cta strong {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

body.store-app-home .fs-paywall-cta:active:not(:disabled) {
  transform: scale(0.98);
}

body.store-app-home .fs-paywall-cta.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

/* —— إحصائيات —— */
body.store-app-home .fs-post-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 4px;
  direction: rtl;
}

body.store-app-home .fs-post-stats-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.store-app-home .fs-stat-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.store-app-home .fs-stat-btn i {
  font-size: 1.15rem;
}

body.store-app-home .fs-stat-btn.is-liked,
body.store-app-home .fs-stat-btn.is-liked i {
  color: #fe2c55;
}

body.store-app-home .fs-stat-views {
  cursor: default;
}

body.store-app-home .fs-stat-num {
  font-variant-numeric: tabular-nums;
  min-width: 0.5em;
}

/* —— التعليق —— */
body.store-app-home .fs-post-caption {
  margin: 0;
  padding: 2px 14px 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1e293b;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: start;
  direction: rtl;
}

body.store-app-home .store-main {
  max-width: 720px;
  margin: 0 auto;
}

body.store-app-home.store-pro[data-store-panel='home'] .store-main {
  padding-left: 0;
  padding-right: 0;
}

/* شريط لايف + رسائلي */
body.store-app-home .store-quick-bar {
  display: flex;
  gap: 10px;
  padding: 8px 14px 12px;
  background: linear-gradient(180deg, #fff 0%, #fff8fc 100%);
  border-bottom: 1px solid rgba(255, 67, 164, 0.08);
}

body.store-app-home .sq-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(26, 35, 50, 0.1);
  background: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  color: #1a2332;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  position: relative;
}

body.store-app-home .sq-pill:active {
  transform: scale(0.98);
}

body.store-app-home .sq-pill.sq-live {
  border-color: rgba(239, 68, 68, 0.35);
  background: linear-gradient(135deg, #fff5f5 0%, #fff 55%);
  color: #b91c1c;
}

body.store-app-home .sq-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: sq-live-pulse 1.4s ease-out infinite;
}

@keyframes sq-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

body.store-app-home .sq-pill.sq-messages {
  border-color: rgba(255, 67, 164, 0.28);
  background: linear-gradient(135deg, #fff8fc 0%, #fff 60%);
  color: #9d174d;
}

body.store-app-home .sq-badge {
  position: absolute;
  top: 4px;
  inset-inline-start: 50%;
  margin-inline-start: 28px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

body.store-app-home .sq-badge.hidden,
body.store-app-home .bn-badge.hidden {
  display: none !important;
}

/* أقسام اللوحات */
body.store-app-home .store-panel {
  display: none;
  animation: store-panel-in 0.28s ease;
}

body.store-app-home .store-panel.store-panel-active {
  display: block;
}

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

body.store-app-home .store-panel-head {
  padding: 16px 16px 8px;
  text-align: center;
}

body.store-app-home .store-panel-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a2332;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body.store-app-home .store-panel-title .fa-signal {
  color: #ef4444;
}

body.store-app-home .store-panel-title .fa-comment-dots {
  color: #FF43A4;
}

body.store-app-home .store-panel-sub {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

body.store-app-home .store-hero-compact .hero-title {
  font-size: clamp(1.25rem, 4.5vw, 1.65rem);
}

/* شريط قصص (ستايل إنستغرام) */
body.store-app-home .store-stories-section {
  padding: 12px 0 4px;
  overflow: hidden;
}

body.store-app-home .store-stories-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 16px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.store-app-home .store-stories-rail::-webkit-scrollbar {
  display: none;
}

body.store-app-home .story-bubble {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  text-decoration: none;
  color: inherit;
}

body.store-app-home .story-bubble-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #FF43A4, #f59e0b, #ef4444);
}

body.store-app-home .story-bubble-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

body.store-app-home .story-bubble.live-ring .story-bubble-ring {
  background: linear-gradient(135deg, #ef4444, #f97316);
  animation: story-live-glow 1.5s ease-in-out infinite;
}

@keyframes story-live-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 12px 2px rgba(239, 68, 68, 0.35); }
}

body.store-app-home .story-bubble-name {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  max-width: 72px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #334155;
}

body.store-app-home .story-bubble-live-tag {
  font-size: 9px;
  font-weight: 800;
  color: #ef4444;
}

body.store-app-home .store-panel-empty,
body.store-app-home .store-panel-guest {
  text-align: center;
  padding: 32px 20px 48px;
}

body.store-app-home .store-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff8fc, #fce7f3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #FF43A4;
}

body.store-app-home .store-panel-guest p {
  font-weight: 700;
  color: #475569;
  margin-bottom: 16px;
}

body.store-app-home .btn-inbox-login {
  max-width: 280px;
  margin: 0 auto;
}

/* ——— تبويب البث المباشر (شبكة اختيار) ——— */
body.store-app-home #store-panel-live {
  padding: 0 10px 24px;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100px);
}

body.store-app-home .live-browse-head {
  padding: 12px 4px 10px;
  text-align: center;
}

body.store-app-home .live-browse-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

body.store-app-home .live-browse-title i {
  color: #fe2c55;
  margin-left: 6px;
}

body.store-app-home .live-browse-sub {
  margin: 5px 0 0;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

body.store-app-home .live-browse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 4px 0 12px;
}

body.store-app-home .live-browse-grid.hidden {
  display: none;
}

body.store-app-home .live-browse-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 200px;
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  text-align: start;
  background: linear-gradient(155deg, #1e293b 0%, #4c1d3a 55%, #1a1a2e 100%);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.store-app-home .live-browse-card:active {
  transform: scale(0.98);
}

body.store-app-home .live-browse-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.store-app-home .live-browse-shade {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
}

body.store-app-home .live-browse-shade--top {
  top: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, transparent 100%);
}

body.store-app-home .live-browse-shade--bottom {
  bottom: 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
}

body.store-app-home .live-browse-live-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(254, 44, 85, 0.92);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.store-app-home .live-browse-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: sq-live-pulse 1.4s ease-out infinite;
}

body.store-app-home .live-browse-top {
  position: absolute;
  top: 8px;
  right: 8px;
  left: 52px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  direction: rtl;
}

body.store-app-home .live-browse-creator {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

body.store-app-home .live-browse-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.2;
}

body.store-app-home .live-browse-tag--free {
  background: rgba(15, 23, 42, 0.55);
  color: #f8fafc;
  backdrop-filter: blur(4px);
}

body.store-app-home .live-browse-tag--sub {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}

body.store-app-home .live-browse-title {
  position: absolute;
  top: 52px;
  right: 10px;
  left: 10px;
  z-index: 3;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: rtl;
  text-align: right;
}

body.store-app-home .live-browse-stats {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  direction: ltr;
}

body.store-app-home .live-browse-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

body.store-app-home .live-browse-stat i {
  font-size: 0.72rem;
  opacity: 0.9;
}

body.store-app-home .btn-open-live-feed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 28px);
  margin: 8px 14px 16px;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

body.store-app-home .btn-open-live-feed.hidden {
  display: none !important;
}

/* عند وجود بثوث: لا شاشة وسيطة — التغذية تُفتح مباشرة */
body.store-app-home #store-panel-live.store-live-has-streams .store-panel-head,
body.store-app-home #store-panel-live.store-live-has-streams .btn-open-live-feed {
  display: none !important;
}

/* ——— بث مباشر عمودي — ملء الشاشة مثل TikTok ——— */
body.store-app-home.store-live-open .mami-top-bar,
body.store-app-home.store-live-open .store-header-v2,
body.store-app-home.store-live-open .store-top-tabs,
body.store-app-home.store-live-open .store-bottom-nav,
body.store-app-home.store-live-open .store-main {
  visibility: hidden !important;
  pointer-events: none !important;
}

body.store-app-home .store-live-overlay {
  position: fixed;
  inset: 0;
  z-index: 150100;
  display: flex;
  flex-direction: column;
  background: #000;
  overflow: hidden;
  height: 100dvh;
  height: 100svh;
}

body.store-app-home.store-live-open .store-live-overlay {
  z-index: 200000;
}

body.store-app-home .store-live-overlay.hidden {
  display: none !important;
}

body.store-app-home.store-live-open {
  overflow: hidden;
}

body.store-app-home .live-feed-close-float {
  position: absolute;
  top: calc(8px + env(safe-area-inset-top, 0px));
  inset-inline-start: auto;
  inset-inline-end: 10px;
  z-index: 50;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.store-app-home .store-live-loading,
body.store-app-home .store-live-empty {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #e2e8f0;
  text-align: center;
  padding: 24px;
  background: #0a0a0f;
}

body.store-app-home .store-live-loading.hidden,
body.store-app-home .store-live-empty.hidden {
  display: none !important;
}

body.store-app-home .store-live-empty .fa-signal {
  font-size: 2.5rem;
  color: #ef4444;
  opacity: 0.85;
}

body.store-app-home.store-live-open .store-live-scroll {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  min-height: 100svh;
  overflow-y: auto;
}

body.store-app-home .store-live-scroll {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: max(320px, var(--reels-slide-min-h));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.store-app-home .store-live-scroll::-webkit-scrollbar {
  display: none;
}

body.store-app-home.store-live-open .live-feed-slide {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100dvh;
  min-height: 100svh;
  height: 100dvh;
  height: 100svh;
  background: #000;
  overflow: hidden;
}

body.store-app-home .live-feed-slide {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: max(420px, var(--reels-slide-min-h));
  height: max(420px, var(--reels-slide-min-h));
  background: #0a0a0f;
  overflow: hidden;
}

body.store-app-home .live-feed-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(165deg, #1c1020 0%, #0a0a12 45%, #120a18 100%);
  pointer-events: none;
}

body.store-app-home .live-feed-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

body.store-app-home .live-feed-poster.hidden {
  opacity: 0;
  pointer-events: none;
}

body.store-app-home .live-feed-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: translateZ(0);
  will-change: auto;
  background: #000;
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
}

body.store-app-home .live-feed-video.has-stream {
  z-index: 5;
  opacity: 1;
  contain: layout style paint;
}

body.store-app-home .live-feed-slide:has(.live-feed-video.has-stream) .live-feed-connecting {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

body.store-app-home .live-feed-audio {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

body.store-app-home .live-feed-connecting {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px calc(100px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  opacity: 0;
}

body.store-app-home .live-feed-connecting.is-active {
  display: flex;
  opacity: 1;
}

body.store-app-home .live-feed-connecting-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

body.store-app-home .live-feed-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ff2d6a;
  border-radius: 50%;
  animation: sq-live-pulse 0.8s linear infinite;
}

body.store-app-home .live-feed-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    transparent 22%,
    transparent 62%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

body.store-app-home .live-feed-stage {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

body.store-app-home .live-feed-stage > * {
  pointer-events: auto;
}

/* شريط علوي — TikTok: مشاهدون يسار | المبدع يمين */
body.store-app-home .live-feed-topbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: calc(48px + env(safe-area-inset-top, 0px)) 8px 8px 8px;
  direction: ltr;
}

body.store-app-home .live-feed-topbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-inline-start: 0;
  padding-inline-start: 2px;
}

body.store-app-home .live-feed-topbar-right {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 78%;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.store-app-home .live-feed-viewer-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

body.store-app-home .live-feed-viewer-stack {
  display: flex;
  align-items: center;
}

body.store-app-home .live-feed-viewer-stack img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-inline-start: -8px;
}

body.store-app-home .live-feed-viewer-more {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: -8px;
  border: 2px solid #fff;
}

body.store-app-home .live-feed-host-link {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

body.store-app-home .live-feed-host-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

body.store-app-home .live-feed-host-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.store-app-home .live-feed-host-name {
  font-weight: 800;
  font-size: 0.82rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 3px;
}

body.store-app-home .live-feed-verified {
  display: inline-flex;
  flex-shrink: 0;
}

body.store-app-home .live-feed-host-likes {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

body.store-app-home .live-feed-host-likes i {
  color: #ff6b9d;
  margin-inline-end: 3px;
}

body.store-app-home .live-feed-follow-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fe2c55;
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

body.store-app-home .live-feed-follow-btn.is-following {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

body.store-app-home .live-feed-live-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #fe2c55;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
}

body.store-app-home .live-feed-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: sq-live-pulse 1.2s ease-in-out infinite;
}

body.store-app-home .live-feed-hearts {
  position: absolute;
  inset-inline-end: 12px;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  width: 64px;
  height: 45%;
  pointer-events: none;
  overflow: hidden;
}

body.store-app-home .live-feed-heart {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #ff2d6a;
  font-size: 1.4rem;
  animation: live-heart-rise 2s ease-out forwards;
}

@keyframes live-heart-rise {
  to {
    opacity: 0;
    transform: translateY(-200px) scale(1.15);
  }
}

body.store-app-home .live-feed-gift-burst {
  position: absolute;
  left: 12px;
  top: 38%;
  pointer-events: none;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 72%;
}

body.store-app-home .live-feed-guests-col {
  position: absolute;
  left: 8px;
  top: calc(118px + env(safe-area-inset-top, 0px));
  z-index: 9;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 42vh;
  overflow-y: auto;
  pointer-events: none;
  scrollbar-width: none;
}

body.store-app-home .live-feed-guests-col::-webkit-scrollbar {
  display: none;
}

body.store-app-home .live-feed-guest-pip {
  position: relative;
  left: auto;
  top: auto;
  width: 104px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  flex-shrink: 0;
}

body.store-app-home .live-feed-guest-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(254, 44, 85, 0.9);
  color: #fff;
}

body.store-app-home .live-feed-guest-pip.hidden {
  display: none;
}

body.store-app-home .live-feed-guest-video {
  width: 100%;
  height: 152px;
  min-height: 120px;
  object-fit: cover;
  display: block;
  background: #111;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

body.store-app-home .live-feed-guest-video.has-stream {
  z-index: 2;
  background: #000;
}

body.store-app-home .live-feed-guest-pip[data-self-preview='1'] .live-feed-guest-video {
  transform: scaleX(-1);
}

body.store-app-home .live-gift-item-lion .live-gift-item-emoji {
  font-size: 1.65rem;
  filter: drop-shadow(0 0 8px rgba(255, 180, 0, 0.65));
}

/* هدية الأسد — طبقة ثابتة فوق كل شيء (لا تهزّ طبقة البث) */
.lion-overlay--fullscreen {
  position: fixed;
  inset: 0;
  z-index: 250000;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.lion-overlay-shake-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lion-overlay-shake-wrap.shake-active {
  animation: lion-screen-shake 0.5s infinite;
}

.gift-announcement {
  position: absolute;
  top: calc(20px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(-50px);
  background: linear-gradient(90deg, rgba(255, 145, 0, 0.95), rgba(255, 0, 80, 0.95));
  padding: 10px 25px;
  border-radius: 50px;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: bold;
  font-size: clamp(0.85rem, 3.5vw, 18px);
  box-shadow: 0 5px 20px rgba(255, 0, 80, 0.45);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  z-index: 3;
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gift-announcement.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.lion-vfx-wrap {
  position: relative;
  width: min(92vw, 520px);
  height: min(72vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lion-3d-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.1);
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
}

.lion-vfx-fallback {
  font-size: min(42vw, 200px);
  line-height: 1;
  filter: drop-shadow(0 0 40px rgba(255, 160, 0, 0.85));
  animation: lion-fallback-pulse 1.2s ease-in-out infinite;
}

@keyframes lion-fallback-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes lion-screen-shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0) rotate(1deg); }
  30% { transform: translate(0, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  55% { transform: translate(-1px, 2px) rotate(-1deg); }
  70% { transform: translate(-3px, 1px) rotate(0deg); }
  85% { transform: translate(2px, 1px) rotate(-1deg); }
  100% { transform: translate(1px, -2px) rotate(0deg); }
}

body.store-app-home .live-gift-panel-inner.live-gift-panel-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 42vh;
  overflow-y: auto;
  padding: 10px;
}

body.store-app-home .live-feed-gift-flyin-premium {
  background: linear-gradient(135deg, rgba(254, 44, 85, 0.92), rgba(120, 0, 80, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.95rem;
}

body.store-app-home .live-feed-guest-ctrl {
  width: 100%;
  border: none;
  padding: 6px 8px;
  background: rgba(254, 44, 85, 0.92);
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

body.store-app-home .live-feed-gift-pop {
  animation: live-gift-pop 1.6s ease-out forwards;
}

@keyframes live-gift-pop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  30% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px);
  }
}

body.store-app-home .live-feed-chat {
  position: absolute;
  inset-inline-start: 12px;
  inset-inline-end: 64px;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  max-height: 28vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
}

body.store-app-home .live-feed-chat-line {
  align-self: flex-start;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

body.store-app-home .live-feed-chat-line strong {
  color: #fff;
  font-weight: 800;
  margin-inline-end: 6px;
}

/* شريط سفلي — TikTok */
body.store-app-home .live-feed-toolbar {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px calc(12px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 12;
  direction: ltr;
}

body.store-app-home .live-feed-gift-toggle {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

body.store-app-home .live-gift-panel {
  position: absolute;
  inset-inline-end: 8px;
  bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  pointer-events: auto;
}

body.store-app-home .live-gift-panel.hidden {
  display: none;
}

body.store-app-home .live-gift-panel-inner {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(18, 18, 24, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body.store-app-home .live-gift-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  padding: 10px 8px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font: inherit;
}

body.store-app-home .live-gift-item:active {
  transform: scale(0.96);
  background: rgba(254, 44, 85, 0.25);
}

body.store-app-home .live-gift-item-emoji {
  font-size: 1.75rem;
  line-height: 1;
}

body.store-app-home .live-gift-item-label {
  font-size: 0.72rem;
  font-weight: 700;
}

body.store-app-home .live-gift-item-price {
  font-size: 0.68rem;
  color: #fbbf24;
  font-weight: 800;
}

body.store-app-home .live-feed-gift-flyin {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.9), rgba(254, 44, 85, 0.85));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  animation: live-gift-flyin 3s ease-out forwards;
  white-space: nowrap;
}

body.store-app-home .live-feed-gift-flyin-emoji {
  font-size: 1.5rem;
}

@keyframes live-gift-flyin {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.85);
  }
  12% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}

body.store-app-home .live-feed-emoji-btn {
  font-size: 1.15rem;
  opacity: 0.85;
  flex-shrink: 0;
  line-height: 1;
}

body.store-app-home .live-feed-input-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: none;
  padding: 6px 12px 6px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 16, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

body.store-app-home .live-feed-chat-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #fe2c55;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  text-align: right;
  direction: rtl;
}

body.store-app-home .live-feed-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 500;
}

body.store-app-home .live-feed-chat-input:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.store-app-home .live-feed-send-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}

body.store-app-home .live-feed-tool {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

body.store-app-home .live-feed-join-btn {
  background: linear-gradient(145deg, #60a5fa 0%, #a78bfa 55%, #f472b6 100%);
  font-size: 1rem;
}

body.store-app-home .live-feed-rose-btn {
  background: rgba(254, 44, 85, 0.45);
  font-size: 1.35rem;
}

body.store-app-home .live-feed-rose-btn span {
  line-height: 1;
}

body.store-app-home .live-feed-like-stat {
  flex-direction: column;
  gap: 2px;
  min-width: 44px;
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.68rem;
  font-weight: 800;
}

body.store-app-home .live-feed-like-stat i {
  color: #ff2d6a;
  font-size: 1.1rem;
}

body.store-app-home .live-feed-share-btn {
  font-size: 1.05rem;
}

body.store-app-home .live-card-title {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.35;
}

/* تبويب الرسائل — خلفية بيضاء موحّدة (بدون لون الموقع الوردي) */
body.store-app-home.store-panel-messages-active {
  background: #fff !important;
}

body.store-app-home.store-panel-messages-active .aurora-mesh {
  background: #fff !important;
  filter: none !important;
}

body.store-app-home.store-panel-messages-active .bg-overlay {
  display: none !important;
}

body.store-app-home.store-panel-messages-active .store-main {
  background: #fff;
}

body.store-app-home.store-panel-messages-active .site-footer {
  display: none !important;
}

/* ——— رسائلي — قائمة مثل إنستغرام DM ——— */
body.store-app-home #store-panel-messages {
  position: relative;
  padding: 0;
  margin: 0;
  background: #fff;
}

body.store-app-home.store-panel-messages-active #store-panel-messages,
body.store-app-home.store-panel-messages-active .store-dm-list-view {
  background: #fff;
  min-height: calc(
    100dvh - var(--store-bottom-nav-height) - env(safe-area-inset-top, 0px) - 56px
  );
}

body.store-app-home.store-panel-messages-active .store-dm-chat-view {
  background: #fff;
}

body.store-app-home.store-panel-messages-active .store-dm-chat-panel {
  background: #fff;
}

body.store-app-home .store-dm-list-head {
  padding: 14px 16px 12px;
  text-align: start;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 2;
}

body.store-app-home .store-dm-list-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a2332;
  letter-spacing: -0.02em;
}

body.store-app-home .store-dm-list-sub {
  display: none;
}

body.store-app-home .inbox-thread-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 0 calc(8px + env(safe-area-inset-bottom, 0px));
  list-style: none;
}

body.store-app-home .inbox-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 8px 16px;
  border: none;
  border-bottom: none;
  text-align: start;
  font: inherit;
  color: inherit;
  background: #fff;
  cursor: pointer;
  transition: background 0.12s ease;
  box-sizing: border-box;
}

body.store-app-home .inbox-row:hover,
body.store-app-home .inbox-row:active {
  background: #fafafa;
}

body.store-app-home .inbox-row.unread {
  background: #fff;
}

body.store-app-home .inbox-avatar-wrap {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #fce7f3, #f0e8ee);
}

body.store-app-home .inbox-avatar {
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

body.store-app-home .inbox-avatar.is-broken {
  display: none !important;
}

body.store-app-home .inbox-avatar-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ff43a4;
  background: linear-gradient(145deg, #fff0f7, #fce7f3);
}

body.store-app-home .inbox-avatar-fallback.hidden {
  display: none;
}

body.store-app-home .inbox-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
}

body.store-app-home .inbox-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

body.store-app-home .inbox-name-row {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  font-size: 15px;
  font-weight: 700;
  color: #1a2332;
}

body.store-app-home .inbox-name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

body.store-app-home .inbox-row .inbox-verified,
body.store-app-home .inbox-row .inbox-verified .fan-verified-badge-svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  flex-shrink: 0;
}

body.store-app-home .inbox-time {
  flex: 0 0 auto;
  font-size: 12px;
  color: #8e8e8e;
  font-weight: 400;
  white-space: nowrap;
}

body.store-app-home .inbox-preview {
  display: block;
  width: 100%;
  font-size: 14px;
  line-height: 1.35;
  color: #8e8e8e;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.store-app-home .inbox-preview.is-unread {
  color: #262626;
  font-weight: 600;
}

body.store-app-home .inbox-unread-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-inline-start: 4px;
  border-radius: 50%;
  background: #ff43a4;
  align-self: center;
}

body.store-app-home .inbox-unread-count {
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-inline-start: 4px;
  border-radius: 999px;
  background: #ff43a4;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  align-self: center;
}

/* منع أي SVG كبير داخل قائمة الرسائل */
body.store-app-home .inbox-thread-list svg.fan-verified-badge-svg,
body.store-app-home .inbox-thread-list svg.verified-badge-svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
}

/* شاشة المحادثة — ملء المساحة فوق الشريط السفلي */
body.store-app-home.store-dm-thread-open .mami-top-bar.store-header-v2,
body.store-app-home.store-dm-thread-open .store-top-tabs {
  visibility: hidden;
  pointer-events: none;
  height: 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
}

body.store-app-home.store-dm-thread-open .store-bottom-nav {
  display: none !important;
}

body.store-app-home .store-dm-chat-view {
  position: fixed;
  top: calc(56px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: var(--store-bottom-nav-height);
  z-index: 600;
  display: flex;
  flex-direction: column;
  background: #f5f0f4;
  animation: store-dm-in 0.28s ease;
}

body.store-app-home .store-dm-chat-view.hidden {
  display: none !important;
}

@keyframes store-dm-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

body.store-app-home .store-dm-chat-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff 0%, #faf5f8 100%);
}

body.store-app-home.store-dm-thread-open .store-dm-chat-view {
  top: env(safe-area-inset-top, 0px);
  bottom: 0;
  z-index: 800;
}

body.store-app-home.store-dm-thread-open .store-dm-chat-panel {
  max-width: 100%;
}

body.store-app-home.store-reels-open .mami-top-bar,
body.store-app-home.store-reels-open .store-top-tabs,
body.store-app-home.store-reels-open .store-bottom-nav,
body.store-app-home.store-reels-open .store-main {
  visibility: hidden;
  pointer-events: none;
}

body.store-app-home.store-reels-open .creators-reels-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

body.store-app-home.store-reels-open .creators-reels-overlay:not(.hidden) {
  visibility: visible;
  pointer-events: auto;
}

.live-creators-rail-wrap {
  padding: 0 14px 16px;
}

.live-creators-rail-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a2332;
}

.live-creators-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 42vh;
  overflow-y: auto;
}

.live-creator-rail-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 67, 164, 0.12);
  box-shadow: 0 4px 14px rgba(255, 67, 164, 0.06);
}

.live-creator-rail-cover {
  display: block;
  min-height: 72px;
  background: linear-gradient(135deg, #fce7f3, #f0e8ee) center/cover no-repeat;
}

.live-creator-rail-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 8px 0;
  min-width: 0;
}

.live-creator-rail-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff43a4;
}

.live-creator-rail-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: #0f172a;
}

.live-creator-rail-meta {
  font-size: 0.78rem;
  color: #64748b;
}

.creators-dir-card .creators-dir-cover {
  width: 100%;
  height: 72px;
  background: linear-gradient(135deg, #fce7f3, #f0e8ee) center/cover no-repeat;
}

.fs-post-media.fs-heart-pop::after {
  content: '♥';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #ff43a4;
  animation: fs-heart-pop 0.7s ease forwards;
  pointer-events: none;
}

@keyframes fs-heart-pop {
  0% { opacity: 0; transform: scale(0.4); }
  40% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.3); }
}

body.store-app-home.store-dm-thread-open .store-bottom-nav {
  z-index: 550;
}

body.store-app-home.store-dm-thread-open #store-dm-list-view {
  visibility: hidden;
}

body.store-app-home .store-dm-chat-profile-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}

body.store-app-home .store-dm-call-actions .cp-call-btn {
  width: 36px;
  height: 36px;
}

/** قائمة «حسابي» المنبثقة — تُفتح من الشريط السفلي */
body.store-app-home .store-account-dock {
  position: fixed;
  bottom: var(--store-bottom-nav-height);
  inset-inline-end: max(12px, env(safe-area-inset-end, 0px));
  z-index: 520;
  pointer-events: none;
}
body.store-app-home .store-account-dock .nav-account-wrap {
  position: relative;
  pointer-events: auto;
}
body.store-app-home .store-account-dock .nav-account-dropdown {
  top: auto;
  bottom: calc(100% + 14px);
  inset-inline-start: auto;
  inset-inline-end: 0;
  transform: none;
  min-width: min(300px, 92vw);
  max-height: min(74vh, 560px);
  overflow-y: auto;
  border-radius: 18px;
  padding: 10px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* شريط سفلي — ملء العرض، ملاصق للأسفل والجانبين، وردي متناسق */
body.store-app-home .store-bottom-nav {
  position: fixed !important;
  z-index: 500;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  min-height: 56px;
  box-sizing: border-box;
  padding-top: 10px;
  padding-inline-start: max(8px, env(safe-area-inset-left, 0px));
  padding-inline-end: max(8px, env(safe-area-inset-right, 0px));
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  margin: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 254, 0.98) 0%,
    rgba(255, 248, 252, 0.96) 45%,
    rgba(248, 238, 246, 0.98) 100%
  );
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-top: 1px solid rgba(255, 67, 164, 0.16);
  border-inline: none;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  box-shadow:
    0 -8px 28px rgba(255, 67, 164, 0.08),
    0 -2px 10px rgba(26, 35, 50, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  direction: ltr;
}

body.store-app-home .bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 88px;
  padding: 6px 2px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted, #667788);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  min-width: 0;
  transition: color 0.18s ease, transform 0.18s ease;
  z-index: 1;
}

body.store-app-home .bn-item i {
  font-size: 1.2rem;
  line-height: 1;
}

body.store-app-home .bn-item.active {
  color: var(--gold, #ff43a4);
}

body.store-app-home .bn-item.active .bn-live-ring {
  color: #ff43a4;
  background: linear-gradient(145deg, rgba(255, 67, 164, 0.12), rgba(233, 30, 140, 0.08));
}

body.store-app-home .bn-live-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 67, 164, 0.1), rgba(255, 255, 255, 0.6));
  color: #c2186d;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 67, 164, 0.12);
}

body.store-app-home .bn-badge {
  position: absolute;
  top: 2px;
  inset-inline-end: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  line-height: 18px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #ff43a4, #e91e8c);
  box-shadow: 0 2px 8px rgba(255, 67, 164, 0.35);
}

body.store-app-home .bn-item.bn-reels-center {
  transform: none;
  gap: 4px;
  color: var(--muted, #667788);
}
body.store-app-home .bn-item.bn-reels-center .bn-reels-glow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff6bb8 0%, #ff43a4 55%, #e91e8c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.82rem;
  padding-inline-start: 2px;
  box-shadow:
    0 4px 16px rgba(255, 67, 164, 0.35),
    0 0 0 2px rgba(255, 255, 255, 0.65);
}
body.store-app-home .bn-item.bn-reels-center.active {
  color: var(--gold, #ff43a4);
}
body.store-app-home .bn-item.bn-reels-center.active .bn-reels-glow {
  box-shadow:
    0 6px 20px rgba(255, 67, 164, 0.45),
    0 0 0 2px rgba(255, 255, 255, 0.9);
}
body.store-app-home .bn-item.bn-reels-center > span:last-child {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.01em;
}

/**
 * مسافة الهيدر الثابت — يجب مطابقتها لـ .creators-reels-overlay { top } لحساب min-height الشرائح
 * بدون ذلك يبقى min-height: 100% = 0 ويظهر «شاشة بيضاء فارغة» في WebKit.
 */
/**
 * الهيدر الفعلي ~62–66px + safe-area؛ قيم أكبر كانت تترك شرخاً فاتحاً تحت الهيدر.
 * لوحة بحث موسّعة للقنوات نفس مسافة body.store-search-panel-open
 */
body.store-app-home {
  padding-bottom: var(--store-bottom-nav-height);
  --reels-overlay-top: calc(60px + env(safe-area-inset-top, 0px));
  --reels-subhead-h: 0px;
  --reels-slide-min-h: calc(
    100svh - var(--store-bottom-nav-height) - var(--reels-overlay-top) - var(--reels-subhead-h)
  );
}

body.store-app-home.store-pro.store-search-panel-open {
  --reels-overlay-top: calc(132px + env(safe-area-inset-top, 0px));
}

@media (max-width: 720px) {
  body.store-app-home {
    --reels-overlay-top: calc(62px + env(safe-area-inset-top, 0px));
    --reels-slide-min-h: calc(
      100svh - var(--store-bottom-nav-height) - var(--reels-overlay-top) - var(--reels-subhead-h)
    );
  }

  body.store-app-home.store-pro.store-search-panel-open {
    --reels-overlay-top: calc(140px + env(safe-area-inset-top, 0px));
  }
}

@supports (height: 100dvh) {
  body.store-app-home {
    --reels-slide-min-h: calc(
      100dvh - var(--store-bottom-nav-height) - var(--reels-overlay-top) - var(--reels-subhead-h)
    );
  }
}

body.store-app-home .creators-reels-overlay {
  position: fixed;
  top: var(--reels-overlay-top);
  left: 0;
  right: 0;
  bottom: var(--store-bottom-nav-height);
  z-index: 880;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(253, 250, 252, 0.07), transparent 9%),
    linear-gradient(180deg, #101018 0%, #0e0e12 40%, #0a0a0f 100%);
}

body.store-app-home .creators-reels-overlay.hidden {
  display: none !important;
}

/** زر إغلاق عائم — زاوية يمنى فيزيائياً مثل تطبيقات الريلز */
body.store-app-home .reels-fan-close-float {
  position: absolute;
  top: calc(6px + env(safe-area-inset-top, 0px));
  left: auto;
  right: max(4px, env(safe-area-inset-right, 0px));
  z-index: 50;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  color: #fff;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: background 0.15s ease, transform 0.12s ease;
}
body.store-app-home .reels-fan-close-float:active {
  transform: scale(0.96);
  background: rgba(15, 23, 42, 0.58);
}

body.store-app-home .creators-reels-loading {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(248, 250, 252, 0.88);
  font-weight: 800;
  z-index: 30;
  pointer-events: none;
}

body.store-app-home .creators-reels-loading.hidden {
  display: none !important;
}

body.store-app-home .reels-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(255, 67, 164, 0.25);
  border-top-color: #FF43A4;
  animation: reels-spin 0.75s linear infinite;
}

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

body.store-app-home .creators-reels-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(226, 232, 240, 0.92);
  text-align: center;
  padding: 24px;
  z-index: 30;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(255, 43, 164, 0.09), transparent),
    linear-gradient(180deg, #14141a 0%, #0c0c12 100%);
}

body.store-app-home .creators-reels-empty i {
  font-size: 2.5rem;
  color: rgba(255, 67, 164, 0.55);
}

body.store-app-home .creators-reels-empty.hidden {
  display: none !important;
}

body.store-app-home .creators-reels-empty:not(.hidden) {
  pointer-events: auto;
}

body.store-app-home .creators-reels-scroll {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.store-app-home .creators-reels-scroll::-webkit-scrollbar {
  display: none;
}

/** إزالة حلقة تركيز زرقاء (Safari/WebKit) — كانت تظهر كإطار حول مساحة الريلز */
body.store-app-home .creators-reels-scroll:focus,
body.store-app-home .creators-reels-scroll:focus-visible {
  outline: none !important;
}

body.store-app-home .reels-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  height: var(--reels-slide-min-h);
  min-height: var(--reels-slide-min-h);
  flex-shrink: 0;
}

/** شريحة ريلز — ترتيب عمودي احترافي (أيقونات جانب المحتوى + الاسم والوصف أسفله) بألوان FanArab */
body.store-app-home .reels-slide-media--fan {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #000;
  border: none !important;
  outline: none !important;
  box-shadow: none;
}

@media (min-width: 721px) {
  body.store-app-home .reels-slide-media--fan {
    margin: 12px auto 14px;
    max-width: min(440px, calc(100vw - 48px));
    border-radius: 22px;
    box-shadow:
      0 20px 52px rgba(0, 0, 0, 0.32),
      0 1px 0 rgba(255, 255, 255, 0.04);
  }
}

body.store-app-home .reels-media-frame {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

body.store-app-home .reels-media-frame .reels-slide-video,
body.store-app-home .reels-media-frame .reels-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #000;
  border: none !important;
  outline: none !important;
}

body.store-app-home .reels-slide-dim {
  filter: saturate(1.04) brightness(0.82);
}

body.store-app-home .reels-vignette-fan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(0deg, rgba(26, 35, 50, 0.52) 0%, transparent 42%),
    linear-gradient(180deg, rgba(255, 67, 164, 0.07) 0%, transparent 26%),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 22%,
      transparent 78%,
      rgba(15, 23, 42, 0.16) 100%
    );
  z-index: 1;
}

body.store-app-home .reels-lock-layer {
  position: absolute;
  inset: 0;
  z-index: 25;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(147, 51, 234, 0.06), transparent 42%),
    radial-gradient(circle at 50% 55%, rgba(255, 43, 164, 0.08), transparent 40%),
    radial-gradient(circle at 50% 35%, transparent 24%, rgba(26, 35, 50, 0.82));
  backdrop-filter: blur(5px);
}
body.store-app-home .reels-lock-stack {
  text-align: center;
  padding: 20px;
  max-width: 88%;
}
body.store-app-home .reels-lock-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255, 67, 164, 0.18);
  color: #ff43a4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.store-app-home .reels-lock-text {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 16px;
  color: #fdf2f8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

body.store-app-home .reels-unlock-btn {
  display: inline-flex;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d8b, #9333ea);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 43, 164, 0.32);
}

/** عمود الإجراءات: على الطرف الأيسر الفيزيائي — الاسم/اليوزر إلى اليمين */
body.store-app-home .reels-rail-fan {
  position: absolute;
  right: auto;
  left: max(2px, env(safe-area-inset-left, 0px));
  bottom: calc(17px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  z-index: 12;
}

body.store-app-home .reels-fan-avatar-wrap {
  position: relative;
  width: 48px;
  margin-bottom: 2px;
}
body.store-app-home .reels-fan-avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}
body.store-app-home .reels-fan-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.store-app-home .reels-fan-follow-plus {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, #ff43a4, #e91e8c);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 67, 164, 0.45);
  text-decoration: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body.store-app-home .reels-fan-share .reels-fan-share-label {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 52px;
  text-align: center;
}

/** ورقة التعليقات — الرئيسية والريلز */
body.store-app-home #reels-comments-sheet {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}
body.store-app-home #reels-comments-sheet:not(.hidden) {
  pointer-events: auto;
}
body.store-app-home #reels-comments-sheet.hidden {
  display: none !important;
}
body.store-app-home #reels-comments-sheet .reels-comments-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(5, 5, 10, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
body.store-app-home #reels-comments-sheet .reels-comments-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  max-height: min(58vh, 520px);
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #18181f 0%, #0f0f14 100%);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
body.store-app-home #reels-comments-sheet .reels-comments-grab {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 10px auto 8px;
}
body.store-app-home #reels-comments-sheet .reels-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 12px;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
body.store-app-home #reels-comments-sheet .reels-comments-title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: #faf5ff;
}
body.store-app-home #reels-comments-sheet .reels-comments-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #faf5ff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.05rem;
  -webkit-tap-highlight-color: transparent;
}
body.store-app-home #reels-comments-sheet .reels-comments-list {
  flex: 1 1 auto;
  min-height: 120px;
  max-height: 36vh;
  overflow-y: auto;
  padding: 12px 16px;
  scrollbar-width: thin;
}
body.store-app-home #reels-comments-sheet .reels-comment-row {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.store-app-home #reels-comments-sheet .reels-comment-auth {
  font-size: 13px;
  font-weight: 800;
  color: rgba(251, 244, 253, 0.95);
  margin-bottom: 4px;
}
body.store-app-home #reels-comments-sheet .reels-comment-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.42;
  color: rgba(240, 240, 250, 0.88);
  white-space: pre-wrap;
  word-break: break-word;
}
body.store-app-home #reels-comments-sheet .reels-comments-empty,
body.store-app-home #reels-comments-sheet .reels-comments-loading,
body.store-app-home #reels-comments-sheet .reels-comments-error {
  margin: 0;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.78);
  text-align: center;
}
body.store-app-home #reels-comments-sheet .reels-comments-form {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 14, 0.96);
}
body.store-app-home #reels-comments-sheet .reels-comments-input {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 11px 16px;
  font: inherit;
  font-size: 15px;
  outline: none;
}
body.store-app-home #reels-comments-sheet .reels-comments-send {
  flex: 0 0 auto;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #ff2d8b, #9333ea);
  box-shadow: 0 6px 20px rgba(255, 43, 164, 0.28);
  -webkit-tap-highlight-color: transparent;
}

body.store-app-home .reels-fan-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  min-width: 42px;
  padding: 8px 6px 7px;
  margin: 0;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
body.store-app-home .reels-fan-action i {
  font-size: 1.22rem;
  line-height: 1;
}
body.store-app-home .reels-fan-action .reels-fan-stat {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
  min-height: 14px;
}
body.store-app-home .reels-fan-like.is-liked i {
  color: #ff43a4;
}

/** معلومات سفلة: أسفل اليمين الفيزيائي، مع مساحة لعمود الإجراءات على اليسار */
body.store-app-home .reels-bot-fan {
  position: absolute;
  left: calc(76px + max(6px, env(safe-area-inset-left, 0px)));
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: calc(11px + env(safe-area-inset-bottom));
  z-index: 12;
  /* الصفحة dir=rtl؛ «end» = يسار فيزيائياً — هنا نريد الزاوية اليمنى بصراً */
  direction: ltr;
  text-align: right;
}

body.store-app-home .reels-fan-handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  max-width: 100%;
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.26;
}

/** علامة توثيق صغيرة بجانب الاسم — لا تُحقَن SVG كامل بدون غلاف */
body.store-app-home .reels-fan-handle .fan-verified-badge {
  --verified-size: 17px;
}

body.store-app-home .reels-fan-handle a.reels-fan-handle-link {
  color: #fff;
  text-decoration: none;
  text-shadow:
    0 1px 18px rgba(0, 0, 0, 0.8),
    0 1px 0 rgba(147, 51, 234, 0.2);
}

body.store-app-home .reels-fan-handle-sub {
  margin: -4px 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 247, 252, 0.72);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}

body.store-app-home .reels-fan-caption {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.42;
  color: rgba(255, 251, 252, 0.96);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.75);
  direction: rtl;
  text-align: right;
}

body.store-app-home .reels-fan-hint {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 247, 252, 0.38);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

@media (max-width: 720px) {
  body.store-app-home .reels-fan-hint {
    display: none;
  }
}

@media (min-width: 900px) {
  body.store-app-home .reels-slide-media--fan {
    max-width: min(440px, calc(100% - 56px));
    margin-inline: auto;
  }
  body.store-app-home .store-bottom-nav {
    max-width: none;
    width: 100%;
    border-radius: 20px 20px 0 0;
    box-sizing: border-box;
  }
}

/* الدعم من زر الهيدر — إخفاء الزر العائم */
body.store-app-home.store-pro .support-fab,
body.store-app-home.store-pro .support-fab-ring {
  display: none !important;
}

@media (max-width: 480px) {
  body.store-app-home.store-pro .support-chat-panel {
    inset-inline-end: max(12px, env(safe-area-inset-right, 0px));
    inset-inline-start: auto;
    width: min(380px, calc(100vw - 24px));
  }
}

/* إشعارات المتجر + شارة القائمة */
body.store-app-home .store-account-dock .nav-account-dropdown-item#btn-dropdown-notifications {
  position: relative;
  padding-inline-end: 28px;
}
body.store-app-home .nav-notif-badge {
  position: absolute;
  top: 8px;
  inset-inline-end: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff43a4, #9333ea);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(255, 67, 164, 0.45);
}
body.store-app-home .nav-notif-badge.hidden {
  display: none !important;
}

body.store-app-home .store-notif-modal {
  max-width: 420px;
  max-height: min(88vh, 640px);
  display: flex;
  flex-direction: column;
}
body.store-app-home .store-notif-modal .modal-sub {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 0.92rem;
}
body.store-app-home .store-notif-loading {
  text-align: center;
  padding: 16px;
  color: #64748b;
}
body.store-app-home .store-notif-empty {
  text-align: center;
  padding: 20px 12px;
  color: #94a3b8;
  margin: 0;
}
body.store-app-home .store-notifications-list {
  flex: 1 1 auto;
  min-height: 120px;
  max-height: 52vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
body.store-app-home .store-notif-row {
  width: 100%;
  text-align: start;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.store-app-home .store-notif-row--unread {
  border-color: rgba(255, 67, 164, 0.45);
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.12);
  background: linear-gradient(135deg, #fff8fc 0%, #fff 70%);
}
body.store-app-home .store-notif-row-title {
  display: block;
  font-weight: 800;
  font-size: 15px;
  color: #1e1b2e;
  margin-bottom: 4px;
}
body.store-app-home .store-notif-row-time {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 8px;
}
body.store-app-home .store-notif-row-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
}
body.store-app-home .store-notif-err {
  color: #dc2626;
  text-align: center;
  padding: 12px;
}

body.store-app-home .store-account-modal .account-scroll-list {
  max-height: min(55vh, 420px);
  overflow-y: auto;
  margin: 12px 0;
}
body.store-app-home .my-lib-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
}
body.store-app-home .my-lib-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
body.store-app-home .my-lib-body {
  flex: 1;
  min-width: 0;
}
body.store-app-home .my-lib-body strong {
  display: block;
  font-size: 15px;
}
body.store-app-home .my-lib-meta {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}
body.store-app-home .lib-channel-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #9333ea;
  font-weight: 700;
}
body.store-app-home .my-lib-chev {
  color: #cbd5e1;
  font-size: 12px;
}
body.store-app-home .modal-saved-wide .mami-modal-content {
  max-width: min(96vw, 520px);
}
body.store-app-home .saved-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: min(58vh, 480px);
  overflow-y: auto;
  margin: 12px 0;
}
body.store-app-home .saved-post-card {
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
body.store-app-home .saved-post-media {
  position: relative;
  aspect-ratio: 1;
  background: #f1f5f9;
}
body.store-app-home .saved-post-media img,
body.store-app-home .saved-post-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.store-app-home .saved-post-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  font-size: 22px;
}
body.store-app-home .saved-post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
}
body.store-app-home .saved-post-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

body.store-app-home .live-feed-paywall {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  padding: 20px;
}

body.store-app-home .live-feed-paywall-card {
  max-width: 320px;
  width: 100%;
  background: linear-gradient(160deg, #1a1020, #2a1530);
  border: 1px solid rgba(236, 72, 153, 0.45);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

body.store-app-home .live-feed-paywall-msg {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

body.store-app-home .live-feed-paywall-timer {
  margin: 0 0 10px;
  color: #86efac;
  font-weight: 700;
}

body.store-app-home .live-feed-paywall-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

body.store-app-home .live-feed-paywall-btn--gold {
  background: linear-gradient(90deg, #ec4899, #f59e0b);
  border: none;
}

.auth-social-block {
  margin-bottom: 14px;
}

.auth-social-title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.auth-social-hint {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: #fbbf24;
  text-align: center;
  line-height: 1.4;
}

.auth-social-block.is-empty .auth-social-btns {
  display: none;
}

body.store-app-home .reels-fan-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #fe2c55, #ff4d7d);
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.45);
}

body.store-app-home .reels-fan-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: creators-dir-live-pulse 1.2s ease-in-out infinite;
}

.auth-social-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.auth-social-google {
  background: #fff;
  color: #1f1f1f;
}

.auth-social-x {
  background: #0f0f0f;
  border-color: rgba(255, 255, 255, 0.2);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
