/* ═══════════════════════════════════════════════════════
   INSTAGRAM-STYLE EXPLORER PROFILE STYLES
   ═══════════════════════════════════════════════════════ */

/* Profile Modal Backdrop & Window */
.exp-profile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000005;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
}

.exp-profile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.exp-profile-card {
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  background: #0f1019;
  border: 1.5px solid rgba(131, 56, 236, 0.35);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(131, 56, 236, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.exp-profile-overlay.open .exp-profile-card {
  transform: scale(1) translateY(0);
}

/* Modal Top App Bar */
.exp-profile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.exp-profile-handle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.exp-profile-handle {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.exp-profile-privacy-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exp-profile-privacy-badge.public {
  background: rgba(52, 211, 153, 0.18);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.exp-profile-privacy-badge.private {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.exp-profile-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exp-profile-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Scrollable Content Body */
.exp-profile-scroll-body {
  overflow-y: auto;
  flex: 1;
  padding: 16px 20px 24px;
}

.exp-profile-scroll-body::-webkit-scrollbar {
  width: 5px;
}
.exp-profile-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(131, 56, 236, 0.4);
  border-radius: 10px;
}

/* Instagram Header Layout */
.exp-profile-header-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}

/* Instagram Story Avatar Ring */
.exp-avatar-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 3px;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.35);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}

.exp-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #131422;
  border: 2px solid #0f1019;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

.exp-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-avatar-badge-star {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #8338EC;
  border: 2px solid #0f1019;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

/* Stats Counter */
.exp-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
}

.exp-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exp-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.exp-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

/* Bio Section */
.exp-bio-section {
  margin-bottom: 16px;
}

.exp-bio-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.exp-bio-fullname {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.exp-verified-badge {
  color: #38bdf8;
  display: inline-flex;
}

.exp-bio-category {
  font-size: 0.72rem;
  color: rgba(131, 56, 236, 0.9);
  font-weight: 600;
  margin-top: 1px;
}

.exp-bio-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #cbd5e1;
  margin-top: 6px;
}

/* Action Buttons Bar */
.exp-actions-bar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 18px;
}

.exp-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.exp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.exp-btn-primary {
  background: linear-gradient(135deg, #8338EC, #3A86EF);
  border: none;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(131, 56, 236, 0.35);
}

.exp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(131, 56, 236, 0.5);
}

/* Instagram Story Highlights */
.exp-highlights-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.exp-highlights-scroll::-webkit-scrollbar {
  display: none;
}

.exp-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.exp-highlight-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.2s ease;
}

.exp-highlight-item:hover .exp-highlight-circle {
  border-color: #8338EC;
  transform: scale(1.05);
}

.exp-highlight-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 56px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Instagram Tabs (Posts | Places Reached | Private) */
.exp-tabs-nav {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.exp-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.exp-tab-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.exp-tab-btn.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

/* Tab Panels */
.exp-tab-panel {
  display: none;
}

.exp-tab-panel.active {
  display: block;
}

/* Posts Photo Grid (Instagram 3-Column Grid) */
.exp-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.exp-post-tile {
  aspect-ratio: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #1e1b2e;
  cursor: pointer;
}

.exp-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.exp-post-tile:hover .exp-post-img {
  transform: scale(1.08);
}

.exp-post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

.exp-post-tile:hover .exp-post-overlay {
  opacity: 1;
}

.exp-post-location-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: #e2e8f0;
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* Places Reached Timeline List */
.exp-places-reached-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-reached-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.exp-reached-item:hover {
  background: rgba(131, 56, 236, 0.12);
  border-color: rgba(131, 56, 236, 0.3);
}

.exp-reached-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-reached-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.exp-reached-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
}

.exp-reached-date {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1px;
}

.exp-reached-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  white-space: nowrap;
}

/* Private Notice Banner */
.exp-private-banner {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.exp-private-banner-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.exp-private-banner h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.exp-private-banner p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  max-width: 340px;
  margin: 0 auto 14px;
}

