@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* ===== Millowi base + tokens ===== */
:root {
  --primary-600: #9d4dff;
  --primary-700: #7b3ff0;

  --navy-950: #050308;
  --navy-900: #110b1b;
  --navy-800: #21142f;
  --navy-700: #382551;
  --navy-400: #8f81ab;
  --navy-300: #b9acd2;

  --accent-blue: #9b7bff;
  --accent-purple: #b05aff;
  --accent-teal: #14b8a6;
  --accent-orange: #f97316;

  --text: #f3f4f6;
  --muted: #9ca3af;

  --radius-lg: 0.75rem; /* ~rounded-xl */
  --radius-md: 0.5rem;  /* ~rounded-lg */
  --radius-full: 9999px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

html {
  background: var(--navy-950);
}

body {
  margin: 0;
  position: relative;
  isolation: isolate;
  background: transparent;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #08040d;
  background-image:
    linear-gradient(132deg, rgba(255, 255, 255, .026) 0%, rgba(255, 255, 255, 0) 20%),
    linear-gradient(42deg, rgba(182, 96, 255, .07) 0%, rgba(182, 96, 255, 0) 24%),
    linear-gradient(315deg, rgba(126, 78, 255, .064) 0%, rgba(126, 78, 255, 0) 22%),
    radial-gradient(ellipse 20rem 13rem at 18% 8%, rgba(186, 88, 255, .16), transparent 0 58%),
    radial-gradient(ellipse 24rem 15rem at 72% 14%, rgba(124, 67, 255, .13), transparent 0 58%),
    radial-gradient(ellipse 16rem 11rem at 84% 28%, rgba(224, 93, 255, .09), transparent 0 56%),
    radial-gradient(ellipse 40rem 19rem at 50% 0%, rgba(189, 139, 255, .045), transparent 0 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .024), rgba(255, 255, 255, .006) 20%, rgba(5, 3, 8, .18) 100%),
    linear-gradient(180deg, #21142f 0%, #120a1a 42%, #08040d 100%);
  background-repeat: no-repeat;
  pointer-events: none;
}

/* ===== Layout utilities (subset) ===== */
.min-h-screen { min-height: 100vh; }

.container { width: 100%; margin: 0 auto; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px){ .container { max-width: 1024px; } }
@media (min-width: 1280px){ .container { max-width: 1280px; } }

.mx-auto { margin-left: auto; margin-right: auto; }

.p-1 { padding: .25rem; }
.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.flex { display: flex; }
.inline { display: inline; }
.hidden { display: none; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }

.space-x-2 > * + * { margin-left: .5rem; }
.space-x-3 > * + * { margin-left: .75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }

.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Responsive helpers used in your HTML */
@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:inline { display: inline; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-1\/4 { width: 25%; }
  .lg\:w-2\/4 { width: 50%; }
}

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Width/height */
.w-full { width: 100%; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }   .h-8 { height: 2rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }  .h-12 { height: 3rem; }

.rounded-full { border-radius: var(--radius-full); }
.rounded-lg { border-radius: var(--radius-md); }
.rounded-xl { border-radius: var(--radius-lg); }

.border { border: 1px solid var(--navy-800); }
.border-b { border-bottom: 1px solid var(--navy-800); }
.border-t { border-top: 1px solid var(--navy-800); }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-24 { top: 6rem; }
.z-50 { z-index: 50; }

/* Typography */
.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

/* Colors (subset for your page) */
.text-white { color: #fff; }
.text-gray-100 { color: #f3f4f6; }
.text-navy-300 { color: var(--navy-300); }
.text-navy-400 { color: var(--navy-400); }
.bg-navy-950 { background: var(--navy-950); }
.bg-navy-900 { background: var(--navy-900); }
.bg-navy-800 { background: var(--navy-800); }
.bg-navy-700 { background: var(--navy-700); }

.bg-primary-600 { background: var(--primary-600); }
.bg-primary-700 { background: var(--primary-700); }

.text-accent-blue { color: var(--accent-blue); }
.text-accent-purple { color: var(--accent-purple); }
.text-accent-teal { color: var(--accent-teal); }
.text-accent-orange { color: var(--accent-orange); }
.bg-accent-orange { background: var(--accent-orange); }

/* Simple “shadow-lg” feel */
.shadow-lg { box-shadow: 0 10px 20px rgba(0,0,0,.25); }

/* Buttons */
button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
button:disabled { opacity: .6; cursor: not-allowed; }

/* Inputs */
input {
  font: inherit;
  color: inherit;
}

/* ===== keep your existing custom CSS below this line ===== */

body {
    font-family: 'Inter', sans-serif;
}

.scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: #334e68 #0a1929;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: #0a1929;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background-color: #334e68;
    border-radius: 3px;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.vote-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.community-tag {
    transition: all 0.2s ease;
}

.community-tag:hover {
    background-color: rgba(139, 92, 246, 0.2);
    transform: scale(1.05);
}

.nav-link.active {
    background-color: rgba(51, 78, 104, 0.3);
    border-left: 3px solid #3b82f6;
}

.dropdown-menu {
    animation: slideUp 0.2s ease-out;
}

.home-shell {
  max-width: 1240px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}

.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(24, 15, 38, .98), rgba(9, 6, 15, .99)),
    var(--navy-900);
  border-bottom: 1px solid rgba(172, 126, 255, .12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .58);
  backdrop-filter: blur(18px);
}

.legal-dock-shell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
  width: 280px;
  max-width: 100%;
  margin-left: auto;
  padding: 0 1rem 1.35rem;
}

.legal-dock-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .65rem 1rem;
}

.legal-dock-links a,
.legal-dock-copy {
  color: var(--navy-300);
}

.legal-dock-links a {
  text-decoration: none;
  font-size: .92rem;
}

.legal-dock-links a:hover {
  color: #fff;
}

.legal-dock-copy {
  margin: 0;
  font-size: .92rem;
  text-align: right;
}

.site-header .home-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1.45rem;
  max-width: 1640px;
}

body.home-page .home-shell {
  max-width: 1640px;
}

