:root {
  --paper: #fbfbf0;
  --paper-2: #f2f7ea;
  --leaf-50: #e9f4df;
  --leaf-100: #d8ebc9;
  --leaf-300: #8bbb63;
  --leaf-500: #2f8a4d;
  --leaf-700: #214631;
  --ink: #183126;
  --muted: #52675a;
  --wood: #b8843f;
  --line: rgba(47, 138, 77, 0.18);
  --shadow: 0 18px 44px rgba(65, 98, 53, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(126, 174, 87, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 52%, #e8f1dd 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

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

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

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

.site-header {
  position: fixed;
  top: 14px;
  left: clamp(18px, 2.6vw, 40px);
  right: clamp(18px, 2.6vw, 40px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: var(--radius);
  background: rgba(38, 65, 43, 0.58);
  box-shadow: 0 18px 46px rgba(28, 54, 33, 0.16);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: background 0.22s ease, top 0.22s ease, padding 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  top: 10px;
  padding: 10px 14px;
  border-color: rgba(47, 138, 77, 0.16);
  background: rgba(251, 251, 240, 0.96);
  box-shadow: 0 12px 36px rgba(47, 80, 50, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(47, 138, 77, 0.96);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(47, 138, 77, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(20, 44, 28, 0.52);
}

.brand small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.25;
}

.site-header.is-scrolled .brand strong {
  color: var(--leaf-700);
  text-shadow: none;
}

.site-header.is-scrolled .brand small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: var(--radius);
  background: rgba(30, 56, 38, 0.28);
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  text-shadow: 0 1px 12px rgba(20, 44, 28, 0.52);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #1f5633;
  background: rgba(255, 255, 247, 0.96);
  box-shadow: 0 10px 24px rgba(25, 55, 32, 0.14);
  text-shadow: none;
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: var(--leaf-500);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: #256f3d;
}

.site-header.is-scrolled .site-nav {
  border-color: rgba(47, 138, 77, 0.14);
  background: rgba(232, 244, 221, 0.72);
}

.site-header.is-scrolled .site-nav a {
  color: var(--leaf-700);
  text-shadow: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.active {
  color: #fff;
  background: var(--leaf-500);
}

.site-header.is-scrolled .site-nav .nav-cta {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(47, 138, 77, 0.72);
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(24, 49, 38, 0.82) 0%, rgba(38, 65, 43, 0.58) 42%, rgba(38, 65, 43, 0.16) 100%),
    url("../assets/guanlan-growth-hero.png") center/cover;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 145px clamp(24px, 5vw, 72px) 42px;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(24, 49, 38, 0.82) 0%, rgba(38, 65, 43, 0.58) 42%, rgba(38, 65, 43, 0.12) 100%),
    linear-gradient(180deg, rgba(24, 49, 38, 0.02) 66%, rgba(247, 248, 238, 0.52) 100%);
}

.page-hero {
  min-height: 430px;
  display: grid;
  align-content: center;
  padding: 132px clamp(24px, 5vw, 72px) 72px;
}

.page-hero::after {
  display: none;
}

.hero-content {
  max-width: 900px;
  padding-bottom: 7vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #dcefcf;
  text-shadow: 0 2px 12px rgba(18, 42, 28, 0.55);
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
  color: #fffaf0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 3px 18px rgba(18, 42, 28, 0.58);
}

.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
}

.hero-lead,
.hero-sub,
.page-hero p {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.94);
  font-size: clamp(18px, 2vw, 24px);
  text-shadow: 0 2px 14px rgba(18, 42, 28, 0.62);
}

.hero-sub {
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn.primary {
  color: #fffaf0;
  border-color: rgba(47, 138, 77, 0.84);
  background: linear-gradient(135deg, var(--leaf-500), #64a63c);
}

.btn.primary * {
  color: #fffaf0;
}

.btn.ghost {
  color: #1f5633;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 247, 0.92);
}

.btn.ghost:hover {
  color: #fff;
  background: var(--leaf-500);
}

.btn.danger {
  color: #9d332d;
  border-color: rgba(157, 51, 45, 0.28);
  background: rgba(157, 51, 45, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: min(980px, calc(100vw - 120px));
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-stats div {
  min-height: 92px;
  padding: 18px 20px;
  border-left: 3px solid rgba(255, 250, 240, 0.72);
  background: rgba(20, 48, 30, 0.34);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  color: #fffaf0;
  font-size: 28px;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(18, 42, 28, 0.48);
}

.hero-stats span {
  color: rgba(255, 250, 240, 0.9);
  font-size: 15px;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(18, 42, 28, 0.45);
}

.section {
  padding: 78px clamp(24px, 5vw, 72px);
}

.section:nth-of-type(even),
.service-showcase {
  background: linear-gradient(180deg, rgba(237, 246, 226, 0.94), rgba(250, 250, 238, 0.96));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.18;
}

.split,
.growth-intro,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.copy-block {
  color: var(--muted);
  font-size: 17px;
}

.about-prose {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.about-prose p {
  margin: 0;
  padding: 16px 18px 16px 20px;
  border-left: 3px solid rgba(47, 138, 77, 0.36);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #2b4d3a;
  background: rgba(255, 255, 247, 0.58);
  box-shadow: 0 10px 28px rgba(65, 98, 53, 0.06);
}

.about-prose.compact {
  gap: 12px;
}

.about-prose.compact p {
  padding: 14px 16px;
  line-height: 1.85;
}

.split:has(.about-prose) .section-heading,
.about-prose p,
.section .cards-3 .card,
.rules-list p {
  animation: guanlan-rise 0.72s ease both;
}

.split:has(.about-prose) .section-heading {
  animation-delay: 0.04s;
}

.about-prose p:nth-child(1),
.section .cards-3 .card:nth-child(1),
.rules-list p:nth-child(1) {
  animation-delay: 0.08s;
}

.about-prose p:nth-child(2),
.section .cards-3 .card:nth-child(2),
.rules-list p:nth-child(2) {
  animation-delay: 0.15s;
}

.about-prose p:nth-child(3),
.section .cards-3 .card:nth-child(3),
.rules-list p:nth-child(3) {
  animation-delay: 0.22s;
}

.rules-list p:nth-child(4) {
  animation-delay: 0.29s;
}

.rules-list p:nth-child(5) {
  animation-delay: 0.36s;
}

.about-prose p,
.section .cards-3 .card,
.rules-list p {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.about-prose p::after,
.section .cards-3 .card::after,
.rules-list p::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 247, 0.9), transparent 36%);
  transition: opacity 0.28s ease;
}

.about-prose p:hover,
.section .cards-3 .card:hover,
.rules-list p:hover {
  border-color: rgba(47, 138, 77, 0.28);
  box-shadow: 0 22px 54px rgba(65, 98, 53, 0.12);
  transform: translateY(-3px);
}

.about-prose p:hover::after,
.section .cards-3 .card:hover::after,
.rules-list p:hover::after {
  opacity: 0.24;
}

.split:has(.about-prose) .section-heading h2,
.section-heading:has(+ .rules-list) h2 {
  text-shadow: 0 12px 28px rgba(65, 98, 53, 0.08);
}

.split:has(.about-prose) .section-heading h2::after,
.section-heading:has(+ .rules-list) h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf-500), rgba(139, 187, 99, 0.28));
  transform-origin: left;
  animation: guanlan-line 0.88s ease both 0.22s;
}

.grid,
.forum-list,
.rules-list,
.admin-list {
  display: grid;
  gap: 18px;
}

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

.card,
.form-panel,
.contact-info,
.forum-item,
.comment-item,
.admin-panel-head,
.admin-row,
.admin-create,
.admin-inline,
.rules-list p,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(145deg, #fffef4 0%, #eef5e8 100%);
  box-shadow: var(--shadow);
}

.card,
.contact-info,
.form-panel,
.rules-list p,
.empty-state {
  padding: 24px;
}

.card h2,
.card h3,
.forum-item h2,
.article-page h1,
.admin-panel h2,
.admin-panel h3 {
  color: var(--ink);
}

.card p,
.forum-item p,
.contact-info p,
.article-body,
.article-lead,
.copy-block,
.member-card strong,
.empty-state {
  color: var(--muted);
}

.card-index {
  display: block;
  margin-bottom: 14px;
  color: var(--wood);
  font-weight: 900;
}

.pill,
.tag-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(47, 138, 77, 0.2);
  border-radius: 999px;
  color: var(--leaf-500);
  background: rgba(47, 138, 77, 0.08);
  font-size: 12px;
}