/* Edit Profile & Post Modal Overlays */
.exp-submodal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 16, 25, 0.95);
  backdrop-filter: blur(8px);
  z-index: 10;
  padding: 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.exp-submodal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.exp-submodal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.exp-submodal-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.exp-input-group {
  margin-bottom: 14px;
}

.exp-input-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.exp-input-text {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.exp-input-text:focus {
  border-color: #8338EC;
}

/* Top Navbar Profile Button */
.profile-nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(131, 56, 236, 0.2), rgba(58, 134, 239, 0.2));
  border: 1.5px solid rgba(131, 56, 236, 0.45);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-left: 6px;
}

.profile-nav-btn:hover {
  background: linear-gradient(135deg, #8338EC, #3A86EF);
  box-shadow: 0 4px 15px rgba(131, 56, 236, 0.45);
  transform: translateY(-1px);
}

.profile-nav-avatar-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

@media (max-width: 480px) {
  .exp-profile-card {
    border-radius: 18px;
    max-height: 94vh;
  }
  .exp-avatar-ring {
    width: 66px;
    height: 66px;
  }
  .exp-stat-num {
    font-size: 1rem;
  }
}


.exp-bio-email {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

.exp-account-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.exp-account-action-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.exp-account-action-btn:hover {
  background: rgba(131, 56, 236, 0.18);
  border-color: rgba(131, 56, 236, 0.4);
  color: #ffffff;
}

.exp-account-action-btn.signout:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.we-user-avatar-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.7) !important;
}


/* ═════════════════════════════════════════════════════════════
   INSTAGRAM POST LIGHTBOX & ENHANCED REACHED LIST & SETTINGS
   ═════════════════════════════════════════════════════════════ */

/* Reached item photo thumbnail */
.exp-reached-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(131, 56, 236, 0.4);
}

.exp-reached-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-reached-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.exp-reached-map-btn {
  background: rgba(131, 56, 236, 0.15);
  border: 1px solid rgba(131, 56, 236, 0.35);
  color: #c084fc !important;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.exp-reached-map-btn:hover {
  background: rgba(131, 56, 236, 0.3);
  color: #fff !important;
}

/* Lightbox Modal */
.exp-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000020;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 16px;
}

.exp-lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.exp-lightbox-card {
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  background: #0f1019;
  border: 1.5px solid rgba(131, 56, 236, 0.4);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
  display: flex;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.exp-lightbox-overlay.open .exp-lightbox-card {
  transform: scale(1);
}

.exp-lightbox-media {
  flex: 1.2;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.exp-lightbox-full-img {
  width: 100%;
  height: 100%;
  max-height: 85vh;
  object-fit: cover;
}

.exp-lightbox-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #12131e;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 300px;
}

.exp-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.exp-lightbox-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-lightbox-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8338EC, #FF007F);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  overflow: hidden;
}

.exp-lightbox-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-lightbox-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.exp-lightbox-location {
  font-size: 0.72rem;
  color: #38bdf8;
  margin-top: 1px;
}

.exp-lightbox-comments-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  font-size: 0.8rem;
}

.exp-lightbox-caption-row {
  margin-bottom: 12px;
}

.exp-lightbox-caption-user {
  font-weight: 700;
  color: #c084fc;
  margin-right: 6px;
}

.exp-lightbox-caption-text {
  color: #e2e8f0;
  line-height: 1.4;
}

.exp-lightbox-date {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.exp-lightbox-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 10px 0;
}

.exp-comment-item {
  margin-bottom: 8px;
  line-height: 1.35;
}

.exp-comment-user {
  font-weight: 700;
  color: #38bdf8;
  margin-right: 6px;
  font-size: 0.76rem;
}

.exp-comment-text {
  color: #cbd5e1;
  font-size: 0.78rem;
}

.exp-lightbox-actions-bar {
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.exp-lightbox-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}

.exp-lightbox-btn-icon {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 2px;
  transition: transform 0.15s ease;
}

.exp-lightbox-btn-icon:hover {
  transform: scale(1.2);
}

.exp-lightbox-likes-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.exp-lightbox-comment-form {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.exp-comment-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 8px;
}