body.home-page .site-header {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.home-topbar-search {
  position: relative;
  display: block;
  min-height: 0;
  padding: .72rem 1rem;
  border: 1px solid rgba(172, 126, 255, .08);
  border-radius: 1.3rem;
  background:
    linear-gradient(180deg, rgba(38, 24, 62, .92), rgba(18, 12, 29, .96)),
    rgba(12, 9, 18, .98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
  backdrop-filter: blur(14px);
}

.home-topbar-search-inner {
  position: relative;
}

.home-topbar-search input {
  width: 100%;
  height: 3.15rem;
  padding: 0 3.5rem 0 1.1rem;
  border: 0;
  background: transparent;
  color: #f3f7ff;
  border-radius: 999px;
  font-size: .95rem;
  box-shadow: none;
}

.home-topbar-search input::placeholder {
  color: rgba(222, 226, 255, .7);
}

.home-topbar-search-submit {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(241, 245, 255, .92);
  cursor: pointer;
}

.home-topbar-actions {
  gap: .7rem;
  justify-self: end;
  align-self: center;
}

.home-topbar-chip,
.home-topbar-chip-summary {
  width: 4.15rem;
  height: 4.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(172, 126, 255, .08);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(38, 24, 62, .92), rgba(18, 12, 29, .96)),
    rgba(12, 9, 18, .98);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
  backdrop-filter: blur(14px);
}

.home-topbar-chip-summary {
  list-style: none;
  cursor: pointer;
}

.home-topbar-chip-summary::-webkit-details-marker {
  display: none;
}

.home-topbar-icon-chip {
  font-size: 1rem;
}

.home-topbar-avatar-chip .header-user-avatar {
  width: 2rem;
  height: 2rem;
}

.site-brand,
.site-actions,
.profile-head,
.community-left,
.composer-top,
.composer-bottom,
.feed-toolbar,
.post-meta,
.post-actions,
.online-row,
.trending-top {
  display: flex;
  align-items: center;
}

.site-brand {
  gap: .75rem;
  min-width: 0;
  justify-self: start;
  align-self: center;
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.flash-stack {
  padding: 1rem 1rem 0;
}

.flash-message {
  background: rgba(46, 194, 126, .14);
  border: 1px solid rgba(46, 194, 126, .4);
  color: #c9f5df;
  border-radius: .9rem;
  padding: .9rem 1rem;
}

.brand-mark,
.profile-avatar,
.online-avatar,
.promo-icon {
  border-radius: 9999px;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

body.home-page .brand-mark {
  width: 3.35rem;
  height: 3.35rem;
}

.brand-title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.85rem;
  line-height: 1.1;
}

.footer-link,
.post-meta a,
.community-name {
  color: var(--accent-blue);
}

.brand-subtitle,
.muted-copy,
.muted-small {
  color: var(--navy-300);
}

.brand-subtitle,
.muted-small {
  font-size: .75rem;
}

.site-search {
  flex: 1;
  position: relative;
  width: 100%;
}

.site-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy-400);
}

.site-search input,
.composer-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  border-radius: 9999px;
}

.site-search input {
  padding: .75rem 1rem .75rem 2.75rem;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + .55rem);
  left: 0;
  right: 0;
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: 1rem;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
  padding: .4rem;
  z-index: 40;
}

.search-suggestion-item,
.search-suggestion-empty {
  display: flex;
  gap: .8rem;
  padding: .8rem .9rem;
  border-radius: .8rem;
}

.search-suggestion-item {
  align-items: flex-start;
  text-decoration: none;
  color: #fff;
}

.search-suggestion-item:hover {
  background: var(--navy-800);
}

.search-suggestion-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: .35rem .55rem;
  border-radius: 9999px;
  background: rgba(79, 70, 229, .18);
  color: #c7d2fe;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.search-suggestion-copy {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.search-suggestion-copy strong,
.search-suggestion-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion-copy small,
.search-suggestion-empty {
  color: var(--navy-300);
}

.site-actions {
  gap: .75rem;
}

.header-icon-button {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: transparent;
  color: var(--navy-300);
}

.header-icon-button:hover {
  color: #fff;
}

.notification-toggle {
  list-style: none;
}

.notification-toggle::-webkit-details-marker {
  display: none;
}

.header-notification-dot {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: .45rem;
  height: .45rem;
  border-radius: 9999px;
  background: var(--accent-orange);
}

.header-user-menu {
  position: relative;
}

.header-user-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  cursor: pointer;
}

.header-user-toggle::-webkit-details-marker {
  display: none;
}

.header-user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex: 0 0 auto;
}

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

.header-user-name {
  font-weight: 500;
}

.header-user-toggle i:last-child {
  color: var(--navy-400);
  font-size: .8rem;
}

.header-dropdown {
  min-width: 12rem;
}

.notification-dropdown {
  width: min(24rem, calc(100vw - 2rem));
  padding: .55rem;
}

.notification-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .25rem .35rem .6rem;
}

.notification-mark-read {
  padding: 0;
  color: var(--accent-blue);
  font-size: .85rem;
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.notification-item {
  display: flex;
  gap: .75rem;
  text-decoration: none;
  color: #fff;
  padding: .75rem .8rem;
  border-radius: .75rem;
}

.notification-item:hover {
  background: var(--navy-800);
}

.notification-item.is-unread {
  background: rgba(79, 70, 229, .12);
}

.notification-item-copy {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.notification-item-copy small,
.notification-empty {
  color: var(--navy-300);
}

.notification-empty {
  margin: 0;
  padding: .8rem;
}

.primary-pill,
.ghost-pill,
.secondary-button,
.toolbar-icon,
.feed-tabs a,
.vote-arrow {
  text-decoration: none;
  transition: all .2s ease;
}

.primary-pill,
.ghost-pill,
.secondary-button,
.toolbar-icon,
.feed-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 9999px;
  padding: .7rem 1rem;
  color: #fff;
}

.primary-pill {
  background: var(--primary-600);
}

.primary-pill:hover {
  background: var(--primary-700);
}

.primary-pill.ghost-swap {
  background: var(--navy-800);
}

.primary-pill.ghost-swap:hover {
  background: var(--navy-700);
}

.primary-pill.compact,
.ghost-pill,
.toolbar-icon {
  padding: .55rem .95rem;
}

.ghost-pill,
.secondary-button,
.toolbar-icon,
.feed-tabs a {
  background:
    linear-gradient(180deg, rgba(50, 29, 82, .84), rgba(26, 15, 45, .92)),
    rgba(17, 11, 29, .96);
  border: 1px solid rgba(172, 126, 255, .08);
}

.ghost-pill:hover,
.secondary-button:hover,
.toolbar-icon:hover,
.feed-tabs a:hover {
  background:
    linear-gradient(180deg, rgba(66, 38, 107, .88), rgba(34, 20, 58, .94)),
    rgba(22, 14, 36, .98);
}

.home-main {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  gap: 1.5rem;
  padding: 1.5rem 1rem 2rem;
}

.page-shell {
  padding: 1.5rem 1rem 2rem;
}

.page-with-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
}

.page-shell.narrow {
  max-width: 860px;
}