.pill.strong {
  color: #fffaf0;
  background: var(--leaf-500);
}

.pill.gold {
  color: #6e4d13;
  border-color: rgba(184, 132, 63, 0.42);
  background: rgba(184, 132, 63, 0.16);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

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

.growth-panel div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 247, 0.94), rgba(232, 241, 223, 0.86));
}

.growth-panel span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--leaf-500);
  font-weight: 900;
}

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

.service-masonry .card:nth-child(2),
.service-masonry .card:nth-child(5) {
  transform: translateY(28px);
}

.service-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 154px clamp(24px, 5vw, 72px) 86px;
  overflow: hidden;
  color: #fffaf0;
  background:
    linear-gradient(110deg, rgba(24, 49, 38, 0.82), rgba(33, 70, 49, 0.62) 48%, rgba(184, 132, 63, 0.18)),
    url("../assets/guanlan-growth-hero.png") center / cover;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.service-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: var(--radius);
  background: rgba(24, 49, 38, 0.28);
  backdrop-filter: blur(14px);
}

.product-suite {
  padding-top: 34px;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(236, 244, 224, 0.92) 100%);
}

.membership-suite {
  display: grid;
  grid-template-columns: minmax(240px, 0.46fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(236, 244, 224, 0.96), rgba(250, 250, 238, 0.98));
}

.membership-intro {
  position: sticky;
  top: 112px;
}

.membership-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.1;
}

.membership-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.membership-card::after {
  content: "";
  position: absolute;
  inset: auto 26px 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.18), transparent);
  pointer-events: none;
}

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

.service-product-grid {
  align-items: stretch;
}

.product-card {
  position: relative;
  display: grid;
  min-height: 460px;
  align-content: start;
  gap: 18px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(47, 138, 77, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 247, 0.96), rgba(241, 247, 232, 0.9));
  box-shadow: 0 18px 48px rgba(65, 98, 53, 0.12);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(184, 132, 63, 0.12), transparent 46%, rgba(47, 138, 77, 0.12));
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 132, 63, 0.32);
  box-shadow: 0 24px 62px rgba(65, 98, 53, 0.18);
}

.product-card:hover::before,
.product-card.featured::before {
  opacity: 1;
}

.product-card.featured {
  background:
    linear-gradient(145deg, rgba(28, 61, 43, 0.98), rgba(45, 92, 58, 0.94));
  color: #fffaf0;
}

