/* ════════════════════════════════════════════════════════════════════════
 * VivuCap Social · Refined UI Layer  ·  v1.0.0
 * Loaded LAST in the cascade. Highest specificity (html body #vcs-app ...).
 * ════════════════════════════════════════════════════════════════════════ */

:root, .vcs-app, #vcs-app {
  --vcsr-navy-900:    #060f25;
  --vcsr-navy-800:    #0b1d3a;
  --vcsr-navy-700:    #122a5c;
  --vcsr-navy-600:    #1c3a78;
  --vcsr-gold-500:    #d4a017;
  --vcsr-gold-400:    #e9be3f;
  --vcsr-ink-0:       #fafafa;
  --vcsr-ink-1:       #e6ebf5;
  --vcsr-ink-2:       #aab4c7;
  --vcsr-ink-3:       #6b7891;
  --vcsr-glass-1:     rgba(250,250,250,0.06);
  --vcsr-glass-2:     rgba(250,250,250,0.10);
  --vcsr-glass-3:     rgba(250,250,250,0.18);
  --vcsr-line-soft:   rgba(250,250,250,0.10);
  --vcsr-line-strong: rgba(250,250,250,0.22);
  --vcsr-danger:      #dc2626;
  --vcsr-danger-soft: rgba(220,38,38,0.10);
  --vcsr-radius-sm:   12px;
  --vcsr-radius-md:   16px;
  --vcsr-radius-lg:   22px;
  --vcsr-radius-pill: 999px;
  --vcsr-shadow-card: 0 22px 60px rgba(0,0,0,0.32);
  --vcsr-shadow-btn:  0 14px 30px rgba(0,0,0,0.28);
  --vcsr-ease:        cubic-bezier(.2,.7,.2,1);
}

/* v6.7.4 - Auth readability and guest family photo */
html body .vcs-overlay#overlay-login > .vcs-vp-sheet,
html body .vcs-overlay#overlay-register > .vcs-vp-sheet {
  background: #ffffff !important;
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  border: 1px solid rgba(13, 27, 62, .12) !important;
  box-shadow: 0 28px 80px rgba(4, 10, 24, .32) !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-title,
html body .vcs-overlay#overlay-register .vcs-vp-auth-title,
html body .vcs-overlay#overlay-login .vcs-vp-auth-sub,
html body .vcs-overlay#overlay-register .vcs-vp-auth-sub,
html body .vcs-overlay#overlay-login .vcs-vp-auth-form,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form,
html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-field label,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-field label,
html body .vcs-overlay#overlay-login .vcs-sheet-switch,
html body .vcs-overlay#overlay-register .vcs-sheet-switch,
html body .vcs-overlay#overlay-login .vcs-field-hint,
html body .vcs-overlay#overlay-register .vcs-field-hint {
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  text-shadow: none !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form input[type="text"],
html body .vcs-overlay#overlay-login .vcs-vp-auth-form input[type="email"],
html body .vcs-overlay#overlay-login .vcs-vp-auth-form input[type="password"],
html body .vcs-overlay#overlay-register .vcs-vp-auth-form input[type="text"],
html body .vcs-overlay#overlay-register .vcs-vp-auth-form input[type="email"],
html body .vcs-overlay#overlay-register .vcs-vp-auth-form input[type="password"] {
  background: #ffffff !important;
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  border: 1.5px solid rgba(13, 27, 62, .18) !important;
  box-shadow: 0 1px 0 rgba(13, 27, 62, .04) !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form input::placeholder,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form input::placeholder {
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280 !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form input:focus,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form input:focus {
  background: #ffffff !important;
  border-color: #0d1b3e !important;
  box-shadow: 0 0 0 4px rgba(13, 27, 62, .10) !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-primary,
html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-full,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-primary,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-full,
html body .vcs-overlay#overlay-login .vcs-vp-auth-form button[type="submit"],
html body .vcs-overlay#overlay-register .vcs-vp-auth-form button[type="submit"] {
  background: #ffffff !important;
  background-image: none !important;
  color: #05070d !important;
  -webkit-text-fill-color: #05070d !important;
  border: 1.5px solid #111827 !important;
  text-shadow: none !important;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .10) !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-primary *,
html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-full *,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-primary *,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-full * {
  color: #05070d !important;
  -webkit-text-fill-color: #05070d !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-primary:hover,
html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-full:hover,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-primary:hover,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-full:hover {
  background: #f3f4f6 !important;
  color: #05070d !important;
  -webkit-text-fill-color: #05070d !important;
}

html body .vcs-overlay#overlay-login .vcs-sheet-switch a,
html body .vcs-overlay#overlay-register .vcs-sheet-switch a,
html body .vcs-overlay#overlay-login #switch-to-forgot {
  color: #0d1b3e !important;
  -webkit-text-fill-color: #0d1b3e !important;
  text-decoration-color: rgba(13, 27, 62, .35) !important;
}

html body .vcs-overlay#overlay-login .vcs-form-error,
html body .vcs-overlay#overlay-register .vcs-form-error {
  background: #fff1f2 !important;
  color: #9f1239 !important;
  -webkit-text-fill-color: #9f1239 !important;
  border-color: rgba(225, 29, 72, .22) !important;
}