.page-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--navy-300);
  font-size: .9rem;
}

.page-breadcrumbs a {
  color: var(--accent-blue);
  text-decoration: none;
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.community-detail-rail {
  margin-top: 2.35rem;
}

.ads-detail-rail {
  margin-top: 2.35rem;
}

.panel {
  background:
    radial-gradient(circle at top left, rgba(168, 91, 255, .08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(111, 61, 244, .08), transparent 24%),
    linear-gradient(180deg, rgba(34, 20, 54, .84), rgba(16, 10, 26, .9)),
    rgba(10, 8, 15, .96);
  border: 1px solid rgba(172, 126, 255, .08);
  border-radius: .95rem;
  padding: 1.25rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
}

.hero-panel,
.form-panel,
.auth-panel,
.comments-panel {
  padding: 1.5rem;
}

.hero-copy h1 {
  margin: 0 0 .5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
}

.hero-copy p {
  margin: 0;
  color: var(--navy-300);
  max-width: 46rem;
  line-height: 1.6;
}

.hero-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.community-hero-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.community-hero-avatar {
  width: 4.75rem;
  height: 4.75rem;
  font-size: 1.8rem;
}

.community-hero-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.centered {
  text-align: center;
}

.profile-avatar {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #9d4dff, #6a3ef0);
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.profile-avatar.small {
  width: 2.5rem;
  height: 2.5rem;
}

.profile-avatar img,
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-head {
  gap: .85rem;
  margin-bottom: 1rem;
}

.profile-head h2,
.panel h3,
.panel-title,
.post-card-real h3 {
  margin: 0;
}

.profile-head p,
.promo-panel p,
.trending-item p {
  margin: .2rem 0 0;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
  text-align: center;
}

.profile-stats strong,
.vote-score {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.profile-stats span {
  display: block;
  color: var(--navy-400);
  font-size: .75rem;
}

.full-width {
  width: 100%;
}

.panel-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.05rem;
}

.panel-title i {
  color: var(--accent-orange);
}

.community-list,
.feed-list,
.trending-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.quick-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem;
  border-radius: .85rem;
  background:
    linear-gradient(180deg, rgba(41, 24, 70, .86), rgba(19, 11, 33, .92)),
    rgba(12, 9, 20, .96);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.quick-link-row span {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}

.quick-link-row i:last-child {
  color: var(--navy-400);
  font-size: .8rem;
}

.quick-link-row:hover {
  background:
    linear-gradient(180deg, rgba(57, 33, 96, .88), rgba(28, 17, 50, .94)),
    rgba(18, 11, 29, .97);
  transform: translateX(2px);
}

.community-row,
.trending-item {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  text-decoration: none;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(41, 24, 70, .82), rgba(19, 11, 33, .88)),
    rgba(12, 9, 20, .94);
  border-radius: .75rem;
  padding: .85rem;
}

.community-row:hover,
.trending-item:hover {
  background:
    linear-gradient(180deg, rgba(57, 33, 96, .86), rgba(28, 17, 50, .92)),
    rgba(18, 11, 29, .96);
}

.community-left {
  gap: .75rem;
}

.community-avatar,
.community-hero-avatar {
  border-radius: 9999px;
  overflow: hidden;
  background: linear-gradient(135deg, #9d4dff, #6a3ef0);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex: 0 0 auto;
}

.community-avatar {
  width: 2.2rem;
  height: 2.2rem;
}

.community-avatar.small {
  width: 1.7rem;
  height: 1.7rem;
}

.community-avatar img,
.community-hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-card-head {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.community-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  display: inline-block;
}

.community-dot-1 { background: #7c5cff; }
.community-dot-2 { background: #25a7ff; }
.community-dot-3 { background: #ff9f1c; }
.community-dot-4 { background: #2ec27e; }

.footer-link {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  font-weight: 600;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.community-tag {
  display: inline-flex;
  align-items: center;
  padding: .45rem .7rem;
  background:
    linear-gradient(180deg, rgba(50, 29, 82, .82), rgba(26, 15, 45, .9)),
    rgba(17, 11, 29, .94);
  border-radius: 9999px;
  font-size: .82rem;
  color: #fff;
  text-decoration: none;
}

.composer-panel {
  margin-bottom: 1rem;
}

.composer-top {
  gap: .75rem;
  margin-bottom: 1rem;
}

.composer-input {
  display: block;
  padding: .9rem 1rem;
  text-decoration: none;
  color: var(--navy-300);
}

.composer-bottom,
.feed-toolbar,
.trending-top {
  justify-content: space-between;
}

.composer-tools,
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--navy-300);
  font-size: .9rem;
}

.feed-toolbar {
  margin-bottom: 1rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.settings-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.settings-card-head h2 {
  margin: 0;
}

.settings-card-copy {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  color: var(--navy-300);
  line-height: 1.6;
}

.settings-card-copy p {
  margin: 0;
}

.premium-page {
  gap: 1.5rem;
}

.premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 1.25rem;
  align-items: stretch;
  background:
    radial-gradient(circle at top left, rgba(178, 95, 255, .14), transparent 35%),
    radial-gradient(circle at bottom right, rgba(124, 67, 255, .18), transparent 45%),
    var(--navy-900);
}

.premium-hero-copy h1,
.premium-comparison h2,
.premium-feature-card h2,
.premium-column h3 {
  margin: 0;
}

.premium-kicker {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  margin-bottom: .85rem;
  border-radius: 9999px;
  background: rgba(176, 90, 255, .14);
  color: #d8b2ff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.premium-hero-copy p,
.premium-feature-card p,
.premium-price-card p,
.premium-column li {
  color: var(--navy-300);
  line-height: 1.7;
}

.premium-price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(172, 126, 255, .08);
  background: rgba(12, 9, 20, .74);
}

.premium-price-top strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1.1;
}

.premium-price-top strong span {
  font-size: 1rem;
  color: var(--navy-300);
}

.premium-badge {
  display: inline-flex;
  margin-bottom: .8rem;
  padding: .32rem .65rem;
  border-radius: 9999px;
  background: rgba(176, 90, 255, .14);
  color: #d8b2ff;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.premium-grid,
.premium-columns {
  display: grid;
  gap: 1rem;
}

.premium-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-feature-card {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.premium-feature-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: .9rem;
  background: linear-gradient(135deg, rgba(176, 90, 255, .28), rgba(109, 62, 240, .28));
  color: #fff;
}

.premium-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.premium-column {
  border: 1px solid rgba(172, 126, 255, .08);
  border-radius: .95rem;
  padding: 1.1rem;
  background: rgba(12, 9, 20, .7);
}

.premium-column-highlight {
  border-color: rgba(176, 90, 255, .18);
  background: linear-gradient(180deg, rgba(176, 90, 255, .08), rgba(109, 62, 240, .08));
}

.premium-list {
  margin: .9rem 0 0;
  padding-left: 1.15rem;
}

.premium-list li + li {
  margin-top: .65rem;
}

.legal-panel {
  padding: 1.6rem;
}

.legal-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--navy-300);
  line-height: 1.7;
}

.legal-copy h2 {
  margin: .6rem 0 0;
  color: #fff;
  font-size: 1.08rem;
}

.legal-copy p {
  margin: 0;
}

.error-page-shell {
  min-height: calc(100vh - 11rem);
  display: grid;
  align-items: center;
}

.error-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
  padding: clamp(2rem, 6vw, 4.5rem);
}

.error-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  min-height: 3.25rem;
  padding: .55rem 1.25rem;
  border: 1px solid rgba(172, 126, 255, .16);
  border-radius: 9999px;
  background:
    linear-gradient(135deg, rgba(166, 76, 255, .2), rgba(20, 184, 166, .12)),
    rgba(17, 11, 29, .9);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.error-copy p {
  margin-inline: auto;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .85fr);
  gap: 1.5rem;
  align-items: start;
}

.search-main,
.search-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.search-section-head h2 {
  margin: 0;
}

.search-side-card {
  align-items: flex-start;
}

.search-side-card strong {
  display: block;
}

.search-side-copy {
  margin: .2rem 0 0;
  line-height: 1.5;
}

.list-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list-card-copy {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-height: 6rem;
}

.list-card-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.list-card h2,
.comments-panel h2 {
  margin: 0 0 .35rem;
}

.list-card h2 a {
  text-decoration: none;
  color: #fff;
}

.feed-tabs {
  display: inline-flex;
  gap: .35rem;
  background: rgba(11, 8, 18, .88);
  padding: .25rem;
  border-radius: .8rem;
}

.feed-tabs a.active {
  background: linear-gradient(135deg, rgba(174, 85, 255, .86), rgba(111, 61, 244, .74));
  border-color: transparent;
}

.post-card-real {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  background:
    radial-gradient(circle at top right, rgba(150, 79, 255, .08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(211, 93, 255, .04), transparent 22%),
    linear-gradient(180deg, rgba(39, 23, 64, .86), rgba(18, 11, 30, .92)),
    rgba(11, 8, 18, .97);
  border: 1px solid rgba(172, 126, 255, .08);
  border-radius: .95rem;
  overflow: hidden;
  transition: all .25s ease;
}

.post-card-real.no-vote-rail {
  grid-template-columns: minmax(0, 1fr);
}

.post-card-real:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.clickable-post-card {
  cursor: pointer;
}

.vote-rail {
  background: rgba(7, 5, 12, .9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem 0;
}

.vote-arrow {
  color: var(--navy-300);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
}

.vote-arrow:hover {
  background: rgba(174, 85, 255, 0.1);
  color: #c796ff;
}

.vote-arrow.down:hover {
  color: var(--accent-orange);
}

.vote-arrow.active-up {
  color: var(--accent-blue);
}

.vote-arrow.active-down {
  color: var(--accent-orange);
}

.post-body {
  padding: 1.2rem 1.25rem;
}

.compact-post .vote-rail {
  justify-content: center;
}

.detail-card .post-body {
  padding: 1.4rem 1.5rem;
}

.detail-title {
  margin: .2rem 0 1rem;
  font-size: 1.8rem;
  line-height: 1.25;
}

.detail-content {
  color: var(--navy-300);
  line-height: 1.7;
}

.detail-actions {
  margin-top: 1.25rem;
}

.content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.post-meta {
  flex-wrap: wrap;
  gap: .55rem;
  color: var(--navy-400);
  font-size: .82rem;
  margin-bottom: .7rem;
}

.post-meta.with-avatar,
.comment-meta.with-avatar {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  flex: 0 0 auto;
}

.author-avatar.tiny {
  width: 1.7rem;
  height: 1.7rem;
}

.community-pill {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 9999px;
  background: rgba(79, 70, 229, .2);
  color: #c7d2fe;
  text-decoration: none;
}

.color-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.community-style-preview {
  padding: 1rem;
  border: 1px solid rgba(51, 78, 104, .6);
  border-radius: .85rem;
  background: rgba(16, 42, 67, .45);
}

input[type="color"] {
  min-height: 3rem;
  padding: .35rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 9999px;
  background: rgba(249, 115, 22, .18);
  color: #fdba74;
}

.post-card-real h3 a,
.post-actions a,
.trending-item,
.community-row {
  color: #fff;
}

.post-card-real h3 a {
  text-decoration: none;
}

.post-excerpt {
  color: var(--navy-300);
  line-height: 1.6;
  margin: .8rem 0 1rem;
}

.post-media {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1rem;
  border-radius: .85rem;
  overflow: hidden;
  border: 1px solid rgba(51, 78, 104, .6);
  background: rgba(16, 42, 67, .35);
}

.post-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.detail-media img {
  max-height: min(70vh, 720px);
}

.post-actions a,
.share-post-button {
  text-decoration: none;
  color: var(--navy-300);
}

.post-actions a:hover,
.share-post-button:hover {
  color: #fff;
}

.reaction-row {
  align-items: center;
}

.reaction-score {
  color: #fff;
  font-weight: 700;
  padding: 0 .2rem;
}

.inline-action-form {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.reaction-button {
  color: var(--navy-300);
  padding: 0;
}

.share-post-button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.share-post-button.is-copied {
  color: #fff;
}

.reaction-button:hover {
  color: #fff;
}

.reaction-button.is-active {
  color: #fff;
}

.reaction-button.is-active i {
  color: #fff;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-block {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.field-block small {
  color: var(--navy-400);
}

.community-avatar-preview {
  margin-top: .75rem;
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(51, 78, 104, .6);
}

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

.post-image-preview {
  margin-top: .75rem;
  max-width: 24rem;
  border-radius: .85rem;
  overflow: hidden;
  border: 1px solid rgba(51, 78, 104, .6);
}

.post-image-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.form-actions {
  display: flex;
  gap: .75rem;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.comment-card {
  background: rgba(36, 59, 83, .35);
  border: 1px solid rgba(51, 78, 104, .6);
  border-radius: .85rem;
  padding: 1rem;
}

.comment-depth-1,
.comment-depth-2,
.comment-depth-3,
.comment-depth-4 {
  position: relative;
}

.comment-depth-1 { margin-left: 2rem; }
.comment-depth-2 { margin-left: 4rem; }
.comment-depth-3 { margin-left: 6rem; }
.comment-depth-4 { margin-left: 8rem; }

.comment-depth-1::before,
.comment-depth-2::before,
.comment-depth-3::before,
.comment-depth-4::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: rgba(79, 70, 229, .35);
  border-radius: 999px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--navy-400);
  margin-bottom: .5rem;
}

.comment-meta a {
  color: var(--accent-blue);
  text-decoration: none;
}

.comment-meta-text {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.comment-body {
  color: var(--navy-300);
  line-height: 1.6;
}

.comment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: .9rem;
  gap: .9rem;
}

.comment-reply-button {
  color: var(--navy-300);
  padding: 0;
}

.comment-reply-button:hover {
  color: #fff;
}

.reply-form {
  margin-top: 1rem;
  padding: .9rem;
  border-radius: .85rem;
  border: 1px solid rgba(51, 78, 104, .5);
  background: rgba(16, 42, 67, .45);
}

.reply-form[hidden] {
  display: none !important;
}

.inline-report {
  margin-top: .7rem;
}

.text-link-button {
  padding: 0;
  background: none;
  color: var(--accent-blue);
}

.action-menu {
  position: relative;
}

.action-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  color: var(--navy-300);
  cursor: pointer;
}

.action-toggle::-webkit-details-marker {
  display: none;
}

.action-toggle:hover {
  background: var(--navy-800);
  color: #fff;
}

.action-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + .35rem);
  min-width: 11rem;
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: .85rem;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
  padding: .4rem;
  z-index: 20;
}

.action-dropdown a,
.action-dropdown button,
.action-button {
  display: block;
  width: 100%;
  text-align: left;
  color: #fff;
  text-decoration: none;
  padding: .7rem .85rem;
  border-radius: .6rem;
}

.action-dropdown a:hover,
.action-dropdown button:hover,
.action-button:hover {
  background: var(--navy-800);
}

.report-modal {
  width: min(100%, 32rem);
  border: 1px solid var(--navy-700);
  border-radius: 1rem;
  background: var(--navy-900);
  color: #fff;
  padding: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.report-modal::backdrop {
  background: rgba(10, 25, 41, .7);
}

.modal-shell {
  margin: 0;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-head h2 {
  margin: 0;
}

.modal-close {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  color: var(--navy-300);
}

.modal-close:hover {
  background: var(--navy-800);
  color: #fff;
}

.auth-form p {
  margin: 0;
}

.error-copy {
  color: var(--accent-orange);
  margin: 0;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--navy-700);
  background: var(--navy-800);
  color: #fff;
  border-radius: .85rem;
  padding: .85rem 1rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .16);
}

.online-row {
  gap: .75rem;
  margin-bottom: 1rem;
}

.online-avatar {
  width: 2rem;
  height: 2rem;
  display: inline-block;
}

.online-avatar.green { background: linear-gradient(135deg, #2ec27e, var(--accent-teal)); }
.online-avatar.purple { background: linear-gradient(135deg, var(--primary-600), var(--accent-purple)); }
.online-avatar.blue { background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal)); }
.online-avatar.orange { background: linear-gradient(135deg, var(--accent-orange), #fbbf24); }
.online-avatar.pink { background: linear-gradient(135deg, #ec4899, #a855f7); }

.rules-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--navy-300);
}

.rules-list li + li {
  margin-top: .75rem;
}

.trending-item {
  display: block;
}

.promo-panel {
  text-align: center;
  background: linear-gradient(180deg, rgba(36, 59, 83, .95), rgba(16, 42, 67, 1));
}

.profile-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.profile-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.profile-hero-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  flex: 0 0 auto;
}

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

.profile-social-stats {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-stat {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .75rem;
  border-radius: 9999px;
  background: rgba(36, 59, 83, .55);
  color: var(--navy-300);
}

.social-stat strong {
  color: #fff;
}

.promo-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin: 0 auto .9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-purple));
}

