:root {
  --bg: #080a12;
  --surface: #10131e;
  --surface-2: #171b28;
  --surface-3: #202536;
  --text: #f5f7ff;
  --muted: #9199ad;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #4d8dff;
  --purple: #9b6cff;
  --pink: #ec6cff;
  --success: #55d89c;
  --danger: #ff7085;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
  --radius: 22px;
  --sidebar: 250px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 85% -10%, rgba(117, 83, 255, 0.18), transparent 34%),
    radial-gradient(circle at 20% 110%, rgba(52, 129, 255, 0.12), transparent 32%),
    var(--bg);
  font: 500 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  color: #a9b0c1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 26px;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 20px;
  height: 11px;
  border: 3px solid var(--blue);
  border-radius: 999px;
  content: "";
  transform: rotate(-32deg);
}

.brand-mark::before {
  left: 1px;
  top: 2px;
}

.brand-mark::after {
  right: 1px;
  bottom: 2px;
  border-color: var(--purple);
}

.brand-large {
  gap: 16px;
  font-size: clamp(32px, 4vw, 50px);
}

.brand-large .brand-mark {
  width: 56px;
  height: 42px;
  transform: scale(1.45);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 750;
  cursor: pointer;
  transition: 180ms ease;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--surface-3);
  transform: translateY(-1px);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 10px 26px rgba(90, 103, 255, 0.25);
}

.btn-primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #70a3ff, #ad82ff);
}

.btn-ghost {
  background: transparent;
}

.btn-small {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 11px;
  font-size: 13px;
}

.btn-icon {
  width: 42px;
  min-height: 42px;
  padding: 0;
}

.btn-block {
  width: 100%;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #c2c8d7;
  font-size: 13px;
  font-weight: 700;
}

.username-input {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d1019;
  transition: 180ms ease;
}