.membership-card {
  min-height: 520px;
  border-color: rgba(184, 132, 63, 0.22);
}

.product-card.featured p,
.product-card.featured li,
.product-card.featured .tag-row span {
  color: rgba(255, 250, 240, 0.86);
}

.product-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-top span {
  color: var(--wood);
  font-size: 13px;
  font-weight: 900;
}

.product-card-top strong {
  padding: 6px 10px;
  border: 1px solid rgba(184, 132, 63, 0.24);
  border-radius: 999px;
  color: var(--leaf-700);
  background: rgba(255, 250, 240, 0.78);
  font-size: 13px;
}

.product-card h3,
.product-card p,
.product-card ul,
.product-card .tag-row,
.product-cta {
  position: relative;
  z-index: 1;
}

.product-card h3 {
  margin-bottom: 0;
  font-size: 26px;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  color: var(--ink);
}

.product-card li i {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--leaf-500);
}

.product-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--leaf-700);
  font-weight: 900;
}

.product-card.featured .product-cta,
.product-card.featured .product-card-top span,
.product-card.featured li i {
  color: #fffaf0;
}

.product-cta i {
  width: 18px;
  height: 18px;
}

.skill-river {
  color: #fffaf0;
  background:
    linear-gradient(120deg, rgba(24, 49, 38, 0.98), rgba(54, 82, 45, 0.9)) !important;
}

.skill-river .section-heading h2,
.skill-river .eyebrow {
  color: #fffaf0;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.skill-cloud span {
  padding: 14px 18px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.08);
  box-shadow: 0 16px 34px rgba(12, 28, 18, 0.18);
  font-size: 17px;
  font-weight: 900;
  transition: transform 0.22s ease, background 0.22s ease;
}

.skill-cloud span:hover {
  transform: translateY(-4px);
  background: rgba(255, 250, 240, 0.16);
}

.enterprise-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: start;
}

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

.enterprise-points p {
  min-height: 108px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(47, 138, 77, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 247, 0.82);
  box-shadow: 0 12px 32px rgba(65, 98, 53, 0.08);
}

.enterprise-points i {
  width: 28px;
  height: 28px;
  color: var(--wood);
}

.ritual-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 254, 244, 0.96), rgba(231, 242, 219, 0.95)) !important;
  border-top: 1px solid rgba(47, 138, 77, 0.12);
  border-bottom: 1px solid rgba(47, 138, 77, 0.12);
}

.ritual-band .eyebrow {
  color: var(--leaf-500);
  text-shadow: none;
}

.ritual-band h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.2;
}

.ritual-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ritual-steps span {
  padding: 12px 14px;
  border: 1px solid rgba(47, 138, 77, 0.2);
  border-radius: 999px;
  color: var(--leaf-700);
  background: rgba(47, 138, 77, 0.08);
  font-weight: 800;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-row a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #28583b;
  background: rgba(255, 255, 247, 0.78);
}

.filter-row a.active,
.filter-row a:hover {
  color: var(--leaf-500);
  border-color: rgba(47, 138, 77, 0.45);
  background: rgba(47, 138, 77, 0.09);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.pagination a {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--leaf-700);
  background: rgba(255, 255, 247, 0.86);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(65, 98, 53, 0.07);
}

.pagination a:hover,
.pagination a.active {
  color: #fffaf0;
  border-color: rgba(47, 138, 77, 0.45);
  background: var(--leaf-500);
  transform: translateY(-1px);
}

.article-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 24px 48px;
}

.article-page h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
}

.article-body {
  margin-top: 28px;
  font-size: 17px;
}

.back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--leaf-500);
}

.contact-info p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

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

label,
fieldset,
legend {
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(47, 138, 77, 0.28);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fffef7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 22px rgba(65, 98, 53, 0.06);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #8a9b8f;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--leaf-500);
  box-shadow: 0 0 0 4px rgba(47, 138, 77, 0.12), 0 10px 24px rgba(65, 98, 53, 0.08);
}

fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

legend {
  padding: 0 8px;
  color: var(--leaf-500);
}

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

.check-grid label,
.check-row {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #294c37;
  font-weight: 700;
}

.check-grid input,
.check-row input {
  width: auto;
}

.auth-wrap {
  display: grid;
  justify-items: center;
}

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

.form-switch,
.notice {
  color: var(--muted);
}

.form-switch a,
.notice {
  color: var(--leaf-500);
}

.account-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}

.avatar {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--leaf-500);
  font-size: 24px;
  font-weight: 900;
}

.member-card {
  display: grid;
  gap: 16px;
}

.member-card-head {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.member-photo {
  width: 118px;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  border: 1px solid rgba(47, 138, 77, 0.18);
  border-radius: var(--radius);
  background: var(--leaf-50);
  box-shadow: 0 14px 30px rgba(65, 98, 53, 0.12);
}

.member-info-block {
  padding: 12px 14px;
  border: 1px solid rgba(47, 138, 77, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 247, 0.66);
}

.member-info-block span {
  display: block;
  margin-bottom: 4px;
  color: var(--leaf-500);
  font-size: 13px;
  font-weight: 900;
}

.member-info-block p {
  margin: 0;
  color: var(--ink);
}

.member-showcase {
  overflow: hidden;
}

.member-showcase .section-heading {
  max-width: 980px;
}

.member-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: stretch;
}

.member-feature {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(47, 138, 77, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 12%, rgba(139, 187, 99, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 247, 0.96), rgba(235, 245, 226, 0.96));
  box-shadow: 0 24px 64px rgba(65, 98, 53, 0.14);
}