@media (max-width: 1100px) {
  .home-main {
    grid-template-columns: 1fr;
  }

  .page-with-rail {
    grid-template-columns: 1fr;
  }

  .community-detail-rail {
    margin-top: 0;
  }

  .ads-detail-rail {
    margin-top: 0;
  }

  .moderation-detail-rail,
  .messaging-detail-rail {
    margin-top: 0;
  }

  .search-layout {
    grid-template-columns: 1fr;
  }

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

  .premium-hero,
  .premium-grid,
  .premium-columns {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-hero {
    flex-direction: column;
  }

  .site-header .home-shell {
    flex-wrap: wrap;
  }

  .site-search {
    order: 3;
    width: 100%;
  }

  .color-field-grid {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 1200px) {
  .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .post-card-real {
    grid-template-columns: 1fr;
  }

  .vote-rail {
    flex-direction: row;
    justify-content: center;
    padding: .75rem;
  }

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

  .legal-dock-shell,
  .legal-dock-copy {
    width: 100%;
    margin-left: 0;
    align-items: flex-start;
    text-align: left;
  }

  .legal-dock-links {
    justify-content: flex-start;
  }
}

.profile-image-editor-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(51, 78, 104, .6);
  border-radius: .95rem;
  background: rgba(16, 42, 67, .4);
}

.profile-image-editor-preview {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.profile-image-editor-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-image-editor-copy {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 0;
}

.profile-image-editor-copy strong,
.profile-image-editor-copy p {
  margin: 0;
}

.profile-image-editor-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.upload-button {
  cursor: pointer;
}

.profile-image-editor input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.avatar-remove-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--navy-300);
}

