:root {
  --bg: #f3f6f1;
  --bg-deep: #e9efe7;
  --surface: #ffffff;
  --surface-soft: #f8faf6;
  --surface-warm: #fbf8f1;
  --ink: #17352b;
  --ink-soft: #4d645b;
  --muted: #84948d;
  --line: #e2e9e1;
  --line-strong: #d2ddd2;
  --green: #1f7a5a;
  --green-dark: #15553f;
  --green-deep: #123c2f;
  --green-soft: #e5f3eb;
  --green-pale: #f0f8f3;
  --amber: #b77824;
  --amber-soft: #fbf0dc;
  --blue: #3f6da4;
  --blue-soft: #e9f0f9;
  --danger: #b34b48;
  --danger-soft: #faeceb;
  --shadow-sm: 0 6px 20px rgba(28, 57, 45, 0.05);
  --shadow-md: 0 16px 48px rgba(28, 57, 45, 0.09);
  --shadow-lg: 0 28px 80px rgba(18, 59, 45, 0.16);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(181, 213, 190, 0.24), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(225, 207, 170, 0.18), transparent 28%),
    var(--bg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.44;
  background-image: radial-gradient(rgba(25, 74, 55, 0.08) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 45%);
  z-index: -1;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(24, 80, 58, 0.08);
  color: var(--green-dark);
  font-size: 0.9em;
}

::selection {
  background: #cfe9da;
  color: var(--green-deep);
}

:focus-visible {
  outline: 3px solid rgba(31, 122, 90, 0.3);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: -0.18em;
}

.page-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7bc79c;
  box-shadow: 0 0 0 4px rgba(123, 199, 156, 0.12);
}