.member-feature::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(47, 138, 77, 0.12);
  border-radius: var(--radius);
  pointer-events: none;
}

.member-feature-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.member-feature-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.member-portrait-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.member-portrait-wrap::before {
  content: "";
  position: absolute;
  width: min(260px, 72vw);
  aspect-ratio: 1;
  border: 1px solid rgba(47, 138, 77, 0.18);
  border-radius: 50%;
  background: rgba(216, 235, 201, 0.52);
}

.member-portrait {
  position: relative;
  z-index: 1;
  width: min(220px, 64vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(47, 138, 77, 0.24);
  border-radius: var(--radius);
  background: #dcebcf;
  box-shadow: 0 24px 44px rgba(65, 98, 53, 0.16);
}

.member-feature-copy {
  display: grid;
  gap: 14px;
}

.member-feature-copy h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
}

.member-feature-copy > p {
  max-width: 720px;
  margin: 4px 0 8px;
  color: #375746;
  font-size: 18px;
}

.member-profile-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.member-profile-line strong {
  color: var(--leaf-700);
  font-size: 18px;
}

.member-profile-line span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(184, 132, 63, 0.22);
  border-radius: 999px;
  color: #8b642f;
  background: rgba(184, 132, 63, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.member-gain {
  padding: 16px 18px;
  border: 1px solid rgba(47, 138, 77, 0.18);
  border-left: 4px solid var(--leaf-500);
  border-radius: var(--radius);
  background: rgba(255, 255, 247, 0.74);
  box-shadow: 0 12px 30px rgba(65, 98, 53, 0.08);
}

.member-gain span {
  display: block;
  margin-bottom: 6px;
  color: var(--leaf-500);
  font-size: 13px;
  font-weight: 900;
}

.member-gain p {
  margin: 0;
  color: #284936;
  font-size: 16px;
  line-height: 1.75;
}

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

.member-switcher {
  display: grid;
  gap: 12px;
  align-content: start;
}

.member-switch-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(47, 138, 77, 0.16);
  border-radius: var(--radius);
  color: var(--leaf-700);
  text-align: left;
  background: rgba(255, 255, 247, 0.76);
  box-shadow: 0 12px 32px rgba(65, 98, 53, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.member-switch-card span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--leaf-500);
  background: rgba(47, 138, 77, 0.1);
  font-weight: 900;
}

.member-switch-card strong {
  color: var(--ink);
  font-size: 20px;
}

.member-switch-card small {
  color: var(--muted);
  line-height: 1.45;
}

.member-switch-card:hover,
.member-switch-card.active {
  border-color: rgba(47, 138, 77, 0.38);
  background: #fffef4;
  box-shadow: 0 22px 48px rgba(65, 98, 53, 0.14);
  transform: translateY(-2px);
}

.member-switch-card.active span {
  color: #fffaf0;
  background: var(--leaf-500);
}

.video-gallery {
  background:
    linear-gradient(180deg, rgba(237, 246, 226, 0.94), rgba(250, 250, 238, 0.96));
}

.video-carousel {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 18px 74px 68px;
  border-radius: var(--radius);
  touch-action: pan-y;
}

.video-carousel-track {
  position: relative;
  min-height: 660px;
  perspective: 1400px;
}

.video-card {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: min(920px, 70vw);
  overflow: hidden;
  border: 1px solid rgba(47, 138, 77, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 247, 0.97), rgba(239, 247, 232, 0.94));
  box-shadow: 0 22px 54px rgba(65, 98, 53, 0.14);
  opacity: 0;
  pointer-events: none;
  filter: saturate(0.86);
  transform: translateX(-50%) scale(0.72);
  transition:
    opacity 0.36s ease,
    filter 0.36s ease,
    box-shadow 0.36s ease,
    transform 0.36s ease;
}

.video-card.is-active {
  z-index: 5;
  opacity: 1;
  pointer-events: auto;
  filter: saturate(1);
  box-shadow: 0 30px 72px rgba(65, 98, 53, 0.2);
  transform: translateX(-50%) scale(1);
}

.video-card.is-prev {
  z-index: 3;
  opacity: 0.6;
  transform: translateX(calc(-50% - 420px)) scale(0.82) rotateY(7deg);
}

.video-card.is-next {
  z-index: 3;
  opacity: 0.6;
  transform: translateX(calc(-50% + 420px)) scale(0.82) rotateY(-7deg);
}

.video-card.is-far-prev {
  z-index: 1;
  opacity: 0.22;
  transform: translateX(calc(-50% - 690px)) scale(0.68) rotateY(11deg);
}

.video-card.is-far-next {
  z-index: 1;
  opacity: 0.22;
  transform: translateX(calc(-50% + 690px)) scale(0.68) rotateY(-11deg);
}

.video-frame {
  display: grid;
  min-height: 440px;
  margin: 20px 20px 18px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(47, 138, 77, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(216, 235, 201, 0.08), transparent 18rem),
    #13251b;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.06);
}

.video-frame video {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  background: #13251b;
}

.video-link,
.video-placeholder {
  width: 100%;
  min-height: 440px;
  display: grid;
  gap: 12px;
  place-items: center;
  align-content: center;
  color: #d8ebc9;
  background:
    radial-gradient(circle at 50% 48%, rgba(216, 235, 201, 0.08), transparent 18rem),
    #13251b;
}

.video-placeholder {
  padding: 18px;
}