.avatar-remove-toggle input[type="checkbox"] {
  width: auto;
  margin: 0;
}

@media (max-width: 1100px) {
  .profile-image-editor-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.profile-account-badges {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin: .8rem 0 0;
}

.ads-dashboard {
  gap: 1.5rem;
}

.ads-hero-panel,
.ads-form-panel,
.ads-list-panel,
.ads-side-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(172, 126, 255, .1);
  background:
    radial-gradient(circle at top left, rgba(196, 99, 255, .12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(111, 61, 244, .1), transparent 28%),
    linear-gradient(180deg, rgba(36, 21, 58, .88), rgba(17, 10, 28, .94)),
    rgba(11, 8, 17, .97);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .42);
  backdrop-filter: blur(18px);
}

.ads-hero-panel::before,
.ads-form-panel::before,
.ads-list-panel::before,
.ads-side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), transparent 42%);
  pointer-events: none;
}

.ads-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .8fr);
  gap: 1.25rem;
  align-items: stretch;
  min-height: 250px;
}

.ads-hero-copy,
.ads-hero-aside,
.ads-form-group,
.ads-campaign-card,
.ads-side-card {
  position: relative;
  z-index: 1;
}

.ads-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: .95rem;
  padding: .35rem .75rem;
  border-radius: 9999px;
  background: rgba(176, 90, 255, .16);
  color: #dab8ff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ads-kicker.subdued {
  background: rgba(172, 126, 255, .12);
  color: #cfc3ff;
}