.exp-comment-post-btn {
  background: none;
  border: none;
  color: #8338EC;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 4px 8px;
}

.exp-comment-post-btn:hover {
  color: #c084fc;
}

/* Account Settings Panel in Instagram Tab */
.exp-account-settings-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 16px;
}

.exp-settings-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.exp-settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.exp-settings-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.exp-settings-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

.exp-toggle-switch {
  width: 38px;
  height: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  transition: all 0.2s ease;
}

.exp-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: all 0.2s ease;
}

.exp-toggle-switch.active {
  background: #8338EC;
}

.exp-toggle-switch.active::after {
  left: 20px;
}

.exp-settings-actions-group {
  margin-top: 18px;
}

.exp-btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.exp-btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

.exp-input-file {
  width: 100%;
  color: #cbd5e1;
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .exp-lightbox-card {
    flex-direction: column;
    max-height: 92vh;
  }
  .exp-lightbox-media {
    min-height: 240px;
    max-height: 280px;
  }
}


/* ExplorerProfile Brand Pill */
.exp-brand-pill {
  background: linear-gradient(135deg, #8338EC, #FF007F);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.exp-level-chip {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 6px;
}

.exp-tab-lead-badge {
  font-size: 0.74rem;
  color: #38bdf8;
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.exp-post-priv-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #f87171;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  z-index: 2;
}

.exp-post-privacy-picker {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.exp-privacy-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #cbd5e1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex: 1;
}

.exp-privacy-opt input {
  accent-color: #8338EC;
  cursor: pointer;
}


/* ═════════════════════════════════════════════════════════════
   EXPLORER PROFILE 4-POINT GUIDE & HEADER CONTROLS
   ═════════════════════════════════════════════════════════════ */
.exp-explorer-bar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exp-guide-trigger-btn {
  background: rgba(131, 56, 236, 0.15);
  border: 1px solid rgba(131, 56, 236, 0.35);
  color: #c084fc;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exp-guide-trigger-btn:hover {
  background: rgba(131, 56, 236, 0.3);
  color: #fff;
}

.exp-guide-btn-icon {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.exp-guide-btn-icon:hover {
  background: rgba(131, 56, 236, 0.3);
  color: #fff;
}

.exp-guide-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

.exp-guide-item {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: 12px;
}

.exp-guide-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8338EC, #38bdf8);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.exp-guide-heading {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}

.exp-guide-text {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

.exp-guide-tips-box {
  background: rgba(131, 56, 236, 0.12);
  border: 1px dashed rgba(131, 56, 236, 0.4);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.76rem;
  color: #e2e8f0;
  line-height: 1.5;
}


/* Ensure Clerk default account flyout/popover menu is completely suppressed */
.cl-userButtonPopoverCard,
.cl-userButtonPopoverRoot,
.cl-userButtonPopoverActions,
.cl-popover,
.cl-popoverCard {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Story Ring Avatar in Navbar */
.we-user-avatar-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.we-user-avatar-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.45);
}

.we-user-avatar-btn:active {
  transform: scale(0.96);
}


/* ═══════════════════════════════════════════════════════
   INSTAGRAM-STYLE EDIT PROFILE PANEL
   ═══════════════════════════════════════════════════════ */

/* Submodal container - full-height scroll panel */
.exp-submodal-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0f1019;
  border-radius: 24px;
  z-index: 10;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

.exp-submodal-overlay.open {
  display: flex;
}

/* ── Top Bar (Back / Title / Submit) ── */
.exp-edit-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  background: #0f1019;
  z-index: 5;
}

.exp-edit-back-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: background 0.2s;
}

.exp-edit-back-btn:hover { background: rgba(255,255,255,0.08); }