.video-link i,
.video-placeholder i {
  width: 58px;
  height: 58px;
}

.video-link span,
.video-placeholder span {
  color: #eef7e7;
  font-weight: 900;
}

.video-copy {
  display: grid;
  gap: 14px;
  padding: 8px 22px 26px;
}

.video-category {
  color: var(--leaf-500);
  font-weight: 900;
}

.video-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
}

.video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.video-card time {
  color: var(--ink);
  font-weight: 800;
}

.video-nav {
  position: absolute;
  top: 310px;
  z-index: 8;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(47, 138, 77, 0.2);
  border-radius: 999px;
  color: var(--leaf-700);
  background: rgba(255, 255, 247, 0.9);
  box-shadow: 0 16px 38px rgba(65, 98, 53, 0.18);
  cursor: pointer;
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.video-nav:hover {
  color: #fffaf0;
  background: var(--leaf-500);
  transform: translateY(-2px);
}

.video-nav i {
  width: 22px;
  height: 22px;
}

.video-nav-prev {
  left: 18px;
}

.video-nav-next {
  right: 18px;
}

.video-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 8;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.video-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 138, 77, 0.24);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.video-dots button.active {
  width: 28px;
  background: var(--leaf-500);
}

.activity-photo-section {
  background:
    linear-gradient(180deg, rgba(250, 250, 238, 0.96), rgba(232, 241, 221, 0.95));
}

.activity-photo-grid {
  display: grid;
  max-height: 920px;
  overflow: auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: start;
  padding: 2px 8px 8px 2px;
  scrollbar-color: rgba(47, 138, 77, 0.36) transparent;
}

.activity-photo-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(47, 138, 77, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 247, 0.82);
  box-shadow: 0 18px 46px rgba(65, 98, 53, 0.12);
  transform: translateY(0);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.activity-photo-card:nth-child(3n + 2) {
  margin-top: 28px;
}

.activity-photo-card:nth-child(3n) {
  margin-top: 14px;
}

.activity-photo-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.42s ease, filter 0.26s ease;
}

.activity-photo-card:nth-child(4n + 1) img {
  height: 410px;
}

.activity-photo-card:nth-child(4n + 3) img {
  height: 300px;
}

.activity-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(24, 49, 38, 0.82));
  opacity: 0.92;
  pointer-events: none;
}

.activity-photo-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 22px;
  color: #fffaf0;
  transform: translateY(10px);
  transition: transform 0.26s ease;
}

.activity-photo-copy span {
  color: #d8ebc9;
  font-size: 13px;
  font-weight: 900;
}

.activity-photo-copy h3 {
  margin: 0;
  font-size: 24px;
}

.activity-photo-copy p {
  margin: 0;
  color: rgba(255, 250, 240, 0.86);
}

.activity-photo-copy time {
  color: rgba(255, 250, 240, 0.9);
  font-weight: 800;
}

.activity-photo-card:hover {
  border-color: rgba(184, 132, 63, 0.3);
  box-shadow: 0 26px 64px rgba(65, 98, 53, 0.2);
  transform: translateY(-6px);
}

.activity-photo-card:hover img {
  filter: saturate(1.05);
  transform: scale(1.05);
}

.activity-photo-card:hover .activity-photo-copy {
  transform: translateY(0);
}

.forum-item,
.comment-item {
  padding: 20px;
}

.forum-item {
  position: relative;
  min-height: 154px;
  padding: 24px 190px 24px 24px;
  overflow: hidden;
}

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

.forum-categories {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 10px;
}

.forum-categories a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--leaf-700);
  background: rgba(255, 255, 247, 0.8);
  box-shadow: 0 10px 28px rgba(65, 98, 53, 0.07);
}

.forum-categories a:hover,
.forum-categories a.active {
  color: #fff;
  border-color: rgba(47, 138, 77, 0.42);
  background: var(--leaf-500);
}

.forum-categories span {
  min-width: 30px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(47, 138, 77, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.forum-categories a.active span,
.forum-categories a:hover span {
  background: rgba(255, 255, 255, 0.18);
}

.forum-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.forum-list-head h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 42px);
}

.forum-insights {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  margin-bottom: 36px;
}

.insight-panel {
  position: relative;
  overflow: hidden;
  padding: 24px 18px 18px;
  border: 2px solid rgba(47, 138, 77, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 247, 0.96), rgba(236, 246, 226, 0.92));
  box-shadow: 0 22px 54px rgba(65, 98, 53, 0.15);
}

.insight-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--leaf-500), var(--wood));
}

.hot-panel {
  border-color: rgba(184, 132, 63, 0.36);
}

.active-panel {
  border-color: rgba(47, 138, 77, 0.32);
}

.insight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 0 2px;
}

.insight-head h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.insight-head > i {
  width: 52px;
  height: 52px;
  padding: 12px;
  border: 1px solid rgba(255, 250, 240, 0.55);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--leaf-500), #1f643b);
  box-shadow: 0 12px 28px rgba(47, 138, 77, 0.22);
}

.hot-panel .insight-head > i {
  background: linear-gradient(135deg, #c7832d, #8d561c);
  box-shadow: 0 12px 28px rgba(184, 132, 63, 0.24);
}

.hot-list,
.active-member-list {
  display: grid;
  gap: 10px;
}

.hot-post,
.active-member {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
  border: 1px solid rgba(47, 138, 77, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 247, 0.86);
  box-shadow: 0 10px 26px rgba(65, 98, 53, 0.08);
}

.hot-post:hover {
  border-color: rgba(184, 132, 63, 0.28);
  background: rgba(255, 250, 240, 0.98);
  transform: translateY(-2px);
}

.hot-post > span,
.active-member > span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--leaf-500), #1f643b);
  box-shadow: 0 10px 22px rgba(47, 138, 77, 0.24);
  font-size: 18px;
  font-weight: 900;
}