.ads-hero-copy h1,
.ads-section-head h2,
.ads-group-head h3 {
  margin: 0;
}

.ads-hero-aside {
  display: grid;
  gap: 1rem;
}

.ads-stat-card,
.ads-orbital-card,
.ads-form-group {
  border: 1px solid rgba(172, 126, 255, .12);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(43, 25, 71, .7), rgba(22, 13, 37, .82)),
    rgba(14, 9, 23, .9);
  backdrop-filter: blur(14px);
}

.ads-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .45rem;
  padding: 1.25rem;
  min-height: 132px;
}

.ads-stat-label,
.ads-section-chip,
.ads-mini-pill,
.ads-action-note {
  color: var(--navy-300);
}

.ads-stat-card strong {
  font-size: 2.5rem;
  line-height: 1;
  color: #fff;
}

.ads-stat-card p,
.ads-group-head p {
  margin: 0;
  color: var(--navy-300);
  line-height: 1.6;
}

.ads-orbital-card {
  position: relative;
  min-height: 132px;
}

.ads-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(.2px);
}

.ads-orb-primary {
  inset: 18% auto auto 16%;
  width: 4.5rem;
  height: 4.5rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .78), rgba(176, 90, 255, .92) 52%, rgba(111, 61, 244, .25) 100%);
  box-shadow: 0 0 50px rgba(176, 90, 255, .32);
}

.ads-orb-secondary {
  inset: auto 18% 18% auto;
  width: 3.4rem;
  height: 3.4rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .72), rgba(155, 123, 255, .9) 55%, rgba(91, 48, 178, .2) 100%);
  box-shadow: 0 0 44px rgba(155, 123, 255, .26);
}

.ads-orb-tertiary {
  inset: 24% 20% auto auto;
  width: .95rem;
  height: .95rem;
  background: rgba(218, 184, 255, .95);
  box-shadow: 0 0 24px rgba(176, 90, 255, .42);
}

.ads-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ads-section-chip,
.ads-mini-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(172, 126, 255, .14);
  background:
    linear-gradient(180deg, rgba(50, 29, 82, .72), rgba(26, 15, 45, .86)),
    rgba(17, 11, 29, .9);
}

.ads-section-chip {
  padding: .5rem .85rem;
  font-size: .82rem;
  white-space: nowrap;
}

.ads-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ads-form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
}

.ads-form-group-wide {
  grid-column: 1 / -1;
}

.ads-group-head {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.ads-group-head h3,
.ads-campaign-card h3 {
  font-size: 1.02rem;
}

.ads-form-panel .field-block label {
  color: #f0e9ff;
  font-size: .92rem;
  font-weight: 600;
}

.ads-form-panel input,
.ads-form-panel textarea,
.ads-form-panel select {
  background:
    linear-gradient(180deg, rgba(24, 15, 38, .76), rgba(11, 8, 18, .9)),
    rgba(11, 8, 18, .96);
  border-color: rgba(172, 126, 255, .14);
  color: #f7f3ff;
}

.ads-form-panel input:focus,
.ads-form-panel textarea:focus,
.ads-form-panel select:focus {
  border-color: rgba(176, 90, 255, .5);
  box-shadow: 0 0 0 3px rgba(176, 90, 255, .12);
}

.ads-action-note {
  align-self: center;
  font-size: .88rem;
}

.ads-campaign-grid {
  gap: 1rem;
}

.ads-campaign-card {
  padding: 1.15rem;
  border-radius: 1.1rem;
  border-color: rgba(172, 126, 255, .12);
  background:
    radial-gradient(circle at top right, rgba(150, 79, 255, .08), transparent 26%),
    linear-gradient(180deg, rgba(39, 23, 64, .74), rgba(18, 11, 30, .88)),
    rgba(11, 8, 18, .94);
}

.ads-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid rgba(172, 126, 255, .1);
}

.ads-mini-pill {
  padding: .35rem .65rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ads-empty-state {
  border-style: dashed;
}

.ads-side-card {
  padding: 1.35rem;
}

.ads-side-feature {
  background:
    radial-gradient(circle at top left, rgba(198, 96, 255, .12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(132, 75, 255, .12), transparent 38%),
    linear-gradient(180deg, rgba(39, 23, 66, .88), rgba(19, 11, 32, .94)),
    rgba(12, 9, 20, .97);
}

.moderation-detail-rail {
  margin-top: 2.35rem;
}

.moderation-tabs {
  width: fit-content;
}

.moderation-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.moderation-card h2,
.moderation-card h3 {
  margin: 0;
}

.moderation-report-details,
.moderation-target {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(172, 126, 255, .1);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(30, 18, 50, .74), rgba(14, 9, 24, .86)),
    rgba(12, 9, 20, .94);
}

.moderation-target {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.moderation-target p {
  margin: 0;
}

.moderation-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}

.moderation-actions form {
  margin: 0;
}

.messaging-detail-rail {
  margin-top: 2.35rem;
}

.message-thread-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.message-thread-card:hover {
  transform: translateY(-2px);
  border-color: rgba(172, 126, 255, .22);
}

.message-thread-copy {
  min-width: 0;
}

.message-thread-copy h2,
.message-thread-copy p {
  margin: 0;
}

.message-thread-copy p,
.message-bubble-meta small {
  color: var(--navy-300);
}

.message-conversation-head {
  align-items: center;
}

.message-conversation-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.message-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.message-bubble {
  max-width: min(75%, 42rem);
  align-self: flex-start;
  padding: .9rem 1rem;
  border: 1px solid rgba(172, 126, 255, .1);
  border-radius: 1rem 1rem 1rem .25rem;
  background:
    linear-gradient(180deg, rgba(35, 22, 58, .86), rgba(17, 11, 29, .94)),
    rgba(12, 9, 20, .96);
}

.message-bubble.mine {
  align-self: flex-end;
  border-radius: 1rem 1rem .25rem 1rem;
  background:
    linear-gradient(135deg, rgba(166, 76, 255, .92), rgba(106, 62, 240, .92)),
    var(--primary-600);
}

.message-bubble-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .4rem;
  font-size: .85rem;
}