.dot {
  color: #b6c3bc;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(219, 228, 218, 0.84);
  background: rgba(248, 250, 246, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
}

.header-shell {
  width: min(1360px, calc(100% - 36px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(21, 85, 63, 0.14);
}

.brand-mark img {
  width: 34px;
  height: 34px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: var(--green-dark);
  background: rgba(31, 122, 90, 0.07);
}

.nav-link.active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.user-pill {
  max-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-pill span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pill:hover {
  border-color: #b9d2c3;
  box-shadow: var(--shadow-sm);
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

/* Buttons and form controls */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #248563, var(--green-dark));
  box-shadow: 0 9px 22px rgba(21, 85, 63, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(21, 85, 63, 0.24);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
}

.btn-ghost:hover {
  border-color: #b9cbbd;
  background: #fff;
}

.btn-danger {
  color: #fff;
  background: var(--danger);
}

.btn-light {
  color: var(--green-dark);
  background: #f5ecd8;
}

.btn-light:hover {
  background: #fff4dd;
}

.btn-sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.text-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 12.5px;
  font-weight: 650;
}

.text-btn:hover,
.text-link:hover {
  color: var(--green-dark);
}

.text-link .icon,
.text-btn .icon {
  width: 15px;
  height: 15px;
}

.danger-text {
  color: var(--danger);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-label {
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 650;
}

.field-label small {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea,
.field select,
.guest-name-field input,
.comment-form-foot input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 100px;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.guest-name-field input:focus,
.comment-form-foot input:focus {
  border-color: #7db79b;
  box-shadow: 0 0 0 4px rgba(31, 122, 90, 0.09);
}

.field input:disabled {
  color: var(--muted);
  background: var(--surface-soft);
}

.field-hint {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.field-hint-right {
  align-self: flex-end;
}

.upload-progress {
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid #d7e6da;
  border-radius: 12px;
  background: #f4faf6;
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 650;
}

.upload-progress-head strong {
  font-variant-numeric: tabular-nums;
}

.upload-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfece3;
}

.upload-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #3b9a73, #1f7355);
  transition: width 0.2s ease;
}

.upload-progress small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 8.5px;
}

.field-photo-preview {
  overflow: hidden;
  width: min(240px, 100%);
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}

.field-photo-preview[hidden] {
  display: none;
}

.field-photo-preview img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

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

.input-wrap input {
  padding-left: 42px;
  padding-right: 42px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12.5px;
  cursor: pointer;
}

.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.check-row a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check-row-small {
  font-size: 12px;
}

/* Avatars and tags */

.avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  object-fit: cover;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.avatar-xs { width: 29px; height: 29px; font-size: 11px; }
.avatar-sm { width: 38px; height: 38px; font-size: 13px; }
.avatar-md { width: 46px; height: 46px; font-size: 16px; }
.avatar-lg { width: 76px; height: 76px; font-size: 26px; }
.avatar-xl { width: 112px; height: 112px; font-size: 38px; }

.tone-0 { background: linear-gradient(145deg, #4c9b79, #216f55); }
.tone-1 { background: linear-gradient(145deg, #d39c51, #a46322); }
.tone-2 { background: linear-gradient(145deg, #6b8dbd, #3e6398); }
.tone-3 { background: linear-gradient(145deg, #7c9f63, #4f7341); }
.tone-4 { background: linear-gradient(145deg, #b67b73, #8c5550); }
.tone-5 { background: linear-gradient(145deg, #708e8b, #456662); }

.avatar-anon {
  color: #3e705b;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), transparent 24%),
    repeating-linear-gradient(135deg, #d9ece1 0, #d9ece1 7px, #cfe5d8 7px, #cfe5d8 14px);
  font-family: var(--font-serif);
}

.mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 99px;
  background: #eef2ee;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.6;
  white-space: nowrap;
}

.mini-tag .icon {
  width: 11px;
  height: 11px;
}

.mini-tag-pin {
  color: var(--amber);
  background: var(--amber-soft);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 99px;
  background: #f3f4f2;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.status-tag.danger {
  color: var(--danger);
  background: var(--danger-soft);
}

.section-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.section-chip.section-amber { color: var(--amber); background: var(--amber-soft); }
.section-chip.section-green { color: var(--green); background: var(--green-soft); }
.section-chip.section-blue { color: var(--blue); background: var(--blue-soft); }

/* Feed layout */

.feed-layout {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr) 276px;
  align-items: start;
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 80px;
}

.feed-column {
  min-width: 0;
  max-width: 760px;
  justify-self: center;
  width: 100%;
}

.feed-section-switch {
  position: sticky;
  top: 84px;
  z-index: 24;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  padding: 5px;
  border: 1px solid rgba(220, 229, 220, 0.9);
  border-radius: 13px;
  background: rgba(251, 252, 249, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.feed-section-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.feed-section-switch-label .icon {
  width: 13px;
  height: 13px;
}

.feed-section-switch-item {
  padding: 6px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.feed-section-switch-item:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.feed-section-switch-item.active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.feed-section-switch-current {
  margin-left: auto;
  padding-right: 7px;
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

.left-rail,
.right-rail,
.detail-rail,
.profile-rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rail-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

.rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.rail-title .icon {
  color: var(--green);
}

.rail-count {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.section-nav {
  padding: 10px;
}

.section-nav .rail-title {
  padding: 8px 8px 4px;
  margin-bottom: 4px;
}

.section-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 11px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.section-nav-link:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.section-nav-link.active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.section-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.section-dot-all { background: linear-gradient(135deg, #d9a44e, #3f936d, #4c74aa); }
.section-dot.section-amber { background: #d5a450; }
.section-dot.section-green { background: #45a177; }
.section-dot.section-blue { background: #5b84b7; }

/* Section chooser */

.section-select-page {
  padding-bottom: 70px;
}

.section-select-hero {
  padding: 55px 0 48px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(221, 190, 128, 0.2), transparent 30%),
    linear-gradient(130deg, #163f32, #205e46);
}

.section-select-inner {
  max-width: 900px;
}

.section-select-hero .eyebrow {
  color: #9ed4b4;
}

.section-select-hero h1 {
  margin: 13px 0 11px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.section-select-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.95;
}

.section-select-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
}

.section-select-note .icon {
  width: 14px;
  height: 14px;
}

.section-select-content {
  margin-top: -18px;
}

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

.section-select-card {
  position: relative;
  overflow: hidden;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-select-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.section-select-amber { border-top: 3px solid #dfb66f; }
.section-select-green { border-top: 3px solid #83b99c; }
.section-select-blue { border-top: 3px solid #91aed0; }

.section-select-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-select-en {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.section-select-count {
  color: var(--muted);
  font-size: 8px;
}

.section-select-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 26px 0 15px;
  border-radius: 16px;
  color: var(--green);
  background: var(--green-soft);
}

.section-select-mark .icon {
  width: 24px;
  height: 24px;
}

.section-select-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 600;
}

.section-select-card p {
  min-height: 48px;
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.section-select-enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 9px;
  font-weight: 650;
}

.section-select-enter .icon {
  width: 14px;
  height: 14px;
}

.section-select-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.section-select-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.section-select-links a:hover {
  color: var(--green);
  border-color: #bed4c4;
}

@media (max-width: 760px) {
  .section-select-grid {
    grid-template-columns: 1fr;
  }
  .section-select-hero {
    padding: 38px 0 36px;
  }
  .section-select-card p {
    min-height: 0;
  }
}

.section-nav-label {
  flex: 1;
}

.section-nav-count {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.rail-rules .rail-title {
  margin-bottom: 10px;
}

.clean-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 15px;
  color: var(--ink-soft);
  font-size: 12.5px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8fbaa3;
}

.school-mini {
  position: relative;
  overflow: hidden;
  padding: 20px;
  color: #fff;
  background: linear-gradient(145deg, #1d6b50, #153e31);
}

.school-mini-kicker {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.school-mini strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 155px;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.4;
}

.school-mini > span:nth-of-type(3) {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10.5px;
}

.school-mini-shape {
  position: absolute;
  right: -24px;
  bottom: -26px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.school-mini-shape::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

/* Hero */

.feed-hero {
  position: relative;
  overflow: hidden;
  min-height: 325px;
  padding: 38px 38px 0;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 76% 18%, rgba(174, 218, 186, 0.2), transparent 31%),
    radial-gradient(circle at 94% 96%, rgba(218, 184, 116, 0.19), transparent 34%),
    linear-gradient(135deg, #153f32 0%, #1c6048 56%, #276f53 100%);
  box-shadow: 0 24px 65px rgba(20, 67, 51, 0.2);
}

.feed-hero::before {
  content: "";
  position: absolute;
  left: -80px;
  top: -100px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.feed-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 0.7px, transparent 0.7px);
  background-size: 17px 17px;
  mask-image: linear-gradient(to right, #000, transparent 75%);
  opacity: 0.5;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 470px;
}

.feed-hero .eyebrow {
  color: #a6d9bb;
  font-size: 10px;
}

.feed-hero h1 {
  margin: 16px 0 13px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 47px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.22;
}

.feed-hero h1 em {
  color: #d9c28d;
  font-style: normal;
}

.feed-hero p {
  max-width: 420px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feed-hero .btn-primary {
  color: var(--green-deep);
  background: #f4ead3;
  box-shadow: 0 12px 28px rgba(4, 27, 19, 0.2);
}

.feed-hero .btn-primary:hover {
  background: #fff4dc;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10.5px;
}

.hero-note .icon {
  width: 14px;
  height: 14px;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  right: 12px;
  top: 16px;
  width: 285px;
  height: 235px;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.orbit-one {
  width: 225px;
  height: 225px;
  right: 18px;
  top: 0;
}

.orbit-two {
  width: 168px;
  height: 168px;
  right: 48px;
  top: 28px;
}

.hero-seal {
  position: absolute;
  right: 78px;
  top: 54px;
  width: 105px;
  height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #f3e8cf;
  background: rgba(255, 255, 255, 0.035);
  transform: rotate(-8deg);
  backdrop-filter: blur(4px);
}

.hero-seal span {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
}

.hero-seal small {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.hero-note-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  line-height: 1.5;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-note-card strong {
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
}

.note-card-one {
  left: -10px;
  top: 35px;
  transform: rotate(-4deg);
}

.note-card-two {
  right: -5px;
  bottom: 28px;
  transform: rotate(4deg);
}

.note-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #ebd7a8;
  background: rgba(255, 255, 255, 0.1);
}

.note-icon .icon {
  width: 15px;
  height: 15px;
}

.note-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: #dcece3;
  font-family: var(--font-serif);
  font-size: 13px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px -38px 0;
  padding: 16px 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 33, 23, 0.11);
}

.hero-stats > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-stats strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9.5px;
}

/* Composer */

.composer-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.composer-card.is-highlighted {
  border-color: #9dc8b1;
  box-shadow: 0 0 0 5px rgba(31, 122, 90, 0.07), var(--shadow-md);
}

.composer-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.composer-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.composer-sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
}

.composer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 99px;
  color: var(--green);
  background: var(--green-pale);
  font-size: 9.5px;
  font-weight: 650;
}

.composer-badge .icon {
  width: 12px;
  height: 12px;
}

.composer-card textarea {
  width: 100%;
  min-height: 108px;
  margin-top: 14px;
  padding: 10px 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
  outline: 0;
}

.composer-card textarea::placeholder {
  color: #a7b3ad;
}

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

.composer-section-fixed {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9.5px;
}

.composer-section-fixed small {
  color: #a3afa8;
  font-size: 8px;
}

.section-picker {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border-radius: 99px;
  background: var(--surface-soft);
}

.section-option {
  position: relative;
  cursor: pointer;
}

.section-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.section-option > span {
  display: block;
  padding: 5px 11px;
  border-radius: 99px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.section-option input:checked + span {
  color: var(--green-dark);
  background: #fff;
  box-shadow: 0 2px 8px rgba(25, 65, 49, 0.09);
}

.section-option-amber input:checked + span { color: var(--amber); }
.section-option-blue input:checked + span { color: var(--blue); }

.char-count {
  color: #a7b3ad;
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
}

.guest-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.guest-name-field {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10.5px;
}

.guest-name-field .icon {
  width: 14px;
  height: 14px;
}

.guest-name-field input {
  width: 132px;
  min-height: 32px;
  padding: 5px 9px;
  border-radius: 8px;
  border-color: #dbe4dc;
  background: #fff;
  font-size: 11px;
}

.switch-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 10.5px;
  cursor: pointer;
}

.switch-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-track {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 99px;
  background: #d5ded7;
  transition: background 0.2s ease;
}

.switch-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.17);
  transition: transform 0.2s ease;
}

.switch-row input:checked + .switch-track {
  background: var(--green);
}

.switch-row input:checked + .switch-track .switch-thumb {
  transform: translateX(14px);
}

.switch-row-small {
  font-size: 10px;
}

.guest-hint {
  color: #98a69f;
  font-size: 9.5px;
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.upload-preview[hidden] {
  display: none;
}

.preview-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 11px;
  background: #eef2ec;
}

.preview-item img,
.preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-remove {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 30, 23, 0.6);
  backdrop-filter: blur(4px);
}

.preview-remove .icon {
  width: 12px;
  height: 12px;
}

.preview-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 6px 5px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.composer-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--green);
  background: var(--green-pale);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.tool-btn:hover {
  background: #e5f4eb;
}

.tool-btn .icon {
  width: 16px;
  height: 16px;
}

.upload-hint {
  color: #a0ada6;
  font-size: 9.5px;
}

.composer-submit {
  min-width: 88px;
}

/* Feed toolbar and posts */

.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 25px 2px 14px;
}

.feed-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 99px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
  transition: background 0.18s ease, color 0.18s ease;
}

.feed-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.65);
}

.feed-tab.active {
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.feed-context-tag {
  margin-left: 4px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
}

.feed-context-tag.section-amber { color: var(--amber); background: var(--amber-soft); }
.feed-context-tag.section-green { color: var(--green); background: var(--green-soft); }
.feed-context-tag.section-blue { color: var(--blue); background: var(--blue-soft); }

.feed-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 190px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feed-search:focus-within {
  border-color: #c4d9ca;
  background: #fff;
}

.feed-search > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.feed-search input {
  width: 100%;
  padding: 0 6px;
  border: 0;
  background: transparent;
  font-size: 11px;
  outline: 0;
}

.feed-search input::placeholder {
  color: #a7b3ad;
}

.search-clear {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--muted);
}

.search-clear .icon {
  width: 12px;
  height: 12px;
}

.search-summary {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
  font-size: 11.5px;
}

.search-summary a {
  float: right;
  color: var(--green);
  font-weight: 650;
}

.section-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 14px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #fff, #f9fbf7);
}

.section-intro .eyebrow {
  font-size: 9.5px;
}

.section-intro h2 {
  margin: 5px 0 4px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
}

.section-intro-count {
  flex: 0 0 auto;
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 30px;
}

.section-intro-count small {
  margin-left: 3px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 9px;
}

.section-intro-amber { border-top: 3px solid #e1b974; }
.section-intro-green { border-top: 3px solid #8fc2a5; }
.section-intro-blue { border-top: 3px solid #9bb5d4; }

.post-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.post-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 5px 24px rgba(28, 57, 45, 0.035);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.post-card:hover {
  border-color: #d5e1d6;
  box-shadow: var(--shadow-sm);
}

.post-card.is-pinned::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(#d9b46d, #ecd7a7);
}

.post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.author-meta {
  min-width: 0;
}

.author-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.author-name {
  max-width: 250px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-submeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
}

.post-menu {
  flex: 0 0 auto;
  margin: -4px -6px 0 0;
}

.post-menu .icon-btn {
  width: 32px;
  height: 32px;
}

.post-menu .icon {
  width: 15px;
  height: 15px;
}

.post-content {
  margin-top: 15px;
  color: #264137;
  font-size: 14.5px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}

.post-content-detail {
  font-size: 15.5px;
  line-height: 2;
}

.media-grid {
  display: grid;
  gap: 5px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 16px;
}

.media-count-1 {
  grid-template-columns: 1fr;
}

.media-count-2 {
  grid-template-columns: 1fr 1fr;
}

.media-count-3,
.media-count-4,
.media-count-5,
.media-count-6,
.media-count-7,
.media-count-8,
.media-count-9,
.media-count-10 {
  grid-template-columns: repeat(3, 1fr);
}

.media-item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #edf1ec;
}

.media-count-1 .media-item {
  max-height: 520px;
  aspect-ratio: 16 / 10;
}

.media-count-2 .media-item {
  aspect-ratio: 1;
}

.media-count-3 .media-item,
.media-count-4 .media-item,
.media-count-5 .media-item,
.media-count-6 .media-item,
.media-count-7 .media-item,
.media-count-8 .media-item,
.media-count-9 .media-item,
.media-count-10 .media-item {
  aspect-ratio: 1;
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.media-image:hover img {
  transform: scale(1.025);
}

.media-video {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  background: #0c1914;
}

.media-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid #eef2ed;
}

.like-form {
  margin: 0;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 9px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: #82928a;
  font-size: 10.5px;
  font-weight: 550;
  transition: color 0.18s ease, background 0.18s ease;
}

.action-btn:hover {
  color: var(--green);
  background: var(--green-pale);
}

.action-btn .icon {
  width: 16px;
  height: 16px;
}

.like-btn.is-liked {
  color: #c75a57;
}

.like-btn.is-liked .icon {
  fill: currentColor;
}

.share-btn {
  margin-left: auto;
}

.comment-link {
  color: var(--green);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 55px 30px;
  border: 1px dashed #d4dfd5;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.empty-state.compact {
  padding: 42px 24px;
}

.empty-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  color: var(--green);
  background: var(--green-soft);
}

.empty-mark .icon {
  width: 25px;
  height: 25px;
}

.empty-state h2 {
  margin-bottom: 7px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

.empty-state p {
  max-width: 340px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
}

.page-btn:first-child .icon {
  transform: rotate(180deg);
}

.page-btn:hover {
  border-color: #bfd2c4;
  color: var(--green-dark);
}

.page-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.page-status {
  color: var(--muted);
  font-size: 10px;
}

/* Right rail */

.prompt-card {
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(219, 191, 132, 0.35), transparent 45%),
    linear-gradient(145deg, #faf6ec, #fff);
}

.prompt-card h2 {
  margin: 12px 0 8px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.prompt-card p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 10.5px;
}

.stats-list {
  display: grid;
  gap: 11px;
}

.stats-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid #eef2ed;
}

.stats-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stats-list strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

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

.notice-card {
  display: flex;
  gap: 11px;
  padding: 16px;
}

.notice-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--green);
  background: var(--green-pale);
}

.notice-icon .icon {
  width: 16px;
  height: 16px;
}

.notice-card strong,
.help-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
}

.notice-card p,
.help-card p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.7;
}

.help-card {
  background: #f5f8f4;
}

/* Detail */

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 270px;
  justify-content: center;
  gap: 24px;
  padding-top: 25px;
  padding-bottom: 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 10px;
}

.breadcrumb a:hover {
  color: var(--green);
}

.comments-section {
  margin-top: 17px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.comments-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.comments-head h2 {
  margin: 5px 0 0;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
}

.comments-head h2 span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
}

.comments-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 9.5px;
}

.comments-note .icon {
  width: 13px;
  height: 13px;
}

.comment-list {
  padding: 6px 0;
}

.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 0;
  border-bottom: 1px solid #eef2ed;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.comment-author {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.comment-meta time {
  color: var(--muted);
  font-size: 9px;
}

.comment-report {
  margin-left: auto;
  color: #a2aea8;
  font-size: 9px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.comment-item:hover .comment-report {
  opacity: 1;
}

.comment-content {
  margin-top: 4px;
  color: #3d554b;
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.comments-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  color: var(--muted);
  text-align: center;
}

.comments-empty > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #92ab9e;
  background: var(--green-pale);
}

.comments-empty p {
  margin: 0;
  font-size: 11px;
}

.comment-composer {
  margin-top: 18px;
  padding: 15px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.comment-composer-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.comment-composer-head strong {
  display: block;
  font-size: 11.5px;
}

.comment-composer-head span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.comment-composer textarea {
  width: 100%;
  min-height: 88px;
  padding: 11px 13px;
  border: 1px solid #dfe7df;
  border-radius: 11px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.7;
  outline: 0;
}

.comment-composer textarea:focus {
  border-color: #8ebba3;
  box-shadow: 0 0 0 4px rgba(31, 122, 90, 0.07);
}

.comment-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
}

.comment-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-form-foot input {
  width: 130px;
  min-height: 30px;
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 10px;
}

.comment-submit-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-post-info {
  padding: 18px;
}

.detail-meta-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.detail-meta-list > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2ed;
}

.detail-meta-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-meta-list dt {
  color: var(--muted);
  font-size: 9.5px;
}

.detail-meta-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  text-align: right;
}

.back-to-feed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  color: var(--green);
  background: var(--green-pale);
  font-size: 10.5px;
  font-weight: 650;
}

.back-to-feed .icon {
  transform: rotate(180deg);
}

/* Auth */

.auth-page {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(500px, 1.1fr);
  min-height: calc(100vh - 74px);
  background: #fff;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 720px;
  padding: 60px clamp(35px, 6vw, 92px);
  color: #fff;
  background:
    radial-gradient(circle at 70% 22%, rgba(176, 214, 187, 0.18), transparent 30%),
    radial-gradient(circle at 18% 94%, rgba(215, 181, 111, 0.15), transparent 34%),
    linear-gradient(150deg, #143d30 0%, #1b5a43 60%, #246f53 100%);
}

.auth-visual::before {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  right: -230px;
  top: -180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 255, 255, 0.025), 0 0 0 130px rgba(255, 255, 255, 0.018);
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.6px, transparent 0.6px);
  background-size: 20px 20px;
  mask-image: linear-gradient(120deg, transparent 20%, #000 100%);
  opacity: 0.4;
}

.auth-back {
  position: absolute;
  z-index: 2;
  left: clamp(25px, 4vw, 55px);
  top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
}

.auth-back:hover {
  color: #fff;
}

.auth-back .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

.auth-visual-copy {
  position: relative;
  z-index: 2;
  max-width: 490px;
}

.auth-visual .eyebrow {
  color: #9ed6b8;
}

.auth-visual h1 {
  margin: 18px 0 15px;
  font-family: var(--font-serif);
  font-size: clamp(35px, 4vw, 53px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.28;
}

.auth-visual-copy > p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.9;
}

.auth-quote-card {
  position: relative;
  z-index: 2;
  max-width: 440px;
  margin-top: 40px;
  padding: 25px 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.quote-mark {
  position: absolute;
  left: 18px;
  top: 7px;
  color: rgba(231, 210, 163, 0.4);
  font-family: var(--font-serif);
  font-size: 55px;
  line-height: 1;
}

.auth-quote-card p {
  position: relative;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.9;
}

.quote-caption {
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.quote-leaf {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: rgba(160, 211, 179, 0.35);
}

.quote-leaf .icon {
  width: 30px;
  height: 30px;
}

.auth-feature-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.auth-feature-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.auth-feature-row .icon {
  width: 14px;
  height: 14px;
  color: #9ac9ae;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(220, 233, 220, 0.45), transparent 28%),
    #fbfcfa;
}

.auth-panel-inner {
  width: min(460px, 100%);
}

.auth-panel h2 {
  margin: 9px 0 5px;
  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.auth-sub {
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 11.5px;
}

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

.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-switch {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11.5px;
  text-align: center;
}

.auth-switch a {
  color: var(--green);
  font-weight: 700;
}

.auth-legal {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #9aa7a1;
  font-size: 9px;
  line-height: 1.8;
  text-align: center;
}

.auth-legal a {
  color: var(--green);
}

.register-preview {
  position: relative;
  z-index: 2;
  max-width: 440px;
  margin-top: 30px;
  padding: 20px;
  border-radius: 18px;
  color: var(--ink);
  background: #fdfcf8;
  box-shadow: 0 24px 55px rgba(4, 28, 19, 0.22);
  transform: rotate(-1.5deg);
}

.register-preview-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.preview-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #6d9c7e, #376e53);
  font-size: 12px;
}

.register-preview-head div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.register-preview-head strong {
  font-size: 10.5px;
}

.register-preview-head div span {
  color: var(--muted);
  font-size: 8px;
}

.register-preview p {
  margin: 13px 0;
  color: #42584e;
  font-size: 11.5px;
  line-height: 1.75;
}

.preview-actions {
  display: flex;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid #ecefe9;
  color: var(--muted);
  font-size: 8.5px;
}

.preview-actions span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.preview-actions .icon {
  width: 12px;
  height: 12px;
}

.section-picker-auth {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.section-picker-auth .section-option > span {
  padding: 8px;
  text-align: center;
}

.agreement-row {
  align-items: flex-start;
  line-height: 1.65;
}

.agreement-row input {
  margin-top: 3px;
  flex: 0 0 auto;
}

/* Profile */

.profile-page {
  padding-top: 26px;
  padding-bottom: 80px;
}

.profile-hero {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.profile-cover {
  position: relative;
  height: 145px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(226, 196, 133, 0.25), transparent 32%),
    linear-gradient(120deg, #173f32, #226145 62%, #35795b);
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  opacity: 0.45;
}

.cover-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.cover-orbit-one {
  width: 260px;
  height: 260px;
  right: 50px;
  top: -140px;
}

.cover-orbit-two {
  width: 160px;
  height: 160px;
  right: 100px;
  top: -90px;
}

.cover-word {
  position: absolute;
  right: 35px;
  bottom: 17px;
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-serif);
  font-size: 40px;
  letter-spacing: 0.04em;
}

.profile-main {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  padding: 0 28px 22px;
}

.profile-avatar-wrap {
  position: relative;
  margin-top: -48px;
}

.profile-avatar-wrap .avatar {
  border: 6px solid #fff;
  box-shadow: 0 10px 30px rgba(19, 57, 43, 0.14);
}

.profile-status-dot {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #59ad7d;
}

.profile-identity {
  padding-top: 19px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-name-row h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.profile-handle {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 10px;
}

.profile-bio {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.75;
}

.profile-actions {
  display: flex;
  gap: 8px;
  padding-top: 20px;
}

.profile-actions form {
  margin: 0;
}

.profile-stats {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.profile-stats > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.profile-stats strong {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

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

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  align-items: start;
  gap: 24px;
  margin-top: 22px;
}

.profile-content {
  min-width: 0;
}

.profile-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 13px;
}

.profile-tab-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}

.profile-tab-note .icon {
  width: 13px;
  height: 13px;
}

.own-post-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: -5px;
  padding: 6px 8px 0;
}

.own-post-actions form {
  margin: 0;
}

.own-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
  color: var(--muted);
  font-size: 9px;
}

.own-note .icon {
  width: 13px;
  height: 13px;
}

.profile-comments {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.profile-comment-card {
  position: relative;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.profile-comment-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-comment-head time {
  color: var(--muted);
  font-size: 9px;
}

.profile-comment-content {
  margin: 11px 0 12px;
  color: #354d43;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.profile-post-link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 9.5px;
}

.profile-post-link:hover {
  color: var(--green);
}

.profile-post-link .icon {
  width: 12px;
  height: 12px;
  margin-left: auto;
}

.profile-comment-delete {
  position: absolute;
  right: 15px;
  bottom: 15px;
  margin: 0;
}

.profile-comment-delete .text-btn {
  font-size: 9px;
}

.profile-card-note {
  padding: 18px;
}

.rail-copy {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.account-security-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-security-link > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.account-security-link strong {
  font-size: 11px;
}

.account-security-link small {
  color: var(--muted);
  font-size: 9px;
}

.account-security-link > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

/* Settings */

.settings-page {
  padding-top: 24px;
  padding-bottom: 80px;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: start;
  gap: 22px;
}

.settings-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.settings-head h1 {
  margin: 6px 0 3px;
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 600;
}

.settings-head h2 {
  margin: 2px 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

.settings-head p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
}

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

.avatar-editor {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.avatar-editor-preview .avatar {
  width: 84px;
  height: 84px;
  font-size: 28px;
}

.avatar-editor .btn {
  cursor: pointer;
}

.avatar-editor p {
  margin: 7px 0 5px;
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.settings-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.settings-card-small {
  padding: 21px;
}

.compact-head {
  margin-bottom: 16px;
  padding-bottom: 13px;
}

.compact-head .settings-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  color: var(--green);
  background: var(--green-pale);
}

/* Admin */

.admin-page {
  padding-top: 28px;
  padding-bottom: 80px;
}

.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(224, 195, 132, 0.18), transparent 32%),
    linear-gradient(130deg, #163e31, #205b43);
}

.admin-hero .eyebrow {
  color: #9dd2b4;
}

.admin-hero h1 {
  margin: 7px 0 5px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
}

.admin-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
}

.admin-shield {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9.5px;
}

.admin-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-shield .icon {
  width: 14px;
  height: 14px;
}

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

.admin-stats > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.admin-stats span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.admin-stats strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

.admin-stats .admin-stat-alert {
  border-color: #efd5d3;
  background: var(--danger-soft);
}

.admin-stat-alert strong {
  color: var(--danger);
}

.admin-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}

.tab-count {
  min-width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 99px;
  color: #fff;
  background: var(--danger);
  font-size: 8px;
}

.admin-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-head h2 {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.admin-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 9.5px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
}

.admin-table th {
  padding: 10px 14px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 9px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
}

.admin-table td {
  padding: 13px 14px;
  border-top: 1px solid #eef2ed;
  vertical-align: top;
}

.admin-table tr:hover td {
  background: #fcfdfb;
}

.admin-content-cell {
  min-width: 270px;
}

.admin-content-main {
  position: relative;
}

.admin-content-main p {
  margin: 5px 0 3px;
  color: #3a5147;
  line-height: 1.65;
}

.admin-content-main time {
  color: var(--muted);
  font-size: 8.5px;
}

.admin-id {
  color: var(--muted);
  font-size: 8.5px;
}

.admin-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
}

.admin-table td strong {
  font-size: 10.5px;
}

.admin-actions-cell {
  min-width: 150px;
}

.admin-actions-cell form {
  display: inline;
  margin: 0;
}

.admin-actions-cell .text-btn {
  margin: 0 6px 5px 0;
  font-size: 9px;
}

.status-pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 8.5px;
  font-weight: 650;
  white-space: nowrap;
}

.status-published {
  color: var(--green);
  background: var(--green-soft);
}

.status-hidden {
  color: var(--danger);
  background: var(--danger-soft);
}

.status-collecting {
  color: var(--blue);
  background: var(--blue-soft);
}

.status-completed,
.status-approved {
  color: var(--green);
  background: var(--green-soft);
}

.status-cancelled,
.status-rejected {
  color: var(--danger);
  background: var(--danger-soft);
}

.status-pending {
  color: var(--amber);
  background: var(--amber-soft);
}

.status-active {
  color: var(--green);
  background: var(--green-soft);
}

.status-disabled {
  color: var(--danger);
  background: var(--danger-soft);
}

.admin-empty {
  padding: 45px !important;
  color: var(--muted);
  text-align: center;
}

.report-admin-list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.admin-report-card {
  padding: 17px;
  border: 1px solid #ecd9d7;
  border-radius: 14px;
  background: #fffafa;
}

.admin-report-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-report-excerpt {
  margin: 11px 0 7px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #3a5147;
  background: #fff;
  font-size: 11px;
  line-height: 1.7;
}

.admin-report-detail {
  margin: 5px 0;
  color: var(--ink-soft);
  font-size: 9.5px;
}

.admin-report-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid #f0e3e2;
}

.admin-report-actions form {
  margin: 0;
}

.admin-empty-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 45px;
  color: var(--muted);
  text-align: center;
}

.admin-empty-block .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 7px;
  color: var(--green);
}

.admin-empty-block strong {
  color: var(--ink);
}

.admin-empty-block span {
  font-size: 10px;
}

.resolved-reports {
  margin: 0 18px 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.resolved-reports summary {
  color: var(--muted);
  font-size: 9.5px;
  cursor: pointer;
}

.resolved-report-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

/* WeChat inbox */

.wechat-admin-hero {
  background:
    radial-gradient(circle at 90% 5%, rgba(223, 190, 120, 0.2), transparent 32%),
    linear-gradient(130deg, #153d31, #1d5c45);
}

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

.wechat-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 18px;
}

.wechat-session-panel {
  min-width: 0;
}

.wechat-filter {
  display: flex;
  gap: 3px;
}

.wechat-filter .feed-tab {
  padding: 5px 9px;
  font-size: 9px;
}

.wechat-session-list {
  display: flex;
  flex-direction: column;
}

.wechat-session-card {
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
}

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

.wechat-session-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.wechat-session-id {
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
}

.wechat-session-time {
  margin-left: auto;
  color: var(--muted);
  font-size: 8.5px;
}

.wechat-session-body {
  margin-top: 11px;
}

.wechat-contact {
  display: flex;
  align-items: center;
  gap: 9px;
}

.wechat-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #3e9a76, #1d5e47);
  font-size: 13px;
  font-weight: 700;
}

.wechat-avatar.large {
  width: 64px;
  height: 64px;
  font-size: 22px;
}

.wechat-contact div {
  display: flex;
  flex-direction: column;
}

.wechat-contact strong {
  font-size: 11px;
}

.wechat-contact span {
  color: var(--muted);
  font-size: 8.5px;
}

.wechat-session-preview {
  margin: 9px 0 8px 47px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.wechat-session-meta {
  display: flex;
  gap: 12px;
  margin-left: 47px;
  color: var(--muted);
  font-size: 8.5px;
}

.wechat-session-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wechat-session-meta .icon {
  width: 12px;
  height: 12px;
}

.wechat-session-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 11px;
}

.wechat-admin-side {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wechat-sim-form {
  display: grid;
  gap: 11px;
  padding: 17px;
}

.wechat-sim-form .field {
  gap: 5px;
}

.wechat-sim-form .field input,
.wechat-sim-form .field textarea,
.wechat-sim-form .field select {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 10.5px;
}

.wechat-sim-form input[type="file"] {
  min-height: auto;
  padding: 8px;
  background: var(--surface-soft);
  font-size: 9px;
}

.wechat-compliance {
  padding: 17px;
}

.wechat-compliance p {
  margin: 0 0 9px;
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.75;
}

.wechat-compliance .muted-note {
  margin-bottom: 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 8.5px;
}

.wechat-detail-page {
  padding-top: 25px;
  padding-bottom: 80px;
}

.wechat-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.wechat-detail-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wechat-detail-contact h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 600;
}

.wechat-detail-contact p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.wechat-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.wechat-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 18px;
  margin-top: 15px;
}

.wechat-transcript-panel {
  min-height: 500px;
}

.wechat-transcript {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  background:
    radial-gradient(rgba(31, 91, 69, 0.04) 0.6px, transparent 0.6px),
    #f8faf7;
  background-size: 15px 15px;
  min-height: 420px;
}

.wechat-message {
  max-width: 82%;
}

.wechat-message-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 4px 5px;
  color: var(--muted);
  font-size: 8px;
}

.wechat-message-meta span {
  color: var(--green-dark);
  font-weight: 700;
}

.wechat-bubble {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 5px 15px 15px 15px;
  color: #354d43;
  background: #fff;
  font-size: 11.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  box-shadow: 0 4px 12px rgba(28, 57, 45, 0.04);
  word-break: break-word;
}

.wechat-media {
  display: block;
  overflow: hidden;
  max-width: 360px;
  border-radius: 14px;
  background: #e9efe9;
  box-shadow: var(--shadow-sm);
}

.wechat-media img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.wechat-media.wechat-video {
  width: 360px;
  max-width: 100%;
}

.wechat-media video {
  width: 100%;
  max-height: 360px;
  background: #0b1813;
}

.wechat-detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wechat-card-panel {
  padding-bottom: 14px;
}

.wechat-card-preview {
  display: block;
  margin: 0 15px 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.wechat-card-preview img {
  width: 100%;
}

.wechat-card-panel form {
  padding: 0 15px;
}

.wechat-review-panel {
  padding-bottom: 15px;
}

.wechat-review-form {
  display: grid;
  gap: 8px;
  padding: 0 15px 10px;
}

.wechat-review-panel .muted-note {
  display: block;
  padding: 0 15px;
}

.admin-empty-block.small {
  padding: 28px;
}

/* User administration */

.users-admin-hero {
  background:
    radial-gradient(circle at 88% 0, rgba(222, 191, 126, 0.18), transparent 32%),
    linear-gradient(130deg, #173f32, #225d47);
}

.users-panel-head {
  align-items: flex-start;
  flex-wrap: wrap;
}

.admin-user-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-user-filters select,
.admin-filter-search {
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 9.5px;
}

.admin-user-filters select {
  padding: 0 9px;
}

.admin-filter-search {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
}

.admin-filter-search .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
}

.admin-filter-search input {
  width: 130px;
  border: 0;
  background: transparent;
  font-size: 9.5px;
  outline: 0;
}

.user-admin-table td {
  vertical-align: middle;
}

.user-admin-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
}

.user-admin-identity > div {
  display: flex;
  flex-direction: column;
}

.user-admin-identity strong {
  font-size: 10.5px;
}

.user-admin-identity span {
  color: var(--muted);
  font-size: 8.5px;
}

.user-admin-identity .ban-reason {
  max-width: 260px;
  margin-top: 2px;
  color: var(--danger);
  font-size: 7.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-admin {
  color: var(--green) !important;
}

.user-row-banned td {
  background: #fffafa;
}

.user-content-counts,
.user-date-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
  font-size: 8.5px;
  white-space: nowrap;
}

.user-admin-detail-page {
  padding-top: 24px;
  padding-bottom: 80px;
}

.user-admin-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.user-admin-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.user-admin-profile-copy {
  flex: 1;
}

.user-admin-profile-copy h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 600;
}

.user-admin-stats {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.user-admin-stats div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.user-admin-stats strong {
  font-family: var(--font-serif);
  font-size: 20px;
}

.user-admin-stats span {
  color: var(--muted);
  font-size: 8.5px;
}

.user-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 18px;
  margin-top: 15px;
}

.user-admin-main,
.user-admin-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.user-activity-list {
  display: flex;
  flex-direction: column;
}

.user-activity-item {
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
}

.user-activity-item:last-child {
  border-bottom: 0;
}

.user-activity-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.user-activity-head time,
.user-activity-meta {
  color: var(--muted);
  font-size: 8px;
}

.user-activity-item p {
  margin: 7px 0 5px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.user-activity-meta {
  display: flex;
  gap: 12px;
}

.user-action-panel {
  position: sticky;
  top: 95px;
}

.user-action-body {
  display: grid;
  gap: 11px;
  padding: 16px;
}

.user-action-body form {
  display: grid;
  gap: 8px;
  margin: 0;
}

.user-action-body .field input {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 10px;
}

.user-action-body .check-row {
  align-items: flex-start;
  font-size: 9px;
  line-height: 1.6;
}

.user-action-body .check-row input {
  margin-top: 2px;
  flex: 0 0 auto;
}

.user-action-divider {
  height: 1px;
  background: var(--line);
}

.admin-log-mini {
  display: grid;
  gap: 0;
  padding: 7px 15px 12px;
}

.admin-log-mini > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #eef2ed;
  font-size: 8.5px;
}

.admin-log-mini span {
  color: var(--green);
  font-weight: 650;
}

.admin-log-mini time {
  margin-left: auto;
  color: var(--muted);
}

.admin-log-mini small {
  color: var(--muted);
}

@media (max-width: 1020px) {
  .user-admin-layout {
    grid-template-columns: 1fr;
  }
  .user-action-panel {
    position: static;
  }
  .user-admin-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .admin-user-filters {
    width: 100%;
  }
  .admin-filter-search {
    width: 100%;
  }
  .admin-user-filters .admin-filter-search {
    flex: 1;
  }
  .admin-filter-search input {
    width: 100%;
  }
  .user-admin-profile {
    align-items: flex-start;
    padding: 18px;
  }
  .user-admin-profile-copy h1 {
    font-size: 27px;
  }
  .user-admin-stats {
    flex-wrap: wrap;
    gap: 12px;
  }
  .user-admin-side {
    grid-template-columns: 1fr;
  }
}

/* Campus scenery */

.scenery-page {
  padding-bottom: 80px;
}

.scenery-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 8%, rgba(232, 198, 128, 0.23), transparent 32%),
    radial-gradient(circle at 10% 92%, rgba(148, 203, 168, 0.13), transparent 32%),
    linear-gradient(125deg, #143e31, #1f6047 57%, #31795c);
}

.scenery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.65px, transparent 0.65px);
  background-size: 18px 18px;
  opacity: 0.32;
}