.hot-post:first-child > span {
  background: linear-gradient(135deg, #c7832d, #8d561c);
  box-shadow: 0 10px 22px rgba(184, 132, 63, 0.24);
}

.hot-post strong,
.active-member strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-post small,
.active-member small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.empty-state.compact {
  min-height: 58px;
  margin-top: 0;
  padding: 14px;
}

.thread-flags {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: grid;
  gap: 8px;
  justify-items: end;
  padding: 14px;
}

.thread-flag {
  display: inline-flex;
  min-width: 78px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 0 8px 0 8px;
  color: #fffaf0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 12px 26px rgba(65, 98, 53, 0.18);
}

.thread-flag i {
  width: 16px;
  height: 16px;
}

.thread-flag.featured {
  background: linear-gradient(135deg, #d58b2c, #8d561c);
}

.thread-flag.pinned {
  background: linear-gradient(135deg, var(--leaf-500), #1f643b);
}

.forum-item h2 {
  margin: 12px 0 8px;
}

.forum-item small,
.comment-item span,
.account-grid span {
  color: var(--muted);
}

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

.section-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--leaf-700);
  background: rgba(255, 255, 247, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.expert-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 254, 244, 0.98) 0%, rgba(239, 247, 232, 0.96) 100%);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.expert-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--leaf-500), var(--leaf-300), var(--wood));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.expert-card:hover {
  border-color: rgba(47, 138, 77, 0.36);
  box-shadow: 0 24px 60px rgba(65, 98, 53, 0.18);
  transform: translateY(-4px);
}

.expert-card:hover::after {
  transform: scaleX(1);
}

.expert-top {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 22px;
}

.expert-avatar {
  width: 168px;
  height: 198px;
  object-fit: cover;
  border: 1px solid rgba(255, 250, 240, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.78), rgba(216, 235, 201, 0.64));
  box-shadow:
    0 20px 42px rgba(47, 80, 50, 0.18),
    0 0 0 8px rgba(255, 255, 247, 0.58),
    inset 0 0 0 1px rgba(47, 138, 77, 0.1);
  transform: rotate(-1deg);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.expert-card:hover .expert-avatar {
  box-shadow:
    0 26px 56px rgba(47, 80, 50, 0.24),
    0 0 0 8px rgba(255, 255, 247, 0.72),
    inset 0 0 0 1px rgba(47, 138, 77, 0.14);
  transform: rotate(0deg) translateY(-2px);
}

.expert-card h3 {
  margin: 18px 0 4px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.15;
}

.expert-card strong {
  color: var(--leaf-700);
}

.expert-summary {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.expert-detail {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.expert-detail div {
  padding: 12px 14px;
  border: 1px solid rgba(47, 138, 77, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 247, 0.62);
}

.expert-detail span {
  display: block;
  margin-bottom: 4px;
  color: var(--leaf-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.expert-detail p {
  margin-bottom: 0;
  color: var(--ink);
}

.comments {
  max-width: 1060px;
  margin: 0;
  padding-top: 24px;
}

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

.comments-head h2 {
  margin-bottom: 0;
}

.comments-head > span {
  color: var(--leaf-500);
  font-weight: 900;
}

.detail-board {
  padding-top: 130px;
}

.forum-detail-main {
  min-width: 0;
}

.article-card {
  position: relative;
  padding: 32px;
  padding-right: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fffef4 0%, #eef5e8 100%);
  box-shadow: var(--shadow);
}

.detail-flags {
  top: 0;
  right: 0;
}

.post-badges,
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post-actions {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.post-actions .btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.reply-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

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

.floor-item {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 247, 0.88);
  box-shadow: 0 12px 32px rgba(65, 98, 53, 0.08);
}

.floor-meta {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid rgba(47, 138, 77, 0.14);
  background: linear-gradient(180deg, rgba(216, 235, 201, 0.58), rgba(255, 255, 247, 0.72));
}

.floor-meta strong {
  color: var(--leaf-500);
  font-size: 18px;
}

.floor-meta span {
  color: var(--ink);
  font-weight: 900;
}

.floor-meta small {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(47, 138, 77, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 247, 0.72);
  font-weight: 800;
}

.floor-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 247, 0.92);
  border-radius: 18px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 247, 0.28), transparent 26px),
    linear-gradient(145deg, var(--leaf-500), #1e4a32);
  box-shadow: 0 16px 34px rgba(47, 138, 77, 0.22);
}

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

.floor-avatar span {
  color: #fffaf0;
  font-size: 30px;
  font-weight: 900;
}

.floor-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.floor-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(47, 138, 77, 0.12);
}

.floor-top strong {
  color: var(--ink);
}

.floor-top span {
  color: var(--muted);
  font-size: 13px;
}

.floor-body p {
  margin: 0;
  color: #2d4d3b;
}

.reply-thread {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(47, 138, 77, 0.12);
  border-radius: var(--radius);
  background: rgba(47, 138, 77, 0.045);
}

.reply-line {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-left: 3px solid rgba(47, 138, 77, 0.28);
  background: rgba(255, 255, 247, 0.72);
}