html body #vcs-app .vcs-members-gate .vcs-members-family-photo {
  width: min(100%, 520px) !important;
  margin: 18px auto 16px !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  aspect-ratio: 16 / 10 !important;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .34) !important;
}

html body #vcs-app .vcs-members-gate .vcs-members-family-photo img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: 58% 42% !important;
}

@media (max-width: 520px) {
  html body #vcs-app .vcs-members-gate .vcs-members-family-photo {
    aspect-ratio: 4 / 3 !important;
    margin: 14px auto 14px !important;
  }
}

/* 1 · COMPOSER · main "Share..." bar — ellipsis, never overflows */
html body #vcs-app .vcs-feed-composer {
  width: min(100%, 760px) !important;
  margin: 0 auto 16px !important;
  padding: 14px 14px 12px !important;
  border: 1px solid var(--vcsr-line-soft) !important;
  border-radius: var(--vcsr-radius-lg) !important;
  background:
    radial-gradient(120% 130% at 10% 0%, rgba(212,160,23,0.08), transparent 55%),
    linear-gradient(150deg, rgba(11,29,58,0.92), rgba(6,15,37,0.96)) !important;
  box-shadow: var(--vcsr-shadow-card) !important;
}
html body #vcs-app .vcs-feed-composer-main {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  gap: 12px !important;
  padding: 11px 14px !important;
  border: 1px solid var(--vcsr-line-soft) !important;
  border-radius: var(--vcsr-radius-md) !important;
  background: var(--vcsr-glass-1) !important;
  color: var(--vcsr-ink-1) !important;
  -webkit-text-fill-color: var(--vcsr-ink-1) !important;
  text-align: left !important;
  font-weight: 700 !important;
  font-size: .92rem !important;
  letter-spacing: .005em !important;
  cursor: pointer !important;
  transition: background .25s var(--vcsr-ease), border-color .25s var(--vcsr-ease) !important;
  min-height: 60px !important;
  overflow: hidden !important;
}
html body #vcs-app .vcs-feed-composer-main:hover {
  background: var(--vcsr-glass-2) !important;
  border-color: var(--vcsr-line-strong) !important;
}
html body #vcs-app .vcs-feed-composer-main > span:not(.vcs-feed-composer-avatar) {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: block !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  color: rgba(250,250,250,0.82) !important;
  -webkit-text-fill-color: rgba(250,250,250,0.82) !important;
  font-weight: 600 !important;
}
html body #vcs-app .vcs-feed-composer-avatar,
html body #vcs-app .vcs-feed-composer-avatar img {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  object-fit: cover !important;
  display: grid !important;
  place-items: center !important;
  background: var(--vcsr-navy-700) !important;
  color: var(--vcsr-gold-500) !important;
  font-weight: 800 !important;
  border: 2px solid rgba(212,160,23,0.55) !important;
  flex-shrink: 0 !important;
}