.scenery-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 45px;
}

.scenery-hero-copy {
  max-width: 680px;
}

.scenery-hero .eyebrow {
  color: #9ed4b4;
}

.scenery-hero h1 {
  margin: 14px 0 11px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.scenery-hero-copy > p {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.95;
}

.scenery-hero-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
}

.scenery-hero .btn-primary {
  color: var(--green-dark);
  background: #f4ead3;
}

.scenery-collage {
  position: relative;
  height: 290px;
}

.scenery-frame {
  position: absolute;
  display: block;
  border: 6px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(3, 25, 17, 0.22);
}

.frame-one {
  width: 210px;
  height: 155px;
  left: 30px;
  top: 45px;
  background:
    linear-gradient(180deg, rgba(246, 202, 132, 0.8), rgba(213, 150, 97, 0.55) 45%, rgba(48, 103, 76, 0.8) 46%),
    #376e55;
  transform: rotate(-5deg);
}

.frame-two {
  width: 170px;
  height: 205px;
  right: 17px;
  top: 65px;
  background:
    linear-gradient(165deg, rgba(199, 225, 208, 0.9), rgba(81, 139, 107, 0.75)),
    #4d7c63;
  transform: rotate(6deg);
}

.frame-three {
  width: 120px;
  height: 98px;
  left: 95px;
  bottom: 1px;
  background: linear-gradient(150deg, #d7c18e, #6b8b6c);
  transform: rotate(3deg);
}

.scenery-sun {
  position: absolute;
  right: 55px;
  top: 16px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(246, 222, 166, 0.8);
  box-shadow: 0 0 50px rgba(246, 222, 166, 0.25);
}

.scenery-caption {
  position: absolute;
  left: 40px;
  bottom: 3px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.scenery-hero-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-size: 8.5px;
}

.scenery-hero-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.scenery-hero-foot .icon {
  width: 13px;
  height: 13px;
}

.scenery-content {
  padding-top: 30px;
}

.scenery-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.scenery-section-head h2 {
  margin: 7px 0 0;
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 600;
}

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

.scenery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scenery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.scenery-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #dfe9e0;
}

