*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

body {
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 680px;
  margin: 0 auto;
  min-height: 100vh;
}

@media (min-width: 1025px) {
  body.profile-page {
    max-width: none !important;
    margin: 0 !important;
  }

  body.profile-page .x-layout {
    display: grid;
    grid-template-columns: 275px minmax(0, 680px) 350px;
    justify-content: center;
    align-items: start;
    width: 100%;
    max-width: 1305px;
    margin: 0 auto;
  }

  body.profile-page .coverer.profile-main-col {
    grid-column: 2;
    width: 100%;
    max-width: 680px;
    min-width: 0;
    border-left: 1px solid var(--xn-border, #eff3f4);
    border-right: 1px solid var(--xn-border, #eff3f4);
  }
}

.coverer { width: 100%; min-height: 100vh; padding-bottom: 100px; }
.sub-coverer { width: 100%; position: relative; }

/* ══ TOP BAR ══ */
.profile-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 0;
  min-height: 44px;
}

.hamburger-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.three-dot-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  transition: background 0.15s;
  margin-left: auto;
}

.three-dot-btn:hover { background: #F3F4F6; }

/* ══ SIDE MENU ══ */
.openbtn {
  font-size: 18px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background: #333;
  color: #fff;
  border-radius: 6px;
  margin: 20px;
}

.side-menu-c {
  display: none;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 999;
  background: rgba(0,0,0,0.5);
}

.side-menu {
  display: none;
  height: 100%;
  max-width: 85%;
  min-width: 55%;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 20px;
  padding-top: 40px;
  animation: soonslideIn 1s ease;
}

@keyframes soonslideIn {
  0% { transform: translateX(120%); }
  100% { transform: translateX(0); }
}

.side-menu a {
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 12px;
  color: black;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0px 5px 10px #eee;
}

.side-menu a svg { width: 20px; height: 20px; }
.side-menu a:hover { background: #f9f9f9; }

.side-menu .closebtn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
}

/* ══ COMING SOON MODAL ══ */
.soon-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.soon-modal-content {
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  position: relative;
  animation: modalPop 0.4s;
  text-align: center;
  margin: 32px;
}

.soon-modal-content h2 { margin: 0 0 16px 0; color: #222; font-size: 1.5rem; font-weight: 600; }

.close-soon-modal {
  position: absolute;
  top: 12px; right: 16px;
  color: #999;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.close-soon-modal:hover { color: #333; }

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.7) translateY(-40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 480px) {
  .soon-modal-content { width: 100%; padding: 24px 20px; border-radius: 10px; }
}

@media (min-width: 720px) {
  .side-menu { max-width: 250px; }
}

/* ══ PROFILE HEADER (X.com style) ══ */
.profile-header {
  position: relative;
  display: block;
  padding: 0 16px 14px;
  margin-top: 0;
}

/* Cover banner */
.profile-header::before {
  content: "";
  display: block;
  height: 200px;
  margin: 0 -16px 0;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.avatar-wrap {
  position: relative;
  display: inline-block;
  margin-top: -67px;   /* pull avatar up over the cover */
  margin-bottom: 8px;
  z-index: 2;
}

.avatar-wrap img {
  width: 134px;
  height: 134px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  background: #fff;
  display: block;
}

.share-profile-btn {
  position: absolute;
  bottom: 6px; right: -2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  color: #0f1419;
  transition: background 0.2s;
}
.share-profile-btn:hover { background: #F3F4F6; }

/* Owner actions: pinned to top-right under the cover (X.com placement) */
#ownerActions {
  position: absolute;
  top: 212px;
  right: 16px;
  margin: 0;
  z-index: 3;
}

.edit-profile-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1.5px solid #cfd9de;
  background: #fff;
  color: #0f1419;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.support-btn{
  padding: 8px 18px;
  border-radius: 9999px;
  background: linear-gradient(160deg, #7c3aed, #f4b400);
  color: white;;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border:none;
  display:none;
}
.edit-profile-btn:hover { background: #F3F4F6; border-color: #9CA3AF; }

.profile-fullname {
  font-size: 22px;
  font-weight: 800;
  color: #0f1419;
  text-align: left;
  line-height: 1.25;
  margin: 2px 0 2px;
}

.profile-username-row {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.profile-username { font-size: 15px; color: #536471; font-weight: 400; }
.profile-flag { font-size: 16px; }
.verified-badge { width: 18px; height: 18px; }

/* Public profile actions (Follow/Message/Gift) */
.public-action-row {
  position: absolute;
  top: 212px;
  right: 16px;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  z-index: 3;
}

.follow-profile-btn {
  padding: 9px 20px;
  border-radius: 9999px;
  background: #0f1419;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.follow-profile-btn:hover { background: #272c30; }
.follow-profile-btn.following {
  background: #fff;
  color: #0f1419;
  border: 1.5px solid #cfd9de;
}

.message-profile-btn {
  padding: 9px 18px;
  border-radius: 9999px;
  background: #fff;
  color: #0f1419;
  border: 1.5px solid #cfd9de;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.message-profile-btn:hover { background: #F3F4F6; }

.profile-gift-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 9999px;
  background: #fffbeb;
  border: 1.5px solid #f4b400;
  color: #92400e;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.profile-gift-btn:hover { background: #fef3c7; transform: scale(1.04); }
.profile-gift-btn svg { stroke: #92400e; }

/* Stats: left-aligned inline row */
.profile-stats {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
  margin: 12px 0 4px;
}

.stat-item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.stat-num {
  font-size: 15px;
  font-weight: 700;
  color: #0f1419;
  line-height: 1.2;
}

.stat-label {
  font-size: 15px;
  color: #536471;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 0;
}

.profile-joined {
  font-size: 15px;
  color: #536471;
  margin: 6px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ══ TABS ══ */
.profile-tabs {
  display: flex;
  border-bottom: 2px solid #F3F4F6;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.tab-btn {
  flex: 1;
  padding: 12px 4px;
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: #9CA3AF;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn.active { color: #000A23; border-bottom-color: #000A23; }

.profile-tab-content { width: 100%; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ══ ABOUT TAB ══ */
.about-section {
  padding: 16px 16px 14px;
  border-bottom: 1px solid #F3F4F6;
}

.about-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.about-section-title { font-size: 15px; font-weight: 700; color: #000A23; }

.about-action-btn {
  background: none;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.about-action-btn:hover { background: #F3F4F6; border-color: #000A23; }

.add-circle-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  padding: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-value { font-size: 14px; color: #374151; line-height: 1.6; }
.about-value a { color: dodgerblue; text-decoration: none; }

/* ══ SOCIALS ══ */
.socials-list { display: flex; flex-direction: column; gap: 10px; }

.social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F9FAFB;
  border-radius: 12px;
  padding: 10px 14px;
}

.social-item-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.social-item-name { font-size: 12px; color: #9CA3AF; font-weight: 500; min-width: 70px; }

.social-item-handle {
  flex: 1;
  font-size: 14px;
  color: #111;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-item-edit {
  background: none;
  border: none;
  font-size: 12px;
  color: #9CA3AF;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
  flex-shrink: 0;
}

.social-item-edit:hover { color: #000A23; }

/* ═══════════════════════════════
   FEED SPONSORED BAR
═══════════════════════════════ */

.feed-sponsored-bar {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  margin: 10px 14px 12px;

  padding: 10px 12px;

  background: rgba(0,0,0,0.04);

  border: 1px solid rgba(0,0,0,0.08); 

  border-radius: 14px;

}

/* Dark mode */

body.dark .feed-sponsored-bar{

  background: rgba(255,255,255,0.10);

  border: 1px solid rgba(255,255,255,0.16);

}

/* ═══════════════════════════════ */

.feed-sponsored-left {

  display: flex;

  align-items: center;

  gap: 8px;

  flex-wrap: wrap;

}

/* ═══════════════════════════════ */

.feed-sponsored-tag {

  background:
linear-gradient(
135deg,
#FFD700,
#FF8C00
);

  color: #111;

  font-size: 11px;

  font-weight: 700;

  padding: 5px 10px;

  border-radius: 999px;


  letter-spacing: .3px;

}

body.dark .feed-sponsored-tag {

  color: white;

}

/* ═══════════════════════════════ */

.feed-sponsored-name {

  color: #5B6472;

  font-size: 13px;

  font-weight: 600;

}

body.dark .feed-sponsored-name {

  color: #D1D5DB;

}

/* ═══════════════════════════════ */

.feed-sponsored-cta {

  border: none;

  outline: none;

  background:
    linear-gradient(
      135deg,
      #2563EB,
      #1D4ED8
    );

  color: white;

  padding: 9px 16px;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.2s;

  flex-shrink: 0;

}

/* ═══════════════════════════════ */

.feed-sponsored-cta:hover {

  transform: scale(1.04);

}

/* ═══════════════════════════════ */

.feed-sponsored-cta:active {

  transform: scale(.96);

}

/* ═══════════════════════════════
   HEADER SPONSORED LABEL
═══════════════════════════════ */

.header-sponsored-label {

  display: inline-flex;

  align-items: center;

  padding: 2px 8px;

  margin-right: 6px;

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      #FFD700,
      #FF8C00
    );

  color: #111;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: .3px;

}

body.dark .header-sponsored-label {

  color: white;

}


/* ══ POSTS ══ */
.post {
  background: #fff;
  border-bottom: 6px solid #F3F4F6;
  width: 100%;
}

.post-header {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 10px;
}

.post-header img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #eee;
  flex-shrink: 0;
}

.post-header-info { flex: 1; min-width: 0; }
.post-header-info strong { font-size: 14px; font-weight: 700; color: #111; display: block; }
.post-header-info small { font-size: 12px; color: #9CA3AF; }

.text-body {
  padding: 6px 14px 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  width: 100%;
  word-wrap: break-word;
  white-space: pre-wrap;
  text-align: left;
}

.text-body.text-only-bold {
  padding: 18px 16px 20px;
  font-size: 20px;
  font-weight: 700;
  color: #000A23;
  text-align: center;
  line-height: 1.5;
}

.text-body.text-only-long {
  padding: 10px 16px 8px;
  font-size: 16px;
  font-weight: 400;
  color: #111;
  line-height: 1.6;
  text-align: left;
}

.post-media-container { width: 100%; background: #111; }

.post-media-container img,
.post-media-container video {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.image-slider-wrapper { position: relative; overflow: hidden; width: 100%; }
.image-slider { display: flex; width: 100%; }

.image-slider .slide {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.image-counter {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
}

.video-wrapper { position: relative; width: 100%; background: #000; overflow: hidden; }

.video-wrapper video {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.mute-btn {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  color: #fff;
  z-index: 10;
}

/* ══ POST ACTIONS ══ */
.post-actions {
  display: flex;
  align-items: center;
  padding: 10px 14px 12px;
  gap: 14px;
  flex-wrap: wrap;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #222;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  padding: 0;
  transition: transform 0.15s;
}

.action-btn:hover { transform: scale(1.12); }
.action-btn svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.action-btn .count { font-size: 11px; color: #444; font-weight: 600; }

.love-btn.liked svg { fill: red; stroke: red; }
.star-btn.starred svg { fill: #f4b400; stroke: #f4b400; }

/* ══ GIFT BUTTON IN POST ACTIONS ══ */
.action-btn.gift-btn svg { stroke: #92400e; fill: none; }
.action-btn.gift-btn { color: #92400e; }
.action-btn.gift-btn:hover { transform: scale(1.15); }

.view-count { font-size: 12px; color: #9CA3AF; margin-left: auto; }

.verified-icon {
  width: 14px; height: 14px;
  vertical-align: middle;
  margin-left: 3px;
}

/* ══ POLL CARD ══ */
.poll-card {
  background: #fff;
  border-bottom: 6px solid #F3F4F6;
  width: 100%;
}

.poll-card-header {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 10px;
}

.poll-card-header img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #eee;
  flex-shrink: 0;
}

.poll-card-header-info { flex: 1; min-width: 0; }
.poll-card-header-info strong { font-size: 14px; font-weight: 700; color: #111; display: block; }
.poll-card-header-info span { font-size: 12px; color: #9CA3AF; }

.poll-question {
  font-size: 16px;
  font-weight: 800;
  color: #000A23;
  padding: 4px 14px 14px;
  line-height: 1.4;
}

.poll-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 14px 14px;
}

.poll-option-card {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #F3F4F6;
  background: #F9FAFB;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
}

.poll-option-card:hover { transform: scale(1.02); }

.poll-option-img-wrap {
  width: 100%; height: 110px;
  background: #EFEFEF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poll-option-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.poll-option-no-img {
  width: 100%; height: 60px;
  background: linear-gradient(135deg, #F3F4F6, #E5E7EB);
  display: flex;
  align-items: center;
  justify-content: center;
}

.poll-option-emoji { font-size: 24px; }
.poll-option-info { padding: 10px 10px 12px; min-height: 60px; }

.poll-option-badge {
  display: inline-block;
  background: #000A23;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 5px;
  vertical-align: middle;
}

.poll-option-name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: normal;
  display: block;
  min-height: 18px;
}

.poll-option-votes { font-size: 11px; color: #6B7280; margin-bottom: 6px; }

.poll-vote-bar-wrap {
  height: 6px;
  border-radius: 6px;
  background: #F3F4F6;
  overflow: hidden;
}

.poll-vote-bar {
  height: 100%;
  border-radius: 6px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.22,1,0.36,1), background 0.4s ease;
}

.poll-vote-bar.low { background: #EF4444; }
.poll-vote-bar.high { background: #22C55E; box-shadow: 0 0 10px rgba(34,197,94,0.7); }

.poll-totals {
  padding: 4px 14px 10px;
  font-size: 12px;
  color: #9CA3AF;
  display: flex;
  gap: 14px;
}

.poll-actions {
  display: flex;
  align-items: center;
  padding: 10px 14px 14px;
  gap: 8px;
  border-top: 1px solid #F3F4F6;
}

.poll-action-btn {
  flex: 1;
  height: 40px;
  border-radius: 22px;
  border: 1.5px solid #E5E7EB;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: #374151;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.poll-action-btn:hover { background: #F3F4F6; border-color: #000A23; color: #000A23; }

.poll-action-btn.vote-btn { background: #000A23; color: #fff; border-color: #000A23; }
.poll-action-btn.vote-btn:hover { background: dodgerblue; border-color: dodgerblue; }

/* ══ VOTE MODAL ══ */
.vote-question {
  font-size: 16px;
  font-weight: 700;
  color: #000A23;
  margin-bottom: 18px;
  line-height: 1.4;
}

.vote-options { display: flex; flex-direction: column; gap: 10px; }

.vote-option-btn {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E5E7EB;
  border-radius: 14px;
  background: #F9FAFB;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #374151;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.vote-option-btn:hover { border-color: #000A23; background: #fff; }
.vote-option-btn.selected { border-color: #22C55E; background: #F0FDF4; color: #166534; }

.vote-option-btn img {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.vote-option-label-badge {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #000A23;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vote-submit-btn {
  width: 100%;
  height: 50px;
  background: #000A23;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 18px;
  transition: background 0.2s;
}

.vote-submit-btn:hover { background: dodgerblue; }

.vote-thanks { text-align: center; padding: 20px 0; }
.vote-thanks-icon { font-size: 48px; margin-bottom: 10px; }
.vote-thanks h3 { font-size: 20px; font-weight: 800; color: #000A23; margin-bottom: 6px; }
.vote-thanks p { font-size: 14px; color: #6B7280; }

.respond-poll-title {
  font-size: 14px;
  font-weight: 600;
  color: #6B7280;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: #F9FAFB;
  border-radius: 10px;
  border-left: 3px solid #000A23;
}

/* ══ SHEET MODALS ══ */
.sheet-modal {
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  z-index: 1001;
  padding: 20px 16px 40px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.35s cubic-bezier(0.22,1,0.36,1);
}

.sheet-modal.small { max-height: 44vh; }

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sheet-header h2 { font-size: 17px; font-weight: 700; color: #000A23; }

.close-x {
  font-size: 28px;
  cursor: pointer;
  color: #9CA3AF;
  line-height: 1;
  background: none;
  border: none;
}

.close-x:hover { color: #000A23; }

.sheet-search {
  width: 100%;
  padding: 10px 16px;
  border-radius: 22px;
  border: 1.5px solid #E5E7EB;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  margin-bottom: 14px;
}

.sheet-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #E5E7EB;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  margin-bottom: 14px;
  display: block;
}

.sheet-input:focus { border-color: #000A23; }

.sheet-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #E5E7EB;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 14px;
  display: block;
}

.sheet-textarea:focus { border-color: #000A23; }

.social-platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.platform-btn {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1.5px solid #E5E7EB;
  background: #F9FAFB;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: #111;
  transition: background 0.15s, border-color 0.15s;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-btn:hover,
.platform-btn.selected { background: #000A23; color: #fff; border-color: #000A23; }
.platform-btn.selected svg,
.platform-btn:hover svg { filter: brightness(10); }

.profession-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.profession-btn {
  padding: 13px 10px;
  border-radius: 12px;
  border: 1.5px solid #E5E7EB;
  background: #F9FAFB;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: #111;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.profession-btn:hover { background: #000A23; color: #fff; border-color: #000A23; }

.save-btn {
  width: 100%;
  padding: 14px;
  border-radius: 22px;
  border: none;
  background: #000A23;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.save-btn:hover { background: dodgerblue; }
.save-btn:disabled { background: #9CA3AF; cursor: not-allowed; }

.btn-spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

.action-list { list-style: none; padding: 0; }

.action-list li {
  padding: 16px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
}

.action-list li:hover { background: #F9FAFB; }
.action-list li:last-child { border-bottom: none; color: #6B7280; }

/* ══ EDIT PROFILE PANEL ══ */
.edit-profile-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  display: none;
  animation: slideInRight 0.38s cubic-bezier(0.22,1,0.36,1);
}

.edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 52px 16px 16px;
  border-bottom: 1px solid #F3F4F6;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.edit-header h2 { font-size: 18px; font-weight: 800; color: #000A23; }

.edit-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 20px;
  gap: 10px;
  background: #F9FAFB;
  border-bottom: 1px solid #F3F4F6;
}

.edit-avatar-wrap { position: relative; display: inline-block; }

.edit-avatar-wrap img {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #E5E7EB;
  display: block;
}

.change-pic-btn {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #000A23;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2.5px solid #fff;
  transition: background 0.2s;
}

.change-pic-btn:hover { background: dodgerblue; }
.edit-avatar-hint { font-size: 12px; color: #9CA3AF; }

.edit-field-group {
  padding: 16px 16px 0;
}

.edit-field-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.edit-field-group input,
.edit-field-group select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1.5px solid #E5E7EB;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #F9FAFB;
  color: #111;
  transition: border-color 0.2s, background 0.2s;
}

.edit-field-group input:focus,
.edit-field-group select:focus { border-color: #000A23; background: #fff; }

.username-input-wrap {
  display: flex;
  align-items: center;
  border-radius: 14px;
  border: 1.5px solid #E5E7EB;
  background: #F9FAFB;
  overflow: hidden;
  transition: border-color 0.2s;
}

.username-input-wrap:focus-within { border-color: #000A23; background: #fff; }

.at-prefix {
  padding: 13px 4px 13px 14px;
  font-size: 15px;
  color: #9CA3AF;
  font-weight: 600;
  background: transparent;
  flex-shrink: 0;
}

.username-field {
  flex: 1;
  padding: 13px 14px 13px 2px;
  border: none !important;
  background: transparent !important;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  color: #111;
}

/* ══ SAVE PROFILE BUTTON ══ */
.save-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 32px);
  margin: 24px 16px 48px;
  padding: 15px;
  border-radius: 16px;
  border: none;
  background: #000A23;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.save-profile-btn:hover { background: dodgerblue; transform: scale(1.01); }
.save-profile-btn:disabled { background: #9CA3AF; cursor: not-allowed; transform: none; }

/* spinner inside save btn */
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  display: inline-block;
}

/* ══ USER LIST ══ */
.user-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 55vh;
  overflow-y: auto;
}

.user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.15s;
  cursor: pointer;
}

.user-row:hover { background: #F9FAFB; }
.user-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.user-info { flex: 1; min-width: 0; }
.user-info strong { font-size: 14px; font-weight: 600; color: #111; display: block; }
.user-info span { font-size: 12px; color: #9CA3AF; }

.follow-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: none;
  background: #000A23;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}

.follow-btn.following { background: #fff; color: #000A23; border: 1.5px solid #000A23; }

/* ══ COMMENT MODAL ══ */
.comment-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 500;
}

.comment-box {
  background: #fff;
  width: 100%;
  max-width: 680px;
  height: 78%;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.35s ease;
  position: absolute;
  bottom: 0;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 15px;
  font-weight: 700;
  color: #000A23;
}

.comment-header span { font-size: 24px; cursor: pointer; color: #9CA3AF; }
.comment-list { flex: 1; padding: 12px 16px; overflow-y: auto; }
.comment-user { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }

.comment-user img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #eee;
}

.comment-user strong { font-size: 13px; color: #111; }

.comment-text {
  padding: 8px 12px;
  background: #F9FAFB;
  border-radius: 16px;
  font-size: 13px;
  margin-left: 48px;
  margin-bottom: 6px;
  word-wrap: break-word;
  line-height: 1.5;
}

.comment-actions {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #9CA3AF;
  margin-left: 48px;
  margin-bottom: 14px;
}

.comment-input-row {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #F3F4F6;
}

.comment-input-row input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 22px;
  border: 1.5px solid #E5E7EB;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.comment-input-row input:focus { border-color: #000A23; }

.comment-input-row button {
  padding: 8px 18px;
  border-radius: 22px;
  border: none;
  background: #000A23;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.comment-like {
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.comment-like.liked { color: red; }
.reply-btn { cursor: pointer; font-weight: 600; color: dodgerblue; font-size: 12px; }
.replies { margin-left: 8px; margin-top: 4px; }
.reply { margin-top: 6px; font-size: 13px; }
.reply-user { display: flex; align-items: center; gap: 6px; }

.reply-user img {
  width: 28px; height: 28px;
  border-radius: 50%;
  margin-left: 48px;
  object-fit: cover;
}

.reply-user strong { font-size: 12px; color: #111; }

.reply-text {
  padding: 6px 10px;
  background: #F9FAFB;
  border-radius: 12px;
  font-size: 12px;
  margin-left: 40px;
  word-wrap: break-word;
  line-height: 1.5;
}

.reply-area { display: flex; gap: 4px; align-items: flex-start; }
.reply-input { margin: 6px 0 6px 48px; display: flex; gap: 6px; }

.reply-input input {
  border-radius: 16px;
  border: 1.5px solid #E5E7EB;
  padding: 6px 12px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

.reply-input button {
  background: #000A23;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

/* ══ GUEST MODAL ══ */
.guest-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 20px;
}

.guest-modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 30px 24px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  animation: popUp 0.3s ease;
}

.guest-modal-box h3 { font-size: 20px; font-weight: 800; color: #000A23; margin-bottom: 8px; }
.guest-modal-box p { font-size: 14px; color: #6B7280; margin-bottom: 20px; line-height: 1.5; }

.guest-signup-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 22px;
  background: #000A23;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
}

.guest-signup-btn:hover { background: dodgerblue; }

.guest-login-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  color: #000A23;
  border: 2px solid #000A23;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 14px;
}

.guest-close {
  background: none;
  border: none;
  font-size: 14px;
  color: #9CA3AF;
  cursor: pointer;
  font-family: inherit;
}

/* ══ OVERLAY ══ */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; }
.hidden { display: none; }

/* ══ BOTTOM NAV ══ */
.bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 640px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.11);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 8px;
  z-index: 100;
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #9CA3AF;
  font-size: 11px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
  min-width: 48px;
}

.bnav-item svg { stroke: #9CA3AF; transition: stroke 0.2s; }
.bnav-item.active { color: #000A23; }
.bnav-item.active svg { stroke: #000A23; }

.badge {
  position: absolute;
  top: -4px; right: 4px;
  background: red;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 16px; height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}

.hashtag-link { color: #f4c542; text-decoration: none; font-weight: 500; }
.mention { color: #f4c542; font-weight: 900; text-decoration: none; cursor: pointer; }
.mention:hover { text-decoration: underline; }
.mention:active { opacity: 0.7; }

/* ══ ANIMATIONS ══ */
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes popUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* ══ DOUBLE TAP HEART ══ */
.dt-heart {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 100px;
  pointer-events: none;
  z-index: 999;
  animation: dtHeartPop 0.8s ease forwards;
  filter: drop-shadow(0 4px 16px rgba(239,68,68,0.5));
}

@keyframes dtHeartPop {
  0% { transform: translate(-50%,-50%) scale(0); opacity: 1; }
  40% { transform: translate(-50%,-50%) scale(1.3); opacity: 1; }
  70% { transform: translate(-50%,-50%) scale(1.0); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(1.2); opacity: 0; }
}

/* ══ GIFT MODAL ══ */
.feed-gift-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.feed-gift-box {
  background: #fff;
  width: 100%;
  max-width: 680px;
  border-radius: 28px 28px 0 0;
  padding: 0 0 40px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.35s cubic-bezier(0.22,1,0.36,1);
}

.feed-gift-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
  border-radius: 28px 28px 0 0;
}

.feed-gift-header h3 { font-size: 17px; font-weight: 800; color: #1a1a1a; }

.feed-gift-back {
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  padding: 4px;
}

.feed-gift-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #f0f4ff;
  margin: 12px 16px 4px;
  border-radius: 14px;
}

.feed-gift-bal {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.feed-gift-recharge-btn {
  background: #000A23;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.feed-gift-recharge-btn:hover { background: dodgerblue; }

.feed-gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 16px 16px;
  overflow-y: auto;
  flex: 1;
}

.feed-gift-item {
  aspect-ratio: 1;
  background: #f8f9fa;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  padding: 8px;
}

.feed-gift-item:hover { border-color: #f4b400; background: #fffbeb; transform: scale(1.03); }
.feed-gift-item.selected { border-color: #000A23; background: #f0f4ff; }

.feed-gift-emoji { font-size: 28px; line-height: 1; }
.feed-gift-name { font-size: 10px; font-weight: 700; color: #1a1a1a; text-align: center; }
.feed-gift-cost { font-size: 11px; font-weight: 800; color: #f4b400; }

.feed-gift-send-btn {
  margin: 4px 16px 0;
  width: calc(100% - 32px);
  padding: 15px;
  background: #000A23;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}

.feed-gift-send-btn:hover { background: dodgerblue; transform: scale(1.01); }
.feed-gift-send-btn:disabled { background: #9CA3AF; cursor: not-allowed; transform: none; }

/* ══ RESPONSIVE ══ */
@media (max-width: 600px) {
  .profile-header::before { height: 140px; }
  .profile-fullname { font-size: 20px; }
  .avatar-wrap { margin-top: -55px; }
  .avatar-wrap img { width: 110px; height: 110px; border-width: 4px; }
  #ownerActions, .public-action-row { top: 152px; }
  .edit-profile-btn, .follow-profile-btn, .message-profile-btn { padding: 7px 16px; font-size: 14px; }
  .tab-btn { font-size: 14px; padding: 14px 4px; }
  .edit-avatar-wrap img { width: 90px; height: 90px; }

  .text-body.text-only-bold { font-size: 20px; padding: 24px 16px 28px; }
  .poll-option-img-wrap { height: 90px; }
  .feed-gift-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px 12px; }
}


/* ═══════════════════════════════
   GIFT COMMENTS
═══════════════════════════════ */

.gift-comment {

  padding: 12px;

  border: 1px solid rgba(255,215,0,.25);

  background:
    rgba(255,215,0,.05);

  border-radius: 16px;

  margin-bottom: 12px;
}

.comment-user-meta {

  display: flex;

  flex-direction: column;
}

.gift-support-badge {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  margin-top: 4px;

  padding: 4px 10px;

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      #ffcc00,
      #ff8800
    );

  color: #111;

  font-size: 12px;

  font-weight: 700;

  width: fit-content;
}

.gift-support-badge span {

  color: black;

  font-weight: 800;
}





/* ═══════════════════════════════
   BIRTHDAY POSTS
═══════════════════════════════ */

.birthday-post {

  position: relative;

  overflow: hidden;

  border: 1px solid rgba(255, 192, 203, 0.25);

  background:
    linear-gradient(
      135deg,
      rgba(255,192,203,0.08),
      rgba(255,215,0,0.06)
    );

}

/* ═══════════════════════════════ */

body.dark .birthday-post {

  border: 1px solid rgba(255,255,255,0.08);

  background:
    linear-gradient(
      135deg,
      rgba(255,105,180,0.12),
      rgba(255,215,0,0.06)
    );

}

/* ═══════════════════════════════
   REPORT / BLOCK MODALS
═══════════════════════════════ */

.report-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.report-modal .reason-modal-sheet,
.report-modal .confirm-modal-sheet {
  background: white;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 500px;
}

.report-modal h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.report-modal p {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 20px;
  line-height: 1.5;
}

.reason-option-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  background: white;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 8px;
  cursor: pointer;
  font-family: inherit;
}

.reason-option-btn:hover {
  background: #F3F4F6;
}

.reason-cancel-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: #F3F4F6;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  font-family: inherit;
}

.confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.confirm-actions button {
  flex: 1;
}

.confirm-action-btn {
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.confirm-block-btn {
  background: #EF4444;
}

.confirm-unblock-btn {
  background: #10B981;
}

.confirm-cancel-btn {
  border: 1.5px solid #E5E7EB;
  background: white;
  color: #6B7280;
}

/* ═══════════════════════════════
   REASON MODAL (Dark Mode)
═══════════════════════════════ */

body.dark .reason-modal-sheet,
body.dark .confirm-modal-sheet {
  background-color: #121212;
  color: #eee;
}

body.dark .report-modal h3 {
  color: #eee;
}

body.dark .report-modal p {
  color: #D1D5DB;
}

body.dark .reason-option-btn,
body.dark .confirm-cancel-btn {
  background-color: #1C1C1E !important;
  border-color: #333 !important;
  color: #eee !important;
}

body.dark .reason-option-btn:hover,
body.dark .confirm-cancel-btn:hover {
  background-color: #333 !important;
}

body.dark .reason-cancel-btn {
  background-color: #2C2C2E !important;
  color: #D1D5DB !important;
}

body.dark .confirm-action-btn {
  color: #fff !important;
}

body.dark .confirm-block-btn {
  background: #EF4444 !important;
}

body.dark .confirm-unblock-btn {
  background: #10B981 !important;
}

/* ═══════════════════════════════ */

.birthday-banner {

  margin: 10px 14px;

  padding: 12px;

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      #FF5FA2,
      #FFD166
    );

  color: white;

}

/* ═══════════════════════════════ */

.birthday-banner-left {

  display: flex;

  align-items: center;

  gap: 12px;

}

/* ═══════════════════════════════ */

.birthday-emoji {

  font-size: 28px;

}

/* ═══════════════════════════════ */

.birthday-banner-text {

  display: flex;

  flex-direction: column;

}

/* ═══════════════════════════════ */

.birthday-banner-text strong {

  font-size: 15px;

  font-weight: 800;

}

/* ═══════════════════════════════ */

.birthday-banner-text small {

  font-size: 12px;

  opacity: .95;

}

/* ═══════════════════════════════ */

.birthday-quick-actions {

  display: flex;

  gap: 10px;

  overflow-x: auto;

  padding: 0 14px 14px;

}

/* ═══════════════════════════════ */

.birthday-wish-btn {

  border: none;

  outline: none;

  padding: 10px 14px;

  border-radius: 999px;

  background: rgba(255,255,255,0.9);

  color: #111;

  font-weight: 700;

  font-size: 13px;

  cursor: pointer;

  white-space: nowrap;

}

/* ═══════════════════════════════ */

body.dark .birthday-wish-btn {

  background: rgba(255,255,255,0.08);

  color: white;

}

/* ═══════════════════════════════ */

.birthday-wish-btn:active {

  transform: scale(.95);

}


/* ═══════════════════════════════
   BIRTHDAY GIFT BUTTONS
═══════════════════════════════ */

.birthday-gift-btn {

  border: none;

  outline: none;

  cursor: pointer;

  padding: 10px 15px;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 700;

  background:
    linear-gradient(
      135deg,
      #FF5FA2,
      #FFD166
    );

  color: white;

  white-space: nowrap;

  transition: .2s;

}

/* ═══════════════════════════════ */

.birthday-gift-btn:hover {

  transform: scale(1.05);

}

/* ═══════════════════════════════ */

.birthday-gift-btn:active {

  transform: scale(.94);

}



/* ═══════════════════════════════
   BIRTHDAY CONFETTI
═══════════════════════════════ */

.birthday-confetti {

  position: absolute;

  inset: 0;

  overflow: hidden;

  pointer-events: none;

}

/* ═══════════════════════════════ */

.birthday-confetti::before,

.birthday-confetti::after {

  content: "";

  position: absolute;

  width: 200%;

  height: 200%;

  top: -50%;

  left: -50%;

  background-image:

    radial-gradient(circle, #FFD700 2px, transparent 2px),

    radial-gradient(circle, #FF5FA2 2px, transparent 2px),

    radial-gradient(circle, #00C2FF 2px, transparent 2px),

    radial-gradient(circle, #7CFF6B 2px, transparent 2px);

  background-size:

    80px 80px,

    100px 100px,

    120px 120px,

    140px 140px;

  animation:
    birthdayFloat 16s linear infinite;

  opacity: .35;

}

/* ═══════════════════════════════ */

.birthday-confetti::after {

  animation-duration: 24s;

  opacity: .2;

}

/* ═══════════════════════════════ */

@keyframes birthdayFloat {

  from {

    transform:
      rotate(0deg)
      translateY(0);

  }

  to {

    transform:
      rotate(360deg)
      translateY(40px);

  }

}



/* ═══════════════════════════════
   REAL GIFT BUTTON
═══════════════════════════════ */

.birthday-real-gift-btn {

  border: none;

  outline: none;

  cursor: pointer;

  padding: 11px 18px;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 800;

  color: white;

  background:
    linear-gradient(
      135deg,
      #7C3AED,
      #EC4899
    );

  box-shadow:
    0 4px 14px rgba(124,58,237,.28);

  transition: .2s;

}

/* ═══════════════════════════════ */

.birthday-real-gift-btn:hover {

  transform: scale(1.05);

}

/* ═══════════════════════════════ */

.birthday-real-gift-btn:active {

  transform: scale(.95);

}





body.dark .side-menu {
  background-color: #121212;
  box-shadow: #1C1C1E;
}

body.dark .side-menu a svg { width: 20px; height: 20px; box-shadow: #1C1C1E; }
body.dark .side-menu a:hover { background: #1C1C1E; }

body.dark .svg-menu{
  fill: #fff;
}

body.dark .side-menu .closebtn {
  color: #fff;
}

body.dark .side-menu a{
  box-shadow: none;
  color: white;
} 
body.dark .stat-num {
  color: white;
}
body.dark .about-section-title {
  color: white;
  border-color: white;
}
body.dark .tab-btn.active {
  color: #D1D5DB;
  border-bottom-color: #D1D5DB;
}
body.dark .sheet-modal{
  background-color: #121212;
  color: #eee;
}
body.dark .sheet-search, body.dark .sheet-input, body.dark .sheet-textarea {
  background-color: #1C1C1E;
  border-color: #333;
  color: #eee;
}
body.dark .sheet-search:focus, body.dark .sheet-input:focus, body.dark .sheet-textarea:focus {
  border-color: #D1D5DB;
  background-color: #1C1C1E;
  color: #eee;
}
body.dark .user-info strong {
  color: #eee;
}
body.dark .post-three-dot-menu {
  background-color: #1C1C1E;
}
body.dark .post-three-dot-menu .share-item {
  color: #eee;
}
body.dark .social-platform-grid > button{
  background-color: #000;
  border-color: #333;
  color: #eee;
}
body.dark .social-platform-grid > button:hover, body.dark .social-platform-grid > button.selected {
  background-color: #D1D5DB;
  border-color: #D1D5DB;
  color: #000A23;
}
body.dark .social-item{
  background-color: #121212;
}
body.dark .social-item-handle{
  color: white;
}
body.dark .edit-profile-container, body.dark .edit-header body.dark .edit-avatar-section, body.dark .edit-field-group label {
  background-color: #121212;
  color: #eee;
}
body.dark .username-input-wrap> span,body.dark .username-input-wrap {
  background-color: #2C2C2E;
}
body.dark .save-profile-btn {
  background-color: #000;
  color: #eee;
}
body.dark .post-three-dot-menu {
  color: #D1D5DB;
  border-color: #333;
  background-color: #1C1C1E;
}
body.dark .post-three-dot-menu .share-item:hover {
  background-color: #333;
}
body.dark .three-dot-item.share-item {
  color: #eee;
}
body.dark .three-dot-item.delete-item {
  color: rgb(250, 25, 25);
}
body.dark #reportBlockMenu{
  background-color: #121212;
}
body.dark #menuBlockBtn{
  color: white;
}
body.dark .report-modal{
  background-color: #121212;
}
body.dark .report-modal> h3{
  color: white;
}
body.dark .report-modal> p{
  color: rgb(179, 174, 174);
}
body.dark .report-modal> button{
  color: white;
}
body.dark .three-dot-item{
  background-color: #1C1C1E;
}
body.dark .edit-header{
  background-color: #1C1C1E;
}
body.dark .edit-avatar-section{
  background-color: #1C1C1E;
}
body.dark #reportBlockMenu, #menuReportBtn, #menuBlockBtn{
  background-color: #1C1C1E;
}
body.dark #menuBlockBtn{
  color: red;
}
body.dark #three-dot-item\report-item{
  background-color: #1C1C1E;
  color: red;
}
body.dark #three-dot-item\share-item{
  background-color: #1C1C1E;
}
/* ══ GIFT MODAL ══ */
.feed-gift-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.feed-gift-box {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 28px 28px 0 0;
  padding: 0 0 40px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.35s cubic-bezier(0.22,1,0.36,1);
}

.feed-gift-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
  border-radius: 28px 28px 0 0;
}

.feed-gift-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
}

.feed-gift-back {
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  padding: 4px;
}

.feed-gift-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #f0f4ff;
  margin: 12px 16px 4px;
  border-radius: 14px;
}

.feed-gift-bal {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.feed-gift-recharge-btn {
  background: #000A23;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
}

.feed-gift-recharge-btn:hover { background: dodgerblue; }

.feed-gift-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  padding: 12px 16px 16px;
  overflow-y: auto;
  flex: 1;
}

.feed-gift-item {
  aspect-ratio: 1;
  background: #f8f9fa;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  padding: 8px;
}

.feed-gift-item:hover {
  border-color: #f4b400;
  background: #fffbeb;
  transform: scale(1.03);
}

.feed-gift-item.selected {
  border-color: #000A23;
  background: #f0f4ff;
}

.feed-gift-emoji { font-size: 28px; line-height: 1; }
.feed-gift-name {
  font-size: 10px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
}
.feed-gift-cost { font-size: 11px; font-weight: 800; color: #f4b400; }

.feed-gift-send-btn {
  margin: 4px 16px 0;
  width: calc(100% - 32px);
  padding: 15px;
  background: #000A23;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}

.feed-gift-send-btn:hover {
  background: dodgerblue;
  transform: scale(1.01);
}

.feed-gift-send-btn:disabled {
  background: #9CA3AF;
  cursor: not-allowed;
  transform: none;
}
/* video grid style */
#videosTab {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #000;
}
#videosTab.active{
  display:grid;
}

.video-grid-item {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.video-grid-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; 
}

.video-grid-footer {
  position: absolute;
  bottom: 6px;
  left: 6px;
}

.video-views {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
/* Dark mode for gift modal */
body.dark .feed-gift-box { background: #1a1a1a; }
body.dark .feed-gift-header { background: #1a1a1a; border-bottom-color: #262626; }
body.dark .feed-gift-header h3 { color: #E5E7EB; }
body.dark .feed-gift-back { color: #E5E7EB; }
body.dark .feed-gift-balance-row { background: #262626; }
body.dark .feed-gift-bal { color: #E5E7EB; }
body.dark .feed-gift-item { background: #262626; }
body.dark .feed-gift-item.selected { background: #1a2a4a; }
body.dark .feed-gift-name { color: #E5E7EB; }
body.dark #reportBlockMenu .report-option:hover {
  background-color: #333;
}
body.dark .report-modal button {
  background-color: #333;
}
body.dark #menuReportBtn{
  color: red;
  background-color: #1C1C1E;
}
body.dark #menuBlockBtn{
  color: red;
  background-color: #1C1C1E;
}
body.dark .about-section {
  border-bottom: 1px solid #111111;
} 