.message-bubble p {
  margin: 0;
  line-height: 1.55;
}

.message-compose-form {
  padding-top: 1rem;
  border-top: 1px solid rgba(172, 126, 255, .1);
}

.home-main-blend {
  position: relative;
  gap: 1.75rem;
}

.home-main-blend::before,
.home-main-blend::after {
  display: none;
}

.home-sidebar-blend,
.home-feed-blend {
  position: relative;
  z-index: 1;
}

.home-sidebar-blend {
  gap: 1.2rem;
}

.blend-sidebar-block {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.blend-section-label {
  margin: 0;
  color: #aeb8e7;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.blend-panel,
.blend-post-card,
.blend-toolbar,
.home-main-blend .feed-tabs,
.home-main-blend .site-search input {
  backdrop-filter: blur(18px);
}

.blend-panel,
.blend-post-card,
.blend-toolbar {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(172, 126, 255, .08);
  background:
    radial-gradient(circle at top left, rgba(168, 91, 255, .08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(111, 61, 244, .1), transparent 24%),
    linear-gradient(180deg, rgba(34, 20, 54, .84), rgba(16, 10, 26, .9)),
    rgba(10, 8, 15, .96);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .44);
}

.blend-panel::before,
.blend-post-card::before,
.blend-toolbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .06), transparent 38%);
  pointer-events: none;
}

.blend-profile-panel {
  background:
    radial-gradient(circle at top left, rgba(196, 99, 255, .1), transparent 30%),
    radial-gradient(circle at bottom right, rgba(113, 66, 255, .08), transparent 26%),
    linear-gradient(180deg, rgba(41, 24, 64, .88), rgba(20, 12, 31, .92)),
    rgba(13, 9, 20, .97);
  border-radius: 1.45rem;
  padding: 1.45rem;
  border-color: rgba(172, 126, 255, .08);
}

.blend-side-panel {
  background:
    radial-gradient(circle at top right, rgba(151, 81, 255, .08), transparent 28%),
    radial-gradient(circle at top left, rgba(205, 97, 255, .06), transparent 26%),
    linear-gradient(180deg, rgba(36, 21, 58, .86), rgba(18, 11, 28, .92)),
    rgba(11, 8, 17, .97);
  border-radius: 1.45rem;
  border-color: rgba(172, 126, 255, .08);
}

.blend-profile-panel .profile-head {
  align-items: flex-start;
}

.blend-profile-panel .profile-avatar {
  width: 5rem;
  height: 5rem;
}

.blend-profile-panel .secondary-button {
  min-height: 3rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(81, 47, 147, .92), rgba(54, 31, 99, .96)),
    rgba(42, 24, 78, .98);
  border: 1px solid rgba(196, 142, 255, .12);
  color: #f7fbff;
  box-shadow: 0 10px 26px rgba(12, 20, 44, .2);
}

.blend-profile-panel .secondary-button:hover {
  background:
    linear-gradient(180deg, rgba(100, 61, 178, .96), rgba(67, 40, 124, .98)),
    rgba(55, 33, 101, 1);
}

.blend-composer-panel {
  padding: 1.1rem 1.35rem;
  border-radius: 2.1rem;
  background:
    radial-gradient(circle at top left, rgba(178, 95, 255, .09), transparent 16%),
    radial-gradient(circle at top right, rgba(120, 79, 255, .06), transparent 18%),
    linear-gradient(180deg, rgba(42, 25, 67, .86), rgba(20, 12, 31, .92)),
    rgba(13, 9, 21, .97);
  border-color: rgba(172, 126, 255, .09);
}

.blend-composer-glow {
  position: absolute;
  top: -3.5rem;
  right: 2rem;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(139, 92, 246, .34), transparent 68%);
  pointer-events: none;
}

.blend-composer-panel .composer-top {
  gap: 1.15rem;
  margin-bottom: 0;
  min-height: 5rem;
}

.blend-composer-panel .composer-top-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 0;
  flex-wrap: nowrap;
}

.blend-composer-brand {
  position: relative;
  width: 3.7rem;
  height: 3.7rem;
  flex: 0 0 auto;
  border-radius: 9999px;
  background: linear-gradient(145deg, #1f54e5, #132885 72%);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .04);
}

.blend-brand-dot {
  position: absolute;
  border-radius: 9999px;
}

.blend-brand-dot-a {
  top: .48rem;
  left: .5rem;
  width: 1.1rem;
  height: 1.1rem;
  background: #3d97ff;
}

.blend-brand-dot-b {
  right: .42rem;
  bottom: .5rem;
  width: .88rem;
  height: .88rem;
  background: #ff3b7f;
}

.home-main-blend .composer-input {
  background: transparent;
  border: 0;
  outline: none;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, .96);
  font-size: 1.05rem;
  width: 100%;
  min-width: 0;
}

.home-main-blend .composer-input::placeholder {
  color: rgba(255, 255, 255, .78);
}

.home-main-blend .composer-input:focus,
.home-main-blend .composer-input:focus-visible {
  outline: none;
  box-shadow: none;
}

.home-main-blend .composer-input:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.blend-composer-panel .composer-bottom {
  justify-content: flex-end;
  margin-top: -3.95rem;
}

.blend-composer-panel .composer-bottom-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  margin-left: auto;
  flex: 0 0 auto;
  align-self: center;
}

.blend-composer-panel .composer-tools {
  gap: .75rem;
}

.blend-composer-panel .composer-tools-simple {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.blend-composer-panel .composer-tools span,
.blend-composer-panel .composer-bottom > .primary-pill {
  min-width: 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.05rem;
  background:
    linear-gradient(180deg, rgba(52, 30, 88, .84), rgba(29, 17, 50, .9)),
    rgba(20, 12, 34, .94);
  border: 1px solid rgba(172, 126, 255, .08);
  color: #edf3ff;
  font-size: .92rem;
  letter-spacing: .03em;
}

.blend-composer-panel .composer-tools-simple span,
.blend-composer-panel .composer-submit-simple {
  min-width: 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: .9rem;
}

.blend-composer-panel .composer-tools-simple span i,
.blend-composer-panel .composer-submit-simple i {
  font-size: .95rem;
}

.blend-composer-panel .composer-bottom > .primary-pill {
  background: linear-gradient(135deg, #8a5cff, #b458ff);
  color: #fff;
}

.blend-composer-panel .composer-submit-simple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: center;
  margin-left: 0;
  box-shadow: 0 8px 18px rgba(118, 92, 255, .18);
}

.blend-toolbar {
  padding: .45rem;
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(43, 25, 71, .74), rgba(22, 13, 37, .8)),
    rgba(14, 9, 23, .94);
  border-color: rgba(172, 126, 255, .08);
}

