@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap");

* { box-sizing: border-box; }

:root {
  --bg: #040a06;
  --bg-deep: #020603;
  --surface: rgba(9, 21, 12, .78);
  --surface-strong: rgba(12, 28, 16, .92);
  --panel: rgba(8, 22, 12, .74);
  --panel-strong: rgba(13, 31, 17, .9);
  --line: rgba(105, 255, 66, .32);
  --line-soft: rgba(105, 255, 66, .18);
  --line-hot: rgba(128, 255, 57, .68);
  --text: #edffe4;
  --text-strong: #f8fff2;
  --muted: #a7bc9b;
  --muted-soft: #7e9175;
  --accent: #80ff39;
  --accent-soft: rgba(128, 255, 57, .16);
  --acid: #c8ff42;
  --warning: #ffec66;
  --danger: #ff6b62;
  --glass-blur: blur(18px) saturate(122%);
  --shadow: 0 20px 60px rgba(0, 0, 0, .34), 0 0 34px rgba(109, 255, 52, .08);
  --shadow-strong: 0 24px 70px rgba(0, 0, 0, .45), 0 0 44px rgba(109, 255, 52, .14);
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  background:
    linear-gradient(rgba(1, 6, 2, .68), rgba(1, 6, 2, .84)),
    linear-gradient(90deg, rgba(1, 7, 3, .92) 0 11%, rgba(1, 7, 3, .2) 28% 72%, rgba(1, 7, 3, .9) 90% 100%),
    url("network-bg.jpg") center center / cover no-repeat fixed,
    linear-gradient(90deg, rgba(128, 255, 57, .105) 1px, transparent 1px),
    linear-gradient(rgba(128, 255, 57, .085) 1px, transparent 1px),
    radial-gradient(circle at 44% 20%, rgba(128, 255, 57, .11), transparent 30%),
    radial-gradient(circle at 74% 58%, rgba(128, 255, 57, .07), transparent 28%),
    var(--bg);
  background-size:
    auto,
    auto,
    cover,
    86px 86px,
    86px 86px,
    100% 100%,
    100% 100%,
    auto;
  background-position:
    center,
    center,
    center,
    left top,
    left top,
    center,
    center,
    center;
  background-repeat:
    repeat,
    repeat,
    no-repeat,
    repeat,
    repeat,
    no-repeat,
    no-repeat,
    repeat;
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed;
  position: relative;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 50% 34%, transparent 0 18%, rgba(1, 8, 3, .24) 45%, rgba(1, 7, 3, .9) 82%),
    linear-gradient(90deg, rgba(1, 8, 3, .94) 0 10%, transparent 20% 72%, rgba(1, 8, 3, .88) 88% 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, transparent 0 140px, rgba(128, 255, 57, .055) 140px 141px, transparent 141px 220px);
}

body::after {
  background:
    linear-gradient(rgba(128, 255, 57, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 255, 57, .04) 1px, transparent 1px),
    repeating-linear-gradient(0deg, rgba(128, 255, 57, .035) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 50% 34%, rgba(128, 255, 57, .12), transparent 36%);
  background-size: 44px 44px, 44px 44px, 100% 7px, 100% 100%;
  opacity: .5;
  mix-blend-mode: screen;
  animation: grid-drift 22s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0, 0 0, center; }
  to { background-position: 44px 44px, 44px 44px, 0 42px, center; }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--accent); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 248px minmax(280px, 680px) minmax(150px, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 64px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(128, 255, 57, .26);
  background:
    linear-gradient(180deg, rgba(7, 18, 9, .96), rgba(4, 13, 6, .9)),
    linear-gradient(90deg, rgba(128, 255, 57, .06), transparent 35%);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 1px 0 rgba(128, 255, 57, .12), 0 18px 48px rgba(0, 0, 0, .32);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  width: max-content;
  color: var(--accent);
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 0 18px rgba(128, 255, 57, .38);
}

.brand:hover {
  color: var(--acid);
  text-shadow: 0 0 22px rgba(128, 255, 57, .5);
}

.brand span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(199, 255, 68, .78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.36), transparent 34%),
    radial-gradient(circle at 42% 30%, #e8ff9a, var(--accent) 47%, #0b6f0f 100%);
  color: #061008;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 0 22px rgba(128, 255, 57, .38), inset -8px -10px 16px rgba(3, 45, 8, .34);
}