.username-input:focus-within {
  border-color: rgba(113, 116, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(91, 106, 255, 0.1);
}

.username-input span {
  padding-left: 14px;
  color: var(--muted);
  font-weight: 700;
}

.username-input input,
.username-input input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 4px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: #0d1019;
  color: var(--text);
  transition: 180ms ease;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

.birth-date-fields {
  display: grid;
  grid-template-columns: .75fr 1.35fr 1fr;
  gap: 8px;
}

textarea {
  min-height: 90px;
  padding: 13px 14px;
  resize: vertical;
}

select {
  min-height: 48px;
  padding: 0 14px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(113, 116, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(91, 106, 255, 0.1);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-message {
  min-height: 21px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 30, 0.94);
  box-shadow: var(--shadow);
}

.avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: linear-gradient(135deg, var(--avatar-a, #4d8dff), var(--avatar-b, #9b6cff));
  color: white;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.avatar-lg {
  width: 68px;
  height: 68px;
  border-radius: 21px;
  font-size: 20px;
}

.avatar-xl {
  width: 104px;
  height: 104px;
  border: 5px solid var(--surface);
  border-radius: 30px;
  font-size: 30px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(85, 216, 156, 0.12);
}

/* Landing and auth */
.landing {
  min-height: 100vh;
  overflow-x: hidden;
}

.landing-sections {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: -40px auto 100px;
}

.landing-sections .card { padding: 28px; }
.landing-sections h2 { margin: 0 0 8px; }
.landing-sections p:last-child { margin: 0; color: var(--muted); }

.identity-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c8d7ff;
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
}
.badge-owner { color: #f1cfff; }
.badge-developer { color: #a9d2ff; }
.badge-moderator { color: #a8f0d2; }
.badge-founder { color: #ffd99d; }
.compact-actions { display: flex; gap: 8px; justify-content: center; }
.completion { display: grid; gap: 8px; margin-top: 18px; }
.completion div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
progress { width: 100%; height: 8px; overflow: hidden; border: 0; border-radius: 999px; accent-color: var(--purple); }
.goal-list { display: grid; gap: 8px; margin-top: 18px; }
.goal-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: inherit; text-align: left; cursor: pointer; }
.goal-row span { color: var(--muted); font-size: 12px; }
.goal-status { text-transform: capitalize; }
.member-picker { display: grid; max-height: 260px; gap: 8px; overflow: auto; }

.landing-nav {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 24px 0;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.hero {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 96px);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
  margin: 0 auto;
  padding: 65px 0 100px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 24px 0 18px;
  font-size: clamp(50px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.gradient-text {
  background: linear-gradient(110deg, #77a9ff 10%, #9c7bff 55%, #ef79ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  max-width: 560px;
  margin: 0 0 32px;
  color: #a8afbf;
  font-size: 18px;
}

.invite-box {
  display: flex;
  max-width: 520px;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16, 19, 30, 0.72);
}

.invite-box input {
  border: 0;
  background: transparent;
}

.fine-print {
  margin-top: 13px !important;
  color: var(--muted) !important;
  font-size: 12px !important;
}

.landing-rules {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a98bff;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.orb {
  position: absolute;
  width: 370px;
  height: 370px;
  inset: 80px auto auto 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(64, 143, 255, 0.65), rgba(134, 76, 255, 0.55));
  filter: blur(2px);
  opacity: 0.38;
  box-shadow: 0 0 100px rgba(104, 91, 255, 0.5);
}

.phone-preview {
  position: relative;
  width: 310px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  background: rgba(9, 11, 18, 0.93);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.48);
  transform: rotate(5deg);
}

.phone-screen {
  min-height: 540px;
  padding: 23px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #0d1019;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.preview-card {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.preview-line {
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--surface-3);
}

.preview-image {
  height: 170px;
  margin-top: 13px;
  border-radius: 14px;
  background:
    linear-gradient(140deg, rgba(77, 141, 255, 0.2), rgba(155, 108, 255, 0.45)),
    radial-gradient(circle at 70% 30%, #e678ff, transparent 20%),
    #1c2643;
}

.float-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(24, 29, 43, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
  font-size: 13px;
  font-weight: 750;
}

.float-one {
  top: 100px;
  right: -20px;
}

.float-two {
  bottom: 80px;
  left: -25px;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr 1fr;
}

.auth-aside {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 60px;
  background:
    radial-gradient(circle at 25% 25%, rgba(76, 141, 255, 0.26), transparent 25%),
    radial-gradient(circle at 75% 75%, rgba(155, 108, 255, 0.28), transparent 26%),
    #0c0f18;
}

.auth-aside::before,
.auth-aside::after {
  position: absolute;
  width: 320px;
  height: 150px;
  border: 38px solid rgba(103, 122, 255, 0.15);
  border-radius: 999px;
  content: "";
  transform: rotate(-35deg);
}

.auth-aside::before {
  top: -60px;
  left: -100px;
}

.auth-aside::after {
  right: -100px;
  bottom: -50px;
  border-color: rgba(172, 103, 255, 0.15);
}

.auth-quote {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.auth-quote h1 {
  margin: 30px 0 16px;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.auth-quote p {
  color: #aab1c2;
  font-size: 17px;
}

.auth-main {
  display: grid;
  place-items: center;
  padding: 50px 30px;
}

.auth-card {
  width: min(430px, 100%);
}

.auth-card h2 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.auth-card > p {
  margin: 0 0 28px;
  color: var(--muted);
}

.auth-footer {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
}

.auth-footer a {
  color: #a98bff;
  font-weight: 750;
}

.verification-card {
  text-align: center;
}

.verification-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(91, 106, 255, 0.14);
  color: #9da7ff;
  font-size: 28px;
  font-weight: 800;
}

.verification-email {
  display: block;
  margin: 14px 0 20px;
  overflow-wrap: anywhere;
  color: #fff;
}

.verification-steps {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d1019;
  text-align: left;
}

.verification-steps p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* App shell */
.app-body {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 10;
  display: flex;
  width: var(--sidebar);
  height: 100vh;
  flex-direction: column;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.88);
  backdrop-filter: blur(20px);
}

.sidebar .brand {
  padding: 0 10px;
}

.side-nav {
  display: grid;
  gap: 5px;
  margin-top: 38px;
}

.nav-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  padding: 0 13px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
  transition: 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--surface-2);
  color: var(--text);
}

.nav-link.active .icon {
  color: #8a82ff;
}

.sidebar-bottom {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.logout-btn {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.sidebar-profile strong,
.sidebar-profile span {
  display: block;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-profile span {
  color: var(--muted);
  font-size: 12px;
}

.app-main {
  min-height: 100vh;
  margin-left: var(--sidebar);
}

.mobile-header,
.bottom-nav {
  display: none;
}

.app-layout {
  display: grid;
  width: min(1080px, calc(100% - 48px));
  grid-template-columns: minmax(0, 680px) 300px;
  gap: 24px;
  margin: 0 auto;
  padding: 34px 0 70px;
}

.app-layout.single {
  display: block;
  width: min(920px, calc(100% - 48px));
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-heading h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.page-heading p {
  margin: 7px 0 0;
  color: var(--muted);
}

.feed,
.right-rail {
  display: grid;
  align-content: start;
  gap: 18px;
}

.composer {
  padding: 17px;
}

.composer-top {
  display: flex;
  gap: 12px;
}

.composer textarea {
  min-height: 64px;
  border: 0;
  background: transparent;
  resize: none;
}

.composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.composer-tools {
  display: flex;
  gap: 5px;
}

.tool-btn {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.tool-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.post-card {
  padding: 18px;
}

.post-head,
.person-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-author,
.person-copy {
  min-width: 0;
  flex: 1;
}

.post-author strong,
.post-author span {
  display: block;
}

.post-author strong {
  font-size: 14px;
}

.post-author span,
.person-copy span {
  color: var(--muted);
  font-size: 12px;
}

.post-more {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.post-copy {
  margin: 16px 0;
  font-size: 15px;
}

.post-media {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.post-media.art-one {
  background:
    linear-gradient(155deg, transparent 50%, rgba(6, 8, 17, 0.75)),
    radial-gradient(circle at 65% 28%, #f481ff 0 8%, transparent 9%),
    radial-gradient(circle at 62% 30%, #7759ff 0 25%, transparent 43%),
    linear-gradient(135deg, #172c5e, #17132b 60%, #362151);
}

.post-media.art-two {
  background:
    linear-gradient(150deg, rgba(8, 10, 18, 0) 20%, rgba(8, 10, 18, 0.85)),
    radial-gradient(circle at 25% 30%, #68d6ff 0 2%, transparent 3%),
    radial-gradient(circle at 70% 40%, #ad80ff 0 3%, transparent 4%),
    linear-gradient(135deg, #1c3c56, #252544 45%, #3e2352);
}

.post-media::after {
  position: absolute;
  right: -30%;
  bottom: -65%;
  width: 110%;
  height: 110%;
  border: 38px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  transform: rotate(-22deg);
}

.media-label {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  max-width: 250px;
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.05em;
  text-align: right;
}

.post-actions {
  display: flex;
  gap: 5px;
  margin-top: 13px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.action-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.action-btn.liked {
  color: #d181ff;
}

.action-btn.liked .icon {
  fill: currentColor;
}

.rail-card {
  padding: 17px;
}

.rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.rail-title h3 {
  margin: 0;
  font-size: 15px;
}

.rail-title a {
  color: #9b85ff;
  font-size: 12px;
  font-weight: 750;
}

.person-list {
  display: grid;
  gap: 15px;
}

.person-copy strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-list {
  display: grid;
  gap: 14px;
}

.trend-item span,
.trend-item strong {
  display: block;
}

.trend-item span {
  color: var(--muted);
  font-size: 11px;
}

.trend-item strong {
  margin: 2px 0;
  font-size: 13px;
}

.search-wrap {
  position: relative;
  flex: 1;
}

.search-wrap .icon {
  position: absolute;
  top: 14px;
  left: 14px;
  color: var(--muted);
}

.search-wrap input {
  padding-left: 44px;
  background: var(--surface);
}

.chip-row {
  display: flex;
  gap: 8px;
  margin: 18px 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip {
  flex: none;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.chip.active {
  border-color: rgba(127, 113, 255, 0.34);
  background: rgba(109, 99, 255, 0.15);
  color: var(--text);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.person-card {
  padding: 18px;
  text-align: center;
}

.person-card .avatar {
  margin: 0 auto 12px;
}

.person-card h3 {
  margin: 0;
  font-size: 15px;
}

.person-card p {
  min-height: 39px;
  margin: 5px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.person-card .btn {
  width: 100%;
}

.empty-state {
  padding: 42px 24px;
  text-align: center;
}

.empty-state .icon-wrap {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(77, 141, 255, 0.2), rgba(155, 108, 255, 0.22));
  color: #9a8aff;
}

.empty-state .icon {
  width: 27px;
  height: 27px;
}

.empty-state h3 {
  margin: 0 0 6px;
}

.empty-state p {
  max-width: 400px;
  margin: 0 auto 20px;
  color: var(--muted);
}

/* Profile */
.profile-card {
  overflow: hidden;
}

.profile-cover {
  height: 210px;
  background:
    radial-gradient(circle at 65% 30%, rgba(240, 111, 255, 0.85), transparent 8%),
    radial-gradient(circle at 63% 35%, rgba(119, 91, 255, 0.65), transparent 22%),
    linear-gradient(140deg, #163266, #23183e 60%, #512b67);
}

.profile-content {
  padding: 0 24px 24px;
}

.profile-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -52px;
}

.profile-actions {
  display: flex;
  gap: 7px;
}

.profile-content h1 {
  margin: 17px 0 0;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.profile-handle {
  color: var(--muted);
}

.profile-bio {
  max-width: 600px;
  margin: 16px 0;
}

.profile-meta,
.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.profile-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-meta .icon {
  width: 16px;
}

.profile-stats {
  margin-top: 18px;
  color: var(--text);
}

.profile-stats span {
  color: var(--muted);
  font-size: 12px;
}

.profile-tabs {
  display: flex;
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
}

.profile-tabs button {
  padding: 13px 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  cursor: pointer;
}

.profile-tabs button.active {
  border-bottom-color: #917aff;
  color: var(--text);
}

.modal-backdrop {
  position: fixed;
  z-index: 50;
  display: grid;
  inset: 0;
  place-items: center;
  padding: 20px;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(10px);
}

.modal {
  width: min(480px, 100%);
  padding: 22px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-head h2 {
  margin: 0;
  font-size: 21px;
}

/* Friends and messages */
.section-card {
  padding: 20px;
}

.section-title {
  margin: 0 0 17px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.friend-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.friend-row:last-child {
  border-bottom: 0;
}

.friend-actions {
  display: flex;
  gap: 7px;
}

.messages-layout {
  display: grid;
  min-height: calc(100vh - 70px);
  grid-template-columns: 310px 1fr;
  overflow: hidden;
}

.conversation-list {
  border-right: 1px solid var(--line);
  background: rgba(16, 19, 30, 0.6);
}

.conversation-head {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.conversation-head h1 {
  margin: 0 0 15px;
  font-size: 25px;
}

.conversation {
  display: flex;
  gap: 11px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.conversation.active {
  background: var(--surface-2);
}

.conversation strong,
.conversation span {
  display: block;
}

.conversation span {
  color: var(--muted);
  font-size: 12px;
}

.chat-placeholder {
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.chat-placeholder .empty-state {
  max-width: 520px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: #222738;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(80px);
  opacity: 0;
  transition: 220ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Test-user experience */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.safety-note {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(108, 139, 255, 0.17);
  border-radius: 14px;
  background: rgba(77, 111, 255, 0.07);
  color: #aeb8ce;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
}

.safety-note strong {
  color: #b7a9ff;
}

.sidebar-safety {
  margin: 0 8px 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6f778b;
  font-size: 10px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.sidebar-safety strong {
  color: #9b8ce9;
}

.composer-hint {
  align-self: center;
  color: var(--muted);
  font-size: 12px;
}

.composer-image-preview {
  position: relative;
  overflow: hidden;
  margin: 12px 0 0 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}

.composer-image-preview img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
}

.composer-image-preview .tool-btn {
  position: absolute;
  top: 9px;
  right: 9px;
  background: rgba(8, 10, 18, 0.82);
  color: white;
}

.uploaded-post-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.post-options {
  display: flex;
  gap: 2px;
}

.post-options .post-more {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
}

.post-options .post-more:hover {
  background: var(--surface-2);
  color: var(--text);
}

.post-options .icon {
  width: 17px;
  height: 17px;
}

.delete-post:hover,
.report-post:hover {
  color: var(--danger) !important;
}

.comments-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.comment-list {
  display: grid;
  gap: 10px;
}

.comment-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.comment-row .avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 10px;
}

.comment-bubble {
  min-width: 0;
  padding: 9px 12px;
  border-radius: 4px 14px 14px;
  background: var(--surface-2);
}

.comment-bubble strong {
  font-size: 12px;
}

.comment-bubble p {
  margin: 2px 0 0;
  color: #d5d9e4;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.comment-form,
.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-form input {
  min-height: 42px;
}

.person-tags {
  display: flex;
  min-height: 25px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 13px;
}

.person-tags span,
.count-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(117, 101, 255, 0.13);
  color: #b7a9ff;
  font-size: 10px;
}

.person-card .btn:disabled {
  cursor: default;
  opacity: 0.65;
}

.results-summary {
  margin: -10px 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title-row .section-title {
  margin: 0;
}

.profile-cover.has-upload {
  background-position: center;
  background-size: cover;
}

.avatar[style*="background-image"] {
  background-position: center;
  background-size: cover;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.detail-item {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.detail-item span,
.detail-item strong {
  display: block;
}

.detail-item span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.detail-item strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.profile-modal {
  max-height: min(90vh, 850px);
  overflow-y: auto;
}

.upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.upload-tile {
  display: grid;
  min-height: 105px;
  place-items: center;
  padding: 12px;
  border: 1px dashed rgba(151, 139, 255, 0.35);
  border-radius: 15px;
  background: rgba(119, 101, 255, 0.06);
  color: #b9adff;
  cursor: pointer;
  text-align: center;
}

.upload-tile strong,
.upload-tile span {
  display: block;
  font-size: 12px;
}

.upload-tile span {
  color: var(--muted);
  font-size: 10px;
}

.demo-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
}

.demo-login strong {
  color: var(--text);
}

.messages-layout.card {
  width: min(1080px, calc(100% - 48px));
  margin: 34px auto;
}

.conversation {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.conversation:hover {
  background: rgba(255, 255, 255, 0.035);
}

.conversation > div:last-child {
  min-width: 0;
}

.conversation span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-panel {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr auto;
  background: rgba(10, 12, 20, 0.66);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.chat-head strong,
.chat-head span {
  display: block;
}

.chat-head span {
  color: var(--muted);
  font-size: 11px;
}

.mobile-chat-back {
  display: none;
}

.chat-messages {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  padding: 20px;
}

.chat-bubble {
  max-width: min(76%, 460px);
  align-self: flex-start;
  padding: 10px 13px;
  border-radius: 5px 16px 16px;
  background: var(--surface-2);
}

.chat-bubble.mine {
  align-self: flex-end;
  border-radius: 16px 5px 16px 16px;
  background: linear-gradient(135deg, #477de4, #7955d9);
}

.chat-bubble p {
  margin: 0;
  overflow-wrap: anywhere;
}

.chat-bubble span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  text-align: right;
}

.chat-intro {
  margin: auto;
  color: var(--muted);
  text-align: center;
}

.chat-form {
  padding: 13px;
  border-top: 1px solid var(--line);
}

.empty-state.compact {
  padding: 25px 18px;
}

.empty-state.compact .icon-wrap {
  width: 45px;
  height: 45px;
  margin-bottom: 10px;
}

.rules-modal .modal {
  width: min(520px, 100%);
}

.rules-intro {
  margin: -4px 0 18px;
  color: var(--muted);
}

.rules-list {
  display: grid;
  gap: 9px;
  margin-bottom: 19px;
}

.rules-list > div {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.rules-list strong,
.rules-list span {
  display: block;
}

.rules-list strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.rules-list span {
  color: var(--muted);
  font-size: 12px;
}

.rules-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(126, 112, 255, 0.2);
  border-radius: 14px;
  background: rgba(102, 87, 255, 0.06);
  color: #b8bfd0;
  font-size: 12px;
  cursor: pointer;
}

.rules-consent input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--purple);
}

.inline-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #ae92ff;
  font-weight: 750;
  cursor: pointer;
}

.trust-line {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.activity-strip {
  position: fixed;
  z-index: 25;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 19, 30, 0.94);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.activity-strip strong {
  font-size: 13px;
}

.safety-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 11px;
}

.text-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #747d91;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.text-action:hover {
  color: #b7a9ff;
}

.invite-code-list {
  display: grid;
  gap: 9px;
}

.invite-code-card,
.admin-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.invite-code-card:last-child,
.admin-row:last-child {
  border-bottom: 0;
}

.invite-code-card strong,
.invite-code-card span {
  display: block;
}

.invite-code-card strong {
  color: #c3b9ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.invite-code-card span,
.admin-row span {
  color: var(--muted);
  font-size: 10px;
}

.invite-code-card.inactive {
  opacity: 0.55;
}

.invite-tree-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.invite-tree-grid > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.018);
}

.invite-tree-grid > div > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
}

.invite-tree-grid .person-row + .person-row {
  margin-top: 10px;
}

.report-form {
  display: grid;
  gap: 16px;
}

.admin-layout {
  padding-bottom: 60px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.admin-stat {
  display: grid;
  gap: 3px;
  padding: 17px;
}

.admin-stat strong {
  font-size: 25px;
  letter-spacing: -0.04em;
}

.admin-stat span {
  color: var(--muted);
  font-size: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-invite-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 12px;
  margin: 14px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-layout > .section-card {
  margin-bottom: 18px;
}

.admin-row {
  justify-content: flex-start;
}

.admin-row > div:not(.avatar):first-child {
  min-width: 0;
  flex: 1;
}

.admin-row > div:not(.avatar) > strong,
.admin-row > div:not(.avatar) > span {
  display: block;
}

.admin-row p {
  margin: 4px 0 0;
  color: #c4cad7;
  font-size: 12px;
}

.admin-row .btn,
.admin-row .status-pill {
  margin-left: auto;
  flex: none;
}

.status-pill {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(85, 216, 156, 0.1);
  color: var(--success) !important;
  font-size: 9px !important;
  text-transform: uppercase;
}

.policy-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
}

.landing-policy {
  justify-content: flex-start;
}

.policy-page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.policy-card {
  margin-top: 28px;
  padding: clamp(22px, 5vw, 48px);
}

.policy-card h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 7vw, 62px);
  letter-spacing: -0.055em;
}

.policy-card h2 {
  margin-top: 26px;
  font-size: 18px;
}

.policy-card p {
  color: #aeb5c5;
}

.setting-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #cbd1de;
}

.setting-toggle input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--purple);
}

.account-action-row,
.moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.danger-btn {
  color: #ff9baa;
}

.security-note {
  margin: 15px 0 0;
  padding: 11px;
  border-radius: 12px;
  background: rgba(95, 112, 255, 0.07);
  color: #8994ab;
  font-size: 10px;
}

.chat-bubble-wrap {
  display: grid;
  align-self: flex-start;
  justify-items: start;
  gap: 3px;
}

.chat-bubble-wrap.mine {
  align-self: flex-end;
  justify-items: end;
}

.chat-bubble-wrap .text-action {
  padding: 0 5px;
}

.moderation-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.moderation-card:last-child {
  border-bottom: 0;
}

.moderation-card .section-title-row {
  align-items: flex-start;
}

.moderation-card strong,
.moderation-card span {
  display: block;
}

.moderation-card span,
.moderation-card p {
  color: var(--muted);
  font-size: 11px;
}

.evidence-box {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0c0f18;
}

.evidence-box p {
  margin: 5px 0 0;
  color: #d1d6e1;
  font-size: 13px;
}

.risk-pill {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9px !important;
  font-weight: 800;
  text-transform: uppercase;
}

.risk-low {
  background: rgba(85, 216, 156, 0.1);
  color: var(--success) !important;
}

.risk-medium {
  background: rgba(255, 184, 108, 0.12);
  color: #ffbf7a !important;
}

.risk-high,
.risk-critical {
  background: rgba(255, 112, 133, 0.12);
  color: var(--danger) !important;
}

.security-plan p {
  margin: 0;
  color: var(--muted);
}

.is-loading {
  pointer-events: none;
  opacity: 0.62;
}

.loading-state {
  padding: 18px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1050px) {
  .sidebar-safety {
    display: none;
  }
}

@media (max-width: 1050px) {
  :root {
    --sidebar: 84px;
  }

  .sidebar {
    align-items: center;
    padding-inline: 12px;
  }

  .sidebar .brand span:last-child,
  .nav-link span,
  .sidebar-profile > div,
  .sidebar .logout-copy {
    display: none;
  }

  .sidebar .brand {
    padding: 0;
  }

  .nav-link {
    width: 50px;
    justify-content: center;
    padding: 0;
  }

  .sidebar-profile {
    padding: 5px;
  }

  .app-layout {
    width: min(760px, calc(100% - 40px));
    grid-template-columns: 1fr;
  }

  .right-rail {
    display: none;
  }

  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 760px) {
  .landing-sections { grid-template-columns: 1fr; margin-top: 0; }
  .goal-row { grid-template-columns: 1fr; }
  .completion div { display: grid; }
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  button {
    min-height: 44px;
  }

  .btn-small {
    min-height: 44px;
  }

  body {
    background: var(--bg);
  }

  .landing-nav {
    width: calc(100% - 28px);
    padding: 18px 0;
  }

  .landing-nav .btn-ghost {
    display: none;
  }

  .hero {
    width: calc(100% - 28px);
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 55px 0 70px;
  }

  .hero-copy h1 {
    margin-top: 20px;
    font-size: clamp(45px, 15vw, 64px);
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .invite-box {
    display: grid;
  }

  .hero-visual {
    min-height: 470px;
  }

  .phone-preview {
    width: 275px;
  }

  .phone-screen {
    min-height: 480px;
  }

  .float-one {
    right: 0;
  }

  .float-two {
    left: 0;
  }

  .auth-page {
    display: block;
  }

  .auth-aside {
    display: none;
  }

  .auth-main {
    min-height: 100vh;
    padding: 32px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .app-main {
    margin-left: 0;
    padding-bottom: 76px;
  }

  .mobile-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 10, 18, 0.9);
    backdrop-filter: blur(18px);
  }

  .mobile-header .brand {
    font-size: 19px;
  }

  .bottom-nav {
    position: fixed;
    z-index: 30;
    display: grid;
    height: 70px;
    inset: auto 0 0;
    grid-template-columns: repeat(5, 1fr);
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(11, 13, 21, 0.94);
    backdrop-filter: blur(20px);
  }

  .bottom-nav .nav-link {
    display: grid;
    width: auto;
    min-height: auto;
    place-items: center;
    gap: 1px;
    padding: 3px;
    border-radius: 11px;
    font-size: 9px;
  }

  .bottom-nav .nav-link span {
    display: block;
  }

  .bottom-nav .nav-link .icon {
    width: 21px;
    height: 21px;
  }

  .app-layout,
  .app-layout.single {
    width: 100%;
    padding: 17px 12px 30px;
  }

  .page-heading {
    align-items: flex-start;
    margin-bottom: 17px;
  }

  .page-heading h1 {
    font-size: 26px;
  }

  .page-heading p {
    font-size: 13px;
  }

  .page-heading .btn-icon {
    display: none;
  }

  .card {
    border-radius: 18px;
    box-shadow: none;
  }

  .composer,
  .post-card {
    padding: 14px;
  }

  .composer-image-preview {
    margin-left: 0;
  }

  .composer-hint {
    display: none;
  }

  .post-options {
    gap: 0;
  }

  .post-options .post-more {
    width: 44px;
    height: 44px;
  }

  .post-media {
    min-height: 220px;
  }

  .media-label {
    font-size: 20px;
  }

  .people-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .person-card {
    padding: 14px 10px;
  }

  .profile-cover {
    height: 150px;
  }

  .profile-content {
    padding: 0 16px 20px;
  }

  .profile-top {
    margin-top: -42px;
  }

  .avatar-xl {
    width: 84px;
    height: 84px;
    border-radius: 25px;
    font-size: 25px;
  }

  .profile-tabs {
    overflow-x: auto;
  }

  .friend-row {
    align-items: flex-start;
  }

  .friend-actions {
    display: grid;
  }

  .messages-layout.card {
    display: block;
    width: 100%;
    min-height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .conversation-list {
    border-right: 0;
  }

  .chat-panel {
    display: none;
  }

  .messages-layout.chat-open .conversation-list {
    display: none;
  }

  .messages-layout.chat-open .chat-panel {
    display: grid;
    height: calc(100vh - 134px);
  }

  .mobile-chat-back {
    display: grid;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .profile-modal {
    max-height: calc(100vh - 24px);
  }

  .upload-row {
    grid-template-columns: 1fr 1fr;
  }

  .demo-login {
    align-items: flex-start;
    flex-direction: column;
  }

  .toast {
    right: 12px;
    bottom: 84px;
    left: 12px;
    text-align: center;
  }

  .activity-strip {
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .invite-tree-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-row,
  .invite-code-card {
    align-items: flex-start;
  }

  .admin-invite-form {
    grid-template-columns: 1fr;
  }

  .admin-row .btn,
  .invite-code-card .btn {
    min-height: 40px;
  }

  .moderation-actions .btn {
    flex: 1 1 42%;
  }
}

@media (max-width: 390px) {
  .people-grid {
    grid-template-columns: 1fr;
  }

  .post-actions {
    justify-content: space-between;
  }

  .action-btn {
    padding-inline: 7px;
    font-size: 12px;
  }
}