.scenery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.scenery-card:hover .scenery-image img {
  transform: scale(1.03);
}

.scenery-location {
  position: absolute;
  left: 11px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border-radius: 99px;
  color: #fff;
  background: rgba(12, 38, 27, 0.57);
  font-size: 8px;
  backdrop-filter: blur(8px);
}

.scenery-location .icon {
  width: 10px;
  height: 10px;
}

.scenery-card-body {
  padding: 13px 14px 14px;
}

.scenery-caption-text {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.scenery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.scenery-empty {
  padding: 65px 30px;
}

.scenery-note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 28px;
}

.scenery-note-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.scenery-note-grid article > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 11px;
  color: var(--green);
  background: var(--green-soft);
}

.scenery-note-grid h3 {
  margin-bottom: 5px;
  font-size: 12px;
}

.scenery-note-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.75;
}

.scenery-submit-page,
.scenery-admin-grid {
  padding-top: 24px;
}

.scenery-submit-page {
  padding-bottom: 80px;
}

.scenery-submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 22px;
  margin-top: 14px;
}

.scenery-submit-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.my-scenery-list {
  display: grid;
  gap: 9px;
}

.my-scenery-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 10px;
  background: var(--surface-soft);
}

.my-scenery-item img {
  width: 58px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
}

.my-scenery-item > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.my-scenery-item strong {
  max-width: 160px;
  overflow: hidden;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-scenery-item small {
  color: var(--muted);
  font-size: 7.5px;
}

.my-scenery-item em {
  margin-top: 3px;
  font-style: normal;
}

.scenery-admin-hero {
  background:
    radial-gradient(circle at 88% 0, rgba(223, 193, 130, 0.23), transparent 33%),
    linear-gradient(130deg, #173f32, #225e46);
}

.scenery-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.scenery-admin-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.scenery-admin-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-soft);
}

