/* VibeHQ mobile/web startup splash */
.startup-splash {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}
.startup-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.startup-splash-inner {
  width: min(280px, 72vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.startup-logo {
  display: block;
  width: min(170px, 48vw);
  height: min(170px, 48vw);
  object-fit: contain;
}
.startup-wordmark {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #fff;
}
.startup-wordmark::first-letter {
  color: #fff;
}
.startup-loader {
  width: min(180px, 52vw);
  height: 2px;
  overflow: hidden;
  background: #2a2a2a;
  border-radius: 999px;
  margin-top: 6px;
}
.startup-loader span {
  display: block;
  width: 38%;
  height: 100%;
  background: #ff6b00;
  border-radius: 999px;
  animation: vibeStartupLoad 1.05s ease-in-out infinite;
}
@keyframes vibeStartupLoad {
  0% {
    transform: translateX(-130%);
  }
  50% {
    transform: translateX(90%);
  }
  100% {
    transform: translateX(270%);
  }
}
@media (max-width: 780px) {
  .startup-logo {
    width: 150px;
    height: 150px;
  }
  .startup-wordmark {
    font-size: 30px;
  }
  .startup-loader {
    width: 160px;
  }
}
:root {
  --bg: #050b14;
  --panel: #0c1726cc;
  --line: #ffffff16;
  --text: #f4fbff;
  --muted: #8ca4b8;
  --cyan: #2fe0ff;
  --violet: #845cff;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}
body {
  overflow-x: hidden;
}
.glass {
  background: linear-gradient(145deg, #ffffff0c, #ffffff04);
  border: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid #ffffff0d;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #06101dcc;
  backdrop-filter: blur(22px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #ffffff08;
  border-radius: 50%;
  cursor: pointer;
}
.icon-btn:hover,
.btn:hover,
.nav:hover {
  background: #ffffff14;
}
.user-chip {
  border: 1px solid var(--line);
  background: #ffffff08;
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}
.user-chip span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #20ddff, #815bff);
  display: grid;
  place-items: center;
  font-weight: 900;
  overflow: hidden;
}
.user-chip span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shell {
  max-width: 1500px;
  margin: auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 780px) 290px;
  gap: 22px;
  padding: 22px;
}
.sidebar {
  min-height: calc(100vh - 116px);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 94px;
  height: max-content;
}
.side-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 22px;
}
.side-logo img {
  width: 40px;
  height: 40px;
}
.side-logo strong {
  display: block;
}
.side-logo small {
  color: var(--muted);
}
.nav {
  border: 0;
  background: transparent;
  border-radius: 15px;
  padding: 13px 12px;
  display: flex;
  gap: 13px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: #9bb0c1;
  position: relative;
}
.nav.active {
  color: #fff;
  background: #ffffff12;
}
.nav em {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  background: var(--cyan);
  color: #00131b;
  border-radius: 99px;
  padding: 3px 6px;
}
.grow {
  flex: 1;
}
.rightbar {
  height: max-content;
  padding: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 900;
  color: #79a1bb;
}
.section-gap {
  margin-top: 28px;
}
.pulse,
.place {
  padding: 11px 0;
  border-bottom: 1px solid #ffffff0b;
  display: flex;
  justify-content: space-between;
  color: #aec0ce;
}
.place {
  display: block;
}
.place small,
.bill small {
  display: block;
  color: #819bad;
  margin-top: 4px;
}
.bill {
  margin-top: 12px;
  padding: 15px;
  border-radius: 17px;
  background: linear-gradient(135deg, #05bddd, #244ba0);
}
.bill.purple {
  background: linear-gradient(135deg, #842bd0, #3e286d);
}
.page {
  animation: fade 0.2s ease;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero {
  padding: 24px;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  right: -130px;
  top: -180px;
  background: #28e4ff3a;
  filter: blur(30px);
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 36px;
  margin: 8px 0;
}
.hero p {
  color: var(--muted);
  max-width: 570px;
}
.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid var(--line);
  background: #ffffff09;
  border-radius: 14px;
  padding: 11px 14px;
  cursor: pointer;
}
.btn.primary {
  border: 0;
  background: linear-gradient(135deg, #27d9ff, #4d6cff 55%, #a64dff);
  font-weight: 900;
  box-shadow: 0 12px 32px #32c9ff2d;
}
.btn.danger {
  border-color: #ff557744;
  color: #ffb6c9;
}
.full {
  width: 100%;
  margin-top: 12px;
}
.status-launch {
  margin-top: 15px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-input {
  flex: 1;
  text-align: left;
  background: #ffffff07;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  color: #89a1b2;
  cursor: pointer;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #20dcff, #8158ff);
  font-weight: 900;
  overflow: hidden;
  flex: 0 0 auto;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar.small {
  width: 36px;
  height: 36px;
}
.avatar.tiny {
  width: 34px;
  height: 34px;
}
.avatar.xl {
  width: 92px;
  height: 92px;
  border: 4px solid #07111d;
}
.feed-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 27px 3px 12px;
}
.feed-title h2 {
  margin: 5px 0 0;
}
.feed {
  display: grid;
  gap: 16px;
}
.post {
  overflow: hidden;
}
.post-head {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
}
.post-user {
  flex: 1;
}
.post-user b {
  display: block;
}
.post-user small {
  color: #7891a3;
}
.visual {
  height: 370px;
}
.post-media,
.mood-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -70px;
  top: -80px;
  background: #ffffff22;
  filter: blur(2px);
  box-shadow: 0 0 90px var(--m2);
}
.mood-art:before,
.mood-art:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid #ffffff25;
}
.mood-art:before {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -300px;
}
.mood-art:after {
  width: 360px;
  height: 360px;
  left: 25%;
  top: 10%;
  border-width: 2px;
}
.mood-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}
.mood-copy small {
  color: #e0f7ff;
}
.mood-copy strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  margin-top: 7px;
  max-width: 80%;
}
.post-content {
  padding: 14px 16px;
}
.post-content > p {
  line-height: 1.55;
  margin: 0 0 12px;
}
.music {
  padding: 10px 12px;
  border-radius: 13px;
  background: #ffffff08;
  border: 1px solid #ffffff0b;
  color: #bcecf7;
}
.post-actions {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.post-actions button {
  border: 0;
  background: #ffffff08;
  border-radius: 12px;
  padding: 9px 11px;
  cursor: pointer;
  color: #b5c7d4;
}
.post-actions button.liked {
  color: #ff668f;
  background: #ff668f14;
}
.poll {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 10px;
}
.poll b {
  display: block;
  margin-bottom: 9px;
}
.poll button {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  background: #ffffff08;
  border-radius: 10px;
  padding: 9px;
  text-align: left;
  cursor: pointer;
}
.comment-area {
  display: none;
  margin-top: 10px;
  border-top: 1px solid #ffffff0c;
  padding-top: 10px;
}
.comment-area.open {
  display: block;
}
.comment-compose,
.chat-compose,
.search-row,
.two {
  display: flex;
  gap: 8px;
}
.input,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff08;
  color: #fff;
  border-radius: 13px;
  padding: 11px;
  outline: none;
}
.textarea {
  min-height: 100px;
  resize: vertical;
}
.search-panel {
  margin-top: 15px;
  padding: 18px;
}
.filter-row,
.tabs {
  display: flex;
  gap: 7px;
  overflow: auto;
  margin-top: 12px;
}
.filter,
.tab {
  border: 1px solid var(--line);
  background: #ffffff08;
  color: #9eb4c3;
  border-radius: 99px;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.filter.active,
.tab.active {
  color: #fff;
  background: #ffffff15;
}
.result {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff06;
}
.result > div:nth-child(2) {
  flex: 1;
}
.result b,
.result small {
  display: block;
}
.result small {
  color: #8ba3b3;
  margin-top: 3px;
}
.result-icon {
  width: 34px;
  text-align: center;
  font-size: 22px;
}
.following {
  background: #21d9ff18 !important;
}
.section {
  margin-top: 25px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tool {
  border-radius: 18px;
  padding: 17px;
  text-align: left;
  cursor: pointer;
}
.tool b,
.tool span {
  display: block;
}
.tool b {
  margin: 8px 0 4px;
}
.tool span {
  font-size: 12px;
  color: #8fa7b8;
}
.stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.notification {
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.notification > span {
  font-size: 20px;
}
.notification small {
  display: block;
  color: #7e97a9;
  margin-top: 5px;
}
.message-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  margin-top: 16px;
}
.people-list {
  padding: 8px;
}
.person {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 9px;
  display: flex;
  gap: 9px;
  text-align: left;
  cursor: pointer;
}
.person:hover {
  background: #ffffff0b;
}
.person span small,
.person span b {
  display: block;
}
.person span small {
  color: #7f98aa;
}
.chat {
  min-height: 430px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.chat-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
}
.bubble {
  max-width: 75%;
  align-self: flex-start;
  padding: 10px 13px;
  border-radius: 16px 16px 16px 4px;
  background: #ffffff0a;
}
.bubble.mine {
  align-self: flex-end;
  background: linear-gradient(135deg, #20cfee, #6d5cff);
  border-radius: 16px 16px 4px 16px;
}
.chat-compose {
  margin-top: 12px;
}
.profile-hero {
  overflow: hidden;
}
.cover {
  width: 100% !important;
  height: 240px !important; /* Forces the banner box taller on desktop */
  min-height: 220px !important;
  background: transparent !important; /* Strips out the old gradient blocking your photo */
  position: relative !important;
  z-index: 1 !important;
}

/* Force the crescent moon photo to stretch wide without column sidebars */
.cover img,
.profile-hero .cover img,
.vhq-profile-page .vhq-profile-cover img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  max-height: none !important;
  object-fit: cover !important; /* Crops cleanly across screen widths */
  object-position: center center !important;
}

/* Isolated Badge rules (Safe from theme collisions) */
.my-custom-badge-container {
  display: inline-flex !important;
  gap: 4px !important;
  align-items: center !important;
}

.my-custom-badge-container img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}
.profile-row {
  padding: 0 22px 20px;
  display: flex;
  gap: 16px;
  align-items: end;
  margin-top: -45px;
}
.profile-row h1 {
  margin: 0;
}
.profile-row p {
  color: #93aabb;
}
.profile-row > div:nth-child(2) {
  flex: 1;
  padding-top: 48px;
}
.profile-buttons {
  display: flex;
  gap: 8px;
  padding-bottom: 3px;
}
.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 9px;
  font-size: 11px;
  color: #b8cbd8;
}
.profile-stats {
  display: flex;
  gap: 1px;
  margin-top: 12px;
}
.profile-stats div {
  flex: 1;
  background: #ffffff06;
  border: 1px solid #ffffff0b;
  padding: 13px;
  text-align: center;
}
.profile-stats b,
.profile-stats span {
  display: block;
}
.profile-stats span {
  font-size: 11px;
  color: #8199aa;
  margin-top: 3px;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.community {
  padding: 18px;
}
.community > span {
  font-size: 28px;
}
.community p {
  color: #91a7b6;
}
.community small {
  color: #8098aa;
  display: block;
  margin-bottom: 12px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #000b;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal {
  width: min(680px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 22px;
}
.modal h2 {
  margin: 6px 0;
}
.close {
  float: right;
  border: 0;
  background: #ffffff0d;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 20px;
}
.mood-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.mood-choice {
  border: 1px solid var(--line);
  background: #ffffff07;
  border-radius: 16px;
  padding: 13px;
  text-align: left;
  cursor: pointer;
}
.mood-choice span {
  font-size: 22px;
}
.mood-choice b {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}
.mood-choice.selected {
  outline: 2px solid var(--cyan);
  background: #ffffff12;
}
.two {
  margin-top: 9px;
}
.upload {
  display: block;
  margin-top: 10px;
  padding: 15px;
  border: 1px dashed #ffffff2b;
  border-radius: 13px;
  text-align: center;
  color: #a7bbc9;
  cursor: pointer;
}
.upload input {
  display: none;
}
.muted {
  color: var(--muted);
  line-height: 1.5;
}
.center {
  text-align: center;
}
.auth-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}
.setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #ffffff0d;
}
.switch {
  width: 50px;
  height: 30px;
  border: 0;
  border-radius: 99px;
  background: #263647;
  padding: 3px;
  cursor: pointer;
}
.switch i {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}
.switch.on {
  background: #20d9ef;
}
.switch.on i {
  transform: translateX(20px);
}
.empty {
  padding: 25px;
  text-align: center;
  color: #8ca5b5;
}
.error-card {
  padding: 25px;
  margin-top: 20px;
}
.onboarding {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #02060dee;
  display: grid;
  place-items: center;
  padding: 18px;
}
.onboard-card {
  width: min(620px, 100%);
  padding: 22px;
  text-align: center;
}
.intro-video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 20px;
  background: #030813;
  margin-bottom: 10px;
}
.onboard-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-top: -55px;
  position: relative;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #f6fcff;
  color: #06111b;
  padding: 11px 15px;
  border-radius: 13px;
  font-weight: 900;
  z-index: 120;
  transition: 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast {
  position: fixed;
}
.mobile-nav {
  display: none;
}
@media (max-width: 1120px) {
  .shell {
    grid-template-columns: 1fr;
    max-width: 900px;
  }
  .sidebar,
  .rightbar {
    display: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: #06101eee;
    border-top: 1px solid var(--line);
    z-index: 60;
    align-items: center;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-nav button {
    border: 0;
    background: none;
    color: #8299aa;
    font-size: 21px;
    cursor: pointer;
  }
  .mobile-nav small {
    display: block;
    font-size: 9px;
  }
  .mobile-nav .create {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #20dcff, #8058ff);
    color: #fff;
    font-size: 30px;
    margin-top: -20px;
  }
  .shell {
    padding-bottom: 92px;
  }
}
@media (max-width: 650px) {
  .topbar {
    padding: 0 13px;
    height: 64px;
  }
  .brand span {
    font-size: 20px;
  }
  .top-actions .icon-btn:first-child {
    display: none;
  }
  .user-chip b {
    display: none;
  }
  .shell {
    padding: 12px 10px 94px;
  }
  .hero {
    display: block;
    padding: 20px;
    min-height: 200px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-actions {
    margin-top: 18px;
  }
  .hero-actions .primary {
    width: 100%;
  }
  .status-launch .btn {
    display: none;
  }
  .visual {
    height: 430px;
  }
  .mood-copy strong {
    font-size: 25px;
  }
  .tool-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }
  .message-layout {
    grid-template-columns: 1fr;
  }
  .people-list {
    display: flex;
    overflow: auto;
  }
  .person {
    min-width: 150px;
  }
  .profile-row {
    display: block;
    padding: 0 15px 18px;
  }
  .profile-row > div:nth-child(2) {
    padding-top: 10px;
  }
  .profile-buttons {
    margin-top: 10px;
  }
  .mood-picker {
    grid-template-columns: repeat(2, 1fr);
  }
  .two,
  .comment-compose,
  .chat-compose {
    display: grid;
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 17px;
  }
  .intro-video {
    height: 190px;
  }
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #f6fcff;
  color: #06111b;
  padding: 11px 15px;
  border-radius: 13px;
  font-weight: 900;
  z-index: 120;
  transition: 0.2s;
  white-space: nowrap;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Vibes 5.0 interaction layer */
.hi {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hi.fill {
  fill: currentColor;
  stroke: none;
}
.verified {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-left: 4px;
  border-radius: 50%;
  background: #29c9ff;
  color: #04111d;
  vertical-align: 2px;
}
.verified .hi {
  width: 11px;
  height: 11px;
  stroke-width: 2.8;
}
.privacy-policy {
  line-height: 1.65;
  color: #d9e7ef;
}
.privacy-policy h3 {
  margin: 22px 0 7px;
  color: #fff;
  font-size: 16px;
}
.privacy-policy p {
  margin: 8px 0;
}
.policy-updated {
  color: var(--muted);
}
.policy-note {
  margin-top: 24px !important;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0c1726;
}
.mobile-settings {
  display: none;
}
.avatar-button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.post-menu-wrap {
  position: relative;
}
.post-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 42px;
  min-width: 175px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #07131fee;
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 45px #0008;
  z-index: 20;
}
.post-menu.open {
  display: grid;
}
.post-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  color: #dbe8ef;
  padding: 10px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}
.post-menu button:hover {
  background: #ffffff0c;
}
.post-menu .danger-text {
  color: #ff7d9e;
}
.reaction-picker {
  display: none;
  gap: 4px;
  padding: 8px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #06111ddd;
}
.reaction-picker.open {
  display: flex;
}
.reaction-picker button {
  border: 0;
  background: #ffffff08;
  border-radius: 10px;
  padding: 7px 9px;
  font-size: 19px;
  cursor: pointer;
}
.reaction-picker button:hover {
  transform: translateY(-2px);
  background: #ffffff15;
}
.reaction-summary {
  font-size: 13px;
  color: #cfe4ef;
  margin: 8px 0;
}
.saved {
  color: #61e9ff !important;
}
.mood-preview {
  min-height: 115px;
  border-radius: 20px;
  padding: 20px;
  margin: 13px 0;
  background:
    radial-gradient(circle at 80% 20%, var(--m2), transparent 32%),
    linear-gradient(135deg, var(--m1), var(--m2));
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  position: relative;
}
.mood-preview span {
  font-size: 34px;
}
.mood-preview b {
  font-size: 25px;
}
.mood-preview small {
  opacity: 0.8;
}
.gate {
  min-height: calc(100vh - 130px);
  display: grid;
  place-items: center;
}
.gate-card {
  text-align: center;
  max-width: 700px;
  padding: 38px;
}
.gate-logo {
  width: 150px;
  max-width: 40vw;
  margin-bottom: 8px;
}
.gate-card h1 {
  font-size: clamp(34px, 6vw, 62px);
  margin: 8px 0;
}
.gate-card .hero-actions {
  justify-content: center;
}
.locked-card {
  padding: 35px;
  text-align: center;
  margin-top: 20px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}
.media-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}
.admin-row {
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
}
.admin-row small {
  display: block;
  color: #8ba3b3;
}
.check {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #b8cad5;
  font-size: 13px;
}
.community {
  border: 1px solid var(--line);
  text-align: left;
  color: #fff;
  cursor: pointer;
}
.community:hover {
  transform: translateY(-2px);
  border-color: #35d9ff55;
}
.community strong {
  display: block;
  margin-top: 8px;
  color: #62e7ff;
}
.clickable {
  cursor: pointer;
}
.discover-page .search-panel {
  position: relative;
}
.community-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.selected {
  background: #ffffff0c !important;
}
.status-launch {
  position: sticky;
  top: 74px;
  z-index: 8;
}
.comment {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff09;
}
.comment span {
  color: #bfd0da;
}
.post-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.error-card {
  max-width: 720px;
}
.auth-modal {
  max-width: 470px;
}
.settings-modal {
  max-width: 620px;
}
.settings-modal .btn {
  white-space: nowrap;
}
@media (max-width: 650px) {
  .mobile-settings {
    display: grid;
  }
  .top-actions .icon-btn {
    width: 38px;
    height: 38px;
  }
  .shell {
    padding-left: 8px;
    padding-right: 8px;
  }
  .page {
    width: 100%;
  }
  .discover-page .hero {
    display: none;
  }
  .discover-page .search-panel {
    margin-top: 0;
    padding: 12px;
  }
  .discover-page .search-row {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .discover-page .filter-row {
    margin-left: -2px;
    margin-right: -2px;
    padding-bottom: 3px;
  }
  .discover-page .filter {
    padding: 7px 10px;
    font-size: 12px;
  }
  .discover-page .tool-grid {
    grid-template-columns: 1fr 1fr;
  }
  .discover-page .tool {
    min-height: 118px;
    padding: 14px;
  }
  .discover-page .result {
    padding: 10px;
  }
  .discover-page .result .btn {
    padding: 8px 9px;
  }
  .community-hero {
    display: block;
  }
  .community-hero .btn {
    margin-top: 15px;
    width: 100%;
  }
  .admin-row {
    grid-template-columns: auto 1fr;
  }
  .admin-row .check {
    grid-column: 2;
  }
  .status-launch {
    top: 66px;
  }
  .visual {
    height: 390px;
  }
  .post-head {
    padding: 12px;
  }
  .post-content {
    padding: 12px;
  }
  .post-actions {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .post-actions button {
    white-space: nowrap;
  }
  .reaction-picker {
    overflow-x: auto;
  }
  .reaction-picker button {
    flex: 0 0 auto;
  }
  .post-menu {
    right: -5px;
    min-width: 185px;
  }
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gate {
    min-height: calc(100vh - 160px);
  }
  .gate-card {
    padding: 25px 18px;
  }
  .gate-card h1 {
    font-size: 34px;
  }
  .topbar {
    gap: 7px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand span {
    font-size: 18px;
  }
  .user-chip {
    padding: 3px;
  }
  .user-chip b {
    display: none;
  }
  .modal-backdrop {
    padding: 8px;
  }
  .modal {
    max-height: 88vh;
    padding: 15px;
  }
  .mood-picker {
    grid-template-columns: repeat(2, 1fr);
  }
  .two {
    grid-template-columns: 1fr;
  }
  .settings-modal {
    padding-bottom: 24px;
  }
}

/* Dedicated authentication pages */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}
.auth-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 18px;
  align-items: stretch;
}
.auth-art,
.auth-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
}
.auth-art {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, #0a1b2d, #07101c 58%, #21153b);
}
.auth-art h1 {
  font-size: 54px;
  line-height: 0.98;
  margin: 12px 0;
}
.auth-art p {
  color: var(--muted);
  max-width: 420px;
  font-size: 16px;
}
.auth-logo {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: none;
}
.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-card h2 {
  font-size: 38px;
  margin: 8px 0;
}
.auth-card form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.auth-card label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #cfe0eb;
}
.auth-help {
  color: #7892a4;
  margin-top: -3px;
}
.auth-error {
  min-height: 20px;
  color: #ff9db6;
  font-size: 13px;
}
.auth-switch {
  text-align: center;
  color: #91a7b6;
  margin-top: 18px;
}
.auth-switch a {
  color: #6fe8ff;
  font-weight: 800;
  text-decoration: none;
}
.auth-mobile-brand {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.auth-mobile-brand img {
  width: 40px;
  height: 40px;
}
.auth-mobile-brand b {
  font-size: 22px;
}
.auth-card .input {
  min-height: 48px;
}
.auth-card .full {
  min-height: 50px;
}
.auth-card .btn {
  font-weight: 800;
}
@media (max-width: 780px) {
  .auth-page {
    padding: 12px;
    place-items: stretch;
  }
  .auth-shell {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: auto;
  }
  .auth-art {
    display: none;
  }
  .auth-card {
    min-height: calc(100vh - 24px);
    padding: 28px 20px;
    border-radius: 24px;
  }
  .auth-mobile-brand {
    display: flex;
  }
  .auth-card h2 {
    font-size: 34px;
  }
  .auth-card:before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -140px;
    top: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, #1ee6ff30, transparent 70%);
    pointer-events: none;
  }
}
/* Vibes Admin + dedicated settings */
.settings-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  margin-top: 18px;
}
.settings-menu {
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 5px;
  height: max-content;
}
.settings-menu button {
  border: 0;
  background: transparent;
  color: #a9bfcc;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}
.settings-menu button:hover,
.settings-menu button.selected {
  background: #ffffff0d;
  color: #fff;
}
.settings-content {
  padding: 22px;
}
.setting-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #ffffff0b;
}
.setting-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}
.setting-card small {
  display: block;
  color: #8098a8;
  margin-top: 4px;
}
.settings-content .danger {
  margin-top: 18px;
}
.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.metric-card {
  padding: 16px;
}
.metric-card small,
.metric-card span {
  display: block;
  color: #849ba9;
}
.metric-card strong {
  display: block;
  font-size: 30px;
  margin: 8px 0;
}
.admin-alert {
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.admin-alert p {
  margin: 4px 0 0;
  color: #8da5b3;
}
.alert-pill {
  color: #ff9db6 !important;
  border-color: #ff5f8f55 !important;
}
.admin-tabs {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding-bottom: 10px;
  margin-bottom: 8px;
}
.admin-tabs button {
  border: 1px solid var(--line);
  background: #ffffff05;
  color: #a9bfcc;
  border-radius: 11px;
  padding: 9px 12px;
  white-space: nowrap;
  cursor: pointer;
}
.admin-tabs button.selected {
  background: #ffffff12;
  color: #fff;
}
.admin-toolbar,
.admin-form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.admin-toolbar .input:first-child {
  flex: 1;
}
.table-wrap {
  overflow: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ffffff0a;
  vertical-align: middle;
}
.admin-table th {
  color: #8ba2b1;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-user-cell small {
  display: block;
  color: #829aa8;
  margin-top: 3px;
}
.admin-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
}
.admin-role {
  min-width: 120px;
  padding: 8px 10px;
}
.admin-form .input:first-child {
  flex: 1;
}
.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}
.config-grid label {
  display: grid;
  gap: 7px;
  color: #b9cbd5;
  font-size: 13px;
}
.config-grid .input {
  width: 100%;
}
@media (max-width: 900px) {
  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-menu {
    display: flex;
    overflow: auto;
  }
  .settings-menu button {
    white-space: nowrap;
  }
  .admin-hero {
    display: block;
  }
  .admin-hero .btn {
    margin-top: 14px;
  }
  .admin-hero .btn {
    width: 100%;
  }
}
@media (max-width: 650px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-card strong {
    font-size: 24px;
  }
  .admin-toolbar,
  .admin-form {
    display: grid;
    grid-template-columns: 1fr;
  }
  .admin-table th:nth-child(3),
  .admin-table td:nth-child(3) {
    display: none;
  }
  .admin-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .config-grid {
    grid-template-columns: 1fr;
  }
  .settings-content {
    padding: 16px;
  }
  .admin-alert {
    align-items: flex-start;
    gap: 10px;
  }
  .admin-tabs {
    margin-right: -5px;
  }
}
/* VibeHQ-inspired home feed */
.VibeHQ-home {
  max-width: 760px;
  margin: 0 auto;
}
.home-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 18px;
}
.home-search-icon {
  display: grid;
  place-items: center;
  color: #8ea7b8;
}
.home-search .input {
  border: 0;
  background: transparent;
  padding: 10px 4px;
}
.home-search .input:focus {
  box-shadow: none;
}
.home-search-results {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}
.home-user-result {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff08;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.home-user-result:hover {
  background: #ffffff12;
}
.home-user-result span {
  display: grid;
  gap: 2px;
}
.home-user-result small {
  color: var(--muted);
}
.VibeHQ-home .VibeHQ-home .status-launch {
  position: static;
  margin-top: 10px;
  border-radius: 18px;
}
.VibeHQ-home .feed-title {
  margin-top: 22px;
}
.VibeHQ-home .post {
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff0d, #ffffff05);
}
.VibeHQ-home .post-head {
  padding: 14px 16px 10px;
}
.VibeHQ-home .post-content {
  padding: 8px 16px;
}
.VibeHQ-home .post-content > p {
  font-size: 15px;
}
.VibeHQ-home .visual {
  height: auto;
  max-height: 620px;
  display: flex;
  background: #030912;
}
.VibeHQ-home .post-media,
.VibeHQ-home .VibeHQ-home .post-footer {
  padding-top: 10px;
}
.post-media-preview {
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #030912;
  display: flex;
  justify-content: center;
}
.post-media-preview:empty {
  display: none;
}
.post-media-preview img,
.post-media-preview video {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}
.upload .hi {
  vertical-align: -4px;
  margin-right: 5px;
}
@media (max-width: 650px) {
  .VibeHQ-home {
    max-width: none;
  }
  .home-search {
    position: sticky;
    top: 68px;
    z-index: 7;
  }
  .VibeHQ-home .visual {
    max-height: 500px;
  }
  .VibeHQ-home .post-media,
  .VibeHQ-home .home-search .btn {
    padding: 9px 11px;
  }
  .VibeHQ-home .status-launch .btn {
    display: inline-flex;
  }
}
.ai-live-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.ai-live-controls .btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ai-live-controls svg {
  width: 18px;
  height: 18px;
}
.ai-sources {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}
.ai-sources a {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.ai-result audio {
  width: 100%;
  margin: 8px 0;
}
.generated {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 16px;
  margin: 8px 0;
}

/* Flat visual treatment: no glow, bloom, blur, or decorative mood art. */
* {
  text-shadow: none !important;
  filter: none !important;
  box-shadow: none !important;
}
.glass {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.mood-art,
.mood-orb {
  display: none !important;
}
.post-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.feeling {
  font-size: 13px;
  font-weight: 600;
  color: #aebdca;
}
.cover {
  background-size: cover;
  background-position: center;
  min-height: 210px;
  background-color: #111b27;
}
.share-modal {
  max-width: 520px;
}
.share-option {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 15px;
  margin-top: 8px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101a25;
  cursor: pointer;
}
.share-option:hover {
  background: #162230;
}
.share-option small {
  color: var(--muted);
}
body,
.glass {
  background-image: none !important;
}
.hero:after,
.auth-card:before,
.ambient,
.auth-art-glow {
  display: none !important;
}
.avatar {
  background: #1a2633 !important;
}
html,
body {
  background: #050b14 !important;
  color: var(--text) !important;
}
body {
  background: linear-gradient(
    180deg,
    #050b14 0%,
    #071321 48%,
    #050b14 100%
  ) !important;
}
.topbar {
  background: #06101d !important;
  border-bottom-color: #ffffff12 !important;
}
.sidebar,
.rightbar {
  background: #091524 !important;
  border-color: var(--line) !important;
}
.glass,
.card,
.panel,
.post,
.composer,
.profile-card,
.community-card,
.settings-card,
.modal-card,
.status-launch,
.home-search {
  background: #0c1726 !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
.input,
.textarea,
.search-box,
select {
  background: #081321 !important;
  color: #f4fbff !important;
  border-color: #26384d !important;
}
.input::placeholder,
.textarea::placeholder {
  color: #71889b !important;
}
.btn {
  background: #101d2d !important;
  border-color: #2a3c50 !important;
  color: #e8f4fb !important;
}
.btn.primary {
  background: linear-gradient(135deg, #168eb0, #4058c9 55%, #7543bd) !important;
  color: #fff !important;
}
.nav {
  color: #91a9ba !important;
}
.nav.active {
  background: #142337 !important;
  color: #fff !important;
}
.status-input {
  background: #101d2d !important;
  color: #91a8b9 !important;
  border-color: #293c50 !important;
}
.VibeHQ-home .post {
  background: #0c1726 !important;
}
.VibeHQ-home .visual,
.post-media-preview {
  background: #030912 !important;
}
.post-actions button,
.filter,
.tab,
.result,
.home-user-result {
  background: #101d2d !important;
  border-color: #26394e !important;
}
.music,
.poll {
  background: #101d2d !important;
  border-color: #26394e !important;
}
.share-option {
  background: #101d2d !important;
  border-color: #2a3c50 !important;
}
.cover {
  background-color: #101c2b !important;
}
.community-hero,
.community-cover {
  background: linear-gradient(
    135deg,
    #102d45 0%,
    #18254d 50%,
    #39203f 100%
  ) !important;
}
.profile-hero .cover {
  background-color: #101c2b !important;
}
.profile-stats > div {
  background: #0c1726 !important;
  border-color: var(--line) !important;
}
.empty,
.error-card {
  background: #0c1726 !important;
}
.verified {
  color: #59dfff !important;
}
/* Keep all previously requested glow removal */
* {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}
.hero:after,
.auth-card:before,
.ambient,
.auth-art-glow {
  display: none !important;
}
.glass {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* Link sharing + previews */
.link-input {
  margin-top: 10px;
}
.composer-link-preview {
  display: none;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #101d2d;
}
.composer-link-preview.show {
  display: flex;
  min-height: 76px;
}
.composer-link-preview > img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  background: #081321;
}
.composer-link-preview > .link-preview-copy {
  padding: 10px 12px;
}
.link-preview {
  display: flex;
  margin: 0 16px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #101d2d;
  color: var(--text);
  text-decoration: none;
  min-height: 90px;
}
.link-preview:hover {
  background: #142337;
}
.link-preview > img {
  width: 170px;
  min-height: 110px;
  object-fit: cover;
  background: #081321;
}
.link-preview-copy {
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  min-width: 0;
}
.link-preview-copy small {
  color: #70a5ba;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.link-preview-copy b {
  font-size: 14px;
  line-height: 1.3;
}
.link-preview-copy span {
  font-size: 12px;
  color: #8fa7b8;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.link-preview-copy em {
  font-size: 11px;
  color: #657e90;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.composer-link-preview .link-preview-copy em {
  display: none;
}
@media (max-width: 650px) {
  .link-preview {
    margin-left: 12px;
    margin-right: 12px;
  }
  .link-preview > img {
    width: 110px;
    min-height: 100px;
  }
  .composer-link-preview > img {
    width: 100px;
  }
  .link-preview-copy {
    padding: 9px;
  }
  .link-preview-copy span {
    display: none;
  }
}

/* Full Vibes color palette background — rich dark gradient, still flat/no glow */
html,
body {
  background: #050b14 !important;
}
body {
  background:
    radial-gradient(900px 500px at 8% 8%, #12365a 0%, transparent 58%),
    radial-gradient(800px 520px at 92% 12%, #2d164f 0%, transparent 55%),
    radial-gradient(850px 560px at 50% 88%, #073c4d 0%, transparent 58%),
    linear-gradient(145deg, #050b14 0%, #08182a 42%, #0a1021 72%, #050b14 100%) !important;
  background-attachment: fixed !important;
}
/* Colorful surfaces while keeping the no-glow look */
.VibeHQ-home .post {
  background: linear-gradient(145deg, #0d1c2f, #10172a) !important;
}
.status-launch {
  background: linear-gradient(135deg, #0b2639, #171531) !important;
}
.home-search {
  background: linear-gradient(135deg, #0c2235, #17152d) !important;
}
.rightbar {
  background: linear-gradient(180deg, #091827, #111326) !important;
}
.sidebar {
  background: linear-gradient(180deg, #091827, #0e1527) !important;
}
.bill {
  background: linear-gradient(135deg, #0b718c, #2947a0) !important;
}
.bill.purple {
  background: linear-gradient(135deg, #6d239d, #31256d) !important;
}

.inline-link {
  color: #54d9ff;
  text-decoration: underline;
  word-break: break-word;
}
.inline-link:hover {
  opacity: 0.85;
}
.link-preview {
  cursor: pointer;
}
.link-preview * {
  pointer-events: none;
}

/* Community covers and clickable community labels */
.community {
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.community-admin-cover {
  width: 72px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10243d, #26345d);
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
}
.compact-upload {
  min-width: 170px;
}
.inline-community-link {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #65e6ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-community-link:hover {
  color: #b18cff;
}

/* Admin community management improvements */
.community-create-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.6fr) auto;
  align-items: end;
  gap: 14px;
}
.community-create-form label {
  display: grid;
  gap: 7px;
  color: #b9cbd5;
  font-size: 13px;
  font-weight: 700;
}
.large-admin-input {
  min-height: 48px;
  font-size: 15px;
}
.community-create-form .btn {
  min-height: 48px;
  white-space: nowrap;
}
@media (max-width: 850px) {
  .community-create-form {
    grid-template-columns: 1fr;
  }
  .community-create-form .btn {
    width: 100%;
  }
}

/* Vibes 6.0 privacy/security + media fixes */
.avatar img,
.post-head .avatar img,
.profile-row .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: block;
}
.post-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020812;
}
.visual {
  position: relative;
  background: #020812;
  overflow: hidden;
}
.post-media-preview img,
.post-media-preview video {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 14px;
  margin-top: 10px;
  background: #020812;
}
.field-label {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  color: #b9cbd5;
  font-size: 13px;
  font-weight: 700;
}
.compact-select {
  max-width: 220px;
}
.new-message-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.new-message-row select {
  flex: 1;
}
.setting-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #ffffff06;
}
.setting-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.setting-card small {
  display: block;
  color: #849cad;
  margin-top: 4px;
}
@media (max-width: 650px) {
  .new-message-row {
    flex-direction: column;
  }
  .compact-select {
    max-width: none;
  }
  .setting-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .setting-card .btn,
  .setting-card .switch {
    margin-left: auto;
  }
}
.profile-edit-modal {
  max-width: 620px;
}
.media-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.media-choice {
  appearance: none;
  border: 1px solid var(--line);
  background: #ffffff06;
  color: inherit;
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 6px;
}
.media-choice:hover {
  border-color: #54d9ff66;
  background: #ffffff0a;
}
.media-choice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffffff0a;
}
.media-choice-icon .hi {
  width: 22px;
  height: 22px;
}
.media-choice small,
.selected-media-summary {
  color: #8ea4b5;
}
.selected-media-summary {
  min-height: 22px;
  margin: 0 0 12px;
}
.crop-modal {
  max-width: 650px;
}
.crop-stage {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #020812;
  border-radius: 18px;
  touch-action: none;
}
.crop-stage.crop-cover {
  height: 300px;
}
.crop-image,
.crop-stage img {
  position: absolute;
  max-width: none;
  user-select: none;
  pointer-events: none;
}
.crop-window {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 2px solid #fff;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.58);
  pointer-events: none;
  width: 340px;
  height: 340px;
}
.crop-cover .crop-window {
  width: 100%;
  height: 180px;
}
.crop-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.crop-zoom {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  font-weight: 700;
}
.crop-zoom input {
  width: 100%;
}
.crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
@media (max-width: 600px) {
  .media-choice-grid {
    grid-template-columns: 1fr;
  }
  .crop-stage {
    height: 300px;
  }
  .crop-window {
    width: 260px;
    height: 260px;
  }
  .crop-cover .crop-window {
    width: 100%;
    height: 150px;
  }
}
.privacy-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 5px;
  color: #8fdfff;
}
.privacy-icon .hi {
  width: 13px;
  height: 13px;
}
.badge {
  position: relative;
}
.badge #notifDot {
  position: absolute;
  right: -2px;
  top: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--cyan);
  color: #00131b;
  font-size: 10px;
  font-weight: 900;
  font-style: normal;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 17px;
  border: 2px solid #06101d;
}
.inline-link {
  color: #7eeaff;
  text-decoration: underline;
}
.post-name-line {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}
.forgot-password {
  display: block;
  margin: 10px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #65e7ff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  box-shadow: none !important;
}
.forgot-password:hover {
  text-decoration: underline;
}
.admin-review-modal {
  max-width: 700px;
}
.review-post {
  padding: 16px;
  margin: 14px 0;
}
.admin-review-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Profile, photo gallery, mobile navigation and admin usability */
.profile-page {
  max-width: 820px;
  margin: 0 auto;
}
.profile-hero {
  overflow: visible;
  border-radius: 22px;
}
.profile-hero .cover {
  min-height: 250px;
  border-radius: 22px 22px 0 0;
  background-size: cover;
  background-position: center;
}
.profile-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px 20px;
  position: relative;
}
.profile-avatar-wrap {
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.profile-avatar-wrap .avatar.xl {
  width: 104px;
  height: 104px;
  border: 5px solid #0c1726;
}
.profile-main {
  min-width: 0;
  flex: 1;
}
.profile-main h1 {
  margin: 8px 0 4px;
  font-size: 30px;
}
.profile-main p {
  margin: 0 0 10px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-menu-wrap,
.photo-view-menu-wrap {
  position: relative;
  align-self: flex-start;
}
.profile-menu-trigger {
  margin-top: 10px;
}
.profile-dropdown,
.photo-view-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 52px;
  min-width: 210px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c1726;
  z-index: 50;
}
.profile-dropdown.open,
.photo-view-dropdown.open {
  display: grid;
}
.profile-dropdown button,
.photo-view-dropdown button {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.profile-dropdown button:hover,
.photo-view-dropdown button:hover {
  background: #142337;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.profile-stats > div,
.profile-stats > button {
  border: 1px solid var(--line);
  background: #0c1726;
  color: inherit;
  border-radius: 15px;
  padding: 13px 10px;
  text-align: center;
  display: grid;
  gap: 3px;
}
.profile-stats > button {
  cursor: pointer;
}
.profile-stats > button:hover {
  background: #142337;
}
.profile-stats b {
  font-size: 20px;
}
.profile-stats span {
  font-size: 12px;
  color: var(--muted);
}
.profile-media-section {
  padding-top: 2px;
}
.photo-category-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.photo-category-mini button {
  border: 1px solid var(--line);
  background: #101d2d;
  border-radius: 15px;
  padding: 14px;
  text-align: left;
  display: grid;
  gap: 3px;
  cursor: pointer;
  color: inherit;
}
.photo-category-mini button:hover {
  background: #142337;
}
.photo-category-mini span {
  color: var(--muted);
  font-size: 12px;
}
.photos-page {
  max-width: 900px;
  margin: 0 auto;
}
.profile-photos-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-radius: 20px;
}
.profile-photos-head h1 {
  margin: 5px 0;
  font-size: 28px;
}
.profile-photos-head p {
  margin: 0;
  color: var(--muted);
}
.photo-category-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 14px 0;
}
.photo-category-tab {
  border: 1px solid var(--line);
  background: #101d2d;
  color: var(--muted);
  border-radius: 12px;
  padding: 10px 13px;
  cursor: pointer;
  white-space: nowrap;
}
.photo-category-tab.active {
  color: #fff;
  background: #142337;
}
.photo-category-tab span {
  margin-left: 6px;
  color: var(--cyan);
}
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.photo-thumb {
  padding: 0;
  border: 0;
  background: #101d2d;
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.connections-modal {
  max-width: 560px;
}
.connections-list {
  display: grid;
  gap: 7px;
  max-height: 65vh;
  overflow: auto;
}
.connection-card {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  background: #101d2d;
  color: inherit;
  border-radius: 13px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}
.connection-card span {
  display: grid;
  gap: 3px;
}
.connection-card small {
  color: var(--muted);
}
.photo-view-backdrop {
  padding: 12px;
}
.photo-viewer {
  width: min(940px, 100%);
  max-height: 94vh;
  overflow: hidden;
  padding: 14px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
.photo-viewer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}
.photo-viewer-top > div {
  display: grid;
  gap: 2px;
}
.photo-viewer-top small {
  color: var(--muted);
}
.photo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 68vh;
  background: #020812;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
}
.photo-stage img {
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
}
.photo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff22;
  background: #06101dcc;
  color: #fff;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  z-index: 2;
  cursor: pointer;
}
.photo-arrow.prev {
  left: 12px;
}
.photo-arrow.next {
  right: 12px;
}
.photo-caption {
  padding: 10px 4px;
  color: #dbe8ef;
  min-height: 22px;
}
.photo-view-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.photo-post-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.photo-post-actions button {
  border: 0;
  background: #101d2d;
  color: inherit;
  border-radius: 11px;
  padding: 8px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.photo-reactions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  color: #dcebf3;
}
.photo-reactions span {
  font-size: 13px;
}
.privacy-policy {
  line-height: 1.65;
  color: #d9e7ef;
}
.privacy-policy h3 {
  margin: 22px 0 7px;
  color: #fff;
  font-size: 16px;
}
.privacy-policy p {
  margin: 8px 0;
}
.policy-updated {
  color: var(--muted);
}
.policy-note {
  margin-top: 24px !important;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0c1726;
}
.mobile-settings {
  display: none;
}
@media (max-width: 650px) {
  .topbar {
    position: sticky;
    height: 58px;
    padding: 0 10px;
  }
  .brand span {
    display: none;
  }
  .top-actions {
    flex: 1;
    justify-content: flex-end;
  }
  .top-actions .mobile-settings {
    display: grid;
    position: static;
    transform: none;
    width: 38px;
    height: 38px;
    place-items: center;
    align-self: center;
    flex: 0 0 38px;
  }
  .top-actions .icon-btn[data-page="messages"] {
    display: none;
  }
  .top-actions .icon-btn {
    width: 36px;
    height: 36px;
  }
  .user-chip {
    margin-left: 2px;
  }
  .shell {
    padding: 8px 8px 82px;
  }
  .sidebar,
  .rightbar {
    display: none;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    padding: 6px 7px calc(6px + env(safe-area-inset-bottom));
    z-index: 80;
    background: #06101d;
    border-top: 1px solid var(--line);
  }
  .mobile-nav button {
    border: 0;
    background: transparent;
    color: #9eb2c0;
    display: grid;
    place-items: center;
    gap: 2px;
    border-radius: 12px;
    cursor: pointer;
    min-width: 0;
  }
  .mobile-nav button.active {
    color: #fff;
    background: #142337;
  }
  .mobile-nav .hi {
    width: 22px;
    height: 22px;
  }
  .mobile-nav small {
    font-size: 10px;
  }
  .mobile-nav .create {
    width: 44px;
    height: 44px;
    margin: auto;
    border-radius: 14px;
    background: #142337;
    color: #fff;
  }
  .status-launch {
    margin-top: 4px;
  }
  .VibeHQ-home .status-launch .btn {
    display: none;
  }
  .VibeHQ-home .profile-page {
    width: 100%;
  }
  .profile-hero {
    border-radius: 18px;
  }
  .profile-hero .cover {
    min-height: 190px;
    border-radius: 18px 18px 0 0;
  }
  .profile-row {
    padding: 0 12px 14px;
    gap: 10px;
    align-items: flex-end;
  }
  .profile-avatar-wrap {
    margin-top: -38px;
  }
  .profile-avatar-wrap .avatar.xl {
    width: 82px;
    height: 82px;
    border-width: 4px;
  }
  .profile-main h1 {
    font-size: 21px;
    line-height: 1.1;
    margin: 2px 0;
  }
  .profile-main p {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .profile-menu-trigger {
    margin-top: 0;
  }
  .profile-dropdown {
    top: 44px;
    min-width: 190px;
  }
  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
    margin: 8px 0;
  }
  .profile-stats > div,
  .profile-stats > button {
    padding: 10px 7px;
  }
  .profile-stats b {
    font-size: 18px;
  }
  .profile-stats span {
    font-size: 11px;
  }
  .photo-category-mini {
    grid-template-columns: 1fr;
  }
  .photo-category-mini button {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .feed-title {
    margin-top: 18px;
  }
  .photos-page {
    width: 100%;
  }
  .profile-photos-head {
    padding: 14px;
    align-items: flex-start;
  }
  .profile-photos-head h1 {
    font-size: 22px;
  }
  .photo-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
  .photo-viewer {
    padding: 9px;
    border-radius: 16px;
  }
  .photo-stage {
    min-height: 260px;
    max-height: 66vh;
  }
  .photo-stage img {
    max-height: 66vh;
  }
  .photo-view-footer {
    align-items: flex-end;
  }
  .photo-post-actions {
    overflow: auto;
    flex-wrap: nowrap;
  }
  .photo-post-actions button {
    white-space: nowrap;
  }
  .photo-reactions {
    justify-content: flex-end;
    max-width: 38%;
  }
  .photo-arrow {
    width: 36px;
    height: 36px;
  }
  .founder-membership {
    margin-left: 4px;
  }
  .founder-membership img {
    width: 38px;
    height: 38px;
  }
  .founder-membership > div {
    display: none;
  }
  .profile-bio-row {
    align-items: flex-start;
  }
  .admin-page .hero {
    padding: 15px;
    min-height: 0;
  }
  .admin-page .hero h1 {
    font-size: 26px;
  }
  .admin-page .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }
  .admin-page .metric-card {
    padding: 11px;
  }
  .admin-page .metric-card strong {
    font-size: 22px;
  }
  .admin-page .admin-alert {
    padding: 12px;
    display: block;
  }
  .admin-page .admin-alert .pill {
    display: inline-block;
    margin-top: 8px;
  }
  .admin-tabs {
    padding-bottom: 5px;
  }
  .admin-tabs button {
    padding: 8px 10px;
    font-size: 12px;
  }
  .admin-table {
    font-size: 12px;
  }
  .admin-table th,
  .admin-table td {
    padding: 9px 7px;
  }
  .admin-row {
    grid-template-columns: 1fr !important;
  }
  .admin-row .check {
    grid-column: auto;
  }
  .admin-actions {
    justify-content: flex-start;
    gap: 5px;
  }
  .admin-actions .btn {
    padding: 8px 9px;
  }
  .table-wrap {
    border-radius: 12px;
  }
  .admin-user-cell {
    align-items: flex-start;
  }
  .profile-photos-head .btn {
    padding: 8px 10px;
  }
}
@media (min-width: 651px) {
  .mobile-nav {
    display: none;
  }
  .profile-page .profile-hero {
    border-radius: 24px;
  }
  .profile-page .profile-row {
    padding-left: 28px;
    padding-right: 18px;
  }
  .profile-page .profile-main h1 {
    font-size: 32px;
  }
}

/* Mobile VibeHQ-style Photos section */
@media (max-width: 650px) {
  .photos-page {
    width: calc(100% + 16px);
    margin-left: -8px;
    margin-right: -8px;
    background: var(--bg);
  }
  .photos-page .profile-photos-head {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 14px 10px;
    min-height: 54px;
    align-items: center;
    position: sticky;
    top: 58px;
    z-index: 12;
  }
  .photos-page .profile-photos-head h1 {
    font-size: 22px;
    margin: 0;
    line-height: 1.15;
  }
  .photos-page .profile-photos-head p {
    font-size: 11px;
    margin-top: 3px;
  }
  .photos-page .profile-photos-head .btn {
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 12px;
  }
  .photos-page .photo-category-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 116px;
    z-index: 11;
  }
  .photos-page .photo-category-tab {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 12px 5px 10px;
    font-size: 11px;
    text-align: center;
    color: var(--muted);
    position: relative;
  }
  .photos-page .photo-category-tab span {
    display: block;
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 10px;
  }
  .photos-page .photo-category-tab.active {
    background: transparent;
    color: var(--text);
    font-weight: 700;
  }
  .photos-page .photo-category-tab.active:after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--cyan);
  }
  .photos-page .photo-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin: 0;
    padding: 2px 0 80px;
  }
  .photos-page .photo-thumb {
    border-radius: 0;
    aspect-ratio: 1;
    background: #101820;
  }
  .photos-page .photo-thumb img {
    object-fit: cover;
  }
  .photos-page .photo-gallery-grid > .empty {
    grid-column: 1/-1;
    margin: 14px;
    border-radius: 14px;
  }
}
@media (min-width: 651px) {
  .mobile-photo-title {
    display: none;
  }
}
@media (max-width: 650px) {
  .desktop-photo-title {
    display: none;
  }
  .mobile-photo-title {
    display: inline;
  }
}

/* VibeHQ Founding Member frame */
.founder-avatar {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
  line-height: 0;
  isolation: isolate;
  animation: founderGlow 5.5s ease-in-out infinite alternate;
}
.founder-avatar.normal {
  width: 64px;
  height: 64px;
}
.founder-avatar.small {
  width: 54px;
  height: 54px;
}
.founder-avatar.tiny {
  width: 50px;
  height: 50px;
}
.founder-avatar.xl {
  width: 150px;
  height: 150px;
}
.founder-photo {
  position: absolute;
  left: 26%;
  top: 18%;
  width: 48%;
  height: 45%;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
}
.founder-photo .avatar {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  margin: 0 !important;
  background: linear-gradient(135deg, #20dcff, #8158ff);
  box-shadow: none !important;
}
.founder-photo .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
}
.founder-inline-badge {
  display: none !important;
}
.founder-membership {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0 0 4px 8px;
}
.founder-membership img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.founder-membership > div {
  display: grid;
  gap: 1px;
}
.founder-membership b {
  font-size: 12px;
  white-space: nowrap;
}
.founder-membership span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.profile-bio-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.profile-bio-row > p {
  flex: 1;
  min-width: 0;
}
.founder-name-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 8px;
  vertical-align: middle;
  flex: 0 0 34px;
  line-height: 0;
  cursor: help;
  position: relative;
  top: 1px;
}
.profile-main h1 {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.founder-name-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}
.founder-name-badge img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}
@keyframes founderGlow {
  from {
    filter: brightness(0.99);
  }
  to {
    filter: brightness(1.06);
  }
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.community-card {
  overflow: hidden;
  cursor: pointer;
}
.community-cover {
  height: 105px;
  background: linear-gradient(135deg, #09172b, #28104b);
  background-size: cover;
  background-position: center;
}
.community-cover.large {
  height: 190px;
  border-radius: 16px;
  margin: -8px -8px 14px;
  background-size: cover;
  background-position: center;
}
.community-card-body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}
.community-card-body h3 {
  margin: 0;
}
.community-card-body p {
  margin: 3px 0;
  color: var(--muted);
}
.community-card-body small {
  color: var(--muted);
}
.community-icon {
  font-size: 28px;
}
.community-hero-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}
.community-hero-copy > div:nth-child(2) {
  flex: 1;
}
.founders-lock-note {
  display: block;
  color: #74eaff;
  margin-top: 5px;
  font-size: 12px;
}
@keyframes founderGlow {
  from {
    filter: brightness(0.99);
  }
  to {
    filter: brightness(1.08);
  }
}

/* VibeHQ mobile-first polish */
@media (max-width: 650px) {
  html {
    font-size: 15px;
    scroll-behavior: smooth;
  }
  body {
    padding-bottom: 0;
    overscroll-behavior-x: none;
  }
  .topbar {
    height: 60px;
    min-height: 60px;
    padding: 0 10px;
    gap: 8px;
    position: sticky;
    top: 0;
  }
  .brand {
    min-width: 0;
    padding: 6px 4px;
    font-size: 21px;
    letter-spacing: -0.02em;
    flex: 1;
    justify-content: flex-start;
  }
  .brand span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-actions {
    gap: 5px;
    flex: 0 0 auto;
  }
  .top-actions .icon-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: grid;
    place-items: center;
  }
  .top-actions .mobile-settings {
    display: grid;
  }
  .user-chip {
    max-width: 42px;
    width: 42px;
    height: 42px;
    padding: 4px;
    justify-content: center;
    border: 0;
    background: transparent;
  }
  .user-chip span {
    width: 34px;
    height: 34px;
  }
  .shell {
    display: block;
    width: 100%;
    max-width: none;
    padding: 10px 8px 88px;
    margin: 0;
  }
  #app {
    width: 100%;
    min-width: 0;
  }
  .page {
    width: 100%;
    min-width: 0;
  }
  .glass {
    border-radius: 16px;
  }
  .hero {
    padding: 17px 15px;
    min-height: auto;
    display: block;
    border-radius: 16px;
  }
  .hero h1 {
    font-size: 27px;
    line-height: 1.12;
    margin: 6px 0 8px;
  }
  .hero p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }
  .hero-actions .btn,
  .hero .btn {
    width: 100%;
    min-height: 44px;
  }
  .feed-title {
    margin: 20px 2px 10px;
    align-items: center;
    gap: 8px;
  }
  .feed-title h2 {
    font-size: 19px;
    line-height: 1.2;
  }
  .feed-title .btn {
    padding: 9px 11px;
    font-size: 12px;
    white-space: nowrap;
  }

  .status-launch {
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    min-width: 0;
  }
  .status-input {
    min-width: 0;
    padding: 11px 12px;
    font-size: 14px;
  }
  .avatar {
    width: 40px;
    height: 40px;
  }
  .post {
    border-radius: 16px;
  }
  .post-head {
    padding: 12px;
  }
  .post-content {
    padding: 12px;
  }
  .post-content > p {
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .visual {
    height: 300px;
    min-height: 220px;
  }
  .post-actions {
    gap: 5px;
    margin-top: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .post-actions::-webkit-scrollbar,
  .filter-row::-webkit-scrollbar,
  .tabs::-webkit-scrollbar,
  .people-list::-webkit-scrollbar {
    display: none;
  }
  .post-actions button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .comment-compose,
  .chat-compose,
  .search-row,
  .two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .comment-compose .btn,
  .chat-compose .btn,
  .search-row .btn,
  .two .btn {
    width: 100%;
    min-height: 42px;
  }
  .input,
  .textarea {
    font-size: 16px;
    min-height: 44px;
  }
  .textarea {
    min-height: 110px;
  }
  .filter-row,
  .tabs {
    gap: 6px;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }
  .filter,
  .tab {
    font-size: 12px;
    padding: 8px 11px;
    flex: 0 0 auto;
  }
  .tool-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .tool {
    min-height: 110px;
    padding: 13px;
  }
  .tool b {
    font-size: 14px;
  }
  .tool span {
    font-size: 11px;
  }
  .message-layout {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .people-list {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    padding: 7px;
    scroll-snap-type: x proximity;
  }
  .person {
    min-width: 145px;
    width: auto;
    flex: 0 0 145px;
    padding: 9px;
    scroll-snap-align: start;
  }
  .chat {
    min-height: calc(100dvh - 185px);
    height: auto;
    padding: 10px;
  }
  .new-message-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .chat-log {
    min-height: 250px;
    max-height: none;
    overflow: auto;
    padding: 5px 0;
  }
  .bubble {
    max-width: 86%;
    font-size: 14px;
  }
  .profile-hero {
    border-radius: 18px;
  }
  .cover {
    height: 135px;
    background-position: center;
    background-size: cover;
  }
  .profile-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    padding: 0 13px 15px;
    margin-top: -36px;
  }
  .profile-row > div:nth-child(2) {
    padding-top: 42px;
    min-width: 0;
    flex: 1 1 calc(100% - 72px);
  }
  .profile-main h1 {
    font-size: 23px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  .profile-main p {
    font-size: 13px;
    line-height: 1.4;
    margin: 5px 0;
  }
  .profile-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 0;
  }
  .profile-buttons .btn {
    min-height: 42px;
  }
  .profile-menu-wrap {
    margin-left: auto;
    align-self: flex-start;
  }
  .profile-dropdown {
    right: 0;
    left: auto;
    min-width: 190px;
    max-width: calc(100vw - 24px);
  }
  .profile-stats {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
  }
  .profile-stats button,
  .profile-stats > div {
    min-width: 0;
    padding: 11px 5px;
    border: 0;
    background: #ffffff06;
    color: inherit;
    text-align: center;
  }
  .profile-stats b {
    font-size: 15px;
    white-space: nowrap;
  }
  .profile-stats span {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .photo-category-mini {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .photo-category-mini button {
    min-height: 58px;
    padding: 10px 12px;
  }
  .community-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .community-card-body {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
  }
  .community-card-body .btn {
    min-height: 40px;
    padding: 8px 10px;
  }
  .community-cover {
    height: 130px;
  }
  .community-hero {
    padding: 0;
    overflow: hidden;
  }
  .community-hero .community-cover.large {
    height: 175px;
  }
  .community-hero-copy {
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  .community-hero-copy h1 {
    font-size: 25px;
  }
  .community-hero-copy p {
    margin: 4px 0;
  }
  .admin-page .hero {
    padding: 15px;
  }
  .admin-page h1 {
    font-size: 24px;
  }
  .admin-tabs {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .admin-tabs button {
    flex: 0 0 auto;
    min-height: 40px;
  }
  .admin-toolbar,
  .admin-form,
  .config-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-table {
    min-width: 620px;
    font-size: 12px;
  }
  .admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .admin-actions .btn {
    width: 100%;
    min-height: 42px;
  }
  .settings-layout {
    display: block;
  }
  .settings-menu {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    margin-bottom: 10px;
    scrollbar-width: none;
  }
  .settings-menu button {
    flex: 0 0 auto;
    min-height: 40px;
  }
  .settings-content {
    padding: 13px;
  }
  .setting,
  .setting-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
  }
  .setting > div,
  .setting-card > div {
    min-width: 0;
    flex: 1;
  }
  .setting .btn,
  .setting-card .btn {
    flex: 0 0 auto;
    min-height: 40px;
  }
  .modal-backdrop {
    padding: 8px;
    align-items: flex-end;
  }
  .modal {
    width: 100%;
    max-width: none;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
    overflow: auto;
  }
  .modal .close {
    width: 40px;
    height: 40px;
  }
  .modal .btn {
    min-height: 44px;
  }
  .photo-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2px !important;
  }
  .photo-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
  }
  .mobile-nav {
    height: 64px;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
    gap: 2px;
    justify-content: space-around;
  }
  .mobile-nav button {
    min-width: 54px;
    min-height: 54px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    font-size: 20px;
    padding: 3px 5px;
  }
  .mobile-nav small {
    font-size: 9px;
    line-height: 1;
  }
  .mobile-nav .create {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 15px;
    margin-top: -15px;
  }
  .empty {
    padding: 22px 14px;
    text-align: center;
  }
  .gate {
    min-height: calc(100dvh - 145px);
  }
  .gate-card {
    padding: 22px 15px;
  }
  .inline-link {
    overflow-wrap: anywhere;
  }
  img,
  video {
    max-width: 100%;
  }
  .post-media {
    max-height: 300px;
    object-fit: contain;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 19px;
  }
  .top-actions .icon-btn {
    width: 35px;
    height: 35px;
  }
  .user-chip {
    width: 38px;
    height: 38px;
  }
  .user-chip span {
    width: 32px;
    height: 32px;
  }
  .mobile-nav button {
    min-width: 48px;
  }
  .mobile-nav small {
    font-size: 8px;
  }
  .profile-stats b {
    font-size: 14px;
  }
  .profile-stats span {
    font-size: 9px;
  }
}

/* Profile photos are always square source crops displayed as circles; never stretch or distort. */
.avatar {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 50%;
}
.profile-avatar-wrap .avatar.xl {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
}
.profile-avatar-wrap .avatar.xl img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
}
.community-post-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
}
.community-post-link:hover {
  text-decoration: underline;
}