.exp-edit-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.exp-edit-submit-btn {
  background: linear-gradient(135deg, #3b82f6, #8338EC);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.exp-edit-submit-btn:hover { opacity: 0.9; transform: scale(1.03); }
.exp-edit-submit-btn:active { transform: scale(0.97); }

/* ── Photo Row ── */
.exp-edit-photo-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 20px 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.exp-edit-avatar-preview {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 800;
}

.exp-edit-avatar-preview img,
.exp-edit-avatar-preview .exp-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid #0f1019;
}

.exp-edit-username-label {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.exp-edit-change-photo-btn {
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}
.exp-edit-change-photo-btn:hover { opacity: 0.75; }

/* ── Fields ── */
.exp-edit-fields {
  padding: 6px 0;
}

.exp-edit-field-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  min-height: 52px;
}

.exp-edit-field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  width: 72px;
  flex-shrink: 0;
}

.exp-edit-field-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-family: inherit;
  padding: 10px 0;
  width: 100%;
}

.exp-edit-field-input::placeholder { color: rgba(255,255,255,0.3); }

textarea.exp-edit-field-input {
  padding: 10px 0;
  resize: none;
  line-height: 1.5;
}

select.exp-edit-field-input {
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
}

/* ── Highlights Manager inside Edit ── */
.exp-edit-highlights-section {
  padding: 18px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 6px;
}

.exp-edit-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.exp-edit-highlights-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  min-height: 10px;
}

.exp-highlight-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(131,56,236,0.15);
  border: 1px solid rgba(131,56,236,0.35);
  border-radius: 20px;
  padding: 5px 10px 5px 12px;
  font-size: 0.78rem;
  color: #e2d9f3;
}

.exp-highlight-chip-del {
  background: none;
  border: none;
  color: #f472b6;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  transition: opacity 0.15s;
}
.exp-highlight-chip-del:hover { opacity: 0.7; }

.exp-add-highlight-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.exp-edit-add-highlight-btn {
  background: linear-gradient(135deg, #8338EC, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.exp-edit-add-highlight-btn:hover { opacity: 0.85; }

/* ── Add New Trip / + highlight circle ── */
.exp-highlight-add {
  background: rgba(255,255,255,0.06) !important;
  border: 2px dashed rgba(255,255,255,0.25) !important;
  color: rgba(255,255,255,0.5) !important;
  font-size: 1.4rem;
  box-shadow: none !important;
}

/* ── Filter banner on posts grid ── */
#exp-filter-banner {
  margin-bottom: 10px;
}

/* ── Fade-in keyframe for toast ── */
@keyframes exp-fadein {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Bio char counter ── */
#exp-bio-char-count {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  text-align: right;
  padding-top: 2px;
}


/* ═══════════════════════════════════════════════════════
   5-ICON INSTAGRAM TAB BAR
   ═══════════════════════════════════════════════════════ */

/* Override old text tabs — pure icon bar */
.exp-tabs-nav.exp-tabs-nav-icons {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0;
  gap: 0;
  background: rgba(255,255,255,0.015);
}

.exp-tabs-nav-icons .exp-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  border-radius: 0;
  gap: 0;
  position: relative;
}

.exp-tabs-nav-icons .exp-tab-btn:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.04);
}

.exp-tabs-nav-icons .exp-tab-btn.active {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.exp-tabs-nav-icons .exp-tab-btn svg {
  display: block;
}

/* Hide any text labels inside icon tabs */
.exp-tabs-nav-icons .exp-tab-btn span {
  display: none;
}

/* ── Reels Empty State ── */
.exp-reels-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  min-height: 180px;
}

.exp-reels-icon {
  color: rgba(255,255,255,0.25);
  margin-bottom: 14px;
}

.exp-reels-empty h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.exp-reels-empty p {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.5;
  max-width: 240px;
}

/* ── Saved Grid ── */
.exp-saved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
}

.exp-saved-empty {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  min-height: 180px;
}

.exp-saved-empty h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.exp-saved-empty p {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.5;
}

/* ── Bookmark button in lightbox ── */
.exp-lightbox-btn-icon {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.4rem;
  padding: 4px;
  border-radius: 8px;
  transition: transform 0.15s ease, background 0.15s;
  line-height: 1;
  color: inherit;
}

.exp-lightbox-btn-icon:hover {
  transform: scale(1.15);
  background: rgba(255,255,255,0.06);
}

.exp-lightbox-btn-icon:active {
  transform: scale(0.92);
}