.scenery-admin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenery-admin-body {
  padding: 13px;
}

.scenery-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scenery-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 7px 0;
  color: var(--muted);
  font-size: 8px;
}

.scenery-admin-edit,
.scenery-admin-review {
  display: grid;
  gap: 5px;
  margin-top: 7px;
}

.scenery-admin-edit input,
.scenery-admin-review input {
  width: 100%;
  min-height: 30px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  font-size: 8.5px;
}

.scenery-admin-review > div {
  display: flex;
  gap: 4px;
}

.scenery-admin-review .btn {
  min-height: 29px;
  padding: 5px 8px;
  font-size: 8px;
}

.scenery-admin-empty {
  grid-column: 1 / -1;
}

@media (max-width: 1000px) {
  .scenery-hero-inner {
    grid-template-columns: 1fr;
  }
  .scenery-collage {
    display: none;
  }
  .scenery-grid,
  .scenery-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scenery-submit-layout {
    grid-template-columns: 1fr;
  }
  .scenery-submit-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .scenery-hero {
    padding-top: 34px;
  }
  .scenery-hero h1 {
    font-size: 45px;
  }
  .scenery-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .scenery-hero-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .scenery-grid,
  .scenery-admin-grid {
    grid-template-columns: 1fr;
  }
  .scenery-note-grid {
    grid-template-columns: 1fr;
  }
  .scenery-submit-side {
    grid-template-columns: 1fr;
  }
}

/* About */

.about-page {
  padding-bottom: 80px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 75px;
  background:
    radial-gradient(circle at 82% 20%, rgba(203, 225, 208, 0.7), transparent 32%),
    linear-gradient(135deg, #f7f4eb, #eef4ec 68%, #e5efe7);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(31, 92, 68, 0.1) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  mask-image: linear-gradient(90deg, transparent 20%, #000);
  opacity: 0.45;
}

.about-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  align-items: center;
  gap: 70px;
}