/* =========================================================
   VibeHQ — 2026 Flush Dark / Orange Design System
   Functional markup is preserved; this layer modernizes every page.
   ========================================================= */
:root {
  --bg: #050505;
  --bg-2: #080a0c;
  --panel: #0b0e11;
  --panel-2: #101419;
  --panel-3: #15191e;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f7f5;
  --muted: #89919b;
  --orange: #ff6a00;
  --orange-2: #ff8a2a;
  --orange-soft: rgba(255, 106, 0, 0.13);
  --cyan: #ff8a2a;
  --violet: #ff6a00;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
  --radius: 18px;
}
html {
  background: var(--bg);
}
body {
  background:
    radial-gradient(
      circle at 10% -10%,
      rgba(255, 106, 0, 0.1),
      transparent 30%
    ),
    radial-gradient(
      circle at 95% 8%,
      rgba(255, 145, 45, 0.07),
      transparent 25%
    ),
    var(--bg);
  color: var(--text);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
button,
input,
textarea {
  color: var(--text);
}
.glass {
  background: linear-gradient(
    145deg,
    rgba(18, 22, 27, 0.96),
    rgba(8, 10, 13, 0.96)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.topbar {
  height: 74px;
  padding: 0 clamp(16px, 3vw, 42px);
  background: rgba(5, 7, 9, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
}
.brand {
  gap: 9px;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 12px rgba(255, 106, 0, 0.35));
}
.brand span {
  color: #fff;
}
.brand span::first-letter {
  color: var(--orange);
}
.top-actions {
  gap: 9px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff6;
  border-radius: 13px;
  display: grid;
  place-items: center;
}
.icon-btn:hover {
  border-color: rgba(255, 106, 0, 0.45);
  background: var(--orange-soft);
}
.app-icon {
  font-size: 1.05em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn .app-icon {
  font-size: 18px;
}
.user-chip {
  border: 1px solid var(--line);
  background: #fff5;
  border-radius: 14px;
  padding: 5px 11px 5px 5px;
}
.user-chip:hover {
  border-color: rgba(255, 106, 0, 0.35);
  background: var(--orange-soft);
}
.user-chip span {
  background: linear-gradient(135deg, #ff6a00, #ffb15a);
}
.shell {
  max-width: 1600px;
  grid-template-columns: 245px minmax(0, 1fr) 320px;
  gap: 18px;
  padding: 18px 22px 28px;
}
.sidebar {
  min-height: calc(100vh - 110px);
  padding: 12px;
  top: 92px;
  border-radius: 22px;
}
.side-logo {
  padding: 8px 10px 20px;
}
.side-logo img {
  width: 38px;
  height: 38px;
}
.side-logo strong {
  font-size: 18px;
}
.side-logo small {
  font-size: 10px;
  color: var(--muted);
}
.nav {
  margin: 3px 0;
  padding: 13px 13px;
  border-radius: 14px;
  color: #9ba2aa;
  gap: 12px;
}
.nav .app-icon {
  width: 20px;
  font-size: 17px;
}
.nav.active {
  color: #fff;
  background: linear-gradient(
    90deg,
    rgba(255, 106, 0, 0.19),
    rgba(255, 106, 0, 0.04)
  );
  box-shadow: inset 3px 0 0 var(--orange);
}
.nav:hover {
  background: rgba(255, 106, 0, 0.08);
  color: #fff;
}
.nav em {
  background: var(--orange);
  color: #160b03;
}
.rightbar {
  padding: 18px;
  border-radius: 22px;
  position: sticky;
  top: 92px;
}
.rightbar h3 {
  font-size: 18px;
  margin: 7px 0 10px;
}
.eyebrow {
  color: var(--orange);
  letter-spacing: 0.16em;
}
.pulse {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.bill {
  background: linear-gradient(135deg, #301507, #111315);
  border: 1px solid rgba(255, 106, 0, 0.24);
}
.bill.purple {
  background: linear-gradient(135deg, #301507, #111315);
}
#app {
  min-width: 0;
}
.page {
  animation: fade 0.24s ease;
}
.hero {
  border-radius: 22px;
}
.hero:after {
  background: rgba(255, 106, 0, 0.22);
}
.hero h1 {
  letter-spacing: -0.04em;
}
.btn {
  border-color: var(--line);
  background: #fff5;
  border-radius: 13px;
  transition: 0.18s ease;
  box-shadow: none;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 106, 0, 0.4);
  background: var(--orange-soft);
}
.btn.primary {
  background: linear-gradient(135deg, #ff6200, #ff8b2e);
  color: #180b03;
  box-shadow: 0 10px 28px rgba(255, 106, 0, 0.24);
}
.btn.primary:hover {
  background: linear-gradient(135deg, #ff7316, #ff9b49);
  box-shadow: 0 14px 34px rgba(255, 106, 0, 0.3);
}
.status-launch {
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(145deg, #11151a, #0a0c0f);
}
.status-input {
  border-radius: 14px;
  background: #080a0d;
  border-color: var(--line);
  transition: 0.18s;
}
.status-input:hover {
  border-color: rgba(255, 106, 0, 0.35);
}

.feed-title {
  margin: 28px 4px 13px;
}
.feed-title h2 {
  letter-spacing: -0.03em;
}
.feed {
  gap: 14px;
}
.post {
  border-radius: 20px;
  background: linear-gradient(145deg, #101419, #080a0d);
  border: 1px solid var(--line);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.26);
}
.post-head {
  padding: 15px 17px;
}
.post-content {
  padding: 15px 17px;
}
.post-actions button {
  background: #fff5;
  border: 1px solid transparent;
  transition: 0.18s;
}
.post-actions button:hover {
  background: var(--orange-soft);
  color: #fff;
  border-color: rgba(255, 106, 0, 0.22);
}
.post-actions button.liked {
  color: #ff8b43;
  background: var(--orange-soft);
}
.visual {
  background: #0c0e11;
}
.music {
  background: #fff4;
  border-color: var(--line);
}
.input,
.textarea {
  background: #080a0d;
  border-color: var(--line);
}
.input:focus,
.textarea:focus {
  border-color: rgba(255, 106, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.08);
}
.search-panel,
.tool,
.result,
.community,
.notification,
.chat,
.people-list,
.settings-content {
  background: linear-gradient(145deg, #101419, #090b0e);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.filter.active,
.tab.active {
  background: var(--orange-soft);
  border-color: rgba(255, 106, 0, 0.34);
  color: #fff;
}
.tool:hover,
.result:hover {
  border-color: rgba(255, 106, 0, 0.3);
  transform: translateY(-1px);
}
.message-layout {
  gap: 14px;
}
.person {
  border: 1px solid transparent;
}
.person:hover {
  background: var(--orange-soft);
  border-color: rgba(255, 106, 0, 0.16);
}
.bubble.mine {
  background: linear-gradient(135deg, #ff6200, #ff923c);
  color: #1a0c03;
}
.bubble {
  background: #fff6;
}
.profile-hero {
  background: #0b0d10;
}
.cover {
  background: linear-gradient(120deg, #1d0d04, #9a3d06, #17110b);
}
.profile-row {
  background: linear-gradient(180deg, transparent, #0b0d10 34%);
}
.profile-stats div {
  background: #fff4;
}
.community-cover {
  background: linear-gradient(135deg, #211006, #121518);
}
.modal-backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}
.modal {
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.modal .close {
  border-radius: 12px;
}
.notification {
  border-radius: 16px;
  margin-bottom: 8px;
}
.admin-page .hero {
  border-color: rgba(255, 106, 0, 0.18);
}
/* Mobile: edge-to-edge flush app shell with safe-area-aware navigation. */
.mobile-nav {
  display: none;
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
    padding: 12px 12px 92px;
  }
  .sidebar,
  .rightbar {
    display: none;
  }
  .topbar {
    height: 64px;
    padding: 0 12px;
  }
  .top-actions .mobile-settings {
    display: grid;
  }
  .user-chip b {
    display: none;
  }
  .user-chip {
    padding: 4px;
    border: 0;
    background: transparent;
  }
  .user-chip:hover {
    background: transparent;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr 1fr 1fr;
    align-items: end;
    height: 78px;
    padding: 7px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(7, 9, 11, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 -16px 45px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }
  .mobile-nav button {
    min-width: 0;
    min-height: 58px;
    border: 0;
    background: transparent;
    border-radius: 14px;
    color: #7f8790;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 20px;
    padding: 4px 2px;
    position: relative;
  }
  .mobile-nav button .app-icon {
    font-size: 20px;
  }
  .mobile-nav button small {
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
  }
  .mobile-nav button.active {
    color: var(--orange);
  }
  .mobile-nav button.active:before {
    content: "";
    position: absolute;
    top: 0;
    width: 24px;
    height: 2px;
    border-radius: 9px;
    background: var(--orange);
    box-shadow: 0 0 14px rgba(255, 106, 0, 0.8);
  }
  .mobile-nav .create {
    width: 56px;
    height: 56px;
    min-height: 56px;
    justify-self: center;
    align-self: start;
    margin-top: -16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff6200, #ff963e);
    color: #180b03;
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.4);
    border: 4px solid #080a0c;
    font-size: 25px;
  }
  .mobile-nav .create .app-icon {
    font-size: 26px;
  }
  .mobile-nav .create small {
    font-size: 9px;
    color: #fff;
    margin-top: 1px;
  }
  .status-launch {
    margin-top: 8px;
  }
  .feed-title {
    margin-top: 20px;
  }
  .visual {
    height: 300px;
  }
  .post {
    border-radius: 17px;
  }
}
@media (max-width: 520px) {
  html {
    font-size: 15px;
  }
  .shell {
    padding: 8px 8px 94px;
  }
  .topbar {
    height: 60px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions .icon-btn {
    width: 38px;
    height: 38px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .top-actions .user-chip span {
    width: 32px;
    height: 32px;
  }
  .mobile-nav {
    height: 76px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .mobile-nav button {
    font-size: 18px;
  }
  .mobile-nav button .app-icon {
    font-size: 19px;
  }
  .mobile-nav button small {
    font-size: 9px;
  }
  .mobile-nav .create {
    width: 54px;
    height: 54px;
    min-height: 54px;
    margin-top: -15px;
  }
  .status-launch {
    padding: 9px;
  }
  .status-input {
    font-size: 13px;
  }
  .feed-title h2 {
    font-size: 18px;
  }
  .feed-title .btn {
    font-size: 11px;
  }
  .post-head {
    padding: 11px 12px;
  }
  .post-content {
    padding: 12px;
  }
  .visual {
    height: 270px;
  }
  .post-actions {
    gap: 4px;
  }
  .post-actions button {
    padding: 8px 9px;
  }
  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 18px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .top-actions .icon-btn {
    width: 35px;
    height: 35px;
  }
  .mobile-nav button small {
    font-size: 8px;
  }
  .mobile-nav .create {
    width: 50px;
    height: 50px;
    min-height: 50px;
  }
}

/* =========================================================
   VibeHQ Reference Design — final visual pass
   ========================================================= */
:root {
  --bg: #050608;
  --bg-2: #080a0d;
  --panel: #0b0f13;
  --panel-2: #10151a;
  --panel-3: #151b21;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f7f7f5;
  --muted: #8b949e;
  --orange: #ff6a00;
  --orange-2: #ff8b2d;
  --orange-soft: rgba(255, 106, 0, 0.12);
  --shadow: 0 16px 45px rgba(0, 0, 0, 0.32);
  --radius: 18px;
}
html,
body {
  background: var(--bg);
  color: var(--text);
}
body {
  background:
    radial-gradient(
      circle at 15% -15%,
      rgba(255, 106, 0, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 106, 0, 0.07),
      transparent 22%
    ),
    linear-gradient(180deg, #050608 0%, #07090b 55%, #050608 100%);
}
body:before {
  opacity: 0.07;
  background-size: 44px 44px;
}
.glass,
.post,
.status-launch,
.search-panel,
.tool,
.result,
.notification,
.chat,
.people-list,
.settings-content,
.community-card,
.community,
.profile-hero,
.hero {
  background: linear-gradient(
    145deg,
    rgba(16, 21, 26, 0.98),
    rgba(8, 10, 13, 0.98)
  );
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.topbar {
  height: 72px;
  padding: 0 clamp(18px, 3vw, 42px);
  background: rgba(5, 7, 9, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}
.brand {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.brand img {
  width: 40px;
  height: 40px;
  filter: saturate(0.7) hue-rotate(300deg) brightness(1.05)
    drop-shadow(0 0 13px rgba(255, 106, 0, 0.22));
}
.brand span {
  color: #fff;
}
.brand span::first-letter {
  color: var(--orange);
}
.top-actions {
  gap: 8px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #0b0f13;
  border-color: var(--line);
}
.icon-btn:hover {
  background: var(--orange-soft);
  border-color: rgba(255, 106, 0, 0.4);
}
.user-chip {
  background: #0b0f13;
  border-color: var(--line);
  border-radius: 14px;
}
.user-chip:hover {
  background: var(--orange-soft);
  border-color: rgba(255, 106, 0, 0.4);
}
.user-chip span {
  background: linear-gradient(135deg, #ff6a00, #ff9b42);
}
.shell {
  max-width: 1540px;
  grid-template-columns: 235px minmax(0, 1fr) 305px;
  gap: 18px;
  padding: 18px 22px 30px;
}
.sidebar {
  min-height: calc(100vh - 108px);
  padding: 12px;
  border-radius: 20px;
  top: 90px;
}
.side-logo {
  padding: 7px 10px 20px;
}
.side-logo img {
  width: 39px;
  height: 39px;
}
.side-logo strong {
  font-size: 19px;
}
.side-logo small {
  color: var(--muted);
}
.nav {
  margin: 3px 0;
  padding: 12px 13px;
  border-radius: 13px;
  color: #a2a8ae;
  gap: 12px;
  font-weight: 600;
}
.nav .app-icon {
  width: 20px;
  font-size: 17px;
}
.nav.active {
  color: #fff;
  background: linear-gradient(
    90deg,
    rgba(255, 106, 0, 0.2),
    rgba(255, 106, 0, 0.035)
  );
  box-shadow: inset 3px 0 0 var(--orange);
}
.nav:hover {
  background: rgba(255, 106, 0, 0.09);
  color: #fff;
}
.nav em {
  background: var(--orange);
  color: #160b03;
}
.rightbar {
  padding: 0;
  border-radius: 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  position: sticky;
  top: 90px;
  display: grid;
  gap: 12px;
}
.side-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #101419, #080a0d);
  box-shadow: var(--shadow);
}
.side-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.side-panel-head h3 {
  margin: 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.side-panel-head h3 .app-icon {
  color: var(--orange);
}
.side-link {
  border: 0;
  background: transparent;
  color: var(--orange-2);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  padding: 3px;
}
.trend {
  display: grid;
  grid-template-columns: 1fr auto;
  position: relative;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.trend:last-child {
  border-bottom: 0;
}
.trend b {
  font-size: 12px;
}
.trend small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.trend > i {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  color: #69737c;
  font-size: 11px;
}
.suggest {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.suggest:last-child {
  border-bottom: 0;
}
.mini-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2a2f35, #0f1317);
  border: 1px solid rgba(255, 106, 0, 0.45);
  font-weight: 800;
}
.suggest b,
.suggest small {
  display: block;
}
.suggest b {
  font-size: 11px;
}
.suggest small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.follow-btn {
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--orange-2);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.follow-btn:hover {
  background: var(--orange);
  color: #180b03;
}
.event-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 8px;
}
.event-thumb {
  width: 58px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3b1b0b, #11151a);
  border: 1px solid rgba(255, 106, 0, 0.22);
  color: var(--orange);
  font-size: 18px;
}
.event-card b,
.event-card small {
  display: block;
}
.event-card b {
  font-size: 11px;
}
.event-card small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.bill {
  margin: 0;
  padding: 17px;
  border-radius: 18px;
  background: linear-gradient(145deg, #241208, #0d1013);
  border: 1px solid rgba(255, 106, 0, 0.22);
  box-shadow: var(--shadow);
}
.bill strong {
  display: block;
  color: var(--orange);
  font-size: 17px;
}
.bill > b {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}
.bill small {
  display: block;
  color: #9b9fa4;
  margin-top: 5px;
}
.bill .btn {
  font-size: 11px;
  padding: 9px 11px;
}
#app {
  min-width: 0;
}
.page {
  animation: fade 0.22s ease;
}
.hero {
  border-radius: 20px;
}
.hero:after {
  background: rgba(255, 106, 0, 0.18);
}
.hero h1 {
  letter-spacing: -0.045em;
}
.btn {
  border-radius: 12px;
  background: #0b0f13;
  border-color: var(--line);
}
.btn.primary {
  background: linear-gradient(135deg, #ff6200, #ff8b2d);
  color: #180b03;
  border: 0;
  box-shadow: 0 10px 26px rgba(255, 106, 0, 0.24);
}
.status-launch {
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
}
.status-input {
  background: #080a0d;
  border-color: var(--line);
  border-radius: 14px;
}
.status-input:hover {
  border-color: rgba(255, 106, 0, 0.4);
}
.feed-title {
  margin: 24px 3px 12px;
}
.feed-title h2 {
  font-size: 19px;
  letter-spacing: -0.03em;
}
.feed {
  gap: 13px;
}
.post {
  border-radius: 18px;
}
.post-head {
  padding: 14px 16px 10px;
}
.post-content {
  padding: 8px 16px 13px;
}
.post-content > p {
  font-size: 14px;
}
.post-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}
.post-actions button {
  background: transparent;
  border: 0;
}
.post-actions button:hover {
  background: var(--orange-soft);
  color: #fff;
}
.post-actions button.liked {
  color: var(--orange-2);
  background: var(--orange-soft);
}
.visual {
  background: #030507;
}
.input,
.textarea {
  background: #080a0d;
}
.filter.active,
.tab.active {
  background: var(--orange-soft);
  border-color: rgba(255, 106, 0, 0.34);
}
.bubble.mine {
  background: linear-gradient(135deg, #ff6200, #ff923c);
  color: #180b03;
}
/* Desktop content proportions closely follow the supplied reference. */
@media (min-width: 901px) {
  #app > .page {
    max-width: 760px;
    margin: 0 auto;
  }
  .VibeHQ-home .home-search {
    margin-bottom: 7px;
  }
  .VibeHQ-home .VibeHQ-home .status-launch {
    margin-top: 7px;
  }
  .VibeHQ-home .post {
    border-radius: 18px;
  }
  .VibeHQ-home .visual {
    max-height: 560px;
  }
  .VibeHQ-home .post-media-preview img,
  .VibeHQ-home .post-media-preview video {
    max-height: 390px;
  }
}
/* Mobile reference layout: clean app chrome, larger touch targets and safe-area spacing. */
@media (max-width: 900px) {
  body {
    background: linear-gradient(180deg, #050608, #07090b 70%, #050608);
  }
  .topbar {
    height: 62px;
    min-height: 62px;
    padding: 0 11px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions .icon-btn {
    width: 37px;
    height: 37px;
  }
  .user-chip {
    width: 38px;
    height: 38px;
    padding: 2px;
  }
  .user-chip span {
    width: 34px;
    height: 34px;
  }
  .shell {
    padding: 9px 9px calc(102px + env(safe-area-inset-bottom));
  }
  .sidebar,
  .rightbar {
    display: none;
  }
  .mobile-nav {
    height: 86px;
    padding: 7px 7px calc(8px + env(safe-area-inset-bottom));
    background: rgba(7, 9, 11, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1fr 1fr;
    align-items: end;
  }
  .mobile-nav button {
    min-width: 0;
    height: 64px;
    min-height: 64px;
    padding: 5px 2px 4px;
    border: 0;
    background: transparent;
    border-radius: 14px;
    color: #7f8790;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    position: relative;
  }
  .mobile-nav button .app-icon {
    font-size: 21px;
  }
  .mobile-nav button small {
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
  }
  .mobile-nav button.active {
    color: var(--orange);
  }
  .mobile-nav button.active:before {
    content: "";
    position: absolute;
    top: 1px;
    width: 26px;
    height: 2px;
    border-radius: 5px;
    background: var(--orange);
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.8);
  }
  .mobile-nav .create {
    width: 58px;
    height: 58px;
    min-height: 58px;
    justify-self: center;
    align-self: start;
    margin-top: -13px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6200, #ff963e);
    color: #180b03;
    border: 4px solid #080a0c;
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.42);
    font-size: 24px;
    justify-content: center;
    gap: 1px;
  }
  .mobile-nav .create .app-icon {
    font-size: 27px;
  }
  .mobile-nav .create small {
    font-size: 9px;
    color: #fff;
    margin-top: 0;
  }
  .VibeHQ-home .VibeHQ-home .status-launch {
    margin-top: 7px;
  }
  .VibeHQ-home .post {
    border-radius: 16px;
  }
  .VibeHQ-home .post-head {
    padding: 12px;
  }
  .VibeHQ-home .post-content {
    padding: 9px 12px 12px;
  }
  .VibeHQ-home .visual {
    max-height: 500px;
  }
  .visual {
    height: 290px;
  }
  .post-media-preview img,
  .post-media-preview video {
    max-height: 280px;
  }
  .feed-title {
    margin-top: 19px;
  }
  .hero {
    border-radius: 16px;
  }
  .hero h1 {
    font-size: 25px;
  }
  .status-launch {
    border-radius: 16px;
  }
}
@media (max-width: 520px) {
  .topbar {
    height: 60px;
    min-height: 60px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .shell {
    padding: 7px 7px calc(102px + env(safe-area-inset-bottom));
  }
  .home-search {
    border-radius: 15px;
  }
  .home-search .input {
    font-size: 14px;
  }
  .mobile-nav {
    height: 84px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .mobile-nav button {
    height: 62px;
    min-height: 62px;
  }
  .mobile-nav button .app-icon {
    font-size: 20px;
  }
  .mobile-nav button small {
    font-size: 9px;
  }
  .mobile-nav .create {
    width: 56px;
    height: 56px;
    min-height: 56px;
    margin-top: -12px;
  }
  .mobile-nav .create .app-icon {
    font-size: 26px;
  }
  .post-actions {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .post-actions button {
    min-height: 38px;
    font-size: 11px;
  }
  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 18px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .top-actions .icon-btn {
    width: 35px;
    height: 35px;
  }
  .user-chip {
    width: 35px;
  }
  .user-chip span {
    width: 31px;
    height: 31px;
  }
  .mobile-nav button small {
    font-size: 8px;
  }
  .mobile-nav .create {
    width: 52px;
    height: 52px;
    min-height: 52px;
  }
}
/* Real-data sidebar interactions */
.trend {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.trend:hover {
  background: rgba(255, 106, 0, 0.08);
  border-radius: 10px;
  padding-left: 8px;
  padding-right: 8px;
}
.suggest-person {
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}
.suggest-person:hover b {
  color: var(--orange-2);
}
.suggest-person > span {
  min-width: 0;
}
.suggest-person b,
.suggest-person small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clickable {
  cursor: pointer;
}
.empty {
  color: var(--muted);
  font-size: 12px;
}

.verified .app-icon {
  width: 11px !important;
  height: 11px !important;
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.profile-main h1 {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
}
.profile-avatar-wrap {
  width: 104px !important;
  height: 104px !important;
  min-width: 104px !important;
  min-height: 104px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}
.profile-avatar-wrap .avatar.xl,
.profile-avatar-wrap .avatar.xl img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 1/1 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}
@media (max-width: 650px) {
  .profile-avatar-wrap {
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
    min-height: 82px !important;
  }
  .profile-avatar-wrap .avatar.xl {
    border-width: 4px !important;
  }
}
html {
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
button,
input,
textarea,
select {
  font-family: inherit;
}
.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.topbar {
  height: 68px;
  padding: 0 30px;
  background: rgba(8, 9, 11, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand {
  font-size: 21px;
  letter-spacing: -0.035em;
  gap: 9px;
}
.brand img {
  width: 34px;
  height: 34px;
}
.top-actions {
  gap: 6px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #aeb5bc;
}
.icon-btn:hover {
  background: var(--panel-2);
  border-color: var(--line);
  color: #fff;
}
.user-chip {
  height: 38px;
  padding: 3px 10px 3px 4px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
}
.user-chip:hover {
  background: var(--panel-2);
  border-color: var(--line);
}
.user-chip span {
  width: 30px;
  height: 30px;
  background: #252a30;
  border: 1px solid var(--line);
}
.user-chip b {
  font-size: 12px;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shell {
  max-width: 1440px;
  grid-template-columns: 220px minmax(0, 760px) 286px;
  gap: 28px;
  padding: 24px 28px 50px;
}
.sidebar {
  min-height: calc(100vh - 116px);
  padding: 10px 7px;
  background: transparent;
  border: 0;
  position: sticky;
  top: 92px;
}
.side-logo {
  padding: 4px 11px 22px;
  gap: 10px;
}
.side-logo img {
  width: 34px;
  height: 34px;
}
.side-logo strong {
  font-size: 14px;
}
.side-logo small {
  font-size: 10px;
  color: var(--muted-2);
}
.nav {
  width: 100%;
  padding: 11px 12px;
  margin: 2px 0;
  border-radius: 10px;
  gap: 12px;
  color: #8f979f;
  font-size: 13px;
  font-weight: 600;
}
.nav .app-icon {
  font-size: 17px;
  width: 20px;
  text-align: center;
}
.nav.active {
  background: var(--orange-soft);
  color: #fff;
}
.nav.active .app-icon {
  color: var(--orange);
}
.nav:hover {
  background: #11151a;
  color: #fff;
}
.nav em {
  margin-left: auto;
  background: var(--orange);
  color: #180b03;
}
.nav-dot {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: none;
}
.rightbar {
  height: max-content;
  padding: 0;
  background: transparent;
  border: 0;
}
.side-panel {
  padding: 17px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
}
.side-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.side-panel-head h3 {
  font-size: 12px;
  margin: 0;
  letter-spacing: 0.01em;
}
.side-panel-head h3 .app-icon {
  color: var(--orange);
  margin-right: 5px;
}
.side-link {
  border: 0;
  background: transparent;
  color: var(--orange-2);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px;
}
.trend {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 0;
}
.trend:hover {
  padding-left: 5px;
  padding-right: 5px;
  background: var(--orange-soft);
  border-radius: 7px;
}
.trend b {
  font-size: 11px;
}
.trend small {
  font-size: 10px;
  color: var(--muted-2);
}
.suggest {
  padding: 10px 0;
}
.suggest-person {
  gap: 9px;
}
.mini-avatar,
.avatar {
  background: #252a30;
  border-color: rgba(255, 255, 255, 0.1);
}
.follow-btn {
  border-color: #4b525a;
  color: #dce0e3;
  background: transparent;
}
.follow-btn:hover {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: #fff;
}
.bill {
  background: #11151a;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.bill strong {
  color: var(--orange);
  font-size: 14px;
}
.bill > b {
  font-size: 11px;
}
.bill small {
  font-size: 10px;
}
#app > .page {
  max-width: 760px;
  margin: 0 auto;
}
.page {
  animation: fade 0.16s ease;
}
.hero {
  border-radius: 12px;
  padding: 20px 22px;
  min-height: 0;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
}
.hero:after {
  display: none;
}
.hero h1 {
  font-size: 27px;
  line-height: 1.15;
  margin: 5px 0 7px;
  letter-spacing: -0.04em;
}
.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--orange);
  font-weight: 900;
}
.hero-actions {
  margin-top: 15px;
}
.btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #e5e7e9;
}
.btn:hover {
  background: var(--panel-2);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #160a03;
  box-shadow: none;
}
.btn.primary:hover {
  background: var(--orange-2);
}
.btn.danger {
  color: #ff8b96;
  border-color: rgba(255, 92, 108, 0.25);
  background: transparent;
}
.section {
  margin-top: 22px;
}
.status-launch {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  gap: 10px;
}
.status-input {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}
.status-input:hover {
  border-color: rgba(255, 106, 0, 0.45);
}
.feed-title {
  margin: 22px 2px 10px;
}
.feed-title h2 {
  font-size: 17px;
  margin: 3px 0 0;
  letter-spacing: -0.025em;
}
.feed-title small {
  font-size: 11px;
}
.feed {
  gap: 10px;
}
.post {
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: none;
}
.post-head {
  padding: 13px 15px 9px;
  gap: 10px;
}
.post-user b {
  font-size: 13px;
}
.post-user small {
  font-size: 10px;
  color: var(--muted-2);
}
.post-content {
  padding: 7px 15px 13px;
}
.post-content > p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.post-actions {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  gap: 2px;
}
.post-actions button {
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 11px;
  color: #9aa2aa;
}
.post-actions button:hover {
  background: var(--orange-soft);
  color: #fff;
}
.post-actions button.liked {
  background: var(--orange-soft);
  color: var(--orange-2);
}
.visual {
  background: #080a0c;
  height: 330px;
}
.post-media {
  border-radius: 0 !important;
}
.mood-orb {
  box-shadow: none;
  background: #252a30;
}
.poll,
.music,
.link-preview {
  border-radius: 9px;
  background: var(--panel-2);
  border-color: var(--line);
}
.poll button {
  background: #11161b;
  border-radius: 7px;
}
.search-panel {
  margin-top: 14px;
  padding: 15px;
  border-radius: 12px;
  background: var(--panel);
  border-color: var(--line);
}
.input,
.textarea {
  background: #0c0f13;
  border-color: var(--line);
  border-radius: 8px;
  font-size: 12px;
}
.input:focus,
.textarea:focus {
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.08);
}
.filter,
.tab {
  border-radius: 7px;
  background: transparent;
  border-color: var(--line);
  font-size: 11px;
}
.filter.active,
.tab.active {
  background: var(--orange-soft);
  border-color: rgba(255, 106, 0, 0.32);
  color: #fff;
}
.result {
  border-radius: 9px;
  background: var(--panel-2);
  border-color: var(--line);
  padding: 10px;
}
.notification {
  border-radius: 10px;
  background: var(--panel);
  border-color: var(--line);
  padding: 13px;
}
.notification b {
  font-size: 12px;
}
.notification small {
  font-size: 10px;
  color: var(--muted-2);
}
.stack {
  gap: 8px;
  margin-top: 12px;
}
.message-layout {
  grid-template-columns: 235px 1fr;
  gap: 10px;
  margin-top: 12px;
}
.people-list {
  padding: 7px;
  background: var(--panel);
  border-radius: 12px;
}
.person {
  border-radius: 8px;
  padding: 10px;
}
.person.selected {
  background: var(--orange-soft);
  color: #fff;
}
.person span b {
  font-size: 12px;
}
.person span small {
  font-size: 10px;
}
.chat {
  min-height: 510px;
  padding: 12px;
  background: var(--panel);
  border-radius: 12px;
}
.new-message-row {
  display: flex;
  gap: 7px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.bubble {
  background: #1a1f24;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px 14px 14px 4px;
  font-size: 12px;
}
.bubble.mine {
  background: var(--orange);
  color: #180b03;
  border: 0;
  border-radius: 14px 14px 4px 14px;
}
.profile-hero {
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
}
.cover {
  height: 150px;
  background: #191e24;
}
.profile-row {
  padding: 0 20px 18px;
  gap: 15px;
  margin-top: -43px;
  align-items: flex-end;
}
.profile-row > div:nth-child(2) {
  padding-top: 46px;
}
.profile-avatar-wrap {
  border: 0;
  background: transparent;
}
.profile-main h1 {
  font-size: 22px;
  letter-spacing: -0.035em;
}
.profile-bio-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 8px;
}
.profile-buttons {
  gap: 6px;
}
.profile-buttons .btn {
  padding: 8px 11px;
}
.profile-stats {
  margin-top: 10px;
  gap: 0;
}
.profile-stats div,
.profile-stats button {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 11px;
  text-align: left;
}
.profile-stats button {
  color: inherit;
  cursor: pointer;
}
.profile-stats b {
  font-size: 15px;
}
.profile-stats span {
  font-size: 10px;
  color: var(--muted-2);
}
.photo-category-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.photo-category-mini button {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.photo-category-mini b,
.photo-category-mini span {
  display: block;
}
.photo-category-mini b {
  font-size: 15px;
}
.photo-category-mini span {
  font-size: 10px;
  color: var(--muted);
}
.community-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.community-card,
.community {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.community-card-body {
  padding: 14px;
}
.community-card h3 {
  font-size: 14px;
}
.community-card p {
  font-size: 11px;
}
.community-card small {
  font-size: 9px;
  color: var(--muted-2);
}
.community-icon {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}
.community-hero {
  padding: 0;
  overflow: hidden;
}
.community-cover.large {
  height: 180px;
  background-color: #181d22;
}
.community-hero-copy {
  padding: 0 20px 20px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: -19px;
  position: relative;
}
.community-hero-copy .community-icon {
  flex: 0 0 42px;
  margin-top: 0;
  background: #171b20;
}
.community-hero-copy h1 {
  margin-top: 5px;
}
.settings-layout {
  grid-template-columns: 190px 1fr;
  gap: 10px;
  margin-top: 12px;
}
.settings-menu {
  background: var(--panel);
  border-radius: 12px;
  padding: 7px;
  height: max-content;
}
.settings-menu button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 10px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.settings-menu button.selected {
  background: var(--orange-soft);
  color: #fff;
}
.settings-content {
  background: var(--panel);
  border-radius: 12px;
  padding: 19px;
}
.setting-card,
.setting {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
}
.setting-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.setting-card > div:first-child {
  flex: 1;
}
.setting-card b {
  font-size: 12px;
}
.setting-card small,
.setting p {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0 0;
}
.admin-page .hero {
  margin-bottom: 12px;
}
.metric-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.metric-card {
  background: var(--panel);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid var(--line);
}
.metric-card small,
.metric-card span {
  font-size: 9px;
  color: var(--muted-2);
}
.metric-card strong {
  display: block;
  font-size: 23px;
  margin: 4px 0;
}
.admin-alert {
  margin-top: 9px;
  padding: 12px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-tabs {
  display: flex;
  gap: 4px;
  overflow: auto;
  margin: 13px 0 5px;
  padding-bottom: 2px;
}
.admin-tabs button {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.admin-tabs button.selected {
  background: var(--orange-soft);
  color: #fff;
  border-color: rgba(255, 106, 0, 0.3);
}
.table-wrap {
  border-radius: 10px;
  overflow: auto;
  background: var(--panel);
}
.admin-table {
  font-size: 10px;
}
.admin-table th {
  color: var(--muted-2);
  font-size: 9px;
}
.admin-table td,
.admin-table th {
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.admin-role {
  padding: 6px 8px;
  font-size: 10px;
}
.admin-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.modal-backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.modal {
  background: #101317;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
}
.close {
  border: 0;
  background: transparent;
  color: #8f979f;
  font-size: 22px;
}
.verified {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  background: #1d9bf0 !important;
  border: 0 !important;
  margin-left: 4px !important;
}
.verified .app-icon {
  font-size: 9px !important;
  width: 9px !important;
  height: 9px !important;
}
.founder-membership {
  border-top: 1px solid var(--line);
  margin-top: 9px;
  padding-top: 9px;
}
.inline-link {
  color: var(--orange-2);
}
.locked-card {
  background: var(--panel);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  border: 1px solid var(--line);
}
.error-card {
  background: var(--panel);
  border-radius: 12px;
  padding: 24px;
}
.empty {
  color: var(--muted);
  font-size: 11px;
}
/* Remove decorative social gradients from media/mood cards while preserving content. */
.mood-art,
.post-media-preview {
  background: #0b0d10 !important;
}
.mood-copy strong {
  font-size: 24px;
}
/* Photos */
.profile-photos-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 18px 20px;
}
.photo-category-tabs {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}
.photo-category-tab {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 10px;
  cursor: pointer;
}
.photo-category-tab.active {
  background: var(--orange-soft);
  color: #fff;
  border-color: rgba(255, 106, 0, 0.3);
}
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.photo-thumb {
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Search/discover should feel like a directory, not a marketing landing page. */
.discover-page > .hero {
  margin-bottom: 4px;
}
.discover-page > .section > .feed-title {
  margin-top: 14px;
}
/* Mobile */
@media (max-width: 900px) {
  body {
    background: var(--bg);
  }
  .topbar {
    height: 60px;
    padding: 0 10px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .top-actions .icon-btn {
    width: 35px;
    height: 35px;
  }
  .user-chip {
    width: 35px;
    height: 35px;
    padding: 2px;
  }
  .user-chip span {
    width: 29px;
    height: 29px;
  }
  .user-chip b {
    display: none;
  }
  .shell {
    display: block;
    padding: 8px 8px calc(92px + env(safe-area-inset-bottom));
  }
  #app > .page {
    max-width: none;
  }
  .hero {
    padding: 16px;
    border-radius: 10px;
  }
  .hero h1 {
    font-size: 23px;
  }
  .status-launch {
    padding: 10px;
    border-radius: 10px;
  }
  .feed-title {
    margin-top: 17px;
  }
  .post {
    border-radius: 10px;
  }
  .post-head {
    padding: 11px 12px 8px;
  }
  .post-content {
    padding: 7px 12px 12px;
  }
  .visual {
    height: 280px;
  }
  .post-content > p {
    font-size: 13px;
  }
  .message-layout {
    display: block;
  }
  .people-list {
    display: flex;
    overflow: auto;
    gap: 4px;
    padding: 5px;
    margin-bottom: 8px;
  }
  .person {
    min-width: 190px;
  }
  .chat {
    min-height: 500px;
  }
  .profile-row {
    padding: 0 13px 15px;
    gap: 10px;
  }
  .profile-main h1 {
    font-size: 19px;
  }
  .profile-row > div:nth-child(2) {
    padding-top: 42px;
  }
  .profile-stats div,
  .profile-stats button {
    padding: 9px 8px;
  }
  .profile-stats b {
    font-size: 14px;
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  .community-cover.large {
    height: 145px;
  }
  .community-hero-copy {
    padding: 0 14px 16px;
  }
  .settings-layout {
    display: block;
  }
  .settings-menu {
    display: flex;
    overflow: auto;
    gap: 3px;
    margin-bottom: 8px;
  }
  .settings-menu button {
    white-space: nowrap;
  }
  .settings-content {
    padding: 14px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-tabs {
    margin-left: -2px;
    margin-right: -2px;
  }
  .photo-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .profile-photos-head {
    padding: 14px;
  }
  .mobile-nav {
    height: 80px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(8, 9, 11, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.4);
  }
  .mobile-nav button {
    height: 58px;
    min-height: 58px;
    border-radius: 10px;
    color: #747d86;
    gap: 4px;
  }
  .mobile-nav button .app-icon {
    font-size: 19px;
  }
  .mobile-nav button small {
    font-size: 9px;
  }
  .mobile-nav button.active {
    color: var(--orange);
  }
  .mobile-nav button.active:before {
    background: var(--orange);
    box-shadow: none;
    width: 20px;
  }
  .mobile-nav .create {
    width: 52px;
    height: 52px;
    min-height: 52px;
    margin-top: -9px;
    background: var(--orange);
    box-shadow: none;
    border: 3px solid #08090b;
    color: #160a03;
  }
}
@media (max-width: 520px) {
  .shell {
    padding-left: 6px;
    padding-right: 6px;
  }
  .hero {
    padding: 14px;
  }
  .hero h1 {
    font-size: 21px;
  }
  .post-actions {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .post-actions button {
    white-space: nowrap;
    min-height: 35px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-card strong {
    font-size: 20px;
  }
  .setting-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .setting-card .btn {
    margin-left: auto;
  }
  .photo-category-mini {
    gap: 5px;
  }
  .photo-category-mini button {
    padding: 10px;
  }
}

/* VibeHQ navigation refresh */
.mobile-nav {
  height: 62px;
  padding: 7px 10px;
  gap: 4px;
}
.mobile-nav button {
  min-height: 48px;
  padding: 5px 8px;
}
.mobile-nav small {
  font-size: 0.68rem;
}
.message-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 14px 6px;
  opacity: 0.65;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border, #ffffff18);
}
.chat-header small {
  display: block;
  opacity: 0.65;
}

/* =========================================================
   VibeHQ desktop social layout — VibeHQ-inspired structure
   without copying brand assets or logos.
   ========================================================= */
:root {
  --social-bg: #f0f2f5;
  --social-surface: #ffffff;
  --social-text: #1c1e21;
  --social-muted: #65676b;
  --social-border: #d8dadf;
  --social-accent: #1877f2;
}

.top-profile-wrap {
  position: relative;
}
.top-profile-wrap .user-chip {
  width: 42px;
  height: 42px;
  padding: 4px;
  border-radius: 50%;
  border: 0;
  background: #eef0f2;
  justify-content: center;
}
.top-profile-wrap .user-chip:hover {
  background: #e4e6e9;
}
.top-profile-wrap .user-chip span {
  width: 34px;
  height: 34px;
}
.top-profile-wrap .user-chip b {
  display: none;
}
.top-profile-dropdown {
  position: absolute;
  right: 0;
  top: 50px;
  width: 310px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #11151a;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.16s ease;
  z-index: 100;
}
.top-profile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.top-profile-dropdown button {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}
.top-profile-dropdown button:hover {
  background: rgba(255, 255, 255, 0.07);
}
.top-profile-dropdown .app-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #252a30;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.top-profile-dropdown button span {
  display: block;
  min-width: 0;
}
.top-profile-dropdown button b {
  display: block;
  font-size: 14px;
}
.top-profile-dropdown button small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
  font-size: 11px;
}
.top-profile-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 4px;
}
.top-profile-dropdown .logout-item .app-icon {
  color: #ff8c8c;
}

.side-brand {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.045em;
  padding: 9px 12px 17px;
  color: #fff;
}
.sidebar-profile {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 14px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}
.sidebar-profile:hover {
  background: rgba(255, 255, 255, 0.07);
}
.sidebar-profile span:last-child {
  min-width: 0;
}
.sidebar-profile b {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-profile small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.sidebar-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 4px 10px;
}

.profile-shortcuts {
  padding: 18px;
  margin-top: 14px;
  border-radius: 18px;
}
.profile-shortcuts h3 {
  margin: 4px 0 0;
  font-size: 18px;
}
.profile-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.profile-shortcut-grid button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 13px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  color: inherit;
}
.profile-shortcut-grid button:hover {
  background: var(--orange-soft);
  border-color: rgba(255, 106, 0, 0.35);
}
.profile-shortcut-grid .app-icon {
  font-size: 18px;
}

@media (min-width: 651px) {
  .topbar {
    height: 64px;
    padding: 0 22px;
  }
  .shell {
    max-width: 1660px;
    grid-template-columns: 245px minmax(520px, 760px) 300px;
    justify-content: center;
    gap: 18px;
    padding: 16px 20px 30px;
  }
  .sidebar {
    top: 80px;
    min-height: calc(100vh - 98px);
    border-radius: 16px;
  }
  .rightbar {
    top: 80px;
    border-radius: 16px;
  }
  #app {
    width: 100%;
  }
  .VibeHQ-home .status-launch {
    margin-top: 0;
  }
  .VibeHQ-home .feed-title {
    display: none;
  }
  .VibeHQ-home .post {
    border-radius: 12px;
  }
  .VibeHQ-home .post-head {
    padding: 13px 16px;
  }
  .VibeHQ-home .post-content {
    padding: 13px 16px;
  }
  .VibeHQ-home .feed {
    gap: 10px;
  }
  .VibeHQ-home .status-launch {
    border-radius: 12px;
  }
  .profile-page .profile-hero {
    border-radius: 16px;
  }
  .profile-page .cover {
    height: 210px;
  }
  .profile-page .profile-row {
    padding: 0 22px 18px;
  }
  .profile-page .profile-stats {
    margin-top: 0;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
  }
}
@media (max-width: 650px) {
  .top-profile-dropdown {
    position: fixed;
    right: 10px;
    top: 58px;
    width: min(310px, calc(100vw - 20px));
  }
  .side-brand {
    font-size: 21px;
  }
  .profile-shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.status-media-btn {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #ffffff08;
  border-radius: 14px;
  cursor: pointer;
}
.status-media-btn:hover {
  background: #ffffff14;
}
.status-media-btn .app-icon {
  font-size: 18px;
}

/* VibeHQ mobile bottom navigation: five equally spaced tabs. */
@media (max-width: 900px) {
  .mobile-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding-left: 4px;
    padding-right: 4px;
  }
  .mobile-nav button {
    width: 100%;
    justify-self: stretch;
  }
}
/* Keep the mobile profile picture lower on the cover while preserving the profile layout. */
@media (max-width: 650px) {
  .profile-row {
    padding-bottom: 4px;
  }
  .profile-avatar-wrap {
    transform: translateY(14px);
    z-index: 2;
    display: grid;
    place-items: center;
  }
  .profile-avatar-wrap .avatar.xl {
    margin: 0 auto;
  }
  .profile-main {
    position: relative;
    z-index: 3;
  }
  .profile-row > div:nth-child(2) {
    padding-top: 46px;
  }
}

/* Profile tabs, details, frames and Reels */
.profile-tabs {
  display: flex;
  gap: 4px;
  padding: 6px;
  margin-top: 14px;
  position: relative;
  z-index: 5;
}
.profile-tabs > button,
.profile-more-wrap > button {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 12px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}
.profile-tabs button.active,
.profile-tabs button:hover {
  background: var(--orange-soft);
  color: var(--text);
}
.profile-more-wrap {
  flex: 1;
  position: relative;
}
.profile-more-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 48px;
  min-width: 190px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c1726;
  z-index: 80;
  box-shadow: 0 14px 40px #0007;
}
.profile-more-dropdown.open {
  display: grid;
}
.profile-more-dropdown button {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  text-align: left;
  border-radius: 9px;
  cursor: pointer;
}
.profile-more-dropdown button:hover {
  background: #ffffff0b;
}
.profile-details {
  padding: 18px;
  margin-top: 14px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.details-grid > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.details-grid b,
.details-grid span {
  display: block;
}
.details-grid b {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}
.details-grid span {
  margin-top: 4px;
}
.detail-bio {
  grid-column: 1/-1;
}
.profile-camera,
.cover-camera {
  border: 1px solid var(--line);
  background: #07111dcc;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: absolute;
  z-index: 6;
}
.profile-camera {
  width: 34px;
  height: 34px;
  right: -3px;
  bottom: 3px;
}
.cover-camera {
  width: auto;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  right: 14px;
  bottom: 14px;
}
.profile-avatar-wrap {
  position: relative;
}
.profile-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.profile-media-grid img,
.profile-media-grid video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #000;
}
.joined-community-list {
  display: grid;
  gap: 10px;
}
.community-list-item {
  border: 1px solid var(--line);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: inherit;
  cursor: pointer;
}
.community-list-item span {
  color: var(--muted);
  font-size: 12px;
}
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.achievement-card {
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.achievement-card.unlocked {
  box-shadow:
    0 0 0 1px rgba(255, 106, 0, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.16);
}
.achievement-icon {
  font-size: 30px;
  line-height: 1;
  min-width: 38px;
  text-align: center;
}
.achievement-copy {
  min-width: 0;
  flex: 1;
}
.achievement-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.achievement-card b,
.achievement-card small {
  display: block;
}
.achievement-card small {
  color: var(--muted);
  margin-top: 4px;
}
.achievement-count {
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  color: var(--text);
}
.achievement-progress {
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.achievement-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), #ff9a45);
}
.achievement-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  font-size: 11px;
  color: var(--muted);
}
.achievement-footer strong {
  color: var(--orange);
}
.video-stats {
  display: flex;
  gap: 14px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}
.reels-feed {
  display: grid;
  gap: 16px;
}
.reels-page .post-media {
  position: static;
  width: 100%;
  height: auto;
  max-height: 620px;
  border-radius: 0;
  filter: none;
  box-shadow: none;
  object-fit: contain;
  background: #000;
}

@media (max-width: 650px) {
  .profile-tabs {
    overflow-x: auto;
  }
  .profile-tabs > button,
  .profile-more-wrap > button {
    min-width: 100px;
  }
  .details-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-bio {
    grid-column: 1/-1;
  }
  .achievement-grid {
    grid-template-columns: 1fr;
  }
  .profile-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.shared-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 6px;
}
.profile-page .post {
  margin-bottom: 2px;
}

.profile-main h1 {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.profile-hero .cover {
  position: relative;
}
.cover-camera {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  right: 14px !important;
  bottom: 14px !important;
  display: grid !important;
  place-items: center !important;
}
.cover-camera .app-icon,
.profile-camera .app-icon {
  font-size: 16px;
}
.checkin-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.checkin-action small {
  display: block;
}
.checkin-list {
  display: grid;
  gap: 10px;
}
.checkin-card {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.checkin-card > div {
  display: grid;
  gap: 4px;
}
.checkin-card small {
  color: var(--muted);
}

/* New message launcher */
.message-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.new-message-btn {
  white-space: nowrap;
}
.new-message-top {
  display: grid;
}
.new-message-modal {
  max-width: 520px;
}
.new-message-modal label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}
@media (max-width: 650px) {
  .message-hero {
    align-items: stretch;
    flex-direction: column;
  }
  .new-message-btn {
    width: 100%;
  }
  .new-message-top {
    display: grid !important;
  }
}

/* Final mobile navigation + profile More fixes */
@media (max-width: 900px) {
  .mobile-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .mobile-nav button {
    width: 100% !important;
    min-width: 0 !important;
    height: 62px !important;
    min-height: 62px !important;
    padding: 4px 2px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  .mobile-nav button .app-icon {
    width: 21px !important;
    height: 21px !important;
    font-size: 21px !important;
    line-height: 21px !important;
    display: grid !important;
    place-items: center !important;
  }
  .mobile-nav button small {
    font-size: 9px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

/* The profile More menu must be able to extend outside the tab row on mobile. */
@media (max-width: 650px) {
  .profile-tabs {
    overflow: visible !important;
    display: flex !important;
    gap: 4px !important;
  }
  .profile-tabs > button,
  .profile-more-wrap > button {
    min-width: 0 !important;
    flex: 1 1 0 !important;
  }
  .profile-more-wrap {
    position: relative !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .profile-more-dropdown {
    top: calc(100% + 4px) !important;
    right: 0 !important;
    min-width: 190px !important;
    z-index: 9999 !important;
  }
}

/* Final mobile fix: keep the fixed bottom navigation from covering post controls.
   The extra space lets users scroll the status composer and post button fully above
   the navigation bar, including when the composer expands for photos/links. */
@media (max-width: 900px) {
  body {
    padding-bottom: 100px !important;
  }
  html {
    scroll-padding-bottom: 100px !important;
  }
}
@media (max-width: 650px) {
  body {
    padding-bottom: 110px !important;
  }
  html {
    scroll-padding-bottom: 110px !important;
  }
}

/* Final mobile navigation alignment */
@media (max-width: 900px) {
  .mobile-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  .mobile-nav button {
    width: 100% !important;
    justify-self: stretch !important;
  }
  .mobile-nav .hi {
    width: 22px !important;
    height: 22px !important;
  }
}

/* User directory and clickable names */
.clickable-user-name {
  cursor: pointer;
}
.clickable-user-name:hover {
  color: var(--orange-2);
}
.people-directory {
  padding: 8px 16px;
}
.directory-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.directory-person:last-child {
  border-bottom: 0;
}
.directory-user {
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.directory-user span:last-child {
  display: grid;
  gap: 3px;
}
.directory-user small {
  color: var(--muted);
}
@media (max-width: 900px) {
  .people-directory {
    padding: 8px 10px;
  }
  .directory-person {
    padding: 12px 2px;
  }
  .directory-user {
    min-width: 0;
  }
  .directory-user span:last-child {
    min-width: 0;
  }
  .directory-user b {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52vw;
  }
}
.profile-avatar-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}
.profile-avatar-wrap .avatar.xl {
  margin: 0 !important;
  display: grid;
  place-items: center;
}
.profile-avatar-wrap .avatar.xl img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* =========================================================
   VibeHQ Android / Capacitor system-bar + bottom-nav fix
   ========================================================= */

html,
body {
  margin: 0;
  min-height: 100%;
}

@media (max-width: 900px) {
  body {
    padding-top: env(safe-area-inset-top) !important;
    padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important;
  }

  html {
    scroll-padding-top: env(safe-area-inset-top);
    scroll-padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .topbar {
    position: sticky !important;
    top: env(safe-area-inset-top) !important;
    height: 60px !important;
    min-height: 60px !important;
    z-index: 90 !important;
  }

  .shell {
    padding-top: 8px !important;
    padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important;
  }

  .mobile-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1000 !important;
    height: calc(76px + env(safe-area-inset-bottom)) !important;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .mobile-nav button {
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 4px 2px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 520px) {
  .topbar {
    height: 58px !important;
    min-height: 58px !important;
  }

  .mobile-nav {
    height: calc(74px + env(safe-area-inset-bottom)) !important;
  }

  .mobile-nav button {
    height: 58px !important;
    min-height: 58px !important;
  }
}

/* VibeHQ mobile system-bar layout */
@media (max-width: 900px) {
  .topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 90 !important;
  }

  .shell {
    padding-bottom: 100px !important;
  }

  .mobile-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1000 !important;
  }
}

/* =========================================================
   VibeHQ Image Rendering
   Keep profile photos and cover photos proportional.
   ========================================================= */

/* Profile pictures / avatars */
.avatar,
.profile-avatar,
.user-avatar,
.post-avatar,
.profile-photo,
.profile-picture,
.user-photo,
[data-avatar] {
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img,
.profile-avatar img,
.user-avatar img,
.post-avatar img,
.profile-photo img,
.profile-picture img,
.user-photo img,
[data-avatar] img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
}

/* Keep profile pictures circular */
.profile-avatar,
.profile-photo,
.profile-picture,
[data-avatar] {
  border-radius: 50%;
}

/* Profile cover / banner photos */
.cover-photo,
.profile-cover,
.cover-image,
.profile-banner,
.cover,
[data-cover] {
  overflow: hidden;
  width: 100%;
}

.cover-photo img,
.profile-cover img,
.cover-image img,
.profile-banner img,
.cover img,
[data-cover] img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Never distort standalone post/media images */
.post-media img,
.feed-media img,
.post-image,
.media-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Prevent browser image distortion anywhere these components are used */
img {
  max-width: 100%;
}

/* VibeHQ profile pictures */
.avatar img,
.profile-avatar img,
.user-avatar img,
.post-avatar img,
.profile-picture img,
.profile-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.avatar,
.profile-avatar,
.user-avatar,
.post-avatar,
.profile-picture,
.profile-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
}

/* VibeHQ cover photos */
.cover-photo img,
.profile-cover img,
.cover-image img,
.profile-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cover-photo,
.profile-cover,
.cover-image,
.profile-banner {
  overflow: hidden;
  width: 100%;
}

/* =========================================================
   VibeHQ Top Bar — larger + hide on downward scroll
   ========================================================= */

.topbar {
  height: 76px !important;
  min-height: 76px !important;
  transition:
    transform 0.28s ease,
    opacity 0.22s ease;
  will-change: transform;
}

.topbar.topbar-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.brand img {
  width: 48px !important;
  height: 48px !important;
}

.brand {
  font-size: 27px !important;
}

.top-actions .icon-btn {
  width: 46px;
  height: 46px;
}

.user-chip span {
  width: 36px;
  height: 36px;
}

@media (max-width: 650px) {
  .topbar {
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 14px !important;
  }

  .brand img {
    width: 48px !important;
    height: 48px !important;
  }

  .top-actions .icon-btn {
    width: 42px;
    height: 42px;
  }

  .user-chip span {
    width: 36px;
    height: 36px;
  }

  .shell {
    padding-top: 10px;
  }
}

/* Move crop confirmation button to the top */
.crop-modal,
.crop-dialog,
.cropper-modal {
  display: flex !important;
  flex-direction: column !important;
}

.crop-modal .crop-actions,
.crop-dialog .crop-actions,
.cropper-modal .crop-actions {
  order: -1 !important;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
}

.crop-modal .crop-stage,
.crop-dialog .crop-stage,
.cropper-modal .crop-stage {
  order: 1 !important;
}

/* Center profile edit card and move Save Profile to top */
.profile-edit-card,
.edit-profile-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin: auto !important;
}

.profile-edit-card .profile-edit-actions,
.edit-profile-card .profile-edit-actions {
  order: -1 !important;
  margin-bottom: 16px !important;
  margin-top: 0 !important;
}

/* Fix cover photo stretching — preserve aspect ratio */
.profile-hero .cover {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* If the cover is rendered as an actual image, never stretch it */
.profile-hero .cover img,
.profile-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* =========================================================
   VibeHQ Full-Screen Social Login / Sign-Up Redesign
   Only applies to authentication pages
   ========================================================= */

.auth-page,
.login-page,
.signup-page {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

.auth-page *,
.login-page *,
.signup-page * {
  box-sizing: border-box;
}

/* Full-screen background */
.auth-page::before,
.login-page::before,
.signup-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(0, 170, 255, 0.12),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(120, 70, 255, 0.14),
      transparent 35%
    ),
    #06101d;
}

/* Main authentication layout */
.auth-page .auth-container,
.login-page .auth-container,
.signup-page .auth-container,
.auth-page .auth-layout,
.login-page .auth-layout,
.signup-page .auth-layout {
  width: min(1100px, 94vw) !important;
  min-height: 620px !important;
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  align-items: center !important;
  gap: 70px !important;
  margin: auto !important;
  padding: 40px !important;
}

/* Branding section */
.auth-brand,
.login-brand,
.signup-brand {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  max-width: 540px !important;
}

.auth-brand img,
.login-brand img,
.signup-brand img {
  width: 82px !important;
  height: 82px !important;
  object-fit: contain !important;
  margin-bottom: 22px !important;
}

.auth-brand h1,
.login-brand h1,
.signup-brand h1 {
  margin: 0 0 12px !important;
  font-size: clamp(48px, 6vw, 76px) !important;
  line-height: 0.95 !important;
  font-weight: 800 !important;
  letter-spacing: -3px !important;
}

.auth-brand p,
.login-brand p,
.signup-brand p {
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1.45 !important;
  opacity: 0.82 !important;
  max-width: 470px !important;
}

/* Authentication card */
.auth-card,
.login-card,
.signup-card,
.auth-box {
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  padding: 30px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  color: #111 !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Card headings */
.auth-card h1,
.auth-card h2,
.login-card h1,
.login-card h2,
.signup-card h1,
.signup-card h2,
.auth-box h1,
.auth-box h2 {
  color: #111 !important;
  margin-top: 0 !important;
}

.auth-card h1,
.login-card h1,
.signup-card h1 {
  font-size: 28px !important;
  margin-bottom: 8px !important;
}

.auth-card > p,
.login-card > p,
.signup-card > p {
  color: #65676b !important;
}

/* Inputs */
.auth-card input,
.login-card input,
.signup-card input,
.auth-box input {
  width: 100% !important;
  min-height: 52px !important;
  padding: 13px 16px !important;
  margin-bottom: 12px !important;
  border: 1px solid #ccd0d5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 16px !important;
  outline: none !important;
  transition:
    border-color 0.18s,
    box-shadow 0.18s !important;
}

.auth-card input:focus,
.login-card input:focus,
.signup-card input:focus,
.auth-box input:focus {
  border-color: #1877f2 !important;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15) !important;
}

/* Main buttons */
.auth-card button[type="submit"],
.login-card button[type="submit"],
.signup-card button[type="submit"],
.auth-box button[type="submit"] {
  width: 100% !important;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-top: 4px !important;
}

/* Forgot password */
.auth-card a,
.login-card a,
.signup-card a,
.auth-box a {
  text-decoration: none;
}

/* Divider */
.auth-card hr,
.login-card hr,
.signup-card hr,
.auth-box hr {
  border: 0 !important;
  border-top: 1px solid #dadde1 !important;
  margin: 22px 0 !important;
}

/* Create-account area */
.auth-create-account,
.create-account,
.signup-link {
  text-align: center !important;
}

.auth-create-account button,
.create-account button {
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

/* Sign-up form sections */
.signup-card form,
.auth-box form {
  display: flex !important;
  flex-direction: column !important;
}

.signup-card label,
.auth-box label {
  color: #4b4f56 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 4px 0 6px !important;
}

/* Mobile */
@media (max-width: 760px) {
  .auth-page,
  .login-page,
  .signup-page {
    align-items: flex-start !important;
    overflow-y: auto !important;
  }

  .auth-page .auth-container,
  .login-page .auth-container,
  .signup-page .auth-container,
  .auth-page .auth-layout,
  .login-page .auth-layout,
  .signup-page .auth-layout {
    width: 100% !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 28px 16px !important;
  }

  .auth-brand,
  .login-brand,
  .signup-brand {
    align-items: center !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .auth-brand img,
  .login-brand img,
  .signup-brand img {
    width: 62px !important;
    height: 62px !important;
    margin-bottom: 12px !important;
  }

  .auth-brand h1,
  .login-brand h1,
  .signup-brand h1 {
    font-size: 46px !important;
    letter-spacing: -2px !important;
  }

  .auth-brand p,
  .login-brand p,
  .signup-brand p {
    font-size: 17px !important;
    max-width: 340px !important;
  }

  .auth-card,
  .login-card,
  .signup-card,
  .auth-box {
    max-width: 460px !important;
    padding: 24px 18px !important;
    border-radius: 14px !important;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .auth-page .auth-container,
  .login-page .auth-container,
  .signup-page .auth-container,
  .auth-page .auth-layout,
  .login-page .auth-layout,
  .signup-page .auth-layout {
    padding: 20px 12px !important;
  }

  .auth-brand h1,
  .login-brand h1,
  .signup-brand h1 {
    font-size: 40px !important;
  }

  .auth-card,
  .login-card,
  .signup-card,
  .auth-box {
    padding: 20px 15px !important;
  }
}

/* =========================================================
   VibeHQ Full-Screen Social Login / Sign-Up Redesign
   Only applies to authentication pages
   ========================================================= */

.auth-page,
.login-page,
.signup-page {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

.auth-page *,
.login-page *,
.signup-page * {
  box-sizing: border-box;
}

/* Full-screen background */
.auth-page::before,
.login-page::before,
.signup-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(0, 170, 255, 0.12),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(120, 70, 255, 0.14),
      transparent 35%
    ),
    #06101d;
}

/* Main authentication layout */
.auth-page .auth-container,
.login-page .auth-container,
.signup-page .auth-container,
.auth-page .auth-layout,
.login-page .auth-layout,
.signup-page .auth-layout {
  width: min(1100px, 94vw) !important;
  min-height: 620px !important;
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  align-items: center !important;
  gap: 70px !important;
  margin: auto !important;
  padding: 40px !important;
}

/* Branding section */
.auth-brand,
.login-brand,
.signup-brand {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  max-width: 540px !important;
}

.auth-brand img,
.login-brand img,
.signup-brand img {
  width: 82px !important;
  height: 82px !important;
  object-fit: contain !important;
  margin-bottom: 22px !important;
}

.auth-brand h1,
.login-brand h1,
.signup-brand h1 {
  margin: 0 0 12px !important;
  font-size: clamp(48px, 6vw, 76px) !important;
  line-height: 0.95 !important;
  font-weight: 800 !important;
  letter-spacing: -3px !important;
}

.auth-brand p,
.login-brand p,
.signup-brand p {
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1.45 !important;
  opacity: 0.82 !important;
  max-width: 470px !important;
}

/* Authentication card */
.auth-card,
.login-card,
.signup-card,
.auth-box {
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  padding: 30px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  color: #111 !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Card headings */
.auth-card h1,
.auth-card h2,
.login-card h1,
.login-card h2,
.signup-card h1,
.signup-card h2,
.auth-box h1,
.auth-box h2 {
  color: #111 !important;
  margin-top: 0 !important;
}

.auth-card h1,
.login-card h1,
.signup-card h1 {
  font-size: 28px !important;
  margin-bottom: 8px !important;
}

.auth-card > p,
.login-card > p,
.signup-card > p {
  color: #65676b !important;
}

/* Inputs */
.auth-card input,
.login-card input,
.signup-card input,
.auth-box input {
  width: 100% !important;
  min-height: 52px !important;
  padding: 13px 16px !important;
  margin-bottom: 12px !important;
  border: 1px solid #ccd0d5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 16px !important;
  outline: none !important;
  transition:
    border-color 0.18s,
    box-shadow 0.18s !important;
}

.auth-card input:focus,
.login-card input:focus,
.signup-card input:focus,
.auth-box input:focus {
  border-color: #1877f2 !important;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.15) !important;
}

/* Main buttons */
.auth-card button[type="submit"],
.login-card button[type="submit"],
.signup-card button[type="submit"],
.auth-box button[type="submit"] {
  width: 100% !important;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-top: 4px !important;
}

/* Forgot password */
.auth-card a,
.login-card a,
.signup-card a,
.auth-box a {
  text-decoration: none;
}

/* Divider */
.auth-card hr,
.login-card hr,
.signup-card hr,
.auth-box hr {
  border: 0 !important;
  border-top: 1px solid #dadde1 !important;
  margin: 22px 0 !important;
}

/* Create-account area */
.auth-create-account,
.create-account,
.signup-link {
  text-align: center !important;
}

.auth-create-account button,
.create-account button {
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

/* Sign-up form sections */
.signup-card form,
.auth-box form {
  display: flex !important;
  flex-direction: column !important;
}

.signup-card label,
.auth-box label {
  color: #4b4f56 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 4px 0 6px !important;
}

/* Mobile */
@media (max-width: 760px) {
  .auth-page,
  .login-page,
  .signup-page {
    align-items: flex-start !important;
    overflow-y: auto !important;
  }

  .auth-page .auth-container,
  .login-page .auth-container,
  .signup-page .auth-container,
  .auth-page .auth-layout,
  .login-page .auth-layout,
  .signup-page .auth-layout {
    width: 100% !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 28px 16px !important;
  }

  .auth-brand,
  .login-brand,
  .signup-brand {
    align-items: center !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .auth-brand img,
  .login-brand img,
  .signup-brand img {
    width: 62px !important;
    height: 62px !important;
    margin-bottom: 12px !important;
  }

  .auth-brand h1,
  .login-brand h1,
  .signup-brand h1 {
    font-size: 46px !important;
    letter-spacing: -2px !important;
  }

  .auth-brand p,
  .login-brand p,
  .signup-brand p {
    font-size: 17px !important;
    max-width: 340px !important;
  }

  .auth-card,
  .login-card,
  .signup-card,
  .auth-box {
    max-width: 460px !important;
    padding: 24px 18px !important;
    border-radius: 14px !important;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .auth-page .auth-container,
  .login-page .auth-container,
  .signup-page .auth-container,
  .auth-page .auth-layout,
  .login-page .auth-layout,
  .signup-page .auth-layout {
    padding: 20px 12px !important;
  }

  .auth-brand h1,
  .login-brand h1,
  .signup-brand h1 {
    font-size: 40px !important;
  }

  .auth-card,
  .login-card,
  .signup-card,
  .auth-box {
    padding: 20px 15px !important;
  }
}

/* =========================================================
   VibeHQ MOBILE LOGIN / SIGN-UP REDESIGN
   Mobile only — does not affect desktop
   ========================================================= */

@media (max-width: 760px) {
  /* Full mobile screen */
  .auth-page,
  .login-page,
  .signup-page {
    width: 100vw !important;
    min-width: 100vw !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    overflow-x: hidden !important;
    background: #f0f2f5 !important;
  }

  /* Remove desktop-style spacing */
  .auth-page .auth-container,
  .login-page .auth-container,
  .signup-page .auth-container,
  .auth-page .auth-layout,
  .login-page .auth-layout,
  .signup-page .auth-layout {
    width: 100% !important;
    min-height: 100dvh !important;
    padding: 0 16px 30px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  /* VibeHQ top branding */
  .auth-brand,
  .login-brand,
  .signup-brand {
    width: 100% !important;
    max-width: none !important;
    padding: 42px 10px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .auth-brand img,
  .login-brand img,
  .signup-brand img {
    width: 68px !important;
    height: 68px !important;
    margin: 0 auto 14px !important;
    object-fit: contain !important;
  }

  .auth-brand h1,
  .login-brand h1,
  .signup-brand h1 {
    font-size: 42px !important;
    line-height: 1 !important;
    letter-spacing: -2px !important;
    margin: 0 0 9px !important;
  }

  .auth-brand p,
  .login-brand p,
  .signup-brand p {
    font-size: 16px !important;
    line-height: 1.4 !important;
    max-width: 330px !important;
    margin: 0 auto !important;
  }

  /* Login / signup card */
  .auth-card,
  .login-card,
  .signup-card,
  .auth-box {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid #dddfe2 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
  }

  /* Card headings */
  .auth-card h1,
  .auth-card h2,
  .login-card h1,
  .login-card h2,
  .signup-card h1,
  .signup-card h2,
  .auth-box h1,
  .auth-box h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin: 0 0 8px !important;
  }

  .auth-card > p,
  .login-card > p,
  .signup-card > p {
    text-align: center !important;
    font-size: 14px !important;
    margin-bottom: 18px !important;
  }

  /* Inputs */
  .auth-card input,
  .login-card input,
  .signup-card input,
  .auth-box input {
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    margin: 0 0 11px !important;
    padding: 13px 15px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    background: #ffffff !important;
    border: 1px solid #ccd0d5 !important;
  }

  .auth-card input:focus,
  .login-card input:focus,
  .signup-card input:focus,
  .auth-box input:focus {
    border-color: #1877f2 !important;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.12) !important;
  }

  /* Login / signup primary button */
  .auth-card button[type="submit"],
  .login-card button[type="submit"],
  .signup-card button[type="submit"],
  .auth-box button[type="submit"] {
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    margin: 3px 0 0 !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  /* Forgot password */
  .auth-card a,
  .login-card a,
  .signup-card a,
  .auth-box a {
    font-size: 15px !important;
  }

  /* Divider */
  .auth-card hr,
  .login-card hr,
  .signup-card hr,
  .auth-box hr {
    margin: 20px 0 !important;
    border-top: 1px solid #dadde1 !important;
  }

  /* Create account button */
  .auth-create-account,
  .create-account,
  .signup-link {
    width: 100% !important;
    text-align: center !important;
  }

  .auth-create-account button,
  .create-account button {
    min-height: 48px !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  /* Signup fields */
  .signup-card label,
  .auth-box label {
    display: block !important;
    font-size: 13px !important;
    margin: 5px 0 5px !important;
  }

  /* Prevent iPhone zoom */
  .auth-page input,
  .login-page input,
  .signup-page input {
    font-size: 16px !important;
  }
}

/* Extra-small phones */
@media (max-width: 380px) {
  .auth-brand,
  .login-brand,
  .signup-brand {
    padding-top: 28px !important;
    padding-bottom: 18px !important;
  }

  .auth-brand img,
  .login-brand img,
  .signup-brand img {
    width: 58px !important;
    height: 58px !important;
  }

  .auth-brand h1,
  .login-brand h1,
  .signup-brand h1 {
    font-size: 36px !important;
  }

  .auth-card,
  .login-card,
  .signup-card,
  .auth-box {
    padding: 17px !important;
  }
}

/* =========================================================
   COVER PHOTO — PRESERVE ORIGINAL ASPECT RATIO
   Do not stretch the uploaded image
   ========================================================= */

.profile-hero .cover,
.profile-cover,
.cover-photo,
.cover-image {
  overflow: hidden !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* Cover when rendered as an IMG */
.profile-hero .cover img,
.profile-cover img,
.cover-photo img,
.cover-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Never allow the cover to use a distorted fill */
.profile-hero .cover[style],
.profile-cover[style],
.cover-photo[style],
.cover-image[style] {
  background-size: cover !important;
  background-position: center center !important;
}

/* Cover crop window must match the saved cover image ratio */
.crop-stage.crop-cover .crop-window {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 1 !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
}

@media (max-width: 600px) {
  .crop-stage.crop-cover .crop-window {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 1 !important;
  }
}

/* =========================================================
   MOBILE PROFILE / PAGE COVER PHOTOS — 2.4:1
   ========================================================= */

@media (max-width: 760px) {
  /* Profile cover */
  .profile-hero .cover {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 2.4 / 1 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }

  /* Page / community covers */
  .page-cover,
  .community-cover,
  .cover-photo,
  .cover-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 2.4 / 1 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }

  /* Cover images */
  .profile-hero .cover img,
  .page-cover img,
  .community-cover img,
  .cover-photo img,
  .cover-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  /* Mobile cropper */
  .crop-stage.crop-cover .crop-window {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2.4 / 1 !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* Mobile profile and page cover photos: exact 2.4:1 ratio */
@media (max-width: 760px) {
  .crop-stage.crop-cover .crop-window {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2.4 / 1 !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
  }

  .profile-hero .cover,
  .community-cover,
  .page-cover,
  .cover-photo,
  .cover-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 2.4 / 1 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
  }

  .profile-hero .cover img,
  .community-cover img,
  .page-cover img,
  .cover-photo img,
  .cover-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }
}

/* =========================================================
   VibeHQ HOME FEED — MOBILE SOCIAL LAYOUT
   ========================================================= */

@media (max-width: 760px) {
  .VibeHQ-home {
    padding: 8px 8px 92px !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* STORIES */

  .home-stories {
    margin: 0 -1px 10px !important;
    padding: 11px 10px 10px !important;
    background: #080808 !important;
    border: 1px solid #242424 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .home-stories-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 9px !important;
    color: #fff !important;
    font-size: 14px !important;
  }

  .stories-see-all {
    border: 0 !important;
    background: transparent !important;
    color: #ff6a00 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  .home-stories-row {
    display: flex !important;
    gap: 9px !important;
    overflow-x: auto !important;
    padding: 1px 1px 3px !important;
    scrollbar-width: none !important;
  }

  .home-stories-row::-webkit-scrollbar {
    display: none !important;
  }

  .home-story {
    flex: 0 0 67px !important;
    width: 67px !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .home-story-avatar {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    padding: 3px !important;
    background: #050505 !important;
    border: 2px solid #ff6a00 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    box-shadow: 0 0 0 2px #151515 !important;
  }

  .home-story-avatar .avatar {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    border-radius: 50% !important;
    border: 0 !important;
  }

  .home-story-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .story-fallback {
    background: #111 !important;
    color: #ff6a00 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
  }

  .home-story strong {
    max-width: 67px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #ddd !important;
    font-size: 9px !important;
    font-weight: 700 !important;
  }

  .home-story-add .home-story-avatar {
    border-color: #ff6a00 !important;
    box-shadow: 0 0 0 2px #ff6a00 !important;
  }

  /* POST COMPOSER */

  .VibeHQ-home .status-launch {
    margin: 0 0 10px !important;
    padding: 10px !important;
    min-height: 62px !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: #090909 !important;
    border: 1px solid #292929 !important;
    border-radius: 14px !important;
  }

  .VibeHQ-home .status-launch > div {
    flex: 0 0 auto !important;
  }

  .VibeHQ-home .status-launch .status-input {
    flex: 1 !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 14px !important;
    text-align: left !important;
    border: 1px solid #303030 !important;
    border-radius: 22px !important;
    background: #111 !important;
    color: #999 !important;
    font-size: 12px !important;
  }

  .VibeHQ-home .status-launch .status-input:active,
  .VibeHQ-home .status-launch .status-input:focus {
    border-color: #ff6a00 !important;
  }

  .VibeHQ-home .status-media-btn {
    width: 39px !important;
    height: 39px !important;
    flex: 0 0 39px !important;
    border-radius: 50% !important;
    border: 1px solid #303030 !important;
    background: #111 !important;
    color: #ff6a00 !important;
  }

  /* FEED HEADER */

  .VibeHQ-home .feed-title {
    margin: 5px 2px 9px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .VibeHQ-home .feed-title h2 {
    margin: 1px 0 0 !important;
    font-size: 17px !important;
    line-height: 1.1 !important;
  }

  .VibeHQ-home .feed-title small {
    display: none !important;
  }

  .VibeHQ-home .feed-title .eyebrow {
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }

  .VibeHQ-home .feed-title .btn {
    height: 32px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
    border-radius: 8px !important;
  }

  /* POSTS */

  .VibeHQ-home .feed {
    display: grid !important;
    gap: 9px !important;
  }

  .VibeHQ-home .post {
    margin: 0 !important;
    padding: 11px !important;
    border-radius: 14px !important;
    background: #090909 !important;
    border: 1px solid #262626 !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.32) !important;
  }

  .VibeHQ-home .post:hover {
    transform: none !important;
  }

  .VibeHQ-home .post-header {
    margin-bottom: 8px !important;
  }

  .VibeHQ-home .post-author,
  .VibeHQ-home .post-user {
    color: #fff !important;
  }

  .VibeHQ-home .post-meta,
  .VibeHQ-home .post-time {
    color: #777 !important;
    font-size: 9px !important;
  }

  .VibeHQ-home .post-content {
    color: #e7e7e7 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .VibeHQ-home .post img,
  .VibeHQ-home .post video {
    border-radius: 10px !important;
  }

  .VibeHQ-home .post-actions {
    border-top: 1px solid #202020 !important;
    margin-top: 9px !important;
    padding-top: 7px !important;
  }

  .VibeHQ-home .post-actions button {
    color: #999 !important;
    font-size: 11px !important;
  }

  .VibeHQ-home .post-actions button:hover,
  .VibeHQ-home .post-actions button.active {
    color: #ff6a00 !important;
  }

  /* ORANGE ACTIVE INTERACTIONS */

  .VibeHQ-home button[data-action],
  .VibeHQ-home button[data-page] {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Desktop keeps the existing VibeHQ layout. */

/* =========================================================
   VibeHQ HOME FEED — MOBILE SOCIAL LAYOUT
   ========================================================= */

@media (max-width: 760px) {
  .VibeHQ-home {
    padding: 8px 8px 92px !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* STORIES */

  .home-stories {
    margin: 0 -1px 10px !important;
    padding: 11px 10px 10px !important;
    background: #080808 !important;
    border: 1px solid #242424 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .home-stories-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 9px !important;
    color: #fff !important;
    font-size: 14px !important;
  }

  .stories-see-all {
    border: 0 !important;
    background: transparent !important;
    color: #ff6a00 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  .home-stories-row {
    display: flex !important;
    gap: 9px !important;
    overflow-x: auto !important;
    padding: 1px 1px 3px !important;
    scrollbar-width: none !important;
  }

  .home-stories-row::-webkit-scrollbar {
    display: none !important;
  }

  .home-story {
    flex: 0 0 67px !important;
    width: 67px !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .home-story-avatar {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    padding: 3px !important;
    background: #050505 !important;
    border: 2px solid #ff6a00 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    box-shadow: 0 0 0 2px #151515 !important;
  }

  .home-story-avatar .avatar {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    border-radius: 50% !important;
    border: 0 !important;
  }

  .home-story-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .story-fallback {
    background: #111 !important;
    color: #ff6a00 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
  }

  .home-story strong {
    max-width: 67px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #ddd !important;
    font-size: 9px !important;
    font-weight: 700 !important;
  }

  .home-story-add .home-story-avatar {
    border-color: #ff6a00 !important;
    box-shadow: 0 0 0 2px #ff6a00 !important;
  }

  /* POST COMPOSER */

  .VibeHQ-home .status-launch {
    margin: 0 0 10px !important;
    padding: 10px !important;
    min-height: 62px !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: #090909 !important;
    border: 1px solid #292929 !important;
    border-radius: 14px !important;
  }

  .VibeHQ-home .status-launch > div {
    flex: 0 0 auto !important;
  }

  .VibeHQ-home .status-launch .status-input {
    flex: 1 !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 14px !important;
    text-align: left !important;
    border: 1px solid #303030 !important;
    border-radius: 22px !important;
    background: #111 !important;
    color: #999 !important;
    font-size: 12px !important;
  }

  .VibeHQ-home .status-launch .status-input:active,
  .VibeHQ-home .status-launch .status-input:focus {
    border-color: #ff6a00 !important;
  }

  .VibeHQ-home .status-media-btn {
    width: 39px !important;
    height: 39px !important;
    flex: 0 0 39px !important;
    border-radius: 50% !important;
    border: 1px solid #303030 !important;
    background: #111 !important;
    color: #ff6a00 !important;
  }

  /* FEED HEADER */

  .VibeHQ-home .feed-title {
    margin: 5px 2px 9px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .VibeHQ-home .feed-title h2 {
    margin: 1px 0 0 !important;
    font-size: 17px !important;
    line-height: 1.1 !important;
  }

  .VibeHQ-home .feed-title small {
    display: none !important;
  }

  .VibeHQ-home .feed-title .eyebrow {
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }

  .VibeHQ-home .feed-title .btn {
    height: 32px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
    border-radius: 8px !important;
  }

  /* POSTS */

  .VibeHQ-home .feed {
    display: grid !important;
    gap: 9px !important;
  }

  .VibeHQ-home .post {
    margin: 0 !important;
    padding: 11px !important;
    border-radius: 14px !important;
    background: #090909 !important;
    border: 1px solid #262626 !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.32) !important;
  }

  .VibeHQ-home .post:hover {
    transform: none !important;
  }

  .VibeHQ-home .post-header {
    margin-bottom: 8px !important;
  }

  .VibeHQ-home .post-author,
  .VibeHQ-home .post-user {
    color: #fff !important;
  }

  .VibeHQ-home .post-meta,
  .VibeHQ-home .post-time {
    color: #777 !important;
    font-size: 9px !important;
  }

  .VibeHQ-home .post-content {
    color: #e7e7e7 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .VibeHQ-home .post img,
  .VibeHQ-home .post video {
    border-radius: 10px !important;
  }

  .VibeHQ-home .post-actions {
    border-top: 1px solid #202020 !important;
    margin-top: 9px !important;
    padding-top: 7px !important;
  }

  .VibeHQ-home .post-actions button {
    color: #999 !important;
    font-size: 11px !important;
  }

  .VibeHQ-home .post-actions button:hover,
  .VibeHQ-home .post-actions button.active {
    color: #ff6a00 !important;
  }

  /* ORANGE ACTIVE INTERACTIONS */

  .VibeHQ-home button[data-action],
  .VibeHQ-home button[data-page] {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Desktop keeps the existing VibeHQ layout. */

/* =========================================================
   VibeHQ — Home Feed Post Card Redesign
   ========================================================= */

@media (max-width: 760px) {
  /* Feed spacing */
  .VibeHQ-home .feed {
    display: grid !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* Main post card */
  .VibeHQ-home .post,
  .VibeHQ-home .post-card,
  .VibeHQ-home .feed-card {
    width: 100% !important;
    margin: 0 !important;
    padding: 11px !important;
    background: #090909 !important;
    border: 1px solid #272727 !important;
    border-radius: 14px !important;
    box-shadow:
      0 5px 18px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
    overflow: hidden !important;
  }

  /* Post header */
  .VibeHQ-home .post-header,
  .VibeHQ-home .post-head,
  .VibeHQ-home .post-top {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 42px !important;
    margin-bottom: 9px !important;
  }

  /* Avatar */
  .VibeHQ-home .post-header img,
  .VibeHQ-home .post-head img,
  .VibeHQ-home .post-top img,
  .VibeHQ-home .post-author img,
  .VibeHQ-home .post-avatar img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #ff6a00 !important;
    background: #111 !important;
  }

  /* Generic avatar containers */
  .VibeHQ-home .post-avatar,
  .VibeHQ-home .author-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid #ff6a00 !important;
    background: #111 !important;
  }

  /* Author information */
  .VibeHQ-home .post-author,
  .VibeHQ-home .author-info,
  .VibeHQ-home .post-user {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .VibeHQ-home .post-author strong,
  .VibeHQ-home .post-author-name,
  .VibeHQ-home .author-name,
  .VibeHQ-home .post-user-name {
    display: block !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .VibeHQ-home .post-meta,
  .VibeHQ-home .author-meta,
  .VibeHQ-home .post-time,
  .VibeHQ-home .post-date {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 3px !important;
    color: #777 !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
  }

  /* Community/page label */
  .VibeHQ-home .community-link,
  .VibeHQ-home .post-community,
  .VibeHQ-home .post-source {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 0 7px !important;
    padding: 4px 7px !important;
    border: 1px solid #3a220f !important;
    border-radius: 7px !important;
    background: #100b07 !important;
    color: #ff6a00 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
  }

  /* Post text */
  .VibeHQ-home .post-content {
    margin: 0 !important;
    padding: 0 !important;
    color: #e9e9e9 !important;
    font-size: 13px !important;
    line-height: 1.48 !important;
    overflow-wrap: anywhere !important;
  }

  .VibeHQ-home .post-content p {
    margin: 0 0 8px !important;
  }

  .VibeHQ-home .post-content p:last-child {
    margin-bottom: 0 !important;
  }

  .VibeHQ-home .post-content a {
    color: #ff6a00 !important;
  }

  /* Post images */
  .VibeHQ-home .post img:not(.post-avatar):not(.author-avatar):not(.avatar) {
    max-width: 100% !important;
  }

  .VibeHQ-home .post-media,
  .VibeHQ-home .post-image,
  .VibeHQ-home .media {
    width: 100% !important;
    margin: 9px 0 0 !important;
    border-radius: 11px !important;
    overflow: hidden !important;
    background: #050505 !important;
  }

  .VibeHQ-home .post-media img,
  .VibeHQ-home .post-image img,
  .VibeHQ-home .media img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 11px !important;
  }

  /* Video */
  .VibeHQ-home .post video,
  .VibeHQ-home .post-media video {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 11px !important;
    background: #000 !important;
  }

  /* Reaction summary */
  .VibeHQ-home .post-stats,
  .VibeHQ-home .post-reactions,
  .VibeHQ-home .reaction-summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 25px !important;
    padding: 5px 2px 4px !important;
    color: #777 !important;
    font-size: 9px !important;
  }

  .VibeHQ-home .post-stats span,
  .VibeHQ-home .post-reactions span,
  .VibeHQ-home .reaction-summary span {
    color: #888 !important;
  }

  /* Action row */
  .VibeHQ-home .post-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3px !important;
    margin: 5px 0 0 !important;
    padding: 6px 0 0 !important;
    border-top: 1px solid #222 !important;
  }

  .VibeHQ-home .post-actions button,
  .VibeHQ-home .post-action,
  .VibeHQ-home .action-btn {
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 6px 3px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #999 !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    transition:
      background 0.15s ease,
      color 0.15s ease !important;
  }

  .VibeHQ-home .post-actions button:hover,
  .VibeHQ-home .post-actions button:active,
  .VibeHQ-home .post-actions button.active,
  .VibeHQ-home .post-actions button[aria-pressed="true"] {
    background: #160b04 !important;
    color: #ff6a00 !important;
  }

  /* Like state */
  .VibeHQ-home .post-actions .liked,
  .VibeHQ-home .post-actions [data-liked="true"],
  .VibeHQ-home .post-actions .active.like {
    color: #ff6a00 !important;
    background: #160b04 !important;
  }

  /* Three-dot / more button */
  .VibeHQ-home .post-more,
  .VibeHQ-home .more-btn,
  .VibeHQ-home [data-action="post-menu"] {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #777 !important;
  }

  .VibeHQ-home .post-more:hover,
  .VibeHQ-home .more-btn:hover {
    background: #171717 !important;
    color: #fff !important;
  }

  /* Share/comment composer area */
  .VibeHQ-home .comment-box,
  .VibeHQ-home .comment-input,
  .VibeHQ-home .post-comment-input {
    background: #111 !important;
    border: 1px solid #292929 !important;
    color: #eee !important;
    border-radius: 18px !important;
    font-size: 11px !important;
  }

  /* Empty feed */
  .VibeHQ-home .feed-empty,
  .VibeHQ-home .empty-state {
    padding: 28px 15px !important;
    background: #090909 !important;
    border: 1px solid #242424 !important;
    border-radius: 14px !important;
    color: #777 !important;
    text-align: center !important;
  }

  .VibeHQ-home .post a {
    color: #ff6a00 !important;
  }

  /* Prevent accidental horizontal overflow */
  .VibeHQ-home,
  .VibeHQ-home .feed,
  .VibeHQ-home .post {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   VibeHQ — Mobile Top Header + Bottom Navigation
   ========================================================= */

@media (max-width: 760px) {
  /* ---------- TOP HEADER ---------- */

  .topbar {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 10px !important;

    display: flex !important;
    align-items: center !important;

    background: #050505 !important;
    border-bottom: 1px solid #252525 !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.55) !important;

    z-index: 1000 !important;

    transition:
      transform 0.25s ease,
      opacity 0.2s ease !important;
  }

  .topbar.topbar-hidden {
    transform: translateY(-105%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Brand area */

  .topbar .brand {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;

    min-width: 0 !important;
    color: #fff !important;

    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.4px !important;
  }

  .topbar .brand img {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;

    border-radius: 9px !important;
    object-fit: contain !important;

    background: #ff6a00 !important;
    border: 1px solid #ff6a00 !important;
  }

  /* Only use the V logo fallback when no image exists */

  .topbar .brand::before {
    display: none !important;
  }

  /* Header action group */

  .topbar .top-actions {
    margin-left: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 5px !important;
  }

  .topbar .top-actions .icon-btn,
  .topbar .icon-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;

    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid #292929 !important;
    border-radius: 50% !important;

    background: #0c0c0c !important;
    color: #ddd !important;

    box-shadow: none !important;
  }

  .topbar .top-actions .icon-btn:active,
  .topbar .icon-btn:active {
    background: #160b04 !important;
    border-color: #ff6a00 !important;
    color: #ff6a00 !important;
  }

  .topbar .icon-btn svg,
  .topbar .icon-btn i {
    width: 17px !important;
    height: 17px !important;
    font-size: 17px !important;
  }

  /* User chip */

  .topbar .user-chip {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;

    padding: 0 !important;

    border: 2px solid #ff6a00 !important;
    border-radius: 50% !important;

    background: #111 !important;
    overflow: hidden !important;
  }

  .topbar .user-chip span {
    width: 32px !important;
    height: 32px !important;

    border-radius: 50% !important;
    overflow: hidden !important;
  }

  .topbar .user-chip img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    border-radius: 50% !important;
  }

  /* ---------- MAIN CONTENT ---------- */

  body {
    overflow-x: hidden !important;
  }

  main#app {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .shell {
    width: 100% !important;
    max-width: 100% !important;

    padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  }

  /* ---------- BOTTOM NAV ---------- */

  .mobile-nav {
    position: fixed !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;

    height: calc(66px + env(safe-area-inset-bottom)) !important;

    min-height: calc(66px + env(safe-area-inset-bottom)) !important;

    padding: 4px 3px env(safe-area-inset-bottom) !important;

    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    align-items: start !important;

    background: #050505 !important;

    border-top: 1px solid #292929 !important;

    box-shadow: 0 -5px 22px rgba(0, 0, 0, 0.65) !important;

    z-index: 2000 !important;

    box-sizing: border-box !important;
  }

  .mobile-nav button {
    width: 100% !important;
    height: 58px !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 5px 2px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;

    border: 0 !important;
    border-radius: 10px !important;

    background: transparent !important;
    color: #777 !important;

    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    box-shadow: none !important;

    transition:
      background 0.15s ease,
      color 0.15s ease,
      transform 0.15s ease !important;
  }

  /* Every bottom-nav icon gets the same size */

  .mobile-nav button svg,
  .mobile-nav button i,
  .mobile-nav button .icon,
  .mobile-nav button img {
    width: 21px !important;
    height: 21px !important;
    min-width: 21px !important;
    min-height: 21px !important;

    font-size: 21px !important;

    object-fit: contain !important;
  }

  /* Active navigation item */

  .mobile-nav button.active,
  .mobile-nav button[aria-current="page"],
  .mobile-nav button.selected {
    background: #ff6a00 !important;
    color: #000 !important;

    font-weight: 950 !important;

    box-shadow: 0 0 12px rgba(255, 106, 0, 0.16) !important;
  }

  .mobile-nav button.active svg,
  .mobile-nav button.active i,
  .mobile-nav button[aria-current="page"] svg,
  .mobile-nav button[aria-current="page"] i,
  .mobile-nav button.selected svg,
  .mobile-nav button.selected i {
    color: #000 !important;
    fill: currentColor !important;
  }

  .mobile-nav button:active {
    transform: scale(0.94) !important;
  }

  /* Notification badge */

  .mobile-nav .notification-badge,
  .mobile-nav .badge {
    position: absolute !important;

    margin-left: 16px !important;
    margin-top: -18px !important;

    min-width: 15px !important;
    height: 15px !important;

    padding: 0 4px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 2px solid #050505 !important;
    border-radius: 10px !important;

    background: #ff6a00 !important;
    color: #000 !important;

    font-size: 7px !important;
    font-weight: 950 !important;
  }

  /* ---------- ORANGE ACCENTS ---------- */

  .mobile-nav button:hover {
    color: #ff6a00 !important;
  }

  .mobile-nav button.active:hover,
  .mobile-nav button[aria-current="page"]:hover {
    color: #000 !important;
  }
}

/* Small phones */

@media (max-width: 390px) {
  .topbar {
    padding: 0 7px !important;
  }

  .topbar .brand {
    font-size: 16px !important;
  }

  .topbar .brand img {
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    min-height: 31px !important;
  }

  .topbar .top-actions {
    gap: 3px !important;
  }

  .topbar .top-actions .icon-btn,
  .topbar .icon-btn {
    width: 33px !important;
    height: 33px !important;
    min-width: 33px !important;
    min-height: 33px !important;
  }

  .topbar .user-chip {
    width: 33px !important;
    height: 33px !important;
    min-width: 33px !important;
  }

  .mobile-nav button {
    font-size: 8px !important;
  }

  .mobile-nav button svg,
  .mobile-nav button i,
  .mobile-nav button .icon,
  .mobile-nav button img {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
  }
}

/* Desktop remains unchanged */

@media (min-width: 761px) {
  .mobile-nav {
    display: none !important;
  }
}

/* =========================================================
   VibeHQ — Real Friend Stories
   ========================================================= */

@media (max-width: 760px) {
  /* Keep only the main Stories strip on the Home Feed */
  .home-stories {
    margin: 0 -1px 10px !important;
    padding: 11px 10px 10px !important;
    background: #080808 !important;
    border: 1px solid #242424 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .home-stories-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 9px !important;
  }

  .home-stories-title b {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  .stories-see-all {
    color: #ff6a00 !important;
  }

  .home-stories-row {
    display: flex !important;
    gap: 9px !important;
    overflow-x: auto !important;
    padding: 1px 1px 4px !important;
    scrollbar-width: none !important;
  }

  .home-stories-row::-webkit-scrollbar {
    display: none !important;
  }

  .home-story {
    flex: 0 0 67px !important;
    width: 67px !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #fff !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .home-story-avatar {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;

    padding: 3px !important;

    display: grid !important;
    place-items: center !important;

    border-radius: 50% !important;
    background: #050505 !important;
    border: 2px solid #ff6a00 !important;

    box-shadow: 0 0 0 2px #151515 !important;
    overflow: hidden !important;
  }

  .home-story-avatar .avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    border: 0 !important;
  }

  .home-story-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .home-story strong {
    width: 67px !important;
    max-width: 67px !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;

    color: #ddd !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-align: center !important;
  }

  .home-story-add .home-story-avatar {
    position: relative !important;
  }

  .home-story-add .home-story-avatar::after {
    content: "+" !important;

    position: absolute !important;
    right: -2px !important;
    bottom: -2px !important;

    width: 19px !important;
    height: 19px !important;

    display: grid !important;
    place-items: center !important;

    border: 2px solid #080808 !important;
    border-radius: 50% !important;

    background: #ff6a00 !important;
    color: #000 !important;

    font-size: 14px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }

  /* Remove any duplicate story navigation element in the mobile header */
  .topbar .stories,
  .topbar .story,
  .topbar [data-page="stories"],
  .topbar [data-action="stories"],
  .topbar .stories-link {
    display: none !important;
  }
}

/* =========================================================
   VibeHQ — Premium Dark Orange Profile
   ========================================================= */

@media (max-width: 760px) {
  .vhq-profile {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    padding: 8px 8px 90px !important;
    background: #050505 !important;
  }

  .vhq-profile-card {
    overflow: hidden !important;
    background: #090909 !important;
    border: 1px solid #292929 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
  }

  /* Cover */

  .vhq-cover {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 2.4 / 1 !important;
    min-height: 0 !important;
    background: #111 !important;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden !important;
  }

  .vhq-cover-shade {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      180deg,
      transparent 35%,
      rgba(0, 0, 0, 0.75) 100%
    ) !important;
  }

  .vhq-cover-edit {
    position: absolute !important;
    right: 9px !important;
    top: 9px !important;
    z-index: 2 !important;

    width: 32px !important;
    height: 32px !important;

    display: grid !important;
    place-items: center !important;

    border: 1px solid #555 !important;
    border-radius: 50% !important;

    background: #050505cc !important;
    color: #fff !important;
  }

  /* Identity */

  .vhq-profile-identity {
    position: relative !important;
    display: flex !important;
    gap: 12px !important;
    padding: 0 12px 14px !important;
    margin-top: -35px !important;
    z-index: 3 !important;
  }

  .vhq-avatar-column {
    position: relative !important;
    flex: 0 0 76px !important;
  }

  .vhq-profile-avatar {
    position: relative !important;

    width: 76px !important;
    height: 76px !important;

    display: grid !important;
    place-items: center !important;

    border-radius: 50% !important;
    border: 3px solid #ff6a00 !important;
    background: #050505 !important;

    box-shadow:
      0 0 0 4px #090909,
      0 0 18px rgba(255, 106, 0, 0.2) !important;

    overflow: visible !important;
  }

  .vhq-profile-avatar .avatar {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;

    border: 0 !important;
    background: #151515 !important;
    color: #fff !important;
  }

  .vhq-profile-avatar .avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .vhq-avatar-star {
    position: absolute !important;
    right: -2px !important;
    bottom: 0 !important;

    width: 21px !important;
    height: 21px !important;

    display: grid !important;
    place-items: center !important;

    border: 2px solid #090909 !important;
    border-radius: 50% !important;

    background: #ff6a00 !important;
    color: #000 !important;

    font-size: 10px !important;
    font-weight: 950 !important;
  }

  .vhq-avatar-edit {
    position: absolute !important;
    left: 50px !important;
    bottom: -7px !important;

    width: 25px !important;
    height: 25px !important;

    display: grid !important;
    place-items: center !important;

    border: 2px solid #090909 !important;
    border-radius: 50% !important;

    background: #222 !important;
    color: #fff !important;
    z-index: 4 !important;
  }

  .vhq-avatar-edit svg {
    width: 12px !important;
    height: 12px !important;
  }

  .vhq-identity-copy {
    min-width: 0 !important;
    flex: 1 !important;
    padding-top: 38px !important;
  }

  .vhq-name-line {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .vhq-name-line h1 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 21px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .vhq-verified-star {
    display: grid !important;
    place-items: center !important;

    width: 17px !important;
    height: 17px !important;

    flex: 0 0 17px !important;

    border-radius: 50% !important;
    background: #ff6a00 !important;
    color: #000 !important;

    font-size: 8px !important;
  }

  .vhq-handle {
    margin-top: 3px !important;
    color: #888 !important;
    font-size: 11px !important;
  }

  .vhq-bio {
    margin: 7px 0 0 !important;
    color: #c8c8c8 !important;
    font-size: 11px !important;
    line-height: 1.42 !important;
  }

  .vhq-identity-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 9px !important;
  }

  .vhq-outline-btn {
    min-height: 32px !important;
    padding: 6px 10px !important;

    border: 1px solid #383838 !important;
    border-radius: 9px !important;

    background: #111 !important;
    color: #fff !important;

    font-size: 10px !important;
    font-weight: 850 !important;
  }

  .vhq-identity-actions .profile-menu-wrap {
    position: relative !important;
  }

  .vhq-identity-actions .profile-menu-trigger {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
  }

  /* Founder badge */

  .vhq-founder-banner {
    margin: 0 10px 10px !important;
    min-height: 48px !important;

    display: flex !important;
    align-items: center !important;
    gap: 9px !important;

    padding: 8px 10px !important;

    border: 1px solid #ff6a00 !important;
    border-radius: 11px !important;

    background: linear-gradient(100deg, #170b04, #0d0907) !important;

    color: #fff !important;
  }

  .vhq-founder-star {
    width: 27px !important;
    height: 27px !important;

    flex: 0 0 27px !important;

    display: grid !important;
    place-items: center !important;

    border-radius: 50% !important;

    background: #ff6a00 !important;
    color: #000 !important;

    font-size: 12px !important;
  }

  .vhq-founder-banner div {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .vhq-founder-banner small {
    display: block !important;
    color: #8e8e8e !important;
    font-size: 7px !important;
    letter-spacing: 0.12em !important;
    font-weight: 900 !important;
  }

  .vhq-founder-banner strong {
    display: block !important;
    margin-top: 2px !important;

    color: #ff6a00 !important;
    font-size: 10px !important;
    font-weight: 950 !important;
  }

  .vhq-founder-count {
    color: #aaa !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
  }

  /* Metrics */

  .vhq-metrics {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;

    margin: 9px 0 !important;

    border: 1px solid #282828 !important;
    border-radius: 13px !important;

    background: #090909 !important;
    overflow: hidden !important;
  }

  .vhq-metric {
    position: relative !important;

    min-width: 0 !important;

    padding: 11px 3px 10px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    border-right: 1px solid #222 !important;
  }

  .vhq-metric:last-child {
    border-right: 0 !important;
  }

  .vhq-metric strong {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
  }

  .vhq-metric span {
    margin-top: 5px !important;

    color: #888 !important;
    font-size: 8px !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
  }

  .vhq-metric small {
    margin-top: 2px !important;
    color: #ff6a00 !important;
    font-size: 7px !important;
    font-weight: 900 !important;
  }

  .vhq-metric-active strong {
    color: #ff6a00 !important;
  }

  /* Generic sections */

  .vhq-section {
    margin-top: 10px !important;

    padding: 13px !important;

    background: #090909 !important;
    border: 1px solid #272727 !important;
    border-radius: 14px !important;
  }

  .vhq-section-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .vhq-section-heading small {
    display: block !important;
    color: #777 !important;
    font-size: 7px !important;
    letter-spacing: 0.14em !important;
    font-weight: 900 !important;
  }

  .vhq-section-heading h2 {
    margin: 3px 0 0 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  .vhq-section-copy {
    margin: 7px 0 10px !important;
    color: #888 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
  }

  .vhq-live-dot,
  .vhq-unlocked {
    padding: 4px 7px !important;

    border: 1px solid #ff6a00 !important;
    border-radius: 8px !important;

    background: #160b04 !important;
    color: #ff6a00 !important;

    font-size: 7px !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
  }

  /* Tier simulator */

  .vhq-tier-switch {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 7px !important;
  }

  .vhq-tier-option {
    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;
    gap: 7px !important;

    padding: 9px !important;

    border: 1px solid #303030 !important;
    border-radius: 10px !important;

    background: #0d0d0d !important;
    color: #aaa !important;

    text-align: left !important;
  }

  .vhq-tier-option.selected {
    border-color: #ff6a00 !important;
    background: #160b04 !important;
    color: #fff !important;
  }

  .vhq-tier-radio {
    width: 13px !important;
    height: 13px !important;
    flex: 0 0 13px !important;

    border: 1px solid #555 !important;
    border-radius: 50% !important;
  }

  .vhq-tier-option.selected .vhq-tier-radio {
    border: 4px solid #ff6a00 !important;
    background: #000 !important;
  }

  .vhq-tier-option span:nth-child(2) {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .vhq-tier-option strong,
  .vhq-tier-option small {
    display: block !important;
  }

  .vhq-tier-option strong {
    color: #fff !important;
    font-size: 9px !important;
  }

  .vhq-tier-option small {
    margin-top: 2px !important;
    color: #777 !important;
    font-size: 7px !important;
  }

  .vhq-tier-option b {
    color: #ff6a00 !important;
    font-size: 7px !important;
  }

  .vhq-tier-preview {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;

    margin-top: 9px !important;
    padding: 9px !important;

    border: 1px solid #222 !important;
    border-radius: 10px !important;

    background: #070707 !important;
  }

  .vhq-preview-avatar {
    position: relative !important;
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
  }

  .vhq-preview-avatar .avatar {
    width: 34px !important;
    height: 34px !important;
    border: 2px solid #ff6a00 !important;
  }

  .vhq-preview-avatar > span:last-child {
    position: absolute !important;
    right: -2px !important;
    bottom: -2px !important;

    width: 13px !important;
    height: 13px !important;

    display: grid !important;
    place-items: center !important;

    border: 1px solid #070707 !important;
    border-radius: 50% !important;

    background: #ff6a00 !important;
    color: #000 !important;
    font-size: 6px !important;
  }

  .vhq-tier-preview > div:nth-child(2) {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .vhq-preview-title,
  .vhq-preview-copy {
    display: block !important;
  }

  .vhq-preview-title {
    color: #fff !important;
    font-size: 10px !important;
  }

  .vhq-preview-copy {
    margin-top: 2px !important;
    color: #777 !important;
    font-size: 8px !important;
    line-height: 1.3 !important;
  }

  .vhq-preview-arrow {
    color: #ff6a00 !important;
    font-size: 22px !important;
  }

  .vhq-orange-btn {
    padding: 6px 9px !important;

    border: 0 !important;
    border-radius: 7px !important;

    background: #ff6a00 !important;
    color: #000 !important;

    font-size: 8px !important;
    font-weight: 950 !important;
  }

  /* Existing profile tabs */

  .vhq-profile .profile-tabs {
    margin-top: 10px !important;
    border-radius: 12px !important;
    background: #090909 !important;
    border: 1px solid #272727 !important;
  }

  .vhq-profile-posts {
    margin-top: 10px !important;
  }
}

/* Small phones */

@media (max-width: 390px) {
  .vhq-profile {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .vhq-profile-identity {
    gap: 8px !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .vhq-avatar-column {
    flex-basis: 70px !important;
  }

  .vhq-profile-avatar {
    width: 70px !important;
    height: 70px !important;
  }

  .vhq-profile-avatar .avatar {
    width: 62px !important;
    height: 62px !important;
  }

  .vhq-identity-copy {
    padding-top: 38px !important;
  }

  .vhq-name-line h1 {
    font-size: 19px !important;
  }

  .vhq-bio {
    font-size: 10px !important;
  }

  .vhq-founder-banner strong {
    font-size: 9px !important;
  }

  .vhq-metric strong {
    font-size: 15px !important;
  }
}

/* ============================================================
   VibeHQ FINAL PROFILE REDESIGN
   ============================================================ */

.vhq-profile-page,
.vhq-edit-profile-page,
.vhq-vip-page {
  max-width: 980px !important;
  margin: 0 auto !important;
  padding-bottom: 110px !important;
}

.vhq-profile-hero {
  overflow: hidden !important;
  padding: 0 !important;
  background: #080808 !important;
  border: 1px solid #292929 !important;
}

.vhq-cover-wrap {
  position: relative !important;
  width: 100% !important;
}

.vhq-profile-cover {
  width: 100% !important;
  aspect-ratio: 2/1 !important;
  min-height: 220px !important;
  background: #101010 center/cover no-repeat !important;
  border-bottom: 1px solid #292929 !important;
}

.vhq-cover-edit {
  position: absolute !important;
  right: 16px !important;
  bottom: 14px !important;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid #ff6a00 !important;
  border-radius: 50% !important;
  background: #080808 !important;
  color: #ff6a00 !important;
  display: grid !important;
  place-items: center !important;
  z-index: 5 !important;
}

.vhq-identity {
  padding: 22px 24px 25px !important;
}

.vhq-identity-copy h1 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 900 !important;
}

.vhq-handle {
  margin-top: 4px !important;
  color: #9a9a9a !important;
  font-size: 14px !important;
}

.vhq-bio {
  max-width: 680px !important;
  margin: 12px 0 0 !important;
  color: #d5d5d5 !important;
  line-height: 1.5 !important;
}

.vhq-founder-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 14px !important;
  padding: 7px 11px !important;
  border: 1px solid #ff6a00 !important;
  border-radius: 999px !important;
  background: #100a05 !important;
  color: #ff8a3d !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.vhq-founder-label img {
  width: 22px !important;
  height: 22px !important;
}

.vhq-profile-metrics {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  margin-top: 12px !important;
  padding: 18px 8px !important;
  background: #080808 !important;
}

.vhq-profile-metrics > div {
  text-align: center !important;
  border-right: 1px solid #242424 !important;
}

.vhq-profile-metrics > div:last-child {
  border-right: 0 !important;
}

.vhq-profile-metrics strong {
  display: block !important;
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

.vhq-profile-metrics span {
  display: block !important;
  margin-top: 4px !important;
  color: #888 !important;
  font-size: 11px !important;
}

.vhq-vip-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 12px !important;
  padding: 16px !important;
  border: 1px solid #ff6a00 !important;
  background: linear-gradient(100deg, #100a05, #090909) !important;
}

.vhq-vip-icon {
  width: 46px !important;
  height: 46px !important;
  flex: none !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #ff6a00 !important;
  border-radius: 50% !important;
  color: #ff6a00 !important;
  font-size: 22px !important;
}

.vhq-vip-copy {
  flex: 1 !important;
}

.vhq-vip-title {
  color: #ff7a1a !important;
  font-weight: 900 !important;
  font-size: 16px !important;
}

.vhq-vip-subtitle {
  margin-top: 3px !important;
  color: #999 !important;
  font-size: 11px !important;
}

.vhq-section-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.vhq-section-heading h2 {
  margin: 2px 0 0 !important;
  color: #fff !important;
  font-size: 18px !important;
}

.vhq-profile-tabs {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  margin-top: 12px !important;
  padding: 5px !important;
  overflow: hidden !important;
}

.vhq-profile-tabs button {
  padding: 12px 8px !important;
  border: 0 !important;
  background: transparent !important;
  color: #999 !important;
  font-weight: 800 !important;
}

.vhq-profile-tabs button.active {
  color: #ff6a00 !important;
  border-bottom: 2px solid #ff6a00 !important;
}

.vhq-profile-posts {
  margin-top: 12px !important;
}

.vhq-edit-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 14px !important;
  margin: -10px -10px 14px !important;
  padding: 12px !important;
  background: #050505 !important;
  border-bottom: 1px solid #242424 !important;
}

.vhq-edit-topbar > div {
  text-align: center !important;
}

.vhq-edit-topbar h1 {
  margin: 2px 0 0 !important;
  color: #fff !important;
  font-size: 18px !important;
}

.vhq-save-top {
  justify-self: end !important;
  min-width: 76px !important;
}

.vhq-edit-back {
  justify-self: start !important;
}

.vhq-edit-card {
  padding: 20px !important;
}

.vhq-edit-field {
  margin-bottom: 18px !important;
}

.vhq-edit-field:last-child {
  margin-bottom: 0 !important;
}

.vhq-edit-field label {
  display: block !important;
  margin-bottom: 7px !important;
  color: #ddd !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.vhq-edit-field textarea {
  min-height: 130px !important;
  resize: vertical !important;
}

.vhq-vip-pill {
  justify-self: end !important;
  padding: 7px 12px !important;
  border: 1px solid #ff6a00 !important;
  border-radius: 999px !important;
  color: #ff6a00 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.vhq-custom-section {
  margin-bottom: 12px !important;
  padding: 18px !important;
}

.vhq-custom-section h2 {
  margin: 4px 0 !important;
  color: #fff !important;
  font-size: 19px !important;
}

/* Fixed: Added missing selector for the avatar/icon element */
.vhq-custom-avatar {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  margin-bottom: 10px !important;
  border-radius: 50% !important;
  border: 3px solid #ff6a00 !important;
}

@media (max-width: 760px) {
  .vhq-profile-page,
  .vhq-edit-profile-page,
  .vhq-vip-page {
    padding: 8px 8px 95px !important;
  }

  .vhq-profile-cover {
    aspect-ratio: 2.4/1 !important;
    min-height: 0 !important;
  }

  .vhq-identity {
    padding: 18px 16px 20px !important;
  }

  .vhq-identity-copy h1 {
    font-size: 23px !important;
  }

  .vhq-profile-metrics {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .vhq-profile-metrics strong {
    font-size: 17px !important;
  }

  .vhq-profile-metrics span {
    font-size: 9px !important;
  }

  .vhq-vip-card {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
  }

  .vhq-vip-copy {
    min-width: calc(100% - 62px) !important;
  }

  .vhq-vip-button {
    width: 100% !important;
  }

  .vhq-edit-topbar {
    grid-template-columns: auto 1fr auto !important;
  }

  .vhq-edit-topbar h1 {
    font-size: 16px !important;
  }

  .vhq-edit-back {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }

  .vhq-save-top {
    font-size: 11px !important;
    padding: 8px 13px !important;
  }
}

/* Never show the old profile-page three-dot menu or old profile edit control. */
.vhq-profile-page .profile-menu-wrap,
.vhq-profile-page .profile-menu-trigger,
.vhq-profile-page [data-action="edit-profile"] {
  display: none !important;
}

/* The old Member #104 / Standard Member blocks are not part of the new profile. */
.vhq-profile-page .member-104,
.vhq-profile-page .standard-member,
.vhq-profile-page .profile-membership-tier {
  display: none !important;
}

/* ============================================================
   VibeHQ FINAL PROFILE / VIP DESIGN
   ============================================================ */

:root {
  --vhq-neon: #ff6a00;
  --vhq-neon-2: #ff7a00;
  --vhq-black: #050505;
  --vhq-card: #0b0b0b;
  --vhq-border: #252525;
}

.vhq-profile-page {
  --vhq-profile-accent: #ff6a00;
}

.vhq-profile-hero {
  overflow: visible !important;
  background: #090909 !important;
  border: 1px solid #252525 !important;
  border-radius: 18px !important;
}

.vhq-cover {
  height: 240px;
  position: relative;
  border-radius: 18px 18px 0 0;
  background: #101010;
  background-size: cover;
  background-position: center;
}

.vhq-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.vhq-cover .cover-camera {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff33;
  background: #050505dd;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* Circular container that pops out of the bottom of the cover photo */
.vhq-avatar-container {
  position: absolute;
  left: 50%;
  bottom: -62px;
  transform: translateX(-50%);
  width: 124px;
  height: 124px;
  border-radius: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  background: #050505;
}

/* The actual avatar image dimensions */
.vhq-avatar-img {
  width: 108px !important;
  height: 108px !important;
  border: 4px solid #050505 !important;
  box-shadow: none !important;
}

/* --- Avatar Neon Border Style Variations --- */
.vhq-avatar-border-neon-thin {
  border: 4px solid var(--vhq-neon);
}

.vhq-avatar-border-neon-thick {
  border: 5px solid var(--vhq-neon);
}

.vhq-avatar-border-neon-inset-white {
  border: 3px solid #f5f5f5;
  box-shadow: inset 0 0 0 3px var(--vhq-neon);
}

.vhq-avatar-border-neon-thick-alt {
  border: 5px solid var(--vhq-neon);
}

.vhq-avatar-border-neon-inset-gray {
  border: 4px solid #555;
  box-shadow: inset 0 0 0 3px var(--vhq-neon);
}

.vhq-avatar-border-neon-inset-dark {
  border: 4px solid #111;
  box-shadow: inset 0 0 0 3px var(--vhq-neon);
}

.vhq-avatar-camera {
  position: absolute;
  right: -1px;
  bottom: 4px;
  width: 31px;
  height: 31px;
  z-index: 7;
  border: 2px solid #050505;
  border-radius: 50%;
  background: var(--vhq-neon);
  color: #000;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.vhq-profile-info {
  padding: 76px 18px 18px;
  text-align: center;
}

.vhq-profile-info h1 {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 27px;
  line-height: 1.15;
}

.vhq-handle {
  color: #999;
  margin-top: 5px;
  font-size: 13px;
}

.vhq-bio {
  max-width: 650px;
  margin: 10px auto 0;
  color: #ccc;
  line-height: 1.45;
}

.vhq-member-pill {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 10px;
  border: 1px solid var(--vhq-neon);
  border-radius: 999px;
  color: var(--vhq-neon);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.vhq-profile-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 13px;
}

.vhq-profile-actions .btn.primary {
  background: var(--vhq-neon) !important;
  color: #000 !important;
  border-color: var(--vhq-neon) !important;
  box-shadow: none !important;
}

.vhq-profile-stats {
  grid-template-columns: repeat(3, 1fr) !important;
}

.vhq-profile-stats > div,
.vhq-profile-stats > button {
  background: #090909 !important;
  border-color: #252525 !important;
}

.vhq-profile-stats b {
  color: #fff;
}

.vhq-profile-stats span {
  color: #888;
}

.vhq-profile-tabs {
  margin-top: 14px;
  background: #090909 !important;
  border-color: #252525 !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 4px;
  border-radius: 14px !important;
}

.vhq-profile-tabs button {
  border: 0;
  background: transparent;
  color: #888;
  border-radius: 10px;
  padding: 10px 6px;
  cursor: pointer;
}

.vhq-profile-tabs button.active {
  background: var(--vhq-neon);
  color: #000;
  font-weight: 900;
}

.vhq-media-panel {
  margin-top: 12px;
  padding: 0;
  overflow: hidden;
  background: #090909 !important;
  border-color: #252525 !important;
}

.vhq-media-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #252525;
}

.vhq-media-tab {
  border: 0;
  background: transparent;
  color: #888;
  padding: 12px 5px;
  cursor: pointer;
  font-size: 11px;
}

.vhq-media-tab span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
}

.vhq-media-tab.active {
  color: #fff;
  border-bottom: 3px solid var(--vhq-neon);
}

.vhq-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 5px;
}

.vhq-media-photo {
  border: 0;
  padding: 0;
  background: #111;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.vhq-media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vhq-vip-page {
  max-width: 850px;
  margin: 0 auto;
}

.vhq-vip-header {
  padding: 18px;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 12px;
}

.vhq-vip-header h1 {
  margin: 4px 0;
}

.vhq-vip-card {
  margin-top: 12px;
  padding: 18px;
  background: #090909 !important;
  border: 1px solid #252525 !important;
}

.vhq-section-heading h2 {
  margin: 4px 0;
}

.vhq-section-heading small {
  color: #888;
}

/* 3-column container grid */
.vhq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

/* Title text for grid items */
.vhq-grid-title {
  display: block;
  margin-top: 8px;
  font-size: 11px;
}

/* Individual item box / grid card */
.vhq-item-card {
  height: 88px;
  border-radius: 12px;
  background: #050505;
  display: grid;
  place-items: center;
  position: relative;
}

/* Circular inner container for the icon or numeric value */
.vhq-item-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #151515;
  color: #fff;
  font-weight: 900;
}

.vhq-save-vip {
  background: var(--vhq-neon) !important;
  color: #000 !important;
  border-color: var(--vhq-neon) !important;
  box-shadow: none !important;
}

/* No old profile Groups / More menu */
.profile-more-wrap,
.profile-more-dropdown,
[data-profile-section="groups"],
[data-profile-section="reels"] {
  display: none !important;
}

@media (max-width: 760px) {
  .vhq-cover {
    height: 190px;
  }

  /* Fixed: Added missing selector for the avatar container */
  .vhq-avatar-container {
    width: 108px;
    height: 108px;
    bottom: -54px;
  }

  /* Fixed: Added missing selector for the actual avatar image */
  .vhq-avatar-img {
    width: 94px !important;
    height: 94px !important;
  }

  .vhq-profile-info {
    padding: 68px 12px 14px;
  }

  .vhq-profile-info h1 {
    font-size: 21px;
  }

  .vhq-profile-stats {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .vhq-profile-tabs button {
    font-size: 10px;
  }

  .vhq-tabs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   VibeHQ — Full Create Post Page
   ========================================================= */

body.vhq-create-post-open {
  overflow: hidden !important;
}

body.vhq-create-post-open #modal {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 5000 !important;
}

body.vhq-create-post-open .vhq-create-post-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100dvh !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  padding: 0 !important;
  background: #050505 !important;
  overflow-y: auto !important;
}

body.vhq-create-post-open .vhq-create-post-card {
  width: 100% !important;
  max-width: 760px !important;
  min-height: 100dvh !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #050505 !important;
  overflow-y: auto !important;
  padding: 24px !important;
}

body.vhq-create-post-open .vhq-create-post-card .vhq-create-post-back {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-bottom: 18px !important;
  padding: 8px 12px !important;
  border: 1px solid #292929 !important;
  border-radius: 10px !important;
  background: #0c0c0c !important;
  color: #fff !important;
  font-weight: 800 !important;
}

body.vhq-create-post-open .vhq-create-post-card h2 {
  font-size: 28px !important;
  margin: 4px 0 20px !important;
}

body.vhq-create-post-open .vhq-create-post-card textarea,
body.vhq-create-post-open .vhq-create-post-card input,
body.vhq-create-post-open .vhq-create-post-card select {
  width: 100% !important;
}

body.vhq-create-post-open .vhq-create-post-card [data-action="publish"] {
  width: 100% !important;
  min-height: 48px !important;
  margin-bottom: 18px !important;
  background: #ff6a00 !important;
  border-color: #ff6a00 !important;
  color: #000 !important;
  font-weight: 900 !important;
  border-radius: 11px !important;
}

/* Mobile */
@media (max-width: 760px) {
  body.vhq-create-post-open .vhq-create-post-card {
    padding: calc(14px + env(safe-area-inset-top)) 12px
      calc(90px + env(safe-area-inset-bottom)) 12px !important;
  }

  body.vhq-create-post-open .vhq-create-post-card h2 {
    font-size: 23px !important;
  }
}

/* Make sure only one Home Feed Stories panel is visible */
.VibeHQ-home .home-stories ~ .home-stories {
  display: none !important;
}

/* =========================================================
   VibeHQ — VIP PROFILE FINAL UI
   ========================================================= */

/* Profile picture always sits in front of cover/content */
.vhq-profile-page .vhq-profile-hero,
.vhq-profile-page .profile-hero {
  position: relative !important;
  overflow: visible !important;
  z-index: 10 !important;
}

.vhq-profile-page .vhq-profile-cover,
.vhq-profile-page .profile-hero .cover,
.vhq-profile-page .cover {
  position: relative !important;
  z-index: 1 !important;
}

.vhq-profile-page .vhq-profile-avatar,
.vhq-profile-page .profile-avatar-wrap {
  position: relative !important;
  z-index: 100 !important;
  transform: translateY(0) !important;
}

.vhq-profile-page .vhq-profile-avatar img,
.vhq-profile-page .profile-avatar-wrap img {
  position: relative !important;
  z-index: 101 !important;
}

/* Orange ring — no glow */
.vhq-profile-page .vhq-profile-avatar,
.vhq-profile-page .profile-avatar-wrap {
  border-color: #ff6a00 !important;
  box-shadow: none !important;
}

/* Keep profile identity above every section */
.vhq-profile-page .vhq-profile-identity,
.vhq-profile-page .profile-main {
  position: relative !important;
  z-index: 80 !important;
}

/* =========================================================
   VIP PANEL
   ========================================================= */

.vhq-profile-page .vhq-vip-panel,
.vhq-profile-page .vhq-vip-card {
  background: #080808 !important;
  border: 1px solid #ff6a00 !important;
  border-radius: 14px !important;
  padding: 14px !important;
  box-shadow: none !important;
}

.vhq-profile-page .vhq-vip-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.vhq-profile-page .vhq-vip-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #ff6a00 !important;
  border-radius: 50% !important;
  background: #100b06 !important;
  color: #ff6a00 !important;
  box-shadow: none !important;
}

.vhq-profile-page .vhq-vip-title {
  color: #ff6a00 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.vhq-profile-page .vhq-vip-panel button,
.vhq-profile-page .vhq-vip-card button {
  background: #ff6a00 !important;
  color: #000 !important;
  border-color: #ff6a00 !important;
  font-weight: 900 !important;
  border-radius: 10px !important;
}

/* =========================================================
   EDIT PROFILE
   ========================================================= */

.vhq-profile-page .vhq-edit-profile,
.vhq-profile-page [data-action="edit-profile"] {
  border: 1px solid #ff6a00 !important;
  color: #ff6a00 !important;
  background: #090909 !important;
  border-radius: 10px !important;
  font-weight: 900 !important;
}

.vhq-profile-page .vhq-edit-profile svg,
.vhq-profile-page [data-action="edit-profile"] svg {
  color: #ff6a00 !important;
}

/* =========================================================
   VIP CUSTOMIZATION SECTIONS
   ========================================================= */

.vhq-profile-page .vhq-vip-section,
.vhq-profile-page .vhq-customize-section {
  background: #080808 !important;
  border: 1px solid #242424 !important;
  border-radius: 14px !important;
  padding: 12px !important;
  margin-top: 10px !important;
}

.vhq-profile-page .vhq-section-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  margin-bottom: 10px !important;
}

.vhq-profile-page .vhq-section-title svg,
.vhq-profile-page .vhq-section-title .icon {
  color: #ff6a00 !important;
}

/* Fixed: Grid container for the frames */
.vhq-frame-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

/* Fixed: Individual frame card item */
.vhq-frame-card {
  min-height: 86px !important;
  padding: 7px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #292929 !important;
  border-radius: 12px !important;
  background: #080808 !important;
  box-shadow: none !important;
}

/* Fixed: Selected/active state for the frame card */
.vhq-frame-card.is-selected {
  border: 2px solid #ff6a00 !important;
  background: #100b06 !important;
}

/* Fixed: Image inside the frame card */
.vhq-frame-card img {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
}

.vhq-frame-description {
  display: none !important;
}

.vhq-frame-title {
  display: block !important;
  color: #ff6a00 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

/* =========================================================
   MEMBER FRAME
   ========================================================= */

.vhq-profile-page .vhq-member-frame {
  border: 2px solid #ff6a00 !important;
  background: #090909 !important;
  color: #ff6a00 !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

.vhq-profile-page .vhq-member-frame small,
.vhq-profile-page .vhq-member-frame .muted {
  display: none !important;
}

/* =========================================================
   REMOVE SMALL TEXT FROM VIP CHOICES
   ========================================================= */

.vhq-profile-page .vhq-vip-section p,
.vhq-profile-page .vhq-customize-section p,
.vhq-profile-page .vhq-vip-panel p {
  font-size: 0 !important;
}

.vhq-profile-page .vhq-vip-section p > *,
.vhq-profile-page .vhq-customize-section p > *,
.vhq-profile-page .vhq-vip-panel p > * {
  font-size: initial !important;
}

/* =========================================================
   MOBILE PROFILE
   ========================================================= */

@media (max-width: 760px) {
  .vhq-profile-page {
    padding: 8px 8px 90px !important;
  }

  .vhq-profile-page .profile-hero,
  .vhq-profile-page .vhq-profile-hero {
    overflow: visible !important;
    margin-bottom: 34px !important;
  }

  .vhq-profile-page .profile-avatar-wrap,
  .vhq-profile-page .vhq-profile-avatar {
    z-index: 200 !important;
  }

  .vhq-profile-page .profile-avatar-wrap img,
  .vhq-profile-page .vhq-profile-avatar img {
    z-index: 201 !important;
  }

  .vhq-frame-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .vhq-frame-card {
    min-height: 76px !important;
  }

  .vhq-frame-card img {
    width: 52px !important;
    height: 52px !important;
  }

  /* NEW, ISOLATED BADGE CLASSES - Completely safe from the theme */
  .my-custom-badge-container {
    display: inline-flex !important;
    gap: 4px !important;
  }

  .my-custom-badge-container img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 760px) {
  .vhq-real-profile {
    width: 100% !important;
    padding: 0 8px 92px !important;
    background: #050505 !important;
    color: #fff !important;
  }
}

.vhq-real-hero {
  position: relative !important;
  margin: 0 0 10px !important;
  padding: 0 0 12px !important;
  background: #050505 !important;
  border: 1px solid #222 !important;
  border-radius: 14px !important;
  overflow: visible !important;
}

.vhq-real-cover {
  position: relative !important;
  width: 100% !important;
  height: 150px !important;
  border-radius: 13px 13px 8px 8px !important;
  overflow: hidden !important;
  background: #111 !important;
  background-size: cover !important;
  background-position: center !important;
  border-bottom: 1px solid #292929 !important;
}

.vhq-real-cover:after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(0, 0, 0, 0.7)
  ) !important;
  pointer-events: none !important;
}

.vhq-cover-camera {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  z-index: 5 !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #ff6a00 !important;
  border-radius: 50% !important;
  background: #050505 !important;
  color: #ff6a00 !important;
  display: grid !important;
  place-items: center !important;
}

/* ---------- PROFILE PHOTO IN FRONT OF EVERYTHING ---------- */

.vhq-real-avatar-wrap {
  position: absolute !important;
  z-index: 100 !important;
  left: 50% !important;
  top: 92px !important;
  transform: translateX(-50%) !important;
  width: 108px !important;
  height: 108px !important;
  padding: 5px !important;
  border: 3px solid #ff6a00 !important;
  border-radius: 50% !important;
  background: #050505 !important;
  box-shadow: 0 0 0 4px #050505 !important;
}

.vhq-real-avatar-wrap img {
  position: relative !important;
  z-index: 101 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.vhq-real-avatar-wrap > div {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

.vhq-avatar-camera {
  position: absolute !important;
  z-index: 110 !important;
  right: -3px !important;
  bottom: 0 !important;
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #050505 !important;
  border-radius: 50% !important;
  background: #ff6a00 !important;
  color: #000 !important;
}

/* ---------- IDENTITY ---------- */

.vhq-real-identity {
  position: relative !important;
  z-index: 20 !important;
  padding: 58px 12px 0 !important;
  text-align: center !important;
}

.vhq-real-name {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.vhq-real-handle {
  margin: 4px 0 8px !important;
  color: #999 !important;
  font-size: 12px !important;
}

.vhq-real-badge {
  width: 30px !important;
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.vhq-real-badge img,
.vhq-real-badge svg {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain !important;
}

/* absolutely no badge words */
.vhq-real-badge span,
.vhq-real-badge small,
.vhq-real-badge label {
  display: none !important;
}

/* ---------- STATS ---------- */

.vhq-real-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  margin: 0 10px !important;
  border: 1px solid #25313a !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #070707 !important;
}

.vhq-real-stat {
  min-width: 0 !important;
  padding: 9px 3px !important;
  text-align: center !important;
  border-right: 1px solid #25313a !important;
}

.vhq-real-stat:last-child {
  border-right: 0 !important;
}

.vhq-real-stat b {
  display: block !important;
  color: #fff !important;
  font-size: 15px !important;
}

.vhq-real-stat span {
  display: block !important;
  margin-top: 2px !important;
  color: #aaa !important;
  font-size: 9px !important;
}

/* ---------- VIP CARD ---------- */

.vhq-real-vip {
  margin: 10px 10px 0 !important;
  padding: 11px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border: 1px solid #ff6a00 !important;
  border-radius: 11px !important;
  background: #090909 !important;
}

.vhq-real-vip-icon {
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #ff6a00 !important;
  border-radius: 50% !important;
  color: #ff6a00 !important;
  background: #120b05 !important;
}

.vhq-real-vip-copy {
  flex: 1 !important;
  min-width: 0 !important;
  text-align: left !important;
}

.vhq-real-vip-copy b {
  display: block !important;
  color: #ff6a00 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.vhq-real-vip-copy span {
  display: block !important;
  color: #999 !important;
  font-size: 10px !important;
  margin-top: 2px !important;
}

.vhq-real-vip button {
  flex: 0 0 auto !important;
  background: #ff6a00 !important;
  color: #000 !important;
  border: 0 !important;
  border-radius: 9px !important;
  padding: 9px 12px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

/* ---------- TABS ---------- */

.vhq-real-tabs {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  margin-top: 10px !important;
  border-bottom: 1px solid #27333b !important;
}

.vhq-real-tab {
  height: 42px !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  background: transparent !important;
  color: #aaa !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.vhq-real-tab.active {
  color: #fff !important;
  border-bottom-color: #ff6a00 !important;
}

/* ---------- VIP CUSTOMIZATION PAGE ---------- */

.vhq-vip-page {
  width: 100% !important;
  min-height: 100dvh !important;
  padding: 12px 9px 90px !important;
  background: #050505 !important;
}

.vhq-vip-page-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.vhq-vip-page-header button {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #292929 !important;
  border-radius: 10px !important;
  background: #090909 !important;
  color: #ff6a00 !important;
}

.vhq-vip-page-header h2 {
  margin: 0 !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}

.vhq-vip-unlocked {
  padding: 13px !important;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  border: 1px solid #ff6a00 !important;
  border-radius: 13px !important;
  background: #090909 !important;
}

.vhq-vip-unlocked-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid #ff6a00 !important;
  border-radius: 50% !important;
  color: #ff6a00 !important;
}

.vhq-vip-unlocked b {
  color: #ff6a00 !important;
  font-size: 15px !important;
}

/* ---------- VIP SECTION HEADERS ---------- */

.vhq-vip-block {
  margin-top: 10px !important;
  padding: 11px !important;
  border: 1px solid #252525 !important;
  border-radius: 13px !important;
  background: #080808 !important;
}

.vhq-vip-block-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 9px !important;
}

.vhq-vip-block-header svg,
.vhq-vip-block-header i {
  color: #ff6a00 !important;
}

.vhq-vip-block-header b {
  color: #fff !important;
  font-size: 14px !important;
}

.your-grid-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
}

.vhq-real-badge-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 7px !important;
}

.vhq-real-badge-choice {
  aspect-ratio: 1 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #25313a !important;
  border-radius: 10px !important;
  background: #070707 !important;
}

.vhq-real-badge-choice.active {
  border: 2px solid #ff6a00 !important;
  background: #100a05 !important;
}

.vhq-real-badge-choice img,
.vhq-real-badge-choice svg {
  width: 42px !important;
  height: 42px !important;
}

/* ============================================================
   VibeHQ — PROFILE PHOTO / FRAME ALIGNMENT FIX
   ============================================================ */

@media (max-width: 760px) {
  .vhq-real-profile .vhq-real-hero {
    position: relative !important;
    overflow: visible !important;
    isolation: isolate !important;
  }

  .vhq-real-profile .vhq-real-cover {
    position: relative !important;
    z-index: 1 !important;
    height: 150px !important;
    overflow: hidden !important;
  }
}

/*
   * ONE outer frame.
   * The frame itself is the circular element around the
   * profile photo — not a separate frame beside it.
   */
.vhq-real-profile .vhq-real-avatar-wrap {
  position: absolute !important;
  z-index: 999 !important;

  left: 50% !important;
  top: 92px !important;

  width: 112px !important;
  height: 112px !important;

  transform: translateX(-50%) !important;

  padding: 4px !important;

  border: 3px solid #ff6a00 !important;
  border-radius: 50% !important;

  background: #050505 !important;

  box-sizing: border-box !important;

  display: block !important;

  overflow: visible !important;

  box-shadow: 0 0 0 4px #050505 !important;
}

.your-element-to-hide {
  display: none !important;
}

/*
   * Actual profile image.
   */
.vhq-real-profile .vhq-real-avatar-wrap .avatar {
  position: relative !important;

  width: 100% !important;
  height: 100% !important;

  min-width: 0 !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 50% !important;

  overflow: hidden !important;

  display: block !important;

  background: #111 !important;
}

.vhq-real-profile .vhq-real-avatar-wrap .avatar img {
  position: relative !important;

  width: 100% !important;
  height: 100% !important;

  min-width: 0 !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;

  border: 0 !important;
  border-radius: 50% !important;

  object-fit: cover !important;
  object-position: center !important;
}

/*
   * Initial avatar when there is no uploaded image.
   */
.vhq-real-profile .vhq-real-avatar-wrap .avatar:not(:has(img)) {
  display: grid !important;
  place-items: center !important;

  color: #fff !important;
  font-size: 34px !important;
  font-weight: 900 !important;
}

/*
   * Camera button sits on the bottom-right of the
   * actual profile picture.
   */
.vhq-real-profile .vhq-avatar-camera {
  position: absolute !important;
  z-index: 1005 !important;

  right: -3px !important;
  bottom: 0 !important;

  width: 31px !important;
  height: 31px !important;

  padding: 0 !important;

  display: grid !important;
  place-items: center !important;

  border: 2px solid #050505 !important;
  border-radius: 50% !important;

  background: #ff6a00 !important;
  color: #000 !important;

  box-shadow: none !important;
}

/*
   * Keep identity below the overlapping profile picture.
   */
.vhq-real-profile .vhq-real-identity {
  position: relative !important;
  z-index: 10 !important;

  padding-top: 62px !important;
}

/*
   * Cover button stays on the cover.
   */
.vhq-real-profile .vhq-cover-camera {
  position: absolute !important;
  z-index: 20 !important;

  right: 10px !important;
  bottom: 10px !important;
}

/*
   * Frame colors.
   * These wrap the photo itself instead of sitting beside it.
   */
.vhq-real-profile .vhq-real-avatar-wrap.member {
  border-color: #ff6a00 !important;
}

.vhq-real-profile .vhq-real-avatar-wrap.neon {
  border-color: #ff6a00 !important;
}

.vhq-real-profile .vhq-real-avatar-wrap.cyber {
  border-color: #ff6a00 !important;
}

.vhq-real-profile .vhq-real-avatar-wrap.gold {
  border-color: #ff6a00 !important;
}

/* No glow */
.vhq-real-profile .vhq-real-avatar-wrap,
.vhq-real-profile .vhq-real-avatar-wrap * {
  filter: none !important;
}

/*
   * Make sure the photo always physically overlaps the
   * cover instead of being pushed into the content.
   */
.vhq-real-profile .vhq-real-cover + .vhq-real-avatar-wrap {
  margin-top: 0 !important;
}

/* ============================================================
   Desktop alignment
   ============================================================ */

@media (min-width: 761px) {
  .vhq-real-profile .vhq-real-hero {
    position: relative !important;
    overflow: visible !important;
  }

  .vhq-real-profile .vhq-real-avatar-wrap {
    position: absolute !important;
    z-index: 999 !important;

    left: 50% !important;
    top: 115px !important;

    width: 128px !important;
    height: 128px !important;

    transform: translateX(-50%) !important;

    padding: 5px !important;

    border: 3px solid #ff6a00 !important;
    border-radius: 50% !important;

    background: #050505 !important;
    box-shadow: 0 0 0 5px #050505 !important;

    overflow: visible !important;
  }

  .vhq-real-profile .vhq-real-avatar-wrap .avatar {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  .vhq-real-profile .vhq-real-avatar-wrap .avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .vhq-real-profile .vhq-real-identity {
    padding-top: 72px !important;
  }
}

@media (max-width: 760px) {
  /* VIP frame section */
  .vhq-profile-page [data-vip-section="frames"] {
    width: 100% !important;
    margin-top: 14px !important;
  }
  display: none !important;
}

@media (min-width: 761px) {
  .your-grid-container {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (min-width: 761px) {
}

@media (min-width: 761px) {
}

@media (min-width: 761px) {
  #vhqSettingsVip {
    display: block !important;
    margin: 20px 0 !important;
    padding: 20px !important;
    background: #090909 !important;
    border: 1px solid #292929 !important;
    border-radius: 16px !important;
  }
}

/* =========================================================
   VibeHQ — FRIENDS HOME PANEL
   ========================================================= */

@media (max-width: 760px) {
  /* Remove the old duplicate Stories panels */
  .VibeHQ-home > .home-stories {
    display: none !important;
  }

  .home-friends-panel {
    display: block !important;
    margin: 0 0 10px !important;
    padding: 11px 10px 10px !important;
    background: #080808 !important;
    border: 1px solid #242424 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .home-friends-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
    color: #fff !important;
    font-size: 14px !important;
  }

  .friends-see-all {
    border: 0 !important;
    background: transparent !important;
    color: #ff6a00 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 4px !important;
  }

  .home-friends-row {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding: 1px 1px 4px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .home-friends-row::-webkit-scrollbar {
    display: none !important;
  }

  .home-story {
    flex: 0 0 67px !important;
    width: 67px !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    cursor: pointer !important;
  }

  .home-story-avatar {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    padding: 3px !important;
    background: #050505 !important;
    border: 2px solid #ff6a00 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    box-shadow: 0 0 0 2px #151515 !important;
  }

  .home-story-avatar .avatar {
    width: 100% !important;
    height: 100% !important;
  }

  .home-story-avatar .avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .home-story strong {
    max-width: 67px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #ddd !important;
    font-size: 9px !important;
    font-weight: 700 !important;
  }

  .home-friends-empty {
    width: 100% !important;
    padding: 14px 5px !important;
    color: #888 !important;
    text-align: center !important;
    font-size: 11px !important;
  }

  /* =======================================================
     FRIENDS LIST
     ======================================================= */

  .friends-page {
    padding: 10px 9px 90px !important;
  }

  .friends-hero {
    margin-bottom: 10px !important;
  }

  .friends-list-section {
    width: 100% !important;
  }

  .friends-list {
    width: 100% !important;
    padding: 5px !important;
    background: #090909 !important;
    border: 1px solid #242424 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .friend-list-item {
    width: 100% !important;
    min-height: 70px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #202020 !important;
    background: transparent !important;
    color: #fff !important;
    text-align: left !important;
    cursor: pointer !important;
  }

  .friend-list-item:last-child {
    border-bottom: 0 !important;
  }

  .friend-list-item:hover,
  .friend-list-item:active {
    background: #111 !important;
  }

  .friend-list-avatar {
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 48px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  .friend-list-avatar .avatar {
    width: 48px !important;
    height: 48px !important;
  }

  .friend-list-avatar .avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .friend-list-info {
    min-width: 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }

  .friend-list-info strong {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .friend-list-info small {
    color: #888 !important;
    font-size: 10px !important;
  }

  .friend-list-arrow {
    color: #666 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    padding: 0 5px !important;
  }

  .friends-empty {
    padding: 35px 18px !important;
    text-align: center !important;
  }

  .friends-empty-icon {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto 12px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid #ff6a00 !important;
    border-radius: 50% !important;
    color: #ff6a00 !important;
    font-size: 22px !important;
  }

  .friends-empty h3 {
    margin: 0 0 6px !important;
    color: #fff !important;
    font-size: 16px !important;
  }

  .friends-empty p {
    margin: 0 auto 15px !important;
    max-width: 300px !important;
    color: #888 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }
}

/* Desktop */
@media (min-width: 761px) {
  .home-friends-panel {
    margin-bottom: 15px !important;
    padding: 15px !important;
    background: #090909 !important;
    border: 1px solid #292929 !important;
    border-radius: 16px !important;
  }

  .home-friends-title {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
  }

  .home-friends-row {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
  }

  .home-story {
    flex: 0 0 78px !important;
    border: 0 !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    color: #fff !important;
  }

  .home-story-avatar {
    width: 64px !important;
    height: 64px !important;
    padding: 3px !important;
    border: 2px solid #ff6a00 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  .home-story-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  .friends-list {
    display: grid !important;
    gap: 0 !important;
  }

  .friend-list-item {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 13px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #222 !important;
    color: #fff !important;
    text-align: left !important;
    cursor: pointer !important;
  }

  .friend-list-item:last-child {
    border-bottom: 0 !important;
  }

  .friend-list-avatar {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
  }

  .friend-list-avatar .avatar {
    width: 52px !important;
    height: 52px !important;
  }

  .friend-list-info {
    flex: 1 !important;
    display: grid !important;
    gap: 3px !important;
  }

  .friend-list-info small {
    color: #888 !important;
  }

  .friend-list-arrow {
    font-size: 24px !important;
    color: #777 !important;
  }
}

/* ============================================================
   VIP PROFILE — IMAGE-ONLY FRAMES
   ============================================================ */

/* The main container grid for the frame items */
.frame-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

/* Individual frame item/card box */
.frame-card {
  min-height: 150px !important;
  padding: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #292929 !important;
  background: #090909 !important;
  border-radius: 14px !important;
  cursor: pointer !important;
}

/* Hidden elements inside the card (like hidden checkbox/radio inputs) */
.frame-card-input {
  display: none !important;
}

/* The circular outer wrapper for the preview image */
.frame-preview-circle {
  position: relative !important;
  width: 108px !important;
  height: 108px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #050505 !important;
  border: 4px solid #ff6a00 !important;
  box-sizing: border-box !important;
}

/* The actual avatar image inside the preview circle */
.frame-preview-image {
  position: absolute !important;
  inset: 7px !important;
  width: calc(100% - 14px) !important;
  height: calc(100% - 14px) !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  z-index: 1 !important;
}

/* Hidden text or titles inside the selection card */
.frame-card-title {
  display: none !important;
}

/* State when a card or frame is active/selected */
.frame-card.is-selected {
  border-color: #ff6a00 !important;
}

/* Mobile responsive fixes */
@media (max-width: 760px) {
  .frame-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .frame-card {
    min-height: 118px !important;
    padding: 6px !important;
  }

  .frame-preview-circle {
    width: 82px !important;
    height: 82px !important;
  }

  .frame-preview-image {
    inset: 5px !important;
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
  }
}

/* Bottom footer panel or info box beneath the grid */
.frame-info-panel {
  margin-top: 20px;
  padding: 18px;
  background: #080808;
  border: 1px solid #292929;
  border-radius: 16px;
}

.vhq-vip-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.vhq-vip-section-title > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.vhq-vip-section-title b {
  color: #ff7200;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.vhq-vip-crown {
  color: #ff7200;
  font-size: 23px;
}

.vhq-vip-pill {
  color: #ff7200;
  border: 1px solid #ff7200;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 900;
}

.vhq-selected-check {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ff7200;
  color: #000;
  font-size: 17px;
  font-weight: 1000;
}

.vhq-lock-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 12px;
  border: 1px solid #252525;
  border-radius: 12px;
  background: #0b0b0b;
}

.vhq-lock-icon {
  font-size: 20px;
}

.vhq-lock-title {
  display: block;
  color: #f5f5f5;
  font-size: 13px;
}

.vhq-lock-subtitle {
  display: block;
  margin-top: 3px;
  color: #858585;
  font-size: 11px;
}

/* --- Profile Avatar & Frames Layout --- */
/* Put the selected frame directly over the profile picture */
.vhq-avatar-wrapper {
  position: relative !important;
  isolation: isolate;
}

.vhq-avatar-frame {
  position: absolute !important;
  inset: -16% !important;
  width: 132% !important;
  height: 132% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  pointer-events: none !important;
  z-index: 20 !important;
}

/* Keep the actual profile photo underneath the frame */
.vhq-profile-photo {
  position: relative;
  z-index: 5;
}

/* --- Hiding Elements --- */
.vhq-vip-section b:not(.vhq-vip-section-title b),
.frame-name,
.vhq-hidden-element {
  display: none !important;
}

/* --- Mobile Responsive Layout --- */
@media (max-width: 760px) {
  .vhq-lock-container {
    margin: 14px 0;
    padding: 14px;
    border-radius: 14px;
  }

  .vhq-vip-grid-container {
    gap: 10px;
  }

  .vhq-avatar-frame {
    inset: -18% !important;
    width: 136% !important;
    height: 136% !important;
  }
}

.avatar-wrapper {
  position: relative !important;
  display: inline-block !important;
  width: var(--avatar-size, 120px) !important;
  height: var(--avatar-size, 120px) !important;
  overflow: visible !important;
  isolation: isolate !important;
}

/* Actual profile photo */
/* Fixed: Added the parent selector before the child combinators */
.avatar-wrapper > .avatar,
.avatar-wrapper > .profile-avatar,
.avatar-wrapper > img {
  position: absolute !important;
  left: 10% !important;
  top: 10% !important;
  width: 80% !important;
  height: 80% !important;
  margin: 0 !important;
  z-index: 1 !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  object-fit: cover !important;
}

/* Desktop */
:root {
  --avatar-size: 140px;
}

/* Mobile */
@media (max-width: 760px) {
  :root {
    --avatar-size: 112px;
  }

  .profile-container > .avatar,
  .profile-container > .profile-avatar,
  .profile-container > img {
    left: 9% !important;
    top: 9% !important;
    width: 82% !important;
    height: 82% !important;
  }
}

[data-settings-tab="frames"],
[data-page="frames"] {
  display: none !important;
}

.vhq-real-vip,
.vhq-vip-section {
  width: 100% !important;
  max-width: 520px !important;

  margin: 12px auto 0 !important;

  padding: 10px !important;

  border-radius: 12px !important;

  background: #080808 !important;
  border: 1px solid #252525 !important;
}

/* Smaller heading */
.vhq-vip-section-title {
  margin-bottom: 9px !important;
}

.vhq-vip-section-title b {
  font-size: 12px !important;
}

/* Smaller selected check */
.your-check-selector {
  width: 21px !important;
  height: 21px !important;
  right: 5px !important;
  top: 5px !important;
  font-size: 13px !important;
}

/* Smaller lock message */
.your-lock-container-selector {
  margin-top: 9px !important;
  padding: 7px 9px !important;
  border-radius: 9px !important;
}

.your-lock-title-selector {
  font-size: 15px !important;
}

.your-lock-subtitle-selector {
  font-size: 11px !important;
}

.your-lock-small-text-selector {
  font-size: 9px !important;
}

/* =========================================================
   VIP BADGES
   ========================================================= */

.vhq-real-vip .vhq-badges-title,
.vhq-real-vip .vhq-badge-title,
.vhq-real-vip .vhq-badges h2,
.vhq-real-vip .vhq-badges h3,
.vhq-real-vip .vhq-badge-section h2,
.vhq-real-vip .vhq-badge-section h3 {
  color: #ff7200 !important;
  letter-spacing: 0.3px !important;
}

/* Mobile */
/* This is red */
@media (max-width: 760px) {
  .vhq-real-vip,
  .vhq-vip-section {
    max-width: 100% !important;
    padding: 9px !important;
    margin-top: 10px !important;
  }

  /* Fixed: Wrapped the grid properties in a valid selector */
  .vhq-vip-container {
    grid-template-columns: repeat(2, 78px) !important;
    gap: 8px !important;
  }
}

/* =========================================================
   VibeHQ — VibeHQ-STYLE UPLOADED PHOTO / VIDEO POSTS
   ========================================================= */

/* Post card */
.VibeHQ-home .post {
  overflow: hidden !important;
  padding: 0 !important;
  border-radius: 14px !important;
}

/* Keep header clean */
.VibeHQ-home .post-head {
  padding: 13px 14px 9px !important;
}

/* Caption */
.VibeHQ-home .post-content {
  padding: 7px 14px 10px !important;
}

/* Media container */
.VibeHQ-home .post > .visual {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  background: #000 !important;
  overflow: hidden !important;
  position: relative !important;
  border: 0 !important;
  max-height: none !important;
}

/* Uploaded photo */
.VibeHQ-home .post > .visual > .post-media {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 700px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #000 !important;
  border: 0 !important;
}

/* Uploaded video */
.VibeHQ-home .post > .visual > img.post-media,
.VibeHQ-home .post > .visual > video.post-media {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  border-radius: 0 !important;
  filter: none !important;
  box-shadow: none !important;
}
.VibeHQ-home .post > .visual > video.post-media {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 700px !important;
  min-height: 220px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #000 !important;
}

/* Video controls */
.VibeHQ-home .post > .visual > video.post-media::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) !important;
}

/* Video statistics overlay */
.VibeHQ-home .post .video-stats {
  position: absolute !important;
  right: 10px !important;
  top: 10px !important;
  z-index: 3 !important;
  display: flex !important;
  gap: 6px !important;
  padding: 5px 8px !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  color: #fff !important;
  font-size: 11px !important;
}

/* Reactions/comments/share area */
.VibeHQ-home .post-footer {
  padding: 8px 14px 12px !important;
  margin: 0 !important;
}

/* Make the action row VibeHQ-like */
.VibeHQ-home .post-actions {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 3px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 7px !important;
}

.VibeHQ-home .post-actions button {
  min-height: 38px !important;
  padding: 7px 5px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #b7c0c8 !important;
  font-size: 12px !important;
}

.VibeHQ-home .post-actions button:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}

/* Reaction summary */
.VibeHQ-home .reaction-summary {
  padding: 3px 0 7px !important;
  font-size: 12px !important;
}

/* Mobile */
@media (max-width: 760px) {
  .VibeHQ-home .post {
    border-radius: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .VibeHQ-home .post-head {
    padding: 11px 12px 8px !important;
  }

  .VibeHQ-home .post-content {
    padding: 6px 12px 9px !important;
  }

  .VibeHQ-home .post > .visual > .post-media {
    width: 100% !important;
    max-height: 600px !important;
  }

  .VibeHQ-home .post > .visual > img.post-media,
  .VibeHQ-home .post > .visual > video.post-media {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    border-radius: 0 !important;
    filter: none !important;
    box-shadow: none !important;
  }
  .VibeHQ-home .post > .visual > video.post-media {
    width: 100% !important;
    min-height: 200px !important;
    max-height: 600px !important;
  }

  .VibeHQ-home .post-footer {
    padding: 7px 10px 10px !important;
  }

  .VibeHQ-home .post-actions button {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

/* Prevent global image rules from stretching uploaded media */
.VibeHQ-home .post-media img,
.VibeHQ-home img.post-media {
  height: auto !important;
  object-fit: contain !important;
}

/* =========================================================
   VibeHQ — HARD SPLASH FAILSAFE
   The splash can NEVER remain stuck on screen.
   ========================================================= */

#startupSplash {
  animation: vibeStartupFailsafe 4s forwards !important;
}

@keyframes vibeStartupFailsafe {
  0%,
  82% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* =========================================================
   VibeHQ — TOP-RIGHT PROFILE MENU FINAL OVERRIDES
   ========================================================= */

.top-profile-wrap {
  position: relative !important;
  z-index: 200 !important;
}

.top-profile-wrap .user-chip {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #eef0f2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.top-profile-wrap .user-chip span {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
}

.top-profile-wrap .user-chip span img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.top-profile-wrap .user-chip b {
  display: none !important;
}

.top-profile-dropdown {
  position: absolute !important;
  right: 0 !important;
  top: 50px !important;
  width: 310px !important;
  max-width: calc(100vw - 20px) !important;
  padding: 8px !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: #11151a !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-6px) !important;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s ease !important;
  z-index: 9999 !important;
}

.top-profile-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.top-profile-dropdown button {
  width: 100% !important;
  min-height: 58px !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 12px !important;
  padding: 10px !important;
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  text-align: left !important;
  cursor: pointer !important;
  color: inherit !important;
}

.top-profile-dropdown button:hover {
  background: rgba(255, 255, 255, 0.07) !important;
}

.top-profile-dropdown .app-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 50% !important;
  background: #252a30 !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
}

.top-profile-dropdown button span {
  display: block !important;
  min-width: 0 !important;
}

.top-profile-dropdown button b {
  display: block !important;
  font-size: 14px !important;
}

.top-profile-dropdown button small {
  display: block !important;
  color: var(--muted) !important;
  margin-top: 2px !important;
  font-size: 11px !important;
}

.top-profile-divider {
  height: 1px !important;
  background: var(--line) !important;
  margin: 6px 4px !important;
}

.top-profile-dropdown .logout-item .app-icon {
  color: #ff8c8c !important;
}

@media (max-width: 650px) {
  .top-profile-dropdown {
    position: fixed !important;
    right: 10px !important;
    top: 58px !important;
    width: min(310px, calc(100vw - 20px)) !important;
  }
}

/* VibeHQ requested profile/feed/post enhancements */
.post-head[data-open-post] {
  cursor: pointer;
}
.post-head[data-open-post]:hover {
  filter: brightness(1.06);
}
.like-button,
.comment-like {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.like-button.reacted,
.comment-like.reacted {
  font-weight: 700;
}
.announcements-panel {
  padding: 0;
  overflow: hidden;
  margin-bottom: 14px;
}
.announcements-panel .side-panel-head {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.announcements-panel .side-panel-head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.announcement-banner {
  min-height: 86px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 650;
}
.friends-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 14px;
}
.friends-card .side-panel-head {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.friends-horizontal {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 16px;
}
.friend-mini {
  min-width: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.friend-mini span:last-child {
  font-size: 12px;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-inline-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.media-category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.post-page .post {
  margin-top: 14px;
}
.comments-page {
  padding: 18px;
}
.comments-page .comment,
.comment-area .comment {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.comment > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.comment-actions {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
}
.comment-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 38px;
  z-index: 20;
  min-width: 150px;
  padding: 6px;
  border-radius: 10px;
  background: var(--panel, #111);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}
.comment-menu.open {
  display: flex;
  flex-direction: column;
}
.comment-menu button {
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 9px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.comment-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}
.pinned-post {
  position: relative;
}
.pinned-label {
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
@media (max-width: 700px) {
  .profile-inline-actions {
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
  }
  .announcement-banner {
    font-size: 16px;
  }
  .friends-horizontal {
    padding: 12px;
  }
  .post-page {
    padding-bottom: 80px;
  }
}

/* Profile details / edit redesign */
.profile-edit-page .hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.edit-profile-tabs {
  display: flex;
  gap: 0.35rem;
  overflow: auto;
  padding: 0.45rem;
  margin: 1rem 0;
}
.edit-profile-tabs button,
.profile-tabs button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.edit-profile-tabs button.active,
.profile-tabs button.active {
  background: var(--accent, rgba(255, 255, 255, 0.12));
  font-weight: 700;
}
.profile-edit-content {
  padding: 1.25rem;
}
.profile-edit-content label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.8rem 0;
}
.edit-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.edit-form-grid label {
  margin: 0;
}
.full-field {
  grid-column: 1/-1;
}
.edit-save-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.about-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.about-item b {
  font-size: 0.78rem;
  text-transform: uppercase;
  opacity: 0.7;
}
.about-links {
  grid-column: 1/-1;
}
.profile-link {
  display: block;
  margin: 0.35rem 0;
  overflow-wrap: anywhere;
}
.friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.8rem;
}
.friend-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 0;
  padding: 0.9rem;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.friend-card span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.friend-card small {
  opacity: 0.65;
}
@media (max-width: 700px) {
  .edit-form-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .full-field,
  .about-links {
    grid-column: auto;
  }
  .profile-edit-page .hero {
    align-items: flex-start;
    flex-direction: column;
  }
}
html,
body {
  background: #050505 !important;
  color: #f5f5f5 !important;
}
body {
  background:
    radial-gradient(
      900px 500px at 8% 8%,
      rgba(255, 106, 0, 0.1),
      transparent 58%
    ),
    radial-gradient(
      850px 560px at 92% 88%,
      rgba(255, 106, 0, 0.06),
      transparent 58%
    ),
    #050505 !important;
  background-attachment: fixed !important;
}
.glass {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.018)
  ) !important;
  border-color: #2a2a2a !important;
}
.topbar {
  background: rgba(5, 5, 5, 0.94) !important;
  border-bottom-color: #2a2a2a !important;
}
.btn.primary {
  background: linear-gradient(135deg, #ff7a00, #ff6a00) !important;
  color: #0a0500 !important;
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.22) !important;
}
.btn,
.icon-btn,
.user-chip,
.input,
.textarea,
.status-input,
.filter,
.tab {
  border-color: #2a2a2a !important;
  background: rgba(255, 255, 255, 0.035) !important;
}
.nav.active,
.filter.active,
.tab.active {
  color: #ff6a00 !important;
  background: rgba(255, 106, 0, 0.12) !important;
}
.nav em {
  background: #ff6a00 !important;
  color: #120700 !important;
}
.avatar,
.user-chip span {
  background: linear-gradient(135deg, #ff8a2a, #ff6a00) !important;
}
.cover {
  background: linear-gradient(120deg, #1a0d04, #ff6a00, #050505) !important;
}
.hero:after {
  background: rgba(255, 106, 0, 0.2) !important;
}
.link-preview,
.result,
.post-actions button,
.music,
.poll button {
  border-color: #2a2a2a !important;
  background: rgba(255, 255, 255, 0.035) !important;
}
.inline-link,
.profile-link,
.eyebrow,
.verified,
.side-link,
.mobile-nav button.active {
  color: #ff6a00 !important;
}
.following {
  background: rgba(255, 106, 0, 0.14) !important;
}

/* =========================================================
   VibeHQ BLACK + ORANGE ONLY
   Final theme lock: neutralize every remaining blue/purple surface.
   ========================================================= */
:root {
  --bg: #050505 !important;
  --panel: #0d0d0d !important;
  --line: #2a2a2a !important;
  --text: #f5f5f5 !important;
  --muted: #969696 !important;
  --cyan: #ff6a00 !important;
  --violet: #ff6a00 !important;
  --orange: #ff6a00 !important;
  --orange-2: #ff8b2d !important;
  --orange-soft: rgba(255, 106, 0, 0.12) !important;
}
html,
body {
  background: #050505 !important;
  color: #f5f5f5 !important;
}
body {
  background:
    radial-gradient(
      850px 520px at 10% 8%,
      rgba(255, 106, 0, 0.08),
      transparent 60%
    ),
    radial-gradient(
      850px 520px at 90% 90%,
      rgba(255, 106, 0, 0.05),
      transparent 60%
    ),
    #050505 !important;
}
.topbar,
.mobile-nav {
  background: rgba(5, 5, 5, 0.96) !important;
  border-color: #242424 !important;
}
.glass,
.search-panel,
.tool,
.result,
.community,
.notification,
.chat,
.people-list,
.settings-content,
.side-panel {
  background: linear-gradient(145deg, #111111, #090909) !important;
  border-color: #292929 !important;
}
.VibeHQ-home .post,
.post {
  background: linear-gradient(145deg, #111111, #090909) !important;
  border-color: #292929 !important;
}
.post:hover,
.VibeHQ-home .post:hover {
  background: linear-gradient(145deg, #121212, #0a0a0a) !important;
}
.btn.primary {
  background: linear-gradient(135deg, #ff6a00, #ff8b2d) !important;
  color: #160800 !important;
  box-shadow: 0 10px 28px rgba(255, 106, 0, 0.22) !important;
}
.btn,
.icon-btn,
.user-chip,
.input,
.textarea,
.status-input,
.filter,
.tab {
  background: #0d0d0d !important;
  border-color: #292929 !important;
}
.btn:hover,
.icon-btn:hover,
.user-chip:hover,
.filter:hover,
.tab:hover {
  background: rgba(255, 106, 0, 0.1) !important;
  border-color: rgba(255, 106, 0, 0.42) !important;
}
.nav.active,
.filter.active,
.tab.active,
.mobile-nav button.active {
  color: #ff6a00 !important;
  background: rgba(255, 106, 0, 0.11) !important;
}
.nav em {
  background: #ff6a00 !important;
  color: #160800 !important;
}
.avatar,
.user-chip span {
  background: linear-gradient(135deg, #ff8b2d, #ff6a00) !important;
}
.cover {
  background: linear-gradient(120deg, #160a03, #7a2f00, #ff6a00) !important;
}
.hero:after {
  background: rgba(255, 106, 0, 0.16) !important;
}
.bill,
.bill.purple {
  background: linear-gradient(145deg, #241006, #0c0c0c) !important;
  border-color: rgba(255, 106, 0, 0.24) !important;
}
.bubble.mine {
  background: linear-gradient(135deg, #ff6a00, #ff8b2d) !important;
  color: #160800 !important;
}
.following {
  background: rgba(255, 106, 0, 0.14) !important;
}
.inline-link,
.profile-link,
.eyebrow,
.verified,
.side-link,
.privacy-icon {
  color: #ff6a00 !important;
}
.profile-hero .cover {
  background-color: #0b0b0b !important;
}
.profile-media-grid img,
.profile-media-grid video {
  background: #080808 !important;
}
.photo-category-tab,
.photo-thumb,
.connection-card,
.photo-post-actions button,
.photo-stage {
  background: #0b0b0b !important;
}
.photo-category-tab.active {
  background: rgba(255, 106, 0, 0.12) !important;
  color: #fff !important;
}
.profile-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.profile-inline-actions .btn {
  white-space: nowrap;
}
.profile-media-wrap {
  margin-top: 2px;
}
.profile-media-section {
  margin-top: 16px;
  padding: 0;
}
.profile-media-section .feed-title {
  margin-top: 0;
}
.media-category-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 4px 0 12px;
}
.media-category-tabs .btn {
  white-space: nowrap;
}
.post-page {
  max-width: 760px;
  margin: 0 auto;
}
.post-detail > .post {
  margin: 0;
}
.comments-section {
  padding: 4px 16px 16px;
}
.comments-list {
  display: grid;
  gap: 12px;
}
.comment-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
}
.comment-body {
  min-width: 0;
}
.comment-bubble {
  background: #0b0b0b;
  border: 1px solid #292929;
  border-radius: 14px;
  padding: 9px 11px;
}
.comment-bubble b {
  font-size: 13px;
}
.comment-bubble small {
  color: #777;
  font-size: 11px;
}
.comment-bubble p {
  margin: 5px 0 0;
  line-height: 1.45;
}
.comment-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 4px 3px 0;
  color: #777;
  font-size: 11px;
}
.comment-meta button {
  border: 0;
  background: transparent;
  color: #8d8d8d;
  padding: 0;
  cursor: pointer;
}
.comment-meta button:hover {
  color: #ff6a00;
}
.comment-meta span {
  margin-left: auto;
}
.post-page-compose {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #242424;
}
.profile-stats {
  display: none !important;
}
.profile-menu-trigger,
.profile-dropdown {
  display: none !important;
}
.profile-row > .profile-menu-wrap {
  display: none !important;
}
@media (max-width: 700px) {
  .profile-inline-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .comments-section {
    padding: 4px 12px 14px;
  }
  .post-page {
    padding-bottom: 80px;
  }
}

/* VibeHQ media tab + dedicated photo viewer */
.profile-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.profile-media-wrap {
  display: contents;
}
.profile-media-item {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  background: #080808;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
}
.profile-media-item img,
.profile-media-item video {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #000;
}
.profile-media-item .media-open-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #000b;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.15s;
}
.profile-media-item:hover .media-open-hint,
.profile-media-item:focus-visible .media-open-hint {
  opacity: 1;
}
.photo-viewer-page {
  width: 100%;
  max-width: 1780px;
  margin: 0 auto;
  padding: 18px 22px 34px;
  min-height: calc(100vh - 30px);
}
.photo-viewer-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 8px 0;
  background: linear-gradient(#000 78%, transparent);
}
.photo-owner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.photo-owner > div,
.photo-media-owner > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.photo-owner small,
.photo-media-owner small {
  color: var(--muted);
  font-size: 12px;
}
.photo-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.photo-nav span {
  font-size: 13px;
  color: var(--muted);
}
.photo-viewer-layout {
  display: grid;
  grid-template-columns: minmax(0, 876.8px) minmax(320px, 876.8px);
  justify-content: center;
  gap: 18px;
  align-items: start;
}
.photo-media-panel {
  height: 376.8px;
  min-height: 376.8px;
  display: flex;
  flex-direction: column;
  padding: 14px;
  overflow: hidden;
}
.photo-media-owner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-bottom: 10px;
}
.photo-media-panel > img,
.photo-media-panel > video {
  width: 100%;
  height: calc(100% - 54px);
  object-fit: contain;
  background: #000;
  border-radius: 10px;
  display: block;
}
.photo-comments-panel {
  height: 486.1px;
  min-height: 486.1px;
  display: flex;
  flex-direction: column;
  padding: 16px;
}
.photo-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.photo-comments-head h2 {
  margin: 2px 0 0;
}
.photo-comments-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 2px;
}
.photo-comment-compose {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.photo-comment-compose .input {
  flex: 1;
}
.photo-comments-note {
  padding-top: 12px;
}
.photo-mobile-actions {
  display: none;
}
.photo-comment-modal textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  margin: 12px 0;
}
@media (max-width: 1100px) {
  .photo-viewer-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  }
}
@media (max-width: 760px) {
  .profile-tabs {
    grid-template-columns: repeat(4, minmax(100px, 1fr)) !important;
    overflow-x: auto;
  }
  .photo-viewer-page {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #000;
    padding: 10px 10px calc(74px + env(safe-area-inset-bottom));
    overflow-y: auto;
    max-width: none;
  }
  .photo-viewer-top {
    top: 0;
    padding: 6px 0 10px;
    margin-bottom: 8px;
    background: #000;
  }
  .photo-owner {
    display: none;
  }
  .photo-nav {
    margin-left: auto;
  }
  .photo-viewer-layout {
    display: block;
  }
  .photo-media-panel {
    height: calc(100vh - 160px);
    min-height: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 0;
    background: #000 !important;
    box-shadow: none;
  }
  .photo-media-owner {
    padding: 8px 2px;
    margin-bottom: 4px;
  }
  .photo-media-panel > img,
  .photo-media-panel > video {
    height: calc(100% - 54px);
    border-radius: 0;
  }
  .photo-comments-panel {
    display: none;
  }
  .photo-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 110;
  }
  .photo-mobile-actions .btn {
    height: 48px;
  }
}

.profile-inline-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}
.profile-inline-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 720px;
}
.profile-inline-details div {
  display: flex;
  gap: 8px;
  align-items: baseline;
  min-width: 0;
}
.profile-inline-details b {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ff6a00;
  flex: 0 0 auto;
}
.profile-inline-details span {
  color: #ddd;
  overflow-wrap: anywhere;
}
.profile-badges {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  flex-wrap: wrap;
}
.profile-badge {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
.profile-badge img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.profile-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.clickable-notification {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.post-actions .like-button {
  display: none !important;
}
.vip-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.vip-badge-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid #292929;
  border-radius: 14px;
  background: #0b0b0b;
  cursor: pointer;
}
.vip-badge-choice.selected {
  border-color: #ff6a00;
  box-shadow: 0 0 0 1px #ff6a00 inset;
}
.vip-badge-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vip-badge-choice img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.vip-badge-choice span {
  font-weight: 700;
}
@media (max-width: 700px) {
  .profile-inline-actions {
    align-items: flex-start;
  }
  .profile-inline-details div {
    display: block;
  }
  .profile-inline-details b {
    display: block;
    margin-bottom: 1px;
  }
  .vip-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.profile-name-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}
.profile-name-badges {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}
.profile-name-badges .profile-badge {
  width: 28px;
  height: 28px;
}
.profile-name-badges .profile-badge img {
  width: 28px;
  height: 28px;
}
.profile-inline-actions .profile-inline-details {
  display: none !important;
}
@media (max-width: 700px) {
  .profile-name-heading {
    gap: 6px;
  }
  .profile-name-badges .profile-badge,
  .profile-name-badges .profile-badge img {
    width: 24px;
    height: 24px;
  }
}

.profile-details {
  display: none !important;
}
.profile-cover-click {
  cursor: zoom-in;
}
.profile-avatar-wrap[data-open-photo] {
  cursor: zoom-in;
}
.profile-avatar-wrap {
  margin-top: -52px !important;
  position: relative;
  z-index: 4;
}
.profile-name-badges {
  margin-left: 10px !important;
  transform: translateX(8px);
  position: relative;
  z-index: 5;
}
.profile-name-badges .profile-badge {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.reaction-trigger,
.post-actions button[data-comment] {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
}
.reaction-trigger.reacted {
  background: var(--orange-soft) !important;
  color: var(--orange-2) !important;
  font-weight: 800;
}
.reaction-picker {
  z-index: 20 !important;
}

.compose-sheet-backdrop {
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
.create-post-modal {
  width: min(720px, 100%);
  max-height: min(88vh, 820px);
  overflow-y: auto;
  margin: 0 !important;
  border-radius: 28px 28px 0 0 !important;
  padding: 22px 24px 24px !important;
  background: linear-gradient(180deg, #15181d, #0c0e12) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.55) !important;
  animation: composeSheetIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes composeSheetIn {
  from {
    transform: translateY(100%);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.compose-grabber {
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: #ffffff2b;
  margin: 0 auto 18px;
}
.compose-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.compose-header h2 {
  font-size: 28px;
  margin: 4px 0;
}
.compose-header p {
  margin: 0;
}
.compose-close {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50% !important;
  font-size: 24px;
}
.compose-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.compose-author > div {
  display: grid;
  gap: 2px;
}
.compose-author small {
  color: var(--muted);
}
.compose-textarea {
  width: 100%;
  min-height: 125px;
  resize: vertical;
  border: 0 !important;
  background: transparent !important;
  padding: 18px 2px !important;
  font-size: 18px !important;
  outline: none !important;
}
.compose-textarea::placeholder {
  color: #6f7c87;
}
.compose-toolbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.compose-tool {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #ffffff06;
  border-radius: 14px;
  padding: 10px 7px;
  display: grid;
  place-items: center;
  gap: 6px;
  cursor: pointer;
  color: #cbd5dc;
  transition: 0.18s;
}
.compose-tool:hover,
.compose-tool.active {
  background: #ff6a0014;
  border-color: #ff6a0055;
  color: #fff;
  transform: translateY(-1px);
}
.compose-tool-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #ffffff08;
  color: #ff9b5c;
  font-size: 18px;
}
.compose-tool span:last-child {
  font-size: 11px;
  font-weight: 800;
}
.compose-extra {
  margin-top: 12px;
}
.compose-extra-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: #ffffff04;
  display: grid;
  gap: 10px;
}
.compose-extra-card .input {
  margin: 0;
}
.compose-helper {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 2px;
  color: var(--muted);
  font-size: 12px;
}
.compose-upload-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  background: #ffffff04;
  cursor: pointer;
}
.compose-upload-card input {
  display: none;
}
.compose-upload-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #ff6a0018;
  color: #ff9b5c;
  font-size: 21px;
}
.compose-upload-card span:last-child {
  display: grid;
  gap: 3px;
}
.compose-upload-card small {
  color: var(--muted);
}
.tag-friend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.tag-friend {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #ffffff05;
  color: inherit;
  border-radius: 13px;
  padding: 9px;
  cursor: pointer;
}
.tag-friend > span:nth-child(2) {
  display: grid;
  gap: 2px;
  flex: 1;
}
.tag-friend small {
  color: var(--muted);
}
.tag-friend i {
  font-style: normal;
  color: #ff9b5c;
  font-weight: 900;
}
.tag-friend.selected {
  border-color: #ff6a0070;
  background: #ff6a0012;
}
.compose-settings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.compact-field {
  margin: 0;
}
.compose-link-field {
  margin-top: 10px;
}
.compose-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.compose-publish {
  min-width: 120px;
}

@media (max-width: 650px) {
  .profile-avatar-wrap {
    margin-top: -58px !important;
  }
  .profile-name-badges {
    margin-left: 5px !important;
    transform: translateX(4px);
  }
  .create-post-modal {
    max-height: 92vh;
    border-radius: 24px 24px 0 0 !important;
    padding: 17px 14px 18px !important;
  }
  .compose-header h2 {
    font-size: 23px;
  }
  .compose-textarea {
    min-height: 105px;
    font-size: 16px !important;
  }
  .compose-toolbar {
    grid-template-columns: repeat(3, 1fr);
  }
  .compose-settings-row {
    grid-template-columns: 1fr;
  }
  .tag-friend-grid {
    grid-template-columns: 1fr;
  }
  .compose-footer {
    padding-bottom: calc(4px + env(safe-area-inset-bottom));
  }
}