/* 2 · PHOTO / VIDEO / AUDIO / MESSAGE chips — premium */
html body #vcs-app .vcs-feed-composer-actions {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 12px !important;
}
html body #vcs-app .vcs-feed-composer-actions button {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 44px !important;
  padding: 10px 8px !important;
  border-radius: var(--vcsr-radius-pill) !important;
  border: 1px solid var(--vcsr-line-strong) !important;
  background: var(--vcsr-glass-1) !important;
  color: var(--vcsr-ink-0) !important;
  -webkit-text-fill-color: var(--vcsr-ink-0) !important;
  background-image: none !important;
  background-clip: padding-box !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
  letter-spacing: .015em !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background .22s var(--vcsr-ease), border-color .22s var(--vcsr-ease), transform .15s var(--vcsr-ease) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
html body #vcs-app .vcs-feed-composer-actions button:hover {
  background: var(--vcsr-glass-2) !important;
  border-color: rgba(212,160,23,0.55) !important;
}
html body #vcs-app .vcs-feed-composer-actions button:active {
  transform: scale(.97) !important;
}
html body #vcs-app .vcs-feed-composer-actions button::before,
html body #vcs-app .vcsr-profile-composer button::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  background-color: var(--vcsr-gold-500);
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="photo"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><circle cx='12' cy='12' r='3.2'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><circle cx='12' cy='12' r='3.2'/></svg>");
}
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="video"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polygon points='23 7 16 12 23 17'/><rect x='1' y='5' width='15' height='14' rx='2'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polygon points='23 7 16 12 23 17'/><rect x='1' y='5' width='15' height='14' rx='2'/></svg>");
}
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="audio"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3z'/><path d='M19 11a7 7 0 0 1-14 0'/><line x1='12' y1='19' x2='12' y2='23'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3z'/><path d='M19 11a7 7 0 0 1-14 0'/><line x1='12' y1='19' x2='12' y2='23'/></svg>");
}
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="text"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/></svg>");
}
@media (max-width: 640px) {
  html body #vcs-app .vcs-feed-composer-actions { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body #vcs-app .vcs-feed-composer { border-radius: 18px !important; }
  html body #vcs-app .vcs-feed-composer-main { min-height: 56px !important; padding: 10px 12px !important; }
  html body #vcs-app .vcs-feed-composer-main > span:not(.vcs-feed-composer-avatar) { font-size: .88rem !important; }
}

/* v6.7.0 targeted polish: centered header wordmark + premium media chips */
html body #vcs-app .vcs-vp-topbar-inner {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) 48px !important;
  align-items: center !important;
  justify-items: center !important;
  position: relative !important;
}
html body #vcs-app .vcs-vp-brand-link {
  grid-column: 2 !important;
  justify-self: center !important;
  width: max-content !important;
  max-width: min(72vw, 360px) !important;
  margin: 0 auto !important;
  transform: translateZ(0) !important;
}
html body #vcs-app .vcs-vp-brand {
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
}
html body #vcs-app .vcs-vp-msgbtn {
  grid-column: 3 !important;
  justify-self: end !important;
}
html body #vcs-app .vcs-feed-composer-actions button,
html body #vcs-app .vcsr-profile-composer button {
  min-height: 48px !important;
  border-radius: 18px !important;
  border-color: rgba(255,255,255,.14) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.055)),
    rgba(8,18,47,.78) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 12px 26px rgba(0,0,0,.26) !important;
  transform: translateZ(0) !important;
  will-change: transform, border-color, background !important;
}
html body #vcs-app .vcs-feed-composer-actions button:hover,
html body #vcs-app .vcsr-profile-composer button:hover {
  border-color: rgba(233,190,63,.62) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.075)),
    rgba(12,28,70,.9) !important;
  transform: translate3d(0,-1px,0) !important;
}
html body #vcs-app [data-vcs-quick-post="photo"]::before { background-color: #70e2a4 !important; }
html body #vcs-app [data-vcs-quick-post="video"]::before { background-color: #ff5f8f !important; }
html body #vcs-app [data-vcs-quick-post="audio"]::before { background-color: #57d7ff !important; }
html body #vcs-app [data-vcs-quick-post="text"]::before { background-color: var(--vcsr-gold-400) !important; }
html body #vcs-app #post-upload-zone[data-vcs-quick-mode="photo"],
html body #vcs-app #post-upload-zone[data-vcs-quick-mode="video"],
html body #vcs-app #post-upload-zone[data-vcs-quick-mode="audio"] {
  border-color: rgba(233,190,63,.5) !important;
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(87,215,255,.12), transparent 46%),
    linear-gradient(160deg, rgba(8,18,47,.92), rgba(6,15,37,.98)) !important;
}