.about-hero-copy h1 {
  margin: 18px 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.about-hero-copy h1 span {
  color: var(--green);
}

.about-hero-copy > p {
  max-width: 590px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

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

.about-emblem {
  position: relative;
  height: 370px;
  display: grid;
  place-items: center;
}

.emblem-ring {
  position: absolute;
  border: 1px solid rgba(31, 108, 78, 0.17);
  border-radius: 50%;
}

.ring-a {
  width: 340px;
  height: 340px;
}

.ring-b {
  width: 270px;
  height: 270px;
}

.emblem-card {
  position: relative;
  z-index: 2;
  width: 228px;
  height: 262px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(145deg, #1d6c50, #123b2d);
  box-shadow: 0 30px 60px rgba(20, 70, 51, 0.23);
  transform: rotate(-3deg);
}

.emblem-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #eddbad;
  font-family: var(--font-serif);
  font-size: 38px;
}

.emblem-card strong {
  color: #f7eedb;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.emblem-card small {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 7px;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-align: center;
}

.emblem-tag {
  position: absolute;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 99px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-serif);
  font-size: 12px;
}

.tag-top {
  right: 18px;
  top: 52px;
  transform: rotate(5deg);
}

.tag-bottom {
  left: 7px;
  bottom: 58px;
  transform: rotate(-6deg);
}

.about-content {
  position: relative;
  margin-top: -32px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.about-facts article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.about-facts article:last-child {
  border-right: 0;
}

.about-facts strong {
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
}

.about-facts strong small {
  font-size: 15px;
}

.about-facts span {
  color: var(--muted);
  font-size: 9.5px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  margin-top: 28px;
}

.about-main-card,
.about-side-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.about-main-card h2 {
  margin: 10px 0 17px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.5;
}

.about-main-card p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.about-main-card blockquote {
  margin: 23px 0;
  padding: 20px 23px;
  border-left: 3px solid #d8bd85;
  border-radius: 0 13px 13px 0;
  background: var(--surface-warm);
}

.about-main-card blockquote span {
  display: block;
  margin-bottom: 4px;
  color: var(--amber);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.about-main-card blockquote strong {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

.about-muted {
  color: var(--muted) !important;
  font-size: 11.5px !important;
}

.about-side-card h2 {
  margin: 8px 0 18px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
}

.school-facts {
  display: grid;
  gap: 13px;
  margin: 0;
}

.school-facts > div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.school-facts dt {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 9px;
}

.school-facts dt .icon {
  width: 12px;
  height: 12px;
}

.school-facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.6;
}

.school-facts a {
  color: var(--green);
}

.source-note {
  margin: 17px 0 0;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
}

.name-correction,
.minor-safety {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 17px 19px;
  border: 1px solid #eadcbf;
  border-radius: 14px;
  background: #fcf8ee;
}

.name-correction strong,
.minor-safety strong {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
}

.name-correction p,
.minor-safety p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.75;
}

.wall-intro,
.rules-section,
.source-section {
  margin-top: 65px;
}

.wall-intro-head,
.rules-head {
  max-width: 630px;
  margin-bottom: 25px;
}

.wall-intro-head h2,
.rules-head h2,
.source-section h2 {
  margin: 10px 0 11px;
  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 600;
}

.wall-intro-head p,
.rules-head p,
.source-section p {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.9;
}

.wall-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.wall-feature-grid article {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  color: var(--green);
  background: var(--green-soft);
}

.feature-icon .icon {
  width: 19px;
  height: 19px;
}

.wall-feature-grid h3 {
  margin-bottom: 7px;
  font-size: 13px;
}

.wall-feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

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

.rules-grid article {
  position: relative;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.rules-grid article > span {
  color: #c5d5ca;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
}

.rules-grid h3 {
  margin: 10px 0 6px;
  font-size: 13px;
}

.rules-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.minor-safety {
  border-color: #cee1d4;
  background: #f2f8f4;
}

.source-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 29px 32px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, #173f32, #205c44);
}

.source-section > div:first-child {
  max-width: 690px;
}

.source-section .eyebrow {
  color: #9cd0b2;
}

.source-section h2 {
  margin-top: 7px;
  font-size: 26px;
}

.source-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10.5px;
}

.source-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 0 0 auto;
}

.source-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9.5px;
  text-align: right;
}

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

/* Simple/error pages */

.simple-page,
.error-page {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding-top: 50px;
  padding-bottom: 70px;
}

.simple-card {
  width: min(650px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.simple-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 18px;
  color: var(--green);
  background: var(--green-soft);
}

.simple-icon .icon {
  width: 26px;
  height: 26px;
}

.simple-card h1 {
  margin: 10px 0 12px;
  font-family: var(--font-serif);
  font-size: 33px;
  font-weight: 600;
}

.simple-card p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.9;
}

.simple-code {
  margin: 20px 0;
  padding: 15px;
  border-radius: 11px;
  color: #b7d9c6;
  background: #173d31;
  font-family: Consolas, monospace;
  font-size: 10px;
  line-height: 1.8;
  text-align: left;
  overflow-wrap: anywhere;
}

.simple-card .btn {
  margin-top: 8px;
}

.error-card {
  position: relative;
  width: min(520px, 100%);
  padding: 48px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.error-code {
  position: absolute;
  right: 24px;
  top: 15px;
  color: #eef3ed;
  font-family: var(--font-serif);
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
}

.error-card .empty-mark {
  position: relative;
  z-index: 1;
  margin: 0 auto 16px;
}

.error-card h1 {
  position: relative;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 600;
}

.error-card p {
  color: var(--muted);
  font-size: 11.5px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
}

/* Toast, modal and lightbox */

.toast-stack {
  position: fixed;
  z-index: 120;
  left: 50%;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(420px, calc(100% - 30px));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  color: var(--ink-soft);
  font-size: 11.5px;
  pointer-events: auto;
  animation: toast-in 0.28s ease both;
}

.toast.is-leaving {
  animation: toast-out 0.22s ease both;
}

.toast-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
}

.toast-error .toast-icon {
  color: var(--danger);
  background: var(--danger-soft);
}

.toast-icon .icon {
  width: 13px;
  height: 13px;
}

.toast-close {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.toast-close .icon {
  width: 12px;
  height: 12px;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 23, 0.5);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  width: min(450px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 23px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.23s ease both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 5px 0 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

.modal-panel form {
  display: grid;
  gap: 14px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 5px;
}

body.modal-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 35px;
  background: rgba(5, 15, 11, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 70px);
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  right: 25px;
  top: 22px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Footer and mobile nav */

.site-footer {
  padding: 38px 0 45px;
  border-top: 1px solid var(--line);
  background: rgba(247, 249, 245, 0.9);
}

.footer-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 22px;
}

.brand-footer {
  margin-bottom: 9px;
}

.brand-footer .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: none;
}

.brand-footer .brand-mark img {
  width: 29px;
  height: 29px;
}

.brand-footer .brand-copy strong {
  font-size: 16px;
}

.footer-brand p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 9.5px;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  color: var(--ink-soft);
  font-size: 10px;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #a1ada6;
  font-size: 8.5px;
}

.mobile-nav {
  display: none;
}

/* Responsive */