.reply-line span {
  color: var(--leaf-500);
  font-weight: 900;
}

.reply-line small {
  color: var(--muted);
}

.reply-box {
  margin-top: 2px;
}

.reply-box summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--leaf-500);
  font-weight: 900;
  cursor: pointer;
}

.reply-form textarea {
  width: 100%;
}

.account-score strong {
  display: block;
  color: var(--leaf-500);
  font-size: 54px;
  line-height: 1;
}

.comment-form {
  margin-top: 24px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 130px clamp(24px, 5vw, 72px) 32px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(246, 249, 237, 0.96), rgba(229, 241, 219, 0.92));
}

.admin-page .page-hero {
  min-height: 300px;
  padding-top: 74px;
}

.admin-page .admin-topbar {
  padding-top: 58px;
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 24px clamp(24px, 5vw, 72px);
}

.admin-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffef4;
}

.admin-metrics strong {
  display: block;
  color: var(--leaf-500);
  font-size: 32px;
}

.admin-workbench {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  padding: 24px clamp(24px, 5vw, 72px) 72px;
}

.admin-menu {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  align-self: start;
}

.admin-menu button {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #28583b;
  background: rgba(255, 255, 247, 0.84);
  cursor: pointer;
}

.admin-menu button.active,
.admin-menu button:hover {
  color: var(--leaf-500);
  background: rgba(47, 138, 77, 0.1);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: grid;
  gap: 20px;
}

.admin-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-head-actions,
.admin-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.admin-data-card,
.admin-ops-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 247, 0.96), rgba(239, 247, 232, 0.9));
  box-shadow: 0 14px 38px rgba(65, 98, 53, 0.1);
}

.admin-data-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.admin-data-card span {
  color: var(--leaf-500);
  font-size: 12px;
  font-weight: 900;
}

.admin-data-card strong {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.admin-data-card p {
  margin: 0;
  color: var(--muted);
}

.admin-data-card button,
.admin-todo-list button,
.admin-mini-list button,
.admin-rank-list div,
.admin-quick-grid button {
  border: 1px solid rgba(47, 138, 77, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 247, 0.78);
}

.admin-data-card button {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  color: var(--leaf-500);
  font-weight: 900;
  cursor: pointer;
}

.admin-ops-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-ops-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-ops-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(47, 138, 77, 0.12);
}

.admin-ops-title h3 {
  margin: 0;
}

.admin-ops-title span,
.admin-rank-list small,
.admin-mini-list span,
.muted-text {
  color: var(--muted);
  font-size: 13px;
}

.admin-todo-list,
.admin-rank-list,
.admin-mini-list {
  display: grid;
  gap: 10px;
}

.admin-todo-list button {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  min-height: 62px;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
}

.admin-todo-list strong {
  color: var(--leaf-500);
  font-size: 28px;
}

.admin-todo-list span {
  font-weight: 900;
}

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

.admin-quick-grid button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--leaf-700);
  font-weight: 900;
  cursor: pointer;
}

.admin-quick-grid button:hover,
.admin-data-card button:hover,
.admin-todo-list button:hover,
.admin-mini-list button:hover {
  border-color: rgba(47, 138, 77, 0.36);
  background: rgba(216, 235, 201, 0.48);
}

.admin-rank-list div,
.admin-mini-list button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
}

.admin-rank-list strong {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #fffaf0;
  background: var(--leaf-500);
}

.admin-rank-list span,
.admin-mini-list strong {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-mini-list button {
  grid-template-columns: minmax(0, 1fr) auto;
  text-align: left;
  cursor: pointer;
}

.admin-create-enhanced .admin-panel.is-creating > :not(.admin-create.active) {
  display: none;
}

.admin-create-enhanced .admin-create {
  display: none;
}

.admin-create-enhanced .admin-create.active {
  display: block;
}

.admin-create-launcher {
  display: flex;
  justify-content: flex-end;
  padding: 2px 0;
}

.admin-create-open {
  min-height: 44px;
}

.admin-create.active {
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 247, 0.98), rgba(239, 247, 232, 0.95));
  box-shadow: 0 20px 54px rgba(65, 98, 53, 0.12);
}

.admin-create.active summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  cursor: default;
}

.admin-create.active summary::after {
  content: "新增页面";
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(47, 138, 77, 0.18);
  border-radius: 999px;
  color: var(--leaf-500);
  background: rgba(216, 235, 201, 0.52);
  font-size: 13px;
}

.admin-create-back {
  margin-top: 18px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 247, 0.86);
  box-shadow: 0 10px 28px rgba(65, 98, 53, 0.07);
}

.admin-toolbar div {
  display: grid;
  gap: 2px;
}

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

.admin-actions {
  display: flex;
  justify-content: flex-end;
}

.compact-list {
  gap: 10px;
}

.admin-manage-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.admin-select {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 247, 0.72);
}

.admin-select input {
  width: 18px;
  height: 18px;
  box-shadow: none;
}

.admin-pagination {
  margin-top: 8px;
}

.admin-panel-head,
.admin-row,
.admin-create,
.admin-inline {
  padding: 18px;
}

.admin-row summary,
.admin-inline {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.4fr) minmax(120px, 0.4fr);
  gap: 14px;
  align-items: center;
  cursor: pointer;
}

.compact-list .admin-row {
  box-shadow: 0 8px 22px rgba(65, 98, 53, 0.07);
}

.compact-list .admin-row summary {
  min-height: 58px;
}