/* v6.7.0 final: Create media buttons are premium, not red */
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="photo"],
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="video"],
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="audio"],
html body #vcs-app .vcsr-profile-composer button[data-vcs-quick-post="photo"],
html body #vcs-app .vcsr-profile-composer button[data-vcs-quick-post="video"],
html body #vcs-app .vcsr-profile-composer button[data-vcs-quick-post="audio"] {
  border: 1px solid rgba(122,216,255,.30) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.055)),
    linear-gradient(135deg, rgba(7,23,63,.96), rgba(12,34,86,.92)) !important;
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 14px 30px rgba(2,5,15,.34) !important;
}
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="photo"]:hover,
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="video"]:hover,
html body #vcs-app .vcs-feed-composer-actions button[data-vcs-quick-post="audio"]:hover,
html body #vcs-app .vcsr-profile-composer button[data-vcs-quick-post="photo"]:hover,
html body #vcs-app .vcsr-profile-composer button[data-vcs-quick-post="video"]:hover,
html body #vcs-app .vcsr-profile-composer button[data-vcs-quick-post="audio"]:hover {
  border-color: rgba(245,200,76,.72) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.075)),
    linear-gradient(135deg, rgba(10,31,82,.98), rgba(16,47,114,.94)) !important;
}
html body #vcs-app [data-vcs-quick-post="photo"]::before,
html body #vcs-app [data-vcs-quick-post="video"]::before,
html body #vcs-app [data-vcs-quick-post="audio"]::before {
  background-color: #7ad8ff !important;
}
html body #overlay-post #post-record-audio,
html body #overlay-post #post-record-audio.is-recording,
html body #overlay-post #post-record-audio[data-vcs-audio-state="recording"] {
  border-color: rgba(122,216,255,.42) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.06)),
    linear-gradient(135deg, #07173f, #0c2256) !important;
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 30px rgba(2,5,15,.34) !important;
}
html body #overlay-post #post-record-audio .vcs-record-dot,
html body #overlay-post #post-record-audio.is-recording .vcs-record-dot,
html body #overlay-post #post-record-audio[data-vcs-audio-state="recording"] .vcs-record-dot {
  background: #7ad8ff !important;
}
html body #vcs-app #btn-bn-elly {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* 3 · VISIT WEBSITE / promo link buttons */
html body #vcs-app .vcs-post-link-btn,
html body #vcs-app .vcs-promo-link-btn,
html body #vcs-app a.vcs-post-link-btn,
html body #vcs-app a.vcs-promo-link-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
  border-radius: var(--vcsr-radius-pill) !important;
  background: linear-gradient(135deg, var(--vcsr-navy-800), var(--vcsr-navy-600)) !important;
  color: var(--vcsr-gold-500) !important;
  -webkit-text-fill-color: var(--vcsr-gold-500) !important;
  font-weight: 800 !important;
  font-size: .85rem !important;
  letter-spacing: .015em !important;
  text-decoration: none !important;
  border: 1px solid rgba(212,160,23,0.45) !important;
  box-shadow: var(--vcsr-shadow-btn) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  transition: transform .15s var(--vcsr-ease), box-shadow .25s var(--vcsr-ease) !important;
}
html body #vcs-app .vcs-post-link-btn:hover,
html body #vcs-app .vcs-promo-link-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,.34) !important;
  color: var(--vcsr-gold-400) !important;
  -webkit-text-fill-color: var(--vcsr-gold-400) !important;
}
html body #vcs-app .vcs-post-link-wrap,
html body #vcs-app .vcs-promo-link-footer {
  display: flex !important;
  justify-content: center !important;
  padding: 10px 14px 14px !important;
}