@media (max-width: 1180px) {
  .feed-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .feed-section-switch {
    top: 69px;
    overflow-x: auto;
    padding: 4px;
  }
  .feed-section-switch-label {
    display: none;
  }
  .feed-section-switch-current {
    display: none;
  }
  .feed-section-switch-item {
    flex: 1;
    text-align: center;
    white-space: nowrap;
  }
  .composer-section-fixed small {
    display: none;
  }
  .right-rail {
    display: none;
  }
  .feed-column {
    max-width: none;
  }
  .hero-visual {
    right: -28px;
    opacity: 0.82;
  }
  .hero-copy {
    max-width: 490px;
  }
  .wall-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }
  .feed-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .left-rail {
    display: none;
  }
  .feed-column {
    max-width: 760px;
  }
  .hero-visual {
    opacity: 0.72;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    min-height: 430px;
    padding: 80px 35px 45px;
  }
  .auth-visual h1 {
    font-size: 40px;
  }
  .auth-quote-card {
    display: none;
  }
  .register-preview {
    max-width: 500px;
  }
  .auth-panel {
    padding: 45px 24px 60px;
  }
  .about-hero-inner {
    grid-template-columns: 1fr 300px;
    gap: 30px;
  }
  .about-emblem {
    height: 310px;
  }
  .ring-a { width: 290px; height: 290px; }
  .ring-b { width: 225px; height: 225px; }
  .emblem-card { width: 190px; height: 225px; }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-side-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 20px;
  }
  .about-side-card .source-note {
    grid-column: 1 / -1;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-rail {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-rail {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .back-to-feed {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 70px;
  }
  .page-shell {
    width: min(100% - 24px, 720px);
  }
  .header-shell {
    width: calc(100% - 24px);
    height: 63px;
    gap: 12px;
  }
  .brand-mark {
    width: 37px;
    height: 37px;
    border-radius: 12px;
  }
  .brand-mark img {
    width: 30px;
    height: 30px;
  }
  .brand-copy strong {
    font-size: 16px;
  }
  .brand-copy small {
    display: none;
  }
  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: none;
  }
  .user-pill span:last-child {
    display: none;
  }
  .user-pill {
    padding: 3px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .header-actions .icon-btn {
    display: none;
  }
  .feed-layout {
    padding-top: 13px;
    padding-bottom: 30px;
  }
  .feed-hero {
    min-height: 310px;
    padding: 28px 22px 0;
    border-radius: 25px;
  }
  .feed-hero h1 {
    font-size: 33px;
  }
  .feed-hero p {
    max-width: 310px;
    font-size: 11.5px;
  }
  .hero-visual {
    display: none;
  }
  .hero-stats {
    margin: 24px -22px 0;
    padding: 13px 22px;
  }
  .hero-stats strong {
    font-size: 18px;
  }
  .hero-stats span {
    font-size: 8px;
  }
  .composer-card {
    margin-top: 12px;
    padding: 16px;
    border-radius: 21px;
  }
  .composer-head .avatar-md {
    width: 40px;
    height: 40px;
  }
  .composer-badge {
    display: none;
  }
  .composer-card textarea {
    min-height: 100px;
    font-size: 14px;
  }
  .composer-context {
    flex-wrap: wrap;
  }
  .section-picker {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .section-option > span {
    text-align: center;
  }
  .char-count {
    margin-left: auto;
  }
  .guest-row {
    align-items: flex-start;
  }
  .guest-name-field {
    width: 100%;
    justify-content: space-between;
  }
  .guest-name-field input {
    width: 60%;
  }
  .guest-hint {
    width: 100%;
  }
  .upload-preview {
    grid-template-columns: repeat(3, 1fr);
  }
  .upload-hint {
    display: none;
  }
  .feed-toolbar {
    margin-top: 17px;
  }
  .feed-search {
    width: 44px;
    padding: 0 13px;
    transition: width 0.2s ease;
  }
  .feed-search:focus-within {
    width: 170px;
  }
  .feed-search input {
    min-width: 0;
  }
  .post-card {
    padding: 16px;
    border-radius: 21px;
  }
  .post-content {
    font-size: 13.5px;
  }
  .media-grid {
    margin-left: -4px;
    margin-right: -4px;
  }
  .share-btn span {
    display: none;
  }
  .comments-section {
    padding: 17px;
    border-radius: 21px;
  }
  .comments-note {
    display: none;
  }
  .comment-form-foot {
    align-items: flex-end;
  }
  .comment-form-foot input {
    width: 115px;
  }
  .detail-rail {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    min-height: 370px;
    padding: 75px 23px 36px;
  }
  .auth-visual h1 {
    font-size: 34px;
  }
  .auth-visual-copy > p {
    font-size: 11px;
  }
  .register-preview {
    display: none;
  }
  .auth-feature-row {
    margin-top: 23px;
  }
  .auth-panel {
    padding: 35px 18px 55px;
  }
  .auth-panel h2 {
    font-size: 30px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .profile-page {
    padding-top: 12px;
  }
  .profile-cover {
    height: 110px;
  }
  .profile-main {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 13px;
    padding: 0 17px 18px;
  }
  .profile-avatar-wrap {
    margin-top: -38px;
  }
  .profile-avatar-wrap .avatar {
    width: 88px;
    height: 88px;
    border-width: 4px;
  }
  .profile-identity {
    padding-top: 12px;
  }
  .profile-name-row h1 {
    font-size: 23px;
  }
  .profile-actions {
    grid-column: 1 / -1;
    padding-top: 2px;
  }
  .profile-actions .btn {
    flex: 1;
  }
  .profile-actions form {
    flex: 1;
  }
  .profile-actions form .btn {
    width: 100%;
  }
  .profile-stats {
    grid-column: 1 / -1;
    gap: 16px;
  }
  .profile-stats strong {
    font-size: 17px;
  }
  .profile-layout {
    margin-top: 14px;
  }
  .profile-tab-note {
    display: none;
  }
  .profile-rail {
    grid-template-columns: 1fr;
  }
  .profile-comment-delete {
    position: static;
    margin-top: 7px;
  }
  .settings-page {
    padding-top: 13px;
  }
  .settings-card {
    padding: 19px;
    border-radius: 21px;
  }
  .settings-side {
    grid-template-columns: 1fr;
  }
  .avatar-editor {
    align-items: flex-start;
  }
  .admin-page {
    padding-top: 13px;
  }
  .admin-hero {
    align-items: flex-start;
    padding: 22px;
  }
  .admin-hero h1 {
    font-size: 27px;
  }
  .admin-shield {
    display: none;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-tabs {
    overflow-x: auto;
    padding-bottom: 3px;
  }
  .admin-tabs .feed-tab {
    flex: 0 0 auto;
  }
  .admin-panel-head {
    padding: 16px;
  }
  .admin-table {
    min-width: 760px;
  }
  .about-hero {
    padding: 40px 0 65px;
  }
  .about-hero-inner {
    grid-template-columns: 1fr;
  }
  .about-hero-copy h1 {
    font-size: 39px;
  }
  .about-emblem {
    display: none;
  }
  .about-facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-facts article:nth-child(2) {
    border-right: 0;
  }
  .about-facts article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .about-main-card,
  .about-side-card {
    padding: 23px;
  }
  .about-side-card {
    display: block;
  }
  .wall-intro,
  .rules-section,
  .source-section {
    margin-top: 45px;
  }
  .wall-intro-head h2,
  .rules-head h2 {
    font-size: 29px;
  }
  .wall-feature-grid,
  .rules-grid {
    grid-template-columns: 1fr 1fr;
  }
  .source-section {
    display: block;
    padding: 24px;
  }
  .source-links {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }
  .source-links a {
    text-align: left;
  }
  .site-footer {
    padding-bottom: 30px;
  }
  .footer-shell {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .footer-meta {
    flex-direction: column;
    gap: 3px;
  }
  .mobile-nav {
    position: fixed;
    z-index: 80;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    height: 59px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: 0 8px;
    border: 1px solid rgba(220, 229, 220, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 45px rgba(25, 57, 45, 0.16);
    backdrop-filter: blur(18px);
  }
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--muted);
    font-size: 8px;
  }
  .mobile-nav-item .icon {
    width: 20px;
    height: 20px;
  }
  .mobile-nav-item.active {
    color: var(--green);
  }
  .mobile-compose {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin: 5px 3px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #278662, #15553f);
    font-size: 8px;
  }
  .mobile-compose .icon {
    width: 20px;
    height: 20px;
  }
  .toast-stack {
    top: 73px;
  }
  .modal-panel {
    padding: 19px;
  }
  .simple-card {
    padding: 28px 20px;
  }
  .section-intro {
    padding: 16px;
  }
  .section-intro h2 {
    font-size: 21px;
  }
  .section-intro-count {
    font-size: 24px;
  }
}

/* Teacher wall */

.teacher-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

.teacher-mini-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green);
  background: var(--green-pale);
}

.teacher-mini-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.teacher-mini-copy strong {
  font-size: 11.5px;
}

.teacher-mini-copy small {
  color: var(--muted);
  font-size: 8.5px;
}

.teacher-mini > .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.star-row {
  display: inline-flex;
  gap: 1px;
  line-height: 1;
}

.star {
  color: #d8ded8;
  font-size: 14px;
}

.star.is-filled {
  color: #d5a343;
}

.star-sm .star {
  font-size: 12px;
}

.star-lg .star {
  font-size: 19px;
}

.teachers-page {
  padding-bottom: 80px;
}

.teachers-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  color: #fff;
  background:
    radial-gradient(circle at 84% 15%, rgba(221, 190, 124, 0.2), transparent 30%),
    radial-gradient(circle at 8% 95%, rgba(139, 201, 161, 0.14), transparent 32%),
    linear-gradient(130deg, #163f32, #1e6048 60%, #2c7558);
}

.teachers-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.35;
}

.teachers-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}

.teachers-hero-copy {
  max-width: 760px;
}

.teachers-hero .eyebrow {
  color: #9ed4b4;
}

.teachers-hero h1 {
  margin: 13px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 6vw, 70px);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.teachers-hero-copy > p {
  max-width: 620px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 12px;
  line-height: 1.9;
}

.teachers-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.teachers-hero .btn-primary {
  color: var(--green-dark);
  background: #f4ead3;
}

.teachers-hero-stats {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 27px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.teachers-hero-stats div {
  display: flex;
  flex-direction: column;
}

.teachers-hero-stats strong {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
}

.teachers-hero-stats span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
}

.teachers-content {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin-top: 24px;
}

.teacher-filter-card {
  position: sticky;
  top: 96px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.teacher-filter-card .rail-title {
  padding: 8px 8px 4px;
}

.teacher-filter-note {
  display: flex;
  gap: 8px;
  margin: 12px 7px;
  padding: 11px;
  border-radius: 10px;
  background: var(--surface-soft);
}

.teacher-filter-note .notice-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.teacher-filter-note p {
  margin: 0;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.65;
}

.teacher-filter-card > .text-link {
  display: flex;
  margin: 10px 8px 6px;
  font-size: 9px;
}

.teachers-main {
  min-width: 0;
}

.teachers-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.teacher-search {
  width: 235px;
}

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

.teacher-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.teacher-card:hover {
  transform: translateY(-3px);
  border-color: #cbdccc;
  box-shadow: var(--shadow-md);
}

.teacher-photo-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.7;
  overflow: hidden;
  background: linear-gradient(145deg, #dfece2, #c6ddce);
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-photo-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #3d9572, #1e5c45);
  font-family: var(--font-serif);
  font-size: 70px;
}

.teacher-profile-photo > .teacher-photo-placeholder,
.teacher-admin-profile-photo > .teacher-photo-placeholder {
  width: 100%;
  height: 100%;
}

.teacher-section-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 8px;
  border-radius: 99px;
  font-size: 8.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.teacher-section-tag.section-amber { color: #704812; background: rgba(252, 240, 217, 0.9); }
.teacher-section-tag.section-green { color: var(--green-dark); background: rgba(229, 244, 235, 0.92); }
.teacher-section-tag.section-blue { color: #2b527d; background: rgba(232, 241, 251, 0.92); }

.teacher-verified {
  position: absolute;
  right: 11px;
  bottom: 11px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 7px;
  border-radius: 99px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.9);
  font-size: 7.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.teacher-verified .icon {
  width: 10px;
  height: 10px;
}

.teacher-verified.large {
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  font-size: 9px;
}

.teacher-card-body {
  padding: 15px;
}

.teacher-name-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.teacher-name-row h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.teacher-name-row h2 a:hover {
  color: var(--green);
}

.teacher-title {
  color: var(--muted);
  font-size: 8px;
}

.teacher-subject {
  margin: 3px 0 9px;
  color: var(--green);
  font-size: 9.5px;
  font-weight: 650;
}

.teacher-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2ed;
}

.teacher-rating-row strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
}

.teacher-rating-row > span {
  color: var(--muted);
  font-size: 8px;
}

.teacher-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 8.5px;
}

.teacher-card-foot span,
.teacher-card-foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.teacher-card-foot .icon {
  width: 12px;
  height: 12px;
}

.teacher-card-foot a {
  color: var(--green);
  font-weight: 650;
}

.teacher-empty {
  grid-column: 1 / -1;
}

.teacher-detail-page,
.teacher-apply-page,
.teacher-admin-detail-page {
  padding-top: 24px;
  padding-bottom: 80px;
}

.teacher-profile {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.teacher-profile-photo {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: linear-gradient(145deg, #d9eadd, #b9d6c3);
}

.teacher-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.teacher-profile-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.teacher-profile-copy h1 {
  margin: 15px 0 10px;
  font-family: var(--font-serif);
  font-size: 55px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.teacher-bio {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.95;
}

.teacher-profile-rating {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}

.teacher-profile-rating strong {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
}

.teacher-profile-rating > span:last-child {
  color: var(--muted);
  font-size: 9.5px;
}

.teacher-profile-actions {
  display: flex;
  gap: 9px;
  margin-top: 23px;
}

.teacher-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: start;
  gap: 22px;
  margin-top: 20px;
}

.teacher-detail-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.teacher-rating-card,
.teacher-comments-section {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.teacher-rating-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.teacher-rating-head h2 {
  margin: 7px 0 5px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
}

.teacher-rating-head p {
  margin: 0;
  color: var(--muted);
  font-size: 9.5px;
}

.rating-score-big {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rating-score-big strong {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.rating-score-big span:last-child {
  color: var(--muted);
  font-size: 8px;
}

.rating-distribution {
  display: grid;
  gap: 7px;
  margin: 18px 0;
}

.rating-bar-row {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 25px;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 8.5px;
}

.rating-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf2ed;
}

.rating-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #d7b35e, #c2943e);
}

.star-rating-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 13px;
  background: var(--surface-soft);
}

.star-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}

.star-input label {
  cursor: pointer;
}

.star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-input label span {
  color: #d8ded8;
  font-size: 28px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-input label:hover span,
.star-input label:hover ~ label span,
.star-input input:checked ~ label span {
  color: #d5a343;
}

.star-input label:hover span {
  transform: scale(1.08);
}

.teacher-comments-section {
  margin-top: 16px;
}

.teacher-apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 22px;
  margin-top: 15px;
}

.teacher-apply-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.process-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 9.5px;
}

.process-list li span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
  font-size: 8px;
  font-weight: 700;
}