.search {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  border: 1px solid rgba(128, 255, 57, .44);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 13, 7, .78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 0 28px rgba(128, 255, 57, .08);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.search:focus-within {
  border-color: rgba(128, 255, 57, .86);
  background: rgba(7, 18, 10, .92);
  box-shadow: 0 0 0 3px rgba(128, 255, 57, .09), 0 0 34px rgba(128, 255, 57, .18);
}

.search-icon {
  position: relative;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
}

.search-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(199, 255, 68, .72);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  border-radius: 99px;
  background: rgba(199, 255, 68, .72);
  transform: translate(8px, 8px) rotate(45deg);
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 11px 14px 11px 0;
  outline: none;
  background: transparent;
  color: var(--text);
}

.search input::placeholder { color: rgba(237, 255, 228, .62); }

.search button {
  min-width: 96px;
  border: 0;
  border-left: 1px solid rgba(128, 255, 57, .22);
  background: linear-gradient(180deg, rgba(128, 255, 57, .17), rgba(128, 255, 57, .07));
  color: var(--text-strong);
  padding: 0 20px;
  font-weight: 900;
  transition: background .18s ease, box-shadow .18s ease;
}

.search button:hover {
  background: linear-gradient(180deg, rgba(128, 255, 57, .27), rgba(128, 255, 57, .12));
  box-shadow: inset 0 0 18px rgba(128, 255, 57, .12);
}

.top-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  white-space: nowrap;
}

.top-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.top-actions a:hover {
  transform: translateY(-1px);
  background: rgba(128, 255, 57, .08);
  border-color: rgba(128, 255, 57, .26);
}

.primary, button.primary {
  background: linear-gradient(180deg, var(--accent), #48d719);
  color: #061008;
  border-color: rgba(188, 255, 90, .85);
  box-shadow: 0 12px 30px rgba(128, 255, 57, .18), inset 0 1px 0 rgba(255,255,255,.28);
}

.top-actions a.primary {
  min-width: 86px;
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 900;
  background: rgba(128, 255, 57, .12);
  color: var(--text-strong);
  border-color: rgba(128, 255, 57, .54);
  box-shadow: inset 0 0 0 1px rgba(128, 255, 57, .12), 0 0 24px rgba(128, 255, 57, .13);
}

.primary:hover, button.primary:hover,
.top-actions a.primary:hover {
  color: #061008;
  background: linear-gradient(180deg, #b4ff50, var(--accent));
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(128, 255, 57, .09), 0 0 30px rgba(128, 255, 57, .28);
}

.shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 0;
  max-width: none;
  margin: 0;
}

.sidebar {
  position: sticky;
  top: 64px;
  min-height: calc(100vh - 64px);
  align-self: start;
  border-right: 1px solid rgba(128, 255, 57, .2);
  padding: 20px 12px;
  background: linear-gradient(180deg, rgba(6, 18, 9, .82), rgba(3, 11, 5, .72));
  backdrop-filter: blur(12px);
}

.sidebar a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 800;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.sidebar a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 255, 57, .12), transparent);
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(128, 255, 57, .24);
  border-radius: 6px;
  background: rgba(128, 255, 57, .06);
  color: var(--accent);
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.sidebar a.active,
.sidebar a:hover {
  transform: translateX(5px);
  color: var(--text-strong);
  background: linear-gradient(90deg, rgba(128, 255, 57, .16), rgba(128, 255, 57, .045));
  border-color: rgba(128, 255, 57, .36);
  box-shadow: inset 0 0 0 1px rgba(128, 255, 57, .08), 0 0 24px rgba(128, 255, 57, .09);
}

.sidebar a.active .nav-icon,
.sidebar a:hover .nav-icon {
  border-color: rgba(199, 255, 68, .68);
  box-shadow: 0 0 18px rgba(128, 255, 57, .18);
}

.content {
  min-width: 0;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 28px 22px 92px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 28px;
  align-items: start;
  justify-content: center;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(128, 255, 57, .09), transparent 34%),
    var(--panel);
  padding: 20px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: var(--glass-blur);
  animation: card-in .34s ease both;
}

.card h1, .card h2, .card h3 { margin-top: 0; }