/* 4 · SHARE NOW + MESSAGE TO THE FUTURE row */
html body #vcs-app .vcsr-publish-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-top: 8px !important;
}
@media (max-width: 480px) {
  html body #vcs-app .vcsr-publish-row { grid-template-columns: 1fr !important; }
}
html body #vcs-app #btn-submit-post {
  background: linear-gradient(135deg, var(--vcsr-navy-800) 0%, var(--vcsr-navy-600) 60%, var(--vcsr-gold-500) 140%) !important;
  background-image: linear-gradient(135deg, var(--vcsr-navy-800) 0%, var(--vcsr-navy-600) 60%, var(--vcsr-gold-500) 140%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  border-radius: var(--vcsr-radius-pill) !important;
  min-height: 50px !important;
  font-weight: 850 !important;
  letter-spacing: .01em !important;
  box-shadow: 0 18px 36px rgba(11,29,58,0.45) !important;
}
html body #vcs-app .vcsr-future-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 50px !important;
  border-radius: var(--vcsr-radius-pill) !important;
  border: 1.5px solid var(--vcsr-gold-500) !important;
  background: rgba(212,160,23,0.08) !important;
  color: var(--vcsr-gold-500) !important;
  -webkit-text-fill-color: var(--vcsr-gold-500) !important;
  font-weight: 850 !important;
  font-size: .92rem !important;
  letter-spacing: .01em !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background .22s var(--vcsr-ease), transform .15s var(--vcsr-ease) !important;
}
html body #vcs-app .vcsr-future-btn:hover { background: rgba(212,160,23,0.16) !important; transform: translateY(-1px) !important; }
html body #vcs-app .vcsr-future-btn:active { transform: scale(.97) !important; }
html body #vcs-app .vcsr-future-btn svg { stroke: currentColor !important; }

html body #vcs-app #overlay-post .vcs-sheet,
html body #overlay-post .vcs-sheet {
  max-height: 92vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
html body #vcs-app #overlay-post .vcs-sheet-title { font-weight: 850 !important; letter-spacing: -.015em !important; }

/* 5 · PROFILE PAGE polish */
html body #vcs-app .vcs-profile-header { display: flex !important; align-items: center !important; gap: 14px !important; padding: 12px 0 !important; }
html body #vcs-app .vcs-profile-avatar,
html body #vcs-app .vcs-profile-avatar img {
  width: 84px !important; height: 84px !important; min-width: 84px !important;
  border-radius: 50% !important; overflow: hidden !important; object-fit: cover !important;
  border: 3px solid var(--vcsr-gold-500) !important; background: var(--vcsr-navy-700) !important;
}
html body #vcs-app .vcs-profile-name { font-weight: 900 !important; letter-spacing: -.012em !important; font-size: 1.18rem !important; }
html body #vcs-app .vcs-profile-username { color: var(--vcsr-ink-2) !important; font-weight: 600 !important; }
html body #vcs-app .vcs-profile-actions { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin-top: 12px !important; }
html body #vcs-app .vcs-btn-profile-post,
html body #vcs-app .vcs-btn-edit-profile {
  flex: 1 1 140px !important; min-height: 44px !important;
  border-radius: var(--vcsr-radius-pill) !important;
  font-weight: 800 !important; letter-spacing: .005em !important;
  border: 0 !important; cursor: pointer !important;
}
html body #vcs-app .vcs-btn-profile-post {
  background: linear-gradient(135deg, var(--vcsr-navy-800), var(--vcsr-navy-600)) !important;
  color: var(--vcsr-gold-500) !important;
  -webkit-text-fill-color: var(--vcsr-gold-500) !important;
  border: 1px solid rgba(212,160,23,0.4) !important;
}
html body #vcs-app .vcs-btn-edit-profile {
  background: var(--vcsr-glass-1) !important;
  color: var(--vcsr-ink-0) !important;
  -webkit-text-fill-color: var(--vcsr-ink-0) !important;
  border: 1px solid var(--vcsr-line-strong) !important;
}