.admin-row .admin-form,
.admin-create .admin-form {
  margin-top: 16px;
}

.admin-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-inline {
  grid-template-columns: minmax(0, 1fr) 150px 86px 86px 96px;
}

.admin-spaced {
  margin-top: 22px;
}

.flash-wrap {
  position: fixed;
  top: 96px;
  right: 20px;
  z-index: 40;
  display: grid;
  gap: 10px;
  max-width: min(420px, calc(100vw - 40px));
}

.flash {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 247, 0.96);
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 46px clamp(24px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #dcebd2;
  background: #243d2d;
}

.site-footer strong {
  color: #fffaf0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.site-footer small {
  grid-column: 1 / -1;
}

@keyframes guanlan-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes guanlan-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.58s ease var(--delay, 0ms), transform 0.58s ease var(--delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .brand {
    min-width: 220px;
  }

  .site-nav a {
    padding: 0 10px;
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .site-header {
    left: 14px;
    right: 14px;
    align-items: center;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 86px;
    left: 14px;
    right: 14px;
    display: grid;
    padding: 14px;
    border: 1px solid var(--line);
    background: rgba(250, 251, 242, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav .nav-cta {
    color: var(--leaf-700);
    text-shadow: none;
  }

  .page-hero {
    min-height: 360px;
    padding-top: 124px;
  }

  .service-hero {
    min-height: 520px;
  }

  .cards-3,
  .split,
  .growth-intro,
  .growth-panel,
  .contact-layout,
    .account-grid,
    .forum-board,
    .forum-insights,
    .expert-board,
    .expert-grid,
    .member-stage,
    .admin-workbench,
    .admin-metrics,
  .admin-overview-grid,
  .admin-ops-layout,
    .admin-two-col,
  .membership-suite,
  .membership-grid,
  .product-grid,
  .enterprise-band,
  .enterprise-points,
  .service-masonry,
  .ritual-band,
  .admin-row summary,
  .admin-inline {
    grid-template-columns: 1fr;
  }

  .admin-overview-head,
  .admin-ops-title {
    display: grid;
    align-items: start;
  }

  .admin-head-actions {
    justify-content: start;
  }

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

  .admin-rank-list div,
  .admin-mini-list button {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .admin-rank-list small,
  .admin-mini-list span {
    grid-column: 2;
  }

  .service-masonry .card:nth-child(2),
  .service-masonry .card:nth-child(5) {
    transform: none;
  }

  .admin-menu {
    position: static;
  }

  .forum-categories {
    position: static;
  }

  .forum-item,
  .article-card {
    padding-right: 24px;
    padding-top: 76px;
  }

  .thread-flags {
    left: 0;
    right: auto;
    justify-items: start;
  }

  .thread-flag {
    border-radius: 8px 0 8px 0;
  }

  .video-carousel {
    min-height: 0;
    overflow: visible;
    padding: 0;
    touch-action: pan-x pan-y;
  }

  .video-carousel-track {
    display: flex;
    min-height: 0;
    gap: 16px;
    overflow-x: auto;
    scroll-padding: 18px;
    scroll-snap-type: x mandatory;
    perspective: none;
    scrollbar-width: none;
  }

  .video-carousel-track::-webkit-scrollbar {
    display: none;
  }

  .video-card,
  .video-card.is-active,
  .video-card.is-prev,
  .video-card.is-next,
  .video-card.is-far-prev,
  .video-card.is-far-next {
    position: relative;
    left: auto;
    min-width: min(86vw, 460px);
    width: min(86vw, 460px);
    opacity: 1;
    pointer-events: auto;
    filter: saturate(1);
    transform: none;
    scroll-snap-align: center;
  }

  .video-nav,
  .video-dots {
    display: none;
  }

  .video-frame,
  .video-frame video,
  .video-link,
  .video-placeholder {
    min-height: 280px;
  }

  .video-card h3 {
    font-size: 22px;
  }

  .video-card p {
    font-size: 15px;
  }

  .activity-photo-grid {
    display: flex;
    max-height: none;
    overflow-x: auto;
    gap: 16px;
    scroll-padding: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .activity-photo-grid::-webkit-scrollbar {
    display: none;
  }

  .activity-photo-card {
    min-width: min(82vw, 420px);
    scroll-snap-align: center;
  }

  .activity-photo-card:nth-child(n) {
    margin-top: 0;
  }

  .activity-photo-card img,
  .activity-photo-card:nth-child(4n + 1) img,
  .activity-photo-card:nth-child(4n + 3) img {
    height: 360px;
  }

  .member-feature {
    min-height: 680px;
  }

  .member-feature-panel {
    grid-template-columns: 1fr;
    align-content: start;
    text-align: left;
  }

  .member-portrait-wrap {
    justify-content: start;
  }

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

  .floor-item {
    grid-template-columns: 1fr;
  }

  .floor-meta {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-items: start;
    border-right: 0;
    border-bottom: 1px solid rgba(47, 138, 77, 0.14);
  }

  .floor-avatar {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 118px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .service-hero {
    min-height: 460px;
    padding-top: 128px;
  }

  .hero-stats,
  .check-grid,
  .member-detail-grid,
  .member-switcher {
    grid-template-columns: 1fr;
  }

  .expert-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .expert-avatar {
    width: min(220px, 100%);
    height: 260px;
  }

  .member-feature {
    min-height: 780px;
  }

  .member-feature-panel {
    padding: 26px;
  }

  .floor-top,
  .comments-head {
    display: grid;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .site-footer,
  .footer-links {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}