h1, h2, h3 {
  color: var(--text-strong);
  font-family: "Exo 2", Inter, sans-serif;
  letter-spacing: .005em;
}

h1 {
  margin: 6px 0 22px;
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.04;
}

h2 { font-size: 24px; line-height: 1.18; }
h3 { font-size: 21px; }

.post {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128, 255, 57, .24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(128, 255, 57, .085), transparent 30%),
    linear-gradient(180deg, rgba(9, 24, 13, .9), rgba(5, 15, 8, .82));
  padding: 20px;
  margin: 16px 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3), 0 0 26px rgba(128, 255, 57, .07);
  backdrop-filter: var(--glass-blur);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
  animation: card-in .34s ease both;
}

.post::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(128, 255, 57, .18), transparent 15% 85%, rgba(128, 255, 57, .08));
  opacity: .2;
}

.post:hover {
  transform: translateY(-3px);
  border-color: rgba(128, 255, 57, .54);
  box-shadow: var(--shadow-strong);
  background:
    linear-gradient(135deg, rgba(128, 255, 57, .12), transparent 34%),
    linear-gradient(180deg, rgba(10, 28, 15, .96), rgba(5, 16, 8, .9));
}

.post-reported {
  border-color: rgba(255, 236, 102, .45);
  background:
    linear-gradient(135deg, rgba(255, 236, 102, .09), transparent 32%),
    linear-gradient(180deg, rgba(22, 24, 10, .92), rgba(7, 13, 6, .86));
}

.moderation-warning {
  margin: 12px 0 16px;
  border: 1px solid rgba(255, 236, 102, .46);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 236, 102, .12);
  color: #ffef98;
  font-weight: 800;
}

.post-meta {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
  letter-spacing: .02em;
}

.post-meta strong {
  color: var(--text-strong);
  font-family: "Exo 2", Inter, sans-serif;
}

.post h2 {
  margin: 12px 0 9px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.16;
}

.post p {
  margin: 0 0 16px;
  color: rgba(237, 255, 228, .94);
  line-height: 1.6;
}

.post img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(128, 255, 57, .28);
  background: #061008;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