html body #vcs-app .vcsr-profile-tabs {
  display: flex !important; gap: 6px !important; margin: 14px 0 10px !important;
  padding: 4px !important;
  background: var(--vcsr-glass-1) !important;
  border: 1px solid var(--vcsr-line-soft) !important;
  border-radius: var(--vcsr-radius-pill) !important;
  overflow-x: auto !important; -webkit-overflow-scrolling: touch !important;
}
html body #vcs-app .vcsr-profile-tab {
  flex: 1 0 auto !important; padding: 9px 14px !important;
  border: 0 !important; background: transparent !important;
  color: var(--vcsr-ink-2) !important;
  font-weight: 700 !important; font-size: .85rem !important;
  border-radius: var(--vcsr-radius-pill) !important; cursor: pointer !important;
  transition: background .2s var(--vcsr-ease), color .2s var(--vcsr-ease) !important;
  white-space: nowrap !important;
}
html body #vcs-app .vcsr-profile-tab.is-active {
  background: linear-gradient(135deg, var(--vcsr-navy-800), var(--vcsr-navy-600)) !important;
  color: var(--vcsr-gold-500) !important;
}
html body #vcs-app .vcsr-profile-about {
  padding: 14px 16px !important; border-radius: var(--vcsr-radius-md) !important;
  background: var(--vcsr-glass-1) !important;
  border: 1px solid var(--vcsr-line-soft) !important;
  color: var(--vcsr-ink-1) !important; line-height: 1.6 !important; font-size: .9rem !important;
}
html body #vcs-app .vcsr-profile-about p { margin: 0 0 8px !important; }
html body #vcs-app .vcsr-profile-about strong { color: var(--vcsr-gold-500) !important; }

html body #vcs-app .vcsr-profile-composer {
  margin: 12px 0 16px !important; padding: 12px !important;
  border-radius: var(--vcsr-radius-md) !important;
  background: var(--vcsr-glass-1) !important;
  border: 1px solid var(--vcsr-line-soft) !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
@media (max-width: 480px) {
  html body #vcs-app .vcsr-profile-composer { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
html body #vcs-app .vcsr-profile-composer button {
  appearance: none !important; -webkit-appearance: none !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  gap: 6px !important; min-height: 42px !important;
  border-radius: var(--vcsr-radius-pill) !important;
  border: 1px solid var(--vcsr-line-strong) !important;
  background: var(--vcsr-glass-1) !important;
  color: var(--vcsr-ink-0) !important;
  -webkit-text-fill-color: var(--vcsr-ink-0) !important;
  font-weight: 700 !important; font-size: .82rem !important; cursor: pointer !important;
  transition: background .2s var(--vcsr-ease), border-color .2s var(--vcsr-ease) !important;
}
html body #vcs-app .vcsr-profile-composer button:hover {
  background: var(--vcsr-glass-2) !important;
  border-color: rgba(212,160,23,0.55) !important;
}

/* 6 · EDIT PROFILE — mobile-first, safe scroll */
html body #vcs-app #overlay-edit-profile .vcs-sheet,
html body #overlay-edit-profile .vcs-sheet {
  max-height: 94vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px) !important;
}
html body #vcs-app #overlay-edit-profile .vcs-sheet-close,
html body #overlay-edit-profile .vcs-sheet-close {
  position: sticky !important; top: 6px !important; z-index: 5 !important;
  margin-left: auto !important; display: flex !important;
}
html body #vcs-app #overlay-edit-profile input,
html body #vcs-app #overlay-edit-profile textarea {
  width: 100% !important; box-sizing: border-box !important;
  font-size: 16px !important;
  padding: 12px 14px !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #0d1b3e !important;
  -webkit-text-fill-color: #0d1b3e !important;
}
html body #vcs-app #overlay-edit-profile input:focus,
html body #vcs-app #overlay-edit-profile textarea:focus {
  border-color: var(--vcsr-gold-500) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(212,160,23,0.18) !important;
}
html body #vcs-app #overlay-edit-profile .vcs-field { margin-bottom: 14px !important; }
html body #vcs-app #overlay-edit-profile .vcs-field label {
  display: block !important; margin-bottom: 6px !important;
  font-weight: 700 !important; font-size: .78rem !important;
  text-transform: uppercase !important; letter-spacing: .07em !important;
  color: #374151 !important;
}