.my-teacher-applications {
  display: grid;
  gap: 8px;
}

.my-teacher-app {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #eef2ed;
}

.my-teacher-app div {
  display: flex;
  flex-direction: column;
}

.my-teacher-app strong {
  font-size: 10px;
}

.my-teacher-app div span {
  color: var(--muted);
  font-size: 8px;
}

.teacher-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 18px;
}

.teacher-admin-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.teacher-admin-list {
  display: flex;
  flex-direction: column;
}

.teacher-admin-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

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

.teacher-admin-photo {
  width: 76px;
  height: 88px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--green-soft);
}

.teacher-admin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-admin-photo span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #459978, #1f5e47);
  font-family: var(--font-serif);
  font-size: 26px;
}

.teacher-admin-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.teacher-admin-title h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

.teacher-admin-body > p {
  margin: 3px 0 5px;
  color: var(--green);
  font-size: 9px;
}

.teacher-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  color: var(--muted);
  font-size: 8px;
}

.teacher-admin-profile {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.teacher-admin-profile-photo {
  min-height: 270px;
  overflow: hidden;
  background: var(--green-soft);
}

.teacher-admin-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-admin-profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 30px;
}

.teacher-admin-profile-copy h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 37px;
  font-weight: 600;
}

.teacher-admin-profile-copy > p {
  margin: 5px 0 9px;
  color: var(--green);
  font-size: 11px;
}

.teacher-admin-applicant {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 8.5px;
}

.teacher-admin-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.teacher-admin-review-actions form {
  margin: 0;
}

.teacher-admin-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 18px;
  margin-top: 15px;
}

.teacher-admin-detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.teacher-admin-comments {
  display: flex;
  flex-direction: column;
}

.teacher-admin-comment {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.teacher-admin-comment:last-child {
  border-bottom: 0;
}

.teacher-admin-comment-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.teacher-admin-comment-head strong {
  font-size: 10px;
}

.teacher-admin-comment-head span,
.teacher-admin-comment-head time {
  color: var(--muted);
  font-size: 8px;
}

.teacher-admin-comment p {
  margin: 7px 0 4px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.75;
}

@media (max-width: 1120px) {
  .teacher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .teachers-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .teacher-admin-layout,
  .teacher-admin-detail-layout {
    grid-template-columns: 1fr;
  }
  .teacher-admin-side,
  .teacher-admin-detail-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .teachers-content {
    grid-template-columns: 1fr;
  }
  .teacher-filter-card {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
  }
  .teacher-filter-card .rail-title,
  .teacher-filter-note,
  .teacher-filter-card > .text-link {
    grid-column: 1 / -1;
  }
  .teacher-profile {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .teacher-detail-layout,
  .teacher-apply-layout {
    grid-template-columns: 1fr;
  }
  .teacher-detail-side,
  .teacher-apply-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .teachers-hero {
    padding: 34px 0;
  }
  .teachers-hero h1 {
    font-size: 47px;
  }
  .teachers-hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .teachers-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .teachers-content {
    margin-top: 14px;
  }
  .teacher-filter-card {
    display: block;
  }
  .teachers-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .teacher-search {
    width: 100%;
  }
  .teacher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .teacher-profile {
    grid-template-columns: 1fr;
  }
  .teacher-profile-photo {
    min-height: 300px;
    max-height: 380px;
  }
  .teacher-profile-copy {
    padding: 23px;
  }
  .teacher-profile-copy h1 {
    font-size: 39px;
  }
  .teacher-detail-side,
  .teacher-apply-side,
  .teacher-admin-side,
  .teacher-admin-detail-side {
    grid-template-columns: 1fr;
  }
  .teacher-rating-card,
  .teacher-comments-section {
    padding: 18px;
  }
  .teacher-rating-head {
    flex-direction: column;
  }
  .rating-score-big {
    align-items: flex-start;
  }
  .star-rating-form {
    align-items: flex-start;
    flex-direction: column;
  }
  .teacher-admin-profile {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .teacher-admin-profile-photo {
    min-height: 220px;
  }
  .teacher-admin-profile-copy {
    padding: 18px;
  }
  .teacher-admin-profile-copy h1 {
    font-size: 27px;
  }
}

@media (max-width: 520px) {
  .teacher-grid {
    grid-template-columns: 1fr;
  }
  .teacher-photo-wrap {
    aspect-ratio: 4 / 3.2;
  }
  .teacher-admin-card {
    grid-template-columns: 65px minmax(0, 1fr);
  }
  .teacher-admin-card > .btn {
    grid-column: 1 / -1;
  }
  .teacher-admin-photo {
    width: 60px;
    height: 72px;
  }
  .teacher-admin-profile {
    grid-template-columns: 1fr;
  }
  .teacher-admin-profile-photo {
    max-height: 280px;
  }
}

@media (max-width: 520px) {
  .feed-hero h1 {
    font-size: 30px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px 0;
  }
  .hero-stats > div:last-child {
    display: none;
  }
  .composer-foot {
    align-items: flex-end;
  }
  .tool-btn span {
    display: none;
  }
  .tool-btn {
    width: 36px;
    height: 36px;
    justify-content: center;
    padding: 0;
  }
  .post-actions {
    gap: 0;
  }
  .action-btn {
    padding: 5px 7px;
  }
  .comment-link {
    display: none;
  }
  .comments-head h2 {
    font-size: 22px;
  }
  .comment-form-foot {
    align-items: stretch;
    flex-direction: column;
  }
  .comment-identity {
    width: 100%;
  }
  .comment-form-foot input {
    flex: 1;
    width: auto;
  }
  .comment-submit-group {
    justify-content: space-between;
  }
  .auth-visual {
    min-height: 330px;
  }
  .auth-visual h1 {
    font-size: 30px;
  }
  .auth-feature-row {
    gap: 10px;
  }
  .auth-feature-row span {
    font-size: 9px;
  }
  .profile-main {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .profile-avatar-wrap .avatar {
    width: 75px;
    height: 75px;
  }
  .profile-status-dot {
    right: 3px;
    bottom: 5px;
    width: 14px;
    height: 14px;
  }
  .profile-name-row h1 {
    font-size: 21px;
  }
  .profile-stats {
    gap: 13px;
  }
  .profile-stats > div:nth-child(4) {
    display: none;
  }
  .avatar-editor {
    flex-direction: column;
  }
  .settings-actions {
    flex-direction: column-reverse;
  }
  .settings-actions .btn {
    width: 100%;
  }
  .admin-stats {
    gap: 7px;
  }
  .admin-stats > div {
    padding: 11px;
  }
  .admin-stats strong {
    font-size: 20px;
  }
  .about-hero-copy h1 {
    font-size: 33px;
  }
  .about-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .about-facts strong {
    font-size: 24px;
  }
  .wall-feature-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }
  .simple-card h1 {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .wechat-admin-layout,
  .wechat-detail-layout {
    grid-template-columns: 1fr;
  }
  .wechat-admin-side,
  .wechat-detail-side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .wechat-simulator {
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  .wechat-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .wechat-admin-side,
  .wechat-detail-side {
    grid-template-columns: 1fr;
  }
  .wechat-filter {
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .wechat-filter .feed-tab {
    flex: 0 0 auto;
  }
  .wechat-detail-page {
    padding-top: 13px;
  }
  .wechat-detail-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 17px;
  }
  .wechat-detail-actions {
    justify-content: flex-start;
  }
  .wechat-detail-contact h1 {
    font-size: 23px;
  }
  .wechat-transcript {
    padding: 14px;
  }
  .wechat-message {
    max-width: 94%;
  }
  .wechat-session-card {
    padding: 15px;
  }
  .wechat-session-head {
    flex-wrap: wrap;
  }
  .wechat-session-time {
    width: 100%;
    margin-left: 0;
  }
  .wechat-session-preview,
  .wechat-session-meta {
    margin-left: 0;
  }
}