body.home-page .blend-toolbar {
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.home-page .blend-toolbar::before {
  display: none;
}

.blend-composer-head {
  margin: .1rem 0 .85rem;
}

.blend-composer-head h2 {
  margin: .35rem 0 0;
  font-size: 1.42rem;
}

.blend-feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: .1rem 0 .25rem;
}

.blend-feed-head h2 {
  margin: .35rem 0 0;
  font-size: 1.42rem;
}

.blend-head-link {
  color: var(--navy-300);
  text-decoration: none;
}

.blend-head-link:hover {
  color: #fff;
}

.home-main-blend .feed-tabs {
  background: transparent;
  padding: 0;
  gap: .5rem;
}

.home-main-blend .feed-tabs a,
.home-main-blend .toolbar-icon {
  background:
    linear-gradient(180deg, rgba(50, 29, 82, .86), rgba(26, 15, 45, .92)),
    rgba(17, 11, 29, .96);
  border: 1px solid rgba(172, 126, 255, .08);
  border-radius: .95rem;
  min-height: 3rem;
  color: #f2f6ff;
}

.home-main-blend .feed-tabs a.active {
  background: linear-gradient(135deg, rgba(174, 85, 255, .86), rgba(111, 61, 244, .74));
  border-color: transparent;
}

.blend-feed-list {
  gap: 1.2rem;
}

.blend-post-card {
  grid-template-columns: minmax(0, 1fr);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(150, 79, 255, .08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(211, 93, 255, .04), transparent 22%),
    linear-gradient(180deg, rgba(39, 23, 64, .86), rgba(18, 11, 30, .92)),
    rgba(11, 8, 18, .97);
  border-color: rgba(172, 126, 255, .08);
}

.blend-post-card .post-body {
  padding: 1.45rem;
}

.blend-post-card .post-meta {
  margin-bottom: .9rem;
}

.blend-post-card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
}

.blend-post-card .post-excerpt {
  font-size: .96rem;
  line-height: 1.75;
}

.blend-post-card .post-media {
  border-radius: 1.15rem;
  border-color: rgba(159, 179, 200, .16);
  background: rgba(10, 25, 41, .38);
}

.blend-post-card .post-actions {
  margin-top: 1.15rem;
  padding-top: .95rem;
  border-top: 1px solid rgba(159, 179, 200, .12);
}

.blend-promo-panel {
  text-align: left;
  background:
    radial-gradient(circle at top left, rgba(198, 96, 255, .09), transparent 32%),
    radial-gradient(circle at bottom right, rgba(132, 75, 255, .09), transparent 38%),
    linear-gradient(180deg, rgba(39, 23, 66, .88), rgba(19, 11, 32, .94)),
    rgba(12, 9, 20, .97);
  border-radius: 1.5rem;
  border-color: rgba(172, 126, 255, .08);
}

.blend-promo-panel .promo-icon {
  margin: 0 0 .9rem;
}

.home-main-blend .quick-link-row,
.home-main-blend .community-row,
.home-main-blend .trending-item,
.home-main-blend .community-tag {
  background:
    linear-gradient(180deg, rgba(41, 24, 70, .86), rgba(19, 11, 33, .92)),
    rgba(12, 9, 20, .96);
  border: 1px solid rgba(172, 126, 255, .08);
  border-radius: 1rem;
}

.home-main-blend .quick-link-row:hover,
.home-main-blend .community-row:hover,
.home-main-blend .trending-item:hover,
.home-main-blend .community-tag:hover {
  background:
    linear-gradient(180deg, rgba(57, 33, 96, .88), rgba(28, 17, 50, .94)),
    rgba(18, 11, 29, .97);
}

.home-main-blend .quick-link-row {
  padding: 1.1rem 1.15rem;
  font-size: 1rem;
  font-weight: 600;
}

.home-main-blend .quick-link-row span {
  gap: 0;
}

.home-main-blend .quick-link-row.active {
  background: linear-gradient(135deg, #a64cff, #6a3ef0);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(73, 34, 156, .34);
}

.home-main-blend .community-row,
.home-main-blend .trending-item {
  padding: 1rem;
}

.home-main-blend .panel-title {
  margin-bottom: 1rem;
}

.blend-community-panel .panel-title {
  font-size: 1.25rem;
}

.blend-library-block .community-list {
  gap: .85rem;
}

@media (max-width: 700px) {
  .blend-feed-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1100px) {
  .site-header .home-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header .site-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .home-topbar-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    flex-wrap: nowrap;
  }

  .site-header .home-topbar-search {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
  }
}

.menu-side-panel .blend-section-label {
  margin-bottom: .85rem;
}

@media (max-width: 700px) {
  .mobile-hidden-sidebar-section {
    display: none;
  }

  .site-header {
    position: relative;
  }

  .site-header .home-shell {
    gap: .85rem .75rem;
    padding: .85rem 1rem 1rem;
  }

  .site-header .site-actions {
    width: auto;
    flex-wrap: nowrap;
    gap: .45rem;
    justify-self: end;
  }

  .site-header .home-topbar-chip,
  .site-header .home-topbar-chip-summary {
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
  }

  .site-header .home-topbar-search {
    padding: .55rem .75rem;
  }

  .site-header .home-topbar-search-inner {
    min-height: 3.4rem;
  }

  body.home-page .brand-mark {
    width: 3rem;
    height: 3rem;
  }

  .brand-title {
    font-size: 1.65rem;
  }

  .home-main {
    padding-top: .75rem;
  }

  .blend-profile-panel,
  .blend-side-panel {
    border-radius: 1.15rem;
    padding: 1.1rem;
  }

  .home-main-blend .quick-link-row {
    padding: .95rem 1rem;
  }
}

@media (max-width: 380px) {
  .site-header .home-shell {
    column-gap: .5rem;
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .site-header .site-actions {
    gap: .3rem;
  }

  .site-header .home-topbar-chip,
  .site-header .home-topbar-chip-summary {
    width: 2.65rem;
    height: 2.65rem;
  }

  body.home-page .brand-mark {
    width: 2.65rem;
    height: 2.65rem;
  }

  .brand-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 1100px) {
  .ads-hero-panel,
  .ads-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ads-section-head,
  .ads-card-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .ads-action-note {
    align-self: flex-start;
  }

  .moderation-detail-rail,
  .messaging-detail-rail {
    margin-top: 0;
  }

  .blend-composer-panel .composer-bottom {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}