html body #vcs-app .vcsr-edit-section {
  margin-top: 22px !important; padding-top: 16px !important;
  border-top: 1px solid #f1f5f9 !important;
}
html body #vcs-app .vcsr-edit-section-title {
  font-weight: 850 !important; font-size: .78rem !important;
  letter-spacing: .08em !important; text-transform: uppercase !important;
  color: #6b7280 !important; margin: 0 0 12px !important;
}

html body #vcs-app .vcsr-danger-zone {
  margin-top: 22px !important; padding: 14px !important;
  border-radius: var(--vcsr-radius-md) !important;
  background: var(--vcsr-danger-soft) !important;
  border: 1px solid rgba(220,38,38,0.32) !important;
}
html body #vcs-app .vcsr-danger-zone-title {
  font-weight: 850 !important; font-size: .82rem !important;
  letter-spacing: .04em !important; text-transform: uppercase !important;
  color: var(--vcsr-danger) !important; margin: 0 0 6px !important;
}
html body #vcs-app .vcsr-danger-zone-copy {
  color: #7f1d1d !important; font-size: .82rem !important;
  margin: 0 0 12px !important; line-height: 1.5 !important;
}
html body #vcs-app .vcsr-danger-btn {
  display: block !important; width: 100% !important;
  padding: 11px 14px !important; border-radius: 12px !important;
  border: 1.5px solid var(--vcsr-danger) !important;
  background: #fff !important; color: var(--vcsr-danger) !important;
  -webkit-text-fill-color: var(--vcsr-danger) !important;
  font-weight: 800 !important; font-size: .85rem !important;
  cursor: pointer !important; transition: background .2s var(--vcsr-ease) !important;
}
html body #vcs-app .vcsr-danger-btn:hover {
  background: var(--vcsr-danger) !important; color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html body #vcs-app .vcsr-danger-btn + .vcsr-danger-btn { margin-top: 8px !important; }

@media (max-width: 640px) {
  html body #vcs-app #overlay-edit-profile .vcs-btn-primary.vcs-btn-full {
    position: sticky !important; bottom: 8px !important; z-index: 4 !important;
    margin-top: 12px !important;
    box-shadow: 0 16px 36px rgba(11,29,58,0.32) !important;
  }
}