button, .button {
  cursor: pointer;
  border: 1px solid rgba(128, 255, 57, .28);
  border-radius: 8px;
  background: rgba(8, 20, 11, .78);
  color: var(--text);
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

button:hover, .button:hover {
  transform: translateY(-1px);
  background: rgba(128, 255, 57, .14);
  border-color: rgba(128, 255, 57, .58);
  color: var(--text-strong);
  box-shadow: 0 0 22px rgba(128, 255, 57, .12);
}

.danger-button:hover {
  border-color: rgba(255, 107, 98, .72);
  background: rgba(255, 107, 98, .14);
  color: #ffd7d3;
  box-shadow: 0 0 22px rgba(255, 107, 98, .12);
}

button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(128, 255, 57, .24);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  background: rgba(4, 12, 7, .76);
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input::placeholder,
textarea::placeholder { color: rgba(237, 255, 228, .48); }

input:focus, textarea:focus, select:focus {
  border-color: rgba(128, 255, 57, .82);
  background: rgba(6, 17, 9, .92);
  box-shadow: 0 0 0 4px rgba(128, 255, 57, .1), 0 0 26px rgba(128, 255, 57, .12);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 13px;
}

.form-grid.card,
.center-card {
  background:
    linear-gradient(135deg, rgba(128, 255, 57, .12), transparent 32%),
    rgba(8, 20, 11, .82);
  box-shadow: var(--shadow-strong);
}

.form-grid button.primary {
  width: 100%;
  min-height: 44px;
}

.alert {
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0;
  font-weight: 750;
}

.alert.warn {
  background: rgba(255, 236, 102, .12);
  border: 1px solid rgba(255, 236, 102, .46);
  color: #ffe98d;
}

.alert.ok {
  background: rgba(128, 255, 57, .13);
  border: 1px solid rgba(128, 255, 57, .46);
  color: #b4ff94;
}

.muted { color: var(--muted); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.email-chip {
  display: inline-flex;
  max-width: 100%;
  margin: 18px 0;
  border: 1px solid rgba(128, 255, 57, .28);
  border-radius: 8px;
  padding: 9px 13px;
  background: rgba(128, 255, 57, .1);
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.badge,
.member-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(128, 255, 57, .27);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 34px;
  font-size: 12px;
  font-weight: 850;
  background: rgba(128, 255, 57, .09);
  color: var(--text);
}

.forum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.forum-grid .card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.forum-grid .card:hover {
  border-color: rgba(128, 255, 57, .54);
  box-shadow: var(--shadow-strong);
}

.community-panel {
  position: sticky;
  top: 88px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(128, 255, 57, .12), transparent 42%),
    rgba(8, 23, 13, .72);
}

.notification-panel {
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(128, 255, 57, .13), transparent 36%),
    rgba(8, 23, 13, .78);
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title-row h3 {
  margin: 0;
}

.notification-list {
  display: grid;
  gap: 8px;
}

.notification-row {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(128, 255, 57, .18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(3, 12, 6, .58);
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.notification-row.unread {
  border-color: rgba(128, 255, 57, .46);
  background:
    linear-gradient(90deg, rgba(128, 255, 57, .14), rgba(3, 12, 6, .7));
  box-shadow: inset 3px 0 0 rgba(128, 255, 57, .72), 0 0 22px rgba(128, 255, 57, .08);
}

.notification-row:hover {
  transform: translateX(4px);
  border-color: rgba(128, 255, 57, .5);
  background: rgba(128, 255, 57, .1);
  box-shadow: 0 0 22px rgba(128, 255, 57, .1);
}

.notification-row span {
  line-height: 1.35;
}

.notification-row small {
  color: var(--muted);
  font-size: 12px;
}

.notification-read-form {
  margin-top: 12px;
}

.subtle-button {
  width: 100%;
  background: rgba(128, 255, 57, .07);
}

.community-panel h3 {
  margin-bottom: 16px;
}

.community-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.community-row + .community-row { margin-top: 6px; }

.community-row strong {
  display: block;
  color: var(--text-strong);
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 16px;
}

.community-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.community-row:hover {
  transform: translateX(4px);
  background: rgba(128, 255, 57, .1);
  border-color: rgba(128, 255, 57, .3);
  box-shadow: 0 0 24px rgba(128, 255, 57, .09);
}

.message-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.message-layout aside {
  display: grid;
  gap: 12px;
}

.message-layout > .card { min-height: 400px; }

.bubble {
  max-width: 76%;
  border-radius: 8px;
  padding: 13px 15px;
  margin-bottom: 10px;
  background: rgba(8, 20, 11, .82);
  border: 1px solid var(--line-soft);
}

.bubble.mine {
  margin-left: auto;
  background: linear-gradient(180deg, var(--accent), #42d315);
  color: #061008;
  border-color: rgba(188, 255, 90, .85);
}

.center-card {
  max-width: 580px;
  margin: 42px auto;
}

aside .card p {
  margin: 12px 0;
}

.admin-user-row {
  border-top: 1px solid rgba(128, 255, 57, .14);
  padding: 12px 0;
}

.admin-user-row:first-of-type {
  border-top: 0;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
    height: auto;
    padding: 12px;
  }

  .top-actions { justify-content: flex-start; }

  .shell,
  .grid,
  .message-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 15;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(128, 255, 57, .2);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    background: rgba(5, 15, 8, .92);
  }

  .sidebar a {
    white-space: nowrap;
    margin-bottom: 0;
    min-height: 44px;
  }

  .sidebar a::after { display: none; }
  .sidebar a:hover,
  .sidebar a.active { transform: translateY(-1px); }

  .community-panel {
    position: static;
  }

  .forum-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    background-size:
      auto,
      auto,
      cover,
      58px 58px,
      58px 58px,
      100% 100%,
      100% 100%,
      auto;
    background-position:
      center,
      center,
      center,
      left top,
      left top,
      center,
      center,
      center;
  }

  .content {
    padding: 16px 10px 72px;
  }

  .card,
  .post {
    padding: 15px;
  }

  .brand {
    font-size: 21px;
  }

  .search {
    min-height: 44px;
  }

  .search button {
    min-width: 78px;
    padding: 0 13px;
  }

  .top-actions {
    font-size: 14px;
  }

  .nav-icon {
    width: 25px;
    height: 25px;
  }

  .post h2 {
    font-size: 22px;
  }

  .bubble {
    max-width: 100%;
  }
}
