:root {
  color-scheme: dark;
  --bg: #070907;
  --surface: #111511;
  --surface-2: #171c17;
  --surface-3: #20261f;
  --surface-rgb: 26, 31, 26;
  --surface-dark-rgb: 14, 18, 14;
  --topbar-start: rgba(7, 9, 7, .98);
  --topbar-mid: rgba(7, 9, 7, .86);
  --body-bg: radial-gradient(circle at top left, rgba(114, 191, 54, .13), transparent 31rem), linear-gradient(135deg, #050705 0%, #0b0e0b 42%, #090b09 100%);
  --card-bg: linear-gradient(180deg, rgba(var(--surface-rgb), .98), rgba(var(--surface-dark-rgb), .98));
  --post-card-bg: #111611;
  --post-cover-bg: #1d251c;
  --subtle-bg: rgba(0, 0, 0, .22);
  --subtle-bg-2: rgba(0, 0, 0, .18);
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f5f7f2;
  --muted: #b9c0b4;
  --faint: #798174;
  --green: #72bf36;
  --green-2: #9fe660;
  --yellow: #e8c957;
  --red: #f05d52;
  --shadow: 0 18px 60px rgba(0, 0, 0, .42);
  --radius: 8px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7f1;
  --surface: #ffffff;
  --surface-2: #f1f5ec;
  --surface-3: #edf4e8;
  --surface-rgb: 255, 255, 255;
  --surface-dark-rgb: 240, 246, 235;
  --topbar-start: rgba(248, 251, 245, .98);
  --topbar-mid: rgba(248, 251, 245, .9);
  --body-bg: radial-gradient(circle at top left, rgba(114, 191, 54, .18), transparent 31rem), linear-gradient(135deg, #fbfdf8 0%, #eef5e9 48%, #f7faf3 100%);
  --card-bg: linear-gradient(180deg, rgba(var(--surface-rgb), .98), rgba(var(--surface-dark-rgb), .98));
  --post-card-bg: #ffffff;
  --post-cover-bg: #dfe8d7;
  --subtle-bg: rgba(65, 86, 54, .08);
  --subtle-bg-2: rgba(65, 86, 54, .07);
  --line: rgba(40, 58, 34, .15);
  --line-strong: rgba(40, 58, 34, .24);
  --text: #172015;
  --muted: #52604b;
  --faint: #71806b;
  --green: #4f9624;
  --green-2: #2d7616;
  --yellow: #9a6e00;
  --red: #bd332d;
  --shadow: 0 18px 50px rgba(50, 70, 43, .15);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--body-bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

button, input, textarea, select { font: inherit; }
button { border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.inline-form { display: inline-flex; margin: 0; }

.page-shell { min-height: 100vh; }
.app-shell, .bar-inner { width: min(1880px, calc(100% - 48px)); margin: 0 auto; }
.app-shell { padding: 10px 0 20px; }
.bar-inner { display: grid; align-items: center; border-radius: var(--radius); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 66px;
  padding: 10px 0 12px;
  background: transparent;
}

.topbar-inner {
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  gap: 24px;
  min-height: 66px;
  padding: 4px 0 10px;
  background: linear-gradient(180deg, var(--topbar-start), var(--topbar-mid) 75%, transparent);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; width: fit-content; color: var(--text); text-decoration: none; }
.brand-logo { width: min(290px, 42vw); height: auto; max-height: 58px; object-fit: contain; }

.nav, .top-actions, .hero-actions, .hero-points, .panel-head, .post-meta, .post-stats, .media-tabs, .composer-actions, .feed-toolbar, .comment, .admin-tabs, .form-row, .admin-list-item, .tool-group, .filter-bar, .profile-head { display: flex; align-items: center; }
.nav { gap: 12px; justify-content: center; }
.nav a, .admin-tab { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 15px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; transition: color .18s ease, border-color .18s ease; }
.nav a:hover, .nav a.active, .admin-tab[aria-selected="true"] { color: var(--green-2); border-color: var(--green); }
.top-actions { justify-content: flex-end; gap: 10px; }

.icon-btn, .login-btn, .primary-btn, .ghost-btn, .chip, .media-filter, .admin-action, .danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--line);
  text-decoration: none;
}
.icon-btn { width: 42px; padding: 0; background: transparent; }
.login-btn, .primary-btn { padding: 0 18px; background: linear-gradient(180deg, #76bd38, #4c8d22); border-color: rgba(159, 230, 96, .45); font-weight: 800; color: #fff; box-shadow: 0 10px 28px rgba(91, 166, 42, .25); }
.ghost-btn, .chip, .media-filter, .admin-action { padding: 0 14px; color: var(--muted); }
.danger-btn { padding: 0 12px; color: #ffd9d6; background: rgba(240, 93, 82, .13); border-color: rgba(240, 93, 82, .35); }
.icon-btn:hover, .ghost-btn:hover, .chip:hover, .media-filter:hover, .admin-action:hover { border-color: rgba(159, 230, 96, .45); color: var(--green-2); }

.layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(360px, .95fr); gap: 14px; }
.layout.page-admin { grid-template-columns: 1fr; }
.page-admin .content-stack { display: none; }
.page-admin .sidebar { grid-template-columns: 1fr; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .72fr); gap: 14px; align-items: start; }
.main-grid.route-focused { grid-template-columns: 1fr; }
.sidebar, .content-stack, .feed-column, .side-list, .admin-form, .admin-list, .admin-view.active, .comments, .result-list, .account-grid { display: grid; gap: 14px; }
.sidebar { align-content: start; }
.admin-view { display: none; }

.panel, .hero, .post-card, .composer, .feed-post, .admin-panel, .flash {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.flash { padding: 12px 16px; margin-bottom: 14px; color: var(--green-2); }
.hero { position: relative; min-height: 386px; padding: clamp(28px, 5vw, 60px) clamp(24px, 5vw, 66px); display: flex; align-items: center; background-image: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .48) 45%, rgba(0, 0, 0, .12)), linear-gradient(0deg, rgba(0, 0, 0, .72), transparent 45%), url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=1600&q=82"); background-size: cover; background-position: center; }
.hero-content { width: min(620px, 100%); position: relative; z-index: 2; }
.hero h1 { margin: 0 0 14px; font-size: clamp(2.1rem, 1.5rem + 2.5vw, 4.25rem); line-height: .98; }
.hero h1 span { display: block; color: var(--green-2); }
.hero p { max-width: 560px; margin: 0 0 28px; color: #f3f6ef; font-size: 1.08rem; font-weight: 600; }
.hero-actions { gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { gap: clamp(14px, 4vw, 58px); flex-wrap: wrap; color: #e8ece4; }
.hero-point { display: grid; grid-template-columns: 34px auto; gap: 10px; align-items: center; min-width: 150px; }
.hero-point i, .panel-title i { color: var(--green); }
.hero-point strong, .hero-point span { display: block; }
.hero-point span { color: var(--muted); font-size: .82rem; }

.panel, .admin-panel, .composer, .feed-post { padding: 16px; }
.page-intro { display: grid; gap: 6px; padding: 22px 16px; }
.page-intro p { max-width: 760px; margin: 0; color: var(--muted); }
.legal-page { display: grid; gap: 16px; }
.legal-block { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.legal-block:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-block h2 { margin: 0 0 8px; font-size: 1.08rem; }
.legal-block p { margin: 0; color: var(--muted); }
.panel-head { justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.panel-title { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 1.12rem; }
.small-link { color: var(--green-2); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.empty-state {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
  color: var(--muted);
  background: var(--subtle-bg);
}
.post-card { background: var(--post-card-bg); box-shadow: none; }
.post-cover { position: relative; height: 188px; background: var(--post-cover-bg); overflow: hidden; }
.post-cover img, .media-item img, .media-item video, .top-row img, .feed-image { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; border-radius: 5px; background: rgba(88, 151, 39, .92); color: #fff; font-size: .75rem; font-weight: 800; }
.post-body { padding: 14px; }
.post-body h3, .feed-post h3, .side-list h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.post-body p, .event-row p, .admin-list-item p { margin: 8px 0 14px; color: var(--muted); font-size: .86rem; }
.post-meta, .post-stats { gap: 11px; color: var(--faint); font-size: .78rem; }
.post-meta { justify-content: space-between; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, .22); }
.author { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 800; }

.media-tabs { gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.media-filter[aria-pressed="true"], .chip[aria-pressed="true"] { background: linear-gradient(180deg, #75b83a, #4f8926); border-color: rgba(159, 230, 96, .45); color: #fff; font-weight: 800; }
.chip input { width: min(150px, 34vw); border: 0; outline: 0; color: var(--text); background: transparent; }
.chip input::placeholder { color: var(--muted); }
.chip select, select.chip { color: var(--text); }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.media-item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 7px; background: #1f271f; border: 1px solid rgba(255, 255, 255, .08); }
.media-badge, .media-count, .media-size { position: absolute; display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 5px; background: rgba(0, 0, 0, .62); color: #fff; font-size: .78rem; font-weight: 800; }
.media-badge { left: 8px; bottom: 8px; }
.media-count { right: 8px; bottom: 8px; }
.media-size { left: 8px; top: 8px; }

.composer-box { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--subtle-bg); }
.composer-box textarea { width: 100%; min-height: 44px; resize: vertical; border: 0; outline: 0; color: var(--text); background: transparent; }
.composer-actions { justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.feed-head { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; margin-bottom: 12px; }
.level, .status { color: var(--green-2); background: rgba(114, 191, 54, .16); border: 1px solid rgba(114, 191, 54, .22); border-radius: 999px; padding: 2px 8px; font-size: .72rem; font-weight: 900; }
.feed-post p { margin: 0 0 12px; color: #e8ece4; }
html[data-theme="light"] .feed-post p { color: var(--text); }
.feed-image { max-height: 360px; border-radius: 7px; border: 1px solid var(--line); }
.feed-toolbar { justify-content: space-between; gap: 12px; padding: 12px 2px 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.tool-group { gap: 16px; flex-wrap: wrap; }
.stat-button { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); background: transparent; padding: 0; }
.stat-button.liked, .stat-button:hover { color: var(--green-2); }
.comment { gap: 10px; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.comment strong { color: var(--text); }
.comment-form { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 10px; }
.comment-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--green-2);
  background: var(--subtle-bg);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comment-identity .avatar { width: 26px; height: 26px; flex: 0 0 auto; }
.comment-identity span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.comment-input-wrap {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(0, 0, 0, .18);
}
.comment-input-wrap textarea {
  min-height: 76px;
  border: 0;
  padding: 6px;
  background: transparent;
  resize: vertical;
}
.composer-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.insert-token {
  min-width: 30px;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  background: var(--subtle-bg);
  font-weight: 800;
}
.insert-token:hover {
  border-color: rgba(159, 230, 96, .45);
  color: var(--green-2);
}
.hp-field { position: absolute; left: -9999px; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }

.search-form { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(130px, 1fr)) auto; gap: 10px; align-items: end; }
.search-form label, .filter-bar label { display: grid; gap: 6px; color: var(--muted); font-size: .86rem; font-weight: 800; }
.search-form input, .search-form select, .filter-bar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  padding: 11px 12px;
  outline: 0;
}
.result-row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--subtle-bg-2); }
.result-row img { width: 120px; height: 86px; object-fit: cover; border-radius: 6px; background: var(--post-cover-bg); }
.result-row h3 { margin: 7px 0 4px; font-size: 1rem; }
.result-row p, .muted-text { margin: 0; color: var(--muted); }
.account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.compact-account { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--subtle-bg); }
.profile-head { justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.profile-head h2 { margin: 0; }
.profile-head p { margin: 4px 0 0; color: var(--muted); }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); }
.upload-meta { color: var(--faint); font-size: .78rem; font-weight: 700; }
.upload-preview { max-width: 180px; max-height: 100px; border-radius: 7px; border: 1px solid var(--line); object-fit: cover; }
.filter-bar { gap: 10px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 14px; }

.category-row, .top-row, .event-row { display: grid; gap: 10px; align-items: center; }
.category-row { grid-template-columns: 28px 1fr auto; color: var(--muted); }
.category-row i { color: var(--green); }
.count-pill { min-width: 43px; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .11); color: #e8ece4; text-align: center; font-size: .84rem; }
html[data-theme="light"] .count-pill { background: rgba(79, 150, 36, .12); color: var(--text); }
.top-row { grid-template-columns: 96px 1fr; }
.top-row img { width: 96px; height: 66px; border-radius: 6px; }
.likes { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #ff7168; font-weight: 800; font-size: .86rem; }
.event-row { grid-template-columns: 58px 1fr; padding: 9px 0; border-bottom: 1px solid var(--line); }
.date-card { display: grid; place-items: center; min-height: 58px; border: 1px solid var(--line-strong); border-radius: 7px; background: rgba(0, 0, 0, .2); font-weight: 900; }
.date-card span { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; }

.admin-tabs { gap: 8px; flex-wrap: wrap; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.admin-tab { background: transparent; min-height: 38px; padding: 0 10px; }
.admin-form label { display: grid; gap: 6px; color: var(--muted); font-size: .86rem; font-weight: 800; }
.admin-form input, .admin-form textarea, .admin-form select, .comment-form input, .comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(0, 0, 0, .24);
  color: var(--text);
  padding: 11px 12px;
  outline: 0;
}
.admin-form textarea { min-height: 92px; resize: vertical; }
.form-row { gap: 10px; }
.form-row > * { flex: 1; }
.admin-list-item { justify-content: space-between; gap: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--subtle-bg-2); }
.admin-list-item h4 { margin: 0 0 2px; font-size: .95rem; }
.admin-list-item p { margin: 0; }
.admin-edit {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--subtle-bg-2);
  overflow: hidden;
}
.admin-edit summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}
.admin-edit summary::-webkit-details-marker { display: none; }
.admin-edit summary strong,
.admin-edit summary small { display: block; }
.admin-edit summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .8rem;
}
.admin-edit[open] summary {
  border-bottom: 1px solid var(--line);
}
.admin-edit .admin-form,
.admin-delete-form {
  padding: 12px;
}
.admin-delete-form {
  border-top: 1px solid var(--line);
}
.admin-actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-action { width: 36px; min-height: 36px; padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.housekeeping-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat-tile { padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--subtle-bg-2); }
.stat-tile strong { display: block; color: var(--green-2); font-size: 1.55rem; line-height: 1; }
.stat-tile span { color: var(--muted); font-size: .82rem; }
.status.review { background: rgba(232, 201, 87, .16); color: var(--yellow); }
.monitor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-monitor { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--subtle-bg-2); }
.admin-monitor h3 { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 1rem; }
.health-list { display: grid; gap: 8px; }
.health-row, .mini-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.health-row:last-child, .mini-row:last-child { border-bottom: 0; }
.health-row em, .mini-row span { color: var(--muted); font-style: normal; font-size: .86rem; text-align: right; }
.mini-row { align-items: flex-start; }
.mini-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.site-footer {
  min-height: 64px;
  margin-top: 18px;
  padding: 12px 0 14px;
  background: transparent;
}

.footer-inner {
  grid-template-columns: 1fr auto;
  gap: 24px;
  min-height: 56px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(0deg, var(--topbar-start), var(--topbar-mid) 78%, transparent);
  backdrop-filter: blur(14px);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.footer-legal a:hover,
.footer-legal a.active {
  color: var(--green-2);
  border-color: var(--green);
}

.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.footer-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
}

@media (max-width: 1380px) {
  .layout, .main-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .housekeeping-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .monitor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .app-shell, .bar-inner { width: min(100% - 28px, 920px); }
  .topbar-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .top-actions .icon-btn { display: none; }
  .featured-grid, .sidebar { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-form, .account-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 8px; }
  .footer-meta { justify-items: start; }
}

@media (max-width: 620px) {
  .app-shell, .bar-inner { width: min(100% - 18px, 560px); }
  .brand-logo { width: min(220px, 52vw); max-height: 48px; }
  .login-btn span, .nav span { display: none; }
  .nav a { min-width: 46px; padding: 0 12px; }
  .hero { min-height: 480px; align-items: flex-end; padding: 24px; background-position: 58% center; }
  .hero h1 { font-size: 2.36rem; }
  .hero-points, .form-row, .composer-actions, .comment-form { display: grid; grid-template-columns: 1fr; }
  .search-form, .account-grid, .result-row { grid-template-columns: 1fr; }
  .result-row img { width: 100%; height: 150px; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed-head, .top-row { grid-template-columns: 42px 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .housekeeping-grid { grid-template-columns: 1fr; }
  .health-row, .mini-row { display: grid; }
  .health-row em, .mini-row span { text-align: left; }
  .footer-legal { gap: 6px; }
  .footer-legal a { min-height: 32px; padding: 0 8px; font-size: .86rem; }
}