/* 7 · Refined toast */
.vcsr-status-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 99999;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: linear-gradient(135deg, #0b1d3a, #1c3a78);
  color: #fafafa;
  font-weight: 700; font-size: .88rem;
  box-shadow: 0 22px 50px rgba(0,0,0,.36);
  border: 1px solid rgba(212,160,23,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-width: calc(100vw - 32px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vcsr-status-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.vcsr-status-toast.is-error   { background: linear-gradient(135deg, #7f1d1d, #b91c1c); border-color: rgba(255,255,255,.2); }
.vcsr-status-toast.is-success { background: linear-gradient(135deg, #064e3b, #047857); border-color: rgba(212,160,23,.45); }
.vcsr-status-toast .vcsr-toast-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: vcsr-spin .8s linear infinite;
}
@keyframes vcsr-spin { to { transform: rotate(360deg); } }

/* 8 · /@username/ public profile shortcode */
.vcsr-public-profile { width: min(100%, 920px); margin: 0 auto; padding: 18px 16px 80px; color: #fafafa; }
.vcsr-public-profile-header {
  display: flex; align-items: center; gap: 16px;
  padding: 18px; border-radius: 22px;
  background: linear-gradient(150deg, rgba(11,29,58,0.92), rgba(6,15,37,0.96));
  border: 1px solid rgba(250,250,250,0.10);
  box-shadow: 0 22px 60px rgba(0,0,0,0.32);
}
.vcsr-public-profile-avatar {
  width: 96px; height: 96px; min-width: 96px;
  border-radius: 50%; background: #122a5c; border: 3px solid #d4a017;
  overflow: hidden; display: grid; place-items: center;
}
.vcsr-public-profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcsr-public-profile-name { font-weight: 900; font-size: 1.4rem; color: #fafafa; margin: 0; }
.vcsr-public-profile-handle { font-weight: 700; color: #aab4c7; margin: 2px 0 4px; }
.vcsr-public-profile-bio { color: #e6ebf5; font-size: .9rem; line-height: 1.55; }
.vcsr-public-profile-stats { display: flex; gap: 18px; margin-top: 14px; }
.vcsr-public-profile-stat strong { display:block; font-weight: 900; color: #d4a017; font-size: 1.1rem; }
.vcsr-public-profile-stat small  { color: #aab4c7; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

/* v6.7.2 final auth contrast override - must stay last */
html body .vcs-overlay#overlay-login > .vcs-vp-sheet,
html body .vcs-overlay#overlay-register > .vcs-vp-sheet {
  background: #ffffff !important;
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-field label,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-field label,
html body .vcs-overlay#overlay-login .vcs-sheet-switch,
html body .vcs-overlay#overlay-register .vcs-sheet-switch,
html body .vcs-overlay#overlay-login .vcs-field-hint,
html body .vcs-overlay#overlay-register .vcs-field-hint,
html body .vcs-overlay#overlay-login .vcs-vp-auth-title,
html body .vcs-overlay#overlay-register .vcs-vp-auth-title,
html body .vcs-overlay#overlay-login .vcs-vp-auth-sub,
html body .vcs-overlay#overlay-register .vcs-vp-auth-sub {
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  text-shadow: none !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form input[type="text"],
html body .vcs-overlay#overlay-login .vcs-vp-auth-form input[type="email"],
html body .vcs-overlay#overlay-login .vcs-vp-auth-form input[type="password"],
html body .vcs-overlay#overlay-register .vcs-vp-auth-form input[type="text"],
html body .vcs-overlay#overlay-register .vcs-vp-auth-form input[type="email"],
html body .vcs-overlay#overlay-register .vcs-vp-auth-form input[type="password"] {
  background: #ffffff !important;
  color: #0b1220 !important;
  -webkit-text-fill-color: #0b1220 !important;
  border-color: rgba(13, 27, 62, .22) !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form input::placeholder,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form input::placeholder {
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280 !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-primary,
html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-full,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-primary,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-full,
html body .vcs-overlay#overlay-login .vcs-vp-auth-form button[type="submit"],
html body .vcs-overlay#overlay-register .vcs-vp-auth-form button[type="submit"] {
  background: #ffffff !important;
  background-image: none !important;
  color: #05070d !important;
  -webkit-text-fill-color: #05070d !important;
  border: 1.5px solid #111827 !important;
  text-shadow: none !important;
}

html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-primary *,
html body .vcs-overlay#overlay-login .vcs-vp-auth-form .vcs-btn-full *,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-primary *,
html body .vcs-overlay#overlay-register .vcs-vp-auth-form .vcs-btn-full * {
  color: #05070d !important;
  -webkit-text-fill-color: #05070d !important;
}

/* v6.7.4 final auth scroll and guest image placement override - must stay last */
html body .vcs-overlay#overlay-login,
html body .vcs-overlay#overlay-register,
html body .vcs-overlay#overlay-forgot,
html body .vcs-overlay#overlay-verify-email {
  align-items: flex-start !important;
  justify-content: center !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 18px 14px !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
}

html body .vcs-overlay#overlay-login > .vcs-sheet,
html body .vcs-overlay#overlay-register > .vcs-sheet,
html body .vcs-overlay#overlay-forgot > .vcs-sheet,
html body .vcs-overlay#overlay-verify-email > .vcs-sheet {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  margin: auto 0 !important;
}

html body .vcs-overlay#overlay-login .vcs-register-memory-photo,
html body .vcs-overlay#overlay-register .vcs-register-memory-photo,
html body .vcs-overlay#overlay-forgot .vcs-register-memory-photo,
html body .vcs-overlay#overlay-verify-email .vcs-register-memory-photo {
  display: none !important;
}

@media (max-height: 760px), (max-width: 520px) {
  html body .vcs-overlay#overlay-login > .vcs-sheet,
  html body .vcs-overlay#overlay-register > .vcs-sheet,
  html body .vcs-overlay#overlay-forgot > .vcs-sheet,
  html body .vcs-overlay#overlay-verify-email > .vcs-sheet {
    max-width: min(440px, 100%) !important;
    margin: 0 !important;
  }
}

